/* ==========================================================================
   Arte Pasta Caseras – Estilos Principales
   Paleta: Terracota / Crema / Verde Oliva / Dorado
   ========================================================================== */
:root {
    /* Paleta de colores cálidos de pasta artesanal */
    --primary: #C8602F;          /* Terracota / tomate */
    --primary-hover: #a84d23;    /* Terracota oscuro */
    --primary-soft: #f5e6d8;     /* Terracota muy suave */
    --accent: #6B8F47;           /* Verde basilico / oliva */
    --accent-hover: #527035;
    --gold: #D4AF37;             /* Dorado trigo */
    --dark: #2A1A0E;             /* Marrón muy oscuro */
    --dark-mid: #3D2B1A;         /* Marrón medio */
    --light: #FBF7F1;            /* Crema / hueso */
    --light-alt: #F2EAE0;        /* Crema media */
    --text-dark: #2A1A0E;
    --text-mid: #6B4F35;
    --text-light: #F5EEE4;
    --text-muted: #9e8270;

    /* Tipografía */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Lato', sans-serif;

    /* Espaciado */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --transition: 0.3s ease-in-out;
    --shadow: 0 10px 40px rgba(42, 26, 14, 0.12);
    --shadow-strong: 0 15px 50px rgba(42, 26, 14, 0.22);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Evita que las secciones queden bajo el header fijo */
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-dark);
}

body {
    background-color: var(--light);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: inherit;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 6rem 0;
}

.text-center { text-align: center; }
.mb-4 { margin-bottom: 2rem; }
.mt-5 { margin-top: 3rem; }
.hidden { display: none !important; }

/* Separadores */
.title-separator {
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    margin: 1.5rem auto 2.5rem;
    border-radius: 2px;
}
.title-separator.left { margin-left: 0; }

.section-title {
    font-size: 3rem;
    color: var(--text-dark);
    line-height: 1.15;
}

.section-desc {
    max-width: 620px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.section-header { margin-bottom: 4rem; }

/* ==========================================================================
   Botones
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(200, 96, 47, 0.35);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 96, 47, 0.45);
}

.btn-primary-nav {
    background-color: var(--primary);
    color: #fff !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
}
.btn-primary-nav:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
    background-color: rgba(255,255,255,0.15);
    border-color: #fff;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background-color: #25D366;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.4s ease;
    background-color: var(--dark); /* Color sólido para evitar superposiciones */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background-color: var(--dark); 
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.45);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.logo-link { 
    text-decoration: none; 
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    line-height: 1.1;
}

.logo-name {
    display: block;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 1px;
}

.logo-text small {
    display: block;
    font-family: var(--font-body);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: rgba(245, 238, 228, 0.7);
    margin-top: 2px;
}

.navbar-logo-img {
    height: 50px;
    width: 50px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background-color: #fff;
    padding: 2px;
    margin-right: 15px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a:not(.btn-primary-nav) {
    color: var(--text-light);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 400;
    position: relative;
}

.nav-links a:not(.btn-primary-nav)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transition: var(--transition);
}
.nav-links a:not(.btn-primary-nav):hover::after { width: 100%; }

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    color: var(--text-light);
    background: none;
    border: none;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* Fondo CSS: gradiente que simula estética de cocina cálida */
    background: 
        url('imagenes/Screenshot 2026-03-25 at 15-06-40 Instagram.png') 
        center/cover no-repeat;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(42, 26, 14, 0.88) 0%,
        rgba(60, 30, 12, 0.70) 50%,
        rgba(42, 26, 14, 0.80) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    max-width: 850px;
    padding: 0 20px;
}

.hero-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    color: var(--gold);
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-title {
    font-size: 5rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: #fff;
    font-weight: 700;
}

.hero-title em {
    font-style: italic;
    color: var(--gold);
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 3rem;
    letter-spacing: 1px;
    color: rgba(245, 238, 228, 0.85);
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2.5s infinite;
}

.scroll-down a {
    color: var(--gold);
    font-size: 1.8rem;
    opacity: 0.7;
}

/* ==========================================================================
   Sección Variedades de Pastas
   ========================================================================== */
.pastas-section {
    background-color: var(--light);
}

.pasta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
    margin-top: 3rem;
}

.pasta-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(200, 96, 47, 0.06);
    display: flex;
    flex-direction: column;
}

.pasta-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(200, 96, 47, 0.2);
}

