/* ============================================================
   FT SUPLEMENTOS — style.css
   Paleta: gris plateado + verde #81ce0f
   ============================================================ */

:root {
  --black: #1c1c1c;
  --dark: #e2e4e3;
  --dark2: #eceeed;
  --dark3: #d8dad9;
  --gray: #c4c7c5;
  --gray2: #8a8f8c;
  --gray3: #6b706d;
  --light: #333;
  --white: #1e1e1e;
  --green: #81ce0f;
  --green2: #91e010;
  --green-dim: rgba(129,206,15,0.13);
  --green-glow: rgba(129,206,15,0.35);
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--dark);
  color: var(--black);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--green); border-radius: 3px; }

/* ─── NOISE OVERLAY ─── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: .4;
}

/* ─── NAVBAR ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(226,228,227,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(129,206,15,0.2);
  padding: 0 clamp(16px, 4vw, 48px);
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-icon {
  width: 38px; height: 38px;
  background: var(--green);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 900; font-size: 14px;
  color: white; letter-spacing: 0.5px;
  box-shadow: 0 0 18px var(--green-glow);
  flex-shrink: 0;
}
.nav-brand {
  font-family: var(--font-head);
  font-weight: 800; font-size: clamp(18px, 3vw, 22px);
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--black); white-space: nowrap;
}
.nav-brand span { color: var(--green); }
.nav-right { display: flex; align-items: center; gap: 12px; }

.sort-select {
  background: var(--dark2);
  border: 1px solid var(--gray);
  color: var(--light);
  font-family: var(--font-body); font-size: 13px;
  padding: 8px 32px 8px 12px;
  border-radius: 8px; cursor: pointer;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center;
  transition: border-color .2s; min-width: 0;
}
.sort-select:focus { outline: none; border-color: var(--green); }
.sort-select option { background: var(--dark2); }

/* ─── CART BUTTON (navbar) ─── */
.cart-btn {
  position: relative;
  background: var(--dark2); border: 1px solid var(--gray);
  color: var(--black); width: 42px; height: 42px;
  border-radius: 10px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all .25s; flex-shrink: 0;
}
.cart-btn svg { width: 18px; height: 18px; }
.cart-btn:hover { border-color: var(--green); background: var(--green-dim); box-shadow: 0 0 12px var(--green-glow); }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  background: var(--green); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 11px;
  min-width: 18px; height: 18px; border-radius: 50px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 8px var(--green-glow);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.cart-count.bump { transform: scale(1.5); }
.cart-count.zero { opacity: 0; transform: scale(0); }

