/* Maison Gene WooCommerce Shop */
body.maison-gene-shop-active {
  --mg-black: #111111;
  --mg-white: #ffffff;
  --mg-soft: #f4f1ee;
  --mg-warm: #c8b09f;
  --mg-grey: #696969;
  --mg-border: #d9d4cf;
  background: var(--mg-white);
  color: var(--mg-black);
  font-family: "DM Sans", Arial, sans-serif;
}

body.maison-gene-shop-active .site-main,
body.maison-gene-shop-active main,
body.maison-gene-shop-active .content-area,
body.maison-gene-shop-active .woocommerce-products-header,
body.maison-gene-shop-active .woocommerce-notices-wrapper,
body.maison-gene-shop-active .woocommerce {
  box-sizing: border-box;
}

body.maison-gene-shop-active .woocommerce-products-header {
  display: none;
}

/* Remove WooCommerce and common theme breadcrumb trails from shop archives. */
body.maison-gene-shop-active .woocommerce-breadcrumb,
body.maison-gene-shop-active .storefront-breadcrumb,
body.maison-gene-shop-active .yoast-breadcrumb,
body.maison-gene-shop-active .rank-math-breadcrumb,
body.maison-gene-shop-active nav.breadcrumb,
body.maison-gene-shop-active .breadcrumbs,
body.maison-gene-shop-active .breadcrumb {
  display: none !important;
}

body.maison-gene-shop-active .site-main,
body.maison-gene-shop-active .content-area,
body.maison-gene-shop-active main.site-main {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  float: none !important;
}

/* Remove the theme's archive container and sidebar restrictions. */
body.maison-gene-shop-active #page,
body.maison-gene-shop-active #content,
body.maison-gene-shop-active #primary,
body.maison-gene-shop-active .site,
body.maison-gene-shop-active .site-content,
body.maison-gene-shop-active .content-area,
body.maison-gene-shop-active .container,
body.maison-gene-shop-active .site-container,
body.maison-gene-shop-active .content-container,
body.maison-gene-shop-active .ast-container,
body.maison-gene-shop-active .generate-content-container,
body.maison-gene-shop-active .col-full,
body.maison-gene-shop-active .woocommerce-page #primary,
body.maison-gene-shop-active .woocommerce-page .site-main {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  float: none !important;
}

body.maison-gene-shop-active #secondary,
body.maison-gene-shop-active .widget-area,
body.maison-gene-shop-active aside.sidebar,
body.maison-gene-shop-active .site-sidebar {
  display: none !important;
}

body.maison-gene-shop-active .site-content,
body.maison-gene-shop-active .ast-container,
body.maison-gene-shop-active .content-container {
  display: block !important;
}

.mg-shop-hero {
  width: 100%;
  min-height: 610px;
  margin: 0 0 100px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  background: var(--mg-black);
  color: var(--mg-white);
}

.mg-shop-hero__content {
  padding: clamp(55px, 7vw, 105px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
}

.mg-shop-hero__eyebrow,
.mg-shop-intro__eyebrow {
  margin: 0 0 17px;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 2.6px;
  text-transform: uppercase;
}

.mg-shop-hero__title {
  margin: 0;
  color: var(--mg-white);
  font-family: "Italiana", Georgia, serif;
  font-size: clamp(45px, 6vw, 78px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.5px;
}

.mg-shop-hero__copy {
  max-width: 540px;
  margin: 26px 0 34px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
  line-height: 1.85;
}

.mg-shop-hero__button {
  min-height: 49px;
  padding: 15px 27px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--mg-white);
  border: 1px solid var(--mg-white);
  color: var(--mg-black) !important;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease;
}

.mg-shop-hero__button:hover {
  background: transparent;
  color: var(--mg-white) !important;
}

.mg-shop-hero__visual {
  min-width: 0;
  min-height: 610px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--mg-warm);
}

.mg-shop-hero__visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.mg-shop-hero__visual--empty span {
  font-family: "Italiana", Georgia, serif;
  font-size: 100px;
  letter-spacing: 8px;
}

