@charset "UTF-8";

/* ===== Fundamentos ===== */

/* Fundamentos visuales de Canastas de Víveres */
:root {
    --header-height: 80px;
    --fuente-interfaz: Montserrat, sans-serif;
    --espacio-1: 0.25rem;
    --espacio-2: 0.5rem;
    --espacio-3: 0.75rem;
    --espacio-4: 1rem;
    --espacio-5: 1.5rem;
    --radio-control: 0.5rem;
    --radio-tarjeta: 0.875rem;
    --sombra-tarjeta: 0 2px 5px rgba(32, 60, 36, 0.05);
    --sombra-panel: 0 8px 24px rgba(32, 60, 36, 0.07);
    --color-verde-oscuro: #203c24;
    --color-verde-claro: #d8eeaa;
    --color-verde-marca: #70a83b;
    --color-titulo: #2f4a25;
    --color-texto-secundario: #4b5563;
    --color-superficie: #ffffff;
    --color-fondo-calido: #f8f5ec;
    --color-borde-suave: #dce5d5;
    --color-borde-campo: #d1d5db;
}

/* ===== Navegación y estructura general ===== */

/* Reset para body y html - sin márgenes ni padding */
html {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: hidden;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    padding-top: var(--header-height) !important;
    width: 100% !important;
    overflow-x: hidden;
    position: relative;
}

/* Estilos para main - igual que React */
main {
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
}

/* Estilos del Header Canastas de Víveres - Exactamente como React */
body.page-home {
    padding-top: 0 !important;
}

.header-canastas {
    background: var(--color-verde-oscuro);
    border-bottom: 1px solid rgba(216, 238, 170, 0.18);
    /* shadow-sm de Tailwind */
    --tw-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    width: 100% !important;
    margin: 0 !important;
    display: block !important;
}

.page-home .header-canastas:not(.is-scrolled) {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
}

.header-canastas .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-inline: calc(0.25rem * 6); /* px-6 = 1.5rem = 24px */
}

@media (min-width: 1024px) {
    .header-canastas .container {
        padding-inline: calc(0.25rem * 12); /* lg:px-12 = 3rem = 48px */
    }
}

/* Header Content - Contenedor principal flex */
.header-canastas .header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

/* Logo Button */
.header-canastas .logo-btn {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

.header-canastas .logo-btn .logo-img {
    height: 100px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
    filter: grayscale(1) invert(1) brightness(1.65);
    transition: opacity 0.15s ease;
}

.header-canastas .logo-btn:hover .logo-img {
    opacity: 0.8;
}

.header-canastas .logo-btn:focus,
.header-canastas .logo-btn:focus-visible {
    outline: none;
}

/* Desktop Navigation */
.header-canastas .nav-desktop {
    display: none;
}

@media (min-width: 1024px) {
    .header-canastas .nav-desktop {
        display: flex;
        align-items: center;
        gap: 2rem; /* gap-8 = 2rem */
    }
}

.header-canastas .nav-desktop .nav-link {
    font-family: var(--fuente-interfaz) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    color: var(--color-superficie);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    font: inherit;
    line-height: inherit;
    transition-property: color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.15s;
    text-decoration: none;
    display: inline-block;
}

.header-canastas .nav-desktop .nav-link:focus,
.header-canastas .nav-desktop .nav-link:focus-visible {
    outline: none;
}

.header-canastas .nav-desktop .nav-link:hover,
.header-canastas .nav-desktop .nav-link[aria-current="page"] {
    color: var(--color-verde-claro);
}

/* Botón CTA - Button component styles */
.header-canastas .btn-cotizacion {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--espacio-2);
    white-space: nowrap;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--fuente-interfaz);
    height: 2.25rem; /* h-9 */
    padding: 0.75rem 1.5rem; /* py-3 px-6 */
    background: var(--color-verde-claro);
    color: var(--color-verde-oscuro);
    border-radius: var(--radio-control); /* rounded-lg */
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition-property: background-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.15s;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: auto;
    opacity: 1;
    outline: none;
}

.header-canastas .btn-cotizacion:hover {
    background: #e8f6ce;
    color: var(--color-verde-oscuro);
}

.header-canastas .btn-cotizacion:focus,
.header-canastas .btn-cotizacion:focus-visible {
    outline: none;
    border-color: var(--ring, oklch(0.708 0 0));
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow, 0 0 #0000), var(--tw-inset-ring-shadow, 0 0 #0000), var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
    --tw-ring-color: color-mix(in oklab, var(--ring, oklch(0.708 0 0)) 50%, transparent);
}

.header-canastas .btn-cotizacion svg {
    pointer-events: none;
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
}

/* Mobile Menu Button */
.header-canastas .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--espacio-2);
    min-width: 44px;
    min-height: 44px;
    background: rgba(32, 60, 36, 0.85);
    border: 1px solid rgba(216, 238, 170, 0.3);
    border-radius: var(--radio-control);
    cursor: pointer;
    color: var(--color-superficie);
}

@media (min-width: 1024px) {
    .header-canastas .mobile-menu-btn,
    .header-canastas .mobile-menu {
        display: none !important;
    }
}

.header-canastas .mobile-menu-btn:focus {
    outline: none;
    box-shadow: none;
}

.header-canastas .mobile-menu-btn .menu-icon,
.header-canastas .mobile-menu-btn .close-icon {
    display: block;
    width: 24px;
    height: 24px;
}

/* Mobile Menu */
.header-canastas .mobile-menu {
    display: none;
    max-height: calc(100vh - var(--header-height));
    max-height: calc(100dvh - var(--header-height));
    overflow-y: auto;
    overscroll-behavior: contain;
    box-sizing: border-box;
    padding: var(--espacio-3);
    border: 1px solid rgba(216, 238, 170, 0.25);
    border-radius: var(--radio-tarjeta);
    background: var(--color-verde-oscuro);
    box-shadow: 0 12px 28px rgba(32, 60, 36, 0.24);
}

.header-canastas .mobile-menu .nav-mobile {
    display: flex;
    flex-direction: column;
    gap: var(--espacio-1);
}

.header-canastas .mobile-menu .nav-mobile .nav-link {
    font-family: var(--fuente-interfaz);
    font-size: 16px;
    font-weight: 500;
    color: var(--color-superficie);
    background: none;
    border: none;
    cursor: pointer;
    min-height: 44px;
    padding: var(--espacio-2) var(--espacio-3);
    border-radius: var(--radio-control);
    transition-property: color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.15s;
    text-align: left;
    font: inherit;
    line-height: inherit;
    margin: 0;
    text-decoration: none;
    display: block;
    width: 100%;
}

.header-canastas .mobile-menu .nav-mobile .nav-link:focus,
.header-canastas .mobile-menu .nav-mobile .nav-link:focus-visible {
    outline: none;
}

.header-canastas .mobile-menu .nav-mobile .nav-link:hover,
.header-canastas .mobile-menu .nav-mobile .nav-link[aria-current="page"] {
    color: var(--color-verde-claro);
    background: rgba(216, 238, 170, 0.1);
}

.header-canastas :is(.logo-btn, .mobile-menu-btn, .btn-cotizacion):focus-visible,
.header-canastas .nav-desktop .nav-link:focus-visible,
.header-canastas .mobile-menu :is(.nav-link, .mobile-menu-action):focus-visible {
    outline: 2px solid var(--color-verde-claro);
    outline-offset: 4px;
}

.mobile-menu-actions {
    display: grid;
    gap: var(--espacio-2);
    margin-top: var(--espacio-2);
    padding-top: var(--espacio-3);
    border-top: 1px solid rgba(216, 238, 170, 0.25);
}

.mobile-menu-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--espacio-2);
    min-height: 44px;
    padding: var(--espacio-2) var(--espacio-3);
    border: 1px solid rgba(216, 238, 170, 0.35);
    border-radius: var(--radio-control);
    background: rgba(216, 238, 170, 0.1);
    color: var(--color-superficie);
    font: inherit;
    font-weight: 600;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.mobile-menu-action:is(:hover, :focus-visible) {
    background: var(--color-verde-claro);
    color: var(--color-verde-oscuro);
    text-decoration: none;
}

.header-canastas .mobile-menu .btn-cotizacion-mobile {
    width: 100%;
    text-align: center;
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 576px) {
    .header-canastas .container {
        padding-inline: calc(0.25rem * 4); /* px-4 = 1rem = 16px en móvil pequeño */
    }
    
    .header-canastas .logo-btn .logo-img {
        height:100px;
        max-width: 220px;
    }
}



/* Estilos del Footer Canastas de Víveres */
/* Asegurar que el body use flexbox para empujar el footer al final */
body {
    display: flex !important;
    flex-direction: column !important;
    min-height: 100vh !important;
}

main {
    flex: 1 !important;
}

.footer-canastas {
    background-color: var(--color-titulo); /* Color exacto del diseño */
    color: var(--color-superficie);
    width: 100%;
    margin: 0;
    padding: 0;
    margin-top: auto;
}

.footer-canastas .container {
    max-width: 1100px;
    margin: 0 auto;

    padding-block: 2rem; /* 48px - igual que py-12 */
}

/* Para pantallas grandes (>= 64rem / 1024px) */

/* Footer Top - 4 Columnas */
.footer-top {
    margin-bottom: 2rem;
}

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

/* Títulos de sección */
.footer-widget h3 {
    font-family: var(--fuente-interfaz);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-superficie);
    margin-bottom: 1.5rem;
    text-align: left;
}

/* Columna 1: Canastas de Víveres */
.footer-brand h3 {
    margin-bottom: 1rem;
}

.footer-brand p {
    font-family: var(--fuente-interfaz);
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    text-align: left;
    margin: 0;
}

/* Columna 2: Navegación */
.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav ul li {
    margin-bottom: 0.5rem;
}

