/* ═══════════════════════════════════════
   URANUN — styles.css
   ═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600&display=swap');

/* ── TOKENS ── */
:root {
  --bg:           #FFFFFF;
  --surface:      #F7F7F7;
  --surface2:     #EFEFEF;
  --border:       rgba(0,0,0,0.09);
  --accent:       #111111;
  --accent-dim:   rgba(0,0,0,0.5);
  --text:         #111111;
  --text-muted:   #888888;
  --success:      #1E8449;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono:    'Courier New', monospace;
  --trans:        0.25s cubic-bezier(0.4,0,0.2,1);
  --radius:       12px;
  --radius-lg:    20px;
  --safe-top:    env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left:   env(safe-area-inset-left, 0px);
  --safe-right:  env(safe-area-inset-right, 0px);
}

html.dark {
  --bg:         #000000;
  --surface:    #0D0D0D;
  --surface2:   #1A1A1A;
  --border:     rgba(255,255,255,0.08);
  --accent:     #FFFFFF;
  --accent-dim: rgba(255,255,255,0.6);
  --text:       #FFFFFF;
  --text-muted: #888888;
  --success:    #27AE60;
}

/* ── RESET ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0; padding: 0;
  -webkit-tap-highlight-color: transparent; /* Sin flash azul en Android */
}

/* ── SIN OUTLINES AZULES — sólo para navegación con teclado ── */
*:focus              { outline: none; }
*:focus-visible      { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
input:focus,
textarea:focus,
select:focus         { outline: none; }

html { scroll-behavior: smooth; -webkit-overflow-scrolling: touch; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  transition: background var(--trans), color var(--trans);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Elimina delay 300ms en elementos interactivos */
button, a, select, input, textarea,
[role="button"], .product-card, .filter-btn,
.color-sphere-wrap, .nav-btn, .hero-cta,
.checkout-radio-label, .qty-btn {
  touch-action: manipulation;
}
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── LOADER ── */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 24px;
  transition: opacity 0.4s var(--trans);
}
.logo-load {
  font-family: var(--font-display);
  font-size: 2.5rem; letter-spacing: 0.3em; color: var(--text);
}
.bar {
  width: 160px; height: 2px; background: var(--border);
  border-radius: 2px; overflow: hidden; position: relative;
}
.bar::after {
  content: ''; position: absolute; left: -40%; top: 0;
  width: 40%; height: 100%; background: var(--accent);
  animation: barSlide 1.2s ease-in-out infinite;
}
@keyframes barSlide { to { left: 100%; } }

/* ═══════════════════════════════════════════════
   ANIMACIONES — URANUN
   ═══════════════════════════════════════════════ */

/* ── Keyframes base ── */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes heroContentIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes cartFabWiggle {
  0%,100% { transform: scale(1) rotate(0deg); }
  20%      { transform: scale(1.18) rotate(-8deg); }
  40%      { transform: scale(1.18) rotate(8deg); }
  60%      { transform: scale(1.12) rotate(-5deg); }
  80%      { transform: scale(1.08) rotate(3deg); }
}
@keyframes flyToCart {
  0%   { opacity: 1; transform: scale(1) translate(0, 0); }
  60%  { opacity: 0.7; transform: scale(0.5) translate(var(--fly-x), var(--fly-y)); }
  100% { opacity: 0; transform: scale(0.1) translate(var(--fly-x), var(--fly-y)); }
}
@keyframes cardPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(0.93); }
  100% { transform: scale(1); }
}
@keyframes gridFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes filterPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(0.94); }
  100% { transform: scale(1); }
}

