/* MARKET TOGGLE */
/* MARKET TOGGLE */
.market-visual {
    position: relative;
    width: 100%;
    height: 400px;
    /* mismo alto que la imagen */
}

.market-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: opacity 0.5s ease, transform 0.5s ease;
    z-index: 2;
}

.market-visual .market-img.hidden,
.market-visual .market-img.hidden.visible {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: scale(0.92) !important;
    pointer-events: none !important;
}

.market-visual .market-img.hidden.animate-right.visible {
    opacity: 0 !important;
}

.market-options {

    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.market-options.active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 3;
}

.market-option {
    text-align: center;
    animation: optionIn 0.6s ease both;
}

.market-option img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 10px;
}

.market-option p {
    gap: 10;
    font-size: 16px;
    color: #444;
}

@keyframes optionIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}






@media (max-width: 768px) {


    .market-visual {
        width: 100%;
        aspect-ratio: 4 / 5;
        /* 1080 × 1350 */
        height: auto;
        /* CLAVE */
    }

    .market-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .market-options {
        grid-template-columns: 1fr;
        padding: 12px;
        gap: 16px;
    }

    .market-option img {
        height: 200px;
    }

    .market-options.active {
        position: relative;
    }
}

/* ===============================
   TIENDA SCOPE FIX
   Todo lo específico de tienda
   va bajo .shop-page
=============================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* font-family: Arial, sans-serif; */
    font-family: 'Work Sans', sans-serif;

}


html {
    scroll-behavior: smooth;
}

body {
    background: #f4f4f4;
    color: #333;
    overflow-x: hidden;
}

.container {
    padding: 60px 5%;
    margin: 0 auto;
}

#inicio {
    padding-top: 60px;

}

.v-divider {
    width: 1px;
    height: 28px;
    background: rgba(0, 0, 0, .15);
    margin: 0 16px;
}

.user-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-btn svg {
    width: 26px;
    height: 26px;
    fill: #333;
    /* ajusta color */
    transition: transform 0.2s ease, fill 0.2s ease;
}

.user-btn:hover svg {
    transform: scale(1.1);
    fill: #000;
}


/* ===============================
   HEADER – SOLO MAIN PAGE
=============================== */

.main-page header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    padding: 18px 24px;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    /* backdrop-filter: blur(40px);
    background: rgba(255, 255, 255, 0.784); */
    backdrop-filter: blur(48px);
    /* background: rgba(89, 70, 255, 0.746); */
    background: rgba(255, 255, 255, 0.746);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
}

.main-page .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    /* font-family: 'Segoe UI', sans-serif; */
}

.logo-questions {

    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 1px;
    justify-content: center;
}

.logo-questions img {
    max-width: 100%;
    height: 100px;
}

.main-page .logo img {
    height: 50px;
}

.main-page header nav {
    font-size: 1.15rem;
    /* prueba 0.95 – 1.05 */

    display: flex;
    /* gap: 28px; */
}

/* .nav-link {
    position: relative;
    padding-left: 14px;
} */

.nav-link.active {
    text-decoration: none;
    color: #ff6e40;
    text-decoration-thickness: 3px;
    text-underline-offset: 6px;
    text-decoration-color: #ff6e40;
}

/* .nav-link {
    position: relative;
} */

/* .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 65%;            
    height: 3px;
    background: #0f224b;
    border-radius: 2px;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
} */

/* .nav-link.active::after,
.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
} */
.main-page header nav a {
    padding: 0 18px;

    text-decoration: none;
    color: #222;
    font-weight: 600;
    transition: 0.3s;
}

.main-page header nav a:hover {
    color: #ff6e40;
}

.main-page .menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.main-page .menu-toggle span {
    width: 25px;
    height: 3px;
    background: #222;
    border-radius: 3px;
    transition: 0.3s;
}

/* HEADER CAROUSEL BACKGROUND */
/* .header-bg {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 80%;
    z-index: -1;
    overflow: hidden;
} */

/* NUEVO BLOQUE para header-bg (recorte y altura menor) */
.header-bg {
    width: 100vw;
    aspect-ratio: 16 / 5;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    z-index: 1;
}

/* Slides */
.header-bg picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.8s ease;
}

.header-bg picture.active {
    opacity: 1;
    pointer-events: auto;
}

.header-bg picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}




/* WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    inset: auto 16px 16px auto;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    animation: whatsapp-bounce 2s infinite;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

/* Animación tipo brinco */
@keyframes whatsapp-bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}