.footer-nav ul li a {
    font-family: var(--fuente-interfaz);
    font-size: 14px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-nav ul li a:hover {
    color: var(--color-superficie);
}

/* Columna 3: Contacto */
.footer-contact .contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-family: var(--fuente-interfaz);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact .contact-item .icon {
    width: 20px;
    height: 20px;
    margin-right: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-contact .contact-item .icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: var(--color-superficie);
    color: var(--color-superficie);
}

.footer-contact .contact-item span {
    flex: 1;
}

.footer-contact .contact-item a {
    opacity: .75;
    font-family: var(--fuente-interfaz);
    font-size: 14px;
    color: var(--color-superficie); /* Color naranja/marrón para el email */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-contact .contact-item a:hover {
    color: #d97706; /* Color naranja más claro al hover */
}

/* Columna 4: Síguenos */
.footer-social .social-icons {
    display: flex;
    gap: var(--espacio-4);
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-social .social-icons li {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: oklab(0.999994 0.0000455678 0.0000200868 / 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.footer-social .social-icons li:hover {
    
    background: rgb(112, 168, 59);
    border-color: var(--color-superficie);
    color: var(--color-superficie);
    opacity: 0.8;
}

.footer-social .social-icons li svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: var(--color-superficie);
    color: var(--color-superficie);
}

.footer-social .social-icons li a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
}

.footer-social .social-icons li a:hover {
    opacity: 0.7;
}

/* Separador horizontal */
.footer-separator {
    height: 1px;
    opacity: .25;
    background: rgba(255, 255, 255, 0.2); /* Separador más claro como en la imagen */
    margin-block: 2rem; /* Usar margin-block para evitar distorsión */
    width: 100%;
}



.footer-bottom .container {
    padding-block-start: 0;
    padding-block-end: 2rem;
    padding-left: 0;
    padding-right: 0;
}

.footer-copyright {
    font-family: var(--fuente-interfaz);
    font-size: 14px;
    font-weight: 400;
    opacity: .75;
    text-align: center !important;
    color: var(--color-fondo-calido);
    margin: 0;
    margin-block: 25px;
}

/* Responsive */
@media (max-width: 991px) {
    .footer-canastas .container {
        box-sizing: border-box;
        padding-inline: var(--espacio-5);
    }

    .footer-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 576px) {
    .footer-canastas .container {
        padding-block-end: 4.5rem;
    }

    .footer-row {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-widget h3 {
        font-size: 16px;
    }
    
    .footer-brand p,
    .footer-nav ul li a,
    .footer-contact .contact-item {
        font-size: 13px;
    }
}

/* Volver arriba */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  opacity: 0;
  visibility: hidden;
  color: white;
  background: rgba(var(--bs-primary-rgb), 0.75);
  z-index: 100000;
  transition: all 0.35s ease-in-out;
  border-radius: 50%;
}
.scroll-top.active {
  opacity: 1;
  visibility: visible;
}
.scroll-top:hover {
  background: rgba(var(--bs-primary-rgb), 1);
}

/* ===== Componentes compartidos ===== */

/* Botones y campos compartidos */
.btn-primary-green {
    font-family: var(--fuente-interfaz);
    background: var(--color-verde-marca);
    color: var(--color-superficie);
    padding: 0.425rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.btn-primary-green:hover {
    background: #5d8a2f;
    color: var(--color-superficie);
}

.btn-outline-green {
    font-family: var(--fuente-interfaz);
    background: var(--color-superficie);
    color: var(--color-verde-marca);
    padding: 0.525rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: 2px solid var(--color-verde-marca);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-outline-green:hover {
    background: var(--color-verde-marca);
    color: var(--color-superficie);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(112, 168, 59, 0.3);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--espacio-5);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--espacio-2);
}

.form-label {
    font-family: var(--fuente-interfaz);
    font-size: 14px;
    font-weight: 700;
    color: #374151;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-borde-campo);
    border-radius: var(--radio-control);
    font-family: var(--fuente-interfaz);
    font-size: 15px;
    color: #111827;
    background: #f3f4f6;
    transition: all 0.15s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #9ca3af;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-verde-marca);
    background: var(--color-superficie);
    box-shadow: 0 0 0 3px rgba(112, 168, 59, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 60px;
    height: 10px;
}

/* Ruta de navegación */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.25rem 0.5rem;
    font-family: var(--fuente-interfaz);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.breadcrumb-link {
    color: #576451;
    font-size: inherit;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s ease;
}

.breadcrumb-link:hover, .breadcrumb-link:focus-visible {
    color: var(--color-verde-oscuro);
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.breadcrumb-icon {
    color: #8b9985;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.breadcrumb-text,
.breadcrumb-current {
    color: var(--color-titulo);
    font-size: 15px;
    font-weight: 500;
}
.breadcrumb-current-product {
    color: var(--color-verde-oscuro);
    font-size: inherit;
    font-weight: 600;
}

/* Tarjeta de catálogo */
.catalog-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--color-borde-suave);
    border-radius: var(--radio-tarjeta);
    background: var(--color-superficie);
    box-shadow: var(--sombra-tarjeta);
    text-decoration: none;
}

.catalog-card:hover {
    border-color: #7a9b60;
    text-decoration: none;
}

.catalog-card:focus-visible {
    outline: 2px solid var(--color-verde-oscuro);
    outline-offset: 2px;
}

.catalog-card img {
    box-sizing: border-box;
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: contain;
    padding: var(--espacio-2);
    border-radius: var(--radio-tarjeta) 0.875rem 0 0;
    background: var(--color-superficie);
}

.catalog-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--espacio-2);
    padding: 0.875rem 1rem 1rem;
    border-top: 1px solid #edf0e8;
}

.catalog-card-body h3 {
    margin: 0;
    color: var(--color-verde-oscuro);
    font-size: 1rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.catalog-card-category,
.catalog-card-inclusions {
    margin: 0;
    color: var(--color-texto-secundario);
    font-size: 0.875rem;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.catalog-card-inclusions {
    padding-left: var(--espacio-4);
    list-style: disc;
}

.catalog-card-inclusions li + li {
    margin-top: var(--espacio-1);
}

.catalog-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--espacio-1);
}

.catalog-card-badge {
    padding: 0.125rem var(--espacio-2);
    border: 1px solid var(--color-borde-suave);
    border-radius: var(--radio-control);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-verde-oscuro);
}

.catalog-card-badge.products-badge-green { background: #eff3eb; }
.catalog-card-badge.products-badge-yellow { background: #fff3d1; }
.catalog-card-badge.products-badge-red { background: #faeae4; }

.catalog-card-action {
    margin-top: auto;
    padding-top: var(--espacio-1);
    color: var(--color-verde-oscuro);
    font-size: 0.875rem;
    font-weight: 700;
}

/* Panel de cotización */
.product-form-section .consultation-form {
    padding: 0;
    border: 1px solid var(--color-borde-suave);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--sombra-panel);
}

.product-form-section .form-header {
    margin: 0;
    padding: 1rem 1.125rem;
    background: var(--color-verde-oscuro);
}

.product-form-section .form-title {
    margin: 0;
    color: var(--color-superficie);
}

.product-form-section .product-form {
    gap: var(--espacio-3);
    padding: 1rem 1.125rem;
}

.product-form-section .form-group {
    min-width: 0;
    gap: var(--espacio-1);
}

.consulta-form .form-error:empty,
.consulta-form .form-feedback:empty,
:is(.contact-form-card, .consultation-form, .confirmacion-mensaje)[hidden] {
    display: none;
}

.consulta-form :is(.form-input, .form-textarea):focus-visible {
    border-color: var(--color-verde-oscuro);
    outline: 2px solid var(--color-verde-oscuro);
    outline-offset: 1px;
    box-shadow: none;
}

.consulta-form [aria-invalid="true"] {
    border-color: #ab3434;
}

.consulta-form .form-error {
    min-height: 0;
    color: #ab3434;
}

.consulta-form .form-feedback {
    margin: 0;
    padding: var(--espacio-3);
    border-radius: var(--radio-control);
    background: #faeae4;
    color: #822c2c;
    font-size: 0.875rem;
}

.consulta-form button[type="submit"] {
    min-height: 44px;
    background: var(--color-verde-claro);
    color: var(--color-verde-oscuro);
}

.consulta-form button[type="submit"]:hover:not(:disabled) {
    background: #e8f6ce;
}

.consulta-form button[type="submit"]:disabled {
    opacity: 0.75;
    cursor: wait;
}

.product-form-section .form-input,
.product-form-section .form-textarea {
    box-sizing: border-box;
    padding: 0.5rem 0.625rem;
    background: var(--color-superficie);
}

.product-form-section .form-input {
    min-height: 44px;
}

.product-form-section .product-quote-row {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 0.625rem;
}

.product-form-section .btn-form-submit {
    min-height: 44px;
    background: var(--color-verde-claro);
    color: var(--color-verde-oscuro);
}

.product-form-section .btn-form-submit:hover {
    background: #e8f6ce;
}

/* Estructura y estados del formulario */
.consultation-form {
    background: var(--color-superficie);
    border: 2px solid var(--color-verde-marca);
    border-radius: 0.75rem;
    padding: var(--espacio-5);
}

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

.form-header {
    display: flex;
    align-items: flex-start;
    gap: var(--espacio-4);
    margin-bottom: 1.5rem;
}

.form-title {
    font-family: var(--fuente-interfaz);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-titulo);
    margin: 0 0 0.5rem 0;
}

/* Form Styles */
.product-form {
    display: flex;
    flex-direction: column;
}

.form-error {
    font-family: var(--fuente-interfaz);
    font-size: 12px;
    color: #dc2626;
    min-height: 1.25rem;
}

.btn-form-submit {
    width: 100%;
    padding: 0.5rem 1.5rem;
    background: var(--color-verde-marca);
    color: var(--color-superficie);
    border: none;
    border-radius: var(--radio-control);
    font-family: var(--fuente-interfaz);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease;
    margin-top: 0.5rem;
}

.btn-form-submit:hover {
    background: #608d33;
}

.form-footer {
    display: flex;
    align-items: flex-start;
    gap: var(--espacio-3);
    padding: var(--espacio-4);
    background: rgb(248, 245, 236);
    border-radius: var(--radio-control);
    margin-top: 0.5rem;
}

.form-footer .check-icon {
    width: 16px;
    height: 16px;
    color: var(--color-verde-marca);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.form-footer p {
    font-family: var(--fuente-interfaz);
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-texto-secundario);
    margin: 0;
}

.form-footer p strong {
    color: rgb(75, 85, 99);
    font-weight: 600;
}

/* Mensaje de Confirmación (reemplaza al formulario) */
.confirmacion-mensaje {
    background: var(--color-superficie);
    border: 2px solid var(--color-verde-marca);
    border-radius: 12px;
    padding: var(--espacio-5);
    animation: fadeIn 0.3s ease;
}

.confirmacion-mensaje-content {
    display: flex;
    align-items: center;
    gap: var(--espacio-5);
}

.confirmacion-mensaje-icon {
    width: 64px;
    height: 64px;
    min-width: 64px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
}

.confirmacion-mensaje-img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.confirmacion-mensaje-text {
    flex: 1;
}

.confirmacion-mensaje-title {
    font-family: var(--fuente-interfaz);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-titulo);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
}

.confirmacion-mensaje-description {
    font-family: var(--fuente-interfaz);
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

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

@media (max-width: 640px) {
    .confirmacion-mensaje {
        padding: 1.25rem;
    }
    
    .confirmacion-mensaje-content {
        gap: var(--espacio-4);
    }
    
    .confirmacion-mensaje-icon {
        width: 56px;
        height: 56px;
        min-width: 56px;
    }
    
    .confirmacion-mensaje-img {
        width: 56px;
        height: 56px;
    }
    
    .confirmacion-mensaje-title {
        font-size: 16px;
    }
    
    .confirmacion-mensaje-description {
        font-size: 13px;
    }
}

/* ===== Portada ===== */

/* Hero de inicio */
.home-hero {
    background: radial-gradient(ellipse at 85% 0%, #355c2b 0%, transparent 62%), var(--color-verde-oscuro);
    padding: clamp(3rem, 6vw, 5.5rem) 0;
    padding-top: calc(var(--header-height) + clamp(3rem, 6vw, 5.5rem));
    color: var(--color-superficie);
}

.home-hero .container {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: clamp(1.25rem, 4vw, 3rem);
}

.home-hero-content {
    display: grid;
    gap: clamp(1.75rem, 4vw, 3.5rem);
    align-items: center;
}

@media (min-width: 800px) {
    .home-hero-content {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    }
}

.home-hero-offer {
    color: var(--color-verde-claro);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    margin: 0 0 0.75rem;
}

.home-hero-title {
    font-family: var(--fuente-interfaz);
    font-size: clamp(2.25rem, 4.6vw, 3.625rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
    color: var(--color-superficie);
    margin: 0;
}

.home-hero-title span {
    display: block;
    color: var(--color-verde-claro);
}

.home-hero-description {
    max-width: 42ch;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.6;
    color: #edf3e7;
    margin: 1.125rem 0 0;
}

.home-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--espacio-3);
    margin-top: 1.5rem;
}

.home-hero-buttons .btn-primary-green,
.home-hero-buttons .btn-outline-green {
    min-height: 3rem;
    padding: 0.625rem 1rem;
    border: 1px solid transparent;
    border-radius: 0.625rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--espacio-2);
}

.home-hero-buttons .btn-primary-green {
    background: var(--color-verde-claro);
    color: var(--color-verde-oscuro);
}

.home-hero-buttons .btn-primary-green:hover {
    background: #e8f6ce;
}

.home-hero-buttons .btn-outline-green {
    background: transparent;
    border-color: #a7bf9f;
    color: var(--color-superficie);
}

.home-hero-buttons .btn-outline-green:hover {
    background: #355c2b;
    transform: none;
    box-shadow: none;
}

.home-hero-buttons a:focus-visible {
    outline: 2px solid var(--color-superficie);
    outline-offset: 4px;
}

.home-hero-experience {
    color: #edf3e7;
    font-size: 0.875rem;
    margin: 1.5rem 0 0;
    padding-top: 0.875rem;
    border-top: 1px solid #789274;
}

/* Botón WhatsApp con el mismo estilo que btn-primary-green */
.btn-whatsapp {
    font-family: var(--fuente-interfaz) !important;
    background: var(--color-verde-oscuro) !important;
    color: var(--color-superficie) !important;
    padding: 0.425rem 2rem !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--espacio-2);
}

