/* ==========================================================================
   MARUBI — DTC Modern Tech & Utility
   Design System & E-Commerce Storefront Stylesheet
   ========================================================================== */

:root {
  /* Brand Colors */
  --primary-navy: #001737;
  --primary-container: #062c59;
  --navy-surface: #F0F5FA;
  --navy-hover: #041f3f;
  
  --accent-orange: #ff6126;
  --accent-orange-hover: #e54f18;
  --accent-orange-light: #fff3ed;
  
  /* Neutral Ink & Backgrounds */
  --text-primary: #111827;
  --text-secondary: #43474f;
  --text-muted: #9ca3af;
  --surface-page: #ffffff;
  --surface-secondary: #f7f8fa;
  --surface-tertiary: #f0f2f5;
  --border-subtle: #e5e7eb;
  --border-strong: #d1d5db;

  /* Utility Colors */
  --whatsapp-green: #25d366;
  --whatsapp-green-hover: #1ebd5a;
  --success: #16a34a;
  --error: #ba1a1a;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 3px rgba(6, 44, 89, 0.04), 0 4px 12px rgba(6, 44, 89, 0.02);
  --shadow-md: 0 4px 16px rgba(6, 44, 89, 0.08), 0 1px 4px rgba(6, 44, 89, 0.04);
  --shadow-lg: 0 12px 32px rgba(6, 44, 89, 0.14), 0 4px 8px rgba(6, 44, 89, 0.04);
  --shadow-orange: 0 4px 16px rgba(255, 97, 38, 0.28);
  --shadow-whatsapp: 0 6px 20px rgba(37, 211, 102, 0.35);

  /* Border Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 9999px;

  /* Animation Easing */
  --ease-editorial: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-primary);
  background-color: #0b1523; /* Dark ambient canvas for desktop presentation */
  line-height: 1.5;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #0b1523;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  user-select: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

a {
  color: inherit;
  text-decoration: none;
}

/* App Viewport Container (Mobile-First Discipline + Desktop Framing) */
.app-container {
  width: 100%;
  max-width: 480px; /* Precise mobile frame, can be switched or view expanded */
  background-color: var(--surface-page);
  min-height: 100vh;
  position: relative;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  transition: max-width 0.35s var(--ease-editorial);
}

/* Viewport Toggle Switcher (Top Floating bar for testing mobile vs wide layout) */
.viewport-switcher {
  position: fixed;
  top: 12px;
  right: 16px;
  z-index: 999;
  background: rgba(11, 21, 35, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
  padding: 4px;
  display: flex;
  gap: 4px;
  box-shadow: var(--shadow-md);
}

.viewport-btn {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: #9ca3af;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.viewport-btn.active {
  background: var(--accent-orange);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(255, 97, 38, 0.4);
}

.viewport-btn:hover:not(.active) {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

/* Wide Mode for Desktop view */
body.wide-view .app-container {
  max-width: 1180px;
}

body.wide-view .products-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

body.wide-view .categories-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

body.wide-view .hero-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 32px;
  padding: 40px 24px;
}

body.wide-view .hero-content {
  text-align: left;
}

body.wide-view .hero-image-wrap {
  margin-top: 0;
}

body.wide-view .manifesto-banner {
  padding: 56px 48px;
}

body.wide-view .footer-main {
  grid-template-columns: 1.5fr 1fr 1fr;
}

/* ==========================================================================
   1. TOP ANNOUNCEMENT BAR
   ========================================================================== */
.top-notice-bar {
  background-color: var(--primary-navy);
  color: #ffffff;
  text-align: center;
  padding: 8px 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 40;
}

.top-notice-bar .dot-sep {
  opacity: 0.6;
}

/* ==========================================================================
   2. STICKY MAIN HEADER
   ========================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  transition: all 0.25s ease;
}

.header-action-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--primary-navy);
  transition: background-color 0.2s ease, transform 0.15s ease;
  position: relative;
}

.header-action-btn:hover {
  background-color: var(--surface-secondary);
}

.header-action-btn:active {
  transform: scale(0.95);
}

.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 38px;
}

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

.cart-icon-btn {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background-color: var(--accent-orange);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #ffffff;
  transition: transform 0.25s var(--ease-editorial);
}

.cart-badge.pop {
  transform: scale(1.35);
}

/* Header Live Search Overlay Bar */
.search-expand-bar {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 16px;
  display: none;
  box-shadow: var(--shadow-md);
  animation: slideDownSearch 0.25s var(--ease-editorial);
}

.search-expand-bar.active {
  display: block;
}

@keyframes slideDownSearch {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.search-input-wrap {
  display: flex;
  align-items: center;
  background: var(--surface-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0 12px;
  height: 44px;
}

.search-input-wrap:focus-within {
  border-color: var(--primary-container);
  box-shadow: 0 0 0 3px rgba(6, 44, 89, 0.1);
}

.search-input-wrap input {
  flex: 1;
  background: transparent;
  border: none;
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  padding-left: 8px;
}

.search-input-wrap input::placeholder {
  color: var(--text-muted);
}

.search-close-btn {
  color: var(--text-secondary);
  padding: 4px;
  font-size: 16px;
}

/* ==========================================================================
   3. ANIMATED HERO SECTION
   ========================================================================== */
.hero-section {
  padding: 24px 16px 28px 16px;
  background-color: var(--surface-page);
  position: relative;
  overflow: hidden;
}

/* Hero Keyframe Animations */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImageReveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes subtleFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-4px);
  }
}

