/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: #ffffff;
  color: #0f1115;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font: inherit; }

/* ===== DESIGN TOKENS ===== */
:root {
  --bg: #ffffff;
  --fg: #0f1115;
  --card: #ffffff;
  --muted: #f6f7f9;
  --muted-fg: #6b7280;
  --border: #e5e7eb;
  --ink: #0f1115;
  --navy: #1a2332;
  --accent: #3b82f6;
  --emerald: #10b981;
  --radius: 0.75rem;
  --radius-xl: 1rem;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.08), 0 1px 2px -1px rgb(0 0 0 / 0.08);
  --shadow-lg: 0 10px 25px -5px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-xl: 0 20px 40px -10px rgb(0 0 0 / 0.12);
}

/* ===== UTILITIES ===== */
.container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

.glass {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.5);
}
.glass-dark {
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.10);
}

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===== ANIMATIONS ===== */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slide-in-right {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(16,185,129,0.55); }
  100% { box-shadow: 0 0 0 18px rgba(16,185,129,0); }
}

.animate-fade-up { animation: fade-up 0.7s ease-out both; }
.animate-slide-in { animation: slide-in-right 0.3s ease-out both; }
.animate-marquee  { animation: marquee 30s linear infinite; }
.animate-pulse-ring { animation: pulse-ring 1.8s ease-out infinite; }

/* ===== PROMO BAR ===== */
.promo-bar {
  background: var(--ink);
  color: #fff;
  font-size: 0.75rem;
  overflow: hidden;
}
.promo-track {
  display: flex;
  white-space: nowrap;
  gap: 2.5rem;
  padding: 0.5rem 1.25rem;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(229,231,235,0.6);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  height: 4rem;
}
.brand {
  display: flex; align-items: center; gap: 0.5rem;
  min-width: 0;
}
.brand-mark {
  height: 2.25rem; width: 2.25rem; border-radius: 0.75rem;
  background: var(--ink); color: #fff;
  display: grid; place-items: center; font-weight: 700;
}
.brand-text {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700; font-size: 1.125rem; letter-spacing: -0.02em;
  white-space: nowrap;
}
.brand-text span { color: var(--navy); }

.nav-links {
  display: none;
  justify-content: center;
  gap: 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
}
.nav-links a:hover { color: var(--navy); transition: color .2s; }

.nav-actions {
  display: flex; align-items: center; gap: 0.375rem;
}
.icon-btn {
  position: relative;
  height: 2.5rem; width: 2.5rem;
  display: grid; place-items: center;
  border-radius: 0.5rem;
  transition: background .2s;
}
.icon-btn:hover { background: var(--muted); }
.icon-btn .badge {
  position: absolute; top: -0.25rem; right: -0.25rem;
  height: 1.25rem; min-width: 1.25rem; padding: 0 0.25rem;
  border-radius: 9999px; background: var(--ink); color: #fff;
  font-size: 0.625rem; font-weight: 700;
  display: grid; place-items: center;
}

.menu-toggle { display: grid; }
@media (min-width: 768px) {
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
}

/* ===== MOBILE MENU ===== */
.mobile-overlay {
  position: fixed; inset: 0; z-index: 50;
}
.mobile-overlay .backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0.5);
}
.mobile-panel {
  position: absolute; right: 0; top: 0; height: 100%;
  width: 82%; max-width: 24rem;
  background: var(--bg);
  padding: 1.5rem;
  animation: slide-in-right 0.3s ease-out both;
}
.mobile-panel header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2rem;
}
.mobile-panel .close { font-size: 1.25rem; }
.mobile-panel a {
  display: block; padding: 0.75rem 0.75rem;
  border-radius: 0.5rem; font-weight: 500;
}
.mobile-panel a:hover { background: var(--muted); }

