.product-page { max-width: 100%; padding-block: 22px var(--space-section); overflow-x: hidden; overflow-x: clip; background: var(--color-surface); }
.product-page:has(.home-product-section) { padding-bottom: 0; }
.product-feedback { margin-block: 18px; }
.product-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(390px, .85fr); gap: clamp(38px, 7vw, 110px); align-items: start; margin-top: 24px; }
.product-hero > *,
.product-gallery { min-width: 0; max-width: 100%; }
.product-gallery { position: sticky; top: 108px; display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 14px; }
.product-gallery__main,
.product-gallery__empty { min-width: 0; width: 100%; max-width: 100%; grid-column: 2; grid-row: 1; overflow: hidden; border: 0; background: var(--color-soft); }
.product-gallery__main { position: relative; align-self: start; display: block; padding: 0; touch-action: pan-y pinch-zoom; cursor: zoom-in; }
.product-gallery__main img { display: block; width: 100%; max-width: 100%; height: auto; animation: product-image-enter 260ms ease; transition: transform 900ms var(--ease-luxury); user-select: none; }
.product-gallery__main:hover img { transform: scale(1.025); }
.product-gallery__main span { position: absolute; inset-block-end: 16px; inset-inline-end: 16px; min-height: 40px; display: grid; place-items: center; padding-inline: 14px; color: white; background: rgb(27 25 22 / 78%); font-size: .72rem; opacity: 0; transition: opacity var(--duration-fast) ease; }
.product-gallery__main small { position: absolute; inset-block-end: 16px; inset-inline-start: 16px; display: none; min-width: 48px; padding: 5px 10px; color: white; background: rgb(27 25 22 / 72%); font-size: .72rem; font-weight: 600; }
.product-gallery__main:hover span,
.product-gallery__main:focus-visible span { opacity: 1; }
.product-gallery__empty { aspect-ratio: .88; display: grid; place-items: center; color: var(--color-gold); font-size: clamp(3rem, 12vw, 7rem); font-weight: 600; }
.product-gallery__thumbs { min-width: 0; max-width: 100%; grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; }
.product-gallery__thumbs button { flex: 0 0 auto; width: 88px; aspect-ratio: 1; overflow: hidden; padding: 2px; border: 1px solid transparent; background: var(--color-soft); cursor: pointer; }
.product-gallery__thumbs button.is-active { border-color: var(--color-ink); }
.product-gallery__thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }

@keyframes product-image-enter {
    from { opacity: .6; transform: scale(.99); }
    to { opacity: 1; transform: scale(1); }
}

.product-summary { padding-block-start: clamp(0px, 1vw, 12px); }
.product-summary__eyebrow,
.section-heading p { margin: 0; color: var(--color-gold); font-size: .72rem; font-weight: 600; letter-spacing: .1em; }
.product-summary h1 { max-width: 24ch; margin: 6px 0 10px; font-size: var(--text-heading-1); font-weight: 500; line-height: 1.3; letter-spacing: -.02em; }
.product-summary__identity-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; }
.product-summary__code { margin: 0; color: var(--color-muted); font-size: .76rem; }
.product-summary__code bdi { color: var(--color-ink); font-weight: 600; }
.product-summary__lead { max-width: 58ch; margin: 0; color: var(--color-muted); }
.product-essential-meta { display: grid; grid-template-columns: repeat(2, 1fr); margin-block: 16px 8px; border-block: 1px solid var(--color-line); }
.product-essential-meta div { min-height: 58px; display: grid; align-content: center; gap: 2px; padding: 8px 0; border-bottom: 1px solid rgb(216 210 200 / 55%); }
.product-essential-meta div:nth-child(odd) { padding-inline-end: 18px; border-inline-end: 1px solid var(--color-line); }
.product-essential-meta div:nth-child(even) { padding-inline-start: 18px; }
.product-essential-meta div:nth-last-child(-n + 2) { border-bottom: 0; }
.product-essential-meta dt { color: var(--color-muted); font-size: .72rem; }
.product-essential-meta dd { margin: 0; font-size: .86rem; font-weight: 600; }
.product-rating-line { display: flex; align-items: center; gap: 5px; margin: 0; font-size: .76rem; }
.product-rating-line > span { color: var(--color-gold); }
.product-rating-line small { color: var(--color-muted); }

.product-toolbar { display: flex; flex-wrap: wrap; gap: 2px 18px; padding-block: 8px; border-block: 1px solid var(--color-line); }
.product-toolbar button,
.product-tabs button,
.product-comment footer button { min-height: 44px; padding-inline: 0; border: 0; color: var(--color-muted); background: transparent; cursor: pointer; }
.product-toolbar button { min-height: 38px; font-size: .76rem; }
.product-toolbar button[aria-pressed="true"] { color: var(--color-ink); }

