/* ================================================================
   COPIATODO TIENDA — CSS
   Tema inspirado en iOS / MiFlowQR, colores de Copiatodo
   ================================================================ */

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

/* ── Variables ───────────────────────────────────────────────── */
:root {
  /* Marca */
  --orange:        #F97316;
  --orange-dark:   #EA6C0A;
  --orange-glow:   rgba(249,115,22,0.18);
  --purple:        #2D2B8F;

  /* iOS Base (dark) */
  --bg:            #0F0F14;
  --bg-card:       #1C1C23;
  --bg-card2:      #242430;
  --surface:       #1C1C23;
  --surface-2:     #242430;
  --border:        rgba(255,255,255,0.12);

  /* Text */
  --text:          #F5F5F7;
  --text-muted:    #8E8E93;
  --text-sub:      #636369;
  --text-primary:  #FFFFFF;
  --text-secondary:#A1A1AA;

  /* Status */
  --green:         #30D158;
  --green-glow:    rgba(48,209,88,0.18);
  --red:           #FF453A;

  /* Layout */
  --radius-sm:     10px;
  --radius-md:     16px;
  --radius-lg:     22px;
  --radius-xl:     28px;

  /* Safe area */
  --safe-bottom:   env(safe-area-inset-bottom);
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img { display: block; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 99px; }

/* ── Copiatodo Navbar (igual al sitio principal) ─────────────── */
.store-navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(15,15,20,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.store-navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.store-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.store-nav-logo img {
  height: 36px;
  width: auto;
}

.store-nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-nav-logo-text .brand {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.store-nav-logo-text .tag {
  font-size: 0.65rem;
  color: var(--orange);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.store-nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.store-nav-links a {
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}

.store-nav-links a:hover,
.store-nav-links a.active {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}

.store-nav-links a.cta {
  background: var(--orange);
  color: white;
  font-weight: 700;
  border-radius: 50px;
  padding: 0.45rem 1.1rem;
}

.store-nav-links a.cta:hover {
  background: var(--orange-dark);
}

/* Cart button in nav */
.cart-nav-btn {
  position: relative;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}

.cart-nav-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
}

.cart-nav-btn .cart-count {
  background: var(--orange);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  border-radius: 99px;
  padding: 2px 6px;
  min-width: 18px;
  text-align: center;
  display: none;
}

.cart-nav-btn .cart-count.visible {
  display: inline-block;
}

/* Mobile hamburger */
.store-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0.5rem;
}

.store-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.3s;
}

/* ── Store Hero Banner ───────────────────────────────────────── */
.store-hero {
  background: linear-gradient(135deg, #12121A 0%, #1A1A28 50%, #0F0F18 100%);
  padding: 3rem 1.5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.store-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: var(--orange);
  filter: blur(120px);
  opacity: 0.1;
  border-radius: 50%;
  pointer-events: none;
}

.store-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(249,115,22,0.12);
  border: 1px solid rgba(249,115,22,0.25);
  border-radius: 99px;
  padding: 0.3rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.store-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 0.5rem;
}

.store-hero h1 span { color: var(--orange); }

.store-hero p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

/* Search bar & Inline Filter Button */
.store-search-wrap {
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.store-search-wrap i.search-icon,
.store-search-wrap > i {
  position: absolute;
  left: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  pointer-events: none;
  z-index: 2;
}

#store-search {
  width: 100%;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  padding: 0.82rem 7rem 0.82rem 2.85rem;
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

#store-search:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
}

#store-search::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

#search-clear {
  position: absolute;
  right: 5.8rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: #ffffff;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  cursor: pointer;
  z-index: 3;
}

/* Button Store Filter Inline (Inside the search box on the right) */
.btn-store-filter-inline {
  position: absolute;
  right: 0.45rem;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  padding: 0.45rem 0.85rem;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 3;
  user-select: none;
}

.btn-store-filter-inline i {
  font-size: 0.85rem;
  color: #ffffff;
  transition: transform 0.2s ease;
}

.btn-store-filter-inline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.btn-store-filter-inline:hover i {
  transform: rotate(15deg);
}

.btn-store-filter-inline.has-filter {
  background: var(--orange);
  border-color: var(--orange);
  color: #ffffff;
  box-shadow: 0 2px 10px var(--orange-glow);
}

