/* ==========================================================================
   OGKEYDIGITAL — SISTEMA DE DISEÑO & ESTILOS TIENDA E-COMMERCE
   Paleta oficial:
   Primary: #FF8A00 | Primary Hover: #E87500 | Black: #111111 | White: #FFFFFF
   Background: #F6F7F9 | Text: #171717 | Muted: #6B7280 | Border: #E5E7EB | Success: #16A34A
   ========================================================================== */

:root {
  --primary: #FF8A00;
  --primary-hover: #E87500;
  --primary-light: rgba(255, 138, 0, 0.12);
  --dark: #111111;
  --dark-surface: #1a1a1a;
  --white: #FFFFFF;
  --bg: #F6F7F9;
  --text: #171717;
  --muted: #6B7280;
  --border: #E5E7EB;
  --border-hover: #CBD5E1;
  --success: #16A34A;
  --success-bg: #DCFCE7;
  --danger: #EF4444;
  --danger-bg: #FEE2E2;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 30px rgba(255, 138, 0, 0.25);
  
  --font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  max-width: 100vw;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* UTILITY LAYOUT */
.container {
  width: min(1280px, 92%);
  margin-left: auto;
  margin-right: auto;
}

.max-w-3xl { max-width: 768px; }
.max-w-4xl { max-width: 896px; }

.section {
  padding: 80px 0;
}

.text-center { text-align: center; }
.flex-1 { flex: 1; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.min-h-60 { min-height: 60vh; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.width-full { width: 100%; }

/* TOP BAR */
.topbar {
  background-color: var(--dark);
  color: #D1D5DB;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.topbar .dot {
  color: var(--primary);
}

/* HEADER STICKY */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav-container {
  height: 80px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.brand-logo img {
  height: 64px;
  width: auto;
  display: block;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-right: auto;
}

.nav-link {
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  padding: 8px 4px;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-hover);
}

.nav-link.offer-link {
  color: var(--primary);
  font-weight: 700;
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  color: var(--dark);
}

/* NAV ACTIONS */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background-color: var(--white);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
}

.action-btn:hover {
  border-color: var(--primary);
  color: var(--primary-hover);
  box-shadow: var(--shadow-sm);
}

.cart-action-btn {
  background-color: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

.cart-action-btn:hover {
  background-color: #222;
  color: var(--white);
  border-color: #222;
}

.whatsapp-action-btn {
  background-color: #25D366;
  color: #ffffff;
  border-color: #25D366;
  text-decoration: none;
}

.whatsapp-action-btn:hover {
  background-color: #1ebc59;
  border-color: #1ebc59;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.cart-count-badge {
  background-color: var(--primary);
  color: var(--dark);
  font-size: 12px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 2px;
}

.badge-bounce {
  animation: popBadge 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popBadge {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

/* BUTTON SYSTEM */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition);
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--dark);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-dark {
  background-color: var(--dark);
  color: var(--white);
}

.btn-dark:hover {
  background-color: #262626;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--dark);
  background-color: rgba(0, 0, 0, 0.02);
}

.btn-outline-light {
  background-color: transparent;
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.btn-outline-light:hover {
  border-color: var(--white);
  background-color: rgba(255, 255, 255, 0.08);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--white) !important;
  border-color: #25D366;
  font-weight: 700;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background-color: #1ebc59;
  border-color: #1ebc59;
  color: var(--white) !important;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.btn-icon-danger {
  color: var(--muted);
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-icon-danger:hover {
  color: var(--danger);
  background-color: var(--danger-bg);
}

/* HERO SECTION */
.hero-section {
  background-color: var(--dark);
  color: var(--white);
  padding: 90px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-badge-icon {
  width: 16px;
  height: 16px;
}

.hero-title {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: #9CA3AF;
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.trust-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #D1D5DB;
  font-weight: 500;
}

.trust-icon {
  color: var(--primary);
  display: flex;
}

/* HERO VISUAL STACK */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-glow {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 138, 0, 0.28) 0%, rgba(255, 138, 0, 0) 70%);
  filter: blur(50px);
}

.hero-card-stack {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 360px;
}

.hero-mini-card {
  background-color: var(--white);
  color: var(--text);
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
}

.hero-mini-card.card-1 {
  transform: rotate(-3deg) translateX(-10px);
}

.hero-mini-card.card-2 {
  transform: rotate(3deg) translateX(10px);
}

.hero-mini-card.card-3 {
  transform: rotate(-1deg) translateY(-10px);
}

.hero-mini-card:hover {
  transform: scale(1.04) rotate(0deg);
  z-index: 10;
}

.mini-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.card-icon-wrapper.win-bg { background-color: #EFF6FF; }
.card-icon-wrapper.off-bg { background-color: #FFF7ED; }
.card-icon-wrapper.anti-bg { background-color: #FEF2F2; }
.card-icon-wrapper.soft-bg { background-color: #FAF5FF; }

.card-icon-wrapper svg {
  width: 24px;
  height: 24px;
  display: block;
}

.mini-card-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background-color: #FFF7ED;
  color: var(--primary-hover);
  text-transform: uppercase;
}

.mini-card-info h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 2px;
}

.mini-card-info p {
  font-size: 13px;
  color: var(--muted);
}

.mini-card-footer {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.mini-card-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
}

.mini-card-old {
  font-size: 14px;
  color: var(--muted);
  text-decoration: line-through;
}

/* SECTION HEADERS */
.section-header {
  margin-bottom: 48px;
}

.section-header.flex-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.section-tag {
  color: var(--primary-hover);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.section-subtitle {
  font-size: 16px;
  color: var(--muted);
  margin-top: 6px;
}

/* CATEGORIES GRID */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.category-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.cat-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background-color: var(--bg);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}

.category-card:hover .cat-icon-box {
  background-color: var(--primary);
  color: var(--dark);
}

.cat-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}

.cat-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 20px;
}

.cat-count {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-hover);
  text-transform: uppercase;
}

.cat-arrow {
  position: absolute;
  top: 32px;
  right: 24px;
  color: var(--muted);
  transition: var(--transition);
}

.category-card:hover .cat-arrow {
  color: var(--primary);
  transform: translateX(4px);
}

/* PRODUCT CARD COMPONENT */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
}

.product-card-media {
  min-height: 256px;
  background-color: #F8FAFC;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  position: relative;
  padding: 12px 12px 14px;
}

.product-badges-row {
  width: 100%;
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  z-index: 3;
}

.product-media-link {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

.product-card:hover .product-icon-wrapper {
  transform: scale(1.1);
}

.product-icon-wrapper.windows { color: #2563EB; }
.product-icon-wrapper.office { color: #DC2626; }
.product-icon-wrapper.antivirus { color: #16A34A; }
.product-icon-wrapper.software { color: #9333EA; }

.product-badge {
  position: static;
  background-color: var(--primary);
  color: var(--dark);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.product-tag-badge {
  position: static;
  margin-left: auto;
  background-color: var(--dark);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.product-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}

.product-title a:hover {
  color: var(--primary-hover);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  margin-bottom: 14px;
}

.product-rating .stars {
  color: #F59E0B;
  display: flex;
}

.rating-value {
  font-weight: 700;
  color: var(--dark);
}

.reviews-count {
  color: var(--muted);
  font-size: 12px;
}

.product-price-box {
  margin-top: auto;
  padding-top: 12px;
}

.price-wrapper {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.old-price {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
}

.current-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
}

.product-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 16px;
}

/* OFFERS BANNER */
.offers-section {
  background-color: var(--dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px 0;
}

.offers-banner-content {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.offers-badge {
  background-color: rgba(255, 138, 0, 0.15);
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 16px;
}

.offers-banner-content h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
}

.offers-banner-content p {
  color: #9CA3AF;
  font-size: 17px;
  margin-bottom: 24px;
}

.offers-banner-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.offers-banner-grid .product-card {
  border-color: #333;
}

/* HOW IT WORKS */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* BENEFITS */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.benefit-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
}

.benefit-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background-color: var(--primary-light);
  color: var(--primary-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.benefit-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* REVIEWS */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: #F59E0B;
  display: flex;
  margin-bottom: 16px;
}

.review-text {
  font-size: 15px;
  color: #374151;
  line-height: 1.65;
  margin-bottom: 24px;
  font-style: italic;
}

.review-author {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

.review-author strong {
  font-size: 15px;
  color: var(--dark);
}

.review-author span {
  font-size: 12px;
  color: var(--success);
  font-weight: 600;
}

/* FAQ ACCORDION */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
  text-align: left;
}

.faq-icon {
  font-size: 20px;
  color: var(--primary-hover);
  transition: var(--transition);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* NEWSLETTER */
.newsletter-card {
  background-color: var(--dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 60px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.newsletter-content h2 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 8px;
}

.newsletter-content p {
  color: #9CA3AF;
  font-size: 16px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex: 1;
  max-width: 480px;
}

.newsletter-input {
  flex: 1;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid #333;
  background-color: #1F1F1F;
  color: var(--white);
  outline: none;
}

.newsletter-input:focus {
  border-color: var(--primary);
}

/* CATALOG MARKETPLACE LAYOUT */
.page-header {
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}

.page-header.bg-dark {
  background-color: var(--dark);
  color: var(--white);
}

.page-header.bg-dark .breadcrumb {
  color: #9CA3AF;
}

.page-header.bg-dark .page-title {
  color: var(--white);
}

.page-header.bg-dark .page-subtitle {
  color: #9CA3AF;
}

.breadcrumb {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 12px;
}

.breadcrumb a:hover {
  color: var(--primary-hover);
}

.page-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.page-subtitle {
  color: var(--muted);
  font-size: 16px;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: start;
}

/* SIDEBAR FILTERS */
.catalog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.filter-box {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.filter-box-header h3 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  color: #4B5563;
}

.filter-link:hover, .filter-link.active {
  background-color: var(--primary-light);
  color: var(--primary-hover);
}

.filter-link .count {
  font-size: 12px;
  background-color: var(--bg);
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.filter-link.offer-link {
  color: var(--primary-hover);
}

.filter-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
}

.filter-trust-info p {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

/* CATALOG TOOLBAR */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.toolbar-search {
  position: relative;
  flex: 1;
  max-width: 400px;
}

.toolbar-search .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

.toolbar-input {
  width: 100%;
  padding: 10px 14px 10px 42px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  outline: none;
}

.toolbar-input:focus {
  border-color: var(--primary);
}

.toolbar-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.toolbar-select {
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  outline: none;
  background-color: var(--white);
}

/* PRODUCT DETAIL VIEW */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.product-detail-media {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.detail-icon-display {
  width: 180px;
  height: 180px;
  border-radius: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.detail-icon-display.windows { background-color: #EFF6FF; color: #2563EB; }
.detail-icon-display.office { background-color: #FEF2F2; color: #DC2626; }
.detail-icon-display.antivirus { background-color: #F0FDF4; color: #16A34A; }
.detail-icon-display.software { background-color: #FAF5FF; color: #9333EA; }

.detail-main-icon {
  width: 100px;
  height: 100px;
}

.detail-discount-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background-color: var(--primary);
  color: var(--dark);
  font-weight: 800;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.media-trust-stamps {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  width: 100%;
  justify-content: center;
}

.stamp {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.detail-header-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.category-pill {
  background-color: var(--bg);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.status-pill {
  background-color: #FFF7ED;
  color: var(--primary-hover);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.detail-title {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 14px;
}

.detail-rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.detail-price-box {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}

.detail-current-price {
  font-size: 42px;
  font-weight: 800;
  color: var(--dark);
}

.detail-old-price {
  font-size: 20px;
  color: var(--muted);
  text-decoration: line-through;
}

.save-tag {
  background-color: var(--success-bg);
  color: var(--success);
  font-size: 13px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.detail-short-desc {
  font-size: 16px;
  color: #4B5563;
  line-height: 1.6;
  margin-bottom: 28px;
}

.detail-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 32px;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.spec-val {
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}

.detail-buy-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background-color: var(--white);
}

.qty-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}

.qty-number {
  width: 40px;
  text-align: center;
  font-weight: 800;
}

.detail-action-buttons {
  display: flex;
  gap: 14px;
}

.detail-support-note {
  display: flex;
  align-items: center;
  gap: 14px;
  background-color: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  color: #166534;
  font-size: 14px;
}

.detail-support-note svg {
  width: 28px;
  height: 28px;
  fill: #25D366;
  flex-shrink: 0;
}

/* PRODUCT TABS */
.product-tabs-container {
  margin-top: 60px;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.tabs-header {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}

.tab-btn {
  padding: 14px 20px;
  font-weight: 700;
  font-size: 16px;
  color: var(--muted);
  border-bottom: 3px solid transparent;
}

.tab-btn.active {
  color: var(--dark);
  border-bottom-color: var(--primary);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.tab-content h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 16px;
}

.detail-features-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.detail-features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
}

.activation-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.activation-steps li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15px;
}

.step-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--dark);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;

}

.disclaimer-box {
  background-color: var(--bg);
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-top: 24px;
}

/* CART VIEW */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 36px;
  align-items: start;
}

.cart-items-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.cart-header-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 16px;
  padding: 18px 24px;
  background-color: #F8FAFC;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
}

.cart-item-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.cart-item-row:last-child {
  border-bottom: none;
}

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-item-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background-color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;

}

.cart-item-cat {
  font-size: 11px;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
}

.cart-item-title {
  font-size: 16px;
  font-weight: 700;
}

.cart-item-badge {
  font-size: 11px;
  color: var(--primary-hover);
  font-weight: 600;
}

.cart-item-unit-price {
  display: flex;
  flex-direction: column;
}

.cart-item-unit-price .current {
  font-weight: 700;
}

.cart-item-unit-price .old {
  font-size: 12px;
  color: var(--muted);
  text-decoration: line-through;
}

.cart-bottom-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
}

/* CART & CHECKOUT SUMMARY SIDEBAR */
.summary-card, .order-summary-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);

}

.summary-card h3, .order-summary-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 15px;
  color: #4B5563;
}

.discount-line {
  color: var(--success);
  font-weight: 600;
}

.summary-divider {
  height: 1px;
  background-color: var(--border);
  margin: 18px 0;
}

.total-line {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
}

.total-amount {
  color: var(--dark);
  font-size: 26px;
}

.btn-checkout {
  margin-top: 20px;
}

.summary-guarantees {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.summary-guarantees p {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* CHECKOUT VIEW */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 36px;
  align-items: start;
}

.checkout-form-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.form-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.form-section-title .step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--dark);
  color: var(--white);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-section-title h2 {
  font-size: 20px;
  font-weight: 800;
}

.form-row {
  margin-bottom: 20px;
}

.form-row.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: #374151;
}

.form-control {
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  outline: none;
  background-color: var(--white);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 138, 0, 0.15);
}

.form-help {
  font-size: 12px;
  color: var(--muted);
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.payment-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition);
  background-color: var(--white);
}

.payment-card:hover, .payment-card.selected {
  border-color: var(--primary);
  background-color: var(--primary-light);
}

.pay-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.pay-sub {
  font-size: 11px;
  color: var(--muted);
}

.demo-checkout-notice {
  background-color: #FEF3C7;
  border: 1px solid #FCD34D;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  gap: 14px;
  font-size: 13px;
  color: #92400E;
  margin-bottom: 24px;
}

.terms-checkbox-group {
  margin-bottom: 28px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
}

/* CONFIRMATION VIEW */
.confirmation-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  margin: 0 auto;
}

.confirmation-header {
  text-align: center;
  margin-bottom: 36px;
}

.success-icon-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--success-bg);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;

}

.confirmation-header h1 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 8px;
}

.order-meta-banner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background-color: var(--bg);
  padding: 20px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 36px;
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 12px;
  color: var(--muted);
}

