/*
 * NOMANOX FASHION — Product detail UI polish V7.0
 * Visual layer only: retains the V6.9 gallery, variant, size-guide and cart behavior.
 */
:root {
  --nox-ink: #20201e;
  --nox-muted: #77736d;
  --nox-line: #e8e5df;
  --nox-soft: #f6f4f1;
  --nox-paper: #fff;
  --nox-radius: 4px;
  --nox-ease: cubic-bezier(.2,.7,.2,1);
}

/* Keep the styling deliberately scoped to the product page. */
.page.-productPage,
.page.-productPage #maincontent {
  color: var(--nox-ink);
  background: var(--nox-paper);
}
.page.-productPage #maincontent {
  padding-bottom: 64px;
}
.page.-productPage #maincontent,
.page.-productPage #maincontent * {
  -webkit-tap-highlight-color: transparent;
}
.page.-productPage .productContainer {
  box-sizing: border-box;
}
.page.-productPage .productContainer *,
.page.-productPage .bottomSheet * {
  box-sizing: border-box;
}

/* Desktop: balanced editorial gallery and focused purchase column. */
@media (min-width: 900px) {
  .page.-productPage #basic_product {
    width: 100%;
    margin-inline: auto;
  }
  .page.-productPage #productContainer.productContainer {
    display: grid !important;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr) !important;
    column-gap: clamp(36px, 5vw, 78px) !important;
    row-gap: 28px !important;
    align-items: start !important;
    width: min(calc(100% - 72px), 1480px) !important;
    max-width: 1480px !important;
    margin: 0 auto !important;
    padding: 26px 0 76px !important;
  }
  .page.-productPage #productContainer > .productContainer__left {
    grid-column: 1 / 2 !important;
    grid-row: 1 !important;
    position: sticky;
    top: 96px;
    align-self: start;
    min-width: 0;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  .page.-productPage #productContainer > .productContainer__right {
    grid-column: 2 / 3 !important;
    grid-column-start: 2 !important;
    grid-column-end: 3 !important;
    grid-row: 1 !important;
    align-self: start;
    justify-self: stretch;
    min-width: 0;
    width: auto !important;
    max-width: 560px;
    margin: 0 0 0 auto !important;
    padding: 12px 0 40px !important;
  }
  .page.-productPage .breadcrumbWrapper {
    margin: 0 0 30px !important;
    padding: 0 !important;
  }
  .page.-productPage .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 7px;
    margin: 0;
    padding: 0;
  }
  .page.-productPage .breadcrumb__item,
  .page.-productPage .breadcrumb__item a {
    color: #8b8781 !important;
    font-family: Inter, sans-serif;
    font-size: 11px !important;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: .01em;
    text-decoration: none;
  }
  .page.-productPage .breadcrumb__item:not(:last-child)::after {
    content: "/";
    margin-inline-start: 7px;
    color: #c4c0b9;
  }
  .page.-productPage .productGallery {
    position: relative;
    height: auto;
    overflow: visible;
    isolation: isolate;
  }
  .page.-productPage .productGallery__container,
  .page.-productPage .productGallery__wrapper {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    background: var(--nox-soft);
    border-radius: 3px;
  }
  .page.-productPage .productGallery .nox-pdp-gallery-slider {
    width: 100%;
    height: min(78vh, 850px);
    min-height: 590px;
    overflow: hidden;
  }
  .page.-productPage .productGallery .nox-pdp-gallery-track {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    gap: 0;
    scroll-snap-type: y mandatory;
    overscroll-behavior: contain;
    scrollbar-width: none;
  }
  .page.-productPage .productGallery .nox-pdp-gallery-track::-webkit-scrollbar {
    display: none;
  }
  .page.-productPage .productGallery .nox-pdp-gallery-slide {
    position: relative !important;
    inset: auto !important;
    display: flex;
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 1;
    align-items: center;
    justify-content: center;
    background: var(--nox-soft);
    scroll-snap-align: start;
  }
  .page.-productPage .productGallery .nox-pdp-gallery-slide .productImageContainer,
  .page.-productPage .productGallery .nox-pdp-gallery-slide .lazyLoadedContainer,
  .page.-productPage .productGallery .nox-pdp-gallery-slide picture {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
  }
  .page.-productPage .productGallery .nox-pdp-gallery-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center 42%;
    cursor: zoom-in;
    transition: transform .55s var(--nox-ease);
  }
  @media (hover: hover) and (pointer: fine) {
    .page.-productPage .productGallery .nox-pdp-gallery-slide:hover .nox-pdp-gallery-image {
      transform: scale(1.012);
    }
  }
  .page.-productPage .productGallery .nox-pdp-thumb-rail {
    position: absolute;
    top: 50%;
    left: 14px;
    z-index: 24;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    width: 68px;
    max-width: 68px;
    max-height: calc(100% - 32px);
    padding: 9px;
    overflow-x: hidden;
    overflow-y: auto;
    transform: translateY(-50%);
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 5px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 4px 20px rgba(25,23,20,.08);
    backdrop-filter: blur(12px);
    scrollbar-width: none;
  }
  .page.-productPage .productGallery .nox-pdp-thumb-rail::-webkit-scrollbar {
    display: none;
  }
  .page.-productPage .productGallery .nox-pdp-thumb {
    flex: 0 0 auto;
    display: block;
    width: 48px;
    max-width: 48px;
    min-width: 48px;
    height: auto;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 2px;
    background: #fff;
    opacity: .68;
    cursor: pointer;
    transition: opacity .2s ease, border-color .2s ease, transform .2s ease;
  }
  .page.-productPage .productGallery .nox-pdp-thumb img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: cover;
  }
  .page.-productPage .productGallery .nox-pdp-thumb.-active {
    border-color: var(--nox-ink);
    opacity: 1;
    transform: translateX(1px);
  }
  .page.-productPage .productGallery .nox-pdp-thumb-dot {
    display: none;
  }
  .page.-productPage .productGallery .nox-pdp-gallery-counter {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 24;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 7px 10px;
    border: 1px solid rgba(255,255,255,.72);
    border-radius: 30px;
    background: rgba(255,255,255,.82);
    color: #44413c;
    font: 500 11px/1 Inter, sans-serif;
    letter-spacing: .05em;
    backdrop-filter: blur(10px);
  }

  /* Product identity and price. */
  .page.-productPage .productTopRegion {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 0 25px;
  }
  .page.-productPage .productTopRegion__header {
    display: block !important;
    margin: 0;
  }
  .page.-productPage .productTopRegion__header > .productTopRegion__priceMain {
    display: none !important;
  }
  .page.-productPage .productTopRegion__titleContainer {
    display: block;
    min-width: 0;
  }
  .page.-productPage .productTopRegion__gamme {
    margin: 0 0 10px !important;
    font-family: Inter, sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase;
  }
  .page.-productPage .productTopRegion__gamme a {
    color: #8c796d !important;
    text-decoration: none;
  }
  .page.-productPage .productTopRegion__title {
    display: block !important;
    max-width: 620px;
    margin: 0 !important;
    color: var(--nox-ink) !important;
    font-family: Inter, sans-serif !important;
    font-size: clamp(26px, 2.25vw, 34px) !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    letter-spacing: -.045em !important;
    text-transform: none !important;
  }
  .page.-productPage .productTopRegion > .productTopRegion__priceMain {
    display: block !important;
    margin: 15px 0 0 !important;
    padding: 0;
    order: 0;
  }
  .page.-productPage .productTopRegion > .productTopRegion__priceMain .productTopRegion__price {
    display: flex;
    align-items: baseline;
    gap: 8px;
  }
  .page.-productPage .productTopRegion__priceValue,
  .page.-productPage .productTopRegion__price .productTopRegion__priceValue {
    color: var(--nox-ink) !important;
    font-family: Inter, sans-serif !important;
    font-size: 24px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    letter-spacing: -.025em !important;
  }
  .page.-productPage .productTopRegion__standardPrice {
    color: inherit !important;
  }
  .page.-productPage .nomanox-old-price {
    margin-inline-start: 9px;
    color: #96918a !important;
    font-size: 14px !important;
    font-weight: 400 !important;
  }
  .page.-productPage .productTopRegion__dividerMid,
  .page.-productPage .productTopRegion__dividerFooter {
    width: 100%;
    height: 1px;
    margin: 20px 0 0 !important;
    border: 0;
    background: var(--nox-line);
  }
  .page.-productPage .productTopRegion__footer:empty {
    display: none !important;
  }
  .page.-productPage .productTopRegion__dividerFooter {
    display: none;
  }

  /* Variants and add-to-cart controls. */
  .page.-productPage .productATCRegion {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin: 0;
  }
  .page.-productPage .productATCRegion .productAttributes__colorWrapper,
  .page.-productPage .productATCRegion .productAttributes__sizeWrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 11px;
    margin: 0;
  }
  .page.-productPage .productAttributes__colorTitle,
  .page.-productPage .productAttributes__sizeTitle {
    display: flex;
    align-items: baseline;
    gap: 9px;
    margin: 0 !important;
    color: #3f3d39;
    font-family: Inter, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .09em;
    text-transform: uppercase;
  }
  .page.-productPage .productAttributes__selectedColor {
    color: #827d76 !important;
    font-size: 11px !important;
    font-weight: 400 !important;
    letter-spacing: .04em;
  }
  .page.-productPage .nox-color-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 3px 0 0 2px;
  }
  .page.-productPage .nox-color-swatch {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    padding: 0;
    border: 1px solid rgba(40,38,35,.15);
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.68);
    cursor: pointer;
    transition: outline-offset .18s ease, transform .18s ease;
  }
  .page.-productPage .nox-color-swatch:hover {
    transform: scale(1.06);
  }
  .page.-productPage .nox-color-swatch.-selected {
    outline: 1.5px solid var(--nox-ink);
    outline-offset: 3px;
  }
  .page.-productPage .productAttributes__sizesDropdownSelector {
    position: relative;
    width: 100%;
  }
  .page.-productPage .productAttributes__sizesDropdownSelector .js-dropdownButton {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 56px;
    padding: 0 17px !important;
    border: 1px solid #dedbd5 !important;
    border-radius: var(--nox-radius) !important;
    background: #fff !important;
    color: #393733 !important;
    box-shadow: none !important;
    font: 400 13px/1.4 Inter, sans-serif !important;
    text-align: left;
    transition: border-color .2s ease, box-shadow .2s ease;
  }
  .page.-productPage .productAttributes__sizesDropdownSelector .js-dropdownButton:hover,
  .page.-productPage .productAttributes__sizesDropdownSelector .js-dropdownButton[aria-expanded="true"] {
    border-color: #8d8880 !important;
    box-shadow: 0 0 0 3px rgba(32,32,30,.035) !important;
  }
  .page.-productPage .productAttributes__sizesDropdownSelector .dropdownButton {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 14px;
  }
  .page.-productPage .productAttributes__sizesDropdownSelector .dropdownElementContainer {
    min-width: 0;
  }
  .page.-productPage .productAttributes__sizesDropdownSelector .dropdownIndicator {
    color: #5e5a54;
    transition: transform .2s ease;
  }
  .page.-productPage .productAttributes__sizesDropdownSelector .js-dropdownButton[aria-expanded="true"] .dropdownIndicator {
    transform: rotate(180deg);
  }
  .page.-productPage .productAttributes__sizesDropdownSelector .js-dropdownBlockContainer {
    position: absolute !important;
    top: calc(100% + 7px) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 80 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-height: min(48vh, 340px);
    padding: 12px;
    overflow: auto;
    border: 1px solid var(--nox-line);
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(22,21,19,.12);
  }
  .page.-productPage .productAttributes__sizesDropdownSelector .dbItemCol {
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
  }
  .page.-productPage .productAttributes__sizesDropdownSelector .nox-size-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 8px;
    border: 1px solid #e5e2dc !important;
    border-radius: 3px;
    background: #fff !important;
    color: #3f3c37 !important;
    font: 500 13px/1.2 Inter, sans-serif !important;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
  }
  .page.-productPage .productAttributes__sizesDropdownSelector .nox-size-option:hover {
    border-color: #8d8880 !important;
    background: #f8f7f4 !important;
  }
  .page.-productPage .productAttributes__sizesDropdownSelector .nox-size-option.nox-size-selected {
    border-color: var(--nox-ink) !important;
    background: var(--nox-ink) !important;
    color: #fff !important;
  }
  .page.-productPage .nox-selected-size {
    margin: 9px 0 0 !important;
    color: #77736d !important;
    font: 400 11px/1.5 Inter, sans-serif;
  }
  .page.-productPage .productAttributes__addToCart {
    display: flex;
    align-items: stretch;
    gap: 12px;
    margin: 3px 0 0 !important;
  }
  .page.-productPage .productAttributes__addToCart > .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 14px 22px !important;
    border: 1px solid var(--nox-ink) !important;
    border-radius: 3px !important;
    background: var(--nox-ink) !important;
    color: #fff !important;
    box-shadow: 0 5px 14px rgba(25,24,22,.08);
    font-family: Inter, sans-serif !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    letter-spacing: .07em !important;
    text-transform: uppercase;
    transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  }
  .page.-productPage .productAttributes__addToCart > .button:hover {
    border-color: #45433f !important;
    background: #45433f !important;
    box-shadow: 0 8px 20px rgba(25,24,22,.13);
    transform: translateY(-1px);
  }
  .page.-productPage .productAttributes__addToCart > .button:focus-visible,
  .page.-productPage .productSticky__addToCartBtn:focus-visible {
    outline: 2px solid #a58f7e;
    outline-offset: 3px;
  }
  .page.-productPage .productAttributes__wishlistButton {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    min-width: 54px;
    min-height: 54px;
    border: 1px solid var(--nox-line);
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
  }
  .page.-productPage .productAttributes__wishlistButton .addRemoveWishlist__icon {
    color: #46423e;
  }

  /* Product details are presented as calm, readable disclosure rows. */
  .page.-productPage .productInfos {
    margin: 28px 0 0;
    border-top: 1px solid var(--nox-line);
  }
  .page.-productPage .productInfos > .divider-horizontal {
    display: none !important;
  }
  .page.-productPage .productInfos__children {
    margin: 0 !important;
    border-bottom: 1px solid var(--nox-line);
  }
  .page.-productPage .productInfos__children .listItem__header {
    display: flex;
    align-items: center;
    min-height: 66px;
    padding: 17px 0 !important;
    gap: 14px;
  }
  .page.-productPage .productInfos__children .listItem__headerContent {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1 1 auto;
    gap: 13px;
  }
  .page.-productPage .productInfos__children .listItem__headerLeft {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    min-width: 22px;
    color: #777168;
  }
  .page.-productPage .productInfos__children .listItem__headerCenter {
    min-width: 0;
  }
  .page.-productPage .productInfos__children .listItem__headerCenter > span {
    color: #3b3935;
    font: 500 13px/1.45 Inter, sans-serif !important;
    letter-spacing: .005em;
  }
  .page.-productPage .productInfos__children .listItem__headerCenter > p {
    margin: 5px 0 0 !important;
    color: #8a857d !important;
    font: 400 11px/1.5 Inter, sans-serif !important;
  }
  .page.-productPage .productInfos__children .listItem__headerRight {
    color: #77736d;
  }
  .page.-productPage .productInfos__children .listItem__headerRight .icon {
    transition: transform .22s ease;
  }
  .page.-productPage .productInfos__children .listItem__header[aria-expanded="true"] .listItem__headerRight .icon {
    transform: rotate(90deg);
  }
  .page.-productPage .productInfos__children .listItem__content:not([hidden]) {
    padding: 0 0 22px 35px !important;
    color: #5f5a54;
  }
  .page.-productPage .nox-pdp-description-copy {
    color: #5e5a54;
    font: 400 13px/1.8 Inter, sans-serif;
  }
  .page.-productPage .nox-pdp-description-copy h3 {
    margin: 0 0 7px;
    color: #292825;
    font: 600 12px/1.5 Inter, sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
  .page.-productPage .nox-pdp-reference {
    margin: 14px 0 0 !important;
    color: #98938c !important;
    font-size: 11px !important;
    letter-spacing: .04em;
  }
}

