/* Aura Nomade - Design System */
:root {
    --primary: #FFB7B2; /* Soft Blush */
    --secondary: #B2E2F2; /* Soft Sky Blue */
    --accent: #E2F0CB; /* Soft Mint */
    --text: #4A4A4A;
    --text-light: #7A7A7A;
    --bg-warm: #FFFAF5;
    --white: #FFFFFF;
    --gold: #D4AF37;
    --trust-blue: #2C3E50;
    --success: #27AE60;
    --radius: 20px;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Inter', sans-serif;
}

body {
    background-color: var(--bg-warm);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Security Bar */
.security-bar {
    background: var(--trust-blue);
    color: var(--white);
    text-align: center;
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 500;
}

.security-bar span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Header */
header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 45px;
    width: 45px;
    object-fit: contain;
    border-radius: 50%;
}

/* Hero */
.hero {
    position: relative;
    height: 70vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-warm) 0%, #FFF0F0 100%);
    color: var(--text);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--primary);
    filter: blur(150px);
    opacity: 0.2;
    top: -100px;
    right: -100px;
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: var(--secondary);
    filter: blur(120px);
    opacity: 0.15;
    bottom: -50px;
    left: -50px;
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    padding: 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--white);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--trust-blue);
    line-height: 1.1;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: var(--text-light);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 183, 178, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 183, 178, 0.6);
}

/* Trust Section */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 40px 20px;
    background: var(--white);
    flex-wrap: wrap;
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    max-width: 120px;
}

.badge i {
    font-size: 1.5rem;
    color: var(--primary);
}

.badge span {
    font-size: 0.8rem;
    font-weight: 600;
}

/* Products */
.section-title {
    text-align: center;
    padding: 60px 20px 20px;
}

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-image {
    width: 100%;
    height: 350px;
    overflow: hidden;
    position: relative;
}

.product-image img, .product-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--accent);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

/* Reviews Carousel */
.reviews-section {
    background: var(--white);
    padding: 80px 20px;
    overflow: hidden;
}

.reviews-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
}

.reviews-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

.review-card {
    background: var(--bg-warm);
    padding: 25px;
    border-radius: var(--radius);
    min-width: 300px;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-snap-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.03);
}

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

.stars {
    color: #F1C40F;
}

.review-name {
    font-weight: 600;
    font-size: 0.9rem;
}

/* FAQ */
.faq-section {
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    background: var(--white);
    border-radius: 15px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
}

.faq-question {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--trust-blue);
}

/* Footer */
footer {
    background: var(--trust-blue);
    color: var(--white);
    padding: 60px 20px;
    text-align: center;
}

.tiendanube-info {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    font-size: 0.9rem;
}

/* Cart Styles */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100%;
    background: var(--white);
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    z-index: 2000;
    transition: var(--transition);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
}

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

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 1px solid #EEE;
    padding-bottom: 15px;
}

.cart-close {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.cart-items {
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-item {
    display: flex;
    gap: 15px;
    align-items: center;
    background: var(--bg-warm);
    padding: 10px;
    border-radius: 12px;
}

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

.cart-item-info {
    flex-grow: 1;
}

.cart-item-info h4 {
    font-size: 0.9rem;
    margin-bottom: 4px;
}

.cart-item-info .price {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.85rem;
}

.cart-footer {
    margin-top: 20px;
    border-top: 1px solid #EEE;
    padding-top: 20px;
}

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

.floating-cart {
    position: fixed;
    bottom: 100px; /* Moved up to make room for WA */
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(255, 183, 178, 0.4);
    z-index: 1500;
    transition: var(--transition);
}

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 1500;
    transition: var(--transition);
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background: #128C7E;
}

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

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--trust-blue);
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
    display: none;
}

.cart-overlay.open {
    display: block;
}

@media (max-width: 400px) {
    .cart-drawer {
        width: 100%;
        right: -100%;
    }
}
