﻿/* ════════════════════════════════════════════
   COCOCAKE - SHARED STYLESHEET
════════════════════════════════════════════ */

/* ════════════════════════════════════════════
   GLOBAL PAGE LOADER
════════════════════════════════════════════ */
#pageLoader {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,.82);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
    pointer-events: all;
}
#pageLoader.show { display: flex; }
#pageLoader .pl-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #f3d3e2;
    border-top-color: #ff4f95;
    border-radius: 50%;
    animation: plSpin .7s linear infinite;
}
@keyframes plSpin { to { transform: rotate(360deg); } }
#pageLoader .pl-txt {
    color: #d63384;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: .3px;
}

/* ── RESET ── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #fff7fb;
    overflow-x: hidden;
}

/* ════════════════════════════════════════════
   HEADER
════════════════════════════════════════════ */
header {
    background: linear-gradient( 135deg, #ff4f95, #ff99c8);
    padding: 16px 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
    gap: 16px;
    flex-wrap: nowrap;
}

/* LEFT: Logo */
.header-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    flex: 0 0 auto;
}

/* CENTER: Categories */
.header-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
}

/* RIGHT: Search + Cart + Login */
.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    flex: 0 0 auto;
}

/* Mobile search row — hidden on desktop, toggled on mobile */
.search-mobile-row {
    display: none;
}

/* ════════════════════════════════════════════
   MOBILE-ONLY HEADER ELEMENTS
   (hamburger, search icon — invisible on desktop)
════════════════════════════════════════════ */
.mob-search-btn {
    display: none;
}

/* Hamburger visible on all screen sizes */
.mob-ham-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.22);
    border: none;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    font-size: 20px;
    cursor: pointer;
    color: #fff;
    flex-shrink: 0;
    order: -1;
}
.mob-ham-btn:hover { background: rgba(255,255,255,.38); }

/* ════════════════════════════════════════════
   CATEGORY DRAWER (left slide-in, all pages)
════════════════════════════════════════════ */
.cat-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.48);
    z-index: 1998;
    backdrop-filter: blur(1px);
}
.cat-drawer-overlay.catOpen { display: block; }

.cat-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 270px;
    max-width: 84vw;
    height: 100%;
    background: #fffafc;
    z-index: 1999;
    transform: translateX(-100%);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    box-shadow: 4px 0 28px rgba(214,51,132,.18);
}
.cat-drawer.catOpen { transform: translateX(0); }

