/* ===== CSS Variables ===== */
:root {
    /* Paleta oficial La Lupe Brand Book */
    --color-primary: #753F1B;        /* Marrón café */
    --color-primary-dark: #2B0302;   /* Marrón oscuro */
    --color-primary-light: #EFAC52;  /* Dorado/Mostaza */
    --color-secondary: #753F1B;      /* Marrón café */
    --color-accent: #EFAC52;         /* Dorado/Mostaza */
    --color-red-brand: #C0272D;      /* Rojo La Lupe */
    --color-cream: #FFF8DC;
    --color-cream-light: #FFFEF7;
    --color-dark: #2B0302;           /* Marrón oscuro */
    --color-text: #2B0302;           /* Marrón oscuro */
    --color-text-light: #753F1B;     /* Marrón café */
    --color-white: #FFFFFF;
    --color-whatsapp: #25D366;

    /* Tipografías oficiales La Lupe Brand Book */
    --font-heading: 'Josefin Sans', sans-serif;
    --font-body: 'Josefin Sans', sans-serif;
    --font-accent: 'Dancing Script', cursive;

    --shadow-sm: 0 2px 8px rgba(44, 24, 16, 0.08);
    --shadow-md: 0 4px 20px rgba(44, 24, 16, 0.12);
    --shadow-lg: 0 8px 40px rgba(44, 24, 16, 0.16);
    --shadow-xl: 0 20px 60px rgba(44, 24, 16, 0.2);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;

    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--color-text);
    background:
        linear-gradient(160deg,
            #FFF8DC 0%,
            #FFF5E6 20%,
            rgba(239, 172, 82, 0.15) 40%,
            rgba(239, 172, 82, 0.1) 60%,
            #FFF5E6 80%,
            #FFF8DC 100%
        );
    background-attachment: fixed;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.08;
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: -50%;
    right: -30%;
    width: 80%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(117, 63, 27, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* ===== Animations ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes steam {
    0% {
        opacity: 0;
        transform: translateY(0) scaleX(1);
    }
    15% {
        opacity: 1;
    }
    50% {
        opacity: 1;
        transform: translateY(-20px) scaleX(1.2);
    }
    100% {
        opacity: 0;
        transform: translateY(-40px) scaleX(0.8);
    }
}

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

@keyframes scrollLine {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
    51% {
        transform-origin: bottom;
    }
    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}

.animate-fade-up {
    animation: fadeUp 0.8s ease forwards;
    opacity: 0;
}

.animate-fade-left {
    animation: fadeLeft 0.8s ease forwards;
    opacity: 0;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ===== Navbar ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    padding: 12px 0;
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 60px;
    width: auto;
    transition: transform var(--transition-fast);
}

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

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

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-red-brand);
    transition: width var(--transition-fast);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    transition: all var(--transition-fast);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-cream-light) 50%, #FFF5E6 100%);
    z-index: -2;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: radial-gradient(circle, rgba(117, 63, 27, 0.08) 0%, transparent 60%);
    z-index: -1;
}

.hero-content {
    flex: 1;
    min-width: 0;
    max-width: 600px;
    padding-left: 80px;
    padding-right: 40px;
}

.hero-badge {
    display: inline-block;
    background: rgba(239, 172, 82, 0.2);
    color: var(--color-primary-dark);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(239, 172, 82, 0.3);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: var(--color-red-brand);
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--color-accent);
    opacity: 0.4;
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

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

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

.btn-light:hover {
    background: var(--color-cream);
    transform: translateY(-2px);
}

.btn-whatsapp {
    background: var(--color-whatsapp);
    color: var(--color-white);
    width: 100%;
}

.btn-whatsapp:hover {
    background: #20BA5C;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-features {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: var(--color-text-light);
}

.feature-icon {
    font-size: 1.2rem;
}

.hero-image {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-container {
    position: relative;
    animation: float 4s ease-in-out infinite;
}

.hero-logo {
    width: 320px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(44, 24, 16, 0.25));
    transition: transform var(--transition-normal);
}

