/* ==========================================================================
   1. VARIABLES Y BASE
   ========================================================================== */
:root {
    --burgundy: #6b1414;
    --gold: #b8935a;
    --cream: #f8f6f2;
    --white: #ffffff;
    --text: #333333;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--cream);
    color: var(--text);
    line-height: 1.6;
}

/* ==========================================================================
   2. HEADER (CORREGIDO: image_ba6377)
   ========================================================================== */
.navbar {
    background: var(--white);
    height: 90px;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.main-logo {
    height: 60px !important;
    /* Tamaño fijo para evitar desproporción */
    width: auto;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--burgundy);
    font-weight: 900;
    line-height: 1;
}

.slogan {
    font-size: 0.6rem;
    letter-spacing: 2px;
    color: var(--gold);
    font-weight: 700;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--gold);
}

.wa-pill {
    background: #25D366;
    color: white !important;
    padding: 10px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wa-pill img {
    height: 18px;
    filter: brightness(0) invert(1);
}


/** hamburguesa */

/* --- ESTILOS GENERALES (BASE) --- */

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 100;
}

.hamburger .bar {
    display: block;
    width: 22px;
    /* Más corta para ser minimalista */
    height: 2px;
    /* Más delgada */
    margin: 5px auto;
    background-color: #d4af37;
    transition: all 0.3s ease;
}

/* --- MEDIA QUERY PARA CELULARES (DISEÑO MINIMALISTA Y SUAVE) --- */
@media screen and (max-width: 768px) {

    .main-slogan {
        display: none !important;
    }

    .hamburger {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 80px;
        right: 5%;
        width: 90%;

        /* Efecto Vidrio Premium (Glassmorphism) */
        background-color: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);

        border-radius: 20px;
        border: 1px solid rgba(212, 175, 55, 0.2);
        box-shadow: 0 10px 30px rgba(139, 90, 43, 0.15);

        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 40px 0;
        gap: 25px;

        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 90;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* --- ARREGLO DE TIPOGRAFÍA (A SERIF) --- */
    .nav-links a {
        /* Esta es la clave: cambia 'uppercase' por 'capitalize' */
        text-transform: capitalize;

        /* También asegúrate de que el peso de la letra sea ligero */
        font-weight: 400;
    }



    /* Animación del botón hamburguesa */
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}









/* ==========================================================================
   3. HERO (ESTILO BORGOÑA: image_bb5703)
   ========================================================================== */
.hero {
    background-color: var(--burgundy);
    /* Fondo total borgoña */
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 60px 10%;
    color: var(--white);
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    background: rgba(184, 147, 90, 0.2);
    color: var(--gold);
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    transition: 0.3s;
}

.btn-gold {
    background: var(--gold);
    color: var(--white);
}

.catalog .btn-gold {
    display: block;
    /* Lo vuelve bloque para poder centrarlo */
    width: fit-content;
    /* Ajusta el ancho al texto */
    margin: 50px auto 0;
    /* CENTRA solo este botón */
    padding: 10px 100px;
    /* Tamaño grande como en la imagen */
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* IMÁGENES FLOTANTES (CORREGIDO: image_bb57b9) */
.hero-visual {
    flex: 1;
    position: relative;
    height: 450px;
    display: flex;
    justify-content: center;
}

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.main-img {
    width: 300px;
    z-index: 2;
    top: 20px;
    right: 10%;
    transform: rotate(-3deg);
}

.sub-img {
    width: 200px;
    z-index: 3;
    bottom: 20px;
    left: 10%;
    transform: rotate(5deg);
}

.floating-card img {
    width: 100%;
    border-radius: 10px;
    display: block;
}

/* ==========================================================================
   4. COLECCIONES / CATÁLOGO
   ========================================================================== */
.catalog {
    padding: 100px 5%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--burgundy);
    margin-bottom: 50px;
}

.categories-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card {
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: 0.3s;
}

.cat-img {
    height: 280px;
    background-size: cover;
    background-position: center;
}

.cat-info {
    padding: 30px;
}

.cat-info h3 {
    font-family: 'Playfair Display', serif;
    color: var(--burgundy);
    margin-bottom: 10px;
}

.btn-cat {
    display: inline-block;
    margin-top: 15px;
    color: var(--gold);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid var(--gold);

}


/* DISEÑO PREMIUM PARA EL BOTÓN DE ENVÍO */
#submit-btn.btn-gold {
    /* Eliminamos el estilo "nativo" aburrido */
    background: linear-gradient(135deg, #b8935a) !important;
    color: white !important;
    border: none !important;
    cursor: pointer;

    /* Estructura y suavidad */
    width: 100% !important;
    padding: 20px !important;
    border-radius: 50px !important;
    /* Bordes tipo "píldora" muy modernos */
    margin-top: 30px;
}