.btn-store-filter-inline.has-filter i {
  color: #ffffff;
}

/* ── Main Layout ─────────────────────────────────────────────── */
.store-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 6rem;
}

/* ── Category Tabs ───────────────────────────────────────────── */
.cat-scroll {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 1.25rem 0 1rem;
  position: sticky;
  top: 64px;
  z-index: 100;
  background: var(--bg);
  mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

.cat-scroll::-webkit-scrollbar { display: none; }

.cat-tab {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.5rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s;
  white-space: nowrap;
}

.cat-tab:hover {
  color: var(--text);
  background: var(--bg-card2);
}

.cat-tab.active {
  background: var(--orange);
  color: white;
  border-color: var(--orange);
  box-shadow: 0 4px 14px var(--orange-glow);
}

/* ── Product Grid ────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 0.75rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(249,115,22,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}

.product-card:active { transform: scale(0.98); }

.product-image-wrap {
  aspect-ratio: 4/3;
  background: var(--bg-card2);
  position: relative;
  overflow: hidden;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.04);
}

.product-no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  font-size: 2rem;
  background: var(--bg-card2);
}

.product-badge-stock {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.badge-low  { background: #EF4444 !important;  color: #FFFFFF !important;   border: 1px solid #F87171 !important; font-weight: 800 !important; box-shadow: 0 3px 10px rgba(239,68,68,0.5); }
.badge-out  { background: #374151 !important;  color: #F3F4F6 !important;   border: 1px solid #4B5563 !important; font-weight: 700 !important; }
.badge-ok   { background: rgba(16,185,129,0.22) !important;  color: #34D399 !important; border: 1px solid rgba(52,211,153,0.4) !important; font-weight: 700 !important; }

.product-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.4rem;
}

.product-category-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.product-name {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.product-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.product-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
}

.btn-add-cart {
  background: var(--orange);
  border: none;
  border-radius: 50px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  box-shadow: 0 4px 12px var(--orange-glow);
  transition: transform 0.15s, background 0.2s;
}

.btn-add-cart:hover  { background: var(--orange-dark); }
.btn-add-cart:active { transform: scale(0.92); }

/* In-card quantity control */
.qty-control {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-card2);
  border-radius: 50px;
  padding: 0.15rem 0.15rem;
}

.qty-btn {
  background: none;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--orange);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.qty-btn:hover { background: rgba(249,115,22,0.15); }

.qty-num {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text);
  min-width: 20px;
  text-align: center;
}

/* ── No results ──────────────────────────────────────────────── */
.no-results {
  display: none;
  text-align: center;
  padding: 4rem 1rem;
  color: var(--text-muted);
}

.no-results i {
  font-size: 2.5rem;
  opacity: 0.25;
  display: block;
  margin-bottom: 1rem;
}

/* ── Cart Sidebar ────────────────────────────────────────────── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(4px);
}

.cart-overlay.open { opacity: 1; pointer-events: all; }

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 100vw);
  height: 100%;
  background: var(--bg-card);
  border-left: 1px solid var(--border);
  z-index: 400;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -20px 0 60px rgba(0,0,0,0.4);
}

.cart-sidebar.open { transform: translateX(0); }

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.cart-header h2 {
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-header h2 .cart-count-badge {
  background: var(--orange);
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
  border-radius: 99px;
  padding: 2px 7px;
}

.cart-close {
  background: rgba(255,255,255,0.06);
  border: none;
  color: var(--text-muted);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.cart-close:hover { background: rgba(255,255,255,0.1); color: var(--text); }

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
}

/* Cart empty */
.cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: 100%;
  color: var(--text-muted);
  text-align: center;
}

.cart-empty-state i {
  font-size: 3rem;
  opacity: 0.2;
}

/* Cart item */
.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  animation: slideIn 0.25s ease;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(10px); }
  to   { opacity: 1; transform: translateX(0); }
}

.cart-item-img {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-card2);
}

