/* =====================================================
   Regenerarive Platform — Design System
   Paleta: --blue #2563eb | --pink #e73c7e | --cyan #23a6d5 | --teal #23d5ab | --dark #0f172a
   ===================================================== */

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

:root {
    --blue:   #2563eb;
    --pink:   #e73c7e;
    --cyan:   #23a6d5;
    --teal:   #23d5ab;
    --dark:   #0f172a;
    --text:   #334155;
    --muted:  #64748b;
    --light:  #f8fafc;
    --border: #e2e8f0;
    --card:   #ffffff;
    --radius: 14px;
    --radius-sm: 8px;
    --shadow: 0 4px 16px rgba(0,0,0,0.07);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--light);
    line-height: 1.6;
    padding-top: 64px; /* height of fixed navbar */
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Utilities ---------- */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    color: var(--dark);
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(90deg, var(--pink), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    color: #fef08a;
    font-weight: 600;
    font-size: 0.95rem;
    backdrop-filter: blur(6px);
    margin-bottom: 0.5rem;
}

.badge.last { margin-bottom: 1.5rem; }

.eyebrow {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
}

.empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--muted);
}
.empty h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--dark); }

/* ---------- NAVBAR ---------- */
.site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 64px;
    background: black;
    backdrop-filter: none;    /* Sin difuminado de fondo inicial */
    border-bottom: 1px solid transparent;
    transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

/* Mantener legibilidad al hacer scroll */
.site-nav.scrolled {
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(14px);
    border-bottom-color: rgba(255,255,255,0.08);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}


.nav-brand-logo {
    height: 38px;       /* Ajusta esta altura al tamaño ideal de tu menú */
    width: auto;        /* Mantiene la proporción de la imagen */
    object-fit: contain;
}

.nav-brand-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #fff;
}

.nav-brand-text {
    display: inline-flex;
    gap: 0.35em;
}

.nav-brand-line2 {
    color: var(--teal);
}

/* Reglas Responsive */
@media (max-width: 768px) {
    .nav-inner {
        padding: 0 0.75rem; /* Ajuste para aprovechar mejor el ancho */
    }

    .nav-brand {
        font-size: 0.9rem;
    }

    /* Muestra la marca en dos filas verticales */
    .nav-brand-text {
        display: flex;
        flex-direction: column;
        line-height: 1.1;
    }

    .nav-brand-line1, 
    .nav-brand-line2 {
        display: block;
    }
}
.nav-brand-accent { color: var(--teal); }

/* Desktop nav links */
.nav-container { display: flex; align-items: center; gap: 0.25rem; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-menu > li > a {
    display: block;
    padding: 0.45rem 0.9rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}

.nav-menu > li > a:hover,
.nav-menu > li.has-submenu:hover > a {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

/* CTA button */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, var(--pink), var(--cyan));
    transition: transform 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}

.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(231,60,126,0.35); }

/* ---------- SELECTOR DE IDIOMAS ---------- */
.lang-switcher {
    position: relative;
    flex-shrink: 0;
}

.lang-switcher-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.85);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.lang-switcher-btn:hover,
.lang-switcher.open .lang-switcher-btn {
    background: rgba(255,255,255,0.16);
    color: #fff;
}

.lang-switcher-btn i.fa-chevron-down {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}

.lang-switcher.open .lang-switcher-btn i.fa-chevron-down { transform: rotate(180deg); }

.lang-switcher-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 170px;
    background: rgba(15,23,42,0.98);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 0.4rem;
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
    backdrop-filter: blur(16px);
    z-index: 1200;
}

.lang-switcher.open .lang-switcher-menu { display: block; }

.lang-switcher-menu a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.55rem 0.75rem;
    border: none;
    background: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    text-align: left;
    transition: color 0.15s, background 0.15s;
}

.lang-switcher-menu a:hover,
.lang-switcher-menu a.active {
    color: #fff;
    background: rgba(255,255,255,0.1);
}

.lang-switcher-menu .lang-name {
    flex: 1;
    white-space: nowrap;
}

.lang-switcher-menu .lang-code {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--cyan);
    flex-shrink: 0;
}

/* Icono de bandera, usado tanto en el botón como en el desplegable */
.lang-flag {
    width: 20px;
    height: 14px;
    border-radius: 3px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.15);
    display: block;
}

.lang-switcher-btn .lang-flag { width: 18px; height: 13px; }

/* Oculta la barra y los tooltips que Google Translate añade por defecto */
.goog-te-banner-frame.skiptranslate,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover,
.goog-text-highlight {
    display: none !important;
    background: none !important;
    box-shadow: none !important;
}

body { top: 0px !important; }

#google_translate_element { display: none; }

/* Dropdown submenu */
.has-submenu { position: relative; }

.submenu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    min-width: 200px;
    background: rgba(15,23,42,0.98);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
    backdrop-filter: blur(16px);
    z-index: 200;
}

.has-submenu:hover > .submenu { display: block; }

.submenu li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
}

.submenu li a:hover { color: #fff; background: rgba(255,255,255,0.1); }

/* Level 2 submenu */
.submenu-level2 {
    top: 0;
    left: calc(100% + 4px);
    min-width: 180px;
}

.submenu-arrow { font-size: 1rem; opacity: 0.6; }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 6px;
}

.hamburger-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

/* Mobile menu */
.nav-mobile {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(15,23,42,0.99);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1rem 1.5rem 1.5rem;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    z-index: 999;
}

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

.mobile-menu-list { display: flex; flex-direction: column; gap: 0.25rem; }

.mobile-menu-list a {
    display: block;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    transition: color 0.15s, background 0.15s;
}

.mobile-menu-list a:hover { color: #fff; background: rgba(255,255,255,0.08); }

.mobile-submenu { padding-left: 1rem; margin-top: 0.25rem; }
.mobile-submenu a { font-size: 0.83rem; color: rgba(255,255,255,0.6); }

.mobile-nav-cta {
    display: block;
    text-align: center;
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 999px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, var(--pink), var(--cyan));
}