.btn-whatsapp:hover {
    background: #365f2a !important;
    color: var(--color-superficie) !important;
    text-decoration: none !important;
}

.home-hero-image-wrapper {
    position: relative;
    box-sizing: border-box;
    width: min(100%, 28rem);
    aspect-ratio: 1;
    margin-inline: auto;
    padding: clamp(0.625rem, 1.3vw, 1rem);
    border-radius: 50%;
    background: linear-gradient(145deg, #c9df9a, #527644 44%, #2e4d30 68%, #91aa68);
    box-shadow: 0 1.25rem 2.5rem rgba(10, 26, 13, 0.32);
}

.home-hero-image-wrapper::before {
    content: "";
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(239, 250, 216, 0.48);
    border-radius: inherit;
    pointer-events: none;
}

.home-hero-image-wrapper img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 75%;
}

/* Responsive Hero */
@media (max-width: 640px) {

    .btn-primary-green,
    .btn-outline-green {
        width: 100%;
    }
}

/* Sección Categorías de Presentación */
.home-categorias {
    background: var(--color-fondo-calido);
    padding: 4rem 0;
    width: 100%;
}

@media (min-width: 1024px) {
    .home-categorias {
        padding: 6rem 0;
    }
}

.home-categorias .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-inline: calc(0.25rem * 6);
    /* px-6 = 1.5rem = 24px */
}

@media (min-width: 1024px) {
    .home-categorias .container {
        padding-inline: calc(0.25rem * 12);
        /* lg:px-12 = 3rem = 48px */
    }
}

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

.categorias-title {
    font-family: var(--fuente-interfaz);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 600;
    color: var(--color-titulo);
    margin: 0 0 1rem 0;
}

.categorias-subtitle {
    font-family: var(--fuente-interfaz);
    font-size: 17px;
    font-weight: 400;
    color: var(--color-texto-secundario);
    margin: 0 auto;
    line-height: 1.6;
    max-width: 42rem;
}

.categorias-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--espacio-5);
}

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

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

.categoria-card {
    background: var(--color-superficie);
    border-radius: var(--radio-tarjeta);
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 450px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.categoria-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.categoria-card-image {
    width: 100%;
    position: relative;
    padding-top: 106%; /* Mantener proporción como en el proyecto funcional */
    overflow: hidden;
    background: #f3f4f6;
}

.categoria-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

.categoria-card-content {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: var(--espacio-4);
}

.categoria-card-title {
    font-family: var(--fuente-interfaz);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-titulo);
    margin: 0;
}

.categoria-card-description {
    font-family: var(--fuente-interfaz);
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--color-texto-secundario);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.btn-categoria {
    font-family: var(--fuente-interfaz);
    background: var(--color-superficie);
    color: var(--color-verde-oscuro);
    padding: 0.425rem 1.5rem;
    border-radius: var(--radio-control);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    border: 1px solid var(--color-verde-oscuro);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    margin-top: auto;
    width: 100%;
    pointer-events: none; /* Evita que el botón capture el click, toda la tarjeta es clickeable */
}

.btn-categoria:hover {
    background: var(--color-verde-oscuro);
    color: var(--color-superficie);
    text-decoration: none;
}

/* Responsive Categorías */
@media (max-width: 576px) {
    .home-categorias {
        padding: 3rem 0;
    }

    .home-categorias .container {
        padding-inline: calc(0.25rem * 6);
        /* px-6 = 1.5rem = 24px */
    }

    .categorias-header {
        margin-bottom: 2rem;
    }

    .categorias-title {
        font-size: 1.75rem;
    }

    .categorias-subtitle {
        font-size: 1rem;
    }
}

/* Sección Beneficios para tu empresa */
.home-beneficios {
    background: var(--color-superficie);
    padding: 4rem 0;
    width: 100%;
}

@media (min-width: 1024px) {
    .home-beneficios {
        padding: 6rem 0;
    }
}

.home-beneficios .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-inline: calc(0.25rem * 6);
    /* px-6 = 1.5rem = 24px */
}

@media (min-width: 1024px) {
    .home-beneficios .container {
        padding-inline: calc(0.25rem * 12);
        /* lg:px-12 = 3rem = 48px */
    }
}

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

.beneficios-title {
    font-family: var(--fuente-interfaz);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 600;
    color: var(--color-titulo);
    margin: 0 0 1rem 0;
}

.beneficios-subtitle {
    font-family: var(--fuente-interfaz);
    font-size: 17px;
    font-weight: 400;
    color: var(--color-texto-secundario);
    margin: 0 auto;
    line-height: 1.6;
    max-width: 42rem;
}

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

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

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

.beneficio-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--espacio-4);
}

.beneficio-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-fondo-calido);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.beneficio-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--color-verde-marca);
    fill: none;
}

.beneficio-title {
    font-family: var(--fuente-interfaz);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-titulo);
    margin: 0;
}

.beneficio-description {
    font-family: var(--fuente-interfaz);
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--color-texto-secundario);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Beneficios */
@media (max-width: 576px) {
    .home-beneficios {
        padding: 3rem 0;
    }

    .home-beneficios .container {
        padding-inline: calc(0.25rem * 6);
        /* px-6 = 1.5rem = 24px */
    }

    .beneficios-header {
        margin-bottom: 2rem;
    }

    .beneficios-title {
        font-size: 1.75rem;
    }

    .beneficios-subtitle {
        font-size: 1rem;
    }
}

/* Sección Preguntas Frecuentes (FAQ) */
.home-faq {
    background: var(--color-fondo-calido);
    padding: 4rem 0;
    width: 100%;
}

@media (min-width: 1024px) {
    .home-faq {
        padding: 6rem 0;
    }
}

.home-faq .container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding-inline: calc(0.25rem * 6);
    /* px-6 = 1.5rem = 24px */
}

@media (min-width: 1024px) {
    .home-faq .container {
        padding-inline: calc(0.25rem * 12);
        /* lg:px-12 = 3rem = 48px */
    }
}

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

.faq-title {
    font-family: var(--fuente-interfaz);
    font-size: clamp(28px, 4vw, 36px) !important;
    font-weight: 600;
    color: var(--color-titulo) !important;
    margin: 0 0 1rem 0;
}

.faq-subtitle {
    font-family: var(--fuente-interfaz);
    font-size: 17px;
    font-weight: 400;
    color: var(--color-texto-secundario);
    margin: 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--espacio-4);
}

.faq-item {
    background: var(--color-superficie);
    border-radius: var(--radio-tarjeta);
    border: 1px solid var(--color-borde-campo);
    padding: var(--espacio-3);
    box-shadow: none;
    overflow: hidden;
}

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

.faq-question {
    font-family: var(--fuente-interfaz);
    font-size: 16px;
    font-weight: 600;
    text-align: left;
    width: 100%;
    flex: 1;
    align-items: flex-start;
    justify-content: space-between;
    gap: var(--espacio-4);
    margin: 0;
    padding: 0.5rem 0;
    cursor: pointer;
    display: flex;
    color: var(--color-titulo);
    border-radius: 0.375rem;
    background: transparent;
    border: none;
    outline: none;
}

.faq-question:hover {
    color: var(--color-verde-marca);
    text-decoration: underline;
}

.faq-question:focus,
.faq-question:focus-visible {
    outline: none;
    border-color: var(--ring, oklch(0.708 0 0));
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow, 0 0 #0000), var(--tw-inset-ring-shadow, 0 0 #0000), var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
    --tw-ring-color: color-mix(in oklab, var(--ring, oklch(0.708 0 0)) 50%, transparent);
}

.faq-question:disabled {
    pointer-events: none;
    opacity: 0.5;
}

.faq-question span {
    flex: 1;
}

.faq-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    pointer-events: none;
    color: var(--muted-foreground, #717182);
    transition: transform 0.2s ease-out;
    transform: translateY(0.125rem);
}

.faq-item[data-state="open"] .faq-icon {
    transform: translateY(0.125rem) rotate(180deg);
}

.faq-answer {
    overflow: hidden;
    height: 0;
    transition: height 0.2s ease-out;
}

.faq-answer-inner {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    font-size: 0.875rem;
}

.faq-answer p {
    font-family: Inter, sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: rgb(75, 85, 99);
    line-height: 1.7;
    margin: 0;
}

/* Responsive FAQ */
@media (max-width: 576px) {
    .home-faq {
        padding: 3rem 0;
    }

    .home-faq .container {
        padding-inline: calc(0.25rem * 6);
        /* px-6 = 1.5rem = 24px */
    }

    .faq-header {
        margin-bottom: 2rem;
    }



    .faq-subtitle {
        font-size: 1rem;
    }

    .faq-item {
        padding: var(--espacio-4);
    }
}

/* Sección CTA */
.home-cta {
    background: var(--color-superficie);
    padding: 4rem 0;
    width: 100%;
}

@media (min-width: 1024px) {
    .home-cta {
        padding: 6rem 0;
    }
}

.home-cta .container {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding-inline: calc(0.25rem * 6);
    /* px-6 = 1.5rem = 24px */
    text-align: center;
}

@media (min-width: 1024px) {
    .home-cta .container {
        padding-inline: calc(0.25rem * 12);
        /* lg:px-12 = 3rem = 48px */
    }
}

.cta-title {
    font-family: var(--fuente-interfaz);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 600;
    color: var(--color-titulo);
    margin: 0 0 1.5rem 0;
}

.cta-description {
    font-family: var(--fuente-interfaz);
    font-size: 17px;
    font-weight: 400;
    color: var(--color-texto-secundario);
    line-height: 1.7;
    margin: 0 auto 2rem auto;
    max-width: 42rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--espacio-4);
}

@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
        gap: var(--espacio-4);
    }
}

.cta-whatsapp {
    display: flex;
    align-items: center;
    gap: var(--espacio-2);
    color: var(--color-texto-secundario);
}

.whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: #25d366;
    color: var(--color-superficie);
}

.whatsapp-icon svg {
    width: 20px;
    height: 20px;
}

