/* =========================================
   Botica Silvestre - Design System & Styles
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

:root {
    /* Colors */
    --color-bg: #FFFFFF;
    --color-bg-alt: #F4F6F5;
    --color-text-main: #1A3636;
    --color-text-muted: #677D6A;
    
    --color-primary: #40534C;
    --color-primary-hover: #1A3636;
    --color-primary-light: #677D6A;
    
    --color-accent-blue: #E0EBF5; /* Ethereal Blue */
    --color-accent-blue-text: #4A7A9A;
    --color-accent-green: #E8F0EA; /* Soft Sage */
    --color-accent-green-text: #4C7255;
    --color-accent-silver: #F0F2F4;
    --color-accent-silver-text: #606870;

    --color-white: #FFFFFF;
    --color-glass: rgba(255, 255, 255, 0.7);
    --color-glass-border: rgba(255, 255, 255, 0.4);

    /* Typography */
    --font-primary: 'Rubik', sans-serif;
    --font-heading: 'Cormorant Garamond', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Shadows */
    --shadow-soft: 0 10px 40px -10px rgba(44, 53, 57, 0.08);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   Reset & Base
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-weight: 600;
}

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

/* =========================================
   Typography
   ========================================= */
h1, h2, h3, h4 {
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: normal; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 400; margin-bottom: 0.5rem; }

p {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    font-weight: 300;
}

/* =========================================
   Layout & Utilities
   ========================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    margin-bottom: var(--spacing-sm);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .grid-2 { grid-template-columns: 1fr 1fr; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.bg-light {
    background-color: var(--color-bg-alt);
}

/* =========================================
   Buttons & Badges
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 400;
    cursor: pointer;
    border: none;
    transition: var(--transition-smooth);
    letter-spacing: 0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, #40534C 0%, #677D6A 100%);
    color: var(--color-white);
    font-weight: 400;
    letter-spacing: 0.05em;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1A3636 0%, #40534C 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26, 54, 54, 0.3);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: var(--color-accent-silver);
    color: var(--color-accent-silver-text);
    margin-bottom: 1rem;
}

.badge-accent {
    background-color: var(--color-accent-blue);
    color: var(--color-accent-blue-text);
}

/* =========================================
   Navbar
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.25rem 0;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(252, 253, 253, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-glass-border);
    padding: 1rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

.logo-img {
    height: 40px; /* Ajusta este valor según sea necesario */
    width: auto;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav-links { display: flex; }
}

.nav-links a:not(.btn) {
    font-weight: 400;
    color: var(--color-text-main);
}

.nav-links a:not(.btn):hover {
    color: var(--color-primary);
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 5rem; /* space for navbar */
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/ethereal_botanical_hero.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.3);
    filter: blur(6px);
    animation: slowZoom 30s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(252, 253, 253, 0.4) 0%, rgba(252, 253, 253, 0.95) 100%);
    z-index: -1;
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.hero-content {
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    margin-bottom: 1.5rem;
    color: var(--color-primary);
    line-height: 1.1;
    font-weight: 400;
}

.hero-subtitle {
    margin-bottom: 3rem;
    font-size: 1.25rem;
    max-width: 700px;
    color: var(--color-text-main);
    font-weight: 400;
}

.badge-hero {
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--color-primary);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(64, 83, 76, 0.2);
    color: var(--color-primary);
    font-weight: 500;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(64, 83, 76, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(64, 83, 76, 0.1);
}

@keyframes slowZoom {
    0% { transform: scale(1.25); }
    100% { transform: scale(1.45); }
}

/* =========================================
   Philosophy Section
   ========================================= */
.philosophy-text p {
    margin-bottom: 1.5rem;
}

.glass-card {
    background: var(--color-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--color-glass-border);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-glass);
}