/* Mobile and small tablets: edge-to-edge gallery, comfortable content and fixed CTA. */
@media (max-width: 899.98px) {
  .page.-productPage #maincontent {
    padding-bottom: 0;
  }
  .page.-productPage #basic_product {
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .page.-productPage #productContainer.productContainer {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 0 24px !important;
  }
  .page.-productPage #productContainer > .productContainer__left {
    order: 0;
    position: relative;
    top: auto;
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
  }
  .page.-productPage #productContainer > .productContainer__right {
    order: 1;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 23px 20px 138px !important;
  }
  .page.-productPage .productGallery {
    position: relative;
    display: block;
    width: 100%;
    height: min(142vw, 650px);
    min-height: 430px;
    max-height: 650px;
    margin: 0;
    overflow: hidden;
    background: var(--nox-soft);
  }
  .page.-productPage .productGallery__container,
  .page.-productPage .productGallery__wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0;
    background: var(--nox-soft);
  }
  .page.-productPage .productGallery .nox-pdp-gallery-slider {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }
  .page.-productPage .productGallery .nox-pdp-gallery-track {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    height: 100%;
    min-height: 0;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0;
    scroll-snap-type: x mandatory;
    scroll-padding: 0;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
  }
  .page.-productPage .productGallery .nox-pdp-gallery-track::-webkit-scrollbar {
    display: none;
  }
  .page.-productPage .productGallery .nox-pdp-gallery-slide {
    position: relative !important;
    inset: auto !important;
    display: flex;
    flex: 0 0 100%;
    width: 100%;
    min-width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    align-items: center;
    justify-content: center;
    background: var(--nox-soft);
    scroll-snap-align: center;
    scroll-snap-stop: always;
  }
  .page.-productPage .productGallery .nox-pdp-gallery-slide .productImageContainer,
  .page.-productPage .productGallery .nox-pdp-gallery-slide .lazyLoadedContainer,
  .page.-productPage .productGallery .nox-pdp-gallery-slide picture {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
  }
  .page.-productPage .productGallery .nox-pdp-gallery-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    object-position: center 40%;
    cursor: zoom-in;
  }
  .page.-productPage .productGallery .nox-pdp-thumb-rail {
    position: absolute;
    left: 50%;
    bottom: 16px;
    top: auto;
    z-index: 24;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto;
    max-width: calc(100% - 112px);
    max-height: none;
    padding: 7px 10px;
    overflow: hidden;
    transform: translateX(-50%);
    border: 1px solid rgba(255,255,255,.68);
    border-radius: 30px;
    background: rgba(255,255,255,.8);
    box-shadow: 0 3px 14px rgba(25,23,20,.07);
    backdrop-filter: blur(10px);
  }
  .page.-productPage .productGallery .nox-pdp-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 7px;
    width: 7px;
    min-width: 7px;
    height: 7px;
    min-height: 7px;
    padding: 0;
    border: 0;
    border-radius: 20px;
    background: #aaa59d;
    opacity: .85;
    overflow: hidden;
    transition: flex-basis .2s ease, width .2s ease, background .2s ease;
  }
  .page.-productPage .productGallery .nox-pdp-thumb img {
    display: none;
  }
  .page.-productPage .productGallery .nox-pdp-thumb-dot {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: currentColor;
  }
  .page.-productPage .productGallery .nox-pdp-thumb.-active {
    flex-basis: 21px;
    width: 21px;
    min-width: 21px;
    border: 0;
    background: var(--nox-ink);
    opacity: 1;
    transform: none;
  }
  .page.-productPage .productGallery .nox-pdp-thumb.-active .nox-pdp-thumb-dot {
    background: var(--nox-ink);
  }
  .page.-productPage .productGallery .nox-pdp-gallery-counter {
    position: absolute;
    right: 15px;
    bottom: 16px;
    z-index: 25;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 43px;
    min-height: 28px;
    padding: 6px 8px;
    border: 1px solid rgba(255,255,255,.68);
    border-radius: 24px;
    background: rgba(255,255,255,.82);
    color: #4e4a44;
    font: 500 10px/1 Inter, sans-serif;
    letter-spacing: .04em;
    backdrop-filter: blur(10px);
  }
  .page.-productPage .productGallery__icons {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 28;
  }
  .page.-productPage .productGallery__wishlist .addRemoveWishlist__icon {
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.72) !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,.82) !important;
    color: #292724 !important;
    box-shadow: 0 3px 16px rgba(25,23,20,.08) !important;
    backdrop-filter: blur(10px);
  }
  .page.-productPage .productContainer__dragline,
  .page.-productPage .breadcrumbWrapper {
    display: none !important;
  }
  .page.-productPage .productTopRegion {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 0 23px;
  }
  .page.-productPage .productTopRegion__header {
    display: block !important;
    margin: 0;
  }
  .page.-productPage .productTopRegion__header > .productTopRegion__priceMain {
    display: none !important;
  }
  .page.-productPage .productTopRegion__titleContainer {
    display: block;
  }
  .page.-productPage .productTopRegion__gamme {
    margin: 0 0 8px !important;
    font-family: Inter, sans-serif !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase;
  }
  .page.-productPage .productTopRegion__gamme a {
    color: #8c796d !important;
    text-decoration: none;
  }
  .page.-productPage .productTopRegion__title {
    display: block !important;
    margin: 0 !important;
    color: var(--nox-ink) !important;
    font-family: Inter, sans-serif !important;
    font-size: clamp(22px, 5.8vw, 27px) !important;
    font-weight: 500 !important;
    line-height: 1.24 !important;
    letter-spacing: -.04em !important;
    text-transform: none !important;
  }
  .page.-productPage .productTopRegion > .productTopRegion__priceMain {
    display: block !important;
    margin: 10px 0 0 !important;
    padding: 0;
  }
  .page.-productPage .productTopRegion__priceValue,
  .page.-productPage .productTopRegion__price .productTopRegion__priceValue {
    color: var(--nox-ink) !important;
    font-family: Inter, sans-serif !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 1.35 !important;
    letter-spacing: -.02em !important;
  }
  .page.-productPage .productTopRegion__standardPrice {
    color: inherit !important;
  }
  .page.-productPage .nomanox-old-price {
    margin-inline-start: 8px;
    color: #96918a !important;
    font-size: 13px !important;
    font-weight: 400 !important;
  }
  .page.-productPage .productTopRegion__dividerMid {
    width: 100%;
    height: 1px;
    margin: 17px 0 0 !important;
    border: 0;
    background: var(--nox-line);
  }
  .page.-productPage .productTopRegion__dividerFooter,
  .page.-productPage .productTopRegion__footer:empty {
    display: none !important;
  }
  .page.-productPage .productATCRegion {
    display: flex;
    flex-direction: column;
    gap: 21px;
    margin: 0;
  }
  .page.-productPage .productATCRegion .productAttributes__colorWrapper,
  .page.-productPage .productATCRegion .productAttributes__sizeWrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 0 !important;
  }
  .page.-productPage .productAttributes__colorTitle,
  .page.-productPage .productAttributes__sizeTitle {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin: 0 !important;
    color: #3f3d39;
    font-family: Inter, sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .page.-productPage .productAttributes__selectedColor {
    color: #827d76 !important;
    font-size: 10px !important;
    font-weight: 400 !important;
    letter-spacing: .04em;
  }
  .page.-productPage .nox-color-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px;
    margin: 3px 0 0 2px;
  }
  .page.-productPage .nox-color-swatch {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border: 1px solid rgba(40,38,35,.15);
    border-radius: 50%;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.68);
  }
  .page.-productPage .nox-color-swatch.-selected {
    outline: 1.5px solid var(--nox-ink);
    outline-offset: 3px;
  }
  .page.-productPage .productAttributes__sizesDropdownSelector {
    position: relative;
    width: 100%;
  }
  .page.-productPage .productAttributes__sizesDropdownSelector .js-dropdownButton {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 54px;
    padding: 0 15px !important;
    border: 1px solid #dedbd5 !important;
    border-radius: 3px !important;
    background: #fff !important;
    color: #393733 !important;
    box-shadow: none !important;
    font: 400 13px/1.4 Inter, sans-serif !important;
    text-align: left;
  }
  .page.-productPage .productAttributes__sizesDropdownSelector .dropdownButton {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 14px;
  }
  .page.-productPage .productAttributes__sizesDropdownSelector .dropdownIndicator {
    color: #5e5a54;
  }
  .page.-productPage .productAttributes__sizesDropdownSelector .js-dropdownButton[aria-expanded="true"] .dropdownIndicator {
    transform: rotate(180deg);
  }
  .page.-productPage .productAttributes__sizesDropdownSelector .js-dropdownBlockContainer {
    position: absolute !important;
    top: calc(100% + 7px) !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 80 !important;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    max-height: 44vh;
    padding: 10px;
    overflow: auto;
    border: 1px solid var(--nox-line);
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(22,21,19,.12);
  }
  .page.-productPage .productAttributes__sizesDropdownSelector .dbItemCol {
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
  }
  .page.-productPage .productAttributes__sizesDropdownSelector .nox-size-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 43px;
    padding: 7px;
    border: 1px solid #e5e2dc !important;
    border-radius: 3px;
    background: #fff !important;
    color: #3f3c37 !important;
    font: 500 13px/1.2 Inter, sans-serif !important;
  }
  .page.-productPage .productAttributes__sizesDropdownSelector .nox-size-option.nox-size-selected {
    border-color: var(--nox-ink) !important;
    background: var(--nox-ink) !important;
    color: #fff !important;
  }
  .page.-productPage .nox-selected-size {
    margin: 8px 0 0 !important;
    color: #77736d !important;
    font: 400 11px/1.5 Inter, sans-serif;
  }
  .page.-productPage .productAttributes__addToCart {
    display: none !important;
  }

  /* Fixed purchase bar with a real safe-area inset on iOS/Android. */
  .page.-productPage #stickyProduct.productSticky {
    position: fixed !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    z-index: 99990 !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 11px 16px calc(11px + env(safe-area-inset-bottom, 0px)) !important;
    border-top: 1px solid rgba(225,222,216,.95);
    background: rgba(255,255,255,.96);
    box-shadow: 0 -8px 26px rgba(22,21,19,.08);
    backdrop-filter: blur(16px);
  }
  .page.-productPage #stickyProduct .productSticky__actions {
    display: block;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
  }
  .page.-productPage #stickyProduct .productSticky__actions > .hideMobile {
    display: none !important;
  }
  .page.-productPage #stickyProduct .productSticky__addToCart,
  .page.-productPage #stickyProduct .productSticky__addToCartBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    margin: 0;
    padding: 13px 20px !important;
    border: 1px solid var(--nox-ink) !important;
    border-radius: 3px !important;
    background: var(--nox-ink) !important;
    color: #fff !important;
    box-shadow: 0 4px 13px rgba(25,24,22,.1);
    font-family: Inter, sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase;
  }
  .page.-productPage #stickyProduct .productSticky__addToCartBtn:active {
    background: #45433f !important;
    transform: scale(.99);
  }

  /* Information rows and panels. */
  .page.-productPage .productInfos {
    margin: 26px 0 0;
    border-top: 1px solid var(--nox-line);
  }
  .page.-productPage .productInfos > .divider-horizontal {
    display: none !important;
  }
  .page.-productPage .productInfos__children {
    margin: 0 !important;
    border-bottom: 1px solid var(--nox-line);
  }
  .page.-productPage .productInfos__children .listItem__header {
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 16px 0 !important;
    gap: 12px;
  }
  .page.-productPage .productInfos__children .listItem__headerContent {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
    gap: 11px;
  }
  .page.-productPage .productInfos__children .listItem__headerLeft {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    min-width: 20px;
    color: #777168;
  }
  .page.-productPage .productInfos__children .listItem__headerCenter {
    min-width: 0;
  }
  .page.-productPage .productInfos__children .listItem__headerCenter > span {
    color: #3b3935;
    font: 500 12px/1.45 Inter, sans-serif !important;
  }
  .page.-productPage .productInfos__children .listItem__headerCenter > p {
    display: -webkit-box;
    margin: 4px 0 0 !important;
    overflow: hidden;
    color: #8a857d !important;
    font: 400 10px/1.45 Inter, sans-serif !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .page.-productPage .productInfos__children .listItem__headerRight .icon {
    transition: transform .22s ease;
  }
  .page.-productPage .productInfos__children .listItem__header[aria-expanded="true"] .listItem__headerRight .icon {
    transform: rotate(90deg);
  }
  .page.-productPage .productInfos__children .listItem__content:not([hidden]) {
    padding: 0 0 19px 31px !important;
  }
  .page.-productPage .nox-pdp-description-copy {
    color: #5e5a54;
    font: 400 12px/1.75 Inter, sans-serif;
  }
  .page.-productPage .nox-pdp-description-copy h3 {
    margin: 0 0 6px;
    color: #292825;
    font: 600 11px/1.5 Inter, sans-serif;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
  .page.-productPage .nox-pdp-reference {
    margin: 12px 0 0 !important;
    color: #98938c !important;
    font-size: 10px !important;
  }

  /* Bottom sheets: readable, soft-cornered mobile panels. */
  .page.-productPage .bottomSheet.nox-panel-open {
    position: fixed !important;
    inset: 0 !important;
    z-index: 100200 !important;
    display: flex !important;
    align-items: flex-end;
    justify-content: center;
    padding: 14px 0 0;
    background: rgba(20,19,17,.48);
  }
  .page.-productPage .bottomSheet.nox-panel-open .bottomSheetContent {
    width: 100%;
    max-width: 660px;
    max-height: min(86vh, 760px);
    overflow: auto;
    border-radius: 18px 18px 0 0;
    background: #fff;
    box-shadow: 0 -12px 38px rgba(0,0,0,.16);
  }
  .page.-productPage .bottomSheet.nox-panel-open .bottomSheetHeader {
    min-height: 58px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--nox-line);
  }
  .page.-productPage .bottomSheet.nox-panel-open .bottomSheetBody {
    padding: 20px;
  }
  .page.-productPage .nox-size-guide-copy,
  .page.-productPage .nox-delivery-panel {
    color: #55514b;
    font: 400 13px/1.75 Inter, sans-serif;
  }
}

/* Respect reduced-motion preferences. */
@media (prefers-reduced-motion: reduce) {
  .page.-productPage .productGallery *,
  .page.-productPage .productInfos *,
  .page.-productPage #stickyProduct * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Preserve the closed state of the custom size selector (the open panel is a grid). */
.page.-productPage .productAttributes__sizesDropdownSelector .js-dropdownBlockContainer.hidden {
  display: none !important;
}
.page.-productPage .productAttributes__addToCart > .button {
  flex: 1 1 auto;
}
