/* ==========================================================================
   KESARI TEXOFAB — Global Stylesheet
   Premium, modern, mobile-first e-commerce UI
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
    --brand:        #b8860b;      /* kesari / saffron-gold */
    --brand-dark:   #9a6f08;
    --brand-soft:   #fff7e6;
    --accent:       #14213d;      /* deep navy */
    --ink:          #1f2430;
    --muted:        #6b7280;
    --line:         #ececf0;
    --bg:           #ffffff;
    --bg-soft:      #f7f7f9;
    --success:      #1a8754;
    --danger:       #dc3545;
    --star:         #f5a623;
    --radius:       14px;
    --radius-sm:    9px;
    --shadow-sm:    0 2px 8px rgba(20,20,40,.06);
    --shadow:       0 8px 30px rgba(20,20,40,.10);
    --shadow-lg:    0 18px 50px rgba(20,20,40,.16);
    --maxw:         1200px;
    --font:         'Poppins', system-ui, sans-serif;
    --serif:        'Playfair Display', Georgia, serif;
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; font-size: 15px; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 22px; border-radius: var(--radius-sm);
    font-weight: 600; font-size: 14.5px; letter-spacing: .2px;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
    white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 6px 18px rgba(184,134,11,.30); }
.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 10px 24px rgba(184,134,11,.40); }
.btn-dark { background: var(--accent); color: #fff; }
.btn-dark:hover { background: #0d1830; }
.btn-outline { border: 1.6px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--bg-soft); }
.btn-ghost { background: var(--bg-soft); color: var(--ink); }
.btn-ghost:hover { background: #ececf0; }
.btn-ghost.danger { color: var(--danger); }
.btn-lg { padding: 14px 28px; font-size: 15.5px; }
.btn-block { width: 100%; }

/* ---------- Topbar ---------- */
.topbar { background: var(--accent); color: #fff; font-size: 12.5px; letter-spacing: .3px; }
.topbar .container { padding: 8px 20px; text-align: center; overflow: hidden; white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
    width: 40px; height: 40px; border-radius: 10px;
    background: linear-gradient(135deg, var(--brand), #e0a92b);
    color: #fff; font-weight: 700; font-size: 16px;
    display: grid; place-items: center; box-shadow: var(--shadow-sm);
}
.logo-text { font-family: var(--serif); font-size: 20px; letter-spacing: .5px; color: var(--ink); }
.logo-text b { color: var(--brand); font-weight: 700; }
.logo-light .logo-text { color: #fff; }

.main-nav { display: flex; gap: 28px; }
.main-nav a { font-weight: 500; font-size: 15px; color: var(--ink); position: relative; padding: 6px 0; }
.main-nav a::after {
    content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
    background: var(--brand); transition: width .25s ease;
}
.main-nav a:hover { color: var(--brand); }
.main-nav a:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.cart-btn { position: relative; color: var(--ink); display: grid; place-items: center; }
.cart-btn:hover { color: var(--brand); }
.cart-badge {
    position: absolute; top: -8px; right: -10px; background: var(--brand);
    color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px;
    border-radius: 9px; display: grid; place-items: center; padding: 0 5px;
}
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .3s; }

.page { min-height: 60vh; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--brand-soft), #fff); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: 60px 20px; }
.hero-eyebrow {
    display: inline-block; background: #fff; color: var(--brand-dark);
    padding: 6px 14px; border-radius: 30px; font-size: 12.5px; font-weight: 600;
    box-shadow: var(--shadow-sm); margin-bottom: 18px;
}
.hero-copy h1 { font-family: var(--serif); font-size: 52px; line-height: 1.1; color: var(--ink); margin-bottom: 18px; }
.hero-copy h1 span { color: var(--brand); }
.hero-copy > p { font-size: 16.5px; color: var(--muted); max-width: 480px; margin-bottom: 28px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: flex; gap: 34px; }
.hero-trust div { display: flex; flex-direction: column; }
.hero-trust b { font-size: 24px; font-family: var(--serif); color: var(--ink); }
.hero-trust span { font-size: 12.5px; color: var(--muted); }

.hero-media { position: relative; }
.hero-media > img { width: 100%; border-radius: 20px; box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 7/8; }
.hero-float {
    position: absolute; background: #fff; border-radius: 14px; padding: 12px 16px;
    box-shadow: var(--shadow); font-weight: 600; font-size: 13px; line-height: 1.3;
}
.hero-float small { color: var(--muted); font-weight: 500; }
.hero-float-1 { top: 24px; left: -18px; }
.hero-float-2 { bottom: 30px; right: -14px; color: var(--brand-dark); }

/* ---------- Feature strip ---------- */
.feature-strip { border-bottom: 1px solid var(--line); }
.feature-strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 24px 20px; }
.feature { display: flex; align-items: center; gap: 12px; }
.feature span { font-size: 26px; }
.feature b { display: block; font-size: 14px; }
.feature small { color: var(--muted); font-size: 12.5px; }

/* ---------- Sections ---------- */
.section { padding: 54px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 8px; }
.section-head h2 { font-family: var(--serif); font-size: 30px; color: var(--ink); }
.section-head p { color: var(--muted); }
.section-link { color: var(--brand-dark); font-weight: 600; font-size: 14.5px; }
.section-link:hover { color: var(--brand); }

/* ---------- Category grid ---------- */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.category-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow-sm); }
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.category-card:hover img { transform: scale(1.08); }
.category-card span {
    position: absolute; inset: auto 0 0 0; padding: 16px;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
    color: #fff; font-weight: 600; font-size: 17px;
}

/* ---------- Product grid & card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
    display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.pc-media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--bg-soft); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .pc-media img { transform: scale(1.06); }
.pc-badge {
    position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff;
    font-size: 11px; font-weight: 600; padding: 5px 10px; border-radius: 20px;
}
.pc-badge.badge-discount { background: var(--danger); }
.pc-stock {
    position: absolute; bottom: 12px; left: 12px; background: rgba(220,53,69,.95); color: #fff;
    font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 6px;
}
.pc-body { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pc-cat { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .6px; font-weight: 500; }
.pc-title { font-weight: 600; font-size: 14.5px; color: var(--ink); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 40px; }
.pc-title:hover { color: var(--brand); }
.pc-rating { display: flex; align-items: center; gap: 6px; font-size: 12.5px; }
.stars { color: #fff; background: var(--success); padding: 1px 7px; border-radius: 5px; font-size: 12px; font-weight: 600; }
.pc-reviews { color: var(--muted); }
.pc-price { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.price-now { font-size: 18px; font-weight: 700; color: var(--ink); }
.price-old { font-size: 13.5px; color: var(--muted); text-decoration: line-through; }
.price-off { font-size: 12.5px; color: var(--success); font-weight: 600; }
.pc-add { margin-top: auto; }

/* ---------- Promo banner ---------- */
.promo-banner {
    background: linear-gradient(120deg, var(--accent), #24365e);
    color: #fff; margin: 20px 0; position: relative; overflow: hidden;
}
.promo-inner { padding: 56px 20px; }
.promo-text { max-width: 560px; }
.promo-text span { text-transform: uppercase; letter-spacing: 2px; font-size: 12px; color: var(--brand); font-weight: 600; }
.promo-text h3 { font-family: var(--serif); font-size: 36px; margin: 10px 0 12px; }
.promo-text p { color: #cbd3e0; margin-bottom: 22px; }

/* ---------- Testimonials ---------- */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial { background: var(--bg-soft); border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.testimonial .stars { background: none; color: var(--star); font-size: 16px; padding: 0; letter-spacing: 2px; }
.testimonial p { margin: 12px 0 18px; color: #444; font-size: 14.5px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.ta-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; }
.testimonial-author b { display: block; font-size: 14px; }
.testimonial-author small { color: var(--muted); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 20px 0 4px; font-size: 13px; color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.page-title { font-family: var(--serif); font-size: 32px; margin: 8px 0 24px; }

/* ---------- Listing ---------- */
.listing-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 10px 0 18px; }
.listing-head h1 { font-family: var(--serif); font-size: 30px; }
.listing-head p { color: var(--muted); font-size: 14px; }
.listing-tools { display: flex; gap: 10px; flex-wrap: wrap; }
.search-input, .sort-select {
    border: 1.4px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px; background: #fff;
}
.search-input:focus, .sort-select:focus { outline: none; border-color: var(--brand); }
.filter-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 26px; }
.pill { padding: 8px 18px; border-radius: 30px; background: var(--bg-soft); border: 1.4px solid var(--line); font-size: 13.5px; font-weight: 500; }
.pill:hover { border-color: var(--brand); color: var(--brand-dark); }
.pill.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.product-grid-4 { margin-bottom: 40px; }

/* ---------- Empty state ---------- */
.empty-state { text-align: center; padding: 70px 20px; }
.empty-icon { font-size: 60px; margin-bottom: 14px; }
.empty-state h3 { font-size: 22px; margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin-bottom: 22px; }

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin: 14px 0 30px; }
.pdp-main { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/5; background: var(--bg-soft); }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-family: var(--serif); font-size: 30px; margin: 6px 0 12px; line-height: 1.25; }
.pdp-rating { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.pdp-viewing { font-size: 13px; color: var(--danger); background: #fdeef0; padding: 4px 10px; border-radius: 20px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; }
.pdp-price .price-now { font-size: 30px; }
.pdp-price .price-old { font-size: 17px; }
.pdp-price .price-off { font-size: 15px; }
.pdp-tax { color: var(--muted); font-size: 12.5px; margin-bottom: 16px; }
.stock-alert { background: #fff5e6; color: var(--brand-dark); border: 1px dashed var(--brand); padding: 10px 14px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 18px; }
.stock-ok { background: #eaf7f0; color: var(--success); padding: 10px 14px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 18px; font-weight: 500; }
.pdp-desc { color: #444; margin-bottom: 18px; }
.pdp-features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 26px; }
.pdp-features li { font-size: 14px; color: #333; }
.pdp-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 26px; }
.qty-box { display: inline-flex; align-items: center; border: 1.4px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.qty-btn { width: 40px; height: 46px; font-size: 20px; color: var(--ink); background: var(--bg-soft); }
.qty-btn:hover { background: #ececf0; }
.qty-box input { width: 48px; height: 46px; text-align: center; border: none; font-weight: 600; }
.qty-box input::-webkit-outer-spin-button, .qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-assure { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; border-top: 1px solid var(--line); padding-top: 22px; }
.pdp-assure div { text-align: center; font-size: 12.5px; color: var(--muted); }
.pdp-assure div span { display: block; font-size: 22px; margin-bottom: 4px; }

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 350px; gap: 28px; align-items: start; margin-bottom: 50px; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-row {
    display: grid; grid-template-columns: 90px 1fr auto auto; gap: 16px; align-items: center;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px;
}
.cart-thumb { width: 90px; height: 110px; border-radius: var(--radius-sm); overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-info { display: flex; flex-direction: column; gap: 4px; }
.cart-name { font-weight: 600; font-size: 15px; }
.cart-name:hover { color: var(--brand); }
.cart-meta { color: var(--muted); font-size: 12.5px; }
.cart-price-mobile { display: none; font-weight: 600; }
.cart-remove { color: var(--danger); font-size: 13px; margin-top: 4px; width: fit-content; }
.cart-remove:hover { text-decoration: underline; }
.cart-qty-input { width: 46px; height: 40px; text-align: center; border: none; font-weight: 600; }
.cart-qty-input::-webkit-outer-spin-button, .cart-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cart-qty .qty-btn { height: 40px; width: 36px; }
.cart-line-total { font-weight: 700; font-size: 16px; min-width: 80px; text-align: right; }
.cart-actions-bar { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.cart-summary { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; position: sticky; top: 88px; }
.cart-summary h3 { font-size: 18px; margin-bottom: 16px; }
.sum-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14.5px; color: #444; }
.sum-row b { color: var(--ink); }
.free { color: var(--success); font-weight: 700; }
.ship-hint { font-size: 12.5px; color: var(--brand-dark); background: var(--brand-soft); padding: 8px 10px; border-radius: 8px; margin: 4px 0; }
.sum-total { border-top: 1.6px solid var(--line); margin-top: 6px; padding-top: 14px; font-size: 18px; font-weight: 700; }
.sum-total b { font-size: 20px; }
.cart-summary .btn { margin-top: 14px; }
.sum-assure { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; font-size: 12.5px; color: var(--muted); }

/* ---------- Checkout ---------- */
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; margin-bottom: 50px; }
.checkout-main { display: flex; flex-direction: column; gap: 20px; }
.checkout-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.checkout-card h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 20px; }
.step-num { width: 26px; height: 26px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: 13px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 13.5px; font-weight: 500; color: #333; }
.field input, .field textarea, .field select {
    border: 1.4px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; background: #fff; transition: border-color .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(184,134,11,.12); }
.field textarea { resize: vertical; }
.err { color: var(--danger); font-size: 12.5px; font-weight: 500; }
.field input.invalid, .field textarea.invalid { border-color: var(--danger); }

.pay-option { display: flex; align-items: center; gap: 14px; border: 1.6px solid var(--brand); background: var(--brand-soft); border-radius: var(--radius-sm); padding: 16px; cursor: pointer; }
.pay-option input { accent-color: var(--brand); width: 18px; height: 18px; }
.pay-option-body b { display: block; font-size: 15px; }
.pay-option-body small { color: var(--muted); font-size: 13px; }
.pay-check { margin-left: auto; color: var(--brand); font-weight: 700; }
.cod-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

.checkout-summary { position: sticky; top: 88px; }
.co-items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; max-height: 320px; overflow-y: auto; }
.co-item { display: flex; align-items: center; gap: 12px; }
.co-item img { width: 52px; height: 62px; border-radius: 8px; object-fit: cover; }
.co-item-info { flex: 1; }
.co-item-info span { display: block; font-size: 13.5px; font-weight: 500; line-height: 1.3; }
.co-item-info small { color: var(--muted); font-size: 12px; }
.co-item b { font-size: 14px; }
.secure-note { text-align: center; font-size: 12px; color: var(--muted); margin-top: 12px; }

/* ---------- Order success ---------- */
.success-wrap { max-width: 820px; margin: 30px auto 60px; }
.success-head { text-align: center; margin-bottom: 34px; }
.success-tick { width: 84px; height: 84px; border-radius: 50%; background: var(--success); color: #fff; font-size: 44px; display: grid; place-items: center; margin: 0 auto 20px; box-shadow: 0 10px 30px rgba(26,135,84,.35); animation: pop .5s ease; }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.12); } 100% { transform: scale(1); } }
.success-head h1 { font-family: var(--serif); font-size: 32px; margin-bottom: 10px; }
.success-head > p { color: var(--muted); margin-bottom: 20px; }
.order-id-box { display: inline-flex; flex-direction: column; align-items: center; background: var(--brand-soft); border: 1.6px dashed var(--brand); border-radius: var(--radius); padding: 14px 40px; }
.order-id-box span { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.order-id-box b { font-family: var(--serif); font-size: 26px; color: var(--brand-dark); letter-spacing: 1px; }
.success-sub { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.success-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 28px; }
.detail-table { width: 100%; border-collapse: collapse; }
.detail-table th { text-align: left; color: var(--muted); font-weight: 500; font-size: 13.5px; padding: 8px 0; vertical-align: top; width: 90px; }
.detail-table td { padding: 8px 0; font-size: 14px; font-weight: 500; }
.cod-tag { background: var(--success); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 20px; }
.success-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.success-steps { display: flex; align-items: center; justify-content: center; gap: 6px; }
.ss-step { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.ss-step span { width: 44px; height: 44px; border-radius: 50%; background: var(--bg-soft); border: 1.5px solid var(--line); display: grid; place-items: center; font-size: 18px; }
.ss-step.done span { background: var(--success); color: #fff; border-color: var(--success); }
.ss-step.done { color: var(--success); font-weight: 600; }
.ss-line { width: 44px; height: 2px; background: var(--line); }

/* ---------- About / Contact ---------- */
.about-hero { background: linear-gradient(180deg, var(--brand-soft), #fff); }
.about-hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 54px 20px; }
.about-hero h1 { font-family: var(--serif); font-size: 40px; line-height: 1.15; margin: 14px 0 16px; }
.about-hero p { color: var(--muted); font-size: 16px; }
.about-hero-media img { border-radius: 20px; box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; }
.about-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; text-align: center; }
.value-card span { font-size: 34px; }
.value-card h4 { margin: 12px 0 8px; font-size: 16px; }
.value-card p { color: var(--muted); font-size: 13.5px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info h2 { font-family: var(--serif); font-size: 30px; margin-bottom: 10px; }
.contact-info > p { color: var(--muted); margin-bottom: 26px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 22px; }
.ci-icon { font-size: 22px; background: var(--brand-soft); width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; }
.contact-item b { display: block; margin-bottom: 3px; }
.contact-item p { color: var(--muted); font-size: 14px; }
.contact-item a { color: var(--brand-dark); }
.contact-form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.contact-form-card h3 { font-size: 20px; margin-bottom: 18px; }
.contact-form-card .field { margin-bottom: 14px; }
.alert-success { background: #eaf7f0; color: var(--success); border: 1px solid #b9e6cd; padding: 12px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 14px; font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--accent); color: #cbd3e0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 30px; padding: 54px 20px 40px; }
.footer-about { font-size: 13.5px; margin: 16px 0; max-width: 300px; }
.pay-badges span { background: rgba(255,255,255,.08); padding: 8px 14px; border-radius: 8px; font-size: 13px; display: inline-block; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; font-size: 14px; color: #b3bdd0; }
.footer-col a:hover { color: var(--brand); }
.footer-contact { font-size: 13.5px; margin-bottom: 16px; line-height: 1.6; }
.footer-contact strong { color: #fff; }
.footer-contact a:hover { color: var(--brand); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bottom .container { display: flex; justify-content: space-between; padding: 18px 20px; font-size: 13px; flex-wrap: wrap; gap: 8px; }

/* ---------- Live order popup ---------- */
.live-popup {
    position: fixed; left: 20px; bottom: 20px; z-index: 90;
    display: flex; align-items: center; gap: 12px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px;
    box-shadow: var(--shadow-lg); padding: 12px 16px 12px 12px; max-width: 300px;
    transform: translateY(140%); opacity: 0; transition: transform .5s ease, opacity .5s ease;
}
.live-popup.show { transform: translateY(0); opacity: 1; }
.live-popup-img { width: 46px; height: 54px; border-radius: 8px; object-fit: cover; }
.live-popup-body { display: flex; flex-direction: column; line-height: 1.35; }
.live-popup-body strong { font-size: 13.5px; }
.live-popup-body span { font-size: 12.5px; color: #444; }
.live-popup-body small { font-size: 11px; color: var(--success); margin-top: 2px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-copy h1 { font-size: 42px; }
    .category-grid, .product-grid, .product-grid-4 { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
    .main-nav {
        position: fixed; inset: 68px 0 auto 0; background: #fff; flex-direction: column;
        gap: 0; padding: 10px 20px 20px; border-bottom: 1px solid var(--line);
        box-shadow: var(--shadow); transform: translateY(-140%); transition: transform .3s ease; z-index: 99;
    }
    .main-nav.open { transform: translateY(0); }
    .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
    .nav-toggle { display: flex; }
    .hero-inner { grid-template-columns: 1fr; text-align: center; padding: 40px 20px; }
    .hero-copy > p { margin-left: auto; margin-right: auto; }
    .hero-cta, .hero-trust { justify-content: center; }
    .hero-media { max-width: 420px; margin: 0 auto; }
    .feature-strip-inner { grid-template-columns: 1fr 1fr; }
    .pdp { grid-template-columns: 1fr; gap: 26px; }
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .cart-summary, .checkout-summary { position: static; }
    .success-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .about-hero-inner { grid-template-columns: 1fr; }
    .about-values { grid-template-columns: 1fr 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .category-grid, .product-grid, .product-grid-4 { grid-template-columns: 1fr 1fr; gap: 14px; }
    .hero-copy h1 { font-size: 34px; }
    .section-head h2 { font-size: 24px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom .container { flex-direction: column; text-align: center; }
    .pdp-features { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .hero-trust { gap: 20px; }
    .hero-trust b { font-size: 20px; }
    .cart-row { grid-template-columns: 72px 1fr; grid-template-areas: "img info" "qty total"; row-gap: 12px; }
    .cart-thumb { grid-area: img; width: 72px; height: 88px; }
    .cart-info { grid-area: info; }
    .cart-qty { grid-area: qty; }
    .cart-line-total { grid-area: total; text-align: right; align-self: center; }
    .pc-title { font-size: 13.5px; }
    .live-popup { left: 12px; right: 12px; max-width: none; }
    .btn-lg { padding: 12px 20px; }
    .promo-text h3 { font-size: 26px; }
    .about-values { grid-template-columns: 1fr; }
}
