/********************************************************
			Codezeel Custom Styles
********************************************************/
.cz-carousel {
  display: none;
  position: relative;
  float: left;
  width: 100%;
  margin: 0;
  -ms-touch-action: pan-y;
}

.owl-carousel .owl-wrapper {
  display: none;
  position: relative;
  -webkit-transform: translate3d(0px, 0px, 0px);
}

.owl-carousel .owl-wrapper:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.owl-carousel .owl-wrapper-outer {
  overflow: hidden;
  position: relative;
  float: left;
  width: 100%;
}

.owl-carousel .owl-wrapper-outer.autoHeight {
  -webkit-transition: height 500ms ease-in-out;
  -moz-transition: height 500ms ease-in-out;
  -ms-transition: height 500ms ease-in-out;
  -o-transition: height 500ms ease-in-out;
  transition: height 500ms ease-in-out;
}

.owl-carousel .owl-item {
  float: left;
}

.owl-carousel .owl-item .manu_image a {
  display: inline-block;
}

.owl-carousel .owl-item .manu_image a img {
  max-width: 100%;
}

.owl-carousel .owl-item:hover a img {
  border-color: blue;
}

.owl-carousel .owl-wrapper,
.owl-carousel .owl-item {
  /* fix */
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  text-align: center;
}

/* mouse grab icon */
.grabbing {
  cursor:
    url("../img/codezeel/grabbing.png") 8 8,
    move;
}

.customNavigation {
  position: absolute;
  z-index: 8;
  right: 10px;
  width: 65px;
  top: -50px;
  direction: ltr !important;
}

.brands .customNavigation {
  right: 0px;
  left: 0;
}

.customNavigation a {
  font-size: 0;
  position: absolute;
  font-weight: 300;
  height: 30px;
  width: 30px;
  line-height: 29px;
  padding: 0;
  background: #e5e5e5;
  cursor: pointer;
  overflow: hidden;
  -webkit-transition: all 0.5s ease;
  -webkit-transition-delay: 0s;
  -moz-transition: all 0.5s ease 0s;
  -o-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

#cztestimonialcmsblock .customNavigation a {
  background: transparent;
  height: 40px;
  width: 40px;
  background-color: #ddd;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
  -webkit-mask-size: 30px;
  mask-size: 30px;
}

#cztestimonialcmsblock .customNavigation a:hover {
  background-color: #afbc25;
}

#cztestimonialcmsblock .customNavigation a.prev {
  left: 30px;
  -webkit-mask-image: url(../img/codezeel/left-angle.svg);
  mask-image: url(../img/codezeel/left-angle.svg);
}

#cztestimonialcmsblock .customNavigation a.next {
  right: 30px;
  -webkit-mask-image: url(../img/codezeel/right-angle.svg);
  mask-image: url(../img/codezeel/right-angle.svg);
}

#cztestimonialcmsblock a:before {
  display: none;
}

.customNavigation a:before {
  font-size: 18px;
  font-family: "FontAwesome";
  color: #000;
}

.homeblog-latest .customNavigation a:before {
  color: #fff;
}

.customNavigation a.prev:before {
  content: "\f104";
}

.customNavigation a.next:before {
  content: "\f105";
}

.customNavigation a:hover {
  background: #afbc25;
}

.customNavigation a:hover:before {
  color: #ffffff;
}

.customNavigation a.prev {
  left: 0px;
  background-position: 1px 2px;
}

.customNavigation a.next {
  right: 0px;
  background-position: -56px 2px;
}

.customNavigation a.prev:hover {
  background-position: 1px -35px;
}

.customNavigation a.next:hover {
  background-position: -56px -35px;
}

.homeblog-latest .customNavigation a:before {
  font-size: 22px;
}

@media (max-width: 991px) {
  .customNavigation a.prev {
    left: 0px;
  }

  .customNavigation a.next {
    right: 0px;
  }

  .customNavigation {
    top: -45px;
  }
}

