/* CSS Variables for Themes */
:root {
    /* Default Theme (Warm Elegance) */
    --primary: #c62828;
    --primary-dark: #8e0000;
    --primary-light: #ff5f52;
    --secondary: #d4af37;
    --secondary-dark: #b8941f;
    --accent: #5d4037;
    --text-dark: #2e2e2e;
    --text-light: #757575;
    --bg-light: #f8f5f2;
    --bg-white: #ffffff;
    --bg-gray: #f5f5f5;
    --border-light: #e0e0e0;
    --shadow: rgba(0, 0, 0, 0.1);
    --success: #4caf50;
    --overlay: rgba(0, 0, 0, 0.7);
    
    /* Fonts */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Layout */
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Dark Mode */
[data-theme="dark"] {
    --primary: #ff5252;
    --primary-dark: #d32f2f;
    --primary-light: #ff867f;
    --secondary: #ffd740;
    --secondary-dark: #ffab00;
    --accent: #8d6e63;
    --text-dark: #f5f5f5;
    --text-light: #b0b0b0;
    --bg-light: #1a1a1a;
    --bg-white: #2d2d2d;
    --bg-gray: #252525;
    --border-light: #404040;
    --shadow: rgba(0, 0, 0, 0.3);
    --overlay: rgba(0, 0, 0, 0.8);
}

/* Ocean Theme */
[data-theme="ocean"] {
    --primary: #1565c0;
    --primary-dark: #0d47a1;
    --primary-light: #42a5f5;
    --secondary: #00bcd4;
    --secondary-dark: #00838f;
    --accent: #00695c;
    --text-dark: #263238;
    --text-light: #546e7a;
    --bg-light: #e3f2fd;
    --bg-white: #ffffff;
    --bg-gray: #f5f5f5;
}

/* Forest Theme */
[data-theme="forest"] {
    --primary: #2e7d32;
    --primary-dark: #1b5e20;
    --primary-light: #4caf50;
    --secondary: #8d6e63;
    --secondary-dark: #6d4c41;
    --accent: #5d4037;
    --text-dark: #1b5e20;
    --text-light: #4caf50;
    --bg-light: #f1f8e9;
    --bg-white: #ffffff;
    --bg-gray: #f5f5f5;
}

/* Royal Theme */
[data-theme="royal"] {
    --primary: #6a1b9a;
    --primary-dark: #4a148c;
    --primary-light: #9c27b0;
    --secondary: #ffab00;
    --secondary-dark: #ff8f00;
    --accent: #311b92;
    --text-dark: #4a148c;
    --text-light: #7b1fa2;
    --bg-light: #f3e5f5;
    --bg-white: #ffffff;
    --bg-gray: #f5f5f5;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    transition: var(--transition);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.8rem;
    color: var(--text-dark);
    display: inline-block;
    padding-bottom: 15px;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background: var(--primary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

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

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--shadow);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: var(--secondary-dark);
}

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

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

/* Header & Navigation */
header {
    background: var(--bg-white);
    box-shadow: 0 4px 20px var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

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

.logo span {
    color: var(--secondary);
}

.logo i {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
}

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

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

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

.header-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.control-btn {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    padding: 8px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: var(--bg-gray);
    color: var(--primary);
}

.theme-selector {
    position: relative;
}

.theme-options {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow);
    padding: 15px;
    display: none;
    flex-direction: column;
    gap: 10px;
    min-width: 150px;
    z-index: 1001;
}

.theme-options.active {
    display: flex;
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.theme-option:hover {
    background: var(--bg-gray);
}

.theme-color {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.theme-warm .theme-color {
    background: #c62828;
}

.theme-ocean .theme-color {
    background: #1565c0;
}

.theme-forest .theme-color {
    background: #2e7d32;
}

.theme-royal .theme-color {
    background: #6a1b9a;
}

.language-selector {
    position: relative;
}

.language-options {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow);
    padding: 15px;
    display: none;
    flex-direction: column;
    gap: 10px;
    min-width: 120px;
    z-index: 1001;
}

.language-options.active {
    display: flex;
}

.language-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.language-option:hover {
    background: var(--bg-gray);
}

.language-option.active {
    color: var(--primary);
    font-weight: 600;
}

.cart-icon {
    position: relative;
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Multi-Slide Hero Section */
.hero-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.slides {
    display: flex;
    width: 500%;
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.slide {
    width: 20%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.slide-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.slide-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.5s;
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    opacity: 0.9;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.7s;
}

.slide-content .btn {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards 0.9s;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay);
    z-index: 1;
}

.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

.slider-arrows {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 3;
    transform: translateY(-50%);
}

.slider-arrow {
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.slider-arrow:hover {
    background: rgba(255,255,255,0.3);
    transform: scale(1.1);
}

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

/* Featured Dishes */
.featured-dishes {
    background: var(--bg-white);
}

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.dish-card {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
    position: relative;
}

.dish-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px var(--shadow);
}

.dish-img {
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.dish-info {
    padding: 25px;
}

.dish-info h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

.dish-info p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.dish-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.add-to-cart {
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.add-to-cart:hover {
    background: var(--primary-dark);
    transform: rotate(90deg);
}

/* About Section */
.about {
    background: var(--bg-light);
}

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

.about-img {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 40px var(--shadow);
    position: relative;
}

.about-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary), transparent);
    opacity: 0.1;
    z-index: 1;
}

.about-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

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

.about-text h2 {
    margin-bottom: 25px;
    font-size: 2.5rem;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

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

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

/* Menu Section */
.menu {
    background: var(--bg-white);
}

.menu-filters {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 10px 24px;
    background: var(--bg-gray);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

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

.menu-category {
    margin-bottom: 70px;
}

.category-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-light);
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 2px;
    background: var(--primary);
    bottom: -2px;
    left: 0;
}

.menu-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.menu-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    border: 1px solid transparent;
}

.menu-item:hover {
    background: var(--bg-light);
    border-color: var(--border-light);
    transform: translateY(-5px);
}

.item-img {
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius);
    object-fit: cover;
    flex-shrink: 0;
}

