/* Product detail styles — full-image, seamless-background layout */
.product-page {
    background: var(--home-paper);
    color: var(--home-ink);
}

.product-page main {
    overflow: hidden;
}

.product-page .site-nav {
    z-index: 1000;
}

.product-shell {
    margin: 0 auto;
    max-width: 1240px;
    width: calc(100% - 96px);
}

.product-breadcrumb {
    align-items: center;
    color: #7a8580;
    display: flex;
    font-size: 0.66rem;
    gap: 0.65rem;
    letter-spacing: 0.06em;
    margin: 0 0 2.5rem;
}

.product-breadcrumb a {
    text-decoration-color: rgba(31, 41, 37, 0.24);
    text-underline-offset: 0.25rem;
}

.product-hero {
    background: var(--home-cream);
    padding: 126px 0 6rem;
}

.product-hero__grid {
    align-items: center;
    display: grid;
    gap: clamp(3.5rem, 7vw, 7rem);
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
}

.product-hero__media {
    align-items: center;
    aspect-ratio: 1 / 1;
    background:
        radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.2) 50%, transparent 72%),
        #e5e7df;
    display: flex;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.product-hero--travel .product-hero__media {
    background: var(--home-cream);
}

.product-hero--carry .product-hero__media {
    background: var(--home-cream);
}

.product-hero__media::before {
    border: 1px solid rgba(40, 68, 58, 0.13);
    border-radius: 50%;
    content: "";
    height: 68%;
    position: absolute;
    width: 68%;
}

.product-hero--travel .product-hero__media::before,
.product-hero--carry .product-hero__media::before {
    display: none;
}

.product-hero__media img {
    height: 100%;
    object-fit: contain;
    padding: 3rem;
    position: relative;
    width: 100%;
    z-index: 1;
}

.product-hero--travel .product-hero__media img,
.product-hero--carry .product-hero__media img {
    object-fit: contain;
    padding: 1.5rem;
}

.product-hero--travel .product-hero__media img,
.product-hero--carry .product-hero__media img {
    mix-blend-mode: multiply;
}

.product-hero__index {
    font-family: var(--home-serif);
    font-size: 0.72rem;
    left: 1.6rem;
    letter-spacing: 0.1em;
    position: absolute;
    top: 1.4rem;
    z-index: 2;
}

.product-hero__copy .eyebrow {
    margin-bottom: 1.35rem;
}

.product-hero__copy h1 {
    font-family: var(--home-serif);
    font-size: clamp(2.7rem, 4.4vw, 4.7rem);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0;
}

.product-hero--travel .product-hero__copy h1 {
    font-size: clamp(2.5rem, 3.4vw, 3.45rem);
}

.product-title-line {
    white-space: nowrap;
}

.product-hero__lead {
    color: #53615b;
    font-family: var(--home-serif);
    font-size: 1.1rem;
    line-height: 1.9;
    margin: 1.8rem 0 0;
}

.product-hero__description {
    color: #66716c;
    font-size: 0.82rem;
    line-height: 2;
    margin: 1.2rem 0 0;
}

.product-tags {
    border-bottom: 1px solid var(--home-line);
    border-top: 1px solid var(--home-line);
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1.25rem;
    list-style: none;
    margin: 2rem 0;
    padding: 1rem 0;
}

.product-tags li {
    align-items: center;
    display: flex;
    font-size: 0.7rem;
    gap: 0.55rem;
    letter-spacing: 0.03em;
}

.product-tags li::before {
    background: var(--home-clay);
    border-radius: 50%;
    content: "";
    height: 4px;
    width: 4px;
}

