/* ============================================================================ */
/* TAILWIND CSS - COMPILED & OPTIMIZED */
/* Este archivo contiene solo las clases Tailwind realmente usadas en el HTML */
/* ============================================================================ */

/* ===== ROOT VARIABLES ===== */
:root {
  --color-iconagro-green: #1B5E20;
  --color-iconagro-yellow: #FFD600;
  --color-iconagro-dark: #1B1B1B;
  --color-iconagro-light: #F5F5F5;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

/* ===== RESET & NORMALIZE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-iconagro-dark);
  background-color: #FFFFFF;
  line-height: 1.6;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
}

/* ===== LAYOUT UTILITIES ===== */
.max-w-6xl {
  max-width: 64rem;
}

.max-w-4xl {
  max-width: 56rem;
}

.max-w-3xl {
  max-width: 48rem;
}

.max-w-2xl {
  max-width: 42rem;
}

.max-w-7xl {
  max-width: 80rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.px-6 {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-20 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.pt-2 {
  padding-top: 0.5rem;
}

.mt-auto {
  margin-top: auto;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.mb-16 {
  margin-bottom: 4rem;
}

.mt-3 {
  margin-top: 0.75rem;
}

.min-h-screen {
  min-height: 100vh;
}

/* ===== FLEXBOX ===== */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-row {
  flex-direction: row;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.flex-grow {
  flex-grow: 1;
}

.items-center {
  align-items: center;
}

.items-end {
  align-items: flex-end;
}

.items-start {
  align-items: flex-start;
}

.items-stretch {
  align-items: stretch;
}

.justify-start {
  justify-content: flex-start;
}

.justify-end {
  justify-content: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.space-x-8 > * + * {
  margin-left: 2rem;
}

.space-y-2 > * + * {
  margin-top: 0.5rem;
}

/* ===== GRID ===== */
.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

/* ===== DISPLAY & VISIBILITY ===== */
.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.inline-flex {
  display: inline-flex;
}

.hidden {
  display: none !important;
}

.opacity-0 {
  opacity: 0;
}

.opacity-100 {
  opacity: 1;
}

.pointer-events-none {
  pointer-events: none;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.sticky {
  position: sticky;
}

.top-0 {
  top: 0;
}

.top-1\/2 {
  top: 50%;
}

.bottom-8 {
  bottom: 2rem;
}

.bottom-24 {
  bottom: 6rem;
}

.left-0 {
  left: 0;
}

.right-0 {
  right: 0;
}

.right-8 {
  right: 2rem;
}

.z-10 {
  z-index: 10;
}

.z-40 {
  z-index: 40;
}

.z-50 {
  z-index: 50;
}

/* ===== TRANSFORM ===== */
.transform {
  transform: translateZ(0);
}

.translate-x-1\/2 {
  transform: translateX(50%);
}

.-translate-x-1\/2 {
  transform: translateX(-50%);
}

.-translate-y-1\/2 {
  transform: translateY(-50%);
}

.-translate-x-4 {
  transform: translateX(-1rem);
}

.-translate-x-6 {
  transform: translateX(-1.5rem);
}

.translate-x-4 {
  transform: translateX(1rem);
}

.translate-x-6 {
  transform: translateX(1.5rem);
}

.scale-95 {
  transform: scale(0.95);
}

.scale-98 {
  transform: scale(0.98);
}

.scale-110 {
  transform: scale(1.1);
}

/* ===== SIZING ===== */
.w-full {
  width: 100%;
}

.w-auto {
  width: auto;
}

.w-6 {
  width: 1.5rem;
}

.w-10 {
  width: 2.5rem;
}

.w-12 {
  width: 3rem;
}

.h-auto {
  height: auto;
}

.h-4 {
  height: 1rem;
}

.h-6 {
  height: 1.5rem;
}

.h-10 {
  height: 2.5rem;
}

.h-12 {
  height: 3rem;
}

.h-16 {
  height: 4rem;
}

.h-56 {
  height: 14rem;
}

.h-0.5 {
  height: 0.125rem;
}

.h-full {
  height: 100%;
}

/* ===== TEXT STYLES ===== */
.text-xs {
  font-size: 0.75rem;
}

.text-sm {
  font-size: 0.875rem;
}

.text-base {
  font-size: 1rem;
}

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-3xl {
  font-size: 1.875rem;
}

.text-4xl {
  font-size: 2.25rem;
}

.text-5xl {
  font-size: 3rem;
}

.text-6xl {
  font-size: 3.75rem;
}

.font-heading {
  font-family: var(--font-heading);
}

.font-body {
  font-family: var(--font-body);
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.text-white {
  color: white;
}

.text-black {
  color: black;
}

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

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.leading-tight {
  line-height: 1.25;
}

.leading-relaxed {
  line-height: 1.625;
}

.text-opacity-90 {
  color: rgba(255, 255, 255, 0.9);
}

/* ===== BACKGROUND & COLORS ===== */
.bg-white {
  background-color: white;
}

.bg-gray-50 {
  background-color: #F9FAFB;
}

.bg-gray-100 {
  background-color: #F3F4F6;
}

.bg-gray-200 {
  background-color: #E5E7EB;
}

.bg-gray-700 {
  background-color: #374151;
}

.bg-iconagro-light {
  background-color: var(--color-iconagro-light);
}

.bg-iconagro-dark {
  background-color: var(--color-iconagro-dark);
}

.bg-iconagro-green {
  background-color: var(--color-iconagro-green);
}

.bg-iconagro-yellow {
  background-color: var(--color-iconagro-yellow);
}

.bg-green-500 {
  background-color: #10B981;
}

.bg-green-600 {
  background-color: #059669;
}

.bg-green-700 {
  background-color: #047857;
}

.bg-green-800 {
  background-color: #065F46;
}

.bg-opacity-10 {
  background-color: rgba(255, 255, 255, 0.1);
}

.bg-opacity-20 {
  background-color: rgba(255, 255, 255, 0.2);
}

.bg-gradient-to-r {
  background-image: linear-gradient(to right, var(--tw-gradient-stops));
}

.from-iconagro-green {
  --tw-gradient-from: var(--color-iconagro-green);
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(27, 94, 32, 0));
}

.to-green-700 {
  --tw-gradient-to: #047857;
}

.from-black {
  --tw-gradient-from: black;
  --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(0, 0, 0, 0));
}

.via-transparent {
  --tw-gradient-stops: var(--tw-gradient-from), transparent, var(--tw-gradient-to, rgba(0, 0, 0, 0));
}

.to-transparent {
  --tw-gradient-to: transparent;
}

.drop-shadow-lg {
  filter: drop-shadow(0 10px 8px rgba(0, 0, 0, 0.1)) drop-shadow(0 4px 3px rgba(0, 0, 0, 0.1));
}

.drop-shadow-md {
  filter: drop-shadow(0 4px 3px rgba(0, 0, 0, 0.1)) drop-shadow(0 2px 1px rgba(0, 0, 0, 0.06));
}

/* ===== TEXT COLORS ===== */
.text-iconagro-dark {
  color: var(--color-iconagro-dark);
}

.text-iconagro-green {
  color: var(--color-iconagro-green);
}

.text-iconagro-yellow {
  color: var(--color-iconagro-yellow);
}

.text-gray-100 {
  color: #F3F4F6;
}

.text-gray-200 {
  color: #E5E7EB;
}

.text-gray-300 {
  color: #D1D5DB;
}

.text-gray-400 {
  color: #9CA3AF;
}

.text-gray-500 {
  color: #6B7280;
}

.text-gray-600 {
  color: #4B5563;
}

.text-gray-700 {
  color: #374151;
}

/* ===== BORDER & SHADOWS ===== */
.border-t {
  border-top: 1px solid currentColor;
}

.border-b {
  border-bottom: 1px solid currentColor;
}

.border-2 {
  border-width: 2px;
}

.border-gray-200 {
  border-color: #E5E7EB;
}

.border-gray-700 {
  border-color: #374151;
}

.border-iconagro-green {
  border-color: var(--color-iconagro-green);
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-xl {
  border-radius: 0.75rem;
}

.rounded-2xl {
  border-radius: 1rem;
}

.rounded-20px {
  border-radius: 20px;
}

.shadow-md {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hover\:shadow-2xl:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.hover\:shadow-xl:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ===== TRANSITIONS & ANIMATIONS ===== */
.transition {
  transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-all {
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-shadow {
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.duration-400 {
  transition-duration: 400ms;
}

.duration-500 {
  transition-duration: 500ms;
}

.ease-in-out {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

.ease-out {
  transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

/* ===== HOVER STATES ===== */
.hover\:bg-yellow-500:hover {
  background-color: #EAB308;
}

.hover\:bg-green-700:hover {
  background-color: #047857;
}

.hover\:bg-green-800:hover {
  background-color: #065F46;
}

.hover\:bg-green-600:hover {
  background-color: #059669;
}

.hover\:bg-opacity-20:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.hover\:text-iconagro-yellow:hover {
  color: var(--color-iconagro-yellow);
}

.hover\:text-iconagro-green:hover {
  color: var(--color-iconagro-green);
}

.hover\:text-yellow-500:hover {
  color: #EAB308;
}

.hover\:text-white:hover {
  color: white;
}

.hover\:scale-110:hover {
  transform: scale(1.1);
}

.hover\:translate-y-0:hover {
  transform: translateY(0);
}

.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 640px) {
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .sm\:w-1\/2 {
    width: 50%;
  }

  .sm\:h-1\/2 {
    height: 50%;
  }

  .sm\:h-12 {
    height: 3rem;
  }

  .sm\:w-12 {
    width: 3rem;
  }

  .sm\:text-lg {
    font-size: 1.125rem;
  }

  .sm\:text-xl {
    font-size: 1.25rem;
  }
}

@media (min-width: 641px) {
  .sm\:px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@media (min-width: 768px) {
  .md\:py-16 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .md\:py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }

  .md\:py-0 {
    padding-top: 0;
    padding-bottom: 0;
  }

  .md\:flex {
    display: flex;
  }

  .md\:hidden {
    display: none;
  }

  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .md\:h-80 {
    height: 20rem;
  }

  .md\:text-xl {
    font-size: 1.25rem;
  }

  .md\:text-2xl {
    font-size: 1.5rem;
  }

  .md\:text-3xl {
    font-size: 1.875rem;
  }

  .md\:text-4xl {
    font-size: 2.25rem;
  }

  .md\:text-5xl {
    font-size: 3rem;
  }

  .md\:w-auto {
    width: auto;
  }

  .md\:block {
    display: block;
  }

  .md\:gap-6 {
    gap: 1.5rem;
  }

  .md\:gap-8 {
    gap: 2rem;
  }

  .md\:-translate-x-6 {
    transform: translateX(-1.5rem);
  }

  .md\:translate-x-6 {
    transform: translateX(1.5rem);
  }
}

@media (min-width: 1024px) {
  .lg\:px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .lg\:flex {
    display: flex;
  }

  .lg\:hidden {
    display: none;
  }

  .lg\:w-1\/4 {
    width: 25%;
  }

  .lg\:text-2xl {
    font-size: 1.5rem;
  }

  .lg\:text-3xl {
    font-size: 1.875rem;
  }

  .lg\:text-6xl {
    font-size: 3.75rem;
  }

  .lg\:text-5xl {
    font-size: 3rem;
  }

  .lg\:text-4xl {
    font-size: 2.25rem;
  }
}

/* ===== OVERFLOW & DISPLAY ===== */
.overflow-hidden {
  overflow: hidden;
}

.overflow-x-hidden {
  overflow-x: hidden;
}

/* ===== OBJECT FIT ===== */
.object-contain {
  object-fit: contain;
}

.object-cover {
  object-fit: cover;
}

/* ===== BACKDROP & EFFECTS ===== */
.backdrop-blur-sm {
  backdrop-filter: blur(4px);
}

/* ===== FONT SIZE ===== */
.text-base {
  font-size: 1rem;
}

/* ===== CUSTOM UTILITIES ===== */
.focus-visible:focus-visible {
  outline: 3px solid #2E7D32;
  outline-offset: 2px;
}

button:focus-visible, a:focus-visible {
  outline: 3px solid #2E7D32;
  outline-offset: 2px;
}

.animate-bounce {
  animation: bounce 1s infinite;
}

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

/* ===== CUSTOM COMPONENT STYLES ===== */

/* Animación flotante para botón WhatsApp */
@keyframes float {
  0%, 100% { 
    transform: translateY(0px); 
  }
  50% { 
    transform: translateY(-10px); 
  }
}

.float-whatsapp {
  animation: float 3s ease-in-out infinite;
}

/* Botón CTA */
.btn-cta {
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-cta:active {
  transform: scale(0.98);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* Blur para imagen hero */
.hero-image {
  background-size: cover;
  background-position: center;
  filter: brightness(0.6);
}

/* Gradient overlay para mejor legibilidad */
.hero-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
}

/* Estilos responsive para tarjetas */
.category-card {
  overflow: hidden;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:active {
  transform: scale(0.95);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Menu hamburguesa animado */
.hamburger-line {
  transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translateY(10px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translateY(-10px);
}

/* Mobile menu */
.mobile-menu {
  display: none;
}

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

/* ===== BLOG MASONRY GRID ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  auto-rows: auto;
}

/* Tarjeta de blog con efecto hover */
.blog-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  background: white;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Imagen con zoom effect */
.blog-card-image {
  overflow: hidden;
  height: 240px;
  position: relative;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

/* Contenido de tarjeta */
.blog-card-content {
  padding: 20px;
}

/* Tags de categoría */
.blog-tag {
  display: inline-block;
  background-color: #1B5E20;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
  text-transform: capitalize;
}

.blog-tag.veterinaria {
  background-color: #FF6B9D;
}

.blog-tag.agronomia {
  background-color: #1B5E20;
}

.blog-tag.producto {
  background-color: #FFD600;
  color: #1B1B1B;
}

.blog-tag.sostenibilidad {
  background-color: #4CAF50;
}

/* Título elegante con serif */
.blog-card-title {
  font-family: 'Georgia', 'Garamond', serif;
  font-size: 20px;
  font-weight: 700;
  color: #1B1B1B;
  margin-bottom: 12px;
  line-height: 1.3;
  min-height: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Meta información (fecha, autor) */
.blog-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #666;
  font-size: 13px;
  border-top: 1px solid #eee;
  padding-top: 12px;
  margin-top: 12px;
}

/* Grid responsivo para masonry */
@media (min-width: 768px) {
  .blog-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  /* Artículos destacados ocupan más espacio */
  .blog-card.featured {
    grid-column: span 2;
    grid-row: span 2;
  }

  .blog-card.featured .blog-card-image {
    height: 400px;
  }

  .blog-card.featured .blog-card-title {
    font-size: 28px;
    min-height: auto;
  }
}

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

  .blog-card.featured {
    grid-column: span 2;
    grid-row: span 2;
  }

  .blog-card.featured .blog-card-image {
    height: 400px;
  }

  .blog-card.featured .blog-card-title {
    font-size: 28px;
  }
}

/* Mobile: convertir masonry a grid simple */
@media (max-width: 767px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-card.featured {
    grid-column: span 1;
    grid-row: span 1;
  }

  .blog-card.featured .blog-card-image {
    height: 240px;
  }

  .blog-card.featured .blog-card-title {
    font-size: 20px;
  }
}

/* ===== CAROUSEL STYLES ===== */
.carousel-track {
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.carousel-slide {
  display: flex;
  align-items: stretch;
  flex: 0 0 auto;
  min-width: 0;
}

.carousel-slide > div {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.carousel-slide img {
  object-fit: contain;
  max-height: 224px;
}

/* Navegación en desktop */
@media (min-width: 1024px) {
  .carousel-nav {
    display: flex !important;
    opacity: 0.8;
  }

  .carousel-nav:hover {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* Dots indicators */
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  background-color: #FFD600;
  width: 28px;
  border-radius: 5px;
}

.carousel-dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Responsive carousel adjustments */
@media (max-width: 640px) {
  .carousel-slide {
    width: 100%;
  }
}

@media (min-width: 641px) and (max-width: 1023px) {
  .carousel-slide {
    width: 50%;
  }
}

@media (min-width: 1024px) {
  .carousel-slide {
    width: 25%;
  }
}

/* ===== PRODUCTO BADGES (URGENCIA) ===== */
.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.badge-bestseller {
  background: linear-gradient(135deg, #FFD600 0%, #FFC700 100%);
  color: #1B5E20;
}

.badge-oferta {
  background: linear-gradient(135deg, #FF6B9D 0%, #FF5A8A 100%);
  color: white;
}

.badge-nuevo {
  background: linear-gradient(135deg, #FF1744 0%, #D32F2F 100%);
  color: white;
}
