﻿@font-face {
    font-family: "GoogleSans";
    src: url("../fonts/GoogleSans-Regular.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "GoogleSans";
    src: url("../fonts/GoogleSans-SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --primary-color: #ffe107; /* amarillo dorado — color primario */
    --primary-light: #ffe94d; /* hover / variante clara */
    --primary-soft: #fffde7; /* fondos suaves */

    --secondary-color: #4a5568; /* gris azulado — texto secundario */
    --secondary-light: #f0f4f1; /* fondos gris claro */
    --secondary-muted: #c8d6cc; /* gris medio - bordes */

    --accent-color: #1e6b3d; /* verde campo — acento */
    --accent-soft: #edf7f1;
    --accent-dark: #154d2c;

    --color-olive-dark: #8b8f43; /* verde oliva oscuro — identidad de marca */
    --color-olive: #b5ae3c; /* verde oliva medio — identidad de marca */
    --color-olive-light: #b6be6b; /* verde oliva claro — identidad de marca */

    --neutral-white: #ffffff;
    --neutral-light: #fdf8f0; /* blanco con tinte cálido muy suave */
    --neutral-gray: #9e9e9e;
    --neutral-dark: #111111;

    --color-charcoal: #1a2e1f; /* verde oscuro — superficie principal */
    --color-graphite: #2d4a33; /* verde oscuro medio */

    --color-border: #eddfc0;

    --gray-100: #f2f2f2;
    --gray-200: #e1e1e1;
    --gray-300: #c7c7c7;
    --gray-400: #9a9a9a;
    --gray-500: #6e6e6e;
    --gray-600: #4a4a4a;
    --gray-700: #2e2e2e;
    --gray-800: #1e1e1e;
    --gray-900: #121212;

    --font-family-title: "GoogleSans", sans-serif;
    --font-family-body: "GoogleSans", sans-serif;

    /* BASE */
    --text-xs: clamp(0.75rem, 0.7rem + 0.2vw, 0.8rem);
    --text-sm: clamp(0.85rem, 0.8rem + 0.3vw, 0.95rem);
    --text-base: clamp(1rem, 0.95rem + 0.4vw, 1.1rem);

    /* HEADINGS */
    --text-md: clamp(1.2rem, 1.1rem + 0.6vw, 1.4rem);
    --text-lg: clamp(1.5rem, 1.3rem + 1vw, 1.8rem);
    --text-xl: clamp(1.8rem, 1.5rem + 1.5vw, 2rem);
    --text-xxl: clamp(2.2rem, 1.8rem + 2vw, 2.5rem);

    --border-radius: 0.875rem;
    --border-radius-full: 2rem;

    /* Touch targets mínimos (WCAG 2.5.5) */
    --touch-min: 44px;
    --touch-comfortable: 48px;

    /* Safe areas (notch / home indicator en iOS) */
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-right: env(safe-area-inset-right, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --safe-left: env(safe-area-inset-left, 0px);

    --svg-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 189.334 133.799' preserveAspectRatio='none'%3E%3Cpath d='M142,27.04c-20.252,0-37.914-5.443-47.333-13.52S67.585,0,47.333,0C27.082,0,9.42,5.443,0,13.52v119.869h94.667h94.667V13.52C179.914,21.597,162.252,27.04,142,27.04z'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
    font-family: "GoogleSans", sans-serif;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    touch-action: manipulation;
    box-sizing: border-box;
}

*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 3px;
}

body {
    background-color: var(--neutral-white);
    color: var(--neutral-dark);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "GoogleSans", sans-serif;
    font-size: var(--font-size-base);
    overflow-x: hidden;

    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    min-height: -webkit-fill-available;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
}

a {
    color: var(--neutral-dark);
    text-decoration: none;
}

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

.bodyPag.scrollnone {
    overflow: hidden;
}

/* Previene zoom automático en iOS al enfocar inputs (requiere font-size >= 16px) */
input,
select,
textarea {
    font-size: 1rem;
}

/* elimina flechitas del input tipo numero/cantidad */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}

/* oculta icono de cerrar del input tipo buscador */
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    display: none;
    -webkit-appearance: none;
}

iframe {
    border-radius: var(--border-radius);
}

/* =====================================================
   BTN-PRIMARY
   ===================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.4rem;
    background-color: var(--primary-color);
    color: var(--color-charcoal);
    font-family: var(--font-family-title);
    font-size: var(--text-sm);
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    min-height: 48px;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
    white-space: nowrap;
}
.btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--neutral-white);
}
.btn-primary:active {
    transform: scale(0.97);
    opacity: 0.92;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 1.4rem;
    background-color: transparent;
    color: var(--primary-color);
    font-family: var(--font-family-title);
    font-size: var(--text-sm);
    font-weight: 600;
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius-full);
    cursor: pointer;
    min-height: 48px;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
    white-space: nowrap;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--color-charcoal);
}
.btn-secondary:active {
    transform: scale(0.97);
    opacity: 0.92;
}

/* =====================================================
   UTILIDADES
   ===================================================== */

.main-padding {
    padding-top: 4rem;
    padding-bottom: 5rem;
}

.section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.last-section-padding {
    padding-top: 3rem;
    padding-bottom: 6rem;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-header__title {
    font-family: var(--font-family-title);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--accent-dark);
    margin: 0;
    line-height: 1.2;
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.section-header--split .section-header__title {
    margin-right: unset;
    margin-left: unset;
    text-align: start;
}

.section-header__cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition:
        gap 0.2s ease,
        color 0.2s ease;
}
.section-header__cta:hover {
    gap: 0.55rem;
    color: var(--accent-dark);
}

.section-header__nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    margin-left: auto;
}

/* Page Hero */
.page-hero {
    background-color: var(--neutral-light);
    padding: 2.5rem 0 2rem;
    border-bottom: 1px solid var(--color-border);
}

.page-hero__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0 auto;
    max-width: 680px;
    text-align: center;
}

.page-hero__title {
    font-family: var(--font-family-title);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-charcoal);
    margin: 0 0 0.65rem;
    line-height: 1.2;
}

.page-hero__desc {
    font-family: var(--font-family-body);
    font-size: var(--text-sm);
    color: #5e6e7e;
    margin: 0;
    line-height: 1.65;
    max-width: 50ch;
    margin: 0 auto;
}

.toggle-password {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 14px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}
.eye-open-icon {
    display: none;
    width: 24px;
    height: 24px;
}
.eye-closed-icon {
    display: inline;
    width: 24px;
    height: 24px;
}

.site-header {
    position: relative;
}

/* =====================================================
   HEADER — TOP BAR (contacto)
   ===================================================== */
.hdr-top {
    background-color: var(--accent-color);
    color: #fff;
}

.hdr-top__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-height: 38px;
    padding: 0 1rem;
}

.hdr-top__right {
    display: flex;
    align-items: center;
}

.hdr-top__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-size: var(--text-xs);
    font-weight: 500;
    padding: 0 0.75rem;
    min-height: var(--touch-min);
    transition:
        color 0.18s ease,
        background-color 0.18s ease;
    white-space: nowrap;
}

.hdr-top__item:hover {
    color: var(--neutral-white);
    background-color: rgba(255, 255, 255, 0.1);
}

.hdr-top__item svg {
    flex-shrink: 0;
    opacity: 0.8;
    transition: opacity 0.18s ease;
}

.hdr-top__item:hover svg {
    opacity: 1;
}

.hdr-top__text {
    display: none;
}

/* =====================================================
   HEADER — STICKY WRAPPER
   ===================================================== */
.hdr-sticky {
    position: sticky;
    top: 0;
    padding-top: var(--safe-top);
    z-index: 100;
    background-color: var(--color-charcoal);
    overflow: visible;
    transition: box-shadow 0.25s ease;
}
.hdr-sticky.is-scrolled {
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.18),
        0 1px 4px rgba(0, 0, 0, 0.1);
    background-color: var(--neutral-white);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* =====================================================
   HEADER — MIDDLE
   ===================================================== */
.hdr-mid {
    background-color: var(--neutral-white);
    border-bottom: 1px solid var(--color-border);
}
.hdr-mid__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* Hamburger */
.hdr-hamburger {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0.3rem;
    min-width: var(--touch-min);
    min-height: var(--touch-min);
    cursor: pointer;
    color: var(--neutral-dark);
    border-radius: 0.4rem;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
    flex-shrink: 0;
}
.hdr-hamburger:hover {
    color: var(--accent-color);
    background-color: var(--neutral-light);
}

/* Logo */
.hdr-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.hdr-log_img {
    height: 44px;
    width: auto;
    display: block;
}

/* Search */
.hdr-search {
    display: flex;
    align-items: center;
    background-color: var(--neutral-light);
    border: 1.5px solid var(--color-border);
    border-radius: var(--border-radius-full);
    padding: 3px;
    gap: 0;
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}
.hdr-search:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(232, 160, 32, 0.12);
}
.hdr-search--desktop {
    display: none;
    flex: 1;
    max-width: 540px;
}
.hdr-search__input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.5rem 0.9rem;
    font-family: var(--font-family-body);
    font-size: 1rem;
    color: var(--neutral-dark);
    outline: none;
    min-width: 0;
}
.hdr-search__input::placeholder {
    color: var(--neutral-gray);
}
.hdr-search__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--color-charcoal);
    border: none;
    border-radius: 100%;
    width: 44px;
    height: 44px;
    cursor: pointer;
    flex-shrink: 0;
    transition:
        background-color 0.2s ease,
        transform 0.15s ease;
}
.hdr-search__btn:hover {
    background-color: var(--accent-color);
    color: var(--neutral-white);
}
.hdr-search__btn:active {
    transform: scale(0.94);
}

/* Mobile search strip */
.hdr-search-mobile {
    display: block;
    padding: 0.5rem 0;
    background-color: var(--neutral-white);
    border-bottom: 1px solid var(--color-border);
}
.hdr-search-mobile .hdr-search {
    width: 100%;
}

/* Actions */
.hdr-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}
.hdr-action {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    color: var(--neutral-dark);
    text-decoration: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.hdr-action:hover {
    color: var(--accent-color);
    background-color: var(--neutral-light);
    transform: translateY(-1px);
}

.hdr-action--desktop {
    display: none;
}
.hdr-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background-color: var(--accent-color);
    color: var(--neutral-white);
    font-family: var(--font-family-body);
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    animation: badgePulse 3s ease-in-out infinite;
    box-shadow: 0 1px 4px rgba(30, 107, 61, 0.35);
}

/* =====================================================
   HEADER — BOTTOM NAV
   ===================================================== */
.hdr-bottom {
    display: none;
    background-color: var(--primary-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.hdr-bottom__inner {
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-height: 49px;
}

/* Shared chevron transition */
.hdr-chevron {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

/* Nav separator between featured cats and action links */
.hdr-nav-sep {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
    align-self: center;
}

/* Featured categories list */
.hdr-featured {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
    overflow: hidden;

    container-name: menu-horizontal;
    container-type: inline-size;
}
@container menu-horizontal (width < 920px) {
    .hdr-featured__item:nth-last-of-type(-n + 2) {
        display: none;
    }
}
@container menu-horizontal (width < 730px) {
    .hdr-featured__item:nth-last-of-type(-n + 3) {
        display: none;
    }
}

.hdr-featured__item {
    display: flex;
    align-items: center;
}
.hdr-featured__link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    font-family: var(--font-family-body);
    font-size: var(--text-sm);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}
.hdr-featured__link:hover {
    color: var(--neutral-dark);
    background-color: rgba(255, 255, 255, 0.1);
}
.hdr-featured__item:hover .hdr-featured__link {
    color: var(--neutral-dark);
    background-color: rgba(255, 255, 255, 0.1);
}
.hdr-featured__item:hover .hdr-featured__link .hdr-chevron {
    transform: rotate(180deg);
}

/* =====================================================
   HEADER — MEGA TRIGGERS
   ===================================================== */
.hdr-mega-triggers {
    display: flex;
    align-items: stretch;
    align-self: stretch;
    justify-content: space-around;
    width: 100%;
}
.hdr-mega-trigger {
    display: flex;
    align-items: stretch;
    align-self: stretch;
}
.hdr-mega-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 2rem;
    background: none;
    border: none;
    color: var(--color-charcoal);
    font-family: var(--font-family-body);
    font-size: var(--text-sm);
    font-weight: 600;
    letter-spacing: 0.025em;
    cursor: pointer;
    white-space: nowrap;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}
.hdr-mega-btn:hover,
.hdr-mega-btn[aria-expanded="true"] {
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--color-charcoal);
}
.hdr-mega-btn[aria-expanded="true"] .hdr-chevron,
.hdr-mega-trigger:hover .hdr-chevron {
    transform: rotate(180deg);
}

.hdr-mega-btn img,
.hdr-mega-btn svg {
    height: 15px;
    width: 15px;
}

/* =====================================================
   SHARED OVERLAY
   ===================================================== */
.hdr-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999;
    background-color: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(1px);
}
.hdr-overlay.is-visible {
    display: block;
    animation: fadeIn 0.2s ease;
}

/* =====================================================
   CART ASIDE
   ===================================================== */
.cart-aside {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    max-width: 360px;
    background-color: var(--neutral-white);
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    display: flex;
    flex-direction: column;
}
.cart-aside.is-open {
    transform: translateX(0);
    box-shadow: -8px 0 40px rgba(0, 0, 0, 0.22);
}
.cart-aside__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
    background: var(--color-graphite);
    flex-shrink: 0;
}
.cart-aside__title {
    font-family: var(--font-family-title);
    font-size: var(--text-md);
    font-weight: 700;
    color: var(--neutral-white);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.cart-aside__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--color-charcoal);
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 1.35rem;
    height: 1.35rem;
    border-radius: 2rem;
    padding: 0 0.3rem;
    line-height: 1;
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.cart-aside__close {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 0.4rem;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    border-radius: 0.5rem;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}
.cart-aside__close:hover {
    color: var(--neutral-dark);
    background-color: rgba(255, 255, 255, 0.2);
}
.cart-aside__body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.cart-aside__body::-webkit-scrollbar {
    width: 4px;
}
.cart-aside__body::-webkit-scrollbar-track {
    background: transparent;
}
.cart-aside__body::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 2px;
}
.cart-aside__body::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}
.cart-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--neutral-light);
}
.cart-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.cart-item__img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: 0.5rem;
    border: 1px solid var(--neutral-light);
    flex-shrink: 0;
}
.cart-item__info {
    flex: 1;
    min-width: 0;
}
.cart-item__name {
    font-family: var(--font-family-body);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--neutral-dark);
    margin: 0 0 0.15rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.22s ease;
}
.cart-item__name:hover {
    color: var(--accent-color);
}
.cart-item__brand {
    font-size: var(--text-xs);
    color: var(--neutral-gray);
    margin: 0 0 0.3rem;
}
.cart-item__price {
    font-family: var(--font-family-title);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--accent-color);
    margin: 0 0 0.5rem;
}
.cart-item__qty {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--gray-300);
    border-radius: 0.4rem;
    overflow: hidden;
    height: 42px;
}
.qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0.2rem 0.55rem;
    font-size: 1rem;
    color: var(--neutral-dark);
    cursor: pointer;
    width: 100%;
    height: 100%;
    transition: background-color 0.15s ease;
    line-height: 1;
    width: 38px;
}
.qty-btn svg {
    height: 14px;
    width: 14px;
}
.qty-btn:hover {
    background-color: var(--neutral-light);
}
.qty-count {
    padding: 0.2rem;
    font-family: var(--font-family-body);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--neutral-dark);
    border: 0;
    text-align: center;
    width: 36px;
    height: 100%;
}
.cart-item__remove {
    height: 42px;
    width: 42px;
    background: none;
    border: none;
    padding: 0.35rem;
    color: var(--neutral-gray);
    cursor: pointer;
    border-radius: 0.4rem;
    flex-shrink: 0;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}
.cart-item__remove:hover {
    color: #c0392b;
    background-color: #fdecea;
}
.cart-aside__foot {
    padding: 1rem 1.25rem;
    background: var(--neutral-light);
    border-top: 2px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    flex-shrink: 0;
}
.cart-aside__subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-family-body);
    font-size: var(--text-sm);
    color: var(--neutral-dark);
}
.cart-aside__subtotal span {
    font-weight: 600;
}
.cart-aside__subtotal strong {
    font-family: var(--font-family-title);
    font-size: var(--text-md);
    color: var(--accent-color);
}
.cart-aside__cta {
    width: 100%;
    justify-content: center;
    gap: 0.4rem;
}

