:root {
    --primary: #773F40;        
    --primary-light: #8B4D4F;
    --primary-dark: #5D2F30;
    --secondary: #463722;      
    --accent: #F1CE8C;        
    --accent-light: #F6DC90;  
    --neutral: #999988;       
    --neutral-light: #B8B5A8;
    --neutral-dark: #7A7968;
    
    --background: #FDFCF8;
    --background-dark: #F8F6F0;
    --surface: #FFFFFF;
    --surface-alt: #FAF8F2;
    
    --text-primary: #2C2A26;
    --text-secondary: #5D5A52;
    --text-light: #8A8680;
    --text-disabled: #B8B5A8;
    
    --success: #4A6741;
    --warning: #C49B4B;
    --error: #A84432;
    --info: #5B7A8B;
    
    --border-light: #E8E5DD;
    --border-medium: #D4D0C4;
    --shadow-light: rgba(119, 63, 64, 0.08);
    --shadow-medium: rgba(119, 63, 64, 0.15);
    --shadow-dark: rgba(119, 63, 64, 0.25);
    
    --gradient-primary: linear-gradient(135deg, #773F40 0%, #8B4D4F 100%);
    --gradient-accent: linear-gradient(135deg, #F1CE8C 0%, #F6DC90 100%);
    --gradient-earth: linear-gradient(135deg, #463722 0%, #5D4A2E 100%);
    
    --whatsapp: #25D366;
    --facebook: #1877F2;
    --stripe: #635BFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--background);
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: 3.5rem; font-weight: 800; }
h2 { font-size: 2.5rem; font-weight: 700; }
h3 { font-size: 1.8rem; font-weight: 600; }
h4 { font-size: 1.4rem; font-weight: 600; }

p {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    line-height: 1.7;
}

.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 252, 248, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--accent-light);
    transition: all 0.3s ease;
    height: 75px;
    box-shadow: 0 4px 20px var(--shadow-light);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 50px;
    width: auto;
    border-radius: 8px;
    border: 2px solid var(--accent);
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    border-radius: 20px;
    font-family: 'Lato', sans-serif;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(241, 206, 140, 0.1);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    width: 80%;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    font-size: 0.9rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    min-height: 40px;
    letter-spacing: 0.3px;
}

.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-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(119, 63, 64, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(119, 63, 64, 0.4);
}

.btn-secondary {
    background: var(--gradient-earth);
    color: white;
    box-shadow: 0 4px 15px rgba(70, 55, 34, 0.3);
}

.btn-accent {
    background: var(--gradient-accent);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(241, 206, 140, 0.4);
    font-weight: 600;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-success {
    background: var(--success);
    color: white;
    box-shadow: 0 4px 15px rgba(74, 103, 65, 0.3);
}

.btn-whatsapp {
    background: var(--whatsapp);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-stripe {
    background: var(--stripe);
    color: white;
    box-shadow: 0 4px 15px rgba(99, 91, 255, 0.3);
}

.btn-warning {
    background: var(--warning);
    color: white;
    box-shadow: 0 4px 15px rgba(196, 155, 75, 0.3);
}

.btn-error {
    background: var(--error);
    color: white;
    box-shadow: 0 4px 15px rgba(168, 68, 50, 0.3);
}

.btn-delete {
    background: var(--error);
    color: white;
    box-shadow: 0 4px 15px rgba(168, 68, 50, 0.3);
    border-radius: 8px;
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    min-height: 32px;
}

.btn-delete:hover {
    background: #8b3426;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(168, 68, 50, 0.5);
}

.btn-sm {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    min-height: 32px;
}

.btn-lg {
    padding: 0.8rem 1.6rem;
    font-size: 1rem;
    min-height: 48px;
}

.w-100 { width: 100%; }

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1002;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 2px solid var(--accent-light);
    padding: 1.5rem;
    z-index: 999;
    box-shadow: 0 4px 20px var(--shadow-medium);
    backdrop-filter: blur(20px);
}

.mobile-nav.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mode-indicator {
    position: fixed;
    top: 80px;
    left: 20px;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1000;
    animation: pulse 2s infinite;
    display: none;
}

.mode-indicator.admin {
    background: var(--warning);
    color: white;
}

.mode-indicator.pos {
    background: var(--info);
    color: white;
}

.mode-indicator.active {
    display: block;
}

.priority-order-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background: var(--gradient-accent);
    color: var(--text-primary);
    border: none;
    border-radius: 50px;
    padding: 0.8rem 1.2rem;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 8px 30px rgba(241, 206, 140, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse 3s infinite;
    border: 2px solid var(--primary);
    font-family: 'Inter', sans-serif;
    text-decoration: none;
}

.priority-order-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(241, 206, 140, 0.6);
}

@keyframes pulse {
    0% { box-shadow: 0 8px 30px rgba(241, 206, 140, 0.5); }
    50% { box-shadow: 0 8px 30px rgba(241, 206, 140, 0.8); }
    100% { box-shadow: 0 8px 30px rgba(241, 206, 140, 0.5); }
}

.hero {
    min-height: 75vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--surface);
    padding: 5rem 2rem 2rem;
    background: linear-gradient(135deg, rgba(70, 55, 34, 0.7), rgba(119, 63, 64, 0.6)),
                url('background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(241, 206, 140, 0.1), rgba(246, 220, 144, 0.05));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    background: rgba(0, 0, 0, 0.4);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(241, 206, 140, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(241, 206, 140, 0.5);
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.call-to-action {
    background: linear-gradient(135deg, var(--whatsapp), #20BA5A);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: glow 2s ease-in-out infinite alternate;
    font-family: 'Inter', sans-serif;
}

.call-to-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.6);
}

@keyframes glow {
    from { box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4); }
    to { box-shadow: 0 6px 25px rgba(37, 211, 102, 0.7); }
}

