.product-page__crumbs {
    padding-block: 1rem 1.25rem;
}

.product-page__crumbs .breadcrumb__item:last-child {
    display: none;
}

.product {
    display: grid;
    gap: 1.75rem;
}

.product-gallery {
    --gap: 1rem;
    position: relative;
    margin-inline: calc(-1 * var(--gutter));
}

.product-gallery--gap-none {
    --gap: 0px;
}

.product-gallery--gap-large {
    --gap: 2rem;
}

.product-gallery__thumbs {
    display: none;
}

.product-gallery__stage {
    position: relative;
}

.product-gallery__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    list-style: none;
}

.product-gallery__track::-webkit-scrollbar {
    display: none;
}

.product-gallery--phone-stacked .product-gallery__track {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: var(--gap);
    overflow: visible;
    scroll-snap-type: none;
}

.product-gallery__slide {
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.product-gallery__media {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
}

.product-gallery__open {
    cursor: zoom-in;
}

.product-gallery__picture img,
.product-gallery__thumb-picture img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: var(--ratio, 4 / 5);
    object-fit: cover;
}

.product-gallery__thumb-picture img {
    aspect-ratio: 4 / 5;
}

.product-gallery--natural .product-gallery__picture img {
    aspect-ratio: auto;
    object-fit: contain;
}

.product-gallery--natural .product-gallery__media .media-video {
    object-fit: contain;
}

.product-gallery__placeholder {
    aspect-ratio: 4 / 5;
    background: var(--cream);
}

.product-gallery__status {
    position: absolute;
    left: var(--gutter);
    bottom: 1.1rem;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    pointer-events: none;
}

.product-gallery__counter {
    color: var(--ink);
    font: 500 0.75rem/1 var(--font-sans);
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.08em;
}

.product-gallery__progress {
    position: relative;
    width: 5.5rem;
    height: 1px;
    overflow: hidden;
    background: rgba(29, 39, 72, 0.18);
}

.product-gallery__progress-bar {
    position: absolute;
    inset: 0 auto 0 0;
    width: calc(100% / var(--count));
    background: var(--ink);
    transform: translateX(calc(var(--index, 0) * 100%));
    transition: transform 0.4s var(--ease-out);
}

.product-gallery__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.85rem;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 0.15rem;
}

.product-gallery__dot {
    position: relative;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}

.product-gallery__dot::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 0.45rem;
    height: 0.45rem;
    margin: auto;
    border-radius: 50%;
    background: rgba(29, 39, 72, 0.25);
    transition: background-color 0.25s, transform 0.25s var(--ease-out);
}

.product-gallery__dot.is-active::before {
    background: var(--ink);
    transform: scale(1.15);
}

.product-gallery__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: none;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 1px rgba(29, 39, 72, 0.12), 0 2px 8px rgba(29, 39, 72, 0.08);
    color: var(--ink);
    cursor: pointer;
    transform: translateY(-50%);
    transition: opacity 0.25s, background-color 0.25s;
}

.product-gallery__arrow:hover {
    background: var(--white);
}

.product-gallery__arrow:disabled {
    opacity: 0;
    pointer-events: none;
}

.product-gallery__arrow .icon {
    width: 1.15rem;
    height: 1.15rem;
}

.product-gallery__arrow--previous {
    left: 0.9rem;
}

.product-gallery__arrow--next {
    right: 0.9rem;
}

.product-gallery--phone-stacked .product-gallery__status,
.product-gallery--phone-stacked .product-gallery__dots,
.product-gallery--phone-stacked .product-gallery__zoom {
    display: none;
}

.product-gallery__zoom {
    position: absolute;
    top: 0.9rem;
    right: var(--gutter);
    z-index: 2;
    display: inline-grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    color: var(--ink);
    cursor: pointer;
}

.product-gallery__zoom[hidden] {
    display: none;
}

.product-gallery__zoom .icon {
    width: 1.2rem;
    height: 1.2rem;
}