/* =====================================================
   MOBILE MENU
   ===================================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 300px;
    max-width: 85vw;
    background-color: var(--neutral-white);
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.mobile-menu.is-open {
    transform: translateX(0);
    box-shadow: 4px 0 24px rgba(172, 1, 1, 0.14);
}
.mobile-menu__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.1rem;
    background-color: var(--color-graphite);
    flex-shrink: 0;
}
.mobile-menu__title {
    font-family: var(--font-family-title);
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--neutral-white);
}
.mobile-menu__close {
    display: flex;
    align-items: center;
    background: none;
    border: none;
    padding: 0.2rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 0.4rem;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    border-radius: 0.3rem;
    transition: color 0.2s ease;
}
.mobile-menu__close:hover {
    color: var(--neutral-white);
}
.mobile-menu__quick {
    display: flex;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--neutral-light);
    flex-shrink: 0;
}
.mobile-menu__quick-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    flex: 1;
    padding: 0.6rem 0.5rem;
    color: var(--neutral-dark);
    font-family: var(--font-family-body);
    font-size: 0.68rem;
    font-weight: 500;
    text-decoration: none;
    transition:
        color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
    text-align: center;
    border-radius: 0.5rem;
    border: 1px solid transparent;
}
.mobile-menu__quick-link:hover {
    color: var(--accent-color);
    background-color: var(--accent-soft);
    border-color: var(--secondary-muted);
    transform: translateY(-1px);
}
.mobile-menu__quick-link svg {
    color: var(--accent-color);
    transition: transform 0.2s ease;
}
.mobile-menu__quick-link:hover svg {
    transform: scale(1.15);
}
.mobile-menu__body {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.mobile-menu__details {
    border-bottom: 1px solid var(--neutral-light);
}
.mobile-menu__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 1.1rem;
    font-family: var(--font-family-body);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--neutral-dark);
    cursor: pointer;
    list-style: none;
    transition:
        color 0.2s ease,
        background-color 0.2s ease;
}
.mobile-menu__summary::-webkit-details-marker {
    display: none;
}
.mobile-menu__summary:hover {
    color: var(--accent-color);
    background-color: var(--accent-soft);
}
.mobile-menu__chevron {
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.mobile-menu__details[open] .mobile-menu__chevron {
    transform: rotate(180deg);
}
.mobile-menu__sublink {
    display: block;
    padding: 0.6rem 1.1rem 0.6rem 2rem;
    color: var(--neutral-dark);
    font-family: var(--font-family-body);
    font-size: var(--text-xs);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition:
        color 0.15s ease,
        background-color 0.15s ease;
}
.mobile-menu__sublink:last-child {
    border-bottom: none;
}
.mobile-menu__sublink:hover {
    color: var(--primary-color);
    background-color: var(--primary-soft);
}
.mobile-menu__cat-link {
    display: block;
    padding: 0.8rem 1.1rem;
    color: var(--neutral-dark);
    font-family: var(--font-family-body);
    font-size: var(--text-xs);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid var(--neutral-light);
    transition:
        color 0.15s ease,
        background-color 0.15s ease;
}
.mobile-menu__cat-link:hover {
    color: var(--primary-color);
    background-color: var(--primary-soft);
}
.mobile-menu__info-section {
    flex-shrink: 0;
    padding-top: 1rem;
}
.mobile-menu__info-label {
    display: block;
    padding: 0.75rem 1.1rem 0.35rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--gray-400);
}
.mobile-menu__info-link {
    display: block;
    padding: 0.55rem 1.1rem 0.55rem 1.25rem;
    font-family: var(--font-family-body);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--gray-600);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition:
        color 0.15s ease,
        background-color 0.15s ease,
        padding-left 0.15s ease;
}
.mobile-menu__info-link:last-child {
    border-bottom: none;
    padding-bottom: 0.75rem;
}
.mobile-menu__info-link:hover {
    color: var(--gray-800);
    background-color: var(--gray-200);
    padding-left: 1.55rem;
}

/* Mobile menu — nested 3-level structure */
.mobile-menu__summary--top {
    font-weight: 700;
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--neutral-dark);
    background-color: var(--neutral-light);
    border-bottom: 1px solid var(--color-border);
}
.mobile-menu__details--top[open] > .mobile-menu__summary--top {
    color: var(--accent-color);
    background-color: var(--accent-soft);
}
.mobile-menu__details--sub {
    border-bottom: none;
}
.mobile-menu__summary--sub {
    padding-left: 1.5rem;
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--neutral-dark);
    background: none;
}
.mobile-menu__summary--sub:hover {
    color: var(--accent-color);
    background-color: var(--accent-soft);
}
.mobile-menu__details--sub[open] > .mobile-menu__summary--sub {
    color: var(--accent-color);
}
.mobile-menu__sublink--deep {
    padding-left: 2.5rem;
    font-size: 0.78rem;
    color: var(--gray-600);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}
.mobile-menu__sublink--deep:hover {
    color: var(--primary-color);
    background-color: var(--primary-soft);
}
.mobile-menu__sublink--muted {
    display: block;
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
    color: var(--neutral-gray);
    font-style: italic;
    pointer-events: none;
}

/* =====================================================
   INICIO HERO SECTION
   ===================================================== */
.hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.heroSwiper {
    width: 100%;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    border: 1px solid var(--gray-100);
}

.hero-slide__media {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-slide__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

/* Overlay — mobile: gradiente desde abajo */
.hero-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 24, 14, 0.84) 0%,
        rgba(10, 24, 14, 0.48) 45%,
        transparent 100%
    );
    border-radius: 0 0 var(--border-radius) var(--border-radius);
    pointer-events: none;
}

/* Content — mobile first: anclado abajo */
.hero-slide__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem 1.5rem;
    gap: 0.55rem;
}

.hero-slide__eyebrow {
    display: inline-block;
    font-family: var(--font-family-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: var(--primary-color);
}

.hero-slide__title {
    font-family: var(--font-family-title);
    font-size: clamp(1.65rem, 6vw, 2.4rem);
    font-weight: bold;
    line-height: 1.15;
    color: var(--neutral-white);
    margin: 0;
}

.hero-slide__desc {
    font-family: var(--font-family-body);
    font-size: clamp(0.82rem, 2.5vw, 0.95rem);
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.55;
    max-width: 400px;
    margin: 0;
}

.hero-slide__cta {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    margin-top: 0.4rem;
    padding: 0.65rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--color-charcoal);
    font-family: var(--font-family-body);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition:
        background-color 0.22s ease,
        transform 0.22s ease;
}

.hero-slide__cta:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    color: var(--neutral-white);
    text-decoration: none;
}

/* =====================================================
   NAVEGACIÓN
   ===================================================== */
.heroSwiper .swiper-button-prev,
.heroSwiper .swiper-button-next {
    width: 34px;
    height: 34px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid transparent;
    border-radius: 50%;
    transition:
        background-color 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.heroSwiper .swiper-button-prev::after,
.heroSwiper .swiper-button-next::after {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-charcoal);
}

.heroSwiper .swiper-button-prev:hover,
.heroSwiper .swiper-button-next:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 14px rgba(232, 160, 32, 0.4);
    transform: scale(1.1);
}

.heroSwiper .swiper-button-prev:hover::after,
.heroSwiper .swiper-button-next:hover::after {
    color: var(--neutral-dark);
}

/* =====================================================
   FIN HERO SECTION
   ===================================================== */

/* =====================================================
    INICIO BRANDS SECTION
   ===================================================== */
.brands-section {
    background-color: var(--neutral-white);
}

.brands-box {
    border: 2px solid var(--color-border);
    border-radius: calc(var(--border-radius) * 1.5);
    padding: 1.5rem 1rem;
}

/* Header */
.brands-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.brands-header__title {
    font-family: var(--font-family-title);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--neutral-dark);
    margin: 0;
    line-height: 1.2;
}

/* Botón Ver más */
.brands-header__cta {
    flex-shrink: 0;
}

/* Swiper */
.brandsSwiper {
    width: 100%;
    padding: 0.5rem 0 1rem;
}

/* Slide */
.brand-slide {
    height: auto;
}

.brand-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 0.75rem;
    background-color: var(--neutral-white);
    height: 80px;
    transition:
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        transform 0.22s ease;
}

.brand-card:hover {
    box-shadow: 0 4px 18px rgba(172, 1, 1, 0.1);
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

.brand-card img {
    max-height: 44px;
    max-width: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

/* =====================================================
   FIN BRANDS SECTION
   ===================================================== */

/* =====================================================
   BANNERS SECUNDARIOS AGRO
   ===================================================== */

.banner-secundario-section {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.bnr-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.bnr-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--border-radius);
    text-decoration: none;
    aspect-ratio: 4 / 3;
}

/* Image */
.bnr-item picture {
    position: absolute;
    inset: 0;
    display: block;
}

.bnr-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.bnr-item:hover .bnr-img {
    transform: scale(1.04);
}

/* Overlay */
.bnr-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 24, 14, 0.82) 0%,
        rgba(10, 24, 14, 0.38) 48%,
        transparent 75%
    );
    pointer-events: none;
    z-index: 1;
    transition: background 0.35s ease;
}

.bnr-item:hover .bnr-overlay {
    background: linear-gradient(
        to top,
        rgba(10, 24, 14, 0.9) 0%,
        rgba(10, 24, 14, 0.52) 52%,
        transparent 78%
    );
}

/* Content */
.bnr-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 1.25rem;
    gap: 0.28rem;
}

.bnr-eyebrow {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--neutral-white);
    line-height: 1;
}

.bnr-title {
    font-family: var(--font-family-title);
    font-size: clamp(1.1rem, 4.5vw, 1.35rem);
    font-weight: 800;
    color: var(--neutral-white);
    line-height: 1.18;
    margin: 0;
}

.bnr-sub {
    font-size: 0.77rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.45;
    margin: 0.1rem 0 0.45rem;
}

.bnr-cta {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--color-charcoal);
    background: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 0.42rem 0.95rem;
    transition:
        background 0.22s ease,
        transform 0.22s ease;
}

.bnr-item:hover .bnr-cta {
    background: var(--primary-light);
    transform: translateY(-2px);
}

/* =====================================================
   INICIO PRODUCTS SECTION
   ===================================================== */
.products-section {
    background-color: transparent;
}

/* Swiper */
.productsSwiper {
    width: 100%;
    position: relative;
}

/* Botones posicionados sobre el swiper */
.products-nav__btn--prev,
.products-nav__btn--next {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 10;
}

.products-nav__btn--prev {
    left: 0;
}

.products-nav__btn--next {
    right: 0;
}

/* =====================================================
   PRODUCT CARD
   ===================================================== */
.product-card {
    background-color: var(--neutral-white);
    border-radius: var(--border-radius);
    border: 1px solid var(--gray-100);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    z-index: 10;
    transition:
        transform 0.22s ease,
        border-color 0.22s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--gray-300);
    z-index: 20;
}

/* Media */
.product-card__media {
    position: relative;
}

/* Image */
.product-card__img-wrap {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    padding: 1rem;
}

.product-card__img-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 0.75rem;
    object-fit: contain;
    display: block;
    transition: transform 0.35s ease;
}

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

/* Promo tag */
.product-card__promo-tag {
    position: absolute;
    top: 0.6rem;
    left: 0.6rem;
    z-index: 2;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-charcoal);
    background: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 0.25rem 0.6rem;
    line-height: 1;
}

/* Right column: fav + tag-2 */
.product-card__side-right {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

/* Favourite button */
.product-card__fav {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: var(--neutral-white);
    border: 1px solid #e8edf2;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--neutral-gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.product-card__fav:hover {
    color: #e53935;
    border-color: #e53935;
    transform: scale(1.12);
}

.product-card__fav.is-active {
    color: #e53935;
    border-color: #e53935;
}

.product-card__fav.is-active svg {
    fill: #e53935;
}

/* Body */
.product-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
    padding: 0.875rem 1rem 1rem;
}

.product-card__category {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-color);
    line-height: 1;
}

.product-card__name {
    font-family: var(--font-family-title);
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--neutral-dark);
    margin: 0;
    line-height: 1.4;
    height: 1.5em;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: start;
    transition: color 0.22s ease;
}

.product-card:hover .product-card__name {
    color: var(--accent-color);
}

/* Pricing */
.product-card__pricing {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.75rem;
    text-align: left;
}

.product-card__price-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: flex-start;
    gap: 0.2rem 0.5rem;
}

.product-card__price-old {
    font-family: var(--font-family-body);
    font-size: 0.78rem;
    font-weight: 400;
    color: var(--neutral-gray);
    text-decoration: line-through;
    line-height: 1;
}

.product-card__price-current {
    font-family: var(--font-family-title);
    font-size: var(--text-md);
    font-weight: 600;
    color: var(--neutral-dark);
    line-height: 1.1;
}

/* Cart button — base compartido */
.product-card__buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.65rem 1rem;
    background-color: var(--primary-color);
    color: var(--color-charcoal);
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-family-title);
    font-size: var(--text-sm);
    font-weight: 700;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.25s ease,
        opacity 0.25s ease;
}

.product-card__buy-btn svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.product-card__buy-btn:hover {
    color: var(--neutral-white);
    background-color: var(--accent-dark);
}

/* Mobile: inline debajo del precio, siempre visible */
.product-card__buy-btn--inline {
    width: 100%;
    margin-top: 0.6rem;
}

/* Desktop overlay: oculto por defecto en mobile, se activa en 768px+ */
.product-card__buy-btn--overlay {
    display: none;
}

/* Favorito sin stock o despublicado (S-3): se sigue mostrando, marcado
   como no disponible, en vez de ocultarse. La imagen se atenúa y el lugar
   del botón de compra lo ocupa un enlace a la ficha, no un botón: la card
   no dibuja ningún control de compra sobre un producto que no se puede
   comprar. Reusa el posicionamiento de .product-card__buy-btn--overlay /
   --inline (absolute sobre la imagen en desktop, inline en mobile) pero con
   el aspecto gris de .product-card__promo-tag en vez del dorado de compra. */
.product-card--agotado .product-card__img-wrap {
    opacity: .55;
    filter: grayscale(1);
}

.product-card__stock-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.9rem;
    background-color: var(--gray-200);
    color: var(--gray-600);
    border: none;
    border-radius: var(--border-radius);
    font-family: var(--font-family-title);
    font-size: var(--text-sm);
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Variant selector */
.product-card__variants-block {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    margin-top: 0.6rem;
    width: 100%;
}

.product-card__variants-block--overlay {
    display: none;
}

.product-card__variant-label {
    font-family: var(--font-family-body);
    font-size: 0.66rem;
    font-weight: 700;
    color: var(--gray-500);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 0;
    line-height: 1;
}

.product-card__variant-radio {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: 0;
}

.product-card__variant-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    margin-bottom: 0.5rem;
}

.product-card__variant-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--border-radius-full);
    background: var(--neutral-white);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07);
    font-family: var(--font-family-body);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease,
        transform 0.14s ease,
        box-shadow 0.18s ease;
}

.product-card__variant-pill:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: var(--accent-soft);
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(30, 107, 61, 0.15);
}

.product-card__variant-pill:active {
    transform: scale(0.95);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.07);
}

.product-card__variant-pill.is-selected,
.product-card__variant-radio:checked + .product-card__variant-pill {
    border-color: var(--accent-color);
    border-width: 2px;
    background: var(--accent-color);
    color: var(--neutral-white);
    box-shadow:
        0 0 0 3px rgba(30, 107, 61, 0.2),
        0 1px 3px rgba(0, 0, 0, 0.1);
}

.product-card__variant-pill.is-selected:hover,
.product-card__variant-radio:checked + .product-card__variant-pill:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: scale(1.05);
}

.product-card__buy-variant-btn {
    width: 100%;
}

.product-card__buy-variant-btn[disabled] {
    opacity: 0.38;
    cursor: not-allowed;
    pointer-events: none;
}

/* =====================================================
   FIN PRODUCTS SECTION
   ===================================================== */

/* =====================================================
   INICIO CATEGORIES SECTION
   ===================================================== */
.categories-section {
    background-color: transparent;
}

.categories-box {
    border: 2px solid var(--accent-color);
    border-radius: calc(var(--border-radius) * 1.5);
    padding: 1.5rem 1rem;
}

.cat-feature-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    cursor: pointer;
    border-radius: var(--border-radius);
    background: var(--secondary-light);
    transition:
        box-shadow 0.3s ease,
        background-color 0.3s ease;
}