.product-purchase { display: grid; gap: 10px; margin-top: 10px; padding-block: 14px; }
.product-purchase .ui-button { min-height: 54px; border-radius: 0; background: var(--color-ink); box-shadow: none; font-weight: 500; transform: none; }
.product-purchase .ui-button:hover:not([aria-disabled='true']) { background: var(--color-gold-dark); transform: none; }
.product-purchase label,
.product-community-form label { font-size: .82rem; font-weight: 600; }
.product-purchase select,
.product-community-form select { min-height: 48px; padding-inline: 12px; border: 1px solid var(--color-line); background: var(--color-surface); border-radius: 0; font: inherit; }
.product-price { min-height: 48px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; }
.product-price strong { font-size: clamp(1.45rem, 3.2vw, 2rem); font-weight: 600; }
.product-price strong small,
.product-price del { color: var(--color-muted); font-size: .75rem; font-weight: 400; }
.product-price span { padding: 2px 8px; color: white; background: var(--color-danger); font-size: .7rem; }
.product-stock-status:empty { display: none; }
.product-low-stock { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-inline-start: 3px solid var(--color-gold); background: var(--color-soft); }
.product-low-stock__icon { flex: 0 0 36px; width: 36px; height: 36px; display: grid; place-items: center; color: var(--color-danger); background: var(--color-surface); border-radius: 50%; }
.product-low-stock__icon svg { width: 22px; height: 22px; }
.product-low-stock__copy { min-width: 0; display: grid; gap: 3px; }
.product-low-stock__copy strong { color: var(--color-danger); font-size: .86rem; font-weight: 600; line-height: 1.7; }
.product-low-stock__copy > span { color: var(--color-muted); font-size: .72rem; line-height: 1.8; }
.product-amazing-offer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    padding: 16px 18px;
    color: white;
    background: var(--color-ink);
}
.product-amazing-offer__copy { display: grid; gap: 4px; }
.product-amazing-offer__copy span {
    color: #e7dccd;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .12em;
}
.product-amazing-offer__copy strong { font-size: .95rem; font-weight: 500; }
.product-amazing-offer .offer-countdown__segment {
    min-width: 48px;
    background: rgb(255 255 255 / 10%);
    border-color: rgb(255 255 255 / 18%);
}
.product-amazing-offer .offer-countdown__value { color: white; font-size: 1rem; }
.product-amazing-offer .offer-countdown__label { color: rgb(255 255 255 / 62%); }
.product-amazing-offer .offer-countdown__segment:not(:last-child)::after { color: #e7dccd; }
.product-guarantee { margin: 0; color: var(--color-muted); text-align: center; font-size: .76rem; }
.product-service-notes { margin: 24px 0 0; }
.product-service-notes div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--color-line); }
.product-service-notes dt { font-size: .78rem; font-weight: 600; }
.product-service-notes dd { margin: 0; color: var(--color-muted); font-size: .76rem; }

