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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2c 100%);
    min-height: 100vh;
    padding: 0;
    margin: 0;
    animation: pageLoad 0.6s ease-out;
}

/* Top Navigation */
.top-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: rgba(16, 40, 12, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

body.logged-in .top-nav {
    top: 12px;
    margin: 12px 20px 0;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-brand {
    color: #ffd700;
    font-family: 'Tangerine', cursive;
    font-size: 2rem;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.brand-logo {
    font-size: 1.6rem;
}

.nav-brand-logo {
    height: 32px;
    width: auto;
    display: block;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.nav-link:hover {
    background: rgba(255, 215, 0, 0.15);
}

.nav-link.active {
    background: rgba(255, 215, 0, 0.35);
    color: #ffd700;
}

.nav-btn {
    background: transparent;
    color: #fff;
    border: 1px solid transparent;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 900;
    transition: transform 0.2s ease, background 0.2s ease;
}

.nav-btn:hover {
    transform: translateY(-1px);
    background: transparent;
}

@media (max-width: 768px) {
    .top-nav {
        padding: 10px 12px;
    }

    .nav-brand {
        font-size: 1.6rem;
    }

    .brand-text {
        display: none;
    }

    .nav-right {
        gap: 6px;
    }

    .nav-btn,
    .nav-link {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
}

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

.container {
    max-width: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Auth Icon */
.auth-icon-container {
    position: relative;
}

.auth-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse 2s ease-in-out infinite;
}

.auth-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.6);
}

.user-dropdown {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(10px);
    transition: all 0.3s ease;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.user-dropdown-header {
    padding: 15px;
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    color: white;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.dropdown-item {
    display: block;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-item:hover {
    background: rgba(212, 175, 55, 0.1);
    padding-left: 20px;
}

.dropdown-item.logout {
    color: #dc3545;
    border-bottom: none;
}

.dropdown-item.logout:hover {
    background: rgba(220, 53, 69, 0.1);
}

.container > header {
    flex: 0 0 auto;
    width: 100%;
    position: relative;
}

header {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    border-radius: 0;
    color: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    animation: headerGlow 3s ease-in-out infinite;
}

@keyframes headerGlow {
    0%, 100% {
        box-shadow: 0 10px 30px rgba(0,0,0,0.2), 0 0 40px rgba(212, 175, 55, 0.4);
    }
    50% {
        box-shadow: 0 10px 30px rgba(0,0,0,0.2), 0 0 60px rgba(212, 175, 55, 0.6);
    }
}

header h1 {
    font-size: 3.5rem;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-family: 'Tangerine', cursive;
    font-weight: 700;
    letter-spacing: 2px;
    animation: fadeIn 1s ease-out;
    white-space: nowrap;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes steam {
    0% {
        opacity: 0.8;
        transform: translateY(0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(-50px) scale(1.5);
    }
}

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

@keyframes typewriter {
    0% {
        width: 0;
        opacity: 0;
    }
    1% {
        opacity: 1;
    }
    99% {
        border-right: 3px solid rgba(0,0,0,0.3);
    }
    100% {
        width: 100%;
        border-right: none;
    }
}

@keyframes blink-cursor {
    0% {
        border-right: 3px solid rgba(0,0,0,0.3);
    }
    50% {
        border-right: 3px transparent;
    }
    100% {
        border-right: 3px solid rgba(0,0,0,0.3);
    }
}

.subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    font-family: 'Dancing Script', cursive;
    font-weight: 400;
    letter-spacing: 1px;
    animation: subtitleSlide 1.2s ease-out 0.3s both;
}

@keyframes subtitleSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 0.9;
        transform: translateY(0);
    }
}

.header-content {
    flex: 1 1 100%;
    text-align: center;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.user-info,
.auth-links {
    display: flex;
    gap: 0;
    align-items: center;
    flex-wrap: wrap;
}

.user-info span {
    color: #2d5016;
    font-weight: bold;
}

.btn-login {
    background: white;
    color: #2d5016;
    padding: 8px 16px;
    border-radius: 8px 0 0 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.2s;
    border: 2px solid #2d5016;
    border-right: 1px solid #2d5016;
    cursor: pointer;
    display: inline-block;
}

.btn-register {
    background: white;
    color: #2d5016;
    padding: 8px 16px;
    border-radius: 0 8px 8px 0;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.2s;
    border: 2px solid #2d5016;
    border-left: 1px solid #2d5016;
    cursor: pointer;
    display: inline-block;
}

.btn-admin,
.btn-orders,
.btn-profile,
.btn-logout {
    background: white;
    color: #2d5016;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.2s;
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-block;
    margin-left: 10px;
}

.btn-login:hover,
.btn-register:hover {
    background: #2d5016;
    color: white;
}

.btn-admin:hover,
.btn-orders:hover,
.btn-profile:hover {
    background: #f0f0f0;
    border-color: #2d5016;
}

.btn-logout:hover {
    background: #ff6b6b;
    color: white;
}

.cat-toggle-btn {
    display: none;
    border: 2px solid #ffd700;
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    color: white;
    border-radius: 25px;
    padding: 12px 18px;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s;
    z-index: 120;
}

.cat-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

/* Main Content Wrapper */
.main-content-wrapper {
    display: flex;
    gap: 15px;
    width: 100%;
    padding: 0 20px 20px 20px;
}

/* Category backdrop */
.category-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

.category-backdrop.open {
    display: block;
}

/* Category Filter */
.category-filter {
    position: sticky;
    top: 0;
    width: 240px;
    flex-shrink: 0;
    height: fit-content;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 20px 15px 20px 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 100;
    border: 2px solid rgba(255, 215, 0, 0.3);
    animation: slideInLeft 0.6s ease-out;
    margin-top: 20px;
}

.category-filter::-webkit-scrollbar {
    width: 8px;
}

.category-filter::-webkit-scrollbar-track {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    margin: 10px 0;
}

.category-filter::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    border-radius: 10px;
}

.category-filter::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
}

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

.category-filter::before {
    content: 'Categories';
    display: block;
    font-family: 'Tangerine', cursive;
    font-size: 1.8rem;
    color: #d4af37;
    margin-bottom: 12px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 2px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.filter-btn {
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    border: 2px solid #ffd700;
    background: white;
    color: #2d5016;
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    animation: buttonSlide 0.5s ease-out backwards;
}

@keyframes buttonSlide {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.filter-btn:nth-of-type(1) { animation-delay: 0.1s; }
.filter-btn:nth-of-type(2) { animation-delay: 0.15s; }
.filter-btn:nth-of-type(3) { animation-delay: 0.2s; }
.filter-btn:nth-of-type(4) { animation-delay: 0.25s; }
.filter-btn:nth-of-type(5) { animation-delay: 0.3s; }
.filter-btn:nth-of-type(6) { animation-delay: 0.35s; }
.filter-btn:nth-of-type(7) { animation-delay: 0.4s; }
.filter-btn:nth-of-type(8) { animation-delay: 0.45s; }

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.4), transparent);
    transition: left 0.6s;
    z-index: 1;
}

.filter-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #ffd700);
    transition: width 0.4s ease;
    z-index: 2;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover::after {
    width: 100%;
}

.filter-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.filter-btn.active {
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    color: white;
    border-color: #d4af37;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    transform: scale(1.05);
}

/* Different styles for each category */
.filter-btn[data-category="all"],
.filter-btn[data-category="Coffee"],
.filter-btn[data-category="Milk Shake"],
.filter-btn[data-category="Mojitos"],
.filter-btn[data-category="Soft Drinks"],
.filter-btn[data-category="Juices"],
.filter-btn[data-category="Tea Ceremonies"],
.filter-btn[data-category="Iced Beverages"] {
    font-weight: 600;
    font-size: 0.95rem;
    border-bottom: 3px solid #2d5016;
}

/* Search Box */
.search-box {
    width: 100%;
    margin: 0 0 10px;
}

.search-box input {
    width: 100%;
    padding: 12px 18px;
    border: 2px solid #ffd700;
    border-radius: 25px;
    font-size: 0.9rem;
    background: white;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    position: relative;
}

.search-box input::placeholder {
    color: #b0a080;
    transition: color 0.3s;
}

.search-box input:focus {
    outline: none;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
    transform: translateY(-3px);
    border-color: #d4af37;
}

.search-box input:focus::placeholder {
    color: #d4af37;
}

/* Filter Controls */
.filter-controls {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.filter-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-row label {
    font-size: 0.85rem;
    color: #2d5016;
    font-weight: 600;
}

.filter-row select {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #ffd700;
    border-radius: 20px;
    font-size: 0.9rem;
    background: white;
    color: #2d5016;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.filter-row select:hover {
    border-color: #d4af37;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

.filter-row select:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Menu Content Area */
#menu {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    padding: 20px 0 20px 0;
    box-sizing: border-box;
}

/* Menu Grid */
.category-section {
    margin-bottom: 40px;
}

.category-title {
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 20px;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffd700;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    font-family: 'Allura', cursive;
    font-weight: 400;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

@keyframes wobble {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(1deg);
    }
    75% {
        transform: rotate(-1deg);
    }
}

@keyframes shadowPulse {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }
    50% {
        box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
    }
}

@keyframes borderGlow {
    0%, 100% {
        border-color: transparent;
    }
    50% {
        border-color: rgba(255, 215, 0, 0.5);
    }
}

@keyframes backgroundShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
    width: 100%;
}

.menu-item {
    background: linear-gradient(135deg, white 0%, #fffef8 100%);
    background-size: 200% 200%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
    animation: backgroundShift 6s ease-in-out infinite;
}

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    z-index: 10;
    pointer-events: none;
    animation: shimmer 4s ease-in-out infinite;
}

.menu-item.visible {
    animation: 
        shadowPulse 3s ease-in-out infinite;
}

.menu-item.visible:nth-child(even) {
    animation: 
        shadowPulse 3.5s ease-in-out infinite;
}

.menu-item.visible:nth-child(3n) {
    animation: 
        shadowPulse 2.8s ease-in-out infinite;
}

.item-image {
    width: 100%;
    height: 140px;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
    transition: transform 0.6s ease-out, filter 0.4s ease;
    position: relative;
    overflow: hidden;
}

@keyframes imageFloat {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.05) rotate(0.5deg);
    }
}