/* ==========================================================================
   5.1 VENTANA EMERGENTE DE ÉXITO
   ========================================================================== */
.order-section {
    padding: 80px 5%;
    background-color: var(--white);
}

.form-container {
    max-width: 850px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
}

.form-header h2 {
    font-family: 'Playfair Display', serif;
    color: var(--burgundy);
    font-size: 2.5rem;
}

.form-block {
    background: var(--cream);
    padding: 40px;
    border-radius: 45px;
    margin-bottom: 30px;
}

.block-title {
    font-weight: 700;
    color: var(--burgundy);
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.block-title span {
    background: var(--burgundy);
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

/* Centrado de la sección Envíos (Específico solicitado) */
.info-envios {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.info-envios .block-title {
    justify-content: center;
    width: 100%;
}

.input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #888;
}

input,
textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 15px;
    font-family: inherit;
}

/* Selector de Categorías */
.category-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
}

.radio-card input {
    display: none;
}

.radio-box {
    padding: 15px;
    background: var(--white);
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    font-weight: 700;
    border: 2px solid transparent;
    transition: 0.3s;
}

.radio-card input:checked+.radio-box {
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 5px 15px rgba(184, 147, 90, 0.2);
}

.btn-submit {
    width: 100%;
    padding: 22px;
    background: var(--burgundy);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: var(--gold);
    transform: translateY(-3px);
}

/*AROMAS Y CONTENEDOR */

/* Contenedor de cada producto */
.product-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Alinea todo a la izquierda */
    background: #ffffff;
    padding: 12px 20px;
    margin-bottom: 10px;
    border-radius: 15px;
    gap: 40px;
    /* Espacio fijo entre el nombre y los controles */
}

/* Nombre de la vela con ancho controlado */
.product-info {
    flex: 0 0 160px;
    /* Evita que el nombre empuje los controles al extremo */
    font-weight: 600;
    color: #6a2a2a;
    display: flex;
    align-items: center;
}

/* Contenedor de Aroma + Cantidad */
.product-controls {
    display: flex;
    align-items: center;
    gap: 30px;
    /* Espacio corto entre el selector y el número */
}

/* Selector de Aroma estilizado */
.select-aroma {
    min-width: 250px;
    padding: 8px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    background-color: #fdfdfd;
}

/* Cuadro de Observaciones: Ancho Total */
textarea[name="observaciones"] {
    width: 100% !important;
    /* Ocupa todo el ancho disponible */
    min-height: 110px;
    padding: 15px;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    font-family: 'Montserrat', sans-serif;
    resize: none;
    box-sizing: border-box;
    /* Evita que el padding lo saque de los bordes */
}

/* Contenedor de Métodos de Pago */
.payment-methods {
    background: #fff !important;
    border: 1px solid rgba(184, 147, 90, 0.2);
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

/* Diseño de Tarjetas */
.payment-card {
    padding: 25px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    background: var(--cream);
    border: 1px solid #eee;
}

.payment-card:hover {
    transform: translateY(-5px);
}

/* ==========================================================================
   NUEVA SECCIÓN: ENVÍOS Y PAGOS (RESTAURADO Y ACTUALIZADO)
   ========================================================================== */

/* 1. Contenedor Principal (Caja Blanca) */
.payment-block {
    background: #ffffff !important;
    padding: 30px !important;
    border-radius: 40px !important;
    border: 1px solid rgba(184, 147, 90, 0.15);
    /* Borde dorado muy sutil */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
}

/* 2. Sub-títulos de bloque (Envíos y Cuentas) */
.sub-block-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gold);
    /* Color dorado de la marca */
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    text-align: center;
}

/* --- A. SECCIÓN ENVÍOS --- */
.shipping-info-wrapper {
    margin-bottom: 30px;
}

.shipping-options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.shipping-card {
    background: var(--cream);
    /* Fondo crema claro */
    padding: 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid transparent;
    transition: 0.3s ease;
}

.shipping-card:hover {
    border-color: rgba(184, 147, 90, 0.3);
    transform: translateY(-3px);
}

.ship-icon {
    font-size: 2rem;
    /* Icono grande */
    color: var(--burgundy);
    flex-shrink: 0;
}

.ship-details h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--burgundy);
    margin-bottom: 2px;
}

.ship-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.currency {
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 600;
}

.ship-note {
    font-size: 0.75rem;
    color: #888;
    font-weight: 600;
    text-transform: uppercase;
}

/* Separador decorativo */
.payment-separator {
    border: none;
    border-top: 2px solid var(--cream);
    /* Separador sutil */
    margin: 30px 0;
}

/* --- B. SECCIÓN MÉTODOS DE PAGO --- */
.payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Actualización de las Tarjetas de Pago */
.payment-card {
    background: #fdfdfd;
    /* Fondo ligeramente diferente para contrastar */
    padding: 25px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: 0.3s ease;
    border: 1px solid #eee;
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Borde lateral de color */
.payment-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 6px;
    border-radius: 3px;
}