/* Editorial Stagger Sequence */
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--primary-navy);
  margin-bottom: 12px;
  opacity: 0;
  animation: heroFadeUp 0.6s var(--ease-editorial) forwards;
  animation-delay: 0.1s;
}

.hero-kicker .kicker-dash {
  width: 14px;
  height: 2.5px;
  background-color: var(--accent-orange);
  border-radius: var(--radius-full);
}

.hero-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--primary-navy);
  margin-bottom: 14px;
  opacity: 0;
  animation: heroFadeUp 0.65s var(--ease-editorial) forwards;
  animation-delay: 0.2s;
}

.hero-subtitle {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 22px;
  font-weight: 400;
  opacity: 0;
  animation: heroFadeUp 0.7s var(--ease-editorial) forwards;
  animation-delay: 0.35s;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  opacity: 0;
  animation: heroFadeUp 0.75s var(--ease-editorial) forwards;
  animation-delay: 0.5s;
}

/* Button Micro-Interactions */
.btn-primary {
  background-color: var(--accent-orange);
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(255, 97, 38, 0.2);
  transition: transform 0.25s var(--ease-editorial), box-shadow 0.25s var(--ease-editorial), background-color 0.25s ease;
  white-space: nowrap;
}

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

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  color: var(--primary-navy);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 4px;
  transition: color 0.2s ease;
}

.btn-secondary svg,
.btn-secondary .chevron-icon {
  transition: transform 0.25s var(--ease-editorial);
}

.btn-secondary:hover svg,
.btn-secondary:hover .chevron-icon {
  transform: translateX(4px);
}

/* Hero Showcase Product Card */
.hero-image-wrap {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--surface-page);
  padding: 14px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  animation: heroImageReveal 0.8s var(--ease-editorial) forwards;
  animation-delay: 0.3s;
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.hero-image-wrap:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.hero-img-box {
  width: 100%;
  background: var(--surface-secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 16px;
  animation: subtleFloat 8s ease-in-out infinite;
  animation-delay: 1.1s;
}

.hero-img-box img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
  gap: 12px;
}

.hero-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.hero-card-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-container);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-align: right;
  line-height: 1.3;
}

/* Accessibility Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .hero-kicker,
  .hero-title,
  .hero-subtitle,
  .hero-cta-group,
  .hero-image-wrap,
  .trust-bar {
    animation: none !important;
    opacity: 1 !important;
  }
  .hero-img-box {
    animation: none !important;
  }
}

/* ==========================================================================
   4. TRUST BAR SECTION
   ========================================================================== */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-page);
  padding: 18px 8px;
  opacity: 0;
  animation: heroFadeUp 0.7s var(--ease-editorial) forwards;
  animation-delay: 0.7s;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 6px;
  border-right: 1px solid var(--border-subtle);
}

