/* ==========================================================================
   DISTRIBUIDORA CIPRESES S.A. DE C.V. - HOJA DE ESTILOS PÚBLICA OFICIAL
   Estética Técnica Industrial, Retículas Asimétricas y Precisión Operativa
   ========================================================================== */

:root {
  --bg-technical: #F4F4F0;
  --bg-surface: #FFFFFF;
  --text-primary: #171717;
  --text-secondary: #737373;
  --color-separator: #E4E4E1;
  --color-blue: #233E99;
  --color-red: #E3222A;
  
  --font-title: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}

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

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

body {
  background-color: var(--bg-technical);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--color-red);
  color: #FFFFFF;
}

/* Custom technical scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-technical);
}
::-webkit-scrollbar-thumb {
  background: var(--color-separator);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-blue);
}

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

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

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

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

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

/* Container constraints */
.max-width-container {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

@media (max-width: 768px) {
  .max-width-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Technical Blueprint Grid Pattern */
.tech-grid-bg {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(23, 23, 23, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(23, 23, 23, 0.03) 1px, transparent 1px);
}

.tech-divider {
  height: 1px;
  background-color: var(--color-separator);
  width: 100%;
}

/* Technical Buttons */
.btn-technical {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid var(--color-separator);
  background: var(--bg-surface);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-technical:hover {
  border-color: var(--text-primary);
  background-color: var(--bg-technical);
}

.btn-action-red {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--color-red);
  color: #FFFFFF;
  border: 1px solid var(--color-red);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.btn-action-red:hover {
  background-color: #c41c22;
  border-color: #c41c22;
}

.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--color-blue);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8125rem;
  transition: color 0.2s ease;
}

.btn-text-link:hover {
  color: #1a307a;
  text-decoration: underline;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 40;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--color-separator);
  transition: height 0.3s ease;
  height: 96px;
}

.site-header.shrunk {
  height: 64px;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.header-logo {
  display: flex;
  align-items: center;
  height: 40px;
}

.header-logo img {
  height: 40px;
  width: auto;
  object-contain: contain;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
  height: 100%;
}

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

.nav-link {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  height: 100%;
}

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

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

.quote-btn-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--color-separator);
  background: #F7F7F5;
  padding: 0.625rem 1rem;
  transition: all 0.2s ease;
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.quote-btn-trigger:hover {
  border-color: var(--text-primary);
  background: #FFFFFF;
}

.mobile-menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  color: var(--text-primary);
}

@media (min-width: 1024px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* Mega Menu Desktop */
.mega-menu-overlay {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-separator);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05);
  z-index: 50;
  padding: 2.5rem 0;
}

.mega-menu-overlay.open {
  display: block;
}

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

/* Header Spacer */
.header-spacer {
  height: 96px;
  transition: height 0.3s ease;
}

.site-header.shrunk + .header-spacer {
  height: 64px;
}

/* Mobile Drawer Nav */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  top: 64px;
  background: #FFFFFF;
  z-index: 35;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  display: block;
}

/* ==========================================================================
   HERO SHOWCASE (CAROUSEL)
   ========================================================================== */
.hero-showcase {
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-separator);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

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

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 5fr 7fr;
  }
}

.hero-slide {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.hero-slide.active {
  display: contents;
}

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

.hero-image-box {
  position: relative;
  aspect-ratio: 4 / 3;
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--color-separator);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  overflow: hidden;
}

.hero-image-box img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.hero-image-box:hover img {
  transform: scale(1.02);
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-separator);
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-arrow:hover {
  border-color: var(--text-primary);
  background: var(--bg-technical);
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 24px;
  height: 3px;
  background: var(--color-separator);
  transition: all 0.2s ease;
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--color-blue);
  width: 40px;
}

/* ==========================================================================
   HOME SEARCH BAR
   ========================================================================== */
.home-search-section {
  background: var(--bg-technical);
  border-bottom: 1px solid var(--color-separator);
  padding: 3rem 0;
}

.search-box-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.search-input-group {
  display: flex;
  background: #FFFFFF;
  border: 1px solid var(--color-separator);
  transition: border-color 0.2s ease;
}

.search-input-group:focus-within {
  border-color: var(--color-blue);
}

.search-input-group input {
  flex-grow: 1;
  border: none;
  padding: 1rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  outline: none;
  background: transparent;
}

.search-input-group button {
  background: var(--color-blue);
  color: #FFFFFF;
  padding: 0 1.5rem;
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   EXPLORA POR PROCESO (RETÍCULA EDITORIAL ASIMÉTRICA)
   ========================================================================== */
.processes-section {
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-separator);
  padding: 5rem 0;
}

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

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

.process-card {
  position: relative;
  background: #171717;
  color: #FFFFFF;
  border: 1px solid var(--color-separator);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  min-height: 260px;
  transition: all 0.3s ease;
}

.process-card:hover {
  border-color: var(--text-primary);
}

.process-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.45;
  transition: transform 0.6s ease, opacity 0.3s ease;
}

.process-card:hover .process-card-bg {
  transform: scale(1.04);
  opacity: 0.6;
}

.process-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(23, 23, 23, 0.95) 0%, rgba(23, 23, 23, 0.3) 100%);
}

.process-card-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Asymmetrical spans */
@media (min-width: 768px) {
  .proc-span-8 { grid-column: span 8; height: 260px; }
  .proc-span-4-row-2 { grid-column: span 4; grid-row: span 2; height: 544px; }
  .proc-span-4 { grid-column: span 4; height: 260px; }
}

/* ==========================================================================
   EXPLORA POR PRODUCTO (CATEGORÍAS DESTACADAS)
   ========================================================================== */
