﻿/* =========================================================
   MAGICPLAST - SITE.CSS LIMPIO
   Versión consolidada: 2026-08
   ========================================================= */

:root {
    --magic-red: #ed1c24;
    --magic-red-dark: #c81018;
    --magic-black: #171717;
    --magic-gray: #5f5f5f;
    --magic-light: #f8f5f3;
    --magic-border: #e9e9e9;
}

html {
    width: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    margin: 0;
    padding: 0;
    color: var(--magic-black);
    background: #fff;
    font-family: Arial, Helvetica, sans-serif;
}

form {
    width: 100%;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* =========================================================
   HEADER / NAVEGACIÓN
   ========================================================= */

.main-header {
    position: relative;
    z-index: 1000;
    width: 100%;
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid #eee;
}

.navbar {
    min-height: 88px;
    padding: 4px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    margin-right: 35px;
    padding: 0;
}

.brand-logo {
    display: block;
    width: 190px;
    height: auto;
    max-height: 88px;
    object-fit: contain;
}

.navbar-nav {
    align-items: center;
    gap: 4px;
}

.main-header .navbar-nav .nav-link {
    position: relative;
    padding: 28px 11px !important;
    color: var(--magic-black);
    font-size: 14px;
    font-weight: 500;
    transition: color .25s ease;
}

    .main-header .navbar-nav .nav-link:hover,
    .main-header .navbar-nav .nav-link.active {
        color: var(--magic-red);
    }

    .main-header .navbar-nav .nav-link.active {
        font-weight: 600;
    }

        .main-header .navbar-nav .nav-link.active::after {
            content: "";
            position: absolute;
            left: 50%;
            bottom: 2px;
            width: 30px;
            height: 2px;
            border-radius: 10px;
            background: var(--magic-red);
            transform: translateX(-50%);
        }

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-icon,
.whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    transition: all .2s ease;
}

.header-icon {
    color: #222;
    background: transparent;
    font-size: 20px;
}

    .header-icon:hover {
        color: var(--magic-red);
        background: #f5f5f5;
    }

.whatsapp-button {
    color: #fff;
    background: var(--magic-red);
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(237,28,36,.25);
}

    .whatsapp-button:hover {
        color: #fff;
        background: var(--magic-red-dark);
        transform: translateY(-2px);
    }

/* =========================================================
   BOTONES GENERALES
   ========================================================= */

.btn-primary-magic,
.btn-outline-magic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 54px;
    padding: 14px 26px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    transition: all .25s ease;
}

.btn-primary-magic {
    border: 2px solid var(--magic-red);
    color: #fff;
    background: var(--magic-red);
    box-shadow: 0 12px 28px rgba(237,28,36,.24);
}

    .btn-primary-magic:hover {
        border-color: var(--magic-red-dark);
        color: #fff;
        background: var(--magic-red-dark);
        transform: translateY(-3px);
    }

.btn-outline-magic {
    border: 2px solid #222;
    color: #222;
    background: transparent;
}

    .btn-outline-magic:hover {
        color: #fff;
        background: #222;
        transform: translateY(-3px);
    }

/* =========================================================
   HOME - HERO AMBIENTAL MAGICPLAST
   ========================================================= */

.home-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: radial-gradient( circle at 18% 28%, rgba(237, 28, 36, .055) 0%, rgba(237, 28, 36, .025) 24%, transparent 45% ), linear-gradient( 110deg, #fffafa 0%, #ffffff 42%, #ffffff 100% );
}

    .home-hero::before {
        content: "";
        position: absolute;
        top: 90px;
        left: 285px;
        width: 270px;
        height: 270px;
        border-radius: 50%;
        background: rgba(255, 238, 236, .65);
        z-index: 0;
        pointer-events: none;
    }

    .home-hero::after {
        content: "";
        position: absolute;
        left: 65px;
        bottom: 55px;
        width: 95px;
        height: 95px;
        border: 18px solid rgba(237, 28, 36, .045);
        border-radius: 50%;
        z-index: 0;
        pointer-events: none;
    }

.home-hero-slide {
    position: relative;
    min-height: clamp(590px, 73vh, 735px);
    overflow: hidden;
}

.home-hero .home-hero-images {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: 74%;
    height: 100%;
    overflow: hidden;
    background: #f7f5f4;
    z-index: 1;
}

.home-hero .ambient-slide {
    position: absolute;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    transition: opacity .70s ease, visibility .70s ease;
}

    .home-hero .ambient-slide.active {
        visibility: visible;
        opacity: 1;
    }

    .home-hero .ambient-slide img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
        object-position: 43% center;
    }

.home-hero .home-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient( 90deg, rgba(255,250,249,1) 0%, rgba(255,250,249,.99) 17%, rgba(255,255,255,.94) 25%, rgba(255,255,255,.70) 33%, rgba(255,255,255,.32) 41%, rgba(255,255,255,.08) 49%, rgba(255,255,255,0) 58% );
}

.home-hero .home-hero-container {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    min-height: clamp(590px, 73vh, 735px);
}

.home-hero .home-hero-content {
    width: min(500px, 36%);
    padding: 50px 20px 50px 0;
}

.home-kicker {
    display: block;
    margin-bottom: 18px;
    color: var(--magic-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
}

.home-hero-content h1 {
    max-width: 470px;
    margin: 0;
    color: var(--magic-black);
    font-size: clamp(42px, 3.7vw, 62px);
    font-weight: 650;
    line-height: 1.03;
    letter-spacing: -2px;
}

    .home-hero-content h1 strong {
        color: var(--magic-red);
        font-weight: 800;
    }

#ambientTitle {
    display: inline;
}

#ambientTitleAccent {
    color: var(--magic-red);
    font-size: .88em;
    font-weight: 800;
    line-height: 1.02;
}

.home-title-line {
    width: 55px;
    height: 3px;
    margin: 28px 0;
    border-radius: 10px;
    background: var(--magic-red);
}

#ambientDescription {
    max-width: 420px;
    margin: 0 0 30px;
    color: #555;
    font-size: clamp(15px, 1.05vw, 17px);
    line-height: 1.6;
}

#ambientTitle,
#ambientTitleAccent,
#ambientDescription {
    transition: opacity .22s ease, transform .22s ease;
}

.ambient-text-changing {
    opacity: 0;
    transform: translateY(6px);
}

.home-main-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 25px;
    border-radius: 30px;
    color: #fff;
    background: var(--magic-red);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 12px 25px rgba(237,28,36,.20);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .home-main-button:hover {
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 17px 30px rgba(237,28,36,.28);
    }

.home-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 40px;
}

.home-benefit {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

    .home-benefit > i {
        color: var(--magic-red);
        font-size: 22px;
    }

    .home-benefit strong,
    .home-benefit span {
        display: block;
    }

    .home-benefit strong {
        color: #252525;
        font-size: 12px;
        font-weight: 800;
    }

    .home-benefit span {
        max-width: 95px;
        margin-top: 2px;
        color: #666;
        font-size: 11px;
        line-height: 1.35;
    }

.home-slider-arrow {
    position: absolute;
    top: 50%;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #222;
    background: rgba(255,255,255,.94);
    box-shadow: 0 7px 25px rgba(0,0,0,.08);
    transform: translateY(-50%);
    cursor: pointer;
    transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

    .home-slider-arrow:hover {
        color: #fff;
        background: var(--magic-red);
        box-shadow: 0 10px 28px rgba(0,0,0,.13);
    }

.home-slider-prev {
    left: 20px;
}

.home-slider-next {
    right: 20px;
}

.home-slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateX(-50%);
}

    .home-slider-dots .ambient-dot {
        width: 9px;
        height: 9px;
        padding: 0;
        border: 0;
        border-radius: 20px;
        background: rgba(0,0,0,.22);
        cursor: pointer;
        transition: width .25s ease, background .25s ease;
    }

        .home-slider-dots .ambient-dot.active {
            width: 23px;
            background: var(--magic-red);
        }

/* =========================================================
   HOME - COLECCIONES
   ========================================================= */

.home-collections {
    padding: clamp(65px, 7vw, 100px) 0 clamp(75px, 8vw, 120px);
    background: #fff;
}

    .home-collections .container {
        width: calc(100% - 60px);
        max-width: 1400px;
    }

.home-section-heading {
    max-width: 700px;
    margin: 0 auto 45px;
    text-align: center;
}

    .home-section-heading > span {
        color: var(--magic-red);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 2px;
    }

    .home-section-heading h2 {
        margin: 8px 0 10px;
        color: var(--magic-black);
        font-size: clamp(34px, 4vw, 50px);
        font-weight: 720;
        letter-spacing: -1.6px;
    }

    .home-section-heading p {
        margin: 0;
        color: #666;
        font-size: 15px;
    }

.home-collection-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.home-collection-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    min-height: 300px;
    overflow: hidden;
    border: 1px solid #ededed;
    border-radius: 26px;
    color: var(--magic-black);
    background: linear-gradient(140deg, #fff 0%, #fff8f6 100%);
    transition: transform .35s ease, box-shadow .35s ease;
}

    .home-collection-card:hover {
        color: var(--magic-black);
        transform: translateY(-6px);
        box-shadow: 0 20px 45px rgba(0,0,0,.09);
    }

.home-collection-photo {
    min-width: 0;
    overflow: hidden;
}

    .home-collection-photo img {
        display: block;
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
        object-position: center;
        transition: transform .5s ease;
    }

.home-collection-card:hover .home-collection-photo img {
    transform: scale(1.035);
}

.home-collection-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px 22px;
}

    .home-collection-info > span {
        margin-bottom: 8px;
        color: var(--magic-red);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 1.2px;
    }

    .home-collection-info h3 {
        margin: 0 0 15px;
        color: var(--magic-black);
        font-size: clamp(20px, 1.6vw, 26px);
        font-weight: 750;
        line-height: 1.08;
        letter-spacing: -.7px;
    }

    .home-collection-info p {
        margin: 0 0 24px;
        color: #676767;
        font-size: 12.5px;
        line-height: 1.6;
    }