.product-gallery__thumb {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid transparent;
    background: none;
    cursor: pointer;
    opacity: 0.72;
    transition: border-color 0.25s, opacity 0.25s;
}

.product-gallery__thumb:hover {
    opacity: 1;
}

.product-gallery__thumb.is-active {
    border-color: var(--ink);
    opacity: 1;
}

.product-gallery__thumb-play {
    position: absolute;
    right: 0.3rem;
    bottom: 0.3rem;
    display: grid;
    place-items: center;
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    background: rgba(11, 16, 32, 0.55);
    color: var(--white);
}

.product-gallery__thumb-play .icon {
    width: 0.65rem;
    height: 0.65rem;
}

.product-summary {
    max-width: 34rem;
}

.product-summary__brand {
    color: var(--gold-700);
    font: 600 0.8125rem/1.25 var(--font-sans);
    letter-spacing: 0.04em;
    text-decoration: none;
}

.product-summary__brand:hover {
    color: var(--ink);
}

.product-summary__title {
    margin-top: 0.7rem;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(2rem, 1.55rem + 1.5vw, 2.8rem);
    font-weight: 500;
    line-height: 1.08;
    font-variant-numeric: lining-nums;
}

.product-summary__price {
    margin: 0.9rem 0 0;
    color: var(--ink);
    font: 500 1.2rem/1.2 var(--font-sans);
    font-variant-numeric: lining-nums tabular-nums;
}

.product-summary__old-price,
.buy-bar__old-price {
    margin-left: 0.6rem;
    color: var(--ink-mute);
    font-size: 0.82em;
    font-weight: 400;
    text-decoration-thickness: 1px;
}

.product-summary__sku {
    margin: 0.45rem 0 0;
    color: var(--ink-mute);
    font-size: 0.78rem;
}

.product-offers {
    display: grid;
    gap: 0.5rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.product-offer {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.7rem 0.85rem;
    background: var(--cream);
    color: var(--ink);
    font-size: 0.86rem;
    line-height: 1.45;
}

.product-offer__icon {
    flex: none;
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.12rem;
    color: var(--gold-700);
}

.product-offer__text {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
}

.product-offer__title {
    font-weight: 600;
}

.product-offer__note {
    color: var(--ink-soft);
}

.product-offer__code {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    color: var(--ink-soft);
}

.product-offer__code strong {
    color: var(--ink);
    letter-spacing: 0.06em;
}

.product-offer__copy {
    padding: 0;
    border: 0;
    background: none;
    color: var(--ink);
    font: inherit;
    font-size: 0.8rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.product-offer__end {
    color: var(--ink-mute);
    font-size: 0.8rem;
}

.product-notes {
    display: grid;
    gap: 0.35rem;
    margin-top: 1.1rem;
    list-style: none;
}

.product-notes li {
    position: relative;
    padding-left: 1rem;
    color: var(--ink-soft);
    font-size: 0.86rem;
}

.product-notes li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.62em;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: var(--gold-500);
}

.product-buy {
    display: grid;
    gap: 1.4rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.product-buy__actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.6rem;
}

.product-buy__actions--wish {
    grid-template-columns: auto;
    justify-content: start;
}

.product-buy__submit {
    min-height: 3.25rem;
}

.product-buy__submit:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.product-buy__wish {
    display: inline-grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    padding: 0;
    border: 1px solid var(--line-strong);
    background: var(--white);
    color: var(--ink);
    cursor: pointer;
    transition: border-color 0.25s;
}

.product-buy__wish:hover {
    border-color: var(--navy-700);
}

.product-buy__wish .icon {
    transition: fill 0.25s, transform 0.25s var(--ease-out);
}

.product-buy__wish[aria-pressed="true"] .icon {
    fill: var(--navy-700);
    transform: scale(1.06);
}

.product-buy__stock {
    margin: -0.5rem 0 0;
    color: var(--ink-soft);
    font-size: 0.86rem;
    line-height: 1.6;
}

.product-buy__stock p {
    margin: 0;
}

.product-buy__stock p + p {
    margin-top: 0.4rem;
}

.product-buy__stock:empty {
    display: none;
}

.product-return {
    display: grid;
    gap: 0.4rem;
    margin-top: 1.25rem;
    color: var(--ink-soft);
    font-size: 0.86rem;
    line-height: 1.6;
}

.product-return p {
    margin: 0;
}

.product-buy__consult .icon {
    width: 1.15rem;
    height: 1.15rem;
}

.product-promises {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem 1.25rem;
    margin-top: 1.75rem;
    padding-block: 1.25rem;
    border-block: 1px solid var(--line);
    list-style: none;
}

.product-promise {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--ink-soft);
    font-size: 0.8rem;
    line-height: 1.35;
}