.cart-item-img-placeholder {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: var(--bg-card2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
  min-width: 0;
}

.cart-item-name {
  font-size: 0.87rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-price {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.cart-item-qty-btn {
  background: rgba(255,255,255,0.06);
  border: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: background 0.15s;
}

.cart-item-qty-btn:hover { background: rgba(255,255,255,0.12); }

.cart-item-qty {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text);
  min-width: 20px;
  text-align: center;
}

/* Cart footer */
.cart-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  padding-bottom: calc(1.25rem + var(--safe-bottom));
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  background: var(--green);
  border: none;
  border-radius: var(--radius-md);
  padding: 1rem;
  color: white;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 6px 20px var(--green-glow);
  transition: transform 0.15s, background 0.2s;
}

.btn-whatsapp:hover  { background: #25C654; }
.btn-whatsapp:active { transform: scale(0.98); }

/* Payment methods hint */
.cart-payment-hint {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

/* ── Product Detail Modal ────────────────────────────────────── */
.product-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.product-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.product-modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  width: min(580px, 100vw);
  max-width: 100vw;
  max-height: 88vh;
  overflow-y: auto;
  overflow-x: hidden;
  box-sizing: border-box;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding-bottom: calc(1.5rem + var(--safe-bottom));
}

.product-modal-overlay.open .product-modal {
  transform: translateY(0);
}

@media (min-width: 640px) {
  .product-modal-overlay {
    align-items: center;
    padding: 1.5rem;
  }
  .product-modal {
    border-radius: var(--radius-xl);
    max-height: 90vh;
    transform: translateY(20px) scale(0.96);
    padding-bottom: 1.5rem;
  }
  .product-modal-overlay.open .product-modal {
    transform: translateY(0) scale(1);
  }
}

.modal-drag-handle {
  width: 44px;
  height: 5px;
  background: rgba(255,255,255,0.22);
  border-radius: 99px;
  margin: 1rem auto 0;
  flex-shrink: 0;
}

#modal-img-slot {
  width: 100%;
  max-width: 100%;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

.modal-product-img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  background: #ffffff;
  margin-top: 1rem;
  border-radius: var(--radius-md);
  box-sizing: border-box;
  display: block;
}

.modal-product-no-img {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/9;
  background: var(--bg-card2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--text-sub);
  margin-top: 1rem;
  box-sizing: border-box;
}

.modal-body {
  padding: 1.25rem 1.5rem;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.modal-cat {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}

.modal-name {
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 0.5rem;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.modal-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.1rem;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
  white-space: normal;
}

.modal-stock-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 1.25rem;
}

.modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.modal-price { font-size: 1.5rem; font-weight: 800; }

.btn-modal-add {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--orange);
  border: none;
  border-radius: var(--radius-md);
  padding: 0.9rem;
  color: white;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 6px 20px var(--orange-glow);
  transition: transform 0.15s, background 0.2s;
}

.btn-modal-add:hover  { background: var(--orange-dark); }
.btn-modal-add:active { transform: scale(0.97); }

/* ── Floating Cart Button (mobile) ───────────────────────────── */
.float-cart-btn {
  position: fixed;
  bottom: calc(1.5rem + var(--safe-bottom));
  right: 1.5rem;
  z-index: 250;
  display: none;
  align-items: center;
  gap: 0.6rem;
  background: var(--orange);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 0.85rem 1.4rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 8px 30px var(--orange-glow), 0 4px 12px rgba(0,0,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: pop 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes pop {
  from { transform: scale(0.6); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}

.float-cart-btn.visible { display: flex; }
.float-cart-btn:hover   { transform: translateY(-2px); box-shadow: 0 12px 35px var(--orange-glow); }
.float-cart-btn:active  { transform: scale(0.96); }

/* ── Toast ───────────────────────────────────────────────────── */
.store-toast {
  position: fixed;
  bottom: calc(5rem + var(--safe-bottom));
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-card2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  z-index: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
}

.store-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── Copiatodo Footer ────────────────────────────────────────── */
.store-footer {
  background: #0A0A10;
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem 1.5rem;
}

.store-footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.footer-brand-col img { height: 40px; width: auto; margin-bottom: 0.75rem; }
.footer-brand-name { font-size: 1.1rem; font-weight: 800; margin-bottom: 0.25rem; }
.footer-brand-tag { font-size: 0.75rem; color: var(--orange); font-weight: 600; margin-bottom: 0.75rem; }
.footer-brand-col p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.9rem;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.footer-social a:hover { color: var(--orange); background: rgba(249,115,22,0.1); border-color: var(--orange); }

.footer-col h4 { font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.5px; }

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.83rem; color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }

.footer-contact-row { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.82rem; color: var(--text-muted); line-height: 1.4; margin-bottom: 0.6rem; }
.footer-contact-row i { color: var(--orange); margin-top: 2px; flex-shrink: 0; }

.store-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-sub);
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .store-footer-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
}

