/* ==========================================================================
   COMPRALIKES.ORG - MODERN REDESIGN 2026
   Top SEO & High-Converting UI/UX System
   ========================================================================== */

:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  --accent-green: #10b981;
  --accent-green-hover: #059669;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --ig-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  --tiktok-gradient: linear-gradient(135deg, #00f2fe 0%, #fe0979 100%);
  --youtube-red: #ef4444;
  --fb-blue: #1877f2;
  --twitter-dark: #0f1419;
  --spotify-green: #1db954;
  
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;
  --border-focus: #3b82f6;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.2);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Base resets & typography */
html {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  box-sizing: border-box !important;
  position: relative !important;
}

body.boxed, #wrapper {
  background-color: var(--bg-main) !important;
  font-family: var(--font-sans) !important;
  color: var(--text-main) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

img, video {
  max-width: 100%;
  height: auto;
}

iframe {
  max-width: 100%;
}

#wrapper {
  background: var(--bg-main) !important;
  box-shadow: none !important;
  margin: 0 auto !important;
  max-width: 100% !important;
  width: 100% !important;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.modern-top-bar {
  background: linear-gradient(90deg, #0f172a 0%, #1e293b 100%);
  color: #f8fafc;
  padding: 10px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-top-bar .top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.top-bar-features {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.top-bar-item .badge-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-actions a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 13px;
}

.top-bar-actions a:hover {
  color: #ffffff;
}

/* ==========================================================================
   MODERN HEADER & NAVIGATION
   ========================================================================== */
.modern-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.modern-header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.modern-logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.modern-logo-img {
  width: 38px !important;
  height: 38px !important;
  max-width: 38px !important;
  max-height: 38px !important;
  min-width: 38px !important;
  min-height: 38px !important;
  object-fit: contain !important;
  display: block !important;
  flex-shrink: 0 !important;
}

.modern-brand-text {
  display: flex;
  flex-direction: column;
}

.modern-brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #0f172a;
  line-height: 1.1;
}

.modern-brand-name span {
  color: var(--primary);
}

.modern-brand-tagline {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Navigation items */
.modern-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.modern-nav-link {
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.modern-nav-link:hover {
  background-color: var(--bg-card-hover);
  color: var(--primary);
}

.modern-nav-link.active {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
}

/* Quick social network selector pills */
.modern-nav-dropdown {
  position: relative;
}

.modern-nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  padding: 10px;
  display: none;
  z-index: 1010;
}

.modern-nav-dropdown:hover .modern-nav-dropdown-menu {
  display: block;
}

.modern-nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--text-main);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.modern-nav-dropdown-item:hover {
  background-color: var(--bg-card-hover);
  color: var(--primary);
  transform: translateX(3px);
}

/* Header actions: Cart & Account */
.modern-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modern-cart-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card-hover);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  text-decoration: none;
  color: var(--text-main);
  font-weight: 700;
  font-size: 14px;
  transition: all 0.2s;
}

.modern-cart-btn:hover {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.modern-cart-badge {
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-full);
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
}

.modern-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--text-main);
  background: #ffffff;
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
}