@media (max-width: 1199px) {
  #cztestimonialcmsblock .customNavigation a.prev {
    left: 10px;
  }

  #cztestimonialcmsblock .customNavigation a.next {
    right: 10px;
  }
}

#czleftbanner img,
#czrightbanner img {
  max-width: 100%;
}

#czleftbanner li,
#czrightbanner li {
  display: inline-block;
}

#czleftbanner li a,
#czrightbanner li a {
  display: inline-block;
  overflow: hidden;
  position: relative;
  border-radius: 5px;
}

#czleftbanner .czleftbanner-container a:before,
#czrightbanner .czrightbanner-container a:before {
  background: rgba(255, 255, 255, 0.59);
  bottom: 0;
  content: "";
  height: 0;
  opacity: 1;
  filter: alpha(opacity=100);
  position: absolute;
  right: 0;
  width: 0;
}

#czleftbanner .czleftbanner-container:hover a:before,
#czrightbanner .czrightbanner-container:hover a:before {
  width: 100%;
  height: 100%;
  -webkit-transition-duration: 1s;
  transition-duration: 1s;
  opacity: 0;
  filter: alpha(opacity=0);
  width: 100%;
}

/* .top_button {
    background: url(../img/codezeel/top-arrow.png) no-repeat scroll center center;
    bottom: 20px;
    cursor: pointer;
    height: 60px;
    padding: 0;
    position: fixed;
    right: 20px;
    text-align: center;
    width: 60px;
    z-index: 99;
} */

.top_button {
  background: #afbc25;
  bottom: 90px;
  cursor: pointer;
  height: 40px;
  padding: 0;
  position: fixed;
  right: 24px;
  text-align: center;
  display: none;
  width: 40px;
  z-index: 9;
  -webkit-animation-name: hvr-icon-bob-float, hvr-icon-bob;
  animation-name: hvr-icon-bob-float, hvr-icon-bob;
  -webkit-animation-duration: 0.3s, 1.5s;
  animation-duration: 0.3s, 1.5s;
  -webkit-animation-delay: 0s, 0.3s;
  animation-delay: 0s, 0.3s;
  -webkit-animation-timing-function: ease-out, ease-in-out;
  animation-timing-function: ease-out, ease-in-out;
  -webkit-animation-iteration-count: 1, infinite;
  animation-iteration-count: 1, infinite;
  -webkit-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-direction: normal, alternate;
  animation-direction: normal, alternate;
  -webkit-transition: all 0.5s ease 0s;
  -moz-transition: all 0.5s ease 0s;
  -ms-transition: all 0.5s ease 0s;
  -o-transition: all 0.5s ease 0s;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -khtml-border-radius: 5px;
  -moz-border-radius: 5px;
}

.top_button::before {
  font-family: "FontAwesome";
  content: "\f102";
  color: #fff;
  font-size: 26px;
  position: absolute;
  top: 6px;
  left: 9px;
}

.top_button::after {
  border: 2px solid #afbc25;
  bottom: -5px;
  height: 50px;
  opacity: 1;
  right: -5px;
  content: "";
  position: absolute;
  width: 50px;
  -webkit-transition: all 0.5s ease 0s;
  -moz-transition: all 0.5s ease 0s;
  -ms-transition: all 0.5s ease 0s;
  -o-transition: all 0.5s ease 0s;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -khtml-border-radius: 5px;
  -moz-border-radius: 5px;
}

.top_button:hover:after {
  animation: unset;
  -webkit-animation: unset;
}

.top_button {
  display: none !important;
}

/* Icon Bob */
@-webkit-keyframes hvr-icon-bob {
  0% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }

  50% {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
  }

  100% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }
}

@keyframes hvr-icon-bob {
  0% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }

  50% {
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
  }

  100% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }
}

@-webkit-keyframes hvr-icon-bob-float {
  100% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }
}

