/* ================================================================
   GLOBAL ECOM — LISTA MAYORISTA v2.0
   Full CSS for the NEW catalogo.ejs template
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:opsz,wght@9..40,400;9..40,500;9..40,600;9..40,700&family=Space+Mono:wght@400;700&display=swap');

/* ================= RESET ================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
  background: #0a0a0f;
  color: #e8e8ed;
  min-height: 100vh;
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #2a2a3a; border-radius: 3px; }
a { text-decoration: none; color: inherit; }

/* ================= AMBIENT ================= */
.glow-orb {
  position: fixed; width: 500px; height: 500px; border-radius: 50%;
  filter: blur(130px); opacity: 0.06; pointer-events: none; z-index: 0;
}
.glow-1 { background: #6366f1; top: -200px; left: -100px; }
.glow-2 { background: #22d3ee; bottom: -200px; right: -100px; }

.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 9998;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* ================= HEADER ================= */
.header-bar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10,10,15,0.88);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 0 24px;
}
.header-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 16px;
}

/* Logo */
.logo-area { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-img { height: 32px; filter: brightness(0) invert(1); }
.logo-fallback { display: none; }
.logo-dot {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, #6366f1, #22d3ee);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Mono', monospace; font-size: 14px; font-weight: 700; color: #fff;
}
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: 'Space Mono', monospace; font-weight: 700; font-size: 14px; color: #fff; letter-spacing: -0.5px; line-height: 1.2; }
.logo-sub { font-size: 10px; color: #6b7280; letter-spacing: 1.5px; text-transform: uppercase; }

/* Search */
.search-box { flex: 1; max-width: 420px; position: relative; display: flex; align-items: center; }
.search-icon { position: absolute; left: 14px; color: #555568; pointer-events: none; }
.search-box input[type="text"] {
  width: 100%; height: 40px; border-radius: 12px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  color: #e8e8ed; padding: 0 40px 0 42px; font-size: 14px;
  font-family: 'DM Sans', sans-serif; outline: none; transition: all 0.25s ease;
}
.search-box input[type="text"]::placeholder { color: #555568; }
.search-box input[type="text"]:focus {
  border-color: #6366f1; background: rgba(99,102,241,0.06);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}
.search-clear {
  position: absolute; right: 10px; width: 24px; height: 24px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center; color: #555568; transition: all 0.15s;
}
.search-clear:hover { color: #fff; background: rgba(255,255,255,0.08); }

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 8px; }
.btn-icon {
  width: 40px; height: 40px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.04);
  color: #a0a0b0; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; position: relative;
}
.btn-icon:hover { background: rgba(255,255,255,0.08); color: #fff; }
.toggle-btn {
  height: 40px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04); color: #a0a0b0; cursor: pointer;
  display: flex; align-items: center; gap: 6px; padding: 0 14px;
  font-size: 13px; font-family: 'DM Sans', sans-serif; transition: all 0.2s; white-space: nowrap;
}
.toggle-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }
.toggle-btn.active { background: rgba(99,102,241,0.15); border-color: rgba(99,102,241,0.3); color: #818cf8; }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  background: linear-gradient(135deg, #6366f1, #818cf8);
  color: #fff; font-size: 10px; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #0a0a0f;
}
.mobile-menu-btn { display: none; }

/* ================= CATEGORIES STRIP ================= */
.cats-strip {
  border-bottom: 1px solid rgba(255,255,255,0.04); background: rgba(10,10,15,0.5);
}
.cats-inner {
  max-width: 1400px; margin: 0 auto; padding: 14px 24px;
  display: flex; gap: 6px; overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.cats-inner::-webkit-scrollbar { display: none; }
.cat-chip {
  padding: 8px 16px; border-radius: 100px; font-size: 13px; font-weight: 500;
  white-space: nowrap; transition: all 0.2s;
  background: rgba(255,255,255,0.04); color: #888898;
}
.cat-chip:hover { background: rgba(255,255,255,0.08); color: #c8c8d8; }
.cat-chip.active {
  background: linear-gradient(135deg, #6366f1, #4f46e5); color: #fff;
  box-shadow: 0 2px 12px rgba(99,102,241,0.3);
}

/* ================= MAIN CONTENT ================= */
.main-content {
  max-width: 1400px; margin: 0 auto; padding: 8px 24px 80px; position: relative; z-index: 1;
}
.results-bar { padding: 14px 0 8px; font-size: 13px; color: #6b7280; }
.results-bar strong { color: #a0a0b0; }

/* ================= GRID ================= */
.grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px;
}

/* ================= CARD ================= */
.card {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px; overflow: hidden; display: flex; flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  opacity: 0; transform: translateY(16px); animation: cardIn 0.5s ease forwards;
}
@keyframes cardIn { to { opacity: 1; transform: translateY(0); } }
.card:hover {
  border-color: rgba(99,102,241,0.25); transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 1px rgba(99,102,241,0.1);
}

.card-img-wrap {
  aspect-ratio: 1; background: #111118; position: relative;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.card-img-wrap img {
  width: 78%; height: 78%; object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.card:hover .card-img-wrap img { transform: scale(1.06); }

.card-badge {
  position: absolute; top: 12px; left: 12px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: #fff; font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 6px;
  letter-spacing: 0.5px; text-transform: uppercase;
}
.card-quick-view {
  position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 8px;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.1); color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: all 0.2s; cursor: pointer;
}
.card:hover .card-quick-view { opacity: 1; }
.card-quick-view:hover { background: rgba(99,102,241,0.6); }

.card-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card-sku { font-family: 'Space Mono', monospace; font-size: 10px; color: #555568; letter-spacing: 0.5px; margin-bottom: 6px; }
.card-name {
  font-size: 13px; font-weight: 500; color: #c8c8d8; line-height: 1.4; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 36px;
}
.card-pricing { display: flex; align-items: baseline; gap: 8px; }
.card-price { font-family: 'Space Mono', monospace; font-size: 18px; font-weight: 700; color: #fff; letter-spacing: -0.5px; }
.card-pvp { font-size: 11px; color: #555568; margin-top: 2px; }

.card-bottom { margin-top: auto; padding-top: 12px; display: flex; gap: 8px; align-items: center; }
.card-qty-row { display: flex; align-items: center; gap: 2px; }
.qty-btn {
  width: 30px; height: 30px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.04);
  color: #a0a0b0; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all 0.15s;
}
.qty-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }
.qty {
  width: 38px; height: 30px; text-align: center;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px; color: #fff; font-size: 13px; font-weight: 600;
  font-family: 'DM Sans', sans-serif; -moz-appearance: textfield; outline: none;
}
.qty::-webkit-inner-spin-button, .qty::-webkit-outer-spin-button { -webkit-appearance: none; }

.add-cart {
  flex: 1; height: 36px; border-radius: 10px; border: none;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff; font-size: 13px; font-weight: 600; font-family: 'DM Sans', sans-serif;
  cursor: pointer; transition: all 0.2s;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.add-cart:hover { filter: brightness(1.15); box-shadow: 0 4px 16px rgba(99,102,241,0.35); }
.add-cart:active { transform: scale(0.97); }

/* ================= EMPTY STATE ================= */
.empty-state { text-align: center; padding: 80px 20px; color: #555568; }
.empty-icon { font-size: 48px; margin-bottom: 16px; opacity: 0.3; }
.empty-link { color: #818cf8; font-size: 14px; text-decoration: underline; }

/* ================= PAGINATION ================= */
.pagination { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin: 40px 0 20px; }
.page-btn {
  min-width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06);
  color: #888898; font-weight: 600; font-size: 14px;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.page-btn:hover { background: rgba(99,102,241,0.15); color: #818cf8; }
.page-btn.active {
  background: linear-gradient(135deg, #6366f1, #4f46e5); color: #fff;
  box-shadow: 0 2px 12px rgba(99,102,241,0.3);
}
.page-arrow { font-size: 18px; }

/* ================= CART OVERLAY ================= */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
  z-index: 200; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.cart-overlay.open { opacity: 1; pointer-events: all; }

/* ================= CART DRAWER ================= */
.cart-drawer {
  position: fixed; top: 0; right: 0; width: 400px; max-width: 92vw;
  height: 100vh; z-index: 201; background: #12121a;
  border-left: 1px solid rgba(255,255,255,0.06);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  padding: 20px 20px 16px; border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between; flex-shrink: 0;
}
.cart-header h2 {
  font-family: 'Space Mono', monospace; font-size: 16px; font-weight: 700; color: #fff;
  display: flex; align-items: center; gap: 8px;
}
.cart-header-icon { font-size: 18px; }
.cart-header-badge {
  background: rgba(99,102,241,0.2); color: #818cf8;
  font-size: 11px; padding: 2px 8px; border-radius: 100px; font-family: 'DM Sans', sans-serif;
}
.cart-close-btn {
  width: 36px; height: 36px; border-radius: 10px; border: none;
  background: rgba(255,255,255,0.06); color: #888; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.cart-close-btn:hover { background: rgba(255,255,255,0.1); color: #fff; }

.cart-items { flex: 1; overflow-y: auto; padding: 8px 20px; }

/* Cart empty */
.empty-cart { text-align: center; padding: 50px 20px; color: #555568; font-size: 14px; }

/* Cart row */
.cart-row {
  display: grid; grid-template-columns: 1fr auto auto auto; gap: 10px;
  align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.cart-info { min-width: 0; }
.cart-info strong {
  display: block; font-size: 13px; font-weight: 500; color: #c8c8d8; line-height: 1.3;
  max-width: 180px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cart-info small { font-size: 10px; color: #555568; font-family: 'Space Mono', monospace; }
.cart-controls { display: flex; align-items: center; gap: 4px; }
.cart-controls button {
  width: 28px; height: 28px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05);
  color: #c8c8d8; font-weight: bold; font-size: 15px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all 0.15s;
}
.cart-controls button:hover { background: rgba(99,102,241,0.2); color: #fff; }
.cart-controls span { width: 28px; text-align: center; font-size: 14px; font-weight: 600; color: #fff; }
.cart-subtotal { font-family: 'Space Mono', monospace; font-weight: bold; white-space: nowrap; color: #818cf8; font-size: 13px; }
.cart-remove { background: none; border: none; cursor: pointer; font-size: 16px; opacity: 0.5; transition: opacity 0.15s; color: #ef4444; }
.cart-remove:hover { opacity: 1; }

/* Cart footer */
.cart-footer {
  border-top: 1px solid rgba(255,255,255,0.06); padding: 16px 20px 24px;
  max-height: 55vh; overflow-y: auto; flex-shrink: 0;
}
.cart-total-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.cart-total-label { font-size: 14px; color: #888898; }
.cart-total-amount { font-family: 'Space Mono', monospace; font-size: 22px; font-weight: 700; color: #fff; }
.cart-divider { height: 1px; background: rgba(255,255,255,0.06); margin-bottom: 14px; }
.cart-section-label { font-size: 11px; color: #6b7280; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; margin-top: 4px; }

.cart-footer input,
.cart-footer select {
  width: 100%; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08);
  color: #c8c8d8; padding: 0 12px; font-size: 13px; font-family: 'DM Sans', sans-serif;
  margin-bottom: 8px; outline: none; transition: border-color 0.2s;
}
.cart-footer input::placeholder { color: #555568; }
.cart-footer input:focus, .cart-footer select:focus {
  border-color: #6366f1; box-shadow: 0 0 0 2px rgba(99,102,241,0.1);
}
.select-wrap { position: relative; margin-bottom: 8px; }
.select-wrap select { margin-bottom: 0; appearance: none; cursor: pointer; padding-right: 36px; }
.select-chevron { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: #555568; }
.cart-footer select option { background: #1a1a24; color: #c8c8d8; }

.checkout-btn {
  width: 100%; height: 48px; border-radius: 12px; border: none;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff; font-size: 15px; font-weight: 700; font-family: 'DM Sans', sans-serif;
  cursor: pointer; transition: all 0.2s; margin-top: 8px;
}
.checkout-btn:hover:not(:disabled) { filter: brightness(1.15); box-shadow: 0 4px 24px rgba(99,102,241,0.4); }
.checkout-btn:disabled { opacity: 0.35; cursor: not-allowed; }

/* ================= QUICK VIEW MODAL ================= */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
  z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-overlay.open .modal-content { transform: scale(1); opacity: 1; }
.modal-content {
  background: #16161f; border: 1px solid rgba(255,255,255,0.08); border-radius: 20px;
  max-width: 560px; width: 100%; overflow: hidden;
  transform: scale(0.95); opacity: 0; transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.modal-img { width: 100%; aspect-ratio: 4/3; background: #111118; display: flex; align-items: center; justify-content: center; }
.modal-img img { width: 55%; height: 55%; object-fit: contain; }
.modal-body { padding: 24px; }
.modal-sku { font-family: 'Space Mono', monospace; font-size: 11px; color: #6366f1; letter-spacing: 0.5px; margin-bottom: 8px; }
.modal-name { font-size: 18px; font-weight: 600; color: #fff; margin-bottom: 16px; line-height: 1.4; }
.modal-pricing { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; }
.modal-price-usd { font-family: 'Space Mono', monospace; font-size: 28px; font-weight: 700; color: #fff; }
.modal-price-pvp { font-size: 13px; color: #555568; }
.modal-qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.modal-qty-row label { font-size: 13px; color: #888898; }
.modal-qty-controls { display: flex; align-items: center; gap: 4px; }
.qty-num { width: 30px; text-align: center; font-size: 15px; font-weight: 600; color: #fff; }
.modal-actions { display: flex; gap: 10px; }
.modal-add {
  flex: 1; height: 48px; border-radius: 12px; border: none;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff; font-size: 15px; font-weight: 600; font-family: 'DM Sans', sans-serif;
  cursor: pointer; transition: all 0.2s;
}
.modal-add:hover { filter: brightness(1.15); }
.modal-close-btn {
  height: 48px; width: 48px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04);
  color: #888; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}
.modal-close-btn:hover { background: rgba(255,255,255,0.08); color: #fff; }

/* ================= MOBILE CATEGORIES ================= */
.mobile-cats-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 150;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mobile-cats-overlay.open { opacity: 1; pointer-events: all; }
.mobile-cats-sheet {
  position: fixed; bottom: 0; left: 0; right: 0; background: #16161f;
  border-radius: 20px 20px 0 0; max-height: 70vh; overflow-y: auto;
  padding: 20px 20px 32px; z-index: 151;
  transform: translateY(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.mobile-cats-sheet.open { transform: translateY(0); }
.mobile-cats-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mobile-cats-header h3 { font-size: 16px; font-weight: 700; color: #fff; }
.mobile-cat-item {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px;
  font-size: 15px; color: #a0a0b0; transition: all 0.15s;
}
.mobile-cat-item:hover { background: rgba(255,255,255,0.04); }
.mobile-cat-item.active { background: rgba(99,102,241,0.12); color: #818cf8; font-weight: 600; }

/* ================= TOAST ================= */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #1e1e2e; color: #fff; padding: 12px 24px; border-radius: 12px;
  font-size: 14px; font-weight: 500;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4); border: 1px solid rgba(99,102,241,0.2);
  z-index: 9998; opacity: 0; pointer-events: none;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ================= ORDER SUCCESS ================= */
.order-success {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; z-index: 99999; padding: 20px;
}
.order-box {
  background: #16161f; border: 1px solid rgba(255,255,255,0.08);
  padding: 40px; border-radius: 20px; text-align: center; max-width: 400px; width: 100%;
}
.order-box h2 { font-size: 22px; color: #fff; margin-bottom: 10px; }
.order-box p { color: #888898; margin-bottom: 20px; }
.order-box button {
  padding: 12px 32px; border: none; border-radius: 12px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff; font-size: 15px; font-weight: 600; font-family: 'DM Sans', sans-serif;
  cursor: pointer; transition: all 0.2s;
}
.order-box button:hover { filter: brightness(1.15); }

/* ================= FX ================= */
.pulse { animation: pulse 0.3s ease; }
@keyframes pulse { 0%{transform:scale(1)} 50%{transform:scale(1.3)} 100%{transform:scale(1)} }

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .header-bar { padding: 0 16px; }
  .header-inner { height: 56px; }
  .logo-text { display: none; }
  .logo-img { height: 28px; }
  .search-box { max-width: none; }
  .desktop-label { display: none; }
  .mobile-menu-btn { display: flex; }
  .cats-strip { display: none; }
  .main-content { padding: 8px 12px 80px; }
  .results-bar { padding: 10px 4px 6px; font-size: 12px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-body { padding: 10px 12px 14px; }
  .card-name { font-size: 12px; min-height: 30px; }
  .card-price { font-size: 15px; }
  .card-pvp { font-size: 10px; }
  .card-bottom { flex-direction: column; gap: 6px; }
  .card-qty-row { width: 100%; justify-content: center; }
  .add-cart { width: 100%; height: 34px; font-size: 12px; }
  .card-quick-view { opacity: 0.8; width: 30px; height: 30px; }
  .pagination { margin: 24px 0 16px; }
  .page-btn { min-width: 36px; height: 36px; font-size: 13px; }
  .cart-drawer { width: 100%; max-width: 100vw; }
}

@media (max-width: 380px) {
  .grid { gap: 8px; }
  .card-body { padding: 8px 10px 12px; }
}