/* Variables Globales con la Paleta de Colores Corporativa */
:root {
    --primary: #005187;
    /* Azul oscuro profundo */
    --primary-hover: #4d82bc;
    /* Azul medio acero */
    --secondary: #4d82bc;
    /* Azul medio acero */
    --secondary-hover: #005187;
    --accent: #84b6f4;
    /* Azul claro vibrante */
    --bg-light: #c4dafa;
    /* Azul pálido suave */

    --bg-primary: #fcffff;
    /* Blanco con matiz cian ultra-suave */
    --bg-secondary: #f3f8fe;
    /* Azul ultra-pálido para fondos secundarios */
    --text-main: #0f172a;
    /* Slate oscuro para textos principales */
    --text-muted: #475569;
    /* Slate medio para textos secundarios */
    --border-color: #cbd5e1;
    --shadow-sm: 0 1px 3px rgba(0, 81, 133, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 81, 133, 0.1), 0 2px 4px -2px rgba(0, 81, 133, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 81, 133, 0.1), 0 4px 6px -4px rgba(0, 81, 133, 0.1);
    --radius-md: 8px;
    --radius-lg: 16px;
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;

    /* Ajuste para el Footer */
    --drawer-width: 0px;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--navbar-height, 80px);
}

body {
    font-family: var(--font-sans);
    color: var(--text-main);
    background-color: var(--bg-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Botones */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-md);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 14px rgba(0, 81, 135, 0.25);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 81, 135, 0.35);
}

.btn-secondary {
    background-color: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Secciones de Contenido */
.main-content {
    margin-top: var(--navbar-height, 80px);
}

.section-container {
    padding: 60px 24px;
    max-width: 2000px;
    margin: 0 auto;
}

.categories-section-container {
    margin-bottom: 25px;
}

.bg-light {
    background-color: var(--bg-secondary);
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
}

.bg-light>.features-cards-grid,
.bg-light>.section-header,
.bg-light>.section-header-products,
.bg-light>.products-grid,
.bg-light>.contact-socials-container {
    margin-left: auto;
    margin-right: auto;
}

/* Encabezados de Sección */
.section-header {
    margin-bottom: 10px;
}

.section-header-products {
    margin-bottom: 20px;
}

.section-tagline {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.section-divider {
    width: 60px;
    height: 4px;
    background-color: var(--primary);
    margin: 0;
    margin-bottom: 10px;
    border-radius: 2px;
}

.section-divider.align-left {
    margin: 0 0 20px 0;
}

.section-description {
    color: var(--text-muted);
    max-width: 600px;
    /* margin: 0 auto; */
    font-size: 0.9rem;
}

/* ==========================================================================
   Componente: Carrusel de Imágenes
   ========================================================================== */
.carousel-section {
    position: relative;
    height: 864px;
    width: 100%;
    overflow: hidden;
    background-color: #0f172a;
}

.carousel-container {
    position: relative;
    height: 100%;
    width: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
    position: relative;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    transition: transform 6s ease-out;
}

.carousel-slide.active .slide-img {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(15, 23, 42, 0.2) 0%,
            rgba(0, 81, 135, 0.45) 50%,
            rgba(15, 23, 42, 0.85) 100%);
    z-index: 2;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 80px 24px;
    z-index: 3;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.6s ease-out;
    transition-delay: 0.2s;
}

.carousel-slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    max-width: 800px;
    line-height: 1.2;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.slide-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    max-width: 600px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    color: rgba(252, 255, 255, 0.9);
}

.story-experience-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: var(--primary);
    color: white;
    padding: 18px 24px;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0, 81, 135, 0.4);
    display: flex;
    align-items: center;
    gap: 14px;
    backdrop-filter: blur(8px);
}

.badge-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
}

/* Controles de Navegación */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: rgba(252, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(252, 255, 255, 0.25);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-control:hover {
    background-color: rgba(252, 255, 255, 0.9);
    color: var(--primary);
    border-color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.carousel-control.prev {
    left: 24px;
}

.carousel-control.next {
    right: 24px;
}

/* Indicadores de Puntos (Dots) */
.carousel-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(252, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot:hover {
    background-color: rgba(252, 255, 255, 0.8);
}

.carousel-dot.active {
    background-color: var(--accent);
    width: 28px;
    border-radius: 6px;
    box-shadow: 0 0 8px var(--accent);
}

/* ==========================================================================
   Sección: Características (3 Cartas como la imagen de referencia)
   ========================================================================== */
#caracteristicas {
    background-color: #ffffff;
    padding: 30px 20px;
}

.section-header-card {
    padding: 0 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.features-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0;
}

.feature-info-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 0;
}

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background-color: var(--primary);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease;
}

