/* ==========================================
   VARIABLES / PALETA DULCE FRÍO
========================================== */

:root {

    --bg-main: #07111f;
    --bg-secondary: #0b192b;
    --bg-card: #102238;
    --bg-card-light: #142a43;

    --primary: #22d3ee;
    --primary-dark: #0891b2;

    --secondary: #38bdf8;
    --accent: #facc15;

    --green: #25d366;
    --green-dark: #1ebe5d;

    --white: #ffffff;
    --text: #d5e3ef;
    --text-soft: #91a7ba;

    --border: rgba(255, 255, 255, 0.10);

    --shadow:
        0 20px 50px rgba(0, 0, 0, 0.35);

    --shadow-soft:
        0 10px 30px rgba(0, 0, 0, 0.25);

    --radius: 22px;
}


/* ==========================================
   RESET
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    color: var(--white);
    background: var(--bg-main);
    line-height: 1.6;
}

img {
    width: 100%;
    display: block;
}

button,
input,
select {
    font-family: inherit;
}

button {
    cursor: pointer;
}

a {
    text-decoration: none;
    color: inherit;
}


/* ==========================================
   GENERAL
========================================== */

.container {
    width: min(1150px, 92%);
    margin: auto;
}

.section {
    padding: 95px 0;
}

.section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 55px;
}

.section-tag {
    display: inline-block;

    color: var(--primary);

    font-weight: 800;

    font-size: 0.78rem;

    letter-spacing: 3px;

    margin-bottom: 12px;
}

.section-heading h2,
.intro-text h2,
.wholesale-text h2 {

    font-family: "Baloo 2", cursive;

    font-size: clamp(2.3rem, 5vw, 3.7rem);

    line-height: 1.05;

    margin-bottom: 18px;
}

.section-heading p {
    color: var(--text-soft);
}


/* ==========================================
   NAVBAR
========================================== */

.navbar {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background:
        rgba(7, 17, 31, 0.92);

    backdrop-filter: blur(15px);

    border-bottom:
        1px solid var(--border);

    box-shadow:
        0 5px 30px rgba(0, 0, 0, 0.25);

    transition: 0.3s;
}

.nav-container {

    min-height: 75px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}

.logo {

    display: flex;

    align-items: center;

    gap: 8px;

    font-family: "Baloo 2", cursive;

    font-weight: 800;

    font-size: 1.65rem;

    color: var(--white);
}

.logo-icon {
    font-size: 1.8rem;
}

.nav-menu {

    display: flex;

    align-items: center;

    gap: 30px;
}

.nav-menu a {

    color: var(--text);

    font-size: 0.9rem;

    font-weight: 600;

    transition: 0.3s;
}

.nav-menu a:hover {
    color: var(--primary);
}

.menu-toggle {

    display: none;

    border: none;

    background: transparent;

    color: var(--white);

    font-size: 1.5rem;
}


/* ==========================================
   HERO
========================================== */

.hero {

    min-height: 100vh;

    position: relative;

    display: flex;

    align-items: center;

    background-image:
        url("img/portada.jpg");

    background-size: cover;

    background-position: center;

    color: var(--white);
}

.hero-overlay {

    position: absolute;

    inset: 0;

    background:

        linear-gradient(
            90deg,
            rgba(3, 10, 20, 0.92),
            rgba(4, 22, 40, 0.72),
            rgba(5, 20, 35, 0.38)
        );
}

.hero-content {

    position: relative;

    z-index: 2;

    padding-top: 75px;

    max-width: 750px;
}

.hero-small {

    font-size: 0.85rem;

    font-weight: 800;

    letter-spacing: 3px;

    color: var(--primary);
}

.hero h1 {

    font-family: "Baloo 2", cursive;

    font-size: clamp(4rem, 9vw, 7rem);

    line-height: 0.9;

    margin: 20px 0;
}

