/* Soft editorial finish scoped only to product detail pages. */
.zoya-product-page {
    --detail-ink: #282127;
    --detail-muted: #766b70;
    --detail-pink: #b76e79;
    --detail-blush: #fff5f8;
    --detail-line: #f0e5e9;
}

.zoya-product-page__container {
    width: min(1360px, calc(100% - 64px));
}

.zoya-product-breadcrumb a {
    color: #8b5966;
}

.zoya-product-breadcrumb .is-current {
    color: #282127;
}

.zoya-product-gallery__stage,
.zoya-product-gallery__thumbs button {
    border: 1px solid #f0e5e9;
    background: #fff4f6;
}

.zoya-product-gallery__stage {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    margin-inline: auto;
    overflow: hidden;
    touch-action: pan-y;
    overscroll-behavior-x: none;
    scroll-snap-type: none;
}

@media (min-width: 992px) {
    .zoya-product-gallery { position: sticky; top: 110px; align-self: start; }
}

.zoya-product-gallery__stage-wrap {
    position: relative;
    width: min(100%, 600px);
    margin-inline: auto;
}

.zoya-product-gallery__thumbs {
    width: min(100%, 600px);
    margin-inline: auto;
}

.zoya-product-buy__brand {
    color: #9b5d69;
}

.zoya-product-buy {
    min-height: 600px;
    border: 1px solid #f0e5e9;
    border-radius: 22px;
    padding: clamp(22px, 3vw, 32px);
    background: #fff;
    box-shadow: 0 12px 36px rgba(69, 36, 49, .055);
}

.zoya-product-buy h1 {
    width: 100%;
    max-width: none;
    margin: 14px 0 10px;
    color: #282127;
    font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: clamp(1.9rem, 2.8vw, 2.4rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.03em;
    overflow-wrap: break-word;
    hyphens: auto;
}

.zoya-product-buy__summary {
    max-width: 52ch;
    margin: 16px 0 14px;
    color: #62575d;
    font-size: .96rem;
    line-height: 1.7;
}

.zoya-product-price > strong {
    color: #282127;
}

.zoya-product-information {
    border: 1px solid #f0e5e9;
    background: #fffaf7;
    box-shadow: 0 12px 36px rgba(69, 36, 49, .045);
}

.zoya-product-information .zoya-editorial-heading h2 {
    max-width: 26ch;
    font-size: clamp(1.8rem, 2.8vw, 2.6rem);
    line-height: 1.12;
    letter-spacing: -.035em;
}

.zoya-product-information__grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
    align-items: start;
    gap: clamp(28px, 5vw, 64px);
}

.zoya-product-information__intro {
    max-width: 72ch;
}

.zoya-product-information__intro h3 {
    margin-bottom: 14px;
    font-size: 1.45rem;
    line-height: 1.25;
}

