/* =====================================================================
   BLANQUERÍA ESENCIA — ESTILOS DE TIENDA PÚBLICA (DESKTOP & MOBILE)
   Ubicación: San Vicente, Misiones, Argentina
   ===================================================================== */

*, *::before, *::after {
    box-sizing: border-box;
}

svg {
    max-width: 100%;
    vertical-align: middle;
    flex-shrink: 0;
}

/* Banner Superior de Anuncios */
.store-topbar {
    background-color: var(--esencia-primary);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 500;
    text-align: center;
    padding: 0.45rem 1rem;
    letter-spacing: 0.03em;
}

.store-topbar a {
    color: #FFFFFF;
    text-decoration: underline;
    font-weight: 600;
}

/* Header Principal */
.store-header {
    background: #FFFFFF;
    border-bottom: 1px solid var(--esencia-border);
    position: sticky;
    top: 0;
    z-index: 500;
    box-shadow: var(--shadow-sm);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.store-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--esencia-text);
    flex-shrink: 0;
}

.site-header-logo-img {
    height: 82px;
    max-height: 92px;
    max-width: 340px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform var(--transition-fast);
}

.store-logo-icon {
    width: 44px;
    height: 44px;
    background: var(--esencia-surface);
    color: var(--esencia-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--esencia-border);
    flex-shrink: 0;
}

.store-logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--esencia-text);
    letter-spacing: -0.01em;
}

.logo-sub {
    font-size: 0.72rem;
    color: var(--esencia-muted);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Buscador en Header */
.header-search {
    flex: 1;
    max-width: 460px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0.65rem 1rem 0.65rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    background: var(--esencia-surface);
    border: 1px solid var(--esencia-border);
    border-radius: var(--radius-full);
    outline: none;
    transition: all var(--transition-fast);
}

.search-input:focus {
    background: #FFFFFF;
    border-color: var(--esencia-primary);
    box-shadow: 0 0 0 3px rgba(168, 95, 62, 0.12);
}

.search-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;
    color: var(--esencia-muted);
    pointer-events: none;
}

/* Barra de Búsqueda Principal Prominente (Estilo Duvet Home) */
.site-search-bar-wrap {
    background: #FFFFFF;
    border-bottom: 1px solid var(--esencia-border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.site-search-box {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    background: #FFFFFF;
    border: 1.5px solid var(--esencia-border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.site-search-box:focus-within {
    border-color: var(--esencia-primary);
    box-shadow: 0 0 0 3px rgba(17, 128, 123, 0.12);
}

.site-search-input {
    flex: 1;
    padding: 0.75rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--esencia-text);
    background: transparent;
    border: none;
    outline: none;
}

.site-search-input::placeholder {
    color: #94A3B8;
    font-style: italic;
}

.site-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    background: #F8FAFC;
    border: none;
    border-left: 1px solid var(--esencia-border);
    color: var(--esencia-text);
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.site-search-btn:hover {
    background: var(--esencia-primary);
    color: #FFFFFF;
}

/* Acciones de Cabecera (Cuenta y Carrito) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--esencia-text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
}

.header-action-btn:hover {
    background: var(--esencia-surface);
    color: var(--esencia-primary);
}

.header-action-btn svg {
    width: 20px;
    height: 20px;
    color: var(--esencia-muted);
}

.header-action-btn:hover svg {
    color: var(--esencia-primary);
}

.cart-count-badge {
    position: absolute;
    top: -2px;
    right: 2px;
    background: var(--esencia-primary);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* Barra de Navegación de Categorías */
.store-nav {
    background: #FFFFFF;
    border-bottom: 1px solid var(--esencia-border-subtle);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    white-space: nowrap;
}

.store-nav-link {
    display: inline-block;
    padding: 0.75rem 0;
    color: var(--esencia-text-light);
    text-decoration: none;
    font-size: 0.86rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
}

.store-nav-link:hover, .store-nav-link.active {
    color: var(--esencia-primary);
    border-bottom-color: var(--esencia-primary);
}

/* Hero Slider Dinámico de Portada (Desktop & Móvil) */
.hero-slider-section {
    position: relative;
    width: 100%;
    min-height: 480px;
    height: 60vh;
    max-height: 620px;
    background: #2C2523;
    overflow: hidden;
    border-bottom: 1px solid var(--esencia-border);
}

.hero-slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    transform: scale(1.04);
    transition: transform 6s ease-out;
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(44, 37, 35, 0.85) 0%, rgba(44, 37, 35, 0.65) 45%, rgba(44, 37, 35, 0.25) 100%);
}

.hero-slide-content {
    position: relative;
    z-index: 3;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 2.5rem 2rem;
    color: #FFFFFF;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--esencia-primary-dark, #74422F);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hero-title {
    font-size: 3.2rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #FFFFFF;
    font-family: var(--font-serif);
    max-width: 650px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 540px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-btn {
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 190px;
    padding: 0.95rem 1.85rem;
    font-size: 0.92rem;
    letter-spacing: 0.05em;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* Flechas y Controles del Slider */
.hero-arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: var(--esencia-text);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-fast);
}

.hero-arrow-btn:hover {
    background: #FFFFFF;
    color: var(--esencia-primary);
    transform: translateY(-50%) scale(1.08);
}

.hero-arrow-btn.prev {
    left: 1.5rem;
}

.hero-arrow-btn.next {
    right: 1.5rem;
}

.hero-slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.5rem;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition-fast);
}

