/* ==========================================================
   Sarthak Enterprises - Storefront styles (App UI, v4)
   A phone-app shell: centered fixed-width column, sticky top bar,
   sticky bottom tab bar, everything else built from rounded,
   soft-shadow cards in navy / orange / peach / cream — no hairline
   borders, colour and elevation do the separating.
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --navy: #163A4D;
  --navy-dark: #0E2733;
  --navy-soft: #24506A;
  --navy-mid: #1B4A61;
  --orange: #EFA23F;
  --orange-soft: #F6C57C;
  --orange-dark: #C67A1E;
  --peach: #FBE7C6;
  --peach-dark: #F4D9A9;
  --cream: #F5F4F0;
  --paper: #FFFFFF;
  --white: #FFFFFF;
  --text: #1A2933;
  --muted: #64727A;
  --border: #E9E7E1;
  --danger: #B8433D;
  --success: #2E7D52;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --shadow-sm: 0 6px 16px rgba(22,58,77,.08);
  --shadow: 0 10px 26px rgba(22,58,77,.10);
  --shadow-lg: 0 22px 46px rgba(14,39,51,.18);
  --shadow-orange: 0 10px 22px rgba(224,142,43,.38);
  --shell-w: 440px;
}

*{ box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html,body{ margin:0; padding:0; height:100%; }
body{
  font-family: 'Inter', 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  background: #DCE3E1;
  color: var(--text);
  line-height: 1.5;
}
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:'Poppins', 'Inter', sans-serif; color: var(--navy); margin: 0 0 .4em; font-weight: 700; letter-spacing:-.01em; }
p{ margin: 0 0 1em; color: var(--muted); }
button{ font-family: inherit; }

/* ---------- App shell ---------- */
.app-shell{
  max-width: var(--shell-w);
  margin: 0 auto;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  background: var(--cream);
  box-shadow: 0 0 0 1px rgba(22,58,77,0.05), 0 30px 70px rgba(14,39,51,0.28);
  -ms-overflow-style: none;
  scrollbar-width: thin;
}
.app-content{ padding: 0 20px 118px; min-height: calc(100% - 1px); }
.container{ max-width: none; margin: 0; padding: 0 20px; } /* legacy alias kept for older markup */