.cat-feature-card__img {
    aspect-ratio: 4 / 3;
    background: transparent;
    padding: 0.65rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.cat-feature-card__img-inner {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 8px;
}

.cat-feature-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.cat-feature-card__name {
    display: block;
    margin: 0 0.65rem 0.65rem;
    padding: 0.7rem 1rem;
    font-family: var(--font-family-title);
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    background-color: var(--accent-color);
    text-align: center;
    line-height: 1.2;
    letter-spacing: 0.01em;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}

/* ---- Alternancia de color por slide ---- */

/* Fondos de card: 4 variaciones */
.categoriesSwiper .swiper-slide:nth-child(4n + 2) .cat-feature-card {
    background: #faf7f0;
}
.categoriesSwiper .swiper-slide:nth-child(4n + 3) .cat-feature-card {
    background: #f2f5ed;
}
.categoriesSwiper .swiper-slide:nth-child(4n + 4) .cat-feature-card {
    background: #fdf9ec;
}

/* Botones: verde campo en impares, oliva en pares */
.categoriesSwiper .swiper-slide:nth-child(odd) .cat-feature-card__name {
    background-color: #1e6b3d;
}
.categoriesSwiper .swiper-slide:nth-child(even) .cat-feature-card__name {
    background-color: #4a5e3a;
}

/* Hover — fondo de card por variante */
.categoriesSwiper .swiper-slide:nth-child(4n + 1) .cat-feature-card:hover {
    background: #dde8df;
}
.categoriesSwiper .swiper-slide:nth-child(4n + 2) .cat-feature-card:hover {
    background: #f0e8d5;
}
.categoriesSwiper .swiper-slide:nth-child(4n + 3) .cat-feature-card:hover {
    background: #e6ebe0;
}
.categoriesSwiper .swiper-slide:nth-child(4n + 4) .cat-feature-card:hover {
    background: #f5edce;
}

/* Hover — botón: intercambia color (impar→oliva, par→verde) */
.categoriesSwiper
    .swiper-slide:nth-child(odd)
    .cat-feature-card:hover
    .cat-feature-card__name {
    background-color: #4a5e3a;
}
.categoriesSwiper
    .swiper-slide:nth-child(even)
    .cat-feature-card:hover
    .cat-feature-card__name {
    background-color: #1e6b3d;
}

/* =====================================================
   FIN CATEGORIES SECTION
   ===================================================== */

/* =====================================================
   INICIO FAVORITES PAGE
   ===================================================== */

.favorites-section {
    background-color: var(--neutral-white);
}

/* Toolbar */
.favorites-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #e8edf2;
}

.favorites-count {
    font-family: var(--font-family-body);
    font-size: var(--text-sm);
    color: var(--neutral-gray);
    margin: 0;
}

.favorites-count span {
    font-weight: 700;
    color: var(--neutral-dark);
}

/* Sort select */
.fav-sort {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.fav-sort__label {
    font-family: var(--font-family-body);
    font-size: var(--text-sm);
    color: var(--neutral-gray);
    white-space: nowrap;
}

.fav-sort__select {
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--neutral-white);
    border: 1px solid #dde4eb;
    border-radius: 0.5rem;
    padding: 0.55rem 2.25rem 0.55rem 0.875rem;
    font-family: var(--font-family-body);
    font-size: var(--text-sm);
    color: var(--neutral-dark);
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239e9e9e' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    transition: border-color 0.18s ease;
}

.fav-sort__select:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* Card wrapper */
.favorites-card-wrap {
    display: flex;
    flex-direction: column;
    transition:
        opacity 0.32s ease,
        transform 0.32s ease;
}

.favorites-card-wrap .product-card {
    height: 100%;
}

.favorites-card-wrap.is-removing {
    opacity: 0;
    transform: scale(0.88);
    pointer-events: none;
}

/* Two-button actions layout */
.product-card__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.75rem;
}

/* Empty state */
.favorites-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 5rem 1rem;
    gap: 1rem;
}

.favorites-empty__icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: var(--primary-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.favorites-empty__title {
    font-family: var(--font-family-title);
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--neutral-dark);
    margin: 0;
}

.favorites-empty__desc {
    font-family: var(--font-family-body);
    font-size: var(--text-base);
    color: var(--neutral-gray);
    margin: 0;
    max-width: 38ch;
    line-height: 1.65;
}

/* ==== FIN FAVORITES PAGE ==== */

/* =====================================================
   INICIO CONTACTO PAGE
   ===================================================== */

/* ── FIELDS ── */
.ct-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text, #374151);
    font-family: var(--font-family-title);
    margin-bottom: 0.4rem;
}

.ct-req {
    color: #ef4444;
    margin-left: 2px;
}

.ct-opt {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--color-text-muted, #6b7280);
}

.ct-input {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 0.65rem 0.875rem;
    font-size: 1rem;
    color: var(--color-text, #374151);
    background: var(--neutral-white);
    border: 1.5px solid var(--color-border);
    border-radius: var(--border-radius);
    outline: none;
    transition:
        border-color 0.15s,
        box-shadow 0.15s;
    font-family: inherit;
    box-sizing: border-box;
}

.ct-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(172, 1, 1, 0.1);
}

.ct-input::placeholder {
    color: #9ca3af;
}

.ct-textarea {
    min-height: 110px;
    resize: vertical;
}

/* ==== FIN CONTACTO PAGE ==== */

/* =====================================================
   INICIO TERMS PAGE
   ===================================================== */

.terms-section {
    background-color: var(--neutral-white);
}

.terms-body {
    max-width: 780px;
    margin: 0 auto;
}

/* ---- Meta ---- */
.terms-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid var(--secondary-muted);
}

.terms-meta__item {
    font-family: var(--font-family-body);
    font-size: 0.8rem;
    color: var(--neutral-gray);
    font-weight: 500;
}

.terms-meta__sep {
    color: #c0ccd6;
    font-size: 0.8rem;
}

/* ---- Intro ---- */
.terms-intro {
    margin-bottom: 2.5rem;
}

.terms-intro p {
    font-family: var(--font-family-body);
    font-size: var(--text-sm);
    color: #3a4a5a;
    line-height: 1.75;
    margin: 0 0 0.875rem;
}

.terms-intro p:last-child {
    margin-bottom: 0;
}

/* ---- Block ---- */
.terms-block {
    padding: 2rem 0;
    border-bottom: 1px solid #eef2f6;
}

.terms-block--last {
    border-bottom: none;
    padding-bottom: 0;
}

.terms-block h2,
.terms-block__title {
    font-family: var(--font-family-title);
    font-size: var(--text-md);
    font-weight: 700;
    color: var(--color-charcoal);
    margin: 0 0 1.1rem;
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    line-height: 1.3;
}

.terms-block p {
    font-family: var(--font-family-body);
    font-size: var(--text-sm);
    color: #3a4a5a;
    line-height: 1.75;
    margin: 0 0 0.875rem;
}

.terms-block p:last-child {
    margin-bottom: 0;
}

/* ---- Lists ---- */
.terms-block ul,
.terms-list {
    margin: 0.5rem 0 0.875rem 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.terms-block li,
.terms-list li {
    font-family: var(--font-family-body);
    font-size: var(--text-sm);
    color: #3a4a5a;
    line-height: 1.65;
    padding-left: 1.375rem;
    position: relative;
}

.terms-block li::before,
.terms-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    flex-shrink: 0;
}

/* ---- Link ---- */
.terms-body a,
.terms-link {
    color: var(--accent-color);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
    transition: color 0.18s ease;
}

.terms-body a:hover,
.terms-link:hover {
    color: var(--accent-dark);
}

/* ==== FIN TERMS PAGE ==== */

/* =====================================================
   INICIO MI CUENTA
   ===================================================== */

.seccion-mi-cuenta {
    padding-top: 2rem;
    padding-bottom: 8rem;
}
.row-cuenta {
    row-gap: 1.6rem;
}

.wrapper-micuenta {
    position: relative;
}

.nav-cuenta {
    background: var(--neutral-light);
    border-radius: var(--border-radius);
    list-style: none;
    margin-bottom: 0;
    position: sticky;
    padding: 1rem;
    top: 12px;
}
.nav-cuenta li:last-child .nav-link {
    border-bottom: 0;
}
.nav-cuenta li .nav-link {
    font-size: 1rem;
    letter-spacing: 0.04rem;
    color: var(--neutral-dark);
    line-height: 1.5;
    text-align: left;
    width: 100%;
    background: transparent;
    border: 0;
    border-radius: var(--border-radius-full);
    padding: 0.8rem 0.5rem;
    outline: 0;
    position: relative;
    display: flex;
    align-items: center;
    column-gap: 1rem;
    transition: all 0.3s;
}
.nav-cuenta li .nav-link.active {
    padding-left: 1.2rem;
    background: var(--color-olive-dark);
    color: var(--neutral-dark);
    border-bottom: 1px solid var(--primary-color);
}
.nav-cuenta li .nav-link:hover {
    padding-left: 1.2rem;
    background: var(--color-olive);
    color: var(--neutral-dark);
    border-bottom: 0;
}
.tab-cuenta {
    padding: 1rem;
    background: var(--neutral-light);
    border-radius: var(--border-radius);
}
.heading-tab-cuenta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.6rem;
}
.title-tab-cuenta {
    color: var(--color-charcoal);
    font-size: 1.5rem;
    font-family: var(--font-family-title);
    letter-spacing: 0.04rem;
    line-height: 1.2;
    margin-bottom: 0;
}
.subtitle-tab-cuenta {
    font-size: 1.4rem;
    font-family: var(--font-family-title);
    letter-spacing: 0.04rem;
    color: var(--neutral-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.form-group {
    position: relative;
    margin-bottom: 1rem;
}
.form-group label {
    color: var(--neutral-dark);
    font-size: 0.9rem;
    letter-spacing: 0.02rem;
    margin-bottom: 0.5rem;
}
.form-map {
    border-radius: 1rem;
    overflow: hidden;
}
.grid-btn-cuenta {
    width: 420px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 1rem;
    margin-top: 1.6rem;
}
.grid-compras {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 1.4rem;
    margin-bottom: 2rem;
}
.grid-compras:last-child {
    margin-top: 2rem;
}
.card-compras {
    padding: 1.3rem;
    background-color: var(--neutral-white);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    transition: all 0.3s;
}
.list-card-compras {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.card-actions-compras {
    display: flex;
    align-items: center;
    column-gap: 1rem;
    flex-wrap: wrap;
    margin-left: auto;
}
.text-sin-datos {
    padding: 2rem;
    border: 1px solid var(--primary-color);
    border-radius: 1rem;
    text-align: center;
}
.group-actions-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 1rem;
    row-gap: 0.5rem;
    flex-wrap: wrap;
    max-width: 550px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 1rem;
}
.btn-principal {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 0.5rem;
    width: 190px;
    margin-top: 1rem;
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius-full);
    font-size: 1rem;
    letter-spacing: 0.02rem;
    color: var(--color-charcoal);
    text-align: center;
    padding: 0.8rem 1rem;
    transition: all 0.3s;
}
.btn-principal:hover {
    background: var(--accent-color);
    border: 1px solid var(--primary-color);
    color: var(--neutral-dark);
}
.btn-principal:hover img {
    filter: brightness(0) saturate(100%) invert(13%) sepia(58%) saturate(5718%)
        hue-rotate(264deg) brightness(80%) contrast(122%);
}
.btn-principal.mx-auto {
    margin: 0 auto;
}
.btn-principal.mt-0 {
    margin-top: 0;
}
.btn-outline-principal {
    display: block;
    background: var(--neutral-white);
    border: 1px solid var(--color-olive-dark);
    border-radius: var(--border-radius-full);
    color: var(--color-olive-dark);
    font-size: 1rem;
    letter-spacing: 0.02rem;
    text-align: center;
    margin-left: auto;
    margin-left: auto;
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    width: 190px;
    transition: all 0.3s;
}
.group-actions-buttons .btn-principal,
.group-actions-buttons .btn-outline-principal {
    flex: 1;
    width: 100%;
    min-width: 200px;
}

.btn-outline-principal:hover {
    border: 1px solid var(--accent-color);
    background: var(--accent-color);
    color: var(--neutral-dark);
}
.btn-delete {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 0.5rem;
    width: fit-content;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    min-width: 127px;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    transition: all 0.3s;
}
.btn-delete img {
    filter: invert(55%) sepia(72%) saturate(7082%) hue-rotate(356deg)
        brightness(98%) contrast(85%);
}
.btn-delete:hover {
    color: var(--color-charcoal);
    background-color: var(--primary-color);
    border: none;
}
.btn-delete:hover img {
    filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7499%)
        hue-rotate(223deg) brightness(117%) contrast(96%);
}
/* table-tarjetas: mobile-first (tarjetas apiladas) */
.table-tarjetas {
    border: 0;
}
.table-tarjetas thead {
    display: none;
}
.table-tarjetas tbody,
.table-tarjetas tr,
.table-tarjetas td {
    display: block;
    width: 100%;
}
.table-tarjetas tr {
    background: var(--neutral-white);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
}
.table-tarjetas td {
    padding-top: 0.875rem;
    padding-bottom: 0.875rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    font-size: var(--text-sm);
}
.table-tarjetas td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--neutral-gray);
    margin-right: 12px;
    flex: 0 0 40%;
    text-align: left;
}
.table-tarjetas td:last-child {
    justify-content: flex-end;
}
.table-tarjetas td[colspan] {
    display: block;
    text-align: center;
}
.table-tarjetas td[colspan]::before {
    display: none;
}

.btn-cargar-tarjeta {
    color: var(--accent-color);
    text-decoration: underline;
}

.btn-remove {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 0.5rem;
    width: fit-content;
    background-color: transparent;
    border: 1px solid #ef4444;
    border-radius: var(--border-radius-full);
    color: #ef4444;
    min-width: 127px;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-remove:hover {
    color: var(--neutral-dark);
    background-color: #ef4444;
    border: 1px solid #ef4444;
}
.card-dashboard {
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
}

.card-dashboard-edit,
.card-dashboard-delete {
    transition: text-decoration 0.3s;
}

.card-dashboard-edit:hover,
.card-dashboard-delete:hover {
    text-decoration: underline;
}

.container-item-list-card-compras {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.container-item-list-card-compras p {
    margin-bottom: 0;
}

/* ==== FIN MI CUENTA ==== */

/* =====================================================
   INICIO LOGIN
   ===================================================== */

.section-login {
    padding-top: 6rem;
    padding-bottom: 8rem;
    background:
        linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
        url(../images/banner-login.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.row-login {
    justify-content: center;
    gap: 1rem;
}
.form-box {
    position: relative;
    max-width: 575px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--neutral-light);
    padding: 2rem 2rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
}

.title-login {
    border-bottom: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-size: 1.25rem;
    line-height: 1.2;
    letter-spacing: 0.05rem;
    padding-top: 0.5rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    text-align: center;
}
.form-login {
    margin-top: 2rem;
}
.form-group {
    margin-bottom: 1rem;
}
.form-group .form-control,
.form-group .form-select {
    height: 46px;
    border-radius: var(--border-radius-full);
    border: 1px solid var(--gray-300);
    padding: 0.5rem 1.5rem;
}
.form-group .form-control:focus {
    box-shadow: 0 0 0 0.25rem var(--shadow-sm);
    border-color: var(--primary-color);
}
.forgot-link {
    display: block;
    text-align: center;
    color: var(--gray-700);
    text-decoration: underline;
    margin-top: 1rem;
    transition: all 0.3s;
}
.forgot-link:hover {
    color: var(--gray-600);
    text-decoration: none;
}
.nav.nav-pills.nav-login {
    column-gap: 0;
    justify-content: center;
    border: 0;
    margin-bottom: 2rem;
}
.nav.nav-pills.nav-login .nav-item .nav-link {
    border-bottom: 2px solid transparent;
    border-radius: 0;
    border-bottom: 1px solid var(--gray-200);
    color: var(--text-color);
    font-size: 1.25rem;
    line-height: 1.2;
    padding-left: 2.4rem;
    padding-right: 2.4rem;
}
.nav.nav-pills.nav-login .nav-item .nav-link.active {
    border-bottom: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 0.05rem;
}
.form-choice {
    color: var(--text-color);
    font-weight: 400;
    font-size: 1.6rem;
    line-height: 1.5;
    letter-spacing: -0.025em;
}
.text-login {
    font-size: 0.875rem;
    text-align: center;
}
.btn-login.btn-g {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--neutral-white);
    border: 1px solid var(--color-olive-dark);
    border-radius: var(--border-radius-full);
    color: var(--color-olive-dark);
    font-size: 1rem;
    letter-spacing: 0.02rem;
    text-align: center;
    margin: 0 auto;
    height: 48px;
    padding: 0.8rem 1rem;
    transition: all 0.3s;
}
.btn-login.btn-g:hover {
    background-color: var(--accent-color);
    border: 1px solid var(--accent-color);
    color: var(--neutral-dark);
}
.rm-divider-or {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem 0;
    color: var(--gray-600);
    font-size: 0.875rem;
    font-weight: bold;
    text-transform: uppercase;
}
.rm-divider-or div {
    flex: 1;
    height: 1px;
    background: var(--color-border);
    margin: 0 10px;
}

/* ==== FIN LOGIN ==== */

/* =====================================================
   INICIO CATALOGO
   ===================================================== */

/* === BREADCRUMB === */
.nav-breadcrumb {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--secondary-muted);
}

.breadcrumb-container {
    display: flex;
    align-items: center;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    font-size: 0.78rem;
    color: var(--gray-400);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    color: var(--gray-300);
    margin-right: 0.4rem;
}

.breadcrumb-item.active {
    color: var(--gray-700);
    font-weight: 500;
}

.breadcrumb-item a {
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: var(--accent-color);
}

/* === BANNER CATALOGO === */
.catalogo-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: 220px;
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.catalogo-banner__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    max-height: 220px;
}

.catalogo-banner__content {
    position: absolute;
    top: 50%;
    left: 1.5rem;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    max-width: 260px;
    background: rgba(26, 46, 31, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    border: 3px solid var(--primary-color);
}

.catalogo-banner__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    flex-shrink: 0;
    margin-bottom: 0.1rem;
}

