/* ==========================================================================
    creamostyle.css - Premium Design System for Creamos Hilos y Lanas
   ========================================================================== */

@font-face {
  font-family: 'Good Karma';
  src: url('assets/Good Karma.woff2') format('woff2'),
       url('assets/Good Karma.woff') format('woff'),
       url('assets/Good Karma.otf') format('opentype'),
       url('assets/Good Karma.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* 1. Global Reset & Variables */
:root {
  --color-primary-magenta: #e6007e;
  --color-primary-magenta-hover: #c20069;
  --color-primary-blue: #008ecf;
  --color-primary-blue-hover: #007bb5;
  --color-primary-blue-light: #e6f4fc;
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #20ba5a;
  
  --color-text-dark: #1e293b;
  --color-text-muted: #64748b;
  --color-bg-light: #f8fafc;
  --color-bg-white: #ffffff;
  --color-border: #e2e8f0;
  --color-shadow-sm: none;
  --color-shadow-md: none;
  --color-shadow-lg: none;
  --color-shadow-card: none;
  --color-shadow-card-hover: none;
  
  --font-interface: 'Poppins', sans-serif;
  --font-accent: 'Good Karma', cursive;
  
  --z-index-header: 2000;
  --z-index-overlay: 2010;
  --z-index-drawer: 2020;
  --z-index-dropdown: 120;
  --z-index-modal: 2100;
  
  --transition-smooth: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: transform 0.15s ease, opacity 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  
  --border-radius-sm: 0px;
  --border-radius-md: 0px;
  --border-radius-lg: 0px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  font-family: var(--font-interface);
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 var(--color-bg-light);
}

html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  max-width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar Premium */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-light);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--border-radius-sm);
  border: 2px solid var(--color-bg-light);
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Accessibility Skip Link */
.skip-link {
  position: fixed;
  top: -100px;
  left: 1.5rem;
  background: var(--color-primary-magenta, #e6007e);
  color: var(--color-bg-white, #ffffff) !important;
  padding: 0.6rem 1.2rem;
  z-index: var(--z-index-modal);
  transition: top 0.2s ease;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 10px;
  outline: 2px solid var(--color-primary-blue);
}

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

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

ul {
  list-style: none;
}

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

/* Utilities */
.hidden {
  display: none !important;
}

.cursive-text {
  font-family: var(--font-accent);
  font-weight: 400;
  color: var(--color-primary-blue);
  text-transform: none;
  font-size: 1.4em;
  line-height: 1;
}

.blue-text {
  color: var(--color-primary-blue);
}

/* 2. Header Styles */
.main-header {
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: var(--z-index-header) !important;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.header-container {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem 4vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.header-left-group {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  max-width: 600px;
}

.header-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

/* Search Bar */
.search-bar-container {
  position: relative;
  flex: 1;
  max-width: 450px;
}

.search-bar-container input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  border: 1px solid var(--color-border);
  border-radius: 40px;
  background-color: var(--color-bg-light);
  font-size: 0.95rem;
  color: var(--color-text-dark);
  transition: var(--transition-smooth);
}

.search-bar-container input:focus {
  border-color: var(--color-primary-blue);
  background-color: var(--color-bg-white);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--color-text-muted);
  pointer-events: none;
}

/* Search Dropdown */
.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  max-height: 350px;
  overflow-y: auto;
  z-index: var(--z-index-dropdown);
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.search-result-item:hover {
  background-color: var(--color-bg-light);
}

.search-result-img {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-sm);
  object-fit: cover;
  background-color: #e2e8f0;
}

.search-result-info h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
  color: var(--color-text-dark);
}

.search-result-info p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.search-no-results {
  padding: 1.5rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-item {
  font-weight: 500;
  font-size: 1.05rem;
  color: #475569;
  padding: 0.5rem 0;
  transition: var(--transition-fast);
}

.nav-item.active {
  color: #0f172a;
  font-weight: 700;
}

.nav-item:hover {
  color: var(--color-primary-magenta);
}

.whatsapp-btn-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-whatsapp);
  color: var(--color-bg-white);
  padding: 0.65rem 1.5rem;
  border-radius: 40px;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.whatsapp-btn-header:hover {
  background-color: var(--color-whatsapp-hover);
}

.whatsapp-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Mobile Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 110;
}

.mobile-menu-toggle span {
  width: 100%;
  height: 2.5px;
  background-color: var(--color-text-dark);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Mobile navigation drawer */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: var(--color-bg-white);
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  z-index: var(--z-index-drawer);
  display: flex;
  flex-direction: column;
  padding: 6rem 2rem 2rem 2rem;
  gap: 1.5rem;
  transition: var(--transition-smooth);
}