.hero-logo-container:hover .hero-logo {
    transform: scale(1.03);
}

.hero-logo-container .steam {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.steam span {
    width: 8px;
    height: 35px;
    background: linear-gradient(to top, rgba(117, 63, 27, 0.3), rgba(117, 63, 27, 0));
    border-radius: 50px;
    animation: steam 2.5s ease-in-out infinite;
}

.steam span:nth-child(2) {
    animation-delay: 0.5s;
    height: 45px;
}

.steam span:nth-child(3) {
    animation-delay: 1s;
    height: 30px;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--color-text-light);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: var(--color-primary);
    animation: scrollLine 2s ease infinite;
}

/* ===== About Section ===== */
.about {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(255,248,220,0.6) 100%);
    backdrop-filter: blur(2px);
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 50px;
    align-items: stretch;
}

.about-image {
    position: relative;
    display: flex;
}

@media (min-width: 1101px) {
    .about-image {
        margin-left: -160px;
    }
}

.image-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    background: var(--color-cream);
    width: 100%;
    min-height: 520px;
    flex: 1;
}

.about-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
}

.about-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    transform: scale(1.15);
    animation: slowZoomOut 5s ease-out forwards;
    animation-play-state: paused;
}

.about-slide.active {
    opacity: 1;
    animation-play-state: running;
}

@keyframes slowZoomOut {
    from {
        transform: scale(1.15);
    }
    to {
        transform: scale(1.02);
    }
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.image-placeholder {
    text-align: center;
    color: var(--color-primary-dark);
}

.image-placeholder span {
    font-size: 6rem;
    display: block;
    margin-bottom: 16px;
}

.image-placeholder p {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
}

.floating-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--color-white);
    padding: 20px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.floating-card .number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-red-brand);
}