.categories-section {
  background: var(--bg-technical);
  border-bottom: 1px solid var(--color-separator);
  padding: 5rem 0;
}

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

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

.category-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid var(--color-separator);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  min-height: 260px;
  transition: all 0.3s ease;
}

.category-card:hover {
  border-color: var(--text-primary);
}

.category-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  pointer-events: none;
}

.category-card:hover .category-card-bg {
  transform: scale(1.04);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.92) 50%, rgba(255, 255, 255, 0.4) 100%);
  transition: background 0.3s ease;
}

.category-card:hover .category-card-overlay {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.88) 50%, rgba(255, 255, 255, 0.3) 100%);
}

.category-card-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ==========================================================================
   MARCAS ALIADAS
   ========================================================================== */
.brands-section {
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-separator);
  padding: 5rem 0;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--color-separator);
  border-left: 1px solid var(--color-separator);
}

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

.brand-box {
  border-right: 1px solid var(--color-separator);
  border-bottom: 1px solid var(--color-separator);
  padding: 1.5rem;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  min-height: 190px;
  transition: all 0.2s ease;
}

.brand-box:hover {
  background: #F7F7F5;
}

.brand-logo-area {
  height: 80px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-area img {
  max-height: 60px;
  max-width: 140px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.brand-box:hover .brand-logo-area img {
  transform: scale(1.04);
}

/* ==========================================================================
   CÓMO FUNCIONA (WORKFLOW)
   ========================================================================== */
.how-it-works-section {
  background: #F7F7F5;
  border-bottom: 1px solid var(--color-separator);
  padding: 5rem 0;
}

.workflow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
}

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

.workflow-step-num {
  width: 64px;
  height: 64px;
  background: #FFFFFF;
  border: 1px solid var(--color-separator);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-blue);
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* ==========================================================================
   CTA FINAL DE CONVERSIÓN
   ========================================================================== */
.cta-conversion-section {
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-separator);
  padding: 5rem 0;
  text-align: center;
  position: relative;
}

/* ==========================================================================
   CATÁLOGO DE PRODUCTOS (productos.php)
   ========================================================================== */
.catalog-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding: 3rem 0;
}

@media (min-width: 1024px) {
  .catalog-layout {
    grid-template-columns: 280px 1fr;
  }
}

.filter-sidebar {
  background: #FFFFFF;
  border: 1px solid var(--color-separator);
  padding: 1.5rem;
  height: fit-content;
}

.filter-group {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-separator);
}

.filter-group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.filter-group-title {
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  display: block;
}

.filter-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  transition: color 0.15s ease;
  cursor: pointer;
}

.filter-option:hover, .filter-option.active {
  color: var(--color-blue);
  font-weight: 600;
}

/* Product Card */
.product-card {
  background: #FFFFFF;
  border: 1px solid var(--color-separator);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
  position: relative;
}

.product-card:hover {
  border-color: var(--text-primary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.product-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  overflow: hidden;
  border-bottom: 1px solid var(--color-separator);
}

.product-card-image img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

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

.product-card-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.product-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.75rem;
  border-top: 1px solid #F7F7F5;
}

.btn-add-quote {
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--color-red);
  color: #FFFFFF;
  border: 1px solid var(--color-red);
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: center;
}

.btn-add-quote:hover {
  background: #c41c22;
}

.btn-add-quote.added {
  background: #059669;
  border-color: #059669;
}

.btn-view-details {
  width: 100%;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: center;
}

.btn-view-details:hover {
  color: var(--text-primary);
  border-color: var(--color-separator);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

/* ==========================================================================
   OFFCANVAS QUOTE DRAWER (CARRITO DE COTIZACIÓN)
   ========================================================================== */
.quote-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(23, 23, 23, 0.4);
  backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.quote-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.quote-drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background: var(--bg-technical);
  box-shadow: -10px 0 25px rgba(0, 0, 0, 0.1);
  z-index: 101;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--color-separator);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.quote-drawer-header {
  padding: 1.25rem 1.5rem;
  background: #FFFFFF;
  border-bottom: 1px solid var(--color-separator);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.quote-drawer-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex-grow: 1;
}

.quote-item-card {
  background: #FFFFFF;
  border: 1px solid var(--color-separator);
  padding: 1rem;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-separator);
  background: #F7F7F5;
}

.quantity-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  cursor: pointer;
  background: transparent;
  color: var(--text-primary);
}

.quantity-btn:hover {
  background: #FFFFFF;
}

.quantity-display {
  width: 40px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  font-weight: 700;
}

.quote-drawer-footer {
  padding: 1.25rem 1.5rem;
  background: #FFFFFF;
  border-top: 1px solid var(--color-separator);
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  background-color: #059669;
  color: #FFFFFF;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.whatsapp-floating-btn:hover {
  background-color: #047857;
  transform: scale(1.08);
}

/* ==========================================================================
   FOOTER CORPORATIVO
   ========================================================================== */
.site-footer {
  background: #FFFFFF;
  border-top: 1px solid var(--color-separator);
  color: var(--text-secondary);
  padding: 4rem 0 2rem;
  margin-top: auto;
}

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

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

.footer-title {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.8125rem;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

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

.footer-bottom {
  border-top: 1px solid var(--color-separator);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.6875rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
}

@media (min-width: 1024px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ==========================================================================
   MODAL DE FICHA TÉCNICA
   ========================================================================== */
.product-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(23, 23, 23, 0.5);
  backdrop-filter: blur(4px);
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-modal-backdrop.open {
  display: flex;
}

.product-modal-content {
  background: #FFFFFF;
  border: 1px solid var(--color-separator);
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