/* ===== HERO ===== */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--ink) 0%, var(--navy) 50%, var(--ink) 100%);
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  opacity: 0.20;
  background: radial-gradient(circle at 30% 20%, white, transparent 40%);
}
.hero-inner {
  position: relative;
  display: grid; gap: 2.5rem; align-items: center;
  padding: 4rem 1rem;
}
@media (min-width: 768px) {
  .hero-inner { grid-template-columns: 1fr 1fr; padding: 7rem 2rem; }
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 9999px; padding: 0.375rem 0.875rem;
}
.hero-tag .dot {
  height: 0.375rem; width: 0.375rem; border-radius: 9999px; background: #34d399;
}
.hero h1 {
  margin-top: 1.25rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 3rem; font-weight: 700; line-height: 0.95; letter-spacing: -0.02em;
}
@media (min-width: 768px) { .hero h1 { font-size: 4.5rem; } }
.hero h1 span { display: block; color: rgba(255,255,255,0.7); }

.hero p {
  margin-top: 1.25rem;
  font-size: 1.125rem; color: rgba(255,255,255,0.8);
  max-width: 28rem;
}
@media (min-width: 768px) { .hero p { font-size: 1.25rem; } }

.hero-buttons { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.875rem 1.5rem; border-radius: 9999px;
  background: #fff; color: var(--ink); font-weight: 600;
  box-shadow: var(--shadow-lg); transition: opacity .2s;
}
.btn-primary:hover { opacity: 0.9; }
.btn-glass {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.875rem 1.5rem; border-radius: 9999px;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.10); color: #fff; font-weight: 600;
  transition: background .2s;
}
.btn-glass:hover { background: rgba(255,255,255,0.15); }

.hero-stats {
  margin-top: 2.5rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  max-width: 28rem;
}
.hero-stats .num { font-size: 1.5rem; font-weight: 700; }
@media (min-width: 768px) { .hero-stats .num { font-size: 1.875rem; } }
.hero-stats .lbl { font-size: 0.75rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.05em; }

.hero-images {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
}
@media (min-width: 768px) { .hero-images { gap: 1rem; } }
.hero-images img {
  border-radius: 1rem; object-fit: cover; aspect-ratio: 3/4;
  transition: transform 0.5s ease;
}
.hero-images img:hover { transform: scale(1.02); }
.hero-images img.offset { margin-top: 2rem; }
.hero-images img.offset-up { margin-top: -1rem; }

/* ===== SECTIONS ===== */
.section-title { margin-bottom: 0.5rem; }
.section-title .eyebrow {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: var(--navy);
}
.section-title h2 {
  margin-top: 0.5rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.875rem; font-weight: 700; letter-spacing: -0.02em;
}
@media (min-width: 768px) { .section-title h2 { font-size: 3rem; } }
.section-title.center { text-align: center; }

/* ===== CATEGORIES ===== */
.categories-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem;
}
@media (min-width: 768px) { .categories-grid { grid-template-columns: repeat(6, 1fr); gap: 1rem; } }

.cat-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  padding: 1rem; border-radius: 1rem;
  border: 1px solid var(--border); background: var(--card);
  transition: all 0.3s ease;
}
.cat-card:hover {
  border-color: var(--ink); transform: translateY(-4px);
}
.cat-card .icon { font-size: 1.875rem; transition: transform 0.3s; }
.cat-card:hover .icon { transform: scale(1.1); }
.cat-card .label { font-size: 0.75rem; font-weight: 500; text-align: center; }
@media (min-width: 768px) { .cat-card .label { font-size: 0.875rem; } }

/* ===== BANNER ===== */
.banner {
  position: relative; overflow: hidden;
  border-radius: 1.5rem;
  background: linear-gradient(90deg, var(--navy), var(--ink));
  color: #fff; padding: 2rem;
}
@media (min-width: 768px) { .banner { padding: 3.5rem; } }
.banner .tag { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); }
.banner h3 {
  margin-top: 0.5rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.875rem; font-weight: 700; line-height: 1.15;
}
@media (min-width: 768px) { .banner h3 { font-size: 3rem; } }
.banner p { margin-top: 0.75rem; color: rgba(255,255,255,0.7); }
.banner .btn { margin-top: 1.5rem; }
.banner-img {
  display: none;
  position: absolute; right: -1.5rem; bottom: -1.5rem;
  width: 20rem; border-radius: 1rem; transform: rotate(6deg); opacity: 0.9;
}
@media (min-width: 768px) { .banner-img { display: block; } }

