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

:root {
  --primary: #DC2626;
  --primary-dark: #B91C1C;
  --primary-light: #EF4444;
  --accent: #1f1f1f;
  --accent-light: #2d2d2d;
  --background: #fafafa;
  --foreground: #ff0000;
  --card: #ffffff;
  --card-foreground: #1a1a1a;
  --muted: #f0f0f0;
  --muted-foreground: #737373;
  --border: #e5e5e5;
  --radius: 0.625rem;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 700;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-weight: 700;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s ease;
}

.header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #c1121f, transparent);
}

.header.scrolled {
  box-shadow: var(--shadow);
}

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

@media (min-width: 768px) {
  .header-container {
    padding: 1rem 1.5rem;
  }
}

.logo {
  display: flex;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  height: 65px;
}

.logo-icon {
  height: 50px;
  width: 50px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .logo-icon {
    width: 2.5rem;
    height: 2.5rem;
  }
}

.logo-icon svg {
  width: 100%;
  height: 100%;
  color: white;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.05em;
  color: var(--accent);
}

@media (min-width: 768px) {
  .logo-name {
    font-size: 1.25rem;
  }
}

.logo-tagline {
  font-weight: 600;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--primary);
}

@media (min-width: 768px) {
  .logo-tagline {
    font-size: 0.75rem;
  }
}

.nav-desktop {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero-bg::before {
    display: none;
  }

  .hero-bg {
    background: linear-gradient(135deg, #000000, #000000);
  }
}

.nav-link {
  text-decoration: white;
  color: white;
  font-weight: 500;
  font-size: 0.875rem;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: white
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.nav-link:hover::after {
  width: 100%;
}

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

.cart-btn {
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}

.cart-btn:hover {
  background: var(--muted);
}

.cart-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--foreground);
}

@media (min-width: 768px) {
  .cart-btn svg {
    width: 1.5rem;
    height: 1.5rem;
  }
}

.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--primary);
  color: white;
  font-size: 0.625rem;
  font-weight: 600;
  min-width: 1rem;
  height: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-btn {
  display: flex;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius);
}

@media (min-width: 768px) {
  .menu-btn {
    display: none;
  }
}

.menu-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--foreground);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1rem;
  background: white;
  border-top: 1px solid var(--border);
}

.mobile-menu.active {
  display: flex;
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

.mobile-link {
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--foreground);
  font-weight: 500;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}

.mobile-link:hover {
  background: var(--muted);
  color: var(--primary);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 1rem 4rem;
}