/* ── Hero entrada ── */
.hero-content {
  animation: heroContentIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero-eyebrow { animation-delay: 0.05s; }
.hero-title   { animation-delay: 0.15s; }
.hero-subtitle { animation-delay: 0.25s; }
.hero-cta-btn  { animation-delay: 0.35s; }

/* ── Tarjetas de producto ── */
.product-card {
  animation: fadeSlideUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.product-card.card-pop {
  animation: cardPop 0.35s ease;
}

/* ── Grid transición entre categorías ── */
#product-grid.grid-transitioning {
  animation: gridFadeIn 0.35s ease both;
}

/* ── Botón agregar al carrito ── */
.card-add {
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.card-add:active {
  transform: scale(0.92);
}
.card-add.adding {
  animation: cardPop 0.3s ease;
}

/* ── Burbuja voladora al carrito ── */
.fly-bubble {
  position: fixed;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--accent);
  pointer-events: none;
  z-index: 9999;
  animation: flyToCart 0.65s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ── Cart FAB vibración ── */
#cart-fab.wiggle {
  animation: cartFabWiggle 0.55s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

/* ── Filter btn transición ── */
.filter-btn {
  transition: background 0.22s, color 0.22s, border-color 0.22s, transform 0.15s;
}
.filter-btn:active {
  animation: filterPulse 0.2s ease;
}


/* ── ANNOUNCEMENT BAR ── */
#announcement-bar {
  position: relative; z-index: 99;
  background: var(--accent); color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  padding: 8px 44px 8px 16px;
  font-size: 0.82rem; font-weight: 500; min-height: 40px;
}
#announcement-bar.hidden { display: none; }
#ann-close { position: absolute; right: 12px; font-size: 0.9rem; opacity: 0.6; padding: 8px; line-height: 1; }
#ann-close:hover { opacity: 1; }

/* ── NAVBAR ── */
#navbar {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; height: 56px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  border-bottom: 1px solid var(--border);
  will-change: transform;
}
html.dark #navbar { background: rgba(0,0,0,0.78); }

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem; letter-spacing: 0.22em;
  font-weight: 700; user-select: none; flex-shrink: 0;
}
.nav-tagline {
  font-size: 0.68rem; color: var(--text-muted);
  letter-spacing: 0.15em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px;
}
.nav-right { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }

/* ── SELECTOR DE MONEDA — estilo texto, no botón ── */
#currency-select {
  height: auto;
  padding: 4px 20px 4px 4px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5' viewBox='0 0 8 5'%3E%3Cpath d='M1 1l3 3 3-3' stroke='%23999' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  cursor: pointer;
  transition: color var(--trans);
}
#currency-select:hover { color: var(--text); }
#currency-select option { background: var(--bg); color: var(--text); }

/* Botones de nav */
.nav-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: background var(--trans); flex-shrink: 0;
  position: relative;
}
.nav-btn::after { content: ''; position: absolute; inset: -4px; }
.nav-btn:hover { background: var(--surface); }

/* Badge carrito */
.cart-badge {
  position: absolute; top: -2px; right: -2px;
  min-width: 18px; height: 18px;
  background: #e74c3c; color: #fff;
  font-size: 0.65rem; font-weight: 700; border-radius: 100px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px; pointer-events: none; line-height: 1;
}
.cart-badge.hidden { display: none; }

/* ── HERO ── */
#hero {
  padding: 64px 24px 56px; max-width: 620px; margin: 0 auto;
  position: relative; overflow: hidden;
}
#hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  z-index: 0; opacity: 0; transition: opacity 0.6s ease;
}
#hero-bg.has-image { opacity: 1; }

/* ── HERO CAROUSEL SLIDES ── */
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 3.3s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-content { position: relative; z-index: 1; }

.hero-eyebrow { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 20px; }
.hero-title { font-family: var(--font-display); font-size: clamp(2rem, 8vw, 3.5rem); line-height: 1.15; font-weight: 700; margin-bottom: 20px; }
.hero-title em { font-style: italic; font-weight: 400; }
.hero-sub { font-size: clamp(0.88rem, 2.5vw, 1rem); color: var(--text-muted); max-width: 480px; margin-bottom: 32px; line-height: 1.7; }
.hero-cta {
  display: inline-flex; align-items: center;
  padding: 13px 28px; background: var(--accent); color: var(--bg);
  font-weight: 600; font-size: 0.88rem; letter-spacing: 0.04em;
  border-radius: 100px; transition: opacity var(--trans), transform var(--trans);
}
.hero-cta:hover { opacity: 0.8; transform: translateY(-1px); }
.hero-cta:active { transform: scale(0.97); }

