/* Shared refinements requested from the current homepage, shop and product screenshots. */

/* Keep the five store departments together at desktop sizes. */
:root[data-store-theme] #main-content #categoryPage #subcategoryGrid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(12px, 1.35vw, 20px);
}

    :root[data-store-theme] #main-content #categoryPage #subcategoryGrid .subcategory-image {
        height: clamp(190px, 17.5vw, 250px);
        background: var(--store-sand, #f7f5ef);
    }

    :root[data-store-theme] #main-content #categoryPage #subcategoryGrid .subcategory-copy {
        display: flex;
        min-height: 78px;
        flex-direction: column;
        justify-content: center;
        padding: 13px 55px 13px 16px;
        border-top-color: var(--store-line, #e5e9e4);
    }

        :root[data-store-theme] #main-content #categoryPage #subcategoryGrid .subcategory-copy strong {
            color: var(--store-ink, #1d2925);
            font-size: 1rem;
        }

        :root[data-store-theme] #main-content #categoryPage #subcategoryGrid .subcategory-copy small {
            color: var(--store-muted, #56635b);
            font-size: .8rem;
        }

    :root[data-store-theme] #main-content #categoryPage #subcategoryGrid .subcategory-arrow {
        border-color: var(--store-line, #e5e9e4);
        background: var(--store-sand, #f7f5ef);
        color: var(--store-forest, #173c35);
    }

/* Product detail page: put the purchase information on its own clear surface. */
:root[data-store-theme] #main-content .pdp-redesign .pdp-main {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
    gap: clamp(24px, 3.2vw, 46px);
    align-items: stretch;
    padding-bottom: 32px;
}

:root[data-store-theme] #main-content .pdp-redesign .pdp-image-stage {
    min-height: 0 !important;
    aspect-ratio: 1.22 / 1;
    border-color: var(--store-line, #e5e9e4);
    border-radius: 20px;
    background: var(--store-surface, #fff);
    box-shadow: 0 8px 26px rgba(24, 41, 34, .045);
}

    :root[data-store-theme] #main-content .pdp-redesign .pdp-image-stage img {
        width: 100%;
        height: 100% !important;
        min-height: 0 !important;
        padding: clamp(22px, 3vw, 38px);
    }

:root[data-store-theme] #main-content .pdp-redesign .pdp-image-thumbs {
    width: max-content;
    max-width: 100%;
    min-height: 0;
    align-items: center;
    padding: 3px 2px 5px;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
}

:root[data-store-theme] #main-content .pdp-redesign .pdp-image-thumb {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-color: var(--store-line, #e5e9e4);
    border-radius: 12px;
    background: var(--store-surface, #fff);
}

    :root[data-store-theme] #main-content .pdp-redesign .pdp-image-thumb:focus-visible,
    :root[data-store-theme] #main-content .pdp-redesign .pdp-image-thumb.is-active {
        border-color: var(--store-green, #326a58);
        outline: 2px solid color-mix(in srgb, var(--store-green, #326a58) 22%, transparent);
        outline-offset: 1px;
    }

:root[data-store-theme] #main-content .pdp-redesign .pdp-info {
    align-self: start;
    padding: clamp(22px, 2.4vw, 32px);
    border: 1px solid var(--store-line, #e5e9e4);
    border-radius: 20px;
    background: var(--store-surface, #fff);
    box-shadow: var(--theme-shadow, 0 10px 28px rgba(23, 60, 53, .08));
}

:root[data-store-theme] #main-content .pdp-redesign .pdp-category {
    margin-bottom: 10px;
    color: var(--store-green, #326a58);
    font-size: .8rem;
    letter-spacing: .12em;
}

:root[data-store-theme] #main-content .pdp-redesign .pdp-info h1 {
    color: var(--store-ink, #1d2925);
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    line-height: 1.18;
    letter-spacing: -.035em;
}

:root[data-store-theme] #main-content .pdp-redesign .pdp-identifiers {
    gap: 7px 12px;
    margin-top: 12px;
    color: var(--store-muted, #56635b);
    font-size: .84rem;
    line-height: 1.5;
}

:root[data-store-theme] #main-content .pdp-redesign .pdp-identifier-brand {
    color: var(--store-forest, #173c35);
}

:root[data-store-theme] #main-content .pdp-redesign .pdp-rating-note {
    margin-top: 12px;
    color: var(--store-muted, #56635b);
    font-size: .9rem;
}

:root[data-store-theme] #main-content .pdp-redesign .pdp-short-description {
    margin: 16px 0 18px;
    color: var(--store-muted, #56635b);
    font-size: 1rem;
    line-height: 1.65;
}

:root[data-store-theme] #main-content .pdp-redesign .pdp-price-line {
    margin-top: 19px;
}

:root[data-store-theme] #main-content .pdp-redesign .pdp-price {
    color: var(--store-forest, #173c35);
    font-size: 2.15rem;
    font-weight: 750;
}

:root[data-store-theme] #main-content .pdp-redesign .pdp-availability,
:root[data-store-theme] #main-content .pdp-redesign .pdp-stock-quantity,
:root[data-store-theme] #main-content .pdp-redesign .pdp-shipping-note {
    color: var(--store-muted, #56635b);
    font-size: .9rem;
    line-height: 1.5;
}

:root[data-store-theme] #main-content .pdp-redesign .pdp-availability {
    color: var(--store-forest, #173c35);
}

:root[data-store-theme] #main-content .pdp-redesign .pdp-buy-row {
    gap: 11px;
    margin-top: 17px;
}

:root[data-store-theme] #main-content .pdp-redesign .pdp-add-cart {
    min-height: 48px;
    border-radius: 11px;
    font-size: .96rem;
    font-weight: 700;
}