.modern-account-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.modern-cta-btn {
  background: var(--primary-gradient);
  color: #ffffff !important;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-size: 13px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.modern-cta-btn:hover {
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.4);
  transform: translateY(-1px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.modern-hero {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  padding: 60px 20px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.modern-hero::before {
  content: "";
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.12) 0%, rgba(248, 250, 252, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.modern-hero-inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.2);
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.hero-pill .star-icon {
  color: #f59e0b;
}

.modern-hero h1 {
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #0f172a;
  margin: 0 0 18px 0;
}

.modern-hero h1 .highlight {
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modern-hero p.hero-subtitle {
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 780px;
  margin: 0 auto 32px auto;
  font-weight: 400;
}

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

.btn-primary-large {
  background: var(--primary-gradient);
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary-large:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.4);
}

.btn-whatsapp-large {
  background: #25d366;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-whatsapp-large:hover {
  background: #1ebd5a;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(37, 211, 102, 0.4);
}

/* Trust features mini list */
.hero-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-trust-item svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

/* ==========================================================================
   METRICS COUNTER BAR
   ========================================================================== */
.modern-metrics-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 24px 20px;
}

.metrics-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.metric-card {
  padding: 12px;
}

.metric-number {
  font-size: 32px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 4px;
}

.metric-number span.gradient {
  background: linear-gradient(135deg, #2563eb, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   PLATFORM SHOWCASE & QUICK TABS
   ========================================================================== */
.platform-section {
  padding: 50px 20px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.section-tag {
  display: inline-block;
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  margin: 0 0 12px 0;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Grid of platform cards */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
}

.platform-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 24px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.platform-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(37, 99, 235, 0.4);
}

.platform-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  color: #475569;
}

.platform-card.featured .platform-badge {
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
}

.platform-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.platform-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 24px;
  flex-shrink: 0;
}

.platform-icon-wrap svg {
  width: 28px;
  height: 28px;
  display: block;
}

.platform-icon-ig { background: var(--ig-gradient); }
.platform-icon-tt { background: #000000; box-shadow: 2px 2px 0 #fe0979, -2px -2px 0 #00f2fe; }
.platform-icon-fb { background: var(--fb-blue); }
.platform-icon-yt { background: var(--youtube-red); }
.platform-icon-tw { background: var(--twitter-dark); }
.platform-icon-sp { background: var(--spotify-green); }
.platform-icon-more { background: linear-gradient(135deg, #6366f1, #a855f7); }

.platform-card-info h3 {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 4px 0;
  color: #0f172a;
}

.platform-card-info span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.platform-services-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.platform-services-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #475569;
  font-weight: 500;
}

.platform-services-list li svg {
  color: var(--accent-green);
  flex-shrink: 0;
}

.platform-card-btn {
  background: var(--bg-card-hover);
  color: var(--text-main);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.platform-card:hover .platform-card-btn {
  background: var(--primary-gradient);
  color: #ffffff;
}

/* ==========================================================================
   WHY CHOOSE US / FEATURES SECTION
   ========================================================================== */
.features-section {
  background: #ffffff;
  padding: 70px 20px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 40px;
}

.feature-box {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: all 0.2s ease;
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.3);
}

.feature-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-box h3 {
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 10px 0;
  color: #0f172a;
}

.feature-box p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   HOW IT WORKS (3 SIMPLE STEPS)
   ========================================================================== */
.steps-section {
  padding: 70px 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  position: relative;
}

.step-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.step-badge-num {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.step-card h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 16px 0 10px 0;
}

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

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   COMPARISON TABLE (CompraLikes vs Otros)
   ========================================================================== */
.comparison-section {
  background: #ffffff;
  padding: 70px 20px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.comparison-container {
  max-width: 900px;
  margin: 0 auto;
}

.comparison-table-wrap {
  margin-top: 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  box-shadow: var(--shadow-sm);
  background: #ffffff;
}

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

.modern-comp-table th {
  padding: 16px 20px;
  background: #f8fafc;
  text-align: left;
  font-weight: 700;
  color: #0f172a;
  border-bottom: 2px solid var(--border-color);
}

.modern-comp-table th.brand-col {
  background: rgba(37, 99, 235, 0.08);
  color: var(--primary);
  text-align: center;
}

.modern-comp-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  color: #334155;
}

.modern-comp-table td.brand-col {
  background: rgba(37, 99, 235, 0.02);
  font-weight: 700;
  color: #0f172a;
  text-align: center;
}

.modern-comp-table td.other-col {
  color: var(--text-muted);
  text-align: center;
}

.badge-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #10b981;
  font-weight: 700;
}

.badge-cross {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ef4444;
  font-weight: 600;
}

/* ==========================================================================
   SEO TOPICAL AUTHORITY CONTENT SECTION
   ========================================================================== */
.seo-content-section {
  padding: 70px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.seo-article {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.seo-article h2 {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  margin: 36px 0 16px 0;
  letter-spacing: -0.5px;
}

.seo-article h2:first-of-type {
  margin-top: 0;
}

.seo-article h3 {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin: 24px 0 12px 0;
}

.seo-article p {
  font-size: 15px;
  line-height: 1.75;
  color: #475569;
  margin: 0 0 16px 0;
}

.seo-article ul {
  padding-left: 20px;
  margin: 0 0 20px 0;
}

.seo-article ul li {
  font-size: 15px;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 8px;
}

.seo-callout {
  background: #f0fdf4;
  border-left: 4px solid #10b981;
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
}

.seo-callout p {
  color: #166534;
  font-weight: 500;
  margin: 0;
}

/* ==========================================================================
   CUSTOMER REVIEWS & SOCIAL PROOF
   ========================================================================== */
.reviews-section {
  background: var(--bg-main);
  padding: 70px 20px;
}

.reviews-grid {
  max-width: 1100px;
  margin: 36px auto 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

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

.review-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.review-stars {
  color: #f59e0b;
  font-size: 15px;
}

.review-platform-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  color: #475569;
}

.review-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #334155;
  margin: 0 0 16px 0;
  flex-grow: 1;
  font-style: italic;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-author-info {
  display: flex;
  flex-direction: column;
}

.review-author-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.review-verified {
  font-size: 12px;
  color: #10b981;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-section {
  padding: 70px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.faq-list {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(37, 99, 235, 0.4);
}

.faq-question {
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  user-select: none;
}

.faq-icon {
  font-size: 20px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px 24px;
  font-size: 14px;
  line-height: 1.7;
  color: #475569;
}

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

/* ==========================================================================
   MODERN CTA CONVERSION BANNER
   ========================================================================== */
.cta-banner-section {
  padding: 0 20px 70px;
  max-width: 1200px;
  margin: 0 auto;
}

.cta-banner-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  padding: 50px 30px;
  text-align: center;
  color: #ffffff;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.cta-banner-card h2 {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 900;
  margin: 0 0 12px 0;
  color: #ffffff;
}

.cta-banner-card p {
  font-size: 16px;
  color: #94a3b8;
  max-width: 650px;
  margin: 0 auto 30px auto;
  line-height: 1.6;
}

/* ==========================================================================
   MODERN FOOTER (Penalty-Free & Semantic)
   ========================================================================== */
.modern-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding-top: 60px;
  border-top: 1px solid #1e293b;
  font-size: 14px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 50px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  margin: 0 0 20px 0;
  letter-spacing: -0.2px;
}

.footer-brand p {
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-trust-badges {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-badge {
  background: #1e293b;
  border: 1px solid #334155;
  color: #e2e8f0;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.15s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-bottom-bar {
  background: #090d16;
  border-top: 1px solid #1e293b;
  padding: 24px 20px;
  color: #64748b;
  font-size: 13px;
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-inner a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-bottom-inner a:hover {
  color: #ffffff;
}

.footer-payments-list {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-payments-list img {
  height: 24px;
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.footer-payments-list img:hover {
  opacity: 1;
}

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 576px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON (PULSING)
   ========================================================================== */
.modern-floating-wa {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999999;
  background: #25d366;
  color: #ffffff !important;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.modern-floating-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.6);
}

.modern-floating-wa svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.modern-floating-wa::after {
  content: "";
  position: absolute;
  top: -4px;
  right: -4px;
  width: 14px;
  height: 14px;
  background: #10b981;
  border: 2px solid #ffffff;
  border-radius: 50%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  /* Eliminate any fixed Skeleton 960gs widths on mobile */
  .container,
  .container .column,
  .container .columns,
  .column,
  .columns,
  .one.column, .two.columns, .three.columns, .four.columns,
  .five.columns, .six.columns, .seven.columns, .eight.columns,
  .nine.columns, .ten.columns, .eleven.columns, .twelve.columns,
  .thirteen.columns, .fourteen.columns, .fifteen.columns, .sixteen.columns,
  [class*="column"] {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box !important;
    float: none !important;
  }

  .modern-top-bar {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    padding: 6px 12px !important;
    box-sizing: border-box !important;
  }

  .top-bar-inner {
    width: 100% !important;
    max-width: 100% !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 4px !important;
    overflow: hidden !important;
  }

  .top-bar-features {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 6px 10px !important;
    font-size: 11px !important;
    width: 100% !important;
  }

  .top-bar-actions {
    display: none !important;
  }

  /* Header mobile layout: strictly fits 100% width with 0 overflow */
  .modern-header {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .modern-header-container {
    padding: 10px 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }
  
  .modern-nav {
    display: none !important;
  }

  .modern-logo-area {
    gap: 8px !important;
    flex: 0 1 auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .modern-logo-img {
    width: 32px !important;
    height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    object-fit: contain !important;
    display: block !important;
    flex-shrink: 0 !important;
  }

  .modern-brand-text {
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .modern-brand-name {
    font-size: 17px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  .modern-brand-tagline {
    display: none !important;
  }

  .modern-header-actions {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    flex-shrink: 0 !important;
  }

  /* Hide redundant buttons in mobile header so width is always <= 320px */
  .modern-header-actions .header-search-btn {
    display: none !important;
  }

  .modern-header-actions .header-register-btn {
    display: none !important;
  }

  .modern-account-btn {
    padding: 6px 10px !important;
    font-size: 12px !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
  }

  .modern-cart-btn {
    padding: 6px 10px !important;
    font-size: 12px !important;
    gap: 4px !important;
    border-radius: 8px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  .header-cart-price {
    display: none !important;
  }

  .modern-cart-badge {
    margin-left: 2px !important;
  }

  /* Floating WhatsApp on mobile */
  .flotante {
    bottom: 76px !important;
    right: 14px !important;
  }

  .flotante img {
    width: 46px !important;
    height: 46px !important;
  }
}

/* ==========================================================================
   MOBILE-FIRST UX OPTIMIZATION & FAST ORDER SYSTEM
   ========================================================================== */

/* Mobile Network Stories Carousel */
.mobile-stories-wrapper {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 12px 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  display: flex;
  gap: 14px;
  align-items: center;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.mobile-stories-wrapper::-webkit-scrollbar {
  display: none;
}

.story-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  flex-shrink: 0;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}

.story-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  padding: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  transition: transform 0.2s ease;
}

.story-bubble.active .story-avatar,
.story-bubble:hover .story-avatar {
  background: var(--primary-gradient);
  transform: scale(1.06);
}

.story-avatar-inner {
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.story-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  white-space: nowrap;
}

/* Fast Order Wizard Box */
.fast-order-box {
  background: #ffffff;
  border-radius: 20px;
  border: 2px solid #e2e8f0;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
  padding: 24px;
  margin: 20px auto 30px;
  max-width: 680px;
  text-align: left;
}

.fast-order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.fast-order-header h3 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fast-order-step-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.5px;
  margin: 16px 0 10px 0;
}

/* Step 1: Network Tabs */
.wizard-net-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.wizard-net-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  user-select: none;
}

.wizard-net-btn:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.wizard-net-btn.active {
  background: rgba(37, 99, 235, 0.08);
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.wizard-net-icon {
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0 auto;
}

.wizard-net-icon svg {
  width: 24px;
  height: 24px;
  display: block;
}

.wizard-net-name {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
}

/* Step 2: Service Pills */
.wizard-service-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.wizard-service-pill {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.wizard-service-pill:hover {
  background: #f1f5f9;
}

.wizard-service-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

/* Step 3: Package Cards Grid */
.wizard-packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.wizard-pkg-card {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  user-select: none;
}

.wizard-pkg-card:hover {
  border-color: #94a3b8;
  transform: translateY(-2px);
}

.wizard-pkg-card.active {
  border-color: var(--primary);
  background: rgba(37, 99, 235, 0.03);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.wizard-pkg-badge {
  position: absolute;
  top: -9px;
  left: 50%;
  transform: translateX(-50%);
  background: #ef4444;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
  white-space: nowrap;
}

.wizard-pkg-qty {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.wizard-pkg-price {
  font-size: 17px;
  font-weight: 900;
  color: var(--primary);
}

/* Step 4: Action Button */
.wizard-action-area {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wizard-buy-btn {
  background: var(--primary-gradient);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
  transition: all 0.2s ease;
  width: 100%;
}

.wizard-buy-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.45);
}

.wizard-wa-btn {
  background: #25d366;
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 14px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  transition: all 0.2s ease;
}

.wizard-wa-btn:hover {
  background: #1ebd5a;
}

/* Mobile Sticky Bottom Nav */
.mobile-sticky-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  body.boxed {
    padding-bottom: 76px !important;
  }

  .modern-floating-wa {
    bottom: 84px !important;
    right: 16px !important;
    width: 50px !important;
    height: 50px !important;
  }
  
  .modern-floating-wa svg {
    width: 26px !important;
    height: 26px !important;
  }

  .mobile-sticky-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    height: 64px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid #e2e8f0;
    z-index: 99999;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    align-items: center;
    justify-content: space-around;
    padding: 0 8px;
  }

  .bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    color: #64748b;
    font-size: 11px;
    font-weight: 600;
    flex: 1;
    height: 100%;
    transition: color 0.15s ease;
    user-select: none;
  }

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

  .bottom-nav-icon {
    font-size: 20px;
    line-height: 1;
  }

  .bottom-nav-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    border-radius: 10px;
    padding: 2px 6px;
    line-height: 1;
  }

  .bottom-nav-wa {
    color: #16a34a !important;
  }

  .wizard-net-tabs {
    grid-template-columns: repeat(4, 1fr);
  }

  .fast-order-box {
    padding: 16px;
    margin: 16px 0;
    border-radius: 16px;
  }

  .modern-hero {
    padding: 30px 16px 20px !important;
  }

  .modern-hero h1 {
    font-size: 26px !important;
  }

  .modern-hero p.hero-subtitle {
    font-size: 15px !important;
    margin-bottom: 20px !important;
  }
}

/* ==========================================================================
   MODERN ADD-TO-CART SUCCESS MODAL & BOTTOM SHEET
   ========================================================================== */
.cart-success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
  animation: modalFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cart-success-dialog {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(15, 23, 42, 0.05);
  max-width: 440px;
  width: 100%;
  padding: 28px 24px;
  text-align: center;
  position: relative;
  box-sizing: border-box;
  animation: modalSlideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-success-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  padding: 0;
}

.cart-success-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.cart-success-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ecfdf5;
  border: 2px solid #a7f3d0;
  margin: 0 auto 16px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.1);
}

.cart-success-svg {
  width: 32px;
  height: 32px;
  animation: checkmarkPop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes checkmarkPop {
  0% { transform: scale(0.4); opacity: 0; }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}

.cart-success-title {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 6px 0;
  letter-spacing: -0.4px;
}

.cart-success-subtitle {
  font-size: 13.5px;
  color: #64748b;
  margin: 0 0 18px 0;
  line-height: 1.5;
  padding: 0 10px;
}

.cart-success-item-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  text-align: left;
}

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

.cart-success-item-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
  letter-spacing: 0.3px;
}

.cart-success-item-name {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-success-item-price {
  font-size: 18px;
  font-weight: 800;
  color: #10b981;
  white-space: nowrap;
  flex-shrink: 0;
}

.cart-success-trust {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.cart-success-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-btn-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  text-decoration: none !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 20px;
  border-radius: 14px;
  box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
}

.cart-btn-checkout:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -5px rgba(37, 99, 235, 0.5);
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
}

.cart-btn-continue {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #475569;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.cart-btn-continue:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #0f172a;
}

.cart-btn-wa {
  font-size: 12.5px;
  color: #16a34a !important;
  text-decoration: none;
  font-weight: 600;
  margin-top: 4px;
  display: inline-block;
  transition: color 0.15s;
}

.cart-btn-wa:hover {
  color: #15803d !important;
  text-decoration: underline;
}

/* Mobile responsive bottom sheet style */
@media (max-width: 540px) {
  .cart-success-overlay {
    align-items: flex-end;
    padding: 0;
  }
  
  .cart-success-dialog {
    border-radius: 28px 28px 0 0;
    max-width: 100%;
    padding: 24px 20px 32px 20px;
    animation: modalSlideUpMobile 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

@keyframes modalSlideUpMobile {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* SweetAlert Ultra-Modern Redesign */
.sweet-overlay {
  background-color: rgba(15, 23, 42, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 99999999 !important;
}

.sweet-alert {
  border-radius: 28px !important;
  padding: 32px 28px 28px !important;
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.35) !important;
  font-family: inherit !important;
  max-width: 90% !important;
  width: 410px !important;
  box-sizing: border-box !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin-left: 0 !important;
  margin-top: 0 !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  background: #ffffff !important;
  z-index: 999999999 !important;
  overflow: hidden !important;
}

/* Icon modernizations */
.sweet-alert .sa-icon {
  width: 72px !important;
  height: 72px !important;
  border-radius: 50% !important;
  margin: 4px auto 16px !important;
  box-sizing: border-box !important;
  position: relative !important;
}

/* Warning Icon: Soft amber circle with modern warning SVG badge */
.sweet-alert .sa-icon.sa-warning {
  background: #fffbeb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E") no-repeat center center / 38px 38px !important;
  border: 2px solid #fde68a !important;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.2) !important;
}

.sweet-alert .sa-icon.sa-warning .sa-body,
.sweet-alert .sa-icon.sa-warning .sa-dot {
  display: none !important;
}

/* Error Icon: Soft red circle with modern alert cross SVG */
.sweet-alert .sa-icon.sa-error {
  background: #fef2f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='15' y1='9' x2='9' y2='15'/%3E%3Cline x1='9' y1='9' x2='15' y2='15'/%3E%3C/svg%3E") no-repeat center center / 38px 38px !important;
  border: 2px solid #fecaca !important;
  box-shadow: 0 8px 24px rgba(239, 68, 68, 0.2) !important;
}

.sweet-alert .sa-icon.sa-error .sa-line,
.sweet-alert .sa-icon.sa-error .sa-placeholder,
.sweet-alert .sa-icon.sa-error .sa-fix {
  display: none !important;
}

/* Success Icon: Soft emerald circle with modern checkmark SVG */
.sweet-alert .sa-icon.sa-success {
  background: #f0fdf4 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/%3E%3Cpolyline points='22 4 12 14.01 9 11.01'/%3E%3C/svg%3E") no-repeat center center / 38px 38px !important;
  border: 2px solid #bbf7d0 !important;
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.2) !important;
}

.sweet-alert .sa-icon.sa-success .sa-line,
.sweet-alert .sa-icon.sa-success .sa-placeholder,
.sweet-alert .sa-icon.sa-success .sa-fix {
  display: none !important;
}

/* Info Icon: Soft blue circle with modern info SVG */
.sweet-alert .sa-icon.sa-info {
  background: #eff6ff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' y1='16' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12.01' y2='8'/%3E%3C/svg%3E") no-repeat center center / 38px 38px !important;
  border: 2px solid #bfdbfe !important;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2) !important;
}

.sweet-alert .sa-icon.sa-info::before,
.sweet-alert .sa-icon.sa-info::after {
  display: none !important;
}

/* Typography */
.sweet-alert h2 {
  font-size: 21px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  margin: 10px 0 8px 0 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
}

.sweet-alert p {
  font-size: 14px !important;
  color: #64748b !important;
  line-height: 1.55 !important;
  word-break: normal !important;
  white-space: normal !important;
  padding: 0 8px !important;
  margin-bottom: 22px !important;
}

/* Buttons */
.sweet-alert .sa-button-container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
}

.sweet-alert button {
  font-size: 14px !important;
  font-weight: 700 !important;
  padding: 13px 26px !important;
  border-radius: 14px !important;
  margin: 0 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  font-family: inherit !important;
}

.sweet-alert button.confirm {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35) !important;
  min-width: 140px !important;
}

.sweet-alert button.confirm:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.45) !important;
}

.sweet-alert button.cancel {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid #cbd5e1 !important;
  min-width: 110px !important;
}

.sweet-alert button.cancel:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

/* Inline Field Error States */
.checkout-input.field-error {
  border-color: #ef4444 !important;
  background-color: #fef2f2 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.18) !important;
  animation: inputShake 0.35s ease-in-out;
}

@keyframes inputShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-5px); }
  40%, 80% { transform: translateX(5px); }
}

.field-error-msg {
  display: none;
  font-size: 12px;
  font-weight: 700;
  color: #dc2626;
  margin-top: 6px;
  align-items: center;
  gap: 5px;
}

.field-error-msg.visible {
  display: flex !important;
}

/* ==========================================================================
   CATEGORY PAGE MOBILE-FIRST LAYOUT & FILTER CHIPS
   ========================================================================== */
.category-subnav-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.category-subnav-bar::-webkit-scrollbar {
  display: none;
}

.category-subnav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: nowrap;
}

