.beauty-storefront {
    --beauty-paper: #f9f5ef;
    --beauty-surface: #fffdfa;
    --beauty-ink: #282020;
    --beauty-muted: #695b58;
    --beauty-line: #e9ddd5;
    --beauty-accent: #6d3c49;
    --beauty-accent-deep: #4c2732;
    --beauty-display: 'Hind Siliguri', Georgia, serif;
    background: var(--beauty-paper);
    color: var(--beauty-ink);
}

.beauty-storefront :is(.beauty-skip, .beauty-sr-only) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}
.beauty-storefront .beauty-skip:focus {
    z-index: 12000;
    width: auto;
    height: auto;
    clip-path: none;
    padding: .7rem 1rem;
    background: var(--beauty-accent-deep);
    color: white;
}
.beauty-storefront :is(a, button, select, input):focus-visible {
    outline: 2px solid #986071;
    outline-offset: 3px;
}
.beauty-storefront :is(.beauty-save, .beauty-saved-trigger, .beauty-detail-dock, [data-saved-count], [data-saved-empty])[hidden] {
    display: none;
}

.beauty-storefront .site-header {
    background: var(--beauty-surface);
    border-bottom: 1px solid var(--beauty-line);
    box-shadow: 0 4px 18px #36202a09;
}
.beauty-storefront .header-category-bar {
    background: #f4eae3;
    border-top: 1px solid var(--beauty-line);
}
.beauty-storefront .header-cat-link { color: var(--beauty-ink); }
.beauty-storefront .header-cat-link:hover { color: var(--beauty-accent); }
.beauty-storefront .header-cat-chevron { color: var(--beauty-accent); }
.beauty-storefront .header-search input { background: var(--beauty-paper); border-color: var(--beauty-line); }
.beauty-storefront .header-inner :is(.search-submit, .cart-btn, .profile-btn, .btn-track) {
    background: var(--beauty-accent-deep);
    color: #fff;
}
.beauty-storefront .cart-dropdown { border-color: var(--beauty-line); background: var(--beauty-surface); }
.beauty-storefront .mobile-bottom-nav { background: var(--beauty-surface); border-color: var(--beauty-line); }
#storefront-content { display: flow-root; }