/* ── CATALOG ── */
#catalog { padding: 0 14px 100px; max-width: 960px; margin: 0 auto; }

/* ── FILTER BAR ── */
#filter-bar {
  display: flex; gap: 6px; padding: 20px 0 24px;
  flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; -ms-overflow-style: none;
}
#filter-bar::-webkit-scrollbar { display: none; }
.filter-btn {
  padding: 7px 16px; border-radius: 100px; border: 1px solid var(--border);
  font-size: 0.8rem; font-weight: 500; color: var(--text-muted);
  background: transparent; transition: all var(--trans);
  white-space: nowrap; flex-shrink: 0; min-height: 36px;
}
.filter-btn:hover { border-color: var(--accent); color: var(--text); }
.filter-btn.active { background: var(--accent); color: var(--bg); border-color: var(--accent); }

/* ── PRODUCT GRID ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 14px;
}

/* ── PRODUCT CARD ── */
.product-card {
  background: var(--surface); border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
  cursor: pointer; transition: transform var(--trans), box-shadow var(--trans);
  display: flex; flex-direction: column; will-change: transform;
}
@media (hover: hover) {
  .product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
  html.dark .product-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
}
.product-card:active { transform: scale(0.98); }
.product-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--surface2); }
.card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.card-name { font-size: 0.83rem; font-weight: 500; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-brand { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.card-price { font-size: 0.9rem; font-weight: 600; margin-top: 4px; }
.card-add {
  margin-top: 8px; width: 100%; padding: 8px;
  background: var(--accent); color: var(--bg);
  font-size: 0.78rem; font-weight: 600; border-radius: 8px;
  transition: opacity var(--trans); font-family: var(--font-body);
  min-height: 36px;
}
.card-add:hover { opacity: 0.8; }
.card-add:active { opacity: 0.7; transform: scale(0.96); }
.product-card.inactive { opacity: 0.4; pointer-events: none; }

/* ── CART FAB ── */
#cart-fab {
  position: fixed;
  bottom: max(24px, var(--safe-bottom));
  right: max(20px, var(--safe-right));
  z-index: 200; background: var(--accent); color: var(--bg);
  padding: 12px 20px; border-radius: 100px;
  font-size: 0.9rem; font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
  transition: transform var(--trans), opacity var(--trans);
  display: flex; align-items: center; gap: 8px; will-change: transform, opacity;
}
#cart-fab:hover { transform: scale(1.04); }
#cart-fab:active { transform: scale(0.96); }
#cart-fab.hidden { opacity: 0; pointer-events: none; }

/* ── TOAST ── */
#toast {
  position: fixed;
  bottom: max(80px, calc(var(--safe-bottom) + 56px));
  left: 50%; transform: translateX(-50%) translateY(16px);
  background: var(--surface2); border: 1px solid var(--border); color: var(--text);
  padding: 10px 20px; border-radius: 100px; font-size: 0.85rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, transform 0.3s; z-index: 700;
  white-space: nowrap; max-width: calc(100vw - 32px);
  overflow: hidden; text-overflow: ellipsis;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
#toast.show.success {
  background: #d4edda; border-color: #a3d9b1; color: #1a5c2a;
}
#toast.show.error {
  background: #fde8e8; border-color: #f5b8b8; color: #8b1a1a;
}
html.dark #toast.show.success {
  background: #1a3d24; border-color: #2d6b40; color: #7ed99a;
}
html.dark #toast.show.error {
  background: #3d1a1a; border-color: #6b2d2d; color: #d97e7e;
}