@keyframes hvr-icon-bob-float {
  100% {
    -webkit-transform: translateY(-6px);
    transform: translateY(-6px);
  }
}

/* Flexslider */

#index .spinner {
  background: url(../img/codezeel/loading.gif) no-repeat center center #f7f7f7;
  width: 100%;
  background-size: 4%;
  min-height: 530px;
}

@media (max-width: 1259px) {
  #index .spinner {
    min-height: 500px;
  }
}

@media (max-width: 1199px) {
  #index .spinner {
    min-height: 450px;
  }
}

@media (max-width: 991px) {
  #index .spinner {
    min-height: 400px;
  }
}

@media (max-width: 767px) {
  #index .spinner {
    min-height: 320px;
  }
}

@media (max-width: 480px) {
  #index .spinner {
    min-height: 200px;
  }
}

@media (max-width: 380px) {
  #index .spinner {
    min-height: 160px;
  }
}

/* Product Miniature Overrides - Miel Boumiza Style */
.product-miniature {
  /* border: 1px solid #e0e0e0 !important; */
  border-radius: 8px !important;
  padding: 8px !important;
  margin-bottom: 12px !important;
  background: #fff !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease !important;
  position: relative !important;
}

.product-miniature:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

.product-miniature .thumbnail-container {
  text-align: center !important;
  margin-top: 8px !important;
  margin-bottom: 8px !important;
  position: relative !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.product-miniature .thumbnail-container .thumbnail {
  display: block !important;
  text-align: center !important;
  width: 100% !important;
}

.product-miniature .thumbnail-container img {
  width: 100% !important;
  max-width: 250px !important;
  height: auto !important;
  border-radius: 6px !important;
  display: block !important;
  margin: 0 auto !important;
}

.product-miniature .outer-functional {
  position: absolute !important;
  top: 10px !important;
  right: 10px !important;
  opacity: 0 !important;
  transition: opacity 0.3s ease !important;
}

.product-miniature:hover .outer-functional {
  opacity: 1 !important;
}

.product-miniature .functional-buttons {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
}

.product-actions {
  max-height: 35px;
  margin: 0px !important;
  margin-top: auto !important;
}

.product-miniature .quick-view-btn a {
  background: rgba(255, 255, 255, 0.9) !important;
  padding: 8px !important;
  border-radius: 50% !important;
  display: inline-block !important;
}

.product-miniature .quick-view-btn i {
  font-size: 16px !important;
}

.product-miniature .product-actions {
  height: 35px;
  width: 100% !important;
  text-align: center !important;
}

.product-miniature .btn.add-to-cart {
  background-color: #f6891f !important;
  color: white !important;
  border: none !important;
  padding: 8px 16px !important;
  border-radius: 6px !important;
  width: 100% !important;
  font-weight: 500 !important;
  font-size: 13px !important;
  font-family: "Roboto", sans-serif !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 4px rgba(246, 137, 31, 0.3) !important;
}

.product-miniature .btn.add-to-cart:hover {
  background-color: #e67e00 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(246, 137, 31, 0.4) !important;
}

.product-miniature .product-description {
  text-align: center !important;
  padding: 0 3px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  margin: auto 0 !important;
}

.product-description .product-title,
.product-description .product-title a {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  display: block !important;
  height: auto !important;
  min-height: 2.4em;
  line-height: 1.2;
  margin-bottom: 5px;
  text-align: center !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  width: 100% !important;
}

.product-description {
  text-align: center !important;
}

.product-miniature .product-title a {
  color: #2c3e50 !important;
  text-decoration: none !important;
  font-family: "Roboto", sans-serif !important;
  letter-spacing: 0.3px !important;
}

.product-miniature .product-title a:hover {
  color: #f6891f !important;
  transition: color 0.3s ease !important;
}

.product-miniature .product-price-and-shipping {
  margin-top: 3px !important;
  text-align: center !important;
  width: 100% !important;
  display: block !important;
}

.product-miniature .price {
  font-size: 19px !important;
  font-weight: 600 !important;
  color: #f6891f !important;
  font-family: "Roboto", sans-serif !important;
  text-align: center !important;
  display: inline-block !important;
  /* default */
  width: auto !important;
  margin: 0 auto !important;
  white-space: nowrap !important;
}

.product-miniature .price-prefix {
  font-size: 13px !important;
  color: #7f8c8d !important;
  font-weight: 400 !important;
  font-family: "Roboto", sans-serif !important;
  margin-right: 4px !important;
  display: inline !important;
}

.product-miniature .price-amount {
  font-weight: 600 !important;
  font-size: 19px !important;
  color: #f6891f !important;
  display: inline !important;
}

.product-price-and-shipping .price {
  display: block !important;
  /* stack new price under old price */
}

/* Global old/new price styling */
.regular-price {
  text-decoration: line-through !important;
  color: #8e9ba3 !important;
  /* subtle gray */
  font-weight: 500 !important;
  display: block !important;
  /* ensure it sits above */
  margin: 0 0 6px 0 !important;
  /* spacing above current price */
}

.product-price-and-shipping .regular-price {
  font-size: 16px !important;
}

.product-prices .regular-price {
  font-size: 18px !important;
  display: block !important;
  /* stack above current price on PDP */
  margin-bottom: 6px !important;
}

.product-prices .product-discount {
  display: block !important;
}

/* Override any existing product grid styles */
.product_list .product-miniature {
  margin-bottom: 20px !important;
}

.featured_grid .product-miniature {
  margin-bottom: 20px !important;
}

/* Ensure proper spacing in product grids */
.product_list.grid .product-miniature,
.featured_grid .product-miniature {
  /* height: auto !important;
  min-height: auto !important; */
  height: 100% !important;
}

/* Responsive Design for screens less than 1000px */
@media (max-width: 1000px) {
  .product-miniature {
    padding: 8px !important;
    margin-bottom: 12px !important;
  }

  .product-miniature .thumbnail-container img {
    max-width: 320px !important;
    width: 100% !important;
  }

  .product-miniature .thumbnail-container {
    margin-bottom: 10px !important;
  }

  .product-miniature .product-title {
    font-size: 16px !important;
    margin: 0 0 6px 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .product-miniature .price {
    font-size: 18px !important;
    white-space: nowrap !important;
  }

  .product-miniature .price-prefix {
    font-size: 12px !important;
    display: inline !important;
  }

  .product-miniature .btn.add-to-cart {
    padding: 10px 20px !important;
    font-size: 13px !important;
  }

  .product-miniature .outer-functional {
    top: 9px !important;
    right: 9px !important;
  }

  .product-miniature .quick-view-btn a {
    padding: 7px !important;
  }

  .product-miniature .quick-view-btn i {
    font-size: 15px !important;
  }
}

/* Responsive Design for screens less than 900px */
@media (max-width: 900px) {
  .product-miniature {
    padding: 8px !important;
    margin-bottom: 10px !important;
  }

  .product-miniature .thumbnail-container img {
    max-width: 100% !important;
    width: 100% !important;
  }

  .product-miniature .thumbnail-container {
    margin-bottom: 8px !important;
  }

  .product-miniature .product-title {
    font-size: 15px !important;
    margin: 0 0 5px 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .product-miniature .price {
    font-size: 17px !important;
    white-space: nowrap !important;
  }

  .product-miniature .price-prefix {
    font-size: 12px !important;
    display: inline !important;
  }

  .product-miniature .btn.add-to-cart {
    padding: 9px 18px !important;
    font-size: 13px !important;
  }

  .product-miniature .outer-functional {
    top: 8px !important;
    right: 8px !important;
  }

  .product-miniature .quick-view-btn a {
    padding: 6px !important;
  }

  .product-miniature .quick-view-btn i {
    font-size: 14px !important;
  }
}

/* Responsive Design for screens less than 768px */
@media (max-width: 768px) {
  .product-miniature {
    padding: 10px !important;
    margin-bottom: 12px !important;
  }

  .product-miniature .product-title {
    font-size: 14px !important;
    margin: 0 0 8px 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .product-miniature .price {
    font-size: 16px !important;
    white-space: nowrap !important;
  }

  .product-miniature .price-prefix {
    font-size: 11px !important;
    display: inline !important;
  }

  .product-miniature .btn.add-to-cart {
    padding: 8px 15px !important;
    font-size: 12px !important;
  }

  .product-miniature .thumbnail-container {
    margin-bottom: 12px !important;
  }
}

/* Responsive Design for screens less than 480px */
@media (max-width: 480px) {
  .product-miniature {
    padding: 8px !important;
    margin-bottom: 10px !important;
  }

  .product-miniature .product-title {
    font-size: 13px !important;
    margin: 0 0 6px 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .product-miniature .price {
    font-size: 15px !important;
    white-space: nowrap !important;
  }

  .product-miniature .price-prefix {
    font-size: 10px !important;
    display: inline !important;
  }

  .product-miniature .btn.add-to-cart {
    padding: 7px 12px !important;
    font-size: 11px !important;
  }

  .product-miniature .thumbnail-container {
    margin-bottom: 10px !important;
  }

  .product-miniature .outer-functional {
    top: 5px !important;
    right: 5px !important;
  }

  .product-miniature .quick-view-btn a {
    padding: 4px !important;
  }

  .product-miniature .quick-view-btn i {
    font-size: 12px !important;
  }
}

featured-products.czfeatured .products .thumbnail-container {
  display: flex !important;
  align-self: center !important;
  width: 100% !important;
}

.featured-products.czfeatured .products .thumbnail-container {
  width: 70% !important;
}

.custom-thumbnail-container {
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  align-items: center;
}

/* confirmation table after ordering -- affecting order-confirmation-table.tpl  */

#order-items {
  border: 0;
  margin-bottom: 25px;
}

/* featured products mobile style */
@media (max-width: 665px) {
  .featured-products-wrapper .products .customNavigation {
    display: none;
  }

  #feature-carousel
    .owl-wrapper-outer
    .owl-wrapper
    .owl-item
    .double-slideitem
    ul {
    flex-wrap: wrap;
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    flex-direction: row;
  }

  #feature-carousel
    .owl-wrapper-outer
    .owl-wrapper
    .owl-item
    .double-slideitem
    ul
    .item {
    width: 50%;
  }

  .featured-products.czfeatured
    .products
    .product_list
    li.item
    .product-miniature {
    height: 100%;
  }

  .featured-products.czfeatured .products .product-description {
    width: 80%;
  }

  /* .feature-carousel .owl-wrapper-outer .owl-wrapper {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
  }
  .feature-carousel .products .featured-products-navigation {
    display: none;
  }
  .feature-double-slide .double-slideitem ul {
    flex-direction: row;
  } */
}

@media (max-width: 484px) {
  .owl-wrapper
    .owl-item
    .double-slideitem
    .item
    .product-miniature.js-product-miniature.product-miniature-custom-styling.reviews-loaded
    .product-description
    .h3.product-title {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: inline-block;
  }

  .owl-wrapper
    .owl-item
    .double-slideitem
    .item
    .product-miniature.js-product-miniature.product-miniature-custom-styling.reviews-loaded
    .product-description
    .product-price-and-shipping
    .price {
    display: flex !important;
    flex-direction: column;
  }
}

@media (max-width: 447px) {
  .featured-products.czfeatured .products .thumbnail-container {
    width: 100% !important;
  }

  .product-miniature .btn.add-to-cart {
    padding: 7px 12px !important;
    font-size: 10px !important;
    font-weight: 400;
  }
}

@media (max-width: 392px) {
  .product-miniature .btn.add-to-cart {
    width: 30px !important;
    font-size: 9px !important;
    letter-spacing: 0.7px !important;
    font-weight: 600 !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
}

@media (min-width: 992px) {
  #header .header-top-inner.fixed {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1080;
    animation: slideDown 1s ease;
    padding-top: 5px;
    padding-bottom: 5px;
    background: #f2f2f0;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-40px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .header-top.margin_bottom_fill_header_top_inner_place_sticky {
    margin-bottom: 54px;
  }
}

@media (min-width: 992px) {
  #_desktop_main_menu .collapse.in {
    display: none;
  }

  #_desktop_main_menu li:hover > .collapse.in {
    display: block;
  }
}

@media (max-width: 991px) {
  #mobile_top_menu_wrapper .top-menu .navbar-toggler,
  #mobile_top_menu_wrapper .top-menu .collapse-icons {
    display: none !important;
  }

  #mobile_top_menu_wrapper .top-menu .collapse,
  #mobile_top_menu_wrapper .top-menu .collapse.in,
  #mobile_top_menu_wrapper .top-menu .sub-menu,
  #mobile_top_menu_wrapper .top-menu .sub-menu.collapse,
  #mobile_top_menu_wrapper .top-menu .sub-menu.collapse.in {
    display: block !important;
    height: auto !important;
    overflow: visible !important;
  }

  #mobile_top_menu_wrapper .top-menu ul,
  #mobile_top_menu_wrapper .top-menu .sub-menu ul {
    margin: 0;
    padding-left: 0;
  }

  #mobile_top_menu_wrapper .top-menu li,
  #mobile_top_menu_wrapper .top-menu .sub-menu ul[data-depth="1"] > li {
    float: none;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
  }

  #mobile_top_menu_wrapper .top-menu a[data-depth],
  #mobile_top_menu_wrapper .top-menu .sub-menu li > a,
  #mobile_top_menu_wrapper .top-menu .sub-menu ul[data-depth="2"] li a,
  #mobile_top_menu_wrapper .top-menu .sub-menu ul[data-depth="3"] li a,
  #mobile_top_menu_wrapper .top-menu .sub-menu ul[data-depth="4"] li a {
    display: block;
    margin: 0;
    padding: 5px 0 5px 5px;
  }

  #mobile_top_menu_wrapper .top-menu .sub-menu .menu-banners {
    margin-left: 0;
  }
}