.hero h1 span {

    display: block;

    background:

        linear-gradient(
            90deg,
            var(--primary),
            var(--secondary)
        );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;
}

.hero p {

    max-width: 600px;

    font-size: 1.1rem;

    color: #dbeafe;

    margin-bottom: 30px;
}

.hero-buttons {

    display: flex;

    flex-wrap: wrap;

    gap: 15px;
}


/* ==========================================
   BUTTONS
========================================== */

.btn {

    border: none;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 14px 26px;

    border-radius: 50px;

    font-weight: 700;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.btn-primary {

    background:

        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    color: #03111f;

    box-shadow:
        0 10px 30px rgba(34, 211, 238, 0.20);
}

.btn-primary:hover {

    transform: translateY(-3px);

    box-shadow:
        0 15px 35px rgba(34, 211, 238, 0.35);
}

.btn-secondary {

    background:
        rgba(255, 255, 255, 0.08);

    color: var(--white);

    border:
        1px solid var(--border);

    backdrop-filter: blur(10px);
}

.btn-secondary:hover {

    background:
        rgba(255, 255, 255, 0.14);

    transform: translateY(-3px);
}

.btn-whatsapp {

    background: var(--green);

    color: var(--white);
}

.btn-whatsapp:hover {

    background: var(--green-dark);

    transform: translateY(-3px);

    box-shadow:
        0 10px 30px rgba(37, 211, 102, 0.25);
}


/* ==========================================
   SCROLL
========================================== */

.scroll-indicator {

    position: absolute;

    bottom: 25px;

    left: 50%;

    transform: translateX(-50%);

    font-size: 1.4rem;

    color: var(--primary);

    animation:
        bounce 1.5s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 8px);
    }
}


/* ==========================================
   INTRO
========================================== */

.intro {

    background:
        linear-gradient(
            180deg,
            var(--bg-main),
            var(--bg-secondary)
        );
}

.intro-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;

    align-items: stretch;
}

.intro-card {

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            var(--bg-card),
            var(--bg-secondary)
        );

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    padding: 40px 30px;

    text-align: center;

    box-shadow: var(--shadow-soft);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.intro-card::before {

    content: "";

    position: absolute;

    width: 100px;

    height: 100px;

    border-radius: 50%;

    background:
        rgba(34, 211, 238, 0.10);

    top: -50px;

    right: -30px;
}

.intro-card:hover {

    transform: translateY(-8px);

    border-color:
        rgba(34, 211, 238, 0.35);

    box-shadow:
        0 20px 45px rgba(0, 0, 0, 0.35);
}

.intro-icon {

    font-size: 4rem;

    margin-bottom: 10px;
}

.intro-card h3 {

    font-family: "Baloo 2", cursive;

    font-size: 2rem;

    color: var(--primary);

    margin-bottom: 5px;
}

.intro-card p {
    color: var(--text-soft);
}


/* ==========================================
   CARRUSEL
========================================== */

.carousel {

    position: relative;

    overflow: hidden;

    border-radius: 28px;

    border:
        1px solid var(--border);

    box-shadow: var(--shadow);

    background: #020817;
}

.carousel-track {

    display: flex;

    transition:
        transform 0.5s ease;
}

.carousel-slide {

    min-width: 100%;

    height: 550px;
}

.carousel-slide img {

    width: 100%;

    height: 100%;

    object-fit: cover;
}


/* ==========================================
   BOTONES CARRUSEL
========================================== */

.carousel-btn {

    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    width: 50px;

    height: 50px;

    border: none;

    border-radius: 50%;

    background:
        rgba(7, 17, 31, 0.85);

    color: var(--white);

    border:
        1px solid rgba(255,255,255,0.15);

    font-size: 1.2rem;

    z-index: 5;

    display: flex;

    align-items: center;

    justify-content: center;

    transition: 0.3s;
}

.carousel-btn:hover {

    background: var(--primary);

    color: #03111f;

    transform:
        translateY(-50%)
        scale(1.08);
}