.hero-dot.active {
    background: #FFFFFF;
    width: 28px;
}

/* Barra de Beneficios */
.benefits-bar {
    background: #FFFFFF;
    border-bottom: 1px solid var(--esencia-border);
    padding: 2.25rem 1.5rem;
}

.benefits-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.75rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.benefit-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--esencia-surface);
    color: var(--esencia-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid var(--esencia-border);
}

.benefit-text h4 {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--esencia-text);
    margin-bottom: 0.15rem;
}

.benefit-text p {
    font-size: 0.78rem;
    color: var(--esencia-muted);
}

/* Secciones de Productos */
.section-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 3.5rem 1.5rem;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--esencia-text);
    letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
    .section-title {
        font-size: 2.6rem;
    }
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--esencia-muted);
    margin-top: 0.4rem;
    line-height: 1.5;
}

.section-link {
    color: var(--esencia-primary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: color var(--transition-fast);
}

.section-link:hover {
    color: var(--esencia-primary-dark);
}

/* Sección de Oferta Especial con Contador Regresivo */
.deal-section {
    background: linear-gradient(135deg, #11807B 0%, #0C5C58 100%);
    color: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 3.5rem 3rem;
    margin: 3.5rem auto;
    max-width: 1280px;
    box-shadow: 0 16px 36px rgba(17, 128, 123, 0.22);
    position: relative;
    overflow: hidden;
}

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

.deal-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.95rem;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 1.25rem;
}

.deal-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.85rem;
    color: #FFFFFF;
}

.deal-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Contador Regresivo */
.countdown-container {
    display: flex;
    gap: 0.85rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.timer-block {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.15rem;
    min-width: 78px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.timer-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: #FFFFFF;
    display: block;
}

.timer-label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.25rem;
    display: block;
}

.deal-product-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    color: var(--esencia-text);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
}

.deal-img-box {
    width: 100%;
    height: 280px;
    background: #FAF8F5;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 1.25rem;
    padding: 0.75rem;
}

.deal-img-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 900px) {
    .deal-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .deal-title {
        font-size: 2rem;
    }
    .deal-section {
        padding: 2rem 1.5rem;
        margin: 2.5rem 1rem;
    }
}

/* Grilla Compacta y Elegante de Categorías */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.85rem;
}