@media (max-width: 445px) {
  #header .header_logo {
    left: 35%;
  }
}

.hide_navigation_slider_btn {
  top: 0;
  display: none;
  width: 100%;
}

@media (max-width: 990px) {
  .language-selector {
    right: 83px !important;
  }
}

/* STYLES FOR A PROPOS PAGE CONTENT IMAGES  */
.details_page_images_wrapper {
  padding: 10px;
  margin-bottom: 50px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.details_page_images_wrapper .details_page_images_container {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 5px;
}

.details_page_images_wrapper .details_page_images_container img {
  width: 50%;
}

@media (max-width: 550px) {
  .details_page_images_wrapper .details_page_images_container img {
    width: 100%;
  }

  .details_page_images_wrapper .details_page_images_container {
    flex-direction: column;
  }
}

@media (max-width: 991px) {
  #header .user-info .dropdown-menu {
    height: auto;
  }
}

@media (max-width: 991px) {
  #header .header_logo {
    right: auto;
  }
}

#js-product-list .products ul.product_list {
  display: flex;
  flex-wrap: wrap;
}

.product_item .product-miniature {
  margin: 0 !important;
  height: 100% !important;
}

.product_item .product-miniature .product-description .product-title a {
  /* text-wrap: auto; */
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  max-width: none !important;
}