.carousel-btn.prev {
    left: 20px;
}

.carousel-btn.next {
    right: 20px;
}


/* ==========================================
   PUNTOS CARRUSEL
========================================== */

.carousel-dots {

    display: flex;

    justify-content: center;

    gap: 8px;

    margin-top: 20px;
}

.carousel-dot {

    width: 10px;

    height: 10px;

    padding: 0;

    border: none;

    border-radius: 50%;

    background: #475569;

    transition: 0.3s;
}

.carousel-dot.active {

    background: var(--primary);

    transform: scale(1.4);

    box-shadow:
        0 0 12px rgba(34,211,238,0.5);
}


/* ==========================================
   PRODUCTOS
========================================== */

.products {

    background: var(--bg-secondary);
}

.products-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}

.product-card {

    background:
        linear-gradient(
            145deg,
            var(--bg-card),
            #0c1a2c
        );

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    overflow: hidden;

    box-shadow: var(--shadow-soft);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.product-card:hover {

    transform: translateY(-8px);

    border-color:
        rgba(34, 211, 238, 0.30);

    box-shadow: var(--shadow);
}

.product-image {

    height: 250px;

    overflow: hidden;

    background: #07111f;
}

.product-image img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 0.5s ease;
}

.product-card:hover
.product-image img {

    transform: scale(1.08);
}

.product-info {

    padding: 22px;
}

.product-category {

    display: inline-block;

    padding: 5px 11px;

    margin-bottom: 8px;

    border-radius: 50px;

    background:
        rgba(34, 211, 238, 0.12);

    color: var(--primary);

    border:
        1px solid rgba(34,211,238,0.20);

    font-size: 0.7rem;

    font-weight: 800;

    letter-spacing: 0.8px;
}

.product-info h3 {

    font-family: "Baloo 2", cursive;

    font-size: 1.7rem;

    line-height: 1.1;

    margin-bottom: 8px;
}

.product-info p {

    color: var(--text-soft);

    font-size: 0.9rem;

    min-height: 65px;
}

.product-bottom {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    margin-top: 15px;
}

.product-bottom strong {

    font-size: 1.4rem;

    color: var(--accent);
}

.btn-product {

    border: none;

    padding: 9px 16px;

    border-radius: 50px;

    background:
        #e2e8f0;

    color: #07111f;

    font-weight: 700;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 7px;

    transition: 0.3s;
}

.btn-product:hover {

    background: var(--green);

    color: var(--white);

    transform: translateY(-2px);
}


/* ==========================================
   MAYORISTAS
========================================== */

.wholesale {

    background:

        radial-gradient(
            circle at 10% 20%,
            rgba(34, 211, 238, 0.08),
            transparent 35%
        ),

        var(--bg-main);
}

.wholesale-content {

    display: grid;

    grid-template-columns:
        1.3fr 0.9fr;

    gap: 60px;

    align-items: center;
}

.wholesale-text > p {

    color: var(--text-soft);

    margin-bottom: 15px;
}

.wholesale-benefits {

    margin: 30px 0;
}

.benefit {

    display: flex;

    gap: 15px;

    margin-bottom: 20px;
}

.benefit > i {

    width: 50px;

    height: 50px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        var(--bg-card);

    border:
        1px solid var(--border);

    border-radius: 15px;

    font-size: 1.3rem;

    color: var(--primary);

    box-shadow: var(--shadow-soft);
}

.benefit h4 {
    margin-bottom: 2px;
}

.benefit p {

    color: var(--text-soft);

    font-size: 0.85rem;
}


/* ==========================================
   TARJETA MAYORISTA
========================================== */

.wholesale-card {

    background:

        linear-gradient(
            145deg,
            #102a43,
            #071522
        );

    color: var(--white);

    border:
        1px solid rgba(34,211,238,0.20);

    border-radius: 30px;

    padding: 50px 35px;

    text-align: center;

    box-shadow: var(--shadow);
}

