/* ════════════════════════════════════════════════════════════════
   DROGUERÍA FARMAHORRO - DISEÑO OFICIAL PERSONALIZADO
   Inspirado 1:1 en el Mockup del Usuario | "Tu salud, nuestro compromiso"
   ════════════════════════════════════════════════════════════════ */

:root {
    --brand-blue: #1d4ed8;
    --brand-blue-dark: #1e3a8a;
    --brand-blue-light: #eff6ff;
    
    --brand-orange: #ff5400;
    --brand-orange-hover: #e04a00;
    --brand-orange-light: #fff7ed;
    
    --text-dark: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    
    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    
    --border-color: #e2e8f0;
    --whatsapp-green: #25d366;
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.08);
    --shadow-float: 0 16px 36px rgba(15, 23, 42, 0.1);
    
    --transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-white);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ════════════════════════════════════════════════
   1. NAVBAR LIMPIA (LOGOTIPO + MENÚ + BOTÓN DOMICILIOS)
   ════════════════════════════════════════════════ */
.main-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

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

.brand-logo-img {
    height: 68px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-links-center {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-link-item {
    color: #334155;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
    cursor: pointer;
}

.nav-link-item:hover, .nav-link-item.active {
    color: var(--brand-orange);
    font-weight: 700;
}

.nav-delivery-pill-btn {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
    color: white;
    padding: 12px 26px;
    border-radius: var(--radius-full);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(29, 78, 216, 0.3);
    transition: var(--transition);
}

.nav-delivery-pill-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(29, 78, 216, 0.45);
}

/* Nav Cart Button */
.nav-cart-btn {
    position: relative;
    background: #eff6ff;
    color: var(--brand-blue);
    border: 1.5px solid #bfdbfe;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    transition: var(--transition);
}

.nav-cart-btn:hover {
    background: var(--brand-blue);
    color: white;
}

.cart-badge-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 0.72rem;
    font-weight: 900;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* Floating Bottom Cart Bar */
.floating-cart-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(140px);
    background: #0f172a;
    color: white;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.4);
    z-index: 1800;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.floating-cart-bar.active {
    transform: translateX(-50%) translateY(0);
}

.floating-cart-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.floating-cart-info i {
    color: var(--brand-orange);
    font-size: 1.2rem;
}

.floating-cart-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.float-total-val {
    font-weight: 800;
    font-size: 1.05rem;
    color: #38bdf8;
}

.btn-float-wsp {
    background: var(--whatsapp-green);
    color: white;
    border: none;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 0.88rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-float-wsp:hover {
    background: #1da851;
    transform: scale(1.05);
}

/* ════════════════════════════════════════════════
   2. HERO SECTION CON MÁSCARA ORGÁNICA CURVA (MOCKUP 1:1)
   ════════════════════════════════════════════════ */
.hero-section {
    position: relative;
    padding: 60px 48px 100px;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 60px;
    align-items: center;
}

.hero-left-content {
    z-index: 10;
}

.hero-title-main {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.8rem, 4.8vw, 4.2rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.hero-title-main span.blue {
    color: var(--text-dark);
    display: block;
}

.hero-title-main span.orange {
    color: var(--brand-orange);
    display: block;
}

.hero-title-line {
    width: 90px;
    height: 4px;
    background: var(--brand-blue);
    border-radius: 2px;
    margin: 16px 0 24px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-subtitle strong {
    color: var(--brand-orange);
}

/* 4 Íconos Circulares de Beneficios */
.hero-features-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

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

.feature-circle-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #1e3a8a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
    transition: var(--transition);
}

.hero-feature-item:hover .feature-circle-icon {
    background: var(--brand-blue);
    color: white;
    transform: translateY(-3px);
}

.feature-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

/* Columna Derecha con Marco Curvo */
.hero-right-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.curved-photo-frame {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 180px 0 0 240px;
    overflow: hidden;
    border: 6px solid var(--brand-blue);
    box-shadow: 0 20px 50px rgba(29, 78, 216, 0.2);
}

.curved-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Curvas orgánicas decorativas de fondo */
.bg-wave-orange {
    position: absolute;
    bottom: -80px;
    left: -120px;
    width: 400px;
    height: 400px;
    background: var(--brand-orange);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.9;
}

.bg-wave-blue {
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: var(--brand-blue);
    border-radius: 50%;
    z-index: -1;
}

/* ════════════════════════════════════════════════
   3. BARRA FLOTANTE DE CONFIANZA (MOCKUP 1:1)
   ════════════════════════════════════════════════ */
.trust-strip-container {
    max-width: 1280px;
    margin: -50px auto 60px;
    padding: 0 24px;
    position: relative;
    z-index: 100;
}

.trust-floating-card {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 28px 36px;
    box-shadow: var(--shadow-float);
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-right: 16px;
    border-right: 1px solid #f1f5f9;
}

.trust-item:last-child {
    border-right: none;
    padding-right: 0;
}

.trust-icon {
    font-size: 2.2rem;
    color: var(--brand-blue);
    flex-shrink: 0;
}

.trust-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.25;
    margin-bottom: 2px;
}

.trust-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
}