.category-card {
    background: #FFFFFF;
    border: 1px solid var(--esencia-border);
    border-radius: var(--radius-md);
    padding: 0.85rem 1.15rem;
    text-align: left;
    text-decoration: none;
    color: var(--esencia-text);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--esencia-primary);
    background: #FFFFFF;
}

.category-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--esencia-surface);
    color: var(--esencia-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid rgba(17, 128, 123, 0.15);
    transition: all var(--transition-fast);
}

.category-card:hover .category-icon-box {
    background: var(--esencia-primary);
    color: #FFFFFF;
}

.category-card-content {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1;
}

.category-card-title {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--esencia-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.category-card-count {
    font-size: 0.75rem;
    color: var(--esencia-muted);
    margin-top: 0.15rem;
}

.category-card-arrow {
    margin-left: auto;
    color: var(--esencia-muted);
    opacity: 0.4;
    transition: all var(--transition-fast);
}

.category-card:hover .category-card-arrow {
    color: var(--esencia-primary);
    opacity: 1;
    transform: translateX(3px);
}

@media (max-width: 600px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.65rem;
    }
    .category-card {
        padding: 0.65rem 0.85rem;
        gap: 0.65rem;
    }
}

/* Tarjetas de Producto */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.75rem;
}

.product-card {
    background: #FFFFFF;
    border: 1px solid var(--esencia-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-fast);
    text-decoration: none;
    color: var(--esencia-text);
    position: relative;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--esencia-border-subtle);
}

.product-image-container {
    height: 260px;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
}

.product-thumb {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
}

.product-card:hover .product-thumb {
    transform: scale(1.03);
}

.product-badges {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    z-index: 5;
    pointer-events: none;
}

.product-badge,
.product-badges .badge,
.product-badges .badge-danger,
.product-badges .badge-warning,
.product-badges .badge-oferta,
.product-badges .badge-destacado {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 0.26rem 0.65rem;
    border-radius: var(--radius-full);
    line-height: 1;
    box-shadow: 0 2px 8px rgba(44, 37, 35, 0.18);
    transition: all var(--transition-fast);
}

.product-badges .badge-danger,
.product-badges .badge-oferta {
    background: var(--esencia-primary, #A85F3E) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
}

.product-badges .badge-warning,
.product-badges .badge-destacado {
    background: rgba(255, 255, 255, 0.96) !important;
    color: var(--esencia-primary-dark, #74422F) !important;
    border: 1px solid rgba(168, 95, 62, 0.3) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.product-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-cat {
    font-size: 0.74rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--esencia-primary);
    margin-bottom: 0.35rem;
}

.product-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--esencia-text);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.product-price-row {
    margin-top: auto;
    padding-top: 0.75rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--esencia-primary-dark);
}

.product-prev-price {
    font-size: 0.85rem;
    text-decoration: line-through;
    color: var(--esencia-muted);
}

/* Ficha Individual de Producto */
.product-page-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
    box-sizing: border-box;
}

.product-breadcrumbs {
    font-size: 0.82rem;
    color: var(--esencia-muted);
    margin-bottom: 1.75rem;
}

.product-breadcrumbs a {
    color: var(--esencia-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.product-breadcrumbs a:hover {
    color: var(--esencia-primary);
}

.product-breadcrumbs span {
    color: var(--esencia-text);
    font-weight: 600;
}

.product-header-mobile {
    display: none;
}

.product-header-desktop {
    display: block;
    margin-bottom: 1.25rem;
}

.product-cat-pill {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--esencia-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.45rem;
}

.product-title-main {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--esencia-text);
    line-height: 1.2;
    margin-bottom: 0.75rem;
}

.product-meta-row {
    font-size: 0.85rem;
    color: var(--esencia-muted);
    display: flex;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: wrap;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 3.5rem;
    align-items: flex-start;
}

.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.main-image-frame {
    background: #FFFFFF;
    border: 1px solid var(--esencia-border);
    border-radius: var(--radius-lg);
    min-height: 460px;
    max-height: 580px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    padding: 1rem;
    box-sizing: border-box;
}

.main-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.thumbnails-row {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
}

.thumbnail-btn {
    width: 76px;
    height: 76px;
    border-radius: var(--radius-md);
    border: 2px solid var(--esencia-border);
    background: #FFFFFF;
    padding: 2px;
    cursor: pointer;
    overflow: hidden;
    transition: border-color var(--transition-fast);
    flex-shrink: 0;
}

.thumbnail-btn.active, .thumbnail-btn:hover {
    border-color: var(--esencia-primary);
}

.thumbnail-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-info-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.product-pricing-box {
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: var(--esencia-surface);
    border-radius: var(--radius-md);
    border: 1px solid var(--esencia-border-subtle);
}

.product-payment-methods-wrap {
    margin-top: 1.5rem;
}

.product-full-desc-box {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--esencia-border-subtle);
}

