/* =====================================================
   ALEXA'S FASHION
   TIENDA PÚBLICA
===================================================== */

:root {
    --rosa-alexa: #cf668c;
    --rosa-hover: #bd557b;
    --oscuro: #182033;
    --gris-texto: #64748b;
    --gris-claro: #f7f8fa;
    --borde: #e5e7eb;
    --blanco: #ffffff;
}


/* =====================================================
   GENERAL
===================================================== */

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--oscuro);
    background: #ffffff;
    margin: 0;
}

a {
    color: inherit;
}

button,
input {
    font-family: inherit;
}


/* =====================================================
   TOPBAR
===================================================== */

.topbar-tienda {
    background: var(--rosa-alexa);
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    padding: 9px 0;
}


/* =====================================================
   HEADER
===================================================== */

.header-tienda {
    background: #ffffff;
    border-bottom: 1px solid var(--borde);
}


/* =====================================================
   HEADER PRINCIPAL
===================================================== */

.header-main {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* =====================================================
   LOGO
===================================================== */

.logo-tienda {
    display: flex;
    flex-direction: column;
    line-height: 1;
    min-width: 150px;
}

.logo-principal {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--oscuro);
}

.logo-secundario {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 5px;
    color: var(--rosa-alexa);
    margin-top: 5px;
}


/* =====================================================
   BUSCADOR
===================================================== */

.buscador-tienda {
    flex: 1;
    max-width: 380px;
    margin-left: auto;
}

.buscador-tienda form {
    position: relative;
}

.buscador-tienda i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 17px;
}

.buscador-tienda input {
    width: 100%;
    height: 40px;
    border: 1px solid #dbe0e7;
    border-radius: 7px;
    padding: 0 15px 0 40px;
    outline: none;
    font-size: 14px;
    color: var(--oscuro);
    transition: .2s ease;
}

.buscador-tienda input:focus {
    border-color: var(--rosa-alexa);
    box-shadow: 0 0 0 3px rgba(207, 102, 140, .10);
}


/* =====================================================
   ICONOS
===================================================== */

.acciones-tienda {
    display: flex;
    align-items: center;
    gap: 22px;
}

.accion-icono {
    position: relative;
    text-decoration: none;
    color: var(--oscuro);
    font-size: 21px;
    transition: .2s ease;
}

.accion-icono:hover {
    color: var(--rosa-alexa);
}

.contador-carrito {
    position: absolute;
    top: -8px;
    right: -9px;

    min-width: 17px;
    height: 17px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--rosa-alexa);
    color: #ffffff;

    font-size: 9px;
    font-weight: 700;
}


/* =====================================================
   NAVEGACIÓN
===================================================== */

.navbar-tienda {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #f0f1f3;
}


/* =====================================================
   CATEGORÍAS
===================================================== */

.categorias-menu {
    position: relative;
}

.btn-categorias {
    border: 0;
    background: transparent;
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 14px;
    font-weight: 600;
    color: var(--oscuro);
}

.btn-categorias i:last-child {
    font-size: 10px;
    margin-left: 3px;
}

.btn-categorias:hover {
    color: var(--rosa-alexa);
}

.categorias-dropdown {
    border: 1px solid var(--borde);
    border-radius: 6px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
    padding: 8px 0;
}

.categorias-dropdown .dropdown-item {
    padding: 9px 18px;
    font-size: 14px;
}

.categorias-dropdown .dropdown-item:hover {
    background: #fff4f7;
    color: var(--rosa-alexa);
}

.categoria-ofertas {
    color: var(--rosa-alexa);
    font-weight: 600;
}


/* =====================================================
   MENÚ PRINCIPAL
===================================================== */

.menu-principal {
    display: flex;
    align-items: center;
    gap: 35px;
}

.menu-link {
    position: relative;
    text-decoration: none;
    font-size: 14px;
    color: var(--oscuro);
    padding: 14px 0;
    transition: .2s ease;
}

.menu-link:hover {
    color: var(--rosa-alexa);
}

.menu-link.activo {
    color: var(--rosa-alexa);
    font-weight: 600;
}

.menu-link.activo::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--rosa-alexa);
}

/* =====================================================
   hero
===================================================== */


/* ==========================================
   HERO SLIDER
========================================== */

.hero-slider {
    width: 100%;
    overflow: hidden;
}


/* ==========================================
   HERO
========================================== */

.hero-section {
    width: 100%;
    padding: 40px 10px;
    background: #ffffff;
}

.hero-slide {
    position: relative;
    display: flex;
    min-height: 430px;
    background: #f3f6fa;
    overflow: hidden;
}


/* ==========================================
   CONTENIDO
========================================== */