/* ── DRAWER HEADER ── */
.cat-drawer-head {
    background: linear-gradient(135deg,#ff4f95,#ff7dbf);
    padding: 18px 16px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(255,79,149,.25);
}
.cat-drawer-head span,
.cat-drawer-head a {
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-decoration: none;
}
.cat-drawer-close {
    background: rgba(255,255,255,.28);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background .15s;
}
.cat-drawer-close:hover { background: rgba(255,255,255,.45); }

/* ── SECTION LABEL (used by both category & sort) ── */
/* ── Drawer quick-links (Wishlist / Your Orders) ── */
#snDrawerQuickAccessTitle {
    padding-left: 16px;  /* match Sort By heading: 12px parent + 4px own */
    margin-top: 6px;     /* same top separation as .cat-drawer-sort */
}
#snDrawerQuickLinks {
    display: flex;
    flex-direction: column;
    border-bottom: 1px solid #fdeef5;
    margin-bottom: 4px;
}
.sn-drawer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 11px 16px 11px 20px;
    background: none;
    border: none;
    border-left: 3px solid transparent;
    /*border-bottom: 1px solid #fdeef5;*/
    border-bottom: 1px solid #f3d3e2;
    color: #3d1f33;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: background .15s, border-color .15s, color .15s;
}
.sn-drawer-link:hover {
    background: linear-gradient(to right, #fff0f8, #fffafc);
    color: #ff4f95;
    border-left-color: #ffb3d4;
}

.cat-drawer-section-label {
    padding: 12px 16px 5px;
    font-size: 10px;
    font-weight: 800;
    color: #c46a99;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── CATEGORY LIST ── */
.cat-drawer-list { padding: 8px 0 4px; }
.cat-drawer-list a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px 11px 20px;
    color: #3d1f33;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-left: 3px solid transparent;
    border-bottom: 1px solid #fdeef5;
    transition: background .15s, border-color .15s, color .15s;
}
.cat-drawer-list a:hover {
    background: linear-gradient(to right, #fff0f8, #fffafc);
    color: #ff4f95;
    border-left-color: #ffb3d4;
}
.cat-drawer-list a.cat-active {
    color: #ff4f95;
    font-weight: 700;
    background: linear-gradient(to right, #fff0f8, #fffafc);
    border-left-color: #ff4f95;
}

/* ── DRAWER SORT SECTION ── */
.cat-drawer-sort {
    /*border-top: 1px solid #f3d3e8;*/
    margin-top: 6px;
    padding: 0 12px 18px;
}
.cat-drawer-sort-title {
    padding: 12px 4px 8px;
    font-size: 10px;
    color: #c46a99;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* Sort chips — pill buttons laid out in wrapping row */
.cat-drawer-sort-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.cat-drawer-sort-chips a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 13px;
    border-radius: 20px;
    border: 1.5px solid #f0cfe0;
    color: #6b3255;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    background: #fff;
    transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
    cursor: pointer;
}
.cat-drawer-sort-chips a:hover {
    background: #fff0f8;
    border-color: #ff9dc8;
    color: #ff4f95;
    box-shadow: 0 2px 6px rgba(255,79,149,.12);
}
.cat-drawer-sort-chips a.sort-active {
    background: linear-gradient(135deg, #ff4f95, #ff7dbf);
    border-color: transparent;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(255,79,149,.3);
}

/* ── LOGO ── */
.logo {
    font-size: 26px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
}
.brand-logo {
    height: 44px;
    width: auto;
    display: block;
    object-fit: contain;
    filter:
        drop-shadow(0 0 2px #fff)
        drop-shadow(0 0 2px #fff);
}

/* ── SEARCH (desktop) ── */
.search {
    width: 240px;
    padding: 11px 20px;
    border: none;
    border-radius: 25px;
    outline: none;
    font-size: 14px;
    color: #333;
}

/* ── CART BUTTON ── */
/* ── CART BUTTON (primary — solid white pill) ── */
.cart-btn {
    background: #fff;
    border: 2px solid transparent;
    padding: 7px 16px;
    border-radius: 25px;
    color: #d63384;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-size: 13px;
    transition: .2s;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,.12);
}

    .cart-btn:hover {
        background: #fff0f6;
        box-shadow: 0 4px 14px rgba(0,0,0,.18);
    }

/* ── CART BADGE ── */
.cart-badge {
    background: #d63384;
    color: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

/* ── NAV USER SVG ICON ── */
.nav-user-svg {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    flex-shrink: 0;
    margin-right: 2px;
}

/* ── LOGIN LINK (secondary — ghost outline pill) ── */
.login-link {
    color: #fff;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.7);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    padding: 7px 16px;
    border-radius: 25px;
    transition: all .2s;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

    .login-link:hover {
        background: rgba(255,255,255,0.28);
        border-color: #fff;
    }

/* ════════════════════════════════════════════
   NAV DROPDOWN
════════════════════════════════════════════ */
nav ul {
    display: flex;
    list-style: none;
}

nav li {
    position: relative;
}

nav > ul > li > a {
    color: #fff;
    text-decoration: none;
    padding: 10px 16px;
    display: block;
    font-weight: bold;
    white-space: nowrap;
    font-size: 15px;
}

nav li ul {
    display: none;
    position: absolute;
    top: 42px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    min-width: 220px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,.18);
    z-index: 1000;
    border: 2px solid #f3d3e2;
    padding: 6px 0;
    max-height: 320px;
    overflow-y: auto;
}

    nav li:hover > ul,
    nav li ul.nav-open {
        display: block;
    }

    nav li ul li {
        border-bottom: 1px solid #f9e8f2;
    }

        nav li ul li:last-child {
            border-bottom: none;
        }

    nav li ul a {
        color: #d63384;
        padding: 11px 18px;
        font-size: 14px;
        font-weight: normal;
        transition: all .2s;
        display: block;
        white-space: nowrap;
    }

        nav li ul a:hover {
            background: #fff7fb;
            color: #ff4f95;
            padding-left: 24px;
        }

        nav li ul a.cat-active {
            background: #fff0f6;
            color: #ff4f95;
            font-weight: bold;
        }

/* ════════════════════════════════════════════
   HERO
════════════════════════════════════════════ */

/* ── Resume Checkout Banner ── */

/* ---- Desktop: fixed bottom-right toast (>768px) ---- */
.resume-banner {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9990;
    pointer-events: auto;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border: 2px solid #ff85bb;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(255,79,149,.18), 0 2px 8px rgba(0,0,0,.10);
    color: #c0185e;
    font-size: 13px;
    font-weight: 600;
    padding: 14px 18px;
}
.resume-banner > span {
    flex: 1;
    min-width: 0;
    white-space: normal;
    line-height: 1.4;
}
.resume-banner-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.resume-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff4f95, #ff85bb);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity .15s;
    flex: 1;
    text-align: center;
}
.resume-btn:hover { opacity: .85; color: #fff; }
.resume-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 15px;
    color: #aaa;
    line-height: 1;
    padding: 2px 5px;
    border-radius: 50%;
    transition: color .15s, background .15s;
}
.resume-close:hover { color: #c0392b; background: #fce4ec; }

/* ---- Mobile: sticky full-width bottom bar (<=768px) ---- */
@media (max-width: 768px) {
    .resume-banner {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-width: none;
        border-radius: 0;
        border: none;
        border-top: 2px solid #ff85bb;
        box-shadow: 0 -2px 12px rgba(255,79,149,.15);
        background: #fff0f6;
        flex-direction: row;
        align-items: center;
        padding: 8px 12px;
        gap: 8px;
        font-size: 12px;
    }
    .resume-banner > span {
        white-space: normal;
        overflow: hidden;
        font-size: 11px;
        min-width: 0;
        flex: 1;
    }
    .resume-btn { font-size: 11px; padding: 5px 12px; flex: 0 0 auto; }
    .resume-close { font-size: 13px; flex-shrink: 0; }
}

.hero {
    padding: 60px 8%;
    text-align: center;
    background: linear-gradient( to right, #fff0f6, #ffe6ef);
}

    .hero h1 {
        font-size: 55px;
        color: #d63384;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 20px;
        /*margin-bottom: 30px;*/x
        color: #555;
    }

/* ════════════════════════════════════════════
   CATEGORY CARDS
════════════════════════════════════════════ */
.category-row {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
    margin-top: 10px;
}

.cat-card {
    text-decoration: none;
    background: #fff0f6;    /* shows briefly while the image loads */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0,0,0,.12);
    transition: .3s;
    color: #fff;
    border: 3px solid transparent;
    cursor: pointer;
    position: relative;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    aspect-ratio: 4 / 5;
}

    /* Gradient scrim so the white text stays readable over any photo */
    .cat-card::after {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 2;
        pointer-events: none;
        background: linear-gradient(
            to top,
            rgba(0,0,0,.78) 0%,
            rgba(0,0,0,.38) 38%,
            rgba(0,0,0,0) 68%);
    }

    .cat-card:hover {
        transform: translateY(-8px);
        border-color: #ff4f95;
        box-shadow: 0 14px 30px rgba(255,79,149,.3);
    }

        .cat-card:hover img {
            transform: scale(1.08);
        }

    .cat-card.active {
        border-color: #ff4f95;
        transform: translateY(-4px);
    }

    .cat-card img {
        position: absolute;
        inset: 0;
        z-index: 1;
        width: 100%;
        height: 100%;
     /*   object-fit: cover;*/
        display: block;
        transition: transform .4s ease;
    }

    .cat-card h3 {
        position: relative;
        z-index: 3;
        padding: 0 14px;
        font-size: 17px;
        color: #fff;
        text-shadow: 0 2px 6px rgba(0,0,0,.45);
    }

    .cat-card p {
        position: relative;
        z-index: 3;
        padding: 2px 14px 14px;
        margin: 0;
        color: rgba(255,255,255,.88);
        font-size: 12px;
        text-shadow: 0 1px 4px rgba(0,0,0,.4);
    }

.cat-selected-badge {
    display: none;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 4;
    background: #ff4f95;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 20px;
}

.cat-card.active .cat-selected-badge {
    display: block;
}

/* ════════════════════════════════════════════
   SELECTED CATEGORY CHIP — lives inside .filter-bar,
   to the right of the Sort Products trigger
════════════════════════════════════════════ */
.cat-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 2px solid #ff4f95;
    color: #d63384;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

    .cat-filter-chip a {
        color: #ff4f95;
        text-decoration: none;
        font-size: 18px;
        line-height: 1;
    }

        .cat-filter-chip a:hover {
            color: #d63384;
        }

/* ════════════════════════════════════════════
   FILTER BAR
════════════════════════════════════════════ */
.filter-bar {
    text-align: center;
    margin: 30px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 0 20px;
}

/* ── CUSTOM SORT DROPDOWN ── */
.coco-sort-wrap {
    position: relative;
    display: inline-block;
}

.coco-sort-trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 20px;
    border: 2px solid #f3d3e2;
    border-radius: 30px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    min-width: 200px;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(255,79,149,.08);
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}
.coco-sort-trigger:hover {
    border-color: #ff4f95;
    box-shadow: 0 4px 16px rgba(255,79,149,.14);
}

.coco-sort-arrow {
    color: #ff4f95;
    font-size: 13px;
    transition: transform .2s;
    flex-shrink: 0;
}

.coco-sort-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: #fff;
    border: 1.5px solid #f3d3e2;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(255,79,149,.14), 0 2px 8px rgba(0,0,0,.07);
    z-index: 500;
    min-width: 220px;
    overflow: hidden;
    animation: cocoSortFadeIn .15s ease;
}
.coco-sort-menu.open { display: block; }

@keyframes cocoSortFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.coco-sort-opt {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 18px;
    background: none;
    border: none;
    border-bottom: 1px solid #fdeef5;
    font-size: 14px;
    font-weight: 500;
    color: #444;
    text-align: left;
    cursor: pointer;
    transition: background .15s, color .15s, padding-left .15s;
    gap: 8px;
}
.coco-sort-opt:last-child { border-bottom: none; }
.coco-sort-opt:hover {
    background: #fff4f8;
    color: #ff4f95;
    padding-left: 24px;
}
.coco-sort-opt.active {
    background: linear-gradient(to right, #fff0f8, #fffafc);
    color: #d63384;
    font-weight: 700;
    border-left: 3px solid #ff4f95;
    padding-left: 15px;
}

.product-count {
    display: none !important;
}

/* ════════════════════════════════════════════
   PRODUCT GRID
════════════════════════════════════════════ */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    padding: 40px 6%;
}

/* ════════════════════════════════════════════
   PRODUCT CARD
════════════════════════════════════════════ */
.card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0,0,0,.08);
    position: relative;
    transition: .3s;
}

    .card:hover {
        transform: translateY(-8px);
    }

.card-icons {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.icon-btn {
    border: none;
    font-size: 18px;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
    background: #fff;
}

    .icon-btn:hover {
        transform: scale(1.15);
    }

    .icon-btn.wished {
        background: #fff0f5;
    }

    .icon-btn.carted {
        background: #e82892;
    }

.image-box {
    height: 320px;
    background: #f7d8e5;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    position: relative;
}

    .image-box img {
        width: 100%;
        height: 100%;
        object-fit: fill;
        display: block;
        transition: transform .3s;
    }

    .image-box:hover img {
        transform: scale(1.05);
    }

.info {
    padding: 16px;
}

    .info h3 {
        font-size: 16px;
        margin-bottom: 5px;
        color: #222;
        line-height: 1.3;
    }

.rating {
    color: #ff9900;
    margin: 5px 0;
    font-size: 13px;
}

.price {
    font-size: 20px;
    font-weight: bold;
    color: #ff4f95;
    margin: 8px 0 0;
}

/* Mobile-only card elements — hidden on desktop */
.card-footer { display: none; }
.mob-wish-btn { display: none; }

/* Products section label — hidden on desktop, styled on mobile */
.products-label { display: none; }

/* Sort indicator chip — hidden on desktop, shown on mobile when sort active */
.mob-sort-chip-bar { display: none; }

/* Mobile horizontal category chips bar — hidden on desktop */

/* ════════════════════════════════════════════
   SLIDER
════════════════════════════════════════════ */
.cake-slider-wrap {
    padding: 60px 0;
    background: linear-gradient( to right, #fff0f6, #ffeaf4);
    overflow: hidden;
    text-align: center;
}

    .cake-slider-wrap h2 {
        font-size: 42px;
        color: #d63384;
        margin-bottom: 30px;
    }

.slider {
    width: 100%;
    overflow: hidden;
}

.slide-track {
    display: flex;
    animation: scrollcake 28s linear infinite;
}

.slide {
    min-width: 340px;
    padding: 18px;
    flex-shrink: 0;
}

    .slide img {
        width: 100%;
        height: 240px;
        object-fit: cover;
        border-radius: 28px;
        box-shadow: 0 8px 20px rgba(0,0,0,.12);
    }

@keyframes scrollcake {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ════════════════════════════════════════════
   CART MODAL
════════════════════════════════════════════ */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    justify-content: center;
    align-items: center;
    z-index: 2000;
    padding: 12px;
}

    .modal.open {
        display: flex;
    }

.cart-box {
    background: #fff;
    padding: 30px;
    width: 700px;
    max-width: 100%;
    border-radius: 24px;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
}

    .cart-box h2 {
        color: #d63384;
        margin-bottom: 18px;
        font-size: 20px;
        flex-shrink: 0;
    }

.cart-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.cart-tab {
    flex: 1;
    padding: 10px;
    cursor: pointer;
    border: 2px solid #ff4f95;
    border-radius: 20px;
    background: #fff;
    color: #ff4f95;
    font-weight: bold;
    font-size: 14px;
    transition: .2s;
}

    .cart-tab.on {
        background: #ff4f95;
        color: #fff;
    }

.cart-panel {
    display: none;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

    .cart-panel.on {
        display: block;
    }

/* ── CART ITEM ── */
.c-item {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: #fff4f8;
    border-radius: 16px;
    margin-bottom: 12px;
    align-items: center;
    flex-wrap: wrap;
}

    .c-item img {
        width: 80px;
        height: 66px;
        object-fit: contain;
        border-radius: 12px;
        flex-shrink: 0;
    }

.c-item-info {
    flex: 1;
    min-width: 120px;
}

    .c-item-info h4 {
        color: #d63384;
        margin-bottom: 4px;
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .c-item-info p {
        font-size: 13px;
        color: #666;
    }

.c-price {
    font-size: 15px;
    font-weight: bold;
    color: #ff4f95;
    white-space: nowrap;
}

/* ── QTY CONTROL ── */
.c-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    border: 2px solid #f3d3e2;
    border-radius: 20px;
    padding: 3px 8px;
}

.qty-btn {
    background: none;
    border: none;
    color: #ff4f95;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
    line-height: 1;
    padding: 0 2px;
    transition: .2s;
}

    .qty-btn:hover {
        color: #d63384;
    }

.qty-num {
    font-size: 14px;
    font-weight: bold;
    min-width: 22px;
    text-align: center;
    color: #333;
}

.del-btn {
    background: none;
    border: none;
    color: #c00;
    font-size: 18px;
    cursor: pointer;
    padding: 2px;
    line-height: 1;
}

    .del-btn:hover {
        color: #900;
    }

/* ── WISHLIST ITEM ── */
.w-item {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: #fff4f8;
    border-radius: 16px;
    margin-bottom: 12px;
    align-items: center;
    flex-wrap: wrap;
}

    .w-item img {
        width: 80px;
        height: 66px;
        object-fit: contain;
        border-radius: 12px;
        flex-shrink: 0;
    }

.w-item-info {
    flex: 1;
    min-width: 120px;
}

    .w-item-info h4 {
        color: #d63384;
        margin-bottom: 4px;
        font-size: 14px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .w-item-info p {
        font-size: 13px;
        color: #666;
    }

.w-price {
    font-size: 15px;
    font-weight: bold;
    color: #ff4f95;
    white-space: nowrap;
}

.w-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.add-cart-btn {
    border: none;
    background: #ff4f95;
    color: #fff;
    border-radius: 14px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    white-space: nowrap;
    font-weight: bold;
    transition: .2s;
}

    .add-cart-btn:hover {
        background: #e83d82;
    }

/* ── CART FOOTER ── */
.cart-foot {
    border-top: 2px solid #f3d3e2;
    padding-top: 14px;
    margin-top: 10px;
    flex-shrink: 0;
}

.cart-total {
    text-align: right;
    font-size: 20px;
    font-weight: bold;
    color: #d63384;
    margin-bottom: 12px;
}

.empty-msg {
    text-align: center;
    color: #aaa;
    padding: 40px 20px;
    font-size: 15px;
}

/* ── MODAL BUTTONS ── */
.modal-btns {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-shrink: 0;
}

.buy-all-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 22px;
    background: #ff4f95;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
    transition: .2s;
}

    .buy-all-btn:hover {
        background: #e83d82;
    }

    .buy-all-btn:disabled {
        background: #ccc;
        cursor: not-allowed;
    }

.modal-close {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 22px;
    background: #888;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    transition: .2s;
}

    .modal-close:hover {
        background: #666;
    }

/* ════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════ */
footer {
    background: #2b1a24;
    color: #fff;
    text-align: center;
    padding: 30px;
    margin-top: 40px;
    font-size: 14px;
}

/* ════════════════════════════════════════════
   RESPONSIVE — TABLET 1100px
════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .category-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero h1 {
        font-size: 42px;
    }

    .search {
        width: 180px;
    }
}

/* ════════════════════════════════════════════
   RESPONSIVE — MOBILE 768px
════════════════════════════════════════════ */
@media (max-width: 768px) {

    /* ── ROW 1: compact single-line header ── */
    header {
        flex-wrap: wrap;
        padding: 10px 12px;
        gap: 0;
        align-items: center;
    }

    .header-left {
        flex: 1;
        order: 1;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    /* Hide desktop categories nav */
    .header-center { display: none !important; }

    .header-right {
        flex: 0 0 auto;
        order: 1;
        gap: 5px;
        display: flex;
        align-items: center;
        margin-left: auto;
    }

    /* Hide desktop search input */
    .header-right .search { display: none; }

    /* Hamburger already visible globally; no overrides needed for mobile */

    /* Show search icon button */
    .mob-search-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255,255,255,.22);
        border: none;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        font-size: 17px;
        cursor: pointer;
        color: #fff;
        flex-shrink: 0;
    }
    .mob-search-btn:hover { background: rgba(255,255,255,.38); }

    /* Cart: icon-only circle */
    .cart-btn {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
        font-size: 17px;
        position: relative;
    }
    .cart-btn .cart-text { display: none; }
    .cart-btn .cart-badge {
        position: absolute;
        top: -5px; right: -5px;
        width: 17px; height: 17px;
        font-size: 10px;
    }

    /* Login link: icon-only circle */
    .login-link {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
    }
    .login-link .login-label { display: none; }

    /* ── ROW 2: Search bar (hidden, toggle on search-icon click) ── */
    .search-mobile-row {
        display: none;
        order: 2;
        flex: 0 0 100%;
        width: 100%;
        padding-top: 8px;
    }
    .search-mobile-row.srOpen { display: flex; }
    .search-mobile-row input {
        width: 100%;
        padding: 10px 40px 10px 18px;
        border: none;
        border-radius: 25px;
        outline: none;
        font-size: 14px;
        color: #333;
    }

    /* Hide desktop-only elements on mobile */
    .desk-only { display: none !important; }

    /* Compact category filter chip on mobile */
    .cat-filter-chip { font-size: 13px; padding: 6px 12px; gap: 6px; border-radius: 20px; }
    .cat-chip-prefix { display: none; }
    .cat-chip-count  { display: none; }

    /* Active sort chip on mobile */
    .mob-sort-chip-bar {
        padding: 6px 12px 0;
        text-align: left;
    }
    .mob-sort-chip {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: linear-gradient(135deg, #fff0f8, #ffe4f3);
        border: 1.5px solid #ffb3d9;
        border-radius: 20px;
        padding: 5px 12px;
        font-size: 12px;
        font-weight: 700;
        color: #d63384;
    }
    .mob-sort-chip a {
        color: #ff4f95;
        text-decoration: none;
        font-size: 14px;
        line-height: 1;
    }

    /* Sort dropdown visible on mobile — compact left-aligned */
    .filter-bar { display: flex; justify-content: flex-start; margin: 8px 0 0; padding: 0 12px; }
    /* Sort trigger reuses cat-filter-chip class; unset the overrides that fight it on mobile */
    .coco-sort-trigger { border-color: #ff4f95; color: #d63384; min-width: 0; box-shadow: none; justify-content: center; }

    /* Hero — compact on mobile */
    .hero {
        padding: 16px 4% 12px;
    }
    .hero h1 {
        font-size: 20px;
        margin-bottom: 4px;
    }
    .hero p {
        font-size: 13px;
        margin-bottom: 14px;
    }

    /* Category cards — 3-per-row compact (like bakingo ref) */
    .category-row.hide-mobile { display: none; }

    .category-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        margin-top: 6px;
    }

    .cat-card {
        border-radius: 14px;
        box-shadow: 0 3px 8px rgba(0,0,0,.07);
        aspect-ratio: 1 / 1.05;
    }
    .cat-card:hover { transform: none; }
    .cat-card:hover img { transform: none; }

    .cat-card h3 {
        font-size: 11px;
        padding: 0 8px 8px;
        line-height: 1.2;
    }

    /* Hide "X Designs" count on mobile to save space */
    .cat-card p { display: none; }

    /* ── PRODUCTS SECTION LABEL ── */
    .products-label {
        display: block;
        padding: 18px 4% 14px;
        margin-top: 8px;
        background: linear-gradient(135deg, #fff5f9, #fff);
        border-top: 2px solid #fde6f0;
        border-bottom: 1px solid #fde6f0;
        text-align: center;
    }
    .products-label span {
        display: block;
        font-size: 17px;
        font-weight: 800;
        color: #d63384;
        letter-spacing: 0.3px;
    }
    .products-label::after {
        content: 'Fresh cakes & pastries, crafted with love 🎀';
        display: block;
        font-size: 11px;
        color: #e8a0c0;
        margin-top: 3px;
        font-weight: 500;
    }

    /* ── PRODUCTS: 2-column compact grid (bakingo style) ── */
    .products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 10px 3% 20px !important;
        background: #fff;           /* white bg — distinct from pink hero */
    }

    .card {
        border-radius: 14px;
        overflow: hidden;
    }
    .card:hover { transform: none; }

    /* Hide the absolute overlay icon-buttons on mobile
       — wishlist is now inside .card-footer in the info area */
    .card-icons { display: none !important; }

    /* Compact image */
    .image-box { height: 220px; }

    /* Info area */
    .info { padding: 7px 8px 9px; }

    .info h3 {
        font-size: 12px;
        font-weight: 600;
        margin-bottom: 5px;
        line-height: 1.25;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Price row: price on left, wishlist heart on right */
    .card-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 3px;
    }
    .card-footer .price {
        font-size: 14px;
        font-weight: 700;
        margin: 0;
        color: #ff4f95;
    }
    .card-footer .mob-wish-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        font-size: 16px;
        cursor: pointer;
        padding: 0 2px;
        line-height: 1;
        flex-shrink: 0;
    }

    /* Rating row (below price+heart) */
    .mob-card-meta { display: block; }
    .rating {
        font-size: 11px;
        margin: 0;
    }
    /* Hide buyers count on compact mobile cards */
    .buyers-text { display: none; }
    /* Hide the desktop mob-card-meta price (price is now in card-footer) */
    .mob-card-meta .price { display: none; }

    /* Slider */
    .slide {
        min-width: 220px;
    }

        .slide img {
            height: 170px;
        }

    .cake-slider-wrap {
        padding: 30px 0;
    }

        .cake-slider-wrap h2 {
            font-size: 24px;
        }

    /* ── LOGIN / OTP MODAL — bottom sheet on mobile ── */
    .login-modal-overlay {
        padding: 0;
        align-items: flex-end;  /* stick to bottom */
    }

    .login-modal-box {
        border-radius: 20px 20px 0 0;   /* flat bottom */
        max-width: 100%;
        width: 100%;
    }

    .lm-header {
        padding: 14px 20px 12px;
        border-radius: 20px 20px 0 0;
    }

    .lm-header h2 {
        font-size: 16px;
        margin-bottom: 2px;
    }

    .lm-header p {
        font-size: 12px;
        margin: 0;
    }

    .lm-body {
        padding: 14px 18px 16px;
    }

    /* Tighten global notification */
    #lmGlobalMsg {
        margin-bottom: 8px !important;
        padding: 8px 10px !important;
        font-size: 12px !important;
    }

    /* Step 1 label */
    .lm-step label {
        font-size: 13px !important;
        margin-bottom: 6px !important;
    }

    /* Phone input row */
    .lm-phone-wrap {
        border-radius: 12px;
    }

    .lm-cc {
        padding: 10px 12px;
        font-size: 14px;
        border-radius: 10px 0 0 10px;
    }

    .lm-phone-inp {
        padding: 10px 12px;
        font-size: 15px;
        border-radius: 0 10px 10px 0;
    }

    /* "Code sent to" text */
    #lmStep2 > p {
        font-size: 12px !important;
        margin-bottom: 2px !important;
    }

    /* OTP boxes */
    .lm-otp-wrap {
        gap: 6px;
        margin: 10px 0 4px;
    }

    .lm-otp-box {
        width: 38px;
        height: 42px;
        font-size: 18px;
        border-radius: 9px;
    }

    /* Timer row */
    .lm-timer-row {
        margin: 4px 0 2px;
        gap: 10px;
    }

    .lm-timer {
        font-size: 13px;
        min-width: 38px;
    }

    .lm-resend-btn,
    .lm-resend-txt {
        font-size: 12px;
    }

    /* Primary button */
    .lm-btn {
        padding: 10px;
        font-size: 14px;
        border-radius: 14px;
        margin-top: 8px;
    }

    /* "Change Number" link */
    .lm-link-btn {
        font-size: 12px;
        padding: 5px;
        margin: 3px auto 0;
    }

    /* Cart modal */
    .cart-box {
        padding: 10px 12px;
        border-radius: 18px;
        max-height: 95vh;
    }

    .cart-box h2 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .cart-tabs {
        margin-bottom: 8px;
        gap: 6px;
    }

    .cart-tab {
        padding: 6px 4px;
        font-size: 11px;
        border-radius: 16px;
    }

    /* ── COMPACT WISHLIST ITEM on mobile — 2-row layout ── */
    /* Grid: [img] [name       ]
             [img] [price | btn | del] */
    .w-item {
        display: grid;
        grid-template-columns: 52px 1fr auto auto;
        grid-template-rows: auto auto;
        column-gap: 10px;
        row-gap: 3px;
        padding: 8px 10px;
        margin-bottom: 6px;
        border-radius: 10px;
        align-items: center;
    }

    .w-item img {
        grid-column: 1;
        grid-row: 1 / 3;
        width: 52px;
        height: 52px;
        object-fit: contain;
        border-radius: 8px;
        cursor: pointer;
        align-self: center;
    }

    .w-item-info {
        grid-column: 2 / 5;   /* name spans all 3 right columns */
        grid-row: 1;
        min-width: 0;
    }

    .w-item-info h4 {
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 0;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
        -webkit-line-clamp: unset !important;
    }

    .w-item-info p { display: none; }

    /* Price — bottom row col 2 */
    .w-price {
        grid-column: 2;
        grid-row: 2;
        font-size: 13px;
        font-weight: 700;
        white-space: nowrap;
        display: block;
        margin-right: auto;
    }

    /* Actions — bottom row col 3-4 */
    .w-actions {
        grid-column: 3 / 5;
        grid-row: 2;
        flex-direction: row;
        gap: 8px;
        align-items: center;
    }

    .w-actions::before { display: none; content: none; }

    .add-cart-btn {
        font-size: 12px;
        padding: 5px 12px;
        border-radius: 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .w-actions .del-btn {
        font-size: 18px;
        flex-shrink: 0;
    }

    /* ── COMPACT CART ITEM on mobile — 2-row layout ── */
    .c-item {
        display: grid;
        grid-template-columns: 52px 1fr auto auto;
        grid-template-rows: auto auto;
        column-gap: 10px;
        row-gap: 3px;
        padding: 8px 10px;
        margin-bottom: 6px;
        border-radius: 10px;
        align-items: center;
    }

    .c-item img {
        grid-column: 1;
        grid-row: 1 / 3;
        width: 52px;
        height: 52px;
        object-fit: contain;
        border-radius: 8px;
        cursor: pointer;
        align-self: center;
    }

    .c-item-info {
        grid-column: 2 / 5;
        grid-row: 1;
        min-width: 0;
    }

    .c-item-info h4 {
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 0;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: block !important;
        -webkit-line-clamp: unset !important;
    }

    .c-item-info p { display: none; }

    /* Price — bottom row col 2 */
    .c-price {
        grid-column: 2;
        grid-row: 2;
        font-size: 13px;
        font-weight: 700;
        white-space: nowrap;
        display: block;
    }

    /* Actions — bottom row col 3-4 */
    .c-actions {
        grid-column: 3 / 5;
        grid-row: 2;
        flex-direction: row;
        gap: 8px;
        align-items: center;
    }

    .c-actions::before { display: none; content: none; }

    .qty-control {
        padding: 2px 6px;
        border-radius: 12px;
        gap: 4px;
    }

    .qty-btn {
        font-size: 16px;
        padding: 0 2px;
    }

    .qty-num {
        font-size: 13px;
        min-width: 16px;
        text-align: center;
    }

    .c-actions .del-btn {
        font-size: 18px;
        flex-shrink: 0;
    }

    .modal-btns {
        flex-direction: column;
        gap: 6px;
        margin-top: 8px;
    }

    .buy-all-btn {
        padding: 9px;
        font-size: 13px;
        border-radius: 16px;
    }

    .modal-close {
        padding: 8px;
        font-size: 12px;
        border-radius: 16px;
    }
}
/* ════════════════════════════════════════════
   RESPONSIVE — SMALL 480px
════════════════════════════════════════════ */
@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }

    .hero h1 {
        font-size: 22px;
    }

    .hero p {
        font-size: 14px;
    }

    .category-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .products {
        grid-template-columns: 1fr;
        padding: 14px 3%;
    }

    .slide {
        min-width: 180px;
    }

        .slide img {
            height: 140px;
        }

    .cart-tab {
        font-size: 12px;
        padding: 8px 4px;
    }
}

/* ════════════════════════════════════════════
   PRODUCT PAGE
════════════════════════════════════════════ */

/* ── PAGE WRAPPER ── */
.prod-page-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 6%;
}

.prod-page-title {
    font-size: 28px;
    color: #d63384;
    margin-bottom: 8px;
}

.prod-page-sub {
    color: #888;
    font-size: 15px;
    margin-bottom: 30px;
}

/* ── CART ITEM CARD ── */
.prod-item-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,.07);
    padding: 20px;
    margin-bottom: 20px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.prod-item-img-wrap {
    flex-shrink: 0;
    width: 130px;
    height: 110px;
    border-radius: 16px;
    overflow: hidden;
    background: #f7d8e5;
}

    .prod-item-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