.floating-card .label {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.section-tag {
    display: inline-block;
    color: var(--color-red-brand);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-text {
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(117, 63, 27, 0.15);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-red-brand);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ===== Products Section ===== */
.products {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(255,254,247,0.7) 0%, rgba(255,248,220,0.8) 100%);
    position: relative;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(117, 63, 27, 0.15), transparent);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-subtitle {
    color: var(--color-text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.category-filter {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 2px solid rgba(117, 63, 27, 0.2);
    background: var(--color-white);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--color-red-brand);
    border-color: var(--color-red-brand);
    color: var(--color-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    background: var(--color-primary);
    color: var(--color-white);
    z-index: 1;
}

.product-badge.bestseller {
    background: var(--color-red-brand);
}

.product-badge.new {
    background: var(--color-whatsapp);
}

.product-badge.healthy {
    background: #4CAF50;
}

.product-image {
    padding: 24px;
    background: linear-gradient(145deg, var(--color-cream), #FFF5E6);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    overflow: hidden;
}

.product-image:has(.product-img) {
    padding: 0;
    min-height: unset;
}

.product-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform var(--transition-normal);
}

.product-card:has(.product-img) .product-info::before {
    content: '(imagen referencial, toppings no incluidos)';
    display: block;
    font-size: 0.65rem;
    color: var(--color-text-light);
    opacity: 0.65;
    font-style: italic;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(117, 63, 27, 0.1);
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

.product-placeholder {
    width: 140px;
    height: 180px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    transition: transform var(--transition-normal);
}

.product-card:hover .product-placeholder {
    transform: scale(1.05);
}

/* Product color variations */
.cafe-grano { background: linear-gradient(145deg, #8B4513, #5D2E0C); }
.cafe-molido { background: linear-gradient(145deg, #A0522D, #8B4513); }
.cafe-250 { background: linear-gradient(145deg, #CD853F, #A0522D); }
.chocolate, .chocolate-500 { background: linear-gradient(145deg, #3E2723, #5D4037); }
.capuchino, .capuchino-500 { background: linear-gradient(145deg, #D7CCC8, #A1887F); }
.mocaccino { background: linear-gradient(145deg, #6D4C41, #4E342E); }
.frapuchino-choco { background: linear-gradient(145deg, #4E342E, #3E2723); }
.frapuchino-capu { background: linear-gradient(145deg, #BCAAA4, #8D6E63); }
.frapuchino-moca { background: linear-gradient(145deg, #5D4037, #3E2723); }
.choco-sinazucar { background: linear-gradient(145deg, #4E342E, #3E2723); border: 3px dashed #4CAF50; }
.capu-sinazucar { background: linear-gradient(145deg, #D7CCC8, #A1887F); border: 3px dashed #4CAF50; }
.moca-sinazucar { background: linear-gradient(145deg, #6D4C41, #4E342E); border: 3px dashed #4CAF50; }

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-red-brand);
    font-weight: 600;
}

.product-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-dark);
    margin: 8px 0;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
    margin-bottom: 12px;
}

.product-specs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.product-specs span {
    white-space: nowrap;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(117, 63, 27, 0.1);
}

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

.add-to-cart {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    background: transparent;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.add-to-cart:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* Promo Banner */
.promo-banner {
    background: linear-gradient(135deg, var(--color-red-brand) 0%, #8B1A1F 100%);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
}

.promo-content {
    position: relative;
    z-index: 1;
}

.promo-tag {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.promo-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 12px;
}

.promo-desc {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(255,248,220,0.5) 0%, rgba(255,255,255,0.85) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.contact-text {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    background: var(--color-cream);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 4px;
}

.contact-content p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.social-link.whatsapp {
    background: var(--color-whatsapp);
    color: var(--color-white);
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: var(--color-white);
}

.social-link.facebook {
    background: #1877F2;
    color: var(--color-white);
}

.social-link.tiktok {
    background: #000;
    color: var(--color-white);
}

.social-link:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.cta-card {
    background: linear-gradient(145deg, var(--color-cream), #FFF5E6);
    border-radius: var(--radius-xl);
    padding: 48px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.cta-icon {
    width: 80px;
    height: 80px;
    background: var(--color-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--color-white);
    animation: pulse 2s ease-in-out infinite;
}

.cta-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.cta-card p {
    color: var(--color-text-light);
    margin-bottom: 24px;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-dark);
    color: var(--color-white);
    padding: 60px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
    color: var(--color-white);
    margin-bottom: 16px;
}

.footer-brand .logo-img {
    height: 80px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: color var(--transition-fast);
}

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

.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 8px;
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}

/* ===== WhatsApp Float Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 60px;
    height: 60px;
    background: var(--color-whatsapp);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all var(--transition-fast);
    animation: pulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

/* ===== Responsive ===== */

/* Reset image card negative margins on non-desktop */
@media (max-width: 1100px) {
    .image-card {
        width: 100% !important;
        margin-left: 0 !important;
        border-radius: var(--radius-xl) !important;
    }
}

/* === Tablet landscape / mid-desktop === */
@media (max-width: 1200px) {
    .hero-content {
        padding-left: 48px;
        padding-right: 24px;
    }

    .hero-logo {
        width: 280px;
    }
}

@media (max-width: 1024px) {
    .hero-content {
        padding-left: 24px;
        padding-right: 16px;
    }

    .hero-image {
        flex: 0 0 auto;
    }

    .hero-logo {
        width: 240px;
    }

    .about-grid {
        gap: 48px;
    }

    .contact-grid {
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-image {
        margin-top: 48px;
    }

    .hero-logo {
        width: 250px;
    }

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
        width: 100%;
        margin: 0;
        display: block;
    }

    .image-card {
        width: 100% !important;
        margin-left: 0 !important;
        min-height: 320px;
        border-radius: var(--radius-xl);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 50px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 24px;
        box-shadow: var(--shadow-md);
    }

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

    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .footer-brand .logo-img {
        height: 70px;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .promo-banner {
        padding: 32px 24px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .about-image {
        display: block !important;
        width: 100%;
        margin: 0 0 30px;
    }

    .image-card {
        width: 100% !important;
        margin-left: 0 !important;
        aspect-ratio: 4/3;
        min-height: unset;
        border-radius: var(--radius-xl);
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .logo-img {
        height: 45px;
    }

    .hero {
        padding: 80px 16px 60px;
    }

    .hero-logo {
        width: 200px;
    }

    .footer-brand .logo-img {
        height: 60px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .category-filter {
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .about-stats {
        gap: 20px;
    }

    .scroll-indicator {
        display: none;
    }

    .floating-card {
        right: 0;
        bottom: -10px;
    }

    .about-image {
        display: block;
        width: 100%;
        margin: 0 0 30px;
    }

    .image-card {
        width: 100% !important;
        margin-left: 0 !important;
        aspect-ratio: 4/3;
        min-height: unset;
        border-radius: var(--radius-xl);
    }
}

/* ===== Scroll Animations ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Cart Window ===== */
.cart-window {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 360px;
    max-width: calc(100vw - 40px);
    max-height: 70vh;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.cart-window.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.cart-header h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-dark);
    margin: 0;
}

.cart-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--color-text-light);
    transition: color 0.2s ease;
}

.cart-close:hover {
    color: var(--color-dark);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
    max-height: 300px;
}

.cart-empty {
    text-align: center;
    color: var(--color-text-light);
    padding: 24px;
    font-size: 0.9rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cart-item-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-dark);
}

.cart-item-price {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.15);
    background: var(--color-white);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

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

.cart-qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.cart-qty-value {
    font-weight: 600;
    min-width: 24px;
    text-align: center;
    font-size: 0.95rem;
}

.cart-item-subtotal {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-subtotal span {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.95rem;
}

.cart-item-remove {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--color-text-light);
    transition: color 0.2s ease;
}

.cart-item-remove:hover {
    color: #e74c3c;
}

.cart-summary {
    padding: 16px 20px;
    border-top: 1px solid rgba(0,0,0,0.08);
    background: var(--color-cream-light);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.cart-zone-selector {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px dashed rgba(0,0,0,0.1);
}

.cart-zone-selector label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-dark);
    margin-bottom: 8px;
}

.cart-zone-selector select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-dark);
    background: var(--color-white);
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.cart-zone-selector select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.cart-zone-selector select:hover {
    border-color: var(--color-primary);
}

.cart-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.cart-row:last-of-type {
    margin-bottom: 16px;
}

.cart-total {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-dark);
    padding-top: 8px;
    border-top: 1px dashed rgba(0,0,0,0.1);
}

.delivery-note {
    font-size: 0.8rem;
    color: var(--color-primary);
    font-style: italic;
    transition: all 0.3s ease;
}

.delivery-note.free-delivery {
    color: var(--color-whatsapp);
    font-weight: 700;
    font-style: normal;
}

.cart-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: var(--color-whatsapp);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.cart-checkout-btn:hover {
    background: #20b858;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* ===== Cart Toggle Button ===== */
.cart-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.cart-toggle.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.cart-toggle:hover {
    background: var(--color-dark);
    transform: scale(1.05);
}

.cart-toggle.visible:hover {
    transform: scale(1.05);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e74c3c;
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Product Cart Controls ===== */
.cart-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.add-to-cart-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-cream);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-dark);
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.05);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--color-cream);
    padding: 4px 8px;
    border-radius: 25px;
}

.qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--color-white);
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.qty-value {
    font-weight: 700;
    min-width: 28px;
    text-align: center;
    font-size: 1rem;
    color: var(--color-dark);
}

/* ===== Cart Responsive ===== */
@media (max-width: 480px) {
    .cart-window {
        bottom: 90px;
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
    }

    .cart-toggle {
        bottom: 15px;
        right: 15px;
        width: 50px;
        height: 50px;
    }

    .whatsapp-float {
        left: 15px;
        bottom: 15px;
        width: 50px;
        height: 50px;
    }

    .cart-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .cart-item-controls,
    .cart-item-subtotal {
        justify-content: flex-start;
    }

    .quantity-controls {
        padding: 2px 6px;
    }

    .qty-btn {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    .qty-value {
        min-width: 24px;
        font-size: 0.9rem;
    }
}