.product-promise .icon {
    width: 1.3rem;
    height: 1.3rem;
    color: var(--gold-700);
}

.product-specs {
    display: grid;
    gap: 0.45rem;
    list-style: none;
}

.product-specs li {
    position: relative;
    padding-left: 1.1rem;
    color: var(--ink);
}

.product-specs li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.85em;
    width: 0.45rem;
    height: 1px;
    background: var(--gold-500);
}

.product-facts {
    display: grid;
    gap: 0.4rem;
    margin: 0.2rem 0 0;
    padding-top: 0.9rem;
    border-top: 1px solid var(--line);
    font-size: 0.85rem;
}

.product-facts__row {
    display: flex;
    gap: 1rem;
}

.product-facts dt {
    min-width: 6.5rem;
    color: var(--ink-mute);
}

.product-facts dd {
    margin: 0;
    color: var(--ink);
}

.product-facts a {
    color: inherit;
    text-underline-offset: 3px;
}

.product-page .shelf {
    border-top: 1px solid var(--line);
}

.product-page .shelf:first-of-type {
    margin-top: clamp(3rem, 2rem + 3vw, 5rem);
}

.buy-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    padding: 0.7rem 0 calc(0.7rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(253, 252, 249, 0.97);
    backdrop-filter: blur(8px);
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-sheet);
}

.buy-bar.is-visible {
    transform: none;
}

.buy-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.buy-bar__text {
    min-width: 0;
}