.catalogo-banner__title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.25;
    letter-spacing: 0.01em;
}

.catalogo-banner__desc {
    font-size: 0.775rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.45;
}

/* === LAYOUT === */
.main-catalogo {
    padding-top: 0;
}

.catalogo-page {
    padding-top: 1.5rem;
    padding-bottom: 5rem;
}

.grid-catalogo {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 2.5rem;
}

.catalogo-featured {
    padding-bottom: 3rem;
}

.title-catalogo-featured {
    font-size: var(--text-lg);
    margin-bottom: 1rem;
    color: var(--color-charcoal);
}

/* === PRODUCT GRID === */
.grid-products {
    display: grid;
    gap: 1.25rem;
    margin-top: 0;
    grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
    height: fit-content;
}

/* === TOOLBOX === */
.toolbox {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    row-gap: 0.875rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--secondary-muted);
    margin-bottom: 1.5rem;
}

.title-tolbox {
    font-size: var(--text-xl);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1;
    color: var(--color-charcoal);
    margin-bottom: 0;
}

.toolbox-left {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.toolbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toolbox-item label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--gray-600);
    white-space: nowrap;
}

/* === FILTER BUTTON (mobile) === */
.btn-filtro {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--neutral-white);
    border: 1.5px solid var(--accent-color);
    border-radius: var(--border-radius-full);
    height: 40px;
    padding: 0 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.btn-filtro:hover {
    background: var(--accent-color);
    color: var(--neutral-dark);
}

.btn-filtro img {
    height: 15px;
    width: auto;
    object-fit: contain;
}

/* === SORT SELECT === */
.select-custom .input-filter {
    display: block;
    height: 40px;
    width: 145px;
    border: 1.5px solid var(--secondary-muted);
    background: var(--neutral-white);
    border-radius: var(--border-radius);
    color: var(--gray-700);
    font-size: 0.85rem;
    font-family: var(--font-family-body);
    padding: 0 2.25rem 0 0.75rem;
    cursor: pointer;
    transition: border-color 0.2s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236e6e6e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.select-custom .input-filter:hover,
.select-custom .input-filter:focus {
    border-color: var(--accent-color);
    outline: none;
}

/* === VIEW TOGGLE === */
.toolbox-views {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toolbox-count {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--gray-500);
    background: var(--secondary-light);
    border-radius: 2rem;
    padding: 0.25rem 0.75rem;
    white-space: nowrap;
}

.view-toggle {
    display: flex;
    align-items: center;
    background: var(--secondary-light);
    border-radius: var(--border-radius);
    padding: 3px;
    gap: 2px;
}

.view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: calc(var(--border-radius) - 3px);
    background: transparent;
    color: var(--gray-400);
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

.view-btn:hover {
    background: var(--neutral-white);
    color: var(--gray-700);
}

.view-btn--active {
    background: var(--neutral-white);
    color: var(--accent-color);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* === LISTA VIEW === */
.grid-products.list-view {
    grid-template-columns: 1fr !important;
}

.grid-products.list-view .product-card {
    flex-direction: row;
}

.grid-products.list-view .product-card:hover {
    transform: translateY(-2px);
}

.grid-products.list-view .product-card__media {
    width: 110px;
    flex-shrink: 0;
}

.grid-products.list-view .product-card__img-wrap {
    height: 100%;
}

/* En la vista lista el badge deja de flotar y pasa al flujo, debajo del nombre.
   Sobre la miniatura de 160px competía por el mismo rincón con el botón de
   favoritos; acá tiene lugar propio y se lee de corrido con el resto del texto.
   En la grilla sigue absoluto sobre la imagen, que es donde la maqueta lo pone.

   `justify-self: start` es necesario porque el cuerpo en lista es un grid de una
   columna: el valor por defecto de un ítem de grid es `stretch`, así que sin esto
   la etiqueta se estiraba a los 517px de la fila entera. Es el eje inline el que
   estira, no el de bloque: con `align-self` no alcanzaba. */
.grid-products.list-view .product-card__promo-tag {
    position: static;
    justify-self: start;
    margin-top: 0.4rem;
}

/* El botón de favoritos sigue oculto en lista: su lugar sobre la miniatura ya
   no lo disputa nadie, pero ubicarlo bien en esta vista es una decisión de
   diseño pendiente. */
.grid-products.list-view .product-card__side-right {
    display: none;
}

.grid-products.list-view .product-card__body {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    align-content: start;
    gap: 0.25rem;
    padding: 1rem 1.25rem;
}

.grid-products.list-view .product-card__name {
    grid-column: 1;
    grid-row: 1;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.grid-products.list-view .product-card__desc {
    display: block;
    grid-column: 1;
    grid-row: 2;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.grid-products.list-view .product-card__pricing {
    grid-column: 1;
    grid-row: 3;
    align-self: center;
    text-align: left;
}

.grid-products.list-view .product-card__price-meta {
    flex-direction: column-reverse;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.1rem;
}

.grid-products.list-view .product-card__buy-btn--overlay {
    display: none;
}

@media screen and (min-width: 601px) {
    .grid-products.list-view .product-card__media {
        width: 150px;
    }

    .grid-products.list-view .product-card__body {
        grid-template-columns: 1fr auto;
    }

    .grid-products.list-view .product-card__name {
        grid-row: auto;
    }

    .grid-products.list-view .product-card__desc {
        grid-row: 2;
    }

    .grid-products.list-view .product-card__pricing {
        grid-column: 2;
        grid-row: 1 / 3;
        text-align: right;
    }

    .grid-products.list-view .product-card__price-meta {
        justify-content: flex-end;
        align-items: flex-end;
    }
}

/* === PRICE FILTER SLIDER === */
.price-filter {
    padding: 1.25rem 0 0.5rem;
}

.price-slider {
    padding: 0 8px;
}

.noUi-target {
    background: var(--gray-200);
    border: none;
    box-shadow: none;
    border-radius: 100px;
    height: 4px;
}

.noUi-connect {
    background: var(--primary-color);
}

.noUi-horizontal .noUi-handle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 2px solid var(--neutral-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    cursor: grab;
    top: -8px;
    right: -10px;
}

.noUi-horizontal .noUi-handle:active {
    cursor: grabbing;
}

.noUi-handle::before,
.noUi-handle::after {
    display: none;
}

.noUi-handle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(172, 1, 1, 0.2);
}

.price-inputs {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    margin-top: 1rem;
}

.price-input-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.price-input-label {
    font-size: 0.72rem;
    color: var(--gray-500);
    font-weight: 500;
    letter-spacing: 0.01em;
}

.price-input {
    width: 100%;
    height: 44px;
    border: 1px solid var(--gray-200);
    border-radius: 0.625rem;
    padding: 0 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--texto);
    background: var(--neutral-white);
    text-align: center;
    transition: border-color 0.18s ease;
}

.price-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.price-inputs-sep {
    color: var(--gray-400);
    font-weight: 600;
    padding-bottom: 0.6rem;
    flex-shrink: 0;
}

/* === VIEW TOGGLE === */
.toolbox-views {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.toolbox-count {
    display: none;
    font-size: 0.85rem;
    color: var(--gray-500);
    font-weight: 500;
    white-space: nowrap;
}

.view-toggle {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    background: var(--neutral-light);
    border-radius: 0.75rem;
    padding: 0.25rem;
}

.view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    border-radius: 0.5rem;
    color: var(--gray-500);
    cursor: pointer;
    transition:
        background 0.18s ease,
        color 0.18s ease;
}

.view-btn:hover {
    background: var(--neutral-white);
    color: var(--texto);
}

.view-btn--active {
    background: var(--neutral-white);
    color: var(--accent-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

/* === PRODUCT DESC (oculta en grid, visible en lista) === */
.product-card__desc {
    display: none;
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 1.4;
    margin: 0;
}

/* === LISTA VIEW === */
.grid-products.list-view {
    grid-template-columns: 1fr !important;
    gap: 0.75rem;
}

.grid-products.list-view .product-card {
    flex-direction: row;
    align-items: stretch;
}

.grid-products.list-view .product-card:hover {
    transform: translateY(-2px);
}

.grid-products.list-view .product-card__media {
    width: 160px;
    flex-shrink: 0;
}

.grid-products.list-view .product-card__img-wrap {
    height: 100%;
    aspect-ratio: unset;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

/* Ver el bloque equivalente más arriba: el badge pasa al flujo en vista lista. */
.grid-products.list-view .product-card__promo-tag {
    position: static;
    justify-self: start;
    margin-top: 0.4rem;
}

.grid-products.list-view .product-card__side-right {
    display: none;
}

.grid-products.list-view .product-card__body {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    align-items: start;
    padding: 1rem 1.25rem;
    gap: 0.4rem 0;
}

.grid-products.list-view .product-card__category {
    grid-column: 1;
    grid-row: 1;
}

.grid-products.list-view .product-card__name {
    grid-column: 1;
    grid-row: 2;
    font-size: clamp(1.05rem, 0.8rem + 0.3vw, 1.25rem);
    text-align: start;
}

.grid-products.list-view .product-card__desc {
    display: block;
    grid-column: 1;
    grid-row: 3;
    align-self: start;
    padding-top: 0.35rem;
    font-size: var(--text-sm);
}

.grid-products.list-view .product-card__pricing {
    grid-column: 1;
    grid-row: 4;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.4rem;
    min-width: unset;
}

.grid-products.list-view .product-card__price-meta {
    flex-direction: column-reverse;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.1rem;
}

.grid-products.list-view .product-card__buy-btn--overlay {
    display: none;
}

.grid-products.list-view .product-card__buy-btn--inline {
    display: flex;
    width: auto;
    margin-top: 0;
    white-space: nowrap;
}

@media screen and (min-width: 601px) {
    .grid-products.list-view .product-card__body {
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto 1fr;
        gap: 0 1.25rem;
    }

    .grid-products.list-view .product-card__category {
        grid-row: 1;
    }

    .grid-products.list-view .product-card__name {
        grid-row: 2;
    }

    .grid-products.list-view .product-card__desc {
        grid-row: 3;
    }

    .grid-products.list-view .product-card__pricing {
        grid-column: 2;
        grid-row: 1 / 4;
        align-items: flex-end;
        min-width: 170px;
    }

    .grid-products.list-view .product-card__price-meta {
        justify-content: flex-end;
        align-items: flex-end;
        flex-direction: column-reverse;
    }

    .toolbox-count {
        display: block;
    }
}

/* overlay filtros mobile */
#filtro-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 998;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    animation: overlayFadeIn 0.25s ease;
}

#filtro-overlay.visible {
    display: block;
}

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

/* inicio filtros aside */

.aside-filtros {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 999;
    width: 100%;
    max-width: 350px;
    display: none;
    background-color: var(--neutral-white);
    overflow: hidden;
    transition: all 0.3s;
}

.aside-filtros.visible {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--color-white);
    background: var(--color-graphite);
    border-bottom: 1px solid var(--primary-color);
    padding: 1.1rem 1.25rem;
    margin-bottom: 1rem;
    width: 100%;
}

.cart-head-btn {
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    padding: 0.4rem;
    outline: 0;
    font-size: 0.875rem;
    transition: all 0.3s;
}

.cart-head-btn img {
    height: 24px;
    width: 24px;
}

.cart-head-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--neutral-white);
    letter-spacing: 0.02rem;
    margin-bottom: 0;
}

.aside-filter-clean {
    margin-top: 0.75rem;
    padding-top: 1rem;
}

.btn-filter-clean {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--neutral-light);
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    color: var(--gray-600);
    font-size: 0.95rem;
    height: 42px;
    width: 100%;
    padding: 0.5rem 0.875rem;
    transition: all 0.3s;
}

.btn-filter-clean:hover {
    background-color: var(--gray-200);
    color: var(--gray-800);
}

.btn-filter-clean svg {
    height: 16px;
    width: 16px;
}

.aside-details-container {
    overflow-y: auto;
    padding: 1rem 2rem;
}

.details-tabs {
    position: relative;
}

.summary-tabs {
    color: var(--color-charcoal);
    font-size: 1.15rem;
    font-weight: 600;
    min-width: 220px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.summary-tabs img {
    height: 18px;
    width: 18px;
}

.list-aside {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
    border-bottom: 1px solid var(--gray-300);
    margin-top: 0.25rem;
    margin-bottom: 1rem;
    padding: 0 1.5rem 2rem 0;
}

.input-filtro {
    display: none;
}

.label-filtro {
    font-size: 0.95rem;
    color: var(--gray-900);
    padding-left: 1.6rem;
    position: relative;
    cursor: pointer;
    user-select: none;
}

.label-filtro::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 6px;
    border: 1.5px solid var(--secondary-muted);
}

.label-filtro::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 6px;
    background-image: url(../images/icons/check.svg);
    background-position: center;
    background-size: 12px;
    background-repeat: no-repeat;
    background-color: var(--accent-color);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.input-filtro[type="checkbox"]:checked ~ .label-filtro::after {
    opacity: 1;
    visibility: visible;
}

.input-filtro[type="checkbox"]:checked ~ .label-filtro {
    color: var(--accent-color);
}

/* fin filtros aside */

/* ==== FIN CATALOGO ==== */

/* =====================================================
   INICIO FICHA PRODUCTO
   ===================================================== */

.product-main {
    margin-top: 2rem;
}

.row-ficha {
    display: grid;
    grid-template-columns: 100%;
    background: var(--neutral-white);
    border-radius: var(--border-radius);
    row-gap: 2rem;
}

.product-info {
    padding-bottom: 2rem;
}

.heading-product {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
}

.product-brand {
    color: var(--gray-500);
    font-size: 0.875rem;
    transition: color 0.22s ease;
}

.product-brand:hover {
    color: var(--primary-light);
}

.product-title {
    padding-bottom: 0.5rem;
    padding-top: 0.25rem;
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0;
    line-height: 1.3;
}

.group-product-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-bottom: 1px solid var(--primary-soft);
    margin-bottom: 4.5rem;
    padding-bottom: 0.875rem;
}

.group-product-meta .sr-only,
.group-product-meta .pr-rating-size {
    display: none;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.5rem;
    align-items: center;
    color: var(--gray-300);
    font-size: 1rem;
}

.product-meta a {
    transition: all 0.3s;
}

.product-meta a:hover {
    text-decoration: underline;
}

.product-code {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.container-product-options {
    display: flex;
    align-items: start;
    flex-direction: column;
    gap: 1.5rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 2rem 1.5rem;
}

.product-price-type {
    color: var(--gray-600);
    font-size: var(--text-base);
    margin-bottom: 0.875rem;
    letter-spacing: 0.02em;
    font-weight: 600;
    line-height: 1.2;
}

.price-ficha .current-price {
    color: var(--primary-color);
    font-size: var(--text-lg);
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    column-gap: 0.75rem;
    row-gap: 1.5rem;
    width: 100%;
}

.btn-product-cart {
    background: var(--primary-color);
    color: var(--color-charcoal);
    padding: 0.5rem 0.875rem;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    line-height: 1.2;
    text-decoration: none;
    height: fit-content;
    min-height: var(--touch-comfortable);
    width: 100%;
    touch-action: manipulation;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-product-cart:active {
    transform: scale(0.97);
    opacity: 0.9;
}

.btn-product-cart:hover {
    background: var(--accent-color);
    border: 1px solid var(--accent-color);
    color: var(--neutral-white);
    --button-shadow: 0 0 0 0 var(--button-shadow-color);
}
.btn-product-cart:hover img {
    filter: brightness(1) invert(0);
}

/* ── Cotizar con un vendedor (ADR-008) ─────────────────────────────
   Card: el botón es el mismo .product-card__buy-btn amarillo de «Agregar
   al carrito», fijo en el lugar del precio.
   Ficha: «Consultar precio» y el botón amarillo del sitio en la misma
   fila; en el celular el botón baja y toma el ancho. */
.product-card__pricing--cotizar {
    align-items: stretch;
}

/* El botón reemplaza al precio y se ve siempre, en todos los anchos: las
   dos clases le ganan al `display: none` que el inline recibe desde 768px.
   Sin margen superior para ocupar el lugar del precio, y en una línea con
   un poco menos de relleno lateral para no duplicar su alto. */
.product-card__buy-btn.product-card__buy-btn--cotizar {
    display: flex;
    margin-top: 0;
    white-space: nowrap;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* Con dos cards por fila en el celular no entra en una línea: ahí puede
   partirse antes que desbordar la card. */
@media (max-width: 575.98px) {
    .product-card__buy-btn.product-card__buy-btn--cotizar {
        white-space: normal;
        text-align: center;
    }
}

.ficha-cotizar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ficha-cotizar__texto {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.ficha-cotizar__titulo {
    margin: 0;
    font-family: var(--font-family-title);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--neutral-dark);
    line-height: 1.2;
}

.ficha-cotizar__ayuda {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--secondary-color);
}

/* Mismos colores que .btn-product-cart («Agregar al carrito» de la ficha):
   amarillo con texto verde oscuro, verde de la marca al pasar el mouse. */
.btn-cotizar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: var(--touch-comfortable);
    padding: 0 1.375rem;
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    background: var(--primary-color);
    color: var(--color-charcoal);
    font-family: var(--font-family-title);
    font-size: 1rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-cotizar:hover,
.btn-cotizar:focus-visible {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--neutral-white);
    text-decoration: none;
}

.btn-cotizar:focus-visible {
    outline: 3px solid var(--accent-dark);
    outline-offset: 2px;
}

.btn-cotizar svg {
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .ficha-cotizar {
        flex-direction: column;
        align-items: stretch;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-cotizar {
        transition: none;
    }
}

.title-product-options {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0;
}

.title-product-options span {
    font-weight: bold;
}

.product-options {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.group-banner-ficha {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    width: 100%;
    margin-top: 1.25rem;
}

.banner-ficha-img {
    border-radius: var(--border-radius);
    width: 100%;
    height: auto;
    display: block;
}

/* Ficha producto — nuevos componentes */
.brand-logo-img {
    height: 22px;
    width: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 0.375rem;
    filter: brightness(0);
    opacity: 0.5;
}

.ficha-quantity {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.125rem;
}

.ficha-quantity__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neutral-dark);
    white-space: nowrap;
}

.ficha-price-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 0;
}

