/* ==========================================================================
   LUJOS Y ACCESORIOS MAFFY VILLAMIL - STYLES & DESIGN SYSTEM
   Red & Dark Corporate Automotive Luxury Theme + Touch Slider & Ticker Banner
   ========================================================================== */

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

:root {
  /* Color Palette */
  --bg-dark: #0a0c10;
  --bg-card: #131722;
  --bg-card-hover: #1b202e;
  --bg-surface: #171c28;
  --bg-input: #10141e;
  
  --primary-red: #e61924;
  --primary-red-glow: rgba(230, 25, 36, 0.4);
  --primary-red-dark: #b3101a;
  --accent-red: #ff3b47;
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-sub: #cbd5e1;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-active: rgba(230, 25, 36, 0.5);
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(230, 25, 36, 0.25);
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.2;
}

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

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

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  box-sizing: border-box;
}

/* Utility Classes */
.text-red { color: var(--primary-red); }
.text-muted { color: var(--text-muted); }
.bg-gradient-red {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(230, 25, 36, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(230, 25, 36, 0.6);
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--primary-red) 100%);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25D366;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-danger {
  background: rgba(230, 25, 36, 0.15);
  color: #ff3b47;
  border: 1px solid rgba(230, 25, 36, 0.4);
}

.btn-danger:hover {
  background: var(--primary-red);
  color: #fff;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  background: rgba(230, 25, 36, 0.15);
  color: var(--accent-red);
  border: 1px solid rgba(230, 25, 36, 0.3);
}

.badge-green {
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
  border-color: rgba(37, 211, 102, 0.3);
}

.badge-yellow {
  background: rgba(234, 179, 8, 0.15);
  color: #eab308;
  border-color: rgba(234, 179, 8, 0.3);
}

/* ==========================================================================
   GIANT PRELOADER LOGO WITH SUBTLE HEARTBEAT PULSE & NEON GLOW
   ========================================================================== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: radial-gradient(circle at center, #151a28 0%, #05070a 100%);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 680px;
  width: 92%;
}

.preloader-logo {
  height: 320px;
  width: auto;
  max-width: 92vw;
  object-fit: contain;
  margin-bottom: 2.5rem;
  filter: drop-shadow(0 0 45px rgba(230, 25, 36, 0.85));
  animation: preloaderHeartbeat 2.2s ease-in-out infinite;
}

@keyframes preloaderHeartbeat {
  0% {
    transform: scale(1);
    filter: drop-shadow(0 0 25px rgba(230, 25, 36, 0.45));
  }
  14% {
    transform: scale(1.08);
    filter: drop-shadow(0 0 55px rgba(230, 25, 36, 1));
  }
  28% {
    transform: scale(1);
    filter: drop-shadow(0 0 28px rgba(230, 25, 36, 0.5));
  }
  42% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 48px rgba(230, 25, 36, 0.9));
  }
  70% {
    transform: scale(1);
    filter: drop-shadow(0 0 25px rgba(230, 25, 36, 0.45));
  }
  100% {
    transform: scale(1);
    filter: drop-shadow(0 0 25px rgba(230, 25, 36, 0.45));
  }
}

.preloader-bar-wrapper {
  width: 100%;
  height: 9px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 1px solid rgba(230, 25, 36, 0.35);
  box-shadow: 0 0 15px rgba(230, 25, 36, 0.25);
  margin-bottom: 1.2rem;
}

.preloader-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary-red) 0%, var(--accent-red) 100%);
  box-shadow: 0 0 14px var(--primary-red);
  border-radius: var(--radius-full);
  transition: width 0.12s linear;
}

.preloader-text {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: var(--text-sub);
  text-transform: uppercase;
}

/* ==========================================================================
   PERFECTLY BOUNDED SYMMETRICAL HERO SLIDER (ZERO RIGHT OVERFLOW)
   ========================================================================== */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.featured-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  user-select: none;
  touch-action: pan-y;
  cursor: grab;
  box-sizing: border-box;
}

.featured-slider-wrapper:active {
  cursor: grabbing;
}

.featured-slider-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
  width: 100%;
}