.prod-item-body {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.prod-item-name {
    font-size: 17px;
    font-weight: bold;
    color: #d63384;
    line-height: 1.3;
}

.prod-item-size-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.prod-size-label {
    font-weight: bold;
    color: #555;
    font-size: 14px;
    white-space: nowrap;
}

.prod-size-select {
    flex: 1;
    min-width: 160px;
    max-width: 300px;
}

.prod-item-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.prod-qty-label {
    font-size: 14px;
    color: #555;
}

.prod-item-line-total {
    font-size: 20px;
    font-weight: bold;
    color: #ff4f95;
}

/* ── SHARED SELECT + INPUT ── */
.prod-select {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #ddd;
    border-radius: 12px;
    font-size: 15px;
    background: #fff;
    cursor: pointer;
    appearance: auto;
    color: #333;
}

    .prod-select:focus {
        outline: none;
        border-color: #ff4f95;
        box-shadow: 0 0 0 3px rgba(255,79,149,.1);
    }

.prod-input {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid #ddd;
    border-radius: 12px;
    font-size: 15px;
    color: #333;
}

    .prod-input:focus {
        outline: none;
        border-color: #ff4f95;
        box-shadow: 0 0 0 3px rgba(255,79,149,.1);
    }

/* ── SHARED PANEL ── */
.prod-shared-panel {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 22px rgba(0,0,0,.08);
    padding: 30px;
    margin-top: 30px;
}

.prod-field-group {
    margin-bottom: 22px;
}

.prod-field-label {
    display: block;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    font-size: 15px;
}

.prod-field-hint {
    font-weight: normal;
    color: #aaa;
    font-size: 12px;
    margin-left: 6px;
}

.prod-delivery-note {
    margin-top: 8px;
    font-size: 13px;
    color: #ff4f95;
    font-weight: bold;
    min-height: 18px;
}

/* ── SUMMARY BOX ── */
.prod-summary-box {
    background: #fff7fb;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
}

.prod-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 15px;
    color: #555;
    padding: 7px 0;
    border-bottom: 1px solid #f3d3e2;
}

    .prod-summary-row:last-child {
        border-bottom: none;
    }