.subnav-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  background: #f1f5f9;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid transparent;
}

.subnav-pill:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.subnav-pill.active {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
  font-weight: 700;
}

.category-content-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-top: 24px;
}

.category-sidebar-area {
  width: 270px;
  flex-shrink: 0;
  order: 1; /* Desktop: Sidebar on left */
}

.category-products-area {
  flex: 1;
  min-width: 0;
  order: 2; /* Desktop: Products on right */
}

.category-sidebar-summary {
  display: none !important;
}

.category-sidebar-collapsible {
  border: none;
  background: transparent;
}

@media (min-width: 769px) {
  .category-sidebar-collapsible > *:not(summary) {
    display: block !important;
  }
}

/* Mobile: Products FIRST, Widgets Collapsed Below */
@media (max-width: 768px) {
  .category-content-layout {
    flex-direction: column;
    gap: 20px;
    margin-top: 16px;
  }

  .category-products-area {
    order: 1 !important; /* PRODUCTS ALWAYS FIRST ON MOBILE! */
    width: 100% !important;
  }

  .category-sidebar-area {
    order: 2 !important; /* SIDEBAR WIDGETS BELOW PRODUCTS */
    width: 100% !important;
    margin-top: 16px;
  }

  .category-sidebar-collapsible {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  }

  .category-sidebar-summary {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    background: #f8fafc;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
  }

  .category-sidebar-summary:hover {
    background: #f1f5f9;
  }

  .category-sidebar-summary .summary-arrow {
    font-size: 16px;
    color: #64748b;
    transition: transform 0.2s ease;
  }

  .category-sidebar-collapsible[open] .category-sidebar-summary .summary-arrow {
    transform: rotate(180deg);
  }

  .category-sidebar-inner {
    padding: 16px;
    border-top: 1px solid #e2e8f0;
  }
}



