* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hind', sans-serif;
    background: var(--cream);
    color: var(--charcoal);
    min-height: 100vh;
    padding-bottom: var(--bottom-h);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    font-family: 'Hind', sans-serif;
}

/* MAIN */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
}

.display {
    font-family: 'Baloo 2', cursive;
}

h1,
h2,
h3 {
    font-family: 'Baloo 2', cursive;
    font-weight: 700;
}

/* TOP NAV */
.top-nav {
    background: var(--gold);
    position: sticky;
    top: 0;
    z-index: 200;
    box-shadow: 0 2px 8px rgba(246, 11, 229, 0.3);
}

.nav-row1 {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 1.5rem;
    justify-content: space-between;
    height: var(--nav-h);
}

.nav-logo {
    font-family: 'Baloo 2', cursive;
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-logo-dot {
    color: #fff9fe;
}

.nav-delivery {
    display: flex;
    flex-direction: column;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.7rem;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
}

.nav-delivery strong {
    color: #fff;
    font-size: 0.82rem;
}

.nav-search{
    display: flex;
    max-width: 680px;
    flex: 1 1 0%;
    border-radius: var(--radius-s);
    position: relative;
    overflow: visible;   /* IMPORTANT */
}

.nav-search input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 1rem;
    font-size: 0.95rem;
    font-family: 'Hind', sans-serif;
    background: #fff;
    color: var(--charcoal);
}

.nav-search-btn {
    background: var(--accent-dark);
    border: none;
    padding: 0 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.2s;
}

.nav-search-btn:hover {
    background: var(--maroon);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    font-size: 0.7rem;
    gap: 0.15rem;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-s);
    transition: background 0.15s;
    white-space: nowrap;
    border: none;
    background: transparent;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.nav-btn .icon {
    font-size: 1.3rem;
    line-height: 1;
}

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


.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #fff;
    color: var(--accent);
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CATEGORY BAR */
.nav-cats {
    background: var(--accent-dark);
    display: none;
}

.nav-cats-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0 1rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-cats-inner::-webkit-scrollbar {
    display: none;
}

.nav-cat-link {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.5rem 0.9rem;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.15s;
}

.nav-cat-link:hover,
.nav-cat-link.active {
    color: #fff;
    border-bottom-color: #fff9fe;
    background: rgba(255, 255, 255, 0.08);
}

/* FLASH */
.flash-wrap {
    position: fixed;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 500;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: min(92vw, 400px);
}

.flash {
    background: #fff;
    border-radius: var(--radius-m);
    padding: 0.9rem 1.1rem;
    box-shadow: var(--shadow-l);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.88rem;
    animation: slideDown 0.3s ease;
    border-left: 4px solid var(--green);
}

.flash.error {
    border-color: var(--red);
}

.flash.warning {
    border-color: var(--gold);
}

.flash-icon {
    font-size: 1.2rem;
}

.flash-msg {
    flex: 1;
}

