/* =========================================
   1. VARIABLES Y RESETEO BASE
   ========================================= */
:root {
    /* Paleta Monocromática */
    --color-bg: #FFFFFF;
    --color-surface: #F3F4F6; /* Gris muy suave para fondos secundarios */
    --color-text-main: #111827; /* Negro carbón para mejor lectura */
    --color-text-muted: #6B7280; /* Gris medio para tallas y detalles */
    
    /* Espaciados y Radios */
    --radius-sm: 4px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================================
   LOADING OVERLAY
   ========================================= */
body.no-scroll {
    overflow: hidden;
}

html.is-loading body > *:not(.loading-overlay) {
    visibility: hidden;
}

.loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.loading-logo-wrapper {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: logoReveal 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards,
               logoPulse 2s ease-in-out 0.8s infinite;
}

.loading-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.loading-line {
    width: 0;
    height: 1px;
    background-color: var(--color-text-main);
    animation: lineExpand 0.6s ease 0.5s forwards;
}

@keyframes logoReveal {
    0%   { opacity: 0; transform: scale(0.85); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.03); }
}

@keyframes lineExpand {
    0%   { width: 0; opacity: 0; }
    100% { width: 60px; opacity: 1; }
}

@media (max-width: 768px) {
    .loading-logo-wrapper {
        width: 110px;
        height: 110px;
    }
}

/* Scroll suave al hacer clic en enlaces internos */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased; /* Suaviza las fuentes en Mac/iOS */
}

/* Contenedor principal para centrar el contenido */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================================
   2. NAVEGACIÓN (HEADER)
   ========================================= */
.navbar {
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
}

.navbar--sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow 0.3s ease;
}

.navbar--scrolled {
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.08);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
    border-radius: 50%;
}

.logo span {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    color: var(--color-text-main);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--color-text-main);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-text-main);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--color-text-main);
}

.nav-link:hover::after {
    width: 100%;
}

/* =========================================
   3. HERO SECTION (BIENVENIDA)
   ========================================= */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: max(40px, calc((100vw - 1200px) / 2 + 40px));
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.hero h2 {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: -1px;
    line-height: 1.1;
    color: var(--color-text-main);
}

.hero p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
    max-width: 320px;
}

.hero-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--color-text-main);
    color: var(--color-bg);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.hero-btn:hover {
    background-color: #000000;
    transform: translateY(-2px);
}

.hero-scroll {
    display: none;
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    color: var(--color-text-main);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 50%;
    text-decoration: none;
    animation: hero-scroll-bounce 1.8s ease-in-out infinite;
    z-index: 2;
}

@keyframes hero-scroll-bounce {
    0%, 100% { transform: translate(-50%, 0); }
    50%      { transform: translate(-50%, 8px); }
}

/* =========================================
   4. POR QUÉ ELEGIRNOS
   ========================================= */
.why-us {
    padding: 100px 0;
    background-color: var(--color-bg);
}

.why-us__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.why-us__image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.why-us__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 3 / 4;
}

.why-us__content-col {
    display: flex;
    flex-direction: column;
}

.why-us__label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.why-us__title {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: -0.5px;
    margin-bottom: 40px;
    color: var(--color-text-main);
}

.why-us__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.why-us__item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease;
}

.why-us__item:hover {
    border-left-color: var(--color-text-main);
}

.why-us__item h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-main);
}