.prod-summary-grand {
    font-size: 20px;
    font-weight: bold;
    color: #d63384;
    padding-top: 12px;
}

/* ── BUY BUTTON ── */
.prod-buy-btn {
    width: 100%;
    padding: 18px;
    border: none;
    background: #ff4f95;
    color: #fff;
    border-radius: 35px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: background .2s;
}

    .prod-buy-btn:hover {
        background: #e83d82;
    }

/* ════════════════════════════════════════════
   ADDON POPUP
════════════════════════════════════════════ */
.prod-addon-popup {
    background: #fff;
    width: 780px;
    max-width: 96%;
    max-height: 90vh;
    border-radius: 28px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

/* X CLOSE BUTTON */
.prod-addon-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: #f3d3e2;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d63384;
    font-weight: bold;
    transition: background .2s;
    line-height: 1;
    flex-shrink: 0;
}

    .prod-addon-close:hover {
        background: #ffc0d8;
    }

.prod-addon-title {
    color: #d63384;
    margin-bottom: 6px;
    font-size: 22px;
    padding-right: 40px;
}

.prod-addon-sub {
    color: #888;
    margin-bottom: 16px;
    font-size: 14px;
}

.prod-addon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    overflow-y: auto;
    flex: 1;
    padding-right: 4px;
}