.ficha-price-box {
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.875rem;
}

.ficha-price-box--contado {
    background-color: #fff8f8;
    border-color: #f5c6c6;
}

.ficha-price-box--credito {
    background-color: #fefefe;
}

.ficha-price-box__title {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--gray-500);
    margin-bottom: 0;
}

.ficha-price-box__prices {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.ficha-price-box__old {
    font-size: 0.875rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.ficha-price-box__current {
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.ficha-price-box__warning {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

.btn-product-credito {
    background: transparent;
    color: var(--primary-color);
    padding: 0.5rem 0.875rem;
    border: 1.5px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: var(--touch-comfortable);
    width: 100%;
    touch-action: manipulation;
    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.btn-product-credito:hover {
    background: var(--primary-color);
    color: var(--neutral-white);
}

.btn-product-credito:active {
    transform: scale(0.97);
}

/* === Ficha — precio limpio === */
.ficha-price {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 4.5rem;
}

.ficha-price__top {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.ficha-price__old {
    font-size: 0.9375rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.ficha-price__current {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* === Ficha — cantidad + carrito en fila === */
.ficha-actions {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 0;
}

/* === Ficha — tags sobre imagen === */
.ficha-media-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.ficha-tag {
    position: absolute;
    width: 48px;
    height: auto;
    z-index: 10;
    pointer-events: none;
    user-select: none;
}

.ficha-tag--tl {
    top: 12px;
    left: 12px;
}

.ficha-tag--tr {
    top: 12px;
    right: 12px;
}

.ficha-tag--bl {
    bottom: 12px;
    left: 12px;
}

@media (min-width: 576px) {
    .ficha-tag {
        width: 64px;
    }
    .ficha-price__current {
        font-size: 2rem;
    }
}

.accordion-producto .accordion-item {
    border: 1px solid var(--gray-200);
    overflow: hidden;
    margin-bottom: 0;
    border-bottom: 1px solid var(--gray-200);
}

.accordion-producto .accordion-item:first-of-type {
    border-top: 1px solid var(--gray-200);
}

.accordion-producto .accordion-item:last-of-type {
    border-bottom: 1px solid var(--gray-200);
}

.accordion-producto .accordion-item:first-of-type,
.accordion-producto .accordion-item:last-of-type {
    border-radius: var(--border-radius);
}

.accordion-producto .accordion-button {
    background: transparent;
    color: var(--text-color);
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-producto .accordion-button:hover {
    background: var(-primary-soft);
    border-radius: 0;
}

.accordion-producto .accordion-body {
    color: var(--text-color);
    line-height: 1.6;
    padding: 1.25rem;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
    background-image: var(--bs-accordion-btn-icon);
}

.title-quantity-options {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.quantity-label,
.installment-label {
    display: block;
    margin-bottom: 0.5rem;
}
.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    height: 48px;
    overflow: hidden;
    padding: 0.35rem;
    width: fit-content;
}
.quantity-input {
    font-size: 1rem;
    color: var(--text-color);
    background-color: transparent;
    text-align: center;
    height: 35px;
    width: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    outline: 0;
}
.quantity-decrease,
.quantity-increase {
    font-size: 1.3rem;
    color: var(--text-color);
    border: 0;
    outline: 0;
    background: transparent;
    border-radius: 100%;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.quantity-decrease:hover,
.quantity-increase:hover {
    background-color: var(--primary-color);
    color: var(--color-charcoal);
}
.quantity-decrease svg,
.quantity-increase svg {
    width: 14px;
    height: 14px;
}
.quantity-decrease:hover svg,
.quantity-increase:hover svg {
    fill: var(--color-charcoal);
}

.related-section {
    background-color: var(--secondary-light);
    margin-top: 5rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.related-title {
    font-size: 1.8rem;
    font-weight: 600;
    font-family: var(--font-secondary);
    color: var(--color-charcoal);
    line-height: 1.4;
    margin-bottom: 2rem;
    text-align: start;
}

.products-swiper {
    margin-bottom: -9rem;
    padding-bottom: 9rem;
}

.fav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    pointer-events: auto;
    min-height: var(--touch-min);
    color: var(--neutral-gray);
    background-color: transparent;
    border-radius: var(--border-radius);
    border: 1px solid var(--secondary-muted);
    margin-top: 0.5rem;
    min-width: var(--touch-min);
    max-width: var(--touch-min);
    width: var(--touch-min);
    touch-action: manipulation;
    transition: all 0.3s;
}

.fav-btn svg {
    height: 24px;
    min-width: 24px;
    max-width: 24px;
    width: 24px;
    stroke: var(--neutral-gray);
    transition: stroke 0.2s;
}

.fav-btn:hover {
    color: #e53935;
    border-color: #e53935;
    background-color: #fdf2f2;
}

.fav-btn:hover svg {
    stroke: #e53935;
}

.fav-btn.is-active {
    color: #e53935;
    border-color: #e53935;
}

.fav-btn.is-active svg {
    stroke: #e53935;
    fill: #e53935;
}
.position-product {
    position: sticky;
    top: 30px;
    z-index: 9;
    width: 90%;
}
.container-slider-product {
    margin-right: auto;
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    gap: 1rem;
}
.product-main-image {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Sin borde propio: el recuadro de la galería lo pone .ficha-media__figure,
       que es el gris de la maqueta. Este borde amarillo dibujaba un segundo
       marco adentro del primero y la ficha quedaba con doble recuadro, uno de
       ellos en el color de acento. */
    position: relative;
    background: var(--neutral-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    padding: 1rem;
    margin-right: 0.5rem;
    margin-bottom: 0;
}

/* inicio Slick Carousel */
.slider-single > .slide:not(:first-child) {
    display: none;
}
.slider-nav > .slide:not(:first-child) {
    display: none;
}
.position-product {
    position: sticky;
    top: 30px;
    z-index: 9;
    width: 90%;
}
.container-slider-product {
    margin-right: auto;
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    gap: 1rem;
}
.slider-single {
    overflow: hidden;
}
.slick-single {
    width: 100%;
}
.slick-slider .btn-expant img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}
.slider-nav .slick-track {
    display: flex;
    column-gap: 0.5rem;
}
.slider-nav .slick-slide,
.slick-vertical.slider-nav .slick-slide {
    border: 1px solid var(--gray-200);
    background: var(--neutral-white);
    border-radius: var(--border-radius);
    cursor: pointer;
    margin-bottom: 1rem;
    padding: 0.5rem;
}

.slider-nav .slick-slide.slick-active.is-active,
.slick-vertical.slider-nav .slick-slide.is-active,
.slick-vertical.slider-nav .slick-slide:hover {
    border: 1px solid var(--primary-color);
}
.slick-slide img {
    border-radius: 0.875rem;
    object-fit: contain;
    height: auto;
    width: 100%;
}
/* fin Slick Carousel */

.btn-expant {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--neutral-white);
    border: 1px solid var(--gray-500);
    border-radius: 0.875rem;
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    padding: 0.5rem;
    z-index: 9;
    transition: all 0.3s;
}
.btn-expant:hover {
    background: var(-primary-soft);
}

.fancybox-is-open .fancybox-bg {
    background: var(--neutral-white);
    opacity: 0.6;
}
.fancybox-slide--image {
    background: transparent;
}
.fancybox-navigation .fancybox-button {
    opacity: 1;
    visibility: visible !important;
}
.fancybox-button--zoom {
    display: none !important;
}
.fancybox-button--play {
    display: none !important;
}
.fancybox-button--thumbs {
    display: none !important;
}
.fancybox-button,
.fancybox-button:link,
.fancybox-button:visited {
    color: #888484 !important;
}

.fancybox-button {
    background: transparent !important;
}
.fancybox-navigation .fancybox-button {
    opacity: 1 !important;
}
.fancybox-button--arrow_right {
    position: relative;
}
.fancybox-button--arrow_right svg {
    opacity: 0;
    visibility: hidden;
}
.fancybox-button--arrow_right::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    width: 20px;
    height: 20px;
    border-right: 2px solid #929292;
    border-bottom: 2px solid #929292;
}
.fancybox-button--arrow_left svg {
    opacity: 0 !important;
    visibility: visible;
}
.fancybox-button--arrow_left::after {
    content: "";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 20px;
    height: 20px;
    border-left: 2px solid #929292;
    border-bottom: 2px solid #929292;
}
/* Fin Slick Carousel */


/* Galería — thumbnail de video */
.video-thumb-wrapper {
    position: relative;
    display: block;
    line-height: 0;
}

.video-thumb-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.38);
    border-radius: calc(var(--border-radius) * 0.4);
    pointer-events: none;
    transition: background 0.2s ease;
}

.product-video-figure {
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    overflow: hidden;
}

lite-youtube {
    background-repeat: no-repeat;
    background-size: contain !important;
    aspect-ratio: 1 / 1;
    width: 100%;
    border-radius: var(--border-radius);
}

/* === Ficha — imagen unica === */
.ficha-media {
    width: 100%;
}
.ficha-media__figure {
    margin: 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--neutral-white);
    aspect-ratio: 1 / 1;
    padding: 1rem;
    border: 1px solid var(--secondary-muted);
    position: relative;
}
.ficha-media__zoom-link {
    display: block;
    width: 100%;
    height: 100%;
}
.ficha-media__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.ficha-media__expand-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid var(--secondary-muted);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    pointer-events: none;
}
.ficha-media__zoom-link:hover .ficha-media__expand-btn {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

/* === Ficha — categoria badge === */
.ficha-category {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--accent-color);
    background: var(--accent-soft);
    padding: 0.2em 0.75em;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

/* === Ficha — titulo corregido === */
.product-title {
    color: var(--color-charcoal) !important;
}

/* === Ficha — meta sin margen excesivo === */
.group-product-meta {
    margin-bottom: 1rem !important;
}

/* === Ficha — descripcion breve === */
.ficha-desc {
    font-size: 0.9375rem;
    color: var(--secondary-color);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

/* === Ficha — variant picker === */
.ficha-variants {
    margin-bottom: 1.5rem;
}
.ficha-variants__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--neutral-dark);
    margin-bottom: 0.625rem;
}
.ficha-variants__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.ficha-variant-pill {
    padding: 0.5rem 1.25rem;
    border: 1.5px solid var(--secondary-muted);
    border-radius: 8px;
    background: var(--neutral-white);
    color: var(--neutral-dark);
    font-family: var(--font-family-body);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
}
.ficha-variant-pill:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}
.ficha-variant-pill--active {
    border-color: var(--accent-color);
    background: var(--accent-soft);
    color: var(--accent-color);
    font-weight: 700;
}

/* === Ficha — precio sin margen excesivo === */
.ficha-price {
    margin-bottom: 1.5rem !important;
}

/* === Ficha — descarga ficha técnica === */
.ficha-downloads {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.25rem;
}
.ficha-download {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    border: 1.5px solid var(--secondary-muted);
    border-radius: 10px;
    background: var(--neutral-white);
    color: var(--neutral-dark);
    text-decoration: none;
    transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.ficha-download:hover {
    border-color: var(--accent-color);
    background: var(--accent-soft);
    box-shadow: 0 2px 8px rgba(30,107,61,0.08);
    color: var(--accent-color);
}
.ficha-download__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-light);
    border-radius: 8px;
    color: var(--accent-color);
    transition: background 0.18s;
}
.ficha-download__icon img,
.ficha-download__icon svg {
    height: 22px;
    width: 22px;
}
.ficha-download:hover .ficha-download__icon {
    background: rgba(30,107,61,0.12);
}
.ficha-download__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.ficha-download__label {
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.3;
}
.ficha-download__sub {
    font-size: 0.75rem;
    color: var(--neutral-gray);
}
.ficha-download:hover .ficha-download__sub {
    color: var(--accent-color);
}
.ficha-download__arrow {
    flex-shrink: 0;
    color: var(--neutral-gray);
    transition: color 0.18s, transform 0.18s;
}
.ficha-download:hover .ficha-download__arrow {
    color: var(--accent-color);
    transform: translateY(2px);
}

/* ==== FIN FICHA PRODUCTO ==== */

/* =====================================================
   INICIO ABOUT PAGE
   ===================================================== */

.about-hero {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.about-hero__inner {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.about-hero__media {
    border-radius: var(--border-radius);
    overflow: hidden;
    line-height: 0;
}

.about-hero__img {
    width: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--border-radius);
}

.about-hero__eyebrow {
    font-family: var(--font-family-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.875rem;
}

.about-hero__title {
    font-size: 1.65rem;
    color: var(--neutral-dark);
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.about-hero__desc {
    font-size: 0.975rem;
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: 2rem;
}

/* === Diferenciales === */

.about-difs {
    background: var(--neutral-white);
    padding-top: 4rem;
    padding-bottom: 4rem;
    border-top: 1px solid var(--gray-200);
}

.about-difs__header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.about-difs__label {
    display: block;
    font-family: var(--font-family-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.about-difs__title {
    font-family: var(--font-family-title);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--neutral-dark);
    line-height: 1.2;
    margin-bottom: 0;
}

.about-difs__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.about-dif-card {
    position: relative;
    overflow: hidden;
    background: var(--neutral-white);
    border-radius: var(--border-radius);
    padding: 1.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    transition:
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.about-dif-card:hover {
    box-shadow: 0 6px 24px rgba(172, 1, 1, 0.08);
    transform: translateY(-2px);
}

.about-dif-card__deco {
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 130px;
    height: 130px;
    color: var(--primary-color);
    opacity: 0.05;
    pointer-events: none;
}

.about-dif-card__deco svg,
.about-dif-card__deco img {
    width: 100%;
    height: 100%;
}

.about-dif-card__body {
    position: relative;
    z-index: 1;
}

.about-dif-card__title {
    font-family: var(--font-family-title);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--neutral-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.about-dif-card__desc {
    font-family: var(--font-family-body);
    font-size: 0.875rem;
    color: var(--gray-700);
    line-height: 1.65;
    margin-bottom: 0;
}

/* ==== FIN ABOUT ==== */

/* =====================================================
   SWIPER NAV — CLASE REUTILIZABLE
   ===================================================== */
.swiper-nav__btn {
    min-width: 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--color-graphite);
    background-color: var(--neutral-white);
    color: var(--color-graphite);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background-color 0.22s ease,
        border-color 0.22s ease,
        color 0.22s ease,
        transform 0.22s ease,
        box-shadow 0.22s ease,
        opacity 0.22s ease;
    padding: 0;
}

.swiper-nav__btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--color-charcoal);
    box-shadow: 0 4px 14px rgba(232, 160, 32, 0.35);
}

.swiper-nav__btn.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
    pointer-events: none;
}

.swiper-nav__btn svg {
    height: 22px;
    width: 22px;
}

/* =====================================================
   BENEFITS BAR — hidden on mobile, shown on desktop
   ===================================================== */
.footer-benefits {
    display: none;
}

/* =====================================================
   FOOTER FRAME INFERIOR
   ===================================================== */
.footer-frame {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.footer-frame img {
    width: 100%;
    display: block;
    object-fit: cover;
    object-position: center bottom;
    height: 120px;
}

/* =====================================================
   SITE FOOTER
   ===================================================== */
.site-footer {
    position: relative;
    background-color: var(--neutral-light);
    color: var(--neutral-dark);
}

.footer-main,
.footer-sub {
    position: relative;
    z-index: 1;
}

.footer-main {
    display: flex;
    flex-direction: column;
    padding: 2.5rem 0 3rem;
    gap: 2.5rem;
}

/* =====================================================
   BRAND
   ===================================================== */
.footer-brand__logo-link {
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-brand__logo {
    height: 80px;
    width: auto;
}

.footer-brand__desc {
    font-size: var(--text-sm);
    color: var(--secondary-color);
    line-height: 1.65;
    margin: 0 0 1.5rem;
    max-width: 270px;
}

/* =====================================================
   REDES SOCIALES
   ===================================================== */
.footer-socials {
    display: flex;
    gap: 0.5rem;
}

.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    color: var(--secondary-color);
    background-color: transparent;
    text-decoration: none;
    cursor: pointer;
    transition:
        color 0.22s ease,
        border-color 0.22s ease,
        background-color 0.22s ease;
}

.footer-social:hover {
    color: var(--neutral-dark);
    border-color: var(--accent-color);
    background-color: rgba(30, 107, 61, 0.08);
}

/* =====================================================
   NAV COLUMNS
   ===================================================== */
.footer-col__title {
    font-family: var(--font-family-title);
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin: 0 0 1rem;
}

.footer-col__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    font-family: var(--font-family-body);
    font-size: var(--text-sm);
    color: var(--secondary-color);
    text-decoration: none;
    display: block;
    width: fit-content;
    position: relative;
    transition: color 0.25s ease;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.25s ease;
}

.footer-link:hover {
    color: var(--neutral-dark);
}

.footer-link:hover::after {
    width: 100%;
}

/* =====================================================
   CONTACT
   ===================================================== */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-contact__item {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

.footer-contact__icon {
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact__link {
    font-size: var(--text-sm);
    color: var(--secondary-color);
    text-decoration: none;
    line-height: 1.5;
    position: relative;
    display: inline-block;
    transition: color 0.25s ease;
}

.footer-contact__link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.25s ease;
}

.footer-contact__link:hover {
    color: var(--neutral-dark);
}

.footer-contact__link:hover::after {
    width: 100%;
}

.footer-contact__hours {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-size: var(--text-sm);
    color: var(--secondary-color);
    line-height: 1.5;
}

/* =====================================================
   SUBFOOTER
   ===================================================== */
.footer-sub {
    padding: 1.25rem 0;
    background-color: rgba(0, 0, 0, 0.04);
}

.footer-sub .container-fluid {
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-sub__text {
    font-family: var(--font-family-body);
    font-size: var(--text-xs);
    color: var(--secondary-color);
    margin: 0;
    text-align: center;
}

.footer-sub__link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.footer-sub__link:hover {
    color: var(--neutral-dark);
}

/* =====================================================
   FIN FOOTER
   ===================================================== */

/* =====================================================
   WHATSAPP FLOAT BUTTON
   ===================================================== */
.wa-float {
    position: fixed;
    bottom: calc(20px + var(--safe-bottom));
    right: max(16px, calc(16px + var(--safe-right)));
    z-index: 1100;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    pointer-events: none;
}

/* Panel */
.wa-float__panel {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    width: min(288px, calc(100vw - 32px));
    overflow: hidden;
    transform: translateY(12px) scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition:
        transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.2s ease;
    transform-origin: bottom right;
}

.wa-float.is-open .wa-float__panel {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

/* Panel header */
.wa-float__header {
    background: #25d366;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.wa-float__header-icon {
    flex-shrink: 0;
    color: #fff;
    opacity: 0.9;
}

.wa-float__header-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.wa-float__header-title {
    font-size: var(--text-sm);
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
}

.wa-float__header-sub {
    font-size: var(--text-xs);
    color: rgba(255, 255, 255, 0.82);
}

/* Contacts list */
.wa-float__contacts {
    display: flex;
    flex-direction: column;
    padding: 6px 0;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    overscroll-behavior: contain;
}

.wa-float__contact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    text-decoration: none;
    transition: background 0.15s ease;
    cursor: pointer;
}

.wa-float__contact:hover,
.wa-float__contact:focus-visible {
    background: #f0fdf4;
    outline: none;
}

.wa-float__contact + .wa-float__contact {
    border-top: 1px solid #f3f4f6;
}

/* Avatar */
.wa-float__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #e8f5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #25d366;
}

.wa-float__avatar img {
    border-radius: 50%;
    width: 22px;
    height: 22px;
}

/* Info */
.wa-float__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wa-float__name {
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--neutral-dark);
    line-height: 1.3;
}

.wa-float__role {
    font-size: var(--text-xs);
    color: #6b7280;
}

/* CTA icon */
.wa-float__cta {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    transition:
        background 0.15s ease,
        transform 0.15s ease;
}

.wa-float__contact:hover .wa-float__cta {
    background: #128c7e;
    transform: scale(1.08);
}

/* Main button */
.wa-float__btn {
    position: fixed;
    bottom: calc(20px + var(--safe-bottom));
    right: max(16px, calc(16px + var(--safe-right)));
    z-index: 1100;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.48);
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
    color: #fff;
    text-decoration: none;
}

.wa-float__btn:hover {
    background: #1fba59;
    transform: scale(1.06);
    box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55);
    color: #fff;
}

/* Pulse ring */
.wa-float__btn::before {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.5);
    animation: waPulse 2.2s ease-out infinite;
    pointer-events: none;
}

@keyframes waPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    70% {
        transform: scale(1.5);
        opacity: 0;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* =====================================================
   FIN WHATSAPP FLOAT
   ===================================================== */

/* =============================================
   NOSOTROS
   ============================================= */

.nos-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--neutral-white);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    padding: 0.3rem 0.9rem;
    margin-bottom: 1.25rem;
    width: fit-content;
}