@media (max-width: 991px) {
  #main .product-container {
    margin-bottom: 150px !important;
  }
}

@media (max-width: 767px) {
  #main .product-container {
    margin-bottom: 300px !important;
  }
}

/* overlapping divs in mobile responsive */
@media (max-width: 991px) {
  .product-popup-links-horizontal {
    margin-top: 10px !important;
  }
}

@media (max-width: 401px) {
  .product-tabcontent {
    clear: both !important;
    /* Keep tabs close to product info on small
    margin: 16px 0 60px !important;
  }
}

@media (max-width: 381px) {
  .product-tabcontent {
    clear: both !important;
    /* Unify spacing at very small widths to prevent jumps */
    margin: 16px 0 60px !important;
  }
}

/* Mobile product page: ensure tabs sit below images/info */
@media (max-width: 991px) {
  .product-tabcontent {
    clear: both !important;
    /* Moderate spacing on general mobile */
    margin: 40px 0 60px !important;
  }
}

/* Keep action buttons side by side and shrink to fit */
@media (max-width: 450px) {
  .product-add-to-cart .add {
    display: flex !important;
    align-items: stretch !important;
    gap: 8px !important;
  }

  .product-add-to-cart .add .btn.add-to-cart,
  .product-add-to-cart .add .buy-now-btn {
    flex: 1 1 0 !important;
    width: auto !important;
    min-width: auto !important;
    /* override theme min-width:190px */
    padding: 0 10px !important;
    font-size: 12px !important;
    height: 2.75rem !important;
    /* match quantity input height */
  }

  .product-add-to-cart .add .buy-now-btn {
    margin-left: 0 !important;
    /* override inline margin */
  }
}

