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

/* ============ VARIABLES ============ */
:root {
  --bg: #0a0a0f;
  --bg2: #111118;
  --card: #1a1a24;
  --border: #2a2a3a;
  --text: #e2e2e8;
  --text2: #9898a8;
  --primary: #8b5cf6;
  --primary-hover: #7c3aed;
  --primary-light: rgba(139,92,246,0.15);
  --success: #22c55e;
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --shadow: 0 4px 20px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.6);
  --transition: 0.2s ease;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 14px;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-hover); }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ============ SCROLLBAR ============ */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text2); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
  line-height: 1;
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.btn-primary:hover:not(:disabled) { background: var(--primary-hover); border-color: var(--primary-hover); color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover:not(:disabled) { background: var(--card); border-color: var(--text2); color: var(--text); }
.btn-danger {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}
.btn-danger:hover:not(:disabled) { background: #dc2626; color: #fff; }
.btn-success {
  background: var(--success);
  color: #fff;
  border-color: var(--success);
}
.btn-success:hover:not(:disabled) { background: #16a34a; color: #fff; }
.btn-warning {
  background: var(--warning);
  color: #000;
  border-color: var(--warning);
}
.btn-warning:hover:not(:disabled) { background: #d97706; color: #000; }
.btn-ghost {
  background: transparent;
  color: var(--text2);
  border-color: transparent;
}
.btn-ghost:hover:not(:disabled) { background: var(--card); color: var(--text); }
.btn-sm { padding: 6px 12px; font-size: 12px; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-icon { padding: 8px; width: 36px; height: 36px; }
.btn-block { width: 100%; }

/* ============ CARDS ============ */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card-header h2, .card-header h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}
.card-body { padding: 20px; }
.card-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border);
}

/* ============ TABLES ============ */
.table-wrapper { overflow-x: auto; }
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.table th {
  padding: 10px 14px;
  text-align: left;
  font-weight: 600;
  color: var(--text2);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(42,42,58,0.5);
  vertical-align: middle;
}
.table tbody tr:hover { background: rgba(255,255,255,0.02); }
.table tbody tr:last-child td { border-bottom: none; }

/* ============ FORMS ============ */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  margin-bottom: 6px;
}
.form-control {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}
.form-control::placeholder { color: var(--text2); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.form-hint { font-size: 11px; color: var(--text2); margin-top: 4px; }
.form-error { font-size: 11px; color: var(--danger); margin-top: 4px; }

/* ============ BADGES ============ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.badge-primary { background: var(--primary-light); color: var(--primary); }
.badge-success { background: rgba(34,197,94,0.15); color: var(--success); }
.badge-danger { background: rgba(239,68,68,0.15); color: var(--danger); }
.badge-warning { background: rgba(245,158,11,0.15); color: var(--warning); }
.badge-info { background: rgba(59,130,246,0.15); color: var(--info); }
.badge-neutral { background: rgba(152,152,168,0.15); color: var(--text2); }

/* ============ MODAL ============ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.2s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.95) translateY(-10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-header {
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal-header h3 { font-size: 18px; font-weight: 600; }
.modal-close {
  background: none;
  border: none;
  color: var(--text2);
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color var(--transition);
}
.modal-close:hover { color: var(--text); }
.modal-body { padding: 20px 24px; }
.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.modal-lg { max-width: 800px; }
.modal-xl { max-width: 1000px; }

/* ============ TOAST ============ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  font-size: 14px;
  min-width: 280px;
  max-width: 400px;
  box-shadow: var(--shadow);
  animation: toastIn 0.3s ease;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.toast.fade-out { animation: toastOut 0.3s ease forwards; }
@keyframes toastOut {
  to { opacity: 0; transform: translateX(20px); }
}
.toast-icon { font-size: 16px; flex-shrink: 0; }
.toast-success { border-left: 3px solid var(--success); }
.toast-error { border-left: 3px solid var(--danger); }
.toast-warning { border-left: 3px solid var(--warning); }
.toast-info { border-left: 3px solid var(--info); }

/* ============ NAVBAR ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,10,15,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.navbar-brand {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text) !important;
  text-transform: uppercase;
}
.navbar-brand span { color: var(--primary); }
.navbar-nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
  padding: 6px 14px;
  color: var(--text2) !important;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--text) !important; background: var(--card); }
.cart-btn {
  position: relative;
  padding: 8px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition);
}
.cart-btn:hover { border-color: var(--primary); color: var(--primary); }
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 48px 24px 24px;
  margin-top: 80px;
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand { font-size: 20px; font-weight: 800; text-transform: uppercase; margin-bottom: 12px; }
.footer-brand span { color: var(--primary); }
.footer-desc { color: var(--text2); font-size: 13px; line-height: 1.7; }
.footer-col h4 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text2); margin-bottom: 14px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--text2); font-size: 13px; }
.footer-col ul li a:hover { color: var(--text); }
.footer-bottom {
  max-width: 1200px;
  margin: 32px auto 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text2);
}

/* ============ HERO ============ */
.hero {
  padding: 80px 24px;
  text-align: center;
  background: linear-gradient(135deg, #000 0%, #1a1a1a 50%, #000 100%), radial-gradient(ellipse at center, rgba(138,43,226,0.2) 0%, rgba(255,0,255,0.1) 50%, transparent 80%);
}
.hero-title {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-title span { color: var(--primary); }
.hero-subtitle { font-size: 18px; color: var(--text2); margin-bottom: 36px; max-width: 540px; margin-left: auto; margin-right: auto; }

/* ============ PRODUCT CARD ============ */
.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(139,92,246,0.2);
}
.product-img {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg2);
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-info { padding: 14px; }
.product-name {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-brand { font-size: 12px; color: var(--text2); margin-bottom: 8px; }
.product-price { font-size: 16px; font-weight: 700; color: var(--primary); }
.product-price-old { font-size: 12px; color: var(--text2); text-decoration: line-through; margin-right: 6px; }

/* ============ CART SIDEBAR ============ */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 200;
}
.cart-overlay.active { display: block; }
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -420px;
  width: 420px;
  height: 100vh;
  background: var(--bg2);
  border-left: 1px solid var(--border);
  z-index: 201;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}
.cart-sidebar.active { right: 0; }
.cart-sidebar-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cart-sidebar-header h3 { font-size: 16px; font-weight: 600; }
.cart-sidebar-body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cart-sidebar-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}
.cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(42,42,58,0.5);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  object-fit: cover;
  background: var(--card);
  flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 500; margin-bottom: 4px; }