/* ================================================================
   PG-HERO — generic internal page hero (reusable: trabaja, contacto, etc.)
   ================================================================ */

.pg-hero {
    position: relative;
    min-height: 260px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 3rem 0 2.5rem;
}

.pg-hero__bg {
    position: absolute;
    inset: 0;
}

.pg-hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

.pg-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.pg-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.pg-hero__inner--center {
    align-items: center;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
    width: 100%;
}

.pg-hero__title {
    font-size: clamp(2rem, 5.5vw, 3.2rem);
    font-weight: 700;
    color: var(--neutral-white);
    letter-spacing: -0.025em;
    line-height: 1.08;
    margin-bottom: 1.25rem;
}

.pg-hero__desc {
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.78);
    max-width: 520px;
    margin-bottom: 0;
}

/* ============================================================
   CONTACTO PAGE
   ============================================================ */

/* co-info */
.co-info {
    padding: 4.5rem 0 3.5rem;
    background: var(--neutral-white);
}

.co-info__grid {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: 1.75rem;
    row-gap: 2.75rem;
    padding-top: 2rem;
}

.co-info-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 2.75rem 1.5rem 1.75rem;
    background: var(--neutral-light);
    border: 2px dashed #c5bba8;
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.co-info-card:nth-child(even) {
    background: var(--accent-color);
    border-color: rgba(255, 255, 255, 0.2);
}

.co-info-card--link:hover {
    border-color: var(--accent-color);
    box-shadow: 0 8px 28px rgba(30, 107, 61, 0.14);
    transform: translateY(-4px);
}

.co-info-card:nth-child(even).co-info-card--link:hover {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.co-info-card__icon {
    position: absolute;
    top: -28px;
    left: 1.5rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-color);
    color: var(--neutral-white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(30, 107, 61, 0.3);
}

.co-info-card:nth-child(even) .co-info-card__icon {
    background: #5bb545;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}

.co-info-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    min-width: 0;
}

.co-info-card__label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #7a7060;
}

.co-info-card:nth-child(even) .co-info-card__label {
    color: rgba(255, 255, 255, 0.68);
}

.co-info-card__value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-charcoal);
    line-height: 1.4;
}

.co-info-card:nth-child(even) .co-info-card__value {
    color: var(--neutral-white);
}

.co-info-card--link:hover .co-info-card__value {
    color: var(--accent-color);
}

.co-info-card:nth-child(even).co-info-card--link:hover .co-info-card__value {
    color: var(--neutral-white);
}


/* co-contact */
.co-contact {
    padding-top: 3rem;
    padding-bottom: 5rem;
    background: var(--neutral-white);
}

.co-contact__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
}

.co-form-col {
    padding: 2rem;
    border: 1.5px solid var(--secondary-muted);
    border-radius: 16px;
    background: var(--neutral-white);
}

.co-form-col__title {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--neutral-dark);
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.co-form-col__desc {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.co-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.co-form__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.co-form__field {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.co-form__label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--neutral-dark);
    letter-spacing: 0.01em;
}

.co-form__label span {
    color: var(--accent-color);
}

.co-form__opt {
    color: var(--gray-600) !important;
    font-weight: 400;
}

.co-form__input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--neutral-white);
    border: 1.5px solid var(--gray-200);
    border-radius: 0.5rem;
    font-size: 1rem;
    color: var(--neutral-dark);
    font-family: inherit;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;
    outline: none;
    min-height: var(--touch-comfortable);
}

.co-form__input::placeholder {
    color: #9ca3af;
}

.co-form__input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(172, 1, 1, 0.1);
}

.co-form__select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    padding-right: 2.5rem;
    appearance: none;
    cursor: pointer;
}

.co-form__textarea {
    resize: vertical;
    min-height: 130px;
}

.co-form__submit {
    align-self: flex-start;
    padding: 0.85rem 2.25rem;
    min-height: var(--touch-min);
    background: var(--primary-color);
    color: var(--color-charcoal);
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-family: inherit;
    transition:
        background 0.18s ease,
        transform 0.18s ease;
}

.co-form__submit:hover {
    background: var(--accent-dark);
    color: var(--neutral-white);
    transform: translateY(-1px);
}

.co-map-col {
    border-radius: 0.875rem;
    overflow: hidden;
    border: 1.5px solid var(--gray-200);
    min-height: 420px;
    display: flex;
    flex-direction: column;
}

.co-map__iframe {
    width: 100%;
    display: block;
    border: 0;
    flex: 1;
    min-height: 420px;
}

/* =====================================================
   INICIO NOVEDADES SECTION
   ===================================================== */

.productsSwiper .product-card {
    background-color: var(--neutral-light);
    border: none;
}

.products-section--veterinarios {
    background-color: var(--neutral-light);
    padding-top: 3rem;
    padding-bottom: 3rem;
    margin: 3rem 0;
}

.novedad-card {
    display: flex;
    flex-direction: column;
    background: var(--neutral-white);
    border-radius: var(--border-radius);
    transition: transform 0.3s ease;
    height: 100%;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.novedad-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--gray-100);
    border-radius: var(--border-radius);
}

.novedad-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.novedad-card__tag {
    position: absolute;
    bottom: 0.6rem;
    left: 0.6rem;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--accent-color);
    font-family: var(--font-family-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.3rem 0.65rem;
    border-radius: var(--border-radius-full);
    line-height: 1;
}

.novedad-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1rem;
    flex: 1;
}

.novedad-card__date {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-family: var(--font-family-body);
    font-size: 0.72rem;
    color: var(--gray-500);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.novedad-card__date svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    opacity: 0.65;
}

.novedad-card__title {
    font-family: var(--font-family-title);
    font-size: 0.97rem;
    font-weight: 700;
    color: var(--color-charcoal);
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.novedad-card__desc {
    font-family: var(--font-family-body);
    font-size: 0.82rem;
    color: var(--gray-600);
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.novedad-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--accent-color);
    font-family: var(--font-family-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
    margin-top: auto;
    padding-top: 0.65rem;
    transition:
        gap 0.2s ease,
        color 0.2s ease;
}

.novedad-card__cta svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

/* =====================================================
   FIN NOVEDADES SECTION
   ===================================================== */

/* =====================================================
   NOVEDADES PAGE
   ===================================================== */

.nov-filters-section {
    padding: 1.75rem 0 0;
    background: var(--neutral-white);
    border-bottom: 1px solid var(--secondary-muted);
}

.nov-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-bottom: 1.5rem;
}

.nov-filter {
    padding: 0.45rem 1.1rem;
    border-radius: 999px;
    border: 1.5px solid var(--secondary-muted);
    background: transparent;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--neutral-dark);
    cursor: pointer;
    font-family: inherit;
    line-height: 1;
    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        color 0.18s ease;
}

.nov-filter:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.nov-filter--active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--neutral-white);
}

.nov-filter--active:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--neutral-white);
}

.nov-grid-section {
    padding: 3rem 0 5rem;
    background: var(--neutral-white);
}

.nov-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

/* =====================================================
   FICHA NOVEDADES
   ===================================================== */

.fn-page { background: #f7f7f5; }

.fn-header { padding: 3rem 0 2.25rem; }

.fn-header__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.fn-header__tag {
    display: inline-block;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    background: var(--accent-color);
    color: var(--neutral-white);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-family: var(--font-family-body);
}

.fn-header__date {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #7a8a80;
    font-weight: 500;
    font-family: var(--font-family-body);
}

.fn-header__date svg { width: 14px; height: 14px; flex-shrink: 0; }

.fn-header__title {
    font-family: var(--font-family-title);
    font-size: clamp(1.75rem, 3vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-charcoal);
    margin: 0;
}

.fn-hero-img-wrap {
    position: relative;
    overflow: hidden;
    background: var(--secondary-muted);
    aspect-ratio: 4 / 3;
}

.fn-hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.fn-content-section {
    position: relative;
    z-index: 1;
    margin-top: -3.5rem;
    padding-bottom: 4rem;
}

.fn-content {
    background: var(--neutral-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius);
    padding: clamp(1.5rem, 3vw, 3rem);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.fn-article p {
    font-family: var(--font-family-body);
    font-size: 1rem;
    line-height: 1.85;
    color: #3d3d3d;
    margin: 0 0 1.25rem;
}

.fn-article h2 {
    font-family: var(--font-family-title);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-charcoal);
    margin: 2rem 0 0.75rem;
    line-height: 1.3;
}

.fn-article ul {
    margin: 0 0 1.25rem 1.25rem;
    padding: 0;
}

.fn-article ul li {
    font-family: var(--font-family-body);
    font-size: 1rem;
    line-height: 1.75;
    color: #3d3d3d;
    margin-bottom: 0.4rem;
}

.fn-share {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--secondary-muted);
}

.fn-share__title {
    font-family: var(--font-family-title);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #7a8a80;
    margin: 0 0 1rem;
}

.fn-share__btns { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.fn-share__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.15rem;
    border: 1.5px solid var(--secondary-muted);
    border-radius: 999px;
    background: transparent;
    font-family: var(--font-family-body);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--neutral-dark);
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.fn-share__btn svg { width: 15px; height: 15px; flex-shrink: 0; }

.fn-share__btn:hover,
.fn-share__btn--copied {
    border-color: var(--accent-color);
    background: var(--accent-color);
    color: var(--neutral-white);
}