/* ===== CATALOG / FILTERS ===== */
.catalog-layout {
  display: grid; gap: 2rem;
}
@media (min-width: 1024px) { .catalog-layout { grid-template-columns: 16rem 1fr; } }

.filter-group + .filter-group { margin-top: 1.5rem; }
.filter-label {
  font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-fg);
  margin-bottom: 0.5rem; display: block;
}

.search-input {
  width: 100%; height: 2.75rem; border-radius: 0.75rem;
  border: 1px solid var(--border); background: var(--bg);
  padding: 0 1rem; font-size: 0.875rem;
  outline: none; transition: box-shadow .2s;
}
.search-input:focus { box-shadow: 0 0 0 2px rgba(26,35,50,0.25); }

.pill-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.pill {
  padding: 0.375rem 0.75rem; border-radius: 9999px;
  font-size: 0.75rem; font-weight: 500; border: 1px solid var(--border);
  background: var(--bg); transition: all .2s;
}
.pill:hover { border-color: var(--ink); }
.pill.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.color-dot {
  height: 2rem; width: 2rem; border-radius: 9999px;
  border: 2px solid var(--border); transition: all .2s;
}
.color-dot.active { border-color: var(--ink); transform: scale(1.1); }

.size-btn {
  height: 2.25rem; min-width: 2.25rem; padding: 0 0.5rem;
  border-radius: 0.5rem; font-size: 0.75rem; font-weight: 500;
  border: 1px solid var(--border); background: var(--bg);
  transition: all .2s;
}
.size-btn:hover { border-color: var(--ink); }
.size-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.range-wrap { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.5rem; }
.range-wrap span { font-size: 0.75rem; font-weight: 600; }
input[type="range"] {
  width: 100%; accent-color: var(--ink);
}

.results-count { font-size: 0.875rem; color: var(--muted-fg); margin-bottom: 1rem; }

.products-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

/* ===== PRODUCT CARD ===== */
.product-card {
  border-radius: 1rem; background: var(--card);
  border: 1px solid var(--border); overflow: hidden;
  transition: all 0.3s ease;
}
.product-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}
.card-media {
  position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--muted);
}
.card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .card-media img { transform: scale(1.05); }

.card-badge {
  position: absolute; top: 0.75rem; left: 0.75rem;
  padding: 0.25rem 0.625rem; border-radius: 9999px;
  font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}