.featured-slide-item {
  min-width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  position: relative;
  box-shadow: var(--shadow-lg), 0 0 25px rgba(230, 25, 36, 0.12);
  box-sizing: border-box;
  width: 100%;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-color);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.slider-nav-inline {
  display: flex;
  gap: 0.4rem;
}

.slider-btn-inline {
  width: 34px;
  height: 34px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all var(--transition-fast);
}

.slider-btn-inline:hover {
  background: var(--primary-red);
  border-color: var(--accent-red);
  color: #fff;
  box-shadow: 0 0 12px rgba(230, 25, 36, 0.6);
}

/* BOTH LEFT AND RIGHT OVERLAY FLOATING ARROWS */
.slider-btn {
  position: absolute;
  top: 110px; /* Positioned over image frame instead of text */
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: rgba(10, 12, 16, 0.35); /* Transparencia para no obstruir nada */
  border: 1px solid rgba(230, 25, 36, 0.35);
  color: #fff;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 25;
  opacity: 0.35; /* Sutil y transparente por defecto */
  transition: all var(--transition-fast);
  backdrop-filter: blur(4px);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}

.featured-slider-wrapper:hover .slider-btn {
  opacity: 0.75;
}

.slider-btn:hover {
  opacity: 1 !important;
  background: var(--primary-red);
  border-color: var(--accent-red);
  box-shadow: 0 0 22px rgba(230, 25, 36, 0.85);
  transform: translateY(-50%) scale(1.12);
}

.slider-prev { left: 6px; }
.slider-next { right: 6px; }

/* 100% DEAD-CENTERED PRODUCT FRAME */
.hero-img-frame {
  width: 100%;
  height: 240px;
  background: rgba(8, 11, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0.3rem;
  margin: 0 auto 0.8rem auto;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-img-frame img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto !important;
  display: block;
  object-fit: cover; /* Imagen más grande y vistosa que llena la tarjeta */
  object-position: center !important;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 6px 15px rgba(0,0,0,0.6));
  transition: transform 0.3s ease;
}

.hero-card:hover .hero-img-frame img {
  transform: scale(1.04);
}

.hero-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.hero-card-desc {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Descripción concisa y estética de máximo 2 líneas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.6rem;
  border-top: 1px solid var(--border-color);
}

.hero-price-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 10;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.slider-dot.active {
  background: var(--primary-red);
  width: 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px var(--primary-red);
}

/* ==========================================================================
   ADVANCED PIN VERIFICATION BANNER
   ========================================================================== */
.pin-status-banner {
  padding: 1.1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  text-transform: uppercase;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.pin-status-default {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-main);
}

.pin-status-verifying {
  background: rgba(230, 25, 36, 0.25);
  border: 1px solid var(--primary-red);
  color: var(--accent-red);
  box-shadow: 0 0 25px rgba(230, 25, 36, 0.5);
  animation: pinPulseRed 0.6s ease infinite alternate;
}

.pin-status-success {
  background: rgba(37, 211, 102, 0.25);
  border: 1px solid #25D366;
  color: #25D366;
  box-shadow: 0 0 35px rgba(37, 211, 102, 0.7);
  transform: scale(1.04);
}

.pin-status-error {
  background: rgba(230, 25, 36, 0.35);
  border: 1px solid #ff3b47;
  color: #fff;
  animation: shakePin 0.4s ease;
}

@keyframes pinPulseRed {
  0% { transform: scale(0.98); opacity: 0.85; }
  100% { transform: scale(1.02); opacity: 1; }
}

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

/* ==========================================================================
   SLIM HIGH-END ANIMATED TICKER BANNER (MARQUEE)
   ========================================================================== */