.mg-shop-intro {
  width: calc(100% - clamp(40px, 8vw, 140px));
  max-width: 1600px;
  margin: 0 auto 42px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.mg-shop-intro__eyebrow {
  color: var(--mg-grey);
}

.mg-shop-intro h2 {
  margin: 0;
  color: var(--mg-black);
  font-family: "Italiana", Georgia, serif;
  font-size: clamp(35px, 4vw, 54px);
  font-weight: 400;
  line-height: 1.08;
}

.mg-shop-intro > a {
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: var(--mg-black) !important;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-decoration: none !important;
  text-transform: uppercase;
}

body.maison-gene-shop-active .woocommerce-notices-wrapper,
body.maison-gene-shop-active .woocommerce-result-count,
body.maison-gene-shop-active .woocommerce-ordering,
body.maison-gene-shop-active ul.products,
body.maison-gene-shop-active .woocommerce-pagination {
  width: calc(100% - clamp(40px, 8vw, 140px));
  max-width: 1600px;
  margin-right: auto !important;
  margin-left: auto !important;
}

body.maison-gene-shop-active .woocommerce-result-count {
  margin-top: 8px !important;
  margin-bottom: 35px !important;
  color: var(--mg-grey);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.3px;
  text-transform: uppercase;
}

body.maison-gene-shop-active .woocommerce-ordering {
  width: auto;
  margin-right: clamp(20px, 4vw, 70px) !important;
  margin-bottom: 35px !important;
}

body.maison-gene-shop-active .woocommerce-ordering select {
  min-width: 220px;
  height: 45px;
  padding: 0 38px 0 15px;
  background-color: var(--mg-white);
  border: 1px solid var(--mg-border);
  border-radius: 0;
  color: var(--mg-black);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 1px;
  outline: none;
  text-transform: uppercase;
}

body.maison-gene-shop-active ul.products {
  padding: 0 0 110px !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 48px 20px;
  clear: both;
}

body.maison-gene-shop-active ul.products::before,
body.maison-gene-shop-active ul.products::after {
  display: none !important;
}

body.maison-gene-shop-active ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 0 23px !important;
  float: none !important;
  overflow: hidden;
  background: var(--mg-soft);
  border: 0;
  text-align: left !important;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

body.maison-gene-shop-active ul.products li.product:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.08);
}

body.maison-gene-shop-active ul.products li.product a img {
  width: 100% !important;
  height: 390px !important;
  margin: 0 0 22px !important;
  display: block;
  background: #e8dfd8;
  object-fit: contain;
  object-position: center;
  transition: transform 0.45s ease;
}

body.maison-gene-shop-active ul.products li.product:hover a img {
  transform: scale(1.025);
}

body.maison-gene-shop-active ul.products li.product .woocommerce-loop-product__title {
  margin: 0 0 10px !important;
  padding: 0 20px !important;
  color: var(--mg-black);
  font-family: "Italiana", Georgia, serif;
  font-size: 23px !important;
  font-weight: 400 !important;
  line-height: 1.2;
}

body.maison-gene-shop-active ul.products li.product .star-rating {
  margin: 0 20px 11px !important;
  color: var(--mg-black);
  font-size: 11px !important;
}

