/* ===========================
   DISCOVERY GAMES - STYLE.CSS
   =========================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #00c8ff;
  --secondary: #7b2fff;
  --dark: #050d1a;
  --dark2: #0a1628;
  --dark3: #0f1f3d;
  --card-bg: #0d1b30;
  --text: #e0eaff;
  --text-muted: #7a90b8;
  --border: #1a2d4f;
  --success: #00e676;
  --warning: #ff6b35;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--dark);
  color: var(--text);
  min-height: 100vh;
}

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

/* ===== TOP BAR ===== */
.top-bar {
  background: #020810;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.top-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: var(--text-muted);
}
.top-bar-right {
  display: flex;
  gap: 15px;
  align-items: center;
}
.top-bar-right a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  transition: color 0.2s;
}
.top-bar-right a:hover { color: var(--primary); }
.btn-cadastro {
  background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
  color: #fff !important;
  padding: 5px 14px !important;
  border-radius: 20px !important;
  font-weight: 600 !important;
}

/* ===== HEADER ===== */
header {
  background: linear-gradient(180deg, #020810 0%, var(--dark2) 100%);
  padding: 18px 0 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 16px;
}

/* ===== LOGO ===== */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo img {
  height: 54px;
  filter: drop-shadow(0 0 12px rgba(0,200,255,0.5));
}
.logo-text {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1px;
}

/* ===== SEARCH BAR ===== */
.search-bar {
  flex: 1;
  max-width: 520px;
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color 0.2s;
}
.search-bar:focus-within { border-color: var(--primary); }
.search-bar input {
  flex: 1;
  background: var(--dark3);
  border: none;
  outline: none;
  padding: 11px 16px;
  color: var(--text);
  font-size: 14px;
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar button {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  padding: 0 18px;
  cursor: pointer;
  color: #fff;
  font-size: 16px;
  transition: opacity 0.2s;
}
.search-bar button:hover { opacity: 0.85; }

/* ===== HEADER ACTIONS ===== */
.header-actions { display: flex; align-items: center; gap: 16px; }
.action-btn {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 9px 14px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s;
  position: relative;
}
.action-btn:hover { border-color: var(--primary); color: var(--primary); }
.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--warning);
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ===== NAVIGATION ===== */
nav { background: var(--dark3); border-top: 1px solid var(--border); }
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
}
.nav-item {
  position: relative;
  padding: 14px 16px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: color 0.2s;
  border-bottom: 3px solid transparent;
  user-select: none;
  white-space: nowrap;
}
.nav-item:hover,
.nav-item.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.nav-item .arrow { font-size: 10px; }
.nav-badge {
  background: var(--warning);
  color: #fff;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 10px;
  font-weight: 700;
}

/* ===== DROPDOWN ===== */
.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 0 0 10px 10px;
  min-width: 220px;
  z-index: 200;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.nav-item:hover .dropdown { display: block; }
.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  transition: all 0.2s;
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover {
  color: var(--primary);
  background: var(--dark3);
  padding-left: 24px;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #020810 0%, #0a1628 40%, #0d0f2a 100%);
  padding: 50px 20px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(123,47,255,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 200px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,200,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.hero-content { max-width: 540px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,200,255,0.1);
  border: 1px solid rgba(0,200,255,0.3);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 600;
}
.hero h1 {
  font-size: 40px;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 28px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 32px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat-value {
  font-size: 26px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  flex-shrink: 0;
}
.mini-card {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 20px 16px;
  width: 145px;
  text-align: center;
  transition: transform 0.2s;
  cursor: pointer;
}
.mini-card:hover { transform: translateY(-4px); }
.mini-card .mc-icon { font-size: 32px; margin-bottom: 8px; }
.mini-card .mc-name { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.85); }

/* ===== BUTTONS ===== */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 4px 20px rgba(0,200,255,0.3);
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  border: 2px solid var(--primary);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}
.btn-outline:hover { background: rgba(0,200,255,0.1); transform: translateY(-2px); }
.btn-full { width: 100%; justify-content: center; }
.btn-lg { font-size: 16px; padding: 15px 28px; }

/* ===== TRUST BAR ===== */
.trust-bar {
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
}
.trust-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 13px;
}
.trust-item .ti-icon { font-size: 22px; color: var(--primary); }
.trust-item strong { color: var(--text); display: block; font-size: 13px; }