.trust-item:last-child {
  border-right: none;
}

.trust-icon {
  color: var(--primary-navy);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trust-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 2px;
  line-height: 1.25;
}

.trust-sub {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.2;
}

/* ==========================================================================
   5. CATALOG & FAVORITOS SECTION
   ========================================================================== */
.catalog-section {
  padding: 28px 16px 36px 16px;
  background-color: var(--surface-page);
}

.section-header-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--primary-navy);
  margin-bottom: 20px;
}

.section-number-title {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--primary-navy);
}

.section-header-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.section-header-link:hover {
  color: var(--primary-navy);
  transform: translateX(3px);
}

/* Category Filter Chips Carousel */
.filter-chips-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 14px;
  margin-bottom: 18px;
  scrollbar-width: none;
}

.filter-chips-rail::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  padding: 7px 14px;
  background: var(--surface-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.filter-chip:hover {
  border-color: var(--border-strong);
  color: var(--primary-navy);
}

.filter-chip.active {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
}

/* Featured Large Product Banner Card (Mini Amoladora) */
.featured-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--surface-page);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
  position: relative;
  transition: transform 0.25s var(--ease-editorial), box-shadow 0.25s var(--ease-editorial);
  cursor: pointer;
}

.featured-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.featured-card-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 10;
  background: var(--primary-navy);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
}

.featured-card-img-box {
  width: 100%;
  background: #e9ebed;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin-bottom: 14px;
}

.featured-card-img-box img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s var(--ease-editorial);
}

.featured-card:hover .featured-card-img-box img {
  transform: scale(1.03);
}

.featured-card-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.featured-card-texts {
  flex: 1;
}

.featured-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.featured-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.featured-card-pricing {
  text-align: right;
  white-space: nowrap;
}

.price-current {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-navy);
  display: block;
}

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

.featured-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.btn-add-cart-outline {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--primary-navy);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-add-cart-outline:hover {
  background: var(--navy-surface);
}

.btn-buy-fast {
  flex: 1;
  padding: 10px 14px;
  background: var(--accent-orange);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-buy-fast:hover {
  background: var(--accent-orange-hover);
  box-shadow: 0 4px 12px rgba(255, 97, 38, 0.3);
}

/* 2-Column Product Grid (Mobile) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.product-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--surface-page);
  padding: 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease-editorial), box-shadow 0.25s var(--ease-editorial), border-color 0.2s ease;
  position: relative;
  cursor: pointer;
}

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

.product-discount-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  background: var(--accent-orange);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: var(--radius-sm);
}

.product-img-box {
  width: 100%;
  aspect-ratio: 1.25 / 1;
  background: var(--surface-secondary);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  margin-bottom: 10px;
}

.product-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.35s var(--ease-editorial);
}

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

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

.product-card-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 34px;
}

.product-card-desc {
  font-size: 11px;
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.25;
}

.product-card-pricing-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: auto;
  margin-bottom: 10px;
}

.product-card-pricing-row .price-current {
  font-size: 16px;
}

.product-card-pricing-row .price-old {
  font-size: 12px;
}

.btn-card-add {
  width: 100%;
  padding: 8px;
  background: var(--surface-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.btn-card-add:hover {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
}

/* ==========================================================================
   6. CATEGORÍAS PRINCIPALES SECTION
   ========================================================================== */
.categories-section {
  padding: 10px 16px 36px 16px;
  background-color: var(--surface-page);
}

.categories-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.category-card {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--surface-page);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease-editorial), box-shadow 0.25s var(--ease-editorial), border-color 0.2s ease;
  cursor: pointer;
}

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

.category-card-img {
  width: 100%;
  background: var(--surface-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.category-card-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.4s var(--ease-editorial);
}

.category-card:hover .category-card-img img {
  transform: scale(1.03);
}

.category-card-content {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--border-subtle);
}

.category-card-text {
  flex: 1;
}

.category-card-title {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--primary-navy);
  margin-bottom: 2px;
}