.pasta-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-soft), rgba(200, 96, 47, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.3rem;
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.pasta-card-content h3 {
    font-size: 1.6rem;
    color: var(--dark);
    margin-bottom: 0.6rem;
}

.pasta-card-content p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1.2rem;
}

.pasta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    margin-top: auto;
    width: fit-content;
}

.min-purchase-note {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--primary-soft), rgba(212, 175, 55, 0.08));
    border: 1px solid rgba(200, 96, 47, 0.2);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.8rem;
    margin-top: 3rem;
    color: var(--dark-mid);
}

.min-purchase-note i {
    font-size: 1.4rem;
    color: var(--primary);
    flex-shrink: 0;
}

.min-purchase-note p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ==========================================================================
   Galería
   ========================================================================== */
.gallery {
    background-color: var(--dark);
}

.gallery .section-title {
    color: var(--text-light);
}
.gallery .section-desc {
    color: rgba(245, 238, 228, 0.7);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 280px;
    gap: 1.5rem;
    margin-top: 4rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-row: span 2;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: rgba(255,255,255,0.6);
    transition: var(--transition);
}

.pl-1 { background: linear-gradient(135deg, #3D2B1A 0%, #6B4F35 100%); }
.pl-2 { background: linear-gradient(135deg, #2A4A1A 0%, #4a6b35 100%); }
.pl-3 { background: linear-gradient(135deg, #4A2A1A 0%, #8b5a35 100%); }

.gallery-placeholder i {
    font-size: 3.5rem;
    color: var(--gold);
    opacity: 0.6;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(200, 96, 47, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay span {
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-overlay span { transform: translateY(0); }
.gallery-item:hover .gallery-placeholder i { opacity: 1; }

.instagram-cta {
    margin-top: 3rem;
}

.btn-instagram {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #E1306C, #833AB4, #FD1D1D);
    color: white;
    padding: 1rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(225, 48, 108, 0.35);
}

.btn-instagram i { font-size: 1.3rem; }
.btn-instagram:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(225, 48, 108, 0.5);
    color: white;
    opacity: 0.92;
}

/* ==========================================================================
   Testimonios
   ========================================================================== */
.testimonials {
    background-color: var(--light-alt);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.testimonial-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: left;
    position: relative;
    border-top: 4px solid var(--primary);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 5rem;
    font-family: var(--font-heading);
    color: rgba(200, 96, 47, 0.08);
    line-height: 1;
}

.stars {
    color: var(--gold);
    margin-bottom: 1.2rem;
    font-size: 1rem;
    gap: 2px;
    display: flex;
}

.testimonio-text {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 1.8rem;
    color: var(--text-dark);
    line-height: 1.7;
}

.cliente-nombre {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
    color: var(--dark);
}

.cliente-via {
    font-size: 0.82rem;
    color: var(--text-muted);
}
.cliente-via .fab { color: var(--primary); }

/* ==========================================================================
   Sección de Pedidos
   ========================================================================== */
.orders-section {
    background: linear-gradient(160deg, var(--dark) 0%, var(--dark-mid) 100%);
    color: var(--text-light);
}

.orders-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 4rem;
    align-items: start;
}

.contact-card h2.section-title {
    color: var(--text-light);
}

.contact-info-list { 
    margin-top: 2rem;
}

.info-item {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1.8rem;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.4rem;
    color: var(--gold);
    flex-shrink: 0;
    width: 24px;
    margin-top: 2px;
}

.info-item h5 {
    color: var(--gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
    font-family: var(--font-body);
    font-weight: 700;
}

.info-item p {
    font-size: 0.92rem;
    color: rgba(245, 238, 228, 0.8);
    line-height: 1.6;
}

.info-item em {
    color: rgba(245, 238, 228, 0.5);
    font-style: normal;
    font-size: 0.85rem;
}

/* Pago anticipado */
.pago-anticipado-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    margin-top: 2.5rem;
}

.pago-anticipado-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
}

.pago-anticipado-header i {
    font-size: 1.5rem;
    color: var(--gold);
}

.pago-anticipado-header h4 {
    font-size: 1.3rem;
    color: #fff;
}

.pago-anticipado-card > p {
    font-size: 0.88rem;
    color: rgba(245, 238, 228, 0.7);
    margin-bottom: 1.2rem;
    line-height: 1.6;
}

.btn-mercadopago {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: #009EE3;
    color: white;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    box-shadow: 0 4px 18px rgba(0, 158, 227, 0.35);
}

.btn-mercadopago:hover {
    background: #0080c0;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 158, 227, 0.45);
    color: white;
}

.pago-nota {
    font-size: 0.78rem;
    color: rgba(245, 238, 228, 0.45);
    margin-top: 0.8rem;
}

.pago-nota i { margin-right: 0.3rem; }

/* ==========================================================================
   Formulario de Pedido
   ========================================================================== */
.order-form-container {
    background-color: #fff;
    border-radius: var(--radius-xl);
    padding: 3rem;
    color: var(--text-dark);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.order-form-container h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.form-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.form-section-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--primary-soft);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-min {
    background: var(--primary-soft);
    color: var(--primary);
    padding: 0.1rem 0.6rem;
    border-radius: 50px;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    margin-left: 0.3rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.82rem;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    padding: 0.85rem 1rem;
    border: 2px solid #e8ddd3;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    background-color: #FAFAF8;
    color: var(--text-dark);
    -webkit-appearance: none;
    appearance: none;
}

.form-group textarea { resize: vertical; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(200, 96, 47, 0.1);
}

.form-hint {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 0.4rem;
}

.full-width { width: 100%; }

/* Selector de cantidades */
.pasta-order-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.pasta-order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #FAFAF8;
    border: 2px solid #e8ddd3;
    border-radius: var(--radius-md);
    padding: 0.8rem 1rem;
    transition: var(--transition);
}

.pasta-order-item.has-quantity {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.pasta-order-info strong {
    display: block;
    font-size: 0.88rem;
    color: var(--dark);
}

.pasta-order-info span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #d0c4b8;
    border-radius: 50px;
    overflow: hidden;
    background: #fff;
}

.qty-btn {
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.qty-btn:hover {
    background: var(--primary);
    color: #fff;
}

.qty-input {
    width: 34px;
    text-align: center;
    border: none;
    background: none;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark);
    padding: 0;
    pointer-events: none;
}

/* Método de pago */
.payment-method-group {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 2px solid #e8ddd3;
    border-radius: var(--radius-md);
    padding: 1rem 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.payment-option input[type="radio"] { display: none; }

.payment-option:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-soft);
}

.payment-option-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.payment-option-content > i {
    font-size: 1.5rem;
    color: var(--primary);
    width: 30px;
    text-align: center;
}

.payment-option-content strong {
    display: block;
    font-size: 0.9rem;
    color: var(--dark);
}

.payment-option-content small {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Resumen de pedido */
.order-summary {
    background: var(--light-alt);
    border-radius: var(--radius-md);
    padding: 1.2rem 1.5rem;
    margin: 1.2rem 0;
    border: 1px solid rgba(200, 96, 47, 0.12);
}

.order-summary h4 {
    font-size: 1rem;
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.summary-empty {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    color: var(--text-dark);
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(200, 96, 47, 0.08);
}

.summary-item:last-child { border-bottom: none; }
.summary-item-qty { font-weight: 700; color: var(--primary); }

/* Botón submit */
.submit-btn {
    margin-top: 1rem;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 1.1rem 2rem;
}

/* Mensajes estado */
.status-msg {
    margin-top: 1.2rem;
    padding: 1rem 1.2rem;
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
}

.status-msg.loading { background-color: #f0f0f0; color: #666; }
.status-msg.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.status-msg.error   { background-color: #fde8e8; color: #9b1c1c; border: 1px solid #f5c6c6; }

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
    background-color: #1A0E07;
    color: var(--text-light);
    padding: 4rem 0 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 3rem;
}

.footer-logo-text {
    font-family: var(--font-heading);
    line-height: 1.2;
}

.footer-logo-text span {
    display: block;
    font-size: 2rem;
    color: var(--gold);
    font-weight: 700;
}

.footer-logo-text small {
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(245, 238, 228, 0.5);
}

.footer-info p {
    font-size: 0.88rem;
    color: rgba(245, 238, 228, 0.65);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-info p i { color: var(--primary); width: 16px; }

.footer-social p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(245, 238, 228, 0.5);
    margin-bottom: 0.8rem;
}

.social-icons {
    display: flex;
    gap: 0.8rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    font-size: 1.2rem;
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding: 1.5rem 0;
    font-size: 0.82rem;
    color: rgba(245, 238, 228, 0.3);
}

/* Estilos para imágenes de variedades */
.pasta-card-img {
    width: 100%;
    height: 200px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.pasta-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.pasta-card:hover .pasta-card-img img {
    transform: scale(1.08);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

/* Badge de descuento */
.discount-badge-large {
    background: rgba(107, 143, 71, 0.15);
    border: 1px dashed var(--accent);
    color: var(--accent);
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
}

.discount-badge-large i { font-size: 1.2rem; }

.summary-total-container {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid rgba(200, 96, 47, 0.15);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.summary-row.discount {
    color: var(--accent);
    font-weight: 600;
}

.summary-row.final-total {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-top: 0.8rem;
}

/* ==========================================================================
   Chatbot Floating UI
   ========================================================================== */
.chatbot-floating-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
}

.chatbot-toggle-btn {
    width: 65px;
    height: 65px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(200, 96, 47, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition);
}

.chatbot-toggle-btn:hover {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary-hover);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background: var(--gold);
    color: var(--dark);
    font-size: 10px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.chat-window {
    position: absolute;
    bottom: 85px;
    right: 0;
    width: 350px;
    height: 500px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform-origin: bottom right;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-window.hidden {
    opacity: 0;
    transform: scale(0.8) translateY(40px);
    pointer-events: none;
}

.chat-header {
    background: var(--dark);
    padding: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.chat-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-title img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: white;
    padding: 2px;
}

.chat-title div { line-height: 1.2; }
.chat-title strong { display: block; font-size: 1rem; color: var(--gold); }
.chat-title span { font-size: 0.75rem; color: rgba(255,255,255,0.6); }

.chat-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    font-size: 1.2rem;
}

.chat-close:hover { color: white; }

.chat-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: #fbf9f7;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-message {
    max-width: 85%;
    padding: 0.8rem 1rem;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.chat-message.bot {
    align-self: flex-start;
    background: white;
    color: var(--text-dark);
    box-shadow: 0 3px 12px rgba(0,0,0,0.05);
    border-bottom-left-radius: 4px;
}

.chat-message.user {
    align-self: flex-end;
    background: var(--primary);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.quick-reply {
    background: var(--primary-soft);
    border: 1px solid rgba(200, 96, 47, 0.2);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    cursor: pointer;
    transition: var(--transition);
}

.quick-reply:hover {
    background: var(--primary);
    color: white;
}

.chat-footer {
    padding: 1rem;
    display: flex;
    gap: 10px;
    border-top: 1px solid #eee;
    background: white;
}

.chat-footer input {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    outline: none;
}

.chat-footer input:focus { border-color: var(--primary); }

.chat-footer button {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estilos para las recetas en el chat */
.recipe-card {
    background: #fff;
    border: 1px solid var(--gold);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 8px;
}

.recipe-card h5 { color: var(--primary); margin-bottom: 5px; }
.recipe-card ul { padding-left: 15px; list-style: disc; margin-bottom: 8px; }
.recipe-card li { font-size: 0.8rem; margin-bottom: 3px; }

@media (max-width: 480px) {
    .chatbot-floating-container { right: 15px; bottom: 15px; }
    .chat-window { width: calc(100vw - 30px); height: 450px; right: 0; }
}

/* ==========================================================================
   Animaciones
   ========================================================================== */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-18px) translateX(-50%); }
    60% { transform: translateY(-9px) translateX(-50%); }
}

.animate-up {
    opacity: 0;
    transform: translateY(25px);
    animation: fadeUp 0.9s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.delay-1 { animation-delay: 0.25s; }
.delay-2 { animation-delay: 0.5s; }
.delay-3 { animation-delay: 0.75s; }

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

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
    .pasta-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .orders-grid { gap: 3rem; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 3.2rem; }
    
    .mobile-menu-btn { display: flex; }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: var(--dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    }

    .nav-links.active { display: flex; }

    .nav-links a:not(.btn-primary-nav) {
        font-size: 1.3rem;
    }

    .pasta-grid { grid-template-columns: 1fr; }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }
    .gallery-item.large { grid-row: span 1; }

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

    .orders-grid { grid-template-columns: 1fr; gap: 3rem; }
    .order-form-container { padding: 2rem 1.5rem; }
    .pasta-order-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .footer-content { flex-direction: column; text-align: center; }
    .footer-info p { justify-content: center; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2.2rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    .btn { padding: 0.9rem 2rem; }
}