@media (max-width: 381px) {
  .product-add-to-cart .add {
    gap: 14px !important;
  }

  .product-add-to-cart .add .btn.add-to-cart,
  .product-add-to-cart .add .buy-now-btn {
    padding: 0 8px !important;
    font-size: 12px !important;
    height: 2.75rem !important;
  }
}

.product-miniature .product-actions {
  width: 70% !important;
}

.products .product_list li .product-actions:hover {
  background-color: white;
}

/* Consistent phone number rendering across RTL/LTR : retour num 1*/
.contact-phone-line {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.contact-phone {
  direction: ltr !important;
  unicode-bidi: isolate !important;
  white-space: nowrap !important;
}

@media (max-width: 365px) {
  .products .product_list li .product-actions {
    width: 100% !important;
  }

  .product_item .product-miniature .product-description .product-title a {
    max-width: 135px !important;
  }

  .product-miniature .price-amount {
    font-size: 16px !important;
  }

  .product-miniature .product-price-and-shipping {
    margin-bottom: 8px !important;
    margin-top: 0px !important;
  }
}

/* applying hex-pattern.png to the body */
#header {
  background: none;
}

body {
  background-color: #ffffff;
  background-image: url("../img/hex-pattern.png");
  background-attachment: fixed;
  background-repeat: repeat;
  background-position: center top;
}

