/* ═══════════════════════════════════════════════
   GSM Guruji Spare — Main Stylesheet
   Dark Theme | IBM Plex Sans + DM Sans
═══════════════════════════════════════════════ */

:root {
  --accent:       #f59e0b;
  --accent-light: #fcd34d;
  --accent-dim:   rgba(245,158,11,0.15);
  --bg:           #0a0a0f;
  --surface:      #16161f;
  --surface2:     #1e1e2a;
  --border:       rgba(255,255,255,0.08);
  --text:         #f0f0f5;
  --text2:        #9090a8;
  --text3:        #5a5a72;
  --radius:       12px;
  --radius-sm:    8px;
  --shadow:       0 4px 24px rgba(0,0,0,0.5);
  --shadow-accent:0 4px 32px rgba(245,158,11,0.25);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  line-height: 1.25;
}

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent); }

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

.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--surface2); border-radius: 3px; }

/* ─── Topbar ─── */
.topbar {
  background: var(--accent);
  color: #000;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar a { color: #000; font-weight: 600; }
.topbar a:hover { opacity: .75; }

/* ─── Header ─── */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo-icon { font-size: 24px; }
.logo-text {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}
.logo-text .accent { color: var(--accent); }

.header-search {
  flex: 1;
  display: flex;
  max-width: 520px;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color .2s;
}
.header-search:focus-within { border-color: var(--accent); }
.header-search input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  padding: 10px 16px;
  color: var(--text);
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
}
.header-search input::placeholder { color: var(--text3); }
.header-search button {
  background: var(--accent);
  border: none;
  padding: 0 16px;
  cursor: pointer;
  color: #000;
  display: flex;
  align-items: center;
  transition: background .2s;
}
.header-search button:hover { background: var(--accent-light); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text2);
  transition: color .2s;
}
.nav-link:hover { color: var(--text); }
.accent-link { color: var(--accent) !important; font-weight: 600; }

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--accent);
  transition: background .2s;
}
.cart-btn:hover { background: var(--accent); color: #000; }
.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--accent);
  color: #000;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── Category Nav ─── */
.cat-nav {
  background: var(--bg);
  border-top: 1px solid var(--border);
  overflow-x: auto;
}
.cat-nav-list {
  display: flex;
  list-style: none;
  gap: 0;
  padding: 0;
  white-space: nowrap;
}
.cat-nav-list a {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text2);
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.cat-nav-list a:hover { color: var(--accent); border-color: var(--accent); }

/* ─── Mobile Menu ─── */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: .3s;
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--surface2);
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  padding: 90px 0 80px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0f 0%, #0f0f1a 50%, #0a0a0f 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(245,158,11,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(245,158,11,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.hero h1 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p {
  font-size: 16px;
  color: var(--text2);
  margin-bottom: 32px;
  max-width: 440px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin-top: 48px;
}
.stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.stat-num {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent);
}
.stat-label { font-size: 13px; color: var(--text2); margin-top: 4px; }

.hero-visual {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  flex: 1;
  min-width: 140px;
  transition: transform .3s, border-color .3s;
}
.hero-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.hero-card-icon { font-size: 32px; margin-bottom: 8px; }
.hero-card h4 { font-size: 13px; color: var(--text2); }

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all .2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #000;
}
.btn-primary:hover { background: var(--accent-light); color: #000; transform: translateY(-1px); box-shadow: var(--shadow-accent); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-full { width: 100%; justify-content: center; }
.btn-danger { background: #ef4444; color: #fff; }
.btn-danger:hover { background: #dc2626; }

/* ─── Section ─── */
.section { padding: 64px 0; }
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
  flex-wrap: wrap;
}
.section-title {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
}
.section-title span { color: var(--accent); }
.section-sub { color: var(--text2); margin-top: 6px; font-size: 14px; }

/* ─── Product Grid ─── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(245,158,11,0.3);
  box-shadow: var(--shadow);
}
.product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface2);
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}
.badge-hot  { background: #ef4444; color: #fff; }
.badge-sale { background: var(--accent); color: #000; }
.badge-new  { background: #22c55e; color: #fff; }

.product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.product-brand { font-size: 11px; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.product-name { font-size: 15px; font-weight: 600; margin: 6px 0 10px; line-height: 1.35; flex: 1; }
.product-compat { font-size: 12px; color: var(--text3); margin-bottom: 12px; }
.product-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.product-price { font-size: 20px; font-weight: 700; color: var(--accent); font-family: 'IBM Plex Sans', sans-serif; }
.product-old-price { font-size: 13px; color: var(--text3); text-decoration: line-through; }
.product-discount { font-size: 11px; background: rgba(34,197,94,.15); color: #22c55e; padding: 2px 8px; border-radius: 20px; font-weight: 600; }

.product-actions { display: flex; gap: 8px; }
.product-actions .btn { flex: 1; }

.stock-out { font-size: 12px; color: #ef4444; font-weight: 600; }
.stock-low { font-size: 12px; color: var(--accent); font-weight: 600; }

/* ─── Categories Section ─── */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}
.cat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
  cursor: pointer;
  transition: all .25s;
  text-decoration: none;
  color: var(--text);
}
.cat-card:hover { border-color: var(--accent); background: var(--accent-dim); color: var(--text); transform: translateY(-3px); }
.cat-icon { font-size: 36px; margin-bottom: 10px; }
.cat-name { font-size: 13px; font-weight: 600; }

