/**
 * Hyvä integration layer — maps Bouticare PWA look onto Hyvä markup
 */

body {
    font-family: Inter, system-ui, sans-serif !important;
    background-color: #f3f3f3 !important;
    color: #001325;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-main {
    flex: 1 1 auto;
}

/* Hide default Hyvä header/footer chrome when Bouticare templates are active */
.bouticare-theme #header:not(.site-header) {
    display: none;
}

/* Product list → Nykaa card styling inside Hyvä sliders */
.bouticare-product-slider .product-item {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.bouticare-product-slider .product-item-photo img {
    object-fit: contain;
    background: #fff;
}

.bouticare-product-slider .product-item-link {
    font-size: 13px;
    font-weight: 600;
    color: #001325;
}

.bouticare-product-slider .price-box .price {
    color: #001325;
    font-weight: 700;
}

.bouticare-product-slider .btn-primary,
.bouticare-theme .action.primary,
.bouticare-theme button.btn-primary {
    background-color: #e80071 !important;
    border-color: #e80071 !important;
    color: #fff !important;
    border-radius: 2px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 11px;
}

.bouticare-product-slider .btn-primary:hover,
.bouticare-theme .action.primary:hover {
    background-color: #c9005f !important;
    border-color: #c9005f !important;
}

/* Hyvä primary token override via CSS variables where supported */
:root {
    --color-primary: #e80071;
    --color-primary-hover: #c9005f;
}

.bg-primary {
    background-color: #e80071 !important;
}

.text-primary {
    color: #e80071 !important;
}

.border-primary {
    border-color: #e80071 !important;
}

/* Mobile safe area for bottom bar */
@media (max-width: 900px) {
    .bouticare-theme .page-main {
        padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    }
}

@media (min-width: 901px) {
    .bouticare-theme .page-main {
        padding-bottom: 0;
    }
}

/* Header bag count badge */
.header-bag-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: #e80071;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

.header-bag-btn {
    position: relative;
}

.header-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* Search — real forms + no iOS zoom (16px inputs) */
.header-search-wrap {
    margin: 0 -1rem 0.65rem;
    padding: 0 1.25rem;
}

.header-search-shell,
.header-search-field {
    width: 100%;
}

.header-search-field {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 0.5rem 0 0.75rem;
    background: #f3f3f3;
    border-radius: 4px;
    box-sizing: border-box;
}

.header-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 0.45rem;
    color: rgba(0, 19, 37, 0.45);
}

.header-search-input-wrap {
    flex: 1;
    min-width: 0;
}

.header-search-input,
.bouticare-search-input,
.mobile-brand-search input,
#header_id .nykaa-dh-search input {
    width: 100%;
    border: none !important;
    background: transparent !important;
    font-family: inherit;
    font-size: 16px !important; /* prevents iOS Safari zoom on focus */
    line-height: 1.25;
    color: #001325 !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: text !important;
    pointer-events: auto !important;
    padding: 0.55rem 0 !important;
    margin: 0;
    -webkit-appearance: none;
    appearance: none;
}

.header-search-input::placeholder,
.bouticare-search-input::placeholder,
.mobile-brand-search input::placeholder,
#header_id .nykaa-dh-search input::placeholder {
    color: rgba(0, 19, 37, 0.5);
    opacity: 1;
}

.header-search-go,
.nykaa-dh-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    background: transparent;
    color: rgba(0, 19, 37, 0.55);
    cursor: pointer;
    border-radius: 4px;
}

.header-search-go:hover,
.nykaa-dh-search-submit:hover {
    color: #e80071;
}

#header_id .nykaa-dh-search {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    max-width: 100%;
    height: 42px;
    padding: 0 0.35rem 0 0.75rem;
    background: #f3f3f3;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    cursor: text;
    font-family: inherit;
    box-sizing: border-box;
}

#header_id .nykaa-dh-search-submit {
    order: -1;
    width: 36px;
    height: 36px;
}

#header_id .nykaa-dh-search-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.bouticare-search {
    width: 100%;
}

.bouticare-search-field {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 48px;
    padding: 0.25rem 0.35rem 0.25rem 0.85rem;
    background: #f3f3f3;
    border: 1px solid rgba(0, 19, 37, 0.1);
    border-radius: 8px;
}

.bouticare-search-icon {
    display: inline-flex;
    color: rgba(0, 19, 37, 0.45);
    flex-shrink: 0;
}

.bouticare-search-submit {
    flex-shrink: 0;
    min-height: 40px;
    padding: 0 1rem;
    border: none;
    border-radius: 6px;
    background: linear-gradient(135deg, #fc2779 0%, #e80071 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.header-search-overlay-inner .bouticare-search {
    padding-right: 2rem;
}

.mobile-brand-search input {
    font-size: 16px !important;
}

/* Search overlay (PLP icon / fallback) */
.header-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(0, 19, 37, 0.45);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 1rem;
}

.header-search-overlay-inner {
    width: 100%;
    max-width: 640px;
    background: #fff;
    border-radius: 8px;
    padding: 1.1rem 1rem 1rem;
    margin-top: 3.5rem;
    position: relative;
    box-shadow: 0 16px 40px rgba(0, 19, 37, 0.18);
}

.header-search-close {
    position: absolute;
    top: 0.55rem;
    right: 0.65rem;
    border: none;
    background: none;
    font-size: 1.35rem;
    cursor: pointer;
    line-height: 1;
    color: rgba(0, 19, 37, 0.55);
    z-index: 2;
}

/* Desktop can keep slightly tighter visual size without zoom risk */
@media (min-width: 901px) {
    #header_id .nykaa-dh-search input,
    .bouticare-search-input {
        font-size: 14px !important;
    }
}

/* Mobile menu */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(0, 19, 37, 0.4);
}

.mobile-menu-panel {
    width: min(88vw, 360px);
    height: 100%;
    background: #fff;
    overflow-y: auto;
    padding: 1rem;
}

.mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 19, 37, 0.08);
}

.mobile-menu-head button {
    border: none;
    background: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Product slider inside Bouticare product rows */
.bouticare-product-slider.product-row {
    background: #f3f3f3;
    padding: 1rem 0 1.25rem;
    margin-bottom: 0.5rem;
}

.bouticare-product-slider .product-row-head,
.bouticare-product-slider > .flex:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem 0.75rem;
    max-width: 1300px;
    margin: 0 auto;
}

.bouticare-product-slider h2,
.bouticare-product-slider h3,
.bouticare-product-slider .product-row-title {
    font-size: 1rem;
    font-weight: 700;
    color: #001325;
    margin: 0;
}

.bouticare-product-slider .snap-track {
    padding: 0 1rem;
    gap: 0.75rem;
}

.bouticare-product-slider .product-item {
    min-width: 160px;
    max-width: 200px;
}

/* Minimize Hyvä default container padding on Bouticare pages */
.bouticare-theme .columns,
.bouticare-home .columns,
.bouticare-pdp .columns {
    max-width: 100%;
    width: 100%;
    padding-inline: 0;
    margin-inline: auto;
}

.bouticare-theme .column.main,
.bouticare-home .column.main,
.bouticare-pdp .column.main {
    padding: 0;
    width: 100%;
    max-width: none;
}

.bouticare-theme main.page-main,
.bouticare-theme main.page-main-full-width {
    width: 100%;
    max-width: none;
    margin-inline: 0;
}

/* Homepage: sit flush under sticky header (Hyvä .page-main uses margin-block) */
body.cms-index-index main.page-main,
body.bouticare-home main.page-main,
body.cms-index-index main.page-main-full-width,
body.bouticare-home main.page-main-full-width {
    margin-block-start: 0;
    margin-top: 0;
}

body.cms-index-index .home-page .category-strip,
body.bouticare-home .home-page .category-strip {
    margin-top: 0;
    padding-top: 0.45rem;
}

/* ── Fix PWA globals.css conflicts with Hyvä ── */
body.bouticare-theme {
    display: block !important;
    min-height: 100vh;
}

body.bouticare-theme .page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

[x-cloak] {
    display: none !important;
}

#cart-drawer:not([open]),
#authentication-popup:not([open]) {
    display: none !important;
}

.header-search-overlay:not([style*="display: block"]):not([style*="display: flex"]) {
    display: none !important;
}

.header-search-overlay[x-cloak] {
    display: none !important;
}

.mobile-menu-overlay[x-cloak] {
    display: none !important;
}

/* Hyvä cart drawer / auth dialogs */
#cart-drawer,
#authentication-popup {
    border: none;
    padding: 0;
    max-width: none;
    max-height: none;
}

.page-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    margin: 0;
    padding: 0;
    border: none;
    width: 100%;
    background: #fff;
}

.page-header .site-header,
.site-header {
    display: block;
    width: 100%;
    position: relative;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 19, 37, 0.08);
    transition: box-shadow 0.2s ease;
}

.page-header:has(.site-header.is-scrolled),
.site-header.is-scrolled {
    box-shadow: 0 4px 16px rgba(0, 19, 37, 0.1);
}

.page-footer {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}

.page-footer > .footer.content {
    padding: 0;
    margin: 0;
    max-width: none;
}

/* Hero carousel — horizontal snap instead of stacked banners */
.bouticare-hero-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.bouticare-hero-track {
    display: flex;
    width: max-content;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bouticare-hero-track .edgetoedge-slide {
    flex: 0 0 100vw;
    width: 100vw;
    max-width: 100vw;
    scroll-snap-align: start;
}

.bouticare-hero-track .banner-container--edge .img-wrap img {
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: contain;
    object-position: center;
    background: #fff;
    display: block;
}

@media (min-width: 901px) {
    .bouticare-hero-track .edgetoedge-slide {
        flex-basis: 100%;
        width: 100%;
        max-width: 100%;
    }

    .bouticare-hero-track .banner-container--edge .img-wrap img {
        max-height: 360px;
    }
}

/* New & Now horizontal scroll */
.new-now-track {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0 1rem 0.75rem;
    scroll-snap-type: x proximity;
}

.new-now-card {
    flex: 0 0 42%;
    max-width: 220px;
    scroll-snap-align: start;
}

.new-now-card img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
}

.site-footer-copyright {
    font-size: 0.68rem;
    color: rgba(0, 19, 37, 0.64);
    margin: 0;
}

/* Hide Hyvä page chrome on homepage */
.bouticare-home .page-main > .columns > .column.main > p:only-child {
    display: none;
}

/* Restore button/input usability after global reset */
.bouticare-theme .btn,
.bouticare-theme button,
.bouticare-theme input,
.bouticare-theme select,
.bouticare-theme textarea {
    font-family: inherit;
}

.bouticare-theme dialog[open] {
    display: flex;
}

/* Nykaa compact product cards in sliders */
.nykaa-product-card-inner .product-image-photo,
.nykaa-product-card-inner .product-image-container {
    width: 100%;
    height: auto;
}

.nykaa-product-card-inner .bouticare-add-form {
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    height: 32px;
    display: flex !important;
    align-items: stretch;
    align-self: stretch;
}

.nykaa-product-card-inner .bouticare-add-form .add_to_cart {
    flex: 1 1 auto;
    width: 100% !important;
    max-width: 100%;
    height: 32px !important;
    min-height: 32px !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1 !important;
    padding: 0 0.5rem !important;
    box-sizing: border-box;
}

.bouticare-rating-summary .rating-summary {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    font-size: 0.68rem;
}

.bouticare-rating-summary .reviews-actions {
    display: none;
}

.site-footer-links {
    display: block;
}

.site-footer-trust {
    /* compact styles live in Footer polish section below */
}