/* ==========================================================================
   MODERN SHOPPING CART (/carrito) REDESIGN
   ========================================================================== */

.cart-page-wrapper {
  background: #f8fafc;
  min-height: 80vh;
  padding-bottom: 70px;
}

.cart-hero-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 40px 20px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-hero-header::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(59, 130, 246, 0.2) 0%, rgba(15, 23, 42, 0) 70%);
  pointer-events: none;
}

.cart-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cart-breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 12px;
}

.cart-breadcrumbs a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}

.cart-breadcrumbs a:hover {
  color: #ffffff;
}

.cart-hero-title {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 10px 0;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cart-hero-subtitle {
  font-size: 15px;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

.cart-hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 12px;
  color: #e2e8f0;
}

.cart-hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cart-main-container {
  max-width: 1200px;
  margin: -24px auto 0;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

/* Empty State Card */
.cart-empty-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
  padding: 60px 24px;
  text-align: center;
  max-width: 720px;
  margin: 30px auto;
}

.cart-empty-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 20px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.cart-empty-title {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px 0;
}

.cart-empty-desc {
  font-size: 15px;
  color: #64748b;
  max-width: 500px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.cart-empty-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cart-btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
  transition: all 0.2s ease;
}

.cart-btn-explore:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.4);
}

.cart-empty-cats-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #94a3b8;
  margin-bottom: 12px;
}