.item-image::after {
    content: '';
    position: absolute;
    bottom: 60%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, transparent 70%);
    border-radius: 50%;
    transform: translateX(-50%);
    display: none;
}

/* Cart Quantity Badge */
.cart-quantity-badge {
    position: absolute;
    bottom: 55px;
    left: 8px;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: bold;
    z-index: 15;
    box-shadow: 0 3px 10px rgba(220, 53, 69, 0.4);
    animation: badgePulse 2s ease-in-out infinite;
}

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

/* Popular and New Badges */
.badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    z-index: 15;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    animation: badgeFloat 3s ease-in-out infinite;
}

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

.badge-popular {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: white;
}

.badge-new {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    top: 45px;
}

.item-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
}

.item-image.no-image span {
    font-size: 3rem;
}

.item-content {
    padding: 12px;
    transition: all 0.3s ease;
}

.menu-item.visible:hover .item-content {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05), rgba(255, 215, 0, 0.05));
}

.item-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 8px;
    gap: 4px;
}

.menu-item h3 {
    font-size: 1.15rem;
    color: #333;
    width: 100%;
    transition: color 0.3s ease;
    animation: textGlow 4s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        color: #333;
    }
    50% {
        color: #555;
    }
}

.item-price {
    font-size: 0.95rem;
    font-weight: bold;
    color: #ffd700;
}