.why-us__item p {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* =========================================
   5. CATÁLOGO (CSS GRID)
   ========================================= */
.catalog-heading {
    padding-top: 56px;
    padding-bottom: 8px;
    text-align: center;
}

.catalog-heading__title {
    font-size: 1.75rem;
    font-weight: 300;
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.catalog-heading__subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
}

.catalog {
    display: grid;
    /* Magia responsive: crea columnas de mínimo 280px y máximo 1 fracción */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    padding-bottom: 60px;
    padding-top: 40px;
}

/* =========================================
   5. TARJETAS DE PRODUCTO (UI)
   ========================================= */
.product-card {
    display: flex;
    flex-direction: column;
    position: relative; /* Preparación para efectos hover */
}

.product-img {
    width: 100%;
    height: 380px;
    object-fit: cover; /* Evita que las fotos se deformen */
    background-color: var(--color-surface);
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    transition: var(--transition);
}

/* Efecto sutil al pasar el mouse por la tarjeta */
.product-card:hover .product-img {
    opacity: 0.9;
}

.product-category {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: calc(1rem * 1.4 * 2);
    line-height: 1.4;
}

.product-size {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

/* Botón Ver — abre el modal de detalle */
.ver-btn {
    width: 100%;
    margin-top: auto;
    padding: 12px;
    background-color: var(--color-text-main);
    color: var(--color-bg);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.ver-btn:hover {
    background-color: #000000;
    transform: translateY(-2px);
}

/* =========================================
   MODAL DE DETALLE DE PRODUCTO
   ========================================= */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    position: relative;
    background: var(--color-bg);
    border-radius: 12px;
    width: 100%;
    max-width: 860px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px 36px 36px;
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: var(--transition);
    line-height: 1;
    padding: 4px;
}

.modal__close:hover {
    color: var(--color-text-main);
}

.modal__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.modal__img-wrapper {
    position: relative;
}

.modal__main-img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    background-color: var(--color-surface);
}

.modal__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.92);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.modal__arrow:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.modal__arrow--prev { left: 10px; }
.modal__arrow--next { right: 10px; }

.modal__thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.modal__thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    opacity: 0.55;
    transition: var(--transition);
    border: 2px solid transparent;
}

.modal__thumb:hover,
.modal__thumb.active {
    opacity: 1;
    border-color: var(--color-text-main);
}

.modal__info {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 4px;
}

.modal__title {
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.modal__size {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.modal__price {
    font-size: 1.6rem;
    font-weight: 600;
}

.modal__desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    min-height: 20px;
}

.modal__whatsapp-btn {
    display: block;
    text-align: center;
    padding: 14px 24px;
    background-color: var(--color-text-main);
    color: var(--color-bg);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    margin-top: 8px;
}

.modal__whatsapp-btn:hover {
    background-color: #000;
    transform: translateY(-2px);
}

@media (max-width: 640px) {
    .modal__body {
        grid-template-columns: 1fr;
    }
    .modal {
        padding: 40px 20px 24px;
    }
}

/* =========================================
   6. BOTÓN VER CATÁLOGO COMPLETO
   ========================================= */
.catalog-cta {
    display: flex;
    justify-content: center;
    padding: 8px 0 64px;
}

.catalog-cta__btn {
    display: inline-block;
    padding: 14px 36px;
    background-color: var(--color-text-main);
    color: var(--color-bg);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.catalog-cta__btn:hover {
    background-color: #000000;
    transform: translateY(-2px);
}

/* =========================================
   7. CATÁLOGO COMPLETO — HERO
   ========================================= */
.catalog-hero {
    padding: 72px 0 32px;
    position: relative;
    background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
    overflow: hidden;
}

.catalog-hero::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(17, 24, 39, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.catalog-hero .container {
    position: relative;
}

.catalog-hero__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    text-decoration: none;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    transition: color 0.3s ease, transform 0.3s ease;
    margin-bottom: 32px;
}

.catalog-hero__back:hover {
    color: var(--color-text-main);
    transform: translateX(-3px);
}

.catalog-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 18px;
    font-weight: 500;
}

.catalog-hero__eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--color-text-main);
    display: inline-block;
}

.catalog-hero__title {
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: -2.5px;
    line-height: 1;
    margin-bottom: 20px;
    color: var(--color-text-main);
}

.catalog-hero__subtitle {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    max-width: 560px;
    line-height: 1.7;
}

/* =========================================
   CATÁLOGO — MAIN WRAPPER
   ========================================= */
.catalog-main {
    padding-top: 8px;
}

/* =========================================
   CATEGORY CHIPS
   ========================================= */
.category-chips-wrap {
    position: relative;
    margin-top: 8px;
    margin-bottom: 24px;
}

.category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0 16px;
}

.category-chip {
    flex-shrink: 0;
    padding: 10px 18px;
    background: var(--color-bg);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    color: var(--color-text-main);
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.2px;
    line-height: 1;
    white-space: nowrap;
}

.category-chip:hover {
    border-color: var(--color-text-main);
    transform: translateY(-1px);
}