/* Real-data UI helpers + desktop alignment fixes */
.category-strip-fallback,
.top-brand-fallback,
.new-now-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 72px;
    border-radius: 50%;
    background: #fde7f2;
    color: #e80071;
    font-weight: 700;
    font-size: 1.25rem;
    text-transform: uppercase;
}

.new-now-fallback {
    border-radius: 4px;
    min-height: 120px;
    font-size: 0.85rem;
    text-transform: none;
    padding: 0.75rem;
    text-align: center;
}

.new-now-label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
}

.mobile-bottom-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #001325;
}

.mobile-bottom-label--active + .mobile-bottom-icon,
.mobile-bottom-tab-link[aria-current="page"] .mobile-bottom-icon {
    color: #e80071;
}

.product-row-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem 0.75rem;
}

.product-row {
    margin-bottom: 0.75rem;
}

.nykaa-product-row-track {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding: 0 1rem 0.25rem;
    scroll-snap-type: x proximity;
}

.nykaa-product-slide {
    flex: 0 0 168px;
    max-width: 168px;
    scroll-snap-align: start;
}

@media (min-width: 901px) {
    #header_id .nykaa-top-strip.top-strip-bg {
        background-image: none !important;
        background: linear-gradient(90deg, #fff0f7 0%, #ffffff 100%);
    }

    #header_id .nykaa-dh-row-primary {
        grid-template-columns: auto minmax(0, 1fr) minmax(240px, 360px) auto;
        column-gap: 1rem;
        min-height: 64px;
    }

    #header_id .nykaa-dh-nav--primary .HeaderNav--primary,
    #header_id .nykaa-dh-nav--secondary .HeaderNav--secondary {
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        gap: 0;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    #header_id .nykaa-dh-search {
        width: 100%;
    }

    #header_id .nykaa-dh-mega-categories {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 1rem;
    }

    #header_id .nykaa-dh-mega-columns {
        gap: 0;
        width: 100%;
    }

    #header_id .nykaa-dh-mega-col {
        min-height: 0;
    }

    .site-footer-links {
        /* desktop grid defined in Footer polish section */
    }

    .site-footer-accordion-btn {
        display: none;
    }

    .site-footer-accordion-panel {
        display: none !important;
    }

    .site-footer-desktop-links {
        display: block;
    }

    .help-choosing-grid {
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0.75rem;
        max-width: 1300px;
        margin: 0 auto;
        padding: 0 2rem 1rem;
        overflow: visible;
    }

    .help-choosing-card {
        display: flex;
        flex-direction: column;
        gap: 0;
        background: #fff;
        border-radius: 8px;
        overflow: hidden;
        text-decoration: none;
        color: #001325;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
        flex: none;
        max-width: none;
        width: auto;
        min-width: 0;
    }

    .help-choosing-card img,
    .help-choosing-fallback {
        width: 100%;
        max-height: 140px;
        aspect-ratio: 1;
        object-fit: cover;
    }

    .help-choosing-fallback {
        display: flex;
        align-items: center;
        justify-content: center;
        background: #fde7f2;
        color: #e80071;
        font-size: 1.1rem;
        font-weight: 700;
    }

    .help-choosing-card .help-choosing-label,
    .help-choosing-card span {
        padding: 0.45rem 0.5rem 0.55rem;
        font-size: 0.75rem;
        font-weight: 600;
        line-height: 1.25;
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════════════
   PDP — Bouticare product page (mobile + desktop)
   ═══════════════════════════════════════════════════════════ */
body.bouticare-pdp main.page-main,
body.catalog-product-view main.page-main {
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    max-width: none;
}

body.bouticare-pdp .columns,
body.catalog-product-view .columns {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    display: block !important;
}

body.bouticare-pdp .column.main,
body.catalog-product-view .column.main {
    padding: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

body.bouticare-pdp .breadcrumbs,
body.catalog-product-view .breadcrumbs {
    background: #fff;
    box-shadow: none;
    border-bottom: 1px solid rgba(0, 19, 37, 0.06);
    margin: 0;
    padding: 0.65rem 1rem;
    width: 100%;
    box-sizing: border-box;
}

body.bouticare-pdp .breadcrumbs .items,
body.catalog-product-view .breadcrumbs .items {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    font-size: 12px;
    color: rgba(0, 19, 37, 0.56);
}

body.bouticare-pdp .breadcrumbs a {
    color: rgba(0, 19, 37, 0.56);
    text-decoration: none;
}

body.bouticare-pdp .breadcrumbs a:hover {
    color: #e80071;
}

body.bouticare-pdp .page.messages,
body.catalog-product-view .page.messages {
    margin: 0;
    padding: 0;
}

.pdp-page {
    background: #f3f3f3 !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 0 calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    box-sizing: border-box;
}

.pdp-inner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

/* Slim promo strip — never full-bleed giant image */
.pdp-promo {
    background: #fff;
    margin: 0;
    padding: 0;
    overflow: hidden;
    line-height: 0;
}

.pdp-promo-link {
    display: block;
    width: 100%;
    text-decoration: none;
}

.pdp-promo-link img,
.pdp-m-promo-slide img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 110px;
    object-fit: cover;
    object-position: center;
}

.pdp-shell {
    display: flex;
    flex-direction: column;
    background: #fff;
    margin: 0;
    padding: 0;
    gap: 0;
    width: 100%;
    box-sizing: border-box;
}

.pdp-m-gallery-wrap {
    background: #fff;
    position: relative;
    width: 100%;
    line-height: 0;
}

.pdp-m-gallery {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.pdp-m-gallery::-webkit-scrollbar {
    display: none;
}

.pdp-m-gallery-slide {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    aspect-ratio: 1 / 1;
    max-height: min(100vw, 380px);
    background: #f7f7f8;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pdp-m-gallery-slide img {
    width: 100%;
    height: 100%;
    max-height: none !important;
    object-fit: contain;
    object-position: center;
    display: block;
}

.pdp-m-dots {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    list-style: none;
    margin: 0.4rem 0 0;
    padding: 0;
}

.pdp-m-dots button {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    border: none;
    background: rgba(0, 19, 37, 0.24);
    padding: 0;
    cursor: pointer;
}

.pdp-m-dots button.active {
    background: #e80071;
    width: 16px;
}

.pdp-m-body {
    padding: 0.75rem 1rem 0.85rem;
    background: #fff;
}

.pdp-brand {
    font-size: 12px;
    font-weight: 700;
    color: #e80071;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin: 0 0 0.2rem;
}

.pdp-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    color: #001325;
    margin: 0 0 0.4rem;
}

.pdp-rating {
    margin-bottom: 0.45rem;
}

.pdp-price-block {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.3rem 0.5rem;
    margin-bottom: 0.5rem;
}

.pdp-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #001325;
}

.pdp-mrp {
    font-size: 0.9rem;
    color: rgba(0, 19, 37, 0.48);
    text-decoration: line-through;
}

.pdp-discount {
    font-size: 0.85rem;
    font-weight: 700;
    color: #008945;
}

.pdp-delivery {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0 0 0.5rem;
    padding: 0.45rem 0.6rem;
    border-radius: 4px;
    background: #f0faf4;
    color: #008945;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.35;
}

.pdp-delivery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #008945;
    flex-shrink: 0;
}

.pdp-short-desc {
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgba(0, 19, 37, 0.72);
    margin-bottom: 0.5rem;
}

.pdp-short-desc p {
    margin: 0;
}

.pdp-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.75rem;
    margin-bottom: 0.35rem;
    font-size: 0.75rem;
    color: rgba(0, 19, 37, 0.56);
}

.pdp-meta .stock,
.pdp-meta .available,
.pdp-meta .unavailable {
    font-weight: 600;
}

.pdp-form-wrap {
    margin-bottom: 0;
}

.pdp-form-wrap .box-tocart {
    display: none;
}

.pdp-form-wrap .box-tocart .action.tocart,
.pdp-form-wrap .box-tocart button[type="submit"] {
    width: 100%;
    background: #001325 !important;
    border: none !important;
    color: #fff !important;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 13px;
    min-height: 48px;
    cursor: pointer;
}

.pdp-m-accordion {
    border-top: 1px solid rgba(0, 19, 37, 0.08);
    margin-top: 0.35rem;
}

.pdp-m-accordion-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.7rem 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    color: #001325;
}

.pdp-m-accordion-title {
    font-size: 0.9rem;
    font-weight: 700;
}

.pdp-m-accordion-panel {
    padding: 0 0 0.75rem;
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(0, 19, 37, 0.72);
}

.pdp-m-accordion-panel p {
    margin: 0 0 0.5rem;
}

.pdp-m-accordion-panel h2,
.pdp-m-accordion-panel h3,
.pdp-m-accordion-panel h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin: 0.55rem 0 0.3rem;
    color: #001325;
    line-height: 1.35;
}

.pdp-m-accordion-panel h2:first-child,
.pdp-m-accordion-panel h3:first-child,
.pdp-m-accordion-panel h4:first-child {
    margin-top: 0;
}

.pdp-m-accordion-panel ul,
.pdp-m-accordion-panel ol {
    margin: 0 0 0.5rem;
    padding-left: 1.1rem;
}

.pdp-m-accordion-panel li {
    margin: 0 0 0.3rem;
}

.pdp-related {
    margin: 0.5rem 0 0.75rem;
    padding: 0.65rem 0 0.15rem;
    background: #fff;
    border-top: 4px solid #f3f3f3;
}

.pdp-related-head {
    padding: 0 1rem 0.65rem;
}

.pdp-related-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #001325;
}

.pdp-related-track {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding: 0 1rem 0.85rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
}