.ticker-banner {
  background: linear-gradient(90deg, #07090e 0%, #151a26 50%, #07090e 100%);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-active);
  box-shadow: 0 0 15px rgba(230, 25, 36, 0.25);
  overflow: hidden;
  white-space: nowrap;
  padding: 0.55rem 0;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 100;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerLoop 26s linear infinite;
}

.ticker-track:hover {
  animation-play-state: paused;
}

.ticker-content {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  padding-right: 2.2rem;
}

.ticker-content span {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-main);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.ticker-highlight {
  background: rgba(230, 25, 36, 0.2);
  color: var(--accent-red);
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(230, 25, 36, 0.4);
}

.ticker-divider {
  color: var(--primary-red);
  font-weight: 900;
  font-size: 1.1rem;
}

@keyframes tickerLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Header & Top Bar */
.top-bar {
  background: #06080b;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
  padding: 0.4rem 0;
  color: var(--text-muted);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-info span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.header-main {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 12, 16, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1.5rem;
  max-width: 1440px;
  margin: 0 auto;
}

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 15px rgba(230, 25, 36, 0.4));
  transition: transform var(--transition-fast);
}

.logo-link:hover .logo-img {
  transform: scale(1.04);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--text-sub);
  position: relative;
  padding: 0.4rem 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-red);
  box-shadow: 0 0 8px var(--primary-red);
  border-radius: 2px;
}

.nav-link-admin {
  background: rgba(230, 25, 36, 0.12);
  border: 1px solid rgba(230, 25, 36, 0.3);
  padding: 0.35rem 0.85rem !important;
  border-radius: var(--radius-md);
  color: var(--accent-red) !important;
}

.nav-link-admin:hover {
  background: var(--primary-red);
  color: #fff !important;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-trigger {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 0.6rem;
  border-radius: var(--radius-md);
  color: #fff;
  transition: all var(--transition-fast);
}

.cart-trigger:hover {
  background: rgba(230, 25, 36, 0.15);
  border-color: var(--primary-red);
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--primary-red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(230, 25, 36, 0.6);
}

.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: #fff;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 3.5rem 0 5rem;
  background: radial-gradient(circle at 70% 30%, rgba(230, 25, 36, 0.15) 0%, transparent 60%),
              linear-gradient(180deg, #0a0c10 0%, #111520 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.hero-title span {
  background: linear-gradient(135deg, #fff 0%, var(--primary-red) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.vehicle-selector-bar {
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
}

.selector-card {
  background: rgba(19, 23, 34, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) auto;
  gap: 1rem;
  align-items: end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.form-select, .form-input {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-select:focus, .form-input:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(230, 25, 36, 0.2);
}

.section {
  padding: 3.5rem 0;
  position: relative;
}

.section-title-wrapper {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  color: var(--primary-red);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  text-align: center;
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.category-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--primary-red);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(230, 25, 36, 0.15);
}

.category-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.2rem;
  background: rgba(230, 25, 36, 0.18);
  border: 1px solid rgba(230, 25, 36, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-red);
  font-size: 1.8rem;
  transition: all var(--transition-fast);
  box-shadow: 0 0 15px rgba(230, 25, 36, 0.2);
}

.category-card:hover .category-icon {
  transform: scale(1.15) rotate(5deg);
  background: var(--primary-red);
  color: #fff;
  box-shadow: 0 0 25px rgba(230, 25, 36, 0.6);
}

.products-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  background: var(--bg-card);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 250px;
}

.search-box input {
  width: 100%;
  padding-left: 2.8rem;
}

.search-box i {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 1.8rem;
}

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

.product-card:hover {
  border-color: var(--border-active);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4), 0 0 20px rgba(230, 25, 36, 0.15);
}

.product-img-wrapper {
  position: relative;
  width: 100%;
  height: 210px;
  background: #090c10;
  overflow: hidden;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-tag {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
}

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

.product-category {
  font-size: 0.75rem;
  color: var(--primary-red);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.product-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.product-specs {
  font-size: 0.83rem;
  line-height: 1.45;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Resumen corto de máximo 2 líneas */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  max-height: 2.9em;
}

/* SLEEK DYNAMIC FLOATING HOVER POPOVER FOR DESKTOP */
.product-hover-popover {
  position: absolute;
  width: 330px;
  background: rgba(12, 15, 23, 0.98);
  border: 1px solid var(--primary-red);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.85), 0 0 25px rgba(230, 25, 36, 0.3);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 1.2rem;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1), transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.22s ease;
  pointer-events: auto;
}

.product-hover-popover.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.popover-header {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}