.zoya-product-description {
    color: #51464c;
    font-size: 1rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.zoya-product-description__preview {
    margin-bottom: 14px;
}

.zoya-product-description-more {
    margin-top: 12px;
}

.zoya-product-description-more summary {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 10px;
    color: #b62460;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    transition: color .18s ease;
}

.zoya-product-description-more summary:hover {
    color: #841b48;
}

.zoya-product-description-more summary:focus-visible {
    outline: 2px solid #b62460;
    outline-offset: 3px;
    border-radius: 4px;
}

.zoya-product-description-more summary::-webkit-details-marker {
    display: none;
}

.zoya-product-description-more summary::after {
    content: '';
    display: block;
    width: 7px;
    height: 7px;
    margin: -4px 2px 0 1px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform .18s ease, margin .18s ease;
}

.zoya-product-description-more[open] summary::after {
    margin-top: 4px;
    transform: rotate(225deg);
}

.zoya-product-description-more > .zoya-product-description {
    margin-top: 10px;
    padding: 16px 18px;
    border-left: 2px solid #edc6d6;
    border-radius: 0 12px 12px 0;
    background: #fff;
    white-space: pre-line;
}

.zoya-product-accordion {
    margin-block: 10px;
    border: 1px solid #f0e5e9;
    border-radius: 14px;
    padding-inline: 16px;
    background: #fff;
}

.zoya-product-accordion:last-child {
    border-bottom: 1px solid #f0e5e9;
}

.zoya-product-accordion summary {
    min-height: 56px;
    font-size: .88rem;
}

.zoya-product-accordion > div {
    padding-bottom: 16px;
    color: #62575d;
    font-size: .9rem;
    line-height: 1.7;
}

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

.zoya-product-add,
.zoya-product-mobile-bar button {
    border-color: #f9d6e4 !important;
    background: #f9d6e4 !important;
    color: #552638 !important;
}

.zoya-product-add:hover,
.zoya-product-mobile-bar button:hover {
    border-color: #f3a8c3 !important;
    background: #f3a8c3 !important;
    color: #552638 !important;
}

.zoya-product-gallery__controls {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.zoya-product-gallery__controls button,
.zoya-product-lightbox__step {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid #f0e5e9;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: #552638;
    font-size: 1.55rem;
    line-height: 1;
    box-shadow: 0 5px 20px rgba(40, 33, 39, .1);
    pointer-events: auto;
    transition: background 180ms ease, transform 180ms ease;
}

.zoya-product-gallery__controls button:hover {
    transform: scale(1.04);
    background: #f9d6e4;
}

.zoya-product-lightbox__step:hover {
    transform: translateY(-50%) scale(1.04);
    background: #f9d6e4;
}

.zoya-product-gallery__controls button:focus-visible,
.zoya-product-lightbox__step:focus-visible {
    outline: 3px solid #b76e79;
    outline-offset: 3px;
}

.zoya-product-gallery__controls span,
.zoya-product-lightbox__counter {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    border: 1px solid #f0e5e9;
    border-radius: 999px;
    padding: 6px 11px;
    background: rgba(255, 255, 255, .94);
    color: #554951;
    font-size: .72rem;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(40, 33, 39, .08);
}

.zoya-product-lightbox > .zoya-product-lightbox__step {
    position: absolute;
    z-index: 2;
    top: 50%;
    transform: translateY(-50%);
}

.zoya-product-lightbox > .zoya-product-lightbox__step--previous { right: auto; left: 12px; }
.zoya-product-lightbox > .zoya-product-lightbox__step--next { right: 12px; left: auto; }

.zoya-product-lightbox__counter {
    position: fixed;
    bottom: max(20px, env(safe-area-inset-bottom, 0px));
}

@media (max-width: 1199px) {
    .zoya-product-page__container { width: min(100% - 48px, 1200px); }
}

@media (min-width: 1200px) {
    .zoya-product-main {
        grid-template-columns: minmax(0, 600px) minmax(0, 620px);
        justify-content: center;
        gap: clamp(28px, 4vw, 56px);
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .zoya-product-main {
        grid-template-columns: minmax(0, 600px) minmax(0, 1fr);
        gap: clamp(20px, 3vw, 36px);
    }
}

@media (max-width: 991px) {
    .zoya-product-information__grid { grid-template-columns: minmax(0, 1fr); }
    .zoya-product-main { grid-template-columns: minmax(0, 1fr); }
    .zoya-product-buy { position: static; width: min(100%, 620px); min-height: 0; margin-inline: auto; }
}

@media (max-width: 767px) {
    .zoya-product-page__container { width: calc(100% - 32px); }
    .zoya-product-buy { border-radius: 18px; padding: 21px 18px; }
    .zoya-product-buy h1 { font-size: clamp(1.7rem, 6vw, 2.05rem); }
    .zoya-product-gallery__controls button,
    .zoya-product-lightbox > .zoya-product-lightbox__step { width: 38px; height: 38px; }
}

@media (max-width: 390px) {
    .zoya-product-page__container { width: calc(100% - 24px); }
}

@media (prefers-reduced-motion: reduce) {
    .zoya-product-gallery__controls button,
    .zoya-product-lightbox > .zoya-product-lightbox__step { transition: none; }
}