.pdp-related-card {
    flex: 0 0 46%;
    max-width: 180px;
    min-width: 148px;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid rgba(0, 19, 37, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.pdp-related-card .nykaa-product-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pdp-related-card .nykaa-product-details {
    padding: 0.4rem 0.45rem 0;
    flex: 1;
}

.pdp-related-card .nykaa-product-name {
    font-size: 0.72rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pdp-related-card .actionbutton_group {
    margin: 0.35rem 0.45rem 0.45rem;
    height: 2rem;
    display: flex;
    align-items: stretch;
    gap: 0.25rem;
}

.pdp-related-card .bouticare-add-form {
    flex: 1;
    display: flex;
    margin: 0;
}

.pdp-related-card .add_to_cart {
    width: 100%;
    height: 2rem;
    min-height: 2rem;
    font-size: 10px !important;
}

.pdp-m-sticky-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid rgba(0, 19, 37, 0.08);
    box-shadow: 0 -2px 12px rgba(0, 19, 37, 0.06);
}

.pdp-m-sticky-footer .action.tocart,
.pdp-m-sticky-footer button[type="submit"] {
    flex: 1;
    background: #001325 !important;
    border: none !important;
    color: #fff !important;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 12px;
    min-height: 44px;
}

.pdp-m-sticky-disabled {
    flex: 1;
    text-align: center;
    padding: 0.75rem;
    background: #f3f3f3;
    color: rgba(0, 19, 37, 0.56);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    border-radius: 4px;
}

.pdp-m-sticky-price {
    min-width: 88px;
}

.pdp-m-sticky-amount {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #001325;
}

.pdp-m-sticky-mrp {
    display: block;
    font-size: 11px;
    color: rgba(0, 19, 37, 0.56);
    text-decoration: line-through;
}

@media (min-width: 901px) {
    .pdp-page {
        padding: 0 0 2.5rem !important;
    }

    .pdp-inner {
        padding: 0 1.5rem;
    }

    body.bouticare-pdp .breadcrumbs,
    body.catalog-product-view .breadcrumbs {
        padding: 0.75rem 1.5rem;
    }

    .pdp-promo {
        margin: 1rem 0 0;
        border-radius: 8px;
        overflow: hidden;
    }

    .pdp-promo-link img,
    .pdp-m-promo-slide img {
        max-height: 140px;
        border-radius: 8px;
    }

    .pdp-shell {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 2rem;
        margin-top: 1rem;
        padding: 1.5rem;
        border-radius: 8px;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
    }

    .pdp-m-gallery-wrap {
        position: sticky;
        top: 1rem;
        align-self: start;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid rgba(0, 19, 37, 0.06);
    }

    .pdp-m-gallery-slide {
        max-height: none;
        aspect-ratio: 1;
        background: #fff;
    }

    .pdp-m-body {
        padding: 0.25rem 0 0;
    }

    .pdp-title {
        font-size: 1.4rem;
        margin-bottom: 0.65rem;
    }

    .pdp-price {
        font-size: 1.5rem;
    }

    .pdp-price-block {
        margin-bottom: 0.85rem;
    }

    .pdp-meta {
        margin-bottom: 1rem;
    }

    .pdp-form-wrap {
        margin-bottom: 0.75rem;
        display: block;
    }

    /* Desktop ATC lives in the info column (same markup as mobile sticky bar) */
    .pdp-m-sticky-footer {
        position: static !important;
        display: flex !important;
        left: auto;
        right: auto;
        bottom: auto;
        z-index: auto;
        margin: 0.35rem 0 1.25rem;
        padding: 0;
        border: none;
        box-shadow: none;
        background: transparent;
        gap: 0.75rem;
        align-items: stretch;
    }

    .pdp-m-sticky-price {
        display: none;
    }

    .pdp-m-sticky-footer .pdp-sticky-atc,
    .pdp-m-sticky-footer #product-addtocart-button {
        flex: 1;
        width: 100%;
        min-height: 48px;
        border-radius: 4px;
        font-size: 14px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
    }

    .pdp-m-sticky-disabled {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile PDP — compact first viewport */
@media (max-width: 900px) {
    body.bouticare-pdp .breadcrumbs,
    body.catalog-product-view .breadcrumbs {
        display: none !important;
    }

    .pdp-m-gallery-slide {
        max-height: min(100vw, 360px) !important;
        aspect-ratio: 1 / 1;
    }

    .pdp-m-sticky-footer {
        padding: 0.5rem 0.85rem calc(0.5rem + env(safe-area-inset-bottom, 0px));
        gap: 0.6rem;
    }
}

/* ── Homepage desktop alignment (Hyvä + PWA bridge) ── */
@media (min-width: 901px) {
    body.cms-index-index main.page-main,
    body.bouticare-home main.page-main {
        width: 100%;
        max-width: none;
        margin-inline: auto;
    }

    body.cms-index-index .columns,
    body.bouticare-home .columns {
        width: 100%;
        max-width: none;
        margin-inline: auto;
        padding-inline: 0;
    }

    body.cms-index-index .column.main,
    body.bouticare-home .column.main {
        width: 100%;
        max-width: none;
        padding: 0;
    }

    body.cms-index-index .home-page,
    body.bouticare-home .home-page {
        width: 100%;
        max-width: none;
        margin: 0 auto;
    }

    body.cms-index-index #header_id,
    body.bouticare-home #header_id {
        --nykaa-dh-max: 1300px;
    }

    body.cms-index-index .home-page .product-row-head,
    body.cms-index-index .home-page .new-now .product-row-head,
    body.cms-index-index .home-page .help-choosing .product-row-head,
    body.cms-index-index .home-page .top-brands-head,
    body.bouticare-home .home-page .product-row-head {
        max-width: 1300px;
        margin-inline: auto;
        padding-inline: 2rem;
    }

    body.cms-index-index .home-page .new-now-track,
    body.bouticare-home .home-page .new-now-track {
        display: grid !important;
        grid-template-columns: repeat(8, minmax(0, 1fr));
        gap: 0.75rem;
        overflow: visible;
        white-space: normal;
        max-width: 1300px;
        margin-inline: auto;
        padding: 0 2rem 1rem;
    }

    body.cms-index-index .home-page .new-now-card,
    body.bouticare-home .home-page .new-now-card {
        flex: none;
        max-width: none;
        width: auto;
        display: block;
        min-width: 0;
    }

    body.cms-index-index .home-page .new-now-card img,
    body.bouticare-home .home-page .new-now-card img,
    body.cms-index-index .home-page .new-now-fallback,
    body.bouticare-home .home-page .new-now-fallback {
        max-height: 140px;
        aspect-ratio: 1;
        object-fit: cover;
    }

    body.cms-index-index .home-page .help-choosing-grid,
    body.bouticare-home .home-page .help-choosing-grid {
        display: grid !important;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0.75rem;
        max-width: 1300px;
        margin-inline: auto;
        padding-inline: 2rem;
        overflow: visible;
    }

    body.cms-index-index .home-page .help-choosing-card img,
    body.bouticare-home .home-page .help-choosing-card img,
    body.cms-index-index .home-page .help-choosing-fallback,
    body.bouticare-home .home-page .help-choosing-fallback {
        max-height: 140px;
        aspect-ratio: 1;
        object-fit: cover;
    }

    body.cms-index-index .home-page .concern-chips-track,
    body.bouticare-home .home-page .concern-chips-track {
        max-width: 1300px;
        margin-inline: auto;
        padding-inline: 2rem;
    }

    body.cms-index-index .home-page .top-brands .top-brands-track,
    body.bouticare-home .home-page .top-brands .top-brands-track {
        display: grid !important;
        grid-template-columns: repeat(8, minmax(0, 1fr));
        gap: 0.75rem 1rem;
        max-width: 1300px;
        margin-inline: auto;
        padding-inline: 2rem;
        overflow: visible;
        justify-items: center;
    }

    body.cms-index-index .home-page .top-brands .top-brand-card,
    body.bouticare-home .home-page .top-brands .top-brand-card {
        width: 88px;
    }

    body.cms-index-index .home-page .top-brands .top-brand-image,
    body.bouticare-home .home-page .top-brands .top-brand-image {
        width: 72px;
        height: 72px;
        margin: 0 auto;
    }

    body.cms-index-index .home-page .nykaa-product-row-track,
    body.bouticare-home .home-page .nykaa-product-row-track {
        display: grid !important;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0.75rem;
        overflow: visible;
        white-space: normal;
        width: 100%;
        max-width: 1300px;
        margin-inline: auto;
        padding: 0 2rem 0.25rem;
    }

    body.cms-index-index .home-page .nykaa-product-slide,
    body.bouticare-home .home-page .nykaa-product-slide {
        display: block !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0.5rem 0 !important;
        vertical-align: initial;
    }

    body.cms-index-index .home-page .edgetoedge,
    body.bouticare-home .home-page .edgetoedge {
        width: 100%;
    }

    body.cms-index-index .home-page .bouticare-hero-viewport,
    body.bouticare-home .home-page .bouticare-hero-viewport {
        max-width: 100%;
    }

    body.cms-index-index .home-page .bouticare-hero-track .edgetoedge-slide,
    body.bouticare-home .home-page .bouticare-hero-track .edgetoedge-slide {
        flex: 0 0 100%;
        width: 100%;
        max-width: 100%;
    }

    body.cms-index-index .home-page .home-seo,
    body.bouticare-home .home-page .home-seo {
        max-width: 1300px;
        margin-inline: auto;
        padding-inline: 2rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   Bouticare responsive UI — mobile / tablet / all pages
   ═══════════════════════════════════════════════════════════ */

html {
    -webkit-text-size-adjust: 100%;
}

body.bouticare-theme,
body.bouticare-home,
body.bouticare-pdp {
    overflow-x: clip;
    width: 100%;
}

.bouticare-theme .page-wrapper,
.bouticare-theme .page-header,
.bouticare-theme .page-footer,
.bouticare-theme .site-header,
.bouticare-theme .home-page,
.bouticare-theme .pdp-page {
    width: 100%;
    max-width: 100%;
}

.disable-scrollbars {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.disable-scrollbars::-webkit-scrollbar {
    display: none;
}

/* Help choosing — mobile horizontal cards */
.help-choosing {
    background: #fff;
    padding: 0.85rem 0 1rem;
    margin-bottom: 0.5rem;
}

.help-choosing-grid {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding: 0 1rem 0.25rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.help-choosing-card {
    flex: 0 0 42%;
    max-width: 160px;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(0, 19, 37, 0.08);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #001325;
    scroll-snap-align: start;
}

.help-choosing-card img,
.help-choosing-fallback {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.help-choosing-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #fde7f2 0%, #fff0f7 100%);
    color: #e80071;
    font-size: 1.35rem;
    font-weight: 700;
}

.help-choosing-label {
    display: block;
    padding: 0.55rem 0.6rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
}

/* New & Now mobile polish */
.new-now {
    background: #fff;
    padding: 0.85rem 0 0.5rem;
    margin-bottom: 0.5rem;
}

.new-now-track {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    padding: 0 1rem 0.75rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.new-now-card {
    flex: 0 0 38%;
    max-width: 140px;
    scroll-snap-align: start;
    text-decoration: none;
    color: #001325;
}

.new-now-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    background: #f3f3f3;
}

.new-now-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    background: linear-gradient(145deg, #fde7f2 0%, #fff0f7 100%);
    color: #e80071;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
    padding: 0.5rem;
    box-sizing: border-box;
}

.new-now-label {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.25;
}

/* Product rows — mobile horizontal snap */
.product-row {
    background: #f3f3f3;
    padding: 0.85rem 0 1rem;
    margin-bottom: 0.5rem;
    width: 100%;
}

.product-row-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0 1rem 0.75rem;
    max-width: 1300px;
    margin: 0 auto;
}

.product-row-title {
    font-size: 1rem;
    font-weight: 700;
    color: #001325;
    margin: 0;
    line-height: 1.25;
}

.nykaa-product-row-track {
    display: flex !important;
    gap: 0.65rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 1rem 0.25rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    white-space: normal;
    width: 100%;
    box-sizing: border-box;
}

.nykaa-product-slide {
    flex: 0 0 44% !important;
    width: 44% !important;
    max-width: 180px !important;
    min-width: 148px;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    vertical-align: initial;
    white-space: normal;
}

.nykaa-product-slide .width-limiter {
    max-width: 100%;
    min-width: 0;
    display: block !important;
    padding: 0.65rem 0.55rem 0.75rem;
    box-sizing: border-box;
}

.nykaa-product-card-inner {
    width: 100%;
    min-width: 0;
}

.nykaa-product-image-shell {
    border-radius: 6px;
    background: #f7f7f7;
}

.nykaa-product-image-shell img,
.nykaa-product-image-shell .product-image-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nykaa-brand-name {
    font-size: 12px !important;
}

.nykaa-product-name {
    font-size: 12px !important;
    line-height: 1.3 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: normal !important;
}

.nykaa-product-details {
    min-height: 88px !important;
}

.actionbutton_group {
    margin-top: 0.35rem;
    display: flex !important;
    align-items: stretch !important;
    gap: 0.25rem;
    height: 32px;
    min-height: 32px;
    box-sizing: border-box;
}

.actionbutton_group .wishlist-wrapper {
    flex: 0 0 32px !important;
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    box-sizing: border-box;
}

.actionbutton_group .wishlist {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.actionbutton_group .add_to_cart,
.actionbutton_group .add_to_cart--disabled {
    font-size: 11px !important;
    font-weight: 600;
    min-height: 32px !important;
    height: 32px !important;
    max-height: 32px;
    padding: 2px 0.5rem 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    text-align: center;
    box-sizing: border-box;
    width: 100% !important;
    overflow: hidden !important;
    border: 1px solid transparent;
    -webkit-appearance: none;
    appearance: none;
}

/* Category strip mobile */
.category-strip {
    background: #fff;
    padding: 0.65rem 0 0.35rem;
    width: 100%;
}

.category-strip-track {
    display: flex;
    gap: 0.7rem;
    overflow-x: auto;
    padding: 0 0.85rem 0.45rem;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
}

.category-strip-card {
    flex: 0 0 auto;
    width: 68px;
    text-align: center;
    text-decoration: none;
    color: #001325;
    scroll-snap-align: start;
}

.category-strip-image-wrap {
    width: 58px;
    height: 58px;
    margin: 0 auto 0.3rem;
    border-radius: 50%;
    overflow: hidden;
    background: #f3f3f3;
    border: 1px solid rgba(0, 19, 37, 0.06);
}

.category-strip-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-strip-label {
    display: block;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
}

/* Hero mobile */
.edgetoedge,
.bouticare-hero-viewport {
    width: 100%;
    max-width: 100%;
}

.bouticare-hero-track .edgetoedge-slide {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
}

.bouticare-hero-track .banner-container--edge .img-wrap img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    object-position: center;
}

/* Concern chips */
.concern-chips {
    background: #fff;
    padding: 0.65rem 0;
    margin-bottom: 0.5rem;
}

.concern-chips-track {
    display: flex;
    gap: 0.35rem 0.85rem;
    overflow-x: auto;
    padding: 0 1rem;
    -webkit-overflow-scrolling: touch;
}

.concern-chip {
    flex: 0 0 auto;
    font-size: 0.8rem;
    font-weight: 500;
    color: #001325;
    text-decoration: none;
    white-space: nowrap;
    padding: 0.3rem 0;
}

.concern-chip:hover {
    color: #e80071;
}

/* Top brands mobile */
.top-brands-track {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    padding: 0 1rem;
    -webkit-overflow-scrolling: touch;
}

/* Footer mobile spacing for bottom bar — see Footer polish section */
@media (max-width: 900px) {
    .mobile-bottom-bar {
        display: block;
    }

    .header-mobile-only {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }

    .header-desktop-only {
        display: none !important;
    }

    .site-footer-desktop-links {
        display: none;
    }

    .home-seo {
        padding: 1rem;
    }

    .home-page .category-strip {
        display: block;
    }
}

/* Tablet */
@media (min-width: 601px) and (max-width: 900px) {
    .nykaa-product-slide {
        flex-basis: 30% !important;
        width: 30% !important;
        max-width: 200px !important;
    }

    .new-now-card {
        flex-basis: 28%;
        max-width: 160px;
    }

    .help-choosing-card {
        flex-basis: 28%;
        max-width: 180px;
    }

    .bouticare-hero-track .banner-container--edge .img-wrap img {
        max-height: 280px;
    }
}

/* Desktop — all Bouticare pages */
@media (min-width: 901px) {
    .mobile-bottom-bar {
        display: none !important;
    }

    .bouticare-theme .page-main,
    .bouticare-home .page-main,
    .bouticare-pdp .page-main {
        padding-bottom: 0;
    }

    .bouticare-theme .page-footer,
    .bouticare-theme .site-footer {
        padding-bottom: 0;
    }

    .nykaa-product-row-track {
        display: grid !important;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0.75rem;
        overflow: visible;
        max-width: 1300px;
        margin-inline: auto;
        padding: 0 2rem 0.25rem;
        scroll-snap-type: none;
    }

    .nykaa-product-slide {
        flex: none !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0.5rem 0 !important;
        box-shadow: none;
        background: transparent;
        border-radius: 0;
    }

    .nykaa-product-slide .width-limiter {
        background: #fff;
        border-radius: 8px;
        padding: 0.75rem 0.65rem 0.85rem;
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
        height: 100%;
    }

    .new-now-track {
        display: grid !important;
        grid-template-columns: repeat(8, minmax(0, 1fr));
        gap: 0.75rem;
        overflow: visible;
        max-width: 1300px;
        margin-inline: auto;
        padding: 0 2rem 1rem;
    }

    .new-now-card {
        flex: none;
        max-width: none;
        width: auto;
        min-width: 0;
    }

    .new-now-card img,
    .new-now-fallback {
        max-height: 140px;
        aspect-ratio: 1;
        object-fit: cover;
    }

    .new-now-label {
        font-size: 0.72rem;
        margin-top: 0.35rem;
    }

    .help-choosing-grid {
        display: grid !important;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0.75rem;
        overflow: visible;
        max-width: 1300px;
        margin-inline: auto;
        padding: 0 2rem 1rem;
    }

    .help-choosing-card {
        flex: none;
        max-width: none;
        width: auto;
        min-width: 0;
    }

    .help-choosing-card img,
    .help-choosing-fallback {
        max-height: 140px;
        aspect-ratio: 1;
        object-fit: cover;
    }

    .help-choosing-label {
        padding: 0.45rem 0.5rem 0.55rem;
        font-size: 0.75rem;
    }

    .product-row-head,
    .top-brands-head {
        max-width: 1300px;
        margin-inline: auto;
        padding-inline: 2rem;
    }

    .concern-chips-track,
    .top-brands-track {
        max-width: 1300px;
        margin-inline: auto;
        padding-inline: 2rem;
        overflow: visible;
        flex-wrap: wrap;
    }

    .top-brands-track {
        display: grid !important;
        grid-template-columns: repeat(8, minmax(0, 1fr));
        gap: 0.75rem 1rem;
        justify-items: center;
    }

    .top-brand-card {
        width: 88px;
    }

    .top-brand-image {
        width: 72px;
        height: 72px;
        margin: 0 auto;
    }

    .home-page .category-strip {
        display: none;
    }

    .bouticare-hero-track .banner-container--edge .img-wrap img {
        max-height: 360px;
        aspect-ratio: 21 / 6;
        object-fit: cover;
    }

    #header_id {
        --nykaa-dh-max: 1300px;
    }

    .nykaa-brand-name {
        font-size: 13px !important;
    }

    .nykaa-product-name {
        font-size: 13px !important;
    }
}

/* Large desktop — keep dense collection grids */
@media (min-width: 1200px) {
    .new-now-track,
    body.cms-index-index .home-page .new-now-track,
    body.bouticare-home .home-page .new-now-track {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }

    .help-choosing-grid,
    body.cms-index-index .home-page .help-choosing-grid,
    body.bouticare-home .home-page .help-choosing-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .top-brands-track,
    body.cms-index-index .home-page .top-brands .top-brands-track,
    body.bouticare-home .home-page .top-brands .top-brands-track {
        grid-template-columns: repeat(8, minmax(0, 1fr));
    }
}

/* Category / search listing pages */
.bouticare-theme.catalog-category-view .columns,
.bouticare-theme.catalogsearch-result-index .columns,
.bouticare-theme.cms-page-view .columns {
    max-width: 1300px;
    margin-inline: auto;
    padding-inline: 1rem;
}

@media (min-width: 901px) {
    .bouticare-theme.catalog-category-view .columns,
    .bouticare-theme.catalogsearch-result-index .columns,
    .bouticare-theme.cms-page-view .columns {
        padding-inline: 2rem;
    }
}

.bouticare-theme .products-grid .product-items {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    list-style: none;
    margin: 0;
    padding: 0.75rem 0;
    width: 100%;
}

/* Bouticare PLP — clean 2-col mobile grid */
.bouticare-plp {
    padding: 0 0.75rem 5.5rem;
    max-width: 1300px;
    margin: 0 auto;
}

.plp-subcats {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto 0.65rem;
    padding: 0.15rem 0 0.35rem;
    background: #fff;
}

.plp-subcats-track {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    padding: 0 0.75rem 0.2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.plp-subcats-track::-webkit-scrollbar {
    display: none;
}

.plp-subcat-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 12rem;
    padding: 0.35rem 0.7rem;
    border: 1px solid rgba(0, 19, 37, 0.12);
    border-radius: 999px;
    background: #fff;
    color: #001325;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.plp-subcat-chip:hover {
    border-color: rgba(232, 0, 113, 0.4);
    color: #e80071;
}

.plp-subcat-chip.is-active {
    border-color: #e80071;
    background: #fff0f7;
    color: #e80071;
}

.plp-subcat-thumb {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f3f3f3;
}

.plp-subcat-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.plp-subcat-label {
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width: 901px) {
    .plp-subcats {
        margin-bottom: 0.85rem;
        padding-top: 0.25rem;
    }

    .plp-subcats-track {
        flex-wrap: wrap;
        overflow: visible;
        padding: 0 2rem;
        gap: 0.5rem;
    }

    .plp-subcat-chip {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        max-width: none;
    }
}

.bouticare-plp-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.55rem !important;
    list-style: none;
    margin: 0;
    padding: 0.5rem 0 1rem;
    width: 100%;
}

.bouticare-plp-cell {
    min-width: 0;
    background: #fff;
    border: 1px solid rgba(0, 19, 37, 0.08);
    border-radius: 4px;
    overflow: visible;
}

.bouticare-plp-cell .nykaa-product-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bouticare-plp-cell .nykaa-product-details {
    padding: 0.4rem 0.45rem 0;
    flex: 1;
}

.bouticare-plp-cell .nykaa-product-name {
    font-size: 0.72rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bouticare-plp-cell .nykaa-brand-name {
    font-size: 0.65rem;
}

.bouticare-plp-cell .sale-price {
    font-size: 0.8rem;
}

.bouticare-plp-cell .actionbutton_group {
    display: flex !important;
    align-items: stretch !important;
    gap: 0.25rem;
    height: 32px;
    min-height: 32px;
    margin: 0.4rem 0.45rem 0.5rem;
    margin-top: auto;
    overflow: visible;
}

.bouticare-plp-cell .actionbutton_group .wishlist-wrapper {
    flex: 0 0 32px !important;
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    border-color: #e80071;
}

.bouticare-plp-cell .bouticare-add-form {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: auto !important;
    display: flex !important;
    align-items: stretch !important;
    height: 32px !important;
    margin: 0 !important;
}

.bouticare-plp-cell .actionbutton_group .add_to_cart,
.bouticare-plp-cell .actionbutton_group .add_to_cart--disabled,
.bouticare-plp-cell .bouticare-add-form .add_to_cart {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: none !important;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    margin: 0 !important;
    padding: 2px 0.5rem 0 !important;
    font-size: 11px !important;
    line-height: 1 !important;
    letter-spacing: 0;
    border-radius: 8px;
    border: 1px solid #e80071 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    box-sizing: border-box;
    overflow: hidden !important;
    -webkit-appearance: none;
    appearance: none;
}

.bouticare-plp-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.15rem 0 0.45rem;
    min-height: 2rem;
}

.bouticare-plp-toolbar .modes,
.bouticare-plp-toolbar .limiter,
.bouticare-plp-toolbar .pages,
.bouticare-plp-toolbar .toolbar-amount,
.bouticare-plp .product-item .towishlist,
.bouticare-plp .product-item .tocompare,
.bouticare-plp .action.tocompare,
.bouticare-plp .action.towishlist {
    display: none !important;
}

.bouticare-plp-toolbar .toolbar {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    grid: none !important;
    grid-template-columns: none !important;
    gap: 0.4rem !important;
    padding: 0 !important;
    margin: 0 !important;
    width: auto;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.8rem;
}

.bouticare-plp-toolbar .toolbar-sorter,
.bouticare-plp-toolbar .sorter {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem;
    width: auto !important;
    max-width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    order: 0 !important;
    grid-column: auto !important;
}

.bouticare-plp-toolbar .toolbar-sorter label {
    display: inline-flex !important;
    align-items: center;
    margin: 0 !important;
    min-width: 0;
}

.bouticare-plp-toolbar .toolbar-sorter label > span,
.bouticare-plp-toolbar .toolbar-sorter .label {
    display: none !important;
}

.bouticare-plp-toolbar .sorter-options,
.bouticare-plp-toolbar select[data-role="sorter"] {
    display: inline-block !important;
    min-height: 2rem !important;
    height: 2rem !important;
    max-width: 9.5rem;
    padding: 0 1.6rem 0 0.55rem !important;
    border: 1px solid rgba(0, 19, 37, 0.15);
    border-radius: 4px;
    background-color: #fff;
    font-size: 0.75rem;
    color: #001325;
    box-sizing: border-box;
}

.bouticare-plp-toolbar .sorter-action,
.bouticare-plp-toolbar a.action.sorter-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(0, 19, 37, 0.15);
    border-radius: 4px;
    background: #fff;
    color: #001325;
    flex-shrink: 0;
}

.bouticare-plp-count {
    margin: 0;
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.75rem;
    line-height: 2rem;
    color: rgba(0, 19, 37, 0.55);
}

/* Keep Filter + sort/count visually tight on search PLP */
.bouticare-search-filters + .bouticare-plp .bouticare-plp-toolbar,
.column.main > .bouticare-search-filters + * .bouticare-plp-toolbar {
    margin-top: 0;
}

/* Cart drawer above mobile bottom bar — Bouticare mobile UI */
#cart-drawer {
    z-index: 1400 !important;
    position: fixed !important;
    inset: 0 0 0 auto !important;
    width: min(100vw, 420px) !important;
    max-width: 100vw !important;
    height: 100% !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    padding: 1rem 1rem 1.25rem !important;
    border: none !important;
    border-radius: 0 !important;
    background: #fff !important;
    color: #001325;
    box-shadow: -8px 0 28px rgba(0, 19, 37, 0.18);
    overflow: hidden;
    box-sizing: border-box;
    opacity: 1 !important;
}

#cart-drawer[open] {
    display: flex !important;
    flex-direction: column !important;
    visibility: visible !important;
}