/* ─── HAMBURGER ─── */
.hamburger-btn {
  background: var(--dark2); border: 1px solid var(--gray);
  width: 42px; height: 42px; border-radius: 10px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  transition: all .25s; flex-shrink: 0;
}
.hamburger-btn:hover { border-color: var(--green); background: var(--green-dim); box-shadow: 0 0 12px var(--green-glow); }
.hamburger-btn span {
  display: block; width: 18px; height: 2px;
  background: var(--black); border-radius: 2px; transition: all .3s;
}
.hamburger-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; transform: translateX(-6px); }
.hamburger-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── FILTER PANEL ─── */
.filter-overlay {
  position: fixed; inset: 0; z-index: 998;
  background: rgba(180,185,182,0.55);
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.filter-overlay.open { opacity: 1; pointer-events: all; }
.filter-panel {
  position: fixed; top: 0; right: -320px; bottom: 0;
  width: 300px; z-index: 999;
  background: var(--dark3);
  border-left: 1px solid rgba(129,206,15,0.25);
  padding: 88px 28px 32px;
  transition: right .35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.filter-panel.open { right: 0; }
.filter-panel h3 {
  font-family: var(--font-head); font-size: 22px; font-weight: 800;
  letter-spacing: 2px; text-transform: uppercase; color: var(--black); margin-bottom: 6px;
}
.filter-panel .subtitle { font-size: 12px; color: var(--gray3); margin-bottom: 28px; letter-spacing: .5px; }
.filter-divider { height: 1px; background: var(--gray); margin-bottom: 24px; }
.filter-label {
  font-size: 11px; font-weight: 600; letter-spacing: 2px;
  color: var(--green); text-transform: uppercase; margin-bottom: 14px;
}
.filter-cats { display: flex; flex-direction: column; gap: 6px; }
.filter-cat-btn {
  background: transparent; border: 1px solid var(--gray); color: var(--light);
  font-family: var(--font-body); font-size: 14px; padding: 12px 16px;
  border-radius: 10px; cursor: pointer; text-align: left;
  display: flex; align-items: center; justify-content: space-between;
  transition: all .2s; letter-spacing: .3px;
}
.filter-cat-btn:hover, .filter-cat-btn.active {
  border-color: var(--green); background: var(--green-dim);
  color: var(--white); box-shadow: 0 0 10px var(--green-dim);
}
.filter-cat-btn .cat-count {
  font-size: 11px; color: var(--gray3); background: var(--dark3); padding: 2px 7px; border-radius: 20px;
}
.filter-cat-btn.active .cat-count { background: var(--green); color: white; }
.filter-reset {
  margin-top: 28px; background: transparent; border: 1px solid var(--gray2);
  color: var(--gray3); font-family: var(--font-body); font-size: 13px;
  padding: 10px; border-radius: 8px; cursor: pointer; width: 100%; transition: all .2s;
}
.filter-reset:hover { border-color: var(--gray3); color: var(--light); }

/* ─── HERO ─── */
.hero {
  min-height: 100svh; position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; padding: 80px 24px 60px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 120%, rgba(129,206,15,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(129,206,15,0.08) 0%, transparent 60%),
    linear-gradient(160deg, #dde0de 0%, #e5e8e6 50%, #dfe8df 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(129,206,15,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129,206,15,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 860px; }
.hero-eyebrow {
  font-family: var(--font-head); font-size: clamp(11px, 2vw, 13px); font-weight: 600;
  letter-spacing: 5px; text-transform: uppercase; color: var(--green); margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; display: block; width: 30px; height: 1px; background: var(--green); opacity: .6;
}
.hero-title {
  font-family: var(--font-head); font-size: clamp(52px, 10vw, 120px);
  font-weight: 900; line-height: .92; letter-spacing: -1px;
  text-transform: uppercase; margin-bottom: 28px;
}
.hero-title .line1 { display: block; color: var(--black); }
.hero-title .line2 {
  display: block; color: var(--green);
  text-shadow: 0 0 30px rgba(129,206,15,0.4), 0 0 60px rgba(129,206,15,0.2);
}
.hero-title .line3 { display: block; color: var(--black); }
.hero-sub {
  font-size: clamp(14px, 2vw, 17px); color: var(--gray3);
  letter-spacing: .5px; line-height: 1.6; margin-bottom: 44px; font-weight: 400;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--green); color: white;
  font-family: var(--font-head); font-weight: 700;
  font-size: 15px; letter-spacing: 2px; text-transform: uppercase;
  padding: 16px 36px; border-radius: 50px;
  text-decoration: none; border: none; cursor: pointer;
  transition: all .3s; box-shadow: 0 4px 30px var(--green-glow);
}
.hero-cta:hover { background: var(--green2); transform: translateY(-2px); box-shadow: 0 8px 40px rgba(129,206,15,0.5); }
.hero-cta svg { width: 16px; height: 16px; transition: transform .3s; }
.hero-cta:hover svg { transform: translateX(4px); }
.hero-stats {
  position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%);
  display: flex; gap: clamp(24px, 6vw, 64px); z-index: 2;
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(24px, 4vw, 36px); color: var(--black); letter-spacing: -1px;
}
.hero-stat-num span { color: var(--green); }
.hero-stat-label { font-size: 11px; color: var(--gray3); letter-spacing: 1.5px; text-transform: uppercase; }
.hero-scroll {
  position: absolute; bottom: 32px; right: 32px; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--green));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: .3; transform: scaleY(.8); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ─── CATALOG SECTION ─── */
.catalog-section { padding: 80px clamp(16px, 4vw, 60px); max-width: 1400px; margin: 0 auto; }
.catalog-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 48px; flex-wrap: wrap; gap: 16px;
}
.catalog-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.catalog-title { font-family: var(--font-head); font-size: clamp(32px, 5vw, 52px); font-weight: 900; letter-spacing: 1px; text-transform: uppercase; line-height: 1; }
.catalog-title span { color: var(--green); }
.catalog-count { font-size: 13px; color: var(--gray3); letter-spacing: .5px; }
.active-filter-tag {
  display: none; align-items: center; gap: 8px;
  background: var(--green-dim); border: 1px solid rgba(129,206,15,0.3);
  color: var(--green); font-size: 12px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 6px 14px; border-radius: 50px; cursor: pointer; transition: all .2s;
}
.active-filter-tag.visible { display: flex; }
.active-filter-tag:hover { background: var(--green); color: white; }