.wholesale-card-icon {

    font-size: 4rem;

    margin-bottom: 10px;
}

.wholesale-card h3 {

    font-family: "Baloo 2", cursive;

    font-size: 2rem;

    line-height: 1.1;

    margin-bottom: 15px;
}

.wholesale-card p {

    color: var(--text-soft);

    margin-bottom: 25px;
}

.wholesale-highlight {

    padding: 20px;

    border-radius: 15px;

    background:
        rgba(255, 255, 255, 0.05);

    border:
        1px solid var(--border);

    margin-bottom: 25px;
}

.wholesale-highlight span,
.wholesale-highlight strong {

    display: block;
}

.wholesale-highlight span {

    font-size: 0.8rem;

    color: var(--text-soft);
}

.wholesale-highlight strong {

    margin-top: 5px;

    color: var(--accent);

    font-size: 1.4rem;
}


/* ==========================================
   LISTA DE CANTIDADES
========================================== */

.quantity-list {

    margin: 25px 0;
}

.quantity-item {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    padding: 14px 0;

    border-bottom:
        1px solid var(--border);
}

.quantity-item span {

    color: var(--text-soft);

    font-size: 0.9rem;
}

.quantity-item strong {

    color: var(--accent);

    font-size: 0.95rem;
}


/* ==========================================
   CALCULADORA MAYORISTA
========================================== */

.calculator {

    background:

        linear-gradient(
            180deg,
            var(--bg-secondary),
            var(--bg-main)
        );
}

.calculator-box {

    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 45px;

    align-items: start;

    background:

        linear-gradient(
            145deg,
            #102238,
            #0b192b
        );

    padding: 45px;

    border:
        1px solid rgba(34,211,238,0.15);

    border-radius: 30px;

    box-shadow: var(--shadow);

    overflow: hidden;
}


/* ==========================================
   INFORMACIÓN CALCULADORA
========================================== */

.calculator-info {

    padding: 10px;

    min-width: 0;
}

.calculator-icon {

    font-size: 4.5rem;

    margin-bottom: 10px;
}

.calculator-info h3 {

    font-family: "Baloo 2", cursive;

    font-size: 2.4rem;

    line-height: 1.1;

    margin-bottom: 10px;
}

.calculator-info > p {

    color: var(--text-soft);

    margin-bottom: 25px;
}


/* ==========================================
   PRECIOS MAYORISTAS
========================================== */

.wholesale-prices {

    display: grid;

    gap: 12px;
}

.wholesale-price {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    padding: 15px 17px;

    background:
        rgba(255,255,255,0.04);

    border-radius: 14px;

    border:
        1px solid var(--border);

    transition: 0.3s;
}

.wholesale-price:hover {

    border-color:
        rgba(34,211,238,0.30);

    background:
        rgba(34,211,238,0.06);
}

.wholesale-price span {

    color: var(--text-soft);

    font-size: 0.9rem;
}

.wholesale-price strong {

    color: var(--accent);

    font-size: 1rem;

    white-space: nowrap;
}


/* ==========================================
   FORMULARIO CALCULADORA
========================================== */

.calculator-form {

    width: 100%;

    min-width: 0;
}

.calculator-form .input-group {

    margin-bottom: 18px;
}

.calculator-form .input-group label {

    display: block;

    font-weight: 600;

    color: var(--text);

    margin-bottom: 8px;
}

.calculator-form .input-group input,
.calculator-form .input-group select {

    width: 100%;

    border:
        2px solid var(--border);

    border-radius: 13px;

    outline: none;

    padding: 14px;

    font-family: inherit;

    font-size: 1rem;

    background:
        #0a1727;

    color: var(--white);

    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}

.calculator-form .input-group select {

    appearance: auto;
}

.calculator-form .input-group input::placeholder {

    color: #64748b;
}