/* Flechas */





/* HERO */
.hero {
    position: relative;
    /* padding: 0; */
    /* margin: 0; */
    width: 100vw;

}

.hero-cta-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
}



.header-bg {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 15px;
    animation: fadeInUp 1.8s ease both;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    animation: fadeInUp 2.1s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* SECTIONS */
.section {
    padding: 60px 10%;
    animation: fadeInUp 1.2s ease both;
}

/* FEATURED PRODUCTS BACKGROUND – BALANCED */
#featured-products {
    /*background: #ffefd6;  naranja claro llamativo pero limpio */
    background: #eeeeee;
    /* naranja claro llamativo pero limpio */
    padding: 40px 10% 52px 10%;
    border-radius: 0;
    margin: 0;
}

.section-title {
    text-align: center;
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
    color: #111;
}

.sub {
    text-align: center;
    margin-bottom: 48px;
    font-size: 1.25rem;
    font-weight: 500;
    color: #555;
}

/* PRODUCT GRID */
.products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px 40px;
}

.card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    cursor: pointer;
    position: relative;
    animation: fadeInUp 1.3s ease both;
}

.card:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card .content {
    padding: 20px;
}

.card h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 20px;
}

/* FEATURES */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.feature {
    background: white;
    padding: 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    animation: fadeInUp 1.3s ease both;
}

.feature:hover {
    transform: scale(1.05);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #ff6e40;
}

/* MARKET */
.market {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

.market-text {
    flex: 0 1 auto;
    max-width: 450px;
}

.market-img {
    flex: 1;
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(6px);
    padding: 20px;
    z-index: 2000;
}

.modal-content {
    width: 90%;
    max-width: 600px;
    background: white;
    padding: 30px;
    border-radius: 20px;
    animation: heroZoom 0.5s ease;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes heroZoom {
    from {
        transform: scale(0.6);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-btn {
    float: right;
    cursor: pointer;
    font-size: 1.5rem;
}

.solicitar-btn {
    float: right;
    cursor: pointer;
    font-size: 1.1rem;
}

/* FAQ SECTION */
.faq-section {
    padding: 40px 20px;
    background-color: #f5f0e8;
}

.faq-container {
    padding: 80px 20%;
    max-width: 1200px 9;
    margin: 0 auto;
}

.faq-title {
    font-size: 45px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 60px;
    color: #000;
}

.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.faq-item {
    background-color: #f8f5f0;
    padding: 50px 60px;
    border-radius: 30px;
    opacity: 0;
    transform: translateY(20px);
}

.faq-item.visible {
    animation: fadeInUp 0.6s ease forwards;
}

.faq-item h3 {
    font-size: 36px;
    font-weight: bold;
    margin: 0 0 25px 0;
    color: #2d2d2d;
}

.faq-item p {
    font-size: 20px;
    color: #2d2d2d;
    margin: 0;
    line-height: 1.6;
}




/* FEATURES GRID */
.features-section {
    padding: 80px 20px;
    background-color: #fff;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 48px;
}


.feature-item.visible {
    animation: fadeInUp 0.6s ease forwards;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    opacity: 0;
    overflow: hidden;

    transform: translateY(30px);
}

.feature-item img {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
    flex-shrink: 0;
}

.feature-item>div {
    max-width: 100%;
}

.feature-item p {
    max-width: 520px;
    /* controla el largo de línea */
}

.feature-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
}

.feature-item p {
    font-size: 15.5px;
    line-height: 1.5;
    color: #555;
}


/* OPINIONS */

.opiniones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
    margin-top: 40px;
}

/* Opinion Cards */
.opinion-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.opinion-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .15);
}

.opinion-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.opinion-stars {
    color: #ff6e40;
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 80px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    min-width: 150px;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #ff6e40;
}

.stat-label {
    font-size: 1.2rem;
    font-weight: 600;
}