/* ── MODAL (genérico) ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.45);
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity var(--trans);
  overscroll-behavior: contain;
}
html.dark .modal-overlay { background: rgba(0,0,0,0.75); }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal-sheet {
  width: 100%; max-width: 560px; background: var(--bg);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 20px 18px max(36px, var(--safe-bottom));
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  max-height: 90dvh; overflow-y: auto; overflow-x: hidden;
  border-top: 1px solid var(--border);
  overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  will-change: transform;
}
.modal-overlay.open .modal-sheet { transform: translateY(0); }
.modal-handle { width: 36px; height: 3px; background: var(--border); border-radius: 2px; margin: 0 auto 18px; }

/* ── SEARCH ── */
#search-overlay {
  position: fixed; inset: 0; z-index: 550;
  background: rgba(255,255,255,0.97);
  display: none; flex-direction: column;
  padding: max(56px, calc(var(--safe-top) + 56px)) 20px 20px;
}
html.dark #search-overlay { background: rgba(0,0,0,0.95); }
#search-overlay.open { display: flex; }
#search-input {
  width: 100%; background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-family: var(--font-body); font-size: 1rem;
  padding: 14px 16px; border-radius: var(--radius);
  outline: none; -webkit-appearance: none; appearance: none;
}
#search-input:focus { border-color: var(--accent-dim); }

/* ── CUSTOM SELECT (admin) ── */
select.admin-input {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px !important; cursor: pointer;
}

/* ── COLOR SPHERE ── */
.color-sphere-wrap { display: flex; flex-direction: column; align-items: center; gap: 5px; cursor: pointer; padding: 4px; }
.color-sphere { width: 28px; height: 28px; border-radius: 50%; border: 2px solid transparent; box-shadow: inset 0 -2px 4px rgba(0,0,0,0.2), 0 2px 6px rgba(0,0,0,0.12); transition: transform 0.2s, border-color 0.2s; flex-shrink: 0; }
.color-sphere:hover { transform: scale(1.1); }
.color-sphere.selected { border-color: var(--accent); box-shadow: inset 0 -2px 4px rgba(0,0,0,0.2), 0 0 0 3px var(--bg), 0 0 0 5px var(--accent); }
.color-sphere-label { font-size: 0.65rem; color: var(--text-muted); text-align: center; letter-spacing: 0.02em; line-height: 1.2; max-width: 48px; word-break: break-word; }

/* ── TOGGLE SWITCH ── */
.toggle-switch { position: relative; width: 38px; height: 22px; flex-shrink: 0; }
.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-track { position: absolute; inset: 0; background: var(--surface2); border-radius: 100px; border: 1px solid var(--border); transition: background 0.2s; cursor: pointer; }
.toggle-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; background: #bbb; border-radius: 50%; transition: transform 0.2s, background 0.2s; }
.toggle-switch input:checked + .toggle-track { background: var(--accent); border-color: var(--accent); }
.toggle-switch input:checked + .toggle-track::after { transform: translateX(16px); background: var(--bg); }

/* ── CARRITO: botones de cantidad ── */
.qty-btn {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--surface2); border: none; color: var(--text);
  cursor: pointer; font-size: 1.1rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--trans);
}
.qty-btn:hover { background: var(--border); }
.qty-btn:active { transform: scale(0.9); }

/* ── CHECKOUT FORM ESTILIZADO ── */
.co-field { margin-bottom: 20px; }
.co-label {
  display: block; font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--text); margin-bottom: 10px; font-family: var(--font-body);
}
.co-input, .co-textarea {
  width: 100%; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; color: var(--text);
  font-family: var(--font-body); font-size: 0.92rem;
  font-weight: 500; transition: all 0.2s ease;
  box-sizing: border-box;
}
.co-input:focus, .co-textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px rgba(17,17,17,0.08);
  outline: none;
}
.co-textarea { resize: vertical; min-height: 80px; line-height: 1.55; }