#cart-drawer::backdrop {
    background: rgba(0, 19, 37, 0.45) !important;
}

#cart-drawer #cart-drawer-title {
    font-size: 1.15rem;
    margin: 0;
    line-height: 1.3;
}

#cart-drawer .items-total {
    display: block;
    margin-top: 0.15rem;
    color: rgba(0, 19, 37, 0.55);
}

#cart-drawer ul.bouticare-cart-items,
#cart-drawer .bouticare-cart-items {
    list-style: none;
    margin: 0.75rem 0 0;
    padding: 0;
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

#cart-drawer .bouticare-cart-item {
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
    padding: 0.85rem 0 !important;
    border-bottom: 1px solid rgba(0, 19, 37, 0.1);
}

#cart-drawer .bouticare-cart-item > a,
#cart-drawer .bouticare-cart-item > div.block {
    width: 72px;
    max-width: 72px;
}

#cart-drawer img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 4px;
    background: #f3f3f3;
    display: block;
}

#cart-drawer .bouticare-cart-item .price-box .price {
    font-weight: 700;
    color: #001325;
    white-space: nowrap;
}

#cart-drawer .bouticare-cart-item-actions .btn {
    width: auto !important;
    min-height: 2.25rem;
    min-width: 2.25rem;
    padding: 0.4rem !important;
    border: 1px solid rgba(0, 19, 37, 0.15);
    background: #fff;
    border-radius: 4px;
}