.popover-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.popover-specs {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-height: 180px;
  overflow-y: auto;
  margin-bottom: 1rem;
  padding-right: 0.4rem;
  white-space: pre-line;
}

.popover-specs::-webkit-scrollbar {
  width: 4px;
}
.popover-specs::-webkit-scrollbar-thumb {
  background: var(--primary-red);
  border-radius: 4px;
}

.popover-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.8rem;
  border-top: 1px solid var(--border-color);
}

.popover-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

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

.product-price {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem;
  margin-top: 2rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1.4rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary-red);
  margin-bottom: 0.2rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.quote-box {
  background: linear-gradient(135deg, rgba(19, 23, 34, 0.95) 0%, rgba(23, 28, 40, 0.95) 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.faq-accordion {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.faq-item.active {
  border-color: var(--primary-red);
}

.faq-header {
  padding: 1.2rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  color: var(--text-sub);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.faq-item.active .faq-content {
  max-height: 300px;
  padding: 0 1.5rem 1.2rem;
}

.faq-item.active .faq-header i {
  transform: rotate(180deg);
  color: var(--primary-red);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-red);
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-date {
  font-size: 0.8rem;
  color: var(--primary-red);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  position: relative;
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  color: var(--text-muted);
  font-size: 1.4rem;
}

.modal-close:hover {
  color: #fff;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-color);
  z-index: 2500;
  display: flex;
  flex-direction: column;
  transition: right 0.35s ease;
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}

.cart-drawer.active {
  right: 0;
}

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

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--bg-card);
  padding: 0.8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.cart-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 0.9rem;
  font-weight: 700;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--primary-red);
  font-weight: 700;
}

.cart-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  background: var(--bg-dark);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1500;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform var(--transition-fast);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--primary-red);
  color: #fff;
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  animation: slideInLeft 0.3s ease;
}

@keyframes slideInLeft {
  from { transform: translateX(-100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

footer {
  background: #050608;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0 2rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-title {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
}

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

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.admin-layout {
  display: flex;
  gap: 2rem;
  min-height: 80vh;
  align-items: flex-start;
}

.admin-sidebar {
  width: 270px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 90px;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.admin-sidebar-header {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.admin-sidebar-title {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--primary-red);
  letter-spacing: 1px;
}

.admin-sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-sidebar-item {
  width: 100%;
}

.admin-sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-sub);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  width: 100%;
  text-align: left;
}

.admin-sidebar-link:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.admin-sidebar-link.active {
  background: rgba(230, 25, 36, 0.15);
  border-color: rgba(230, 25, 36, 0.4);
  color: var(--accent-red);
  box-shadow: 0 0 15px rgba(230, 25, 36, 0.15);
}

.admin-sidebar-link.active i {
  color: var(--primary-red);
}

.admin-main-content {
  flex: 1;
  min-width: 0;
}

.admin-mobile-toggle {
  display: none;
  margin-bottom: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: #fff;
  padding: 0.75rem 1.2rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.numpad-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 1rem;
}

.numpad-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  padding: 0.9rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  touch-action: manipulation;
}

.numpad-btn:active, .numpad-btn:hover {
  background: var(--primary-red);
  border-color: var(--accent-red);
  transform: scale(0.96);
}

.maintenance-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #07090d;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.maintenance-card {
  background: var(--bg-card);
  border: 1px solid var(--primary-red);
  box-shadow: 0 0 40px rgba(230, 25, 36, 0.3);
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  max-width: 550px;
  width: 100%;
}

.admin-table-container {
  width: 100%;
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-top: 1.5rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.admin-table th, .admin-table td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border-color);
}

.admin-table th {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.5px;
}

.admin-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.switch {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #2a3142;
  transition: .3s;
  border-radius: 34px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary-red);
}

input:checked + .slider:before {
  transform: translateX(24px);
}

@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-description { margin: 0 auto 2.2rem; }
  .hero-btns { justify-content: center; }
  .hero-visual { max-width: 500px; margin: 0 auto; }
  .about-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  .admin-layout {
    flex-direction: column;
  }
  .admin-sidebar {
    width: 100%;
    position: static;
  }
}

