:root {
  --bg: #0b0f1a;
  --bg2: #111827;
  --surface: #1a2332;
  --surface2: #1e293b;
  --surface3: #243044;
  --card: #1c2536;
  --card-hover: #243348;
  --border: #1e2d45;
  --border-light: #2d4060;
  --text: #f1f5f9;
  --text2: #94a3b8;
  --text3: #475569;
  --accent: #c9a84c;
  --accent-hover: #dbb95d;
  --accent-dim: rgba(201, 168, 76, 0.12);
  --accent-glow: rgba(201, 168, 76, 0.25);
  --red: #e74c3c;
  --red-dim: rgba(231, 76, 60, 0.1);
  --green: #2ecc71;
  --green-dim: rgba(46, 204, 113, 0.12);
  --blue: #3b82f6;
  --gold: #c9a84c;
  --gold-light: #f0d68a;
  --gradient-1: linear-gradient(135deg, #111827, #1a2332);
  --gradient-accent: linear-gradient(135deg, #c9a84c, #f0d68a);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
  --shadow-accent: 0 0 30px var(--accent-glow);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --header-h: 64px;
}

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

button { cursor: pointer; font-family: inherit; border: none; background: none; color: inherit; }
input { font-family: inherit; border: none; outline: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--border-light); }

.checkout-modal::-webkit-scrollbar { width: 3px; }
.checkout-modal::-webkit-scrollbar-thumb { background: var(--text3); border-radius: 2px; }

.app-loader {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
}
.loader-content { text-align: center; }
.loader-logo {
  font-size: 48px; font-weight: 900;
  background: var(--gradient-accent); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 16px; letter-spacing: -2px;
}
.loader-spinner {
  width: 36px; height: 36px; margin: 0 auto 16px;
  border: 3px solid var(--border); border-top-color: var(--accent);
  border-radius: 50%; animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-text { color: var(--text2); font-size: 14px; }

.app-content { display: none; opacity: 0; transition: opacity 0.5s ease; }
.app-content.visible { opacity: 1; }

.main-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 15, 26, 0.92); backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 20px;
  height: var(--header-h); display: flex; align-items: center; gap: 16px;
}
.header-left { flex-shrink: 0; }
.header-center { flex: 1; min-width: 0; }
.header-right { flex-shrink: 0; }

.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  background: var(--gradient-accent); border-radius: 10px; color: #0b0f1a;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-title {
  font-size: 17px; font-weight: 800; color: var(--text);
  letter-spacing: -0.3px;
}
.logo-subtitle { font-size: 10px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; }

.search-box { position: relative; max-width: 460px; margin: 0 auto; }
.search-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text3); pointer-events: none; }
.search-input {
  width: 100%; height: 42px; padding: 0 16px 0 44px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px; font-size: 14px; color: var(--text);
  transition: var(--transition);
}
.search-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.search-input::placeholder { color: var(--text3); }

.cart-toggle {
  position: relative; width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 50%; transition: var(--transition);
}
.cart-toggle:hover { border-color: var(--accent); background: var(--accent-dim); }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 20px; height: 20px; padding: 0 5px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #0b0f1a;
  font-size: 11px; font-weight: 700; border-radius: 100px;
  border: 2px solid var(--bg);
}

.main-content { max-width: 1280px; margin: 0 auto; padding: 0 20px 40px; }

