/* Mobile-only Product Details editorial layout. Desktop unchanged. */
@media (max-width: 991.98px) {
    .product-mobile,
    .product-mobile *,
    .product-mobile *::before,
    .product-mobile *::after {
        box-sizing: border-box;
    }

    .product-mobile {
        background: #FFFFFF;
        font-family: 'Montserrat', sans-serif;
        color: #1F1F1F;
    }

    /* ── Designer header band */
    .product-mobile__header {
        position: relative;
        background: #ECE8E2;
        padding: 24px 24px 22px;
        text-align: center;
    }

    .product-mobile__back {
        position: absolute;
        top: 22px;
        left: 18px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: transparent;
        border: none;
        padding: 0;
        text-decoration: none;
        font-family: 'Montserrat', sans-serif;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 1.6px;
        text-transform: uppercase;
        color: #3A3A3A;
        cursor: pointer;
    }

    .product-mobile__back:hover,
    .product-mobile__back:focus {
        color: #3A3A3A;
        text-decoration: none;
    }

    .product-mobile__back-arrow {
        color: #cc9966;
        display: inline-flex;
    }

    .product-mobile__eyebrow {
        font-family: 'Montserrat', sans-serif;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 2.6px;
        text-transform: uppercase;
        color: #6B6863;
        margin-bottom: 10px;
    }

    .product-mobile__designer-trigger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
        background: transparent;
        border: none;
        padding: 0;
        cursor: pointer;
        font-family: inherit;
    }

    .product-mobile__designer-name {
        margin: 0;
        font-family: 'Montserrat', sans-serif;
        font-size: 34px;
        font-weight: 700;
        letter-spacing: -0.5px;
        line-height: 1.05;
        color: #1F1F1F;
    }

    .product-mobile__chevron {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        background: #cc9966;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        transition: transform 200ms ease;
        flex-shrink: 0;
    }

    .product-mobile__designer-trigger[aria-expanded="true"] .product-mobile__chevron {
        transform: rotate(180deg);
    }

    .product-mobile__hint {
        margin-top: 6px;
        font-family: 'Montserrat', sans-serif;
        font-size: 11px;
        letter-spacing: 0.6px;
        color: #6B6863;
    }

    .product-mobile__identity-hint {
        font-family: 'Montserrat', sans-serif;
        font-size: 11px;
        letter-spacing: 0.6px;
        color: #6B6863;
        margin-bottom: 10px;
        text-align: center;
    }

    /* ── Inline prev/next next to the dress name (inside identity block) */
    .product-mobile__identity-row {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .product-mobile__identity-side {
        flex: 1 1 0;
        min-width: 0;
        display: inline-flex;
        align-items: center;
        gap: 6px;
        font-family: 'Cormorant Garamond', serif;
        font-size: 15px;
        font-style: italic;
        font-weight: 400;
        color: #6B6863;
        text-decoration: none;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .product-mobile__identity-side:hover,
    .product-mobile__identity-side:focus {
        color: #cc9966;
        text-decoration: none;
    }

    .product-mobile__identity-side--right {
        justify-content: flex-end;
        text-align: right;
    }

    .product-mobile__identity-arrow {
        flex-shrink: 0;
        color: #cc9966;
        font-style: normal;
        font-family: 'Montserrat', sans-serif;
        font-size: 22px;
        line-height: 1;
    }

    .product-mobile__identity-row .product-mobile__model {
        flex: 0 1 auto;
        min-width: 0;
        overflow-wrap: break-word;
    }

    /* ── Sale prices (under the dress name) */
    .product-mobile__sale-prices {
        display: flex;
        align-items: baseline;
        justify-content: center;
        flex-wrap: wrap;
        gap: 18px;
        margin-top: 14px;
    }

    .product-mobile__sale-was,
    .product-mobile__sale-now {
        display: inline-flex;
        align-items: baseline;
        gap: 6px;
    }

    .product-mobile__sale-label {
        font-family: 'Montserrat', sans-serif;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 2.4px;
        text-transform: uppercase;
        color: #6B6863;
    }

    .product-mobile__sale-was-amount {
        font-family: 'Cormorant Garamond', serif;
        font-size: 18px;
        font-style: italic;
        font-weight: 400;
        color: #6B6863;
        text-decoration: line-through;
    }

    .product-mobile__sale-now-amount {
        font-family: 'Cormorant Garamond', serif;
        font-size: 22px;
        font-weight: 500;
        color: #C2825F;
    }

    /* ── Available sizes line (sale, above description) */
    .product-mobile__sizes {
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 10px;
        padding: 22px 28px 0;
        text-align: center;
    }

    .product-mobile__sizes-label {
        font-family: 'Montserrat', sans-serif;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 2.4px;
        text-transform: uppercase;
        color: #6B6863;
    }

    .product-mobile__sizes-value {
        font-family: 'Cormorant Garamond', serif;
        font-size: 16px;
        font-style: italic;
        font-weight: 400;
        color: #1F1F1F;
    }

    /* ── Identity block (cream) */
    .product-mobile__identity {
        background: #FAF7F1;
        padding: 26px 24px 18px;
        text-align: center;
    }

    .product-mobile__collection {
        font-family: 'Montserrat', sans-serif;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 2.6px;
        text-transform: uppercase;
        color: #6B6863;
        margin-bottom: 8px;
    }

    .product-mobile__model {
        margin: 0;
        font-family: 'Cormorant Garamond', serif;
        font-size: 40px;
        font-weight: 400;
        letter-spacing: -0.4px;
        line-height: 1;
        color: #1F1F1F;
    }

    .product-mobile__meta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        margin-top: 12px;
        font-family: 'Montserrat', sans-serif;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 2.4px;
        text-transform: uppercase;
        color: #6B6863;
    }

    .product-mobile__meta-dot {
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: #cc9966;
        display: inline-block;
    }

    /* ── Carousel (stacked slides, in-product arrows switch images) */
    .product-mobile__carousel {
        position: relative;
        background: #EFEAE4;
        overflow: hidden;
    }

    .product-mobile__track {
        position: relative;
        width: 100%;
        padding-bottom: 133.333%;            /* 3:4 aspect */
        background: #EFEAE4;
    }

    .product-mobile__slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 320ms ease;
        pointer-events: none;
    }

    .product-mobile__slide.is-active {
        opacity: 1;
        pointer-events: auto;
    }

    .product-mobile__slide img {
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
        display: block;
        cursor: zoom-in;
    }

    .product-mobile__carousel-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(31, 31, 31, 0.55);
        border: none;
        color: #FFFFFF;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 3;
        transition: background-color 120ms ease;
    }

    .product-mobile__carousel-arrow:hover,
    .product-mobile__carousel-arrow:focus {
        background: rgba(31, 31, 31, 0.75);
    }

    .product-mobile__carousel-arrow--prev {
        left: 12px;
    }

    .product-mobile__carousel-arrow--next {
        right: 12px;
    }

    /* ── Fullscreen zoom overlay */
    .product-mobile__zoom {
        position: fixed;
        inset: 0;
        background: rgba(20, 16, 12, 0.92);
        z-index: 1060;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 16px;
    }

    .product-mobile__zoom.is-open {
        display: flex;
    }

    .product-mobile__zoom img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        display: block;
        cursor: zoom-out;
    }

    .product-mobile__zoom-close {
        position: absolute;
        top: 14px;
        right: 14px;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.12);
        border: none;
        border-radius: 50%;
        color: #FFFFFF;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 2;
    }

    .product-mobile__zoom-close:hover,
    .product-mobile__zoom-close:focus {
        background: rgba(255, 255, 255, 0.2);
    }

    body.product-mobile-zoom-active {
        position: fixed;
        left: 0;
        right: 0;
        width: 100%;
        overflow: hidden;
    }

    .product-mobile__counter {
        position: absolute;
        top: 12px;
        right: 14px;
        background: rgba(31, 31, 31, 0.55);
        color: #FFFFFF;
        padding: 4px 9px;
        font-family: 'Montserrat', sans-serif;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 0.6px;
        z-index: 2;
        pointer-events: none;
    }

    .product-mobile__dots {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 14px;
        display: flex;
        justify-content: center;
        gap: 8px;
        z-index: 2;
    }

    .product-mobile__dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.45);
        border: 1px solid rgba(0, 0, 0, 0.06);
        padding: 0;
        cursor: pointer;
        transition: background-color 120ms ease;
    }

    .product-mobile__dot.is-active {
        background: #FFFFFF;
    }

    /* ── Description */
    .product-mobile__description {
        padding: 28px 28px 32px;
        text-align: center;
    }

    .product-mobile__description-label {
        font-family: 'Montserrat', sans-serif;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 2.4px;
        text-transform: uppercase;
        color: #6B6863;
        margin-bottom: 14px;
    }

    .product-mobile__description-body {
        font-family: 'Cormorant Garamond', serif;
        font-size: 16px;
        font-style: italic;
        font-weight: 400;
        line-height: 1.7;
        color: #3A3A3A;
        margin: 0;
    }

    /* ── Booking band */
    .product-mobile__booking {
        background: #ECE8E2;
        border-top: 1px solid #E5E1DA;
        padding: 24px 24px 28px;
        text-align: center;
    }

    .product-mobile__booking-heading {
        margin: 0 0 6px;
        font-family: 'Cormorant Garamond', serif;
        font-size: 20px;
        font-style: italic;
        font-weight: 400;
        line-height: 1.3;
        color: #1F1F1F;
    }

    .product-mobile__booking-heading span {
        color: #C2825F;
    }

    .product-mobile__booking-sub {
        font-family: 'Montserrat', sans-serif;
        font-size: 11px;
        color: #6B6863;
        letter-spacing: 0.4px;
        margin-bottom: 18px;
    }

    .product-mobile__booking-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
        padding: 16px 24px;
        background: #1F1F1F;
        color: #FFFFFF;
        font-family: 'Montserrat', sans-serif;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        text-decoration: none;
        border: 1.5px solid #1F1F1F;
        border-radius: 0;
        cursor: pointer;
    }

    .product-mobile__booking-cta:hover,
    .product-mobile__booking-cta:focus {
        color: #FFFFFF;
        text-decoration: none;
    }

    .product-mobile__booking-cta .arrow {
        font-size: 14px;
        line-height: 1;
    }

    /* ── Editorial footer */
    .product-mobile__footer {
        background: #FAF7F1;
        border-top: 1px solid #E5E1DA;
        padding: 28px 28px 32px;
        text-align: center;
    }

    .product-mobile__footer-logo {
        font-family: 'Cormorant Garamond', serif;
        font-size: 24px;
        font-weight: 400;
        letter-spacing: 3px;
        color: #1F1F1F;
        margin-bottom: 8px;
        text-decoration: none;
        display: block;
    }

    .product-mobile__footer-logo:hover,
    .product-mobile__footer-logo:focus {
        color: #1F1F1F;
        text-decoration: none;
    }

    .product-mobile__footer-address {
        font-family: 'Cormorant Garamond', serif;
        font-style: italic;
        font-size: 14px;
        color: #6B6863;
        margin-bottom: 4px;
    }

    .product-mobile__footer-hours {
        font-family: 'Montserrat', sans-serif;
        font-size: 11px;
        letter-spacing: 0.4px;
        color: #6B6863;
        margin-bottom: 16px;
    }

    .product-mobile__footer-links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: baseline;
        gap: 10px;
        font-family: 'Montserrat', sans-serif;
        font-size: 10px;
        font-weight: 600;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

    .product-mobile__footer-links a {
        color: #3A3A3A;
        text-decoration: none;
    }

    .product-mobile__footer-links a:hover,
    .product-mobile__footer-links a:focus {
        color: #cc9966;
        text-decoration: none;
    }

    .product-mobile__footer-sep {
        color: #cc9966;
    }

    /* When the editorial footer is shown on these pages, the site-wide
       layout footer's widget columns (Plush Couture brand/address,
       Useful Links, Customer Service) and the payment-method icons in
       the bottom row duplicate or clutter the editorial block. Hide
       them on mobile; keep the copyright line. */
    .footer .footer-middle,
    .footer .footer-payments {
        display: none;
    }

    /* ── Dress-search sheet (same pattern as designer-sheet, but for dresses) */
    .dress-row {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 22px;
        font-family: 'Montserrat', sans-serif;
        font-size: 14px;
        color: #1F1F1F;
        background: #FFFFFF;
        border-bottom: 1px solid #E5E1DA;
        text-decoration: none;
    }

    .dress-row:hover,
    .dress-row:focus {
        background: #F9F6F0;
        color: #1F1F1F;
        text-decoration: none;
    }

    .dress-row.is-current {
        background: #F3F0EB;
    }

    .dress-row__thumb {
        flex: 0 0 48px;
        width: 48px;
        height: 60px;
        background: #EFEAE4;
        overflow: hidden;
    }

    .dress-row__thumb img {
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
        display: block;
    }

    .dress-row__body {
        flex: 1 1 auto;
        min-width: 0;
    }

    .dress-row__name {
        font-family: 'Cormorant Garamond', serif;
        font-size: 17px;
        font-style: italic;
        font-weight: 400;
        color: #1F1F1F;
        line-height: 1.1;
        display: block;
        margin-bottom: 2px;
    }

    .dress-row.is-current .dress-row__name {
        color: #cc9966;
        font-weight: 500;
    }

    .dress-row__style {
        font-family: 'Montserrat', sans-serif;
        font-size: 10px;
        letter-spacing: 0.8px;
        color: #6B6863;
    }
}