@media (max-width: 768px) {
  .top-bar-info { display: none; }
  .mobile-toggle { display: block; }
  .admin-mobile-toggle { display: flex; }

  .preloader-logo {
    height: 280px;
    max-width: 92vw;
    margin-bottom: 1.8rem;
  }

  .hero-img-frame {
    height: 250px;
    padding: 0.2rem;
  }

  .slider-btn {
    width: 38px;
    height: 38px;
    top: 130px;
  }

  .hero-card-header .badge {
    font-size: 0.72rem;
    padding: 0.25rem 0.5rem;
  }

  .admin-sidebar {
    display: none;
  }
  .admin-sidebar.mobile-open {
    display: flex;
  }
}

/* ==========================================================================
   MOBILE & TOUCH ENHANCED ADMIN PANEL STYLES (100% RESPONSIVE)
   ========================================================================== */
.desktop-only-view { display: block; }
.mobile-only-view { display: none; }

.admin-mobile-nav-pills {
  display: none;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.8rem;
  margin-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.admin-mobile-nav-pills::-webkit-scrollbar { display: none; }

.admin-pill-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  color: var(--text-sub);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  transition: all var(--transition-fast);
  touch-action: manipulation;
  cursor: pointer;
}
.admin-pill-btn.active {
  background: var(--primary-red);
  border-color: var(--accent-red);
  color: #fff;
  box-shadow: 0 0 15px rgba(230, 25, 36, 0.4);
}

.admin-tab-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.stat-icon {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.admin-quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.admin-action-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  text-align: left;
  color: #fff;
  transition: all var(--transition-fast);
  cursor: pointer;
  width: 100%;
}
.admin-action-card:hover, .admin-action-card:active {
  border-color: var(--primary-red);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.4);
}
.admin-action-card i:first-child {
  font-size: 1.8rem;
}
.admin-action-card-info h4 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}
.admin-action-card-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

.admin-filter-bar {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.admin-settings-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* Mobile Card View Styles */
.admin-mobile-cards-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-mobile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: border-color var(--transition-fast);
}
.admin-mobile-card:hover {
  border-color: rgba(230, 25, 36, 0.4);
}