#cart-drawer .bouticare-cart-item-actions button.btn {
    border-color: rgba(232, 0, 113, 0.25);
    background: #fff5f9;
}

#cart-drawer .bouticare-cart-foot {
    border-top: 1px solid rgba(0, 19, 37, 0.1);
    margin-top: auto;
    padding-top: 1rem;
    background: #fff;
    flex-shrink: 0;
}

#cart-drawer .bouticare-cart-empty svg {
    max-width: 96px;
}

#cart-drawer a.btn,
#cart-drawer .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.7rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
}

#cart-drawer .bouticare-cart-foot .btn {
    width: 100%;
}

#cart-drawer a[href*="checkout"],
#cart-drawer a.primary,
#cart-drawer .btn-primary {
    background: #e80071;
    color: #fff;
    border: none;
}

#cart-drawer a[href*="cart"],
#cart-drawer .btn-secondary {
    background: #fff;
    color: #001325;
    border: 1px solid rgba(0, 19, 37, 0.18);
    margin-top: 0.5rem;
}

@media (max-width: 767px) {
    #cart-drawer {
        width: 100vw !important;
        padding: 1rem 1rem calc(1.25rem + env(safe-area-inset-bottom, 0px)) !important;
    }

    #cart-drawer #cart-drawer-title {
        font-size: 1.05rem;
    }
}

/* Full-width category/search grids (no empty sidebar gap) */
.bouticare-theme.catalog-category-view .columns,
.bouticare-theme.catalogsearch-result-index .columns {
    display: block !important;
    grid-template-columns: none !important;
    max-width: 1300px;
    margin-inline: auto;
    padding-inline: 0;
    width: 100%;
}

.bouticare-theme.catalog-category-view .column.main,
.bouticare-theme.catalogsearch-result-index .column.main {
    width: 100% !important;
    max-width: none !important;
    padding: 0;
}

.bouticare-theme.catalog-category-view .products.wrapper,
.bouticare-theme.catalogsearch-result-index .products.wrapper {
    width: 100%;
}

.bouticare-theme.catalog-category-view .page-title-wrapper,
.bouticare-theme.catalogsearch-result-index .page-title-wrapper {
    padding: 0.75rem 0.75rem 0.25rem;
}

.bouticare-theme.catalog-category-view .page-title-wrapper h1,
.bouticare-theme.catalogsearch-result-index .page-title-wrapper h1 {
    font-size: 1.15rem;
    margin: 0;
}

@media (min-width: 768px) {
    .bouticare-plp {
        padding: 0 1rem 2rem;
    }

    .bouticare-plp-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 0.85rem !important;
    }

    .bouticare-plp-toolbar .modes,
    .bouticare-plp-toolbar .limiter {
        display: none !important;
    }
}

@media (min-width: 1100px) {
    .bouticare-plp-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 768px) {
    .bouticare-theme .products-grid .product-items {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 1100px) {
    .bouticare-theme .products-grid .product-items {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.bouticare-theme .products-grid .product-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    padding: 0.65rem;
}

.bouticare-theme .toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0;
}

.bouticare-theme .bouticare-plp-toolbar,
.bouticare-theme .bouticare-plp-toolbar .toolbar.toolbar-products {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.5rem !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 2rem;
    height: auto;
    grid: none !important;
    grid-template-columns: none !important;
    grid-template-rows: none !important;
}

.bouticare-theme .bouticare-plp-toolbar {
    justify-content: space-between !important;
    width: 100%;
    padding: 0.15rem 0 0.45rem !important;
}

.bouticare-theme .bouticare-plp-toolbar .toolbar.toolbar-products {
    flex: 1 1 auto;
    width: auto !important;
    max-width: calc(100% - 7rem);
}

.bouticare-theme .bouticare-plp-toolbar .modes,
.bouticare-theme .bouticare-plp-toolbar .limiter,
.bouticare-theme .bouticare-plp-toolbar .pages,
.bouticare-theme .bouticare-plp-toolbar .toolbar-amount {
    display: none !important;
}

.bouticare-theme .bouticare-plp-toolbar .toolbar-sorter,
.bouticare-theme .bouticare-plp-toolbar .sorter {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 0.35rem !important;
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    max-width: 100%;
    order: 0 !important;
    grid-column: auto !important;
}

.bouticare-theme .bouticare-plp-toolbar .toolbar-sorter label {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    gap: 0;
}

.bouticare-theme .bouticare-plp-toolbar .toolbar-sorter label > span,
.bouticare-theme .bouticare-plp-toolbar .toolbar-sorter .label {
    display: none !important;
}

.bouticare-theme .bouticare-plp-toolbar .sorter-options,
.bouticare-theme .bouticare-plp-toolbar select[data-role="sorter"] {
    display: inline-block !important;
    width: auto !important;
    min-width: 7.5rem;
    max-width: 10rem;
    height: 2rem !important;
    min-height: 2rem !important;
    padding: 0 1.6rem 0 0.55rem !important;
    border: 1px solid rgba(0, 19, 37, 0.15) !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
    color: #001325;
    box-sizing: border-box;
    vertical-align: middle;
}

.bouticare-theme .bouticare-plp-toolbar .sorter-action,
.bouticare-theme .bouticare-plp-toolbar a.action.sorter-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 2rem !important;
    height: 2rem !important;
    margin: 0 !important;
    border: 1px solid rgba(0, 19, 37, 0.15) !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #001325 !important;
    flex-shrink: 0;
}

.bouticare-theme .bouticare-plp-toolbar .bouticare-plp-count {
    margin: 0 !important;
    padding: 0 !important;
    flex: 0 0 auto;
    white-space: nowrap;
    font-size: 0.75rem;
    line-height: 2rem;
    color: rgba(0, 19, 37, 0.55);
    align-self: center;
}

.bouticare-theme .page-title-wrapper h1 {
    font-size: 1.25rem;
    font-weight: 700;
    padding: 1rem 0 0.5rem;
    color: #001325;
}

/* ═══════════════════════════════════════════════════════════
   Sticky header + polished footer
   ═══════════════════════════════════════════════════════════ */
.bouticare-theme .page-header {
    position: sticky !important;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: #fff;
}

.bouticare-theme .site-header {
    width: 100%;
    background: #fff;
    z-index: 1100;
}

.bouticare-theme .site-header.is-menu-open,
.bouticare-theme .page-header:has(.site-header.is-menu-open) {
    z-index: 1300;
}

/* Collapse desktop top strip when scrolled */
@media (min-width: 901px) {
    .site-header.is-scrolled #header_id .nykaa-top-strip,
    .site-header.is-scrolled .nykaa-top-strip {
        max-height: 0 !important;
        height: 0 !important;
        line-height: 0 !important;
        overflow: hidden;
        opacity: 0;
        border: none;
        padding: 0 !important;
        margin: 0 !important;
        transition: max-height 0.2s ease, opacity 0.15s ease;
    }

    .site-header #header_id .nykaa-top-strip,
    .site-header .nykaa-top-strip {
        max-height: 40px;
        transition: max-height 0.2s ease, opacity 0.15s ease;
    }

    .site-header.is-scrolled .megaMenu_main {
        box-shadow: none;
    }

    .header-desktop-only {
        display: block !important;
        width: 100%;
    }

    .header-mobile-only {
        display: none !important;
    }
}