/* Estilos para los desplegables del menú móvil */
.mobile-details summary::-webkit-details-marker,
.mobile-details-sub summary::-webkit-details-marker {
    display: none; /* Oculta el marcador por defecto del navegador */
}

.mobile-menu-list > li > a,
.mobile-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.75rem 1rem; /* Mismo padding para alinearlo */
    font-weight: inherit;  /* Hereda el grosor de texto del resto del menú */
    color: #ffffff;        /* Blanco puro al 100% de opacidad */
    font-size: 1rem;       /* Misma escala que los enlaces principales */
}

.mobile-summary-sub {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 0.75rem 0;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.08em;
    font-size: 0.85rem;
}

/* Rotación de flechas al abrir */
.mobile-details[open] > summary .mobile-arrow,
.mobile-details-sub[open] > summary .mobile-arrow-sub {
    transform: rotate(180deg);
}

.mobile-arrow,
.mobile-arrow-sub {
    transition: transform 0.3s ease;
    font-size: 0.75rem;
    opacity: 0.7;
}

.mobile-dropdown-container {
    padding: 0;
    margin: 0;
}

/* Niveles de indentación para estructurar las capas */
.mobile-submenu-level1 {
    padding-left: 1.5rem; /* Indentación para la lista de fabricantes */
    margin: 0;
    list-style: none;
}

.mobile-submenu-level2 {
    padding-left: 1.25rem;
    list-style: none;
    margin: 0.25rem 0;
}

.mobile-submenu-level1 li,
.mobile-submenu-level2 li {
    padding: 0.35rem 0;
}

.mobile-fab-link {
    text-transform: none !important;
    font-weight: 400 !important;
    font-size: 0.95rem !important;
    color: inherit;
    text-decoration: none;
}
/* ---------- HERO ---------- */
.hero-section {
    min-height: calc(100vh - 64px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradientBG 10s ease infinite;
    color: #fff;
    position: relative;
    overflow: hidden;
    text-align: center;
}

@keyframes gradientBG {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(80px);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
}

/* Product hero: side-by-side */
.hero-content.hero-product {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: 3rem;
    max-width: 1200px;
}

.hero-text { flex: 1; min-width: 280px; }
.hero-image { flex: 1; min-width: 260px; display: flex; justify-content: center; }
.hero-image-mobile { display: none; }

.hero-image img {
    max-width: 420px;
    width: 100%;
    border-radius: 20px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.28));
}

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

.hero-eyebrow {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    margin-bottom: 1.25rem;
}

.hero-title {
    font-size: clamp(2.4rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

.hero-title .highlight {
    background: linear-gradient(90deg, #fff 30%, var(--teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 640px;
    margin: 0 auto 2rem;
    line-height: 1.65;
}

.hero-content.hero-product .hero-desc { margin-left: 0; }

/* Hero badge chips */
.hero-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.hero-content.hero-product .hero-chips { justify-content: flex-start; }

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    background: rgba(255,255,255,0.16);
    backdrop-filter: blur(6px);
}

/* Hero CTAs */
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.hero-content.hero-product .hero-ctas { justify-content: flex-start; margin-bottom: 0; }

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.8rem 2rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

.btn-hero-primary { background: #fff; color: var(--dark); }
.btn-hero-secondary {
    background: rgba(255,255,255,0.16);
    backdrop-filter: blur(6px);
    color: #fff;
}

/* Stats bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.15);
}

.stat-item {
    padding: 1.2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    background: rgba(15,23,42,0.3);
    backdrop-filter: blur(8px);
    border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child { border-right: none; }

.stat-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--teal);
    letter-spacing: -0.03em;
}

.stat-label {
    font-size: 0.75rem;
    opacity: 0.75;
    text-align: center;
}

/* Hero product badges */
.hero-meta { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.75rem; }
.hero-meta-row { display: flex; flex-direction: column; gap: 0.2rem; }
.hero-meta-label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; opacity: 0.7; }

/* ---------- SECTION WRAPPERS ---------- */
.section-pad { padding: 5rem 2rem; background: #fff; }
.section-pad-sm { padding: 3.5rem 2rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { color: var(--muted); max-width: 560px; margin: 0.75rem auto 0; line-height: 1.6; }

/* ---------- MANUFACTURER FILTERS (index.php) ---------- */
.manufacturers-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 1.25rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 200px;
}

.filter-group label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
}

.filter-group select {
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--dark);
    background: var(--light) url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2364748b'%3E%3Cpath fill-rule='evenodd' d='M5.23 7.21a.75.75 0 011.06.02L10 10.94l3.71-3.71a.75.75 0 111.06 1.06l-4.24 4.24a.75.75 0 01-1.06 0L5.21 8.29a.75.75 0 01.02-1.08z' clip-rule='evenodd'/%3E%3C/svg%3E") no-repeat right 0.75rem center/14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.6rem 2.2rem 0.6rem 0.85rem;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.filter-group select:hover { border-color: var(--cyan); }
.filter-group select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.12); }

.filter-clear-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.6rem 1rem;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.filter-clear-btn:hover {
    color: var(--pink);
    border-color: var(--pink);
    background: rgba(231,60,126,0.06);
}

@media (max-width: 640px) {
    .manufacturers-filters { flex-direction: column; align-items: stretch; }
    .filter-group { min-width: 0; }
}

/* ---------- ACTIVE FILTER NOTE (fabricante.php) ---------- */
.active-filter-note {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--muted);
    background: #eff6ff;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.5rem 1rem;
    margin: 0.5rem auto 0;
}

.active-filter-note strong { color: var(--blue); }

.filter-clear-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-weight: 600;
    color: var(--pink);
}

.filter-clear-link:hover { text-decoration: underline; }

