@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Inter:wght@100..900&display=swap');

:root {
    --color-primary: #E9A171;
    --color-secondary: #3D2B1F;
    --color-bg: #FFFBF7;
    --color-text: #2D1B14;
    --color-text-muted: #8B7E74;

    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.1);

    --radius-pill: 9999px;
    --radius-card: 2.5rem;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.banner-hero h1,
h1.text-white, h2.text-white, h3.text-white,
h4.text-white, h5.text-white, h6.text-white {
    color: white;
}

.glass {
    background: white;
    border-bottom: 1px solid #eee;
}

.sub-nav {
    background: #fcfcfc;
    border-bottom: 1px solid #eee;
}

.pill-location {
    background: #f3f4f6;
    border-radius: var(--radius-pill);
    padding: 0.5rem 1.2rem;
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    color: #4b5563;
}

.pill-location b {
    color: var(--color-primary);
    margin-left: 0.3rem;
}

.pill-search {
    background: #f3f4f6;
    border-radius: var(--radius-pill);
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
}

.cart-pill {
    background: var(--color-primary);
    color: white;
    border-radius: var(--radius-pill);
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    font-weight: 800;
    font-size: 0.9rem;
}

.hero-split {
    display: flex;
    height: 500px;
    overflow: hidden;
    border-radius: 2rem;
    margin: 1rem;
}

.hero-image {
    flex: 1;
    background-size: cover;
    background-position: center;
}

.hero-content {
    flex: 0 0 40%;
    background: var(--color-primary);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-family: var(--font-body);
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 2rem;
    color: white;
}

.btn-pide {
    background: white;
    color: var(--color-primary);
    padding: 0.8rem 2.5rem;
    border-radius: var(--radius-pill);
    font-weight: 800;
    font-size: 1.5rem;
    transition: var(--transition-smooth);
}

.btn-pide:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-premium {
    background: white;
    border-radius: 1.5rem;
    transition: var(--transition-smooth);
    border: 1px solid #f3f4f6;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -8px rgba(61, 43, 31, 0.12);
    border-color: var(--color-primary);
}

.group-hover\:scale-108 {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.group:hover .group-hover\:scale-108 {
    transform: scale(1.08);
}

.pill-category {
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.8rem;
    white-space: nowrap;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.pill-category.active {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(233, 161, 113, 0.3);
}

.pill-category:not(.active) {
    background: white;
    color: var(--color-text-muted);
    border-color: #f3f4f6;
}

.pill-category:not(.active):hover {
    background: rgba(233, 161, 113, 0.08);
    border-color: rgba(233, 161, 113, 0.3);
    color: var(--color-primary);
    transform: translateY(-1px);
}

.btn-pill {
    background: var(--color-primary);
    color: white;
    padding: 0.6rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;
}

.btn-pill:hover {
    background: var(--color-secondary);
    box-shadow: var(--shadow-premium);
}

.mega-menu {
    position: fixed;
    top: 128px;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #eee;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.4s ease;
    z-index: 9000;
}

.group:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-menu-item {
    padding: 0.8rem 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.mega-menu-item:hover, .mega-menu-item.active {
    background: #fcfcfc;
    border-left-color: var(--color-primary);
    color: var(--color-primary);
}

.mega-product-card {
    transition: all 0.3s ease;
}

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

.category-bubbles {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: -3rem;
    position: relative;
    z-index: 20;
    overflow-x: auto;
    padding: 1rem;
}

.bubble-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 100px;
}

.bubble-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 2px solid white;
}

.bubble-item:hover .bubble-circle {
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.bubble-item span {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--color-secondary);
    text-align: center;
    letter-spacing: 0.05em;
}

.promo-banner {
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2rem;
    position: relative;
    overflow: hidden;
}

.promo-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
}

.promo-banner h2 {
    color: white;
    font-size: 3rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
    text-align: center;
}

.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@media (max-width: 768px) {
    .hero-split {
        flex-direction: column !important;
        height: auto !important;
        min-height: 520px;
        margin: 0.5rem !important;
    }

    .hero-image {
        height: 250px !important;
        flex: none !important;
        width: 100% !important;
    }

    .hero-content {
        flex: none !important;
        width: 100% !important;
        padding: 2rem 1.5rem !important;
        text-align: center !important;
    }

    .hero-content .text-white {
        text-align: center !important;
    }

    .hero-content div.flex {
        justify-content: center !important;
    }

    .hero-content h1 {
        font-size: 2.2rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.1 !important;
    }

    .hero-content p {
        font-size: 1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .btn-pide {
        font-size: 1.1rem !important;
        padding: 0.6rem 2rem !important;
    }

    .hero-content .absolute.bottom-10.right-10 {
        display: none !important;
    }

    .category-bubbles {
        justify-content: flex-start !important;
        gap: 1rem !important;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        margin-top: -1.5rem !important;
    }

    .promo-banner {
        height: auto !important;
        min-height: 220px !important;
        padding: 3rem 1.5rem !important;
    }

    .promo-banner h2 {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
        padding: 0 0.5rem !important;
    }
}