.category-chip.active {
    background: var(--color-text-main);
    color: var(--color-bg);
    border-color: var(--color-text-main);
}

.category-chip__count {
    font-size: 0.7rem;
    padding: 2px 7px;
    background: var(--color-surface);
    border-radius: 999px;
    font-variant-numeric: tabular-nums;
    color: var(--color-text-muted);
    transition: background-color 0.25s ease, color 0.25s ease;
}

.category-chip.active .category-chip__count {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-bg);
}

/* =========================================
   CATALOG TOOLBAR (búsqueda + filtros + sort)
   ========================================= */
.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 8px;
}

.catalog-toolbar__search {
    position: relative;
    flex: 1 1 280px;
    max-width: 380px;
}

.catalog-toolbar__search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--color-text-muted);
    pointer-events: none;
    display: block;
}

.catalog-toolbar__search input {
    width: 100%;
    padding: 12px 16px 12px 42px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    background: var(--color-bg);
    color: var(--color-text-main);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-toolbar__search input::placeholder {
    color: #B0B5BD;
}

.catalog-toolbar__search input:focus {
    outline: none;
    border-color: var(--color-text-main);
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.04);
}

.catalog-toolbar__actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.catalog-toolbar__toggle {
    padding: 11px 18px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--color-bg);
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-main);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
    line-height: 1;
}

.catalog-toolbar__toggle:hover {
    border-color: var(--color-text-main);
}

.catalog-toolbar__toggle.active {
    background: var(--color-text-main);
    color: var(--color-bg);
    border-color: var(--color-text-main);
}

.catalog-toolbar__sort-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.catalog-toolbar__sort {
    padding: 11px 36px 11px 18px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: var(--color-bg);
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-main);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.25s ease;
    line-height: 1;
}

.catalog-toolbar__sort:focus {
    outline: none;
    border-color: var(--color-text-main);
}

.catalog-toolbar__sort:hover {
    border-color: var(--color-text-main);
}

.catalog-toolbar__sort-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    pointer-events: none;
}

/* =========================================
   ADVANCED FILTERS (colapsable)
   ========================================= */
.advanced-filters {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1), margin 0.3s ease;
    margin: 0;
}

.advanced-filters.open {
    grid-template-rows: 1fr;
    margin: 12px 0 8px;
}

.advanced-filters__inner {
    overflow: hidden;
    min-height: 0;
}

.advanced-filters.open .advanced-filters__inner {
    padding: 20px 24px;
    background: var(--color-surface);
    border-radius: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 20px;
    align-items: end;
}

.advanced-filters__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.filters__label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-text-muted);
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.filters__input {
    padding: 10px 14px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    color: var(--color-text-main);
    background: var(--color-bg);
    transition: border-color 0.2s ease;
    width: 100%;
}

.filters__input:focus {
    outline: none;
    border-color: var(--color-text-main);
}

.filters__input::placeholder {
    color: #B0B5BD;
}

.filters__clear {
    padding: 10px 22px;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 999px;
    font-size: 0.82rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    line-height: 1;
}

.filters__clear:hover {
    background: var(--color-text-main);
    color: var(--color-bg);
    border-color: var(--color-text-main);
}

/* =========================================
   RESULTS COUNT
   ========================================= */
.results-count {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin: 16px 0 24px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
}

.results-count strong {
    color: var(--color-text-main);
    font-weight: 700;
    font-size: 0.95rem;
    margin-right: 2px;
}

/* =========================================
   PRODUCT CARD — IMAGE WRAP + OVERLAY
   ========================================= */
.product-card__image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 16px;
    background: var(--color-surface);
}

.product-card__image-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.35) 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.product-card:hover .product-card__image-wrap::after {
    opacity: 1;
}

.product-card .product-img {
    margin-bottom: 0;
    display: block;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
    opacity: 1;
}

.product-card__overlay-btn {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%) translateY(14px);
    opacity: 0;
    background: var(--color-bg);
    color: var(--color-text-main);
    border: none;
    padding: 10px 22px;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.35s ease, transform 0.35s ease, background-color 0.25s ease, color 0.25s ease;
    white-space: nowrap;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    letter-spacing: 0.2px;
    display: inline-block;
}