.fn-recommended {
    padding: 3.5rem 0 5rem;
    background: var(--neutral-white);
    border-top: 1px solid var(--secondary-muted);
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes dropdownIn {
    from {
        opacity: 0;
        transform: translateY(-10px) translateX(-50%) scale(0.99);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(-50%) scale(1);
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes badgePulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 1px 4px rgba(255, 213, 79, 0.4);
    }
    50% {
        transform: scale(1.14);
        box-shadow: 0 2px 8px rgba(255, 213, 79, 0.55);
    }
}
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(12px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media screen and (min-width: 480px) {
    /* == INICIO CATALOGO == */
    .toolbox-left {
        justify-content: space-between;
        flex-wrap: nowrap;
        flex-direction: row;
    }
    /* == FIN CATALOGO == */
}

@media screen and (min-width: 640px) {
    /* ==== INICIO FAVORITES PAGE ==== */
    .favorites-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    /* ==== FIN FAVORITES PAGE ==== */

    /* ==== INICIO CONTACTO PAGE ==== */
    .co-info__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .co-form__row {
        grid-template-columns: 1fr 1fr;
    }
    /* ==== FIN CONTACTO PAGE ==== */
}

@media screen and (min-width: 768px) {
    /* ==== INICIO COMPONENTES GLOBALES ==== */
    .hdr-log_img {
        height: 48px;
    }
    .bnr-grid {
        grid-template-columns: 1.15fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 12px;
        height: 600px;
    }
    .bnr-item {
        aspect-ratio: auto;
    }
    .bnr-item--featured {
        grid-row: 1 / 3;
        grid-column: 1 / 2;
    }
    .bnr-body {
        padding: 1.75rem 1.75rem;
    }
    .bnr-item--featured .bnr-body {
        padding: 2rem 2rem;
    }
    .bnr-title {
        font-size: clamp(1.05rem, 1.7vw, 1.45rem);
    }
    .bnr-item--featured .bnr-title {
        font-size: clamp(1.35rem, 2.1vw, 1.85rem);
    }
    .section-header--split {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }
    .wa-float__btn {
        bottom: 28px;
        right: 28px;
        width: 58px;
        height: 58px;
    }
    /* ==== FIN COMPONENTES GLOBALES ==== */

    /* ==== INICIO UTILIDADES ==== */
    .section-padding {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .last-section-padding {
        padding-top: 4rem;
        padding-bottom: 6rem;
    }

    .section-header__title {
        font-size: var(--text-xl);
    }

    .page-hero {
        padding: 4rem 0 3.5rem;
    }

    .page-hero__title {
        font-size: var(--text-xxl);
    }

    .swiper-nav__btn {
        min-width: 46px;
        width: 46px;
        height: 46px;
    }

    .swiper-nav__btn svg {
        height: 28px;
        width: 28px;
    }

    .terms-section {
        padding-top: 3rem;
        padding-bottom: 4rem;
    }

    /* ==== INICIO ABOUT ==== */
    .about-hero,
    .about-difs {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .about-hero__inner {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
    }

    .about-hero__media {
        flex: 0 0 48%;
    }

    .about-hero__img {
        height: 480px;
    }

    .about-hero__title {
        font-size: 2rem;
    }

    .about-difs__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .about-difs__title {
        font-size: 1.875rem;
    }
    /* ==== FIN ABOUT ==== */
    /* ==== FIN UTILIDADES ==== */

    /* ==== INICIO HERO SECTION ==== */
    .heroSwiper .swiper-button-prev,
    .heroSwiper .swiper-button-next {
        width: 46px;
        height: 46px;
    }

    .heroSwiper .swiper-button-prev::after,
    .heroSwiper .swiper-button-next::after {
        font-size: 1rem;
    }

    /* Desktop: overlay lateral editorial */
    .hero-slide__overlay {
        background: linear-gradient(
            to right,
            rgba(10, 24, 14, 0.88) 0%,
            rgba(10, 24, 14, 0.52) 42%,
            transparent 72%
        );
    }

    /* Desktop: contenido centrado verticalmente, anclado a la izquierda */
    .hero-slide__content {
        justify-content: center;
        padding: 3.5rem 4rem;
        max-width: 580px;
    }

    .hero-slide__eyebrow {
        font-size: 0.75rem;
    }

    .hero-slide__title {
        font-size: clamp(2rem, 3.2vw, 3rem);
    }

    .hero-slide__desc {
        font-size: 1rem;
        max-width: 440px;
    }

    .hero-slide__cta {
        padding: 0.75rem 1.8rem;
        font-size: 0.9rem;
    }
    /* ==== FIN HERO SECTION ==== */

    /* ==== INICIO BRANDS SECTION ==== */
    .brand-card {
        height: 100px;
        padding: 1.25rem 1.5rem;
    }

    .brand-card img {
        max-height: 56px;
        max-width: 130px;
    }

    /* ==== FIN BRANDS SECTION ==== */

    /* ==== INICIO PRODUCTS SECTION ==== */
    .products-section--veterinarios {
        padding-top: 4rem;
        padding-bottom: 4rem;
        margin: 4rem 0;
    }

    .product-card__body {
        padding: 1rem 1.25rem 1.25rem;
    }

    /* Mobile inline: oculto en desktop */
    .product-card__buy-btn--inline {
        display: none;
    }

    /* Desktop overlay: visible, absolutamente sobre la imagen */
    .product-card__buy-btn--overlay {
        display: flex;
        position: absolute;
        bottom: 0.6rem;
        left: 0.6rem;
        right: 0.6rem;
        z-index: 3;
        opacity: 0;
        transform: translateY(10px);
    }

    .product-card:hover .product-card__buy-btn--overlay {
        opacity: 1;
        transform: translateY(0);
    }

    .grid-products.list-view .product-card__buy-btn--overlay {
        display: none;
    }

    /* Gradient underlay en hover para contraste del overlay */
    .product-card__media::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 55%;
        background: linear-gradient(
            to top,
            rgba(255, 255, 255, 0.94) 0%,
            transparent 100%
        );
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
        z-index: 2;
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }

    .product-card:hover .product-card__media::after {
        opacity: 1;
    }

    /* Variants block: inline oculto, overlay visible en hover */
    .product-card__variants-block--inline {
        display: none;
    }

    .product-card__variants-block--overlay {
        display: flex;
        position: absolute;
        bottom: 0.6rem;
        left: 0.6rem;
        right: 0.6rem;
        z-index: 3;
        margin-top: 0;
        opacity: 0;
        transform: translateY(10px);
        transition:
            opacity 0.25s ease,
            transform 0.25s ease;
        background: rgba(255, 255, 255, 0.93);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        border-radius: var(--border-radius);
        padding: 0.6rem 0.65rem;
        width: unset;
    }

    .product-card:hover .product-card__variants-block--overlay {
        opacity: 1;
        transform: translateY(0);
    }

    .grid-products.list-view .product-card__variants-block--overlay {
        display: none;
    }
    /* ==== FIN PRODUCTS SECTION ==== */

    /* ==== INICIO SPLIT SECTION ==== */
    .split-layout {
        gap: 2rem;
    }
    /* ==== FIN SPLIT SECTION ==== */

    /* ==== INICIO FAVORITES PAGE ==== */
    .favorites-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    /* ==== FIN FAVORITES PAGE ==== */

    /* == INICIO HEADER TOP == */
    .hdr-top__inner {
        justify-content: space-between;
        gap: 0;
    }

    .hdr-top__item {
        padding: 0 1.25rem;
        gap: 0.5rem;
        min-height: 36px;
    }

    .hdr-top__text {
        display: inline;
        letter-spacing: 0.01em;
    }
    /* == INICIO HEADER TOP == */

    /* == INICIO INDEX == */
    .brands-box {
        padding: 2rem 2rem;
    }

    .banner-secundario-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .categories-box {
        padding: 2rem 2rem;
    }

    /* == FIN INDEX == */

    /* == INICIO CATALOGO == */

    .catalogo-banner {
        max-height: 320px;
    }

    .catalogo-banner__img {
        max-height: 320px;
    }

    .catalogo-banner__content {
        left: 2.5rem;
        max-width: 350px;
        padding: 1.25rem 1.5rem;
        gap: 0.45rem;
    }

    .catalogo-banner__title {
        font-size: 1.2rem;
    }

    .catalogo-banner__desc {
        font-size: 0.85rem;
    }
    /* == FIN CATALOGO == */

    /* == INICIO NOVEDADES INDEX == */
    .novedad-card__body {
        padding: 1.1rem 1.15rem 1.15rem;
    }

    .novedad-card__title {
        font-size: 1.05rem;
    }

    .novedad-card:hover {
        transform: translateY(-5px);
    }

    .novedad-card:hover .novedad-card__media img {
        transform: scale(1.06);
    }

    .novedad-card:hover .novedad-card__cta {
        gap: 0.55rem;
        color: var(--accent-dark);
    }

    .novedad-card:hover .novedad-card__cta svg {
        transform: translateX(3px);
    }
    /* == FIN NOVEDADES INDEX == */

    /* = INICIO MI CUENTA= */
    .grid-compras {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    }

    .tab-cuenta {
        padding: 2rem;
    }

    .table-tarjetas {
        border: initial;
    }
    .table-tarjetas thead {
        display: table-header-group;
    }
    .table-tarjetas tbody {
        display: table-row-group;
    }
    .table-tarjetas tr {
        display: table-row;
        background: transparent;
        border-radius: 0;
        margin-bottom: 0;
        padding: 0;
    }
    .table-tarjetas td {
        display: table-cell;
        width: auto;
        padding-top: 2rem;
        padding-bottom: 2rem;
        vertical-align: middle;
        font-size: inherit;
        border: initial;
    }
    .table-tarjetas td::before {
        display: none;
    }
    .table-tarjetas td:last-child {
        justify-content: initial;
    }
    .table-tarjetas td[colspan] {
        display: table-cell;
        text-align: initial;
    }
    /* = FIN MI CUENTA= */

    /* ==== INICIO LOGIN ==== */
    .form-box {
        padding: 3rem 4rem 3rem;
    }
    /* ==== FIN LOGIN ==== */

    /* = INICIO FICHA PRODUCTOS = */
    .product-info {
        padding-top: 2rem;
        padding-left: 2rem;
    }

    .action-buttons {
        align-items: end;
        flex-direction: row;
        gap: 0.75rem;
    }

    .ficha-actions {
        flex-direction: row;
        align-items: center;
    }

    .ficha-actions .btn-product-cart {
        flex: 1;
    }

    .btn {
        flex: 1;
    }

    .related-section {
        padding-top: 4rem;
        padding-bottom: 6rem;
    }

    .related-title {
        font-size: 2rem;
    }

    /* = FIN FICHA PRODUCTOS = */

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

    .fn-hero-img-wrap { aspect-ratio: 24 / 7; }

    /* = INICIO FOOTER = */
    .footer-main {
        display: grid;
        grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
        gap: 3rem;
        align-items: start;
        padding: 4rem 0 3.5rem;
    }
    /* = FIN FOOTER = */
}

@media screen and (min-width: 992px) {
    .pg-hero {
        min-height: 320px;
        padding: 4rem 0 3.5rem;
    }

    /* ==== INICIO CONTACTO ==== */
    .co-contact {
       padding-top: 3rem;
    padding-bottom: 6rem;
    }

    .co-contact__inner {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: stretch;
    }

    .co-form-col {
        padding: 2.5rem;
    }

    .co-map-col {
        min-height: 0;
    }

    .co-map__iframe {
        min-height: 0;
    }
    /* ==== FIN CONTACTO ==== */

    .nov-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}

@media screen and (min-width: 1024px) {
    /* ==== INICIO COMPONENTES GLOBALES ==== */
    .hdr-log_img {
        height: 80px;
    }
    /* ==== FIN COMPONENTES GLOBALES ==== */

    /* ==== INICIO FICHA PRODUCTO ==== */
    .product-info {
        padding-top: 1rem;
        padding-left: 2rem;
        padding-bottom: 4rem;
    }

    .row-ficha {
        grid-template-columns: 50% 50%;
        gap: 0;
    }

    .article-slider-product {
        position: sticky;
        top: 1rem;
        height: fit-content;
        margin-bottom: 1rem;
        z-index: 9;
        min-width: 0;
    }

    /* === Slider galería: nav vertical izquierda, principal derecha === */
    .container-slider-product {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .ficha-media-wrapper {
        flex: 1;
    }

    /* inicio Slick Carousel */
    .container-slider-product {
        flex-direction: row;
        align-items: flex-start;
    }

    .slider-nav {
        width: 88px;
        flex-shrink: 0;
    }

    .slider-single {
        flex: 1;
        min-width: 0;
    }

    .slider-nav .slick-track {
        flex-direction: column;
    }
    /* fin Slick Carousel */

    /* ==== INICIO ABOUT ==== */
    .about-hero,
    .about-difs {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }

    .about-hero__title {
        font-size: 2rem;
    }

    .about-hero__img {
        height: 560px;
    }

    .about-difs__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    /* ==== FIN ABOUT ==== */

    .row-ficha {
        grid-template-columns: 1fr 1fr;
        column-gap: 2.5rem;
    }

    /* === Ficha — imagen unica === */
    .ficha-media {
        width: 100%;
    }
    .ficha-media__figure {
        margin: 0;
        border-radius: var(--border-radius);
        overflow: hidden;
        background: var(--neutral-white);
        aspect-ratio: 1 / 1;
        padding: 1rem;
        border: 1px solid var(--secondary-muted);
    }
    .ficha-media__img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

    /* === Ficha — categoria badge === */
    .ficha-category {
        display: inline-block;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.07em;
        text-transform: uppercase;
        color: var(--accent-color);
        background: var(--accent-soft);
        padding: 0.2em 0.75em;
        border-radius: 4px;
        margin-bottom: 0.75rem;
    }

    /* === Ficha — titulo corregido === */
    .product-title {
        color: var(--color-charcoal) !important;
    }

    /* === Ficha — meta sin margen excesivo === */
    .group-product-meta {
        margin-bottom: 1rem !important;
    }

    /* === Ficha — descripcion breve === */
    .ficha-desc {
        font-size: 0.9375rem;
        color: var(--secondary-color);
        line-height: 1.65;
        margin-bottom: 1.5rem;
    }

    /* === Ficha — variant picker === */
    .ficha-variants {
        margin-bottom: 1.5rem;
    }
    .ficha-variants__label {
        font-size: 0.8125rem;
        font-weight: 600;
        color: var(--neutral-dark);
        margin-bottom: 0.625rem;
    }
    .ficha-variants__pills {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .ficha-variant-pill {
        padding: 0.5rem 1.25rem;
        border: 1.5px solid var(--secondary-muted);
        border-radius: 8px;
        background: var(--neutral-white);
        color: var(--neutral-dark);
        font-family: var(--font-family-body);
        font-size: 0.875rem;
        font-weight: 500;
        cursor: pointer;
        transition:
            border-color 0.18s ease,
            background 0.18s ease,
            color 0.18s ease;
    }
    .ficha-variant-pill:hover {
        border-color: var(--accent-color);
        color: var(--accent-color);
    }
    .ficha-variant-pill--active {
        border-color: var(--accent-color);
        background: var(--accent-soft);
        color: var(--accent-color);
        font-weight: 700;
    }

    /* === Ficha — precio sin margen excesivo === */
    .ficha-price {
        margin-bottom: 1.5rem !important;
    }
    /* ==== FIN FICHA PRODUCTO ==== */
}

@media screen and (min-width: 1100px) {
    .container-fluid {
        --bs-gutter-x: 6rem;
    }

    .hdr-hamburger {
        display: none;
    }
    /* =====================================================
        MEGA MENU — panel dentro del trigger (hover CSS)
   ===================================================== */
    .megamenu__panel {
        position: absolute;
        top: 100%;
        left: 50%;
        width: calc(99vw - 6rem);
        margin-left: auto;
        margin-right: auto;
        max-width: 1400px;
        max-height: 70vh;
        overflow-y: auto;
        background-color: var(--neutral-white);
        border-top: 2px solid var(--accent-color);
        box-shadow:
            0 12px 40px rgba(30, 107, 61, 0.12),
            0 2px 8px rgba(0, 0, 0, 0.06);
        border-bottom-right-radius: 0.75rem;
        border-bottom-left-radius: 0.75rem;
        z-index: 100;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-6px) translateX(-50%);
        transition:
            opacity 0.2s ease,
            visibility 0.2s ease,
            transform 0.2s ease;
    }
    .megamenu__panel::-webkit-scrollbar {
        width: 5px;
    }
    .megamenu__panel::-webkit-scrollbar-track {
        background: var(--secondary-light);
        border-radius: 0 0 0.75rem 0;
    }
    .megamenu__panel::-webkit-scrollbar-thumb {
        background: var(--accent-color);
        border-radius: 4px;
    }
    .megamenu__panel::-webkit-scrollbar-thumb:hover {
        background: var(--accent-dark);
    }
    .megamenu__panel {
        scrollbar-width: thin;
        scrollbar-color: var(--accent-color) var(--secondary-light);
    }

    .hdr-mega-trigger:hover .megamenu__panel,
    .hdr-mega-trigger:focus-within .megamenu__panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) translateX(-50%);
    }
    .megamenu__inner {
        padding: 2rem 2.5rem;
    }

    /* Grid de tarjetas */
    .megamenu__grid {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.5rem;
    }
    .megamenu__card {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
        padding: 1.1rem 0.75rem;
        text-decoration: none;
        border-radius: 0.6rem;
        border: 1px solid transparent;
        background-color: var(--neutral-light);
        transition:
            background-color 0.18s ease,
            border-color 0.18s ease,
            transform 0.18s ease,
            box-shadow 0.18s ease;
    }
    .megamenu__card:hover {
        background-color: var(--accent-soft);
        border-color: rgba(30, 107, 61, 0.18);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(30, 107, 61, 0.1);
    }
    .megamenu__card-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 0.5rem;
        background-color: var(--neutral-white);
        color: var(--accent-color);
        transition:
            color 0.18s ease,
            background-color 0.18s ease;
        flex-shrink: 0;
    }
    .megamenu__card:hover .megamenu__card-icon {
        color: var(--accent-dark);
        background-color: var(--accent-soft);
    }
    .megamenu__card-icon img,
    .megamenu__card-icon svg {
        height: 22px;
        width: 22px;
    }
    .megamenu__card-icon img {
        object-fit: contain;
    }
    /* Sin ícono la tarjeta queda solo con el nombre: centrarlo en el alto
       de la fila para que no quede pegado arriba junto a las que sí tienen. */
    .megamenu__card {
        justify-content: center;
    }
    .megamenu__card-label {
        font-family: var(--font-family-body);
        font-size: 0.82rem;
        font-weight: 500;
        color: var(--neutral-dark);
        text-align: center;
        line-height: 1.25;
        transition: color 0.18s ease;
    }
    .megamenu__card:hover .megamenu__card-label {
        color: var(--accent-dark);
    }

    /* Estado vacío */
    .megamenu__empty {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        padding: 2rem;
        color: var(--neutral-gray);
        font-family: var(--font-family-body);
        font-size: 0.9rem;
    }

    /* Scrollbar reutilizable */
    .hdr-featured__sublist::-webkit-scrollbar,
    .hdr-brands__grid::-webkit-scrollbar {
        width: 8px;
    }

    .hdr-featured__sublist::-webkit-scrollbar-track,
    .hdr-brands__grid::-webkit-scrollbar-track {
        background: transparent;
    }

    .hdr-featured__sublist::-webkit-scrollbar-thumb,
    .hdr-brands__grid::-webkit-scrollbar-thumb {
        background: var(--secondary-muted);
        border-radius: 999px;
        border: 2px solid transparent;
        background-clip: padding-box;
    }

    .hdr-featured__sublist::-webkit-scrollbar-thumb:hover,
    .hdr-brands__grid::-webkit-scrollbar-thumb:hover {
        background: var(--secondary-color);
        background-clip: padding-box;
    }

    /* Featured category dropdown */
    .hdr-featured__dropdown {
        display: none;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        min-width: 260px;
        background-color: var(--neutral-white);
        border: 1px solid rgba(172, 1, 1, 0.1);
        border-top: 2px solid var(--primary-color);
        border-radius: 0 0 0.6rem 0.6rem;
        box-shadow: 0 8px 24px rgba(172, 1, 1, 0.1);
        max-width: 100%;
        width: calc(99vw - var(--bs-gutter-x));
        z-index: 50;
        animation: dropdownIn 0.18s ease;
    }
    .hdr-featured__item:hover .hdr-featured__dropdown,
    .hdr-featured__item.is-open .hdr-featured__dropdown {
        display: block;
    }
    .hdr-featured__dropdown-inner {
        padding: 1.25rem 1.5rem;
    }
    .hdr-featured__cat-title {
        display: none;
    }
    .hdr-featured__sublist {
        display: flex;
        flex-wrap: wrap;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 0.75rem;
        max-height: 380px;
        overflow-y: auto;
    }
    .hdr-featured__sublink {
        display: flex;
        flex-direction: column;
        align-items: center;
        height: 100%;
        min-width: 160px;
        max-width: 160px;
        gap: 0.55rem;
        padding: 0.85rem 0.6rem;
        background: var(--neutral-white);
        border: 1px solid var(--color-border);
        border-radius: 0.75rem;
        text-decoration: none;
        text-align: center;
        transition:
            background-color 0.18s ease,
            border-color 0.18s ease,
            box-shadow 0.18s ease,
            transform 0.15s ease;
    }
    .hdr-featured__sublink:hover {
        background-color: var(--primary-soft);
        border-color: rgba(172, 1, 1, 0.18);
    }
    .hdr-featured__sublink-name {
        font-family: var(--font-family-body);
        font-size: 0.78rem;
        font-weight: 500;
        color: var(--neutral-dark);
        line-height: 1.3;
    }
    .hdr-featured__sublink:hover .hdr-featured__sublink-name {
        color: var(--primary-color);
    }
    .hdr-featured__sublink .megamenu__sublink-icon {
        width: 70px;
        height: 70px;
    }

    /* Promociones link */
    .hdr-nav-promo {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        padding: 0.38rem 1rem;
        background-color: var(--primary-color);
        color: var(--color-charcoal);
        font-family: var(--font-family-body);
        font-size: var(--text-sm);
        font-weight: 700;
        text-decoration: none;
        border-radius: var(--border-radius-full);
        letter-spacing: 0.02em;
        white-space: nowrap;
        flex-shrink: 0;
        transition:
            background-color 0.2s ease,
            box-shadow 0.2s ease,
            transform 0.15s ease;
    }
    .hdr-nav-promo:hover {
        background-color: var(--accent-dark);
        box-shadow: 0 3px 14px rgba(172, 1, 1, 0.38);
        transform: translateY(-1px);
        color: var(--neutral-dark);
        text-decoration: none;
    }

    /* Accesorios y Repuestos link */
    .hdr-nav-secondary {
        display: inline-flex;
        align-items: center;
        padding: 0.38rem 0.9rem;
        color: var(--gray-600);
        font-family: var(--font-family-body);
        font-size: var(--text-sm);
        font-weight: 500;
        text-decoration: none;
        border: 1px solid var(--color-border);
        border-radius: var(--border-radius-full);
        white-space: nowrap;
        flex-shrink: 0;
        transition:
            color 0.2s ease,
            border-color 0.2s ease,
            background-color 0.2s ease;
    }
    .hdr-nav-secondary:hover {
        color: var(--neutral-dark);
        border-color: var(--gray-300);
        background-color: var(--neutral-light);
        text-decoration: none;
    }

    /* FIN */

    /* ==== INICIO CATALOGO ==== */
    .grid-catalogo {
        grid-template-columns: 310px 1fr;
    }

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

    .grid-products {
        grid-template-columns: repeat(3, 1fr);
    }

    .toolbox {
        flex-direction: row;
        gap: 3rem;
        justify-content: flex-start;
    }

    .title-tolbox {
        flex: 0 0 310px;
        border-right: 1px solid var(--secondary-muted);
    }

    .toolbox-left {
        justify-content: end;
        margin-left: auto;
    }

    .btn-filtro {
        display: none;
    }

    .toolbox-item label {
        font-size: 0.95rem;
        font-weight: 500;
    }

    .select-custom .input-filter {
        font-size: 1rem;
        width: 180px;
    }

    /* inicio filtros aside */
    .aside-filtros {
        position: inherit;
        top: unset;
        bottom: unset;
        width: unset;
        display: block;
        width: 310px;
        z-index: 2;
        padding: 0 1.5rem 1.5rem 0;
        border-right: 1px solid var(--secondary-muted);
        border-radius: 0;
        height: fit-content;
    }
    .item-head-catalogo {
        display: none;
    }
    .catalogo-head-btn {
        display: none;
    }

    .aside-filter-clean {
        padding-top: 0.75rem;
    }

    .aside-details-container {
        padding: 0;
    }

    /* fin filtros aside */

    /*==== FIN CATALOGO ====*/
}

@media screen and (min-width: 1280px) {
    .grid-products {
        grid-template-columns: repeat(4, 1fr);
    }
    .wa-float__btn {
        bottom: 32px;
        right: 32px;
    }
}

@media screen and (min-width: 1200px) {
    /* ==== INICIO FAVORITES PAGE ==== */
    .favorites-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.75rem;
    }
    /* ==== FIN FAVORITES PAGE ==== */

    .co-info__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (min-width: 1600px) {
    .container-fluid {
        max-width: 1600px;
    }
}

/* =====================================================
   RESPONSIVE — DESKTOP (≥1100px)
   ===================================================== */
@media screen and (min-width: 1100px) {
    .hdr-hamburger {
        display: none;
    }
    .hdr-search--desktop {
        display: flex;
    }
    .hdr-search-mobile {
        display: none;
    }
    .hdr-bottom {
        display: block;
        position: relative;
    }
    .hdr-action--desktop {
        display: flex;
    }
    .hdr-mid__inner {
        gap: 1rem;
    }
    .cart-aside {
        width: 380px;
        max-width: 100vw;
    }
}

/* =====================================================
   ACCESSIBILITY — REDUCED MOTION
   ===================================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hdr-badge {
        animation: none;
    }
}

/* ============================================================
   SUCURSALES PAGE
   ============================================================ */

.suc-list {
    padding: 3.5rem 0 5rem;
    background: var(--neutral-white);
}

.suc-list__intro {
    max-width: 620px;
    margin: 0 auto 3rem;
    text-align: center;
}

.suc-list__intro-title {
    font-family: var(--font-family-title);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 700;
    color: var(--color-charcoal);
    margin-bottom: 0.75rem;
}

.suc-list__intro-desc {
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--gray-500);
    margin-bottom: 0;
}

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