.mobile-nav-drawer.active {
  right: 0;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.4);
  z-index: var(--z-index-overlay);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.mobile-nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-item {
  font-size: 1.25rem;
  font-weight: 600;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav-item.active {
  color: var(--color-primary-magenta);
}

.whatsapp-btn-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--color-whatsapp);
  color: var(--color-bg-white);
  padding: 0.85rem;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  margin-top: 1.5rem;
}

/* 3. Main Views Layout & Container */
.main-content {
  flex: 1;
  width: 100%;
  scroll-margin-top: 100px;
}

.view-section {
  width: 100%;
  animation: fadeIn 0.4s ease;
}

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

.section-container {
  width: 100%;
  padding: 5rem 6vw;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 750px;
  line-height: 1.6;
  margin-bottom: 3.5rem;
}

.centered-title {
  text-align: center;
  margin-bottom: 4rem;
}

/* 4. HOME VIEW STYLES */

/* Hero Banner */
.hero-banner {
  position: relative;
  min-height: calc(100vh - 84px);
  height: calc(100vh - 84px);
  height: calc(100dvh - 84px);
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8vw;
  /* Fallback image while video loads */
  background-image: url('assets/Hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* YouTube video background container */
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-video-bg video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Semi-transparent overlay for text readability */
.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-heart-icon {
  width: auto;
  height: min(180px, 22vh);
  object-fit: contain;
  margin-bottom: 0;
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0px); }
}

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

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
}

.hero-title .cursive-text {
  font-size: 1.85em;
}

.hero-subtitle {
  font-size: 1.35rem;
  color: #e2e8f0;
  font-weight: 500;
  line-height: 1.5;
}

.cta-primary-btn {
  align-self: center;
  background-color: var(--color-primary-magenta);
  color: var(--color-bg-white);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1.1rem 2.2rem;
  border-radius: 0;
  transition: var(--transition-smooth);
}

.cta-primary-btn:hover {
  background-color: var(--color-primary-magenta-hover);
}

/* Category Grid */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  width: 100%;
}

.category-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--color-shadow-card);
  transition: var(--transition-smooth);
}

.category-card:hover {
  border-color: #cbd5e1;
}

.card-image-container {
  height: 220px;
  width: 100%;
  overflow: hidden;
  background-color: #e2e8f0;
}

.card-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.category-card:hover .card-image-container img {
  transform: scale(1.05);
}

.card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.card-content h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.card-content p {
  color: var(--color-text-muted);
  line-height: 1.6;
  font-size: 0.95rem;
  flex: 1;
}

.card-action-btn {
  align-self: flex-end;
  background-color: var(--color-primary-magenta);
  color: var(--color-bg-white);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.65rem 1.35rem;
  border-radius: 0;
  transition: var(--transition-smooth);
}

.card-action-btn:hover {
  background-color: var(--color-primary-magenta-hover);
}

/* Featured Section (Favorites) */
.featured-section {
  background: linear-gradient(to bottom, #ffffff 42%, #008ecf 42%);
  color: var(--color-text-dark);
}

.featured-section .section-title {
  color: var(--color-text-dark);
}

.featured-section .section-title .blue-text {
  color: var(--color-primary-blue);
}

.featured-section .section-subtitle {
  color: var(--color-text-muted);
}

.featured-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

.slider-controls {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.slider-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--color-primary-blue);
  color: var(--color-bg-white);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-arrow:hover {
  background-color: var(--color-primary-magenta);
}

.slider-arrow svg {
  width: 20px;
  height: 20px;
}

.product-slider-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1.5rem 0;
}

.product-slider {
  display: flex;
  gap: 2.2rem;
  align-items: flex-start;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Product Card */
.product-card {
  min-width: calc((100% - 3 * 2.2rem) / 4);
  max-width: calc((100% - 3 * 2.2rem) / 4);
  background-color: var(--color-bg-white);
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  color: var(--color-text-dark);
  position: relative;
  z-index: 1;
  aspect-ratio: 1 / 1;
  box-shadow: var(--color-shadow-card);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

.product-card:hover {
  border-color: #cbd5e1;
}

.stock-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--color-primary-blue);
  color: var(--color-bg-white);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.4rem 0.8rem;
  border-radius: 0;
  z-index: 10;
}

.product-img-container {
  flex: 1;
  width: 100%;
  overflow: hidden;
  background-color: #f1f5f9;
  position: relative;
  min-height: 0;
  height: 0;
}

.product-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.product-info {
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 75px;
  height: auto;
  box-sizing: border-box;
  flex-shrink: 0;
}

.product-title-group {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-ref {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
  margin-top: 0.15rem;
  display: block;
}

.product-info h3 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: auto;
  max-height: 2.6rem;
  flex: 1;
}