.beauty-storefront .beauty-hero {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    margin: clamp(14px, 3vw, 40px) auto;
}
.beauty-hero-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: clamp(24px, 4vw, 56px);
    background: #ede0d7;
    border-radius: 24px 0 0 24px;
}
.beauty-hero-copy > p:first-child {
    margin: 0 0 14px;
    color: var(--beauty-accent);
    font-weight: 700;
    letter-spacing: .07em;
}
.beauty-hero-copy h1 {
    margin: 0;
    font: 600 clamp(2.7rem, 4.4vw, 4.45rem)/1.08 var(--beauty-display);
    letter-spacing: -.04em;
    color: var(--beauty-ink);
}
.beauty-hero-description {
    max-width: 28rem;
    margin: 17px 0 24px;
    font: 400 clamp(1rem, 1.7vw, 1.25rem)/1.55 'Hind Siliguri', sans-serif;
    color: var(--beauty-muted);
}
.beauty-primary-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-height: 46px;
    padding: 10px 20px;
    border-radius: 999px;
    background: var(--beauty-accent-deep);
    color: #fff;
    font-weight: 600;
}
.beauty-primary-link:hover { background: var(--beauty-ink); color: #fff; }
.beauty-hero-media {
    overflow: hidden;
    min-width: 0;
    border-radius: 0 24px 24px 0;
    background: #d8b8b1;
}
.beauty-hero-media img { display: block; width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.beauty-storefront .beauty-campaigns { margin-block: 28px; }
.beauty-storefront .beauty-campaigns .hero-slider { border-radius: 16px; }
.beauty-storefront .hero-nav:focus-visible { opacity: 1; }

.beauty-storefront :is(.section-head, .top-categories-head) {
    border-radius: 0;
    border-bottom: 1px solid var(--beauty-line);
    background: transparent;
    gap: 12px;
    padding: 0 0 12px;
}
.beauty-storefront :is(.section-head h2, .top-categories-title, .shop-page h1, .product-detail-title) {
    color: var(--beauty-ink);
    font-family: var(--beauty-display);
    font-size: clamp(1.55rem, 3.2vw, 2.65rem);
    font-weight: 600;
    line-height: 1.17;
    text-transform: none;
}
.beauty-storefront :is(.btn-view-all, .top-categories-viewall) {
    border: 1px solid var(--beauty-line);
    border-radius: 999px;
    background: var(--beauty-surface);
    color: var(--beauty-accent-deep);
    padding: 6px 14px;
    font: 600 .93rem/1.4 'Hind Siliguri', sans-serif;
    text-transform: none;
    text-align: center;
}
.beauty-storefront .top-categories-panel { padding-inline: 0; background: transparent; border: 0; box-shadow: none; }
.beauty-storefront .top-categories-viewall { box-shadow: none; white-space: nowrap; }
.beauty-storefront .category-menu-card { border: 1px solid var(--beauty-line); border-radius: 14px; background: var(--beauty-surface); box-shadow: none; }
.beauty-storefront .category-menu-name { color: var(--beauty-ink); }
.beauty-storefront .category-menu-count { color: var(--beauty-muted); }
.beauty-storefront .product-section { padding-block: clamp(18px, 3.5vw, 48px); }
.beauty-storefront .product-grid { gap: clamp(10px, 1.45vw, 22px); }
.beauty-storefront .product-card {
    min-width: 0;
    border: 1px solid var(--beauty-line);
    border-radius: 15px;
    background: var(--beauty-surface);
    box-shadow: none;
    transition: border-color .2s, box-shadow .2s;
}
.beauty-storefront .product-card:hover { border-color: #c8a5a4; box-shadow: 0 7px 20px #42232e13; }
.beauty-storefront .product-thumb { background: #f3eae4; }
.beauty-storefront .product-thumb img { border-radius: 0; }
.beauty-storefront .product-body { padding: clamp(8px, 1.3vw, 17px); text-align: left; }
.beauty-storefront .product-title {
    color: var(--beauty-ink);
    font: 600 clamp(.88rem, 1.15vw, 1.04rem)/1.32 'Hind Siliguri', sans-serif;
}
.beauty-storefront .product-price { color: var(--beauty-accent-deep); font-weight: 700; }
.beauty-storefront .product-actions { gap: 4px; }
.beauty-storefront :is(.product-actions .btn-order, .product-actions .btn-cart, .beauty-save, .beauty-saved-trigger) {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border: 1px solid var(--beauty-line);
    border-radius: 999px;
    min-height: 38px;
    color: var(--beauty-accent-deep);
    background: var(--beauty-surface);
}
.beauty-storefront .product-actions .btn-order {
    min-width: 0;
    padding: 5px;
    background: var(--beauty-accent-deep);
    border-color: var(--beauty-accent-deep);
    color: #fff;
    font: 600 clamp(.72rem, 1vw, .9rem)/1.15 'Hind Siliguri', sans-serif;
    text-transform: none;
}
.beauty-storefront :is(.product-actions .btn-cart, .product-actions .beauty-save) { width: 35px; flex: 0 0 35px; padding: 0; }
.beauty-storefront :is(.product-actions .btn-cart, .beauty-save, .beauty-saved-trigger):hover,
.beauty-storefront .beauty-save[aria-pressed='true'] { background: #f1dfe2; color: var(--beauty-accent-deep); }
.beauty-storefront .deal-badge { background: var(--beauty-accent-deep); }
.beauty-storefront :is(.hot-deal-section, .flash-sale-section) { background: transparent; }
.beauty-storefront .flash-sale-panel { background: #f1e2df; border-color: var(--beauty-line); }
.beauty-storefront :is(.shop-toolbar, .shop-sidebar, .shop-empty) { border-color: var(--beauty-line); background: var(--beauty-surface); }
.beauty-storefront .beauty-catalog-title { margin: 0 0 18px; }
.beauty-storefront :is(.product-detail-info, .product-description, .product-reviews, .ck-card) {
    border: 1px solid var(--beauty-line);
    border-radius: 18px;
    background: var(--beauty-surface);
    box-shadow: none;
}
.beauty-storefront .product-detail-info { padding: clamp(15px, 2.6vw, 35px); }
.beauty-storefront .product-gallery { min-width: 0; }
.beauty-storefront .product-detail-title { overflow-wrap: anywhere; }
.beauty-storefront :is(.btn-buy-now, .ck-place-order, .ck-step-badge) { background: var(--beauty-accent-deep); color: #fff; }
.beauty-storefront :is(.ck-page, .ck-topbar) { background: var(--beauty-paper); }
.beauty-storefront .ck-input { border-color: var(--beauty-line); background: #fff; }
.beauty-storefront .ck-card-head { border-color: var(--beauty-line); }
.beauty-storefront .site-footer { margin-top: clamp(26px, 5vw, 64px); }

.beauty-storefront .beauty-saved-trigger { width: 40px; min-height: 40px; flex-shrink: 0; position: relative; padding: 0; }
.beauty-saved-trigger [data-saved-count] {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    padding: 0 3px;
    border-radius: 20px;
    background: var(--beauty-accent-deep);
    color: #fff;
    font: 600 11px/18px sans-serif;
}
.beauty-saved-dialog {
    width: min(440px, calc(100% - 24px));
    max-height: min(640px, 85vh);
    margin: auto;
    padding: clamp(16px, 4vw, 26px);
    border: 1px solid var(--beauty-line);
    border-radius: 20px;
    background: var(--beauty-surface);
    color: var(--beauty-ink);
}
.beauty-saved-dialog::backdrop { background: #2b1824a0; }
.beauty-saved-head, .beauty-saved-dialog li { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.beauty-saved-head h2 { margin: 0; font: 600 1.7rem var(--beauty-display); }
.beauty-saved-head p, .beauty-saved-empty { color: var(--beauty-muted); }
.beauty-saved-empty { margin-top: 16px; }
.beauty-saved-dialog ul { padding: 0; margin: 16px 0 0; list-style: none; }
.beauty-saved-dialog li { border-top: 1px solid var(--beauty-line); padding: 10px 0; }
.beauty-saved-dialog li a { display: flex; align-items: center; gap: 10px; color: var(--beauty-ink); overflow-wrap: anywhere; }
.beauty-saved-dialog li img { width: 48px; height: 48px; flex: 0 0 48px; object-fit: cover; border-radius: 9px; }
.beauty-saved-dialog button, .beauty-storefront .beauty-detail-save .beauty-save {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border: 1px solid var(--beauty-line);
    border-radius: 50%;
    color: var(--beauty-accent-deep);
    background: var(--beauty-paper);
}
.beauty-detail-save { display: flex; align-items: center; gap: 16px; margin: 14px 0; }
.beauty-review-link { color: var(--beauty-accent-deep); text-decoration: underline; }
#reviews { scroll-margin-top: 145px; }
.beauty-recent-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 195px), 1fr)); gap: 10px; }
.beauty-recent-card {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px;
    border: 1px solid var(--beauty-line);
    border-radius: 12px;
    background: var(--beauty-surface);
    color: var(--beauty-ink);
    overflow-wrap: anywhere;
}
.beauty-recent-card img { object-fit: cover; border-radius: 8px; flex: 0 0 64px; width: 64px; height: 64px; }
.beauty-recent-card span span { display: block; color: var(--beauty-accent-deep); }
.beauty-detail-dock { display: none; }

@media (max-width: 767px) {
    .beauty-storefront .beauty-hero { grid-template-columns: 1fr; }
    .beauty-hero-copy { border-radius: 17px 17px 0 0; padding: 23px 20px 25px; }
    .beauty-hero-copy h1 { font-size: clamp(2.55rem, 10vw, 4rem); }
    .beauty-hero-description { margin: 12px 0 16px; }
    .beauty-hero-media { border-radius: 0 0 17px 17px; aspect-ratio: 1.8; }
    .beauty-hero-media img { min-height: 0; }
    .beauty-storefront .beauty-campaigns { margin-block: 18px; }
    .beauty-storefront .beauty-saved-trigger { min-height: 34px; width: 34px; }
    .beauty-storefront .beauty-detail-dock {
        position: fixed;
        inset: auto 8px calc(74px + env(safe-area-inset-bottom, 0px));
        z-index: 220;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        padding: 8px 10px;
        border: 1px solid var(--beauty-line);
        border-radius: 14px;
        background: var(--beauty-surface);
        box-shadow: 0 5px 24px #38202b26;
    }
    .beauty-detail-dock div { min-width: 0; }
    .beauty-detail-dock strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .beauty-detail-dock span { font-size: .83rem; color: var(--beauty-accent-deep); }
    .beauty-detail-dock button { flex-shrink: 0; min-height: 42px; padding: 7px 12px; border-radius: 999px; background: var(--beauty-accent-deep); color: white; }
}

@media (max-width: 380px) {
    .beauty-storefront :is(.product-actions .btn-cart, .product-actions .beauty-save) { width: 30px; flex-basis: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    .beauty-storefront :is(.product-card, .hero-track) { transition: none; }
}