.collection-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    color: var(--magic-red);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

/* Tarjeta Jardín */

.home-collection-card.garden-card {
    grid-template-columns: 1.25fr .75fr;
}

.garden-photo {
    position: relative;
    overflow: hidden;
    background: #fff8f6;
}

    .garden-photo .garden-card-image {
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: cover;
        object-position: 30% center;
        transform: scale(.93);
        transition: transform .5s ease;
    }

.garden-card:hover .garden-card-image {
    transform: scale(.96);
}

/* =========================================================
   MODELOS DESTACADOS
   ========================================================= */

.featured-models {
    padding: 95px 0;
    background: #fff;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 48px;
}

    .section-heading span {
        color: var(--magic-red);
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 1.3px;
        text-transform: uppercase;
    }

    .section-heading h2 {
        margin: 10px 0 15px;
        font-size: clamp(35px, 4vw, 52px);
        font-weight: 750;
        letter-spacing: -1.7px;
    }

    .section-heading p {
        color: #666;
        font-size: 17px;
    }

.model-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid #eee;
    border-radius: 23px;
    background: #fff;
    transition: all .3s ease;
}

    .model-card:hover {
        border-color: transparent;
        box-shadow: 0 20px 48px rgba(0,0,0,.12);
        transform: translateY(-8px);
    }