.admin-card-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.admin-card-thumb {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}
.admin-card-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  line-height: 1.3;
}
.admin-card-meta {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-top: 0.3rem;
}
.admin-card-body {
  font-size: 0.88rem;
  color: var(--text-sub);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: rgba(255,255,255,0.02);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.05);
}
.admin-card-price {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--accent-red);
  font-size: 1.15rem;
}
.admin-card-specs {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.admin-card-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.admin-card-actions .btn {
  flex: 1;
  min-width: 90px;
  justify-content: center;
  padding: 0.6rem 0.8rem;
}

.status-badge {
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 20px;
  font-weight: 800;
  text-transform: uppercase;
}
.status-nuevo { background: rgba(230, 25, 36, 0.2); color: var(--accent-red); border: 1px solid rgba(230,25,36,0.4); }
.status-en-proceso { background: rgba(245, 166, 35, 0.2); color: #f5a623; border: 1px solid rgba(245, 166, 35, 0.4); }
.status-contactado { background: rgba(0, 168, 255, 0.2); color: #00a8ff; border: 1px solid rgba(0, 168, 255, 0.4); }
.status-completado { background: rgba(46, 213, 115, 0.2); color: #2ed573; border: 1px solid rgba(46, 213, 115, 0.4); }

@media (max-width: 768px) {
  .desktop-only-view { display: none !important; }
  .mobile-only-view { display: flex !important; }
  .admin-mobile-nav-pills { display: flex; }
  .btn-mobile-wide { width: 100%; justify-content: center; }
  .form-input, .form-select { font-size: 16px !important; }
}

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 85%;
    max-width: 320px;
    height: calc(100vh - 70px);
    background: rgba(13, 17, 26, 0.98);
    backdrop-filter: blur(20px);
    border-right: 1px solid var(--border-color);
    box-shadow: 10px 0 30px rgba(0,0,0,0.8);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1rem;
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1200;
    overflow-y: auto;
  }
  
  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
  }

  .nav-link:hover, .nav-link.active {
    background: rgba(230, 25, 36, 0.12);
    border-color: rgba(230, 25, 36, 0.3);
  }

  .hero-title { font-size: 2.2rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   STANDALONE FULL-SCREEN MOBILE PWA APP STYLES (0% SCROLL)
   ========================================================================== */
.pwa-body {
  margin: 0;
  padding: 0;
  overflow: hidden !important;
  position: fixed;
  width: 100vw;
  height: 100vh;
  background: #0a0c10;
  user-select: none;
  touch-action: none;
}

.pwa-app-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0a0c10;
  overflow: hidden;
  z-index: 99;
}

.pwa-app-shell {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0a0c10;
  overflow: hidden;
  z-index: 99;
}

.pwa-top-header {
  min-height: 60px;
  padding-top: max(42px, env(safe-area-inset-top));
  padding-bottom: 0.6rem;
  padding-left: 1rem;
  padding-right: 1rem;
  background: rgba(13, 17, 26, 0.98);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  flex-shrink: 0;
}

.pwa-header-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pwa-header-logo {
  height: 38px;
  width: auto;
}

.pwa-header-title {
  display: flex;
  flex-direction: column;
}

.pwa-header-title span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.88rem;
  color: #fff;
  letter-spacing: 0.5px;
}

.pwa-header-title small {
  font-size: 0.68rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.pwa-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pwa-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  position: relative;
}

.pwa-icon-btn:hover {
  background: rgba(230, 25, 36, 0.2);
  border-color: var(--primary-red);
}

.pwa-install-header-btn {
  font-size: 0.72rem;
  padding: 0.35rem 0.65rem;
}

/* Full Screen Native Product Slider Main View */
.pwa-slider-main {
  flex: 1;
  min-height: 0; /* Prevents overflow pushing tabbar out of view */
  position: relative;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pwa-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.pwa-slide-item {
  min-width: 100%;
  height: 100%;
  padding: 0.5rem 0.8rem;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pwa-card-full {
  width: 100%;
  max-width: 480px;
  height: 100%;
  max-height: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 20px rgba(230, 25, 36, 0.15);
  display: flex;
  flex-direction: column;
  padding: 0.8rem;
  box-sizing: border-box;
  overflow: hidden;
}

.pwa-card-photo-box {
  width: 100%;
  flex: 1;
  max-height: 38vh;
  min-height: 140px;
  background: #07090e;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.6rem;
  position: relative;
}

.pwa-card-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pwa-card-badges {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.pwa-card-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.pwa-card-specs {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pwa-card-actionbar {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-color);
}

.pwa-card-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pwa-card-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: #fff;
}

.pwa-card-btns-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

.pwa-slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(10, 12, 16, 0.5);
  border: 1px solid rgba(230, 25, 36, 0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  cursor: pointer;
  backdrop-filter: blur(4px);
}

.pwa-slide-prev { left: 6px; }
.pwa-slide-next { right: 6px; }

.pwa-slider-dots {
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 20;
}

/* Native Bottom Tabbar Navigation */
.pwa-bottom-tabbar {
  min-height: 65px;
  padding-bottom: max(16px, env(safe-area-inset-bottom));
  padding-top: 0.4rem;
  background: rgba(13, 17, 26, 0.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-color);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  z-index: 100;
  flex-shrink: 0;
}

.pwa-tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem 0;
  transition: color 0.2s ease;
}

.pwa-tab-item i {
  font-size: 1.15rem;
}

.pwa-tab-item.active, .pwa-tab-item:hover {
  color: var(--primary-red);
}

.nav-link-install {
  background: rgba(230, 25, 36, 0.15) !important;
  border: 1px solid rgba(230, 25, 36, 0.4) !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-size: 0.8rem !important;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.65rem !important;
  white-space: nowrap !important;
  cursor: pointer;
}

.nav-link-install:hover {
  background: var(--primary-red) !important;
  color: #fff !important;
}

/* FOOTER SOCIAL MEDIA BUTTONS */
.footer-social {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}

.social-btn:hover {
  background: var(--primary-red);
  color: #fff;
  border-color: var(--primary-red);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(230, 25, 36, 0.45);
}