.product-related-section {
    margin-top: 4.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--esencia-border);
}

/* Selectores de Variantes y Cuadritos de Color */
.variant-selector-group {
    margin: 1.5rem 0;
}

.variant-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--esencia-text);
    margin-bottom: 0.65rem;
    display: block;
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.variant-pill {
    padding: 0.55rem 1rem;
    background: #FFFFFF;
    border: 1.5px solid var(--esencia-border);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    color: var(--esencia-text);
    transition: all var(--transition-fast);
}

.variant-pill:hover {
    border-color: var(--esencia-primary);
    background: var(--esencia-surface);
}

.variant-pill.active {
    border-color: var(--esencia-primary);
    background: var(--esencia-primary);
    color: #FFFFFF;
    font-weight: 600;
}

.variant-pill.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Cuadrícula de Cuadritos de Color Coteminas */
.variant-swatches-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 0.5rem;
}

.color-swatch-card {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 0.95rem;
    background: #FFFFFF;
    border: 1.5px solid var(--esencia-border);
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: left;
    transition: all var(--transition-fast);
    position: relative;
    user-select: none;
}

.color-swatch-card:hover {
    border-color: var(--esencia-primary);
    background: var(--esencia-surface);
    transform: translateY(-1px);
}

.color-swatch-card.active {
    border-color: var(--esencia-primary);
    background: #FFFFFF;
    box-shadow: 0 0 0 2px var(--esencia-primary), var(--shadow-sm);
}

.swatch-color-box {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), var(--shadow-xs);
    position: relative;
}

.swatch-check {
    opacity: 0;
    transform: scale(0.6);
    transition: all var(--transition-fast);
}

.color-swatch-card.active .swatch-check {
    opacity: 1;
    transform: scale(1);
}

.swatch-label {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--esencia-text);
    line-height: 1.2;
    white-space: nowrap;
}

.color-swatch-card.active .swatch-label {
    color: var(--esencia-primary-dark);
}

@media (max-width: 600px) {
    .color-swatch-card {
        padding: 0.45rem 0.75rem;
        font-size: 0.8rem;
    }
    .main-image-frame {
        height: 380px;
        min-height: 320px;
        padding: 0.5rem;
    }
}

/* Botones de Compra y WhatsApp */
.purchase-actions {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.btn-whatsapp-consult {
    background-color: #25D366;
    color: #FFFFFF;
    font-weight: 600;
    border: none;
}

.btn-whatsapp-consult:hover {
    background-color: #1EBE5D;
    color: #FFFFFF;
    transform: translateY(-1px);
}

/* Widget Flotante de WhatsApp */
.whatsapp-floating {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: #FFFFFF;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.whatsapp-floating:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-floating svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* =====================================================================
   CARRITO DE COMPRAS, CHECKOUT Y PÁGINAS RESPONSIVE
   ===================================================================== */
.cart-layout-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 2rem;
    align-items: flex-start;
}

.checkout-layout-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: flex-start;
}

.contact-layout-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 2.5rem;
    align-items: flex-start;
}

.account-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: flex-start;
}