.cta-whatsapp span {
    font-family: var(--fuente-interfaz);
    font-size: 15px;
    font-weight: 400;
}

/* Responsive CTA */
@media (max-width: 640px) {
    .cta-buttons {
        width: 100%;
    }

    .btn-primary-green {
        width: 100%;
    }
}

/* ===== Catálogo y categorías ===== */

/* productos */



/* ============================================
   TU CSS PERSONALIZADO (INTEGRADO)
   ============================================ */

/* Products Page Section */
.products-page-section {
    background: var(--color-superficie);
    width: 100%;
    overflow: visible !important;
}

/* FIX CRITICO PARA STICKY: 
   Si el body o html tienen overflow-x: hidden, el sticky muere.
   'clip' es una alternativa moderna que a veces funciona mejor con sticky.
*/
html, body {
    overflow-x: clip !important; /* Forzar clip sobre hidden para permitir sticky vertical */
}

/* Header Section */
.catalog-page .products-header-section {
    padding: clamp(2.25rem, 5vw, 4rem) 0;
    background: radial-gradient(ellipse at 90% 0%, #e3ebd1, transparent 60%), #f5f2e8;
    border-bottom: 1px solid #e3e7d9;
}

.catalog-page .products-main-title {
    max-width: 25ch;
    font-size: clamp(2rem, 4.4vw, 3.25rem);
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.catalog-page .products-main-description {
    max-width: 64ch;
}

.catalog-page .products-content-section {
    padding: clamp(1.5rem, 4vw, 3rem) 0;
    background: #faf9f5;
}

.catalog-nav-bar {
    display: flex;
    align-items: center;
    gap: var(--espacio-3);
    margin-bottom: clamp(1.25rem, 3vw, 2rem);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-borde-suave);
}

.catalog-nav {
    display: flex;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    gap: var(--espacio-2);
    margin-inline: -4px;
    padding: 4px;
}

.catalog-nav::-webkit-scrollbar {
    display: none;
}

.catalog-nav a {
    display: inline-flex;
    box-sizing: border-box;
    flex: 0 0 auto;
    align-items: center;
    white-space: nowrap;
    min-height: 44px;
    padding: 0.375rem 0.875rem;
    border: 1px solid var(--color-borde-suave);
    border-radius: 1.5rem;
    background: var(--color-superficie);
    color: #29482b;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}

.catalog-nav a:hover {
    background: #eaf2e3;
    border-color: #9cb090;
}

.catalog-nav a:is([aria-current="page"], [aria-current="location"]) {
    background: var(--color-verde-oscuro);
    border-color: var(--color-verde-oscuro);
    color: var(--color-superficie);
}

@media (width < 1024px) {
    .catalog-nav-bar {
        margin-bottom: 1rem;
    }

    .catalog-nav-bar > .catalog-controls:not([hidden]) {
        display: none;
    }

    .catalog-nav a {
        min-height: 40px;
        padding-inline: 0.9375rem;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .catalog-nav {
        scroll-behavior: smooth;
    }

    html:has([data-catalog-anchors]) {
        scroll-behavior: smooth;
    }
}

.catalog-page :is(a, button):focus-visible {
    outline: 2px solid #47752e;
    outline-offset: 2px;
}

.catalog-group, .catalog-page #catalogo {
    scroll-margin-top: calc(var(--header-height) + 1rem);
}

.catalog-group + .catalog-group {
    margin-top: clamp(1.5rem, 4vw, 2.5rem);
    padding-top: clamp(1.25rem, 3vw, 2rem);
    border-top: 1px solid var(--color-borde-suave);
}

.catalog-group-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 1rem;
}

.catalog-group-header h2, .catalog-quote h2 {
    margin: 0;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    line-height: 1.25;
    color: var(--color-verde-oscuro);
}

.catalog-group-header h2 a {
    color: inherit;
    text-decoration: none;
}

.catalog-group-header h2 a:hover {
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.catalog-group-actions > a {
    color: #365c2c;
    font-size: 0.875rem;
    font-weight: 700;
}

.catalog-group-actions > a {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    min-height: 44px;
}

.catalog-group-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--espacio-3);
}

.catalog-controls:not([hidden]) {
    display: flex;
    gap: 0.375rem;
}

.catalog-controls button {
    width: 44px;
    height: 44px;
    border: 1px solid #a7b99b;
    border-radius: 50%;
    background: var(--color-verde-oscuro);
    color: var(--color-superficie);
    font-size: 1.25rem;
    cursor: pointer;
}

.catalog-controls button:hover:not([aria-disabled="true"]) {
    background: #365c2c;
}

.catalog-controls button[aria-disabled="true"] {
    background: transparent;
    color: #596856;
    cursor: default;
}

.catalog-track {
    display: flex;
    gap: var(--espacio-4);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 4px 0.625rem;
    scroll-padding-inline: 4px;
    margin: 0;
    list-style: none;
}

.catalog-group:has(.catalog-controls:not([hidden])) .catalog-track {
    scrollbar-width: none;
}

.catalog-group:has(.catalog-controls:not([hidden])) .catalog-track::-webkit-scrollbar {
    display: none;
}

@media (prefers-reduced-motion: no-preference) {
    .catalog-track { scroll-behavior: smooth; }
}

.catalog-track > li {
    flex: 0 0 82%;
    min-width: 0;
    scroll-snap-align: start;
}

@media (min-width: 600px) {
    .catalog-track > li { flex-basis: calc((100% - 1rem) / 2); }
}

@media (min-width: 1000px) {
    .catalog-track > li { flex-basis: calc((100% - 3rem) / 4); }
}

.catalog-empty {
    margin: 0;
    color: var(--color-texto-secundario);
}

.catalog-quote {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--espacio-4);
    margin-top: 2.5rem;
    padding: clamp(1.25rem, 4vw, 2rem);
    border-radius: 1rem;
    background: radial-gradient(ellipse at 100% 0%, #355c2b, transparent 68%), var(--color-verde-oscuro);
    color: #edf3e7;
}

.catalog-quote h2 {
    color: var(--color-superficie);
}

.catalog-quote p {
    margin: 0.5rem 0 0;
}

.catalog-quote .btn-primary-green {
    min-height: 44px;
    background: var(--color-verde-claro);
    color: var(--color-verde-oscuro);
}

.catalog-quote .btn-primary-green:hover {
    background: #e8f6ce;
}

.products-header-section {
    background: var(--color-fondo-calido);
    padding: 3rem 0;
    width: 100%;
    overflow: visible !important;
}
@media (min-width: 1024px) { .products-header-section { padding: 4rem 0; } }

/* Container */
.products-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    overflow: visible !important;
}
@media (min-width: 1024px) { .products-container { padding-left: 3rem; padding-right: 3rem; } }

/* Main Title */
.products-main-title {
    font-family: var(--fuente-interfaz);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-titulo);
    margin: 0 0 1rem 0;
}

.products-main-description {
    font-family: var(--fuente-interfaz);
    font-size: 18px;
    color: var(--color-texto-secundario);
    max-width: 48rem;
    line-height: 1.7;
    margin: 0;
}

/* Content Section */
.products-content-section {
    padding: 3rem 0;
    width: 100%;
    overflow: visible !important;
}
@media (min-width: 1024px) { .products-content-section { padding: 4rem 0; } }


/* Category Content */
.catalog-models-title {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--color-verde-oscuro);
}

.products-category-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--espacio-5);
    width: 100%;
}
@media (min-width: 640px) { .products-category-content { grid-template-columns: repeat(2, 1fr); } }

@media (min-width: 1000px) {
    .products-category-content {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .products-header-section, .products-content-section { padding: 2rem 0; }
    .products-main-title { font-size: 28px; }
    .products-main-description { font-size: 16px; }
}

/* ===== Ficha de producto ===== */

/* DETALLE DE PRODUCTO */


/* Product Detail Page Section */
.product-detail-section {
    background: var(--color-superficie);
    width: 100%;
    min-height: 100vh;
}

/* Breadcrumb */
.product-breadcrumb {
    background: #faf9f5;
    border-bottom: 1px solid #e9ebe2;
    padding: 0.625rem 0;
}

.product-detail-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

@media (min-width: 1024px) {
    .product-detail-container {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

/* Main Product Section */
.product-main-section {
    background: var(--color-superficie);
    padding: 2.5rem 0 3.5rem;
    overflow: visible; /* Sin overflow para que sticky funcione */
}

@media (min-width: 1024px) {
    .product-main-section {
        padding: 2.5rem 0 4rem;
        overflow: visible; /* Sin overflow para que sticky funcione */
    }
}

.product-detail-grid {
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: start; /* Importante para que sticky funcione */
    overflow: visible; /* Sin overflow para que sticky funcione */
}

@media (min-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: start; /* CRUCIAL: permite que sticky funcione */
        overflow: visible;
    }
    
    /* Grid específico para información del producto (limita el sticky) */
    .product-info-grid {
        align-items: start; /* CRUCIAL para sticky */
        overflow: visible;
        /* Este grid solo contiene hasta product-info-wrapper */
        /* Cuando el wrapper termina, el grid termina y el sticky se detiene */
    }
}

/* Product Gallery - STICKY */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: var(--espacio-4);
    width: 100%;
    position: static; /* En móvil: estático */
}

/* Sticky en desktop - la galería baja con el scroll solo hasta "Pedido mínimo" (dentro de product-info-wrapper) */
@media (min-width: 1024px) {
    /* CRUCIAL: El sticky se limita por la altura del contenedor padre (.product-info-grid) */
    /* El sticky se detendrá exactamente cuando termine .product-info-grid (que termina con .product-info-wrapper) */
    
    /* Asegurar que el grid padre limite correctamente el sticky - NO debe extenderse más allá */
    .product-info-grid {
        align-items: start; /* CRUCIAL: permite que sticky funcione correctamente */
        /* La altura del grid será la altura del contenido más alto (el wrapper) */
        /* Cuando el wrapper termina, el grid termina y el sticky se detiene */
        height: fit-content; /* IMPORTANTE: el grid solo toma la altura del contenido */
        min-height: 0; /* Permite que el grid se ajuste al contenido */
    }
    
    .product-gallery {
        position: -webkit-sticky;
        position: sticky;
        top: 100px; /* 80px (header) + 20px (espacio) = 100px */
        align-self: start; /* CRUCIAL: comienza desde arriba */
        /* El sticky se detendrá cuando termine .product-info-grid */
        /* No necesita max-height porque el contenedor padre lo limita */
    }
    
    /* El wrapper define la altura del grid */
    .product-info-wrapper {
        width: 100%;
        /* Este wrapper contiene todo hasta "Pedido mínimo" */
        /* Su altura determina la altura del grid y por tanto dónde termina el sticky */
    }
}

.product-main-image-wrapper {
    width: 100%;
    aspect-ratio: 4 / 5;
    background: var(--color-superficie);
    box-sizing: border-box;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.product-main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 10px;
}

.product-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 5rem));
    gap: var(--espacio-3);
    width: 100%;
}

.thumbnail-button {
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 0;
    border: 2px solid var(--color-borde-campo);
    border-radius: var(--radio-control);
    background: #f9fafb;
    cursor: pointer;
    transition: all 0.15s ease;
    overflow: hidden;
}

.thumbnail-button:hover {
    border-color: #9ca3af;
}

.thumbnail-button.active {
    border: 4px solid var(--color-verde-marca);
}