.calculator-form .input-group input:focus,
.calculator-form .input-group select:focus {

    border-color: var(--primary);

    box-shadow:
        0 0 0 3px rgba(34,211,238,0.10);

    background:
        #0c1d31;
}


/* ==========================================
   BOTÓN AGREGAR PRODUCTO
========================================== */

.btn-add-product {

    width: 100%;

    margin-bottom: 20px;

    padding: 15px 20px;

    background:

        linear-gradient(
            135deg,
            var(--primary),
            var(--secondary)
        );

    color: #03111f;

    border: none;

    box-shadow:
        0 10px 25px rgba(34,211,238,0.15);
}

.btn-add-product:hover {

    transform: translateY(-2px);

    box-shadow:
        0 15px 30px rgba(34,211,238,0.25);
}


/* ==========================================
   CARRITO
========================================== */

.cart-container {

    width: 100%;

    margin-top: 10px;

    margin-bottom: 20px;

    background:
        rgba(3, 12, 24, 0.45);

    border:
        1px solid var(--border);

    border-radius: 18px;

    overflow: hidden;
}


/* ==========================================
   CARRITO VACÍO
========================================== */

.cart-empty {

    padding: 30px 20px;

    text-align: center;

    color: var(--text-soft);
}

.cart-empty i {

    display: block;

    font-size: 2rem;

    color: var(--primary);

    margin-bottom: 10px;
}

.cart-empty p {

    color: var(--white);

    font-weight: 600;

    margin-bottom: 4px;
}

.cart-empty small {

    color: var(--text-soft);
}


/* ==========================================
   ITEM DEL CARRITO
========================================== */

.cart-item {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    padding: 17px;

    border-bottom:
        1px solid var(--border);

    transition: 0.3s;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item:hover {

    background:
        rgba(34,211,238,0.04);
}

.cart-item-info {

    min-width: 0;

    flex: 1;
}

.cart-item-info strong {

    display: block;

    color: var(--white);

    font-size: 0.95rem;

    line-height: 1.3;
}

.cart-item-info small {

    display: block;

    margin-top: 3px;

    color: var(--text-soft);

    font-size: 0.75rem;
}


/* ==========================================
   CONTROLES CARRITO
========================================== */

.cart-item-controls {

    display: flex;

    align-items: center;

    gap: 7px;
}

.cart-item-controls button {

    width: 32px;

    height: 32px;

    border: none;

    border-radius: 9px;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        #19324c;

    color: var(--white);

    transition: 0.2s;
}

.cart-item-controls button:hover {

    background: var(--primary);

    color: #03111f;
}

.cart-item-controls span {

    min-width: 30px;

    text-align: center;

    font-weight: 700;

    color: var(--white);
}

.cart-item-controls .cart-delete {

    margin-left: 5px;

    background:
        rgba(239,68,68,0.12);

    color: #f87171;
}

.cart-item-controls .cart-delete:hover {

    background: #ef4444;

    color: var(--white);
}


/* ==========================================
   RESUMEN DEL PEDIDO
========================================== */

.quote-result {

    display: none;

    margin: 20px 0;

    padding: 20px;

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #0c1e32,
            #091626
        );

    border:
        1px solid rgba(34,211,238,0.15);

    animation:
        aparecerCotizacion 0.3s ease;
}

.quote-result.active {
    display: block;
}

.quote-row {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    padding: 11px 0;

    border-bottom:
        1px solid var(--border);
}

.quote-row:last-child {
    border-bottom: none;
}

.quote-row span {

    color: var(--text-soft);

    font-size: 0.9rem;
}

.quote-row strong {

    color: var(--white);

    font-size: 1rem;
}

.quote-row.total-row {

    padding-top: 17px;

    margin-top: 5px;
}

.quote-row.total-row span {

    color: var(--white);

    font-weight: 700;
}

.quote-row.total-row strong {

    font-family: "Baloo 2", cursive;

    font-size: 2rem;

    color: var(--accent);
}