.hero-content {
    width: 50%;
    padding: 65px 40px 65px 16%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.hero-eyebrow {
    margin-bottom: 25px;
    color: #385477;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: .3px;
}

.hero-content h1 {
    margin: 0 0 25px;
    color: #10182d;
    font-size: clamp(42px, 4vw, 64px);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -2px;
}

.hero-content p {
    max-width: 520px;
    margin-bottom: 30px;
    color: #60728a;
    font-size: 17px;
    line-height: 1.6;
}


/* ==========================================
   BOTÓN
========================================== */

.btn-hero {
    width: fit-content;
    padding: 14px 20px;
    border: 1px solid #10182d;
    border-radius: 4px;
    color: #10182d;
    background: transparent;
    text-decoration: none;
    font-size: 15px;
    transition: all .2s ease;
}

.btn-hero span {
    margin-left: 8px;
}

.btn-hero:hover {
    background: #10182d;
    color: #ffffff;
}


/* ==========================================
   IMAGEN
========================================== */

.hero-image {
    width: 50%;
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eef2f6;
}

.hero-image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #68798b;
    text-align: center;
}

.placeholder-icon {
    margin-bottom: 15px;
    font-size: 42px;
}

.hero-image-placeholder span {
    font-size: 16px;
}

.hero-image-placeholder small {
    margin-top: 8px;
    color: #8b98a7;
}


/* ==========================================
   INDICADORES
========================================== */

.hero-indicators {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.hero-indicators span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d6dce4;
}

.hero-indicators span.active {
    background: #182238;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 991px) {

    .hero-content {
        padding-left: 8%;
    }

}

@media (max-width: 767px) {

    .hero-section {
        padding: 20px 0;
    }

    .hero-slide {
        flex-direction: column;
    }

    .hero-content {
        width: 100%;
        padding: 50px 30px 30px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-image {
        width: 100%;
        min-height: 320px;
    }

}

@media (max-width: 480px) {

    .hero-content {
        padding: 40px 20px 25px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 15px;
    }

}



/* ==========================================
   CATEGORÍAS
========================================== */

.categories-section {
    padding: 75px 0 85px;
    background: #f8f9fb;
}

.categories-heading {
    margin-bottom: 45px;
}

.categories-heading h2 {
    margin-bottom: 8px;
    color: #10182d;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -.5px;
}

.categories-heading p {
    margin: 0;
    color: #718096;
    font-size: 15px;
}


/* ==========================================
   TARJETA
========================================== */

.category-card {
    min-height: 190px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    background: #ffffff;
    color: #10182d;
    text-align: center;
    text-decoration: none;

    transition: transform .2s ease,
                box-shadow .2s ease;
}

.category-card:hover {
    color: #10182d;
    transform: translateY(-4px);

    box-shadow: 0 10px 30px rgba(16, 24, 45, .07);
}


/* ==========================================
   ICONO
========================================== */

.category-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 38px;
}

.category-card h3 {
    margin: 0 0 6px;

    font-size: 18px;
    font-weight: 500;
}

.category-card span {
    color: #718096;
    font-size: 14px;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 767px) {

    .categories-section {
        padding: 55px 0;
    }

    .categories-heading h2 {
        font-size: 28px;
    }

    .category-card {
        min-height: 170px;
    }

}


/* ==========================================
   PRODUCTOS DESTACADOS
========================================== */



.featured-products {
    background: #ffffff;
}


/* ENCABEZADO */

.featured-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}

.section-eyebrow {
    display: block;
    margin-bottom: 8px;

    color: #d85c87;

    font-size: 12px;
    font-weight: 600;

    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-title {
    margin: 0;

    color: #11182d;

    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
}

.section-description {
    margin: 7px 0 0;

    color: #64748b;

    font-size: 14px;
    line-height: 1.5;
}


/* ENLACE VER COLECCIÓN */

.section-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    padding-bottom: 8px;

    color: #11182d;

    font-size: 13px;
    font-weight: 500;

    text-decoration: none;

    border-bottom: 1px solid #11182d;

    transition: all .2s ease;
}

.section-link span {
    font-size: 16px;
    line-height: 1;
}

.section-link:hover {
    color: #d85c87;
    border-color: #d85c87;
}


/* ==========================================
   TARJETA
========================================== */

.product-card {
    position: relative;
}


/* ==========================================
   IMAGEN
========================================== */

.product-image {
    position: relative;

    width: 100%;
    aspect-ratio: 1 / 1.18;

    overflow: hidden;

    background: #f1f4f8;
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform .45s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.035);
}


/* ==========================================
   ETIQUETA
========================================== */

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;

    z-index: 2;

    padding: 6px 9px;

    background: #ffffff;

    color: #11182d;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: .7px;
}

.product-badge-sale {
    color: #ffffff;
    background: #d85c87;
}


/* ==========================================
   FAVORITOS
========================================== */