.item-description {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* Quick Add to Cart Button */
.btn-quick-add-to-cart {
    width: calc(100% - 24px);
    margin: 8px 12px 12px 12px;
    padding: 10px 16px;
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.btn-quick-add-to-cart:hover {
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.5);
}

.btn-quick-add-to-cart:active {
    transform: translateY(0);
}

.btn-quick-add-to-cart svg {
    flex-shrink: 0;
}

/* Favorite Button on Menu Items */
.btn-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 1.3rem;
}

.btn-favorite:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.btn-favorite.active {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
    border-color: #dc3545;
    animation: favoriteAdded 0.5s ease;
}

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

/* Add to Cart Notification */
.add-to-cart-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2c 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10000;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    max-width: 300px;
}

.add-to-cart-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.add-to-cart-notification svg {
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 4px;
}

.add-to-cart-notification span {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Status messages */
.loading,
.empty,
.error {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.2rem;
    color: #666;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.error {
    color: #dc3545;
}

/* Cart Container */
.cart-container {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 999;
}

.btn-cart {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2c 100%);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(45, 80, 22, 0.4);
    transition: all 0.3s;
}

.btn-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(45, 80, 22, 0.6);
}

/* Help/Contact Button */
.help-container {
    position: fixed;
    left: 20px;
    bottom: 100px;
    z-index: 999;
}

.help-btn {
    width: auto;
    min-width: 120px;
    height: 50px;
    padding: 0 20px;
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2c 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.4);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.help-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.6);
}