.thumbnail-button img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Product Details - Ya no se usa en la nueva estructura, pero lo mantenemos por compatibilidad */
.product-details {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Grid específico para la información del producto (donde funciona el sticky) */
/* .product-info-grid hereda los estilos de .product-detail-grid */
/* Este grid solo contiene la galería y el wrapper de información */
/* El sticky se detendrá cuando termine este grid */

/* Wrapper para limitar el sticky solo hasta "Pedido mínimo" (antes del formulario) */
.product-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem; /* Mismo gap que product-details tenía originalmente */
    align-self: start; /* CRUCIAL: permite que el sticky funcione correctamente */
    width: 100%; /* Ocupa todo el ancho de la columna */
}

/* Sección del formulario (fuera del grid sticky) */
.product-form-section {
    grid-column: 1 / -1;
    width: min(100%, 36rem);
    justify-self: center;
    scroll-margin-top: calc(var(--header-height) + 1rem);
}

@media (min-width: 1200px) {
    .product-detail-grid.product-info-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, 0.95fr);
        gap: var(--espacio-5);
    }

    .product-info-grid .product-form-section {
        grid-column: auto;
        width: 100%;
    }

    .product-characteristics .product-quote-link {
        display: none;
    }
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: var(--espacio-5);
}

.product-title {
    font-family: var(--fuente-interfaz);
    font-size: 35px;
    font-weight: 700;
    max-width: 500px;
    color: var(--color-titulo);
    margin-top: -12px;
    text-transform: lowercase;
}

.product-title::first-letter {
    text-transform: uppercase;
}

.product-description {
    font-family: var(--fuente-interfaz);
    color: var(--color-texto-secundario);
    font-size: 17px;
    line-height: 1.7;
    margin: 0;
}

/* Product Badges */
.product-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--espacio-3);
}

.product-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--espacio-2);
    padding: 0.4rem 1rem;
    background: var(--color-fondo-calido);
    border: 1px solid var(--color-verde-marca);
    border-radius: var(--radio-control);
    font-family: var(--fuente-interfaz);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-verde-marca);
}

.badge-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Product Characteristics */
.product-characteristics {
    padding: 0;
}

.product-characteristics .product-title {
    margin: 0 0 1rem;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    line-height: 1.15;
    overflow-wrap: anywhere;
    text-transform: none;
}

.product-characteristics .product-quote-link {
    min-height: 44px;
    margin-bottom: 1.5rem;
    background: var(--color-verde-oscuro);
    color: var(--color-superficie);
}

.product-characteristics .product-quote-link:hover {
    background: #365c2c;
}

.product-inclusions {
    margin: 1rem 0 0;
    padding: 0.75rem 1rem 0.75rem 2rem;
    border: 1px solid var(--color-borde-suave);
    border-radius: 0.625rem;
    background: #eff3eb;
    list-style: disc;
    color: var(--color-texto-secundario);
    font-size: 13px;
}

.product-inclusions li + li {
    margin-top: 0.45rem;
    padding-top: 0.45rem;
    border-top: 1px solid var(--color-borde-suave);
}

.characteristics-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.characteristic-item {
    display: flex;
    flex-direction: column;
    gap: var(--espacio-1);
    padding: 1rem 0;
    border-bottom: 1px solid rgb(209, 213, 219);;
}

.characteristic-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.characteristic-item:first-child {
    padding-top: 0;
}

.characteristic-label {
    font-family: var(--fuente-interfaz);
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.characteristic-value {
    font-family: var(--fuente-interfaz);
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-texto-secundario);
}

.product-description-section {
    padding: clamp(1.75rem, 4vw, 3rem) 0;
    border-top: 1px solid #e3e7d9;
    background: var(--color-superficie);
}

.product-description-section h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.375rem, 3vw, 1.75rem);
    color: var(--color-verde-oscuro);
}

.product-excerpt,
.product-description-section p {
    max-width: 75ch;
    margin: 0;
    color: var(--color-texto-secundario);
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.product-excerpt {
    margin-bottom: 1rem;
}

.product-description-section p {
    white-space: pre-line;
}

.product-description-section p + .product-recommendation {
    margin-top: 1.5rem;
}

/* Related Products Section */
.related-products-section {
    background: var(--color-fondo-calido);
    padding: 3rem 0 4rem;
    width: 100%;
}

.related-products-title {
    font-family: var(--fuente-interfaz);
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    color: var(--color-titulo);
    margin: 1rem 0 2rem 0;
    text-align: center;
}

.related-products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

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

/* ===== Nosotros, corporativos y contacto ===== */

/* NOSTROS */

/* Estilos de la Sección Nosotros */
.nosotros-section {
    background: var(--color-fondo-calido);
    padding: 4rem 0;
    width: 100%;
}

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

.nosotros-section .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-inline: calc(0.25rem * 6);
    /* px-6 = 1.5rem = 24px */
}

@media (min-width: 1024px) {
    .nosotros-section .container {
        padding-inline: calc(0.25rem * 12);
        /* lg:px-12 = 3rem = 48px */
    }
}

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

@media (min-width: 1024px) {
    .nosotros-content {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

/* Columna Izquierda - Texto */
.nosotros-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.nosotros-title {
    font-family: var(--fuente-interfaz);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-titulo);
    margin: 0;
}

.nosotros-description {
    font-size: 18px;
    line-height: 1.7;
    font-family: var(--fuente-interfaz);
    font-weight: 400;
    color: var(--color-texto-secundario);
    margin: 0;
}

/* Columna Derecha - Imagen */
.nosotros-image {
    width: 100%;
    height: auto;
}

.nosotros-image-wrapper {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.nosotros-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Responsive Nosotros */
@media (max-width: 640px) {
    .nosotros-section {
        padding: 3rem 0;
    }
}

/* Trajectory Section */
.trayectoria-section {
    background: var(--color-superficie);
    padding: 4rem 0;
    width: 100%;
}

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

.trayectoria-section .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-inline: calc(0.25rem * 6);
}

@media (min-width: 1024px) {
    .trayectoria-section .container {
        padding-inline: calc(0.25rem * 12);
    }
}

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

.trayectoria-title {
    font-family: var(--fuente-interfaz);
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--color-titulo);
    margin: 0 0 1rem 0;
}

.trayectoria-subtitle {
    font-family: var(--fuente-interfaz);
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-texto-secundario);
    margin: 0;
}

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

@media (min-width: 768px) {
    .trayectoria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

.trayectoria-card {
    background: rgb(248, 245, 236);
    border-radius: 0.75rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.trayectoria-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    background: var(--color-verde-marca);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-superficie);
    flex-shrink: 0;
}

.trayectoria-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--color-superficie);
}

.trayectoria-card-title {
    font-family: var(--fuente-interfaz);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-titulo);
    margin: 0;
    line-height: 1.3;
    flex: 1;
}

.trayectoria-card-text {
    font-family: var(--fuente-interfaz);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-texto-secundario);
    margin: 0;
}

/* Why Choose Us Section */
.porque-section {
    background: var(--color-fondo-calido);
    padding: 4rem 0;
    width: 100%;
}

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

.porque-section .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-inline: calc(0.25rem * 6);
}

@media (min-width: 1024px) {
    .porque-section .container {
        padding-inline: calc(0.25rem * 12);
    }
}

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

.porque-title {
    font-family: var(--fuente-interfaz);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 600;
    color: var(--color-titulo);
    margin: 0 0 1rem 0;
}

.porque-subtitle {
    font-family: var(--fuente-interfaz);
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-texto-secundario);
    margin: 0;
}

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

@media (min-width: 768px) {
    .porque-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

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

.porque-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.porque-icon-wrapper {
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    background: var(--color-superficie);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.porque-card-title {
    font-family: var(--fuente-interfaz);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-titulo);
    margin: 0;
    line-height: 1.3;
}

.porque-card-text {
    font-family: var(--fuente-interfaz);
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-texto-secundario);
    margin: 0;
}

/* Milestones Timeline Section */
.hitos-section {
    background: var(--color-superficie);
    padding: 4rem 0;
    width: 100%;
}

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

.hitos-section .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-inline: calc(0.25rem * 6);
}

@media (min-width: 1024px) {
    .hitos-section .container {
        padding-inline: calc(0.25rem * 12);
    }
}

.hitos-header {
    text-align: center;
    margin-bottom: 2rem;
}

.hitos-title {
    font-family: var(--fuente-interfaz);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 600;
    color: var(--color-titulo);
    margin: 0 0 1rem 0;
}

.hitos-subtitle {
    font-family: var(--fuente-interfaz);
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-texto-secundario);
    margin: 0;
}

.hitos-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.hitos-timeline::before {
    content: '';
    position: absolute;
    left: 49.95%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgb(209, 213, 219)
    ;
    transform: translateX(-50%);
}

@media (max-width: 768px) {
    .hitos-timeline::before {
        left: 1.5rem;
    }
}

.hito-item {
    position: relative;
    width: 100%;
    display: flex;
    align-items: flex-start;
    min-height: 120px;
}

.hito-item:last-child {
    margin-bottom: 0;
}

.hito-item-left {
    justify-content: flex-end;
    padding-right: calc(50% + 0.75rem);
}

.hito-item-right {
    justify-content: flex-start;
    padding-left: calc(50% + 0.75rem);
}

@media (max-width: 768px) {
    .hito-item {
        padding-left: 3rem;
        padding-right: 0;
        justify-content: flex-start;
    }
}

.hito-content {
    width: calc(120% - 1.75rem);
    max-width: 550px;
    background: var(--color-superficie);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: left;
}

.hito-item-left .hito-content {
    text-align: right;
}

.hito-item-right .hito-content {
    text-align: left;
}

@media (max-width: 768px) {
    .hito-content {
        width: 100%;
        max-width: none;
        text-align: left;
    }
    
    .hito-item-left .hito-content {
        text-align: left;
    }
}

.hito-dot {
    width: 22px;
    height: 22px;
    min-width: 22px;
    min-height: 22px;
    background: var(--color-verde-marca);
    border-radius: 50%;
    border: 3px solid var(--color-superficie);
    position: absolute;
    left: 50%;
    top: calc(1.5rem + 1.625rem + 0.375rem);
    transform: translateX(-50%) translateY(-50%);
    z-index: 10;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .hito-dot {
        left: 1.5rem;
        top: calc(1.5rem + 1.625rem + 0.375rem);
        transform: translateX(-50%) translateY(-50%);
    }
}

.hito-year {
    display: inline-block;
    background: var(--color-verde-marca);
    color: var(--color-superficie);
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-family: var(--fuente-interfaz);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.hito-title {
    font-family: var(--fuente-interfaz);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-titulo);
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.hito-description {
    font-family: var(--fuente-interfaz);
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-texto-secundario);
    margin: 0;
}



@media (max-width: 768px) {
    .hito-dot {
        left: 1.5rem;
        transform: translate(-50%, -50%);
    }
}

/* Commitment Section */
.compromiso-section {
    background: var(--color-fondo-calido);
    padding: 4rem 0;
    width: 100%;
}

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

.compromiso-section .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-inline: calc(0.25rem * 6);
}

@media (min-width: 1024px) {
    .compromiso-section .container {
        padding-inline: calc(0.25rem * 12);
    }
}

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

.compromiso-title {
    font-family: var(--fuente-interfaz);
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 700;
    color: var(--color-titulo);
    margin: 0 0 1rem 0;
}

.compromiso-subtitle {
    font-family: var(--fuente-interfaz);
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-texto-secundario);
    margin: 0;
}

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