.product-action-row {
  display: flex;
  align-items: center;
  margin-top: 0;
}

.product-price {
  display: none;
}

.product-btn {
  background-color: var(--color-primary-magenta);
  color: var(--color-bg-white);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  border-radius: 0;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.product-btn:hover {
  background-color: var(--color-primary-magenta-hover);
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dot.active {
  background-color: var(--color-bg-white);
  width: 10px;
  border-radius: 50%;
}

.slider-controls-container-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

#prev-slide-bottom, #next-slide-bottom {
  display: none;
}

/* Value Proposition (B2C) */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  width: 100%;
}

.value-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
}

/* Value proposition icon images */
.val-icon-img {
  width: 150px;
  height: 150px;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.value-item:hover .val-icon-img {
  transform: translateY(-5px) scale(1.05);
}

.value-item h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.value-item p {
  color: var(--color-text-muted);
  line-height: 1.5;
  font-size: 0.95rem;
}

/* B2B Banner */
.b2b-container {
  padding-top: 1rem !important;
}

.b2b-card {
  background: var(--color-primary-blue-light);
  border: 1px solid rgba(0, 142, 207, 0.15);
  border-radius: 0;
  padding: 4rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  width: 100%;
}

.b2b-left {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.b2b-left h3 {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.b2b-highlight {
  font-family: var(--font-accent);
  font-size: 4.5rem;
  color: var(--color-primary-blue);
  line-height: 1.1;
}

.b2b-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--color-whatsapp);
  color: var(--color-bg-white);
  padding: 1rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1.05rem;
  align-self: flex-start;
  margin-top: 1.5rem;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.b2b-whatsapp-btn:hover {
  background-color: var(--color-whatsapp-hover);
}

.b2b-right {
  flex: 0.9;
}

.b2b-bullets {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.b2b-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 1.05rem;
  color: var(--color-text-dark);
  line-height: 1.5;
}

.b2b-bullets li strong {
  color: var(--color-primary-blue);
}

.b2b-bullet-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  object-fit: contain;
}

/* 5. CATALOG VIEW STYLES */

/* Catalog Hero */
.catalog-hero-banner {
  height: 240px;
  width: 100%;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6vw;
  text-align: center;
}

.catalog-hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-text-dark);
}

/* Breadcrumbs */
.breadcrumbs-container {
  padding: 1.5rem 6vw 0 6vw;
}

.breadcrumbs {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-text-muted);
  letter-spacing: 1px;
}

.breadcrumbs a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.breadcrumbs a:hover {
  color: var(--color-primary-blue);
}

.breadcrumb-separator {
  margin: 0 0.5rem;
  color: #cbd5e1;
}

.breadcrumb-current {
  color: var(--color-text-dark);
  font-weight: 700;
}

/* Tabs */
.category-tabs-container {
  padding: 2rem 6vw 1rem 6vw;
  width: 100%;
}

.category-tabs {
  display: flex;
  gap: 1.5rem;
  border-bottom: 2px solid var(--color-border);
  width: 100%;
}

.tab-btn {
  background-color: #9ad8f5;
  color: var(--color-bg-white);
  border: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 1rem 2rem;
  border-radius: var(--border-radius-sm) var(--border-radius-sm) 0 0;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  top: 2px;
  border-bottom: 2px solid transparent;
}

.tab-btn:hover {
  background-color: #80cbec;
}

.tab-btn.active {
  background-color: var(--color-primary-blue);
  color: var(--color-bg-white);
  border-bottom-color: var(--color-primary-blue);
}

/* Catalog Layout split */
.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  padding: 2rem 6vw 15rem 6vw;
  width: 100%;
}

/* Sidebar Filters */
.catalog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.filter-header {
  position: sticky;
  top: 0;
  background-color: var(--color-bg-light);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.75rem;
}

.filter-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.clear-filters-btn {
  background: transparent;
  border: none;
  font-size: 0.85rem;
  color: var(--color-primary-blue);
  font-weight: 600;
  cursor: pointer;
}

.clear-filters-btn:hover {
  color: var(--color-primary-blue-hover);
  text-decoration: underline;
}

.checkbox-container {
  display: block;
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 2px;
  left: 0;
  height: 18px;
  width: 18px;
  background-color: #f1f5f9;
  border: 1px solid var(--color-border);
  border-radius: 0;
  transition: var(--transition-fast);
}

.checkbox-container:hover input ~ .checkmark {
  background-color: #e2e8f0;
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--color-primary-blue);
  border-color: var(--color-primary-blue);
}

.checkmark::after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark::after {
  display: block;
}