.feature-info-card:hover .feature-icon-wrapper {
    transform: scale(1.08) rotate(5deg);
}

.feature-icon {
    width: 36px;
    height: 36px;
}

.feature-card-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.feature-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.feature-card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.center-divider {
    margin: auto;
    height: 4px;
    width: 100%;
    background-color: var(--primary);
    border-radius: 2px;
}

/* ==========================================================================
   Sección: Categorías (Imágenes con texto superpuesto y hover)
   ========================================================================== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.category-card {
    position: relative;
    height: 340px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(196, 218, 250, 0.5);
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

/* Carga de la imagen de fondo */
.category-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.75) saturate(0.85) contrast(0.98);
    transition: filter 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

/* Encuadrar la imagen de estantes para que se vea más completo el mueble */
.estantes-card .category-bg {
    background-position: 15% center;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(15, 23, 42, 0.02) 30%,
            rgba(15, 23, 42, 0.75) 100%);
    z-index: 2;
    transition: background 0.4s ease;
}

.category-content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    padding: 24px 18px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    gap: 8px;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.category-desc {
    font-size: 0.92rem;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
    line-height: 1.4;
    max-width: 90%;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease,
        transform 0.4s ease,
        height 0.4s ease;
}

.category-btn {
    display: inline-block;
    padding: 9px 20px;
    background-color: var(--accent);
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease,
        transform 0.4s ease,
        background-color 0.3s ease,
        color 0.3s ease;
}

.category-btn:hover {
    background-color: white;
    color: var(--primary);
}

/* Efectos al pasar el ratón (Hover) */
.category-card:hover {
    box-shadow: 0 18px 40px rgba(0, 81, 135, 0.4);
    border-color: var(--accent);
}

.category-card:hover .category-bg {
    transform: scale(1.08);
    filter: brightness(1.12) saturate(1.3) contrast(1.08);
}

.category-card:hover .category-overlay {
    background: linear-gradient(to bottom,
            rgba(15, 23, 42, 0.05) 15%,
            rgba(15, 23, 42, 0.85) 100%);
}

.category-card:hover .category-title {
    transform: translateY(-6px);
}

.category-card:hover .category-desc {
    opacity: 1;
    height: 60px;
    transform: translateY(0);
    margin-bottom: 6px;
}

.category-card:hover .category-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Responsividad de Categorías */
@media (max-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .category-card {
        height: 260px;
    }

    .category-content {
        padding: 18px 14px 24px;
        gap: 6px;
    }

    .category-title {
        font-size: 1.35rem;
    }

    .category-desc {
        font-size: 0.86rem;
    }
}

@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .category-card {
        height: 210px;
    }

    .category-content {
        padding: 16px 14px 20px;
        gap: 6px;
    }

    .category-title {
        font-size: 1.25rem;
    }

    .category-desc {
        font-size: 0.84rem;
        opacity: 1;
        height: auto;
        transform: translateY(0);
        margin-bottom: 4px;
    }

    .category-btn {
        opacity: 1;
        transform: translateY(0);
        padding: 7px 16px;
        font-size: 0.76rem;
    }
}

@media (max-width: 480px) {
    .category-card {
        height: 185px;
    }

    .category-content {
        padding: 12px 10px 14px;
        gap: 4px;
    }

    .category-title {
        font-size: 1.12rem;
        letter-spacing: 1px;
    }

    .category-desc {
        font-size: 0.78rem;
        line-height: 1.25;
        margin-bottom: 2px;
    }

    .category-btn {
        padding: 6px 14px;
        font-size: 0.72rem;
        border-radius: 6px;
    }
}

/* ==========================================================================
   Sección: Tipos de Productos (Imágenes con texto superpuesto, igual a categorías)
   ========================================================================== */