.cart-item-price { font-size: 13px; color: var(--primary); font-weight: 600; }
.qty-control { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.qty-btn {
  width: 26px;
  height: 26px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
}
.qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.qty-value { font-size: 13px; font-weight: 600; min-width: 20px; text-align: center; }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 15px; font-weight: 700; }

/* ============ SECTION ============ */
.section { padding: 60px 24px; max-width: 1200px; margin: 0 auto; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.section-title { font-size: 24px; font-weight: 700; }
.section-subtitle { color: var(--text2); margin-top: 4px; font-size: 14px; }

/* ============ GRID ============ */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

/* ============ UTILITIES ============ */
.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-warning { color: var(--warning); }
.text-muted { color: var(--text2); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-sm { font-size: 12px; }
.text-lg { font-size: 16px; }
.text-xl { font-size: 20px; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.flex-1 { flex: 1; }
.flex-col { flex-direction: column; }
.gap-4 { gap: 4px; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-20 { gap: 20px; }
.gap-24 { gap: 24px; }
.mt-4 { margin-top: 4px; }
.mt-8 { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }
.mb-4 { margin-bottom: 4px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.p-0 { padding: 0; }
.px-0 { padding-left: 0; padding-right: 0; }
.w-100 { width: 100%; }
.h-100 { height: 100%; }
.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }
.cursor-pointer { cursor: pointer; }
.divider { height: 1px; background: var(--border); margin: 20px 0; }

/* ============ PAGINATION ============ */
.pagination { display: flex; align-items: center; gap: 6px; justify-content: center; margin-top: 32px; }
.page-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  color: var(--text2);
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition);
}
.page-btn:hover, .page-btn.active { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ============ LOADING ============ */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

/* ============ EMPTY STATE ============ */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text2);
}
.empty-state-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.4; }
.empty-state h3 { font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 8px; }