.help-menu {
    position: absolute;
    bottom: 60px;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
}

.help-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.help-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.help-option:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.help-option.whatsapp {
    background: #25D366;
}

.help-option.email {
    background: #EA4335;
}

.help-option.phone {
    background: #0088cc;
}

.help-option.tiktok {
    background: #000000;
}

/* Product Detail Modal */
.product-modal {
    max-width: 272px;
}

.product-detail {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.product-info {
    width: 100%;
}

.product-image-container {
    width: 100%;
    margin-bottom: 20px;
}

.product-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

.product-detail h2 {
    color: #333;
    margin-bottom: 6px;
    font-size: 1.3rem;
}

.product-price {
    color: #ffd700;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 10px 0;
}

.product-description {
    color: #666;
    line-height: 1.4;
    margin: 10px 0;
    font-size: 0.85rem;
}

.product-category {
    color: #999;
    font-style: italic;
    margin-bottom: 12px;
    font-size: 0.8rem;
}

.quantity-selector {
    margin: 15px 0;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.quantity-selector label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.quantity-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #ffd700;
    background: white;
    color: #ffd700;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: #ffd700;
    color: white;
}

#itemQuantity {
    width: 60px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 8px;
}

.btn-add-to-cart {
    width: 100%;
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    color: white;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    transition: transform 0.2s;
}

.btn-add-to-cart:hover {
    transform: translateY(-2px);
}