/* SOCIAL ICONS */
.social-icons {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* CONTACT FORM */
.contact-section {
    background-color: #f7eedf;
    padding: 60px 20px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.contact-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #2d2d2d;
}

.contact-subtitle {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #2d2d2d;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto 80px auto;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-input {
    flex: 1;
    padding: 18px 24px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    background-color: #f8f5f0;
}

.form-textarea {
    width: 100%;
    padding: 18px 24px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    background-color: #f8f5f0;
    resize: none;
    margin-bottom: 30px;
    box-sizing: border-box;
}

/* RESPONSIVE STYLES */
@media (max-width: 1024px) {



    #inicio {
        padding-top: 0px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .market {
        flex-direction: column;
    }

    .market-text {
        max-width: 100%;
    }

    .market-img {
        height: 300px;
    }

    .faq-title {
        font-size: 48px;
    }

    .faq-item {
        padding: 40px 40px;
    }

    .faq-item h3 {
        font-size: 32px;
    }

    .faq-item p {
        font-size: 18px;
    }

    .contact-title {
        font-size: 36px;
    }

    .contact-subtitle {
        font-size: 22px;
    }
}


@media (min-width: 1600px) {
    .header-bg {
        max-height: 600px;
    }
}

@media (max-width: 768px) {
    .hero {
        margin-top: 40px; /* efecto “un <br> visual” */
    }

    .header-bg {
        aspect-ratio: 4 / 3;
        height: auto;
    }

    .header-bg>img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .main-page header {
        padding: 15px 20px;
    }




    .main-page .logo {
        font-size: 1.4rem;
    }

    .main-page .logo img {
        width: 30px;
        height: 30px;
    }

    .main-page header nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transition: 0.3s;
        gap: 0;
    }

    .main-page header nav.active {
        left: 0;
    }

    .main-page header nav a {
        padding: 15px;
        border-bottom: 1px solid #eee;
    }

    .main-page .menu-toggle {
        display: flex;
    }

    .main-page .header-cta {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section {
        padding: 60px 5%;
    }

    .section-title {
        font-size: 2.4rem;
    }

    .sub {
        font-size: 1.05rem;
        margin-bottom: 36px;
    }

    .products {
        grid-template-columns: 1fr;
    }

    .features {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .feature {
        padding: 20px;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .faq-title {
        font-size: 36px;
    }

    .faq-item {
        padding: 30px 25px;
    }

    .faq-item h3 {
        font-size: 28px;
    }

    .faq-item p {
        font-size: 18px;
    }

    .opiniones-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stats {
        gap: 40px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 1rem;
    }

    .contact-title {
        font-size: 32px;
    }

    .contact-subtitle {
        font-size: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .modal-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }



    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .btn-primary {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .faq-title {
        font-size: 28px;
    }

    .faq-item h3 {
        font-size: 24px;
    }

    .faq-item p {
        font-size: 16px;
    }

    .contact-title {
        font-size: 28px;
    }

    .contact-subtitle {
        font-size: 18px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .feature-item img {
        width: 100px;
        height: 100px;
    }

    .feature-item h3 {
        font-size: 20px;
    }

    .feature-item p {
        font-size: 14px;
    }

}

/* PRODUCT CARD PREMIUM */
.product-card {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.25s ease-out, box-shadow 0.25s ease-out;
    --tilt-x: 0deg;
    --tilt-y: 0deg;
}

.product-card:hover {
    transform: translateY(-18px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
}

/* IMAGE */
.product-image {
    padding: 18px;
    /* background: #fafafa; */
}

.product-image img {
    width: 100%;
    height: 160px;
    /* CONTROL REAL DEL TAMAÑO */
    object-fit: contain;
    /* CLAVE: no se “agranda” */
}

/* BODY */
.product-body {
    padding: 20px 22px 24px;
}

.product-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 6px;
}

/* RATING */
.rating {
    font-size: 0.95rem;
    color: #ffb400;
    margin-bottom: 8px;
}

.rating span {
    color: #777;
    font-size: 0.85rem;
    margin-left: 4px;
}

/* DESCRIPTION */
.product-body .desc {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 16px;
    line-height: 1.4;
}

/* FOOTER */
.product-footer {
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* PRICE */
.price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ff6e40;
}

/* BADGE */
.badge {
    background: rgba(255, 110, 64, 0.12);
    color: #ff6e40;
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 600;
}

/* PRODUCT FOOTER */
.product-footer .btn-detalle {
    padding: 6px 14px;
    font-size: 0.8rem;
    border-radius: 20px;
    white-space: nowrap;
}

/* BASE (estado inicial oculto) */
.animate-left,
.animate-right {
    opacity: 0;
    transition: all 0.8s ease-out;
    will-change: transform, opacity;
}

/* Direcciones */
.animate-left {
    transform: translateX(-80px);
}

.animate-right {
    transform: translateX(80px);
}

/* ACTIVO (cuando entra en viewport) */
.animate-left.visible,
.animate-right.visible {
    opacity: 1;
    transform: translateX(0);
}


.shop-page .search-box {
    position: relative;
}

.shop-page .search-box input {
    width: 100%;
    padding: 12px 44px 12px 14px;
    border-radius: 10px;
    border: none;
    outline: none;
    font-size: 14px;
}

.shop-page .search-box::after {
    content: "🔍";
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    opacity: .6;
}

.shop-page .cart-btn {
    justify-self: end;
    background: #ff9800;
    border: none;
    padding: 12px 18px;
    border-radius: 28px;
    cursor: pointer;
    font-weight: 600;
    transition: transform .2s ease, box-shadow .2s ease;
}

.shop-page .cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .25);
}

.shop-page .categories {
    display: flex;
    gap: 10px;
    padding: 12px 0 16px;
    overflow-x: auto;
}

.shop-page .category {
    background: rgba(255, 255, 255, .15);
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}

.shop-page .category.active,
.shop-page .category:hover {
    background: #ff9800;
    color: #000;
}

.shop-page main {
    margin: 28px auto;
    max-width: 1280px;
    padding: 0 16px;
}

.shop-page .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
    align-items: stretch;
}

.shop-page .product {
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .08);
    transition: transform .25s ease, box-shadow .25s ease;
}

.shop-page .product:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .15);
}