/* ─── Shop Page ─── */
.shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}
.shop-sidebar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 80px;
}
.filter-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text2);
  margin: 20px 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.filter-title:first-child { margin-top: 0; }
.filter-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.filter-list a {
  display: block;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--text2);
  transition: all .2s;
}
.filter-list a:hover, .filter-list a.active {
  background: var(--accent-dim);
  color: var(--accent);
}
.filter-list .count {
  float: right;
  font-size: 11px;
  background: var(--surface2);
  padding: 2px 7px;
  border-radius: 20px;
}

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.shop-results { font-size: 14px; color: var(--text2); }
.sort-select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 8px 14px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
}
.sort-select:focus { outline: none; border-color: var(--accent); }

/* ─── Product Detail ─── */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.product-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  aspect-ratio: 1;
}
.product-detail-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-detail-info h1 {
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: 12px;
}
.detail-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 20px; flex-wrap: wrap; }
.detail-price { font-family: 'IBM Plex Sans', sans-serif; font-size: 36px; font-weight: 700; color: var(--accent); }
.detail-old { font-size: 18px; color: var(--text3); text-decoration: line-through; }
.detail-desc { color: var(--text2); line-height: 1.7; margin-bottom: 24px; font-size: 15px; }
.detail-compat {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 24px;
}
.detail-compat strong { color: var(--accent); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-control button {
  background: var(--surface2);
  border: none;
  color: var(--text);
  width: 36px;
  height: 36px;
  font-size: 18px;
  cursor: pointer;
  transition: background .2s;
}
.qty-control button:hover { background: var(--accent); color: #000; }
.qty-control input {
  width: 50px;
  text-align: center;
  background: none;
  border: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

/* ─── Cart ─── */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 32px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text3);
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.cart-table td { padding: 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.cart-item-img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--surface2);
}
.cart-item-name { font-weight: 600; font-size: 15px; }
.cart-item-brand { font-size: 12px; color: var(--text2); }
.cart-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 80px;
}
.cart-summary h3 { font-size: 18px; margin-bottom: 20px; }
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text2);
  padding: 8px 0;
}
.summary-row.total {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 16px;
}