.product-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.product-type-card {
    position: relative;
    height: 340px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(196, 218, 250, 0.5);
    text-decoration: none;
    color: inherit;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.product-type-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.75) saturate(0.85) contrast(0.98);
    transition: filter 0.5s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 1;
}

.product-type-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(15, 23, 42, 0.02) 30%,
            rgba(15, 23, 42, 0.75) 100%);
    z-index: 2;
    transition: background 0.4s ease;
}

.product-type-content {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    padding: 24px 18px 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    gap: 8px;
}

.product-type-title {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.product-type-desc {
    font-size: 0.92rem;
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95);
    line-height: 1.4;
    max-width: 90%;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease,
        transform 0.4s ease,
        height 0.4s ease;
}

.product-type-btn {
    display: inline-block;
    padding: 9px 20px;
    background-color: var(--accent);
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease,
        transform 0.4s ease,
        background-color 0.3s ease,
        color 0.3s ease;
}

.product-type-btn:hover {
    background-color: white;
    color: var(--primary);
}

/* Efectos al pasar el ratón (Hover) para Tipos de Productos */
.product-type-card:hover {
    box-shadow: 0 18px 40px rgba(0, 81, 135, 0.4);
    border-color: var(--accent);
}

.product-type-card:hover .product-type-bg {
    transform: scale(1.08);
    filter: brightness(1.12) saturate(1.3) contrast(1.08);
}

.product-type-card:hover .product-type-overlay {
    background: linear-gradient(to bottom,
            rgba(15, 23, 42, 0.05) 15%,
            rgba(15, 23, 42, 0.85) 100%);
}

.product-type-card:hover .product-type-title {
    transform: translateY(-6px);
}

.product-type-card:hover .product-type-desc {
    opacity: 1;
    height: 60px;
    transform: translateY(0);
    margin-bottom: 6px;
}

.product-type-card:hover .product-type-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Responsividad de Tipos de Producto */
@media (max-width: 992px) {
    .product-types-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .product-type-card {
        height: 260px;
    }

    .product-type-content {
        padding: 18px 14px 24px;
        gap: 6px;
    }

    .product-type-title {
        font-size: 1.35rem;
    }

    .product-type-desc {
        font-size: 0.86rem;
    }
}

@media (max-width: 768px) {
    .product-types-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-type-card {
        height: 210px;
    }

    .product-type-content {
        padding: 16px 14px 20px;
        gap: 6px;
    }

    .product-type-title {
        font-size: 1.25rem;
    }

    .product-type-desc {
        font-size: 0.84rem;
        opacity: 1;
        height: auto;
        transform: translateY(0);
        margin-bottom: 4px;
    }

    .product-type-btn {
        opacity: 1;
        transform: translateY(0);
        padding: 7px 16px;
        font-size: 0.76rem;
    }
}

@media (max-width: 480px) {
    .product-types-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .product-type-card {
        height: 185px;
    }

    .product-type-content {
        padding: 12px 10px 14px;
        gap: 4px;
    }

    .product-type-title {
        font-size: 1.12rem;
        letter-spacing: 1px;
    }

    .product-type-desc {
        font-size: 0.78rem;
        line-height: 1.25;
        margin-bottom: 2px;
    }

    .product-type-btn {
        padding: 6px 14px;
        font-size: 0.72rem;
        border-radius: 6px;
    }
}

/* ==========================================================================
   Carrusel de Productos Destacados (Touch Scroll Snap - Sin Flechas)
   ========================================================================== */
.home-featured-carousel-viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    padding: 10px 4px 20px 4px;
    margin: -10px -4px -20px -4px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-x;
}

.home-featured-carousel-viewport::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.home-featured-carousel-viewport.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
}

.home-featured-track {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;
    width: max-content;
    padding-right: 20px;
    align-items: stretch;
}

.home-featured-track .unified-product-card {
    scroll-snap-align: start;
    flex: 0 0 calc((min(1200px, 100vw - 48px) - 60px) / 4);
    width: calc((min(1200px, 100vw - 48px) - 60px) / 4);
    height: auto;
    display: flex;
    flex-direction: column;
}