.cart-empty-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.cart-empty-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cart-empty-cat-pill:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  transform: translateY(-1px);
}

/* Active Cart Grid Layout */
.cart-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
  margin-top: 10px;
}

/* Left: Items Column */
.cart-items-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.cart-items-header {
  padding: 18px 24px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-items-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-items-count-badge {
  background: #2563eb;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
}

.cart-item-card-modern {
  display: flex;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid #f1f5f9;
  gap: 18px;
  transition: background 0.15s ease;
}

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

.cart-item-card-modern:hover {
  background: #fafbfc;
}

.cart-item-thumb-box {
  width: 62px;
  height: 62px;
  border-radius: 14px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  position: relative;
}

.cart-item-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.cart-item-net-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  margin-bottom: 4px;
}

.cart-item-name {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
  line-height: 1.3;
}

.cart-item-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

.cart-item-name a:hover {
  color: #2563eb;
}

.cart-item-link-note {
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
}

.cart-item-actions-group {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.cart-item-prices {
  text-align: right;
  flex-shrink: 0;
  min-width: 85px;
}

.cart-item-normal-striked {
  font-size: 12px;
  color: #94a3b8;
  text-decoration: line-through;
  margin-right: 4px;
  display: block;
}

.cart-item-unit-price {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}

.cart-item-unit-price.is-offer {
  color: #ef4444;
}

/* Quantity Control */
.cart-qty-picker {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.cart-qty-btn {
  background: #f8fafc;
  border: none;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: #334155;
  transition: all 0.15s ease;
  user-select: none;
}

.cart-qty-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.cart-qty-val {
  width: 36px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  border: none;
  background: transparent;
  pointer-events: none;
}

.cart-item-subtotal-box {
  text-align: right;
  flex-shrink: 0;
  min-width: 90px;
}

.cart-subtotal-label {
  font-size: 11px;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  margin-bottom: 2px;
}

.cart-subtotal-val {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.cart-item-remove-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.cart-item-remove-btn:hover {
  background: #fee2e2;
  color: #ef4444;
}

/* Guarantee Card below items */
.cart-guarantee-card {
  margin-top: 20px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.cart-guar-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.cart-guar-text h4 {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
}

.cart-guar-text p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

.cart-continue-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: #2563eb;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.cart-continue-link:hover {
  color: #1d4ed8;
  transform: translateX(-3px);
}

/* Right: Order Summary Sidebar */
.cart-summary-sidebar {
  position: sticky;
  top: 90px;
}

.cart-summary-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06);
  padding: 24px 22px;
}

.cart-summary-heading {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 18px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-summary-lines {
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 18px;
}

.cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #475569;
}

.cart-summary-row.savings {
  color: #16a34a;
  font-weight: 700;
}

.cart-free-tag {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
}

.cart-summary-divider {
  height: 1px;
  background: #e2e8f0;
  margin: 16px 0;
}

.cart-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 22px;
}