.shop-page .product img {
    width: 100%;
    height: 160px;
    object-fit: contain;
    margin-bottom: 10px;
}

.shop-page .product h3 {
    font-size: 15px;
    margin: 6px 0;
    font-weight: 600;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
}

.footer-contact-item svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    flex-shrink: 0;
}

/* .shop-page .product button {
    margin-top: auto;
    background: #0d47a1;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: background .2s ease;
}

.shop-page .product button:hover {
    background: #08306b;
} */

/* CART OVERLAY */
.shop-page .cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    display: none;
    z-index: 999;
}

/* CART MODAL */
.shop-page .cart-modal {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 100%;
    height: 100%;
    background: #fff;
    padding: 18px;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 1000;
}

.shop-page .cart-modal.open {
    transform: translateX(0);
}

.shop-page .cart-item {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    gap: 10px;
    margin-bottom: 12px;
    align-items: center;
}

.shop-page .cart-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.shop-page .cart-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.shop-page .cart-controls button {
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 6px;
    background: #e5e7eb;
    cursor: pointer;
    font-weight: 700;
}

.shop-page .cart-controls button:hover {
    background: #d1d5db;
}

.shop-page .remove-btn {
    background: transparent;
    color: #dc2626;
    font-size: 13px;
    cursor: pointer;
    border: none;
}

.shop-page .cart-footer {
    margin-top: 16px;
    border-top: 1px solid #eee;
    padding-top: 14px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .shop-page .top-bar {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .shop-page .cart-btn {
        justify-self: start;
        width: 100%;
    }
}

/* =========================
   AMAZON STYLE HEADER
========================= */

.shop-header {
    background: #131921;
    color: #fff;
}

/* LINEA SUPERIOR */
.header-top {
    display: grid;
    grid-template-columns: auto 160px 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 12px 20px;
}

.header-top .logo {
    font-weight: 800;
    font-size: 1.2rem;
    white-space: nowrap;
}

.category-select {
    padding: 10px;
    border-radius: 6px;
    border: none;
}

.header-search input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
    border: none;
}

.user-btn {
    background: #f5f5f5;
    border-radius: 50%;
    color: #fff;
    font-weight: 600;
}


.cart-btn {
    background: #f90;
    color: #000;
}

/* LINEA CATEGORIAS */
.header-bottom {
    background: #232f3e;
    padding: 8px 20px;
}

/* BRAND LOGO – TEXTO PREMIUM */
.brand-logo {
    font-size: 2rem;
    /* prueba 1.8 – 2.2 */
    font-weight: 1200;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: #ffffff;
    text-decoration: none;
    position: relative;
}

/* .brand-logo::after {
    content: "";
    display: block;
    height: 3px;
    width: 28px;
    background: #ff9800;
    margin-top: 4px;
    border-radius: 2px;
} */

/* LOGIN LINK – TEXTO PRO */
.login-link {
    background: transparent;
    color: #ffffff;
    font-weight: 600;
    padding: 6px 4px;
    border-radius: 0;
    box-shadow: none;
    text-transform: none;
}