/* ─── Forms ─── */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.form-row { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text2);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  transition: border-color .2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text3); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-select { cursor: pointer; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-error { color: #ef4444; font-size: 12px; margin-top: 4px; }
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 20px;
  border: 1px solid;
}
.alert-success { background: rgba(34,197,94,.1); border-color: rgba(34,197,94,.3); color: #22c55e; }
.alert-error   { background: rgba(239,68,68,.1);  border-color: rgba(239,68,68,.3);  color: #ef4444; }
.alert-info    { background: var(--accent-dim); border-color: rgba(245,158,11,.3); color: var(--accent); }

/* ─── Payment Methods ─── */
.payment-methods { display: flex; flex-direction: column; gap: 10px; }
.payment-option {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface2);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color .2s;
}
.payment-option:has(input:checked) { border-color: var(--accent); background: var(--accent-dim); }
.payment-option input[type=radio] { accent-color: var(--accent); }
.payment-icon { font-size: 22px; }
.payment-label { font-weight: 600; font-size: 14px; }
.payment-sub { font-size: 12px; color: var(--text2); }

/* ─── Checkout ─── */
.checkout-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }

/* ─── Order Success ─── */
.success-page {
  max-width: 600px;
  margin: 80px auto;
  text-align: center;
}
.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(34,197,94,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin: 0 auto 24px;
}
.success-page h1 { font-size: 32px; margin-bottom: 12px; }
.success-page p { color: var(--text2); font-size: 16px; margin-bottom: 32px; }
.order-summary-table {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
  text-align: left;
}
.order-summary-table td, .order-summary-table th { padding: 12px 16px; border-bottom: 1px solid var(--border); }
.order-summary-table th { font-size: 12px; text-transform: uppercase; color: var(--text3); font-weight: 600; }

/* ─── My Account ─── */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.account-menu {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: 80px;
}
.account-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text2);
  border-bottom: 1px solid var(--border);
  transition: all .2s;
}
.account-menu a:hover, .account-menu a.active { background: var(--accent-dim); color: var(--accent); }
.account-avatar {
  padding: 24px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.avatar-circle {
  width: 64px;
  height: 64px;
  background: var(--accent-dim);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 10px;
}
.account-name { font-weight: 700; }
.account-role { font-size: 12px; color: var(--text2); }

/* ─── Auth Pages ─── */
.auth-page {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  width: 100%;
  max-width: 460px;
}
.auth-title { font-size: 28px; font-weight: 700; margin-bottom: 8px; }
.auth-sub { color: var(--text2); margin-bottom: 32px; font-size: 14px; }
.auth-switch { text-align: center; margin-top: 24px; font-size: 14px; color: var(--text2); }
.auth-switch a { color: var(--accent); font-weight: 600; }

/* ─── Orders Table ─── */
.orders-table { width: 100%; border-collapse: collapse; }
.orders-table th {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text3);
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.orders-table td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 14px; }
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.status-pending    { background: rgba(245,158,11,.15); color: var(--accent); }
.status-processing { background: rgba(59,130,246,.15); color: #60a5fa; }
.status-shipped    { background: rgba(168,85,247,.15); color: #c084fc; }
.status-delivered  { background: rgba(34,197,94,.15);  color: #22c55e; }
.status-cancelled  { background: rgba(239,68,68,.15);  color: #ef4444; }
.pay-paid     { background: rgba(34,197,94,.15); color: #22c55e; padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.pay-unpaid   { background: rgba(239,68,68,.15); color: #ef4444; padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 700; }
.pay-refunded { background: rgba(245,158,11,.15); color: var(--accent); padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 700; }

/* ─── Pagination ─── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
}
.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text2);
  transition: all .2s;
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .active { background: var(--accent); border-color: var(--accent); color: #000; font-weight: 700; }

/* ─── Breadcrumb ─── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text2);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text2); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text3); }

/* ─── Empty States ─── */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}
.empty-icon { font-size: 64px; margin-bottom: 16px; }
.empty-state h3 { font-size: 22px; margin-bottom: 8px; }
.empty-state p { color: var(--text2); margin-bottom: 24px; }

/* ─── Page Header ─── */
.page-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
  margin-bottom: 40px;
}
.page-header h1 { font-size: clamp(24px, 3vw, 36px); }
.page-header p { color: var(--text2); margin-top: 6px; }

/* ─── Features Bar ─── */
.features-bar { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 24px 0; }
.features-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.feature-item { display: flex; align-items: center; gap: 14px; }
.feature-icon { font-size: 28px; flex-shrink: 0; }
.feature-label { font-weight: 600; font-size: 14px; }
.feature-sub { font-size: 12px; color: var(--text2); }

/* ─── UPI QR Panel ─── */
.upi-panel {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  margin-top: 12px;
  display: none;
}
.upi-panel.show { display: block; }
.upi-qr-placeholder {
  width: 150px;
  height: 150px;
  background: #fff;
  border-radius: 8px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #333;
}

/* ─── Footer ─── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand p { color: var(--text2); font-size: 14px; margin: 16px 0; line-height: 1.65; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text2); }
.footer-col h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul a { font-size: 14px; color: var(--text2); transition: color .2s; }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 16px 0;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text2);
  flex-wrap: wrap;
  gap: 8px;
}

/* ─── Utility ─── */
.text-accent { color: var(--accent); }
.text-muted  { color: var(--text2); }
.mt-4 { margin-top: 16px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-8 { margin-bottom: 32px; }
.gap-4 { gap: 16px; }
.flex { display: flex; align-items: center; }
.divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .footer-grid    { grid-template-columns: 1fr 1fr; }
  .features-grid  { grid-template-columns: repeat(2,1fr); }
  .shop-layout    { grid-template-columns: 1fr; }
  .shop-sidebar   { position: static; }
  .cart-layout    { grid-template-columns: 1fr; }
  .checkout-layout{ grid-template-columns: 1fr; }
  .account-layout { grid-template-columns: 1fr; }
  .hero-inner     { grid-template-columns: 1fr; }
  .hero-visual    { margin-top: 32px; }
  .product-detail { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .header-search  { display: none; }
  .mobile-menu-btn{ display: flex; }
  .nav-link span  { display: none; }
  .footer-grid    { grid-template-columns: 1fr; }
  .features-grid  { grid-template-columns: 1fr 1fr; }
  .form-2col      { grid-template-columns: 1fr; }
  .hero-stats     { grid-template-columns: 1fr 1fr; }
  .hero-visual    { flex-direction: column; }
}
@media (max-width: 480px) {
  .product-grid   { grid-template-columns: repeat(2, 1fr); }
  .hero-stats     { grid-template-columns: 1fr; }
  .cat-grid       { grid-template-columns: repeat(2, 1fr); }
}