:root[data-store-theme] #main-content .pdp-redesign .pdp-secondary-actions {
    gap: 9px;
    margin-top: 12px;
}

    :root[data-store-theme] #main-content .pdp-redesign .pdp-secondary-actions button {
        min-height: 40px;
        padding: 8px 13px;
        border-color: var(--store-line, #e5e9e4);
        border-radius: 10px;
        color: var(--store-forest, #173c35);
        font-size: .88rem;
    }

:root[data-store-theme] #main-content .pdp-redesign .pdp-delivery-note {
    margin-top: 17px;
    padding: 13px 14px;
    border-color: var(--store-line, #e5e9e4);
    border-radius: 12px;
    background: var(--store-sand, #f7f5ef);
}

    :root[data-store-theme] #main-content .pdp-redesign .pdp-delivery-note > i,
    :root[data-store-theme] #main-content .pdp-redesign .pdp-delivery-note strong {
        color: var(--store-forest, #173c35);
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-delivery-note small {
        color: var(--store-muted, #56635b);
        font-size: .82rem;
    }

:root[data-store-theme] #main-content .pdp-redesign .pdp-full-description {
    margin-top: 18px;
    border-top: 1px solid var(--store-line, #e5e9e4);
}

    :root[data-store-theme] #main-content .pdp-redesign .pdp-full-description summary {
        display: flex;
        min-height: 48px;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        color: var(--store-forest, #173c35);
        font-size: .94rem;
        font-weight: 700;
        cursor: pointer;
        list-style: none;
    }

        :root[data-store-theme] #main-content .pdp-redesign .pdp-full-description summary::-webkit-details-marker {
            display: none;
        }

        :root[data-store-theme] #main-content .pdp-redesign .pdp-full-description summary::after {
            content: "+";
            color: var(--store-green, #326a58);
            font-size: 1.25rem;
        }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-full-description[open] summary::after {
        content: "−";
    }

:root[data-store-theme] #main-content .pdp-redesign .pdp-description-section,
:root[data-store-theme] #main-content .pdp-redesign .marketplace-panel,
:root[data-store-theme] #main-content .pdp-redesign .pdp-reviews-section {
    border-color: var(--store-line, #e5e9e4);
    border-radius: 18px;
    background: var(--store-surface, #fff);
    box-shadow: var(--theme-shadow, 0 10px 28px rgba(23, 60, 53, .08));
}

:root[data-store-theme] #main-content .pdp-redesign .pdp-section-heading h2,
:root[data-store-theme] #main-content .pdp-redesign .marketplace-heading h2 {
    color: var(--store-ink, #1d2925);
    font-size: clamp(1.45rem, 2vw, 1.85rem);
}

:root[data-store-theme] #main-content .pdp-redesign .pdp-section-heading .section-kicker,
:root[data-store-theme] #main-content .pdp-redesign .marketplace-heading .section-kicker {
    color: var(--store-green, #326a58);
    font-size: .75rem;
}

:root[data-store-theme] #main-content .pdp-redesign .pdp-specifications {
    border-color: var(--store-line, #e5e9e4);
    border-radius: 14px;
    background: var(--store-surface, #fff);
}

    :root[data-store-theme] #main-content .pdp-redesign .pdp-specifications h3,
    :root[data-store-theme] #main-content .pdp-redesign .pdp-spec-group th {
        background: var(--store-sand, #f7f5ef);
        color: var(--store-forest, #173c35);
    }

:root[data-store-theme] #main-content .pdp-redesign .pdp-specifications-table {
    color: var(--store-ink, #1d2925);
    font-size: .94rem;
}

    :root[data-store-theme] #main-content .pdp-redesign .pdp-specifications-table th,
    :root[data-store-theme] #main-content .pdp-redesign .pdp-specifications-table td {
        border-color: var(--store-line, #e5e9e4);
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-specifications-table td {
        color: var(--store-ink, #1d2925);
    }

@media (max-width: 1199px) {
    :root[data-store-theme] #main-content #categoryPage #subcategoryGrid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    :root[data-store-theme] #main-content .pdp-redesign .pdp-main {
        grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
        gap: 22px;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-image-stage {
        aspect-ratio: 1.08 / 1;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-info {
        padding: 22px;
    }
}

@media (max-width: 767px) {
    :root[data-store-theme] #main-content #categoryPage #subcategoryGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

        :root[data-store-theme] #main-content #categoryPage #subcategoryGrid .subcategory-image {
            height: clamp(150px, 46vw, 210px);
        }

        :root[data-store-theme] #main-content #categoryPage #subcategoryGrid .subcategory-copy {
            min-height: 68px;
            padding: 10px 38px 10px 12px;
        }

            :root[data-store-theme] #main-content #categoryPage #subcategoryGrid .subcategory-copy strong {
                font-size: .92rem;
            }

            :root[data-store-theme] #main-content #categoryPage #subcategoryGrid .subcategory-copy small {
                font-size: .76rem;
            }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-main {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-image-stage {
        aspect-ratio: 1.08 / 1;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-info {
        padding: 21px 18px;
        border-radius: 16px;
    }

        :root[data-store-theme] #main-content .pdp-redesign .pdp-info h1 {
            font-size: clamp(1.7rem, 6vw, 2.2rem);
        }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-price {
        font-size: 1.9rem;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-description-section,
    :root[data-store-theme] #main-content .pdp-redesign .marketplace-panel,
    :root[data-store-theme] #main-content .pdp-redesign .pdp-reviews-section {
        padding: 18px 15px;
    }
}

/* PDP refinement pass: make the existing product content easier to scan. */
html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-image-stage > img {
    padding: 8px;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-short-description {
    max-width: 62ch;
    color: #52615a;
    font-size: 16px;
    line-height: 1.7;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 12px;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-retailer-wrap {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-option {
    flex: 1 1 auto;
    min-height: 112px;
    padding: 15px;
    border-color: #e2e7e1;
    background: #fff;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-copy strong {
    font-size: 15px;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-copy small {
    font-size: 13px;
    line-height: 1.45;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-confirmation {
    flex: 0 0 auto;
    min-height: 46px;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-options > .marketplace-oneumbrella {
    min-height: 112px;
    align-self: stretch;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-highlights-list > :only-child {
    max-width: 880px;
    min-height: 64px;
    padding: 17px 19px;
    font-size: 16px;
    line-height: 1.65;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-description-section {
    padding: clamp(22px, 3vw, 38px);
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-full-description {
    border-top: 0;
}

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-full-description summary {
        min-height: 58px;
        padding: 15px 18px;
        border: 1px solid #e2e7e1;
        border-radius: 12px;
        background: #f4f5f1;
        font-size: 16px;
        font-weight: 700;
        transition: background-color .18s ease, border-color .18s ease;
    }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-full-description summary:hover {
            border-color: #cbd8ce;
            background: #edf2eb;
        }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-full-description[open] summary {
        border-radius: 12px 12px 0 0;
        background: #fff;
    }

html:has(#main-content .pdp-redesign) .store-header {
    border-color: #e2e7e1;
    box-shadow: 0 3px 14px rgba(29, 41, 37, .04);
}

html:has(#main-content .pdp-redesign) .store-footer {
    border-color: #e2e7e1;
    background: #f1f3ef !important;
}

html:has(#main-content .pdp-redesign) #floatingContact,
html:has(#main-content .pdp-redesign) #siteBotToggle {
    color: #fff;
    background: #173c35;
}

    html:has(#main-content .pdp-redesign) #floatingContact:hover,
    html:has(#main-content .pdp-redesign) #siteBotToggle:hover {
        background: #24584c;
    }

@media (max-width: 1024px) {
    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Make store comparison read like the reference: retailer prices beside the
   current store listing, while keeping the existing feedback controls inline. */
@media (min-width: 1025px) {
    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-options {
        grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr) !important;
        grid-template-rows: repeat(2, minmax(92px, auto));
        align-items: stretch;
        gap: 12px;
    }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-options > .marketplace-retailer-wrap:first-child {
            grid-column: 1;
            grid-row: 1;
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-options > .marketplace-retailer-wrap:nth-child(2) {
            grid-column: 1;
            grid-row: 2;
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-options > .marketplace-oneumbrella {
            grid-column: 2;
            grid-row: 1 / span 2;
            min-height: 100%;
            padding: 22px;
            border-color: #cfe1dc;
            background: #f5faf8;
        }
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-price-line {
    width: fit-content;
    min-width: min(100%, 245px);
    padding: 10px 14px;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-price-enquiry {
    width: fit-content;
    margin: 8px 0;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-heading {
    align-items: end;
    gap: 18px;
    margin-bottom: 16px;
}

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-heading h2 {
        font-size: clamp(21px, 1.6vw, 25px) !important;
    }

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-oneumbrella .marketplace-copy strong {
    font-size: 17px;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-oneumbrella .marketplace-store-price {
    display: block;
    margin: 7px 0 0;
    color: #126b63;
    font-size: 19px;
    font-weight: 750;
}

@media (max-width: 1024px) {
    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-options {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        grid-template-rows: auto;
    }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-options > * {
            grid-column: auto !important;
            grid-row: auto !important;
        }
}

@media (max-width: 640px) {
    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-options {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}

/* Reference-matched PDP layout: header rows, purchase actions, and details grid. */
html:has(#main-content .pdp-redesign) .announcement {
    background: #075f57 !important;
    color: #fff;
}

    html:has(#main-content .pdp-redesign) .announcement a,
    html:has(#main-content .pdp-redesign) .announcement span {
        color: #fff;
    }

@media (min-width: 992px) {
    html:has(#main-content .pdp-redesign) .store-header {
        display: grid;
        grid-template-columns: minmax(185px, 220px) minmax(280px, 1fr) minmax(270px, 320px);
        grid-template-rows: 72px 48px;
        align-items: center;
        gap: 0 18px;
        padding: 0 max(24px, calc((100vw - 1214px) / 2));
        border-bottom: 1px solid #e4e8e7;
        background: linear-gradient(#fff 0 72px, #f5f7f7 72px 100%);
        box-shadow: none;
    }

        html:has(#main-content .pdp-redesign) .store-header .container.header-main,
        html:has(#main-content .pdp-redesign) .store-header .container.search-row {
            display: contents;
        }

        html:has(#main-content .pdp-redesign) .store-header .store-brand {
            grid-column: 1;
            grid-row: 1;
            justify-self: start;
            margin: 0;
        }

        html:has(#main-content .pdp-redesign) .store-header .store-nav {
            grid-column: 1 / 4;
            grid-row: 2;
            justify-self: start;
            min-height: 48px;
            gap: 4px;
            overflow: visible;
        }

            html:has(#main-content .pdp-redesign) .store-header .store-nav > a,
            html:has(#main-content .pdp-redesign) .store-header .store-nav .nav-category > a {
                min-height: 36px;
                padding: 8px 14px;
                border-radius: 999px;
                color: #1d2925;
                font-size: 14px;
                font-weight: 650;
            }

                html:has(#main-content .pdp-redesign) .store-header .store-nav > a:hover,
                html:has(#main-content .pdp-redesign) .store-header .store-nav .nav-category > a:hover {
                    background: #e8f2ef;
                    color: #08766d;
                }

        html:has(#main-content .pdp-redesign) .store-header .header-actions {
            grid-column: 3;
            grid-row: 1;
            justify-self: end;
            gap: 16px;
        }

        html:has(#main-content .pdp-redesign) .store-header .store-search {
            grid-column: 2;
            grid-row: 1;
            width: 100%;
            max-width: 520px;
            justify-self: center;
            border-color: #d8dddf;
            border-radius: 16px;
            background: #fff;
            box-shadow: none;
        }

            html:has(#main-content .pdp-redesign) .store-header .store-search button {
                min-width: 54px;
                border-radius: 12px;
                background: #08776d;
            }

        html:has(#main-content .pdp-redesign) .store-header .trust-note {
            grid-column: 3;
            grid-row: 2;
            justify-self: end;
            margin: 0;
        }
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign {
    width: min(1180px, calc(100% - 48px));
    padding-top: 12px;
    padding-bottom: 42px;
    color: #17212d;
    --store-forest: #08776d;
    --store-green: #08776d;
    --store-ink: #17212d;
    --store-muted: #586572;
    --store-line: #dce2e5;
    --store-sand: #f2f4f5;
    --store-surface: #fff;
    --ui-surface-soft: #f2f4f5;
    --ui-line: #dce2e5;
}

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-breadcrumb {
        min-height: 36px;
        margin-bottom: 10px;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-main {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr);
        align-items: start;
        gap: 32px;
        margin-bottom: 22px;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-image-stage {
        aspect-ratio: 1.39 / 1;
        border: 1px solid #dfe4e6;
        border-radius: 13px;
        background: #f1f3f4 !important;
        box-shadow: none;
    }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-image-stage > img {
            max-height: 430px;
            padding: 8px;
            object-fit: contain;
        }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-info {
        display: grid;
        grid-template-columns: minmax(78px, .65fr) minmax(132px, 1.7fr) minmax(110px, 1.1fr) minmax(92px, .9fr);
        align-content: start;
        align-items: center;
        gap: 9px 8px;
        padding: 2px 0 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-info > :is(.pdp-category, h1, .pdp-identifiers, .pdp-rating-note, .pdp-short-description, .pdp-price-line, .pdp-price-enquiry, .pdp-related-options, .pdp-availability, .pdp-stock-quantity, .pdp-shipping-note, .pdp-cart-quantity, .pdp-delivery-note) {
            grid-column: 1 / -1;
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-info .pdp-category {
            margin: 0 0 1px;
            color: #08776d;
            font-size: 11px;
            font-weight: 750;
            letter-spacing: .1em;
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-info h1 {
            max-width: 28ch;
            margin: 0;
            color: #17212d;
            font-size: clamp(24px, 2vw, 29px) !important;
            line-height: 1.18;
            letter-spacing: -.025em;
        }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-identifiers {
        margin: 0;
        color: #7b8791;
        font-size: 11px;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-rating-note:not(:empty) {
        display: block;
        width: fit-content;
        margin: 0;
        color: #bd8116;
        font-size: 13px;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-short-description {
        max-width: 60ch;
        margin: 4px 0 7px;
        color: #485562;
        font-size: 14px !important;
        line-height: 1.5;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-price-line {
        display: flex;
        width: auto;
        min-width: 0;
        min-height: 64px;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px 12px;
        margin: 0;
        padding: 10px 14px;
        border: 1px solid #dce8e5;
        border-radius: 11px;
        background: #edf4f5;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-price {
        color: #116b63;
        font-size: 25px !important;
        font-weight: 750;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-price-line .pdp-old-price,
    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-price-line .pdp-savings {
        font-size: 12px;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-related-options {
        margin: 2px 0 4px;
    }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-related-options h2,
        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-variant-group h3 {
            margin: 0 0 7px;
            color: #263544;
            font-size: 13px;
            font-weight: 700;
        }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-variant-chip {
        min-height: 34px;
        padding: 7px 11px;
        border: 1px solid #d8dfe2;
        border-radius: 9px;
        background: #fff;
        color: #263544;
        font-size: 12px;
    }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-variant-chip.is-selected {
            border-color: #08776d;
            background: #08776d;
            color: #fff;
        }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-variant-swatch {
        min-width: 78px;
        border-color: #d8dfe2;
        border-radius: 10px;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-buy-row,
    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-secondary-actions {
        display: contents;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign #productQuantityPicker {
        grid-column: 1;
        grid-row: auto;
        width: 100%;
        min-height: 42px;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign #productAddCart,
    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign #productPriceContact {
        grid-column: 2;
        grid-row: auto;
        min-width: 0;
        min-height: 42px;
        border-radius: 9px;
        background: #08776d !important;
        color: #fff;
        font-size: 13px;
        font-weight: 700;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign #productWishlist,
    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign #productCompare {
        grid-column: auto;
        grid-row: auto;
        min-width: 0;
        min-height: 42px;
        justify-content: center;
        padding: 8px 9px;
        border: 1px solid #d7dfe2;
        border-radius: 9px;
        background: #fff;
        color: #273543;
        font-size: 12px;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign #productWishlist {
        grid-column: 3;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign #productCompare {
        grid-column: 4;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-delivery-note {
        margin-top: 2px;
        padding: 12px 14px;
        border-radius: 10px;
        background: #f1f4f5 !important;
    }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-delivery-note strong {
            font-size: 12px;
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-delivery-note small {
            font-size: 11px;
        }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-panel {
        padding: 20px;
        border-radius: 14px;
        background: #f5f7f8;
        box-shadow: none;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-heading h2 {
        font-size: 21px !important;
    }

@media (min-width: 1025px) {
    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-options {
        grid-template-columns: minmax(0, .78fr) minmax(0, .78fr) minmax(0, 1.2fr) !important;
        grid-template-rows: minmax(110px, auto);
        align-items: stretch;
        gap: 10px;
    }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-options > * {
            grid-column: auto !important;
            grid-row: auto !important;
            min-height: 110px;
            align-self: stretch;
        }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-option {
        min-height: 110px;
        padding: 11px;
        border-radius: 10px;
        background: #fff;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-options > .marketplace-oneumbrella {
        border-color: #b9ded4;
        background: #e7f5f1;
    }
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-confirmation {
    margin-top: 6px;
    padding: 7px 9px;
    font-size: 11px;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-section-heading h2 {
    font-size: 22px !important;
}

html:has(#main-content .pdp-redesign) #main-content #productContent:not(.d-none) {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(250px, .95fr);
    align-items: start;
    gap: 16px;
}

    html:has(#main-content .pdp-redesign) #main-content #productContent:not(.d-none) > .pdp-main,
    html:has(#main-content .pdp-redesign) #main-content #productContent:not(.d-none) > .marketplace-panel,
    html:has(#main-content .pdp-redesign) #main-content #productContent:not(.d-none) > .pdp-highlights-section {
        grid-column: 1 / -1;
    }

    html:has(#main-content .pdp-redesign) #main-content #productContent:not(.d-none) > .pdp-description-section {
        grid-column: 1;
        margin: 0;
        padding: 18px;
        border-radius: 14px;
        box-shadow: none;
    }

    html:has(#main-content .pdp-redesign) #main-content #productContent:not(.d-none) > .pdp-reviews-section {
        grid-column: 2;
        margin: 0;
        padding: 18px;
        border-radius: 14px;
        box-shadow: none;
    }

html:has(#main-content .pdp-redesign) #main-content .pdp-specifications h3 {
    font-size: 18px;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-specifications-table th,
html:has(#main-content .pdp-redesign) #main-content .pdp-specifications-table td {
    padding: 10px 12px;
    font-size: 13px;
}

@media (max-width: 991px) {
    html:has(#main-content .pdp-redesign) #main-content #productContent:not(.d-none) {
        grid-template-columns: minmax(0, 1fr);
    }

        html:has(#main-content .pdp-redesign) #main-content #productContent:not(.d-none) > :is(.pdp-main, .marketplace-panel, .pdp-highlights-section, .pdp-description-section, .pdp-reviews-section) {
            grid-column: 1;
        }
}

@media (max-width: 767px) {
    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign {
        width: calc(100% - 28px);
    }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-info {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign #productQuantityPicker {
            grid-column: 1;
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign #productAddCart,
        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign #productPriceContact {
            grid-column: 2;
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign #productWishlist {
            grid-column: 1;
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign #productCompare {
            grid-column: 2;
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-panel {
            padding: 15px;
        }
}

@media (max-width: 767px) {
    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-options {
        grid-template-columns: minmax(0, 1fr);
    }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-option,
        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-options > .marketplace-oneumbrella {
            min-height: 88px;
        }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-description-section {
        padding: 19px 16px;
    }
}

@media (max-width: 359px) {
    :root[data-store-theme] #main-content #categoryPage #subcategoryGrid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    :root[data-store-theme] #main-content #categoryPage .subcategory-card,
    :root[data-store-theme] #main-content .pdp-redesign .pdp-image-thumb {
        transition: none !important;
    }
}

/* Product detail page — premium appliance retail, scoped to this page only. */
:root[data-store-theme] #main-content .pdp-redesign {
    width: min(1320px, calc(100% - 40px));
    max-width: 1320px;
    padding-top: 24px;
    padding-bottom: 72px;
}

    :root[data-store-theme] #main-content .pdp-redesign .pdp-breadcrumb {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0 0 22px;
        color: var(--store-muted, #59645f);
        font-size: 13px;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-main {
        display: grid;
        grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
        gap: clamp(26px, 4vw, 56px);
        align-items: start;
        margin: 0 0 26px;
        padding: clamp(22px, 3vw, 40px);
        border: 1px solid var(--store-line, #ead9d8);
        border-radius: 22px;
        background: var(--store-surface, #fff);
        box-shadow: 0 14px 38px rgba(64, 28, 35, .06);
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-gallery {
        position: sticky;
        top: 22px;
        min-width: 0;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-image-stage {
        position: relative;
        display: grid;
        min-height: 0 !important;
        aspect-ratio: 1.12 / 1;
        place-items: center;
        overflow: hidden;
        border: 0;
        border-radius: 16px;
        background: var(--store-sand, #f5f5f1);
        box-shadow: inset 0 0 0 1px rgba(35, 45, 39, .045);
    }

        :root[data-store-theme] #main-content .pdp-redesign .pdp-image-stage > img {
            width: 100%;
            height: 100% !important;
            min-height: 0 !important;
            padding: clamp(22px, 4vw, 54px);
            object-fit: contain;
        }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-product-badge {
        top: 18px;
        left: 18px;
        border-radius: 999px;
        padding: 7px 11px;
        background: var(--store-surface, #fff);
        color: var(--store-forest, #742d3b);
        font-size: 12px;
        font-weight: 700;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-zoom-toggle {
        right: 14px;
        bottom: 14px;
        min-height: 42px;
        padding: 8px 12px;
        border: 1px solid var(--store-line, #e5e9e4);
        border-radius: 999px;
        background: rgba(255,255,255,.94);
        color: var(--store-ink, #30272a);
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-image-thumbs {
        display: flex;
        width: 100%;
        gap: 10px;
        overflow-x: auto;
        margin-top: 14px;
        padding: 2px 2px 5px;
        border: 0 !important;
        background: transparent !important;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-image-thumb {
        flex: 0 0 72px;
        width: 72px;
        height: 72px;
        border: 1px solid var(--store-line, #e5e9e4);
        border-radius: 12px;
        background: var(--store-surface, #fff);
    }

        :root[data-store-theme] #main-content .pdp-redesign .pdp-image-thumb.is-active,
        :root[data-store-theme] #main-content .pdp-redesign .pdp-image-thumb:focus-visible {
            border-color: var(--store-forest, #742d3b);
            box-shadow: 0 0 0 2px color-mix(in srgb, var(--store-forest, #742d3b) 18%, transparent);
        }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-gallery-note {
        margin: 9px 2px 0;
        color: var(--store-muted, #59645f);
        font-size: 12px;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-info {
        align-self: start;
        min-width: 0;
        padding: 4px 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-category {
        margin: 0 0 12px;
        color: var(--store-forest, #742d3b);
        font-size: 12px;
        font-weight: 750;
        letter-spacing: .12em;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-info h1 {
        max-width: 20ch;
        margin: 0;
        color: var(--store-ink, #30272a);
        font-size: clamp(30px, 3vw, 42px);
        font-weight: 650;
        line-height: 1.12;
        letter-spacing: -.035em;
        overflow-wrap: anywhere;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-identifiers {
        display: flex;
        flex-wrap: wrap;
        gap: 6px 12px;
        margin-top: 13px;
        color: var(--store-muted, #59645f);
        font-size: 13px;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-rating-note {
        display: inline-flex;
        min-height: 40px;
        align-items: center;
        margin-top: 8px;
        color: var(--store-forest, #742d3b);
        font-size: 13px;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-short-description {
        max-width: 60ch;
        margin: 20px 0;
        color: var(--store-muted, #515b56);
        font-size: 16px;
        line-height: 1.65;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-price-line {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 10px 14px;
        margin: 20px 0 4px;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-price {
        color: var(--store-forest, #742d3b);
        font-size: clamp(28px, 3vw, 36px);
        font-weight: 750;
        letter-spacing: -.025em;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-old-price {
        color: var(--store-muted, #68716c);
        font-size: 16px;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-savings {
        border-radius: 999px;
        padding: 5px 9px;
        background: var(--store-sand, #f5f5f1);
        color: var(--store-forest, #742d3b);
        font-size: 12px;
        font-weight: 700;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-shipping-note,
    :root[data-store-theme] #main-content .pdp-redesign .pdp-availability,
    :root[data-store-theme] #main-content .pdp-redesign .pdp-stock-quantity {
        color: var(--store-muted, #59645f);
        font-size: 13px;
        line-height: 1.55;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-availability {
        color: var(--store-forest, #326a58);
        font-weight: 700;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-related-options {
        margin: 18px 0;
        padding: 16px;
        border: 1px solid var(--store-line, #e5e9e4);
        border-radius: 14px;
        background: var(--store-surface, #fff);
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-buy-row {
        display: grid;
        grid-template-columns: minmax(104px, 132px) minmax(0, 1fr);
        gap: 12px;
        margin-top: 18px;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-quantity-picker,
    :root[data-store-theme] #main-content .pdp-redesign .pdp-quantity-picker button,
    :root[data-store-theme] #main-content .pdp-redesign .pdp-quantity-picker input {
        min-height: 50px;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-add-cart {
        min-height: 52px;
        border-radius: 12px;
        font-size: 15px;
        font-weight: 750;
        box-shadow: 0 8px 18px rgba(90, 35, 48, .15);
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-secondary-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 12px;
    }

        :root[data-store-theme] #main-content .pdp-redesign .pdp-secondary-actions button {
            min-height: 44px;
            padding: 9px 14px;
            border: 1px solid var(--store-line, #e5e9e4);
            border-radius: 11px;
            background: var(--store-surface, #fff);
            color: var(--store-ink, #30272a);
        }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-delivery-note {
        display: flex;
        gap: 12px;
        margin-top: 18px;
        padding: 15px;
        border: 1px solid var(--store-line, #e5e9e4);
        border-radius: 14px;
        background: var(--store-sand, #f5f5f1);
    }

        :root[data-store-theme] #main-content .pdp-redesign .pdp-delivery-note strong {
            color: var(--store-ink, #30272a);
        }

        :root[data-store-theme] #main-content .pdp-redesign .pdp-delivery-note small {
            color: var(--store-muted, #59645f);
        }

    :root[data-store-theme] #main-content .pdp-redesign .marketplace-panel,
    :root[data-store-theme] #main-content .pdp-redesign .pdp-description-section,
    :root[data-store-theme] #main-content .pdp-redesign .pdp-reviews-section {
        margin: 22px 0 0;
        padding: clamp(20px, 3vw, 32px);
        border: 1px solid var(--store-line, #ead9d8);
        border-radius: 18px;
        background: var(--store-surface, #fff);
        box-shadow: 0 8px 26px rgba(64, 28, 35, .045);
    }

    :root[data-store-theme] #main-content .pdp-redesign .marketplace-heading,
    :root[data-store-theme] #main-content .pdp-redesign .pdp-section-heading {
        margin-bottom: 18px;
    }

        :root[data-store-theme] #main-content .pdp-redesign .marketplace-heading h2,
        :root[data-store-theme] #main-content .pdp-redesign .pdp-section-heading h2 {
            margin: 5px 0 0;
            color: var(--store-ink, #30272a);
            font-size: clamp(22px, 2.4vw, 30px);
            line-height: 1.2;
        }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-highlights-section {
        margin: 28px 0 0;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-highlights-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px 20px;
    }

        :root[data-store-theme] #main-content .pdp-redesign .pdp-highlights-list li {
            padding: 12px 14px;
            border: 1px solid var(--store-line, #e5e9e4);
            border-radius: 12px;
            background: var(--store-surface, #fff);
        }

        :root[data-store-theme] #main-content .pdp-redesign .pdp-highlights-list > :only-child {
            grid-column: 1 / -1;
        }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-full-description {
        margin-top: 16px;
        border-top: 1px solid var(--store-line, #e5e9e4);
    }

        :root[data-store-theme] #main-content .pdp-redesign .pdp-full-description summary {
            display: flex;
            min-height: 52px;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            padding: 10px 4px;
            color: var(--store-ink, #30272a);
            font-size: 15px;
            font-weight: 700;
            cursor: pointer;
        }

        :root[data-store-theme] #main-content .pdp-redesign .pdp-full-description[open] .pdp-description {
            padding: 10px 4px 20px;
            color: var(--store-muted, #515b56);
            line-height: 1.75;
        }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-specifications-table {
        width: 100%;
        border-collapse: collapse;
    }

        :root[data-store-theme] #main-content .pdp-redesign .pdp-specifications-table th,
        :root[data-store-theme] #main-content .pdp-redesign .pdp-specifications-table td {
            padding: 13px 15px;
            border-bottom: 1px solid var(--store-line, #e5e9e4);
            text-align: left;
        }

        :root[data-store-theme] #main-content .pdp-redesign .pdp-specifications-table th {
            width: 32%;
            background: var(--store-sand, #f5f5f1);
        }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-reviews-section {
        margin-top: 22px;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-review-editor,
    :root[data-store-theme] #main-content .pdp-redesign .pdp-review-card {
        border-color: var(--store-line, #e5e9e4);
        border-radius: 14px;
    }

    :root[data-store-theme] #main-content .pdp-redesign :is(button, a, summary):focus-visible {
        outline: 3px solid var(--store-forest, #742d3b);
        outline-offset: 3px;
    }
/* Keep shared chrome visually aligned on the PDP without changing other routes. */
html:has(#main-content .pdp-redesign) .store-header {
    border-bottom: 1px solid var(--store-line, #ead9d8);
    background: var(--store-surface, #fff);
    box-shadow: 0 5px 18px rgba(64, 28, 35, .045);
}

html:has(#main-content .pdp-redesign) .store-footer {
    border-top: 1px solid var(--store-line, #ead9d8);
    background: var(--store-sand, #f5f5f1);
}

html:has(#main-content .pdp-redesign) #floatingContact,
html:has(#main-content .pdp-redesign) #siteBotToggle {
    min-width: 48px;
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(42, 30, 33, .16);
}
/* Collapse empty metadata slots and let supplier detail content use the card width. */
:root[data-store-theme] #main-content .pdp-redesign .pdp-rating-note:empty,
:root[data-store-theme] #main-content .pdp-redesign .pdp-identifiers:empty {
    display: none;
}

:root[data-store-theme] #main-content .pdp-redesign .pdp-description-section {
    overflow: hidden;
}

:root[data-store-theme] #main-content .pdp-redesign .pdp-full-description[open] .pdp-description {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 18px 2px 4px;
    color: var(--store-ink, #30272a);
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
    overflow-wrap: anywhere;
}

:root[data-store-theme] #main-content .pdp-redesign .pdp-description > * {
    width: auto;
    max-width: 100%;
}

:root[data-store-theme] #main-content .pdp-redesign .pdp-description :is(.container, .container-fluid, .row, [class*="col-"]) {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    margin-left: 0;
}

:root[data-store-theme] #main-content .pdp-redesign .pdp-description :is(p, h1, h2, h3, h4, h5, ul, ol, table) {
    text-align: left;
}

:root[data-store-theme] #main-content .pdp-redesign .pdp-description img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 16px auto;
    object-fit: contain;
}

:root[data-store-theme] #main-content .pdp-redesign .pdp-description table {
    border-collapse: collapse;
    table-layout: auto;
}

:root[data-store-theme] #main-content .pdp-redesign .pdp-description :is(th, td) {
    padding: 10px 12px;
    border: 1px solid var(--store-line, #ead9d8);
}

:root[data-store-theme] #main-content .pdp-redesign .product-story-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: 16px;
    align-items: start;
}

    :root[data-store-theme] #main-content .pdp-redesign .product-story-images img {
        width: 100%;
        height: auto;
        border-radius: 12px;
        background: var(--store-sand, #f5f5f1);
    }

@media (max-width: 991px) {
    :root[data-store-theme] #main-content .pdp-redesign .pdp-main {
        grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
        gap: 22px;
        padding: 22px;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-gallery {
        position: static;
    }
}

@media (max-width: 767px) {
    :root[data-store-theme] #main-content .pdp-redesign {
        width: calc(100% - 28px);
        padding-top: 16px;
        padding-bottom: 48px;
    }

        :root[data-store-theme] #main-content .pdp-redesign .pdp-main {
            grid-template-columns: minmax(0, 1fr);
            gap: 18px;
            padding: 16px;
            border-radius: 17px;
        }

        :root[data-store-theme] #main-content .pdp-redesign .pdp-image-stage {
            aspect-ratio: 1 / .9;
        }

            :root[data-store-theme] #main-content .pdp-redesign .pdp-image-stage > img {
                padding: 22px;
            }

        :root[data-store-theme] #main-content .pdp-redesign .pdp-info h1 {
            font-size: clamp(28px, 7vw, 36px);
        }

        :root[data-store-theme] #main-content .pdp-redesign .pdp-buy-row {
            grid-template-columns: minmax(0, 1fr);
        }

        :root[data-store-theme] #main-content .pdp-redesign .pdp-highlights-list {
            grid-template-columns: minmax(0, 1fr);
        }

        :root[data-store-theme] #main-content .pdp-redesign .marketplace-panel,
        :root[data-store-theme] #main-content .pdp-redesign .pdp-description-section,
        :root[data-store-theme] #main-content .pdp-redesign .pdp-reviews-section {
            padding: 18px 16px;
        }
}

@media (max-width: 480px) {
    :root[data-store-theme] #main-content .pdp-redesign .pdp-specifications-table th,
    :root[data-store-theme] #main-content .pdp-redesign .pdp-specifications-table td {
        padding: 10px 9px;
    }

    :root[data-store-theme] #main-content .pdp-redesign .pdp-specifications-table th {
        width: 40%;
    }
}

@media (max-width: 420px) {
    html:has(#main-content .pdp-redesign) #floatingContact,
    html:has(#main-content .pdp-redesign) #siteBotToggle {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Final PDP tuning: restore compact editorial proportions and preserve spec grids. */
html:has(#main-content .pdp-redesign) body,
html:has(#main-content .pdp-redesign) #form1,
html:has(#main-content .pdp-redesign) #main-content {
    background-color: #f7f8f6;
}

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign {
        width: min(1296px, calc(100% - 40px));
        padding-top: 18px;
        padding-bottom: 56px;
        --store-forest: #173c35;
        --store-green: #326a58;
        --store-mint: #e7f0e9;
        --store-sand: #f4f5f1;
        --store-ink: #1d2925;
        --store-muted: #66736c;
        --store-line: #e2e7e1;
        --store-surface: #fff;
        --ui-surface-soft: #f4f5f1;
        --ui-line: #e2e7e1;
    }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-image-stage {
            border-color: #e2e7e1 !important;
            background: #f4f5f1 !important;
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-delivery-note {
            border-color: #e2e7e1 !important;
            background: #f4f5f1 !important;
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign :is(.pdp-description-section, .marketplace-panel, .pdp-reviews-section) {
            border-color: #e2e7e1 !important;
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-add-cart {
            border-color: #173c35 !important;
            background: #173c35 !important;
            box-shadow: 0 5px 14px rgba(23, 60, 53, .14);
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-main {
            grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
            gap: clamp(30px, 4vw, 60px);
            margin-bottom: 24px;
            padding: 0;
            border: 0;
            border-radius: 0;
            background: transparent;
            box-shadow: none;
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-gallery {
            position: static;
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-image-stage {
            aspect-ratio: 1.42 / 1;
            border: 1px solid var(--store-line, #e6e9e4);
            border-radius: 16px;
            background: var(--store-sand, #f4f5f1);
            box-shadow: none;
        }

            html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-image-stage > img {
                width: 100%;
                height: 100% !important;
                max-height: 440px;
                padding: clamp(20px, 3vw, 36px);
            }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-info {
            padding: 8px 0;
        }

            html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-info h1 {
                max-width: none;
                font-size: clamp(25px, 2.1vw, 31px);
                line-height: 1.22;
                letter-spacing: -.025em;
            }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-short-description {
            margin: 14px 0 16px;
            font-size: 15px;
            line-height: 1.6;
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-price {
            font-size: 30px;
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-buy-row {
            margin-top: 14px;
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-delivery-note {
            margin-top: 14px;
            background: var(--store-sand, #f4f5f1);
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-description-section {
            padding: 24px;
            background: #fff;
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-full-description[open] .pdp-description {
            max-width: none;
            width: 100%;
            margin: 0;
            padding: 18px 0 0;
            font-size: 15px;
            text-align: left;
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-description .container,
        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-description .container-fluid {
            width: 100%;
            max-width: 100%;
            padding-right: 0;
            padding-left: 0;
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-description .row {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
            align-items: start;
            gap: 16px;
            width: 100%;
            margin: 0;
        }

            html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-description .row > [class*="col-"] {
                width: auto !important;
                max-width: 100%;
                min-width: 0;
                padding: 0;
            }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-description img {
            display: block;
            width: auto;
            max-width: 100%;
            max-height: 320px;
            height: auto;
            margin: 12px auto;
            object-fit: contain;
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-description :is(p, h1, h2, h3, h4, h5, li) {
            max-width: none;
            text-align: left;
        }

@media (max-width: 767px) {
    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign {
        width: calc(100% - 28px);
    }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-main {
            grid-template-columns: minmax(0, 1fr);
            gap: 18px;
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-image-stage {
            aspect-ratio: 1.15 / 1;
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-description-section {
            padding: 18px;
        }
}

/* Smaller, calmer type scale for product content. */
html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-info h1 {
    font-size: clamp(23px, 1.85vw, 28px) !important;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign :is(.marketplace-heading h2, .pdp-section-heading h2) {
    font-size: clamp(22px, 1.65vw, 26px) !important;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-price {
    font-size: 27px !important;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign :is(.pdp-short-description, .pdp-description, .pdp-highlights-list li) {
    font-size: 14px !important;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign :is(.marketplace-copy strong, .pdp-full-description summary) {
    font-size: 14px !important;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign :is(.marketplace-copy small, .marketplace-confirmation, .marketplace-footnote, .pdp-gallery-note, .pdp-price-note) {
    font-size: 12px !important;
}

@media (max-width: 767px) {
    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-info h1 {
        font-size: 24px !important;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign :is(.marketplace-heading h2, .pdp-section-heading h2) {
        font-size: 22px !important;
    }
}

/* Borrow the reference's product-first hierarchy using the existing live fields. */
html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-main {
    align-items: start;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-image-stage {
    overflow: hidden;
    border-radius: 14px;
    background: #f1f3f2 !important;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-product-badge {
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 6px 12px;
    border-radius: 999px;
    background: #2f8a55;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-info h1 {
    max-width: 23ch;
    line-height: 1.18;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-rating-note {
    width: fit-content;
    margin-top: 8px;
    color: #a86b17;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-short-description {
    max-width: 58ch;
    margin: 12px 0 14px;
    color: #46534d;
    line-height: 1.55;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-price-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin: 8px 0 4px;
    padding: 12px 14px;
    border: 1px solid #e0e8e5;
    border-radius: 12px;
    background: #f3f7f6;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-price {
    color: #126b63;
    font-size: 26px !important;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-old-price {
    color: #68736e;
    font-size: 14px;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-savings {
    padding: 4px 8px;
    border-radius: 999px;
    background: #e2f3eb;
    color: #16644f;
    font-size: 12px;
    font-weight: 700;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-availability {
    width: fit-content;
    margin: 8px 0 0;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e8f4ec;
    color: #267447;
    font-size: 12px;
    font-weight: 700;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-related-options {
    margin: 12px 0 8px;
}

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-related-options h2,
    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-variant-group h3 {
        margin: 0 0 8px;
        color: #34443d;
        font-size: 13px;
        font-weight: 700;
    }

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign :is(.pdp-related-options-grid, .pdp-variant-choices) {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-variant-chip {
    min-height: 38px;
    padding: 8px 12px;
    border: 1px solid #d9e2de;
    border-radius: 9px;
    background: #fff;
    color: #34443d;
    font-size: 13px;
}

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-variant-chip.is-selected {
        border-color: #147d73;
        background: #147d73;
        color: #fff;
    }

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-variant-swatch {
    min-width: 92px;
    padding: 9px;
    border-color: #d9e2de;
    border-radius: 10px;
}

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-variant-swatch.is-selected {
        border-color: #147d73;
        box-shadow: 0 0 0 2px rgba(20, 125, 115, .14);
    }

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-buy-row {
    grid-template-columns: minmax(102px, 128px) minmax(180px, 1fr);
    gap: 10px;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-secondary-actions button {
    min-height: 42px;
    background: #fff;
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-delivery-note {
    margin-top: 12px;
    border-radius: 11px;
}

@media (max-width: 767px) {
    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-buy-row {
        grid-template-columns: minmax(90px, 112px) minmax(0, 1fr);
    }
}

/* PDP reference composition: match the supplied Khaitan product-page layout. */
html:has(#main-content .pdp-redesign) body,
html:has(#main-content .pdp-redesign) #form1,
html:has(#main-content .pdp-redesign) #main-content {
    background-color: #fff !important;
}

html:has(#main-content .pdp-redesign) .announcement {
    min-height: 38px;
    background: #075f57 !important;
}

html:has(#main-content .pdp-redesign) .store-header {
    box-shadow: none !important;
}

@media (min-width: 992px) {
    html:has(#main-content .pdp-redesign) .store-header {
        display: grid;
        grid-template-columns: minmax(190px, 230px) minmax(300px, 1fr) minmax(245px, 310px);
        grid-template-rows: 76px 48px;
        gap: 0 20px;
        align-items: center;
        padding: 0 max(28px, calc((100vw - 1210px) / 2));
        background: linear-gradient(#fff 0 76px, #f6f8f8 76px 100%);
        border-bottom: 1px solid #e3e8e7;
    }

        html:has(#main-content .pdp-redesign) .store-header .container.header-main,
        html:has(#main-content .pdp-redesign) .store-header .container.search-row {
            display: contents;
        }

        html:has(#main-content .pdp-redesign) .store-header .store-brand {
            grid-area: 1 / 1;
            margin: 0;
        }

        html:has(#main-content .pdp-redesign) .store-header .store-nav {
            grid-area: 2 / 1 / 3 / 4;
            min-height: 48px;
            gap: 4px;
            overflow: visible;
        }

            html:has(#main-content .pdp-redesign) .store-header .store-nav > a,
            html:has(#main-content .pdp-redesign) .store-header .store-nav .nav-category > a {
                min-height: 36px;
                padding: 8px 13px;
                border-radius: 999px;
                color: #192621;
                font-size: 13px;
            }

                html:has(#main-content .pdp-redesign) .store-header .store-nav > a:hover,
                html:has(#main-content .pdp-redesign) .store-header .store-nav .nav-category > a:hover {
                    background: #e8f2ef;
                    color: #075f57;
                }

        html:has(#main-content .pdp-redesign) .store-header .header-actions {
            grid-area: 1 / 3;
            justify-self: end;
            gap: 15px;
        }

        html:has(#main-content .pdp-redesign) .store-header .store-search {
            grid-area: 1 / 2;
            width: min(100%, 520px);
            justify-self: center;
            border: 1px solid #d9e0e1;
            border-radius: 16px;
            box-shadow: none;
        }

            html:has(#main-content .pdp-redesign) .store-header .store-search button {
                min-width: 52px;
                border-radius: 12px;
                background: #08776d;
            }

        html:has(#main-content .pdp-redesign) .store-header .trust-note {
            grid-area: 2 / 3;
            justify-self: end;
            margin: 0;
        }
}

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign {
    width: min(1210px, calc(100% - 48px));
    padding: 14px 0 56px;
    color: #17212d;
    --store-forest: #08776d;
    --store-green: #08776d;
    --store-ink: #17212d;
    --store-muted: #66727b;
    --store-line: #dfe5e5;
    --store-sand: #f2f4f5;
    --store-surface: #fff;
    --ui-surface-soft: #f2f4f5;
    --ui-line: #dfe5e5;
}

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-breadcrumb {
        margin: 0 0 14px;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-main {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: clamp(32px, 4.2vw, 56px);
        margin: 0 0 22px;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-image-stage {
        aspect-ratio: 1.36 / 1;
        border: 1px solid #e2e6e5;
        border-radius: 14px;
        background: #f2f4f5 !important;
        box-shadow: none;
    }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-image-stage > img {
            padding: 22px;
            object-fit: contain;
        }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-info {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 0 0;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-category {
        color: #08776d;
        font-size: 11px;
        letter-spacing: .1em;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-info h1 {
        max-width: none;
        margin: 8px 0 5px;
        font-size: clamp(24px, 2vw, 29px) !important;
        line-height: 1.2;
        letter-spacing: -.025em;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-identifiers {
        margin: 0 0 12px;
        font-size: 11px;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-rating-note:not(:empty) {
        margin: 0 0 8px;
        font-size: 13px;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-short-description {
        max-width: 64ch;
        margin: 8px 0 14px;
        font-size: 14px !important;
        line-height: 1.55;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-price-line {
        width: 100%;
        min-height: 58px;
        margin: 0 0 8px;
        padding: 10px 14px;
        border: 1px solid #dce8e5;
        border-radius: 10px;
        background: #edf4f5;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-price {
        color: #116b63;
        font-size: 24px !important;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-price-enquiry,
    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-shipping-note {
        margin: 0 0 12px;
        font-size: 12px;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-related-options {
        margin: 10px 0;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-buy-row {
        display: grid;
        grid-template-columns: 120px minmax(0, 1fr);
        gap: 10px;
        margin: 2px 0 9px;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign #productQuantityPicker {
        width: 120px;
        min-height: 42px;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign #productAddCart,
    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign #productPriceContact {
        min-height: 44px;
        border-radius: 9px;
        background: #08776d !important;
        font-size: 13px;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-secondary-actions {
        display: flex;
        gap: 9px;
        margin: 0 0 12px;
    }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-secondary-actions button {
            min-height: 40px;
            border: 1px solid #d9e0e1;
            border-radius: 9px;
            background: #fff;
            font-size: 12px;
        }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-delivery-note {
        margin: 0;
        padding: 12px 14px;
        border-radius: 10px;
        background: #f2f4f5 !important;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-panel {
        margin: 20px 0 24px;
        padding: 18px;
        border: 1px solid #dfe5e5;
        border-radius: 14px;
        background: #f5f7f8;
        box-shadow: none;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-heading h2 {
        font-size: 20px !important;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-options {
        gap: 10px;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-option {
        border-radius: 11px;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-highlights-section {
        margin: 0 0 20px;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-section-heading h2 {
        font-size: 21px !important;
    }

html:has(#main-content .pdp-redesign) #main-content #productContent:not(.d-none) {
    grid-template-columns: minmax(0, 1.65fr) minmax(270px, .9fr);
    gap: 16px;
}

    html:has(#main-content .pdp-redesign) #main-content #productContent:not(.d-none) > :is(.pdp-main, .marketplace-panel, .pdp-highlights-section) {
        grid-column: 1 / -1;
    }

    html:has(#main-content .pdp-redesign) #main-content #productContent:not(.d-none) > .pdp-description-section,
    html:has(#main-content .pdp-redesign) #main-content #productContent:not(.d-none) > .pdp-reviews-section {
        margin: 0;
        padding: 18px;
        border: 1px solid #dfe5e5;
        border-radius: 14px;
        background: #fff;
        box-shadow: none;
    }

html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-specifications-table th,
html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-specifications-table td {
    padding: 9px 11px;
    font-size: 12px;
}

html:has(#main-content .pdp-redesign) .store-footer {
    background: #f2f5f3;
    border-top-color: #dfe5e5;
}

@media (max-width: 991px) {
    html:has(#main-content .pdp-redesign) #main-content #productContent:not(.d-none) {
        grid-template-columns: minmax(0, 1fr);
    }

        html:has(#main-content .pdp-redesign) #main-content #productContent:not(.d-none) > :is(.pdp-main, .marketplace-panel, .pdp-highlights-section, .pdp-description-section, .pdp-reviews-section) {
            grid-column: 1;
        }
}

@media (max-width: 767px) {
    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign {
        width: calc(100% - 28px);
    }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-main {
            grid-template-columns: minmax(0, 1fr);
            gap: 18px;
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-image-stage {
            aspect-ratio: 1.15 / 1;
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-buy-row {
            grid-template-columns: 112px minmax(0, 1fr);
        }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .marketplace-panel {
            padding: 14px;
        }
}

@media (max-width: 420px) {
    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-buy-row {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 8px;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign #productQuantityPicker {
        width: 100px;
    }

    html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-secondary-actions {
        flex-wrap: wrap;
    }

        html:has(#main-content .pdp-redesign) #main-content .pdp-redesign .pdp-secondary-actions button {
            flex: 1 1 130px;
        }
}