/* ─── PRODUCT GRID ─── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--dark2); border: 1px solid var(--dark3);
  border-radius: 20px; overflow: hidden;
  transition: all .35s cubic-bezier(.4,0,.2,1);
  cursor: pointer; display: flex; flex-direction: column; position: relative;
}
.product-card::before {
  content: ''; position: absolute; inset: 0; border-radius: 20px;
  background: linear-gradient(135deg, rgba(129,206,15,0.06), transparent 60%);
  opacity: 0; transition: opacity .35s; pointer-events: none;
}
.product-card:hover { transform: translateY(-6px); border-color: rgba(129,206,15,0.4); box-shadow: 0 20px 60px rgba(0,0,0,0.08), 0 0 30px rgba(129,206,15,0.12); }
.product-card:hover::before { opacity: 1; }
.product-card.hidden { display: none; }

/* ─── PRODUCT IMAGE AREA ─── */
/*
  Para agregar tus fotos reales:
  1. Creá una carpeta llamada "img" en la misma carpeta que este archivo.
  2. Nombrá cada imagen igual al data-id del producto. Ejemplo:
       img/cr1.jpg  → Creatina Monohidrato Doy Pack
       img/cr2.jpg  → Creatina Frutos Rojos
       img/cr3.jpg  → Creatina Pote
       img/mg1.jpg  → Citrato de Magnesio cápsulas
       img/mg2.jpg  → Citrato de Magnesio polvo
       img/col1.jpg → Colágeno Frutos Rojos
       img/col2.jpg → Colágeno Limón
       img/prot1.jpg→ Whey Protein
       img/vit1.jpg → All In One Multivitamin
       img/vit2.jpg → Vitamina C
       img/om1.jpg  → Omega 3 Fish Oil
  3. El JS carga automáticamente la imagen si existe. Si no hay foto, muestra el emoji.
*/
.product-img-wrap {
  position: relative; overflow: hidden; background: var(--dark3);
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
}
.product-img-wrap::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 50%;
  background: linear-gradient(to top, var(--dark2), transparent); pointer-events: none;
}
.product-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  display: none; /* El JS la muestra si el archivo existe */
}
.product-card:hover .product-img { transform: scale(1.06); }
.product-emoji {
  font-size: 80px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.08));
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  user-select: none;
}
.product-card:hover .product-emoji { transform: scale(1.1) translateY(-4px); }

.product-cat-badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(8,8,8,0.85); border: 1px solid rgba(129,206,15,0.35);
  color: var(--green); font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 50px; backdrop-filter: blur(8px);
}
.product-badge-new {
  position: absolute; top: 14px; right: 14px;
  background: var(--green); color: white; font-size: 10px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 50px; box-shadow: 0 2px 10px var(--green-glow);
}