.model-image-area {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 370px;
    padding: 25px 20px 0;
    background: linear-gradient(145deg, #fbfbfb, #f5eeeb);
}

    .model-image-area img {
        display: block;
        width: auto;
        max-width: 100%;
        max-height: 340px;
        object-fit: contain;
        filter: drop-shadow(0 18px 16px rgba(0,0,0,.17));
        transition: transform .3s ease;
    }

.model-card:hover .model-image-area img {
    transform: scale(1.04);
}

.model-card-body {
    padding: 24px;
}

    .model-card-body span {
        color: var(--magic-red);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .model-card-body h3 {
        min-height: 52px;
        margin: 8px 0 16px;
        color: #222;
        font-size: 19px;
        font-weight: 750;
        line-height: 1.35;
    }

    .model-card-body a {
        color: var(--magic-red);
        font-size: 13px;
        font-weight: 800;
    }

/* =========================================================
   FAMILIAS DE CÓMODAS
   ========================================================= */

.families-hero {
    padding: 45px 0 35px;
    background: radial-gradient(circle at 85% 30%, rgba(237,28,36,.06), transparent 28%), linear-gradient(120deg, #fff 0%, #fff 55%, #faf4f2 100%);
}

    .families-hero .container {
        max-width: 1180px;
    }

.families-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--magic-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.families-hero h1 {
    max-width: 600px;
    margin: 0;
    font-size: clamp(40px, 4vw, 56px);
    font-weight: 300;
    line-height: 1.03;
    letter-spacing: -2px;
}

    .families-hero h1 strong {
        display: block;
        color: var(--magic-red);
        font-weight: 800;
    }

.families-hero p {
    max-width: 620px;
    margin-top: 15px;
    color: #5f5f5f;
    font-size: 15px;
    line-height: 1.6;
}

.families-section {
    padding: 30px 0 80px;
    background: #fff;
}

    .families-section .container {
        max-width: 1380px;
        padding-left: 25px;
        padding-right: 25px;
    }

.families-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    align-items: start;
}

.family-card,
.family-card-large,
.family-card-medium,
.family-card-designs {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    min-height: 440px;
    border-radius: 25px;
    color: var(--magic-black);
    background: linear-gradient(145deg, #fffafa 0%, #f8ece8 100%);
    box-shadow: 0 10px 28px rgba(0,0,0,.05);
    transition: transform .35s ease, box-shadow .35s ease;
}

.family-card-designs {
    min-height: 430px;
}

    .family-card:hover,
    .family-card-designs:hover {
        color: var(--magic-black);
        transform: translateY(-6px);
        box-shadow: 0 20px 45px rgba(0,0,0,.11);
    }

.family-offset-down {
    margin-top: 18px;
}

.family-offset-up {
    margin-top: -8px;
}

.family-image,
.design-images {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.family-image {
    width: 100%;
    height: 290px;
    padding: 15px;
}

    .family-image::before {
        content: "";
        position: absolute;
        top: 25px;
        right: 20px;
        width: 145px;
        height: 145px;
        border-radius: 50%;
        background: rgba(255,255,255,.72);
    }

    .family-image::after {
        content: "";
        position: absolute;
        bottom: 15px;
        left: 20px;
        width: 62px;
        height: 62px;
        border: 11px solid rgba(237,28,36,.06);
        border-radius: 50%;
    }

    .family-image img {
        position: relative;
        z-index: 2;
        display: block;
        width: auto;
        height: auto;
        max-width: 96%;
        max-height: 270px;
        object-fit: contain;
        filter: drop-shadow(0 16px 14px rgba(0,0,0,.17));
        transition: transform .35s ease;
    }

.family-card:hover .family-image img {
    transform: translateY(-5px) scale(1.035);
}

.design-images {
    height: 275px;
    padding: 18px;
}

    .design-images img {
        width: auto;
        max-width: 48%;
        max-height: 230px;
        object-fit: contain;
        filter: drop-shadow(0 16px 14px rgba(0,0,0,.16));
        transition: transform .35s ease;
    }

        .design-images img:first-child {
            transform: translateX(12px) rotate(-3deg);
        }

        .design-images img:last-child {
            transform: translateX(-8px) translateY(10px) rotate(3deg);
        }

.family-info {
    position: relative;
    z-index: 3;
    padding: 0 22px 23px;
}

    .family-info span {
        display: block;
        margin-bottom: 4px;
        color: var(--magic-red);
        font-size: 9px;
        font-weight: 800;
        letter-spacing: 1.2px;
    }

    .family-info h2 {
        margin: 0 0 3px;
        font-size: 24px;
        font-weight: 750;
        letter-spacing: -.5px;
    }

    .family-info p {
        margin: 0 0 13px;
        color: #6b6b6b;
        font-size: 13px;
    }

.family-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px;
    border: 1.3px solid #222;
    border-radius: 22px;
    color: #222;
    background: rgba(255,255,255,.55);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    transition: all .25s ease;
}

.family-card:hover .family-button,
.family-card-designs:hover .family-button {
    border-color: var(--magic-red);
    color: #fff;
    background: var(--magic-red);
}

/* =========================================================
   PÁGINAS EN CONSTRUCCIÓN
   ========================================================= */

.coming-soon-section {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 170px);
    padding: 70px 20px;
    background: radial-gradient(circle at 78% 35%, rgba(237,28,36,.08), transparent 28%), linear-gradient(120deg, #fff 0%, #fff 50%, #faf4f2 100%);
}

.coming-soon-card {
    position: relative;
    max-width: 760px;
    padding: 65px;
    overflow: hidden;
    border-radius: 38px;
    background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(248,236,232,.92));
    box-shadow: 0 22px 55px rgba(0,0,0,.08);
}

    .coming-soon-card::before {
        content: "";
        position: absolute;
        top: 40px;
        right: 55px;
        width: 210px;
        height: 210px;
        border-radius: 50%;
        background: rgba(255,255,255,.70);
    }

.coming-soon-kicker {
    position: relative;
    z-index: 2;
    display: block;
    margin-bottom: 12px;
    color: var(--magic-red);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.coming-soon-card h1 {
    position: relative;
    z-index: 2;
    margin: 0 0 18px;
    font-size: clamp(46px, 5vw, 68px);
    font-weight: 750;
    letter-spacing: -2px;
}

.coming-soon-card p {
    position: relative;
    z-index: 2;
    max-width: 570px;
    margin-bottom: 25px;
    color: #5f5f5f;
    font-size: 17px;
    line-height: 1.7;
}

.coming-soon-badge {
    position: relative;
    z-index: 2;
    display: inline-block;
    margin-bottom: 30px;
    padding: 9px 16px;
    border-radius: 22px;
    color: var(--magic-red);
    background: rgba(237,28,36,.08);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

/* =========================================================
   NOSOTROS
   ========================================================= */

.about-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(60px, 7vw, 105px) 0;
    background: radial-gradient(circle at 75% 40%, rgba(237,28,36,.07), transparent 30%), linear-gradient(135deg, #fff 0%, #fff9f7 100%);
}

.about-hero-grid {
    display: grid;
    grid-template-columns: minmax(0,.9fr) minmax(450px,1.1fr);
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
}

.about-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--magic-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.about-hero-copy h1 {
    max-width: 620px;
    margin: 0;
    color: var(--magic-black);
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 750;
    line-height: .98;
    letter-spacing: -2.8px;
}

    .about-hero-copy h1 span {
        color: var(--magic-red);
    }

.about-line {
    width: 55px;
    height: 3px;
    margin: 28px 0;
    border-radius: 10px;
    background: var(--magic-red);
}

.about-hero-copy p {
    max-width: 520px;
    margin: 0;
    color: #626262;
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.7;
}

.about-hero-products {
    position: relative;
    min-height: 470px;
}

.hero-product {
    position: absolute;
}

    .hero-product img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
        filter: drop-shadow(0 22px 22px rgba(0,0,0,.15));
    }

.hero-product-main {
    width: 220px;
    height: 350px;
    right: 80px;
    top: 10px;
}

.hero-product-left {
    width: 240px;
    height: 210px;
    left: 20px;
    top: 120px;
}

.hero-product-right {
    width: 210px;
    height: 250px;
    right: -20px;
    bottom: 0;
}

.hero-product-bottom {
    width: 220px;
    height: 190px;
    left: 120px;
    bottom: -15px;
}

.about-category {
    padding: clamp(65px, 7vw, 100px) 0;
}

.category-heading {
    max-width: 620px;
    margin-bottom: 45px;
}

.category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border: 1px solid rgba(237,28,36,.25);
    border-radius: 50%;
    color: var(--magic-red);
    font-size: 21px;
}

.category-heading > span {
    color: var(--magic-red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.category-heading h2 {
    margin: 4px 0 14px;
    font-size: clamp(34px, 4vw, 52px);
    font-weight: 720;
    letter-spacing: -1.5px;
}

.category-heading p {
    margin: 0;
    color: #666;
    line-height: 1.7;
}

.organization-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.organization-product {
    padding: 30px;
    text-align: center;
    border: 1px solid #efefef;
    border-radius: 26px;
    background: #fff;
    transition: transform .3s ease, box-shadow .3s ease;
}

    .organization-product:hover {
        transform: translateY(-6px);
        box-shadow: 0 20px 45px rgba(0,0,0,.08);
    }

.organization-image {
    height: 245px;
    margin-bottom: 20px;
}

    .organization-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.organization-product > span {
    display: block;
    margin-bottom: 4px;
    color: var(--magic-red);
    font-size: 10px;
    font-weight: 800;
}

.organization-product h3 {
    margin: 0 0 3px;
    font-size: 18px;
    font-weight: 700;
}

.organization-product p {
    margin: 0;
    color: #777;
    font-size: 13px;
}

.home-scene {
    padding: clamp(65px, 7vw, 100px) 0;
    background: #fff7f5;
}

.home-scene-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: clamp(35px, 6vw, 90px);
    align-items: center;
}

.home-scene-image {
    overflow: hidden;
    border-radius: 30px;
}

    .home-scene-image img {
        display: block;
        width: 100%;
    }

.home-scene-copy h2 {
    margin: 4px 0 18px;
    font-size: clamp(34px, 4vw, 52px);
    letter-spacing: -1.5px;
}

.home-scene-copy > p {
    max-width: 480px;
    color: #666;
    font-size: 16px;
    line-height: 1.7;
}

.scene-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 22px;
    margin-top: 28px;
}

    .scene-benefits div {
        font-size: 13px;
        font-weight: 600;
    }

    .scene-benefits i {
        margin-right: 5px;
        color: var(--magic-red);
    }

.garden-section {
    padding: clamp(70px, 8vw, 110px) 0;
    background: linear-gradient(135deg, #fbfff9, #fff);
}

.garden-grid {
    display: grid;
    grid-template-columns: .65fr 1.35fr .55fr;
    gap: 28px;
    align-items: center;
}

.garden-icon {
    color: #328b45;
    border-color: rgba(50,139,69,.25);
}

.garden-copy h2 {
    margin: 6px 0 18px;
    font-size: clamp(34px, 3.6vw, 52px);
    line-height: 1.05;
    letter-spacing: -1.5px;
}

    .garden-copy h2 span {
        color: #328b45;
    }

.garden-copy p {
    color: #676767;
    line-height: 1.7;
}

.garden-main-image {
    overflow: hidden;
    border-radius: 28px;
}

    .garden-main-image img {
        display: block;
        width: 100%;
        height: 470px;
        object-fit: cover;
    }

.garden-products {
    display: grid;
    gap: 20px;
}

.garden-product {
    text-align: center;
}

    .garden-product img {
        width: 100%;
        max-height: 180px;
        object-fit: contain;
    }

    .garden-product strong,
    .garden-product span {
        display: block;
    }

    .garden-product strong {
        color: var(--magic-red);
        font-size: 10px;
    }

    .garden-product span {
        margin-top: 3px;
        font-size: 12px;
    }

.about-brand {
    padding: clamp(70px, 7vw, 100px) 0;
    background: #fff;
}

.brand-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-bottom: 60px;
    border-bottom: 1px solid #eee;
}

.brand-value {
    text-align: center;
}

    .brand-value i {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 54px;
        height: 54px;
        margin-bottom: 14px;
        border: 1px solid rgba(237,28,36,.3);
        border-radius: 50%;
        color: var(--magic-red);
        font-size: 22px;
    }

    .brand-value h3 {
        margin: 0 0 6px;
        font-size: 15px;
        font-weight: 800;
        text-transform: uppercase;
    }

    .brand-value p {
        max-width: 180px;
        margin: auto;
        color: #777;
        font-size: 12px;
        line-height: 1.5;
    }

.brand-closing {
    max-width: 760px;
    margin: 60px auto 0;
    text-align: center;
}

    .brand-closing p {
        margin-bottom: 30px;
        font-size: clamp(18px, 2vw, 24px);
        font-weight: 600;
        line-height: 1.5;
    }

    .brand-closing h2 {
        margin: 0;
        color: var(--magic-red);
        font-size: clamp(48px, 7vw, 82px);
        font-style: italic;
        font-weight: 700;
        letter-spacing: -3px;
    }

    .brand-closing > span {
        display: block;
        margin-top: -4px;
        color: var(--magic-red);
        font-size: clamp(17px, 2vw, 23px);
        font-style: italic;
    }

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding: 35px 0;
    color: rgba(255,255,255,.78);
    background: #171717;
    font-size: 14px;
}

    .site-footer strong {
        display: block;
        margin-bottom: 5px;
        color: #fff;
        font-size: 21px;
    }

/* =========================================================
   RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .home-collection-grid {
        grid-template-columns: 1fr;
    }

    .home-collection-card,
    .home-collection-card.garden-card {
        min-height: 330px;
        grid-template-columns: minmax(300px, 1fr) minmax(280px, .8fr);
    }
}

@media (max-width: 991px) {

    .navbar {
        min-height: 78px;
    }

    .brand-logo {
        width: clamp(155px, 28vw, 185px);
        max-height: 76px;
    }

    .navbar-toggler {
        width: 44px;
        height: 44px;
        padding: 7px;
        border-radius: 10px;
    }

        .navbar-toggler:focus {
            box-shadow: none;
        }

    .navbar-collapse {
        padding: 12px 0 18px;
    }

    .main-header .navbar-nav .nav-link {
        padding: 10px 4px !important;
    }

        .main-header .navbar-nav .nav-link.active::after {
            bottom: 2px;
        }

    .header-actions {
        justify-content: center;
        padding-top: 12px;
    }

    /* Home */

    .home-hero .home-hero-content {
        width: min(460px, 43%);
    }

    .home-hero .home-hero-images {
        width: 70%;
    }

    .home-hero-content h1 {
        font-size: clamp(40px, 5vw, 55px);
    }

    /* Cómodas */

    .families-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .family-offset-down,
    .family-offset-up {
        margin-top: 0;
    }

    .family-image {
        height: 300px;
    }

        .family-image img {
            max-width: 94%;
            max-height: 275px;
        }

    /* Nosotros */

    .about-hero-grid {
        grid-template-columns: 1fr;
    }

    .about-hero-products {
        min-height: 430px;
    }

    .organization-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-scene-grid {
        grid-template-columns: 1fr;
    }

    .garden-grid {
        grid-template-columns: 1fr 1.5fr;
    }

    .garden-products {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-values {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
}


/* =========================================================
   RESPONSIVE - MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    .home-hero {
        background: #fff;
    }

        .home-hero::before,
        .home-hero::after {
            display: none;
        }

    .home-hero-slide {
        display: flex;
        flex-direction: column;
        min-height: auto;
        background: #fff;
    }

    .home-hero .home-hero-images {
        position: relative;
        top: auto;
        right: auto;
        bottom: auto;
        left: auto;
        order: 1;
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
    }

    .home-hero .ambient-slide img {
        object-fit: cover;
        object-position: center;
    }

    .home-hero .home-hero-overlay {
        display: none;
    }

    .home-hero .home-hero-container {
        order: 2;
        min-height: auto;
        padding-top: 32px;
        padding-bottom: 40px;
    }

    .home-hero .home-hero-content {
        width: 100%;
        padding: 0;
    }

    .home-hero-content h1 {
        max-width: 100%;
        font-size: clamp(39px, 11vw, 56px);
        letter-spacing: -1.8px;
    }

    #ambientDescription {
        max-width: 500px;
    }

    .home-benefits {
        gap: 18px;
    }

    .home-slider-arrow {
        top: calc((100vw * 2 / 3) / 2);
        width: 40px;
        height: 40px;
    }

    .home-slider-prev {
        left: 10px;
    }

    .home-slider-next {
        right: 10px;
    }

    .home-slider-dots {
        top: calc((100vw * 2 / 3) - 28px);
        bottom: auto;
    }

    .home-collections .container {
        width: calc(100% - 32px);
    }

    .home-collection-card,
    .home-collection-card.garden-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .home-collection-photo {
        height: clamp(270px, 75vw, 400px);
    }

    .home-collection-info {
        min-height: 220px;
        padding: 27px;
    }
}

@media (max-width: 600px) {

    .about-hero-copy h1 {
        letter-spacing: -1.7px;
    }

    .about-hero-products {
        min-height: 370px;
    }

    .hero-product-main {
        width: 175px;
        right: 15px;
    }

    .hero-product-left {
        width: 170px;
        left: 0;
    }

    .hero-product-right {
        width: 145px;
        right: 0;
    }

    .hero-product-bottom {
        width: 155px;
        left: 65px;
    }

    .organization-grid {
        grid-template-columns: 1fr;
    }

    .garden-grid {
        grid-template-columns: 1fr;
    }

    .garden-main-image img {
        height: auto;
    }

    .garden-products {
        grid-column: auto;
    }

    .brand-values {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {

    .featured-models {
        padding: 70px 0;
    }

    .model-image-area {
        height: 320px;
    }

        .model-image-area img {
            max-height: 290px;
        }

    .families-hero {
        padding: 35px 20px 25px;
        text-align: center;
    }

        .families-hero h1 {
            font-size: clamp(34px, 10vw, 38px);
        }

        .families-hero p {
            font-size: 14px;
        }

    .families-section .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .families-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .family-card,
    .family-card-large,
    .family-card-medium,
    .family-card-designs {
        min-height: 410px;
        margin-top: 0;
    }

    .family-image,
    .design-images {
        height: 270px;
    }

    .family-image {
        padding: 15px;
    }

        .family-image img {
            max-width: 92%;
            max-height: 245px;
        }

    .coming-soon-section {
        padding: 35px 18px;
    }

    .coming-soon-card {
        padding: 40px 28px;
        border-radius: 28px;
    }

        .coming-soon-card h1 {
            font-size: 42px;
        }
}
/* =========================================================
   CONTACTO - MAGICPLAST
   ========================================================= */

.contact-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(80px, 8vw, 120px) 0 90px;
    background: radial-gradient( circle at 18% 24%, rgba(237, 28, 36, .055) 0%, rgba(237, 28, 36, .025) 24%, transparent 44% ), radial-gradient( circle at 82% 70%, rgba(237, 28, 36, .035) 0%, transparent 36% ), linear-gradient( 115deg, #fffafa 0%, #ffffff 48%, #fff8f6 100% );
}

    .contact-hero::before {
        content: "";
        position: absolute;
        top: 80px;
        left: 8%;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: rgba(255, 238, 236, .62);
        pointer-events: none;
    }

    .contact-hero::after {
        content: "";
        position: absolute;
        right: 7%;
        bottom: 45px;
        width: 110px;
        height: 110px;
        border: 18px solid rgba(237, 28, 36, .04);
        border-radius: 50%;
        pointer-events: none;
    }

    .contact-hero .container,
    .contact-form-section .container {
        position: relative;
        z-index: 2;
        max-width: 1180px;
    }

.contact-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr);
    gap: clamp(50px, 7vw, 90px);
    align-items: center;
}