.item-info {
    flex: 1;
}

.item-info h4 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.item-info p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.item-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Reservation Section */
.reservation {
    background: linear-gradient(var(--overlay), var(--overlay)), url('https://images.unsplash.com/photo-1559339352-11d035aa65de?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1074&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
}

.reservation h2 {
    color: white;
}

.reservation-form {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

.location-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.location-btn {
    flex: 1;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    color: white;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.location-btn.active {
    background: var(--primary);
    border-color: var(--primary);
}

/* Contact Section */
.contact {
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
}

.contact-info h3 {
    margin-bottom: 25px;
    font-size: 1.8rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.contact-detail i {
    color: var(--primary);
    font-size: 1.3rem;
    width: 24px;
}

.map {
    height: 350px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
}

.map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    background: #25D366;
    color: white;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: var(--transition);
    gap: 10px;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: #bbb;
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h3 {
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
    color: white;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background: var(--primary);
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: white;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.visitor-counter {
    text-align: center;
    margin-top: 30px;
    font-size: 0.9rem;
    color: #777;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #777;
    font-size: 0.9rem;
}

/* Admin Panel */
.admin-panel {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.admin-btn {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
}

.admin-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.admin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    display: none;
}

.admin-modal.active {
    display: flex;
}

.admin-content {
    background: var(--bg-white);
    width: 90%;
    max-width: 800px;
    border-radius: var(--border-radius);
    overflow: hidden;
    max-height: 90vh;
    overflow-y: auto;
}

.admin-header {
    background: var(--text-dark);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-tabs {
    display: flex;
    background: var(--bg-gray);
}

.admin-tab {
    padding: 15px 20px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.admin-tab.active {
    border-bottom-color: var(--primary);
    background: var(--bg-white);
}

.admin-body {
    padding: 20px;
}

.admin-form {
    display: grid;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.admin-table th, .admin-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.admin-table th {
    background: var(--bg-gray);
}

.action-btn {
    padding: 5px 10px;
    margin-right: 5px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

.edit-btn {
    background: var(--secondary);
    color: var(--text-dark);
}

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

/* Payment Modal */
.payment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    display: none;
}

.payment-modal.active {
    display: flex;
}

.payment-content {
    background: var(--bg-white);
    width: 90%;
    max-width: 500px;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.payment-header {
    background: var(--text-dark);
    color: white;
    padding: 20px;
    text-align: center;
}

.payment-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-light);
}

.payment-tab {
    flex: 1;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.payment-tab.active {
    border-bottom-color: var(--primary);
    font-weight: 600;
}

.payment-body {
    padding: 20px;
}

.payment-tab-content {
    display: none;
}

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

.qr-code {
    text-align: center;
    margin: 20px 0;
}

.qr-code img {
    max-width: 200px;
    border: 1px solid var(--border-light);
    padding: 10px;
    border-radius: var(--border-radius);
}

.card-form {
    display: grid;
    gap: 15px;
}

.card-input-group {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
}

/* Cart Modal */
.cart-modal {
    position: fixed;
    top: 0;
    right: -400px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-white);
    box-shadow: -5px 0 15px var(--shadow);
    transition: var(--transition);
    z-index: 1001;
    overflow-y: auto;
}

.cart-modal.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-light);
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
}

.cart-items {
    padding: 20px;
}

.cart-item {
    display: flex;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-right: 15px;
}

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

.cart-item-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--primary);
    font-weight: 600;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    background: var(--bg-gray);
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.quantity-input {
    width: 40px;
    text-align: center;
    margin: 0 10px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 5px;
}

.remove-item {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    margin-left: 10px;
}

.cart-total {
    padding: 20px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 600;
}

.cart-actions {
    padding: 20px;
}

.checkout-btn {
    width: 100%;
    margin-bottom: 10px;
}

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

.overlay.active {
    display: block;
}

/* Hidden Admin Access */
.admin-access {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1002;
    opacity: 0.1;
    transition: opacity 0.3s;
}

.admin-access:hover {
    opacity: 1;
}

.admin-login {
    background: rgba(0,0,0,0.7);
    padding: 10px;
    border-radius: 4px;
    display: flex;
    gap: 10px;
}

.admin-login input {
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    background: rgba(255,255,255,0.9);
}

.admin-login button {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
}

/* Live Timer */
.live-timer {
    background: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}