.purchase-box {
    align-items: center;
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.purchase-button {
    align-items: center;
    border: 1px solid var(--home-green);
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 600;
    justify-content: space-between;
    letter-spacing: 0.06em;
    min-height: 54px;
    padding: 0.9rem 1.1rem;
    text-decoration: none;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.purchase-button:first-child {
    background: var(--home-green);
    color: #fff;
}

.purchase-button:last-child {
    background: transparent;
    color: var(--home-green);
}

.purchase-button:hover,
.purchase-button:focus-visible {
    background: var(--home-green-deep);
    color: #fff;
    transform: translateY(-2px);
}

.purchase-button span:last-child {
    font-size: 1rem;
}

.product-section {
    padding: 8rem 0;
}

.product-section--tint {
    background: #eeece5;
}

.product-section--deep {
    background: var(--home-green-deep);
    color: #f7f4eb;
}

.product-section__heading {
    align-items: end;
    display: grid;
    gap: 3rem;
    grid-template-columns: 1fr minmax(280px, 0.7fr);
    margin-bottom: 4rem;
}

.product-section__heading .eyebrow {
    margin-bottom: 1.15rem;
}

.product-section__heading h2,
.product-story__copy h2,
.product-return h2 {
    font-family: var(--home-serif);
    font-size: clamp(2.25rem, 3.8vw, 4rem);
    font-weight: 400;
    letter-spacing: 0;
    line-height: 1.25;
    margin: 0;
}

.product-section__heading > p {
    color: #6a7470;
    font-size: 0.8rem;
    line-height: 2;
    margin: 0;
}

.product-story {
    align-items: center;
    display: grid;
    gap: clamp(4rem, 9vw, 8rem);
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.product-story__copy > p:not(.eyebrow) {
    color: #65706b;
    font-size: 0.86rem;
    line-height: 2.1;
    margin: 2rem 0 0;
}

.feature-list {
    border-top: 1px solid var(--home-line);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-list article {
    border-bottom: 1px solid var(--home-line);
    min-height: 180px;
    padding: 1.75rem 2rem 1.75rem 0;
}

.feature-list article:nth-child(even) {
    border-left: 1px solid var(--home-line);
    padding-left: 2rem;
}

.feature-list span {
    color: #7a8580;
    font-family: var(--home-serif);
    font-size: 0.65rem;
}

.feature-list h3 {
    font-family: var(--home-serif);
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.55;
    margin: 1.25rem 0 0.65rem;
}

.feature-list p {
    color: #6a7470;
    font-size: 0.72rem;
    line-height: 1.85;
    margin: 0;
}

.product-gallery {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-gallery--colors {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.product-gallery__item {
    background: #f7f5ef;
    margin: 0;
    overflow: hidden;
}

.product-gallery__item img {
    aspect-ratio: 1 / 1;
    display: block;
    height: auto;
    object-fit: contain;
    padding: 0.7rem;
    transition: transform 350ms ease;
    width: 100%;
}

.product-gallery:not(.product-gallery--colors) .product-gallery__item img {
    object-fit: contain;
    padding: 0;
}

.product-gallery__item:hover img {
    transform: scale(1.02);
}

.product-gallery__item figcaption {
    border-top: 1px solid var(--home-line);
    color: #66716c;
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    padding: 0.85rem 1rem;
}

.product-spec {
    display: grid;
    gap: clamp(3rem, 7vw, 7rem);
    grid-template-columns: minmax(260px, 0.65fr) minmax(0, 1.35fr);
}

.product-spec__intro h2 {
    font-family: var(--home-serif);
    font-size: clamp(2.25rem, 3.5vw, 3.5rem);
    font-weight: 400;
    line-height: 1.3;
    margin: 0;
}

.product-spec__intro p:not(.eyebrow) {
    color: #66716c;
    font-size: 0.76rem;
    line-height: 1.9;
    margin-top: 1.5rem;
}

.product-spec__table {
    border-top: 1px solid var(--home-line);
    margin: 0;
}

.product-spec__table > div {
    border-bottom: 1px solid var(--home-line);
    display: grid;
    gap: 2rem;
    grid-template-columns: 155px 1fr;
    padding: 1.2rem 0;
}

.product-spec__table dt,
.product-spec__table dd {
    font-size: 0.75rem;
    line-height: 1.8;
    margin: 0;
}

.product-spec__table dt {
    color: #7a8580;
    font-weight: 500;
}

.product-section--deep .eyebrow {
    color: #aebbad;
}

.product-section--deep .product-section__heading > p {
    color: rgba(247, 244, 235, 0.64);
}

.product-faq {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.product-faq details {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.product-faq summary {
    align-items: center;
    cursor: pointer;
    display: grid;
    font-family: var(--home-serif);
    font-size: 1rem;
    gap: 1.5rem;
    grid-template-columns: 45px 1fr 20px;
    line-height: 1.6;
    list-style: none;
    padding: 1.55rem 0;
}

.product-faq summary::-webkit-details-marker {
    display: none;
}

.product-faq summary span:first-child {
    color: #aebbad;
    font-family: var(--home-sans);
    font-size: 0.58rem;
    letter-spacing: 0.12em;
}

.product-faq summary::after {
    color: #aebbad;
    content: "+";
    font-family: var(--home-sans);
    font-size: 1.2rem;
    font-weight: 300;
    justify-self: end;
}

.product-faq details[open] summary::after {
    content: "−";
}

.product-faq details p {
    color: rgba(247, 244, 235, 0.68);
    font-size: 0.78rem;
    line-height: 2;
    margin: 0;
    max-width: 860px;
    padding: 0 0 1.8rem 60px;
}

.product-return {
    background: var(--home-lime);
    padding: 5rem 0;
}

.product-return__inner {
    align-items: center;
    display: flex;
    gap: 3rem;
    justify-content: space-between;
}

.product-return h2 {
    font-size: clamp(1.8rem, 3vw, 3rem);
}

.product-return .button {
    flex: 0 0 auto;
}

@media (max-width: 1100px) {
    .product-shell {
        width: calc(100% - 64px);
    }

    .product-hero__grid {
        gap: 4rem;
        grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
    }

    .product-gallery--colors {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .product-hero__grid,
    .product-story,
    .product-spec {
        grid-template-columns: 1fr;
    }

    .product-hero__media {
        max-width: 680px;
    }

    .product-hero__copy {
        max-width: 680px;
    }
}

@media (max-width: 767px) {
    .product-shell {
        width: calc(100% - 40px);
    }

    .product-hero {
        padding: 100px 0 4.5rem;
    }

    .product-breadcrumb {
        margin-bottom: 1.8rem;
    }

    .product-hero__grid {
        gap: 2.8rem;
    }

    .product-hero__media img {
        padding: 1.5rem;
    }

    .product-hero__copy h1 {
        font-size: clamp(2.6rem, 13vw, 3.8rem);
    }

    .product-hero--travel .product-hero__copy h1 {
        font-size: clamp(2.35rem, 10.5vw, 3rem);
    }

    .product-title-line {
        white-space: normal;
    }

    .product-hero__lead {
        font-size: 1rem;
    }

    .purchase-box {
        grid-template-columns: 1fr;
    }

    .product-section {
        padding: 5.5rem 0;
    }

    .product-section__heading {
        display: block;
        margin-bottom: 2.7rem;
    }

    .product-section__heading > p {
        margin-top: 1.4rem;
    }

    .product-story {
        gap: 3rem;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .feature-list article:nth-child(even) {
        border-left: 0;
        padding-left: 0;
    }

    .feature-list article {
        min-height: 0;
        padding: 1.5rem 0;
    }

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

    .product-spec {
        gap: 2.5rem;
    }

    .product-spec__table > div {
        gap: 0.5rem;
        grid-template-columns: 1fr;
    }

    .product-faq summary {
        gap: 0.75rem;
        grid-template-columns: 35px 1fr 16px;
        padding: 1.25rem 0;
    }

    .product-faq details p {
        padding-left: 0;
    }

    .product-return__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .product-page *,
    .product-page *::before,
    .product-page *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