@media (max-width: 900px) {
    .header-desktop-only {
        display: none !important;
    }

    .header-mobile-only {
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding: 0;
    }

    .header-inner {
        padding: 0 0.85rem;
        max-width: 100%;
    }

    .header-top-bar,
    .header-plp-bar {
        min-height: 52px;
        padding: 0.5rem 0;
    }

    .header-logo-img {
        height: 22px;
        width: auto;
        display: block;
    }

    .header-search-wrap {
        padding-bottom: 0.65rem;
    }

    .header-search-shell,
    .header-search-field {
        background: #f3f3f3;
        border-radius: 4px;
    }

    .header-icon-btn {
        width: 40px;
        height: 40px;
        color: #001325;
    }

    .header-cart-badge {
        position: absolute;
        top: 2px;
        right: 2px;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        border-radius: 999px;
        background: #e80071;
        color: #fff;
        font-size: 10px;
        font-weight: 700;
        line-height: 16px;
        text-align: center;
    }

    .header-cart-btn {
        position: relative;
    }
}

/* Footer polish — compact Bouticare footer */
.bouticare-theme .page-footer {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}

.bouticare-theme .page-footer > .footer.content {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
}

.site-footer {
    background: #fafafa;
    border-top: 1px solid rgba(0, 19, 37, 0.08);
    margin: 0;
    width: 100%;
}

.site-footer-inner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0;
}

.site-footer-links {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #fff;
}

.site-footer-seo {
    max-width: 1300px;
    margin: 0 auto;
    padding: 1.15rem 1rem 1.25rem;
    background: #fff;
    border-bottom: 1px solid rgba(0, 19, 37, 0.08);
}

.site-footer-seo-title {
    margin: 0 0 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #001325;
    line-height: 1.35;
}

.site-footer-seo-text {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    line-height: 1.55;
    color: rgba(0, 19, 37, 0.62);
    max-width: 72rem;
}

.site-footer-seo-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.site-footer-seo-tags-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(0, 19, 37, 0.55);
    margin-right: 0.15rem;
}

.site-footer-seo-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.55rem;
    border: 1px solid rgba(0, 19, 37, 0.12);
    border-radius: 999px;
    background: #f7f7f8;
    color: #001325;
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.site-footer-seo-tag:hover {
    border-color: rgba(232, 0, 113, 0.35);
    color: #e80071;
    background: #fff0f7;
}

@media (min-width: 901px) {
    .site-footer-seo {
        padding: 1.35rem 2rem 1.5rem;
    }

    .site-footer-seo-title {
        font-size: 0.9rem;
    }

    .site-footer-seo-text {
        font-size: 0.78rem;
        margin-bottom: 0.9rem;
    }

    .site-footer-seo-tag {
        font-size: 0.72rem;
        padding: 0.32rem 0.65rem;
    }
}

.site-footer-section {
    border-bottom: 1px solid rgba(0, 19, 37, 0.1) !important;
    border-top: none !important;
    margin: 0;
    background: #fff;
}

.site-footer-accordion-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0.85rem 1rem;
    background: #fff !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #001325 !important;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    line-height: 1.2;
}

.site-footer-accordion-btn:focus,
.site-footer-accordion-btn:focus-visible,
.site-footer-accordion-btn:active {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    background: #fff !important;
}

.site-footer-accordion-label {
    flex: 1;
    min-width: 0;
}

.site-footer-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    color: rgba(0, 19, 37, 0.45);
    transition: transform 0.2s ease;
}

.site-footer-chevron svg {
    width: 14px;
    height: 14px;
    display: block;
}

.site-footer-section.is-open > .site-footer-accordion-btn .site-footer-chevron,
.site-footer-accordion-btn[aria-expanded="true"] .site-footer-chevron {
    transform: rotate(180deg);
}

.site-footer-accordion-panel {
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    padding: 0 1rem 0.9rem;
    background: #fff;
}

.site-footer-section.is-open > .site-footer-accordion-panel {
    display: flex !important;
}

.site-footer-accordion-panel[x-cloak],
.site-footer-accordion-panel[style*="display: none"] {
    display: none !important;
}

.site-footer-accordion-panel a {
    font-size: 12px;
    color: rgba(0, 19, 37, 0.62);
    text-decoration: none;
    line-height: 1.4;
    padding: 0.15rem 0;
}

.site-footer-accordion-panel a:hover {
    color: #e80071;
}

.site-footer-desktop-links {
    display: none;
}

.site-footer-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.75rem;
    padding: 0.65rem 1rem;
    margin: 0;
    background: #fff;
    border-top: none;
    border-bottom: 1px solid rgba(0, 19, 37, 0.06);
}

.site-footer-trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    font-size: 11px;
    font-weight: 600;
    color: rgba(0, 19, 37, 0.7);
    white-space: nowrap;
}

.site-footer-trust-item::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #e80071;
    flex-shrink: 0;
}

.site-footer-bottom {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    margin: 0;
    background: #fff;
}

.site-footer-logo {
    display: inline-flex;
    line-height: 0;
    flex-shrink: 0;
}

.site-footer-logo img {
    display: block;
    height: 18px;
    width: auto;
}

.site-footer-copyright,
.site-footer-bottom p {
    margin: 0;
    font-size: 0.65rem;
    color: rgba(0, 19, 37, 0.5);
    line-height: 1.3;
    text-align: right;
}

@media (min-width: 901px) {
    .site-footer {
        background: #fff;
    }

    .bouticare-theme .site-footer-links,
    .site-footer-links {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.25rem 2rem !important;
        padding: 1.25rem 1.5rem 0.85rem !important;
        border-bottom: 1px solid rgba(0, 19, 37, 0.06);
    }

    .site-footer-section {
        border-bottom: none;
    }

    .site-footer-accordion-btn,
    .site-footer-accordion-panel {
        display: none !important;
    }

    .site-footer-desktop-links {
        display: block !important;
    }

    .site-footer-desktop-links h4 {
        margin: 0 0 0.55rem;
        font-size: 0.78rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: #001325;
    }

    .site-footer-desktop-links a {
        display: block;
        margin: 0 0 0.35rem;
        padding: 0;
        font-size: 0.78rem;
        color: rgba(0, 19, 37, 0.62);
        text-decoration: none;
        line-height: 1.35;
    }

    .site-footer-desktop-links a:last-child {
        margin-bottom: 0;
    }

    .site-footer-desktop-links a:hover {
        color: #e80071;
    }

    .site-footer-trust {
        gap: 1.25rem;
        padding: 0.7rem 1.5rem;
        justify-content: flex-start;
        border-bottom: none;
    }

    .site-footer-trust-item {
        font-size: 12px;
    }

    .site-footer-bottom {
        padding: 0.7rem 1.5rem 0.85rem;
        border-top: 1px solid rgba(0, 19, 37, 0.06);
    }

    .site-footer-logo img {
        height: 20px;
    }

    .bouticare-theme .page-footer,
    .bouticare-theme .site-footer {
        padding-bottom: 0 !important;
    }
}

/* Sticky mobile bar is fixed — do not reserve empty footer space under copyright */
@media (max-width: 900px) {
    .bouticare-theme .page-main,
    .bouticare-home .page-main,
    .bouticare-pdp .page-main {
        padding-bottom: 0 !important;
    }

    .bouticare-theme .page-footer,
    .bouticare-theme .site-footer,
    .bouticare-pdp .page-footer,
    .bouticare-pdp .site-footer {
        padding-bottom: 0 !important;
    }
}



/* ==========================================================================
   Bouticare auth — login / register / forgot password
   ========================================================================== */

.bouticare-theme.bouticare-auth .columns,
.bouticare-theme.bouticare-auth .column.main,
.bouticare-theme.bouticare-auth .page-main {
    max-width: none;
    width: 100%;
}

.bouticare-theme.bouticare-auth .page-main {
    padding-top: 0;
    padding-bottom: 0;
}

.bouticare-theme.bouticare-auth .messages,
.bouticare-theme.bouticare-auth .page.messages {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

.bouticare-auth-shell,
.bouticare-theme.bouticare-auth .login-container,
.bouticare-theme.bouticare-auth .registration-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
    box-sizing: border-box;
}

.bouticare-auth-shell::before,
.bouticare-theme.bouticare-auth .login-container::before,
.bouticare-theme.bouticare-auth .registration-container::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 220px;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 120% at 10% -20%, rgba(232, 0, 113, 0.14), transparent 55%),
        radial-gradient(ellipse 70% 100% at 90% 0%, rgba(252, 39, 121, 0.1), transparent 50%),
        linear-gradient(180deg, #fff5f9 0%, transparent 100%);
}

.bouticare-theme.bouticare-auth .login-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: stretch;
}

.bouticare-auth-shell--single {
    display: flex;
    justify-content: center;
    max-width: 560px;
}

.bouticare-auth-shell--register,
.bouticare-theme.bouticare-auth .registration-container {
    max-width: 960px;
}

.bouticare-auth-card {
    position: relative;
    z-index: 1;
    background: #fff;
    border: 1px solid rgba(0, 19, 37, 0.08);
    border-radius: 16px;
    padding: 1.75rem 1.35rem 1.5rem;
    box-shadow: 0 12px 40px rgba(0, 19, 37, 0.06);
}

.bouticare-auth-card--aside {
    background:
        linear-gradient(160deg, #fff 0%, #fff7fb 55%, #ffeef6 100%);
    border-color: rgba(232, 0, 113, 0.12);
}

.bouticare-auth-card--register-intro {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    box-shadow: none;
    background: transparent;
    border: none;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0.25rem;
}

.bouticare-auth-eyebrow {
    margin: 0 0 0.4rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #e80071;
}

.bouticare-auth-title {
    margin: 0 0 0.55rem;
    font-size: clamp(1.55rem, 3.5vw, 1.9rem);
    font-weight: 700;
    line-height: 1.2;
    color: #001325;
    letter-spacing: -0.02em;
}

.bouticare-auth-title--sm {
    font-size: clamp(1.25rem, 3vw, 1.45rem);
}

.bouticare-auth-lead {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
    color: rgba(0, 19, 37, 0.62);
}

.bouticare-auth-switch {
    margin: 0.85rem 0 0;
    font-size: 0.9rem;
    color: rgba(0, 19, 37, 0.62);
}

.bouticare-auth-switch a {
    color: #e80071;
    font-weight: 600;
    text-decoration: none;
}

.bouticare-auth-switch a:hover {
    text-decoration: underline;
}

.bouticare-auth-perks {
    margin: 1.15rem 0 0;
    padding: 0;
    list-style: none;
}

.bouticare-auth-perks li {
    position: relative;
    margin: 0 0 0.55rem;
    padding-left: 1.35rem;
    font-size: 0.9rem;
    color: rgba(0, 19, 37, 0.78);
    line-height: 1.4;
}

.bouticare-auth-perks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #e80071;
    box-shadow: 0 0 0 3px rgba(232, 0, 113, 0.15);
}

.bouticare-auth-form .field {
    margin-bottom: 1.1rem;
}

.bouticare-auth-form .label,
.bouticare-theme.bouticare-auth .label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #001325;
}

.bouticare-auth-label-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
}

.bouticare-auth-label-row .label {
    margin-bottom: 0;
}

.bouticare-auth-forgot {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e80071;
    text-decoration: none;
    white-space: nowrap;
}

.bouticare-auth-forgot:hover {
    text-decoration: underline;
}