/* ==========================================
   ERROR CALCULADORA
========================================== */

.pedido-error {

    display: none;

    padding: 13px 15px;

    margin-bottom: 15px;

    border-radius: 12px;

    background:
        rgba(239,68,68,0.10);

    border:
        1px solid rgba(239,68,68,0.20);

    color: #fca5a5;

    font-size: 0.85rem;
}

.pedido-error.active {
    display: block;
}


/* ==========================================
   BOTÓN WHATSAPP CALCULADORA
========================================== */

.calculator-whatsapp {

    width: 100%;

    border: none;

    cursor: pointer;

    margin-top: 5px;

    padding: 15px 20px;
}


/* ==========================================
   AYUDA CALCULADORA
========================================== */

.calculator-help {

    display: block;

    margin-top: 9px;

    color: #64748b;

    font-size: 0.75rem;

    text-align: center;
}


/* ==========================================
   ANIMACIÓN COTIZACIÓN
========================================== */

@keyframes aparecerCotizacion {

    from {

        opacity: 0;

        transform:
            translateY(8px);
    }

    to {

        opacity: 1;

        transform:
            translateY(0);
    }
}


/* ==========================================
   CTA
========================================== */

.cta {

    padding: 100px 0;

    background:

        radial-gradient(
            circle at center,
            rgba(34,211,238,0.20),
            transparent 45%
        ),

        linear-gradient(
            135deg,
            #0b263d,
            #07111f
        );

    color: var(--white);

    text-align: center;

    border-top:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);
}

.cta-content {

    max-width: 700px;

    margin: auto;
}

.cta-content > span {

    font-size: 0.85rem;

    font-weight: 800;

    letter-spacing: 3px;

    color: var(--primary);
}

.cta h2 {

    font-family: "Baloo 2", cursive;

    font-size: clamp(3rem, 7vw, 5rem);

    line-height: 1;

    margin: 15px 0;
}

.cta p {

    color: var(--text-soft);

    margin-bottom: 25px;
}

.cta .btn-whatsapp {

    background: var(--green);

    color: var(--white);
}

.cta .btn-whatsapp:hover {

    background: var(--green-dark);
}


/* ==========================================
   FOOTER
========================================== */

footer {

    background: #040b14;

    color: var(--white);

    padding-top: 60px;
}

.footer-grid {

    display: grid;

    grid-template-columns:
        1.5fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 50px;
}

.footer-logo {

    color: var(--white);

    margin-bottom: 15px;
}

.footer-brand p {

    color: #718096;

    max-width: 300px;
}

.footer-column {

    display: flex;

    flex-direction: column;

    gap: 10px;
}

.footer-column h4 {

    margin-bottom: 10px;

    color: var(--primary);
}

.footer-column a,
.footer-column span {

    color: #8193a8;

    font-size: 0.9rem;
}

.footer-column a:hover {

    color: var(--primary);
}

.footer-bottom {

    border-top:
        1px solid var(--border);

    padding: 20px;

    text-align: center;

    color: #64748b;

    font-size: 0.75rem;
}


/* ==========================================
   WHATSAPP FLOTANTE
========================================== */

.whatsapp-float {

    position: fixed;

    right: 25px;

    bottom: 25px;

    width: 60px;

    height: 60px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    border: none;

    background: var(--green);

    color: var(--white);

    font-size: 1.8rem;

    z-index: 999;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.35);

    animation:
        whatsappPulse 2s infinite;
}

.whatsapp-float:hover {

    background: var(--green-dark);
}

@keyframes whatsappPulse {

    0% {

        box-shadow:
            0 0 0 0
            rgba(37, 211, 102, 0.4);
    }

    70% {

        box-shadow:
            0 0 0 15px
            rgba(37, 211, 102, 0);
    }

    100% {

        box-shadow:
            0 0 0 0
            rgba(37, 211, 102, 0);
    }
}


