:root{
    --bg:#f4f1ea;
    --surface:#ffffff;
    --surface-soft:#fffaf2;
    --ink:#151515;
    --muted:#6b7280;
    --line:#e7dfd1;
    --brand:#12372a;
    --brand-2:#0f5f46;
    --gold:#d59b2d;
    --gold-soft:#fff2cc;
    --blue:#1d4ed8;
    --danger:#b91c1c;
    --success:#047857;
    --radius-lg:28px;
    --radius-md:18px;
    --shadow:0 18px 45px rgba(55,39,18,.10);
    --shadow-soft:0 10px 25px rgba(55,39,18,.07);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body.phase87-body,
body{
    margin:0;
    font-family:Tahoma,Arial,sans-serif;
    background:
        radial-gradient(circle at top right, rgba(213,155,45,.12), transparent 28%),
        linear-gradient(180deg,#fffaf2 0%,#f4f1ea 38%,#f8fafc 100%);
    color:var(--ink);
    direction:rtl;
}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font-family:inherit}
button{cursor:pointer}
img{max-width:100%}

.container{
    width:min(1180px, calc(100% - 28px));
    margin:auto;
}

.site-header{
    position:sticky;
    top:0;
    z-index:50;
    background:rgba(255,250,242,.88);
    backdrop-filter:blur(16px);
    border-bottom:1px solid rgba(231,223,209,.85);
}

.header-shell{
    min-height:76px;
    display:flex;
    align-items:center;
    gap:16px;
}

.brand-lockup{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:max-content;
}

.brand-mark{
    width:46px;
    height:46px;
    border-radius:16px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,var(--brand),var(--gold));
    color:#fff;
    font-weight:900;
    font-size:24px;
    box-shadow:var(--shadow-soft);
}

.brand-lockup strong{
    display:block;
    font-size:22px;
    line-height:1.1;
}

.brand-lockup small{
    display:block;
    color:var(--muted);
    font-size:12px;
    margin-top:3px;
}

.header-search{
    flex:1;
    display:flex;
    align-items:center;
    background:#fff;
    border:1px solid var(--line);
    border-radius:999px;
    overflow:hidden;
    box-shadow:0 8px 22px rgba(15,23,42,.04);
}

.header-search input{
    flex:1;
    min-width:120px;
    border:0;
    outline:0;
    padding:13px 18px;
    background:transparent;
}

.header-search button{
    border:0;
    background:var(--brand);
    color:#fff;
    padding:13px 22px;
    height:100%;
}

.desktop-nav{
    display:flex;
    align-items:center;
    gap:6px;
    flex-wrap:wrap;
}

.desktop-nav a,
.nav-button{
    border:0;
    background:transparent;
    color:#263238;
    padding:9px 10px;
    border-radius:999px;
    font-size:14px;
}

.desktop-nav a:hover,
.nav-button:hover{
    background:#fff;
    box-shadow:var(--shadow-soft);
}

.inline-form{display:inline;margin:0}

.cart-link{
    background:#fff !important;
    border:1px solid var(--line);
}

.cart-link span{
    display:inline-flex;
    min-width:22px;
    height:22px;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    background:var(--gold);
    color:#111;
    font-weight:900;
    margin-inline-start:4px;
}

.page-shell{padding:24px 0 10px}

.app-hero{
    min-height:430px;
    display:grid;
    grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);
    gap:22px;
    align-items:stretch;
    margin:12px 0 22px;
}