.bouticare-theme.bouticare-auth .form-input,
.bouticare-theme.bouticare-auth input.form-input,
.bouticare-theme.bouticare-auth select.form-input,
.bouticare-theme.bouticare-auth textarea.form-input {
    width: 100%;
    min-height: 48px;
    padding: 0.7rem 0.95rem;
    border: 1px solid rgba(0, 19, 37, 0.16);
    border-radius: 10px;
    background: #fff;
    color: #001325;
    /* 16px minimum prevents iOS Safari zoom-on-focus */
    font-size: 16px;
    line-height: 1.4;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

.bouticare-theme.bouticare-auth .form-input:hover {
    border-color: rgba(232, 0, 113, 0.35);
}

.bouticare-theme.bouticare-auth .form-input:focus {
    outline: none;
    border-color: #e80071;
    box-shadow: 0 0 0 3px rgba(232, 0, 113, 0.15);
}

.bouticare-auth-password {
    position: relative;
    display: flex;
    align-items: center;
}

.bouticare-auth-password .form-input {
    padding-right: 3rem;
}

.bouticare-auth-toggle-pass {
    position: absolute;
    right: 0.35rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: rgba(0, 19, 37, 0.45);
    cursor: pointer;
    border-radius: 8px;
}

.bouticare-auth-toggle-pass:hover {
    color: #e80071;
    background: rgba(232, 0, 113, 0.06);
}

.bouticare-auth-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding-top: 0.35rem;
}

.bouticare-auth-actions .primary,
.bouticare-auth-actions .secondary {
    margin: 0;
}

.bouticare-theme.bouticare-auth .btn-primary,
.bouticare-theme.bouticare-auth .bouticare-auth-submit,
.bouticare-auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 0.85rem 1.25rem;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #fc2779 0%, #e80071 100%);
    color: #fff !important;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(232, 0, 113, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.bouticare-theme.bouticare-auth .btn-primary:hover,
.bouticare-theme.bouticare-auth .bouticare-auth-submit:hover,
.bouticare-auth-submit:hover {
    filter: brightness(1.03);
    box-shadow: 0 10px 24px rgba(232, 0, 113, 0.34);
    transform: translateY(-1px);
}

.bouticare-theme.bouticare-auth .btn-primary:disabled,
.bouticare-auth-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.bouticare-auth-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 0.85rem 1.25rem;
    border: 1.5px solid #e80071;
    border-radius: 999px;
    background: #fff;
    color: #e80071 !important;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.bouticare-auth-secondary:hover {
    background: rgba(232, 0, 113, 0.06);
}

.bouticare-auth-back {
    display: inline-flex;
    justify-content: center;
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(0, 19, 37, 0.65);
    text-decoration: none;
}

.bouticare-auth-back:hover {
    color: #e80071;
}

.bouticare-auth-error {
    margin-top: 0.85rem;
    font-size: 0.9rem;
}

.bouticare-auth-legal {
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: rgba(0, 19, 37, 0.5);
}

.bouticare-auth-fieldset.card,
.bouticare-theme.bouticare-auth .bouticare-auth-fieldset {
    margin: 0 !important;
    padding: 1.35rem 1.2rem 1.15rem;
    background: #fff;
    border: 1px solid rgba(0, 19, 37, 0.08);
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0, 19, 37, 0.05);
}

.bouticare-auth-fieldset > legend,
.bouticare-auth-fieldset legend span {
    display: block;
    margin-bottom: 1rem;
    font-size: 1rem;
    font-weight: 700;
    color: #001325;
}

.bouticare-auth-register-grid {
    gap: 1.15rem !important;
}

.bouticare-theme.bouticare-auth .field.choice {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.75rem;
}

.bouticare-theme.bouticare-auth .field.choice .label {
    margin: 0;
    font-weight: 500;
}

.bouticare-theme.bouticare-auth .password-strength-meter {
    font-size: 0.8rem;
    color: rgba(0, 19, 37, 0.55);
}

/* Prevent iOS Safari zoom-on-focus (requires >= 16px text inputs) */
@media (max-width: 1024px) {
    .bouticare-theme input.form-input,
    .bouticare-theme select.form-input,
    .bouticare-theme textarea.form-input,
    .bouticare-theme input[type="email"],
    .bouticare-theme input[type="password"],
    .bouticare-theme input[type="text"],
    .bouticare-theme input[type="tel"],
    .bouticare-theme input[type="number"],
    .bouticare-theme input[type="search"],
    .bouticare-theme textarea,
    .bouticare-theme select {
        font-size: 16px !important;
    }
}

@media (min-width: 768px) {
    .bouticare-auth-shell,
    .bouticare-theme.bouticare-auth .login-container,
    .bouticare-theme.bouticare-auth .registration-container {
        padding: 2.5rem 1.5rem 4rem;
    }

    .bouticare-theme.bouticare-auth .login-container {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        gap: 1.5rem;
        align-items: stretch;
    }

    .bouticare-auth-card {
        padding: 2rem 1.75rem 1.75rem;
    }

    .bouticare-auth-card--aside {
        display: flex;
        align-items: center;
    }

    .bouticare-auth-actions {
        flex-direction: row;
        align-items: center;
    }

    .bouticare-auth-actions .bouticare-auth-submit,
    .bouticare-auth-actions .btn-primary {
        width: auto;
        min-width: 180px;
    }

    .bouticare-auth-card--login .bouticare-auth-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .bouticare-auth-card--login .bouticare-auth-submit {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .bouticare-auth-card {
        border-radius: 14px;
        padding: 1.4rem 1.1rem 1.25rem;
    }

    .bouticare-auth-shell::before,
    .bouticare-theme.bouticare-auth .login-container::before,
    .bouticare-theme.bouticare-auth .registration-container::before {
        height: 160px;
    }
}

/* ═══════════════════════════════════════════════════════════
   Cart page — Bouticare mobile + desktop
   ═══════════════════════════════════════════════════════════ */
body.checkout-cart-index main.page-main {
    margin: 0 !important;
    padding: 0 !important;
    max-width: none;
    width: 100%;
}

body.checkout-cart-index .columns,
body.checkout-cart-index .column.main {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.checkout-cart-index .page-title-wrapper {
    padding: 0.65rem 0.85rem 0.4rem;
    background: #fff;
    border-bottom: 1px solid rgba(0, 19, 37, 0.08);
}

body.checkout-cart-index .page-title-wrapper h1,
body.checkout-cart-index .page-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #001325;
    background: none;
    display: inline;
    padding: 0;
}

body.checkout-cart-index .cart-form {
    padding: 0 0 5.5rem;
    background: #fff;
    min-height: 40vh;
}

.bouticare-cart-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

.bouticare-cart-items-col {
    background: #fff;
    border: none;
    border-radius: 0;
    padding: 0 0.85rem;
    box-sizing: border-box;
}

.bouticare-cart-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bouticare-cart-list-item {
    margin: 0;
    padding: 0.55rem 0 !important;
    border-bottom: 1px solid rgba(0, 19, 37, 0.08) !important;
}

.bouticare-cart-list-item:last-child {
    border-bottom: none !important;
}

.bouticare-cart-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0.65rem;
    align-items: start;
    width: 100%;
}

.bouticare-cart-item-photo {
    width: 64px;
    height: 64px;
    border-radius: 4px;
    overflow: hidden;
    background: #f5f5f5;
    border: 1px solid rgba(0, 19, 37, 0.06);
    display: block;
}

.bouticare-cart-item-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.bouticare-cart-item-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.bouticare-cart-item-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.bouticare-cart-item-name {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.3;
    color: #001325;
    flex: 1;
    min-width: 0;
}

.bouticare-cart-item-name a {
    color: inherit;
    text-decoration: none;
}

.bouticare-cart-item-name a:hover {
    color: #e80071;
}

.bouticare-cart-item-price {
    flex-shrink: 0;
    font-size: 0.88rem;
    font-weight: 700;
    color: #001325;
    white-space: nowrap;
    text-align: right;
    line-height: 1.3;
}

.bouticare-cart-item-price .price-excluding-tax,
.bouticare-cart-item-price .price-including-tax,
.bouticare-cart-item-unit .price-excluding-tax,
.bouticare-cart-item-unit .price-including-tax {
    display: inline;
}

.bouticare-cart-item-unit {
    margin: 0;
    font-size: 0.72rem;
    color: rgba(0, 19, 37, 0.55);
    line-height: 1.25;
}

.bouticare-cart-item-unit .price {
    font-weight: 500;
}

.bouticare-cart-item-options {
    margin: 0;
    font-size: 0.7rem;
    color: rgba(0, 19, 37, 0.6);
}

.bouticare-cart-item-options dt {
    display: inline;
    font-weight: 500;
}

.bouticare-cart-item-options dd {
    display: inline;
    margin: 0 0 0 0.2rem;
    font-weight: 600;
}

.bouticare-cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.15rem;
}

.bouticare-cart-qty-input,
.bouticare-cart-item input.qty,
.bouticare-cart-item .form-input.qty {
    width: 2.75rem;
    min-height: 2rem;
    padding: 0.2rem 0.25rem;
    border: 1px solid rgba(0, 19, 37, 0.18);
    border-radius: 4px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #001325;
    background: #fff;
    box-sizing: border-box;
}

.bouticare-cart-item-buttons {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-left: 0 !important;
}

.bouticare-cart-item-buttons .btn,
.bouticare-cart-item-buttons a,
.bouticare-cart-item-buttons button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid rgba(0, 19, 37, 0.12);
    border-radius: 4px;
    background: #fff;
    color: #001325;
    text-decoration: none;
}

.bouticare-cart-item-buttons .btn:hover,
.bouticare-cart-item-buttons a:hover,
.bouticare-cart-item-buttons button:hover {
    border-color: #e80071;
    color: #e80071;
}

.bouticare-cart-form-actions,
body.checkout-cart-index .form-cart .cart.actions,
body.checkout-cart-index .actions-toolbar.cart.actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 0.5rem;
    margin: 0.5rem 0 0.75rem;
    padding: 0;
    min-height: 0;
    border: none;
}

body.checkout-cart-index .form-cart .cart.actions .btn,
body.checkout-cart-index .form-cart .cart.actions button {
    flex: 0 0 auto;
    min-height: 2.25rem;
    height: auto;
    padding: 0.5rem 0.9rem;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    width: auto;
    max-width: 100%;
}

body.checkout-cart-index .form-cart .cart.actions .btn-secondary,
body.checkout-cart-index .form-cart .cart.actions button[name="update_cart_action"] {
    background: #fff;
    color: #e80071;
    border: 1.5px solid #e80071;
}

.pdp-m-sticky-footer .pdp-sticky-atc,
.pdp-m-sticky-footer #product-addtocart-button {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: #e80071 !important;
    border: none !important;
    color: #fff !important;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 12px;
    min-height: 44px;
}

.bouticare-cart-summary {
    background: #fafafa;
    border: none;
    border-top: 1px solid rgba(0, 19, 37, 0.08);
    border-radius: 0;
    padding: 0.85rem 0.85rem 1rem;
    box-sizing: border-box;
}

.bouticare-cart-summary-title {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #001325;
}

.bouticare-cart-summary .cart-summary-actions {
    margin: 0 0 0.5rem !important;
}

.bouticare-cart-summary .cart-summary-actions > * + * {
    margin-top: 0.35rem;
}

.bouticare-cart-summary details,
.bouticare-cart-summary .coupon-form,
.bouticare-cart-summary .cart-shipping {
    border: 1px solid rgba(0, 19, 37, 0.1);
    border-radius: 4px;
    background: #fff;
    padding: 0 0.65rem;
    margin-bottom: 0.4rem;
}

.bouticare-cart-summary details summary,
.bouticare-cart-summary .coupon-form summary,
.bouticare-cart-summary .cart-shipping summary {
    list-style: none;
    padding: 0.55rem 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: #001325;
    cursor: pointer;
}

.bouticare-cart-summary details summary::-webkit-details-marker {
    display: none;
}