@media (max-width: 640px) {
  .store-nav-links { display: none; }
  .store-nav-toggle { display: flex; }

  .store-nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem;
    gap: 0.5rem;
    z-index: 199;
  }

  .store-nav-links.open a { padding: 0.7rem 0; border-radius: 0; border-bottom: 1px solid var(--border); }

  .store-footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .float-cart-btn.visible { display: flex; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .store-hero { padding: 2rem 1.25rem 1.5rem; }
}

@media (max-width: 480px) {
  .store-search-container {
    gap: 0.45rem;
  }
  #store-search {
    padding: 0.75rem 0.85rem 0.75rem 2.4rem;
    font-size: 0.9rem;
  }
  .btn-store-filter {
    padding: 0.75rem 0.95rem;
    font-size: 0.88rem;
    gap: 0.35rem;
  }
  .filter-sheet-body {
    padding: 1rem 1rem 1.25rem;
  }
  .filter-chip {
    padding: 0.5rem 0.95rem;
    font-size: 0.88rem;
  }
}

@media (max-width: 380px) {
  .products-grid { grid-template-columns: 1fr; }
}


/* ══════════════════════════════════════════════════════════
   CHECKOUT MODAL — iOS style
══════════════════════════════════════════════════════════ */

.co-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.co-overlay.open { display: flex; }

.co-modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  animation: co-slide-up 0.3s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes co-slide-up {
  from { opacity: 0; transform: translateY(40px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

/* Header */
.co-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.co-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.co-title i { color: var(--orange); }
.co-close {
  background: var(--surface-2);
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}
.co-close:hover { background: var(--orange); color: white; }

/* Step indicator */
.co-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1rem;
  gap: 0;
  flex-shrink: 0;
  background: var(--surface-2);
}
.co-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 500;
  min-width: 52px;
  text-align: center;
}
.co-step.active { color: var(--orange); }
.co-step.done   { color: #22c55e; }

.co-step-dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s;
}
.co-step.active .co-step-dot { background: var(--orange); color: white; }
.co-step.done   .co-step-dot { background: #22c55e; color: white; }

.co-step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  min-width: 20px;
  margin-top: -16px; /* align with dot center */
}

/* Scrollable body */
.co-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem;
  scroll-behavior: smooth;
}
.co-body::-webkit-scrollbar { width: 4px; }
.co-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* Footer */
.co-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  background: var(--surface);
}

/* Section title inside body */
.co-section-title {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.co-section-title i { color: var(--orange); }

/* Form */
.co-form { display: flex; flex-direction: column; gap: 0.85rem; }
.co-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary, #A1A1AA);
  margin-bottom: 0.3rem;
}
.co-input,
.co-modal input,
.co-modal textarea,
.co-modal select {
  width: 100%;
  background: var(--surface-2, #242430) !important;
  border: 1.5px solid var(--border, rgba(255,255,255,0.12));
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  color: #FFFFFF !important;
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  box-sizing: border-box;
  caret-color: var(--orange, #F97316);
}
.co-input::placeholder,
.co-modal input::placeholder,
.co-modal textarea::placeholder {
  color: #8E8E93 !important;
  opacity: 1;
}
.co-input:focus,
.co-modal input:focus,
.co-modal textarea:focus,
.co-modal select:focus {
  border-color: var(--orange) !important;
  box-shadow: 0 0 0 3px rgba(249,115,22,0.25) !important;
  background: #2D2D3A !important;
  color: #FFFFFF !important;
}

/* Returning customer banner */
.co-returning-banner {
  background: linear-gradient(135deg, rgba(255,119,51,0.15), rgba(255,180,50,0.1));
  border: 1px solid rgba(255,119,51,0.3);
  border-radius: 10px;
  padding: 0.65rem 1rem;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-primary);
}
.co-returning-banner i { color: var(--orange); font-size: 1rem; }

/* Error */
.co-error {
  background: rgba(239,68,68,0.12);
  border: 1px solid rgba(239,68,68,0.3);
  border-radius: 8px;
  padding: 0.55rem 0.85rem;
  font-size: 0.84rem;
  color: #f87171;
  margin-bottom: 0.75rem;
}

/* Delivery tabs */
.co-delivery-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.co-delivery-tab {
  background: var(--surface-2);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 1rem 0.75rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  color: var(--text-secondary);
}
.co-delivery-tab i    { font-size: 1.4rem; color: var(--text-muted); }
.co-delivery-tab span { font-weight: 600; font-size: 0.9rem; color: var(--text-primary); }
.co-delivery-tab small{ font-size: 0.75rem; color: var(--text-muted); }
.co-delivery-tab:hover { border-color: var(--orange); transform: translateY(-2px); }
.co-delivery-tab.active {
  border-color: var(--orange);
  background: rgba(255,119,51,0.08);
}
.co-delivery-tab.active i { color: var(--orange); }

/* Option rows (zones, payments) */
.co-option-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  margin-bottom: 0.5rem;
}
.co-option-row input[type="radio"] { accent-color: var(--orange); width: 1rem; height: 1rem; flex-shrink: 0; }
.co-option-row:hover { border-color: rgba(255,119,51,0.4); }
.co-option-row.selected {
  border-color: var(--orange);
  background: rgba(255,119,51,0.07);
}