.product-details { margin-top: var(--space-section); }
.product-tabs { display: flex; gap: clamp(18px, 5vw, 54px); overflow-x: auto; border-bottom: 1px solid var(--color-line); }
.product-tabs button { flex: 0 0 auto; padding-block: 16px; font-weight: 500; }
.product-tabs button[aria-selected="true"] { color: var(--color-ink); box-shadow: inset 0 -1px var(--color-ink); }
.product-tab-panel { padding-block: clamp(30px, 5vw, 58px); }
.product-rich-text { text-align: justify; color: #48443e; font-size: 1.03rem; line-height: 2.15; }
.product-rich-text,
.product-rich-text * { font-family: inherit !important; }
.product-rich-text img { max-width: 100%; height: auto; }
.product-specs { max-width: 900px; margin: 0; }
.product-specs div { display: grid; grid-template-columns: minmax(130px, .32fr) 1fr; gap: 18px; padding: 15px 4px; border-bottom: 1px solid var(--color-line); }
.product-specs dt { color: var(--color-muted); }
.product-specs dd { margin: 0; font-weight: 500; }

.product-community { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .48fr); gap: 22px; }
.product-comment,
.product-community-form { padding: 24px; border: 1px solid var(--color-line); background: white; }
.product-comment header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.product-comment header span { padding: 1px 7px; color: var(--color-success); background: rgb(24 120 90 / 9%); font-size: .7rem; }
.product-comment time { margin-inline-start: auto; color: var(--color-muted); font-size: .75rem; }
.product-comment__stars { color: var(--color-gold); letter-spacing: 3px; }
.product-comment footer { display: flex; gap: 16px; padding-top: 10px; border-top: 1px solid var(--color-line); }
.product-comment blockquote { display: grid; gap: 6px; margin: 16px 0 0; padding: 14px; border-inline-start: 2px solid var(--color-gold); background: var(--color-soft); }
.product-community-form { grid-column: 2; grid-row: 1 / span 10; display: grid; align-content: start; gap: 14px; }
.product-community-form h3 { margin: 0; }
.similar-products { margin-top: var(--space-section); padding-top: var(--space-section-compact); border-top: 1px solid var(--color-line); }
.section-heading h2 { margin: 4px 0 30px; font-size: var(--text-section); font-weight: 500; }
.product-lightbox { position: relative; width: 100%; min-width: 0; max-width: 100%; height: 100%; min-height: 0; max-height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; overflow: hidden; touch-action: pan-y pinch-zoom; user-select: none; }
.product-lightbox__stage { width: 100%; min-width: 0; max-width: 100%; height: 100%; min-height: 0; display: grid; place-items: center; margin: 0; padding: clamp(78px, 10vh, 112px) clamp(54px, 7vw, 110px) 24px; overflow: hidden; }
.product-lightbox__stage img { display: block; width: 100%; min-width: 0; max-width: 100%; height: 100%; min-height: 0; max-height: 100%; object-fit: contain; animation: product-image-enter 260ms ease; }
.product-lightbox__stage figcaption { position: absolute; z-index: 2; inset-block-end: 102px; left: 50%; padding: 4px 11px; color: white; background: rgb(0 0 0 / 48%); border-radius: 999px; font-size: .76rem; transform: translateX(-50%); }
.product-lightbox__nav { position: absolute; z-index: 3; inset-block-start: 50%; width: 50px; height: 50px; display: grid; place-items: center; padding: 0; color: white; border: 1px solid rgb(255 255 255 / 28%); background: rgb(0 0 0 / 42%); border-radius: 50%; font-size: 2rem; line-height: 1; transform: translateY(-50%); cursor: pointer; }
.product-lightbox__nav--previous { inset-inline-start: 18px; }
.product-lightbox__nav--next { inset-inline-end: 18px; }
.product-lightbox__thumbs { width: 100%; max-width: 100%; min-width: 0; display: flex; justify-content: center; gap: 8px; padding: 10px 16px 16px; overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; }
.product-lightbox__thumbs button { flex: 0 0 64px; width: 64px; aspect-ratio: 1; overflow: hidden; padding: 2px; border: 1px solid transparent; background: rgb(255 255 255 / 9%); opacity: .62; cursor: pointer; }
.product-lightbox__thumbs button.is-active { border-color: white; opacity: 1; }
.product-lightbox__thumbs img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-notify-form,
.product-notify-form fieldset { display: grid; gap: 12px; }
.product-notify-form fieldset { padding: 16px; border: 1px solid var(--color-line); }
.product-notify-form label { display: flex; align-items: center; gap: 8px; }

@media (max-width: 980px) {
    .product-hero { grid-template-columns: 1fr; }
    .product-gallery { position: static; }
    .product-summary { max-width: 720px; }
    .product-community { grid-template-columns: 1fr; }
    .product-community-form { grid-column: 1; grid-row: auto; }
}

@media (max-width: 600px) {
    .product-page { padding-block-start: 10px; }
    .product-hero { gap: 24px; }
    .product-gallery { width: 100%; display: flex; flex-direction: column; overflow: hidden; }
    .product-gallery__main,
    .product-gallery__empty { order: 1; }
    .product-gallery__empty { aspect-ratio: 1; }
    .product-gallery__main span { display: none; }
    .product-gallery__main small { display: block; }
    .product-gallery__thumbs { width: 100%; order: 2; flex-direction: row; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: thin; }
    .product-gallery__thumbs button { min-width: 72px; width: 72px; }
    .product-essential-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .product-essential-meta div:nth-child(n) { min-height: 58px; padding: 8px 0; border-bottom: 1px solid var(--color-line); }
    .product-essential-meta div:nth-child(odd) { padding-inline-end: 12px; border-inline-end: 1px solid var(--color-line); }
    .product-essential-meta div:nth-child(even) { padding-inline-start: 12px; border-inline-end: 0; }
    .product-essential-meta div:nth-last-child(-n + 2) { border-bottom: 0; }
    .product-service-notes div,
    .product-specs div { grid-template-columns: 100px 1fr; gap: 12px; }
    .product-lightbox__stage { padding: 74px 10px 20px; }
    .product-lightbox__stage figcaption { inset-block-end: 92px; }
    .product-lightbox__nav { width: 42px; height: 42px; border: 0; background: rgb(0 0 0 / 34%); font-size: 1.7rem; }
    .product-lightbox__nav--previous { inset-inline-start: 8px; }
    .product-lightbox__nav--next { inset-inline-end: 8px; }
    .product-lightbox__thumbs { justify-content: flex-start; padding-inline: 10px; }
    .product-lightbox__thumbs button { flex-basis: 58px; width: 58px; }
    .product-amazing-offer { align-items: stretch; flex-direction: column; }
}