.prod-addon-card {
    background: #fff4f8;
    border-radius: 18px;
    padding: 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

    .prod-addon-card img {
        width: 100%;
        height: 110px;
        object-fit: cover;
        border-radius: 14px;
    }

.prod-addon-name {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    line-height: 1.3;
}

.prod-addon-price {
    font-weight: bold;
    color: #ff4f95;
    font-size: 15px;
}

.prod-addon-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #555;
}

    .prod-addon-label input[type=checkbox] {
        width: 18px;
        height: 18px;
        accent-color: #ff4f95;
        cursor: pointer;
    }

.prod-no-addons {
    text-align: center;
    color: #aaa;
    padding: 30px;
    font-size: 15px;
    grid-column: 1 / -1;
}

.prod-addon-total {
    font-size: 22px;
    font-weight: bold;
    color: #d63384;
    padding: 14px 0 10px;
    border-top: 2px solid #f3d3e2;
    margin-top: 10px;
    flex-shrink: 0;
}

.prod-addon-btns {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    flex-shrink: 0;
}

.prod-btn-skip {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 25px;
    background: #eee;
    color: #333;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background .2s;
}

    .prod-btn-skip:hover {
        background: #ddd;
    }

.prod-btn-continue {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 25px;
    background: #ff4f95;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
    transition: background .2s;
}

    .prod-btn-continue:hover {
        background: #e83d82;
    }