/* Pickup info card */
.co-pickup-info {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.88rem;
  color: var(--text-primary);
}

/* Summary blocks */
.co-summary-block {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}
.co-summary-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* WhatsApp confirm button */
.co-btn-whatsapp {
  width: 100%;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  border: none;
  border-radius: 14px;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.25rem;
  transition: opacity 0.2s, transform 0.15s;
}
.co-btn-whatsapp i { font-size: 1.2rem; }
.co-btn-whatsapp:hover { opacity: 0.9; transform: translateY(-1px); }
.co-btn-whatsapp:active { transform: translateY(0); }

/* Navigation buttons */
.co-btn-back {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem 1rem;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-family: inherit;
  cursor: pointer;
  display: flex; align-items: center; gap: 0.4rem;
  transition: background 0.2s;
}
.co-btn-back:hover { background: var(--border); }

.co-btn-next {
  background: var(--orange);
  border: none;
  border-radius: 10px;
  padding: 0.6rem 1.35rem;
  color: white;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: flex; align-items: center; gap: 0.4rem;
  transition: opacity 0.2s, transform 0.15s;
  margin-left: auto;
}
.co-btn-next:hover:not(:disabled) { opacity: 0.88; transform: translateY(-1px); }
.co-btn-next:disabled { opacity: 0.38; cursor: not-allowed; }

@media (max-width: 480px) {
  .co-modal { border-radius: 20px 20px 0 0; max-height: 96vh; }
  .co-overlay { align-items: flex-end; padding: 0; }
  .co-steps { padding: 0.65rem 0.75rem; }
  .co-step { min-width: 44px; font-size: 0.62rem; }
  .co-step-line { min-width: 12px; }
}


/* Product card image */
.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
  display: block;
}

/* ════════════════════════════════════════════════════════════
   OVERRIDES: Drawer navbar compartido (de main.css) en tienda
   El header de la tienda usa .store-navbar / #store-header,
   no #navbar, por lo que necesitamos algunos ajustes.
   ════════════════════════════════════════════════════════════ */

/* El store-navbar no tiene id="navbar" entonces
   el .navbar-toggle viene oculto por defecto en main.css
   → lo forzamos visible en mobile */
@media (max-width: 768px) {
  .store-navbar .navbar-toggle {
    display: flex !important;
  }

  /* El desktop nav se oculta en mobile dentro de la tienda */
  .store-navbar .navbar-menu {
    display: none !important;
  }
}

/* En desktop: el desktop nav se muestra dentro del store-navbar */
@media (min-width: 769px) {
  .store-navbar .navbar-menu {
    display: flex !important;
    position: static !important;
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
    height: auto !important;
    pointer-events: auto !important;
  }

  /* Compactar links para que quepan todos en una fila */
  .store-navbar .navbar-menu-links {
    gap: 0.1rem !important;
  }

  /* Links del desktop nav en el tema oscuro de la tienda */
  .store-navbar .navbar-link {
    color: var(--text-muted) !important;
    font-size: 0.8rem !important;
    padding: 0.4rem 0.6rem !important;
  }
  .store-navbar .navbar-link:hover,
  .store-navbar .navbar-link.active {
    color: var(--text) !important;
    background: rgba(255,255,255,0.06) !important;
  }

  /* Ocultar hamburger en desktop */
  .store-navbar .navbar-toggle {
    display: none !important;
  }
}