.badge-new   { background: var(--emerald); color: #fff; }
.badge-top   { background: var(--ink); color: #fff; }
.badge-sale  { background: #ef4444; color: #fff; }

.wish-btn {
  position: absolute; top: 0.75rem; right: 0.75rem;
  height: 2.25rem; width: 2.25rem; border-radius: 9999px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.72); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--ink); transition: color .2s;
}
.wish-btn:hover { color: #ef4444; }
.wish-btn.active { color: #ef4444; }

.card-actions {
  position: absolute; left: 0.75rem; right: 0.75rem; bottom: 0.75rem;
  display: flex; gap: 0.5rem;
  opacity: 0; transform: translateY(8px);
  transition: all 0.3s ease;
}
.product-card:hover .card-actions {
  opacity: 1; transform: translateY(0);
}
.card-actions button {
  flex: 1; height: 2.5rem; border-radius: 0.5rem;
  font-size: 0.75rem; font-weight: 600;
}
.btn-view {
  background: rgba(255,255,255,0.72); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.5); color: var(--ink);
}
.btn-buy { background: var(--ink); color: #fff; }
.btn-buy:hover { opacity: 0.9; }

.card-body { padding: 0.75rem; }
@media (min-width: 768px) { .card-body { padding: 1rem; } }
.card-body .cat { font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-fg); }
.card-body h3 {
  margin-top: 0.25rem; font-weight: 600; font-size: 0.875rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
@media (min-width: 768px) { .card-body h3 { font-size: 1rem; } }
.card-body .price-row { margin-top: 0.5rem; display: flex; align-items: center; gap: 0.5rem; }
.card-body .price { font-weight: 700; font-size: 0.875rem; }
@media (min-width: 768px) { .card-body .price { font-size: 1rem; } }
.card-body .old-price { font-size: 0.75rem; color: var(--muted-fg); text-decoration: line-through; }

/* ===== STATS SECTION ===== */
.stats-section {
  background: var(--ink); color: #fff; padding: 4rem 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; text-align: center;
}
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stats-grid .num {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 2.25rem; font-weight: 700;
}
@media (min-width: 768px) { .stats-grid .num { font-size: 3rem; } }
.stats-grid .lbl {
  margin-top: 0.5rem; font-size: 0.875rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 0.05em;
}

/* ===== SOBRE ===== */
.about-grid {
  display: grid; gap: 2.5rem; align-items: center;
}
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-grid p { color: var(--muted-fg); line-height: 1.7; margin-top: 1.5rem; }
.about-grid .features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.5rem;
}
.about-grid .feat {
  padding: 1rem; border-radius: 0.75rem; border: 1px solid var(--border);
}
.about-grid .feat .k { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-fg); }
.about-grid .feat .v { margin-top: 0.25rem; font-weight: 600; }
.about-images {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem;
}
.about-images img { border-radius: 1rem; aspect-ratio: 1/1; object-fit: cover; }
.about-images img.offset { margin-top: 2rem; }
.about-images img.offset-up { margin-top: -1rem; }

/* ===== FAQ ===== */
.faq-item {
  border: 1px solid var(--border); border-radius: 0.75rem;
  padding: 1.25rem; background: var(--card);
  transition: border-color .2s;
}
.faq-item:hover { border-color: var(--ink); }
.faq-item summary {
  cursor: pointer; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .icon { font-size: 1.5rem; transition: transform .3s; }
.faq-item[open] summary .icon { transform: rotate(45deg); }
.faq-item p {
  margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted-fg); line-height: 1.7;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--ink); color: #fff;
}
.footer-grid {
  display: grid; gap: 2rem;
  padding: 3.5rem 0;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer p { margin-top: 1rem; font-size: 0.875rem; color: rgba(255,255,255,0.6); }
.footer h4 { font-weight: 600; margin-bottom: 1rem; }
.footer ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer a { font-size: 0.875rem; color: rgba(255,255,255,0.7); transition: color .2s; }
.footer a:hover { color: #fff; }
.footer .wa-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 0.5rem; padding: 0.5rem 1rem; border-radius: 9999px;
  background: var(--emerald); color: #fff; font-size: 0.875rem;
  transition: background .2s;
}
.footer .wa-btn:hover { background: #059669; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 1.5rem 0; text-align: center;
  font-size: 0.75rem; color: rgba(255,255,255,0.5);
}

/* ===== FLOATING WHATSAPP ===== */
.wa-float {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 50;
  height: 3.5rem; width: 3.5rem; border-radius: 9999px;
  background: var(--emerald); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 10px 25px -5px rgba(0,0,0,0.2);
  transition: background .2s;
  animation: pulse-ring 1.8s ease-out infinite;
}
.wa-float:hover { background: #059669; }

/* ===== CART DRAWER ===== */
.cart-overlay {
  position: fixed; inset: 0; z-index: 50;
}
.cart-overlay .backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0.5);
}
.cart-panel {
  position: absolute; right: 0; top: 0; height: 100%;
  width: 100%; max-width: 28rem;
  background: var(--bg);
  display: flex; flex-direction: column;
  animation: slide-in-right 0.3s ease-out both;
}
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem; border-bottom: 1px solid var(--border);
}
.cart-header h3 {
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.125rem; font-weight: 700;
}
.cart-body {
  flex: 1; overflow: auto; padding: 1.25rem;
}
.cart-body .empty { text-align: center; color: var(--muted-fg); padding: 3rem 0; }
.cart-item {
  display: flex; gap: 0.75rem; align-items: center; padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}