.large-icon {
    width: 48px;
    height: 48px;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

/* =========================================
   Benefits Section
   ========================================= */
.benefit-card {
    background: var(--color-white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-glass-border);
    box-shadow: 0 15px 50px -10px rgba(44, 53, 57, 0.1);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.bg-blue { background: var(--color-accent-blue); color: var(--color-accent-blue-text); }
.bg-green { background: var(--color-accent-green); color: var(--color-accent-green-text); }
.bg-silver { background: var(--color-accent-silver); color: var(--color-accent-silver-text); }

/* =========================================
   Test Section
   ========================================= */
.test-section {
    padding: var(--spacing-xl) 0;
}

.glass-panel {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.4) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-glass-border);
    border-radius: 30px;
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-glass);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(224,235,245,0.4) 0%, transparent 60%);
    z-index: -1;
    animation: breathing 20s infinite alternate;
}

.test-content {
    max-width: 600px;
    margin: 0 auto;
}

.test-content p {
    margin-bottom: 2.5rem;
}

.test-placeholder {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.test-icon {
    width: 50px;
    height: 50px;
    color: var(--color-primary);
}

.test-note {
    font-size: 0.875rem !important;
    margin-bottom: 0 !important;
}

/* =========================================
   Footer
   ========================================= */
.products {
    background-color: var(--color-bg);
}

.products-grid {
    margin-top: 3rem;
}

.product-image-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    aspect-ratio: 1/1;
}

.product-image-wrapper .img-default {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.product-image-wrapper .img-hover {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.product-image-wrapper:hover .img-default {
    opacity: 0;
}

.product-image-wrapper:hover .img-hover {
    opacity: 1;
    transform: scale(1.05);
}

.footer {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(26, 54, 54, 0.8), rgba(10, 25, 25, 0.95)), url('../assets/images/moss-footer-bg.png');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    padding: 6rem 0 3rem;
    color: var(--color-white);
    border-top: none;
    overflow: hidden;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.footer-brand .logo-img {
    filter: brightness(0) invert(1);
}

.footer-brand p {
    margin-top: 1rem;
    font-size: 0.9rem;
    max-width: 250px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-links {
        flex-direction: row;
        gap: 2rem;
    }
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* =========================================
   Animations
   ========================================= */
@keyframes breathing {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.7; }
    100% { transform: scale(1); opacity: 0.5; }
}

.pulse {
    animation: pulse 3s infinite ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Page Transition Magic Overlay */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../assets/images/moss-quiz-bg.png');
    background-size: cover;
    background-position: center;
    background-color: rgba(26, 54, 54, 0.85); /* Match quiz background blend */
    background-blend-mode: multiply;
    z-index: 999999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.page-transition-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Fade up on scroll */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Product Format Tags */
.product-format-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.format-tag {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    border: 1px solid rgba(64, 83, 76, 0.2);
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    backdrop-filter: blur(4px);
    transition: var(--transition-smooth);
}

.format-tag:hover {
    background: rgba(64, 83, 76, 0.05);
    border-color: rgba(64, 83, 76, 0.4);
}

/* =========================================
   Cart & eCommerce Styles
   ========================================= */

.cart-icon-btn {
    background: none;
    border: none;
    color: var(--color-text-main);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    transition: var(--transition-smooth);
}

.cart-icon-btn:hover {
    color: var(--color-primary);
    transform: scale(1.05);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--color-primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.product-card {
    display: flex;
    flex-direction: column;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
}

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

.btn-add-cart {
    background: rgba(64, 83, 76, 0.05);
    border: 1px solid rgba(64, 83, 76, 0.2);
    color: var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.btn-add-cart svg {
    width: 16px;
    height: 16px;
}

.btn-add-cart:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(64, 83, 76, 0.2);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid var(--color-glass-border);
}

.cart-sidebar.active {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(64, 83, 76, 0.1);
}

.cart-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.close-cart-btn {
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: var(--transition-smooth);
    padding: 0.5rem;
}

.close-cart-btn:hover {
    color: var(--color-primary);
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.6);
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(64, 83, 76, 0.1);
}

.cart-item-img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.cart-item-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--color-text-main);
}

.cart-item-price {
    font-size: 0.9rem;
    color: var(--color-primary);
    font-weight: 500;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.qty-btn {
    background: rgba(64, 83, 76, 0.1);
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-primary);
    font-weight: bold;
    transition: var(--transition-smooth);
}

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

.cart-item-remove {
    background: none;
    border: none;
    color: #e74c3c;
    cursor: pointer;
    font-size: 0.8rem;
    margin-left: auto;
    padding: 0.2rem;
}

.cart-item-remove:hover {
    text-decoration: underline;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(64, 83, 76, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-main);
}

.btn-block {
    width: 100%;
    padding: 1rem;
}

.empty-cart-msg {
    text-align: center;
    color: var(--color-text-muted);
    margin-top: 2rem;
}

/* Interactive Format Tags */
button.format-tag {
    cursor: pointer;
    outline: none;
}
.format-tag.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}
span.format-tag {
    cursor: default;
}