.bouticare-cart-summary details[open] > *:not(summary),
.bouticare-cart-summary .coupon-form .form,
.bouticare-cart-summary .cart-shipping form,
.bouticare-cart-summary .cart-shipping .fieldset {
    padding-bottom: 0.65rem;
}

.bouticare-cart-summary input[type="text"],
.bouticare-cart-summary input[type="number"],
.bouticare-cart-summary select,
.bouticare-cart-summary .form-input,
.bouticare-cart-summary .form-select {
    display: block;
    width: 100%;
    min-height: 2.5rem;
    height: 2.5rem;
    margin: 0.35rem 0 0;
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(0, 19, 37, 0.18);
    border-radius: 4px;
    font-size: 0.875rem;
    line-height: 1.25;
    color: #001325;
    box-sizing: border-box;
    background: #fff;
    appearance: auto;
    -webkit-appearance: auto;
}

.bouticare-cart-summary select.form-select,
.bouticare-cart-summary .form-select {
    padding-right: 2rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23001325' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px 8px;
}

.bouticare-cart-summary .field .label,
.bouticare-cart-summary label.label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #001325;
    line-height: 1.3;
}

.bouticare-cart-summary .field.mt-2 {
    margin-top: 0.65rem;
}

.bouticare-cart-summary .field.note,
.bouticare-cart-summary p.field.note {
    margin: 0.15rem 0 0.35rem;
    font-size: 0.75rem;
    line-height: 1.4;
    color: rgba(0, 19, 37, 0.65);
}

.bouticare-cart-summary details#block-shipping > div.mb-4,
.bouticare-cart-summary .estimate-shipping-form > div.mb-4 {
    margin-bottom: 0.5rem !important;
    padding-bottom: 0.65rem;
}

.bouticare-cart-summary button[type="submit"],
.bouticare-cart-summary button[type="button"]:not([aria-label]),
.bouticare-cart-summary .cart-discount button,
.bouticare-cart-summary .cart-shipping button {
    width: 100%;
    text-align: center;
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(0, 19, 37, 0.12);
    border-radius: 4px;
    background: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    color: #001325;
    margin-top: 0.25rem;
}

.bouticare-cart-summary .totals,
.bouticare-cart-summary .table-totals,
.bouticare-cart-summary table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.35rem;
}

.bouticare-cart-summary .totals th,
.bouticare-cart-summary .totals td,
.bouticare-cart-summary .table-totals th,
.bouticare-cart-summary .table-totals td,
.bouticare-cart-summary .amount,
.bouticare-cart-summary .mark {
    padding: 0.3rem 0;
    font-size: 0.85rem;
    vertical-align: middle;
}

.bouticare-cart-summary .totals .mark,
.bouticare-cart-summary .table-totals .mark,
.bouticare-cart-summary th.mark {
    text-align: left;
    font-weight: 500;
    color: rgba(0, 19, 37, 0.7);
}

.bouticare-cart-summary .totals .amount,
.bouticare-cart-summary .table-totals .amount,
.bouticare-cart-summary td.amount {
    text-align: right;
    font-weight: 700;
    color: #001325;
    white-space: nowrap;
}

.bouticare-cart-summary .grand .mark,
.bouticare-cart-summary .grand .amount,
.bouticare-cart-summary .grand.totals .mark,
.bouticare-cart-summary .grand.totals .amount {
    font-size: 1rem;
    font-weight: 700;
    color: #001325;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 19, 37, 0.1);
}

body.checkout-cart-index .price-excluding-tax::after,
body.checkout-cart-index .price-including-tax::after,
.bouticare-cart-item .price-excluding-tax::after,
.bouticare-cart-item .price-including-tax::after {
    content: none !important;
}

body.checkout-cart-index .checkout-methods-items,
.bouticare-cart-summary .checkout-methods-items {
    list-style: none;
    margin: 0.65rem 0 0;
    padding: 0;
}

body.checkout-cart-index .checkout-methods-items a,
.bouticare-cart-summary .action.primary.checkout,
.bouticare-cart-summary a.action.checkout {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.75rem;
    padding: 0.7rem 1rem;
    background: #e80071 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none !important;
    box-sizing: border-box;
}

body.checkout-cart-index .cart-empty,
body.checkout-cart-index .cart.empty {
    background: #fff;
    margin: 0.75rem;
    padding: 2rem 1rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(0, 19, 37, 0.08);
}

/* Sticky checkout on mobile */
@media (max-width: 899px) {
    .bouticare-cart-summary .checkout-methods-items {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 90;
        margin: 0;
        padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
        background: #fff;
        border-top: 1px solid rgba(0, 19, 37, 0.1);
        box-shadow: 0 -4px 16px rgba(0, 19, 37, 0.08);
    }

    body.checkout-cart-index .page-footer {
        padding-bottom: 4.5rem;
    }
}

@media (min-width: 900px) {
    body.checkout-cart-index .page-title-wrapper {
        padding: 1rem 1.25rem 0.5rem;
        max-width: 1100px;
        margin: 0 auto;
        border: none;
        background: transparent;
    }

    body.checkout-cart-index .page-title-wrapper h1,
    body.checkout-cart-index .page-title {
        font-size: 1.35rem;
    }

    body.checkout-cart-index .cart-form {
        background: #f7f7f7;
        padding: 0.75rem 0 2rem;
    }

    .bouticare-cart-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
        padding: 0 1.25rem 2rem;
    }

    .bouticare-cart-items-col {
        flex: 1;
        min-width: 0;
        background: #fff;
        border: 1px solid rgba(0, 19, 37, 0.08);
        border-radius: 8px;
        padding: 0.35rem 1.1rem 1rem;
    }

    .bouticare-cart-summary {
        flex: 0 0 320px;
        position: sticky;
        top: 5rem;
        background: #fff;
        border: 1px solid rgba(0, 19, 37, 0.08);
        border-radius: 8px;
        padding: 1rem 1.1rem 1.15rem;
    }

    .bouticare-cart-list-item {
        padding: 0.9rem 0 !important;
    }

    .bouticare-cart-item {
        grid-template-columns: 80px minmax(0, 1fr);
        gap: 0.85rem;
    }

    .bouticare-cart-item-photo {
        width: 80px;
        height: 80px;
    }

    .bouticare-cart-item-name {
        font-size: 0.95rem;
    }

    .bouticare-cart-item-price {
        font-size: 1rem;
    }
}


/* ═══════════════════════════════════════════════════════════
   Search filters + infinite load
   ═══════════════════════════════════════════════════════════ */
.bouticare-search-filters {
    position: sticky;
    top: 0;
    z-index: 40;
    background: #fff;
    border-bottom: 1px solid rgba(0, 19, 37, 0.08);
}

.bouticare-search-filters-bar {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.35rem 0.85rem 0.15rem;
    max-width: 1300px;
    margin: 0 auto;
}

.bouticare-search-filter-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 2.25rem;
    padding: 0.4rem 0.85rem;
    border: 1px solid rgba(0, 19, 37, 0.15);
    border-radius: 999px;
    background: #fff;
    color: #001325;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.bouticare-search-filters-state {
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    white-space: nowrap;
}

.bouticare-search-filters-state .filter-current,
.bouticare-search-filters-state ol {
    display: inline-flex;
    gap: 0.35rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bouticare-search-filters-state a,
.bouticare-search-filters-state .action.remove {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    background: #fff0f6;
    color: #e80071;
    font-size: 0.72rem;
    font-weight: 600;
    text-decoration: none;
}

.bouticare-filter-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 19, 37, 0.45);
    z-index: 1200;
}

.bouticare-filter-drawer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1201;
    max-height: min(88dvh, 720px);
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 28px rgba(0, 19, 37, 0.18);
}

.bouticare-filter-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid rgba(0, 19, 37, 0.08);
}

.bouticare-filter-drawer-head h2 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #001325;
}

.bouticare-filter-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    background: transparent;
    color: #001325;
    cursor: pointer;
}

.bouticare-filter-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 0.35rem 0 1rem;
    -webkit-overflow-scrolling: touch;
}

.bouticare-filter-group {
    border-bottom: 1px solid rgba(0, 19, 37, 0.08);
    margin: 0;
}

.bouticare-filter-group summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #001325;
    cursor: pointer;
}

.bouticare-filter-group summary::-webkit-details-marker {
    display: none;
}

.bouticare-filter-chevron {
    transition: transform 0.2s ease;
}

.bouticare-filter-group[open] .bouticare-filter-chevron {
    transform: rotate(180deg);
}

.bouticare-filter-group-body {
    padding: 0 1rem 0.85rem;
}

.bouticare-filter-group-body .items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.bouticare-filter-group-body .items li a,
.bouticare-filter-group-body .items li > span {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.45rem 0;
    color: #001325;
    text-decoration: none;
    font-size: 0.85rem;
}

.bouticare-filter-group-body .items .count {
    color: rgba(0, 19, 37, 0.5);
    font-weight: 600;
}

.bouticare-filter-drawer-foot {
    padding: 0.75rem 1rem calc(0.75rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(0, 19, 37, 0.08);
    background: #fff;
}

.bouticare-filter-done {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 2.75rem;
    border: none;
    border-radius: 4px;
    background: #e80071;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.bouticare-plp-loadmore {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 0.85rem 1.5rem;
}

.bouticare-plp-sentinel {
    width: 1px;
    height: 1px;
}

.bouticare-plp-loadmore-btn {
    min-width: 10rem;
    min-height: 2.6rem;
    padding: 0.6rem 1.25rem;
    border: 1.5px solid #e80071;
    border-radius: 4px;
    background: #fff;
    color: #e80071;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

.bouticare-plp-loadmore-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}

.bouticare-plp-end {
    text-align: center;
    padding: 0.5rem 1rem 1.5rem;
    font-size: 0.8rem;
    color: rgba(0, 19, 37, 0.5);
}

@media (min-width: 900px) {
    .bouticare-filter-drawer {
        left: auto;
        right: 0;
        top: 0;
        bottom: 0;
        width: min(380px, 100vw);
        max-height: none;
        border-radius: 0;
    }
}

/* ==========================================================================
   Hyvä React Checkout — Kuwait address UI polish
   ========================================================================== */
#react-checkout {
    font-family: inherit;
    color: #001325;
}

#react-checkout .form-control {
    margin-top: 0.65rem;
}

#react-checkout .form-control label {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(0, 19, 37, 0.75);
}

#react-checkout .form-control input,
#react-checkout .form-control select,
#react-checkout .form-select,
#react-checkout input[type="text"],
#react-checkout input[type="email"],
#react-checkout input[type="tel"],
#react-checkout select {
    width: 100%;
    max-width: 28rem;
    min-height: 2.65rem;
    padding: 0.55rem 0.75rem;
    border: 1px solid rgba(0, 19, 37, 0.16);
    border-radius: 4px;
    background: #fff;
    font-size: 0.95rem;
    color: #001325;
}

#react-checkout .form-control input:focus,
#react-checkout .form-control select:focus {
    outline: none;
    border-color: #e80071;
    box-shadow: 0 0 0 3px rgba(232, 0, 113, 0.12);
}

#react-checkout button,
#react-checkout .btn {
    min-height: 2.5rem;
    padding: 0.55rem 1.15rem;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

#react-checkout button.bg-primary,
#react-checkout .bg-primary,
#react-checkout button[type="button"].bg-primary {
    background: #e80071 !important;
    border-color: #e80071 !important;
    color: #fff !important;
}

@media (min-width: 901px) {
    #react-checkout .form-control input,
    #react-checkout .form-control select {
        max-width: 100%;
    }
}