section[id], main[id], .offer-separata-section {
    scroll-margin-top: 90px;
}

.offer-separata-section {
    background: linear-gradient(180deg, #fff7ed 0%, #ffffff 100%);
    border-top: 1px solid #ffedd5;
    border-bottom: 1px solid #ffedd5;
    padding: 70px 24px;
}

.separata-banner-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 20px;
}

.separata-badge {
    background: #ef4444;
    color: white;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.separata-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-dark);
}

.separata-title span {
    color: var(--brand-orange);
}

.separata-subtitle {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 4px;
}

.btn-download-separata {
    background: #1e3a8a;
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.25);
    transition: var(--transition);
}

.btn-download-separata:hover {
    background: var(--brand-orange);
    box-shadow: 0 6px 20px rgba(255, 84, 0, 0.35);
}

.separata-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.offer-card {
    background: #ffffff;
    border: 2px solid #ffedd5;
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.offer-card:hover {
    border-color: var(--brand-orange);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.offer-discount-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ef4444;
    color: white;
    font-weight: 900;
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    z-index: 5;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

.offer-img-box {
    height: 190px;
    padding: 16px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f1f5f9;
}

.offer-img-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.offer-content {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.offer-category {
    font-size: 0.72rem;
    color: #ef4444;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.offer-product-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.35;
}

.offer-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 14px;
}

.price-old {
    font-size: 0.9rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 600;
}

.price-offer {
    font-size: 1.3rem;
    font-weight: 900;
    color: #ef4444;
}

.price-offer small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ════════════════════════════════════════════════
   5. MÓDULOS DE SERVICIOS, NOSOTROS Y CONTACTO
   ════════════════════════════════════════════════ */
.module-section {
    padding: 80px 24px;
}

.module-section.bg-light {
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-container {
    max-width: 1280px;
    margin: 0 auto;
}

.module-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.module-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: var(--brand-orange);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: var(--radius-full);
}

.module-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-dark);
    margin-top: 12px;
}

.module-title span {
    color: var(--brand-orange);
}

.module-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Tarjetas de Servicios */
.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: var(--brand-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.service-icon-box {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.service-icon-box.orange {
    background: #fff7ed;
    color: var(--brand-orange);
}

.service-icon-box.blue {
    background: #eff6ff;
    color: var(--brand-blue);
}

.service-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.service-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex: 1;
}

.service-card-link, .service-card-link-btn {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--brand-blue);
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
}

.service-card-link:hover, .service-card-link-btn:hover {
    color: var(--brand-orange);
}

/* Sección Nosotros */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-top: 16px;
}

.about-stats-row {
    display: flex;
    gap: 28px;
    margin-top: 32px;
}

.stat-box {
    display: flex;
    flex-direction: column;
}

.stat-box strong {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--brand-blue);
    line-height: 1;
}

.stat-box span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.about-card-info {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}

.about-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 16px;
}