.login-link:hover {
    background: transparent;
    color: #ff9800;
    text-decoration: underline;
    transform: none;
    box-shadow: none;
}

/* =========================
   PROMO CAROUSEL
========================= */

.promo-carousel {
    width: 100%;
    height: 260px;
    position: relative;
    overflow: hidden;

}

.promo-carousel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .8s ease;

}

.promo-carousel img.active {
    opacity: 1;

}

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

@media (max-width: 900px) {
    .header-top {
        grid-template-columns: 1fr;
    }

    .category-select,
    .user-btn,
    .cart-btn {
        width: 100%;
    }

    .promo-carousel {
        height: 180px;
    }
}


/* =========================
   BOTÓN MATERIAL NARANJA – GLOBAL
========================= */

.btn-primary,
button,
a.btn-primary,
a[role="button"] {
    background-color: #ff9800;
    color: #000;
    border: none;
    border-radius: 28px;
    padding: 12px 22px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
    transition: background-color .2s ease,
        box-shadow .2s ease,
        transform .1s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-primary:hover,
button:hover,
a.btn-primary:hover,
a[role="button"]:hover {
    background-color: #fb8c00;
    box-shadow: 0 4px 10px rgba(0, 0, 0, .3);
    transform: translateY(-1px);
    text-decoration: none;
}

.btn-primary:active,
button:active,
a.btn-primary:active,
a[role="button"]:active {
    background-color: #f57c00;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
    transform: translateY(0);
}

/* =========================
   CAROUSEL DOTS INFERIORES
========================= */
/* Dots */
.carousel-previews {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 30;
    pointer-events: auto;
}


.carousel-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.55);
    cursor: pointer;
    padding: 0;
    transition: transform .25s ease, background .25s ease;
}

.carousel-dot:hover {
    transform: scale(1.25);
}

.carousel-dot.active {
    background: #ff9800;
    transform: scale(1.35);
}

/* =========================
   FOOTER LANDING PAGE
========================= */

.landing-footer {
    background: #111;
    color: #eee;
    padding: 80px 10% 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-logo {

    height: 46px;
    margin-bottom: 18px;
}

.footer-desc {
    font-size: 16.5px;
    line-height: 1.7;
    color: #ccc;
}

.footer-col h4 {
    font-size: 20px;

    margin-bottom: 18px;
    color: #fff;
}

.footer-col a {
    display: block;
    margin-bottom: 12px;
    color: #bbb;
    text-decoration: none;
    font-size: 16.5px;
    transition: color .2s ease;
}

.footer-col a:hover {
    color: #ff9800;
}

.footer-col p {
    font-size: 16.5px;
    margin-bottom: 12px;
    color: #bbb;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}

.footer-social a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #9ca3af;
    text-decoration: none;
    font-size: 16.5px;
}

.footer-col .footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    /* 👈 importante */
    gap: 0px;
}

.footer-col .footer-social svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    flex-shrink: 0;
}


.footer-social svg {
    width: 36px;
    height: 36px;
    fill: currentColor;
    /* CLAVE */
    transition: color .2s ease;
}

.footer-social a:hover {
    color: #d1d5db;
    /* un poco más claro, nada más */
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 24px;
    text-align: center;
    font-size: 15.5px;
    color: #999;
}


@media (max-width: 768px) {
    .landing-footer {
        padding: 60px 6% 30px;
    }
}

/* =========================
   LOGIN MODAL
========================= */

.login-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 3000;
}

.login-modal.active {
    display: block;
}

.login-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .55);
    backdrop-filter: blur(6px);
}

.login-dialog {
    position: relative;
    background: #fff;
    width: 100%;
    max-width: 420px;
    margin: 10vh auto;
    padding: 32px 28px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
    animation: loginPop .35s ease;
}

@keyframes loginPop {
    from {
        transform: scale(.85);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.login-dialog h2 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 26px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.login-form input {
    padding: 14px 18px;
    border-radius: 24px;
    border: none;
    background: #f4f4f4;
    font-size: 15px;
}

.login-form button {
    margin-top: 10px;
}

.login-close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: none;
    background: none;
    font-size: 26px;
    cursor: pointer;
    line-height: 1;
}

@media (max-width: 480px) {
    .login-dialog {
        margin: 12vh 16px;
        padding: 26px 20px;
    }
}