.cart-total-label {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.cart-total-amount {
  font-size: 28px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.cart-total-currency {
  font-size: 14px;
  font-weight: 700;
  color: #64748b;
  margin-left: 4px;
}

/* Call to Action Buttons */
.cart-btn-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 800;
  padding: 15px 20px;
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.35);
  transition: all 0.2s ease;
  box-sizing: border-box;
  text-align: center;
  margin-bottom: 12px;
}

.cart-btn-checkout:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(16, 185, 129, 0.45);
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.cart-btn-guest-checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: #f8fafc;
  color: #334155 !important;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: 12px;
  border: 1px solid #cbd5e1;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.15s ease;
  margin-bottom: 14px;
  text-align: center;
}

.cart-btn-guest-checkout:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
  color: #0f172a !important;
}

.cart-btn-wa-order {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: rgba(37, 211, 102, 0.1);
  color: #128c7e !important;
  border: 1px dashed #25d366;
  font-size: 13px;
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.15s ease;
  text-align: center;
  line-height: 1.3;
}

.cart-btn-wa-order:hover {
  background: #25d366;
  color: #ffffff !important;
}

/* Trust Perks in Summary */
.cart-trust-perks {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.cart-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

.cart-trust-item svg {
  color: #10b981;
  flex-shrink: 0;
}

/* Payment Icons in Summary */
.cart-payment-badges-wrap {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  text-align: center;
}

.cart-payment-badges-title {
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.cart-payment-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cart-payment-icons img {
  height: 20px;
  width: auto;
  opacity: 0.85;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .cart-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cart-summary-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .cart-hero-header {
    padding: 28px 16px 36px;
  }

  .cart-hero-title {
    font-size: 24px;
  }

  .cart-main-container {
    padding: 0 12px;
    margin-top: -16px;
  }

  .cart-items-header {
    padding: 14px 16px;
  }

  .cart-item-card-modern {
    display: grid;
    grid-template-columns: 50px 1fr 36px;
    grid-template-areas:
      "thumb details remove"
      "actions actions actions";
    gap: 12px;
    padding: 16px 14px;
    align-items: start;
  }

  .cart-item-thumb-box {
    grid-area: thumb;
    width: 50px;
    height: 50px;
    font-size: 22px;
    border-radius: 12px;
  }

  .cart-item-details {
    grid-area: details;
  }

  .cart-item-remove-btn {
    grid-area: remove;
    justify-self: end;
  }

  .cart-item-actions-group {
    grid-area: actions;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
    gap: 8px;
  }

  .cart-item-prices,
  .cart-item-subtotal-box {
    text-align: left;
    min-width: unset;
  }

  .cart-item-name {
    font-size: 15px;
  }

  .cart-summary-card {
    padding: 20px 16px;
  }

  .cart-total-amount {
    font-size: 24px;
  }
}


/* ==========================================================================
   MODERN CHECKOUT PAGE (/carrito/pagar)
   ========================================================================== */

.checkout-page-wrapper {
  background: #f8fafc;
  min-height: 80vh;
  padding-bottom: 70px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 390px;
  gap: 28px;
  align-items: start;
  margin-top: 10px;
}

.checkout-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  padding: 26px 28px;
  margin-bottom: 22px;
}

.checkout-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

.checkout-card-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-step-badge {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.checkout-card-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
  line-height: 1.25;
}

.checkout-card-subtitle {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
  margin-top: 2px;
  line-height: 1.35;
}

.checkout-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 4px 10px;
  border-radius: 9999px;
  white-space: nowrap;
}