/* ════════════════════════════════════════════
   PRODUCT PAGE RESPONSIVE
════════════════════════════════════════════ */
@media (max-width: 768px) {

    .prod-page-wrap {
        padding: 24px 4%;
    }

    .prod-page-title {
        font-size: 22px;
    }

    .prod-item-card {
        padding: 14px;
        gap: 14px;
    }

    .prod-item-img-wrap {
        width: 90px;
        height: 80px;
    }

    .prod-item-name {
        font-size: 15px;
    }

    .prod-addon-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .prod-addon-popup {
        padding: 20px;
    }

    .prod-shared-panel {
        padding: 20px;
    }

    .prod-buy-btn {
        font-size: 17px;
        padding: 15px;
    }
}

@media (max-width: 480px) {

    .prod-item-img-wrap {
        width: 70px;
        height: 65px;
    }

    .prod-item-name {
        font-size: 14px;
    }

    .prod-item-line-total {
        font-size: 17px;
    }

    .prod-addon-grid {
        grid-template-columns: 1fr;
    }

    .prod-addon-btns {
        flex-direction: column;
    }

    .prod-summary-grand {
        font-size: 17px;
    }

    .prod-buy-btn {
        font-size: 16px;
    }
}


/* ════════════════════════════════════════════════
   LOGIN MODAL — index.aspx
   ════════════════════════════════════════════════ */

/* Overlay */
.login-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 16px;
}

    .login-modal-overlay.open {
        display: flex;
    }

/* Modal box */
.login-modal-box {
    background: #fff;
    border-radius: 24px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    position: relative;
    animation: lmSlideUp 0.3s ease;
}