.page {
    display: none;
    min-height: calc(100vh - 75px);
    padding: 6rem 0 2rem;
}

.page.active {
    display: block;
}

.page-header {
    background: var(--surface-alt);
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--accent-light);
}

.page-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.section {
    padding: 6rem 0;
    position: relative;
}

.products-section {
    background: var(--background-dark);
}

.services-section {
    background: var(--surface-alt);
}

.contact-section {
    background: var(--background);
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    position: relative;
    font-family: 'Playfair Display', serif;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    font-family: 'Inter', sans-serif;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

.product-card {
    position: relative;
    background: var(--surface);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 25px var(--shadow-light);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-light);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.product-card.combo-card {
    border-left: 4px solid var(--info);
    background: linear-gradient(135deg, var(--surface) 0%, rgba(91, 122, 139, 0.05) 100%);
}

.product-image-container {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-image {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient-accent);
    color: var(--text-primary);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(241, 206, 140, 0.4);
    font-family: 'Inter', sans-serif;
}

.product-badge.combo-badge {
    background: var(--info);
    color: white;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.product-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    flex: 1;
    font-family: 'Inter', sans-serif;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    gap: 1rem;
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.price-amount {
    font-weight: 700;
    color: var(--primary);
    font-size: 1.3rem;
    font-family: 'Inter', sans-serif;
}

.combo-price {
    font-size: 0.9rem;
    color: var(--info);
    font-weight: 600;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    border: 2px solid var(--border-light);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 160px;
}

.payment-method:hover {
    border-color: var(--primary);
    background: rgba(119, 63, 64, 0.05);
}

.payment-method.selected {
    border-color: var(--primary);
    background: rgba(119, 63, 64, 0.1);
}

.payment-method input[type="radio"] {
    margin: 0;
}

.payment-icon {
    font-size: 1.2rem;
}

.payment-icon.stripe {
    color: var(--stripe);
}

.payment-icon.cash {
    color: var(--success);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--surface);
    border-radius: 20px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--accent-light);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-light);
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Playfair Display', serif;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--background);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--surface);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 25px var(--shadow-light);
    transition: all 0.4s ease;
    border: 1px solid var(--border-light);
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 16px 16px 0 0;
}

.service-icon {
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.contact-info {
    padding: 1.5rem;
}

.contact-info h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.contact-info i {
    color: var(--primary);
    width: 20px;
    font-size: 1.1rem;
}

.contact-form {
    padding: 2.5rem;
    background: var(--surface-alt);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 25px var(--shadow-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-light);
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: var(--surface);
    font-size: 0.95rem;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(119, 63, 64, 0.1);
    transform: translateY(-2px);
}

.image-upload {
    border: 2px dashed var(--border-medium);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--background);
}