/* ==========================================================================
   MOBILE CAROUSEL FIX - Prevent Page Shaking
   ========================================================================== */
.js-qv-mask,
.additional-carousel,
.additional-image-slider,
.owl-carousel,
.owl-stage-outer {
  touch-action: pan-y !important;
  -ms-touch-action: pan-y !important;
  overscroll-behavior-x: contain;
}

body,
html {
  overflow-x: hidden;
}

#product #content .product-leftside .product-flags li.discount {
  display: table;
  background-color: #f00;
  color: #fff;
}

#newproduct_block_toggle .products {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#newproduct_block_toggle .products .product_item,
#newproduct_block_toggle .products .product_item .product-miniature {
  width: 100%;
}

#newproduct_block_toggle
  .product-info
  .product-price-and-shipping
  .discount-amount.discount-product {
  background: red;
  color: white;
  padding: 2px;
  font-size: 13px;
}

/* ================================================================
   MENU — desktop, up to 11 categories
   ================================================================ */

/* Flex container so all items stay on one line */
@media (min-width: 992px) {
  #_desktop_main_menu #top-menu[data-depth="0"] {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: stretch;
    list-style: none;
    padding: 0;
  }

  #_desktop_main_menu #top-menu[data-depth="0"] > li {
    display: flex;
    align-items: center;
    flex-shrink: 1;
    min-width: 0;
  }

  /* 992 – 1199 px: tightest spacing */
  #_desktop_main_menu .top-menu a[data-depth="0"] {
    margin: 0 5px !important;
    font-size: 11px !important;
    font-weight: 500;
    white-space: nowrap;
  }
}