@media (min-width: 768px) {
    .compromiso-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

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

.compromiso-card {
    background: var(--color-superficie);
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.8rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.compromiso-icon-wrapper {
    width: 53px;
    height: 53px;
    min-width: 53px;
    min-height: 53px;
    background: rgb(248, 245, 236);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.compromiso-icon-wrapper svg {
    width: 25px;
    height: 25px;
    stroke: var(--color-verde-marca);
}

.compromiso-card-title {
    font-family: var(--fuente-interfaz);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-titulo);
    margin: 0;
    line-height: 1.3;
}

.compromiso-card-text {
    font-family: var(--fuente-interfaz);
    font-size: 15px;
    line-height: 1.7;
    color: var(--color-texto-secundario);
    margin: 0;
}

/* CTA Section */
.cta-section {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.cta-top-bar {
    width: 100%;
    height: 8px;
    background: var(--color-fondo-calido);
}

.cta-content {
    width: 100%;
    background: var(--color-superficie);
    padding: 4rem 0;
}

@media (min-width: 1024px) {
    .cta-content {
        padding: 6rem 0;
    }
}

.cta-content .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-inline: calc(0.25rem * 6);
    text-align: center;
}

@media (min-width: 1024px) {
    .cta-content .container {
        padding-inline: calc(0.25rem * 12);
    }
}

.cta-title {
    font-family: var(--fuente-interfaz);
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    color: var(--color-titulo);
    margin: 0 0 1.5rem 0;
    line-height: 1.3;
}

.cta-description {
    font-family: var(--fuente-interfaz);
    font-size: 17px;
    line-height: 1.7;
    color: var(--color-texto-secundario);
    margin: 0 auto 2rem;
    max-width: 550px;
}

.cta-button {
    display: inline-block;
    background: var(--color-verde-marca);
    color: var(--color-superficie);
    font-family: var(--fuente-interfaz);
    font-size: 16px;
    font-weight: 600;
    padding: 0.4rem 2rem;
    border-radius: var(--radio-control);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.cta-button:hover {
    color: var(--color-superficie);
    background: #5d8a2f;
}

.cta-bottom-bar {
    width: 100%;
    height: 12px;
    background: var(--color-titulo);
}




/* CORPORATIVOS
 */
/* Estilos para la sección de catálogos corporativos */
.corporativos-section {
    padding: 60px 0;
    background-color: var(--color-fondo-calido);
    min-height: calc(100vh - 200px);
    width: 100%;
}

.corporativos-section .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-inline: calc(0.25rem * 6); /* px-6 = 1.5rem = 24px */
}

@media (min-width: 1024px) {
    .corporativos-section .container {
        padding-inline: calc(0.25rem * 12); /* lg:px-12 = 3rem = 48px */
    }
}

.corporativos-content {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-inline: calc(0.25rem * 6); /* px-6 = 1.5rem = 24px */
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 1024px) {
    .corporativos-content {
        padding-inline: calc(0.25rem * 12); /* lg:px-12 = 3rem = 48px */
    }
}

.corporativos-title {
    color: #705036;
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    margin-top: 0;
}

.corporativos-subtitle {
    color: #705036;
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.corporativos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    width: 100%;
    max-width: 880px;
    margin: 2rem auto 0;
}

.catalogo-card {
    --portada-fondo: #203c24;
    --portada-sombra: #132b1a;
    --portada-acento: #d8eeaa;
    --portada-trama: repeating-linear-gradient(135deg, transparent 0 12px, currentColor 13px 14px, transparent 15px 24px);
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    justify-self: center;
    border: 1px solid var(--color-borde-suave);
    border-radius: 12px;
    background: var(--color-superficie);
    box-shadow: 0 6px 20px rgba(31, 55, 30, 0.1);
    color: var(--color-verde-oscuro);
    text-decoration: none;
}

.catalogo-card--ejecutivos {
    --portada-fondo: #293b56;
    --portada-sombra: #141d30;
    --portada-acento: #f1d492;
    --portada-trama: repeating-linear-gradient(135deg, transparent 0 10px, currentColor 11px 12px, transparent 13px 19px);
}

.catalogo-card--viveres {
    --portada-fondo: #9b2435;
    --portada-sombra: #581320;
    --portada-acento: #ffdc9b;
    --portada-trama: repeating-conic-gradient(from 6deg, transparent 0deg 10deg, currentColor 11deg 12deg, transparent 13deg 20deg);
}

.catalogo-card--maletines {
    --portada-fondo: #28505c;
    --portada-sombra: #142e3a;
    --portada-acento: #b3e2db;
    --portada-trama: repeating-radial-gradient(circle, transparent 0 13px, currentColor 14px 15px, transparent 16px 24px);
}

.catalogo-portada {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.25rem;
    min-height: 314px;
    padding: 1.7rem 1.5rem;
    border-radius: 11px 11px 0 0;
    color: #fffaf0;
    background:
        radial-gradient(ellipse at top right, var(--portada-fondo), transparent 85%),
        var(--portada-sombra);
}

.catalogo-portada::before,
.catalogo-portada::after {
    content: '';
    position: absolute;
    z-index: -1;
    pointer-events: none;
    color: var(--portada-acento);
}

.catalogo-portada::before {
    inset: 0.55rem;
    border: 1px solid currentColor;
    border-radius: 6px 6px 2px 2px;
    opacity: 0.4;
}

.catalogo-portada::after {
    width: 15rem;
    aspect-ratio: 1;
    top: -5rem;
    right: -5rem;
    background: var(--portada-trama);
    mask-image: radial-gradient(circle, #000 15%, transparent 68%);
    opacity: 0.26;
}

.catalogo-portada-etiqueta {
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--portada-acento);
    color: var(--portada-acento);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.catalogo-portada-titulo {
    font-family: Georgia, serif;
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.08;
    overflow-wrap: anywhere;
    text-wrap: balance;
}

.catalogo-portada-anio {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    color: var(--portada-acento);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.catalogo-portada-anio::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, currentColor, transparent);
    opacity: 0.65;
}

.catalogo-descarga {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1rem 0.7rem 1.5rem;
    border-radius: 0 0 11px 11px;
    color: var(--color-verde-oscuro);
    font-weight: 700;
}

.catalogo-descarga > span {
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--color-fondo-calido);
    color: var(--portada-sombra);
}

.catalogo-card:hover .catalogo-descarga,
.catalogo-card:focus-visible .catalogo-descarga {
    background: var(--color-fondo-calido);
}

.catalogo-card:hover .catalogo-descarga > span,
.catalogo-card:focus-visible .catalogo-descarga > span {
    background: var(--portada-sombra);
    color: #fffaf0;
}

.catalogo-card:focus-visible {
    outline: 2px solid var(--color-verde-oscuro);
    outline-offset: 4px;
}

@media (max-width: 768px) {
    .corporativos-title {
        font-size: 2rem;
    }

    .corporativos-subtitle {
        font-size: 1rem;
    }
}

/* CONTACTO */

/* Contact Page Styles */
.contact-page {
    background: var(--color-superficie);
    width: 100%;
}

.contact-page .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-inline: calc(0.25rem * 6); /* px-6 = 1.5rem = 24px */
}

@media (min-width: 1024px) {
    .contact-page .container {
        padding-inline: calc(0.25rem * 12); /* lg:px-12 = 3rem = 48px */
    }
}

/* Header Section */
.contact-header {
    background: var(--color-fondo-calido);
    padding: 3rem 0;
    width: 100%;
}

@media (min-width: 1024px) {
    .contact-header {
        padding: 4rem 0;
    }
}

.contact-title {
    font-family: var(--fuente-interfaz);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-titulo);
    margin: 0 auto 1rem;
 
}

.contact-description {
    font-family: var(--fuente-interfaz);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-texto-secundario);
    max-width: 48rem;
}

/* Main Contact Section */
.contact-main-section {
    padding: 3rem 0;
    width: 100%;
}

@media (min-width: 1024px) {
    .contact-main-section {
        padding: 4rem 0;
    }
}

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

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 2fr 3fr;
        gap: 6rem;
    }
}

/* Contact Info Column (Left) */
.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-info-title {
    font-family: var(--fuente-interfaz);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-titulo);
    margin: 0 0 1rem 0;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    background: rgb(248, 245, 236);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-verde-marca);
}

.contact-info-content {
    flex: 1;
}

.contact-info-label {
    font-family: var(--fuente-interfaz);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-titulo);
    margin: 0 0 0.5rem 0;
}

.contact-info-text {
    font-family: var(--fuente-interfaz);
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-texto-secundario);
    margin: 0;
}

.contact-info-text + .contact-info-text {
    margin-top: 0.25rem;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 0.5rem;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgb(37, 211, 102);
    color: var(--color-superficie);
    font-family: var(--fuente-interfaz);
    font-size: 16px;
    font-weight: 600;
    padding: 0.4rem 1.5rem;
    border-radius: var(--radio-control);
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.btn-whatsapp:hover {
    color: var(--color-superficie);
    background: #5d8a2f;
}

.btn-whatsapp svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.btn-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--color-superficie);
    color: var(--color-verde-marca);
    font-family: var(--fuente-interfaz);
    font-size: 16px;
    font-weight: 600;
    padding: 0.4rem 1.5rem;
    border: 2px solid var(--color-verde-marca);
    border-radius: var(--radio-control);
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-call:hover {
    background: var(--color-verde-marca);
    color: var(--color-superficie);
}

.btn-call svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.contact-guarantee {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    background: var(--color-fondo-calido);
    padding: 1rem;
    border-radius: var(--radio-control);
    margin-top: 0.5rem;
}

.contact-guarantee svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-verde-marca);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.contact-guarantee p {
    font-family: var(--fuente-interfaz);
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-texto-secundario);
    margin: 0;
}

.contact-guarantee p strong {
    font-weight: 700;
}

/* Contact Form Column (Right) */
.contact-form-column {
    width: 100%;
}

.contact-form-card {
    background: var(--color-superficie);
    border-radius: 0.75rem;
    padding: 2rem;
    border: 2px solid var(--color-borde-campo);
}



.contact-form-title {
    font-family: var(--fuente-interfaz);
    font-size: 24px;
    font-weight: 700;
    color: var(--color-titulo);
    margin: 0 0 0.5rem 0;
}

.contact-form-description {
    font-family: var(--fuente-interfaz);
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-texto-secundario);
    margin: 0 0 1rem 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn-submit {
    background: var(--color-verde-marca);
    color: var(--color-superficie);
    font-family: var(--fuente-interfaz);
    font-size: 15px;
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border: none;
    margin-top: 10px;
    border-radius: var(--radio-control);
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
}

.btn-submit:hover {
    background: #5d8a2f;
}

.form-confidentiality {
    font-family: var(--fuente-interfaz);
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-texto-secundario);
    margin: 0;
    margin-top: 10px;
    text-align: center;
}

/* Office Location Section */
.location-section {
    background: rgb(243, 244, 246)    ;
    padding: 5rem 0;
    width: 100%;
}



.location-section .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-inline: calc(0.25rem * 6);
}

@media (min-width: 1024px) {
    .location-section .container {
        padding-inline: calc(0.25rem * 12);
    }
}

.location-title {
    font-family: var(--fuente-interfaz);
    font-size: 28px;
    font-weight: 600;
    color: var(--color-titulo);
    text-align: center;
    margin: 0 0 1.8rem 0;
}