@keyframes lmSlideUp {
    from {
        transform: translateY(40px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Close button */
.lm-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: rgba(255,255,255,0.25);
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #fff;
    line-height: 1;
    z-index: 10;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: background 0.2s;
}

    .lm-close:hover {
        background: rgba(255,255,255,0.45);
        color: #fff;
    }

/* Header strip */
.lm-header {
    background: linear-gradient(135deg, #ff4f95, #ff99c8);
    padding: 24px 30px 20px;
    text-align: center;
    color: #fff;
}

    .lm-header h2 {
        font-size: 22px;
        margin: 0 0 4px;
        text-align: center;
    }

    .lm-header .brand-logo {
        margin: 0 auto;
    }

    .lm-header p {
        font-size: 14px;
        opacity: 0.9;
        margin: 0;
    }

/* Body */
.lm-body {
    padding: 28px 30px 30px;
}

/* Step panels inside modal */
.lm-step {
    display: none;
}

    .lm-step.active {
        display: block;
        animation: lmStepIn 0.25s ease;
    }

@keyframes lmStepIn {
    from { transform: translateY(8px); }
    to   { transform: translateY(0); }
}

/* Phone row */
.lm-phone-wrap {
    display: flex;
    border: 2px solid #f3d3e2;
    border-radius: 14px;
    overflow: hidden; /* keep for border-radius clipping */
    transition: border-color 0.2s;
    /* Force GPU layer so border-radius clipping is stable */
    transform: translateZ(0);
}

    .lm-phone-wrap:focus-within {
        border-color: #ff4f95;
    }

.lm-cc {
    background: #ff4f95;
    color: #fff;
    padding: 14px 16px;
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    /* Explicit left border-radius matches parent so it
       never disappears on mobile repaint */
    border-radius: 12px 0 0 12px;
    flex-shrink: 0;
}

.lm-phone-inp {
    flex: 1;
    border: none;
    padding: 14px;
    font-size: 17px;
    outline: none;
    letter-spacing: 2px;
    min-width: 0;
    border-radius: 0 12px 12px 0;
    background: transparent;
}

/* OTP boxes — responsive */
.lm-otp-wrap {
    display: flex;
    gap: clamp(6px, 2vw, 14px);
    justify-content: center;
    margin: 22px 0 8px;
}

.lm-otp-box {
    width: clamp(38px, 11vw, 54px);
    height: clamp(44px, 12vw, 58px);
    text-align: center;
    font-size: clamp(20px, 5vw, 26px);
    font-weight: bold;
    border: 2px solid #f3d3e2;
    border-radius: 12px;
    outline: none;
    color: #d63384;
    transition: border-color 0.2s, box-shadow 0.2s;
    /* Prevent zoom on iOS */
    -webkit-text-size-adjust: none;
}

    .lm-otp-box:focus {
        border-color: #ff4f95;
        box-shadow: 0 0 0 3px rgba(255, 79, 149, 0.15);
    }

/* Timer row */
.lm-timer-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    margin: 10px 0 6px;
}

.lm-timer {
    font-size: 16px;
    font-weight: bold;
    color: #ff4f95;
    min-width: 48px;
    text-align: center;
}

    .lm-timer.expired {
        color: #cc0000;
    }

/* Success animation */
.lm-success {
    text-align: center;
    padding: 20px 0 10px;
}

    .lm-success .lm-check {
        font-size: 56px;
        animation: lmPop 0.5s ease;
        display: block;
    }

@keyframes lmPop {
    0% {
        transform: scale(0);
    }

    55% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.lm-success h3 {
    color: #28a745;
    margin-top: 8px;
    font-size: 18px;
}

/* Primary button inside modal */
.lm-btn {
    width: 100%;
    padding: 14px;
    border: none;
    background: #ff4f95;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 28px;
    cursor: pointer;
    margin-top: 18px;
    transition: background 0.2s;
}

    .lm-btn:hover {
        background: #e83d82;
    }

    .lm-btn:disabled {
        background: #ddd;
        cursor: not-allowed;
    }

/* Link-style button inside modal */
.lm-link-btn {
    background: none;
    border: none;
    color: #ff4f95;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    padding: 8px;
    display: block;
    margin: 6px auto 0;
    text-align: center;
}

    .lm-link-btn:hover {
        text-decoration: underline;
    }

    .lm-link-btn:disabled {
        color: #bbb;
        cursor: not-allowed;
    }

/* Message inside modal */
.lm-msg {
    font-size: 13px;
    padding: 9px 13px;
    border-radius: 10px;
    margin: 10px 0 0;
    display: none;
}

    .lm-msg.err {
        background: #fff0f0;
        color: #cc0000;
        border: 1px solid #fcc;
        display: block;
    }

    .lm-msg.ok {
        background: #f0fff4;
        color: #1a7a1a;
        border: 1px solid #c3e6cb;
        display: block;
    }

    .lm-msg.info {
        background: #fff8e1;
        color: #7a5c00;
        border: 1px solid #ffe082;
        display: block;
        line-height: 1.6;
    }

/* Logged-in dropdown */
.login-dropdown-wrap {
    position: relative;
    display: inline-block;
}

/* ── Back to Store (non-index pages desktop header — minimal text link) ── */
.sn-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: rgba(255,255,255,0.85);
    background: transparent;
    border: 2px solid transparent;
    border-radius: 25px;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: color .15s;
    letter-spacing: 0.2px;
}
.sn-back-btn:hover {
    color: #fff;
}

    .login-dropdown-wrap .login-link {
        cursor: pointer;
    }

.login-dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid #f3d3e2;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    min-width: 160px;
    z-index: 9999;
    overflow: hidden;
}

    .login-dropdown-menu.open {
        display: block;
    }

    .login-dropdown-menu a,
    .login-dropdown-menu button {
        display: block;
        width: 100%;
        padding: 12px 18px;
        text-align: left;
        background: none;
        border: none;
        font-size: 14px;
        color: #333;
        cursor: pointer;
        text-decoration: none;
        border-bottom: 1px solid #f9e8f1;
        transition: background 0.15s;
    }

        .login-dropdown-menu a:last-child,
        .login-dropdown-menu button:last-child {
            border-bottom: none;
        }

        .login-dropdown-menu a:hover,
        .login-dropdown-menu button:hover {
            background: #fff4f8;
            color: #ff4f95;
        }

/* Your Orders in user dropdown — desktop only */
.sn-ddl-orders { display: none !important; }
@media (min-width: 769px) {
    .sn-ddl-orders { display: block !important; }
    .brand-logo { height: 45px;margin-left:22px; }
}

/* ════════════════════════════════════════════════
   userdetail.aspx FIXES
   ════════════════════════════════════════════════ */

/* GPS result display below button */
.gps-result-box {
    margin-top: -10px;
    margin-bottom: 14px;
    padding: 12px 16px;
    background: #f0fff4;
    border: 1.5px dashed #28a745;
    border-radius: 12px;
    color: #1a6e1a;
    font-size: 14px;
    font-weight: 500;
    display: none;
    line-height: 1.5;
}

    .gps-result-box.visible {
        display: block;
    }

.gps-area-name {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* OTP boxes — userdetail responsive fix */
.otp-wrap {
    display: flex;
    gap: clamp(5px, 2vw, 16px);
    justify-content: center;
    margin: 25px 0;
}

.otp-box {
    width: clamp(36px, 12vw, 62px);
    height: clamp(42px, 13vw, 62px);
    text-align: center;
    font-size: clamp(18px, 5vw, 28px);
    font-weight: bold;
    border: 2px solid #f3d3e2;
    border-radius: 14px;
    outline: none;
    color: #d63384;
    transition: border-color 0.2s, box-shadow 0.2s;
    /* Prevent iOS zoom */
    -webkit-text-size-adjust: none;
}

    .otp-box:focus {
        border-color: #ff4f95;
        box-shadow: 0 0 0 3px rgba(255, 79, 149, 0.15);
    }

/* GPS modal instruction items */
.gps-instr-item {
    padding: 10px 14px;
    margin-bottom: 8px;
    background: #fff4f8;
    border-radius: 10px;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    border-left: 3px solid #ff4f95;
}

    .gps-instr-item b {
        color: #d63384;
        display: block;
        margin-bottom: 3px;
    }

/* Override gps-instructions padding
   since content is now dynamic */
.gps-instructions {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

/* ════════════════════════════════════════════════
   GPS RESULT BOX — userdetail.aspx
   Shows detected location below Detect button
   ════════════════════════════════════════════════ */
.gps-result-box {
    display: none;
    margin-top: 10px;
    margin-bottom: 14px;
    padding: 14px 18px;
    background: #fff4f8;
    border: 2px dashed #ff4f95;
    border-radius: 14px;
    color: #d63384;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    transition: opacity .3s ease;
}

    .gps-result-box.visible {
        display: block;
    }

    .gps-result-box .gps-area-name {
        font-size: 15px;
        font-weight: bold;
        color: #d63384;
        margin-bottom: 4px;
    }

    .gps-result-box .gps-coords {
        font-size: 12px;
        color: #aaa;
        margin-top: 4px;
    }

/* GPS modal instruction items */
.gps-instr-item {
    padding: 10px 14px;
    margin-bottom: 8px;
    background: #fff4f8;
    border-radius: 10px;
    font-size: 14px;
    color: #444;
    line-height: 1.5;
    border-left: 3px solid #ff4f95;
}

    .gps-instr-item:last-child {
        margin-bottom: 0;
    }

    .gps-instr-item b {
        color: #d63384;
        display: block;
        margin-bottom: 3px;
    }

/* Override gps-instructions wrapper */
.gps-instructions {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

/* OTP boxes — userdetail responsive */
.otp-wrap {
    display: flex;
    gap: clamp(5px, 2vw, 16px);
    justify-content: center;
    margin: 25px 0;
}

.otp-box {
    width: clamp(36px, 12vw, 62px);
    height: clamp(42px, 13vw, 62px);
    text-align: center;
    font-size: clamp(18px, 5vw, 28px);
    font-weight: bold;
    border: 2px solid #f3d3e2;
    border-radius: 14px;
    outline: none;
    color: #d63384;
    transition: border-color .2s, box-shadow .2s;
    -webkit-text-size-adjust: none;
}

    .otp-box:focus {
        border-color: #ff4f95;
        box-shadow: 0 0 0 3px rgba(255,79,149,.15);
    }


/* ── Login modal form fields ── */
.lm-field-label {
    display: block;
    font-weight: bold;
    color: #555;
    font-size: 13px;
    margin-bottom: 6px;
}

.lm-field-input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #f3d3e2;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: border-color .2s;
    resize: vertical;
    color: #333;
    font-family: Arial, sans-serif;
}

    .lm-field-input:focus {
        border-color: #ff4f95;
    }

/* Step 3 scrollable on small screens */
#lmStep3 {
    max-height: 60vh;
    overflow-y: auto;
    padding-right: 4px;
}

/* ════════════════════════════════════════
   MASTER CATEGORY — Grouped Nav Hierarchy
   ════════════════════════════════════════ */

/* ── Desktop: master group in dropdown ── */
.sn-nav-master { list-style: none; }

.sn-nav-master-btn {
    width: 100%;
    background: #fff4f8;
    border: none;
    padding: 10px 18px;
    text-align: left;
    font-size: 13px;
    font-weight: bold;
    color: #d63384;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background .15s;
}
.sn-nav-master-btn:hover { background: #ffe0f0; }

.sn-nav-arrow {
    font-size: 14px;
    font-weight: bold;
    color: #ff4f95;
    min-width: 18px;
    text-align: center;
}

.sn-nav-sub {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #f3d3e2;
}

.sn-nav-sub li a {
    padding-left: 28px !important;
    font-size: 13px !important;
    color: #555 !important;
}
.sn-nav-sub li a:hover {
    color: #ff4f95 !important;
    padding-left: 34px !important;
}
.sn-nav-sub li a.cat-active {
    color: #ff4f95 !important;
    font-weight: bold !important;
}

/* ── Mobile drawer: master group ── */
.sn-drawer-group { border-bottom: 1px solid #f3d3e2; }

.sn-drawer-master-btn {
    width: 100%;
    background: none;
    border: none;
    padding: 13px 20px;
    text-align: left;
    font-size: 14px;
    font-weight: bold;
    color: #d63384;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background .15s;
}
.sn-drawer-master-btn:hover { background: #fff4f8; }

.sn-drawer-arrow {
    font-size: 16px;
    font-weight: bold;
    color: #ff4f95;
    min-width: 20px;
    text-align: center;
}

.sn-drawer-sub { padding: 0; }

.sn-drawer-sub a {
    display: block;
    padding: 10px 20px 10px 36px;
    color: #555;
    font-size: 14px;
    text-decoration: none;
    border-top: 1px solid #faeaf3;
    transition: background .15s, color .15s;
}
.sn-drawer-sub a:hover { background: #fff4f8; color: #ff4f95; }
.sn-drawer-sub a.cat-active { color: #ff4f95; font-weight: bold; background: #fff0f6; }

.sn-drawer-all {
    display: block;
    padding: 13px 20px;
    font-weight: 800;
    color: #ff4f95;
    text-decoration: none;
    border-bottom: 2px solid #f3d3e2;
    font-size: 15px;
    border-left: 3px solid transparent;
    transition: background .15s, border-color .15s;
}
.sn-drawer-all:hover, .sn-drawer-all:focus {
    background: linear-gradient(to right, #fff0f8, #fffafc);
    border-left-color: #ff4f95;
}
.sn-drawer-all.cat-active {
    background: linear-gradient(to right, #fff0f8, #fffafc);
    border-left-color: #ff4f95;
    color: #d63384;
}

/* ── Admin nav: sub-nav group label ── */
.nav-master-group { padding: 0; }
.nav-master-label {
    display: block;
    font-size: 11px;
    font-weight: bold;
    color: #ff4f95;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 8px 18px 4px;
    background: #fff4f8;
    border-top: 1px solid #f3d3e2;
}
.nav-sub-list { padding-left: 0; list-style: none; }

/* ════════════════════════════════════════════
   EGGLESS BADGE — shown on all product images
   Defined once; applied via HTML in all render paths
════════════════════════════════════════════ */
/* Ensure the product-page image wrapper is always a positioning context
   so the absolutely-positioned badge sits on the image, not outside it */
.main-img { position: relative; }

.eggless-badge {
    position: absolute;
    top: 7px;
    left: 7px;
    width: 22px;
    height: 22px;
    z-index: 3;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='1' y='1' width='22' height='22' rx='3' ry='3' fill='%23fff' stroke='%232e7d32' stroke-width='2.2'/%3E%3Ccircle cx='12' cy='12' r='6.5' fill='%232e7d32'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* ════════════════════════════════════════════
   SEARCH CLEAR BUTTON
════════════════════════════════════════════ */
.search-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.search-wrap .search { padding-right: 32px; }
.search-clear-btn {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #aaa;
    font-size: 15px;
    line-height: 1;
    padding: 2px 4px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: color .15s;
    z-index: 1;
}
.search-clear-btn:hover { color: #ff4f95; }
.search-clear-btn.visible { display: flex; }

/* Mobile search row clear button */
.search-mobile-row {
    position: relative;
}
.search-mob-clear-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #aaa;
    font-size: 16px;
    line-height: 1;
    padding: 4px;
    display: none;
    align-items: center;
    justify-content: center;
    transition: color .15s;
    z-index: 1;
}
.search-mob-clear-btn:hover { color: #ff4f95; }
.search-mob-clear-btn.visible { display: flex; }

/* ════════════════════════════════════════════
   FLOATING WHATSAPP BUTTON (mobile/tablet only)
════════════════════════════════════════════ */
.mob-wa-float {
    display: none;
}
@media (max-width: 768px) {
    .mob-wa-float {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 20px;
        right: 16px;
        width: 52px;
        height: 52px;
        border-radius: 50%;
        background: #25d366;
        color: #fff;
        font-size: 26px;
        text-decoration: none;
        z-index: 8000;
        box-shadow: 0 4px 16px rgba(37,211,102,.45);
        transition: transform .2s, box-shadow .2s;
    }
    .mob-wa-float:hover { transform: scale(1.08); box-shadow: 0 6px 22px rgba(37,211,102,.55); }
}

/* ════════════════════════════════════════════
   PRODUCT PAGE — MOBILE GALLERY ADDITIONS
   Share button, image dots, swipe
   (mobile/tablet only)
════════════════════════════════════════════ */
.prod-share-btn,
.card-share-btn {
    display: none;
}
.img-dots-bar {
    display: none;
}

@media (max-width: 768px) {
    /* Share button — product page and index cards */
    .prod-share-btn,
    .card-share-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 8px;
        right: 8px;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: rgba(255,255,255,.88);
        border: none;
        cursor: pointer;
        z-index: 4;
        box-shadow: 0 2px 8px rgba(0,0,0,.18);
        transition: background .15s;
    }
    .prod-share-btn:hover,
    .card-share-btn:hover { background: #fff; }

    /* Image dots indicator */
    .img-dots-bar {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        margin-top: 10px;
        padding: 0 4px;
    }
    .img-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #f3d3e2;
        transition: background .2s, transform .2s;
        cursor: pointer;
        border: none;
        padding: 0;
        flex-shrink: 0;
    }
    .img-dot.active {
        background: #ff4f95;
        transform: scale(1.3);
    }

    /* Product page: make main-img swipeable wrapper */
    .main-img {
        position: relative;
        overflow: hidden;
        touch-action: pan-y;
    }
}

/* ════════════════════════════════════════════
   CUSTOMIZED CAKE — drawer item (mobile only)
   Styled like master category heading
════════════════════════════════════════════ */
.sn-drawer-custom-cake {
    display: none;
}
@media (max-width: 768px) {
    .sn-drawer-custom-cake {
        display: flex;
        width: 100%;
        align-items: center;
        padding: 13px 20px;
        background: none;
        border: none;
        border-bottom: 1px solid #f3d3e2;
        /*color: #d63384;*/
        color: #3d1f33;
        font-size: 14px;
        /*font-weight: bold;*/
        text-align: left;
        cursor: pointer;
        text-decoration: none;
        transition: background .15s;
        box-sizing: border-box;
    }
    .sn-drawer-custom-cake:hover {
        background: #fff4f8;
        color: #d63384;
    }
    .sn-drawer-custom-cake::before {
        content: '';
        display: inline-block;
        width: 1.2em;
        height: 1.2em;
        vertical-align: -0.2em;
        margin-right: 6px;
        flex-shrink: 0;
        background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%2325D366' d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") no-repeat center/contain;
    }
}