.contact-hero-copy {
    max-width: 620px;
}

.contact-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--magic-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.contact-hero-copy h1 {
    margin: 0;
    max-width: 650px;
    color: var(--magic-black);
    font-size: clamp(46px, 5vw, 68px);
    font-weight: 750;
    line-height: 1;
    letter-spacing: -2.5px;
}

    .contact-hero-copy h1 span {
        display: block;
        color: var(--magic-red);
    }

.contact-line {
    width: 55px;
    height: 3px;
    margin: 27px 0;
    border-radius: 10px;
    background: var(--magic-red);
}

.contact-hero-copy p {
    max-width: 560px;
    margin: 0;
    color: #606060;
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.75;
}


/* =========================================================
   TARJETA DE CONTACTO
   ========================================================= */

.contact-quick-card {
    position: relative;
    overflow: hidden;
    padding: 38px 40px;
    border: 1px solid rgba(237, 28, 36, .10);
    border-radius: 30px;
    background: linear-gradient( 145deg, rgba(255,255,255,.97), rgba(255,245,242,.95) );
    box-shadow: 0 25px 60px rgba(0,0,0,.08);
}

    .contact-quick-card::before {
        content: "";
        position: absolute;
        top: -55px;
        right: -55px;
        width: 180px;
        height: 180px;
        border-radius: 50%;
        background: rgba(237, 28, 36, .035);
    }

