/*
 * Amour Parfum Signature 6.0.6 — Width-Controlled Commerce Recovery
 *
 * Purpose: constrain WooCommerce archive and related-product merchandising widths while preserving the recovered single-product composition.
 * The homepage, header, footer, cart, checkout and importer integration are untouched.
 */

:root {
  --ap605-ink: #11100e;
  --ap605-paper: #fbfaf7;
  --ap605-ivory: #f4f0e8;
  --ap605-stone: #ebe6de;
  --ap605-line: #dcd5ca;
  --ap605-gold: var(--amour-gold, #b79255);
  --ap605-taupe: #7f7468;
  --ap605-serif: "Bodoni 72", Didot, "Times New Roman", Times, serif;
  --ap605-sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* =========================================================
   CATEGORY / SHOP / BRAND ARCHIVES
   ========================================================= */
:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) .amour-commerce-main {
  background: var(--ap605-paper);
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) .amour-commerce-shell {
  width: min(1180px, calc(100vw - 64px)) !important;
  margin-inline: auto !important;
  padding-top: clamp(28px, 4vw, 54px) !important;
  padding-bottom: clamp(72px, 8vw, 118px) !important;
}

/* Keep the existing editorial hero, but stop it becoming another oversized panel. */
:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) .amour-archive-hero {
  min-height: clamp(300px, 31vw, 430px) !important;
  margin-bottom: clamp(34px, 5vw, 60px) !important;
}
:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) .amour-archive-hero h1 {
  max-width: 12ch !important;
  font-size: clamp(48px, 6vw, 78px) !important;
  line-height: .94 !important;
}
:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) .amour-archive-hero__description {
  max-width: 560px !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) .amour-shop-toolbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin: 0 0 28px !important;
  padding: 13px 0 !important;
  border-top: 1px solid var(--ap605-line) !important;
  border-bottom: 1px solid var(--ap605-line) !important;
}
:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) .woocommerce-result-count,
:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) .woocommerce-ordering {
  float: none !important;
  margin: 0 !important;
}
:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) .woocommerce-result-count {
  color: var(--ap605-taupe) !important;
  font: 600 9px/1.4 var(--ap605-sans) !important;
  letter-spacing: .1em !important;
  text-transform: uppercase !important;
}
:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) .woocommerce-ordering select {
  min-height: 40px !important;
  padding: 0 34px 0 10px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--ap605-ink) !important;
  border-radius: 0 !important;
  background-color: transparent !important;
  font: 600 9px/1.4 var(--ap605-sans) !important;
  letter-spacing: .09em !important;
  text-transform: uppercase !important;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 48px 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
  max-width: 1180px !important;
  margin-inline: auto !important;
}
:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) ul.products::before,
:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) ul.products::after {
  display: none !important;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) ul.products li.product {
  display: flex !important;
  flex-direction: column !important;
  float: none !important;
  width: auto !important;
  min-width: 0 !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  max-width: 280px !important;
  justify-self: center !important;
  width: 100% !important;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) ul.products li.product > a.woocommerce-LoopProduct-link {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  min-width: 0 !important;
  color: var(--ap605-ink) !important;
  text-decoration: none !important;
}

/* Fixed, restrained image stage: the image can never dictate the card height. */
:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) ul.products li.product a img,
:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) ul.products li.product img.woocommerce-placeholder {
  order: -10 !important;
  display: block !important;
  width: 100% !important;
  height: 250px !important;
  min-height: 250px !important;
  max-height: 250px !important;
  aspect-ratio: auto !important;
  margin: 0 0 17px !important;
  padding: 24px !important;
  box-sizing: border-box !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #f0ede7 !important;
  filter: drop-shadow(0 14px 13px rgba(30, 25, 20, .07)) !important;
  transition: transform .25s ease, background .25s ease !important;
}
:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) ul.products li.product:hover a img {
  transform: translateY(-3px) !important;
  background: #eae5dc !important;
}

:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) .amour-loop-brand {
  margin: 0 0 7px !important;
  color: var(--ap605-gold) !important;
  font: 700 8px/1.35 var(--ap605-sans) !important;
  letter-spacing: .14em !important;
  text-transform: uppercase !important;
}
:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) .woocommerce-loop-product__title {
  display: -webkit-box !important;
  min-height: 2.48em !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  overflow: hidden !important;
  color: var(--ap605-ink) !important;
  font: 400 clamp(18px, 1.35vw, 21px)/1.24 var(--ap605-serif) !important;
  letter-spacing: -.01em !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}
:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) .amour-loop-meta {
  display: -webkit-box !important;
  min-height: 2.65em !important;
  margin: 0 0 10px !important;
  overflow: hidden !important;
  color: var(--ap605-taupe) !important;
  font: 500 9px/1.45 var(--ap605-sans) !important;
  letter-spacing: .035em !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}
:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) ul.products li.product .price {
  display: block !important;
  margin: auto 0 0 !important;
  color: var(--ap605-ink) !important;
  font: 500 13px/1.3 var(--ap605-sans) !important;
}
:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) ul.products li.product > .button,
:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) ul.products li.product > .added_to_cart {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 42px !important;
  margin: 15px 0 0 !important;
  padding: 0 12px !important;
  border: 1px solid var(--ap605-ink) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--ap605-ink) !important;
  font: 700 8px/1 var(--ap605-sans) !important;
  letter-spacing: .13em !important;
  text-transform: uppercase !important;
}
:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) ul.products li.product > .button:hover,
:is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) ul.products li.product > .added_to_cart:hover {
  background: var(--ap605-ink) !important;
  color: #fff !important;
}

/* =========================================================
   SINGLE PRODUCT — deterministic two-column composition
   ========================================================= */
body.single-product .amour-commerce-main {
  background: var(--ap605-paper) !important;
}
body.single-product .amour-commerce-shell--single {
  width: min(1280px, calc(100vw - 48px)) !important;
  margin-inline: auto !important;
  padding: clamp(34px, 4vw, 56px) 0 clamp(74px, 8vw, 110px) !important;
}
body.single-product .amour-commerce-shell--single > div.product {
  display: grid !important;
  grid-template-columns: minmax(0, 47fr) minmax(0, 53fr) !important;
  grid-template-rows: auto auto auto auto !important;
  column-gap: clamp(42px, 5.5vw, 76px) !important;
  row-gap: 0 !important;
  align-items: start !important;
  width: 100% !important;
  margin: 0 !important;
  position: static !important;
}
body.single-product .amour-commerce-shell--single > div.product::before,
body.single-product .amour-commerce-shell--single > div.product::after {
  display: none !important;
  content: none !important;
}

body.single-product .amour-commerce-shell--single > div.product > .woocommerce-product-gallery {
  grid-column: 1 !important;
  grid-row: 1 !important;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 28px !important;
  overflow: hidden !important;
  position: relative !important;
  background: #f0ede7 !important;
}
body.single-product .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce-product-gallery__image,
body.single-product .woocommerce-product-gallery__image > a {
  width: 100% !important;
}
body.single-product .woocommerce-product-gallery__image {
  display: grid !important;
  place-items: center !important;
  height: clamp(440px, 42vw, 560px) !important;
  min-height: 0 !important;
}
body.single-product .woocommerce-product-gallery__image > a {
  display: grid !important;
  place-items: center !important;
  height: 100% !important;
}
body.single-product .woocommerce-product-gallery__image img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 510px !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  filter: drop-shadow(0 18px 20px rgba(31, 25, 20, .08)) !important;
}
body.single-product .woocommerce-product-gallery__trigger {
  top: 14px !important;
  right: 14px !important;
}
body.single-product .woocommerce-product-gallery .flex-control-thumbs {
  display: flex !important;
  gap: 8px !important;
  margin: 14px 0 0 !important;
  overflow-x: auto !important;
}
body.single-product .woocommerce-product-gallery .flex-control-thumbs li {
  flex: 0 0 66px !important;
  float: none !important;
  width: 66px !important;
}
body.single-product .woocommerce-product-gallery .flex-control-thumbs img {
  width: 66px !important;
  height: 66px !important;
  padding: 6px !important;
  object-fit: contain !important;
  background: #fff !important;
}

