/* ==============================
   VIRTUALCITO STORE
   ============================== */

:root {
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --text: #1d1d1f;
  --text-gray: #6e6e73;
  --text-light: #86868b;
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --border: #d2d2d7;
  --nav-bg: rgba(255, 255, 255, 0.85);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.14);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 24px;
  --nav-height: 52px;
  --max-width: 1200px;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  font-size: 17px;
  min-height: 100vh;
}

/* ---- NAVIGATION ---- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  z-index: 100;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  color: var(--text-gray);
  text-decoration: none;
  font-size: 14px;
  padding: 7px 14px;
  border-radius: 8px;
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover { color: var(--text); background: rgba(0, 0, 0, 0.04); }
.nav-links a.active { color: var(--text); font-weight: 600; }

/* ---- LAYOUT ---- */

.page-content { padding-top: var(--nav-height); min-height: 100vh; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- BUTTONS ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 400;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  line-height: 1.2;
  -webkit-appearance: none;
}

.btn-primary { background: var(--blue); color: white; }
.btn-primary:hover { background: var(--blue-hover); }

.btn-ghost { background: rgba(255,255,255,0.14); color: white; }
.btn-ghost:hover { background: rgba(255,255,255,0.22); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { background: var(--bg-alt); }

.btn-danger { background: transparent; color: #d30f00; border: 1px solid #ffd0cd; }
.btn-danger:hover { background: #fff2f2; }

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-full { width: 100%; }

.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---- FORMS ---- */

.form-group { margin-bottom: 16px; }

.form-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 7px;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-alt);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--text);
  font-family: inherit;
  transition: all 0.2s;
  outline: none;
  -webkit-appearance: none;
}

.form-input:focus {
  background: white;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.14);
}

.form-input::placeholder { color: var(--text-light); }

/* ---- MESSAGES ---- */

.alert {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 16px;
  display: none;
  animation: fadeIn 0.2s ease;
}
.alert.show { display: block; }
.alert-error { background: #fff2f2; color: #c00; border: 1px solid #ffd0cd; }
.alert-success { background: #f0fff4; color: #1a7f37; border: 1px solid #aadebb; }

/* ---- LOGIN ---- */

.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, #f5f5f7 0%, #e8e8ed 100%);
  padding: 24px;
}

.login-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 52px 44px;
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow);
  animation: fadeUp 0.4s ease;
}

.login-logo {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--text);
  text-align: center;
  margin-bottom: 6px;
}

.login-subtitle {
  font-size: 14px;
  color: var(--text-gray);
  text-align: center;
  margin-bottom: 36px;
}

.login-footer {
  margin-top: 24px;
  font-size: 12px;
  color: var(--text-light);
  text-align: center;
  line-height: 1.5;
}

/* ---- HERO ---- */

.hero {
  background: #1d1d1f;
  color: white;
  text-align: center;
  padding: 96px 24px 80px;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 60px;
  font-weight: 700;
  letter-spacing: -2.5px;
  line-height: 1.05;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #fff 60%, rgba(255,255,255,0.65) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 19px;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- SECTIONS ---- */

.section {
  padding: 72px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 8px;
  color: var(--text);
}

.section-sub {
  font-size: 17px;
  color: var(--text-gray);
  margin-bottom: 40px;
}

/* ---- CATEGORIES ---- */

.categories-section {
  background: var(--bg-alt);
  padding: 72px 24px;
}

.categories-inner { max-width: var(--max-width); margin: 0 auto; }

.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 36px;
}

.cat-card {
  background: white;
  border-radius: var(--radius);
  padding: 44px 32px;
  text-align: center;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

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

.cat-icon { font-size: 52px; margin-bottom: 18px; display: block; }

.cat-name {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.cat-desc { font-size: 14px; color: var(--text-gray); }

/* ---- UPDATE BANNER ---- */

.update-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--text);
  color: white;
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 0;
}

.update-banner h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.update-banner p { font-size: 14px; color: rgba(255,255,255,0.6); }

/* ---- PRODUCTS PAGE ---- */

.products-header {
  padding: 48px 24px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.products-title {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 980px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-gray);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.18s;
  font-weight: 400;
}

.filter-btn:hover { color: var(--text); border-color: #aaa; }
.filter-btn.active { background: var(--text); color: white; border-color: var(--text); }

/* ---- PRODUCT GRID ---- */

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 80px;
}