/* ---------- Top bar ---------- */
.app-topbar{
  position: sticky; top:0; z-index: 20; background: var(--cream);
  padding: 20px 20px 8px; display:flex; align-items:center; justify-content:space-between; gap:12px;
}
.app-topbar .greet strong{ display:block; color: var(--navy); font-family:'Poppins',sans-serif; font-size:1.18rem; font-weight:700; }
.app-topbar .greet span{ color: var(--muted); font-size:.78rem; }
.icon-btn{
  width:44px; height:44px; border-radius: 50%; background:#fff; border:0; box-shadow: var(--shadow-sm);
  display:flex; align-items:center; justify-content:center; color: var(--navy); position:relative; flex-shrink:0;
}
.icon-btn .dot{ position:absolute; top:9px; right:9px; width:7px; height:7px; border-radius:50%; background: var(--orange); box-shadow: 0 0 0 2px #fff; }
.topbar-actions{ display:flex; gap:10px; }

/* ---------- Bottom tab bar ---------- */
.bottom-nav{
  position: sticky; bottom:0; z-index: 30; background: #fff;
  border-radius: 26px 26px 0 0;
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  box-shadow: 0 -12px 30px rgba(22,58,77,0.12);
}
.bottom-nav a{
  display:flex; flex-direction:column; align-items:center; gap:4px; color: #A2AEB4;
  font-size:.62rem; font-weight:700; width:46px; padding-top:6px; border-radius: var(--radius-md);
  transition: background .15s ease, color .15s ease;
}
.bottom-nav a.active{ color: var(--navy); background: var(--cream); }
.bottom-nav a .tab-dot{ width:14px; height:3px; border-radius:999px; background: transparent; margin-top:1px; }
.bottom-nav a.active .tab-dot{ background: var(--orange); }
.bottom-nav a svg{ width:21px; height:21px; }
.bottom-nav .tab-cart{
  width:58px; height:58px; border-radius: 50%; background: linear-gradient(155deg, var(--orange-soft), var(--orange));
  color: var(--navy-dark); padding-top:0;
  display:flex; align-items:center; justify-content:center; margin-top:-34px;
  box-shadow: 0 0 0 6px var(--cream), var(--shadow-orange); position:relative; flex-shrink:0;
}
.bottom-nav .tab-cart:hover, .bottom-nav .tab-cart:active{ background: linear-gradient(155deg, var(--orange), var(--orange-dark)); }
.bottom-nav .tab-cart svg{ width:24px; height:24px; }
.bottom-nav .tab-cart .cart-count{
  position:absolute; top:-3px; right:-3px; background: var(--navy); color:#fff; font-size:.62rem; font-weight:800;
  border-radius:999px; min-width:19px; height:19px; display:flex; align-items:center; justify-content:center; padding:0 4px;
  box-shadow: 0 0 0 3px var(--cream);
}

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding: 13px 22px; border-radius: var(--radius-pill); font-weight:700; font-size:.88rem;
  border: 0; cursor:pointer; transition: all .15s ease; font-family:'Poppins',sans-serif;
}
.btn-sm{ padding: 9px 16px; font-size:.8rem; }
.btn-primary{ background: var(--navy); color: #fff; box-shadow: 0 8px 18px rgba(22,58,77,.28); }
.btn-primary:hover{ background: var(--navy-dark); }
.btn-outline{ background: #fff; border: 1.5px solid var(--border); color: var(--navy); }
.btn-outline:hover{ border-color: var(--navy); }
.btn-dark{ background: var(--navy); color: #fff; }
.btn-dark:hover{ background: var(--navy-dark); }
.btn-accent{ background: linear-gradient(135deg, var(--orange-soft), var(--orange)); color:#fff; box-shadow: var(--shadow-orange); }
.btn-accent:hover{ background: linear-gradient(135deg, var(--orange), var(--orange-dark)); }
.btn-danger{ background: #F8E9E8; color: var(--danger); }
.btn-block{ width:100%; }
.btn:disabled{ opacity:.5; cursor:not-allowed; box-shadow:none; }

/* ---------- Cards (base building block) ---------- */
.card{ background:#fff; border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); }
.card + .card{ margin-top: 14px; }

/* ---------- Flash messages ---------- */
.flash{ margin: 14px 0; padding: 13px 18px; border-radius: var(--radius-sm); font-weight:600; font-size:.85rem; }
.flash-success{ background:#E4F6EC; color: var(--success); }
.flash-error{ background:#FBE7E7; color: var(--danger); }
.flash-info{ background:#E7F0F8; color: var(--navy); }

/* ---------- Hero card (home) — dashboard-style stat card ---------- */
.hero{
  background: linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-soft) 100%);
  border-radius: var(--radius-xl); color:#fff; padding: 24px 22px 20px; margin: 10px 0 18px;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.hero::before{
  content:''; position:absolute; width:200px; height:200px; border-radius:50%;
  background: radial-gradient(circle, rgba(239,162,63,.32), transparent 70%);
  top:-90px; right:-60px; pointer-events:none;
}
.hero-top{ display:flex; align-items:flex-start; justify-content:space-between; gap:16px; position:relative; }
.hero-copy{ flex:1; min-width:0; }
.hero .eyebrow{ font-size:.66rem; font-weight:700; letter-spacing:.09em; text-transform:uppercase; color:#9FC0CE; margin-bottom:8px; }
.hero h1{ color:#fff; font-size: 1.32rem; max-width: 230px; margin-bottom: .35em; font-weight:700; letter-spacing:-.01em; }
.hero span{ color: var(--orange); }
.hero p{ color: #B9CBD3; font-size:.82rem; margin-bottom:16px; max-width: 260px; }

.hero-ring{
  --pct: 75;
  width:78px; height:78px; border-radius:50%; flex-shrink:0; position:relative;
  background: conic-gradient(var(--orange) calc(var(--pct)*3.6deg), rgba(255,255,255,.16) 0deg);
  display:flex; align-items:center; justify-content:center;
}
.hero-ring::before{ content:''; position:absolute; inset:7px; border-radius:50%; background: var(--navy-dark); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }
.hero-ring .ring-inner{ position:relative; display:flex; flex-direction:column; align-items:center; line-height:1.1; }
.hero-ring .ring-inner strong{ font-size:1.05rem; font-weight:800; color:#fff; font-family:'Poppins',sans-serif; }
.hero-ring .ring-inner small{ font-size:.52rem; color:#B9CBD3; font-weight:600; text-transform:uppercase; letter-spacing:.03em; }

.hero-stats{ display:flex; gap: 8px; position:relative; margin-top:16px; }
.hero-stats div{ flex:1; background: rgba(255,255,255,.08); border-radius: var(--radius-md); padding: 10px 6px; text-align:center; }
.hero-stats div strong{ display:block; font-size:1.05rem; color:#fff; font-weight:800; font-family:'Poppins',sans-serif; }
.hero-stats div small{ color:#AFC5CD; font-size:.62rem; }
.hero-cta{ display:flex; gap:8px; margin-top:16px; position:relative; }
.hero-cta a{ font-size:.78rem; padding:10px 16px; }

/* ---------- Trust strip ---------- */
.trust-strip{ display:flex; align-items:center; gap:14px; margin-bottom:16px; overflow-x:auto; padding-bottom:2px; }
.trust-strip .item{ display:flex; align-items:center; gap:6px; font-size:.72rem; color: var(--muted); font-weight:600; white-space:nowrap; }
.trust-strip .item svg{ width:14px; height:14px; color: var(--orange-dark); flex-shrink:0; }
.trust-strip a.item{ color: var(--navy); }

/* ---------- Search + filters ---------- */
.search-card{ display:flex; background:#fff; border-radius: var(--radius-pill); overflow:hidden; margin-bottom:10px; box-shadow: var(--shadow-sm); }
.search-card input{ flex:1; border:0; background:transparent; padding: 13px 8px 13px 20px; font-size:.86rem; outline:none; }
.search-card button{ border:0; background: var(--navy); color:#fff; padding: 0 18px; margin:5px 5px 5px 0; border-radius: var(--radius-pill); cursor:pointer; }
.filter-panel{ margin-bottom: 16px; }
.filter-panel summary{
  list-style:none; cursor:pointer; display:flex; align-items:center; justify-content:space-between;
  padding: 12px 18px; background:#fff; border-radius: var(--radius-pill);
  font-size:.8rem; font-weight:700; color: var(--navy); box-shadow: var(--shadow-sm);
}
.filter-panel summary::-webkit-details-marker{ display:none; }
.filter-panel summary .chevron{ transition: transform .15s ease; color: var(--muted); }
.filter-panel[open] summary{ border-radius: var(--radius-md) var(--radius-md) 0 0; }
.filter-panel[open] summary .chevron{ transform: rotate(180deg); }
.filter-body{ background:#fff; border-radius: 0 0 var(--radius-md) var(--radius-md); padding: 16px; box-shadow: var(--shadow-sm); }
.filter-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:10px; margin-bottom:10px; }
.filter-grid label{ display:block; font-size:.68rem; font-weight:700; color: var(--muted); text-transform:uppercase; letter-spacing:.04em; margin-bottom:4px; }
.filter-grid select, .filter-grid input{
  width:100%; padding: 10px 12px; border-radius: var(--radius-sm); border:1.5px solid var(--border); font-size:.82rem; background:#fbfaf8;
}
.filter-actions{ display:flex; gap:8px; }

/* ---------- Section heading ---------- */
.section-head{ display:flex; align-items:baseline; justify-content:space-between; margin: 6px 0 12px; }
.section-head h2{ margin:0; font-size:1.02rem; letter-spacing:-.01em; }
.section-head span{ color: var(--muted); font-size:.76rem; }
.section-head a{ color: var(--orange-dark); font-weight:700; font-size:.8rem; }

/* ---------- Category grid (home, browse-all view) ---------- */
#categories{ scroll-margin-top: 80px; }
.category-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.category-grid a{
  border-radius: var(--radius-lg); padding: 16px; display:flex; flex-direction:column; justify-content:space-between;
  min-height: 96px; box-shadow: var(--shadow-sm); position:relative; overflow:hidden;
}
.category-grid a.cat-all{
  grid-column: 1 / -1; flex-direction:row; align-items:center; justify-content:space-between; min-height:auto;
  background: linear-gradient(135deg, var(--orange-soft), var(--orange)); box-shadow: var(--shadow-orange);
}
.category-grid a.cat-all .cat-icon{ background: rgba(255,255,255,.28); color:#fff; }
.category-grid a.cat-all strong, .category-grid a.cat-all small{ color:#fff; }
.category-grid a.tint-navy{ background: linear-gradient(160deg, var(--navy), var(--navy-soft)); }
.category-grid a.tint-navy strong{ color:#fff; }
.category-grid a.tint-navy small{ color:#AFC5CD; }
.category-grid a.tint-navy .cat-icon{ background: rgba(255,255,255,.14); color: var(--orange-soft); }
.category-grid a.tint-peach{ background: var(--peach); }
.category-grid a.tint-peach .cat-icon{ background: rgba(255,255,255,.6); color: var(--orange-dark); }
.category-grid a.tint-cream{ background: #fff; }
.category-grid a.tint-cream .cat-icon{ background: var(--cream); color: var(--navy); }
.category-grid .cat-icon{ width:34px; height:34px; border-radius: 11px; display:flex; align-items:center; justify-content:center; margin-bottom:10px; flex-shrink:0; }
.category-grid .cat-icon svg{ width:18px; height:18px; }
.category-grid a.cat-all .cat-icon{ margin-bottom:0; width:44px; height:44px; }
.category-grid strong{ display:block; font-size:.88rem; font-weight:700; color: var(--navy); font-family:'Poppins',sans-serif; }
.category-grid small{ display:block; font-size:.68rem; color: var(--muted); margin-top:2px; font-weight:600; }
.category-grid a.cat-all strong{ font-size:.98rem; }

/* ---------- Category pills (compact, used once filtering/search is active) ---------- */
.cat-tabs{ display:flex; gap:8px; overflow-x:auto; padding-bottom:4px; margin-bottom: 18px; -ms-overflow-style:none; scrollbar-width:none; }
.cat-tabs::-webkit-scrollbar{ display:none; }
.cat-tabs a{
  flex-shrink:0; padding: 10px 16px; border-radius: var(--radius-pill); background:#fff; box-shadow: var(--shadow-sm);
  font-weight:600; font-size:.78rem; color: var(--text); display:flex; align-items:center; gap:6px;
}
.cat-tabs a small{ color: var(--muted); font-weight:500; }
.cat-tabs a.active{ background: var(--navy); color:#fff; }
.cat-tabs a.active small{ color:#B9C9D0; }

/* ---------- Product grid / cards ---------- */
.product-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.product-card{
  background:#fff; border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-sm);
  display:flex; flex-direction:column; transition: transform .15s ease, box-shadow .15s ease;
}
.product-card:hover{ transform: translateY(-2px); box-shadow: var(--shadow); }
.product-card .thumb{ background: var(--cream); aspect-ratio: 1/1; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.product-card .thumb img{ width:100%; height:100%; object-fit: cover; }
.product-card .body{ padding: 12px 13px 13px; display:flex; flex-direction:column; gap:3px; flex:1; }
.product-card .cat{ font-size:.6rem; text-transform:uppercase; letter-spacing:.06em; color: var(--orange-dark); font-weight:700; }
.product-card h3{ font-size:.86rem; margin:0; line-height:1.25; font-weight:700; font-family:'Poppins',sans-serif; }
.product-card .meta{ font-size:.68rem; color: var(--muted); }
.product-card .price-row{ display:flex; align-items:center; justify-content:space-between; margin-top:9px; padding-top:9px; border-top:1px dashed var(--border); }
.product-card .price{ font-weight:800; color: var(--navy); font-size:.84rem; font-family:'Poppins',sans-serif; }
.product-card .price small{ display:block; color: var(--muted); font-weight:500; font-size:.6rem; }
.badge-stock{ font-size:.58rem; font-weight:700; padding: 4px 9px; border-radius: var(--radius-pill); white-space:nowrap; }
.badge-in{ background:#E7F3EC; color: var(--success); }
.badge-low{ background:#FBF0DF; color: var(--orange-dark); }
.badge-out{ background:#F8E9E8; color: var(--danger); }

.empty-state{ text-align:center; padding: 50px 20px; color: var(--muted); }
.empty-state .btn{ margin-top:6px; }

/* ---------- Product detail ---------- */
.product-detail{ padding-top: 6px; }
.thumb-lg{ background:#fff; border-radius: var(--radius-xl); overflow:hidden; aspect-ratio: 1/1; margin-bottom:16px; box-shadow: var(--shadow); }
.thumb-lg img{ width:100%; height:100%; object-fit:cover; }
.product-info .cat{ font-size:.7rem; text-transform:uppercase; letter-spacing:.05em; color: var(--orange-dark); font-weight:700; }
.product-info h1{ margin:.2em 0; font-size:1.32rem; font-weight:700; letter-spacing:-.01em; }
.product-info .desc{ margin-bottom: 4px; font-size:.85rem; }
.sku-line{ font-size:.72rem; color: var(--muted); margin-bottom:14px; }
.sku-line strong{ color: var(--text); }
.selector-group{ margin: 14px 0; }
.selector-group label{ display:block; font-weight:700; margin-bottom:8px; font-size:.76rem; color: var(--muted); text-transform:uppercase; letter-spacing:.04em; }
.pill-select{ display:flex; flex-wrap:wrap; gap:8px; }
.pill-select .pill{
  padding: 9px 15px; border-radius: var(--radius-pill); border: 0; background:#fff; box-shadow: var(--shadow-sm);
  font-weight:700; font-size:.8rem; cursor:pointer; color: var(--text);
}
.pill-select .pill.selected{ background: var(--navy); color:#fff; box-shadow: 0 8px 18px rgba(22,58,77,.28); }
.pill-select .pill.disabled{ opacity:.35; text-decoration: line-through; cursor:not-allowed; box-shadow:none; }
.variant-summary{ background: linear-gradient(135deg, var(--navy), var(--navy-soft)); color:#fff; border-radius: var(--radius-lg); padding: 16px 18px; margin: 14px 0; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; box-shadow: var(--shadow); }
.variant-summary .price{ font-size:1.25rem; font-weight:800; color:#fff; font-family:'Poppins',sans-serif; }
.variant-summary .price + div{ font-size:.7rem; color:#B9CBD3; }
.qty-input{ display:flex; align-items:center; border-radius: var(--radius-pill); overflow:hidden; width: fit-content; background:#fff; box-shadow: var(--shadow-sm); }
.qty-input button{ background: transparent; border:0; width:36px; height:40px; font-size:1.05rem; cursor:pointer; color: var(--navy); font-weight:700; }
.qty-input input{ width: 44px; border:0; text-align:center; font-weight:700; font-size:.92rem; background:transparent; }

/* ---------- Spec table (product page) ---------- */
.spec-table{ margin: 18px 0; background:#fff; border-radius: var(--radius-md); padding: 4px 16px; box-shadow: var(--shadow-sm); }
.spec-table table{ width:100%; border-collapse:collapse; }
.spec-table td{ padding: 11px 0; font-size:.8rem; border-top:1px dashed var(--border); }
.spec-table tr:first-child td{ border-top:0; }
.spec-table td:first-child{ color: var(--muted); font-weight:600; width:42%; }
.spec-table td:last-child{ color: var(--text); font-weight:600; text-align:right; }
.bulk-note{ display:flex; gap:10px; align-items:flex-start; background: var(--peach); border-radius: var(--radius-md); padding: 13px 15px; margin: 14px 0; }
.bulk-note svg{ width:18px; height:18px; color: var(--orange-dark); flex-shrink:0; margin-top:1px; }
.bulk-note p{ margin:0; font-size:.78rem; color: var(--text); }
.bulk-note strong{ display:block; font-size:.82rem; color: var(--navy); margin-bottom:2px; }
.add-cart-row{ display:flex; gap: 12px; align-items:center; margin-top: 16px; flex-wrap:wrap; }

/* ---------- Forms ---------- */
.form-card{ background:#fff; border-radius: var(--radius-xl); padding: 28px 24px; margin: 10px 0 20px; box-shadow: var(--shadow); }
.form-card.wide{ max-width: none; }
.form-card h1{ font-size: 1.25rem; text-align:center; }
.form-card > p.subtitle{ text-align:center; margin-bottom: 20px; font-size:.85rem; }
.form-row{ margin-bottom: 14px; }
.form-row label{ display:block; font-weight:700; font-size:.8rem; margin-bottom:6px; color: var(--navy); }
.form-row input, .form-row select, .form-row textarea{
  width:100%; padding: 12px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  font-size:.9rem; font-family: inherit; outline:none; background:#fbfaf7;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{ border-color: var(--orange); background:#fff; }
.form-grid-2{ display:grid; grid-template-columns:1fr 1fr; gap: 12px; }
.form-foot{ text-align:center; margin-top: 16px; font-size:.85rem; color: var(--muted); }
.form-foot a{ color: var(--orange-dark); font-weight:700; }
.field-error{ color: var(--danger); font-size:.74rem; margin-top:4px; }

/* ---------- Cart (card list, not table) ---------- */
.cart-item-card{ display:flex; gap:12px; padding:14px; background:#fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); margin-bottom:12px; align-items:center; }
.cart-item-card img{ width:66px; height:66px; object-fit:cover; border-radius: var(--radius-md); background: var(--cream); flex-shrink:0; }
.cart-item-card .info{ flex:1; min-width:0; }
.cart-item-card .info strong{ display:block; font-size:.88rem; font-family:'Poppins',sans-serif; }
.cart-item-card .info small{ color: var(--muted); font-size:.74rem; }
.cart-item-card .row-bottom{ display:flex; align-items:center; justify-content:space-between; margin-top:8px; gap:8px; }
.cart-item-card .subtotal{ font-weight:800; color: var(--navy); font-size:.85rem; font-family:'Poppins',sans-serif; }
.remove-link{ color: var(--danger); font-size:.75rem; font-weight:700; background:none; border:0; cursor:pointer; padding:0; }
.cart-summary{ background: linear-gradient(160deg, var(--navy-dark), var(--navy)); color:#fff; border-radius: var(--radius-xl); padding: 22px; margin-top: 16px; box-shadow: var(--shadow-lg); }
.cart-summary .row{ display:flex; justify-content:space-between; margin-bottom:8px; font-size:.85rem; color:#CFE0E8; }
.cart-summary .total{ font-weight:800; font-size:1.15rem; color:#fff; border-top:1px solid rgba(255,255,255,.15); padding-top:12px; margin-top:4px; }

/* ---------- Account / Orders ---------- */
.account-hero{ display:flex; align-items:center; gap:14px; margin: 4px 0 18px; background:#fff; border-radius: var(--radius-lg); padding:16px; box-shadow: var(--shadow-sm); }
.avatar-circle{ width:56px; height:56px; border-radius:50%; background: linear-gradient(150deg, var(--navy), var(--navy-soft)); color: var(--orange-soft); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:1.1rem; flex-shrink:0; }
.account-hero strong{ display:block; color: var(--navy); font-size:1.05rem; font-family:'Poppins',sans-serif; }
.account-hero span{ color: var(--muted); font-size:.78rem; }
.info-list{ display:flex; flex-direction:column; gap:2px; margin-bottom: 4px; }
.info-list .muted{ font-size:.82rem; color: var(--muted); }

.order-card{ background:#fff; border-radius: var(--radius-lg); padding: 16px 18px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.order-card .order-head{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; margin-bottom: 8px; }
.order-card .order-head strong{ color: var(--navy); font-size:.88rem; font-family:'Poppins',sans-serif; }
.status-pill{ font-size:.66rem; font-weight:800; padding: 4px 11px; border-radius:999px; text-transform:capitalize; }
.status-pending{ background:#FDF1DC; color:#B4750E; }
.status-confirmed{ background:#E7F0F8; color:#2C5F8A; }
.status-processing{ background:#EFE7FB; color:#6A3FBE; }
.status-shipped{ background:#E1F1FB; color:#1A7FB0; }
.status-delivered{ background:#E4F6EC; color: var(--success); }
.status-cancelled{ background:#FBE7E7; color: var(--danger); }
.order-items-list{ font-size:.78rem; color: var(--muted); }
.order-items-list li{ display:flex; justify-content:space-between; padding: 3px 0; }

@media (min-width: 720px){
  .product-grid{ grid-template-columns: repeat(2, 1fr); }
}