.buy-bar__name {
    margin: 0;
    overflow: hidden;
    color: var(--ink);
    font-size: 0.86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.buy-bar__price {
    margin: 0.15rem 0 0;
    color: var(--ink);
    font-size: 0.9rem;
    font-weight: 600;
    font-variant-numeric: lining-nums tabular-nums;
}

.buy-bar__button {
    flex: none;
    min-height: 2.9rem;
    padding-inline: 1.5rem;
}

.size-guide__body {
    display: grid;
    grid-auto-rows: max-content;
    gap: 1.25rem;
    padding: 0 1.5rem 2rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    color: var(--ink-soft);
    font-size: 0.9rem;
    line-height: 1.65;
}

.size-guide__body p {
    margin: 0;
}

.size-table {
    width: 100%;
    border-collapse: collapse;
    font-variant-numeric: lining-nums tabular-nums;
}

.size-table th,
.size-table td {
    padding: 0.55rem 0.5rem;
    border-bottom: 1px solid var(--line);
    font-size: 0.88rem;
    text-align: left;
}

.size-table thead th {
    color: var(--ink);
    font: 600 0.68rem/1.2 var(--font-sans);
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.size-table tbody th {
    color: var(--ink);
    font-weight: 600;
}

.size-guide__note {
    display: grid;
    gap: 0.6rem;
    color: var(--ink-mute);
    font-size: 0.84rem;
}

.drawer-head__close {
    margin-inline-start: auto;
}

.guide__intro {
    display: grid;
    gap: 0.75rem;
}

.guide__media {
    margin: 0;
}

.guide__picture img {
    display: block;
    width: 100%;
    height: auto;
}

.guide__table {
    overflow-x: auto;
}

@media (min-width: 48em) {
    .product-page__crumbs .breadcrumb__item:last-child {
        display: inline-flex;
    }

    .product {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
        gap: clamp(2rem, 4vw, 5rem);
        align-items: start;
    }

    .product--width-narrow {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .product--width-wide {
        grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr);
    }

    .product--gallery-right .product__gallery {
        order: 2;
    }

    .product-gallery {
        margin-inline: 0;
    }

    .product-gallery__status {
        left: 1.25rem;
    }

    .product-gallery__zoom {
        right: 1rem;
    }

    .product--sticky .product__summary {
        position: sticky;
        top: calc(var(--header-h) + 1.5rem);
    }
}

@media (min-width: 64em) {
    .product-gallery--thumbs-side {
        display: grid;
        grid-template-columns: 4.5rem minmax(0, 1fr);
        gap: 1.25rem;
        align-items: start;
    }

    .product-gallery--thumbs-side .product-gallery__thumbs {
        position: sticky;
        top: calc(var(--header-h) + 1.5rem);
        display: grid;
        gap: 0.65rem;
        list-style: none;
    }

    .product-gallery--thumbs-below {
        display: flex;
        flex-direction: column-reverse;
        gap: 0.9rem;
    }

    .product-gallery--thumbs-below .product-gallery__thumbs {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: 4.5rem;
        gap: 0.65rem;
        overflow-x: auto;
        scrollbar-width: none;
        list-style: none;
    }

    .product-gallery--stacked .product-gallery__track,
    .product-gallery--grid .product-gallery__track,
    .product-gallery--collage .product-gallery__track {
        grid-auto-flow: row;
        grid-auto-columns: auto;
        gap: var(--gap);
        overflow: visible;
        scroll-snap-type: none;
    }

    .product-gallery--grid .product-gallery__track,
    .product-gallery--collage .product-gallery__track {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-gallery--collage .product-gallery__slide:first-child {
        grid-column: 1 / -1;
    }

    .product-gallery--stacked.product-gallery--fit-screen .product-gallery__media {
        width: fit-content;
        max-width: 100%;
        margin-inline: auto;
    }

    .product-gallery--stacked.product-gallery--fit-screen .product-gallery__picture img {
        width: auto;
        max-width: 100%;
        max-height: calc(100vh - var(--header-h) - 3rem);
    }

    .product-gallery--slider .product-gallery__track {
        grid-auto-flow: column;
        grid-auto-columns: 100%;
        gap: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .product-gallery--slider .product-gallery__arrow {
        display: grid;
    }

    .product-gallery--slider.product-gallery--phone-stacked .product-gallery__status,
    .product-gallery--slider.product-gallery--phone-stacked .product-gallery__dots,
    .product-gallery--slider.product-gallery--phone-stacked .product-gallery__zoom {
        display: flex;
    }

    .product-gallery--slider.product-gallery--phone-stacked .product-gallery__zoom {
        display: inline-grid;
    }

    .product-gallery--slider.product-gallery--phone-stacked .product-gallery__zoom[hidden] {
        display: none;
    }

    .product-gallery--stacked .product-gallery__status,
    .product-gallery--stacked .product-gallery__dots,
    .product-gallery--stacked .product-gallery__zoom,
    .product-gallery--grid .product-gallery__status,
    .product-gallery--grid .product-gallery__dots,
    .product-gallery--grid .product-gallery__zoom,
    .product-gallery--collage .product-gallery__status,
    .product-gallery--collage .product-gallery__dots,
    .product-gallery--collage .product-gallery__zoom {
        display: none;
    }

    .buy-bar {
        display: none;
    }
}

.accordion__title {
    min-width: 0;
}

.section-head--bare {
    justify-content: flex-end;
}

.product-gallery__media .media-video__toggle {
    left: auto;
    right: 0.9rem;
    bottom: 0.9rem;
}