/* La foto es opcional: el seeder no trae ninguna y el administrador puede no
   cargarla nunca. La tarjeta tiene que verse terminada igual, así que el
   encabezado con el nombre no depende de la imagen. */
.suc-card {
    display: flex;
    flex-direction: column;
    background: var(--neutral-light);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    overflow: hidden;
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

.suc-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(30, 107, 61, 0.12);
    transform: translateY(-3px);
}

.suc-card__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--secondary-light);
    overflow: hidden;
}

.suc-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.suc-card__media--vacia {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-soft), var(--secondary-light));
    color: var(--accent-color);
}

.suc-card__body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    flex: 1;
}

.suc-card__nombre {
    font-family: var(--font-family-title);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-charcoal);
    line-height: 1.25;
    margin: 0;
}

.suc-card__datos {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin: 0;
}

.suc-dato {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.suc-dato__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 0.15rem;
    color: var(--accent-color);
}

.suc-dato__texto {
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--gray-600);
    min-width: 0;
    word-break: break-word;
}

.suc-dato__link {
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.18s ease;
}

.suc-dato__link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.suc-horarios {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.suc-horarios__item {
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--gray-600);
}

.suc-horarios__dias {
    font-weight: 600;
    color: var(--color-charcoal);
}

.suc-card__acciones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: auto;
    padding-top: 0.5rem;
}

.suc-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    transition:
        background 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease;
}

.suc-btn__icon {
    width: 16px;
    height: 16px;
}

.suc-btn--mapa {
    background: var(--accent-color);
    color: var(--neutral-white);
}

.suc-btn--mapa:hover {
    background: var(--accent-dark);
    color: var(--neutral-white);
}

.suc-btn--wsp {
    background: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
}

.suc-btn--wsp:hover {
    background: var(--accent-soft);
    color: var(--accent-dark);
}

/* El iframe lo pega el administrador tal cual se lo da Google Maps, con width
   y height fijos en atributos. Se fuerza el tamaño desde acá para que no
   desborde la tarjeta en mobile. */
.suc-card__mapa {
    border-top: 1px solid var(--color-border);
}

.suc-card__mapa iframe {
    display: block;
    width: 100%;
    height: 220px;
    border: 0;
}

.suc-vacio {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-500);
    font-size: 1rem;
}

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

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

/* ============================================================
   PÁGINAS — plantilla acordeón
   ============================================================ */

/* Reusa el ancho y el fondo de terms-body: es la misma página de contenido,
   solo cambia cómo se presenta cada bloque. */
.faq-lista {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--neutral-light);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item[open] {
    border-color: var(--accent-color);
}

/* El acordeón es <details>/<summary> nativo: funciona sin JavaScript, es
   accesible por teclado y el navegador se encarga del estado. El marcador por
   defecto se saca en los dos motores. */
.faq-item__pregunta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-family-title);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-charcoal);
    line-height: 1.4;
}

.faq-item__pregunta::-webkit-details-marker {
    display: none;
}

.faq-item__pregunta::after {
    content: "";
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform 0.22s ease;
}

.faq-item[open] .faq-item__pregunta::after {
    transform: rotate(-135deg) translate(-2px, -2px);
}

.faq-item__pregunta:hover {
    color: var(--accent-color);
}

.faq-item__respuesta {
    padding: 0 1.35rem 1.35rem;
    font-family: var(--font-family-body);
    font-size: var(--text-sm);
    line-height: 1.75;
    color: var(--gray-600);
}

.faq-item__respuesta p:last-child {
    margin-bottom: 0;
}

.pagina-vacia {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-500);
}

/* ============================================================
   FICHA — gate de presentaciones
   ============================================================
   Con más de una presentación la ficha no preselecciona ninguna y el botón de
   agregar queda bloqueado hasta que el cliente elige. El aviso explica por qué:
   un botón deshabilitado sin motivo se lee como que la página está rota. */

.ficha-variants__aviso {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.85rem;
    padding: 0.7rem 0.95rem;
    background: var(--accent-soft);
    border-left: 3px solid var(--accent-color);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-dark);
}

/* El botón bloqueado tiene que verse bloqueado. Sin esto conserva el amarillo
   del primario y solo deja de responder al clic, que es la peor combinación:
   parece que funciona y no funciona. */
.btn-product-cart:disabled,
.product-card__buy-btn:disabled {
    background: var(--gray-200);
    border-color: var(--gray-200);
    color: var(--gray-500);
    cursor: not-allowed;
    opacity: 1;
}

.btn-product-cart:disabled:hover,
.product-card__buy-btn:disabled:hover {
    background: var(--gray-200);
    color: var(--gray-500);
    transform: none;
}

/* ============================================================
   PÁGINAS DE ERROR
   ============================================================
   Reusan el layout del sitio, así que solo hace falta el bloque del medio.
   El número de error va grande y decorativo; lo que se lee es el mensaje del
   page-hero y la salida. */

.error-page {
    padding: 3.5rem 0 5rem;
    background: var(--neutral-white);
    text-align: center;
}

.error-page__inner {
    max-width: 560px;
    margin: 0 auto;
}

.error-page__code {
    display: block;
    font-family: var(--font-family-title);
    font-size: clamp(4rem, 14vw, 8rem);
    font-weight: 700;
    line-height: 1;
    color: var(--primary-color);
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.error-page__desc {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--gray-500);
    margin-bottom: 2rem;
}

.error-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.error-page__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    background: var(--accent-color);
    color: var(--neutral-white);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: 1px solid var(--accent-color);
    transition:
        background 0.18s ease,
        color 0.18s ease;
}

.error-page__btn:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--neutral-white);
}

.error-page__btn--ghost {
    background: transparent;
    color: var(--accent-color);
}

.error-page__btn--ghost:hover {
    background: var(--accent-soft);
    color: var(--accent-dark);
}

/* Fin de la lista de favoritos. La maqueta no lo tenía porque su grilla era
   estática; acá la carga es por scroll infinito y hace falta cerrar. */
.favorites-fin {
    margin-top: 2.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* La lista ordenada del contenido legal usaba .terms-list, y esa clase apaga
   list-style y dibuja un punto con ::before. Resultado: la <ol> perdía la
   numeración y quedaba con viñetas iguales a las <ul>. Acá se devuelve el
   contador y se cancela el punto. */
.terms-list--ordered {
    list-style: decimal;
    padding-left: 1.25rem;
}

.terms-list--ordered li {
    padding-left: 0.35rem;
}

.terms-list--ordered li::before {
    content: none;
}

/* ==== BUSCADOR PREDICTIVO ====
   El componente no tenía ninguna regla: ni el contenedor, ni el <form>, ni la
   lista de sugerencias. El input y el botón ya usan .hdr-search__input y
   .hdr-search__btn, que son de la maqueta; lo que sigue es el andamiaje que
   falta para que esas clases funcionen y para que el desplegable tenga forma. */

.buscador-predictivo {
    position: relative;
}

/* El <form> desaparece como caja: sus hijos pasan a ser hijos directos del
   contenedor .hdr-search, que es quien los distribuye. */
.buscador-predictivo__form {
    display: contents;
}

.buscador-predictivo__lista {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    z-index: 1050;
    margin: 0;
    padding: 0.35rem;
    list-style: none;
    max-height: 26rem;
    overflow-y: auto;
    background-color: var(--neutral-white);
    border: 1.5px solid var(--color-border);
    border-radius: var(--border-radius);
    box-shadow: 0 12px 32px rgba(26, 46, 31, 0.14);
}

.buscador-predictivo__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: calc(var(--border-radius) - 0.35rem);
    cursor: pointer;
}

/* Un solo estado visual para hover y para el foco por teclado: la clase
   is-focused la pone el componente al navegar con las flechas, así que mouse y
   teclado se ven igual y siempre hay exactamente un ítem resaltado. */
.buscador-predictivo__item:hover,
.buscador-predictivo__item.is-focused {
    background-color: var(--secondary-light);
}

.buscador-predictivo__thumb {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
    background-color: var(--neutral-light);
    border-radius: 0.5rem;
}

.buscador-predictivo__texto {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.buscador-predictivo__categoria {
    font-family: var(--font-family-body);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent-color);
}

/* Los nombres de producto son largos y el desplegable es angosto: se cortan en
   una línea en vez de empujar el alto de cada ítem. */
.buscador-predictivo__nombre {
    font-family: var(--font-family-body);
    font-size: var(--text-sm);
    color: var(--neutral-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.buscador-predictivo__precios {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

.buscador-predictivo__precio {
    font-family: var(--font-family-title);
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--color-charcoal);
}

.buscador-predictivo__precio-anterior {
    font-size: var(--text-xs);
    color: var(--neutral-gray);
    text-decoration: line-through;
}

.buscador-predictivo__estado {
    padding: 0.85rem 0.75rem;
    font-family: var(--font-family-body);
    font-size: var(--text-sm);
    color: var(--gray-500);
    text-align: center;
}

/* AddCartButton es un solo componente para la card y para la ficha, y en la
   maqueta los dos botones no son iguales: el de la card lleva el carrito al lado
   del texto y el de la ficha es solo texto. Como el ícono viaja en el markup
   compartido, acá se oculta del lado de la ficha. */
.btn-product-cart svg {
    display: none;
}

/* Orden de las filas del cuerpo en vista lista, con el badge entre el nombre y
   la bajada.

   El cuerpo es un grid de dos columnas y cada pieza tiene su fila asignada a
   mano. El badge no tenía ninguna, así que la colocación automática lo mandaba
   a la primera celda libre —debajo de todo— en vez de dejarlo pegado al nombre.

   Va como bloque propio al final de la hoja y no editando las reglas de arriba
   porque esa numeración está repetida en cuatro lugares con valores distintos
   entre sí; renumerarlos todos era más frágil que declarar acá la secuencia
   completa, que además queda junta y se lee de una. */
.grid-products.list-view .product-card__category {
    grid-column: 1;
    grid-row: 1;
}

.grid-products.list-view .product-card__name {
    grid-column: 1;
    grid-row: 2;
}

.grid-products.list-view .product-card__promo-tag {
    grid-column: 1;
    grid-row: 3;
}

.grid-products.list-view .product-card__desc {
    grid-column: 1;
    grid-row: 4;
}

.grid-products.list-view .product-card__pricing {
    grid-column: 2;
    grid-row: 1 / 5;
}