.checkbox-container .checkmark::after {
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid var(--color-bg-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Static filter blocks */
.filter-group-block {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1.5rem;
}

.filter-group-block:last-child {
  border-bottom: none;
}

.filter-group-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 1rem;
}

.filter-group-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Catalog Main Panel Grid */
.catalog-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.catalog-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  padding: 1rem 1.5rem;
  border-radius: 0;
}

.products-count {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* Stock filter toggle */
.stock-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}

.stock-toggle input {
  display: none;
}

.slider-toggle {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
  background-color: #cbd5e1;
  border-radius: 34px;
  transition: var(--transition-smooth);
}

.slider-toggle::before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  bottom: 3px;
  background-color: var(--color-bg-white);
  border-radius: 50%;
  transition: var(--transition-smooth);
}

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

.stock-toggle input:checked + .slider-toggle::before {
  transform: translateX(20px);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: start;
  width: 100%;
}

.catalog-main .product-card {
  min-width: 100%;
  max-width: 100%;
}

/* Empty grid message */
.empty-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 2rem;
  text-align: center;
  background-color: var(--color-bg-white);
  border: 1px dashed var(--color-border);
  border-radius: var(--border-radius-md);
  color: var(--color-text-muted);
  gap: 1.5rem;
}

.empty-grid svg {
  width: 60px;
  height: 60px;
}

.empty-grid p {
  font-size: 1.1rem;
  max-width: 450px;
  line-height: 1.6;
}

/* Placeholder for missing images */
.image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f1f5f9 0%, #cbd5e1 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  gap: 0.75rem;
}

.image-placeholder-icon {
  width: 32px;
  height: 32px;
}

.image-placeholder span {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* 6. PRODUCT DETAIL VIEW STYLES */
.pdp-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  padding: 2rem 6vw 5rem 6vw;
  width: 100%;
}

/* Gallery */
.pdp-gallery-container {
  display: flex;
  gap: 1.5rem;
}

.pdp-thumbnails {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 90px;
  flex-shrink: 0;
}

.pdp-thumb {
  width: 90px;
  height: 90px;
  border-radius: var(--border-radius-sm);
  border: 2px solid var(--color-border);
  overflow: hidden;
  cursor: pointer;
  background-color: var(--color-bg-white);
  transition: var(--transition-smooth);
}

.pdp-thumb:hover, .pdp-thumb.active {
  border-color: var(--color-primary-blue);
  transform: scale(1.02);
}

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

.pdp-main-image-wrapper {
  flex: 1;
  height: 520px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  position: relative;
  background-color: var(--color-bg-white);
}

.pdp-main-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

/* PDP Info Panel */
.pdp-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}

.pdp-title-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.pdp-ref-row {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.pdp-ref-value {
  color: var(--color-text-dark);
  font-weight: 700;
  background-color: var(--color-primary-blue-light);
  padding: 0.25rem 0.5rem;
  font-family: monospace;
  font-size: 0.85rem;
}

.pdp-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-text-dark);
  line-height: 1.2;
  margin-bottom: 0;
}

.pdp-stock-badge {
  position: static;
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  background-color: var(--color-primary-blue);
  color: var(--color-bg-white);
  font-weight: 700;
  border-radius: 0;
  z-index: auto;
}

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

.pdp-price-section {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 1rem;
}

.pdp-price-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.pdp-price-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-text-dark);
  line-height: 1;
}

.pdp-selectors {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 0;
  border: none;
}

.selector-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1.5rem;
}

.selector-group:last-child {
  border-bottom: none;
}

.selector-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

/* Color Options buttons */
.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.color-chip {
  background: var(--color-bg-white);
  border: 2px solid var(--color-border);
  border-radius: 0;
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.color-chip:hover {
  border-color: #94a3b8;
}

.color-chip.active {
  border-color: var(--color-primary-blue);
  background-color: var(--color-primary-blue-light);
  color: var(--color-primary-blue);
}

/* Size and Quantity Options buttons */
.size-options, .quantity-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.opt-btn {
  min-width: 50px;
  height: 44px;
  padding: 0 1rem;
  border-radius: var(--border-radius-sm);
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.opt-btn:hover {
  border-color: #94a3b8;
  background-color: var(--color-bg-light);
}

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

/* PDP CTA Submit WhatsApp */
.pdp-cta-box {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2rem;
}

.pdp-cta-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

.pdp-whatsapp-submit-btn {
  flex: 1;
  max-width: 325px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: var(--color-whatsapp);
  color: var(--color-bg-white);
  padding: 1rem 1.5rem;
  border-radius: 0;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.pdp-whatsapp-submit-btn:hover {
  background-color: var(--color-whatsapp-hover);
}

.pdp-trust-icons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pdp-description-section {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.7;
}

/* Specs Tech Box */
.pdp-specs-box {
  background-color: #f0f9ff;
  border: 1px solid #e0f2fe;
  border-radius: 0;
  padding: 2rem;
}

.pdp-specs-box h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-blue);
  margin-bottom: 1.25rem;
}

.specs-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-left: 0;
  list-style: none;
}