.cart-item img {
  height: 5rem; width: 5rem; border-radius: 0.75rem; object-fit: cover;
}
.cart-item .info { flex: 1; min-width: 0; }
.cart-item .name { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item .meta { font-size: 0.875rem; color: var(--muted-fg); }
.cart-item .remove {
  font-size: 0.875rem; color: var(--muted-fg);
  transition: color .2s; white-space: nowrap;
}
.cart-item .remove:hover { color: #ef4444; }

.cart-footer {
  border-top: 1px solid var(--border); padding: 1.25rem;
}
.cart-footer .total {
  display: flex; justify-content: space-between; font-weight: 600; margin-bottom: 0.75rem;
}
.cart-footer .checkout {
  width: 100%; height: 3rem; border-radius: 0.75rem;
  background: var(--ink); color: #fff; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  transition: opacity .2s;
}
.cart-footer .checkout:hover { opacity: 0.9; }
.cart-footer .checkout.disabled { opacity: 0.5; pointer-events: none; }

/* ===== PRODUCT MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-items: center; padding: 1rem;
}
.modal-overlay .backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
}
.modal-box {
  position: relative; width: 100%; max-width: 64rem;
  max-height: 92vh; overflow: auto;
  background: var(--bg); border-radius: 1rem;
  animation: fade-up 0.4s ease-out both;
}
.modal-close {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 10;
  height: 2.5rem; width: 2.5rem; border-radius: 9999px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.72); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.5); font-size: 1.25rem;
}
.modal-grid {
  display: grid;
}
@media (min-width: 768px) { .modal-grid { grid-template-columns: 1fr 1fr; } }

.modal-img {
  background: var(--muted);
}
.modal-img img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
}
@media (min-width: 768px) { .modal-img img { height: 100%; aspect-ratio: auto; } }

.modal-info { padding: 1.5rem; }
@media (min-width: 768px) { .modal-info { padding: 2rem; } }
.modal-info .cat { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-fg); }
.modal-info h2 {
  margin-top: 0.25rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.5rem; font-weight: 700;
}
@media (min-width: 768px) { .modal-info h2 { font-size: 1.875rem; } }
.modal-info .price-row { margin-top: 0.75rem; display: flex; align-items: center; gap: 0.75rem; }
.modal-info .price { font-size: 1.5rem; font-weight: 700; }
.modal-info .old-price { font-size: 0.875rem; color: var(--muted-fg); text-decoration: line-through; }
.modal-info .desc { margin-top: 1rem; font-size: 0.875rem; color: var(--muted-fg); line-height: 1.7; }

.opt-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.5rem; margin-top: 1.5rem; }

.qty-row { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.5rem; }
.qty-row button {
  height: 2.25rem; width: 2.25rem; border-radius: 0.5rem;
  border: 1px solid var(--border); background: var(--bg); font-weight: 600;
}
.qty-row .qty-val { font-weight: 600; min-width: 1.5rem; text-align: center; }

.add-cart-btn {
  width: 100%; height: 3rem; border-radius: 0.75rem;
  background: var(--ink); color: #fff; font-weight: 600; margin-top: 1rem;
  transition: opacity .2s;
}
.add-cart-btn:hover { opacity: 0.9; }

.related-title { margin-top: 2rem; font-weight: 600; }
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-top: 0.75rem;
}
.related-card { cursor: pointer; }
.related-card img { border-radius: 0.75rem; aspect-ratio: 1/1; object-fit: cover; }
.related-card .name { font-size: 0.75rem; font-weight: 500; margin-top: 0.25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.related-card .price { font-size: 0.75rem; font-weight: 700; }

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 4rem 0; color: var(--muted-fg); grid-column: 1 / -1; }

/* ===== SECTION SPACING ===== */
section { padding: 3.5rem 0; }
@media (min-width: 768px) { section { padding: 5rem 0; } }