/* ---- PRODUCT CARD ---- */

.product-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  cursor: default;
}

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

.product-card-visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-card-visual.iphone {
  background: radial-gradient(ellipse at 50% 60%, #3a3a3c 0%, #1c1c1e 100%);
}

.product-card-visual.samsung {
  background: radial-gradient(ellipse at 50% 60%, #1565c0 0%, #0a2f6b 100%);
}

.product-card-visual.mac {
  background: radial-gradient(ellipse at 50% 60%, #c8c8ca 0%, #8e8e93 100%);
}

.product-emoji {
  font-size: 90px;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
  user-select: none;
}

.product-card-body {
  padding: 22px 22px 24px;
  background: white;
}

.product-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 3px 10px;
  border-radius: 5px;
  margin-bottom: 12px;
}

.badge-iphone  { background: #1d1d1f; color: white; }
.badge-samsung { background: #1565c0; color: white; }
.badge-mac     { background: #636366; color: white; }

.product-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--text);
  margin-bottom: 3px;
}

.product-specs {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 16px;
}

.product-colors {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.color-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,0,0,0.12);
  transition: transform 0.2s;
  position: relative;
  cursor: default;
}

.color-dot:hover { transform: scale(1.3); }

.color-dot::after {
  content: attr(data-label);
  position: absolute;
  bottom: calc(100% + 5px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(29, 29, 31, 0.88);
  color: white;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}

.color-dot:hover::after { opacity: 1; }


.price-block {
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-bottom: 12px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
}

.price-label {
  font-size: 13px;
  color: var(--text-gray);
  white-space: nowrap;
}

.price-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.4px;
}

.price-value-12 {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-gray);
}

.product-stock-row { margin-top: 4px; }

.stock-chip {
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.stock-high { background: #e3f5e9; color: #1a7f37; }
.stock-low { background: #fff8e6; color: #8a5800; }
.stock-out { background: #f5f5f5; color: var(--text-light); }

/* ---- USER PAGE ---- */

.user-page {
  max-width: 600px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  animation: fadeUp 0.3s ease;
}

.user-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, #34c759 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  color: white;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.user-display-name {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 4px;
}

.user-display-phone {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 44px;
}

.info-group {
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 16px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border);
}

.info-row:last-child { border-bottom: none; }

.info-label { font-size: 14px; color: var(--text-gray); }
.info-value { font-size: 15px; font-weight: 500; }

/* ---- LOADING / EMPTY ---- */

.loading-state {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 80px 24px;
  color: var(--text-light);
  font-size: 15px;
}

.spinner {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border);
  border-top-color: var(--blue);
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
  flex-shrink: 0;
}

.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--text-gray);
}

.empty-state h3 { font-size: 20px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.empty-state p { font-size: 15px; }

/* ---- FOOTER ---- */

.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
}

/* ---- ANIMATIONS ---- */

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.fade-in { animation: fadeIn 0.3s ease; }

/* ---- STATUS TICKER ---- */

.status-ticker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 7px 16px 7px 12px;
  border-radius: 980px;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
}

.ticker-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34c759;
  flex-shrink: 0;
  animation: tickerPulse 2.2s ease-out infinite;
}

@keyframes tickerPulse {
  0%  { box-shadow: 0 0 0 0   rgba(52,199,89,0.55); }
  65% { box-shadow: 0 0 0 7px rgba(52,199,89,0);    }
  100%{ box-shadow: 0 0 0 0   rgba(52,199,89,0);    }
}

/* ---- MODAL ---- */

.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.48);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-card {
  background: white;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-sm) var(--radius-sm);
  width: 100%;
  max-width: 460px;
  max-height: 92vh;
  overflow-y: auto;
  padding: 36px 28px 28px;
  position: relative;
  transform: translateY(24px);
  transition: transform 0.26s ease;
}

.modal-overlay.open .modal-card { transform: translateY(0); }

@media (min-width: 600px) {
  .modal-overlay { align-items: center; }
  .modal-card { border-radius: var(--radius-lg); }
}

.modal-title { font-size: 20px; font-weight: 700; letter-spacing: -0.4px; margin-bottom: 22px; }