@media (min-width: 768px) {
  .hero {
    padding: 8rem 2rem 6rem;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(rgba(0, 0, 0, 0.429), rgba(0, 0, 0, 0.429)),
    url("img/vehiculo.webp") center/cover no-repeat;
  transform: scale(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(4px);
  background: rgba(0,0,0,0.2);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 2rem;
}

.hero-content {
  animation: fadeUp 1s ease;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(220, 38, 38, 0.2);
  color: var(--primary-light);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

@media (min-width: 768px) {
  .hero-badge {
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
  }
}

.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 4rem;
  line-height: 1.1;
  color: white;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
}


@media (min-width: 640px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-highlight {
  display: block;
  background: linear-gradient(90deg, #ff3b3b, #c1121f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.hero-description {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.125rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

@media (min-width: 768px) {
  .btn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

.btn-primary {
  background: linear-gradient(135deg, #c1121f, #780000);
  color: white;
  border-radius: 12px;
  padding: 0.9rem 1.8rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}


.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-icon {
  width: 1.25rem;
  height: 1.25rem;
}

.btn-full {
  width: 100%;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

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

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  padding: 0.6rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}



.hero-badge-item svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
}

.hero-badge-item span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

@media (min-width: 768px) {
  .hero-badge-item {
    padding: 0.75rem 1.25rem;
  }
  .hero-badge-item svg {
    width: 1.25rem;
    height: 1.25rem;
  }
  .hero-badge-item span {
    font-size: 0.875rem;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-block;
  background: rgba(220, 38, 38, 0.1);
  color: var(--primary);
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-description {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .section-description {
    font-size: 1rem;
  }
}

.products-section {
  padding: 4rem 0;
  background: var(--background);
}

@media (min-width: 768px) {
  .products-section {
    padding: 6rem 0;
  }
}

.filters-container {
  margin-bottom: 2rem;
}

.search-box {
  position: relative;
  margin-bottom: 1rem;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: var(--muted-foreground);
}

.search-input {
  width: 100%;
  padding: 0.875rem 1rem 0.875rem 3rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  background: white;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

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

.category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  border: 2px solid var(--border);
  background: white;
  color: var(--muted-foreground);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

@media (min-width: 768px) {
  .filter-btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
  }
}

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

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .products-grid {
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.product-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;

}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

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

.product-badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  background: var(--primary);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-size: 0.625rem;
  font-weight: 600;
}

@media (min-width: 768px) {
  .product-badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
  }
}

.product-info {
  padding: 0.75rem;
}

@media (min-width: 768px) {
  .product-info {
    padding: 1rem;
  }
}

.product-name {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--foreground);
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .product-name {
    font-size: 0.95rem;
  }
}


.product-code {
  font-size: 0.65rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (min-width: 768px) {
  .product-code {
    font-size: 0.7rem;
  }
}

.modal-product-code {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.5rem;
  background: rgba(220, 38, 38, 0.1);
  border-radius: 4px;
  display: inline-block;
}

.modal-product-meta {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin: .25rem 0 .85rem;
}
.modal-product-code-chip {
  font-size: 0.78rem;
  color: var(--primary, #dc2626);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.4rem 0.75rem;
  background: rgba(220, 38, 38, 0.1);
  border-radius: 8px;
  display: inline-block;
}
.ficha-tecnica-btn {
  font-size: 0.78rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 0.4rem 0.85rem;
  background: #18181b;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: background .15s, transform .1s;
  font-family: inherit;
}
.ficha-tecnica-btn:hover { background: #27272a; }
.ficha-tecnica-btn:active { transform: scale(.97); }

.cart-item-code {
  font-size: 0.65rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
}

.product-desc {
  font-size: 0.7rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .product-desc {
    font-size: 0.8rem;
  }
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary);
}

@media (min-width: 768px) {
  .product-price {
    font-size: 1.1rem;
  }
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.product-rating svg {
  width: 0.75rem;
  height: 0.75rem;
  fill: #fbbf24;
  color: #fbbf24;
}

.product-rating span {
  font-size: 0.7rem;
  color: var(--muted-foreground);
}

.no-results {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--muted-foreground);
}

.no-results svg {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.no-results h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}


.about-section {
  padding: 4rem 0;
  background: white;
}

@media (min-width: 768px) {
  .about-section {
    padding: 6rem 0;
  }
}

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

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }
}

.about-content {
  text-align: center;
}

@media (min-width: 1024px) {
  .about-content {
    text-align: left;
  }
}

.about-text {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.7;
}

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

.stat-item {
  text-align: center;
  padding: 1rem;
  background: var(--muted);
  border-radius: var(--radius);
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 2rem;
  }
}

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

@media (min-width: 768px) {
  .stat-label {
    font-size: 0.8rem;
  }
}

.about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.feature-card {
  background: var(--muted);
  padding: 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .feature-card {
    padding: 1.5rem;
  }
}

.feature-card:hover {
  background: var(--accent);
  color: white;
  transform: translateY(-4px);
}

.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.feature-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .feature-card h3 {
    font-size: 1rem;
  }
}

.feature-card p {
  font-size: 0.75rem;
  opacity: 0.8;
}


.contact-section {
  padding: 4rem 0;
  background: var(--muted);
}

@media (min-width: 768px) {
  .contact-section {
    padding: 6rem 0;
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-item {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.contact-icon {
  width: 3rem;
  height: 3rem;
  background: rgba(220, 38, 38, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.contact-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.contact-item h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-item p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}


.footer {
  background: var(--accent);
  color: white;
  padding: 3rem 0 1.5rem;
}

@media (min-width: 768px) {
  .footer {
    padding: 4rem 0 2rem;
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand .logo {
  margin-bottom: 1rem;
}

.footer-brand .logo-name {
  color: white;
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-links h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.footer-links a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

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

.footer-social h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 2.5rem;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.2s ease;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.social-links svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}


.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background: white;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

.cart-header h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.cart-header svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.close-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}

.close-btn:hover {
  background: var(--muted);
}

.close-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--muted-foreground);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: var(--muted);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}

.cart-item-image {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
}

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

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

.cart-item-name {
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-item-variant {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-btn {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  transition: all 0.2s ease;
}

.qty-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.cart-item-qty {
  font-weight: 600;
  font-size: 0.875rem;
  min-width: 1.5rem;
  text-align: center;
}

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

.remove-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--muted-foreground);
  transition: color 0.2s ease;
}

.remove-btn:hover {
  color: var(--primary);
}

.remove-btn svg {
  width: 1rem;
  height: 1rem;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--muted-foreground);
}

.cart-empty svg {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  opacity: 0.5;
}

.cart-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
  background: white;
}


.cart-subtotal,
.cart-iva {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: var(--muted-foreground);
}

.cart-iva {
  color: var(--primary);
  font-weight: 500;
}

.cart-total-final {
  display: flex;
  justify-content: space-between;
  font-size: 1.125rem;
  font-weight: 700;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

.cart-total-final span:last-child {
  color: var(--primary);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1300;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: calc(100% - 2rem);
  max-width: 900px;
  max-height: calc(100vh - 2rem);
  background: white;
  border-radius: var(--radius);
  z-index: 1400;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal.active {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  background: white;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  box-shadow: var(--shadow);
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--muted);
}

.modal-close svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--foreground);
}

.modal-content {
  overflow-y: auto;
  flex: 1;
}

.product-modal-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .product-modal-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.product-modal-gallery {
  background: var(--muted);
  padding: 1rem;
}

@media (min-width: 768px) {
  .product-modal-gallery {
    padding: 1.5rem;
  }
}

.main-image {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
  background: white;
}

.main-image img,
.main-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnails {
  display: flex;
  gap: 0.5rem;
}

.thumbnail {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  background: white;
}

@media (min-width: 768px) {
  .thumbnail {
    width: 4.5rem;
    height: 4.5rem;
  }
}

.thumbnail:hover,
.thumbnail.active {
  border-color: var(--primary);
}

.thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-video {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
}

.thumbnail-video svg {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.product-modal-info {
  padding: 1.25rem;
}

@media (min-width: 768px) {
  .product-modal-info {
    padding: 1.5rem 2rem;
  }
}

.modal-product-category {
  display: inline-block;
  background: rgba(220, 38, 38, 0.1);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.modal-product-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .modal-product-name {
    font-size: 1.75rem;
  }
}

.modal-product-desc {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.modal-product-features {
  margin-bottom: 1.5rem;
}

.modal-product-features h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.features-list {
  list-style: none;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.features-list svg {
  width: 1rem;
  height: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}

/* Size Selector */
.size-selector {
  margin-bottom: 1.5rem;
}

.size-selector h4 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.size-option {
  flex: 1;
  min-width: 100px;
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.size-option:hover {
  border-color: var(--primary);
}

.size-option.active {
  border-color: var(--primary);
  background: rgba(220, 38, 38, 0.05);
}

.size-icon {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.size-name {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
}

.size-price {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
  text-decoration: line-through;
}

.size-iva {
  display: block;
  font-size: 0.6rem;
  color: var(--primary);
  font-weight: 600;
}

.size-price-total {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.125rem;
}

.price-breakdown {
  background: var(--muted);
  border-radius: var(--radius);
  padding: 1rem;
  margin-bottom: 1.5rem;
}

.price-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: var(--muted-foreground);
}

.price-row:last-child {
  margin-bottom: 0;
}

.price-row.price-total {
  font-size: 1rem;
  font-weight: 700;
  color: var(--foreground);
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

.price-row.price-total span:last-child {
  color: var(--primary);
}

.add-to-cart-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .add-to-cart-section {
    flex-direction: row;
    align-items: center;
  }
}

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.quantity-selector span {
  font-size: 0.875rem;
  font-weight: 500;
}

.quantity-selector .qty-btn {
  width: 2rem;
  height: 2rem;
  font-size: 1rem;
}

.quantity-value {
  font-size: 1.125rem;
  font-weight: 700;
  min-width: 2rem;
  text-align: center;
}


.checkout-modal {
  max-width: 600px;
}

.modal-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.modal-header h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
}

.modal-header svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.checkout-form {
  padding: 1.25rem;
  overflow-y: auto;
  max-height: calc(100vh - 12rem);
}

.form-section {
  margin-bottom: 1.5rem;
}

.form-section h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-group input,
.form-group textarea {
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.checkout-summary {
  background: var(--muted);
  padding: 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.summary-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.summary-items {
  max-height: 150px;
  overflow-y: auto;
  margin-bottom: 0.75rem;
}

.summary-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

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

.summary-item-name {
  flex: 1;
  color: var(--foreground);
}

.summary-item-variant {
  width: 100%;
  font-size: 0.7rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.summary-item-qty {
  color: var(--muted-foreground);
  margin: 0 0.5rem;
}

.summary-item-price {
  font-weight: 600;
  color: var(--foreground);
}


.summary-subtotal,
.summary-iva {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  color: var(--muted-foreground);
}

.summary-iva {
  color: var(--primary);
  font-weight: 500;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 700;
  padding-top: 0.75rem;
  border-top: 2px solid var(--border);
}

.summary-total span:last-child {
  color: var(--primary);
}

.whatsapp-icon {
  fill: currentColor;
}


@keyframes slideInRight {
  from {
    transform: translateX(100%);
  }
  to {
    transform: translateX(0);
  }
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

.footer-legal { display:flex; gap:1.4rem; }
        .footer-legal a { color:var(--text-muted); text-decoration:none; transition:color .2s; }
        .footer-legal a:hover { color:var(--text); }