body.single-product .amour-commerce-shell--single > div.product > .summary {
  grid-column: 2 !important;
  grid-row: 1 !important;
  float: none !important;
  clear: none !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 4px 0 0 !important;
  position: static !important;
  top: auto !important;
  align-self: start !important;
}
body.single-product .summary .amour-single-heading-meta {
  margin: 0 0 12px !important;
  color: var(--ap605-gold) !important;
  font: 700 8px/1.45 var(--ap605-sans) !important;
  letter-spacing: .15em !important;
  text-transform: uppercase !important;
}
body.single-product .summary .product_title {
  max-width: 18ch !important;
  margin: 0 0 16px !important;
  color: var(--ap605-ink) !important;
  font: 400 clamp(42px, 4vw, 56px)/1 var(--ap605-serif) !important;
  letter-spacing: -.032em !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}
body.single-product .summary p.price,
body.single-product .summary span.price {
  display: block !important;
  margin: 0 0 18px !important;
  color: var(--ap605-ink) !important;
  font: 400 23px/1 var(--ap605-serif) !important;
}
body.single-product .summary .woocommerce-product-details__short-description {
  max-width: 610px !important;
  margin: 0 0 18px !important;
  color: #554d44 !important;
  font: 400 16px/1.55 var(--ap605-serif) !important;
}
body.single-product .summary .stock {
  margin: 0 0 16px !important;
  font-size: 12px !important;
}
body.single-product .summary form.cart {
  display: grid !important;
  grid-template-columns: 72px minmax(190px, 260px) !important;
  gap: 10px !important;
  align-items: stretch !important;
  margin: 0 0 22px !important;
}
body.single-product .summary form.cart .quantity,
body.single-product .summary form.cart .quantity .qty {
  width: 72px !important;
}
body.single-product .summary form.cart .quantity .qty,
body.single-product .summary form.cart .single_add_to_cart_button {
  min-height: 50px !important;
}
body.single-product .summary form.cart .single_add_to_cart_button {
  width: 100% !important;
  padding: 0 22px !important;
  font-size: 9px !important;
  letter-spacing: .14em !important;
  white-space: nowrap !important;
}
body.single-product .summary .amour-product-facts {
  margin: 0 !important;
}
body.single-product .summary .amour-product-facts > div {
  padding: 13px 15px !important;
}
body.single-product .summary .amour-product-facts dd {
  font-size: 15px !important;
  line-height: 1.35 !important;
}
body.single-product .summary .amour-product-assurance {
  margin-top: 18px !important;
}
body.single-product .summary .amour-product-assurance > div {
  grid-template-columns: 124px minmax(0, 1fr) !important;
  gap: 14px !important;
  padding: 11px 0 !important;
}
body.single-product .summary .amour-product-assurance small {
  font-size: 13px !important;
  line-height: 1.4 !important;
}
body.single-product .summary .product_meta {
  margin-top: 16px !important;
  padding-top: 12px !important;
  font-size: 9px !important;
  line-height: 1.65 !important;
}

/* Explicit rows stop the editorial story from appearing beside a tall summary. */
body.single-product .amour-commerce-shell--single > div.product > .amour-product-editorial-note {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  min-width: 0 !important;
}
body.single-product .amour-product-editorial-note {
  display: grid !important;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) !important;
  gap: clamp(36px, 6vw, 76px) !important;
  align-items: start !important;
  margin: clamp(44px, 6vw, 70px) 0 0 !important;
  padding: clamp(32px, 4vw, 48px) clamp(28px, 4.5vw, 58px) !important;
  border-top: 1px solid var(--ap605-line) !important;
  border-bottom: 1px solid var(--ap605-line) !important;
  background: var(--ap605-ivory) !important;
}
body.single-product .amour-product-editorial-note .amour-kicker {
  display: block !important;
  margin: 0 0 11px !important;
  font-size: 8px !important;
  letter-spacing: .15em !important;
}
body.single-product .amour-product-editorial-note h2 {
  max-width: 17ch !important;
  margin: 0 !important;
  font: 400 clamp(34px, 3.4vw, 46px)/1.02 var(--ap605-serif) !important;
  letter-spacing: -.028em !important;
}
body.single-product .amour-product-editorial-note__copy {
  align-self: center !important;
  max-width: 640px !important;
  color: #554d44 !important;
  font: 400 16px/1.58 var(--ap605-serif) !important;
}
body.single-product .amour-product-editorial-note__copy p {
  margin: 0 0 16px !important;
}