.checkout-card-tag-delivery {
  color: #0d9488;
  background: #f0fdfa;
  border-color: #ccfbf1;
}

.checkout-card-tag-payment {
  color: #059669;
  background: #ecfdf5;
  border-color: #a7f3d0;
}

.checkout-help-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 4px 11px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.checkout-help-pill:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
  text-decoration: none;
  transform: translateY(-1px);
}

.checkout-security-box {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 11px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 9px;
}

.checkout-security-box .sec-icon {
  font-size: 17px;
  line-height: 1.2;
  flex-shrink: 0;
}

.checkout-security-box .sec-text {
  font-size: 12px;
  color: #166534;
  line-height: 1.45;
}

.checkout-security-box .sec-text strong {
  color: #14532d;
}

.checkout-field-group {
  margin-bottom: 18px;
}

.checkout-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.checkout-label .required-star {
  color: #ef4444;
  margin-left: 2px;
}

.checkout-hint {
  font-size: 12px;
  color: #64748b;
  margin-top: 4px;
  line-height: 1.4;
}

.checkout-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  color: #0f172a;
  box-sizing: border-box;
  transition: all 0.2s ease;
  font-family: inherit;
}

.checkout-input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.checkout-input-with-icon {
  position: relative;
}

.checkout-input-with-icon .input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #94a3b8;
  pointer-events: none;
}

.checkout-input-with-icon .checkout-input {
  padding-left: 42px;
}

/* Módulo Destacado de Cupón Promocional */
.checkout-coupon-card {
  background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
  border: 1.5px dashed #f59e0b;
  border-radius: 20px;
  padding: 20px 22px;
  margin-bottom: 22px;
  position: relative;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.08);
}

.checkout-coupon-card:hover {
  border-color: #d97706;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.12);
}

.checkout-coupon-card.coupon-applied {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1.5px solid #10b981;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.1);
}

.checkout-coupon-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.checkout-coupon-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-coupon-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(217, 119, 6, 0.25);
}

.checkout-coupon-title {
  font-size: 15px;
  font-weight: 800;
  color: #78350f;
  margin: 0;
  line-height: 1.25;
}

.checkout-coupon-subtitle {
  font-size: 11.5px;
  color: #92400e;
  margin: 2px 0 0 0;
  font-weight: 500;
}

.checkout-coupon-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 800;
  color: #b45309;
  background: #fde68a;
  border: 1px solid #fcd34d;
  padding: 3px 9px;
  border-radius: 9999px;
  white-space: nowrap;
}

.checkout-coupon-row {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.checkout-coupon-input-wrap {
  position: relative;
  flex: 1;
}

.checkout-coupon-input-wrap .coupon-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: #94a3b8;
  pointer-events: none;
}

.checkout-coupon-input-wrap .checkout-input {
  padding-left: 40px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.6px;
  border-color: #fcd34d;
  background: #ffffff;
}

.checkout-coupon-input-wrap .checkout-input:focus {
  border-color: #d97706;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.checkout-coupon-btn {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 0 22px;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
}

.checkout-coupon-btn:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.25);
  color: #ffffff;
}

.checkout-coupon-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  background: #10b981;
}

.checkout-coupon-success-pill {
  display: none;
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 10px;
  padding: 9px 13px;
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: #15803d;
  align-items: center;
  gap: 6px;
}

/* Country Selector */
.checkout-select {
  width: 100%;
  padding: 12px 16px;
  font-size: 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  color: #0f172a;
  box-sizing: border-box;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
}

.checkout-select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Payment Methods Grid */
.payment-methods-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.payment-card {
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  background: #ffffff;
  transition: all 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  user-select: none;
}

.payment-card:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.payment-card.active {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.payment-radio {
  margin-top: 3px;
  accent-color: #2563eb;
  width: 17px;
  height: 17px;
  cursor: pointer;
}

.payment-card-body {
  flex: 1;
}

.payment-card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
}

.payment-card-title {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 6px;
}

.payment-card-icons img {
  height: 18px;
  width: auto;
  vertical-align: middle;
}

.payment-card-desc {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
}

.payment-badge-popular {
  display: inline-block;
  background: #10b981;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 9999px;
  text-transform: uppercase;
}