.status-badge.success {
  background-color: var(--success-bg);
  color: var(--success);
  font-size: 12px;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  width: fit-content;
}

.license-delivery-card {
  background-color: var(--dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 36px;
}

.license-delivery-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.demo-tag {
  background-color: var(--primary);
  color: var(--dark);
  font-size: 10px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-left: 8px;
}

.license-key-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background-color: #222;
  border: 1px dashed var(--primary);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 16px;
}

.key-code {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary);
}

.license-notice {
  font-size: 13px;
  color: #9CA3AF;
}

.confirmation-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* CUSTOMER ACCOUNT DASHBOARD */
.account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: start;
}

.account-sidebar {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.account-user-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--dark);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.account-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.account-menu .menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  color: #4B5563;
}

.account-menu .menu-item:hover, .account-menu .menu-item.active {
  background-color: var(--primary-light);
  color: var(--primary-hover);
}

.account-card-box {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.account-card-header {
  margin-bottom: 28px;
}

.order-card-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 16px;
}

.order-card-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
}

.order-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: 14px;
  font-size: 13px;
}

/* SUPPORT PAGE */
.support-channels-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 60px;
}

.channel-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.channel-icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background-color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.whatsapp-channel .channel-icon {
  background-color: #E8F5E9;
  color: #1FAA59;
}