.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 30px; height: 30px;
  border-radius: 50%; border: none;
  background: var(--bg-alt); color: var(--text-gray);
  font-size: 16px; cursor: pointer; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.modal-close:hover { background: var(--border); }

.modal-divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }

.modal-actions { display: flex; gap: 10px; margin-top: 22px; }
.modal-actions .btn { flex: 1; }

/* ── Buy modal: color picker ── */

.color-picker-modal { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }

.color-pick {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2.5px solid transparent;
  cursor: pointer;
  position: relative;
  transition: transform 0.18s, border-color 0.18s, box-shadow 0.18s;
}

.color-pick.selected {
  border-color: var(--blue);
  transform: scale(1.18);
  box-shadow: 0 0 0 3px rgba(0,113,227,0.18);
}

.pick-tooltip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(29,29,31,0.86);
  color: white;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
}
.color-pick:hover .pick-tooltip { opacity: 1; }

/* ── Buy modal: payment options ── */

.payment-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }

.payment-option {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
}
.payment-option.selected { border-color: var(--blue); background: #f0f7ff; }

.payment-option-label { flex: 1; }
.payment-option-name { font-size: 15px; font-weight: 500; margin-bottom: 2px; }
.payment-option-sub  { font-size: 13px; color: var(--text-gray); }
.payment-option-price { font-size: 16px; font-weight: 700; white-space: nowrap; }

/* ── Rate box ── */

.rate-box {
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.rate-row { display: flex; justify-content: space-between; align-items: center; padding: 3px 0; }
.rate-label { font-size: 13px; color: var(--text-gray); }
.rate-value { font-size: 14px; font-weight: 600; }

/* ── File input ── */

.file-input-wrap {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
}
.file-input-wrap:hover { border-color: var(--blue); background: #f0f7ff; }
.file-input-wrap input[type=file] {
  position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%;
}
.file-input-text { font-size: 14px; color: var(--text-gray); pointer-events: none; }

/* ---- ORDERS ---- */

.orders-section { margin-top: 44px; }

.orders-header {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.orders-title { font-size: 22px; font-weight: 700; letter-spacing: -0.5px; }

.order-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}

.order-head {
  padding: 18px 20px;
  background: var(--text);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.order-product-name { font-size: 16px; font-weight: 600; margin-bottom: 3px; }
.order-meta { font-size: 12px; color: rgba(255,255,255,0.55); }

.order-status-badge {
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.8px;
  padding: 4px 9px; border-radius: 5px;
  flex-shrink: 0; margin-top: 2px;
}
.badge-active    { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.7); }
.badge-completed { background: #34c759; color: white; }

.installments-list { padding: 4px 0; }

/* ---- INSTALLMENT ROW ---- */

.inst-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: white;
}
.inst-row:last-child { border-bottom: none; }

.inst-num-badge {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700;
  flex-shrink: 0; margin-top: 2px;
  letter-spacing: -0.3px;
}
.num-paid    { background: #e3f5e9; color: #1a7f37; }
.num-pending { background: #f5f5f7; color: var(--text-gray); border: 1px solid var(--border); }

.inst-content { flex: 1; min-width: 0; }

.inst-line1 {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px; margin-bottom: 4px; flex-wrap: wrap;
}

.inst-amount  { font-size: 15px; font-weight: 600; }
.inst-status  { font-size: 12px; font-weight: 500; }
.status-paid    { color: #1a7f37; }
.status-pending { color: var(--text-gray); }

.inst-detail {
  font-size: 12px; color: var(--text-gray);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 2px;
}

.rate-note { font-size: 11px; color: var(--text-light); }

.receipt-link {
  color: var(--blue);
  text-decoration: none;
  font-size: 12px;
  font-weight: 500;
}
.receipt-link:hover { text-decoration: underline; }

.inst-actions { margin-top: 10px; }

/* ---- RESPONSIVE ---- */

@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 48px; }
}

@media (max-width: 768px) {
  .products-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: 1fr; }
  .hero { padding: 72px 20px 60px; }
  .hero h1 { font-size: 36px; letter-spacing: -1.5px; }
  .hero p { font-size: 16px; }
  .products-title { font-size: 30px; }
  .section-title { font-size: 26px; }
  .login-card { padding: 36px 24px; }
  .update-banner { flex-direction: column; gap: 16px; text-align: center; }
  .nav-links a { padding: 7px 10px; }
}