.hero {
  position: relative; margin: 16px 0 20px; padding: 44px 36px;
  border-radius: var(--radius-xl); overflow: hidden;
  background: linear-gradient(135deg, #141d31 0%, #1a2a44 50%, #162040 100%);
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse at 20% 40%, var(--accent-dim) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 60%, rgba(231, 76, 60, 0.06) 0%, transparent 50%);
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-block; padding: 4px 14px;
  background: var(--green-dim); color: var(--green);
  font-size: 12px; font-weight: 600; border-radius: 100px;
  margin-bottom: 12px; border: 1px solid rgba(46, 204, 113, 0.2);
}
.hero-title {
  font-size: clamp(26px, 4.5vw, 44px); font-weight: 900;
  line-height: 1.1; letter-spacing: -1px; margin-bottom: 10px;
  background: linear-gradient(135deg, #f1f5f9 0%, var(--gold-light) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle { color: var(--text2); font-size: 15px; margin-bottom: 18px; max-width: 540px; }
.hero-stats { display: flex; gap: 20px; flex-wrap: wrap; }
.hero-stat { font-size: 13px; color: var(--text2); }

.categories-section { margin-bottom: 24px; }
.categories-header {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 14px;
}
.section-title { font-size: 20px; font-weight: 800; }
.section-count { font-size: 13px; color: var(--text3); }

.categories-scroll {
  display: flex; gap: 8px; overflow-x: auto; padding: 4px 0;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.categories-scroll::-webkit-scrollbar { display: none; }
.category-btn {
  flex-shrink: 0; padding: 8px 20px; white-space: nowrap;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px; color: var(--text2); font-size: 13px;
  font-weight: 500; transition: var(--transition);
}
.category-btn:hover { border-color: var(--border-light); color: var(--text); }
.category-btn.active { background: var(--accent-dim); border-color: var(--accent); color: var(--accent); font-weight: 600; }

.skeleton-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px;
}
.skeleton-card { background: var(--card); border-radius: var(--radius-md); overflow: hidden; }
.skeleton-img { height: 160px; background: linear-gradient(90deg, var(--surface) 25%, var(--surface2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
.skeleton-line { height: 14px; margin: 12px 14px; border-radius: 4px; background: linear-gradient(90deg, var(--surface) 25%, var(--surface2) 50%, var(--surface) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }

.product-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  transition: var(--transition);
  animation: cardIn 0.35s ease both;
  animation-delay: var(--delay, 0s);
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.product-card:hover { border-color: var(--border-light); transform: translateY(-3px); box-shadow: var(--shadow-md); }

.product-image { position: relative; height: 160px; overflow: hidden; background: var(--surface); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-image img { transform: scale(1.08); }
.product-image.img-fallback { display: flex; align-items: center; justify-content: center; }
.product-image.img-fallback::after { content: '📦'; font-size: 40px; }

.product-category-tag {
  position: absolute; top: 8px; left: 8px;
  padding: 2px 10px; background: rgba(0,0,0,0.6);
  color: #fff; font-size: 10px; font-weight: 600;
  border-radius: 100px; backdrop-filter: blur(4px);
}

.product-info { padding: 12px 14px 14px; }
.product-name {
  font-size: 14px; font-weight: 600; margin-bottom: 10px;
  line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden; min-height: 36px;
}
.product-footer { display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 18px; font-weight: 800; color: var(--accent); }

.btn-add-cart {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  background: var(--accent-dim); border-radius: 50%; color: var(--accent);
  transition: var(--transition); flex-shrink: 0;
}
.btn-add-cart:hover { background: var(--accent); color: #0b0f1a; transform: scale(1.1); }

.no-results { grid-column: 1 / -1; text-align: center; padding: 60px 20px; }
.no-results-icon { font-size: 48px; display: block; margin-bottom: 12px; }
.no-results p { color: var(--text2); font-size: 15px; }
.no-results-hint { color: var(--text3); font-size: 13px; margin-top: 6px; }

.main-footer { border-top: 1px solid var(--border); padding: 24px 0; margin-top: 40px; }
.footer-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-logo { font-size: 16px; font-weight: 800; color: var(--accent); }
.footer-brand p { font-size: 12px; color: var(--text3); margin-top: 2px; }
.footer-monexia { font-size: 12px; color: var(--text3); text-align: right; }
.footer-monexia strong { color: var(--text2); }

.cart-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-sidebar {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 201;
  width: 100%; max-width: 420px; background: var(--bg2);
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.cart-sidebar.open { transform: translateX(0); }

.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--border); flex-shrink: 0;
}
.cart-title { font-size: 18px; font-weight: 700; }
.cart-header-actions { display: flex; align-items: center; gap: 12px; }
.cart-clear {
  padding: 6px 14px; border: 1px solid var(--border);
  border-radius: 100px; font-size: 12px; font-weight: 500;
  color: var(--text2); transition: var(--transition);
}
.cart-clear:hover { border-color: var(--red); color: var(--red); }
.cart-close {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  color: var(--text2); border-radius: 50%; transition: var(--transition);
}
.cart-close:hover { background: var(--surface); color: var(--text); }

.cart-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 20px; text-align: center; }
.cart-empty svg { margin-bottom: 16px; }
.cart-empty p { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.cart-empty span { font-size: 13px; color: var(--text3); }

.cart-items { display: flex; flex-direction: column; gap: 10px; }
.cart-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px; background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  animation: cardIn 0.25s ease both;
}
.cart-item-img {
  width: 48px; height: 48px; border-radius: 8px;
  object-fit: cover; flex-shrink: 0; background: var(--surface);
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 600; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { font-size: 14px; font-weight: 700; color: var(--accent); }
.cart-item-qty { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.qty-btn {
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 6px; font-size: 16px; font-weight: 600; transition: var(--transition);
}
.qty-btn:hover { background: var(--surface3); border-color: var(--border-light); }
.qty-value { min-width: 24px; text-align: center; font-size: 14px; font-weight: 600; }
.cart-item-remove {
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  color: var(--text3); border-radius: 6px; transition: var(--transition); flex-shrink: 0;
}
.cart-item-remove:hover { color: var(--red); background: var(--red-dim); }

.cart-footer { padding: 20px 24px; border-top: 1px solid var(--border); flex-shrink: 0; }
.cart-summary { margin-bottom: 14px; }
.cart-subtotal { display: flex; justify-content: space-between; align-items: center; font-size: 15px; font-weight: 600; }
.cart-total-price { font-size: 22px; font-weight: 800; color: var(--accent); }
.cart-pay-hint { font-size: 12px; color: var(--text3); margin-top: 4px; }

.btn-checkout {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px; background: var(--gradient-accent);
  border-radius: var(--radius-md); color: #0b0f1a;
  font-size: 16px; font-weight: 700; transition: var(--transition);
}
.btn-checkout:hover { transform: translateY(-1px); box-shadow: var(--shadow-accent); }
.btn-checkout:disabled { opacity: 0.4; cursor: not-allowed; transform: none; box-shadow: none; }

.checkout-overlay {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none; transition: opacity 0.35s ease; padding: 16px;
}
.checkout-overlay.open { opacity: 1; pointer-events: auto; }

.checkout-modal {
  width: 100%; max-width: 460px; max-height: 92vh; min-height: 480px;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: var(--radius-xl); overflow-y: auto;
  position: relative;
  transform: scale(0.92) translateY(24px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.checkout-overlay.open .checkout-modal { transform: scale(1) translateY(0); }

.checkout-close {
  position: absolute; top: 16px; right: 16px; z-index: 5;
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 50%; color: var(--text2); transition: var(--transition);
}
.checkout-close:hover { background: var(--red-dim); border-color: var(--red); color: var(--red); }

.waiting-screen { display: flex; flex-direction: column; padding: 28px 24px 20px; }

.waiting-header { text-align: center; margin-bottom: 20px; }
.waiting-icon {
  width: 56px; height: 56px; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-dim); border-radius: 16px; color: var(--accent);
}
.waiting-header h2 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.waiting-subtitle { font-size: 13px; color: var(--text2); }

.order-info-card {
  background: linear-gradient(135deg, #141d31, #1a2a44);
  border-radius: var(--radius-md); padding: 14px 18px; margin-bottom: 20px;
  border: 1px solid var(--border);
}
.order-info-row { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; }
.order-info-row + .order-info-row { border-top: 1px solid rgba(255,255,255,0.04); }
.order-label { font-size: 13px; color: var(--text2); }
.order-value { font-size: 14px; font-weight: 600; }
.order-amount { font-size: 20px; font-weight: 800; color: var(--accent); }
.order-status-badge {
  padding: 3px 12px; background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.3);
  border-radius: 100px; font-size: 11px; font-weight: 700;
  color: var(--accent); letter-spacing: 0.5px;
}

.qr-section { text-align: center; margin-bottom: 20px; }
.qr-frame {
  display: inline-block; padding: 20px; background: #fff;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-accent); margin-bottom: 16px;
}
.qr-container { width: 260px; height: 260px; display: flex; align-items: center; justify-content: center; }
.qr-container img, .qr-container canvas { max-width: 100% !important; max-height: 100% !important; width: auto !important; height: auto !important; }

.qr-instructions { display: flex; flex-direction: column; gap: 8px; max-width: 260px; margin: 0 auto; }
.qr-step { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text2); }
.step-num {
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
  background: var(--accent-dim); color: var(--accent); font-size: 12px; font-weight: 700;
  border-radius: 50%; flex-shrink: 0;
}

.waiting-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--border);
}
.realtime-indicator { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text3); }
.status-dot { width: 8px; height: 8px; background: var(--text3); border-radius: 50%; transition: var(--transition); }
.status-dot.active { background: var(--green); box-shadow: 0 0 10px rgba(46, 204, 113, 0.5); animation: pulseDot 2s infinite; }
@keyframes pulseDot { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.timer-display { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text2); font-variant-numeric: tabular-nums; }

.success-screen {
  position: absolute; inset: 0;
  background: var(--bg2); border-radius: var(--radius-xl);
  opacity: 0; pointer-events: none; transition: opacity 0.4s ease; z-index: 10;
  overflow-y: auto;
  padding: 20px 0;
}
.success-screen.open { opacity: 1; pointer-events: auto; }
.success-content { text-align: center; padding: 10px 28px; }

.success-checkmark { width: 80px; height: 80px; margin: 0 auto 20px; }
.success-checkmark svg { width: 100%; height: 100%; }
.checkmark-circle { stroke: var(--green); stroke-width: 2; stroke-dasharray: 166; stroke-dashoffset: 166; fill: none; }
.checkmark-check { stroke: var(--green); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; }
.success-checkmark.animate .checkmark-circle { animation: circleDraw 0.6s ease forwards; }
.success-checkmark.animate .checkmark-check { animation: checkDraw 0.4s 0.5s ease forwards; }
@keyframes circleDraw { to { stroke-dashoffset: 0; } }
@keyframes checkDraw { to { stroke-dashoffset: 0; } }

.success-title { font-size: 24px; font-weight: 800; margin-bottom: 6px; color: var(--green); }
.success-amount { font-size: 36px; font-weight: 900; color: var(--accent); margin-bottom: 20px; }

.success-details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 14px 20px; margin-bottom: 12px; text-align: left; }
.success-detail-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; }
.success-detail-row span:first-child { color: var(--text2); }
.success-detail-row span:last-child { font-weight: 600; }

.success-buyer { font-size: 13px; color: var(--text2); margin-bottom: 4px; }
.success-actions { display: flex; justify-content: center; margin-bottom: 12px; }
.btn-invoice {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 24px; background: var(--gradient-accent);
  border-radius: var(--radius-md); color: #0b0f1a;
  font-size: 14px; font-weight: 700; transition: var(--transition);
}
.btn-invoice:hover { transform: translateY(-1px); box-shadow: var(--shadow-accent); }

.btn-store {
  display: block; width: 100%; margin-top: 16px;
  padding: 14px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius-md);
  color: var(--text); font-size: 15px; font-weight: 600;
  transition: var(--transition);
}
.btn-store:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-dim); }
.success-redirect { font-size: 12px; color: var(--text3); animation: pulse 1.5s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.toast-container {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 999; display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.toast {
  padding: 12px 20px; border-radius: var(--radius-sm); font-size: 13px;
  font-weight: 500; color: white; pointer-events: auto;
  animation: toastIn 0.3s ease, toastOut 0.3s 2.7s ease forwards;
  box-shadow: var(--shadow-md); max-width: 90vw; text-align: center;
}
.toast.success { background: var(--green); }
.toast.error { background: var(--red); }
.toast.info { background: var(--blue); }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(12px); } }

@media (max-width: 768px) {
  .header-inner { padding: 0 12px; gap: 10px; }
  .logo-subtitle { display: none; }
  .search-box { max-width: none; }
  .cart-sidebar { max-width: 100%; }
  .checkout-modal { max-height: 95vh; border-radius: var(--radius-lg); }
  .waiting-screen { padding: 24px 16px 16px; }
  .qr-frame { padding: 14px; }
  .qr-container { width: 200px; height: 200px; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
  .product-image { height: 140px; }
  .product-price { font-size: 16px; }
}

@media (max-width: 480px) {
  .hero { padding: 28px 18px; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-image { height: 120px; }
  .product-info { padding: 10px 10px 12px; }
  .product-name { font-size: 12px; min-height: 30px; -webkit-line-clamp: 2; }
  .product-category-tag { font-size: 9px; padding: 1px 8px; }
  .btn-add-cart { width: 34px; height: 34px; }
  .btn-add-cart svg { width: 16px; height: 16px; }
  .hero-title { font-size: 22px; }
}

@media (min-width: 1024px) {
  .products-grid { grid-template-columns: repeat(5, 1fr); }
}