.cart-items-panel {
    background: #FFFFFF;
    border: 1px solid var(--esencia-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cart-panel-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--esencia-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-clear-cart {
    background: none;
    border: none;
    color: var(--esencia-danger, #C53030);
    font-size: 0.8rem;
    cursor: pointer;
    text-decoration: underline;
}

.cart-desktop-table {
    display: block;
    overflow-x: auto;
}

.cart-mobile-items {
    display: none;
}

.cart-summary-card {
    background: #FFFFFF;
    border: 1px solid var(--esencia-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 90px;
}

.mobile-nav-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: #E53E3E;
    color: #FFFFFF;
    font-size: 0.62rem;
    font-weight: 700;
    min-width: 17px;
    height: 17px;
    line-height: 17px;
    border-radius: var(--radius-full);
    text-align: center;
    padding: 0 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
    border: 1.5px solid #FFFFFF;
}

@media (max-width: 900px) {
    .cart-layout-grid,
    .checkout-layout-grid,
    .contact-layout-grid,
    .account-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .cart-summary-card {
        position: static !important;
    }
}

@media (max-width: 720px) {
    .cart-desktop-table {
        display: none !important;
    }

    .cart-mobile-items {
        display: flex !important;
        flex-direction: column;
    }

    .cart-mobile-card {
        padding: 1rem;
        display: flex;
        gap: 0.85rem;
        border-bottom: 1px solid var(--esencia-border-subtle);
        align-items: center;
    }

    .cart-mobile-card:last-child {
        border-bottom: none;
    }

    .cart-mobile-thumb {
        width: 68px;
        height: 68px;
        border-radius: var(--radius-sm);
        background: var(--esencia-surface);
        border: 1px solid var(--esencia-border);
        overflow: hidden;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cart-mobile-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .cart-mobile-info {
        flex: 1;
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
    }

    .cart-mobile-title {
        font-size: 0.88rem;
        font-weight: 600;
        color: var(--esencia-text);
        text-decoration: none;
        line-height: 1.25;
    }

    .cart-mobile-variant {
        font-size: 0.76rem;
        color: var(--esencia-primary);
        font-weight: 500;
    }

    .cart-mobile-price-row {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        margin-top: 0.25rem;
    }

    .cart-mobile-unit {
        font-size: 0.78rem;
        color: var(--esencia-muted);
    }

    .cart-mobile-subtotal {
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--esencia-primary-dark);
    }

    .cart-mobile-actions-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 0.4rem;
        padding-top: 0.4rem;
        border-top: 1px dashed var(--esencia-border-subtle);
    }

    .cart-mobile-qty-form {
        display: flex;
        align-items: center;
        gap: 0.4rem;
    }

    .cart-mobile-qty-input {
        width: 48px;
        padding: 0.25rem;
        text-align: center;
        font-size: 0.82rem;
        border: 1px solid var(--esencia-border);
        border-radius: var(--radius-sm);
        font-weight: 600;
    }

    .cart-mobile-remove-btn {
        display: inline-flex;
        align-items: center;
        gap: 0.25rem;
        background: none;
        border: none;
        color: var(--esencia-danger, #C53030);
        font-size: 0.76rem;
        cursor: pointer;
        padding: 0.25rem;
    }
}

/* Footer Público */
.store-footer {
    background: #FFFFFF;
    border-top: 1px solid var(--esencia-border);
    padding: 4rem 1.5rem 2rem;
    margin-top: 4rem;
}

.footer-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--esencia-text);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--esencia-muted);
    text-decoration: none;
    font-size: 0.86rem;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--esencia-primary);
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 1.75rem;
    border-top: 1px solid var(--esencia-border-subtle);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: var(--esencia-muted);
    line-height: 1.5;
}

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

/* Adaptación Móvil y Responsive */
.mobile-bottom-nav {
    display: none !important;
}