.product-favorite {
    position: absolute;

    top: 11px;
    right: 11px;

    z-index: 2;

    width: 34px;
    height: 34px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 50%;

    background: #ffffff;

    color: #172033;

    font-size: 20px;
    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    transition: all .2s ease;
}

.product-favorite:hover {
    color: #d85c87;
    transform: scale(1.05);
}


/* ==========================================
   INFORMACIÓN
========================================== */

.product-info {
    padding-top: 13px;
}

.product-category {
    display: block;

    margin-bottom: 4px;

    color: #718096;

    font-size: 10px;
    font-weight: 500;

    text-transform: uppercase;
}

.product-name {
    margin: 0 0 5px;

    color: #11182d;

    font-size: 14px;
    font-weight: 500;

    line-height: 1.4;
}

.product-price {
    color: #11182d;

    font-size: 14px;
    font-weight: 700;
}

.product-price-sale {
    display: flex;
    align-items: center;
    gap: 7px;
}

.old-price {
    color: #9aa4b2;

    font-size: 13px;
    font-weight: 400;

    text-decoration: line-through;
}


/* ======================================
   PRODUCTOS POPULARES
======================================= */

.popular-products {
    background: #ffffff;
}


/* IMAGEN PRINCIPAL */

.popular-main-image {
    aspect-ratio: 1 / 1;
    background: #f1f4f8;
}

.popular-main-image img {
    object-fit: cover;
    display: block;
}


/* ENCABEZADO */

.popular-products .section-title {
    font-size: 28px;
    font-weight: 600;
    color: #101d35;
}


/* FLECHAS */

.popular-arrow {
    width: 40px;
    height: 40px;

    border: 1px solid #d5dce5;
    border-radius: 50%;

    background: #ffffff;
    color: #506176;

    font-size: 24px;
    line-height: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    transition: all 0.2s ease;
}

.popular-arrow:hover {
    background: #f5f7fa;
    border-color: #bfc9d6;
}


/* PRODUCTO */

.popular-product {
    min-height: 106px;

    padding: 12px 20px;

    background: #f1f4f8;

    border-radius: 6px;

    transition: transform 0.2s ease;
}

.popular-product:hover {
    transform: translateY(-2px);
}


/* IMAGEN DEL PRODUCTO */

.popular-product-image {
    width: 90px;
    height: 82px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-right: 22px;
}

.popular-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* INFORMACIÓN */

.popular-product-info {
    min-width: 0;
}

.popular-product-name {
    margin: 0 0 7px;

    font-size: 16px;
    font-weight: 500;

    color: #40516a;
}

.popular-product-price {
    font-size: 17px;
    font-weight: 700;

    color: #101d35;
}


/* TRANSICIÓN DEL CARRUSEL */

.popular-products .carousel-item {
    transition: transform 0.5s ease-in-out;
}


/* ======================================
   RESPONSIVE
======================================= */

@media (max-width: 991.98px) {

    .popular-main-image {
        margin-bottom: 10px;
    }

}


@media (max-width: 575.98px) {

    .popular-products .section-title {
        font-size: 23px;
    }

    .popular-product {
        padding: 10px 14px;
    }

    .popular-product-image {
        width: 75px;
        height: 70px;
        margin-right: 15px;
    }

    .popular-product-name {
        font-size: 14px;
    }

    .popular-product-price {
        font-size: 15px;
    }

    .popular-arrow {
        width: 36px;
        height: 36px;
    }

}


/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 767.98px) {

    .featured-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .section-title {
        font-size: 27px;
    }

    .section-link {
        margin-top: 2px;
    }

    .product-image {
        aspect-ratio: 1 / 1.15;
    }

}

/*------------------------------------------------*------*/

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 991px) {

    .header-main {
        flex-wrap: wrap;
        padding: 15px 0;
    }

    .buscador-tienda {
        order: 3;
        flex: 0 0 100%;
        max-width: none;
        margin-left: 0;
    }

    .navbar-tienda {
        flex-direction: column;
        align-items: stretch;
        padding: 5px 0 12px;
    }

    .categorias-menu {
        margin-bottom: 5px;
    }

    .menu-principal {
        justify-content: center;
        gap: 25px;
        flex-wrap: wrap;
    }

}


@media (max-width: 576px) {

    .topbar-tienda {
        font-size: 11px;
    }

    .logo-tienda {
        min-width: auto;
    }

    .logo-principal {
        font-size: 16px;
    }

    .logo-secundario {
        font-size: 9px;
        letter-spacing: 4px;
    }

    .acciones-tienda {
        gap: 15px;
    }

    .accion-icono {
        font-size: 19px;
    }

    .menu-principal {
        gap: 18px;
    }

    .menu-link {
        font-size: 13px;
    }

}