/* ==========================================
   RESPONSIVE - TABLET
========================================== */

@media (max-width: 900px) {


    /* NAVBAR */

    .nav-menu {

        position: absolute;

        top: 75px;

        left: 0;

        width: 100%;

        background:
            rgba(7,17,31,0.98);

        backdrop-filter: blur(15px);

        flex-direction: column;

        padding: 25px;

        gap: 20px;

        transform:
            translateY(-150%);

        transition: 0.3s;

        border-bottom:
            1px solid var(--border);

        box-shadow:
            0 15px 30px rgba(0,0,0,0.30);
    }

    .nav-menu.active {

        transform:
            translateY(0);
    }

    .menu-toggle {

        display: block;
    }


    /* INTRO */

    .intro-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    /* PRODUCTOS */

    .products-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }


    /* MAYORISTAS */

    .wholesale-content {

        grid-template-columns: 1fr;

        gap: 40px;
    }


    /* CALCULADORA */

    .calculator-box {

        grid-template-columns: 1fr;

        gap: 30px;
    }


    /* FOOTER */

    .footer-grid {

        grid-template-columns:
            1fr 1fr;
    }

}


/* ==========================================
   RESPONSIVE - MÓVIL
========================================== */

@media (max-width: 600px) {


    /* GENERAL */

    .section {

        padding: 65px 0;
    }


    /* HERO */

    .hero {

        min-height: 90vh;

        background-position: center;
    }

    .hero h1 {

        font-size: 4rem;
    }

    .hero p {

        font-size: 0.95rem;
    }

    .hero-buttons {

        flex-direction: column;
    }

    .hero-buttons .btn {

        width: 100%;
    }


    /* INTRO */

    .intro-grid {

        grid-template-columns: 1fr;
    }

    .intro-card {

        padding: 35px 25px;
    }


    /* CARRUSEL */

    .carousel-slide {

        height: 350px;
    }

    .carousel-btn {

        width: 42px;

        height: 42px;

        font-size: 1rem;
    }

    .carousel-btn.prev {

        left: 10px;
    }

    .carousel-btn.next {

        right: 10px;
    }


    /* PRODUCTOS */

    .products-grid {

        grid-template-columns: 1fr;
    }

    .product-image {

        height: 280px;
    }

    .product-info p {

        min-height: auto;
    }

    .product-bottom {

        gap: 15px;
    }

    .btn-product {

        padding: 9px 14px;
    }


    /* MAYORISTAS */

    .wholesale-content {

        gap: 35px;
    }

    .quantity-item {

        flex-direction: column;

        align-items: flex-start;

        gap: 5px;
    }


    /* CALCULADORA */

    .calculator-box {

        padding: 25px;

        border-radius: 22px;
    }

    .calculator-icon {

        text-align: center;
    }

    .calculator-info h3 {

        text-align: center;

        font-size: 2rem;
    }

    .calculator-info > p {

        text-align: center;
    }

    .wholesale-price {

        flex-direction: column;

        align-items: flex-start;

        gap: 4px;
    }


    /* CARRITO */

    .cart-item {

        align-items: flex-start;

        flex-direction: column;

        gap: 12px;
    }

    .cart-item-controls {

        width: 100%;

        justify-content: flex-end;
    }

    .cart-item-controls button {

        width: 34px;

        height: 34px;
    }


    /* RESUMEN */

    .quote-row {

        align-items: flex-start;

        flex-direction: column;

        gap: 4px;
    }

    .quote-row.total-row {

        gap: 5px;
    }


    /* CTA */

    .cta {

        padding: 75px 0;
    }


    /* FOOTER */

    .footer-grid {

        grid-template-columns: 1fr;

        gap: 30px;
    }


    /* WHATSAPP */

    .whatsapp-float {

        width: 55px;

        height: 55px;

        right: 18px;

        bottom: 18px;
    }

}