/* Related Products */
.related-products {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.related-products h3 {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.related-item {
    cursor: pointer;
    text-align: center;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.related-image {
    width: 100%;
    height: 70px;
    background-size: cover;
    background-position: center;
    background-color: #e0e0e0;
    border-radius: 8px;
    margin-bottom: 6px;
}

.related-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.related-price {
    font-size: 0.7rem;
    color: #d4af37;
    font-weight: bold;
}

/* Cart Modal */
.cart-modal {
    max-width: 550px;
    max-height: 85vh;
    overflow-y: auto;
}

/* Cart Tabs */
.cart-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.cart-tab {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1rem;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cart-tab:hover {
    color: #2d5016;
    background: rgba(255, 215, 0, 0.1);
}

.cart-tab.active {
    color: #2d5016;
    border-bottom-color: #ffd700;
    background: rgba(255, 215, 0, 0.15);
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.cart-modal h2 {
    color: #ffd700;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.5rem;
}

.cart-modal h3 {
    color: #333;
    margin: 20px 0 12px 0;
    font-size: 1.1rem;
}

/* Favorites Modal */
.favorites-modal {
    max-width: 550px;
    max-height: 85vh;
    overflow-y: auto;
}

.favorites-modal h2 {
    color: #dc3545;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.5rem;
}

/* Favorites Content in Cart Modal */
#favoritesContent h2 {
    color: #dc3545;
    margin-bottom: 15px;
    text-align: center;
    font-size: 1.5rem;
}

#favoritesItems {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.favorite-item {
    background: linear-gradient(135deg, white 0%, #fffef8 100%);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.favorite-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.favorite-item-image {
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center;
    background-color: #f0f0f0;
    position: relative;
}

.favorite-item-image.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.favorite-item-content {
    padding: 10px;
}

.favorite-item-content h4 {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.favorite-item-price {
    color: #2d5016;
    font-weight: bold;
    font-size: 0.85rem;
}

.btn-remove-favorite {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 30px;
    height: 30px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    z-index: 10;
}

.btn-remove-favorite:hover {
    background: #dc3545;
    transform: scale(1.2);
}

.btn-add-from-fav {
    width: calc(100% - 10px);
    margin: 5px;
    padding: 8px;
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.btn-add-from-fav:hover {
    background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.5);
}

.favorite-item-clickable {
    cursor: pointer;
}

.btn-fav-in-cart {
    width: 32px;
    height: 32px;
    background: white;
    border: 2px solid #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-fav-in-cart:hover {
    transform: scale(1.15);
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

.btn-fav-in-cart.active {
    background: linear-gradient(135deg, #dc3545 0%, #ff6b6b 100%);
    border-color: #dc3545;
}

.cart-items-list {
    margin-bottom: 15px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 10px;
    gap: 15px;
}

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

.cart-item-info h4 {
    color: #333;
    margin-bottom: 6px;
    font-size: 1.05rem;
}

.cart-item-info .cart-item-price {
    color: #666;
    font-size: 0.9rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cart-quantity-control {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 5px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cart-qty-btn {
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    color: white;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-qty-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 10px rgba(212, 175, 55, 0.5);
}

.cart-qty-display {
    min-width: 25px;
    text-align: center;
    font-weight: 600;
    color: #333;
}

.cart-item-subtotal {
    color: #ffd700;
    font-weight: bold;
    font-size: 1rem;
    min-width: 100px;
    text-align: right;
}

.btn-remove {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove:hover {
    background: #c82333;
    transform: rotate(90deg);
}

.cart-total {
    text-align: right;
    padding: 15px;
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    color: white;
    border-radius: 8px;
    margin-bottom: 20px;
}

.cart-total h3 {
    margin: 0;
    color: white;
    font-size: 1.2rem;
}

.empty-cart {
    text-align: center;
    padding: 40px;
    color: #999;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

.modal[style*="display: block"] {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    margin: 0;
    padding: 25px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    color: #333;
    opacity: 1 !important;
    max-height: 90vh;
    overflow-y: auto;
}

.product-modal,
.cart-modal,
.success-modal {
    background-color: #ffffff;
    opacity: 1 !important;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 20px;
}

.close:hover,
.close:focus {
    color: #000;
}

.modal-content h2 {
    color: #ffd700;
    margin-bottom: 20px;
    text-align: center;
}

.modal-content .form-group {
    margin-bottom: 15px;
}

.modal-content label {
    display: block;
    color: #333;
    font-weight: 600;
    margin-bottom: 6px;
    font-size: 0.95rem;
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    color: #333;
    background-color: white;
}

.modal-content input:focus,
.modal-content textarea:focus {
    outline: none;
    border-color: #ffd700;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    color: white;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 8px;
    transition: transform 0.2s;
}

.btn-submit:hover {
    transform: translateY(-2px);
}

/* Status messages */
.loading,
.empty,
.error {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.2rem;
    color: #666;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.error {
    color: #dc3545;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 20px 15px;
    }

    header h1 {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .cat-toggle-btn {
        display: block;
        position: fixed;
        right: 12px;
        top: 12px;
        font-size: 1rem;
        padding: 10px 16px;
        z-index: 120;
    }

    .main-wrapper {
        flex-direction: column;
        padding: 10px;
    }

    .main-content-wrapper {
        flex-direction: column;
        padding: 0 10px 10px 10px;
        max-height: auto;
    }

    .container > header {
        margin-bottom: 20px;
    }

    .category-filter {
        position: fixed;
        right: 0;
        top: 0;
        width: 75%;
        max-width: 280px;
        height: 100%;
        max-height: 100vh;
        overflow-y: auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 70px 15px 15px;
        margin-top: 0;
        margin-bottom: 0;
        box-shadow: -5px 0 20px rgba(0,0,0,0.3);
        border-radius: 0;
        border: none;
        background: #f8f9fa;
        animation: slideInRight 0.3s ease-out;
        z-index: 110;
    }

    @keyframes slideInRight {
        from {
            transform: translateX(100%);
        }
        to {
            transform: translateX(0);
        }
    }

    .category-filter.open {
        display: flex;
    }

    .main-content-wrapper {
        flex-direction: column;
    }

    .filter-btn {
        width: 100%;
        text-align: left;
        padding: 10px 16px;
        font-size: 0.9rem;
    }

    .search-box {
        position: static;
        width: 100%;
        padding: 0;
        margin: 0;
    }

    .search-box input {
        font-size: 1rem;
        padding: 12px 20px;
        border-radius: 18px;
    }

    #menu {
        margin-top: 0;
    }

    .category-section {
        scroll-margin-top: 0;
        margin-bottom: 30px;
    }

    .category-title {
        font-size: 2rem;
    }

    .items-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 10px;
    }

    .btn-quick-add-to-cart {
        font-size: 0.85rem;
        padding: 8px 12px;
        gap: 6px;
    }

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

    .add-to-cart-notification {
        top: 60px;
        right: 10px;
        left: 10px;
        max-width: none;
        font-size: 0.9rem;
    }

    .menu-item h3 {
        font-size: 1rem;
    }

    .item-price {
        font-size: 1.1rem;
    }

    .item-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .item-content {
        padding: 12px;
    }

    .item-image {
        height: 140px;
    }

    /* Cart button responsive */
    .cart-container {
        bottom: 90px;
        right: 15px;
    }

    /* Help button responsive */
    .help-container {
        left: 15px;
        bottom: 90px;
    }

    .help-btn {
        min-width: 110px;
        height: 45px;
        padding: 0 15px;
        font-size: 0.85rem;
    }

    .help-option {
        width: 45px;
        height: 45px;
    }

    /* Contact button responsive */
    .contact-container {
        right: 15px;
        bottom: 170px;
    }

    .contact-btn,
    .contact-option {
        width: 45px;
        height: 45px;
    }

    .btn-cart {
        padding: 12px 20px;
        font-size: 1rem;
    }

    /* Product modal responsive */
    .modal-content {
        margin: 10% auto;
        padding: 20px;
        width: 95%;
    }

    .product-modal {
        max-width: 75%;
    }

    .product-detail {
        flex-direction: column;
    }

    .product-image-container {
        width: 100%;
    }

    .product-image {
        width: 100%;
        max-height: 160px;
    }

    .product-detail h2 {
        font-size: 1.5rem;
    }

    .product-price {
        font-size: 1.4rem;
    }

    .quantity-selector {
        padding: 15px;
    }

    .qty-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    #itemQuantity {
        width: 50px;
        font-size: 1.1rem;
    }

    /* Cart modal responsive */
    .cart-modal {
        max-width: 95%;
        padding: 20px;
    }

    .cart-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .cart-item-actions {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .cart-item-subtotal {
        text-align: left;
    }

    .cart-total {
        padding: 15px;
    }

    .modal-content h2 {
        font-size: 1.5rem;
    }

    .modal-content .form-group {
        margin-bottom: 15px;
    }

    .close {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 20px 10px;
    }

    header h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 0.95rem;
    }

    .cat-toggle-btn {
        right: 10px;
        top: 10px;
        font-size: 0.95rem;
        padding: 9px 14px;
    }

    .category-filter {
        right: 0;
        top: 0;
        width: 80%;
        max-width: 260px;
        height: 100vh;
        max-height: 100vh;
        gap: 8px;
        padding: 60px 12px 12px;
        margin-top: 0;
        border-radius: 0;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }

    .main-content-wrapper {
        flex-direction: column;
        padding: 10px;
    }

    #menu {
        margin-top: 0;
    }

    .category-title {
        font-size: 1.6rem;
    }

    .items-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 8px;
    }

    .item-content {
        padding: 12px;
    }

    .menu-item h3 {
        font-size: 1rem;
    }

    .item-price {
        font-size: 1rem;
    }

    .item-description {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .item-image {
        height: 140px;
    }

    /* Cart button extra small screens */
    .cart-container {
        bottom: 80px;
        right: 10px;
    }

    .btn-cart {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    /* Floating buttons extra small screens */
    .help-container {
        bottom: 80px;
        left: 10px;
    }

    .contact-container {
        bottom: 160px;
        right: 10px;
    }

    /* Modals extra small screens */
    .modal-content {
        margin: 5% auto;
        padding: 15px;
        width: 98%;
    }

    .product-detail {
        flex-direction: column;
    }

    .product-image-container {
        width: 100%;
    }

    .product-image {
        width: 100%;
        max-height: 140px;
    }

    .product-detail h2 {
        font-size: 1.3rem;
    }

    .product-price {
        font-size: 1.2rem;
    }

    .btn-add-to-cart,
    .btn-submit {
        font-size: 1rem;
        padding: 12px;
    }

    .cart-modal h2 {
        font-size: 1.3rem;
    }

    .cart-item-info h4 {
        font-size: 1rem;
    }

    .cart-item-info p {
        font-size: 0.85rem;
    }

    .cart-item-total p {
        font-size: 1rem;
    }
}

/* Tablet landscape */
@media (min-width: 769px) and (max-width: 1024px) {
    .items-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .modal-content {
        width: 85%;
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #1a3010 0%, #0d1a08 100%);
    color: white;
    padding: 40px 20px 20px;
    margin-top: 30px;
    border-top: 4px solid #ffd700;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    50% {
        left: 100%;
    }
    100% {
        left: 100%;
    }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section {
    animation: fadeInUp 0.8s ease-out;
}

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

.footer-section h3 {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-family: 'Allura', cursive;
    font-weight: 400;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.5s ease;
}

.footer-section:hover h3::after {
    width: 100%;
}

.footer-section h4 {
    color: #ffd700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-family: 'Dancing Script', cursive;
    font-weight: 400;
}

.footer-section p {
    margin: 8px 0;
    line-height: 1.6;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-section p:hover {
    color: #ffd700;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.footer-section a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s ease;
}

.footer-section a:hover {
    color: #ffd700;
}

.footer-section a:hover::before {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    font-size: 0.9rem;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2c 100%);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(45, 80, 22, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.6);
}

/* Success Modal */
.success-modal {
    max-width: 400px;
    text-align: center;
    padding: 40px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin: 0 auto 20px;
    animation: successPop 0.5s ease-out;
}

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

.success-content h2 {
    color: #28a745;
    margin-bottom: 15px;
}

.success-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-success-ok {
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    color: white;
    padding: 12px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-success-ok:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Welcome Section */
.welcome-section {
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2c 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    animation: fadeIn 0.6s ease-out;
}

.welcome-content {
    text-align: center;
    color: white;
    width: 100%;
    max-width: 100%;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0;
    box-shadow: none;
    animation: slideUp 0.8s ease-out 0.2s backwards;
}

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

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

.welcome-title {
    font-size: 6rem;
    font-family: 'Tangerine', cursive;
    color: #ffd700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.5);
    }
    50% {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.8);
    }
}

.welcome-message {
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Logo Styles */
.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    animation: logoFadeIn 1.5s ease-in;
}

.geometric-logo {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(230, 166, 147, 0.3));
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.welcome-actions {
    display: flex;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

/* Featured Products Carousel */
.featured-carousel {
    margin: 0;
    width: 100%;
    min-height: 60vh;
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2c 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

.carousel-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    z-index: 10;
    flex-shrink: 0;
}

.carousel-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.6);
}

.carousel-btn:active {
    transform: scale(0.95);
}

.carousel-title {
    font-size: 1.5rem;
    color: #ffd700;
    margin-bottom: 20px;
    font-family: 'Dancing Script', cursive;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.carousel-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 0;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 320px;
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: none;
    will-change: transform;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    max-width: 100%;
}

.carousel-track.auto-scroll {
    animation: slideOneByOne 3s ease-in-out infinite;
}

@keyframes slideOneByOne {
    0%, 25% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
    45%, 55% {
        opacity: 0;
        transform: translateX(-100px) scale(0.8);
    }
    75%, 100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

.carousel-track:hover {
    animation-play-state: paused;
}

.carousel-item {
    min-width: 220px;
    max-width: 280px;
    flex: 1;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: fadeInScale 1s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.5) rotateY(90deg);
    }
    to {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
    }
}

@keyframes fadeOutScale {
    from {
        opacity: 1;
        transform: scale(1) rotateY(0deg);
    }
    to {
        opacity: 0;
        transform: scale(0.5) rotateY(-90deg);
    }
}

.carousel-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.carousel-image {
    width: 140px;
    height: 140px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 4px solid #ffd700;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.carousel-item:hover .carousel-image {
    transform: rotate(360deg) scale(1.1);
    border-color: #d4af37;
}

.carousel-name {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2d5016;
    margin: 12px 0 8px;
    text-align: center;
}

.carousel-price {
    font-size: 1.1rem;
    color: #d4af37;
    font-weight: 600;
    text-align: center;
}

.welcome-features {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
}

.feature-left {
    animation: flyInFromLeft 1s ease-out 0.3s backwards;
}

.feature-center {
    animation: flyInFromBottom 1s ease-out 0.5s backwards;
}

.feature-right {
    animation: flyInFromRight 1s ease-out 0.3s backwards;
}

@keyframes flyInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-200px) rotate(-45deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(0deg);
    }
}

@keyframes flyInFromBottom {
    from {
        opacity: 0;
        transform: translateY(200px) scale(0.5);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes flyInFromRight {
    from {
        opacity: 0;
        transform: translateX(200px) rotate(45deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(0deg);
    }
}

.coffee-image {
    width: 120px;
    height: 120px;
    background-size: cover;
    background-position: center;
    border-radius: 50%;
    border: 4px solid #ffd700;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.feature-center .coffee-image {
    width: 180px;
    height: 180px;
    border-width: 5px;
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
}

.feature-item:hover .coffee-image {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.6);
}

.feature-center:hover .coffee-image {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.8);
}

.feature-item span:last-child {
    font-size: 1rem;
    font-weight: 600;
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.welcome-cta {
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: bold;
    background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
    color: #2d5016;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

.welcome-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.6);
}

@media (max-width: 768px) {
    .welcome-content {
        padding: 30px 20px;
        max-width: 90%;
    }

    .welcome-icon {
        font-size: 4rem;
    }

    .welcome-title {
        font-size: 2.5rem;
    }

    .welcome-message {
        font-size: 1rem;
    }

    .carousel-item {
        min-width: 130px;
    }

    .carousel-image {
        width: 100px;
        height: 100px;
    }

    .carousel-name {
        font-size: 0.9rem;
    }

    .carousel-price {
        font-size: 0.8rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .welcome-features {
        gap: 15px;
        align-items: center;
    }

    .coffee-image {
        width: 100px;
        height: 100px;
    }

    .feature-center .coffee-image {
        width: 140px;
        height: 140px;
    }

    .feature-item span:last-child {
        font-size: 0.9rem;
    }

    .welcome-cta {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 215, 0, 0.3);
    border-top: 3px solid #ffd700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ============= REVIEWS SECTION ============= */
.reviews-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.section-header h2 {
    font-size: 2.5rem;
    color: #2d5016;
    margin-bottom: 10px;
    font-weight: bold;
}

.section-header p {
    color: #666;
    font-size: 1.1rem;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.review-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.review-stars {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #ffd700;
}

.review-text {
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2c 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: #2d5016;
    font-size: 1rem;
}

.author-info span {
    color: #666;
    font-size: 0.85rem;
}

/* ============= FAQS SECTION ============= */
.faqs-section {
    padding: 80px 20px;
    background: white;
}

.faqs-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2);
}

.faq-question {
    width: 100%;
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2c 100%);
    color: white;
    border: none;
    padding: 20px 25px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: linear-gradient(135deg, #3a6b1d 0%, #5a9438 100%);
}

.faq-icon {
    transition: transform 0.3s;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 20px 25px;
}

.faq-answer p {
    color: #333;
    line-height: 1.8;
    margin: 0;
    font-size: 1rem;
}

/* Responsive Design for Reviews and FAQs */
@media (max-width: 768px) {
    .reviews-section,
    .faqs-section {
        padding: 50px 15px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .section-header p {
        font-size: 1rem;
    }

    .reviews-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .review-card {
        padding: 20px;
    }

    .faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .faq-answer p {
        font-size: 0.95rem;
    }
}

/* ============= HOW IT WORKS SECTION ============= */
.how-it-works-main {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2c 100%);
    padding: 60px 30px;
    margin: 0;
    box-shadow: 0 8px 25px rgba(45, 80, 22, 0.3);
}

.how-it-works {
    background: linear-gradient(135deg, #2d5016 0%, #4a7c2c 100%);
    border-radius: 15px;
    padding: 40px 30px;
    margin: 30px 0;
    box-shadow: 0 8px 25px rgba(45, 80, 22, 0.3);
}

.how-it-works-title {
    text-align: center;
    font-size: 1.8rem;
    color: #ffd700;
    margin-bottom: 35px;
    font-weight: bold;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.step-item {
    flex: 1;
    min-width: 140px;
    max-width: 200px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

.step-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffd700;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.step-icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 12px;
    background: #ffd700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d5016;
    transition: all 0.3s;
}

.step-item:hover .step-icon {
    transform: scale(1.1) rotate(360deg);
}

.step-icon svg {
    width: 30px;
    height: 30px;
}

.step-title {
    color: #ffd700;
    font-size: 1rem;
    margin-bottom: 8px;
    font-weight: bold;
}

.step-description {
    color: white;
    font-size: 0.85rem;
    line-height: 1.4;
}

.step-arrow {
    color: #ffd700;
    font-size: 1.5rem;
    font-weight: bold;
    flex-shrink: 0;
    animation: pulse 2s infinite;
    margin: 0 5px;
}

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

/* Responsive Design for How It Works */
@media (max-width: 1024px) {
    .steps-container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .step-arrow {
        display: none;
    }

    .step-item {
        min-width: 45%;
        max-width: 48%;
    }
}

@media (max-width: 768px) {
    .how-it-works-main {
        padding: 40px 20px;
    }

    .how-it-works {
        padding: 30px 20px;
        margin: 20px 0;
    }

    .steps-container {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .step-item {
        width: 100%;
        max-width: 350px;
        min-width: auto;
    }

    .how-it-works-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }

    .step-icon {
        width: 50px;
        height: 50px;
    }

    .step-icon svg {
        width: 28px;
        height: 28px;
    }

    .step-title {
        font-size: 0.95rem;
    }

    .step-description {
        font-size: 0.8rem;
    }
}