/* Conekta Embedded Card Form */
.conekta-inline-form {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 16px;
  padding: 22px 20px;
  margin-top: 16px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.conekta-form-title {
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.conekta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.card-errors {
  color: #ef4444;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

/* Modal Help Url */
.checkout-help-modal {
  display: none;
  position: fixed;
  z-index: 999999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.checkout-help-dialog {
  background: #ffffff;
  border-radius: 20px;
  max-width: 560px;
  width: 100%;
  padding: 24px;
  position: relative;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
  .checkout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .payment-methods-grid {
    grid-template-columns: 1fr;
  }
  
  .conekta-row {
    grid-template-columns: 1fr;
  }

  .checkout-card {
    padding: 18px 14px;
    border-radius: 16px;
    margin-bottom: 16px;
  }

  .checkout-coupon-card {
    padding: 16px 14px;
    border-radius: 16px;
    margin-bottom: 16px;
  }

  .checkout-card-header {
    gap: 8px;
    margin-bottom: 14px;
    padding-bottom: 12px;
  }

  .checkout-card-title {
    font-size: 15.5px;
  }

  .checkout-coupon-row {
    flex-direction: column;
    gap: 10px;
  }

  .checkout-coupon-btn {
    width: 100%;
    padding: 12px;
  }
}

/* ==========================================================================
   SUPPRESS LEGACY NOTY ALERTS
   ========================================================================== */
#noty_bottomLeft_layout_container,
#noty_layout_bottomLeft,
.noty_container_type_success,
.noty_message,
.noty_bar,
.noty_theme_relax {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* ==========================================================================
   SOCIAL PROOF LIVE PURCHASES TOAST (NOTIFICACIONES EN VIVO)
   ========================================================================== */
.sp-toast {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 99998;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 18px;
  padding: 12px 36px 12px 14px;
  box-shadow: 0 14px 34px -4px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 360px;
  box-sizing: border-box;
  transform: translateY(120%) scale(0.92);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, visibility 0.4s ease;
  pointer-events: none;
  font-family: inherit;
}

.sp-toast.sp-toast-visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sp-toast-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.sp-toast-content {
  flex: 1;
  min-width: 0;
}

.sp-toast-buyer {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.sp-toast-location {
  color: #0f172a;
  font-weight: 800;
}

.sp-toast-product {
  font-size: 12.5px;
  color: #1e293b;
  line-height: 1.35;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sp-toast-product strong {
  color: #2563eb;
  font-weight: 800;
}

.sp-toast-meta {
  font-size: 11px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.sp-toast-verified {
  color: #16a34a;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.sp-toast-close {
  position: absolute;
  top: 8px;
  right: 8px;
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 18px;
  line-height: 1;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.sp-toast-close:hover {
  color: #0f172a;
  background: #f1f5f9;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .sp-toast {
    bottom: 74px;
    left: 10px;
    right: auto;
    max-width: calc(100% - 84px);
    padding: 10px 30px 10px 10px;
    border-radius: 14px;
  }
  
  .sp-toast-icon-wrap {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }

  .sp-toast-product {
    font-size: 12px;
  }

  .sp-toast-buyer {
    font-size: 10.5px;
  }

  .sp-toast-meta {
    font-size: 10px;
  }
}

/* ==========================================================================
   ULTRA-MODERN AUTH MODAL (INICIAR SESIÓN / REGISTRO / RECUPERACIÓN)
   ========================================================================== */
#cuenta.modal {
  display: none;
  position: fixed;
  z-index: 999999999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 20px 16px;
  box-sizing: border-box;
}

.auth-modal-dialog {
  background: #ffffff;
  margin: 40px auto;
  padding: 32px 28px 24px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 24px;
  box-shadow: 0 25px 60px -12px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 440px;
  position: relative;
  box-sizing: border-box;
  animation: authModalFade 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes authModalFade {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.auth-modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: rotate(90deg);
}

.auth-modal-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ffffff;
  margin: 0 auto 14px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28);
}

.auth-modal-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
  margin: 0 0 4px 0;
  line-height: 1.25;
}

.auth-modal-subtitle {
  font-size: 13px;
  color: #64748b;
  text-align: center;
  margin: 0 0 20px 0;
  line-height: 1.45;
}

/* Tabs Switcher */
.auth-tabs-row {
  display: flex;
  background: #f1f5f9;
  border-radius: 12px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 22px;
  border: 1px solid #e2e8f0;
}

.auth-tab-btn {
  flex: 1;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.auth-tab-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Fields & Groups */
.auth-field {
  margin-bottom: 16px;
}

.auth-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 6px;
}

.auth-input-wrap {
  position: relative;
}

.auth-input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #94a3b8;
  pointer-events: none;
}

.auth-input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border-radius: 12px;
  border: 1.5px solid #cbd5e1;
  font-size: 14px;
  color: #0f172a;
  box-sizing: border-box;
  transition: all 0.2s ease;
  background: #f8fafc;
  font-family: inherit;
}

.auth-input:focus {
  outline: none;
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.auth-pass-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #94a3b8;
  padding: 4px;
  line-height: 1;
}

.auth-pass-toggle:hover {
  color: #0f172a;
}

.auth-btn-primary {
  width: 100%;
  padding: 13px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  margin-bottom: 14px;
  font-family: inherit;
}

.auth-btn-primary:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.4);
}

.auth-footer-link {
  font-size: 13px;
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
}

.auth-footer-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.auth-divider {
  border-top: 1px solid #f1f5f9;
  margin: 18px 0 14px;
}

.auth-bottom-switch {
  font-size: 12.5px;
  color: #64748b;
  text-align: center;
}

.auth-bottom-switch a {
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
}

.auth-bottom-switch a:hover {
  text-decoration: underline;
}

.auth-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #f8fafc;
  font-size: 11px;
  color: #94a3b8;
  flex-wrap: wrap;
}

.auth-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 480px) {
  .auth-modal-dialog {
    margin: 20px auto;
    padding: 24px 18px 20px;
    border-radius: 20px;
  }
}