/* Actualización de los Cabeceros de Tarjeta (Alineación con Logos) */
.card-header {
    display: flex;
    justify-content: flex-start;
    /* Alineación a la izquierda */
    align-items: center;
    gap: 15px;
    /* Espacio entre el logo y el nombre del banco */
    margin-bottom: 15px;
    padding-left: 10px;
    /* Separación del borde lateral */
}

/* Estilo para los logos de los bancos */
.bank-logo-img {
    height: 35px;
    /* Tamaño del logo */
    width: auto;
    max-width: 60px;
    /* Para que Bancolombia no se vea gigante */
    object-fit: contain;
}

/* --- ESTILO REFINADO DE PAGOS --- */
.payment-simple-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10px;
    border-bottom: 1px solid rgba(184, 147, 90, 0.2);
    /* Línea dorada sutil */
    transition: all 0.3s ease;
}

.payment-row:hover {
    background-color: rgba(184, 147, 90, 0.05);
    border-radius: 8px;
}

.bank-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mini-logo {
    height: 30px;
    width: auto;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.1));
}

.bank-text {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #444;
}

.bank-details {
    text-align: right;
}

.account-num {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #5c0a1a;
    /* Tu color vino de Lumara */
    letter-spacing: 0.5px;
}

.account-type {
    display: block;
    font-size: 0.65rem;
    color: #b8935a;
    /* Tu color dorado */
    font-weight: 600;
    margin-top: -2px;
}


/* Nota final aclaratoria */
.final-note {
    text-align: center;
    font-size: 0.8rem;
    font-style: italic;
    color: #888;
    margin-top: 30px;
}

.bank-name {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--text-light);
}

.card-number {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--burgundy);
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.card-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
}

.payment-note {
    text-align: center;
    font-size: 0.8rem;
    font-style: italic;
    color: #888;
    margin-top: 20px;
    padding: 10px;
    border-top: 1px solid #f9f9f9;
}

/* Ajuste para el botón de envío */
.btn-submit-container {
    text-align: center;
    margin-top: 40px;
}

/* ==========================================================================
   6. FOOTER (image_b9f680)
   ========================================================================== */
.footer-lumara {
    background: var(--white);
    padding: 80px 5% 30px;
    border-top: 1px solid #eee;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col h3 {
    font-family: 'Playfair Display', serif;
    color: var(--burgundy);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    text-decoration: none;
    color: #666;
    font-size: 0.9rem;
}

.social-row {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-item {
    width: 40px;
    height: 40px;
    background: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-item img {
    width: 20px;
    filter: brightness(0) invert(1);
}

.footer-credits {
    text-align: center;
    margin-top: 60px;
    font-size: 0.8rem;
    color: #999;
}

/* ==========================================================================
   SOLUCIÓN DEFINITIVA PARA MÓVIL (LUMARA)
   ========================================================================== */
@media (max-width: 768px) {


    @media (max-width: 768px) {

        .category-selector-grid {
            grid-template-columns: 1fr !important;
            /* Una tarjeta por fila */
        }

        /* ESTO ES LO QUE PONE UNO SOBRE OTRO */
        .subcategoria-item div[style*="grid-template-columns"] {
            display: flex !important;
            flex-direction: column !important;
            /* Cambia de horizontal a vertical */
            gap: 12px !important;
            /* Espacio entre los desplegables */
        }

        /* Ajustamos los selects e inputs para que ocupen todo el ancho */
        .subcategoria-item select,
        .subcategoria-item input {
            width: 100% !important;
            /* Así el texto "¿Qué vela deseas?" ya no se corta */
            display: block !important;
            height: 45px !important;
            /* Más fácil de tocar en el celular */
        }

        /* Opcional: Centrar el número de cantidad */
        .subcategoria-item input[type="number"] {
            text-align: center;
        }
    }

    /* RETIRO DE IMAGENES PRINCIPALES RESPONSIVO*/
    .sub-img {
        width: 8px !important;
        height: 8px !important;
        background-color: rgba(184, 147, 90, 0.5) !important;
        /* Dorado suave */
        border-radius: 50% !important;
        border: none !important;
        box-shadow: none !important;
        position: relative !important;
        left: 15px !important;
        bottom: 0 !important;
        transform: none !important;
    }

    .floating-card img {
        display: none !important;
    }

    .floating-card {
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    /* --- COLECCIONES UNA SOBRE LA OTRA -- */
    .categories-container {
        grid-template-columns: 1fr !important;
        /* Una tarjeta por fila */
        gap: 20px;
    }

    .cat-img {
        height: 220px !important;
        /* Reduce la altura de la imagen de la vela */
    }

    .section-title {
        font-size: 2rem !important;
    }