.specs-list li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-dark);
}

.specs-list li strong {
  font-weight: 700;
  color: var(--color-text-dark);
}

/* 7. Footer Styles */
.main-footer {
  background-color: var(--color-bg-white);
  border-top: 1px solid var(--color-border);
  padding: 5rem 6vw 2rem 6vw;
  width: 100%;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  width: 100%;
}

.footer-main-row {
  display: flex;
  align-items: flex-start;
  gap: 4rem;
  width: 100%;
}

.footer-logo-col {
  flex-shrink: 0;
}

.footer-logo {
  width: 450px;
  height: auto;
  object-fit: contain;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
  flex: 1;
  margin-left: auto;
  max-width: 650px;
  text-align: left;
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer-col h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
  text-align: left;
}

.footer-col a, .footer-col span {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  text-align: left;
}

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

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--color-border);
  padding-top: 1.75rem;
  width: 100%;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.privacy-link:hover {
  color: var(--color-primary-magenta);
  text-decoration: underline;
}

/* Trust icon images in PDP */
.trust-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* ==========================================================================
   8. Responsive Media Queries
   ========================================================================== */

/* Responsive Media Queries (Moved to bottom of file) */

/* ===== PDP ORDER QUANTITY SLIDER STYLES ===== */
.pdp-order-qty-section {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1.5rem;
}

.pdp-order-qty-control {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 320px;
}

.pdp-qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-white);
  color: var(--color-text-dark);
  font-size: 1.2rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  user-select: none;
}

.pdp-qty-btn:hover {
  background-color: var(--color-bg-light);
  border-color: #94a3b8;
  color: var(--color-primary-blue);
  transform: scale(1.05);
}

.pdp-qty-btn:active {
  transform: scale(0.95);
}

.pdp-qty-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: #cbd5e1;
  outline: none;
  cursor: pointer;
}

.pdp-qty-slider::-webkit-slider-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: var(--color-primary-blue);
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: 0px;
  box-shadow: 0 2px 5px rgba(0, 142, 207, 0.4);
  transition: transform 0.1s, background-color 0.2s;
}

.pdp-qty-slider::-webkit-slider-thumb:hover {
  background: var(--color-primary-blue-hover);
  transform: scale(1.15);
}

.pdp-qty-slider::-moz-range-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: var(--color-primary-blue);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 5px rgba(0, 142, 207, 0.4);
  transition: transform 0.1s, background-color 0.2s;
}

.pdp-qty-slider::-moz-range-thumb:hover {
  background: var(--color-primary-blue-hover);
  transform: scale(1.15);
}

.pdp-qty-display {
  font-size: 1.15rem;
  font-weight: 800;
  min-width: 32px;
  text-align: center;
  background: var(--color-primary-blue-light);
  color: var(--color-primary-blue);
  padding: 4px 10px;
  border-radius: 4px;
}

.pdp-price-unit-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-left: 0.75rem;
  display: inline-block;
  vertical-align: middle;
}

/* ==========================================================================
    7. ABOUT VIEW STYLES (NOSOTROS)
   ========================================================================== */

/* Hero Banner */
.about-hero-banner {
  height: 250px;
  width: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6vw;
  position: relative;
  text-align: center;
}

.about-hero-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.4);
  z-index: 1;
}

.about-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
}

.about-hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-text-dark);
}

.about-hero-title .cursive-text {
  font-size: 1.55em;
  color: var(--color-primary-blue);
}

.about-hero-subtitle {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-magenta);
  letter-spacing: 2px;
}

/* Info grid (Mission & Vision) */
.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  width: 100%;
}

.about-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: var(--color-shadow-card);
  transition: var(--transition-smooth);
}

.about-card:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
}

.about-card-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.about-card-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-text-dark);
}

.about-card-icon-wrapper {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.about-card-icon-wrapper.blue-bg {
  background-color: var(--color-primary-blue-light);
  color: var(--color-primary-blue);
}

.about-card-icon-wrapper.magenta-bg {
  background-color: #fef0f7;
  color: var(--color-primary-magenta);
}

.about-card-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.about-card p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

/* Values Section */
.about-values-section {
  background-color: var(--color-bg-white);
  border-top: 1px solid var(--color-border);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2.5rem;
  width: 100%;
}

.value-card {
  background-color: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--border-radius-md);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.value-card:hover {
  transform: translateY(-5px);
  background-color: var(--color-bg-white);
  border-color: var(--color-primary-blue);
}

.val-icon-img-small {
  width: 75px;
  height: 75px;
  object-fit: contain;
  transition: var(--transition-smooth);
  margin-bottom: 0.5rem;
  align-self: flex-start;
}

.value-card:hover .val-icon-img-small {
  transform: translateY(-3px) scale(1.08);
}

.value-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-dark);
  transition: var(--transition-smooth);
}

