/* =========================================================
   AmarMill Premium Red + Gold Theme
   File: /public/assets/css/style.css
   Version: 30001
   ========================================================= */

:root{
    --am-red:#b91c1c;
    --am-red-dark:#7f1d1d;
    --am-red-deep:#450a0a;
    --am-orange:#ea580c;
    --am-gold:#fbbf24;
    --am-gold-soft:#fde68a;
    --am-gold-dark:#d97706;
    --am-cream:#fff7ed;
    --am-bg:#fff7ed;
    --am-card:#ffffff;
    --am-text:#1f1308;
    --am-muted:#7c5a38;
    --am-border:#fed7aa;
    --am-blue:#2563eb;
    --am-green:#16a34a;
    --am-shadow:0 18px 45px rgba(127,29,29,.14);
    --am-shadow-strong:0 28px 70px rgba(127,29,29,.28);
    --am-radius:22px;
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0 !important;
    background:
        radial-gradient(circle at top, rgba(251,191,36,.22), transparent 35%),
        linear-gradient(180deg,#fff7ed 0%,#ffedd5 45%,#fff7ed 100%) !important;
    color:var(--am-text) !important;
    font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
}

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

img{
    max-width:100%;
}

.container{
    max-width:1220px;
    margin:0 auto;
    padding:16px;
}

/* =========================================================
   Navigation
   ========================================================= */

.nav,
.topbar,
.store-nav{
    position:sticky;
    top:0;
    z-index:50;
    background:
        radial-gradient(circle at top left, rgba(251,191,36,.30), transparent 28%),
        linear-gradient(135deg,#7f1d1d,#b91c1c,#ea580c) !important;
    color:#fff !important;
    border-bottom:1px solid rgba(251,191,36,.55) !important;
    box-shadow:0 14px 38px rgba(127,29,29,.25) !important;
    backdrop-filter:blur(14px);
}

.nav .container,
.nav-inner{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:14px !important;
    flex-wrap:wrap !important;
}

.nav a,
.topbar a,
.store-nav a,
.nav-links a,
.brand{
    color:#fff !important;
}

.brand{
    display:flex !important;
    align-items:center !important;
    gap:12px !important;
    font-size:24px !important;
    font-weight:950 !important;
    letter-spacing:-.5px !important;
}

.brand span{
    color:#fff !important;
}

.brand img,
.brand-logo,
.brand-icon,
.store-logo{
    object-fit:cover !important;
    background:#fff7ed !important;
    border:2px solid #fbbf24 !important;
    box-shadow:0 10px 28px rgba(0,0,0,.22) !important;
}

.brand img,
.brand-logo{
    width:56px !important;
    height:56px !important;
    border-radius:17px !important;
}

.store-logo{
    width:96px !important;
    height:96px !important;
    border-radius:26px !important;
}

.nav-links{
    display:flex !important;
    align-items:center !important;
    gap:12px !important;
    flex-wrap:wrap !important;
}

.nav-links a{
    padding:10px 12px !important;
    border-radius:999px !important;
    color:#fff !important;
    font-weight:900 !important;
    font-size:14px !important;
}

.nav-links a:hover{
    background:rgba(255,255,255,.15) !important;
}

.cart-pill,
.shop-btn,
.float-cart{
    background:linear-gradient(135deg,#fff7ed,#fde68a,#fbbf24,#f59e0b) !important;
    color:#451a03 !important;
    padding:12px 18px !important;
    border-radius:999px !important;
    font-weight:950 !important;
    border:1px solid rgba(255,255,255,.55) !important;
    box-shadow:0 12px 28px rgba(217,119,6,.28) !important;
}

/* =========================================================
   Hero
   ========================================================= */

.hero{
    position:relative !important;
    overflow:hidden !important;
    border-radius:34px !important;
    padding:48px !important;
    color:#fff !important;
    background:
        radial-gradient(circle at 50% 0%, rgba(255,245,157,.70), transparent 16%),
        radial-gradient(circle at 75% 0%, rgba(251,191,36,.28), transparent 32%),
        linear-gradient(135deg,#7f1d1d 0%,#b91c1c 48%,#ea580c 100%) !important;
    border:1px solid rgba(251,191,36,.60) !important;
    box-shadow:var(--am-shadow-strong) !important;
}

.hero:before{
    content:"" !important;
    position:absolute !important;
    top:-110px !important;
    right:-80px !important;
    width:340px !important;
    height:340px !important;
    border-radius:50% !important;
    background:rgba(255,255,255,.12) !important;
}

.hero:after{
    content:"" !important;
    position:absolute !important;
    bottom:-120px !important;
    left:-80px !important;
    width:310px !important;
    height:310px !important;
    border-radius:50% !important;
    background:rgba(251,191,36,.16) !important;
}

.hero-inner,
.hero-content{
    position:relative !important;
    z-index:1 !important;
}

.hero-content{
    display:grid !important;
    grid-template-columns:1.1fr .9fr !important;
    gap:34px !important;
    align-items:center !important;
}

.badge{
    display:inline-flex !important;
    align-items:center !important;
    gap:8px !important;
    background:rgba(255,255,255,.18) !important;
    border:1px solid rgba(255,255,255,.32) !important;
    padding:9px 14px !important;
    border-radius:999px !important;
    color:#fff7ed !important;
    font-weight:950 !important;
    margin-bottom:18px !important;
}

.hero h1{
    margin:0 !important;
    color:#fff !important;
    font-size:56px !important;
    line-height:1.02 !important;
    letter-spacing:-1.5px !important;
    text-shadow:0 4px 18px rgba(69,10,10,.35) !important;
}

.hero p{
    color:#fff7ed !important;
    font-size:18px !important;
    line-height:1.8 !important;
    max-width:680px !important;
}

.bn-line{
    color:#ffedd5 !important;
    font-size:15px !important;
}

.hero-left{
    display:flex !important;
    align-items:center !important;
    gap:18px !important;
    flex-wrap:wrap !important;
}

.hero-actions{
    display:flex !important;
    gap:12px !important;
    flex-wrap:wrap !important;
    margin-top:24px !important;
}

.hero-card{
    background:rgba(69,10,10,.32) !important;
    border:1px solid rgba(251,191,36,.42) !important;
    border-radius:30px !important;
    padding:24px !important;
    backdrop-filter:blur(10px) !important;
}

.hero-card img{
    max-width:230px !important;
    width:100% !important;
    height:auto !important;
    display:block !important;
    margin:0 auto 18px !important;
    border-radius:32px !important;
    background:#fff !important;
    border:2px solid rgba(251,191,36,.90) !important;
}

.hero-card ul{
    color:#fff7ed !important;
    line-height:2 !important;
    font-weight:850 !important;
}

/* =========================================================
   Buttons
   ========================================================= */

.btn,
button,
.add-btn,
.hero-btn{
    border:0 !important;
    border-radius:16px !important;
    padding:13px 18px !important;
    font-weight:950 !important;
    cursor:pointer !important;
    color:#451a03 !important;
    background:linear-gradient(135deg,#fff7ed,#fde68a,#fbbf24,#f59e0b) !important;
    box-shadow:0 10px 25px rgba(217,119,6,.22) !important;
    text-align:center !important;
}

.btn:hover,
button:hover,
.add-btn:hover,
.hero-btn:hover{
    filter:brightness(.98) !important;
}

.btn-primary,
.hero-btn{
    background:linear-gradient(135deg,#fff7ed,#fde68a,#fbbf24) !important;
    color:#451a03 !important;
}

.btn-secondary,
.secondary,
.hero-btn.secondary{
    background:rgba(255,255,255,.16) !important;
    color:#fff !important;
    border:1px solid rgba(255,255,255,.30) !important;
}

.btn.danger,
.danger{
    background:linear-gradient(135deg,#ef4444,#b91c1c) !important;
    color:#fff !important;
}

.add-btn:disabled,
button:disabled{
    background:#9ca3af !important;
    color:#fff !important;
    cursor:not-allowed !important;
}

/* =========================================================
   Forms
   ========================================================= */

.input,
input,
select,
textarea{
    width:100%;
    min-height:48px;
    border-radius:15px !important;
    border:1px solid #fdba74 !important;
    padding:12px 14px !important;
    background:#fff !important;
    color:var(--am-text) !important;
    outline:none !important;
    font-size:15px !important;
}

.input:focus,
input:focus,
select:focus,
textarea:focus{
    border-color:#f59e0b !important;
    box-shadow:0 0 0 4px rgba(251,191,36,.25) !important;
}

label{
    display:block !important;
    margin-top:12px !important;
    margin-bottom:6px !important;
    font-weight:950 !important;
    color:#4a2506 !important;
}

/* =========================================================
   Cards / Sections
   ========================================================= */

.card,
.stat,
.info-card,
.step,
.product-card,
.contact-box,
.about-box,
.filters,
.empty-box,
.login-card,
.login-box{
    background:rgba(255,255,255,.96) !important;
    border:1px solid var(--am-border) !important;
    border-radius:24px !important;
    box-shadow:var(--am-shadow) !important;
}

.card,
.info-card,
.step,
.stat,
.contact-box,
.about-box,
.filters,
.empty-box{
    padding:20px !important;
}

.section{
    padding:42px 0 !important;
}

.section-head{
    text-align:center !important;
    max-width:760px !important;
    margin:0 auto 28px !important;
}

.section-head h2{
    margin:0 !important;
    color:#451a03 !important;
    font-size:36px !important;
    letter-spacing:-.8px !important;
}

.section-head p{
    color:var(--am-muted) !important;
    line-height:1.8 !important;
}

/* =========================================================
   Stats / Info / Process
   ========================================================= */

.stats,
.grid-3,
.process,
.product-grid{
    display:grid !important;
    gap:18px !important;
}

.stats{
    grid-template-columns:repeat(4,1fr) !important;
}

.grid-3,
.product-grid{
    grid-template-columns:repeat(3,1fr) !important;
}

.process{
    grid-template-columns:repeat(4,1fr) !important;
}

.stat b{
    display:block !important;
    font-size:28px !important;
    color:#7f1d1d !important;
}

.stat span,
.info-card p,
.step p,
.muted{
    color:var(--am-muted) !important;
}

.info-card .icon{
    width:58px !important;
    height:58px !important;
    border-radius:18px !important;
    display:grid !important;
    place-items:center !important;
    font-size:28px !important;
    background:linear-gradient(135deg,#ffedd5,#fde68a) !important;
    border:1px solid #fdba74 !important;
}

.info-card h3,
.step h3{
    color:#451a03 !important;
}

.step-num{
    width:44px !important;
    height:44px !important;
    border-radius:15px !important;
    display:grid !important;
    place-items:center !important;
    font-weight:950 !important;
    color:#451a03 !important;
    background:linear-gradient(135deg,#fde68a,#fbbf24) !important;
}

/* =========================================================
   Product Cards
   ========================================================= */

.product-card{
    overflow:hidden !important;
    padding:0 !important;
}

.product-img-wrap{
    position:relative !important;
    background:#fff7ed !important;
}

.product-card img{
    width:100% !important;
    height:220px !important;
    object-fit:cover !important;
    display:block !important;
    background:#fff7ed !important;
}

.product-body{
    padding:18px !important;
}

.product-body h3,
.product-title{
    margin:0 0 8px !important;
    color:#451a03 !important;
    font-size:22px !important;
}

.product-body p,
.product-desc{
    color:var(--am-muted) !important;
    line-height:1.6 !important;
}

.price{
    color:#7f1d1d !important;
    font-weight:950 !important;
    font-size:24px !important;
    margin-top:12px !important;
}

.price-row{
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;
    margin:12px 0 !important;
}

.carton-note{
    color:var(--am-muted) !important;
    font-size:12px !important;
}

.stock-badge{
    position:absolute !important;
    top:12px !important;
    left:12px !important;
    padding:8px 11px !important;
    border-radius:999px !important;
    font-size:12px !important;
    font-weight:950 !important;
}

.stock-badge.ok{
    background:#dcfce7 !important;
    color:#166534 !important;
}

.stock-badge.bad{
    background:#fee2e2 !important;
    color:#991b1b !important;
}

.qty-row{
    display:flex !important;
    gap:8px !important;
    align-items:center !important;
}

.qty-btn{
    width:44px !important;
    height:44px !important;
    padding:0 !important;
    border-radius:14px !important;
}

.qty-input{
    text-align:center !important;
}

/* =========================================================
   Store Page Filters / Floating
   ========================================================= */

.filters{
    display:grid !important;
    grid-template-columns:2fr 1fr auto !important;
    gap:10px !important;
    margin-bottom:20px !important;
}

.float-cart,
.whatsapp-float{
    position:fixed !important;
    bottom:18px !important;
    z-index:100 !important;
    border-radius:999px !important;
    padding:14px 18px !important;
    font-weight:950 !important;
    box-shadow:0 14px 32px rgba(0,0,0,.24) !important;
}

.float-cart{
    right:18px !important;
    background:linear-gradient(135deg,#7f1d1d,#b91c1c) !important;
    color:#fff !important;
}

.whatsapp-float{
    left:18px !important;
    background:#16a34a !important;
    color:#fff !important;
}

/* =========================================================
   Alerts
   ========================================================= */

.alert{
    padding:13px 15px !important;
    border-radius:16px !important;
    margin:12px 0 !important;
    font-weight:900 !important;
}

.alert.success{
    background:#dcfce7 !important;
    color:#166534 !important;
    border:1px solid #bbf7d0 !important;
}

.alert.error{
    background:#fee2e2 !important;
    color:#991b1b !important;
    border:1px solid #fecaca !important;
}

/* =========================================================
   Login Pages
   ========================================================= */

.login-wrap{
    min-height:100vh !important;
    display:grid !important;
    place-items:center !important;
    padding:20px !important;
    background:
        radial-gradient(circle at top, rgba(251,191,36,.28), transparent 35%),
        linear-gradient(135deg,#fff7ed,#ffedd5) !important;
}

.login-card,
.login-box{
    width:100% !important;
    max-width:440px !important;
    background:#fff !important;
    border-radius:26px !important;
    padding:30px !important;
    box-shadow:0 24px 65px rgba(127,29,29,.20) !important;
    border:1px solid var(--am-border) !important;
}

.login-header{
    text-align:center !important;
}

.brand-icon{
    width:82px !important;
    height:82px !important;
    border-radius:24px !important;
    display:block !important;
    margin:0 auto 14px !important;
    object-fit:cover !important;
    background:#fff7ed !important;
    border:2px solid #fbbf24 !important;
}

/* =========================================================
   Cart Page
   ========================================================= */

.page-head{
    background:
        radial-gradient(circle at top, rgba(251,191,36,.30), transparent 30%),
        linear-gradient(135deg,#7f1d1d,#b91c1c,#ea580c) !important;
    color:#fff !important;
    border-radius:28px !important;
    padding:30px !important;
    box-shadow:var(--am-shadow-strong) !important;
}

.page-head h1{
    color:#fff !important;
}

.page-head p{
    color:#fff7ed !important;
}

.cart-grid{
    display:grid !important;
    grid-template-columns:2fr 1fr !important;
    gap:20px !important;
}

.cart-item{
    border-bottom:1px solid var(--am-border) !important;
}

.summary-line{
    border-bottom:1px solid var(--am-border) !important;
}

/* =========================================================
   CTA / Footer
   ========================================================= */

.cta{
    background:
        radial-gradient(circle at top, rgba(251,191,36,.32), transparent 32%),
        linear-gradient(135deg,#7f1d1d,#b91c1c,#ea580c) !important;
    color:#fff !important;
    border-radius:30px !important;
    padding:38px !important;
    box-shadow:0 24px 60px rgba(127,29,29,.26) !important;
}

.cta h2{
    margin:0 !important;
    color:#fff !important;
    font-size:34px !important;
}

.cta p{
    color:#fff7ed !important;
}

.cta a{
    background:linear-gradient(135deg,#fff7ed,#fbbf24) !important;
    color:#451a03 !important;
    padding:14px 18px !important;
    border-radius:16px !important;
    font-weight:950 !important;
}

.footer{
    padding:30px 0 !important;
    color:#7c5a38 !important;
}

.footer-inner{
    border-top:1px solid var(--am-border) !important;
    padding-top:22px !important;
    display:flex !important;
    justify-content:space-between !important;
    gap:18px !important;
    flex-wrap:wrap !important;
}

.footer a{
    color:#7f1d1d !important;
    font-weight:900 !important;
    margin-left:12px !important;
}

/* =========================================================
   Responsive
   ========================================================= */

@media(max-width:900px){
    .hero-content{
        grid-template-columns:1fr !important;
    }

    .hero h1{
        font-size:42px !important;
    }

    .stats{
        grid-template-columns:repeat(2,1fr) !important;
    }

    .grid-3,
    .product-grid{
        grid-template-columns:repeat(2,1fr) !important;
    }

    .process{
        grid-template-columns:repeat(2,1fr) !important;
    }

    .filters{
        grid-template-columns:1fr !important;
    }

    .cart-grid{
        grid-template-columns:1fr !important;
    }
}

@media(max-width:560px){
    .container{
        padding:14px !important;
    }

    .nav,
    .nav-inner{
        align-items:flex-start !important;
        flex-direction:column !important;
    }

    .nav-links{
        width:100% !important;
        gap:8px !important;
        overflow-x:auto !important;
        padding-bottom:4px !important;
    }

    .nav-links a{
        white-space:nowrap !important;
        font-size:13px !important;
    }

    .brand img,
    .brand-logo{
        width:52px !important;
        height:52px !important;
    }

    .hero{
        padding:28px !important;
        border-radius:26px !important;
    }

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

    .hero p{
        font-size:16px !important;
    }

    .stats,
    .grid-3,
    .process,
    .product-grid{
        grid-template-columns:1fr !important;
    }

    .product-card img{
        height:240px !important;
    }

    .cta{
        padding:26px !important;
    }

    .cta h2{
        font-size:26px !important;
    }

    .float-cart{
        right:12px !important;
        bottom:12px !important;
    }

    .whatsapp-float{
        left:12px !important;
        bottom:12px !important;
    }
}