@media (max-width: 900px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
    }
    .hero-visual {
        display: none;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .main-image-frame {
        height: 350px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding-bottom: 65px; /* Espacio para barra de navegación móvil inferior */
    }

    /* Hero Slider en Móviles */
    .hero-slider-section {
        min-height: 380px;
        height: 50vh;
        max-height: 440px;
    }

    .hero-slide-overlay {
        background: linear-gradient(0deg, rgba(44, 37, 35, 0.92) 0%, rgba(44, 37, 35, 0.65) 50%, rgba(44, 37, 35, 0.3) 100%) !important;
    }

    .hero-slide-content {
        padding: 1.5rem 1.25rem !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .hero-title {
        font-size: 1.95rem !important;
        margin-bottom: 0.5rem !important;
    }

    .hero-description {
        font-size: 0.88rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1.25rem !important;
        max-width: 310px !important;
    }

    .hero-btn {
        width: 100% !important;
        max-width: 250px !important;
        justify-content: center !important;
        padding: 0.8rem 1.25rem !important;
        font-size: 0.86rem !important;
    }

    .hero-arrow-btn {
        display: none !important; /* En móvil se utiliza swipe táctil y dots */
    }

    .hero-slider-dots {
        bottom: 0.75rem !important;
    }

    /* En móvil: Header estilizado con logo grande y buscador completo */
    .store-nav {
        display: none !important;
    }

    .header-actions {
        display: none !important;
    }

    .header-container {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 0.75rem !important;
        padding: 0.75rem 1rem !important;
    }

    .store-logo {
        margin: 0 auto !important;
        justify-content: center !important;
    }

    .site-header-logo-img {
        height: 65px !important;
        max-height: 72px !important;
        max-width: 270px !important;
        width: auto !important;
    }

    .site-search-box {
        width: 100% !important;
        max-width: 100% !important;
    }

    .store-logo-text {
        align-items: center !important;
        text-align: center !important;
    }

    .logo-main {
        font-size: 1.35rem !important;
    }

    .logo-sub {
        font-size: 0.68rem !important;
    }

    /* Barra inferior de navegación móvil exclusiva */
    .mobile-bottom-nav {
        display: flex !important;
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 60px !important;
        background: rgba(251, 247, 239, 0.98) !important;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-top: 1px solid var(--esencia-border) !important;
        z-index: 1000 !important;
        align-items: center !important;
        justify-content: space-around !important;
        padding: 0 0.5rem !important;
        box-shadow: 0 -3px 12px rgba(66, 32, 6, 0.08) !important;
    }

    .mobile-nav-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        color: var(--esencia-muted) !important;
        text-decoration: none !important;
        font-size: 0.68rem !important;
        font-weight: 500 !important;
        gap: 3px !important;
        flex: 1 !important;
        height: 100% !important;
        transition: color var(--transition-fast) !important;
    }

    .mobile-nav-item svg {
        width: 22px !important;
        height: 22px !important;
        stroke: currentColor !important;
        display: block !important;
    }

    .mobile-nav-item.active,
    .mobile-nav-item:hover {
        color: var(--esencia-primary) !important;
    }

    .whatsapp-floating {
        bottom: 4.8rem !important;
        right: 1rem !important;
        width: 48px !important;
        height: 48px !important;
    }

    .whatsapp-floating svg {
        width: 24px !important;
        height: 24px !important;
    }
}