.value-card:hover h3 {
  color: var(--color-primary-blue);
}

.value-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* Intro Section (Quiénes Somos) */
.about-intro-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  background-color: var(--color-bg-white);
  border-bottom: 1px solid var(--color-border);
}

.about-intro-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 680px;
}

.about-intro-text h2 {
  font-size: 4.2rem;
  font-weight: 800;
  color: var(--color-text-dark);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.about-intro-text h2 .cursive-text {
  font-size: 1.8em;
}

.about-intro-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.about-intro-text p strong {
  color: var(--color-primary-blue);
  font-weight: 600;
}

.about-intro-img-container {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dots-and-arrows-row {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  padding-top: 1rem;
}

.about-intro-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.about-intro-img-container:hover .about-intro-img {
  transform: scale(1.03);
}

/* Misión & Visión Container Background */
.about-info-section {
  background-color: var(--color-primary-blue);
}

/* Stats Counter Section */
.about-stats-section {
  background-color: var(--color-bg-light); /* Very light gray background */
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  width: 100%;
}

.stat-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-primary-blue);
  line-height: 1;
}

.stat-card:nth-child(even) .stat-number {
  color: var(--color-primary-magenta);
}

.stat-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.stat-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* About view media queries (Moved to bottom of file) */

/* ==========================================================================
    8. SCROLL ANIMATIONS SYSTEM (REVEAL ON SCROLL)
   ========================================================================== */