body.single-product .amour-commerce-shell--single > div.product > .woocommerce-tabs {
  grid-column: 1 / -1 !important;
  grid-row: 3 !important;
  float: none !important;
  clear: both !important;
  width: min(100%, 1040px) !important;
  min-width: 0 !important;
  margin: clamp(30px, 4vw, 46px) auto clamp(42px, 5vw, 64px) !important;
  padding: 0 !important;
}
body.single-product .woocommerce-tabs ul.tabs {
  display: flex !important;
  justify-content: center !important;
  gap: clamp(24px, 4vw, 44px) !important;
  margin: 0 !important;
  padding: 0 18px !important;
  overflow-x: auto !important;
  border-bottom: 1px solid var(--ap605-line) !important;
}
body.single-product .woocommerce-tabs ul.tabs li {
  flex: 0 0 auto !important;
}
body.single-product .woocommerce-tabs ul.tabs li a {
  padding: 14px 0 !important;
  white-space: nowrap !important;
}
body.single-product .woocommerce-tabs .panel {
  max-width: 760px !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 28px 0 0 !important;
  color: #554d44 !important;
  font: 400 16px/1.62 var(--ap605-serif) !important;
}
body.single-product .woocommerce-tabs .panel h2 {
  margin: 0 0 18px !important;
  font: 400 30px/1.1 var(--ap605-serif) !important;
}

body.single-product .amour-commerce-shell--single > div.product > .upsells,
body.single-product .amour-commerce-shell--single > div.product > .related {
  grid-column: 1 / -1 !important;
  grid-row: 4 !important;
  float: none !important;
  clear: both !important;
  width: min(1120px, 100%) !important;
  max-width: 1120px !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  padding-top: 38px !important;
}
body.single-product .related.products > h2,
body.single-product .upsells.products > h2 {
  margin: 0 0 28px !important;
  font: 400 clamp(32px, 3vw, 44px)/1.05 var(--ap605-serif) !important;
}
body.single-product .related.products ul.products,
body.single-product .upsells.products ul.products {
  list-style: none !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 34px 22px !important;
  width: 100% !important;
  max-width: 1120px !important;
  margin-inline: auto !important;
}
body.single-product .related.products ul.products li.product,
body.single-product .upsells.products ul.products li.product {
  width: 100% !important;
  max-width: 260px !important;
  margin-inline: auto !important;
  justify-self: center !important;
}
body.single-product .related.products ul.products li.product a img,
body.single-product .upsells.products ul.products li.product a img {
  width: 100% !important;
  height: 230px !important;
  min-height: 230px !important;
  max-height: 230px !important;
  aspect-ratio: auto !important;
  margin: 0 0 15px !important;
  padding: 22px !important;
  object-fit: contain !important;
  background: #f0ede7 !important;
}
body.single-product .related.products .woocommerce-loop-product__title,
body.single-product .upsells.products .woocommerce-loop-product__title {
  display: -webkit-box !important;
  min-height: 2.4em !important;
  overflow: hidden !important;
  font-size: 18px !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
}

@media (max-width: 1100px) {
  :is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  body.single-product .amour-commerce-shell--single {
    width: calc(100vw - 36px) !important;
  }
  body.single-product .amour-commerce-shell--single > div.product {
    grid-template-columns: minmax(0, 44fr) minmax(0, 56fr) !important;
    column-gap: 32px !important;
  }
  body.single-product .woocommerce-product-gallery__image {
    height: 500px !important;
  }
  body.single-product .woocommerce-product-gallery__image img {
    max-height: 460px !important;
  }
  body.single-product .summary .product_title {
    font-size: clamp(38px, 4.3vw, 48px) !important;
  }
}