.checkout-radio-label {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 18px; border-radius: 14px;
  border: 2px solid var(--border); cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  background: var(--surface); position: relative; overflow: hidden;
}
.checkout-radio-label::before {
  content: ''; position: absolute; inset: 0;
  background: var(--accent); opacity: 0; transition: opacity 0.25s;
  z-index: 0;
}
.checkout-radio-label:hover {
  border-color: var(--accent-dim); transform: translateY(-1px);
}
.checkout-radio-label:has(input:checked) {
  border-color: var(--accent); background: var(--accent);
}
.checkout-radio-label:has(input:checked)::before { opacity: 0.08; }
.checkout-radio-label > * { position: relative; z-index: 1; }
.checkout-radio-label input:checked + * { color: var(--bg) !important; }

.delivery-opt {
  flex-direction: column; align-items: flex-start; gap: 6px;
  text-align: left;
}
.delivery-opt .delivery-icon { font-size: 1.4rem; }
.delivery-opt .delivery-title { font-weight: 600; font-size: 0.92rem; }
.delivery-opt .delivery-desc { font-size: 0.78rem; opacity: 0.8; }

.co-summary {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(17,17,17,0.02) 100%);
  border: 1px solid var(--border); border-radius: 16px;
  padding: 20px; margin-bottom: 24px; backdrop-filter: blur(10px);
}
.co-summary-item {
  display: flex; justify-content: space-between;
  font-size: 0.82rem; padding: 6px 0; border-bottom: 1px solid rgba(0,0,0,0.03);
}
.co-summary-item:last-child { border-bottom: none; }
.co-summary-total {
  font-size: 1.1rem; font-weight: 700; color: var(--accent);
  padding-top: 12px; border-top: 2px solid var(--accent);
}

.co-order-btn {
  width: 100%; padding: 18px 24px;
  background: var(--accent); color: var(--bg);
  font-weight: 700; font-size: 1rem; border-radius: 14px;
  border: none; cursor: pointer; font-family: var(--font-body);
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  text-transform: uppercase; letter-spacing: 0.05em;
  box-shadow: 0 8px 25px rgba(17,17,17,0.2);
  position: relative; overflow: hidden;
  min-height: 56px; margin-top: 8px;
}
.co-order-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(17,17,17,0.3); }
.co-order-btn:active { transform: translateY(0); }
html.dark .co-order-btn { box-shadow: 0 8px 25px rgba(255,255,255,0.15); }

.co-back-btn {
  width: 100%; padding: 14px;
  color: var(--text-muted); font-size: 0.85rem;
  border: 1px solid var(--border); background: transparent;
  border-radius: 12px; cursor: pointer; font-weight: 500;
  transition: all 0.2s; margin-top: 12px;
}
.co-back-btn:hover { border-color: var(--accent-dim); color: var(--text); }

.co-close-btn {
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--surface2); border: none;
  color: var(--text-muted); cursor: pointer; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}

/* ── EMPTY STATE ── */
.empty-state { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--text-muted); font-size: 0.9rem; }
.empty-state-icon { font-size: 2.5rem; margin-bottom: 12px; display: block; }

/* ── UTIL ── */
.hidden { display: none !important; }
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ── ACCESIBILIDAD ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ── RESPONSIVE ── */
@media (max-width: 360px) {
  .nav-tagline { display: none; }
  .nav-logo { font-size: 1.1rem; }
  #hero { padding: 48px 18px 40px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  #catalog { padding: 0 10px 90px; }
}
@media (min-width: 361px) and (max-width: 480px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (min-width: 481px) and (max-width: 767px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  #catalog { padding: 0 18px 100px; }
}
@media (min-width: 768px) {
  #navbar { padding: 0 28px; }
  #catalog { padding: 0 24px 100px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
  #hero { padding: 88px 32px 72px; }
}
@media (min-width: 1024px) {
  #hero { padding: 100px 40px 80px; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