.product-card__overlay-btn:hover {
    background: var(--color-text-main);
    color: var(--color-bg);
    transform: translateX(-50%) translateY(0) scale(1.02);
}

.product-card:hover .product-card__overlay-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.product-card .product-card__bottom-btn,
.product-card__bottom-btn {
    display: none !important;
}

@media (max-width: 768px) {
    .product-card__overlay-btn {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
        bottom: 12px;
        padding: 9px 20px;
        font-size: 0.78rem;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    }
    .product-card__image-wrap::after {
        opacity: 0.5;
        background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.25) 100%);
    }
}

.product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-title {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: -0.2px;
}

.product-price {
    margin-top: 6px;
    margin-bottom: 0;
    font-size: 1.05rem;
    letter-spacing: -0.3px;
}

.product-category {
    font-size: 0.68rem;
    letter-spacing: 1.2px;
}

/* =========================================
   EMPTY STATE
   ========================================= */
.catalog-empty {
    grid-column: 1 / -1;
    padding: 80px 20px;
    text-align: center;
    color: var(--color-text-muted);
}

.catalog-empty__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    color: var(--color-text-muted);
    opacity: 0.5;
}

.catalog-empty__title {
    font-size: 1.15rem;
    color: var(--color-text-main);
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}

.catalog-empty__text {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* =========================================
   RESPONSIVE — CATÁLOGO
   ========================================= */
@media (max-width: 768px) {
    .catalog-hero {
        padding: 32px 0 20px;
    }
    .catalog-hero__back {
        margin-bottom: 16px;
    }
    .catalog-hero__title {
        font-size: 2.4rem;
        letter-spacing: -1.5px;
        margin-bottom: 12px;
    }
    .catalog-hero__subtitle {
        font-size: 0.92rem;
    }

    .category-chips-wrap {
        margin-top: 4px;
        margin-bottom: 12px;
    }

    .category-chips {
        gap: 6px;
        padding: 6px 0 10px;
    }

    .catalog-toolbar {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: stretch;
        gap: 8px;
        padding-bottom: 4px;
    }

    .catalog-toolbar__search {
        flex: 1 1 100%;
        max-width: 100%;
        width: 100%;
        min-width: 0;
    }

    .catalog-toolbar__search input {
        padding: 10px 14px 10px 40px;
        font-size: 0.875rem;
    }

    .catalog-toolbar__search-icon {
        left: 14px;
    }

    .catalog-toolbar__actions {
        flex: 1 1 100%;
        width: 100%;
        gap: 8px;
        justify-content: space-between;
    }

    .catalog-toolbar__toggle,
    .catalog-toolbar__sort-wrap {
        flex: 1 1 0;
    }

    .catalog-toolbar__toggle {
        justify-content: center;
        padding: 10px 14px;
    }

    .catalog-toolbar__sort {
        width: 100%;
        padding: 10px 30px 10px 14px;
    }

    .advanced-filters.open .advanced-filters__inner {
        grid-template-columns: 1fr 1fr;
        padding: 16px;
        gap: 12px;
    }

    .filters__clear {
        grid-column: span 2;
        margin-top: 4px;
    }

    .results-count {
        margin: 12px 0 18px;
    }
}

@media (max-width: 480px) {
    .catalog-hero__title {
        font-size: 2.1rem;
    }
    .catalog-hero__subtitle {
        font-size: 0.9rem;
    }
    .category-chip {
        padding: 9px 14px;
        font-size: 0.8rem;
    }
    .advanced-filters.open .advanced-filters__inner {
        grid-template-columns: 1fr;
    }
    .filters__clear {
        grid-column: span 1;
    }
}

/* =========================================
   TESTIMONIOS
   ========================================= */
.testimonials {
    padding: 100px 0;
    background-color: var(--color-surface);
}

.testimonials__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.testimonials__content-col {
    display: flex;
    flex-direction: column;
}

.testimonials__label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.testimonials__title {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: -0.5px;
    margin-bottom: 36px;
    color: var(--color-text-main);
}

.testimonials__grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.testimonials__card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease;
}

.testimonials__card:hover {
    border-left-color: var(--color-text-main);
}

.testimonials__quote {
    font-size: 0.88rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    font-style: italic;
}