/* El z-index del store-navbar es 200; subimos el drawer y overlay
   por encima de todo en la tienda */
#navbar-menu  { z-index: 9999 !important; }
#navbar-overlay { z-index: 9998 !important; }

/* ── Unit Presentation Selector ────────────────────────────── */
.unit-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface-2);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
  text-align: left;
}
.unit-pill:hover {
  border-color: var(--orange, #f07720);
  background: rgba(240, 119, 32, 0.06);
}
.unit-pill.active {
  border-color: var(--orange, #f07720);
  background: rgba(240, 119, 32, 0.14);
  color: var(--orange, #f07720);
  box-shadow: 0 0 0 2px rgba(240, 119, 32, 0.25);
}
.unit-pill-price {
  font-weight: 700;
  font-size: 0.82rem;
  background: var(--surface);
  color: var(--text-primary);
  padding: 2px 6px;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: all 0.18s ease;
}
.unit-pill.active .unit-pill-price {
  background: var(--orange, #f07720);
  color: #fff;
  border-color: var(--orange, #f07720);
}
.unit-card-badge {
  font-size: 0.72rem;
  background: rgba(240, 119, 32, 0.12);
  color: var(--orange, #f07720);
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 3px;
}
.cart-unit-badge {
  font-size: 0.72rem;
  background: rgba(240, 119, 32, 0.12);
  color: var(--orange, #f07720);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  display: inline-block;
  margin-top: 2px;
}

/* ════════════════════════════════════════════════════════════════
   FILTER BOTTOM SHEET MODAL (SLIDE UP)
   ════════════════════════════════════════════════════════════════ */
.filter-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  visibility: hidden;
  transition: visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.filter-modal.open {
  visibility: visible;
  pointer-events: auto;
}

.filter-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-modal.open .filter-modal-backdrop {
  opacity: 1;
}

.filter-modal-sheet {
  position: relative;
  width: 100%;
  max-width: 580px;
  background: #11141f;
  border-top: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.65);
  max-height: 82vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  z-index: 2;
}

.filter-modal.open .filter-modal-sheet {
  transform: translateY(0);
}

.filter-sheet-drag {
  width: 44px;
  height: 5px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 5px;
  margin: 12px auto 6px;
  flex-shrink: 0;
}

.filter-sheet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.4rem 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}

.filter-sheet-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: -0.01em;
}

.filter-sheet-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--text-muted, #94a3b8);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-sheet-close:hover {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.filter-sheet-body {
  padding: 1.25rem 1.4rem 1.5rem;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.filter-sheet-section-header {
  margin-bottom: 0.95rem;
}

.filter-sheet-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: #f8fafc;
  display: block;
  letter-spacing: -0.01em;
}

.filter-sheet-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  padding: 0.65rem 1.25rem;
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  font-family: inherit;
  user-select: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.filter-chip i {
  font-size: 0.88rem;
  color: var(--orange, #f07720);
  opacity: 0.9;
}

.filter-chip:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
  transform: translateY(-1px);
}

.filter-chip.active {
  background: var(--orange, #f07720);
  border-color: var(--orange, #f07720);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(240, 119, 32, 0.45);
}

.filter-chip.active i {
  color: #ffffff;
  opacity: 1;
}

.filter-sheet-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.4rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0b0d14;
  flex-shrink: 0;
}

.btn-filter-clear {
  background: transparent;
  border: none;
  color: var(--text-muted, #94a3b8);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.6rem 0.75rem;
  transition: color 0.2s;
  font-family: inherit;
}

.btn-filter-clear:hover {
  color: #fff;
  text-decoration: underline;
}

.btn-filter-apply {
  background: var(--orange, #f07720);
  flex: 1;
  max-width: 220px;
  border: none;
  border-radius: 50px;
  padding: 0.85rem 1.5rem;
  color: #fff;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  text-align: center;
  box-shadow: 0 4px 16px rgba(240, 119, 32, 0.35);
}

.btn-filter-apply:hover {
  background: #e06610;
  box-shadow: 0 6px 20px rgba(240, 119, 32, 0.5);
  transform: translateY(-1px);
}