/* ---------- MANUFACTURER CARDS (index.php) ---------- */
.manufacturers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.75rem;
}

.manufacturer-card {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.manufacturer-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.manufacturer-card-img {
    height: 160px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
}

.manufacturer-card-img img {
    max-height: 100px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.manufacturer-card-img .manufacturer-initials {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
}

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

.manufacturer-card-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
}

.manufacturer-card-body p {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.55;
    flex: 1;
}

/* ---------- PRODUCT GRID ---------- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.card-img {
    height: 200px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    overflow: hidden;
}

.card-img img {
    max-height: 160px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.card-body {
    padding: 1.25rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.card-body h3 { font-size: 1.05rem; font-weight: 700; color: var(--dark); }
.card-body p { font-size: 0.85rem; color: var(--muted); line-height: 1.5; flex: 1; }

.price {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--blue);
    margin-top: 0.25rem;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: var(--dark);
    transition: background 0.25s, transform 0.2s;
    text-align: center;
    margin-top: 0.5rem;
    cursor: pointer;
    border: none;
}

.btn:hover { background: var(--blue); transform: translateY(-1px); }

.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--border);
}

.btn-outline:hover { background: var(--dark); color: #fff; border-color: var(--dark); }

.btn-full { width: 100%; display: block; }

/* ---------- CAROUSEL ---------- */
.carousel-wrapper { position: relative; }
.carousel-viewport {
    overflow: hidden;
    margin: 0 3rem;
    padding: 8px 6px;
    touch-action: pan-y;
}

.carousel-track {
    display: flex;
    width: 100%;
    gap: 1.5rem;
    transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.carousel-track.is-dragging {
    transition: none;
    cursor: grabbing;
}

.manufacturers-grid.carousel-track,
.product-grid.carousel-track {
    grid-template-columns: none;
}

.carousel-track .manufacturer-card {
    flex: 0 0 calc((100% - 3rem) / 3);
    min-width: calc((100% - 3rem) / 3);
    max-width: calc((100% - 3rem) / 3);
}

.carousel-track .product-card {
    flex: 0 0 calc((100% - 3rem) / 3);
    min-width: calc((100% - 3rem) / 3);
    max-width: calc((100% - 3rem) / 3);
}

.carousel-arrow {
    position: absolute;
    top: calc((100% - 56px) / 2);
    z-index: 2;
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--dark);
    background: #fff;
    box-shadow: var(--shadow);
    cursor: pointer;
    transform: translateY(-50%);
    transition: color 0.2s, background 0.2s, box-shadow 0.2s;
}

.carousel-arrow:not(:disabled):hover {
    color: #fff;
    background: var(--blue);
    box-shadow: var(--shadow-lg);
}

.carousel-arrow:disabled {
    cursor: default;
    opacity: 0.45;
}

.carousel-arrow:focus-visible,
.carousel-dot:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
}

.carousel-arrow-prev { left: 0; }
.carousel-arrow-next { right: 0; }
.carousel-arrow[hidden],
.carousel-dots[hidden] { display: none; }

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;  /* Centrado vertical idóneo */
    gap: 0.6rem;
    margin-top: 1.5rem;
    padding: 8px 0;       /* Añade margen de respiración para que el scale() no se corte */
}

.carousel-dot {
    width: 12px;           /* Tamaño idéntico para ancho y alto */
    height: 12px;
    padding: 0;            /* Elimina el padding interno por defecto del botón */
    margin: 0;             /* Resetea márgenes externos */
    border: none;
    border-radius: 50%;    /* Redondeado 100% perfecto */
    background: var(--border);
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
    outline: none;
    flex-shrink: 0;        /* Evita que flexbox deforme o aplaste el punto */
    line-height: 0;        /* Elimina altura de línea heredada de texto */
    font-size: 0;          /* Elimina espacios de texto internos */
    box-sizing: border-box;
}

.carousel-dot.active {
    background: var(--blue);
    transform: scale(1.2); /* Escalado controlado sin salirse del área del contenedor */
}

.carousel-dot:hover:not(.active) {
    background: var(--muted);
}

/* ---------- INFO / SPECS SECTION ---------- */
.info-section {
    background: var(--dark);
    padding: 5rem 2rem;
}

.info-grid {
    display: grid;
    /* Mantiene máximo 3 columnas y se centra si hay menos */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    justify-content: center; 
    gap: 1.5rem;
    max-width: 1000px; /* Reducido para forzar máximo 3 en productos grandes */
    margin: 0 auto;
}

/* Modificador para Inicio (4 en una fila) */
.info-grid--four-cols {
    max-width: 1300px; /* Ampliamos el contenedor para que quepan 4 holgadamente */
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); /* Permitimos un mínimo algo menor si la pantalla ajusta */
}

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

.info-grid--fertinatura .info-card {
    grid-column: span 2;
}

.info-grid--fertinatura .info-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.info-grid--fertinatura .info-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.info-card {
    padding: 2rem;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.3s, background 0.3s;
    text-align: center; /* Centra el contenido interior (icono, título, texto) */
}

.info-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.09);
}

.info-card i {
    font-size: 1.75rem;
    color: var(--cyan);
    margin-bottom: 1rem;
    display: block;
}

.info-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.6rem;
    line-height: 1.35;
}

.info-card p {
    font-size: 0.875rem;
    color: #94a3b8;
    line-height: 1.6;
}

/* ---------- GRAPH SECTION ---------- */
.graph-section {
    padding: 5rem 2rem;
    background: #fff;
}

.graph-section .section-header p {
    font-size: 0.875rem;
    color: var(--muted);
}

.vitta-pathway-figure {
    max-width: 1080px;
    margin: 0 auto;
}

.vitta-pathway-story.vitta-motion-ready .vitta-pathway-figure figcaption,
.vitta-pathway-story.vitta-motion-ready .vitta-pathway-note {
    opacity: 0;
}