.testimonials__author {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-text-main);
    letter-spacing: 0.5px;
}

.testimonials__image-wrapper {
    overflow: hidden;
    border-radius: 12px;
}

.testimonials__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 3 / 4;
}

/* =========================================
   CONTACTO
   ========================================= */
.contact {
    padding: 100px 0;
    background-color: var(--color-text-main);
}

.contact__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact__info-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.contact__title {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: -0.5px;
    color: var(--color-bg);
}

.contact__text {
    font-size: 0.95rem;
    color: #9CA3AF;
    line-height: 1.7;
}

.contact__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.contact__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 36px;
    background-color: var(--color-bg);
    color: var(--color-text-main);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.contact__btn:hover {
    background-color: var(--color-surface);
    transform: translateY(-2px);
}

.contact__btn--outline {
    background-color: transparent;
    color: var(--color-bg);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.contact__btn--outline:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--color-bg);
}

/* Iconos en los botones de contacto */
.contact__icon-wrap {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.contact__icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex-shrink: 0;
    transition: fill 0.3s ease;
}

.contact__btn:hover .icon-whatsapp {
    fill: #25D366;
}

.ig-hover {
    display: none;
}

.contact__btn--outline:hover .ig-default {
    display: none;
}

.contact__btn--outline:hover .ig-hover {
    display: block;
}

/* Columna del mapa */
.contact__map-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact__address {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #9CA3AF;
    font-size: 0.88rem;
    line-height: 1.6;
}

.contact__address-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 2px;
}

.contact__map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    height: 280px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact__map-wrapper iframe {
    width: 100%;
    height: 100%;
    display: block;
    filter: grayscale(1) invert(1) contrast(0.9) brightness(0.7);
    transition: filter 0.4s ease;
}

.contact__map-wrapper:hover iframe {
    filter: none;
}

/* =========================================
   8. FOOTER
   ========================================= */
footer {
    text-align: center;
    padding: 32px 0;
    border-top: 1px solid var(--color-surface);
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

.footer-secret {
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
    width: 10px;
    height: 10px;
    border: 1px solid currentColor;
    border-radius: 3px;
    opacity: 0.55;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.footer-secret:hover,
.footer-secret:focus {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.05);
    outline: none;
}

/* =========================================
   SCROLL ANIMATIONS
   ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RESPONSIVE — MOBILE
   ========================================= */
@media (max-width: 768px) {

    /* Navbar hamburguesa */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        gap: 0;
        padding: 12px 20px 16px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
        z-index: 99;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li {
        padding: 12px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-link {
        font-size: 0.82rem;
    }

    /* Hero — imagen completa en mobile, sin texto, flecha de scroll */
    .hero {
        height: calc(100vh - 72px);
        height: calc(100svh - 72px);
    }

    .hero img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .hero-content {
        display: none;
    }

    .hero-scroll {
        display: flex;
        bottom: 16px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 0.95rem;
        max-width: 100%;
    }

    /* Catálogo grid */
    .catalog {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding-top: 24px;
    }

    .product-img {
        height: 240px;
    }

    /* Secciones */
    .why-us {
        padding: 56px 0;
    }

    .testimonials {
        padding: 56px 0;
    }

    .testimonials__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .testimonials__image-col {
        order: -1;
    }

    .testimonials__image {
        aspect-ratio: 3 / 4;
    }

    .why-us__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-us__image {
        aspect-ratio: 3 / 4;
    }

    .why-us__grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact {
        padding: 56px 0;
    }

    .contact__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact__title {
        font-size: 1.6rem;
    }

    /* Catalog header en catalogo.html */
    .catalog-header {
        flex-direction: column;
        gap: 8px;
        padding: 24px 0 0;
    }
}

@media (max-width: 480px) {

    .logo span {
        display: none;
    }

    .hero h2 {
        font-size: 1.6rem;
    }

    .catalog {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-img {
        height: 200px;
    }

    .why-us__grid {
        grid-template-columns: 1fr;
    }

    .why-us__title {
        font-size: 1.6rem;
    }

    .testimonials__title {
        font-size: 1.6rem;
    }

    .contact__actions {
        flex-direction: column;
        align-items: stretch;
    }
}