/* =========================================
   Sacred Space Animations & Overlays
   ========================================= */

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, rgba(26,54,54,0.3) 0%, rgba(103,125,106,0.3) 50%, rgba(210,180,140,0.3) 100%);
    background-size: 400% 400%;
    animation: sacredGradient 15s ease-in-out infinite alternate;
    mix-blend-mode: overlay;
    z-index: 1;
}

@keyframes sacredGradient {
    0% { background-position: 0% 50%; filter: hue-rotate(0deg); }
    100% { background-position: 100% 50%; filter: hue-rotate(45deg); }
}

.hero-title {
    animation: textBreathe 10s ease-in-out infinite alternate;
}

@keyframes textBreathe {
    0% { 
        text-shadow: 0 0 10px rgba(255,255,255,0.0);
        transform: translateY(0px) scale(1);
    }
    100% { 
        text-shadow: 0 0 30px rgba(255,255,255,0.4);
        transform: translateY(-2px) scale(1.01);
    }
}

/* =========================================
   Benefits Section (Moss Theme)
   ========================================= */
.benefits {
    position: relative;
    padding: 6rem 0;
    color: var(--color-white);
    border-top: none;
    overflow: hidden;
}

.benefits::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../assets/images/moss-benefits-bg.png');
    background-size: cover;
    background-position: center;
    z-index: -2;
    transform: scale(1.1);
    animation: slowZoom 30s ease-in-out infinite alternate;
}

.benefits::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(26, 54, 54, 0.85);
    mix-blend-mode: multiply;
    z-index: -1;
    animation: benefitsColorBreath 15s ease-in-out infinite alternate;
}

@keyframes benefitsColorBreath {
    0% {
        background-color: rgba(26, 54, 54, 0.75);
    }
    100% {
        background-color: rgba(16, 44, 24, 0.95);
    }
}

.benefits .section-header p,
.benefits .section-title {
    color: var(--color-white);
}

.benefits .benefit-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.benefits .benefit-card h3,
.benefits .benefit-card p {
    color: var(--color-white);
}

.benefits .benefit-card .icon-wrapper {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-white);
}

.benefits .benefit-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* =========================================
   WhatsApp Floating Button
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-primary); /* Verde seco de la marca */
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    background-color: #243535; /* Slightly lighter/different shade of primary for hover */
    color: var(--color-white);
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    .whatsapp-float svg {
        width: 24px;
        height: 24px;
    }
}

/* Mobile Optimizations for Botica */
@media (max-width: 480px) {
    .section {
        padding: 4rem 1rem;
    }
    .product-card {
        padding: 1.5rem 1rem !important;
    }
    .section-title {
        font-size: 2rem;
    }
    .section-subtitle {
        font-size: 1rem;
    }
    .product-image-wrapper {
        margin-bottom: 1rem;
    }
    .product-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }
    .product-price {
        text-align: center;
        margin-bottom: 0.5rem;
    }
    .btn-add-cart {
        width: 100%;
        justify-content: center;
    }
    .grid-3 {
        gap: 1.5rem;
    }
}