.vitta-pathway-story.vitta-motion-ready .vitta-bubble,
.vitta-pathway-story.vitta-motion-ready .vitta-point-label,
.vitta-pathway-story.vitta-motion-ready .vitta-axis-labels text {
    opacity: 0;
}

.vitta-pathway-story.vitta-is-animated .vitta-bubble {
    animation: vitta-bubble-land 750ms cubic-bezier(0.18, 1.25, 0.35, 1) var(--bubble-delay) forwards;
}

.vitta-pathway-story.vitta-is-animated .vitta-point-label {
    animation: vitta-text-appear 550ms ease-out calc(var(--bubble-delay) + 800ms) forwards;
}

.vitta-pathway-story.vitta-is-animated .vitta-axis-labels text {
    animation: vitta-axis-label-appear 450ms ease-out 2.35s forwards;
}

.vitta-pathway-story.vitta-is-animated .vitta-pathway-figure figcaption {
    animation: vitta-text-appear 550ms ease-out 2.9s forwards;
}

.vitta-pathway-story.vitta-is-animated .vitta-pathway-note {
    animation: vitta-text-appear 600ms ease-out 3.2s forwards;
}

.vitta-pathway-story.vitta-is-animated .vitta-pathway-note:nth-child(2) {
    animation-delay: 3.45s;
}

@keyframes vitta-bubble-land {
    0% { opacity: 0; transform: translate(var(--start-x), var(--start-y)) scale(0.22); }
    68% { opacity: 1; transform: translate(0, 0) scale(1.28); }
    84% { opacity: 1; transform: translate(0, 0) scale(0.88); }
    100% { opacity: 1; transform: translate(0, 0) scale(1); }
}

@keyframes vitta-text-appear {
    from { opacity: 0; transform: translateY(0.65rem); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes vitta-axis-label-appear {
    from { opacity: 0; }
    to { opacity: 1; }
}

.vitta-pathway-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 1.5rem;
}

.vitta-pathway-images img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    background: #fff;
}

.vitta-bubble-chart {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.vitta-chart-axes {
    fill: none;
    stroke: #555;
    stroke-width: 1.7;
}

.vitta-chart-axes path {
    vector-effect: non-scaling-stroke;
}

.vitta-axis-labels,
.vitta-point-labels {
    fill: #171717;
    font-family: Arial, sans-serif;
    font-size: 13px;
}

.vitta-axis-labels text {
    font-size: 12px;
}

.vitta-point-labels {
    font-size: 13px;
}

.vitta-point-label--right {
    text-anchor: end;
}

.vitta-bubble {
    transform-box: fill-box;
    transform-origin: center;
}

.vitta-bubble circle {
    stroke: #282828;
    stroke-width: 1.8;
}

.vitta-pathway-panel {
    position: relative;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.vitta-panel-label {
    display: inline-block;
    margin: 0 0 0.5rem 0.5rem;
    color: var(--dark);
    font-size: 0.85rem;
    font-weight: 800;
}

.vitta-pathway-figure figcaption {
    max-width: 900px;
    margin: 1rem auto 0;
    color: var(--muted);
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.6;
    text-align: center;
}

.vitta-pathway-controls {
    display: flex;
    justify-content: center;
    margin: 1.25rem 0 0;
}

.vitta-replay-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    color: var(--blue);
    cursor: pointer;
    font: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.vitta-replay-button:hover {
    transform: translateY(-1px);
    border-color: var(--blue);
    background: #eff6ff;
}

.vitta-replay-button:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.35);
    outline-offset: 3px;
}

.vitta-pathway-notes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 1080px;
    margin: 2rem auto 0;
}

.vitta-pathway-note {
    position: relative;
    padding: 1.5rem 1.5rem 1.5rem 4.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #f8fafc;
}

.vitta-pathway-note p {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.75;
}

.vitta-pathway-note-list {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
    list-style: disc;
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.75;
}

.vitta-pathway-note-list li::marker {
    color: var(--teal);
}

.vitta-note-index {
    position: absolute;
    top: 1.35rem;
    left: 1.25rem;
    color: var(--blue);
    font-size: 1.2rem;
    font-weight: 800;
}

.info-grid--vitta {
    max-width: 1200px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vitta-spec-card {
    min-width: 0;
}

.vitta-spec-card p {
    color: #cbd5e1;
}

.vitta-spec-icon {
    display: block;
    width: 4.5rem;
    height: 4.5rem;
    margin: 0 auto 1rem;
    object-fit: contain;
}

.shikimato-chart {
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
}

.shikimato-chart-svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
}

.shikimato-chart-guides line {
    stroke: #cbd5e1;
    stroke-width: 1.2;
}

.shikimato-chart-labels {
    fill: #111827;
    font-family: 'Segoe UI', system-ui, sans-serif;
    font-size: 17px;
    font-weight: 700;
}

.shikimato-chart-labels text:nth-child(n+8) {
    font-size: 16px;
    font-weight: 700;
}

.shikimato-chart-segments {
    pointer-events: none;
}

.shikimato-copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 1000px;
    margin: 1.5rem auto 0;
    color: var(--text);
    font-size: 0.975rem;
}

.shikimato-info-card {
    padding: 1.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}

.shikimato-card-kicker {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shikimato-info-card h3 {
    margin-bottom: 0.75rem;
    color: var(--dark);
    font-size: 1.25rem;
    line-height: 1.3;
}

.shikimato-info-card p {
    margin: 0 0 0.75rem;
    line-height: 1.65;
}

.shikimato-copy ul {
    list-style: disc;
    margin: 0.5rem 0 1rem 1.25rem;
}

.shikimato-copy li {
    padding: 0.18rem 0 0.18rem 0.15rem;
    line-height: 1.55;
}

.shikimato-amino-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.75rem 0 1rem !important;
    padding: 0;
    list-style: none !important;
}