.flash-close {
    background: none;
    border: none;
    font-size: 1rem;
    color: var(--muted);
    padding: 0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* SECTION HEADERS */
.sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.sec-title {
    font-family: 'Baloo 2', cursive;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--charcoal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sec-title::before {
    content: '';
    width: 4px;
    height: 1.3rem;
    background: var(--gold);
    border-radius: 2px;
}

.sec-link {
    font-size: 0.82rem;
    color: var(--gold);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

/* PRODUCT CARDS */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    gap: 0.8rem;
}

.product-card {
    background: #fff;
    border-radius: var(--radius-m);
    border: 1px solid var(--border-l);
    overflow: hidden;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: var(--shadow-m);
    transform: translateY(-2px);
}

.pc-img {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gold-light);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .pc-img img {
    transform: scale(1.05);
}

.pc-img-placeholder {
    font-size: 3.5rem;
}

.pc-badges {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.badge {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.18rem 0.45rem;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
}

.badge-sale {
    background: var(--maroon-l);
    color: #fff;
}

.badge-new {
    background: var(--gold);
    color: #fff;
}

.badge-hot {
    background: var(--gold);
    color: #fff;
}

.badge-veg {
    background: #fff;
    border: 1.5px solid var(--green);
    color: var(--green);
    border-radius: 3px;
    font-size: 0.55rem;
    padding: 0.1rem 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.badge-veg::before {
    content: '●';
    color: var(--green);
    font-size: 0.65rem;
}


.badge-non-veg {
    background: #fff;
    border: 1.5px solid var(--red);
    color: var(--red);
    border-radius: 3px;
    font-size: 0.55rem;
    padding: 0.1rem 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.badge-non-veg::before {
    content: '●';
    color: var(--red);
    font-size: 0.65rem;
}

.pc-wish {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-s);
    color: var(--muted);
    transition: all 0.2s;
}

.pc-wish:hover,
.pc-wish.wished {
    color: var(--red);
}

.pc-body {
    padding: 0.7rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.pc-delivery {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.pc-name {
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--charcoal);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pc-weight {
    font-size: 0.72rem;
    color: var(--muted);
}

.pc-rating {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
}

.pc-stars {
    color: var(--gold);
    font-size: 0.72rem;
}

.pc-rating-count {
    color: var(--muted);
}

.pc-price {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-top: auto;
}

.pc-price-now {
    font-family: 'Baloo 2', cursive;
    font-size: 1rem;
    font-weight: 700;
    color: var(--charcoal);
}

.pc-price-old {
    font-size: 0.75rem;
    color: var(--muted);
    text-decoration: line-through;
}

.pc-price-off {
    font-size: 0.72rem;
    color: var(--maroon-l);
    font-weight: 600;
}

.pc-footer {
    padding: 0 0.7rem 0.7rem;
}

.btn-add {
    width: 100%;
    background: var(--gold);
    color: #fff;
    border: none;
    border-radius: var(--radius-s);
    padding: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-add-disabled {
    width: 100%;
    background: #7109a89c !important;
    color: #fff;
    border: none;
    border-radius: var(--radius-s);
    padding: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-add:hover {
    background: var(--accent-dark);
}

.btn-add-outline {
    width: 100%;
    background: #fff;
    color: var(--gold);
    border: 1.5px solid var(--gold);
    border-radius: var(--radius-s);
    padding: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-add-outline:hover {
    background: var(--gold-light);
}

/* VARIANT MODAL */
.variant-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 0.8rem;
}

.variant-modal-dialog {
    background: #fff;
    border-radius: var(--radius-l);
    width: min(90vw, 500px);
    max-height: 80vh;
    overflow-y: auto;
    padding: 1.5rem;
    box-shadow: var(--shadow-l);
}

.variant-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.variant-modal-title {
    font-size: 1.2rem;
    font-family: 'Baloo 2', cursive;
    margin: 0;
    line-height: 1.1;
}

.variant-modal-close {
    background: none;
    border: none;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    color: var(--muted);
    padding: 0;
}

.variant-modal-product-title {
    font-size: 1.05rem;
    margin-bottom: 1rem;
    font-family: 'Baloo 2', cursive;
    color: var(--charcoal);
}

.variant-modal-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.variant-modal-item {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-m);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.9rem;
}

.variant-modal-size {
    font-weight: 600;
    font-size: 0.95rem;
}

.variant-modal-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--saffron);
    margin-top: 0.3rem;
}

.variant-modal-action {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.variant-modal-add-btn {
    width: auto;
    min-width: 84px;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.variant-modal-action .qty-btn {
    width: 32px;
    height: 32px;
    font-size: 16px;
}

.variant-modal-action .modal-qty {
    min-width: 32px;
    text-align: center;
    font-weight: 600;
    font-size: 0.95rem;
}

.variant-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    margin-top: 1rem;
}

.variant-modal-footer-btn {
    width: auto;
    min-width: 0;
    flex: 0 0 auto;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.variant-modal-footer-cancel {
    background: #fff;
    color: #444;
    border: 1px solid var(--border-l);
}

/* QTY CONTROLS */
.qty-wrap {
    max-width: 350px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: var(--gold);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
}

.qty-value {
    min-width: 28px;
    text-align: center;
    font-weight: 700;
}

.view-cart-btn {
    margin-left: auto;
    padding: 6px 10px;
    border-radius: 8px;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

@media (max-width: 767px) {
    .variant-modal-overlay {
        padding: 0.65rem;
    }

    .variant-modal-dialog {
        width: min(94vw, 312px);
        max-height: 76vh;
        padding: 0.8rem;
    }

    .variant-modal-title {
        font-size: 0.95rem;
    }

    .variant-modal-product-title {
        font-size: 0.9rem;
        margin-bottom: 0.65rem;
    }

    .variant-modal-item {
        padding: 0.66rem 0.7rem;
    }

    .variant-modal-size {
        font-size: 0.84rem;
    }

    .variant-modal-price {
        font-size: 0.92rem;
    }
}

/* CATEGORY CHIPS */
.cat-chips {
    display: flex;
    gap: 0.7rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 0.2rem;
    margin-bottom: 1rem;
}

.cat-chips::-webkit-scrollbar {
    display: none;
}

.cat-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
    cursor: pointer;
}

.cat-icon{
    width:40px;
    height: 40px;
    border: 2px solid transparent;
    border-radius: 50%;
}
.cat-chip-img {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gold-light);
    border: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
}

.cat-chip-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cat-chip:hover .cat-chip-img,
.cat-chip.active .cat-chip-img {
    border-color: var(--gold);
    transform: scale(1.05);
}

.cat-chip-name {
    font-size: 0.7rem;
    font-weight: 500;
    text-align: center;
    color: var(--mid);
}

/* SCROLL ROW */
.scroll-row {
    display: flex;
    gap: 0.8rem;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 0.2rem;
}

.scroll-row::-webkit-scrollbar {
    display: none;
}

.scroll-row .product-card {
    min-width: 165px;
    max-width: 180px;
}

/* HERO */
.hero-banner {
    background: linear-gradient(135deg, var(--gold) 0%, var(--accent) 100%);
    border-radius: var(--radius-l);
    padding: 1.5rem;
    margin-bottom: 1.2rem;
    position: relative;
    overflow: hidden;
    height: 70vh;
    min-height: 160px;
    display: flex;
    align-items: center;
}

.hero-loader{
    position:absolute;
    inset:0;
    background: linear-gradient(90deg,#f7e8c4 25%,#fff2d8 50%,#f7e8c4 75%);
    animation: shimmer 1.5s infinite;
    z-index:0;
}

@keyframes shimmer{
    0%{background-position:-200px 0;}
    100%{background-position:200px 0;}
}

.hero-video{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.hero-overlay{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 2;
    pointer-events: none;
}

.hero-banner::before {
    content: 'Delhi Sweet Stall';
    position: absolute;
    right: 5px;
    bottom: -10px;
    font-size: 2rem;
    opacity: 0.12;
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 4;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.hero-pill {
    background: rgba(255, 255, 255, 0.2);
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    display: inline-block;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Baloo 2', cursive;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.hero-sub {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.btn-hero {
    background: var(--gold);
    color:white;
    border: none;
    border-radius: var(--radius-s);
    padding: 0.55rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: 'Hind', sans-serif;
    transition: transform 0.15s;
}

.btn-hero:hover {
    transform: scale(1.03);
}

/* PROMO STRIPS */
.promo-strips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.promo-strip {
    border-radius: var(--radius-m);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 80px;
    position: relative;
    overflow: hidden;
}

.promo-strip.orange {
    background: linear-gradient(135deg, #FF8A00, #FF6B00);
}

.promo-strip.maroon {
    background: linear-gradient(135deg, #C0392B, #8B1A1A);
}

.promo-strip.gold {
    background: linear-gradient(135deg, var(--gold), var(--accent-dark));
}

.promo-strip.green {
    background: linear-gradient(135deg, #27AE60, #145A32);
}

.promo-strip-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.promo-strip-text {
    color: #fff;
}

.promo-strip-title {
    font-family: 'Baloo 2', cursive;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.1;
}

.promo-strip-sub {
    font-size: 0.72rem;
    opacity: 0.9;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-s);
    font-family: 'Hind', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--gold);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-dark);
}

.btn-secondary {
    background: var(--cream);
    color: var(--charcoal);
    border: 1.5px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.btn-dark {
    background: var(--charcoal);
    color: #fff;
}

.btn-dark:hover {
    background: var(--dark);
}

.btn-gold {
    background: var(--gold);
    color: #fff;
}

.btn-gold:hover {
    background: var(--accent-dark);
}

.btn-maroon {
    background: var(--accent);
    color: #fff;
}

.btn-maroon:hover {
    background: var(--accent-dark);
}

.btn-block {
    width: 100%;
}

/* FORMS */
.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--mid);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.form-input {
    width: 100%;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-s);
    padding: 0.7rem 1rem;
    font-family: 'Hind', sans-serif;
    font-size: 0.92rem;
    background: #fff;
    color: var(--charcoal);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(246, 11, 229, 0.1);
}

.form-error {
    color: var(--red);
    font-size: 0.78rem;
    margin-top: 0.3rem;
}

.errorlist {
    color: var(--red);
    font-size: 0.78rem;
    list-style: none;
    margin-top: 0.3rem;
}

/* BREADCRUMB */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--gold);
}

.breadcrumb span {
    color: var(--mid);
}

/* FILTER CHIPS */
.filter-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.filter-chip {
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--mid);
    cursor: pointer;
    transition: all 0.15s;
}

.filter-chip:hover,
.filter-chip.active {
    border-color: var(--gold);
    background: var(--gold-light);
    color: var(--gold);
}

/* DESKTOP */
@media(min-width:768px) {
    body {
        padding-bottom: 0;
    }

    .bottom-nav {
        display: none;
    }

    .mobile-header {
        display: none;
    }

    .top-nav .nav-row1 {
        display: flex;
    }

    .nav-cats {
        display: block;
    }

    main {
        padding: 1.5rem 2rem;
    }

    .hero-banner {
        padding: 2.5rem 2rem;
        min-height: 220px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }

    .scroll-row .product-card {
        min-width: 200px;
        max-width: 220px;
    }

    .cat-chip-img {
        width: 90px;
        height: 90px;
        font-size: 2.5rem;
    }

    .promo-strips {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* FOOTER */
footer {
    background: var(--charcoal);
    color: rgba(255, 255, 255, 0.7);
    padding: 2.5rem 1.5rem 1.5rem;
    margin-top: 3rem;
}
.footer-m{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    margin: 1rem;
}
.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand {
    font-family: 'Baloo 2', cursive;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}

.footer-brand span {
    color: var(--gold);
}

.footer-desc {
    font-size: 0.82rem;
    line-height: 1.7;
}

.footer-head {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.4rem;
}

.footer-links a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.15s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-copy {
    font-size: 0.75rem;
}


.qty-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  width:100%;
  border: 1px solid var(--border);
  padding: 0.5rem;
}

.qty-btn {
  width: 36px;
  height: 36px;
  border: none;
  background: var(--charcoal);
  color: white;
  font-size: 1rem;
  cursor: pointer;
}

.qty-value {
  font-size: 1rem;
  min-width: 20px;
  text-align: center;
}

.qty-controls-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.go-cart-btn {
  display: flex !important;
  align-items: center !important;
  width: 36px !important;
  height: 36px !important;
  justify-content: center !important;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  background: var(--gold);
  color: var(--charcoal);
}

.go-cart-btn:hover {
  background: var(--charcoal);
  color: white;
}

.search-dropdown{
    display: none;   /* hidden by default */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
    z-index: 9999;
    margin-top: 4px;
    max-height: 300px;
    overflow-y: auto;
}

.search-item{
    display:block;
    padding:10px 14px;
    text-decoration:none;
    color:#222;
    font-size:14px;
}

.search-item:hover{
    background:#f8f8f8;
}

.user-menu{
    position: relative;
}

.user-dropdown{
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 180px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    z-index: 9999;
    overflow: hidden;
}

.user-dropdown a{
    display: block;
    padding: 12px 14px;
    text-decoration: none;
    color: #222;
    font-size: 14px;
}

.user-dropdown a:hover{
    background: #f8f8f8;
}

.user-menu,
.user-menu-mobile{
    position: relative;
}

.user-dropdown,
.user-dropdown-mobile{
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 180px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
    z-index: 99999;
    overflow: hidden;
}

.user-dropdown a,
.user-dropdown-mobile a{
    display: block;
    padding: 12px 14px;
    text-decoration: none;
    color: #222;
    font-size: 14px;
}

.user-dropdown a:hover,
.user-dropdown-mobile a:hover{
    background: #f8f8f8;
}

.size-chip{
    border:1px solid var(--border-l);
    background:#fff;
    padding:0.2rem 0.5rem;
    border-radius:8px;
    font-size:0.72rem;
    cursor:pointer;
}

.size-chip:hover{
    border-color:var(--saffron);
    background:var(--saffron-bg);
}