.location-content {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-card {
    width: 100%;
    background: rgb(229, 231, 235);
    border-radius: 0.75rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
    height: 500px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.location-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-icon svg {
    width: 60px;
    height: 60px;
    stroke: var(--color-verde-marca);
}

.location-address {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.location-address p {
    font-family: var(--fuente-interfaz);
    font-size: 16px;
   
    color: var(--color-texto-secundario);
    margin: 0;
}

.btn-maps {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-superficie);
    color: var(--color-verde-marca);
    font-family: var(--fuente-interfaz);
    font-size: 14px;
    font-weight: 600;
    padding: 0.4rem 1.5rem;
    border: 1px solid var(--color-verde-marca);
    border-radius: var(--radio-control);
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-maps:hover {
    background: var(--color-verde-marca);
    color: var(--color-superficie);
}

/* FAQ Section */
.faq-section {
    background: var(--color-superficie);
    padding: 3.3rem 0;
    width: 100%;
}



.faq-section .container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-inline: calc(0.25rem * 6);
    text-align: center;
}

@media (min-width: 1024px) {
    .faq-section .container {
        padding-inline: calc(0.25rem * 12);
    }
}

.faq-title_q {
    font-family: var(--fuente-interfaz);
    font-size: 24px;
    font-weight: 600;
    color: var(--color-titulo);
}

.faq-description {
    font-family: var(--fuente-interfaz);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-texto-secundario);
    margin: 0 auto 2rem;
    max-width: 700px;
}

.btn-faq {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--color-superficie);
    color: rgb(112, 168, 59);
    font-family: var(--fuente-interfaz);
   
    font-size: 15px;
    font-weight: 600;
    padding: 0.4rem 1.2rem;
    border: 1px solid rgb(112, 168, 59);
    border-radius: var(--radio-control);
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-faq:hover {
    color: var(--color-superficie);
    border-color: var(--color-verde-marca);
    background: rgb(112, 168, 59);
}

.btn-faq svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

/* ===== Contacto flotante ===== */

/* PRECIOS FLOTANTES */

/* ==========================
   Botón flotante de Precios al Por Mayor
=============================== */

.precios-mayor-float {
    position: fixed;
    width: 80px;
    height: 80px;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-color: var(--color-verde-oscuro);
    color: var(--color-superficie);
    border-radius: 20px 0 0 20px;
    text-align: center;
    font-size: 11px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(112, 168, 59, 0.4);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    padding: 8px 5px;
    line-height: 1.2;
    margin-top: -40px;
}

.precios-mayor-float:hover {
    background-color: #365f2a;
    transform: translateY(-50%) translateX(-5px);
    box-shadow: 0 6px 16px rgba(112, 168, 59, 0.6);
    text-decoration: none;
    color: var(--color-superficie);
}

.precios-mayor-float:active {
    transform: translateY(-50%) translateX(-3px);
}

.precios-mayor-float p {
    margin: 0;
    font-size: 11px;
    line-height: 1.2;
    text-transform: uppercase;
}

.precios-mayor-float span {
    display: none;
    margin-top: 5px;
}

.precios-mayor-float span svg {
    width: 18px;
    height: 18px;
}

.precios-mayor-float.show {
    right: 320px;
    transform: translateY(-50%);
}

/* Formulario flotante */
.form-precios-mayor {
    position: fixed;
    top: 50%;
    right: -320px;
    width: 320px;
    z-index: 998;
    transition: right 0.5s ease, transform 0.5s ease;
    background-color: #f5f5f5;
    border-radius: 10px 0 0 10px;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    transform: translateY(-50%);
    visibility: hidden;
}

.form-precios-mayor.show {
    right: 0;
    transform: translateY(-50%);
    visibility: visible;
}

/* Tab del formulario */
.form-precios-mayor__tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--espacio-2);
    background-color: var(--color-verde-oscuro);
    color: var(--color-superficie);
    padding: 12px 15px;
    border-radius: 10px 0 0 0;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    line-height: 1.3;
    text-align: left;
}

.form-precios-mayor__tab p {
    margin: 0;
    font-size: 13px;
}

.form-precios-mayor__tab button {
    min-width: 44px;
    min-height: 44px;
    border: 1px solid currentColor;
    border-radius: var(--radio-control);
    background: transparent;
    color: inherit;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

/* Contenedor del formulario */
.form-precios-mayor__form {
    padding: 20px 15px;
    background-color: #f5f5f5;
}

.form-precios-mayor__form .form-group {
    margin-bottom: 15px;
}

.form-precios-mayor__form label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    color: #333;
    font-weight: 500;
}

.form-precios-mayor__form input,
.form-precios-mayor__form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    background-color: var(--color-superficie);
    box-sizing: border-box;
    font-family: inherit;
}

.form-precios-mayor__form input:focus,
.form-precios-mayor__form textarea:focus {
    outline: none;
    border-color: var(--color-verde-marca);
    box-shadow: 0 0 0 2px rgba(112, 168, 59, 0.1);
}

.form-precios-mayor__form input::placeholder,
.form-precios-mayor__form textarea::placeholder {
    color: #999;
}

.form-precios-mayor__form button {
    width: 100%;
    padding: 12px;
    background-color: var(--color-verde-marca);
    color: var(--color-superficie);
    border: none;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
}

.form-precios-mayor__form button:hover {
    background-color: rgb(93, 138, 47);
}

.form-precios-mayor__form button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Loading */
.form-precios-mayor__loading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 10px 0 0 10px;
}

.form-precios-mayor__loading.show {
    display: flex;
}

.form-precios-mayor__loading-content {
    text-align: center;
}

.form-precios-mayor__loading-content svg {
    width: 30px;
    height: 30px;
    color: var(--color-verde-marca);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Mensaje de éxito */
.form-precios-mayor__message-sent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: 10px 0 0 10px;
}

.form-precios-mayor__message-sent.show {
    display: flex;
}

.form-precios-mayor__message-sent-content {
    text-align: center;
    padding: 20px;
}

.form-precios-mayor__message-sent-content h4 {
    font-size: 18px;
    color: var(--color-verde-marca);
    margin-bottom: 10px;
}

.form-precios-mayor__message-sent-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.form-precios-mayor__message-sent-content svg {
    width: 40px;
    height: 40px;
    color: var(--color-verde-marca);
    stroke: var(--color-verde-marca);
}

@media (width < 1024px) {
    .precios-mayor-float {
        display: none;
    }
    
    .form-precios-mayor {
        width: min(320px, calc(100% - 1rem));
        right: -320px;
        top: calc(var(--header-height) + 0.5rem);
        max-height: calc(100vh - var(--header-height) - 1rem);
        max-height: calc(100dvh - var(--header-height) - 1rem);
        transform: none;
    }
    
    .form-precios-mayor.show {
        transform: none;
    }
    
    .form-precios-mayor__tab {
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .form-precios-mayor__form {
        padding: 15px 12px;
    }
}

/* Botón de Compras por Unidad (debajo del de precios al por mayor, pero arriba de WhatsApp) */
.compras-unidad-float {
    top: 50%;
    transform: translateY(calc(-50% + 100px));
    background-color: var(--color-verde-oscuro);
}

.compras-unidad-float:hover {
    background-color: #365f2a;
    transform: translateY(calc(-50% + 100px)) translateX(-5px);
    text-decoration: none;
    color: var(--color-superficie);
}

.compras-unidad-float:active {
    transform: translateY(calc(-50% + 100px)) translateX(-3px);
}

.compras-unidad-float.show {
    right: 320px;
    transform: translateY(calc(-50% + 100px));
}

/* Ajustar posición cuando hay botón de WhatsApp */
@media (min-width: 769px) {
    .precios-mayor-float {
        top: 50%;
        transform: translateY(-50%);
        margin-top: -40px;
    }
    
    .compras-unidad-float {
        top: 50%;
        transform: translateY(calc(-50% + 100px));
    }
}

/* ===== Página de error ===== */

/* 404
 */

 /* Estilos para la página 404 */
.error-404-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.error-404-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.error-404-image {
    text-align: center;
}

.error-404-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: float 3s ease-in-out infinite;
}

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

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

.error-404-title {
    font-size: 8rem;
    font-weight: 900;
    color: var(--color-verde-marca);
    margin: 0;
    line-height: 1;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.error-404-subtitle {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin: 1rem 0;
    font-family: 'Montserrat', sans-serif;
}

.error-404-description {
    font-size: 1.125rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 1.5rem 0 2.5rem 0;
    max-width: 500px;
}

.error-404-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.error-404-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radio-control);
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    border: 2px solid transparent;
}

.error-404-button-primary {
    background: var(--color-verde-marca);
    color: var(--color-superficie);
}

.error-404-button-primary:hover {
    background: #608d33;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(112, 168, 59, 0.4);
}

.error-404-button-secondary {
    background: transparent;
    color: var(--color-verde-marca);
    border-color: var(--color-verde-marca);
}

.error-404-button-secondary:hover {
    background: var(--color-verde-marca);
    color: var(--color-superficie);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(112, 168, 59, 0.3);
}

.error-404-button svg {
    transition: transform 0.3s ease;
}

.error-404-button:hover svg {
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 968px) {
    .error-404-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .error-404-text {
        text-align: center;
    }
    
    .error-404-title {
        font-size: 6rem;
    }
    
    .error-404-subtitle {
        font-size: 2rem;
    }
    
    .error-404-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .error-404-actions {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .error-404-section {
        padding: 2rem 1rem;
    }
    
    .error-404-title {
        font-size: 4rem;
    }
    
    .error-404-subtitle {
        font-size: 1.5rem;
    }
    
    .error-404-description {
        font-size: 1rem;
    }
    
    .error-404-button {
        width: 100%;
        justify-content: center;
    }
    
    .error-404-actions {
        flex-direction: column;
    }
}

/* ===== WhatsApp ===== */

/* WHATSAPP */
/* ==========================
   Botón flotante de WhatsApp
=============================== */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: var(--color-superficie);
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:active {
    transform: scale(0.95);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: var(--color-superficie);
}

/* Responsive: ajustar tamaño en móviles */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float svg {
        width: 28px;
        height: 28px;
    }
}

/* Animación de pulso opcional */
@keyframes whatsapp-pulse {
    0% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    }
    100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
}

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

/* ===== Estilos base de compatibilidad ===== */

/* TAILWIND */
/* CSS Variables - Tailwind Theme */
:root {
    --font-size: 16px;
    --background: var(--color-superficie);
    --foreground: oklch(0.145 0 0);
    --default-transition-duration: 0.15s;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset - Tailwind Base Layer */
*, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent;
    font-size: var(--font-size);
}

body {
    line-height: inherit;
    background-color: var(--background);
    color: var(--foreground);
}

/* ===== Tipografía, contenedores y utilidades heredadas ===== */