/* Responsividad del Carrusel */
@media (max-width: 1100px) {
    .home-featured-track {
        gap: 20px !important;
    }
    .home-featured-track .unified-product-card {
        flex: 0 0 calc((100vw - 48px - 40px) / 3);
        width: calc((100vw - 48px - 40px) / 3);
    }
}

@media (max-width: 768px) {
    .home-featured-track {
        gap: 16px !important;
        padding-right: 16px;
    }
    .home-featured-track .unified-product-card {
        flex: 0 0 calc((100vw - 32px - 16px) / 2);
        width: calc((100vw - 32px - 16px) / 2);
    }
}

/* Móvil: Producto y Medio (1 completo + 38% del siguiente visible) */
@media (max-width: 480px) {
    .home-featured-carousel-viewport {
        padding: 10px 16px 20px 16px;
        margin: -10px -16px -20px -16px;
    }
    .home-featured-track {
        gap: 14px !important;
        padding-right: 20px;
    }
    .home-featured-track .unified-product-card {
        flex: 0 0 calc((100vw - 32px - 14px) / 1.38);
        width: calc((100vw - 32px - 14px) / 1.38);
        min-width: 230px;
    }
}

.products-grid,
.unified-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.products-action-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

/* Carta de Producto Unificada (Idéntica al Catálogo de Productos) */
.unified-product-card {
    background-color: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.unified-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 81, 135, 0.12);
    border-color: #cbd5e1;
}

.unified-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #f3f4f6;
    overflow: hidden;
}

/* Icono de Estrella "Producto Destacado" en Catálogo */
.badge-destacado-star {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 25;
    display: inline-flex;
    align-items: center;
    background: rgba(254, 243, 199, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid #fde68a;
    border-radius: 20px;
    padding: 6px;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    max-width: 34px;
    height: 34px;
    box-sizing: border-box;
    white-space: nowrap;
}

.badge-destacado-star .star-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    flex-shrink: 0;
    fill: #f59e0b;
    stroke: #d97706;
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.35));
    transition: transform 0.4s ease;
}

.badge-destacado-star .star-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #b45309;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: opacity 0.35s ease, max-width 0.4s ease, margin-left 0.35s ease;
    margin-left: 0;
    white-space: nowrap;
}

.badge-destacado-star:hover {
    max-width: 180px;
    padding: 6px 12px 6px 6px;
    background: #fef3c7;
    border-color: #f59e0b;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}

.badge-destacado-star:hover .star-icon {
    transform: rotate(72deg) scale(1.15);
}

.badge-destacado-star:hover .star-label {
    opacity: 1;
    max-width: 130px;
    margin-left: 6px;
}

.unified-card-img-link {
    display: block;
    width: 100%;
    height: 100%;
}

.unified-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.unified-product-card:hover .unified-card-img {
    transform: scale(1.06);
}

.unified-wishlist-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 2;
}

.unified-wishlist-btn:hover,
.unified-wishlist-btn.active {
    background: #ffffff;
    color: #ef4444;
    transform: scale(1.1);
}

.unified-wishlist-btn.active svg {
    fill: #ef4444;
    stroke: #ef4444;
}

.unified-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    gap: 8px;
}

.unified-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.unified-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.unified-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.unified-card-title a:hover {
    color: #005187;
}

.unified-card-price {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
}

.unified-card-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #64748b;
    margin: 2px 0 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.unified-card-swatches {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.swatch-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
    display: inline-block;
    cursor: pointer;
}

.swatch-more {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 600;
    margin-left: 2px;
}

.unified-card-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid #f1f5f9;
}

.unified-btn {
    flex: 1;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.unified-btn.btn-details {
    background-color: #f1f5f9;
    color: #0f172a;
    border: 1px solid #cbd5e1;
}

.unified-btn.btn-details:hover {
    background-color: #e2e8f0;
    color: #005187;
    border-color: #005187;
}

.unified-btn.btn-card-add-cart {
    background-color: #005187;
    color: #ffffff;
    border: none;
    cursor: pointer;
}

.unified-btn.btn-card-add-cart:hover {
    background-color: #003357;
    transform: translateY(-1px);
}

/* Nosotros Section Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    padding: 40px 0;
}

.about-image-side {
    width: 100%;
}

.about-img-placeholder {
    position: relative;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 650px;
    width: 100%;
    max-width: 500px;
    box-shadow: var(--shadow-md);
    color: white;
    overflow: hidden;
}

.imagennosotros {
    height: 600px;
    width: 500px;
    object-fit: cover;
    border-radius: 20px;
}

.about-text-side {
    display: flex;
    flex-direction: column;
}

.about-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.7;
}

.about-text:last-of-type {
    margin-bottom: 0;
}


/* Contacto: Canales Sociales */
.contact-socials-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 10px;
    width: 100%;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-main);
    background-color: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    padding: 32px 18px;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1),
        border-color 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: center;
}

.social-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
        background-color 0.3s ease,
        color 0.3s ease,
        filter 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.social-icon {
    width: 30px;
    height: 30px;
    transition: filter 0.3s ease, fill 0.3s ease;
}

.social-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 16px;
    color: var(--primary);
    transition: color 0.3s ease;
}

.social-desc {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-top: 8px;
    flex-grow: 1;
}

.social-link-btn {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 20px;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

/* Animaciones de Hover según la marca */
.social-card:hover {
    transform: translateY(-8px);
}

/* WhatsApp Hover */
.whatsapp-card:hover {
    border-color: rgba(37, 211, 102, 0.3);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.12);
}

.whatsapp-card:hover .social-icon-box {
    background-color: #25D366;
    color: white;
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 6px 12px rgba(37, 211, 102, 0.2);
}

.whatsapp-card:hover .social-name {
    color: #25D366;
}

.whatsapp-card:hover .social-link-btn {
    color: #25D366;
    border-color: #25D366;
}

/* Instagram Hover */
.instagram-card:hover {
    border-color: rgba(225, 48, 108, 0.3);
    box-shadow: 0 15px 30px rgba(225, 48, 108, 0.12);
}

.instagram-card:hover .social-icon-box {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: white;
    transform: scale(1.1) rotate(-8deg);
    box-shadow: 0 6px 12px rgba(225, 48, 108, 0.2);
}

.instagram-card:hover .social-name {
    color: #d6249f;
}

.instagram-card:hover .social-link-btn {
    color: #d6249f;
    border-color: #d6249f;
}

/* TikTok Hover */
.tiktok-card:hover {
    border-color: rgba(247, 0, 136, 0.969);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.14);
}

.tiktok-card:hover .social-icon-box {
    background-color: #010101;
    color: #ffffff;
    transform: scale(1.1) rotate(8deg);
    box-shadow: 0 6px 12px rgba(247, 0, 136, 0.969);
}

.tiktok-card:hover .social-icon {
    filter: drop-shadow(-2px 1px 0px #25F4EE) drop-shadow(2px -1px 0px #ff0099);
}

.tiktok-card:hover .social-name {
    color: #ff0099;
}

.tiktok-card:hover .social-link-btn {
    color: #ff0099;
    border-color: #ff0099;
}

/* Gmail Hover */
.gmail-card:hover {
    background: linear-gradient(#fcffff, #fcffff) padding-box,
        linear-gradient(135deg, #ea4335 0%, #fbbc05 35%, #34a853 65%, #4285f4 100%) border-box;
    border-color: transparent;
    box-shadow: 0 15px 30px rgba(0, 81, 135, 0.08);
}

.gmail-card:hover .social-icon-box {
    background-color: var(--bg-secondary);
    transform: scale(1.1) translateY(-2px);
    box-shadow: none;
}

.gmail-card:hover .social-icon {
    fill: url(#gmail-gradient);
}

.gmail-card:hover .social-name {
    color: #EA4335;
}

.gmail-card:hover .social-link-btn {
    background: linear-gradient(135deg, #ea4335 0%, #fbbc05 35%, #34a853 65%, #4285f4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    border-color: #EA4335;
}

/* ==========================================================================
   Adaptación Móvil (Responsividad)
   ========================================================================== */
@media (max-width: 1024px) {
    .section-header-card {
        padding: 0 24px;
    }

    .contact-socials-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 960px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .carousel-section {
        height: 650px;
    }

    .slide-title {
        font-size: 2.2rem;
    }

    .slide-subtitle {
        font-size: 1.05rem;
    }

    .carousel-control {
        width: 44px;
        height: 44px;
    }

    .carousel-control.prev {
        left: 12px;
    }

    .carousel-control.next {
        right: 12px;
    }

    .features-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .category-card {
        height: 210px;
    }

    .category-content {
        padding: 16px 14px 20px;
        gap: 6px;
    }

    .category-title {
        font-size: 1.25rem;
    }

    .category-desc {
        opacity: 1;
        height: auto;
        overflow: visible;
        transform: translateY(0);
        margin-bottom: 4px;
        font-size: 0.84rem;
        line-height: 1.25;
    }

    .category-btn {
        opacity: 1;
        transform: translateY(0);
        padding: 7px 16px;
        font-size: 0.76rem;
    }

    .product-type-card {
        height: 210px;
    }

    .product-type-content {
        padding: 16px 14px 20px;
        gap: 6px;
    }

    .product-type-title {
        font-size: 1.25rem;
    }

    .product-type-desc {
        opacity: 1;
        height: auto;
        overflow: visible;
        transform: translateY(0);
        margin-bottom: 4px;
        font-size: 0.84rem;
        line-height: 1.25;
    }

    .product-type-btn {
        opacity: 1;
        transform: translateY(0);
        padding: 7px 16px;
        font-size: 0.76rem;
    }

    .contact-socials-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title {
        font-size: 1.55rem;
    }

    #home-featured-products-container .catalog-product-card:nth-child(n+4) {
        display: none;
    }
}

/* ==========================================================================
   SECCIÓN DE ESPACIOS REALES (PREVIEW DE GALERÍA EN PORTADA - IMAGEN 1)
   ========================================================================== */
.real-spaces-section {
    background-color: var(--bg-secondary);
    padding: 60px 24px;
    overflow: hidden;
}

.real-spaces-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: center;
}

/* Contenedor del Carrusel de Fotos a la Izquierda */
.real-spaces-gallery-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 10px 0;
}

.real-spaces-track-container {
    width: 100%;
    overflow: hidden;
}

.real-spaces-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.real-spaces-card {
    flex: 0 0 calc(33.333% - 14px);
    aspect-ratio: 4/4.5;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: #e2e8f0;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.real-spaces-card:hover {
    transform: translateY(-4px);
}

.real-spaces-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Botones de Navegación del Slider (< y >) */
.real-spaces-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--text-main);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
}

.real-spaces-nav-btn:hover {
    background-color: white;
    color: var(--primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.real-spaces-nav-btn.prev {
    left: 10px;
}

.real-spaces-nav-btn.next {
    right: 10px;
}

/* Panel Informativo a la Derecha */
.real-spaces-info-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 10px;
}

.real-spaces-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 16px;
    line-height: 1.2;
}

.real-spaces-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.real-spaces-link {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.btn-real-spaces-gallery {
    background-color: var(--primary);
    /* Tono magenta idéntico al diseño de referencia (Imagen 1) */
    color: white;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 12px 28px;
    border-radius: 22px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.25s ease;
}

.btn-real-spaces-gallery:hover {
    background-color: #324eca;
    transform: translateY(-2px);
}

/* Responsividad para Espacios Reales */
@media (max-width: 1024px) {
    .real-spaces-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .real-spaces-info-side {
        padding-left: 0;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .real-spaces-card {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 480px) {
    .real-spaces-card {
        flex: 0 0 100%;
    }

    .category-card,
    .product-type-card {
        height: 185px;
    }

    .category-content,
    .product-type-content {
        padding: 12px 10px 14px;
        gap: 4px;
    }

    .category-title,
    .product-type-title {
        font-size: 1.12rem;
        letter-spacing: 1px;
    }

    .category-desc,
    .product-type-desc {
        font-size: 0.78rem;
        line-height: 1.25;
        margin-bottom: 2px;
    }

    .category-btn,
    .product-type-btn {
        padding: 6px 14px;
        font-size: 0.72rem;
        border-radius: 6px;
    }
}

@media (max-width: 420px) {
    .about-img-placeholder {
        height: 340px;
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 360px) {
    .category-card,
    .product-type-card {
        height: 170px;
    }

    .category-title,
    .product-type-title {
        font-size: 1.05rem;
    }

    .about-img-placeholder {
        height: 320px;
        width: 100%;
        max-width: 260px;
    }
}