.category-card-sub {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.3;
}

.category-card-arrow {
  color: var(--text-secondary);
  transition: transform 0.25s var(--ease-editorial), color 0.2s ease;
}

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

/* ==========================================================================
   7. BRAND MANIFESTO BANNER
   ========================================================================== */
.manifesto-banner {
  background-color: var(--primary-container);
  color: #ffffff;
  padding: 38px 20px;
  position: relative;
  overflow: hidden;
}

.manifesto-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
  display: block;
}

.manifesto-headline {
  font-size: 30px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.manifesto-desc {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  max-width: 90%;
}

.manifesto-btn {
  background: var(--accent-orange);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 22px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: all 0.25s var(--ease-editorial);
}

.manifesto-btn:hover {
  background: var(--accent-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 97, 38, 0.4);
}

/* ==========================================================================
   8. TESTIMONIAL / EDITORIAL SOCIAL PROOF
   ========================================================================== */
.social-proof-section {
  padding: 44px 20px;
  text-align: center;
  background-color: var(--surface-page);
}

.proof-accent-bar {
  width: 32px;
  height: 3px;
  background-color: var(--accent-orange);
  border-radius: var(--radius-full);
  margin: 0 auto 20px auto;
}

.proof-quote {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--primary-navy);
  margin-bottom: 16px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.proof-cities {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ==========================================================================
   9. EDITORIAL CORPORATE FOOTER
   ========================================================================== */
.footer-editorial {
  background-color: var(--primary-navy);
  color: #ffffff;
  padding: 36px 20px 96px 20px; /* Extra bottom padding for bottom nav */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-wrap {
  margin-bottom: 24px;
}

.footer-logo-img {
  height: 30px;
  width: auto;
  margin-bottom: 14px;
}

.footer-mission {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 20px 0;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 28px;
}

.footer-column-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 12px;
}

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

.footer-link {
  font-size: 13px;
  color: #d1d5db;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(2px);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 11px;
  color: #9ca3af;
  margin-bottom: 12px;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

.footer-copyright {
  font-size: 11px;
  color: #9ca3af;
  line-height: 1.4;
}

/* ==========================================================================
   10. FLOATING WHATSAPP BUTTON
   ========================================================================== */
.whatsapp-float-btn {
  position: fixed;
  bottom: 74px; /* Above the bottom navigation bar */
  right: 18px;
  z-index: 70;
  width: 52px;
  height: 52px;
  background-color: var(--whatsapp-green);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: var(--shadow-whatsapp);
  transition: transform 0.25s var(--ease-editorial), background-color 0.2s ease;
  text-decoration: none;
}

.whatsapp-float-btn:hover {
  background-color: var(--whatsapp-green-hover);
  transform: scale(1.08);
}

.whatsapp-float-btn::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  border: 2px solid var(--whatsapp-green);
  opacity: 0.6;
  animation: pulseRipple 2.2s infinite;
}

@keyframes pulseRipple {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ==========================================================================
   11. MOBILE BOTTOM NAVIGATION BAR
   ========================================================================== */
.bottom-nav-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 64px;
  padding: 0 4px;
  z-index: 60;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

body.wide-view .bottom-nav-bar {
  max-width: 1180px;
}

.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex: 1;
  height: 100%;
  color: #667085;
  font-size: 11px;
  font-weight: 600;
  transition: color 0.2s ease;
  position: relative;
}

.bottom-nav-item svg {
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
}

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

.bottom-nav-item.active svg {
  transform: translateY(-1px);
}

.bottom-nav-item:active {
  transform: scale(0.95);
}

.bottom-cart-badge {
  position: absolute;
  top: 6px;
  right: calc(50% - 18px);
  background-color: var(--accent-orange);
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  min-width: 15px;
  height: 15px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

/* ==========================================================================
   12. SLIDE-OVER SHOPPING CART (BOLSA DE COMPRAS)
   ========================================================================== */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 21, 35, 0.6);
  backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease-editorial);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.2);
}

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

.cart-drawer-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
}

.cart-drawer-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-close-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: background 0.2s ease;
}