/* ===== MAIN ===== */
main { max-width: 1280px; margin: 0 auto; padding: 40px 20px; }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.section-title {
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 2px;
  flex-shrink: 0;
}
.see-all {
  color: var(--primary);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
}
.see-all:hover { gap: 9px; }

/* ===== CATEGORIES ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 40px;
}
.cat-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
}
.cat-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 8px 30px rgba(0,200,255,0.15);
}
.cat-icon { font-size: 36px; margin-bottom: 10px; }
.cat-name { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.cat-count { font-size: 11px; color: var(--text-muted); }

/* ===== PROMO BANNERS ===== */
.promo-banners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 40px;
}
.promo-banner {
  border-radius: 14px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
}
.promo-banner:hover { transform: translateY(-3px); }
.promo-banner-1 { background: linear-gradient(135deg, #003087 0%, #7b2fff 100%); }
.promo-banner-2 { background: linear-gradient(135deg, #8b0000 0%, #ff6b35 100%); }
.pb-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 8px;
}
.promo-banner h3 { font-size: 22px; font-weight: 900; margin-bottom: 6px; }
.promo-banner p { font-size: 13px; opacity: 0.8; margin-bottom: 16px; }
.pb-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.pb-cta:hover { background: rgba(255,255,255,0.3); }
.promo-bg-icon {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 80px;
  opacity: 0.12;
  pointer-events: none;
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin-bottom: 50px;
}
.product-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s;
  cursor: pointer;
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 12px 40px rgba(0,200,255,0.15);
}

/* ===== PRODUCT BADGE ===== */
.product-badge {
  position: absolute;
  top: 10px; left: 10px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  z-index: 2;
}
.badge-hot   { background: #ff3d00; color: #fff; }
.badge-new   { background: var(--primary); color: #000; }
.badge-sale  { background: var(--warning); color: #fff; }
.badge-promo { background: var(--secondary); color: #fff; }

/* ===== PRODUCT IMAGE ===== */
.product-img {
  width: 100%;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  position: relative;
  overflow: hidden;
}
.product-img .card-logo  { font-size: 36px; }
.product-img .card-value { font-size: 16px; font-weight: 900; color: rgba(255,255,255,0.9); }

/* CARD SHINE ANIMATION */
.card-shine {
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shine 3s infinite;
}
@keyframes shine {
  0%   { left: -100%; }
  50%  { left: 150%;  }
  100% { left: 150%;  }
}

/* PLATFORM BACKGROUNDS */
.ps-bg       { background: linear-gradient(135deg, #003087, #0070d1); }
.xbox-bg     { background: linear-gradient(135deg, #0a3d0a, #107c10); }
.nintendo-bg { background: linear-gradient(135deg, #8b0000, #e4000f); }
.google-bg   { background: linear-gradient(135deg, #1a1a2e, #4285f4); }
.apple-bg    { background: linear-gradient(135deg, #1c1c1e, #555555); }
.steam-bg    { background: linear-gradient(135deg, #1b2838, #2a475e); }
.roblox-bg   { background: linear-gradient(135deg, #cc0000, #ff4444); }
.fortnite-bg { background: linear-gradient(135deg, #1a0533, #7b2fff); }
.minecraft-bg{ background: linear-gradient(135deg, #1a4d1a, #4caf50); }

/* ===== PRODUCT INFO ===== */
.product-info { padding: 14px; }
.product-platform {
  font-size: 10px;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.product-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.3;
  min-height: 34px;
}
.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 8px;
}
.stars { color: #ffd700; font-size: 11px; }
.rating-count { font-size: 10px; color: var(--text-muted); }
.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.price-old {
  font-size: 11px;
  color: var(--text-muted);
  text-decoration: line-through;
}
.price-new { font-size: 18px; font-weight: 900; color: var(--success); }
.btn-add-cart {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: 8px;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  transition: all 0.2s;
  flex-shrink: 0;
}
.btn-add-cart:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 15px rgba(0,200,255,0.4);
}

/* ===== NO RESULTS ===== */
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  grid-column: 1 / -1;
}
.no-results .nr-icon { font-size: 60px; margin-bottom: 16px; }
.no-results h3 { font-size: 20px; color: var(--text); margin-bottom: 8px; }

/* ===== CART OVERLAY ===== */
.cart-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 400;
}
.cart-overlay.active { display: block; }

/* ===== CART DRAWER ===== */
.cart-drawer {
  position: fixed;
  top: 0; right: -420px;
  width: 400px; height: 100%;
  background: var(--dark2);
  border-left: 1px solid var(--border);
  z-index: 500;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0,0,0,0.4);
}
.cart-drawer.open { right: 0; }
.cart-drawer-header {
  padding: 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-drawer-header h3 { font-size: 18px; font-weight: 700; }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 20px; }
.cart-empty { text-align: center; padding: 40px 20px; color: var(--text-muted); }
.cart-empty .ce-icon { font-size: 50px; margin-bottom: 14px; }
.cart-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-thumb {
  width: 50px; height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 13px; font-weight: 600; margin-bottom: 4px; line-height: 1.3; }
.cart-item-price { font-size: 14px; font-weight: 800; color: var(--success); }
.cart-item-qty { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 18px;
  transition: color 0.2s;
  padding: 4px;
}
.cart-item-remove:hover { color: #ff3d00; }
.cart-drawer-footer {
  padding: 20px;
  border-top: 1px solid var(--border);
}
.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.cart-total span:first-child { font-size: 15px; font-weight: 600; }
.cart-total-value { font-size: 24px; font-weight: 900; color: var(--success); }
.btn-checkout {
  width: 100%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: 10px;
  padding: 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}
.btn-checkout:hover { opacity: 0.9; }

/* ===== MODALS ===== */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.75);
  z-index: 1000;
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  max-width: 480px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { transform: scale(0.9); opacity: 0; }
  to   { transform: scale(1);   opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--dark3);
  border: none;
  color: var(--text);
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover { background: var(--border); }

/* ===== MODAL TABS ===== */
.modal-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.modal-tab {
  flex: 1;
  padding: 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  color: var(--text-muted);
  transition: all 0.2s;
}
.modal-tab.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content { display: none; }
.tab-content.active { display: block; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.form-group input {
  width: 100%;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 11px 14px;
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus { border-color: var(--primary); }
.form-group input::placeholder { color: var(--text-muted); }
.form-footer { display: flex; justify-content: flex-end; margin-bottom: 16px; }
.form-link { color: var(--primary); text-decoration: none; font-size: 12px; }

/* ===== PRODUCT MODAL ===== */
.pmodal-img {
  width: 100%;
  height: 160px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
}
.pmodal-cat {
  font-size: 11px;
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  text-align: center;
}
.pmodal-name  { font-size: 20px; font-weight: 800; margin-bottom: 8px; text-align: center; }
.pmodal-desc  { color: var(--text-muted); font-size: 13px; margin-bottom: 12px; line-height: 1.6; text-align: center; }
.pmodal-old   { font-size: 14px; color: var(--text-muted); text-decoration: line-through; text-align: center; margin-bottom: 4px; }
.pmodal-price { font-size: 34px; font-weight: 900; color: var(--success); margin-bottom: 16px; text-align: center; }

/* ===== QTY SELECTOR ===== */
.qty-selector {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}
.qty-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--dark3);
  color: var(--text);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.qty-btn:hover { border-color: var(--primary); color: var(--primary); }
.qty-value { font-size: 22px; font-weight: 800; min-width: 36px; text-align: center; }

/* ===== TOAST ===== */
.toast {
  position: fixed;
  bottom: 30px; right: 30px;
  background: var(--dark2);
  border: 1px solid var(--primary);
  border-radius: 10px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 30px rgba(0,200,255,0.2);
  max-width: 320px;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ===== FOOTER ===== */
footer {
  background: #020810;
  border-top: 1px solid var(--border);
  padding: 50px 20px 20px;
  margin-top: 20px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
  margin: 14px 0 16px;
}
.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: var(--text-muted);
}
.social-link:hover { border-color: var(--primary); color: var(--primary); }
.footer-col h4 { font-size: 14px; font-weight: 700; margin-bottom: 16px; color: var(--text); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-bottom p { color: var(--text-muted); font-size: 12px; }
.payment-icons { display: flex; gap: 8px; flex-wrap: wrap; }
.payment-icon {
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 700;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .products-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-cards { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-banners { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
  .hero-stats { gap: 16px; }
  .top-bar-left { display: none; }
  .cart-drawer { width: 100%; right: -100%; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .header-inner { flex-wrap: wrap; }
  .search-bar { max-width: 100%; order: 3; width: 100%; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}
/* ===== ÍCONES DE PLATAFORMA ===== */
.platform-icon {
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
  transition: transform 0.2s;
}
.product-card:hover .platform-icon {
  transform: scale(1.08);
}
.card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 4px;
}
.modal-icon {
  width: 70px;
  height: 70px;
}
.cart-icon {
  width: 28px;
  height: 28px;
}