.hero-copy{
    position:relative;
    overflow:hidden;
    border-radius:var(--radius-lg);
    padding:42px;
    color:#fff;
    background:
        radial-gradient(circle at top left, rgba(213,155,45,.35), transparent 34%),
        radial-gradient(circle at bottom right, rgba(15,95,70,.50), transparent 34%),
        linear-gradient(135deg,#071911,#12372a 58%,#0b1220);
    box-shadow:var(--shadow);
}

.hero-copy:after{
    content:"";
    position:absolute;
    left:-70px;
    bottom:-80px;
    width:260px;
    height:260px;
    border-radius:80px;
    background:rgba(255,255,255,.08);
    transform:rotate(24deg);
}

.eyebrow,
.section-kicker{
    display:inline-flex;
    align-items:center;
    width:max-content;
    border-radius:999px;
    padding:7px 12px;
    color:#12372a;
    background:var(--gold-soft);
    font-size:13px;
    font-weight:700;
    margin-bottom:12px;
}

.hero-copy h1{
    margin:0;
    font-size:clamp(34px,5vw,60px);
    line-height:1.18;
    letter-spacing:-1px;
    max-width:820px;
}

.hero-copy p{
    color:#e8f5ee;
    line-height:2;
    font-size:17px;
    max-width:760px;
    margin:18px 0 0;
}

.hero-actions,
.row-actions{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin-top:22px;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:6px;
    border:0;
    border-radius:15px;
    padding:11px 16px;
    min-height:44px;
    font-weight:700;
    transition:.2s ease;
}

.btn:hover{transform:translateY(-1px)}

.btn-primary{background:linear-gradient(135deg,var(--brand-2),var(--brand));color:#fff}
.btn-white{background:#fff;color:var(--brand)}
.btn-dark,.btn.btn-dark{background:#111827;color:#fff}
.btn-ghost{background:#f8fafc;color:#111827;border:1px solid #e5e7eb}
.btn-ghost-light{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.2)}
.btn-full{width:100%}

.hero-metrics{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    margin-top:28px;
    max-width:560px;
}

.hero-metrics div{
    background:rgba(255,255,255,.11);
    border:1px solid rgba(255,255,255,.18);
    border-radius:18px;
    padding:14px;
}

.hero-metrics strong{
    display:block;
    font-size:26px;
}

.hero-metrics span{color:#d1fae5;font-size:13px}

.hero-phone{
    border-radius:34px;
    padding:18px;
    background:#111827;
    box-shadow:var(--shadow);
    position:relative;
    overflow:hidden;
}

.phone-top{
    display:flex;
    gap:6px;
    justify-content:center;
    padding:6px 0 15px;
}

.phone-top span{
    width:7px;
    height:7px;
    border-radius:999px;
    background:rgba(255,255,255,.35);
}

.phone-banner{
    border-radius:25px;
    min-height:210px;
    padding:24px;
    color:#fff;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,.25), transparent 26%),
        linear-gradient(135deg,#d59b2d,#0f5f46);
}

.phone-banner small{
    display:block;
    margin-bottom:10px;
    color:#fffbe8;
}

.phone-banner strong{
    display:block;
    font-size:28px;
    line-height:1.35;
}

.phone-banner a{
    display:inline-flex;
    margin-top:18px;
    background:#fff;
    color:#12372a;
    padding:10px 13px;
    border-radius:14px;
    font-weight:800;
}

.phone-products{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:10px;
    margin-top:12px;
}

.phone-products div{
    height:88px;
    border-radius:18px;
    background:linear-gradient(135deg,#fffaf2,#e9dac0);
}

.campaign-slider{
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:minmax(260px,1fr);
    gap:14px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    padding:2px 2px 14px;
    margin-bottom:18px;
}

.campaign-card{
    min-height:150px;
    scroll-snap-align:start;
    border-radius:24px;
    padding:22px;
    color:#fff;
    box-shadow:var(--shadow-soft);
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.campaign-card span{
    opacity:.9;
    font-size:13px;
}

.campaign-card strong{
    display:block;
    font-size:21px;
    line-height:1.45;
    margin:10px 0;
}

.campaign-card em{
    font-style:normal;
    font-weight:900;
}

.campaign-dark{background:linear-gradient(135deg,#111827,#12372a)}
.campaign-gold{background:linear-gradient(135deg,#9a6413,#d59b2d)}
.campaign-green{background:linear-gradient(135deg,#047857,#064e3b)}
.campaign-blue{background:linear-gradient(135deg,#1d4ed8,#0f172a)}

.section{margin:34px 0}
.section-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:14px;
    flex-wrap:wrap;
    margin-bottom:16px;
}

.section-head h2{
    margin:0;
    font-size:28px;
}

.section-head p{margin:7px 0 0}

.see-all{
    background:#fff;
    border:1px solid var(--line);
    color:var(--brand);
    border-radius:999px;
    padding:10px 14px;
    font-weight:800;
    box-shadow:var(--shadow-soft);
}

.category-rail{
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:minmax(112px,1fr);
    gap:12px;
    overflow-x:auto;
    padding-bottom:10px;
}

.category-chip{
    background:#fff;
    border:1px solid var(--line);
    border-radius:22px;
    padding:16px 12px;
    min-height:112px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:9px;
    box-shadow:var(--shadow-soft);
}

.category-chip span{
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:16px;
    background:var(--surface-soft);
    font-size:24px;
}

.category-chip strong{font-size:14px}

.trust-strip{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:26px;
    padding:14px;
    box-shadow:var(--shadow-soft);
}

.trust-strip div{
    display:flex;
    flex-direction:column;
    gap:4px;
    padding:10px;
}

.trust-strip span{
    width:28px;
    height:28px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:999px;
    background:#dcfce7;
    color:#166534;
    font-weight:900;
}

.trust-strip small{color:var(--muted)}

.product-grid,
.grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(230px,1fr));
    gap:16px;
}

.product-card,
.card{
    background:#fff;
    border:1px solid var(--line);
    border-radius:24px;
    box-shadow:var(--shadow-soft);
}

.card{
    padding:16px;
    margin:12px 0;
}

.product-card{
    overflow:hidden;
    transition:.2s ease;
}

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

.product-media{
    position:relative;
    display:block;
    height:230px;
    background:#f1f5f9;
    overflow:hidden;
}

.product-media img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.25s ease;
}

.product-card:hover .product-media img{transform:scale(1.04)}

.product-placeholder{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:
        radial-gradient(circle at top right, rgba(213,155,45,.25), transparent 30%),
        linear-gradient(135deg,#fffaf2,#e8f3ed);
    color:var(--brand);
    font-weight:900;
    font-size:24px;
}

.product-badges{
    position:absolute;
    top:10px;
    right:10px;
    left:10px;
    display:flex;
    gap:6px;
    flex-wrap:wrap;
}

.badge{
    display:inline-flex;
    align-items:center;
    width:max-content;
    padding:5px 9px;
    border-radius:999px;
    background:#eef2ff;
    color:#3730a3;
    font-size:12px;
    font-weight:800;
}

.badge.success{background:#dcfce7;color:#166534}
.badge.warning{background:#fef3c7;color:#92400e}
.badge.danger{background:#fee2e2;color:#991b1b}
.badge.violet{background:#ede9fe;color:#5b21b6}
.badge.gold{background:var(--gold-soft);color:#8a5a10}

.product-body{padding:14px}

.product-title{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    min-height:48px;
    font-weight:900;
    line-height:1.6;
}

.product-meta{
    display:flex;
    gap:6px;
    flex-wrap:wrap;
    margin-top:8px;
    color:var(--muted);
    font-size:12px;
}

.product-meta span{
    background:#f8fafc;
    border:1px solid #edf2f7;
    border-radius:999px;
    padding:4px 8px;
}

.product-price,
.price{
    color:var(--brand-2);
    font-weight:900;
    font-size:20px;
    margin:12px 0 6px;
}

.product-wholesale,
.product-unavailable,
.low-stock-note,
.muted{
    color:var(--muted);
    font-size:14px;
    line-height:1.8;
}

.product-unavailable{
    background:#fef2f2;
    color:#991b1b;
    border:1px solid #fecaca;
    border-radius:14px;
    padding:10px;
    margin:10px 0;
}

.product-actions{
    display:grid;
    grid-template-columns:1fr auto;
    gap:8px;
    margin-top:12px;
}

.empty-state,
.store-showcase-placeholder{
    background:#fff;
    border:1px dashed #d6c6a8;
    border-radius:24px;
    padding:26px;
    box-shadow:var(--shadow-soft);
}

.empty-state h3{margin-top:0}

.store-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:14px;
}

.store-card-modern{
    background:#fff;
    border:1px solid var(--line);
    border-radius:24px;
    padding:18px;
    box-shadow:var(--shadow-soft);
    display:flex;
    gap:14px;
    align-items:flex-start;
    transition:.2s ease;
}

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

.store-avatar{
    width:58px;
    height:58px;
    border-radius:20px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,var(--brand),var(--gold));
    color:#fff;
    font-weight:900;
    font-size:24px;
    flex:0 0 auto;
}

.store-card-modern h3{margin:10px 0 6px}
.store-card-modern p{margin:0;color:var(--muted);line-height:1.8}
.store-card-modern small{display:block;margin-top:8px;color:var(--brand);font-weight:800}

.shopping-flow{
    background:#fff;
    border:1px solid var(--line);
    border-radius:28px;
    padding:24px;
    box-shadow:var(--shadow-soft);
    margin:34px 0;
}

.flow-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:12px;
}

.flow-grid div{
    background:#f8fafc;
    border:1px solid #eef2f7;
    border-radius:20px;
    padding:16px;
}

.flow-grid span{
    width:34px;
    height:34px;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:var(--brand);
    color:#fff;
    font-weight:900;
    margin-bottom:10px;
}

.flow-grid strong{display:block;margin-bottom:6px}
.flow-grid p{margin:0;color:var(--muted);line-height:1.8}

.seller-cta{
    margin:34px 0;
    border-radius:30px;
    padding:30px;
    color:#fff;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,.18), transparent 30%),
        linear-gradient(135deg,#12372a,#0f172a);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    flex-wrap:wrap;
    box-shadow:var(--shadow);
}

.seller-cta h2{margin:0;font-size:28px}
.seller-cta p{margin:10px 0 0;color:#d1fae5;line-height:1.9;max-width:760px}

.alert{
    margin:18px 0;
    padding:14px;
    border-radius:16px;
    line-height:1.8;
    border:1px solid transparent;
}

.success{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}
.error{background:#fef2f2;border-color:#fecaca;color:#991b1b}

.table,
table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:var(--shadow-soft);
}

th,td{
    padding:12px;
    border-bottom:1px solid #eef2f7;
    text-align:right;
    vertical-align:middle;
}

th{background:#f8fafc}

input,select,textarea,
.input{
    padding:11px 12px;
    border:1px solid #d9d2c6;
    border-radius:13px;
    width:100%;
    outline:none;
    background:#fff;
}

input:focus,
select:focus,
textarea:focus{
    border-color:var(--gold);
    box-shadow:0 0 0 4px rgba(213,155,45,.13);
}

.cart-summary{
    background:#fff;
    border:1px solid var(--line);
    border-radius:22px;
    padding:18px;
    margin-top:18px;
    max-width:430px;
    margin-right:auto;
    box-shadow:var(--shadow-soft);
}

.site-footer{
    margin-top:42px;
    padding:34px 0 90px;
    background:#101820;
    color:#d1d5db;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr;
    gap:24px;
}

.footer-brand{
    color:#fff;
    font-size:22px;
    font-weight:900;
    margin-bottom:8px;
}

.site-footer p{
    line-height:1.9;
    max-width:650px;
}

.site-footer strong{
    display:block;
    color:#fff;
    margin-bottom:10px;
}

.site-footer a{
    display:block;
    color:#d1d5db;
    margin:8px 0;
}

.mobile-tabbar{
    display:none;
}

@media (max-width:980px){
    .header-shell{
        flex-wrap:wrap;
        padding:10px 0;
    }

    .desktop-nav{
        width:100%;
        overflow-x:auto;
        flex-wrap:nowrap;
        padding-bottom:4px;
    }

    .app-hero{
        grid-template-columns:1fr;
    }

    .hero-phone{
        display:none;
    }

    .trust-strip,
    .flow-grid,
    .footer-grid{
        grid-template-columns:1fr 1fr;
    }
}

@media (max-width:720px){
    body{padding-bottom:78px}

    .container{
        width:min(100% - 22px,1180px);
    }

    .site-header{
        position:relative;
    }

    .header-shell{
        min-height:auto;
    }

    .brand-mark{
        width:42px;
        height:42px;
    }

    .brand-lockup strong{
        font-size:20px;
    }

    .header-search{
        order:3;
        width:100%;
        flex-basis:100%;
    }

    .desktop-nav{
        display:none;
    }

    .page-shell{
        padding-top:14px;
    }

    .app-hero{
        margin-top:6px;
        min-height:auto;
    }

    .hero-copy{
        padding:26px;
        border-radius:24px;
    }

    .hero-copy h1{
        font-size:34px;
    }

    .hero-copy p{
        font-size:15px;
    }

    .hero-metrics{
        grid-template-columns:1fr;
    }

    .campaign-slider{
        grid-auto-columns:82%;
    }

    .section-head h2{
        font-size:24px;
    }

    .trust-strip,
    .flow-grid,
    .footer-grid{
        grid-template-columns:1fr;
    }

    .product-grid,
    .grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:11px;
    }

    .product-media{
        height:170px;
    }

    .product-title{
        font-size:14px;
        min-height:44px;
    }

    .product-price{
        font-size:17px;
    }

    .product-actions{
        grid-template-columns:1fr;
    }

    .btn{
        min-height:40px;
        padding:9px 11px;
        font-size:13px;
    }

    .store-card-modern{
        border-radius:20px;
    }

    .seller-cta{
        padding:24px;
    }

    .site-footer{
        padding-bottom:110px;
    }

    .mobile-tabbar{
        position:fixed;
        right:10px;
        left:10px;
        bottom:10px;
        z-index:80;
        display:grid;
        grid-template-columns:repeat(5,1fr);
        background:rgba(255,255,255,.94);
        border:1px solid var(--line);
        border-radius:24px;
        box-shadow:0 18px 50px rgba(15,23,42,.18);
        backdrop-filter:blur(16px);
        padding:8px;
    }

    .mobile-tabbar a{
        position:relative;
        display:flex;
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:3px;
        color:#334155;
        font-size:11px;
        min-height:50px;
        border-radius:18px;
    }

    .mobile-tabbar a:hover{
        background:#f8fafc;
    }

    .mobile-tabbar span{
        font-size:18px;
        line-height:1;
    }

    .mobile-tabbar em{
        position:absolute;
        top:3px;
        left:17px;
        min-width:18px;
        height:18px;
        display:flex;
        align-items:center;
        justify-content:center;
        border-radius:999px;
        background:var(--gold);
        color:#111;
        font-size:10px;
        font-style:normal;
        font-weight:900;
    }
}

@media (max-width:420px){
    .product-grid,
    .grid{
        grid-template-columns:1fr 1fr;
    }

    .product-media{
        height:150px;
    }

    .product-body{
        padding:11px;
    }

    .campaign-slider{
        grid-auto-columns:88%;
    }
}

/* Phase 87B - simplified noon-like customer homepage */
.noonish-header .header-shell.simple-header{
    min-height:66px;
}

.customer-actions{
    display:flex;
    align-items:center;
    gap:6px;
    white-space:nowrap;
}

.customer-actions a{
    padding:9px 10px;
    border-radius:999px;
    color:#263238;
    font-size:14px;
}

.customer-actions a:hover{
    background:#fff;
    box-shadow:var(--shadow-soft);
}

.category-bar{
    background:#fff;
    border-top:1px solid rgba(231,223,209,.7);
    border-bottom:1px solid rgba(231,223,209,.9);
}

.category-bar-inner{
    display:flex;
    gap:8px;
    overflow-x:auto;
    padding:9px 0;
}

.category-bar-inner a{
    flex:0 0 auto;
    background:#f8fafc;
    border:1px solid #eef2f7;
    color:#334155;
    border-radius:999px;
    padding:8px 12px;
    font-size:13px;
    font-weight:800;
}

.home-market-strip{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:10px;
    margin:4px 0 14px;
}

.home-market-strip a{
    background:#fff;
    border:1px solid var(--line);
    border-radius:16px;
    padding:11px 12px;
    text-align:center;
    font-weight:900;
    box-shadow:var(--shadow-soft);
    color:var(--brand);
}

.home-main-banner{
    display:grid;
    grid-template-columns:1.45fr .55fr;
    gap:14px;
    margin:10px 0 18px;
}

.main-banner-card{
    min-height:250px;
    border-radius:26px;
    padding:30px;
    display:flex;
    flex-direction:column;
    justify-content:center;
    color:#fff;
    background:
        radial-gradient(circle at top left, rgba(255,255,255,.18), transparent 30%),
        linear-gradient(135deg,#12372a,#d59b2d);
    box-shadow:var(--shadow);
}

.main-banner-card span{
    width:max-content;
    background:rgba(255,255,255,.18);
    border:1px solid rgba(255,255,255,.25);
    border-radius:999px;
    padding:7px 12px;
    font-weight:900;
    margin-bottom:14px;
}

.main-banner-card strong{
    font-size:clamp(30px,4vw,48px);
    line-height:1.2;
    max-width:700px;
}

.main-banner-card small{
    margin-top:12px;
    color:#fff8dc;
    font-size:15px;
}

.side-banners{
    display:grid;
    gap:14px;
}

.side-banners a{
    border-radius:24px;
    padding:22px;
    color:#fff;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    min-height:118px;
    box-shadow:var(--shadow-soft);
}

.side-banners a:first-child{
    background:linear-gradient(135deg,#111827,#1d4ed8);
}

.side-banners a:last-child{
    background:linear-gradient(135deg,#7c2d12,#d59b2d);
}

.side-banners span{
    opacity:.9;
    margin-bottom:6px;
}

.side-banners strong{
    font-size:22px;
}

.compact-section{
    margin:22px 0;
}

.noonish-head{
    margin-bottom:12px;
}

.noonish-head h2{
    font-size:22px;
}

.noon-category-grid{
    display:grid;
    grid-template-columns:repeat(8,1fr);
    gap:10px;
}

.noon-category-item{
    min-height:96px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:7px;
    box-shadow:var(--shadow-soft);
}

.noon-category-item span{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:15px;
    background:#fff7df;
    font-size:23px;
}

.noon-category-item strong{
    font-size:13px;
}

.quick-deals{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:10px;
    margin:18px 0;
}

.quick-deals a{
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px;
    padding:15px;
    box-shadow:var(--shadow-soft);
}

.quick-deals strong{
    display:block;
    color:var(--brand);
    margin-bottom:5px;
}

.quick-deals span{
    color:var(--muted);
    font-size:13px;
}

.noon-product-grid{
    grid-template-columns:repeat(auto-fill,minmax(190px,1fr));
}

.store-row{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
    gap:10px;
}

.store-pill-card{
    background:#fff;
    border:1px solid var(--line);
    border-radius:18px;
    padding:14px;
    box-shadow:var(--shadow-soft);
}

.store-pill-card span{
    width:42px;
    height:42px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:15px;
    background:linear-gradient(135deg,var(--brand),var(--gold));
    color:#fff;
    font-weight:900;
    margin-bottom:9px;
}

.store-pill-card strong{
    display:block;
    margin-bottom:4px;
}

.store-pill-card small{
    color:var(--muted);
}

.simple-empty{
    padding:18px;
}

.compact-footer{
    margin-top:24px;
}

@media (max-width:980px){
    .customer-actions{
        display:none;
    }

    .home-main-banner{
        grid-template-columns:1fr;
    }

    .side-banners{
        grid-template-columns:1fr 1fr;
    }

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

@media (max-width:720px){
    .category-bar{
        display:block;
    }

    .category-bar-inner{
        padding:8px 0;
    }

    .home-market-strip{
        grid-template-columns:repeat(4, minmax(92px,1fr));
        overflow-x:auto;
    }

    .home-market-strip a{
        white-space:nowrap;
        font-size:12px;
        padding:9px 10px;
    }

    .main-banner-card{
        min-height:190px;
        padding:24px;
        border-radius:22px;
    }

    .main-banner-card strong{
        font-size:29px;
    }

    .side-banners{
        grid-template-columns:1fr 1fr;
        gap:10px;
    }

    .side-banners a{
        min-height:100px;
        padding:16px;
        border-radius:18px;
    }

    .side-banners strong{
        font-size:17px;
    }

    .noon-category-grid{
        grid-template-columns:repeat(4, minmax(78px,1fr));
        gap:8px;
    }

    .noon-category-item{
        min-height:84px;
        border-radius:15px;
    }

    .noon-category-item span{
        width:36px;
        height:36px;
        font-size:19px;
    }

    .noon-category-item strong{
        font-size:12px;
    }

    .quick-deals{
        grid-template-columns:repeat(2,1fr);
    }

    .noon-product-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .product-media{
        height:145px;
    }

    .product-badges .badge{
        font-size:10px;
        padding:4px 7px;
    }

    .product-meta{
        display:none;
    }

    .product-wholesale{
        display:none;
    }
}