.contact-card-kicker {
    position: relative;
    z-index: 2;
    color: var(--magic-red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.contact-quick-card h2 {
    position: relative;
    z-index: 2;
    margin: 8px 0 28px;
    color: var(--magic-black);
    font-size: clamp(28px, 3vw, 36px);
    font-weight: 730;
    letter-spacing: -1px;
}

.contact-quick-item {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 17px 0;
    border-top: 1px solid rgba(0,0,0,.07);
}

    .contact-quick-item:first-of-type {
        border-top: 0;
    }

.contact-quick-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(237, 28, 36, .20);
    border-radius: 50%;
    color: var(--magic-red);
    background: rgba(255,255,255,.75);
    font-size: 19px;
}

.contact-quick-item strong {
    display: block;
    color: #202020;
    font-size: 14px;
    font-weight: 800;
}

.contact-quick-item span,
.contact-quick-item a {
    display: block;
    margin-top: 3px;
    color: #737373;
    font-size: 13px;
    text-decoration: none;
}

    .contact-quick-item a:hover {
        color: var(--magic-red);
    }


/* =========================================================
   FORMULARIO
   ========================================================= */

.contact-form-section {
    position: relative;
    padding: clamp(75px, 8vw, 110px) 0;
    background: linear-gradient( 180deg, #ffffff 0%, #fffaf8 100% );
}

.contact-form-grid {
    display: grid;
    grid-template-columns: minmax(300px, .75fr) minmax(520px, 1.25fr);
    gap: clamp(50px, 7vw, 90px);
    align-items: start;
}

.contact-form-intro {
    padding-top: 15px;
}

    .contact-form-intro h2 {
        margin: 5px 0 15px;
        color: var(--magic-black);
        font-size: clamp(36px, 4vw, 50px);
        font-weight: 730;
        line-height: 1.05;
        letter-spacing: -1.5px;
    }

    .contact-form-intro > p {
        max-width: 430px;
        margin: 0;
        color: #676767;
        font-size: 15px;
        line-height: 1.7;
    }

.contact-interest {
    display: flex;
    gap: 15px;
    margin-top: 35px;
    padding: 23px;
    border: 1px solid rgba(237,28,36,.08);
    border-radius: 22px;
    background: linear-gradient( 145deg, #fff6f3, #ffffff );
}

    .contact-interest > i {
        color: var(--magic-red);
        font-size: 25px;
    }

    .contact-interest strong {
        display: block;
        margin-bottom: 5px;
        color: #252525;
        font-size: 14px;
        font-weight: 800;
    }

    .contact-interest p {
        margin: 0;
        color: #707070;
        font-size: 12.5px;
        line-height: 1.55;
    }


/* =========================================================
   TARJETA DEL FORMULARIO
   ========================================================= */

.contact-form-card {
    padding: clamp(30px, 4vw, 44px);
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 30px;
    background: rgba(255,255,255,.97);
    box-shadow: 0 22px 55px rgba(0,0,0,.07);
}

.contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-field {
    margin-bottom: 19px;
}

    .contact-field label {
        display: block;
        margin-bottom: 7px;
        color: #292929;
        font-size: 12px;
        font-weight: 700;
    }

.contact-input {
    width: 100%;
    min-height: 50px;
    padding: 12px 15px;
    border: 1px solid #dedede;
    border-radius: 14px;
    color: #222;
    background: #fff;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

    .contact-input:hover {
        border-color: #d0d0d0;
    }

    .contact-input:focus {
        border-color: rgba(237,28,36,.55);
        box-shadow: 0 0 0 4px rgba(237,28,36,.07);
    }

    .contact-input::placeholder {
        color: #a5a5a5;
    }

.contact-textarea {
    min-height: 155px;
    resize: vertical;
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 30px;
    border: 0;
    border-radius: 28px;
    color: #fff;
    background: var(--magic-red);
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(237, 28, 36, .22);
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

    .contact-submit:hover {
        color: #fff;
        background: var(--magic-red-dark);
        transform: translateY(-2px);
        box-shadow: 0 17px 32px rgba(237, 28, 36, .28);
    }


/* =========================================================
   RESPONSIVE CONTACTO
   ========================================================= */

@media (max-width: 991px) {

    .contact-hero-grid,
    .contact-form-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero-copy {
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
    }

    .contact-line {
        margin-left: auto;
        margin-right: auto;
    }

    .contact-quick-card,
    .contact-form-intro,
    .contact-form-card {
        max-width: 700px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-form-intro {
        text-align: center;
    }

        .contact-form-intro > p {
            margin-left: auto;
            margin-right: auto;
        }

    .contact-interest {
        text-align: left;
    }
}


@media (max-width: 767px) {

    .contact-hero {
        padding: 60px 0 70px;
    }

        .contact-hero::before {
            width: 180px;
            height: 180px;
            left: -55px;
            top: 25px;
        }

        .contact-hero::after {
            display: none;
        }

    .contact-hero-copy h1 {
        font-size: clamp(40px, 11vw, 56px);
        letter-spacing: -1.8px;
    }

    .contact-form-section {
        padding: 65px 0 75px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .contact-quick-card {
        padding: 30px 25px;
        border-radius: 24px;
    }

    .contact-form-card {
        padding: 25px 20px;
        border-radius: 24px;
    }
}


@media (max-width: 480px) {

    .contact-hero .container,
    .contact-form-section .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .contact-quick-item {
        gap: 12px;
    }

    .contact-quick-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        font-size: 17px;
    }

    .contact-submit {
        width: 100%;
    }
}
/* =========================================================
   CONTACTO - RESULTADO DEL ENVÍO
   ========================================================= */

.contact-form-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.contact-result {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 15px 18px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
}

.contact-result-success {
    border: 1px solid rgba(36, 145, 76, .18);
    color: #237a43;
    background: rgba(36, 145, 76, .07);
}

.contact-result-error {
    border: 1px solid rgba(237, 28, 36, .18);
    color: var(--magic-red-dark);
    background: rgba(237, 28, 36, .06);
}

@media (max-width: 480px) {

    .contact-form-actions {
        width: 100%;
    }

    .contact-submit {
        width: 100%;
    }
}
/* =========================================================
   CONTACTO - MODAL DE CONFIRMACIÓN
   ========================================================= */

.contact-modal-backdrop {
    position: fixed !important;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99999;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(20, 20, 20, .45);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}


.contact-modal {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 40px 35px 34px;
    box-sizing: border-box;
    text-align: center;
    border: 1px solid rgba(237, 28, 36, .08);
    border-radius: 28px;
    background: linear-gradient( 145deg, #ffffff 0%, #fff8f6 100% );
    box-shadow: 0 30px 80px rgba(0, 0, 0, .22);
    animation: contactModalIn .28s ease;
}


.contact-modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    margin: 0 auto 21px;
    border-radius: 50%;
    color: #ffffff;
    background: var(--magic-red);
    font-size: 28px;
    box-shadow: 0 12px 28px rgba(237, 28, 36, .25);
}


    .contact-modal-icon i {
        color: #ffffff;
        font-size: 28px;
    }


.contact-modal h3 {
    margin: 0 0 12px;
    color: #1f1f1f;
    font-size: 28px;
    font-weight: 750;
    line-height: 1.15;
    letter-spacing: -1px;
}


.contact-modal p {
    max-width: 320px;
    margin: 0 auto 26px;
    color: #666666;
    font-size: 14px;
    line-height: 1.65;
}


.contact-modal-button {
    min-width: 150px;
    min-height: 48px;
    padding: 12px 26px;
    border: 0;
    border-radius: 25px;
    color: #ffffff;
    background: var(--magic-red);
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(237, 28, 36, .20);
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}


    .contact-modal-button:hover {
        color: #ffffff;
        background: var(--magic-red-dark);
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(237, 28, 36, .27);
    }


@keyframes contactModalIn {

    from {
        opacity: 0;
        transform: translateY(14px) scale(.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


@media (max-width: 480px) {

    .contact-modal {
        max-width: 360px;
        padding: 34px 24px 28px;
        border-radius: 24px;
    }

        .contact-modal h3 {
            font-size: 25px;
        }
}
/* =========================================================
   CATÁLOGOS - MAGICPLAST
   ========================================================= */

.catalogs-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(75px, 8vw, 115px) 0 75px;
    background: radial-gradient( circle at 20% 30%, rgba(237, 28, 36, .055) 0%, rgba(237, 28, 36, .025) 24%, transparent 45% ), radial-gradient( circle at 82% 65%, rgba(237, 28, 36, .035) 0%, transparent 34% ), linear-gradient( 115deg, #fffafa 0%, #ffffff 48%, #fff8f6 100% );
}

    .catalogs-hero::before {
        content: "";
        position: absolute;
        top: 55px;
        right: 12%;
        width: 250px;
        height: 250px;
        border-radius: 50%;
        background: rgba(255, 238, 236, .62);
        pointer-events: none;
    }

    .catalogs-hero::after {
        content: "";
        position: absolute;
        left: 7%;
        bottom: 35px;
        width: 90px;
        height: 90px;
        border: 16px solid rgba(237, 28, 36, .04);
        border-radius: 50%;
        pointer-events: none;
    }

.catalogs-heading {
    position: relative;
    z-index: 2;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.catalogs-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--magic-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.catalogs-heading h1 {
    margin: 0;
    color: var(--magic-black);
    font-size: clamp(46px, 5vw, 68px);
    font-weight: 750;
    line-height: 1;
    letter-spacing: -2.4px;
}

    .catalogs-heading h1 span {
        display: block;
        color: var(--magic-red);
    }

.catalogs-line {
    width: 55px;
    height: 3px;
    margin: 27px auto;
    border-radius: 10px;
    background: var(--magic-red);
}

.catalogs-heading p {
    max-width: 650px;
    margin: 0 auto;
    color: #666;
    font-size: clamp(15px, 1.2vw, 17px);
    line-height: 1.7;
}


/* =========================================================
   TARJETAS
   ========================================================= */

.catalogs-section {
    padding: clamp(75px, 8vw, 110px) 0;
    background: #fff;
}

    .catalogs-section .container {
        max-width: 1180px;
    }

.catalogs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 45px);
}

.catalog-card {
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 30px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(0,0,0,.07);
    transition: transform .35s ease, box-shadow .35s ease;
}

    .catalog-card:hover {
        transform: translateY(-7px);
        box-shadow: 0 28px 65px rgba(0,0,0,.11);
    }


/* =========================================================
   ÁREA VISUAL
   ========================================================= */

.catalog-card-visual {
    position: relative;
    min-height: 330px;
    overflow: hidden;
    padding: 35px;
    display: flex;
    align-items: flex-end;
}

.catalog-card-comodas {
    background: radial-gradient( circle at 70% 25%, rgba(255,255,255,.85), transparent 30% ), linear-gradient( 145deg, #fff8f6 0%, #f8e4de 100% );
}

.catalog-card-menaje {
    background: radial-gradient( circle at 72% 28%, rgba(255,255,255,.82), transparent 30% ), linear-gradient( 145deg, #fffafa 0%, #f5ece8 100% );
}

.catalog-card-decoration {
    position: absolute;
    width: 230px;
    height: 230px;
    top: 35px;
    right: 35px;
    border-radius: 50%;
    background: rgba(255,255,255,.62);
}

.catalog-card-badge {
    position: absolute;
    top: 28px;
    left: 30px;
    z-index: 2;
    padding: 8px 13px;
    border-radius: 20px;
    color: var(--magic-red);
    background: rgba(255,255,255,.80);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.catalog-card-title {
    position: relative;
    z-index: 3;
}

    .catalog-card-title span,
    .catalog-card-title strong {
        display: block;
    }

    .catalog-card-title span {
        color: #555;
        font-size: 18px;
        margin-bottom: 3px;
    }

    .catalog-card-title strong {
        color: var(--magic-black);
        font-size: clamp(40px, 4vw, 54px);
        font-weight: 800;
        line-height: .95;
        letter-spacing: -2px;
    }


/* =========================================================
   CONTENIDO
   ========================================================= */

.catalog-card-content {
    padding: 32px 34px 35px;
}

.catalog-card-kicker {
    display: block;
    margin-bottom: 7px;
    color: var(--magic-red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.catalog-card-content h2 {
    margin: 0 0 13px;
    color: var(--magic-black);
    font-size: 26px;
    font-weight: 740;
    letter-spacing: -.8px;
}

.catalog-card-content p {
    margin: 0;
    color: #696969;
    font-size: 14px;
    line-height: 1.65;
}


/* =========================================================
   BOTONES
   ========================================================= */

.catalog-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 28px;
}

.catalog-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 23px;
    border-radius: 26px;
    color: #fff;
    background: var(--magic-red);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 11px 26px rgba(237,28,36,.20);
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

    .catalog-primary-button:hover {
        color: #fff;
        background: var(--magic-red-dark);
        transform: translateY(-2px);
        box-shadow: 0 15px 30px rgba(237,28,36,.27);
    }

.catalog-download-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #555;
    font-size: 12px;
    font-weight: 700;
    transition: color .2s ease;
}

    .catalog-download-link:hover {
        color: var(--magic-red);
    }


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991px) {

    .catalogs-grid {
        grid-template-columns: 1fr;
        max-width: 700px;
        margin: 0 auto;
    }

    .catalog-card-visual {
        min-height: 300px;
    }
}

@media (max-width: 767px) {

    .catalogs-hero {
        padding: 60px 0 65px;
    }

    .catalogs-heading h1 {
        font-size: clamp(40px, 11vw, 56px);
        letter-spacing: -1.8px;
    }

    .catalogs-section {
        padding: 65px 0 75px;
    }

    .catalog-card {
        border-radius: 25px;
    }

    .catalog-card-visual {
        min-height: 260px;
        padding: 28px;
    }

    .catalog-card-content {
        padding: 27px 25px 30px;
    }
}

@media (max-width: 480px) {

    .catalog-card-decoration {
        width: 180px;
        height: 180px;
    }

    .catalog-card-title strong {
        font-size: 40px;
    }

    .catalog-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .catalog-primary-button {
        width: 100%;
    }

    .catalog-download-link {
        justify-content: center;
    }
}
/* =========================================================
   CABILUX - PÁGINA DE DISEÑOS
   ========================================================= */

.cabilux-hero {
    position: relative;
    overflow: hidden;
    padding: 35px 0;
    background: radial-gradient( circle at 18% 25%, rgba(237, 28, 36, .055) 0%, rgba(237, 28, 36, .025) 24%, transparent 45% ), radial-gradient( circle at 82% 68%, rgba(237, 28, 36, .035) 0%, transparent 34% ), linear-gradient( 115deg, #fffafa 0%, #ffffff 48%, #fff8f6 100% );
}

    .cabilux-hero::before {
        content: "";
        position: absolute;
        top: 70px;
        right: 12%;
        width: 250px;
        height: 250px;
        border-radius: 50%;
        background: rgba(255, 238, 236, .62);
        pointer-events: none;
    }

    .cabilux-hero::after {
        content: "";
        position: absolute;
        left: 7%;
        bottom: 35px;
        width: 95px;
        height: 95px;
        border: 16px solid rgba(237, 28, 36, .04);
        border-radius: 50%;
        pointer-events: none;
    }

    .cabilux-hero .container,
    .cabilux-designs-section .container {
        position: relative;
        z-index: 2;
        max-width: 1380px;
    }

.cabilux-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, .75fr);
    gap: clamp(45px, 7vw, 95px);
    align-items: center;
}

.cabilux-hero-copy {
    max-width: 680px;
}

.cabilux-kicker {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--magic-red);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.cabilux-hero-copy h1 {
    margin: 0;
    color: var(--magic-black);
    font-size: clamp(40px, 4vw, 58px);
    font-weight: 750;
    line-height: 1;
    letter-spacing: -2.5px;
}

    .cabilux-hero-copy h1 span {
        display: block;
        color: var(--magic-red);
    }

.cabilux-line {
    width: 55px;
    height: 3px;
    margin: 18px 0;
    border-radius: 10px;
    background: var(--magic-red);
}

.cabilux-hero-copy p {
    max-width: 600px;
    margin: 0;
    color: #626262;
    font-size: clamp(15px, 1.15vw, 17px);
    line-height: 1.7;
}


/* =========================================================
   HERO - BENEFICIOS
   ========================================================= */

.cabilux-hero-info {
    padding: 20px 28px;
    border: 1px solid rgba(237, 28, 36, .10);
    border-radius: 28px;
    background: linear-gradient( 145deg, rgba(255,255,255,.98), rgba(255,246,243,.96) );
    box-shadow: 0 22px 55px rgba(0,0,0,.07);
}

.cabilux-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 11px 0;
    border-top: 1px solid rgba(0,0,0,.07);
}

    .cabilux-info-item:first-child {
        border-top: 0;
    }

    .cabilux-info-item > i {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 46px;
        width: 46px;
        height: 46px;
        border: 1px solid rgba(237,28,36,.20);
        border-radius: 50%;
        color: var(--magic-red);
        background: rgba(255,255,255,.75);
        font-size: 19px;
    }

    .cabilux-info-item strong,
    .cabilux-info-item span {
        display: block;
    }

    .cabilux-info-item strong {
        color: #222;
        font-size: 14px;
        font-weight: 800;
    }

    .cabilux-info-item span {
        margin-top: 3px;
        color: #777;
        font-size: 12px;
    }


/* =========================================================
   SECCIÓN DISEÑOS
   ========================================================= */

.cabilux-designs-section {
    padding: 38px 0 75px;
    background: linear-gradient( 180deg, #ffffff 0%, #fffaf8 100% );
}

.cabilux-section-heading {
    max-width: 720px;
    margin: 0 auto 28px;
    text-align: center;
}

    .cabilux-section-heading > span {
        display: inline-block;
        margin-bottom: 8px;
        color: var(--magic-red);
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 2px;
    }

    .cabilux-section-heading h2 {
        margin: 0 0 12px;
        color: var(--magic-black);
        font-size: clamp(34px, 3.5vw, 46px);
        font-weight: 740;
        letter-spacing: -1.6px;
    }

    .cabilux-section-heading p {
        margin: 0;
        color: #666;
        font-size: 15px;
    }


/* =========================================================
   LAYOUT PRINCIPAL
   ========================================================= */

.cabilux-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 30px;
    align-items: start;
}


/* =========================================================
   GRID DE DISEÑOS
   ========================================================= */

.cabilux-design-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.cabilux-design-card {
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.06);
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 16px 42px rgba(0,0,0,.065);
    transition: transform .3s ease, box-shadow .3s ease;
}

    .cabilux-design-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 24px 52px rgba(0,0,0,.10);
    }


/* =========================================================
   FOTO DEL DISEÑO
   ========================================================= */

.cabilux-design-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 310px;
    padding: 22px;
    overflow: hidden;
    background: radial-gradient( circle at 65% 28%, rgba(255,255,255,.95), transparent 35% ), linear-gradient( 145deg, #fff8f6, #f7ece8 );
}

    .cabilux-design-image::before {
        content: "";
        position: absolute;
        top: 35px;
        right: 28px;
        width: 170px;
        height: 170px;
        border-radius: 50%;
        background: rgba(255,255,255,.72);
    }

    .cabilux-design-image img {
        position: relative;
        z-index: 2;
        display: block;
        width: auto;
        height: auto;
        max-width: 96%;
        max-height: 275px;
        object-fit: contain;
        filter: drop-shadow(0 18px 15px rgba(0,0,0,.15));
        transition: transform .35s ease;
    }

.cabilux-design-card:hover .cabilux-design-image img {
    transform: translateY(-4px) scale(1.025);
}


/* =========================================================
   CONTENIDO CARD
   ========================================================= */

.cabilux-design-content {
    padding: 24px;
}

.cabilux-design-family {
    display: block;
    margin-bottom: 4px;
    color: var(--magic-red);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.1px;
}

.cabilux-design-content h3 {
    margin: 0 0 12px;
    color: var(--magic-black);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.25px;
}



/* =========================================================
   TAMAÑO
   ========================================================= */

.cabilux-option {
    margin-bottom: 18px;
}

    .cabilux-option label {
        display: block;
        margin-bottom: 7px;
        color: #333;
        font-size: 11px;
        font-weight: 700;
    }

.cabilux-select {
    width: 100%;
    height: 46px;
    padding: 0 13px;
    border: 1px solid #dedede;
    border-radius: 12px;
    color: #222;
    background: #fff;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .cabilux-select:focus {
        border-color: rgba(237,28,36,.50);
        box-shadow: 0 0 0 4px rgba(237,28,36,.06);
    }


/* =========================================================
   PRECIO Y CANTIDAD
   ========================================================= */

.cabilux-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.cabilux-price span,
.cabilux-price strong {
    display: block;
}

.cabilux-price span {
    margin-bottom: 2px;
    color: #777;
    font-size: 9px;
}

.cabilux-price strong {
    color: var(--magic-black);
    font-size: 16px;
    font-weight: 750;
}

.cabilux-quantity {
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #dedede;
    border-radius: 24px;
    background: #fff;
}

.qty-button {
    width: 34px;
    height: 36px;
    padding: 0;
    border: 0;
    color: #333;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: color .2s ease, background .2s ease;
}

    .qty-button:hover {
        color: var(--magic-red);
        background: #fff5f3;
    }

.qty-input {
    width: 38px;
    height: 36px;
    padding: 0;
    border: 0;
    text-align: center;
    color: #222;
    background: transparent;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    outline: none;
}

    .qty-input::-webkit-inner-spin-button,
    .qty-input::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }


/* =========================================================
   BOTÓN AGREGAR
   ========================================================= */

.cabilux-add-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 46px;
    padding: 11px 16px;
    border: 0;
    border-radius: 24px;
    color: #fff;
    background: var(--magic-red);
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(237,28,36,.18);
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

    .cabilux-add-button:hover {
        color: #fff;
        background: var(--magic-red-dark);
        transform: translateY(-2px);
        box-shadow: 0 14px 28px rgba(237,28,36,.25);
    }


/* =========================================================
   RESUMEN DEL PEDIDO
   ========================================================= */

.cabilux-order {
    position: relative;
}

.cabilux-order-card {
    position: sticky;
    top: 105px;
    padding: 28px;
    border: 1px solid rgba(237,28,36,.10);
    border-radius: 26px;
    background: linear-gradient( 145deg, #ffffff 0%, #fff7f5 100% );
    box-shadow: 0 18px 48px rgba(0,0,0,.075);
}

.cabilux-order-kicker {
    display: block;
    margin-bottom: 5px;
    color: var(--magic-red);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.cabilux-order-card h2 {
    margin: 0 0 22px;
    color: var(--magic-black);
    font-size: 30px;
    font-weight: 750;
    letter-spacing: -1px;
}


/* =========================================================
   PEDIDO VACÍO
   ========================================================= */

.cabilux-order-empty {
    padding: 28px 15px;
    text-align: center;
    border: 1px dashed rgba(0,0,0,.12);
    border-radius: 18px;
    background: rgba(255,255,255,.55);
}

    .cabilux-order-empty i {
        display: block;
        margin-bottom: 10px;
        color: #aaa;
        font-size: 30px;
    }

    .cabilux-order-empty p {
        max-width: 220px;
        margin: 0 auto;
        color: #777;
        font-size: 12px;
        line-height: 1.5;
    }


/* =========================================================
   ITEMS DEL PEDIDO
   ========================================================= */

.cabilux-order-items {
    display: grid;
    gap: 12px;
    margin-bottom: 18px;
}

.cabilux-order-item {
    padding: 13px 0;
    border-bottom: 1px solid rgba(0,0,0,.07);
}

    .cabilux-order-item:last-child {
        border-bottom: 0;
    }

    .cabilux-order-item strong {
        display: block;
        color: #222;
        font-size: 13px;
        font-weight: 800;
    }

    .cabilux-order-item span {
        display: block;
        margin-top: 3px;
        color: #777;
        font-size: 11px;
    }


/* =========================================================
   TOTAL
   ========================================================= */

.cabilux-order-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid rgba(0,0,0,.09);
}

    .cabilux-order-total span {
        color: #555;
        font-size: 12px;
        font-weight: 700;
    }

    .cabilux-order-total strong {
        color: var(--magic-black);
        font-size: 24px;
        font-weight: 850;
    }


/* =========================================================
   WHATSAPP
   ========================================================= */

.cabilux-whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: 100%;
    min-height: 50px;
    margin-top: 22px;
    padding: 12px 18px;
    border: 0;
    border-radius: 26px;
    color: #fff;
    background: var(--magic-red);
    font-family: inherit;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 11px 26px rgba(237,28,36,.20);
    transition: transform .25s ease, background .25s ease;
}

    .cabilux-whatsapp-button:hover:not(:disabled) {
        background: var(--magic-red-dark);
        transform: translateY(-2px);
    }

    .cabilux-whatsapp-button:disabled {
        opacity: .45;
        cursor: not-allowed;
        box-shadow: none;
    }

.cabilux-order-note {
    margin: 12px 0 0;
    text-align: center;
    color: #8a8a8a;
    font-size: 10.5px;
    line-height: 1.45;
}


/* =========================================================
   RESPONSIVE CABILUX
   ========================================================= */

@media (max-width: 1200px) {

    .cabilux-design-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {

    .cabilux-hero-grid {
        grid-template-columns: 1fr;
    }

    .cabilux-hero-copy {
        max-width: 720px;
        margin: 0 auto;
        text-align: center;
    }

    .cabilux-line {
        margin-left: auto;
        margin-right: auto;
    }

    .cabilux-hero-info {
        max-width: 700px;
        width: 100%;
        margin: 0 auto;
    }

    .cabilux-layout {
        grid-template-columns: 1fr;
    }

    .cabilux-order-card {
        position: relative;
        top: auto;
        max-width: 700px;
        margin: 10px auto 0;
    }
}

@media (max-width: 767px) {

    .cabilux-hero {
        padding: 32px 0 35px;
    }

    .cabilux-hero-copy h1 {
        font-size: clamp(40px, 11vw, 56px);
        letter-spacing: -1.8px;
    }

    .cabilux-designs-section {
        padding: 38px 0 60px;
    }

    .cabilux-design-grid {
        grid-template-columns: 1fr;
    }

    .cabilux-design-card {
        max-width: 520px;
        width: 100%;
        margin: 0 auto;
    }

    .cabilux-design-image {
        height: 330px;
    }
}

@media (max-width: 480px) {

    .cabilux-hero .container,
    .cabilux-designs-section .container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .cabilux-hero-info {
        padding: 25px 22px;
    }

    .cabilux-design-image {
        height: 285px;
    }

    .cabilux-design-content {
        padding: 21px;
    }

    .cabilux-card-bottom {
        align-items: flex-end;
    }

    .cabilux-order-card {
        padding: 24px 20px;
    }
}
/* =========================================================
   PASARELA - VARIANTES
   ========================================================= */

.pasarela-group {
    margin-bottom: 55px;
}

    .pasarela-group:last-child {
        margin-bottom: 0;
    }

.pasarela-product-size,
.pasarela-product-color {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding: 10px 13px;
    border-radius: 12px;
    background: #fff7f5;
}

    .pasarela-product-size span,
    .pasarela-product-color span {
        color: #777;
        font-size: 11px;
        font-weight: 600;
    }

    .pasarela-product-size strong,
    .pasarela-product-color strong {
        color: var(--magic-red);
        font-size: 12px;
        font-weight: 800;
    }

/* =========================================================
   PASARELA - ADMINISTRACIÓN SIMPLE
   ========================================================= */

.pasarela-admin-simple {
    max-width: 1280px;
    margin: 0 auto;
    padding: 50px 25px 90px;
}

.pasarela-admin-header {
    margin-bottom: 30px;
}

    .pasarela-admin-header > div > span,
    .pasarela-admin-section-title span,
    .pasarela-admin-modal-header span {
        display: block;
        margin-bottom: 6px;
        color: var(--magic-red);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: 1.7px;
    }

    .pasarela-admin-header h1 {
        margin: 0 0 8px;
        font-size: clamp(30px, 4vw, 44px);
        font-weight: 800;
        letter-spacing: -1.2px;
    }

    .pasarela-admin-header p {
        margin: 0;
        color: #777;
    }

.pasarela-admin-panel {
    margin-bottom: 25px;
    padding: 27px;
    border: 1px solid #ececec;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(0,0,0,.045);
}


/* TOP */

.pasarela-admin-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 25px;
}

.pasarela-admin-family {
    width: min(420px, 100%);
}

    .pasarela-admin-family label {
        display: block;
        margin-bottom: 7px;
        color: #333;
        font-size: 12px;
        font-weight: 800;
    }

.pasarela-admin-select,
.pasarela-admin-input {
    width: 100%;
    min-height: 46px;
    padding: 10px 13px;
    border: 1px solid #ddd;
    border-radius: 11px;
    background: #fff;
    color: #222;
    outline: none;
    box-sizing: border-box;
}

    .pasarela-admin-select:focus,
    .pasarela-admin-input:focus,
    .pasarela-admin-grid-input:focus {
        border-color: rgba(237,28,36,.55);
        box-shadow: 0 0 0 3px rgba(237,28,36,.07);
    }

.pasarela-admin-top-actions {
    display: flex;
    gap: 9px;
}


/* CONFIG */

.pasarela-admin-config {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 17px;
    margin-top: 23px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.pasarela-admin-config-title {
    color: #333;
    font-size: 11px;
    font-weight: 800;
}

.pasarela-admin-config label {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    color: #666;
    font-size: 12px;
    cursor: pointer;
}

.pasarela-admin-save-config {
    margin-left: auto;
    padding: 8px 13px;
    border: 0;
    background: transparent;
    color: var(--magic-red);
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}


/* BOTONES */

.pasarela-admin-btn-primary,
.pasarela-admin-btn-light {
    min-height: 43px;
    padding: 0 18px;
    border-radius: 11px;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.pasarela-admin-btn-primary {
    border: 0;
    color: #fff;
    background: var(--magic-red);
}

.pasarela-admin-btn-light {
    border: 1px solid #ddd;
    color: #555;
    background: #fff;
}


/* TITULO PRODUCTOS */

.pasarela-admin-section-title {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

    .pasarela-admin-section-title h2 {
        margin: 0;
        font-size: 22px;
        font-weight: 800;
    }

    .pasarela-admin-section-title p {
        margin: 0;
        color: #999;
        font-size: 11px;
    }


/* TABLA */

.pasarela-admin-table-wrap {
    overflow-x: auto;
}

.pasarela-admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

    .pasarela-admin-table th {
        padding: 11px 9px;
        border-bottom: 1px solid #e8e8e8;
        color: #777;
        background: #fafafa;
        font-size: 10px;
        font-weight: 800;
        text-align: left;
        white-space: nowrap;
    }

    .pasarela-admin-table td {
        padding: 12px 9px;
        border-bottom: 1px solid #eee;
        vertical-align: middle;
    }

.pasarela-admin-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin-bottom: 5px;
    overflow: hidden;
    border-radius: 10px;
    background: #f8f5f3;
}

.pasarela-admin-product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pasarela-admin-file {
    width: 100px;
    font-size: 9px;
}

.pasarela-admin-name {
    display: block;
    max-width: 180px;
    color: #222;
    font-size: 12px;
}

.pasarela-admin-code {
    display: block;
    margin-top: 3px;
    color: #aaa;
    font-size: 9px;
}

.pasarela-admin-grid-input {
    width: 105px;
    min-height: 36px;
    padding: 7px 9px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    box-sizing: border-box;
}

.pasarela-admin-small {
    width: 65px;
}

.pasarela-admin-price {
    position: relative;
}

    .pasarela-admin-price > span {
        position: absolute;
        left: 8px;
        top: 50%;
        transform: translateY(-50%);
        color: #888;
        font-size: 10px;
    }

.pasarela-admin-price-input {
    width: 85px;
    padding-left: 25px;
}

.pasarela-admin-edit {
    color: var(--magic-red);
    font-size: 16px;
}

.pasarela-admin-footer-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 22px;
}


/* =========================================================
   MODAL NUEVO PRODUCTO
   ========================================================= */

.pasarela-admin-modal-bg {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(20,20,20,.40);
    backdrop-filter: blur(4px);
}

.pasarela-admin-modal {
    width: min(650px, 100%);
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 28px 75px rgba(0,0,0,.20);
}

.pasarela-admin-modal-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

    .pasarela-admin-modal-header h2 {
        margin: 0;
        font-size: 24px;
    }

.pasarela-admin-close {
    color: #aaa;
    font-size: 28px;
    line-height: 1;
    text-decoration: none;
}

.pasarela-admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 17px;
}

    .pasarela-admin-form-grid label {
        display: block;
        margin-bottom: 7px;
        color: #444;
        font-size: 11px;
        font-weight: 700;
    }

.pasarela-admin-full {
    grid-column: 1 / -1;
}

.pasarela-admin-file-large {
    width: 100%;
    padding: 12px;
    border: 1px dashed #ccc;
    border-radius: 11px;
    background: #fafafa;
}

.pasarela-admin-modal-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 25px;
}


/* RESPONSIVE */

@media (max-width: 750px) {

    .pasarela-admin-top,
    .pasarela-admin-section-title {
        flex-direction: column;
        align-items: stretch;
    }

    .pasarela-admin-family {
        width: 100%;
    }

    .pasarela-admin-top-actions {
        justify-content: flex-start;
    }

    .pasarela-admin-save-config {
        margin-left: 0;
    }
}

@media (max-width: 560px) {

    .pasarela-admin-simple {
        padding: 35px 15px 60px;
    }

    .pasarela-admin-panel {
        padding: 20px 15px;
    }

    .pasarela-admin-top-actions {
        flex-direction: column;
    }

    .pasarela-admin-btn-primary,
    .pasarela-admin-btn-light {
        width: 100%;
    }

    .pasarela-admin-form-grid {
        grid-template-columns: 1fr;
    }

    .pasarela-admin-full {
        grid-column: auto;
    }
}