.shikimato-amino-list li {
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #1e40af;
    font-weight: 700;
}

.shikimato-card-note {
    padding-top: 0.75rem;
    border-top: 1px solid var(--border);
    color: var(--muted);
}

.shikimato-metabolite-list {
    display: grid;
    gap: 0.25rem;
}

.shikimato-metabolite-list li::marker {
    color: var(--teal);
}

@media (max-width: 600px) {
    .vitta-pathway-images,
    .vitta-pathway-notes {
        grid-template-columns: minmax(0, 1fr);
    }

    .vitta-pathway-images {
        gap: 1rem;
    }

    .vitta-pathway-panel {
        padding: 0.65rem;
    }

    .vitta-pathway-panel .vitta-bubble-chart {
        width: calc(100% + 1.3rem);
        max-width: none;
        margin-left: -0.65rem;
    }

    .vitta-pathway-note {
        padding: 1.25rem 1.25rem 1.25rem 3.5rem;
    }

    .vitta-note-index {
        left: 1rem;
    }

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

    .shikimato-chart {
        width: calc(100vw - 2rem);
        max-width: none;
        margin: 0 0 0 calc((100% - (100vw - 2rem)) / 2);
    }

    .shikimato-copy {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.9rem;
        margin-top: 1rem;
    }

    .shikimato-info-card {
        padding: 1.25rem;
    }

    .shikimato-info-card h3 {
        font-size: 1.1rem;
    }

    .info-grid--fertinatura {
        grid-template-columns: 1fr;
    }

    .info-grid--fertinatura .info-card,
    .info-grid--fertinatura .info-card:nth-child(4),
    .info-grid--fertinatura .info-card:nth-child(5) {
        grid-column: auto;
    }
}

.chart-wrapper {
    position: relative;
    width: 100%;
    max-width: 820px;
    aspect-ratio: 1 / 1;
    height: auto;
    margin: 0 auto;
}

.chart-wrapper canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.chart-summary {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: #334155;
    text-align: center;
}

.chart-summary-item {
    display: flex;
    align-items: baseline;
    gap: 0.45rem;
    margin: 0;
    padding: 0.35rem 1.25rem;
    line-height: 1.65;
}

.chart-summary-item + .chart-summary-item {
    border-left: 1px solid #e2e8f0;
}

.chart-summary-equals {
    color: #94a3b8;
}

.chart-summary-value {
    color: #2563eb;
    font-variant-numeric: tabular-nums;
}

.chart-summary .chart-summary-note {
    flex-basis: 100%;
    margin-top: 0.25rem;
    color: #94a3b8;
    font-size: 0.78rem;
}

@media (max-width: 600px) {
    .chart-summary {
        flex-direction: column;
    }

    .chart-summary-item {
        padding: 0.2rem 0.5rem;
    }

    .chart-summary-item + .chart-summary-item {
        border-left: 0;
    }
}

/* Popup modal */
.chart-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,0.65);
    backdrop-filter: blur(4px);
    z-index: 1500;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.chart-popup-overlay.open { display: flex; }

.chart-popup-modal {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    max-width: 1000px;      /* antes 460px */
    width: 92%;
    max-height: 85vh;      /* limita la altura */
    overflow-y: auto;      /* scroll interno */
    overflow-x: hidden;
    box-shadow: 0 32px 64px rgba(0,0,0,0.25);
    position: relative;
    animation: popIn 0.2s ease;
}

/* Scrollbar discreto */
.chart-popup-modal::-webkit-scrollbar { width: 5px; }
.chart-popup-modal::-webkit-scrollbar-thumb { background: var(--border); border-radius: 8px; }
.chart-popup-modal::-webkit-scrollbar-track { background: transparent; }
.chart-popup-modal {
    /* ...tus estilos existentes... */
    scrollbar-width: thin;         /* Firefox: opciones son auto | thin | none */
    scrollbar-color: var(--border) transparent;  /* thumb / track */
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.94) translateY(10px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.chart-popup-close {
    position: sticky;      /* antes absolute: con scroll se perdía */
    float: right;
    top: 0;
    margin-left: 1rem;
    width: 32px; height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--light);
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--muted);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
    z-index: 2;
}

.chart-popup-close:hover { background: var(--border); }

#popup-title { font-size: 1.2rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; clear: both; }
#popup-desc { font-size: 0.875rem; color: var(--muted); line-height: 1.6; margin-top: 0.5rem; }

.popup-img {
    width: 100%;
    max-height: 380px;   /* ahora sí manda este valor */
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 1rem;
    background: var(--light);
    cursor: zoom-in;
    transition: transform 0.15s ease;
}
.popup-img:hover { transform: scale(1.02); }

/* Popup: secciones contraibles (Importancia y Beneficios / Condiciones en Campo) */
.popup-collapsible {
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
}

.popup-collapsible-title {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.4rem;
}

.popup-collapsible-body {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
}

.popup-collapsible-body.open {
    max-height: 600px; /* suficiente para el contenido habitual */
}

.popup-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.5rem;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--blue);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.popup-toggle-btn:hover { background: #fff; border-color: var(--blue); transform: translateY(-1px); }
.popup-toggle-btn i { transition: transform 0.2s ease; font-size: 0.7rem; }
.popup-toggle-btn.open i { transform: rotate(180deg); }

/* Lightbox */
.image-lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.image-lightbox-overlay.open { display: flex; }

.image-lightbox-overlay img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 12px;
}

.image-lightbox-close {
    position: fixed;
    top: 1.25rem; right: 1.25rem;
    width: 40px; height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(15,23,42,0.65);
    color: #fff;
    font-size: 1.3rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
    z-index: 2001;
}

.image-lightbox-close:hover { background: rgba(15,23,42,0.85); }