@media (min-width: 1200px) {
  #_desktop_main_menu .top-menu a[data-depth="0"] {
    margin: 0 8px !important;
    font-size: 11px !important;
    font-weight: 500;
    white-space: nowrap;
  }
}

@media (min-width: 1400px) {
  #_desktop_main_menu .top-menu a[data-depth="0"] {
    margin: 0 13px !important;
    font-size: 12px !important;
    font-weight: 500;
    white-space: nowrap;
  }
}

/* ================================================================
   CART BUTTON — compact & simple (desktop ≥ 992 px)
   ================================================================ */
@media (min-width: 992px) {
  /* Smaller button: icon + price only, no "Mon Panier" label */
  #header .blockcart .blockcart-header > .shopping-cart {
    padding: 0 14px 0 44px !important;
    height: 46px !important;
    line-height: 46px !important;
    border-radius: 5px !important;
  }

  /* Shift icon left so it fits the narrower button */
  #header .blockcart .blockcart-header > .shopping-cart::before {
    left: 10px !important;
    top: 8px !important;
    width: 24px !important;
    height: 24px !important;
    mask-size: 22px !important;
    -webkit-mask-size: 22px !important;
  }

  /* Hide the "Mon Panier" label */
  #header .blockcart .blockcart-header > .shopping-cart .cart-headding {
    display: none !important;
  }

  /* Reposition the count badge over the icon */
  #header .blockcart .blockcart-header > .shopping-cart .mobile_count {
    left: 24px !important;
    top: 7px !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    line-height: 18px !important;
    font-size: 10px !important;
    padding: 0 !important;
  }

  /* Price text — single visible line, slightly bolder */
  #header .blockcart .blockcart-header > .shopping-cart .value {
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 46px !important;
    display: inline !important;
  }
}

/* ================================================================
   NAV BAR — cart (left) + categories (right), desktop ≥ 992px
   ================================================================ */
@media (min-width: 992px) {
  .header-top-inner .header-nav-row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    padding-top: 0;
    padding-bottom: 0;
  }

  /* Cart slot: fixed, no shrink, small right gap before categories */
  .header-top-inner .nav-cart-slot {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    padding-right: 16px;
  }

  .header-top-inner .nav-cart-slot .blockcart {
    float: none;
    margin: 0;
  }

  /* Menu fills remaining space */
  .header-top-inner .header-nav-row #_desktop_main_menu {
    flex: 1 1 auto;
    min-width: 0;
  }
}

#js-product-list
  .product_item
  .product-miniature
  .product-description
  .product-listgrid-title,
#js-product-list
  .product_item
  .product-miniature
  .product-description
  .product-listgrid-title
  a {
  display: block !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  max-width: none !important;
  height: auto !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: initial !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.header-top-inner .container {
  margin: 10px !important;
}
#header .blockcart .blockcart-header > .shopping-cart .value {
  display: none !important;
}
.header-top-inner {
  position: relative !important;
}
@media (min-width: 992px) {
  .blockcart {
    position: absolute !important;
    right: 20px !important;
    top: 12px !important;
  }
  html[lang="ar-SA"] .blockcart {
    right: auto !important;
    left: 20px !important;
  }
}