.image-upload:hover {
    border-color: var(--primary);
    background: rgba(119, 63, 64, 0.05);
}

.image-upload.dragover {
    border-color: var(--primary);
    background: rgba(119, 63, 64, 0.1);
}

.image-preview {
    max-width: 200px;
    max-height: 200px;
    border-radius: 8px;
    margin: 1rem auto;
    display: block;
}

.cart-container {
    position: fixed;
    right: -100%;
    top: 0;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    background: var(--surface);
    box-shadow: -12px 0 40px rgba(119, 63, 64, 0.15);
    transition: right 0.4s ease;
    z-index: 1001;
    padding: 1.5rem;
    overflow-y: auto;
    border-left: 3px solid var(--accent);
}

.cart-container.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-light);
    position: sticky;
    top: 0;
    background: var(--surface);
    z-index: 10;
}

.cart-header h3 {
    font-size: 1.6rem;
    color: var(--text-primary);
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.cart-items {
    max-height: calc(100vh - 400px);
    overflow-y: auto;
    margin-bottom: 1rem;
}

.cart-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
}

.cart-item-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.cart-item-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-details h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    font-family: 'Playfair Display', serif;
    line-height: 1.3;
}

.cart-total {
    position: sticky;
    bottom: 0;
    background: var(--surface);
    padding: 1.5rem 0;
    border-top: 2px solid var(--border-light);
    box-shadow: 0 -8px 25px var(--shadow-light);
    margin: 0 -1.5rem -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.total-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-light);
}

.admin-dashboard, .pos-dashboard {
    background: var(--surface-alt);
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
}

.admin-nav, .pos-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.admin-section, .pos-section {
    display: none;
}

.admin-section.active, .pos-section.active {
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px var(--shadow-light);
    border: 1px solid var(--border-light);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.orders-table {
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow-light);
    margin-bottom: 2rem;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.table th {
    background: var(--background);
    font-weight: 600;
    color: var(--text-primary);
}

.table td {
    vertical-align: middle;
}

.table-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.status-badge {
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-received { background: var(--info); color: white; }
.status-preparing { background: var(--warning); color: white; }
.status-ready { background: var(--success); color: white; }
.status-completed { background: var(--neutral); color: white; }
.status-cancelled { background: var(--error); color: white; }

.delete-mode {
    background: rgba(168, 68, 50, 0.1);
    border: 2px solid var(--error);
}

.account-dashboard {
    background: var(--surface);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 8px 25px var(--shadow-light);
    margin-bottom: 2rem;
}

.account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-light);
}

.account-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.account-stat-card {
    background: var(--background);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 1px solid var(--border-light);
}

.order-history-card {
    background: var(--surface);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.order-history-card:hover {
    box-shadow: 0 4px 15px var(--shadow-light);
    transform: translateY(-2px);
}

.pos-display {
    background: var(--background);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pos-total {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.pos-items-count {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.pos-categories-container {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 10px;
}

.pos-category-section {
    margin-bottom: 1rem;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
}

.pos-category-header {
    background: var(--surface-alt);
    padding: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
    user-select: none;
}

.pos-category-header:hover {
    background: var(--background);
}

.category-count {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.category-arrow {
    transition: transform 0.3s ease;
    color: var(--text-secondary);
}

.category-arrow.rotated {
    transform: rotate(180deg);
}

.pos-category-products {
    padding: 1rem;
    background: var(--background);
    animation: slideDown 0.3s ease;
}

.pos-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
}

.pos-product-card {
    background: var(--surface);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
}

.pos-product-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px var(--shadow-light);
}

.pos-product-card.selected {
    border-color: var(--success);
    background: rgba(74, 103, 65, 0.1);
}

.pos-product-card.combo-card {
    border-color: var(--info);
    background: rgba(91, 122, 139, 0.1);
}

.pos-product-image {
    position: relative;
    margin-bottom: 0.8rem;
}

.pos-product-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto;
    display: block;
}

.pos-product-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent);
    color: var(--text-primary);
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 8px;
    font-weight: 600;
}