.about-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Tarjetas de Contacto & Mapa */
.contact-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.contact-info-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.contact-icon.blue { background: #eff6ff; color: var(--brand-blue); }
.contact-icon.orange { background: #fff7ed; color: var(--brand-orange); }

.contact-info-card h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-info-card p {
    font-size: 1.05rem;
    color: var(--brand-blue);
    margin-bottom: 4px;
    font-weight: 700;
}

.contact-info-card span {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.contact-btn-wsp {
    background: var(--whatsapp-green);
    color: white;
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}

.contact-btn-outline {
    background: transparent;
    border: 1.5px solid var(--brand-blue);
    color: var(--brand-blue);
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.contact-btn-outline:hover {
    background: var(--brand-blue);
    color: white;
}

/* Marco Interactivo Mapa Google Maps */
.map-embed-wrapper {
    margin-top: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    height: 400px;
    background: #f8fafc;
}

.map-embed-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ════════════════════════════════════════════════
   6. SECCIÓN CATÁLOGO DE PRODUCTOS REALES
   ════════════════════════════════════════════════ */
.catalog-section {
    max-width: 1280px;
    margin: 0 auto 80px;
    padding: 0 24px;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 28px;
}

.section-title-h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-dark);
}

.section-title-h2 span {
    color: var(--brand-orange);
}

.catalog-search-bar {
    max-width: 440px;
    position: relative;
    flex: 1;
}

.catalog-search-input {
    width: 100%;
    background: #f8fafc;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 11px 20px 11px 44px;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition);
}

.catalog-search-input:focus {
    border-color: var(--brand-blue);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1);
}

.catalog-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Category Pills */
.category-pills-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 32px;
}

.cat-pill-btn {
    background: #f8fafc;
    border: 1.5px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.cat-pill-btn:hover {
    color: var(--brand-blue);
    border-color: var(--brand-blue);
    background: #eff6ff;
}

.cat-pill-btn.active {
    background: var(--brand-orange);
    color: white;
    border-color: var(--brand-orange);
    box-shadow: 0 4px 14px rgba(255, 84, 0, 0.3);
}

/* Product Cards Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
}

.product-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    border-color: var(--brand-blue);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.product-img-box {
    height: 200px;
    padding: 16px;
    position: relative;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f1f5f9;
}

.product-img-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #eff6ff;
    color: var(--brand-blue);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    border: 1px solid #bfdbfe;
}

.product-badge.rx {
    background: #fff7ed;
    color: #ea580c;
    border-color: #fed7aa;
}

.product-content {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-category {
    font-size: 0.72rem;
    color: var(--brand-orange);
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.product-name {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.35;
}

.product-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--text-dark);
}

.product-price .currency {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.btn-add-cart {
    background: var(--brand-blue);
    color: white;
    border: none;
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-add-cart:hover {
    background: var(--brand-blue-dark);
    box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

.qty-counter-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--brand-blue);
}

.qty-counter-badge button {
    background: #ffffff;
    border: 1px solid #bfdbfe;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
}

/* ════════════════════════════════════════════════
   7. CARRITO & MODAL
   ════════════════════════════════════════════════ */
.cart-overlay, .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-overlay.active, .modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: #ffffff;
    z-index: 2001;
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
}

.cart-drawer.active { right: 0; }

.cart-header {
    padding: 20px;
    background: var(--brand-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-body { flex: 1; overflow-y: auto; padding: 20px; }

.cart-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
}

.cart-item-img { width: 54px; height: 54px; object-fit: contain; }
.cart-item-details { flex: 1; }
.cart-item-name { font-size: 0.9rem; font-weight: 700; }
.cart-item-price { font-size: 0.88rem; color: var(--brand-blue); font-weight: 800; }

.cart-footer {
    padding: 20px;
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.btn-checkout-wsp {
    width: 100%;
    background: var(--whatsapp-green);
    color: white;
    border: none;
    padding: 14px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-checkout-wsp:hover { background: #1da851; }

/* Modal Subir Fórmula */
.modal-card {
    background: #ffffff;
    border-radius: var(--radius-md);
    width: 100%;
    max-width: 500px;
    padding: 28px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.upload-area {
    border: 2px dashed #fed7aa;
    background: #fff7ed;
    padding: 24px;
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    margin-bottom: 16px;
}

.form-group { margin-bottom: 14px; }
.form-label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 4px; }
.form-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

/* Floating WhatsApp Button */
.floating-wsp-circle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1500;
    width: 60px;
    height: 60px;
    background: var(--whatsapp-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    transition: var(--transition);
}

.floating-wsp-circle:hover {
    transform: scale(1.1);
}

/* Toast */
.toast-container { position: fixed; bottom: 30px; left: 30px; z-index: 3000; }
.toast-msg {
    background: #0f172a;
    color: white;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

footer {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 40px 32px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 991px) {
    .hero-section { grid-template-columns: 1fr; padding: 40px 24px; }
    .curved-photo-frame { height: 320px; border-radius: 60px; }
    .hero-features-row { grid-template-columns: repeat(2, 1fr); }
    .trust-floating-card { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .main-navbar { padding: 12px 20px; flex-wrap: wrap; }
    .nav-links-center { display: none; }
}