.product-info { padding: 20px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.product-name { font-family: var(--font-head); font-weight: 700; font-size: 17px; line-height: 1.2; letter-spacing: .5px; color: var(--black); margin-bottom: 6px; }
.product-sub { font-size: 12px; color: var(--gray3); margin-bottom: 16px; letter-spacing: .3px; }
.product-price-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.product-price { font-family: var(--font-head); font-weight: 800; font-size: 22px; color: var(--black); letter-spacing: -.5px; }
.product-price small { font-size: 13px; font-weight: 500; color: var(--gray3); letter-spacing: 0; }
.product-combo-savings { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.product-price-old { font-size: 13px; color: var(--gray3); text-decoration: line-through; }
.product-savings-tag { font-size: 11px; font-weight: 700; color: var(--green); background: var(--green-dim); padding: 3px 9px; border-radius: 50px; letter-spacing: .3px; }

.btn-primary {
  background: var(--green); color: white; border: none;
  font-family: var(--font-head); font-weight: 700;
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 10px 16px; border-radius: 10px; cursor: pointer;
  transition: all .25s; white-space: nowrap; box-shadow: 0 2px 12px var(--green-dim);
}
.btn-primary:hover { background: var(--green2); box-shadow: 0 4px 20px var(--green-glow); transform: scale(1.04); }

/* ─── ADD TO CART BTN (card) ─── */
.btn-cart {
  width: 100%; margin-top: 12px; background: var(--green);
  color: white; border: none; font-family: var(--font-head); font-weight: 700;
  font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 12px 16px; border-radius: 10px; cursor: pointer; transition: all .25s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  box-shadow: 0 2px 12px var(--green-dim);
}
.btn-cart svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn-cart:hover { background: var(--green2); box-shadow: 0 4px 20px var(--green-glow); transform: translateY(-1px); }
.btn-cart.added { background: #2a8a00; color: white; animation: cartPop .35s cubic-bezier(.4,0,.2,1); }
@keyframes cartPop {
  0% { transform: scale(1); }
  40% { transform: scale(.94); }
  70% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* ─── EMPTY STATE ─── */
.empty-state { grid-column: 1/-1; text-align: center; padding: 80px 20px; display: none; }
.empty-state.visible { display: block; }
.empty-state-icon { font-size: 48px; margin-bottom: 16px; opacity: .5; }
.empty-state h3 { font-family: var(--font-head); font-size: 24px; font-weight: 800; color: var(--gray3); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.empty-state p { font-size: 14px; color: var(--gray2); }

/* ─── SECTION DIVIDER ─── */
.section-divider { padding: 0 clamp(16px, 4vw, 60px); margin: 0 auto; max-width: 1400px; }
.divider-line { height: 1px; background: linear-gradient(to right, transparent, rgba(129,206,15,0.3), transparent); }

/* ─── FOOTER ─── */
footer {
  margin-top: 100px; padding: 48px clamp(16px, 4vw, 60px) 36px;
  border-top: 1px solid var(--dark3);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; background: var(--dark3);
}
.footer-logo { font-family: var(--font-head); font-weight: 900; font-size: 20px; letter-spacing: 3px; text-transform: uppercase; color: var(--black); display: flex; align-items: center; gap: 8px; }
.footer-logo span { color: var(--green); }
.footer-copy { font-size: 12px; color: var(--gray2); }
.footer-tagline { font-family: var(--font-head); font-size: 13px; color: var(--gray3); letter-spacing: 2px; text-transform: uppercase; }

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.anim { opacity: 0; animation: fadeUp .6s forwards; }
.anim-d1 { animation-delay: .1s; }
.anim-d2 { animation-delay: .2s; }
.anim-d3 { animation-delay: .3s; }
.anim-d4 { animation-delay: .4s; }
.anim-d5 { animation-delay: .5s; }
.anim-d6 { animation-delay: .6s; }

/* ─── CART DRAWER ─── */
.cart-overlay { position: fixed; inset: 0; z-index: 1100; background: rgba(0,0,0,0.45); opacity: 0; pointer-events: none; transition: opacity .3s; }
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-drawer { position: fixed; top: 0; right: -400px; bottom: 0; width: 380px; max-width: 100vw; z-index: 1101; background: var(--dark2); border-left: 1px solid var(--gray); display: flex; flex-direction: column; transition: right .35s cubic-bezier(.4,0,.2,1); }
.cart-drawer.open { right: 0; }
.cart-drawer-header { padding: 20px 24px; border-bottom: 1px solid var(--gray); display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; }
.cart-drawer-header h3 { font-family: var(--font-head); font-size: 20px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--black); display: flex; align-items: center; gap: 10px; }
.cart-drawer-header h3 svg { width: 20px; height: 20px; color: var(--green); }
.cart-close-btn { background: var(--dark3); border: 1px solid var(--gray); color: var(--black); width: 34px; height: 34px; border-radius: 8px; cursor: pointer; font-size: 16px; display: flex; align-items: center; justify-content: center; transition: all .2s; }
.cart-close-btn:hover { border-color: var(--green); background: var(--green-dim); }
.cart-items { flex: 1; overflow-y: auto; padding: 16px 24px; display: flex; flex-direction: column; gap: 12px; }
.cart-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; color: var(--gray3); text-align: center; padding: 40px; }
.cart-empty svg { width: 48px; height: 48px; opacity: .3; }
.cart-empty p { font-size: 14px; }
.cart-item { background: var(--dark3); border: 1px solid var(--gray); border-radius: 14px; padding: 14px; display: flex; align-items: center; gap: 12px; animation: fadeUp .3s forwards; }
.cart-item-emoji { font-size: 32px; flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--black); line-height: 1.2; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { font-size: 12px; color: var(--gray3); }
.cart-item-controls { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.qty-btn { background: var(--dark2); border: 1px solid var(--gray); color: var(--black); width: 26px; height: 26px; border-radius: 6px; cursor: pointer; font-size: 14px; font-weight: 700; display: flex; align-items: center; justify-content: center; transition: all .2s; line-height: 1; }
.qty-btn:hover { border-color: var(--green); background: var(--green-dim); }
.qty-num { font-family: var(--font-head); font-weight: 800; font-size: 15px; color: var(--black); min-width: 20px; text-align: center; }
.cart-item-remove { background: transparent; border: none; color: var(--gray3); cursor: pointer; font-size: 16px; padding: 4px; border-radius: 6px; transition: all .2s; line-height: 1; }
.cart-item-remove:hover { color: #e53030; background: rgba(229,48,48,0.1); }
.cart-drawer-footer { padding: 20px 24px; border-top: 1px solid var(--gray); flex-shrink: 0; }
.cart-summary { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cart-total-label { font-size: 13px; color: var(--gray3); letter-spacing: .5px; }
.cart-total-price { font-family: var(--font-head); font-weight: 900; font-size: 26px; color: var(--black); letter-spacing: -1px; }
.cart-total-price small { font-size: 14px; font-weight: 500; color: var(--gray3); }
.btn-checkout { width: 100%; background: var(--green); color: white; border: none; font-family: var(--font-head); font-weight: 800; font-size: 15px; letter-spacing: 2px; text-transform: uppercase; padding: 16px; border-radius: 12px; cursor: pointer; transition: all .25s; box-shadow: 0 4px 20px var(--green-glow); display: flex; align-items: center; justify-content: center; gap: 8px; }
.btn-checkout:hover { background: var(--green2); transform: translateY(-2px); box-shadow: 0 8px 30px var(--green-glow); }
.btn-checkout svg { width: 18px; height: 18px; }
.cart-clear { width: 100%; background: transparent; border: none; color: var(--gray3); font-size: 12px; letter-spacing: 1px; padding: 10px; cursor: pointer; transition: color .2s; margin-top: 8px; font-family: var(--font-body); }
.cart-clear:hover { color: #e53030; }

/* ─── TOAST ─── */
.toast { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(80px); background: var(--black); color: var(--white); font-family: var(--font-head); font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 14px 24px; border-radius: 50px; border: 1px solid var(--green); box-shadow: 0 8px 30px rgba(0,0,0,0.3), 0 0 20px var(--green-glow); z-index: 2000; white-space: nowrap; transition: transform .4s cubic-bezier(.4,0,.2,1), opacity .4s; opacity: 0; pointer-events: none; display: flex; align-items: center; gap: 8px; }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; flex-shrink: 0; }

/* ─── RESPONSIVE ─── */
@media (max-width: 480px) {
  .sort-select { font-size: 12px; padding: 7px 26px 7px 10px; }
}
@media (max-width: 768px) {
  .hero-stats { gap: 28px; bottom: 32px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .product-emoji { font-size: 56px; }
  .product-name { font-size: 15px; }
  .product-price { font-size: 18px; }
  .btn-primary { font-size: 11px; padding: 9px 12px; }
  .hero-scroll { display: none; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-info { padding: 14px 14px 16px; }
  .catalog-header { flex-direction: column; align-items: flex-start; }
  .product-price-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .product-price { font-size: 18px; }
  .btn-primary { width: 100%; text-align: center; font-size: 11px; padding: 9px 8px; }
}

/* ─── LOGO IMG (navbar + footer) ─── */
.nav-logo-img {
  height: 38px;
  width: 38px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}
.footer-logo-img {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  object-fit: cover;
}