@media (max-width: 860px) {
  :is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) .amour-commerce-shell {
    width: calc(100vw - 28px) !important;
  }
  :is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 36px 16px !important;
  }
  :is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) ul.products li.product a img,
  :is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) ul.products li.product img.woocommerce-placeholder {
    height: 230px !important;
    min-height: 230px !important;
    max-height: 230px !important;
    padding: 20px !important;
  }
  body.single-product .amour-commerce-shell--single {
    width: calc(100vw - 28px) !important;
    padding-top: 28px !important;
  }
  body.single-product .amour-commerce-shell--single > div.product {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto auto auto !important;
    row-gap: 0 !important;
  }
  body.single-product .amour-commerce-shell--single > div.product > .woocommerce-product-gallery {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  body.single-product .amour-commerce-shell--single > div.product > .summary {
    grid-column: 1 !important;
    grid-row: 2 !important;
    padding-top: 30px !important;
  }
  body.single-product .amour-commerce-shell--single > div.product > .amour-product-editorial-note {
    grid-column: 1 !important;
    grid-row: 3 !important;
  }
  body.single-product .amour-commerce-shell--single > div.product > .woocommerce-tabs {
    grid-column: 1 !important;
    grid-row: 4 !important;
  }
  body.single-product .amour-commerce-shell--single > div.product > .upsells,
  body.single-product .amour-commerce-shell--single > div.product > .related {
    grid-column: 1 !important;
    grid-row: 5 !important;
  }
  body.single-product .woocommerce-product-gallery__image {
    height: min(92vw, 520px) !important;
  }
  body.single-product .amour-product-editorial-note {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
  }
  body.single-product .related.products ul.products,
  body.single-product .upsells.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 560px) {
  :is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) .amour-shop-toolbar {
    align-items: stretch !important;
    flex-direction: column !important;
  }
  :is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) .woocommerce-ordering,
  :is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) .woocommerce-ordering select {
    width: 100% !important;
  }
  :is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) ul.products {
    gap: 30px 10px !important;
  }
  :is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) ul.products li.product a img,
  :is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) ul.products li.product img.woocommerce-placeholder {
    height: 190px !important;
    min-height: 190px !important;
    max-height: 190px !important;
    padding: 14px !important;
  }
  :is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) .woocommerce-loop-product__title {
    font-size: 16px !important;
  }
  body.single-product .amour-commerce-shell--single {
    width: calc(100vw - 20px) !important;
  }
  body.single-product .amour-commerce-shell--single > div.product > .woocommerce-product-gallery {
    padding: 14px !important;
  }
  body.single-product .woocommerce-product-gallery__image {
    height: min(104vw, 460px) !important;
  }
  body.single-product .woocommerce-product-gallery__image img {
    max-height: 430px !important;
  }
  body.single-product .summary .product_title {
    max-width: none !important;
    font-size: 38px !important;
  }
  body.single-product .summary form.cart {
    grid-template-columns: 68px minmax(0, 1fr) !important;
  }
  body.single-product .summary .amour-product-facts {
    grid-template-columns: 1fr !important;
  }
  body.single-product .summary .amour-product-assurance > div {
    grid-template-columns: 1fr !important;
    gap: 5px !important;
  }
  body.single-product .amour-product-editorial-note {
    padding: 30px 22px !important;
  }
  body.single-product .amour-product-editorial-note h2 {
    font-size: 34px !important;
  }
  body.single-product .woocommerce-tabs {
    width: 100% !important;
  }
  body.single-product .woocommerce-tabs ul.tabs {
    justify-content: flex-start !important;
  }
  body.single-product .related.products ul.products li.product a img,
  body.single-product .upsells.products ul.products li.product a img {
    height: 190px !important;
    min-height: 190px !important;
    max-height: 190px !important;
    padding: 14px !important;
  }
}


/* 6.0.6 final width guard: never allow catalogue merchandising to touch the viewport edges on large screens. */
@media (min-width: 1101px) {
  :is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) .amour-shop-toolbar,
  :is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) ul.products {
    width: min(100%, 1180px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  body.single-product .related.products,
  body.single-product .upsells.products {
    width: min(100%, 1120px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
@media (max-width: 1100px) and (min-width: 861px) {
  :is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) ul.products li.product { max-width: 320px !important; }
  body.single-product .related.products ul.products,
  body.single-product .upsells.products ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  body.single-product .related.products ul.products li.product,
  body.single-product .upsells.products ul.products li.product { max-width: 300px !important; }
}
@media (max-width: 860px) {
  :is(body.post-type-archive-product, body.tax-product_cat, body.tax-product_tag, body.search-results.woocommerce) ul.products li.product,
  body.single-product .related.products ul.products li.product,
  body.single-product .upsells.products ul.products li.product { max-width: none !important; }
}