/* Móvil */
@media (max-width: 600px) {
    .chart-wrapper {
        height: auto;
    }

    .chart-popup-modal {
        padding: 1.5rem;
        max-height: 90vh;
        border-radius: 16px;
    }

    .popup-toggle-btn {
        padding: 0.5rem 0.9rem;
    }
}

/* ---------- FOOTER ---------- */
footer {
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,0.07);
    padding: 3.5rem 2rem 2rem;
    color: #94a3b8;
    position: relative;

}

.back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 900;
    width: 2.75rem;
    height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    background: var(--blue);
    color: #fff;
    box-shadow: 0 8px 20px rgba(15,23,42,0.25);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.75rem);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--teal);
}

.back-to-top:focus-visible {
    outline: 3px solid rgba(35,213,171,0.45);
    outline-offset: 3px;
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap; /* Evita saltos de línea */
}

.footer-logo-link span {
    white-space: nowrap; /* Refuerza que el texto no se divida */
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: space-between;
}

.footer-brand { max-width: 320px; }
.footer-brand-name {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.75rem;
}

.footer-brand-name .icon {
    width: 30px; height: 30px;
    border-radius: 7px;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    color: #fff;
}

.footer-brand p { font-size: 0.85rem; line-height: 1.6; }

.footer-col h4 {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #475569;
    margin-bottom: 0.75rem;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.4rem; }

.footer-col ul li a {
    font-size: 0.875rem;
    color: #64748b;
    transition: color 0.2s;
}

.footer-col ul li a:hover { color: #94a3b8; }

.footer-col ul li span { font-size: 0.875rem; color: #94a3b8; }

.footer-bottom {
    max-width: 1200px;
    margin: 2.5rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.07);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #475569;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    body { padding-top: 64px; }

    .nav-container, .nav-cta { display: none; }
    .nav-toggle { display: flex; }

    .hero-content.hero-product { flex-direction: column; text-align: center; }
    .hero-content.hero-product .hero-chips,
    .hero-content.hero-product .hero-ctas,
    .hero-content.hero-product .hero-meta { align-items: center; }

    .hero-chips {
        align-items: center;
        justify-content: center;
    }

    .hero-content.hero-product .hero-chips {
        justify-content: center !important;
    }

    .stats-bar { grid-template-columns: repeat(2, 1fr); }

    .manufacturers-grid,
    .product-grid { grid-template-columns: 1fr; }

    .info-grid,
    .info-grid--fertinatura,
    .info-grid--vitta { grid-template-columns: 1fr; }

    .info-grid--fertinatura .info-card:nth-child(4),
    .info-grid--fertinatura .info-card:nth-child(5) { grid-column: auto; }

    .carousel-track .product-card {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .carousel-track .manufacturer-card {
        flex: 0 0 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .carousel-track {
        gap: 1.5rem;
    }

    .footer-inner { flex-direction: column; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .section-title { font-size: 1.6rem; }
}


@media (min-width: 601px) and (max-width: 900px) {
    .carousel-track {
        gap: 1.5rem;
    }

    .carousel-track .product-card {
        flex: 0 0 calc((100% - 1.5rem) / 2);
        min-width: calc((100% - 1.5rem) / 2);
        max-width: calc((100% - 1.5rem) / 2);
    }

    .carousel-track .manufacturer-card {
        flex: 0 0 calc((100% - 1.5rem) / 2);
        min-width: calc((100% - 1.5rem) / 2);
        max-width: calc((100% - 1.5rem) / 2);
    }
}
@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .stats-bar { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- CONTACT SECTION (Nuevo diseño de dos columnas) ---------- */
.contact-section {
    background: var(--dark);
    padding: 6rem 2rem;
    color: #fff;
}

.contact-layout-split {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    max-width: 1150px;
    margin: 0 auto;
    align-items: flex-start;
}

.contact-intro-side .contact-kicker {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--teal);
    margin-bottom: 1rem;
}

.contact-section .contact-custom-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 900;
    line-height: 1.1;
    color: #fff !important;
    text-align: left !important;
    margin-bottom: 1.25rem;
    letter-spacing: -0.03em;
}

.contact-section .contact-custom-desc {
    font-size: 1.05rem;
    opacity: 0.85;
    line-height: 1.65;
    text-align: left !important;
    max-width: 480px;
    margin: 0 0 2.5rem 0 !important;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-detail-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #94a3b8;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-detail-item:hover {
    color: var(--teal);
}

.contact-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    color: var(--teal);
    font-size: 1rem;
}

.contact-form-container {
    background: rgba(255,255,255,0.05);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
}

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

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #a0aec0;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(0,0,0,0.2);
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(35,213,171,0.2);
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.9rem 1.5rem;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    background: var(--teal);
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.btn-submit:hover {
    background: #23d5ab;
    transform: translateY(-2px);
}

/* Responsivo para la sección de contacto */
@media (max-width: 900px) {
    .contact-layout-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .contact-section .contact-custom-title {
        text-align: center !important;
    }
    .contact-section .contact-custom-desc {
        text-align: center !important;
        margin: 0 auto 2.5rem auto !important;
    }
    .contact-intro-side {
        text-align: center;
    }
    .contact-details-list {
        align-items: center;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 3.5rem 1.5rem;
    }
    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ---------- BLOG DETALLE ---------- */

.article-container {
    max-width: 860px;
    margin: -4rem auto 4rem auto;
    position: relative;
    z-index: 10;
}

.article-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.07);
    padding: 2.5rem 3rem;
    overflow: hidden;
}

/* --- CONTENEDOR DE IMAGEN DESTACADA --- */
.article-img-wrapper {
    width: 100%;
    height: 440px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    background-color: #f8fafc; /* Fondo suave para las franjas laterales/superiores si sobra espacio */
    display: flex;
    justify-content: center;
    align-items: center;
}

.article-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;  /* MUESTRA LA IMAGEN COMPLETA SIN RECORTAR */
    display: block;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    color: #64748b;
}

.article-meta-badge {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary, #2563eb);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
}