/* Tipografía, utilidades y reglas heredadas de compatibilidad. */
/* ======= Variables ======= */
:root,
[data-bs-theme=light] {
  --bs-primary: #dab078; 
  --bs-primary-rgb: 0, 0, 0;
  --bs-link-color: var(--bs-primary);
  --bs-link-color-rgb: var(--bs-primary-rgb);
  --bs-link-decoration: none;
  --bs-link-hover-color: var(--bs-secondary);
  --bs-link-hover-color-rgb: var(--bs-secondary-rgb);
  --bs-body-font-size: 1.075rem;
  --bs-body-line-height: 1.55;
  --bs-body-font-weight: 300;
  --bs-border-radius: 0.675rem;
  --bs-border-radius-sm: 0.35rem;
  --bs-border-radius-lg: 1.25rem;
  --bs-box-shadow: 0 0.25rem 0.65rem rgba(0, 0, 0, 0.15);
  --bs-box-shadow-xs: 0.1rem 0.25rem 0.25rem rgba(0, 0, 0, 0.055);
  --bs-box-shadow-sm: 0 0.15rem 0.35rem rgba(0, 0, 0, 0.075);
  --bs-box-shadow-lg: 0 0.55rem 1rem rgba(0, 0, 0, 0.175);
  --bs-dark-blue: #dab078;
  --bs-dark-blue-rgb: 10, 62, 89;
  --bs-light-gray: #e9ecef;
  --bs-light-gray-rgb: 244, 245, 247;
}

/* ======= /Variables ======= */
#form-search-movil {
  padding: 15px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  opacity: 0;
  transform: translateY(-20px);
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}

#form-search-movil.show {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#form-search-movil input[type="text"] {
  border: none;
  outline: none; 
  font-size: 16px;
  background: transparent;
  color: #333;
}

#form-search-movil input::placeholder {
  color: #ccc;
  font-weight: 400;
}

/* ======= Typographys ======= */
/* Anchor */
a {
  color: var(--bs-link-color);
  -webkit-text-decoration: var(--bs-link-decoration);
          text-decoration: var(--bs-link-decoration);
  transition: color 0.25s ease-in-out;
}
a:hover, a:focus {
  color: var(--bs-link-hover-color);
}

/* Strong */
b,
strong {
  font-weight: 500;
}

/* Headings */
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.35;
  margin-bottom: 1rem;
}

.h5,
h5 {
  font-size: 1.275rem;
}

.h6,
h6 {
  font-size: 1.175rem;
}

/* ======= /Typographys ======= */
/* ======= Texts, Links ======= */
.link-hover:hover {
  color: #6cb015 !important;
}
.link-hover:hover svg {
  stroke: #6cb015 !important;
}

.text-primary {
  color: var(--bs-primary) !important;
}

.vertical-box {
  transform: rotate(180deg);
  writing-mode: vertical-lr;
}

.float-text,
.float-text:hover {
  display: inline-block;
  color: white;
  text-wrap: nowrap;
  line-height: 1;
  text-transform: uppercase;
  font-size: 0.65rem;
  letter-spacing: 0.115rem;
  font-weight: 400;
  background-color: rgba(var(--bs-black-rgb), 0.45);
  padding: 0.4rem 0.55rem 0.4rem 0.75rem;
  border-radius: var(--bs-border-radius-sm);
}
.float-text.float-absolute,
.float-text:hover.float-absolute {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 1;
}

/* ======= /Texts, Links ======= */
/* ======= Buttons, Controls ======= */
/* Button */
.btn {
  padding: 0.625rem 1rem;
  font-size: var(--bs-body-font-size);
  font-weight: 400;
  text-decoration: none;
}
.btn.btn-uppercase {
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.115rem;
  padding: 0.72rem 1rem;
}

.btn-primary {
  --bs-btn-bg: var(--bs-primary);
  --bs-btn-border-color: var(--bs-primary);
  --bs-btn-hover-bg: var(--bs-link-hover-color);
  --bs-btn-hover-border-color: var(--bs-link-hover-color);
  --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
  --bs-btn-active-bg: var(--bs-link-hover-color);
  --bs-btn-active-border-color: var(--bs-link-hover-color);
  --bs-btn-disabled-bg: var(--bs-primary);
  --bs-btn-disabled-border-color: var(--bs-primary);
}

/* Form check */
.form-check-input.checked {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}
.form-check-input:focus {
  border-color: rgba(var(--bs-primary-rgb), 0.15);
  box-shadow: none;
}
.form-check-input:checked {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

/* Form control */
.form-control {
  padding: 0.625rem 1rem;
  font-size: var(--bs-body-font-size);
}
.form-control:focus, .form-control:active {
  border-color: rgba(var(--bs-primary-rgb), 0.35);
  box-shadow: none !important;
}

/* ======= Modals ======= */
.modal {
  --bs-modal-padding: 1.5rem 2rem;
  --bs-modal-header-padding: 1.5rem 2rem;
}

/* ======= Modals ======= */

/* ======= Cards ======= */
/* Card */
.card {
  --bs-card-spacer-y: 1.5rem;
  --bs-card-spacer-x: 1.5rem;
}

/* ======= Tables ======= */
.table > :not(caption) > * > * {
  padding: 1rem 0.5rem;
}

/* ======= Tables ======= */
/* ======= Lists ======= */
/* Filtered list */
.filtered-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}
.filtered-list .filtered-item {
  display: inline-block;
  line-height: 1;
  margin: 0.5rem 0;
}
.filtered-list .filtered-item:not(:last-child, :first-child) {
  border-right: 1px solid var(--bs-dark-border-subtle);
  margin-right: 0.75rem;
  padding-right: 0.75rem;
}
.filtered-list .filtered-item button {
  display: inline-flex;
  align-items: center;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border: 0;
  background-color: transparent;
  outline: none;
  box-shadow: none;
  font-size: 1rem;
  color: var(--bs-secondary);
  font-weight: 300;
  padding: 0;
}
.filtered-list .filtered-item button:not(:last-child) {
  margin-right: 0.5rem;
}
.filtered-list .filtered-item button:hover {
  color: var(--bs-danger);
}
.filtered-list .filtered-item button i {
  font-size: 0.55rem;
  margin-left: 0.35rem;
  color: var(--bs-danger);
}
.filtered-list .filtered-item strong {
  font-size: 1rem;
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* ======= /Lists ======= */

/* ======= Animation ======= */
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(-1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.slideIn {
  animation-delay: 0s;
  animation-fill-mode: both;
  animation: slideIn 0.35s both;
}

/* ======= /Animation ======= */

/* ======= Footer ======= */
.footer {
  position: relative;
  background-color: #042233;
  color: rgba(var(--bs-white-rgb), 0.65);
}
.footer .footer-top {
  border-bottom: 1px solid rgba(var(--bs-white-rgb), 0.15);
  margin-bottom: 45px;
}
.footer a {
  color: white;
}
.footer a:hover {
  color: var(--bs-primary);
}
.footer .social-list .social-item a svg {
  stroke: white;
}
.footer .footer-widget {
  margin-bottom: 2.5rem;
}
.footer .footer-widget h2 {
  color: white;
}
.footer .brand-img {
  display: inline-block;
  margin-bottom: 1.5rem;
}
.footer .footer-link {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer .footer-link .link-item {
  padding: 0 0 0.5rem 0;
}
.footer .footer-link .link-item a {
  display: inline-block;
  padding: 0.125rem 0;
}
.footer .footer-local,
.footer .footer-local a {
  display: flex;
  align-items: center;
}

/* ======= /Footer ======= */
/* ======= Utilities  ======= */
/* Pading */
.p-top-50 {
  padding-top: 50px !important;
}

.p-bottom-50 {
  padding-bottom: 50px !important;
}

.p-top-60 {
  padding-top: 60px !important;
}

.p-bottom-60 {
  padding-bottom: 60px !important;
}

.p-top-70 {
  padding-top: 70px !important;
}

.p-bottom-70 {
  padding-bottom: 70px !important;
}

.p-top-80 {
  padding-top: 80px !important;
}

.p-bottom-80 {
  padding-bottom: 80px !important;
}

.p-top-90 {
  padding-top: 90px !important;
}

.p-bottom-90 {
  padding-bottom: 90px !important;
}

.p-top-100 {
  padding-top: 100px !important;
}

.p-bottom-100 {
  padding-bottom: 100px !important;
}

.p-top-110 {
  padding-top: 110px !important;
}

.p-bottom-110 {
  padding-bottom: 110px !important;
}

.p-top-120 {
  padding-top: 120px !important;
}

.p-bottom-120 {
  padding-bottom: 120px !important;
}

.p-top-130 {
  padding-top: 130px !important;
}

.p-bottom-130 {
  padding-bottom: 130px !important;
}

.p-top-140 {
  padding-top: 140px !important;
}

.p-bottom-140 {
  padding-bottom: 140px !important;
}

.p-top-150 {
  padding-top: 150px !important;
}

.p-bottom-150 {
  padding-bottom: 150px !important;
}

.p-top-160 {
  padding-top: 160px !important;
}

.p-bottom-160 {
  padding-bottom: 160px !important;
}

.p-top-170 {
  padding-top: 170px !important;
}

.p-bottom-170 {
  padding-bottom: 170px !important;
}

.p-top-180 {
  padding-top: 180px !important;
}

.p-bottom-180 {
  padding-bottom: 180px !important;
}

.p-top-190 {
  padding-top: 190px !important;
}

.p-bottom-190 {
  padding-bottom: 190px !important;
}

.p-top-200 {
  padding-top: 200px !important;
}

.p-bottom-200 {
  padding-bottom: 200px !important;
}

/* Min width */
.mnw-150 {
  min-width: 150px !important;
}

.mnw-160 {
  min-width: 160px !important;
}

.mnw-170 {
  min-width: 170px !important;
}

.mnw-180 {
  min-width: 180px !important;
}

.mnw-190 {
  min-width: 190px !important;
}

.mnw-200 {
  min-width: 200px !important;
}

/* font sizes */
.fsm-1 {
  font-size: 1rem !important;
}

.fsm-2 {
  font-size: 0.95rem !important;
}

.fsm-3 {
  font-size: 0.9rem !important;
}

.fsm-4 {
  font-size: 0.85rem !important;
}

.fsm-5 {
  font-size: 0.8rem !important;
}

.fsm-6 {
  font-size: 0.75rem !important;
}

.fsm-7 {
  font-size: 0.7rem !important;
}

.fsm-8 {
  font-size: 0.65rem !important;
}

/* Line height */
.lh-xs {
  line-height: 1.15 !important;
}

/* Sticky */
.sticky-top-120 {
  top: 120px !important;
}

/* ======= /Utilities  ======= */
/* ======= Containers ======= */
@media (min-width: 576px) {
  .container,
  .container-sm {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container,
  .container-md,
  .container-sm {
    max-width: 640px;
  }
}
@media (min-width: 992px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm {
    max-width: 720px;
  }
}
@media (min-width: 1200px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1200px;
  }
}
@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1360px;
  }
}
/* ======= /Containers ======= */

/* ======= Custom Icon Styles ======= */
.hicon-search-box {
  color: #ffffff !important;
}

/* Botón de búsqueda en blanco */
button .hicon-search-box,
.circle-icon .hicon-search-box {
  color: #ffffff !important;
}

button:hover .hicon-search-box,
.circle-icon:hover .hicon-search-box {
  color: #ffffff !important;
}
/* ======= /Custom Icon Styles ======= */

/* ========================================
   ESTILOS PERSONALIZADOS PARA LOGO REDUCIDO
   ======================================== */

/* Reducir logo del header principal en un 20% */
.navbar-brand img {
    max-height: 48px !important; /* Reducido de 60px a 48px (20% menos) */
    width: auto !important;
}

/* Reducir logo del menú móvil en un 20% */
.offcanvas-header img {
    max-height: 40px !important; /* Reducido de 50px a 40px (20% menos) */
    width: auto !important;
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .navbar-brand img {
        max-height: 40px !important;
    }
    
    .offcanvas-header img {
        max-height: 32px !important;
    }
}