.cart-close-btn:hover {
  background: var(--surface-secondary);
  color: var(--text-primary);
}

.cart-shipping-banner {
  background: #f0fdf4;
  border-bottom: 1px solid #bbf7d0;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
  color: #166534;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-empty-state {
  text-align: center;
  padding: 48px 16px;
  color: var(--text-secondary);
}

.cart-empty-state svg {
  margin: 0 auto 16px auto;
  color: var(--text-muted);
}

.cart-empty-state h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-item-img-box {
  width: 72px;
  height: 72px;
  background: var(--surface-secondary);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  flex-shrink: 0;
}

.cart-item-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.cart-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-top: 4px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
}

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #ffffff;
}

.qty-btn {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-navy);
  transition: background 0.15s ease;
}

.qty-btn:hover {
  background: var(--surface-secondary);
}

.qty-val {
  min-width: 28px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.cart-item-delete {
  color: var(--text-muted);
  font-size: 12px;
  transition: color 0.2s ease;
  padding: 4px;
}

.cart-item-delete:hover {
  color: var(--error);
}

.cart-drawer-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-subtle);
  background: #ffffff;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.cart-summary-row.total {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.cart-checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.btn-checkout-wa {
  background: var(--whatsapp-green);
  color: #ffffff;
  padding: 13px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-checkout-wa:hover {
  background: var(--whatsapp-green-hover);
  transform: translateY(-1px);
}

.btn-checkout-online {
  background: var(--primary-navy);
  color: #ffffff;
  padding: 13px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-checkout-online:hover {
  background: var(--primary-container);
  transform: translateY(-1px);
}

/* ==========================================================================
   13. PRODUCT QUICK VIEW MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 21, 35, 0.65);
  backdrop-filter: blur(4px);
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-card {
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modalPop 0.3s var(--ease-editorial);
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  color: var(--text-primary);
}

.modal-img-box {
  width: 100%;
  height: 250px;
  background: var(--surface-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-img-box img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.modal-content {
  padding: 20px;
}

.modal-badge {
  display: inline-block;
  background: var(--accent-orange-light);
  color: var(--accent-orange);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  text-transform: uppercase;
}

.modal-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 6px;
  line-height: 1.25;
}

.modal-subtitle {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.modal-pricing {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.modal-pricing .price-current {
  font-size: 24px;
}

.modal-pricing .price-old {
  font-size: 15px;
}

.modal-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.modal-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
}

.modal-feature-item svg {
  color: var(--success);
  flex-shrink: 0;
}

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

/* ==========================================================================
   14. MOBILE NAVIGATION DRAWER
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 21, 35, 0.6);
  backdrop-filter: blur(4px);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  max-width: 320px;
  background: #ffffff;
  z-index: 95;
  transform: translateX(-100%);
  transition: transform 0.35s var(--ease-editorial);
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 30px rgba(0, 0, 0, 0.2);
}

.nav-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-nav-list {
  list-style: none;
  padding: 16px 0;
  overflow-y: auto;
}

.drawer-nav-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  transition: background 0.2s ease, color 0.2s ease;
}

.drawer-nav-item a:hover {
  background: var(--surface-secondary);
  color: var(--accent-orange);
}

/* ==========================================================================
   15. ONLINE CHECKOUT / ORDER TRACKING MODAL
   ========================================================================== */
.checkout-modal-body {
  padding: 20px;
}

.checkout-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-group label {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-navy);
}

.form-group input,
.form-group select {
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--primary-container);
  box-shadow: 0 0 0 3px rgba(6, 44, 89, 0.1);
}

.payment-methods-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 6px;
}

.payment-method-card {
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 6px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-navy);
  cursor: pointer;
  transition: all 0.2s ease;
}

.payment-method-card.active {
  border-color: var(--accent-orange);
  background: var(--accent-orange-light);
  color: var(--accent-orange);
}

/* ==========================================================================
   16. TOAST NOTIFICATION
   ========================================================================== */
.toast-notice {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--primary-navy);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease-editorial);
}

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

.toast-notice svg {
  color: var(--whatsapp-green);
}