.channel-card h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}

.channel-card p {
  color: var(--muted);
  margin-bottom: 24px;
}

/* ADMIN DASHBOARD PREVIEW */
.admin-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.metric-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.metric-title {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
}

.metric-val {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  margin: 6px 0;
}

.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.admin-table th, .admin-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.admin-table th {
  background-color: #F8FAFC;
  font-weight: 700;
  color: var(--muted);
}

/* MODAL OVERLAY SEARCH */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
}

.modal-overlay.hidden {
  display: none;
}

.search-modal-card {
  background-color: var(--white);
  width: min(720px, 92%);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 28px;
  color: var(--muted);
}

.search-modal-header h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 4px;
}

.search-input-wrapper {
  position: relative;
  margin: 20px 0;
}

.input-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
}

.global-search-input {
  width: 100%;
  padding: 16px 20px 16px 48px;
  border-radius: var(--radius-md);
  border: 2px solid var(--primary);
  font-size: 16px;
  outline: none;
}

.search-results-list {
  max-height: 380px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.search-item-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background-color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.search-tags {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.tag-btn {
  background-color: var(--bg);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
}

/* FLOATING WHATSAPP BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background-color: #1FAA59;
  color: var(--white);
  padding: 14px 22px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 15px;
  box-shadow: 0 10px 30px rgba(31, 170, 89, 0.4);
  z-index: 90;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 15px 35px rgba(31, 170, 89, 0.5);
}

/* TOAST NOTIFICATIONS */
.toast-wrapper {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  opacity: 0;
  z-index: 1100;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

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

.toast-content {
  background-color: var(--dark);
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.toast-error {
  background-color: var(--danger);
}

/* FOOTER */
.footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 80px 0 32px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  background-color: var(--white);
  padding: 6px 14px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.footer-logo {
  height: 60px;
  width: auto;
  display: block;
}

.footer-desc {
  color: #9CA3AF;
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.footer-col h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 20px;

}

.footer-col a {
  display: block;
  color: #9CA3AF;
  font-size: 14px;
  margin-bottom: 12px;
}

.footer-col a:hover {
  color: var(--primary);
}

/* ADMIN PANEL STYLES */
.admin-menu .menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.admin-menu .menu-item:hover {
  background-color: var(--bg-light);
  color: var(--primary);
}

.admin-menu .menu-item.active {
  background-color: #FFF3E5;
  color: var(--primary);
  border-left: 4px solid var(--primary);
  font-weight: 800;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 14px;
}

.admin-table th {
  background-color: #F9FAFB;
  color: #4B5563;
  font-weight: 700;
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid #E5E7EB;
}

.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #E5E7EB;
  vertical-align: middle;
}

.admin-table tr:hover {
  background-color: #F9FAFB;
}

.status-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.status-pill.success { background: #DCFCE7; color: #15803D; }
.status-pill.warning { background: #FEF3C7; color: #B45309; }
.status-pill.danger { background: #FEE2E2; color: #B91C1C; }

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #6B7280;
  text-align: center;
}

/* RESPONSIVE DESIGN (1024px, 768px, 430px) */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group, .trust-bar {
    justify-content: center;
  }
  .hero-visual {
    display: none;
  }
  .categories-grid, .product-grid, .steps-grid, .benefits-grid, .offers-banner-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .catalog-layout, .product-detail-layout, .cart-layout, .checkout-layout, .account-layout, .admin-layout {
    grid-template-columns: 1fr;
  }
  .catalog-sidebar {
    display: none;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .topbar { display: none; }
  .nav-container { height: 68px; }
  .mobile-menu-btn { display: block; }
  
  .main-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  
  .main-nav.open {
    display: flex;
  }
  
  .action-label {
    display: none;
  }
  
  .section {
    padding: 50px 0;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .categories-grid, .product-grid, .steps-grid, .benefits-grid, .reviews-grid, .offers-banner-grid, .support-channels-grid, .admin-metrics-grid {
    grid-template-columns: 1fr;
  }
  
  .cart-header-row {
    display: none;
  }
  
  .cart-item-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .detail-action-buttons, .payment-methods-grid, .form-row.grid-2 {
    grid-template-columns: 1fr;
  }
  
  .order-meta-banner {
    grid-template-columns: 1fr 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .whatsapp-float .wa-text {
    display: none;
  }
  
  .whatsapp-float {
    padding: 14px;
    border-radius: 50%;
  }
}

/* ==========================================================================
   RETAIL KEY CARD PRODUCT VISUALS (REALISTIC LICENSE GIFT CARDS)
   ========================================================================== */
.retail-card-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.retail-card-frame {
  width: 150px;
  height: 205px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2), 0 3px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 10px 8px;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.35s ease;
  user-select: none;
}

.retail-card-frame.photo-card {
  padding: 0;
  background-color: transparent;
}

.product-card:hover .retail-card-frame {
  transform: translateY(-6px) scale(1.05) rotate(1deg);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
}

.retail-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

/* HANGER HOLE CUTOUT SLOT AT TOP */
.card-hanger-hole {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 10px;
  border-radius: 5px;
  background-color: var(--white, #FFFFFF);
  box-shadow: inset 0 2px 3px rgba(0, 0, 0, 0.35);
  z-index: 5;
}

.card-top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  z-index: 2;
}

.card-brand-mark {
  display: flex;
  align-items: center;
  gap: 4px;
}

.ms-logo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  width: 10px;
  height: 10px;
}

.ms-red { background-color: #F25022; }
.ms-green { background-color: #7FBA00; }
.ms-blue { background-color: #00A4EF; }
.ms-yellow { background-color: #FFB900; }

.brand-text {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.card-tag-pill {
  font-size: 8px;
  font-weight: 900;
  color: #FFFFFF;
  padding: 2px 5px;
  border-radius: 3px;
  text-transform: uppercase;
}

.card-center-emblem {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 2px 0;
  z-index: 2;
}

.card-product-meta {
  text-align: center;
  z-index: 2;
}

.card-title-text {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 2px 0;
}

.card-sub-text {
  font-size: 9px;
  font-weight: 600;
  opacity: 0.9;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-footer-strip {
  margin-top: 2px;
  text-align: center;
  z-index: 2;
}

.scratch-key-sim {
  background: rgba(255, 255, 255, 0.25);
  border: 1px dashed rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  padding: 1px 3px;
  font-family: monospace;
  font-size: 7px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.05em;
}

.barcode-sim {
  font-family: monospace;
  font-size: 7px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 1px;
  margin-top: 1px;
}

/* LARGE DISPLAY IN PRODUCT DETAIL PAGE */
.detail-card-display {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.retail-card-container.large {
  padding: 16px;
}

.retail-card-container.large .retail-card-frame {
  width: 220px;
  height: 300px;
  padding: 16px 14px;
  border-radius: 16px;
}

.retail-card-container.large .card-hanger-hole {
  width: 60px;
  height: 14px;
  top: 10px;
}

.retail-card-container.large .card-title-text {
  font-size: 18px;
}

.retail-card-container.large .card-sub-text {
  font-size: 12px;
}

.retail-card-container.large .brand-text {
  font-size: 13px;
}

.retail-card-container.large .card-tag-pill {
  font-size: 11px;
  padding: 3px 8px;
}


/* ==========================================================================
   MOBILE RESPONSIVE — 480px y 390px
   ========================================================================== */

/* Contenedores globales: prevenir cualquier overflow horizontal */
*, *::before, *::after {
  max-width: 100%;
}

section, .section, .container, main, footer, header {
  overflow-x: hidden;
}

@media (max-width: 480px) {
  /* TIPOGRAFÍA */
  .hero-title {
    font-size: 28px !important;
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .section {
    padding: 36px 0;
  }

  /* HERO — ocultar visual stack en móvil pequeño */
  .hero-visual {
    display: none !important;
  }

  .hero-section {
    padding: 60px 0 70px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .trust-bar {
    justify-content: center;
    gap: 14px;
  }

  /* GRIDS — siempre 1 columna en móvil */
  .product-grid,
  .offers-banner-grid,
  .steps-grid,
  .benefits-grid,
  .categories-grid,
  .reviews-grid,
  .support-channels-grid,
  .admin-metrics-grid {
    grid-template-columns: 1fr !important;
  }

  /* CATÁLOGO */
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  .catalog-sidebar {
    display: none;
  }

  /* NAVEGACIÓN */
  .nav-container {
    gap: 12px;
    padding: 0 16px;
  }

  .brand-logo img {
    height: 52px;
  }

  .nav-actions {
    gap: 8px;
  }

  .action-btn {
    padding: 8px 12px;
    font-size: 13px;
  }

  .action-label {
    display: none;
  }

  /* BOTONES */
  .btn-lg {
    padding: 14px 22px;
    font-size: 15px;
  }

  /* PRODUCT CARD — botones apilados */
  .product-card-actions {
    grid-template-columns: 1fr;
  }

  .product-card-media {
    height: 200px;
  }

  /* FOOTER */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    font-size: 12px;
  }

  /* OFFERS SECTION */
  .offers-banner-content h2 {
    font-size: 26px;
  }

  /* WHATSAPP FLOAT */
  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    padding: 12px;
    border-radius: 50%;
    gap: 0;
  }

  .whatsapp-float .wa-text {
    display: none;
  }

  /* DETALLE PRODUCTO */
  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-action-buttons {
    grid-template-columns: 1fr;
  }

  /* FORMULARIO SOPORTE */
  .form-row.grid-2 {
    grid-template-columns: 1fr;
  }

  /* RETAIL CARD — ajustar para no desbordar */
  .retail-card-container.large .retail-card-frame {
    width: 180px;
    height: 245px;
  }

  /* TOPBAR — siempre oculto en móvil pequeño */
  .topbar {
    display: none;
  }

  /* HEADER WHATSAPP BTN */
  .whatsapp-action-btn .action-label {
    display: none;
  }
}

@media (max-width: 390px) {
  /* Tipografía aún más pequeña */
  .hero-title {
    font-size: 24px !important;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .section {
    padding: 28px 0;
  }

  .hero-section {
    padding: 48px 0 56px;
  }

  /* Container más estrecho */
  .container {
    width: 94%;
  }

  /* Product card más compacta */
  .product-card-body {
    padding: 14px;
  }

  .current-price {
    font-size: 20px;
  }

  /* Pasos */
  .step-card {
    padding: 20px 16px;
  }

  .step-number {
    font-size: 26px;
  }

  /* Benefit card */
  .benefit-card {
    padding: 20px 16px;
  }

  /* Retail card pequeña */
  .retail-card-container.large .retail-card-frame {
    width: 160px;
    height: 220px;
  }

  /* Botones full width en mobile xs */
  .btn {
    padding: 11px 18px;
    font-size: 14px;
  }

  .nav-container {
    height: 60px;
  }

  .brand-logo img {
    height: 44px;
  }
}