@media (max-width: 768px) {
    /* Barra de Beneficios en Móvil: Estrictamente 2 Columnas */
    .benefits-bar {
        padding: 1.25rem 0.85rem !important;
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.85rem 0.65rem !important;
    }
    .benefit-item {
        gap: 0.5rem !important;
        align-items: flex-start !important;
    }
    .benefit-icon {
        width: 34px !important;
        height: 34px !important;
        flex-shrink: 0 !important;
    }
    .benefit-icon svg {
        width: 17px !important;
        height: 17px !important;
    }
    .benefit-text h4 {
        font-size: 0.82rem !important;
        line-height: 1.2 !important;
        margin-bottom: 2px !important;
    }
    .benefit-text p {
        font-size: 0.68rem !important;
        line-height: 1.25 !important;
    }

    /* Grilla de Categorías en Móvil: 2 Columnas Compactas */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
        width: 100% !important;
    }
    .category-card {
        padding: 0.55rem 0.6rem !important;
        gap: 0.45rem !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .category-icon-box {
        width: 32px !important;
        height: 32px !important;
        flex-shrink: 0 !important;
    }
    .category-icon-box svg {
        width: 16px !important;
        height: 16px !important;
    }
    .category-card-content {
        min-width: 0 !important;
        flex: 1 !important;
        overflow: hidden !important;
    }
    .category-card-title {
        font-size: 0.8rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .category-card-count {
        font-size: 0.68rem !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    .category-card-arrow {
        display: none !important;
    }

    /* Oferta Especial con Contador en Móvil: Sin Cortes */
    .deal-section {
        margin: 1.5rem 0 !important;
        padding: 1.5rem 0.85rem !important;
        border-radius: var(--radius-md) !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .deal-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
        width: 100% !important;
    }
    .deal-title {
        font-size: 1.65rem !important;
        line-height: 1.18 !important;
    }
    .deal-desc {
        font-size: 0.88rem !important;
        line-height: 1.4 !important;
        margin-bottom: 1.25rem !important;
    }
    .countdown-container {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 0.4rem !important;
        width: 100% !important;
        margin-bottom: 1.25rem !important;
    }
    .timer-block {
        min-width: 0 !important;
        padding: 0.5rem 0.2rem !important;
        text-align: center !important;
    }
    .timer-number {
        font-size: 1.35rem !important;
    }
    .timer-label {
        font-size: 0.58rem !important;
        margin-top: 0.15rem !important;
    }
    .deal-product-card {
        padding: 1rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .deal-img-box {
        height: 190px !important;
    }
}

@media (max-width: 640px) {
    .store-topbar {
        font-size: 0.72rem;
        padding: 0.35rem 0.5rem;
    }

    .header-container {
        padding: 0.65rem 1rem;
        gap: 0.75rem;
    }

    .header-search {
        display: none;
    }

    .logo-main {
        font-size: 1.25rem;
    }

    .logo-sub {
        font-size: 0.65rem;
    }

    .section-container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        padding-top: 1.5rem !important;
        padding-bottom: 2.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: clip;
    }

    .section-title {
        font-size: 1.6rem !important;
    }

    .section-subtitle {
        font-size: 0.86rem !important;
    }

    /* Grilla de Productos en Móvil */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.65rem !important;
        width: 100% !important;
    }

    .product-card {
        border-radius: var(--radius-md);
        min-width: 0 !important;
        overflow: hidden !important;
    }

    .product-image-container {
        height: 155px;
    }

    .product-body {
        padding: 0.65rem 0.55rem !important;
        min-width: 0 !important;
    }

    .product-name {
        font-size: 0.84rem !important;
        line-height: 1.25 !important;
        margin-bottom: 0.25rem;
        min-height: 2.5em;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Precios en Móvil: El precio tachado aparece arriba para no cortarse jamás */
    .product-price-row {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2px !important;
        margin-top: auto !important;
        padding-top: 0.35rem !important;
    }

    .product-prev-price {
        font-size: 0.74rem !important;
        line-height: 1 !important;
        color: var(--esencia-muted) !important;
        order: -1 !important;
    }

    .product-price {
        font-size: 1.05rem !important;
        line-height: 1.15 !important;
        color: var(--esencia-primary-dark) !important;
        font-weight: 800 !important;
    }

    /* Productos específicos que van en 1 sola columna completa */
    .products-grid .product-card.span-full,
    .products-grid .product-card.featured-card {
        grid-column: 1 / -1 !important;
    }
    .products-grid .product-card.span-full .product-image-container,
    .products-grid .product-card.featured-card .product-image-container {
        height: 220px !important;
    }

    .main-image-frame {
        height: 290px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Adaptación Específica Móvil para Ficha de Producto */
@media (max-width: 900px) {
    .product-page-container {
        padding: 1.25rem 1rem 3.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .product-breadcrumbs {
        margin-bottom: 1rem !important;
        font-size: 0.78rem !important;
    }
    .product-header-mobile {
        display: block !important;
        margin-bottom: 1rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .product-header-desktop {
        display: none !important;
    }
    .product-title-main {
        font-size: 1.65rem !important;
        line-height: 1.2 !important;
        margin-bottom: 0.5rem !important;
    }
    .product-meta-row {
        font-size: 0.8rem !important;
        gap: 0.85rem !important;
    }
    .product-detail-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.25rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .product-gallery {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 0.25rem !important;
    }
    .main-image-frame {
        width: 100% !important;
        max-width: 100% !important;
        min-height: unset !important;
        max-height: unset !important;
        height: 310px !important;
        border-radius: 14px !important;
        padding: 0.5rem !important;
        box-sizing: border-box !important;
    }
    .thumbnails-row {
        gap: 0.5rem !important;
    }
    .thumbnail-btn {
        width: 64px !important;
        height: 64px !important;
        border-radius: 8px !important;
    }
    .product-info-panel {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .product-pricing-box {
        padding: 1rem !important;
        border-radius: 12px !important;
        margin-bottom: 1.25rem !important;
    }
    .product-payment-methods-wrap {
        margin-top: 1.5rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .product-full-desc-box {
        margin-top: 2rem !important;
        padding-top: 1.5rem !important;
    }
    .product-related-section {
        margin-top: 3.5rem !important;
        padding-top: 2rem !important;
    }
}

/* ==========================================================================
   HERO SLIDER PRINCIPAL (FULL WIDTH SLIDER CON TRANSICIÓN SUAVE)
   ========================================================================== */
.hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 520px;
    overflow: hidden;
    background: #1E2525;
}

@media (max-width: 768px) {
    .hero-slider-wrapper {
        height: 380px;
    }
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out, transform 1.2s ease-out;
    transform: scale(1.03);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 2;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.78) 0%, rgba(17, 24, 39, 0.45) 50%, rgba(17, 24, 39, 0.15) 100%);
    z-index: 2;
}

.hero-slide-content {
    position: relative;
    z-index: 3;
    max-width: 680px;
    padding: 0 4rem;
    color: #FFFFFF;
}

@media (max-width: 768px) {
    .hero-slide-content {
        padding: 0 1.5rem;
        max-width: 100%;
    }
}

.hero-slide-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--esencia-accent);
    margin-bottom: 0.75rem;
    background: rgba(0, 0, 0, 0.35);
    padding: 0.3rem 0.75rem;
    border-radius: 4px;
    backdrop-filter: blur(4px);
}

.hero-slide-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.12;
    color: #FFFFFF;
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.hero-slide-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.55;
    margin-bottom: 1.75rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
    .hero-slide-subtitle {
        font-size: 0.92rem;
        margin-bottom: 1.25rem;
    }
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--esencia-primary);
    color: #FFFFFF;
    font-size: 0.92rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.9rem 1.85rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(17, 128, 123, 0.4);
    transition: all var(--transition-fast);
}

.btn-hero:hover {
    background: var(--esencia-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 128, 123, 0.6);
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    border: none;
    color: var(--esencia-text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
}

.hero-nav:hover {
    background: #FFFFFF;
    color: var(--esencia-primary);
    transform: translateY(-50%) scale(1.08);
}

.hero-nav.prev {
    left: 1.5rem;
}

.hero-nav.next {
    right: 1.5rem;
}

@media (max-width: 768px) {
    .hero-nav {
        display: none;
    }
}

.hero-indicators {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.6rem;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition-fast);
}

.hero-indicator.active {
    background: var(--esencia-primary);
    width: 32px;
    border-radius: 6px;
}