.article-content {
    font-size: 1.125rem;
    line-height: 1.85;
    color: #334155;
    font-weight: 400;
}

.article-content video {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
    margin: 1.5rem 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background-color: #000;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.25);
    color: #ffffff;
    transform: translateX(-3px);
}


/* --- RESPONSIVE EN MÓVILES --- */
@media (max-width: 768px) {
    .article-card {
        padding: 1.5rem;
        margin-top: -2rem;
    }
    .article-container {
        padding: 0 1rem;
    }
    .article-img-wrapper {
        height: 250px;       /* Reducimos la altura en móviles para que no ocupe toda la pantalla */
        margin-bottom: 1.5rem;
    }
}

/* ---------- BOTONES PARA COMPARTIR MODERNOS ---------- */

.share-container {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-top: 3rem;
    padding-top: 1.75rem;
    border-top: 1px solid #e2e8f0;
}

.share-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.01em;
}

.share-buttons {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 1.1rem; /* Tamaño optimizado para iconos FontAwesome */
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

/* Colores de Marca al hacer Hover */
.share-facebook:hover {
    background-color: #1877f2;
    border-color: #1877f2;
    color: #ffffff;
}

.share-linkedin:hover {
    background-color: #0a66c2;
    border-color: #0a66c2;
    color: #ffffff;
}

.share-x:hover {
    background-color: #0f1419;
    border-color: #0f1419;
    color: #ffffff;
}

.share-whatsapp:hover {
    background-color: #25d366;
    border-color: #25d366;
    color: #ffffff;
}

.share-email:hover {
    background-color: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.email-share-dialog {
    position: fixed;
    inset: 0;
    box-sizing: border-box;
    width: min(440px, calc(100% - 2rem));
    max-width: 440px;
    max-height: calc(100% - 2rem);
    margin: auto;
    padding: 2rem;
    border: 0;
    border-radius: 16px;
    color: var(--dark);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}

.email-share-dialog::backdrop {
    background: rgba(15, 23, 42, 0.6);
}

.email-share-dialog form {
    position: relative;
}

.email-share-dialog h2 {
    margin: 0 2rem 0.5rem 0;
    font-size: 1.35rem;
}

.email-share-dialog p {
    margin-bottom: 1rem;
    color: var(--muted);
}

.email-share-close {
    position: absolute;
    top: -1.25rem;
    right: -1rem;
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
}

.email-share-options {
    display: grid;
    gap: 0.5rem;
}

.email-share-options .btn {
    display: block;
    margin: 0;
    text-decoration: none;
}

/* Responsive para pantallas móviles */
@media (max-width: 480px) {
    .share-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
    }
}

/* ---------- LOGIN / REGISTER ESTILO WP ---------- */
.wp-login-body {
    background-color: #f0f0f1 !important;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif !important;
    color: var(--text, #334155) !important;
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding-top: 0 !important;
}

.wp-login-container {
    width: 360px !important;
    margin: 0 auto !important;
    padding: 20px 0 !important;
}

.wp-login-logo {
    text-align: center !important;
    margin-bottom: 24px !important;
}

.wp-login-logo img {
    max-width: 200px !important;
    height: auto !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    display: block !important;
}

.wp-login-card {
    background: #ffffff !important;
    border: 1px solid #c3c4c7 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    padding: 30px !important;
    margin-bottom: 16px !important;
    border-radius: 8px !important;
}

.wp-form-group {
    margin-bottom: 1.25rem !important;
}

.wp-form-group label {
    display: block !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #64748b !important;
    margin-bottom: 0.4rem !important;
}

.wp-input {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    font-family: inherit !important;
    font-size: 0.95rem !important;
    outline: none !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    box-sizing: border-box !important;
}

.wp-input:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
    background: #fff !important;
}

.wp-password-field {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #f8fafc;
    transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.wp-password-field:focus-within {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.wp-password-field .wp-input,
.wp-password-field .wp-input:focus {
    min-width: 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.wp-password-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 2.75rem;
    margin: 0.25rem;
    padding: 0.4rem;
    border: 0;
    border-radius: 5px;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
}

.wp-password-toggle:hover,
.wp-password-toggle:focus-visible {
    color: #2563eb;
    background: #eff6ff;
}

.wp-password-toggle:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: -2px;
}

.wp-password-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.wp-password-eye-off[hidden] {
    display: none;
}

.nav-logout-link {
    padding: 4px;
    color: #ef4444;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
}

.nav-logout-link:hover,
.nav-logout-link:focus-visible {
    color: #f87171;
}

.nav-logout-link:hover {
    transform: translateY(-1px);
}

.nav-logout-link:focus-visible {
    outline: 2px solid #f87171;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Botón con el diseño y colores de tu plataforma */
.wp-submit-btn {
    display: block !important;
    width: 100% !important;
    padding: 0.8rem 1.25rem !important;
    border-radius: 6px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    background: #0f172a !important;
    border: none !important;
    cursor: pointer !important;
    transition: background 0.25s, transform 0.2s !important;
    text-align: center !important;
    margin-top: 1rem !important;
}

.wp-submit-btn:hover {
    background: #2563eb !important;
    transform: translateY(-1px) !important;
}

.wp-error-msg {
    border-left: 4px solid #ef4444 !important;
    background: #fef2f2 !important;
    padding: 10px 12px !important;
    margin-bottom: 1rem !important;
    font-size: 0.875rem !important;
    color: #991b1b !important;
    border-radius: 0 6px 6px 0 !important;
}

.wp-success-msg {
    border-left: 4px solid #22c55e !important;
    background: #f0fdf4 !important;
    padding: 10px 12px !important;
    margin-bottom: 1rem !important;
    font-size: 0.875rem !important;
    color: #166534 !important;
    border-radius: 0 6px 6px 0 !important;
}

.wp-login-footer {
    text-align: center !important;
    font-size: 0.875rem !important;
    color: #646970 !important;
}

.wp-login-footer a {
    color: #2563eb !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: color 0.2s !important;
}

.wp-login-footer a:hover {
    text-decoration: underline !important;
}

.wp-dot {
    margin: 0 8px !important;
    color: #c3c4c7 !important;
}


/* ---------- RESPONSIVE HARDENING ---------- */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

button,
input,
select,
textarea {
    max-width: 100%;
}

canvas,
video,
iframe,
svg {
    max-width: 100%;
}

.hero-text,
.hero-image,
.section-inner,
.contact-layout,
.article-container,
.article-card,
.footer-brand,
.footer-col {
    min-width: 0;
}

@media (max-width: 1024px) {
    .nav-inner {
        padding-inline: 1rem;
    }

    .nav-brand {
        flex: 1 1 auto;
        min-width: 0;
    }

    .nav-container {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .lang-switcher {
        margin-left: auto;
    }

    .hero-content.hero-product {
        gap: 2rem;
    }

    .hero-content.hero-product .hero-ctas {
        justify-content: center;
    }

    .manufacturers-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-inner {
        gap: 0.5rem;
    }

    .nav-brand {
        min-width: 0;
    }

    .nav-brand-logo {
        max-width: 42vw;
        height: 34px;
    }

    .nav-brand-text {
        min-width: 0;
        overflow: hidden;
    }

    .nav-brand-line1,
    .nav-brand-line2 {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .lang-switcher {
        margin-left: auto;
    }

    .nav-mobile {
        padding-inline: 0.75rem;
    }

    .hero-section,
    .section-pad,
    .section-pad-sm,
    .graph-section,
    .info-section,
    .contact-section {
        padding-inline: 1rem;
    }

    .hero-section {
        min-height: calc(100svh - 64px);
        padding-block: 3rem;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3.4rem);
        overflow-wrap: anywhere;
    }

    .hero-desc,
    .hero-text .hero-desc {
        font-size: 1rem;
        overflow-wrap: anywhere;
    }

    .hero-content.hero-product .hero-text,
    .hero-content.hero-product .hero-image {
        width: 100%;
    }

    .hero-content.hero-product .hero-image {
        display: none;
    }

    .hero-image-mobile {
        width: 100%;
        display: flex;
        justify-content: center;
        margin: 0 0 1.5rem;
    }

    .hero-image-mobile img {
        max-width: min(100%, 260px);
        border-radius: 20px;
        filter: drop-shadow(0 20px 30px rgba(0,0,0,0.28));
    }

    .manufacturer-hero-initials {
        width: 180px;
        height: 180px;
        border-radius: 28px;
        background: rgba(255,255,255,0.15);
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 4rem;
        font-weight: 900;
        color: rgba(255,255,255,0.9);
    }

    .hero-image img {
        max-width: min(100%, 360px);
    }

    .hero-ctas,
    .hero-content.hero-product .hero-ctas {
        width: 100%;
        justify-content: center;
    }

    .btn-hero {
        justify-content: center;
        min-height: 44px;
        max-width: 100%;
    }

    .stats-bar {
        width: 100%;
    }

    .stat-item {
        min-width: 0;
        padding-inline: 0.5rem;
    }

    .stat-value {
        font-size: clamp(1.35rem, 6vw, 1.8rem);
    }

    .section-title {
        overflow-wrap: anywhere;
    }

    .manufacturers-filters {
        padding: 1rem;
    }

    .filter-group,
    .filter-group select,
    .filter-clear-btn {
        width: 100%;
    }

    .manufacturers-grid,
    .product-grid,
    .info-grid,
    .info-grid--four-cols {
        grid-template-columns: minmax(0, 1fr);
    }

    .manufacturer-card,
    .product-card,
    .info-card {
        min-width: 0;
    }

    .chart-wrapper {
        width: 100%;
        min-height: 260px;
    }

    .chart-popup-overlay {
        padding: 0.75rem;
    }

    .chart-popup-modal {
        width: 100%;
        max-width: none;
        padding: 1.25rem;
    }

    .contact-form-container,
    .contact-info-card {
        padding: 1.25rem;
    }

    .article-container {
        width: 100%;
        padding-inline: 0.75rem;
    }

    .article-card {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .article-img-wrapper {
        height: auto;
        min-height: 180px;
        aspect-ratio: 16 / 9;
    }

    .article-content {
        font-size: 1rem;
        overflow-wrap: anywhere;
    }

    .article-content img,
    .article-content table {
        max-width: 100%;
    }

    .article-content table {
        display: block;
        overflow-x: auto;
    }

    .share-container {
        flex-wrap: wrap;
    }

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

    .footer-logo-link,
    .footer-logo-link span {
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .nav-brand-logo {
        width: 32px;
        height: 32px;
    }

    .nav-brand-text {
        font-size: 0.78rem;
        gap: 0;
    }

    .lang-switcher-btn {
        padding-inline: 0.6rem;
    }

    .hero-chips,
    .hero-ctas,
    .hero-content.hero-product .hero-ctas {
        flex-direction: column;
    }

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

    .hero-chip {
        width: fit-content;
        max-width: 100%;
    }

    .btn-hero {
        width: 100%;
    }

    .stats-bar {
        grid-template-columns: 1fr 1fr;
    }

    .stat-item {
        min-height: 82px;
    }

    .section-pad,
    .section-pad-sm,
    .graph-section,
    .info-section,
    .contact-section {
        padding-block: 3rem;
    }

    .image-lightbox-overlay {
        padding: 1rem;
    }
}

.product-data-empty {
    color: #64748b;
}

.product-data-empty > i {
    display: block;
    margin-bottom: 1rem;
    font-size: 3rem;
    color: #cbd5e1;
}

.product-empty-notice {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1.5rem;
    color: #dbeafe;
    font-weight: 600;
}