/* ============ RESPONSIVE ============ */

/* Tablet */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding: 40px 20px; }
}

/* Mobile landscape / small tablet */
@media (max-width: 768px) {
  body { font-size: 13px; }
  .navbar { padding: 0 12px; height: 56px; gap: 8px; }
  .navbar-brand { font-size: 18px; }
  .navbar-nav { gap: 4px; }
  .nav-link { padding: 4px 8px; font-size: 12px; }
  .cart-btn { padding: 6px 10px; font-size: 12px; }

  .section { padding: 24px 12px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
  .section-title { font-size: 20px; }

  .grid { gap: 12px; }
  .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5, .grid-6 { grid-template-columns: repeat(2, 1fr); }

  .product-card { border-radius: var(--radius); }
  .product-info { padding: 10px; }
  .product-name { font-size: 12px; }
  .product-brand { font-size: 10px; margin-bottom: 4px; }
  .product-price { font-size: 14px; }

  .hero { padding: 40px 16px; }
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 14px; margin-bottom: 24px; }

  .form-row, .form-row-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .footer { padding: 32px 16px 16px; margin-top: 40px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  .cart-sidebar { width: 100%; right: -100%; }
  .cart-sidebar-header { padding: 16px; }
  .cart-sidebar-body { padding: 12px 16px; }
  .cart-sidebar-footer { padding: 16px; }

  .modal { max-width: 100%; border-radius: var(--radius) var(--radius) 0 0; margin-top: auto; }
  .modal-body { padding: 16px; }
  .modal-header { padding: 16px; }
  .modal-footer { padding: 12px 16px; }

  .btn { padding: 8px 14px; font-size: 13px; }
  .btn-lg { padding: 12px 20px; font-size: 14px; }
  .btn-sm { padding: 5px 10px; font-size: 11px; }

  .card-header { padding: 12px 16px; }
  .card-body { padding: 16px; }

  .table { font-size: 12px; }
  .table th { padding: 8px 10px; font-size: 10px; }
  .table td { padding: 10px; }

  .toast-container { bottom: 12px; right: 12px; left: 12px; }
  .toast { min-width: auto; width: 100%; font-size: 13px; }

  .pagination { gap: 4px; margin-top: 20px; }
  .page-btn { width: 32px; height: 32px; font-size: 12px; }

  /* Catalog specific */
  .catalog-layout { padding: 0 12px 24px; }
  .catalog-grid { grid-template-columns: 1fr; gap: 16px; }
  .sidebar-filters { position: static; max-height: none; }
  .catalog-toolbar { gap: 8px; }
  .search-bar { max-width: 100%; }
  .section-tabs { padding: 12px 8px; gap: 0; top: 56px; overflow-x: auto; justify-content: flex-start; -webkit-overflow-scrolling: touch; }
  .section-tab { padding: 8px 14px; font-size: 12px; white-space: nowrap; flex-shrink: 0; }
  .section-tab .tab-count { font-size: 9px; }
}

/* Mobile portrait */
@media (max-width: 480px) {
  .navbar-nav .nav-link { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid { gap: 8px; }

  .product-img { aspect-ratio: 3/4; }
  .product-info { padding: 8px; }
  .product-name { font-size: 11px; }
  .product-price { font-size: 13px; }

  .hero-title { font-size: 24px; }
  .hero-subtitle { font-size: 13px; }

  .section-tabs { padding: 8px 4px; }
  .section-tab { padding: 6px 10px; font-size: 11px; }

  .cart-item-img { width: 48px; height: 48px; }
  .cart-item-name { font-size: 12px; }

  /* Checkout form */
  .form-control { padding: 8px 12px; font-size: 13px; }
  .form-group label { font-size: 12px; }
}

/* Very small screens */
@media (max-width: 360px) {
  .navbar-brand { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .product-info { padding: 6px; }
  .product-name { font-size: 10px; }
  .btn { padding: 6px 10px; font-size: 12px; }
}