.pos-product-badge.combo-badge {
    background: var(--info);
    color: white;
}

.pos-product-info {
    text-align: center;
}

.pos-product-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    line-height: 1.2;
}

.pos-product-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 1rem;
}

.pos-menu-indicator {
    margin-top: 0.3rem;
    font-size: 0.7rem;
    color: var(--info);
    font-weight: 500;
}

.pos-combo-indicator {
    margin-top: 0.3rem;
    font-size: 0.7rem;
    color: var(--info);
    font-weight: 500;
}

.pos-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.pos-payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.payment-method-btn {
    background: var(--surface);
    border: 2px solid var(--border-light);
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.payment-method-btn:hover, .payment-method-btn.selected {
    border-color: var(--success);
    background: rgba(74, 103, 65, 0.1);
}

.pos-customization-modal .modal-content {
    max-width: 700px;
}

.customization-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.customization-option {
    background: var(--background);
    border: 2px solid var(--border-light);
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.customization-option:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.customization-option.selected {
    border-color: var(--primary);
    background: rgba(119, 63, 64, 0.1);
}

.customization-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.option-icon {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
}

.option-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}

.option-price {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.sauce-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.sauce-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border-medium);
    background: var(--surface);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.sauce-btn:hover {
    background: var(--primary);
    color: white;
}

.sauce-count {
    min-width: 25px;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.customization-summary {
    background: var(--background);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    border: 1px solid var(--border-light);
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    padding: 0.3rem 0;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    border-top: 2px solid var(--primary);
    padding-top: 0.8rem;
    margin-top: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.combo-summary {
    background: linear-gradient(135deg, var(--surface) 0%, rgba(91, 122, 139, 0.05) 100%);
    border: 1px solid var(--info);
}

.loading {
    text-align: center;
    padding: 2rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-light);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.connection-status {
    position: fixed;
    bottom: 70px;
    right: 20px;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1000;
    transition: all 0.3s ease;
    display: none;
}

/* Animations et effets */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

.pos-product-card.adding {
    animation: addToCart 0.5s ease;
}

@keyframes addToCart {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); background: rgba(74, 103, 65, 0.2); }
    100% { transform: scale(1); }
}

.notification-success {
    background: var(--success);
    color: white;
}

.notification-error {
    background: var(--error);
    color: white;
}

.notification-warning {
    background: var(--warning);
    color: white;
}

.notification-info {
    background: var(--info);
    color: white;
}

.fade-in {
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Media queries responsives */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-toggle { display: block; }
    
    .hero {
        padding: 3rem 1rem 2rem;
        min-height: 60vh;
        background-attachment: scroll;
    }
    
    .hero h1 { font-size: 2.8rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .hero-buttons { flex-direction: column; align-items: center; }
    
    .cart-container {
        width: 100vw;
        right: -100vw;
    }
    
    .cart-container.active { right: 0; }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.2rem;
    }
    
    .section-title h2 { font-size: 2.2rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .services-grid { grid-template-columns: 1fr; }
    .modal-content { padding: 1.5rem; }
    .admin-nav, .pos-nav { flex-direction: column; }
    .pos-actions { flex-direction: column; }
    .customization-options { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
    .payment-methods { flex-direction: column; }
    
    .table-actions {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .table th,
    .table td {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 2.5rem 0.5rem 2rem;
        min-height: 50vh;
    }
    
    .hero-content { padding: 2rem 1.5rem; }
    .hero h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .container { padding: 0 0.5rem; }
    .products-grid { grid-template-columns: 1fr; gap: 1rem; }
    .section-title h2 { font-size: 1.9rem; }
    .nav-content { padding: 0.5rem 0; }
    .logo-text { font-size: 1.3rem; }
    .cart-container { padding: 1rem; }
    .pos-total { font-size: 2rem; }
    .customization-options { grid-template-columns: 1fr; }
    
    .table {
        font-size: 0.8rem;
    }
    
    .table th,
    .table td {
        padding: 0.3rem;
    }
    
    .btn-sm {
        padding: 0.3rem 0.6rem;
        font-size: 0.7rem;
    }
}

/* Styles pour la personnalisation des scrollbars */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--background); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-dark); }

/* Classes utilitaires */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }