 /* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: #f8f8f8;
    overflow-x: hidden;
}

/* Header Styles */
header {
    background: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.menu-icon {
    font-size: 24px;
    cursor: pointer;
}

.logo {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    display: flex;
    align-items: center;
}
.logo-link {
    text-decoration: none !important;
}


.cart-icon {
    position: relative;
    font-size: 24px;
    cursor: pointer;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #278741 0%, #0E4828 100%);
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.header-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-icon, .cart-icon {
    font-size: 24px;
    cursor: pointer;
    position: relative;
}

/* Hero Section */
.hero-section {
    background: white;
    padding: 0;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    max-height: 600px;
}

.hero-slide {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide.active {
    display: block;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 2;
    max-width: 600px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
    letter-spacing: 1px;
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    font-weight: 300;
}

.main-dish {
    width: 100%;
    border-radius: 20px;
    background: white;
    padding: 20px;
}

.dish-img {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.sandwich {
    width: 80%;
    height: 60%;
    background: linear-gradient(135deg, #d4a574 0%, #c89968 50%, #b88a5c 100%);
    border-radius: 10px;
    position: relative;
    transform: perspective(500px) rotateY(-5deg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.sandwich::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    right: 10%;
    height: 8%;
    background: #2c2c2c;
    border-radius: 10px;
    opacity: 0.6;
}

.sandwich::after {
    content: '';
    position: absolute;
    top: 30%;
    left: 10%;
    right: 10%;
    height: 8%;
    background: #2c2c2c;
    border-radius: 10px;
    opacity: 0.6;
}

.side-items {
    position: absolute;
    display: flex;
    gap: 10px;
    bottom: 20px;
    right: 20px;
}

.side-item {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.pickles {
    background: linear-gradient(135deg, #7a9d54 0%, #6b8e4a 100%);
}

.sauce1 {
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
}

.sauce2 {
    background: linear-gradient(135deg, #f4f4f4 0%, #e0e0e0 100%);
}

.dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
}

.dot.active {
    background: #333;
    width: 10px;
    height: 10px;
}

/* Categories */
.categories {
    padding: 20px;
    background: #f9f9f9;
    overflow: hidden;
}

.category-carousel {
    position: relative;
    overflow: hidden;
}

.category-carousel-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-carousel-container::-webkit-scrollbar {
    display: none;
}

.category-card {
    flex: 0 0 auto;
    background: white;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 120px;
    min-width: 120px;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.category-icon-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 auto 10px;
}

.category-icon-placeholder {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #278741 0%, #0E4828 100%);
    color: white;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin: 0 auto 10px;
}

.category-tab-icon {
    width: 20px;
    height: 20px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 8px;
    vertical-align: middle;
}

.category-name {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}

.fries-icon::before {
    content: '🍟';
}

.sandwich-icon::before {
    content: '🥪';
}

.bbq-icon::before {
    content: '🍗';
}

/* Products Section */
.products-section {
    padding: 20px;
    background: white;
    margin-top: 20px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #000;
    display: inline-block;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    position: relative;
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #fef8f0 0%, #f5f0e8 100%);
    border-radius: 15px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
}

.chicken-whole {
    width: 200px;
    height: 150px;
    background: linear-gradient(135deg, #d4a574 0%, #c89968 50%, #b88a5c 100%);
    border-radius: 20px;
    position: relative;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.chicken-whole::before,
.chicken-whole::after {
    content: '';
    position: absolute;
    background: #2c2c2c;
    border-radius: 5px;
    opacity: 0.5;
}

.chicken-whole::before {
    width: 60%;
    height: 8px;
    top: 30%;
    left: 20%;
}

.chicken-whole::after {
    width: 50%;
    height: 8px;
    top: 50%;
    left: 25%;
}

.chicken-half {
    width: 180px;
    height: 120px;
    background: linear-gradient(135deg, #d4a574 0%, #b88a5c 100%);
    border-radius: 15px 15px 15px 50px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    position: relative;
}

.chicken-half::before {
    content: '';
    position: absolute;
    width: 50%;
    height: 6px;
    background: #2c2c2c;
    top: 40%;
    left: 25%;
    border-radius: 3px;
    opacity: 0.5;
}

.chicken-sandwich {
    width: 160px;
    height: 100px;
    background: linear-gradient(135deg, #f4d4a0 0%, #d4a574 100%);
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    position: relative;
}

.chicken-sandwich::before {
    content: '';
    position: absolute;
    width: 70%;
    height: 20%;
    background: #7a9d54;
    top: 40%;
    left: 15%;
    border-radius: 5px;
}

.wings {
    width: 180px;
    height: 100px;
    background: linear-gradient(135deg, #c89968 0%, #a67c52 100%);
    border-radius: 30px 10px 30px 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    position: relative;
}

.wings::after {
    content: '';
    position: absolute;
    width: 90%;
    height: 90%;
    border: 3px solid #ff6b35;
    border-radius: 30px 10px 30px 10px;
    top: 5%;
    left: 5%;
    opacity: 0.3;
}

.product-sides {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
}

.product-sides.single {
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.side {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.pickles-side {
    background: linear-gradient(135deg, #7a9d54 0%, #6b8e4a 100%);
}

.sauce-orange {
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
}

.sauce-white {
    background: linear-gradient(135deg, #f4f4f4 0%, #e0e0e0 100%);
}

.sauce-red {
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    width: 60px;
    height: 60px;
}

.product-combo {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.combo-item {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.fries {
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
}

.rice {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
}

.sauce-o {
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
}

.sauce-w {
    background: linear-gradient(135deg, #f4f4f4 0%, #e0e0e0 100%);
}

.drink {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5555 100%);
}

.product-name {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #000;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.add-btn {
    background: #000;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.add-btn:hover {
    background: #333;
}

.price {
    font-size: 18px;
    font-weight: bold;
    color: #000;
}

.wishlist-btn {
    background: white;
    border: 2px solid #ddd;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.wishlist-btn:hover {
    background: #ffebee;
    border-color: #ff6b6b;
    color: #ff6b6b;
}

.wishlist-btn.active {
    background: #ff6b6b;
    border-color: #ff6b6b;
    color: white;
}

/* Category Ribbon */
.category-ribbon-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: white;
    padding: 10px 0;
}

.category-ribbon-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-ribbon-wrapper::-webkit-scrollbar {
    display: none;
}

.category-ribbon {
    display: flex;
    gap: 0;
    min-width: max-content;
    padding: 0 20px;
}

.category-tab {
    background: linear-gradient(135deg, #dc143c 0%, #b8102f 100%);
    color: white;
    padding: 15px 35px;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
    white-space: nowrap;
    transition: all 0.3s;
    user-select: none;
}

.category-tab:first-child {
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%);
    padding-right: 45px;
}

.category-tab:not(:first-child):not(:last-child) {
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 50%, calc(100% - 20px) 100%, 0 100%, 20px 50%);
    margin-left: -20px;
    padding-left: 45px;
    padding-right: 45px;
}

.category-tab:last-child:not(:first-child) {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 20px 50%);
    margin-left: -20px;
    padding-left: 45px;
}

.category-tab.active {
    background: linear-gradient(135deg, #ff1744 0%, #dc143c 100%);
    transform: scale(1.05);
}

.category-tab:hover {
    background: linear-gradient(135deg, #ff1744 0%, #dc143c 100%);
}

/* Products Container */
.products-container {
    padding: 20px;
}

/* Salad Bowl */
.salad-bowl {
    width: 220px;
    height: 150px;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.salad-content {
    position: absolute;
    top: 15%;
    left: 10%;
    right: 10%;
    bottom: 20%;
    background: linear-gradient(135deg, #7a9d54 0%, #9dc65c 30%, #ff6b6b 60%, #ffa500 80%);
    border-radius: 50%;
    overflow: hidden;
}

.salad-content::before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    top: 20%;
    left: 30%;
    opacity: 0.8;
}

.salad-content::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: #ff6b6b;
    border-radius: 50%;
    top: 50%;
    right: 25%;
}

/* Rice Bowl */
.rice-bowl {
    width: 220px;
    height: 150px;
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.rice-content {
    position: absolute;
    top: 15%;
    left: 10%;
    right: 10%;
    bottom: 20%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 50%;
}

.lettuce {
    position: absolute;
    top: -10%;
    right: 10%;
    width: 80px;
    height: 100px;
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
    border-radius: 50% 50% 50% 0;
    transform: rotate(25deg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.carrot-shred {
    position: absolute;
    top: 5%;
    left: 15%;
    width: 60px;
    height: 40px;
    background: linear-gradient(135deg, #ffa726 0%, #ff9800 100%);
    border-radius: 10px;
    transform: rotate(-15deg);
}

/* Menu Badge */
.menu-badge {
    position: absolute;
    bottom: 65px;
    right: 65px;
    background: linear-gradient(135deg, #278741 0%, #0E4828 100%);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 12px;
    box-shadow: 0 4px 15px rgba(39, 135, 65, 0.4);
    cursor: pointer;
    transition: transform 0.3s;
}

.menu-badge:hover {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

/* Fries Basket */
.fries-basket {
    width: 180px;
    height: 140px;
    background: linear-gradient(135deg, #d4a574 0%, #c89968 100%);
    border-radius: 10px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.fries {
    position: absolute;
    top: -20%;
    left: 10%;
    right: 10%;
    height: 100px;
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    clip-path: polygon(20% 0%, 80% 0%, 100% 100%, 0% 100%);
}

/* Burger */
.burger {
    width: 180px;
    height: 120px;
    position: relative;
}

.bun-top {
    width: 100%;
    height: 45%;
    background: linear-gradient(135deg, #d4a574 0%, #c89968 100%);
    border-radius: 80px 80px 0 0;
    position: absolute;
    top: 0;
}

.burger-filling {
    width: 100%;
    height: 30%;
    background: linear-gradient(135deg, #7a9d54 0%, #6b8e4a 100%);
    position: absolute;
    top: 35%;
}

.bun-bottom {
    width: 100%;
    height: 30%;
    background: linear-gradient(135deg, #c89968 0%, #b88a5c 100%);
    border-radius: 0 0 10px 10px;
    position: absolute;
    bottom: 0;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: flex-end;
    z-index: 1000;
    animation: fadeIn 0.3s;
}

.modal-overlay.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.product-modal {
    background: white;
    width: 100%;
    max-width: 500px;
    border-radius: 20px 20px 0 0;
    position: relative;
    animation: slideUp 0.3s;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    position: relative;
    padding: 15px;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.3s;
}

.modal-close:hover {
    background: #e0e0e0;
}

.modal-actions {
    position: absolute;
    top: 70px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.modal-action-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #f0f0f0;
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-action-btn:hover {
    background: #e0e0e0;
    transform: scale(1.1);
}

.modal-action-btn.share {
    color: #666;
}

.modal-action-btn.favorite {
    color: #666;
}

.modal-action-btn.favorite.active {
    background: #ffebee;
    color: #ff6b6b;
}

.modal-content {
    padding: 20px;
}

.modal-product-name {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
}

.modal-product-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.modal-product-price {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    margin-bottom: 25px;
}

.quantity-selector {
    border: 2px solid #278741;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    margin-bottom: 25px;
    padding: 5px;
}

.quantity-btn {
    width: 45px;
    height: 45px;
    border: none;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
    color: #278741;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.quantity-btn:hover {
    background: #f0f8f0;
    border-radius: 5px;
}

.quantity-value {
    width: 60px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #000;
}

.custom-notes {
    width: 100%;
    margin-bottom: 15px;
}

.custom-notes input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-style: italic;
    color: #999;
}

.custom-notes input:focus {
    outline: none;
    border-color: #278741;
    color: #000;
}

.custom-notes-hint {
    font-size: 11px;
    color: #999;
    text-align: center;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.add-to-bag-btn {
    width: 100%;
    background: linear-gradient(135deg, #278741 0%, #0E4828 100%);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform 0.3s;
    margin-bottom: 20px;
}

.add-to-bag-btn:hover {
    transform: scale(1.02);
}

.add-to-bag-btn:active {
    transform: scale(0.98);
}

/* WhatsApp Order Button */
.whatsapp-order-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.whatsapp-order-btn:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.whatsapp-order-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.3);
}

.whatsapp-icon {
    font-size: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Name Input Modal for Menu Badge */
.name-input-modal {
    background: white;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.name-input-modal .modal-header {
    display: flex;
    justify-content: flex-end;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.name-input-modal .modal-header button {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.name-input-modal .modal-header button:hover {
    background: #f5f5f5;
}

.name-input-modal .modal-content {
    padding: 20px;
    text-align: center;
}

.name-input-modal h2 {
    margin: 0 0 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.name-input-modal p {
    margin: 0 0 20px 0;
    font-size: 16px;
    color: #666;
    font-weight: 500;
}

.name-input-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.name-input-section label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    text-align: left;
}

.name-input-section input {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.name-input-section input:focus {
    outline: none;
    border-color: #25D366;
}

.send-menu-whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto;
    min-width: 200px;
}

.send-menu-whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.send-menu-whatsapp-btn:active {
    transform: translateY(0);
}

/* Name Badge Section */
.name-badge-section {
    width: 100%;
    margin-bottom: 20px;
}

.name-badge-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: linear-gradient(135deg, #278741 0%, #0E4828 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(39, 135, 65, 0.3);
}

.name-badge-btn:hover {
    background: linear-gradient(135deg, #0E4828 0%, #278741 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 135, 65, 0.4);
}

.name-badge-btn:active {
    transform: translateY(0);
}

.badge-icon {
    font-size: 18px;
}

.name-input-container {
    margin-top: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    border: 2px solid #278741;
}

.name-input-container input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 10px;
    transition: border-color 0.3s;
}

.name-input-container input:focus {
    outline: none;
    border-color: #278741;
}

.send-name-btn {
    width: 100%;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
}

.send-name-btn:hover {
    background: linear-gradient(135deg, #45a049 0%, #3d8b40 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.send-name-btn:active {
    transform: translateY(0);
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: white;
    z-index: 2000;
    transition: left 0.3s;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.sidebar.active {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    display: none;
}

.sidebar-overlay.active {
    display: block;
}

.sidebar-header {
    padding: 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fef8f0 0%, #f5f0e8 100%);
}

.sidebar-bg-left {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(135deg, #dc143c 0%, #b8102f 100%);
}

.sidebar-bg-right {
    position: absolute;
    right: 0;
    top: 50px;
    bottom: 50px;
    width: 40px;
    background: linear-gradient(135deg, #dc143c 0%, #b8102f 100%);
}

.sidebar-menu-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.sidebar-logo {
    width: 120px;
    height: 80px;
    position: relative;
    z-index: 1;
}

.logo-shape {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #dc143c 0%, #ff1744 50%, #ffa500 100%);
    clip-path: polygon(0% 30%, 30% 0%, 70% 10%, 100% 0%, 90% 50%, 100% 100%, 50% 90%, 0% 100%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.sidebar-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 30px 20px;
    background: white;
}

.sidebar-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

.sidebar-action:hover {
    transform: translateY(-5px);
}

.action-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    position: relative;
    background: white;
}

.action-icon.reorder::before {
    content: '🔄';
}

.action-icon.favorites::before {
    content: '🧡';
}

.action-icon.orders::before {
    content: '📋';
}

.action-label {
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    color: #000;
    text-align: center;
}

.sidebar-menu {
    padding: 20px;
}

.sidebar-menu-item {
    padding: 18px 15px;
    font-size: 16px;
    font-weight: bold;
    color: #000;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.3s;
}

.sidebar-menu-item:hover {
    background: #f8f8f8;
}

.sidebar-social {
    display: flex;
    gap: 15px;
    padding: 20px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border: 2px solid #000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.social-icon:hover {
    background: #000;
    color: white;
}

.sidebar-account {
    padding: 20px;
    border-top: 1px solid #f0f0f0;
    margin-top: 20px;
}

.user-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user-name {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-name::before {
    content: '👤';
    font-size: 20px;
}

.user-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-link {
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background 0.3s;
    display: inline-block;
}

.sidebar-link:hover {
    background: #f8f8f8;
}

.logout-link {
    color: #dc143c;
}

.logout-link:hover {
    background: #ffebee;
}

.auth-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-links .sidebar-link {
    background: linear-gradient(135deg, #278741 0%, #0E4828 100%);
    color: white;
    text-align: center;
    font-weight: bold;
    padding: 12px 16px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.auth-links .sidebar-link:hover {
    background: linear-gradient(135deg, #0E4828 0%, #278741 100%);
    transform: translateY(-2px);
}

.sidebar-decorative-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, #278741 0%, #0E4828 100%);
    opacity: 0.3;
}

.circle-1 {
    width: 80px;
    height: 80px;
    top: -20px;
    right: 30px;
}

.circle-2 {
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: -10px;
}

/* Search Modal Styles */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 1500;
    display: none;
}

.search-modal.active {
    display: block;
}

.search-modal-header {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border-bottom: 1px solid #f0f0f0;
}

.search-back-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    margin-right: 15px;
}

.search-logo {
    font-size: 20px;
    font-weight: bold;
    color: #000;
    display: flex;
    align-items: center;
    flex: 1;
}


.search-cart-icon {
    position: relative;
    font-size: 24px;
    cursor: pointer;
}

.search-input-container {
    padding: 20px;
    background: white;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 15px;
    border: 2px solid #ddd;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.search-input:focus {
    border-color: #278741;
}

.search-clear-btn {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
}

.search-content {
    flex: 1;
    overflow-y: auto;
}

.search-suggestions {
    padding: 20px;
}

.search-suggestions-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #000;
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.search-suggestion-item:hover {
    background: #f8f8f8;
}

.search-suggestion-item img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.search-suggestion-item .suggestion-text {
    flex: 1;
    font-size: 16px;
    color: #000;
    font-weight: 500;
}

.search-suggestion-item .suggestion-price {
    font-size: 14px;
    color: #278741;
    font-weight: bold;
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 60px 20px 30px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #278741 0%, #0E4828 50%, #278741 100%);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.footer-section h3 {
    color: #278741;
    margin-bottom: 24px;
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #278741;
    border-radius: 1px;
}

.footer-section p,
.footer-section a {
    color: #cccccc;
    text-decoration: none;
    line-height: 1.7;
    margin-bottom: 12px;
    display: block;
    transition: color 0.3s ease;
    font-size: 15px;
}

.footer-section a:hover {
    color: #278741;
    transform: translateX(5px);
}

.footer-contact-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-contact-info span:first-child {
    color: #278741;
    font-size: 18px;
    min-width: 20px;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.footer-social a {
    width: 48px;
    height: 48px;
    border: 2px solid #278741;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #278741;
    font-size: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer-social a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #278741;
    transition: left 0.3s ease;
    z-index: -1;
}

.footer-social a:hover {
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(39, 135, 65, 0.3);
}

.footer-social a:hover::before {
    left: 0;
}

.footer-bottom {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #404040;
    color: #888888;
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin: 0;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .admin-container {
        padding: 10px;
    }

    .admin-header {
        flex-direction: column;
        gap: 15px;
    }

    .admin-tabs {
        flex-direction: column;
    }

    .tab-btn {
        padding: 12px;
    }

    .data-table {
        font-size: 14px;
    }

    .data-table th,
    .data-table td {
        padding: 8px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .edit-container {
        margin: 20px auto;
        padding: 15px;
    }

    .category-carousel-container {
        gap: 10px;
    }

    .category-card {
        width: 100px;
        min-width: 100px;
        padding: 15px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .product-card {
        padding: 12px;
    }

    .product-image {
        height: 200px;
    }

    .category-ribbon {
        padding: 0 15px;
    }

    .category-tab {
        padding: 12px 25px;
        font-size: 14px;
    }

    .modal-content {
        padding: 15px;
    }

    .quantity-selector {
        margin-bottom: 20px;
    }

    .sidebar {
        width: 90%;
    }

    .sidebar-actions {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px 15px;
    }

    .logo {
        font-size: 18px;
    }

    .hero-section {
        padding: 20px 15px;
    }

    .categories,
    .products-section {
        padding: 15px;
    }

    .section-title {
        font-size: 20px;
    }

    .product-name {
        font-size: 14px;
    }

    .price {
        font-size: 16px;
    }

    .add-btn {
        padding: 8px 20px;
        font-size: 14px;
    }

    .wishlist-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .category-ribbon-container {
        padding: 5px 0;
    }

    .category-tab {
        padding: 10px 20px;
        font-size: 12px;
    }

    .modal-product-name {
        font-size: 18px;
    }

    .modal-product-price {
        font-size: 20px;
    }

    .add-to-bag-btn {
        padding: 15px;
        font-size: 14px;
    }

    .sidebar-actions {
        grid-template-columns: 1fr;
    }

    .sidebar-action {
        flex-direction: row;
        justify-content: flex-start;
        gap: 15px;
    }

    .action-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .action-label {
        font-size: 12px;
        text-align: left;
    }
}