/* Base Reveal States */
.reveal {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1), transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-45px);
  transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1), transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(45px);
  transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1), transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-zoom {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.95s cubic-bezier(0.16, 1, 0.3, 1), transform 0.95s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Active Reveal States */
.reveal.active,
.reveal-left.active,
.reveal-right.active,
.reveal-zoom.active {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Staggered transition delays for lists/grids */
.stagger-1 { transition-delay: 0.08s; }
.stagger-2 { transition-delay: 0.16s; }
.stagger-3 { transition-delay: 0.24s; }
.stagger-4 { transition-delay: 0.32s; }
.stagger-5 { transition-delay: 0.40s; }
.stagger-6 { transition-delay: 0.48s; }
.stagger-7 { transition-delay: 0.56s; }
.stagger-8 { transition-delay: 0.64s; }

/* Disable transitions if prefers-reduced-motion is active */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right, .reveal-zoom {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Media queries (Moved to bottom of file) */

/* ==========================================================================
   11. Policy Modal Styles
   ========================================================================== */
.policy-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-index-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.policy-modal.open {
  opacity: 1;
  visibility: visible;
}

.policy-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.policy-modal-container {
  position: relative;
  background: var(--color-bg-white, #ffffff);
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: 20px;
  width: 90%;
  max-width: 650px;
  max-height: 80vh;
  padding: 40px 30px 30px;
  z-index: 2;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow-y: auto;
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.policy-modal.open .policy-modal-container {
  transform: scale(1);
}

.policy-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: var(--color-text-muted, #64748b);
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.2s, color 0.2s;
}

.policy-modal-close:hover {
  background-color: var(--color-bg-light, #f8fafc);
  color: var(--color-text-dark, #1e293b);
}

.policy-modal-content h2 {
  font-family: var(--font-interface);
  color: var(--color-text-dark, #1e293b);
  margin-bottom: 20px;
  font-size: 24px;
}

.policy-modal-content p {
  color: var(--color-text-dark, #1e293b);
  line-height: 1.6;
  margin-bottom: 16px;
  font-size: 15px;
}

.policy-modal-content ul {
  margin-bottom: 16px;
  padding-left: 20px;
  list-style-type: disc;
}

.policy-modal-content li {
  color: var(--color-text-dark, #1e293b);
  margin-bottom: 8px;
  line-height: 1.5;
  font-size: 15px;
}

/* ==========================================================================
   8. Consolidated Responsive Media Queries
   ========================================================================== */

@media (max-width: 1024px) {
  .section-title {
    font-size: 2.2rem;
  }
  
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .product-card {
    min-width: calc((100% - 2 * 1.5rem) / 3);
    max-width: calc((100% - 2 * 1.5rem) / 3);
  }
  
  .product-slider {
    gap: 1.5rem;
  }
  
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .b2b-card {
    flex-direction: column;
    padding: 3rem;
    gap: 2.5rem;
  }
  
  .b2b-left {
    align-items: center;
    text-align: center;
  }
  
  .b2b-left h3 {
    font-size: 2.3rem;
  }
  
  .b2b-highlight {
    font-size: 1.8rem;
  }
  
  .b2b-whatsapp-btn {
    align-self: center;
  }
  
  .catalog-layout {
    grid-template-columns: 220px 1fr;
    gap: 2rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .pdp-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .pdp-main-image-wrapper {
    height: 450px;
  }

  /* About View adjustments */
  .about-grid {
    gap: 2rem;
  }
  .values-grid {
    gap: 2rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .about-intro-section {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Header mobile (single line: logo | search | hamburger) */
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: flex;
    flex-shrink: 0;
  }
  
  .header-container {
    padding: 0.6rem 4vw;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }
  
  .header-logo {
    height: 44px;
  }
  
  .header-left-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
    max-width: none;
  }

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

  .search-bar-container {
    flex: 1;
    min-width: 0;
    max-width: none;
  }

  .search-bar-container input {
    font-size: 0.85rem;
    padding: 0.6rem 0.8rem 0.6rem 2.5rem;
  }

  /* Hero adjustment for single-line header (~64px) */
  .hero-banner {
    min-height: calc(100vh - 64px);
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
  }
}

@media (min-width: 1025px) {
  .breadcrumbs-container {
    position: sticky;
    top: 84px;
    z-index: 1500;
    background-color: var(--color-bg-light);
    padding: 1.5rem 6vw 0.5rem 6vw;
  }
  .category-tabs-container {
    position: sticky;
    top: 136px;
    z-index: 1500;
    background-color: var(--color-bg-light);
    padding: 1rem 6vw 1rem 6vw;
  }
  .catalog-sidebar {
    position: sticky;
    top: 228px;
    align-self: start;
    max-height: calc(100vh - 248px);
    overflow-y: auto;
    z-index: 1300;
  }
  .catalog-controls {
    position: sticky;
    top: 228px;
    z-index: 1300;
    background-color: var(--color-bg-white);
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .breadcrumbs-container {
    position: sticky;
    top: 64px;
    z-index: 1500;
    background-color: var(--color-bg-light);
    padding: 1.5rem 6vw 0.5rem 6vw;
  }
  .category-tabs-container {
    position: sticky;
    top: 116px;
    z-index: 1500;
    background-color: var(--color-bg-light);
    padding: 1rem 6vw 1rem 6vw;
  }
  .catalog-sidebar {
    position: sticky;
    top: 208px;
    align-self: start;
    max-height: calc(100vh - 228px);
    overflow-y: auto;
    z-index: 1300;
  }
  .catalog-controls {
    position: sticky;
    top: 208px;
    z-index: 1300;
    background-color: var(--color-bg-white);
  }
}

@media (max-width: 768px) {
  /* Section spacing reduction */
  .section-container {
    padding: 3rem 5vw;
  }
  
  .section-title {
    font-size: 1.85rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }
  
  /* Catalog hero title */
  .catalog-hero-banner {
    height: 180px;
  }
  
  .catalog-hero-title {
    font-size: 2.2rem;
  }
  
  /* Breadcrumbs mobile overflow fix */
  .breadcrumbs-container {
    padding: 1rem 5vw 0 5vw;
  }
  
  .breadcrumbs {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
  }
  
  /* PDP responsive */
  .pdp-cta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .pdp-whatsapp-submit-btn {
    max-width: 100%;
    width: 100%;
    white-space: normal;
  }
  
  .pdp-title {
    font-size: 2rem;
  }
  
  .pdp-price-value {
    font-size: 1.8rem;
  }
  
  /* Hero banner */
  .hero-banner {
    min-height: calc(100vh - 64px);
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    padding: 0 6vw;
    background-position: 70% center;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.15rem;
  }

  .hero-heart-icon {
    height: min(140px, 20vh);
    width: auto;
    margin-bottom: 0;
  }
  
  /* Category grid */
  .category-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .product-card {
    min-width: calc((100% - 1 * 1.2rem) / 2);
    max-width: calc((100% - 1 * 1.2rem) / 2);
  }
  
  .product-slider {
    gap: 1.2rem;
  }
  
  /* Catalog layout */
  .catalog-layout {
    grid-template-columns: 1fr;
    padding-bottom: 5rem;
  }
  
  .catalog-sidebar {
    display: none;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* B2B section */
  .b2b-card {
    padding: 2.5rem 5vw;
  }
  
  .b2b-left h3 {
    font-size: 1.8rem;
  }
  
  .b2b-bullets li {
    font-size: 0.95rem;
  }
  
  .b2b-bullet-icon {
    width: 30px;
    height: 30px;
  }
  
  /* Footer */
  .main-footer {
    padding: 3rem 5vw 1.5rem 5vw;
  }
  
  .footer-main-row {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }

  .footer-logo {
    width: 220px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
    margin-left: 0;
    max-width: 100%;
  }
  
  .footer-col {
    align-items: center;
  }
  
  .footer-bottom-row {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* About View adjustments */
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-card {
    padding: 2rem;
  }
  .about-hero-banner {
    height: 180px;
  }
  .about-hero-title {
    font-size: 2.2rem;
  }
  .about-hero-title .cursive-text {
    font-size: 1.3em;
  }
  .about-intro-text h2 {
    font-size: 2.5rem;
  }
  .about-intro-text h2 .cursive-text {
    font-size: 1.4em;
  }
  .stat-number {
    font-size: 2.5rem;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* Category tabs layout wrapping */
  .category-tabs-container {
    padding: 1.5rem 6vw 1rem 6vw;
  }
  
  .category-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    border-bottom: none;
    width: 100%;
  }
  
  .tab-btn {
    font-size: 0.85rem;
    padding: 0.65rem 1rem;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: calc(50% - 0.5rem);
    text-align: center;
    border-radius: 4px;
    white-space: nowrap;
    top: 0;
  }
  
  #tab-insumos {
    flex-basis: 100%;
  }
  
  .tab-btn.active {
    background-color: var(--color-primary-blue);
    color: var(--color-bg-white);
  }

  /* Home featured slider arrows on either side of the dots */
  .slider-controls {
    display: none;
  }
  
  #prev-slide-bottom, #next-slide-bottom {
    display: flex;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: var(--color-primary-blue);
    color: var(--color-bg-white);
    border: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    flex-shrink: 0;
  }
  
  #prev-slide-bottom:hover, #next-slide-bottom:hover {
    background-color: var(--color-primary-magenta);
  }
  
  #prev-slide-bottom svg, #next-slide-bottom svg {
    width: 18px;
    height: 18px;
  }
  
  .slider-controls-container-bottom {
    margin-top: 1.8rem;
    gap: 1.2rem;
  }
  
  /* B2B highlight responsive fixes */
  .b2b-highlight {
    font-size: 2.8rem;
  }
  
  .b2b-whatsapp-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
    align-self: center;
  }
}

@media (max-width: 576px) {
  .section-container {
    padding: 2.5rem 4vw;
  }
  
  .section-title {
    font-size: 1.55rem;
  }
  
  .section-subtitle {
    font-size: 0.92rem;
    margin-bottom: 2rem;
  }
  
  .hero-heart-icon {
    width: auto;
    height: min(100px, 16vh);
    margin-bottom: 0;
  }

  .hero-title {
    font-size: 2.3rem;
  }
  
  /* Catalog hero */
  .catalog-hero-banner {
    height: 140px;
  }
  
  .catalog-hero-title {
    font-size: 1.7rem;
  }
  
  .product-card {
    min-width: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .catalog-layout {
    padding-bottom: 3rem;
  }
  
  /* PDP */
  .pdp-gallery-container {
    flex-direction: column-reverse;
  }
  
  .pdp-thumbnails {
    flex-direction: row;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }
  
  .pdp-thumb {
    width: 70px;
    height: 70px;
  }
  
  .pdp-main-image-wrapper {
    height: 320px;
  }
  
  .pdp-title {
    font-size: 1.8rem;
  }
  
  .pdp-price-value {
    font-size: 1.5rem;
  }
  
  /* B2B */
  .b2b-card {
    padding: 2rem 4vw;
  }
  
  .b2b-left h3 {
    font-size: 1.5rem;
  }
  
  .b2b-highlight {
    font-size: 1.4rem;
  }
  
  .b2b-bullet-icon {
    width: 24px;
    height: 24px;
  }
  
  .b2b-bullets li {
    font-size: 0.88rem;
  }
  
  /* Footer */
  .main-footer {
    padding: 2.5rem 4vw 1rem 4vw;
  }
  
  .footer-logo {
    width: 180px;
  }

  .value-grid {
    grid-template-columns: 1fr;
  }

  /* About View adjustments */
  .about-hero-banner {
    height: 140px;
  }
  .about-hero-title {
    font-size: 1.7rem;
  }
  .about-hero-title .cursive-text {
    font-size: 1.2em;
  }
  .about-intro-text h2 {
    font-size: 1.8rem;
  }
  .about-intro-text h2 .cursive-text {
    font-size: 1.3em;
  }
  .stat-number {
    font-size: 2rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .value-card {
    padding: 2rem 1.5rem;
  }

  .b2b-highlight {
    font-size: 2.2rem;
  }
  
  .b2b-whatsapp-btn {
    padding: 0.7rem 1.15rem;
    font-size: 0.88rem;
  }
}