body.maison-gene-shop-active ul.products li.product .price {
  margin: 0 0 19px !important;
  padding: 0 20px;
  display: block;
  color: var(--mg-black) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

body.maison-gene-shop-active ul.products li.product .price del {
  margin-right: 6px;
  color: #8c8c8c;
  font-size: 11px;
  opacity: 1;
}

body.maison-gene-shop-active ul.products li.product .price ins {
  color: var(--mg-black);
  font-weight: 600;
  text-decoration: none;
}

body.maison-gene-shop-active ul.products li.product .onsale {
  min-width: auto !important;
  min-height: auto !important;
  margin: 0 !important;
  padding: 9px 12px !important;
  top: 13px !important;
  right: 13px !important;
  left: auto !important;
  z-index: 4;
  background: var(--mg-black) !important;
  border-radius: 0 !important;
  color: var(--mg-white) !important;
  font-size: 8px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

body.maison-gene-shop-active ul.products li.product .button,
body.maison-gene-shop-active ul.products li.product .added_to_cart {
  min-height: 44px;
  margin: 0 20px !important;
  padding: 14px 17px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: var(--mg-black) !important;
  border: 1px solid var(--mg-black) !important;
  border-radius: 0 !important;
  color: var(--mg-white) !important;
  font-family: "DM Sans", Arial, sans-serif !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  letter-spacing: 1.6px;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease;
}

body.maison-gene-shop-active ul.products li.product .button:hover,
body.maison-gene-shop-active ul.products li.product .added_to_cart:hover {
  background: transparent !important;
  color: var(--mg-black) !important;
}

body.maison-gene-shop-active ul.products li.product .added_to_cart {
  margin-top: 8px !important;
}

body.maison-gene-shop-active .woocommerce-pagination {
  padding-bottom: 100px;
}

body.maison-gene-shop-active .woocommerce-pagination ul.page-numbers {
  display: flex;
  justify-content: center;
  gap: 7px;
  border: 0 !important;
}

body.maison-gene-shop-active .woocommerce-pagination ul li {
  border: 0 !important;
}

body.maison-gene-shop-active .woocommerce-pagination a,
body.maison-gene-shop-active .woocommerce-pagination span {
  width: 42px;
  height: 42px;
  padding: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: var(--mg-soft) !important;
  border: 1px solid var(--mg-border);
  color: var(--mg-black) !important;
  font-size: 11px;
}

body.maison-gene-shop-active .woocommerce-pagination .current,
body.maison-gene-shop-active .woocommerce-pagination a:hover {
  background: var(--mg-black) !important;
  border-color: var(--mg-black);
  color: var(--mg-white) !important;
}

body.maison-gene-shop-active .woocommerce-message,
body.maison-gene-shop-active .woocommerce-info,
body.maison-gene-shop-active .woocommerce-error {
  margin-bottom: 35px !important;
  padding: 20px 25px 20px 55px !important;
  background: var(--mg-soft);
  border-top: 2px solid var(--mg-black);
  color: var(--mg-black);
  font-size: 13px;
}

body.maison-gene-shop-active .woocommerce-message::before,
body.maison-gene-shop-active .woocommerce-info::before {
  color: var(--mg-black);
}

@media (max-width: 1100px) {
  body.maison-gene-shop-active ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 850px) {
  .mg-shop-hero {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .mg-shop-hero__content {
    padding: 65px 30px;
  }

  .mg-shop-hero__visual {
    min-height: 520px;
  }

  .mg-shop-intro,
  body.maison-gene-shop-active .woocommerce-notices-wrapper,
  body.maison-gene-shop-active .woocommerce-result-count,
  body.maison-gene-shop-active ul.products,
  body.maison-gene-shop-active .woocommerce-pagination {
    width: calc(100% - 40px);
  }

  body.maison-gene-shop-active ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .mg-shop-hero {
    margin-top: 0;
    margin-bottom: 70px;
  }

  .mg-shop-hero__content {
    padding: 58px 22px;
  }

  .mg-shop-hero__visual {
    min-height: 430px;
  }

  .mg-shop-hero__button {
    width: 100%;
  }

  .mg-shop-intro {
    align-items: flex-start;
    flex-direction: column;
  }

  body.maison-gene-shop-active .woocommerce-result-count,
  body.maison-gene-shop-active .woocommerce-ordering {
    width: calc(100% - 40px);
    margin-right: auto !important;
    margin-left: auto !important;
    float: none;
  }

  body.maison-gene-shop-active .woocommerce-ordering select {
    width: 100%;
  }

  body.maison-gene-shop-active ul.products {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  body.maison-gene-shop-active ul.products li.product a img {
    height: 460px !important;
  }
}

/* ================================================================
   MAISON GENE SINGLE PRODUCT PAGE
   ================================================================ */

body.maison-gene-product-active {
  --mg-black: #111111;
  --mg-white: #ffffff;
  --mg-soft: #f4f1ee;
  --mg-warm: #c8b09f;
  --mg-grey: #696969;
  --mg-border: #d9d4cf;
  background: var(--mg-soft) !important;
  color: var(--mg-black);
  font-family: "DM Sans", Arial, sans-serif;
}

/* Full-width theme wrappers on product pages. */
body.maison-gene-product-active #page,
body.maison-gene-product-active #content,
body.maison-gene-product-active #primary,
body.maison-gene-product-active .site,
body.maison-gene-product-active .site-content,
body.maison-gene-product-active .site-main,
body.maison-gene-product-active main,
body.maison-gene-product-active .content-area,
body.maison-gene-product-active .container,
body.maison-gene-product-active .site-container,
body.maison-gene-product-active .content-container,
body.maison-gene-product-active .ast-container,
body.maison-gene-product-active .generate-content-container,
body.maison-gene-product-active .col-full {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
  float: none !important;
}

body.maison-gene-product-active .woocommerce,
body.maison-gene-product-active .woocommerce-page,
body.maison-gene-product-active .wp-site-blocks,
body.maison-gene-product-active .wp-block-post-content,
body.maison-gene-product-active .entry-content,
body.maison-gene-product-active article.product,
body.maison-gene-product-active article.type-product {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

body.maison-gene-product-active #secondary,
body.maison-gene-product-active .widget-area,
body.maison-gene-product-active aside.sidebar,
body.maison-gene-product-active .site-sidebar {
  display: none !important;
}

body.maison-gene-product-active .site-content,
body.maison-gene-product-active .ast-container,
body.maison-gene-product-active .content-container {
  display: block !important;
}

/* Keep the full product-page canvas cream, including the area above the footer. */
body.maison-gene-product-active #page,
body.maison-gene-product-active #content,
body.maison-gene-product-active #primary,
body.maison-gene-product-active main,
body.maison-gene-product-active .site,
body.maison-gene-product-active .site-content,
body.maison-gene-product-active .site-main,
body.maison-gene-product-active .content-area,
body.maison-gene-product-active .container,
body.maison-gene-product-active .site-container,
body.maison-gene-product-active .content-container,
body.maison-gene-product-active .ast-container,
body.maison-gene-product-active .woocommerce,
body.maison-gene-product-active .entry-content,
body.maison-gene-product-active .wp-site-blocks,
body.maison-gene-product-active .wp-block-post-content {
  background-color: var(--mg-soft) !important;
}

body.maison-gene-product-active .woocommerce-breadcrumb,
body.maison-gene-product-active .woocommerce-notices-wrapper,
body.maison-gene-product-active .related.products,
body.maison-gene-product-active .up-sells.products {
  width: calc(100% - clamp(40px, 8vw, 140px));
  max-width: 1600px;
  margin-right: auto !important;
  margin-left: auto !important;
}

body.maison-gene-product-active .woocommerce-breadcrumb {
  margin-top: 35px !important;
  margin-bottom: 35px !important;
  color: var(--mg-grey);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

body.maison-gene-product-active .woocommerce-breadcrumb a {
  color: var(--mg-black);
  text-decoration: none;
}

body.maison-gene-product-active div.product {
  width: 100vw !important;
  max-width: none !important;
  margin-right: calc(50% - 50vw) !important;
  margin-left: calc(50% - 50vw) !important;
  margin-bottom: 110px !important;
  padding: clamp(24px, 4vw, 60px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  column-gap: clamp(45px, 7vw, 110px);
  align-items: start;
  background: var(--mg-soft);
}

body.maison-gene-product-active div.product::before,
body.maison-gene-product-active div.product::after {
  display: none !important;
}

/* Product gallery: always show the full product photograph. */
body.maison-gene-product-active div.product div.images {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}

body.maison-gene-product-active .woocommerce-product-gallery__wrapper {
  margin: 0;
}

body.maison-gene-product-active .woocommerce-product-gallery__image {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #e7ddd5;
}

body.maison-gene-product-active .woocommerce-product-gallery__image a {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.maison-gene-product-active .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  display: block;
  object-fit: contain !important;
  object-position: center !important;
}

body.maison-gene-product-active .woocommerce-product-gallery .flex-control-thumbs {
  margin-top: 12px !important;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

body.maison-gene-product-active .woocommerce-product-gallery .flex-control-thumbs li {
  width: 100% !important;
  min-height: 0;
  float: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--mg-white);
}

body.maison-gene-product-active .woocommerce-product-gallery .flex-control-thumbs img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: none !important;
  padding: 4px;
  display: block;
  object-fit: contain !important;
  object-position: center !important;
  aspect-ratio: auto !important;
  background: transparent;
}

body.maison-gene-product-active .woocommerce-product-gallery__trigger {
  top: 18px !important;
  right: 18px !important;
  border-radius: 0 !important;
  background: var(--mg-white) !important;
}

/* Product summary. */
body.maison-gene-product-active div.product div.summary {
  width: 100% !important;
  margin: 0 !important;
  padding: clamp(30px, 5vw, 75px) 0;
  float: none !important;
}

body.maison-gene-product-active div.product .product_title {
  margin: 0 0 20px !important;
  color: var(--mg-black);
  font-family: "Italiana", Georgia, serif;
  font-size: clamp(45px, 5vw, 72px) !important;
  font-weight: 400 !important;
  line-height: 1.02;
  letter-spacing: -.5px;
}

body.maison-gene-product-active div.product .woocommerce-product-rating {
  margin: 0 0 22px;
  color: var(--mg-grey);
  font-size: 12px;
}

body.maison-gene-product-active div.product .star-rating { color: var(--mg-black); }

body.maison-gene-product-active div.product p.price,
body.maison-gene-product-active div.product span.price {
  margin: 0 0 28px;
  color: var(--mg-black) !important;
  font-size: 22px !important;
  font-weight: 500;
}

body.maison-gene-product-active div.product p.price del {
  margin-right: 8px;
  color: var(--mg-grey);
  font-size: 15px;
  opacity: 1;
}

body.maison-gene-product-active div.product p.price ins {
  color: var(--mg-black);
  text-decoration: none;
}

body.maison-gene-product-active .woocommerce-product-details__short-description {
  margin-bottom: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--mg-border);
  color: var(--mg-grey);
  font-size: 14px;
  line-height: 1.85;
}

body.maison-gene-product-active div.product form.cart {
  margin: 30px 0 !important;
  padding: 25px 0;
  display: flex;
  align-items: stretch;
  gap: 12px;
  border-top: 1px solid var(--mg-border);
  border-bottom: 1px solid var(--mg-border);
}

body.maison-gene-product-active div.product form.cart::before,
body.maison-gene-product-active div.product form.cart::after {
  display: none !important;
}

body.maison-gene-product-active div.product form.cart .quantity { margin: 0 !important; }

body.maison-gene-product-active div.product form.cart .qty {
  width: 78px;
  height: 52px;
  padding: 10px;
  border: 1px solid var(--mg-border);
  border-radius: 0;
  background: var(--mg-white);
  color: var(--mg-black);
  font-family: "DM Sans", Arial, sans-serif;
  text-align: center;
  outline: none;
}

body.maison-gene-product-active div.product form.cart .qty:focus { border-color: var(--mg-black); }

body.maison-gene-product-active div.product form.cart .button {
  min-height: 52px;
  margin: 0 !important;
  padding: 15px 30px !important;
  flex: 1;
  background: var(--mg-black) !important;
  border: 1px solid var(--mg-black) !important;
  border-radius: 0 !important;
  color: var(--mg-white) !important;
  font-family: "DM Sans", Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  transition: .25s ease;
}

body.maison-gene-product-active div.product form.cart .button:hover {
  background: transparent !important;
  color: var(--mg-black) !important;
}

body.maison-gene-product-active div.product .product_meta {
  color: var(--mg-grey);
  font-size: 10px;
  line-height: 1.9;
  letter-spacing: 1.1px;
  text-transform: uppercase;
}

body.maison-gene-product-active div.product .product_meta > span { display: block; }

body.maison-gene-product-active div.product .product_meta a {
  color: var(--mg-black);
  text-decoration: none;
}

body.maison-gene-product-active div.product .onsale {
  min-width: auto !important;
  min-height: auto !important;
  padding: 10px 14px !important;
  top: 75px !important;
  right: auto !important;
  left: 75px !important;
  z-index: 10;
  background: var(--mg-black) !important;
  border-radius: 0 !important;
  color: var(--mg-white) !important;
  font-size: 8px !important;
  line-height: 1 !important;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

/* Description and additional information tabs span both columns. */
body.maison-gene-product-active div.product .woocommerce-tabs {
  width: 100%;
  margin-top: 75px;
  padding-top: 50px;
  grid-column: 1 / -1;
  border-top: 1px solid var(--mg-black);
}

body.maison-gene-product-active div.product .woocommerce-tabs ul.tabs {
  margin: 0 0 40px !important;
  padding: 0 !important;
  display: flex;
  gap: 35px;
  overflow: visible !important;
}

body.maison-gene-product-active div.product .woocommerce-tabs ul.tabs::before,
body.maison-gene-product-active div.product .woocommerce-tabs ul.tabs::after {
  display: none !important;
}

body.maison-gene-product-active div.product .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  padding: 0 0 10px !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid transparent !important;
  border-radius: 0 !important;
}

body.maison-gene-product-active div.product .woocommerce-tabs ul.tabs li::before,
body.maison-gene-product-active div.product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

body.maison-gene-product-active div.product .woocommerce-tabs ul.tabs li.active {
  border-bottom-color: var(--mg-black) !important;
}

body.maison-gene-product-active div.product .woocommerce-tabs ul.tabs li a {
  padding: 0 !important;
  color: var(--mg-grey) !important;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

body.maison-gene-product-active div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--mg-black) !important;
}

body.maison-gene-product-active .woocommerce-Tabs-panel {
  max-width: 900px;
  color: var(--mg-grey);
  font-size: 14px;
  line-height: 1.85;
}

body.maison-gene-product-active .woocommerce-Tabs-panel h2,
body.maison-gene-product-active .related.products > h2,
body.maison-gene-product-active .up-sells.products > h2 {
  margin: 0 0 28px;
  color: var(--mg-black);
  font-family: "Italiana", Georgia, serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 400;
}

body.maison-gene-product-active .woocommerce-product-attributes {
  border: 1px solid var(--mg-border) !important;
}

body.maison-gene-product-active .woocommerce-product-attributes th,
body.maison-gene-product-active .woocommerce-product-attributes td {
  padding: 15px !important;
  border-bottom: 1px solid var(--mg-border) !important;
  background: var(--mg-white) !important;
}

/* Notices. */
body.maison-gene-product-active .woocommerce-notices-wrapper { margin-bottom: 25px !important; }

body.maison-gene-product-active .woocommerce-message,
body.maison-gene-product-active .woocommerce-info,
body.maison-gene-product-active .woocommerce-error {
  padding: 20px 25px 20px 55px !important;
  background: var(--mg-soft);
  border-top: 2px solid var(--mg-black);
  color: var(--mg-black);
  font-size: 13px;
}

/* Related and upsell product grid. */
body.maison-gene-product-active .related.products,
body.maison-gene-product-active .up-sells.products {
  margin-bottom: 0 !important;
  padding-bottom: 100px;
  clear: both;
  background: var(--mg-soft);
}

body.maison-gene-product-active .related.products ul.products,
body.maison-gene-product-active .up-sells.products ul.products {
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
}

body.maison-gene-product-active .related.products ul.products::before,
body.maison-gene-product-active .related.products ul.products::after,
body.maison-gene-product-active .up-sells.products ul.products::before,
body.maison-gene-product-active .up-sells.products ul.products::after {
  display: none !important;
}

body.maison-gene-product-active ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 0 22px !important;
  float: none !important;
  background: var(--mg-soft);
  text-align: left !important;
}

body.maison-gene-product-active ul.products li.product a img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 0 20px !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #e7ddd5;
}

body.maison-gene-product-active ul.products li.product .woocommerce-loop-product__title {
  padding: 0 18px !important;
  color: var(--mg-black);
  font-family: "Italiana", Georgia, serif;
  font-size: 22px !important;
  font-weight: 400 !important;
}

body.maison-gene-product-active ul.products li.product .price {
  padding: 0 18px;
  color: var(--mg-black) !important;
  font-size: 13px !important;
}

body.maison-gene-product-active ul.products li.product .button,
body.maison-gene-product-active ul.products li.product .added_to_cart {
  margin: 8px 18px 0 !important;
  padding: 14px 17px !important;
  display: flex !important;
  justify-content: center;
  background: var(--mg-black) !important;
  border: 1px solid var(--mg-black) !important;
  border-radius: 0 !important;
  color: var(--mg-white) !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

body.maison-gene-product-active ul.products li.product .button:hover,
body.maison-gene-product-active ul.products li.product .added_to_cart:hover {
  background: transparent !important;
  color: var(--mg-black) !important;
}

@media (max-width: 1050px) {
  body.maison-gene-product-active div.product {
    grid-template-columns: minmax(0, 1fr) minmax(310px, .9fr);
    column-gap: 40px;
  }

  body.maison-gene-product-active .related.products ul.products,
  body.maison-gene-product-active .up-sells.products ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  body.maison-gene-product-active div.product {
    width: 100vw !important;
    padding: 18px;
    grid-template-columns: 1fr;
  }

  body.maison-gene-product-active div.product div.summary { padding: 45px 5px 20px; }

  body.maison-gene-product-active div.product .woocommerce-tabs { margin-top: 45px; }

  body.maison-gene-product-active .related.products ul.products,
  body.maison-gene-product-active .up-sells.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  body.maison-gene-product-active .woocommerce-breadcrumb { width: calc(100% - 30px); }

  body.maison-gene-product-active div.product form.cart { flex-direction: column; }
  body.maison-gene-product-active div.product form.cart .quantity,
  body.maison-gene-product-active div.product form.cart .qty,
  body.maison-gene-product-active div.product form.cart .button { width: 100%; }

  body.maison-gene-product-active div.product .woocommerce-tabs ul.tabs {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  body.maison-gene-product-active .related.products,
  body.maison-gene-product-active .up-sells.products { width: calc(100% - 30px); }

  body.maison-gene-product-active .related.products ul.products,
  body.maison-gene-product-active .up-sells.products ul.products {
    grid-template-columns: 1fr;
  }

  body.maison-gene-product-active ul.products li.product a img { height: auto !important; }

  body.maison-gene-product-active .woocommerce-product-gallery .flex-control-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
