@font-face {
    font-family: 'VVDS Fifties Bold';
    src: url('../fonts/VVDSFifties-MedBold.otf') format('opentype');
    font-weight: bold;
    font-style: bold;
    font-display: swap;
}

@font-face {
    font-family: 'VVDS Fifties Medium';
    src: url('../fonts/VVDSFifties-ExpMed.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

/* Remove default focus outline on all clickable elements */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus,
div[onclick]:focus,
*:focus {
    outline: none;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    width: 100%;
    background-color: #ffffff;
    border: 2px solid #0d1105;
    border-radius: 16px;
    padding: 20px;
    margin-top: 12px;
}

/* Hide mobile menu on desktop */
@media (min-width: 1025px) {
    .mobile-menu {
        display: none !important;
    }
}

.mobile-menu.active {
    display: block;
}

.mobile-nav-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mobile-nav-item {
    font-family: 'VVDS Fifties Bold', Arial, sans-serif;
    font-size: 16px;
    line-height: 18px;
    letter-spacing: 1.44px;
    text-transform: uppercase;
    text-align: left;
    color: #0d1105;
    cursor: pointer;
    padding: 2px 0;
    transition: color 0.15s ease;
}

.mobile-nav-item:hover {
    color: #d26c05;
}

.mobile-nav-item.active {
    color: #d26c05;
}

body {
    background-color: #FFFAF5;
    background-image: url('../images/bg_element.svg');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: 100% auto;
    font-family: 'VVDS Fifties Bold', Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 2rem;
}

.main-container {
    width: 900px;
}

.navigation {
    background-color: #ffffff;
    border: 2px solid #1d240c;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1d240c;
    display: flex;
    flex-direction: column;
    padding: 14px 20px;
}

.nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Hide hamburger menu on desktop */
.hamburger-menu {
    display: none;
}

.logo {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.nav-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-grow: 1;
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-weight: bold;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1.44px;
    line-height: 18px;
}

.nav-item {
    color: #1d240c;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.2s ease;
}

.nav-item.active {
    color: #d26c05;
}

.nav-item:hover {
    color: #d26c05;
}

.alert-badge {
    background-color: #1d240c;
    border: 1px solid rgba(0,0,0,0.3);
    border-radius: 6px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.alert-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.alert-text {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-weight: bold;
    font-size: 18px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.62px;
    line-height: 18px;
    white-space: nowrap;
}

.advertisement-banner {
    background-color: #ffffff;
    border: 2px solid #1d240c;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1d240c;
    padding: 8px 20px;
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.banner-text {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-weight: bold;
    font-size: 26px;
    color: #1d240c;
    text-transform: uppercase;
    text-align: center;
    line-height: 52px;
    flex-grow: 1;
}

.content-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    margin-top: 24px;
    position: relative;
}

.content-grid::before {
    content: '';
    position: absolute;
    left: 276px; /* 260px + 16px (half of gap) */
    top: 0;
    bottom: 0;
    width: 2px;
    background-image: repeating-linear-gradient(
        to bottom,
        rgba(29, 36, 12, 0.2) 0px,
        rgba(29, 36, 12, 0.2) 10px,
        transparent 10px,
        transparent 20px
    );
}

.left-column {
    width: 260px;
    background-color: #ffffff;
    border: 2px solid #1d240c;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1d240c;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-self: flex-start;
    height: fit-content;
    position: sticky;
    top: 24px;
}

.side-nav-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.side-nav-item {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-weight: bold;
    font-size: 16px;
    color: #1d240c;
    text-transform: uppercase;
    letter-spacing: 1.44px;
    line-height: 18px;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.side-nav-item.active {
    color: #d26c05;
}

.side-nav-item:hover {
    color: #d26c05;
}

.cart-button {
    background-color: #ffffff;
    border: 2px solid #1d240c;
    border-radius: 10px;
    box-shadow: 0px 4px 0px 0px #1d240c;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
    width: 100%;
}

.cart-button:hover {
    background-color: #f8f8f8;
}

.cart-button:active {
    transform: translateY(2px);
    box-shadow: 0px 2px 0px 0px #1d240c;
}

.cart-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
}

.cart-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.cart-text {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-weight: bold;
    font-size: 18px;
    color: #1d240c;
    text-transform: uppercase;
    letter-spacing: 1.62px;
    line-height: 18px;
}

.cart-count {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-weight: bold;
    font-size: 18px;
    color: #d26c05;
    text-transform: uppercase;
    letter-spacing: 1.62px;
    line-height: 18px;
}

.right-column {
    background-color: transparent;
    padding: 0;
}

.category-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.category-group + .category-group {
    margin-top: 30px;
}

.category-title {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-weight: bold;
    font-size: 18px;
    color: #1d240c;
    text-transform: uppercase;
    letter-spacing: 1.62px;
    line-height: 18px;
}

.category-item {
    background-color: #ffffff;
    border: 2px solid #1d240c;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1d240c;
    padding: 14px 20px 14px 14px;
    display: flex;
    align-items: center;
    gap: 34px;
    width: 100%;
    cursor: pointer;
    transition: all 0.15s ease;
}

.category-item:hover {
    background-color: #f8f8f8;
}

.item-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-grow: 1;
}

.item-image {
    width: 100px;
    height: 100px;
    background-color: #eee;
    border-radius: 12px;
    flex-shrink: 0;
    position: relative;
}

.item-image::before {
    content: '📷';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    opacity: 0.5;
    display: none;
}

.item-image:not([style*="background-image"])::before {
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.item-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex-grow: 1;
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.item-name {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-weight: bold;
    font-size: 20px;
    color: #1d240c;
    text-transform: uppercase;
    line-height: 0.917;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.spice-icon {
    font-size: 12px;
    vertical-align: middle;
    display: inline-block;
    margin-left: 4px;
}

.item-price {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-weight: bold;
    font-size: 18px;
    color: #d26c05;
    text-transform: uppercase;
    line-height: 0.917;
}

.item-description {
    font-family: 'VVDS Fifties Medium', Arial, sans-serif;
    font-weight: normal;
    font-size: 16px;
    color: rgba(29, 36, 12, 0.6);
    line-height: 22px;
    margin-top: 4px;
    max-height: 44px; /* 2 lines * 22px line-height */
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    /* Fallback for browsers that don't support -webkit-line-clamp */
    word-wrap: break-word;
}

.add-to-cart-btn {
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border: 2px solid #1d240c;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1d240c;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-shrink: 0;
}

.add-to-cart-btn:hover {
    background-color: #f8f8f8;
}

.add-to-cart-btn:active {
    transform: translateY(2px);
    box-shadow: 0px 2px 0px 0px #1d240c;
}

.add-to-cart-icon {
    width: 24px;
    height: 24px;
}

.footer {
    background-color: #ffffff;
    border: 2px solid #1d240c;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1d240c;
    padding: 20px;
    margin-top: 24px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    width: 90px;
    height: 30.219px;
    flex-shrink: 0;
}

.footer a {
    display: inline-block;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    opacity: 0.7;
}

.footer-text {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-weight: bold;
    font-size: 16px;
    color: #1d240c;
    text-align: center;
    line-height: 22px;
    flex-grow: 1;
}

/* Media Queries */
/* Navigation Responsive Styles */
@media (max-width: 1024px) {
    body {
        padding-top: 1rem;
    }

    .main-container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .navigation {
        padding: 10px;
        position: sticky;
        top: 1rem;
        z-index: 100;
    }
    
    .nav-header {
        justify-content: space-between;
        align-items: center;
        gap: 14px;
    }

    .nav-items {
        display: none;
    }
    

    
    .item-image {
        width: 80px;
        height: 80px;
    }
    
    .banner-text {
        font-size: 30px;
        line-height: 32px;
    }
    
    .hamburger-menu {
        display: flex;
        width: 50px;
        height: 50px;
        background-color: #ffffff;
        border: 2px solid #1d240c;
        border-radius: 16px;
        box-shadow: 0px 4px 0px 0px #1d240c;
        cursor: pointer;
        transition: all 0.15s ease;
        padding: 0;
        align-items: center;
        justify-content: center;
    }
    
    .hamburger-menu img {
        width: 24px;
        height: 24px;
    }
    
    .hamburger-menu:hover {
        background-color: #f8f8f8;
    }
    
    .hamburger-menu:active {
        transform: translateY(2px);
        box-shadow: 0px 2px 0px 0px #1d240c;
    }
    
    .hamburger-menu:focus {
        outline: none;
    }
    
    .logo {
        order: 2;
        margin: 0;
    }
    
    .alert-badge {
        order: 3;
        margin-left: auto;
    }
}

/* Fixed Cart Container for Mobile */
.fixed-cart-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #D26C05;
    padding: 16px;
    border-top: 2px solid #1D240C;
    z-index: 100;
    display: flex;
    justify-content: center;
}

.fixed-cart-container .cart-button {
    width: 100%;
}

@media (max-width: 768px) {
    .category-item {
        gap: 0;
    }
    
    .main-container {
        width: 100%;
        padding-left: 14px;
        padding-right: 14px;
    }



    .alert-text {
        font-size: 16px;
    }

    .banner-text {
        font-size: 30px;
        line-height: 32px;
        padding: 10px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .left-column {
        display: none;
    }
    
    .category-title {
        text-align: center;
    }
    
    
    .back-button {
        width: 100%;
    }
    
    .cart-wrapper {
        width: 100% !important;
        order: 2;
    }
    
    .checkout-form-section {
        order: 1;
    }
    
    .checkout-form-section .order-calculation {
        display: flex !important;
        flex-direction: column;
        margin: 0;
        gap: 10px;
    }
    
    .content-grid::before {
        display: none;
    }
    
    .left-column {
        width: 100%;
    }
    
    .cart-button {
        width: 100%;
    }

    .footer {
        margin-bottom: 20px;
    }

    .footer-content {
        gap: 15px;
    }

    .footer-text {
        font-size: 16px;
        line-height: 22px;
        text-align: center;
    }

    .footer-logo {
        width: 70px;
        height: auto;
    }
    
    .cart-item-columns {
        flex-direction: column;
        align-items: stretch !important;
        gap: 12px;
    }
    
    .delete-column {
        order: 2;
    }
    
    .delete-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .category-item {
        gap: 0;
    }
    
    .main-container {
        padding-left: 14px;
        padding-right: 14px;
    }
    
    .nav-items {
        flex-direction: column;
        gap: 10px;
    }

    .alert-badge {
        padding: 10px 15px;
    }

    .banner-text {
        font-size: 30px;
        line-height: 32px;
        padding: 5px;
    }
    
    .category-title {
        text-align: center;
    }

    .back-button {
        width: 100%;
    }
    
    .cart-wrapper {
        width: 100% !important;
        order: 2;
    }
    
    .checkout-form-section {
        order: 1;
    }
    
    .checkout-form-section .order-calculation {
        display: flex !important;
        flex-direction: column;
        margin: 0;
        gap: 10px;
    }

    .footer-content {
        gap: 15px;
    }

    .footer-text {
        font-size: 16px;
        line-height: 22px;
    }
    
    .cart-item-columns {
        flex-direction: column;
        align-items: stretch !important;
        gap: 12px;
    }
    
    .delete-column {
        order: 2;
    }
    
    .delete-btn {
        width: 100%;
    }
    
    .main-container {
        padding-bottom: 100px;
    }
}

/* Popup Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(29, 36, 12, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.product-popup {
    background-color: #ffffff;
    border: 2px solid #1d240c;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1d240c;
    padding: 20px 16px;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.popup-product-image {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    flex-shrink: 0;
}

.popup-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.popup-product-image .no-image {
    color: #999;
    font-size: 14px;
    text-align: center;
}

.popup-product-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
    flex-shrink: 0;
}

.popup-product-title {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 20px;
    color: #1d240c;
    text-transform: uppercase;
    line-height: 0.917;
}

.popup-product-price {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 18px;
    color: #d26c05;
    text-transform: uppercase;
    line-height: 0.917;
}

.popup-product-description {
    font-family: 'VVDS Fifties Medium', sans-serif;
    font-size: 16px;
    color: rgba(29, 36, 12, 0.6);
    line-height: 22px;
    margin-top: 4px;
}

.popup-product-options {
    background-color: rgba(29, 36, 12, 0.06);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.popup-option-title {
    font-family: 'VVDS Fifties Medium', sans-serif;
    font-size: 16px;
    color: rgba(29, 36, 12, 0.6);
    line-height: 22px;
}

.popup-option-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    cursor: pointer;
}

.popup-radio-button,
.popup-checkbox {
    width: 24px;
    height: 24px;
    border: 2px solid #1d240c;
    background-color: #ffffff;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
}

.popup-radio-button {
    border-radius: 50%;
    box-shadow: 0px 2px 0px 0px #1d240c;
}

.popup-checkbox {
    border-radius: 8px;
    box-shadow: 0px 2px 0px 0px #1d240c;
}

.popup-radio-button.selected {
    border-color: #d26c05;
}

.popup-radio-button.selected::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background-color: #d26c05;
    border-radius: 50%;
}

.popup-checkbox.selected {
    border-color: #d26c05;
}

.popup-checkbox.selected::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #d26c05;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
}

.popup-option-label {
    font-family: 'VVDS Fifties Medium', sans-serif;
    font-size: 16px;
    color: #1d240c;
    line-height: 22px;
    flex-grow: 1;
}

.popup-option-price {
    font-family: 'VVDS Fifties Medium', sans-serif;
    font-size: 16px;
    color: #1d240c;
    line-height: 22px;
}

.popup-buttons {
    display: flex;
    gap: 14px;
    width: 100%;
    flex-shrink: 0;
}



.popup-add-to-cart-btn {
    background-color: #ffffff;
    border: 2px solid #1d240c;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1d240c;
    padding: 16px 20px;
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 18px;
    color: #d26c05;
    text-transform: uppercase;
    letter-spacing: 1.62px;
    line-height: 18px;
    cursor: pointer;
    transition: all 0.15s ease;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
}

.popup-add-to-cart-btn:hover {
    background-color: #f8f8f8;
}

.popup-add-to-cart-btn:active {
    transform: translateY(2px);
    box-shadow: 0px 2px 0px 0px #1d240c;
}

.popup-cart-icon {
    width: 24px;
    height: 24px;
}

@media (max-width: 480px) {
    .main-container {
        padding-left: 14px;
        padding-right: 14px;
    }
    
    .product-popup {
        width: 95%;
        padding: 16px 12px;
    }
    
    .popup-buttons {
        flex-direction: column;
    }
    
    .primary-button,
    .popup-add-to-cart-btn {
        width: 100%;
        justify-content: center;
    }
    
    .main-container {
        padding-bottom: 100px;
    }
}

/* Cart Page Styles */
.cart-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 260px;
    height: fit-content;
}

.back-button,
.primary-button {
    background-color: #ffffff;
    border: 2px solid #1d240c;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1d240c;
    padding: 16px 20px;
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 18px;
    color: #1d240c;
    text-transform: uppercase;
    letter-spacing: 1.62px;
    line-height: 18px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-button:hover,
.primary-button:hover {
    background-color: #f8f8f8;
}

.back-button:active,
.primary-button:active {
    transform: translateY(2px);
    box-shadow: 0px 2px 0px 0px #1d240c;
}

.primary-critical-button {
    background-color: #D24305;
    border: 2px solid #1d240c;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1d240c;
    padding: 16px 20px;
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 18px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.62px;
    line-height: 18px;
    cursor: pointer;
    transition: all 0.15s ease;
    width: 100%;
    text-align: center;
    height: 100%;
}

.primary-critical-button:hover {
    background-color: #D24305;
}

.primary-critical-button:active {
    transform: translateY(2px);
    box-shadow: 0px 2px 0px 0px #1d240c;
}

.order-calculation {
    background-color: #ffffff;
    border: 2px solid #1d240c;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1d240c;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.calculation-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 18px;
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1.44px;
    line-height: 18px;
    color: #1d240c;
}

.calculation-row.total {
    color: #d26c05;
}

.calculation-label {
    flex-grow: 1;
}

.calculation-value {
    white-space: nowrap;
    text-align: right;
}

.calculation-divider {
    height: 1px;
    background-color: #1d240c;
    width: 100%;
}

.cart-section-title {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 16px;
    color: #1d240c;
    text-transform: uppercase;
    letter-spacing: 1.44px;
    line-height: 18px;
    text-align: center;
    margin: 0;
}

/* Cart Items Styles */
.cart-items {
    flex: 1;
}

.cart-items .category-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cart-item {
    background-color: #ffffff;
    border: 2px solid #1d240c;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1d240c;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    cursor: default;
    transition: all 0.15s ease;
}

.cart-item:hover {
    background-color: #f8f8f8;
}

.cart-item-top {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.cart-item-columns {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.delete-column {
    flex-shrink: 0;
}

.delete-btn {
    width: 34px;
    height: 34px;
    background-color: #ffffff;
    border: 2px solid #1d240c;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1d240c;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}

.delete-btn:hover {
    background-color: #f8f8f8;
}

.delete-btn:active {
    transform: translateY(2px);
    box-shadow: 0px 2px 0px 0px #1d240c;
}

.delete-btn img {
    width: 18px;
    height: 18px;
}

.mobile-controls-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.content-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.cart-item .item-image {
    width: 60px;
    height: 60px;
    background-color: #f0f0f0;
    border-radius: 8px;
    flex-shrink: 0;
    position: relative;
}

.cart-item .item-image::before {
    content: '📷';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 16px;
    opacity: 0.5;
    display: none;
}

.cart-item .item-image:not([style*="background-image"])::before {
    display: block;
}

.product-options {
    width: 100%;
    background-color: rgba(29, 36, 12, 0.1);
    border-radius: 10px;
    padding: 12px 14px;
}

.item-comment {
    width: 100%;
    margin-top: 8px;
}

.comment-input {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #1d240c;
    border-radius: 10px;
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 14px;
    color: #1d240c;
    text-transform: uppercase;
    letter-spacing: 1.26px;
    line-height: 18px;
    background-color: #ffffff;
    transition: all 0.2s ease;
    resize: none;
    overflow: hidden;
    min-height: 42px;
}

.comment-input:focus {
    outline: none;
    border-color: #d26c05;
    box-shadow: 0 0 0 3px rgba(210, 108, 5, 0.1);
}

.comment-input::placeholder {
    color: rgba(29, 36, 12, 0.4);
    text-transform: none;
    letter-spacing: normal;
    font-family: 'VVDS Fifties', sans-serif;
}

/* Counter Styles */
.item-counter {
    display: flex;
    align-items: center;
    gap: 2px;
}

.counter-btn {
    width: 34px;
    height: 34px;
    background-color: #ffffff;
    border: 2px solid #1d240c;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1d240c;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}

.counter-btn:hover {
    background-color: #f8f8f8;
}

.counter-btn:active {
    transform: translateY(2px);
    box-shadow: 0px 2px 0px 0px #1d240c;
}

.minus-icon {
    width: 14px;
    height: 3.684px;
    background-color: #d26c05;
    border-radius: 7.368px;
}

.plus-icon {
    position: relative;
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plus-horizontal {
    width: 14px;
    height: 3.684px;
    background-color: #d26c05;
    border-radius: 7.368px;
    position: absolute;
}

.plus-vertical {
    width: 3.672px;
    height: 14px;
    background-color: #d26c05;
    border-radius: 7.368px;
    position: absolute;
}

.counter-text {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 20px;
    color: #1d240c;
    line-height: 0.917;
    white-space: nowrap;
    width: 50px;
    text-align: center;
    min-width: 24px;
}

/* Secondary Button Styles */
.secondary-button {
    background-color: #d26c05;
    border: 2px solid #1d240c;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1d240c;
    padding: 16px 20px;
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 18px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.62px;
    line-height: 18px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.secondary-button:hover {
    background-color: #c1640a;
}

.secondary-button:active {
    transform: translateY(2px);
    box-shadow: 0px 2px 0px 0px #1d240c;
}

.secondary-button:disabled,
.submit-order-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #999;
    pointer-events: none;
}

/* Product Summary Styles */
.product-summary {
    background-color: #ffffff;
    border: 2px solid #1d240c;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1d240c;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.product-summary-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 100%;
}

.summary-product-name {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 16px;
    color: #1d240c;
    text-transform: uppercase;
    line-height: 0.917;
    margin: 0;
}

.summary-product-options {
    font-family: 'VVDS Fifties Medium', Arial, sans-serif;
    font-size: 14px;
    color: rgba(29, 36, 12, 0.6);
    line-height: 16px;
    margin: 0;
}

.summary-product-comment {
    font-family: 'VVDS Fifties Medium', Arial, sans-serif;
    font-size: 14px;
    color: rgba(29, 36, 12, 0.6);
    line-height: 16px;
    margin: 8px 0 0 0;
    font-style: italic;
}

.summary-product-details {
    display: flex;
    align-items: center;
    gap: 20px;
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 16px;
    line-height: 18px;
}

.summary-quantity {
    color: #1d240c;
    white-space: nowrap;
}

.summary-price {
    color: #d26c05;
    text-transform: uppercase;
    white-space: nowrap;
}

.summary-divider {
    height: 1px;
    background-color: #1d240c;
    width: 100%;
}

/* Checkout Form Styles */
.checkout-form-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.checkout-form {
    background-color: #ffffff;
    border: 2px solid #1d240c;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1d240c;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-title {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 16px;
    color: #d26c05;
    text-transform: uppercase;
    letter-spacing: 1.44px;
    line-height: 18px;
    text-align: center;
    margin: 0;
}

.customer-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-input {
    background-color: #ffffff;
    border: 2px solid #1d240c;
    border-radius: 10px;
    padding: 10px 12px;
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 14px;
    color: #1d240c;
    text-transform: uppercase;
    letter-spacing: 1.26px;
    line-height: 18px;
    width: 100%;
    min-width: 120px;
    outline: none;
    box-sizing: border-box;
}

.form-input::placeholder {
    color: rgba(29, 36, 12, 0.7);
}

.form-input:focus {
    outline: none;
    border-color: #d26c05;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-label {
    font-family: 'VVDS Fifties Medium', Arial, sans-serif;
    font-size: 14px;
    color: rgba(29, 36, 12, 0.6);
    line-height: 22px;
    margin: 0;
}

.form-dropdown {
    background-color: #ffffff;
    border: 2px solid #1d240c;
    border-radius: 10px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.15s ease;
    min-width: 80px;
    width: 100%;
    gap: 10px;
}

.form-dropdown .dropdown-text {
    flex: 1;
}

.form-dropdown .dropdown-arrow {
    transition: transform 0.3s ease;
}

.form-dropdown:hover {
    background-color: #f8f8f8;
}

.dropdown-text {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 14px;
    color: #1d240c;
    text-transform: uppercase;
    letter-spacing: 1.26px;
    line-height: 18px;
}

.dropdown-container {
    position: relative;
}

.dropdown-arrow {
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

.dropdown-container.open .dropdown-arrow {
    transform: rotate(180deg);
}

/* Hover-based navigation dropdown */
.dropdown-container.nav-dropdown:hover .dropdown-menu {
    display: flex;
}

.dropdown-container.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
    background-image: linear-gradient(rgba(210, 108, 5, 0.1), rgba(210, 108, 5, 0.1));
    border: 2px solid #d26c05;
    border-radius: 10px;
    padding: 10px 12px;
    display: none;
    flex-direction: column;
    gap: 16px;
    z-index: 1000;
    margin-top: 4px;
}

.dropdown-menu.open {
    display: flex;
}

.dropdown-option {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 14px;
    color: #1d240c;
    text-transform: uppercase;
    letter-spacing: 1.26px;
    line-height: 18px;
    cursor: pointer;
    padding: 8px 0;
    transition: color 0.15s ease;
    text-decoration: none;
    display: block;
}

.dropdown-option:hover {
    color: #d26c05;
}

.dropdown-option.selected {
    color: #d26c05;
}

.dropdown-separator {
    height: 1px;
    background-color: #1d240c;
    width: 100%;
}

/* Navigation dropdown styles */
.nav-dropdown {
    position: relative;
}

.dropdown-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
}

.dropdown-nav .dropdown-arrow {
    transition: transform 0.3s ease;
}

.nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 120px;
    margin-top: 0px;
}

/* Mobile navigation dropdown styles */
.mobile-nav-dropdown {
    position: relative;
}

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

.mobile-nav-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-nav-dropdown .dropdown-menu {
    position: static;
    width: 100%;
}

/* Order Dashboard Panel */
.order-dashboard-panel {
    background: #FFFFFF;
    border: 2px solid #1D240C;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1D240C;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
    margin-bottom: 24px;
}

.date-dropdown {
    flex-shrink: 0;
}

.date-selector {
    display: flex;
    align-items: center;
    gap: 20px;
}

.calendar-date-btn {
    background: #FFFFFF;
    border: 2px solid #1D240C;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1D240C;
    padding: 10px 20px;
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 1.26px;
    text-transform: uppercase;
    color: #1D240C;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 120px;
}

.calendar-date-btn:active {
    transform: translateY(2px);
    box-shadow: 0px 2px 0px 0px #1D240C;
}

.date-text {
    flex: 1;
}

.calendar-date-btn img {
    width: 18px;
    height: 18px;
}

.dashboard-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.stat-item {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 16px;
    line-height: 22px;
    text-transform: uppercase;
    color: #1D240C;
    white-space: nowrap;
}

.stat-value {
    color: #D26C05;
}



/* Orders Grid */
.orders-left-column {
    width: 260px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.orders-right-column {
    flex: 1;
}

/* Order Filter */
.order-filter {
    background: #FFFFFF;
    border: 2px solid #1D240C;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1D240C;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.filter-label {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 16px;
    line-height: 22px;
    text-transform: uppercase;
    color: #1D240C;
    white-space: nowrap;
}

.filter-dropdown {
    position: relative;
    flex: 1;
    min-width: 160px;
}



.filter-dropdown.open .dropdown-arrow {
    transform: rotate(180deg);
}

.filter-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    z-index: 10;
}

/* Orders List */
.orders-list {
    background: #FFFFFF;
    border: 2px solid #1D240C;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1D240C;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.order-item {
    background: #FFFFFF;
    border: 2px solid #1D240C;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1D240C;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.order-item.selected {
    background: rgba(210, 108, 5, 0.1);
    border-color: #D26C05;
    box-shadow: 0px 2px 0px 0px #D26C05;
}

.order-item {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.order-item:hover:not(.selected) {
    background: rgba(210, 108, 5, 0.05);
}

.order-item:active {
    transform: translateY(2px);
    box-shadow: 0px 2px 0px 0px #1D240C;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 1.26px;
    text-transform: uppercase;
}

.order-number {
    color: #D26C05;
}

.order-date {
    color: #1D240C;
}

.order-divider {
    height: 1px;
    background-color: #1D240C;
    width: 100%;
}

.order-customer,
.order-items,
.order-delivery {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 1.26px;
    text-transform: uppercase;
    color: #1D240C;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 1.26px;
    text-transform: uppercase;
    color: #D26C05;
}

/* Order Detail */
.order-detail {
    background: #FFFFFF;
    border: 2px solid #1D240C;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1D240C;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.order-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 18px;
    line-height: 18px;
    letter-spacing: 1.62px;
    text-transform: uppercase;
    color: #1D240C;
}

.order-detail-title {
    display: flex;
    gap: 4px;
}

.detail-order-number {
    color: #D26C05;
}

.order-detail-date {
    color: #1D240C;
}

/* Product List */
.product-list {
    background: #FFFFFF;
    border: 2px solid #1D240C;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1D240C;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-name {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 16px;
    line-height: 14.7px;
    text-transform: uppercase;
    color: #1D240C;
}

.product-description {
    font-family: 'VVDS Fifties Medium', sans-serif;
    font-size: 14px;
    line-height: 16px;
    color: rgba(29, 36, 12, 0.6);
}

.product-notes {
    font-family: 'VVDS Fifties Medium', sans-serif;
    font-size: 14px;
    line-height: 16px;
    color: #d26c05;
    font-style: italic;
    margin-top: 6px;
}

.product-quantity-price {
    display: flex;
    gap: 20px;
    align-items: center;
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 16px;
    line-height: 18px;
}

.product-quantity {
    color: #1D240C;
}

.product-price {
    color: #D26C05;
    text-transform: uppercase;
}

.product-divider {
    height: 1px;
    background-color: #000000;
    width: 100%;
}

/* Order Information */
.order-information {
    background: #FFFFFF;
    border: 2px solid #1D240C;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1D240C;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 1.26px;
    text-transform: uppercase;
    color: #1D240C;
}

.info-row.total-row {
    color: #D26C05;
}

.info-value {
    text-align: right;
}

.info-divider {
    height: 1px;
    background-color: #1D240C;
    width: 100%;
}

/* Order Actions */
.order-actions {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

.order-actions .primary-button,
.order-actions .secondary-button,
.order-actions .primary-critical-button {
    flex: 1;
}

.address-inputs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.address-input {
    width: 100%;
}

.submit-order-btn {
    margin-top: 0;
}

.privacy-notice {
    font-family: 'VVDS Fifties Medium', Arial, sans-serif;
    font-size: 14px;
    color: rgba(29, 36, 12, 0.6);
    line-height: 18px;
    text-align: center;
    margin: 0;
}

.privacy-link {
    color: rgba(29, 36, 12, 0.6);
    text-decoration: underline;
    transition: text-decoration 0.15s ease;
}

.privacy-link:hover {
    text-decoration: none;
}

/* Dashboard responsive styles for mobile and mobile landscape */
@media (max-width: 896px) {
    .order-dashboard-panel {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        width: 100%;
    }

    .dashboard-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        width: 100%;
    }

    .date-selector {
        width: 100%;
    }

    .calendar-date-btn {
        width: 100%;
        justify-content: space-between;
    }

    .form-input {
        width: 100%;
        min-width: unset;
    }

    .orders-left-column {
        width: 100%;
    }

    /* Hide order detail on mobile - will show in popup */
    .orders-right-column {
        display: none;
    }

    /* Hide elements in popup for mobile */
    .order-detail-popup .detail-label,
    .order-detail-popup .detail-order-number {
        display: none;
    }

    /* Move close button to bottom for mobile */
    .order-detail-popup .popup-header {
        flex-direction: column;
        gap: 0;
    }

    .order-detail-popup .popup-product-title {
        order: 1;
        margin-bottom: 20px;
    }

    .order-actions {
        flex-direction: column;
        gap: 12px;
    }

    .order-detail-popup .order-actions {
        margin-bottom: 16px;
    }

    .order-detail-popup .primary-button {
        order: 3;
        position: static;
        align-self: center;
    }

    /* Left align order detail header for mobile */
    .order-detail-header {
        justify-content: flex-start;
    }

    /* Adjust dashboard panel padding for mobile */
    .order-dashboard-panel {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* Order Detail Popup Styles */
.order-detail-popup {
    max-width: 95%;
    max-height: 90%;
    overflow-y: auto;
}

.order-detail-popup .order-detail {
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

/* Primary Small Button */
.primary-small-button {
    background: #FFFFFF;
    border: 2px solid #1D240C;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1D240C;
    padding: 10px 20px;
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 1.26px;
    text-transform: uppercase;
    color: #1D240C;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-small-button:active {
    transform: translateY(2px);
    box-shadow: 0px 2px 0px 0px #1D240C;
}

.logout-text {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 14px;
    line-height: 18px;
    letter-spacing: 1.26px;
    text-transform: uppercase;
    color: #1D240C;
}

/* Product Panel */
.product-panel {
    background: #FFFFFF;
    border: 2px solid #1D240C;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1D240C;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
    margin-bottom: 24px;
}

.search-products {
    flex: 1;
}



/* Calendar Popup Styles */
.calendar-popup {
    width: 320px;
    max-width: 90vw;
}

.calendar-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 16px 0;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
}

.calendar-nav-btn {
    background: #FFFFFF;
    border: 2px solid #1D240C;
    border-radius: 8px;
    box-shadow: 0px 2px 0px 0px #1D240C;
    padding: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-nav-btn:active {
    transform: translateY(1px);
    box-shadow: 0px 1px 0px 0px #1D240C;
}

.calendar-nav-btn img {
    width: 12px;
    height: 12px;
}

.calendar-month-year {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 16px;
    color: #1D240C;
    text-transform: uppercase;
    letter-spacing: 1.44px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    background: #1D240C;
    border: 1px solid #1D240C;
    padding: 2px;
}

.calendar-day-header {
    background: #FFFFFF;
    padding: 8px 4px;
    text-align: center;
    font-family: 'VVDS Fifties Bold', sans-serif;
        font-size: 12px;
    color: #1D240C;
    text-transform: uppercase;
    letter-spacing: 1.08px;
}

.calendar-days {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-day {
    background: #FFFFFF;
    padding: 8px 4px;
    text-align: center;
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 14px;
    color: #1D240C;
    cursor: pointer;
    transition: background-color 0.2s ease;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-day:hover {
    background: #F8F8F8;
}

.calendar-day.selected {
    background: #D26C05;
    color: #FFFFFF;
}

.calendar-day.other-month {
    color: rgba(29, 36, 12, 0.3);
}

.calendar-day.today {
    border: 2px solid #D26C05;
    margin: -2px;
}

/* Category Section */
.category-section {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 24px;
    margin-bottom: 24px;
}

.category-container {
    background: #FFFFFF;
    border: 2px solid #1D240C;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1D240C;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-width: 100%;
    width: 100%;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-section-title {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 18px;
        line-height: 18px;
    letter-spacing: 1.62px;
    text-transform: uppercase;
    color: #1D240C;
    margin: 0;
}

/* Products Container */
.products-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.products-container:empty {
    display: none;
}

/* Product Category Items */
.product-category-item {
    background: #FFFFFF;
    border: 2px solid #1D240C;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1D240C;
    padding: 14px 20px 14px 10px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.product-drag-handle {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    cursor: move;
}

.product-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.product-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    margin-right: 16px;
}

.product-image-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.product-image-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    text-align: center;
}

.product-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.product-category-name {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 20px;
    line-height: 18.4px;
    text-transform: uppercase;
    color: #1D240C;
    margin: 0;
}

.product-category-description {
    font-family: 'VVDS Fifties Medium', sans-serif;
    font-size: 16px;
    line-height: 22px;
    color: rgba(29, 36, 12, 0.6);
    margin: 0;
}

.product-category-price {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 18px;
    line-height: 16.51px;
    text-transform: uppercase;
    color: #D26C05;
}

.product-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.product-edit-btn,
.product-delete-btn {
    background: #FFFFFF;
    border: 2px solid #1D240C;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1D240C;
    padding: 10px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-edit-btn:active,
.product-delete-btn:active {
    transform: translateY(2px);
    box-shadow: 0px 2px 0px 0px #1D240C;
}

.product-edit-btn img,
.product-delete-btn img {
    width: 18px;
    height: 18px;
}

/* Payment Section */
.payments-section {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 24px;
    margin-bottom: 24px;
}

.payments-container {
    background: #FFFFFF;
    border: 2px solid #1D240C;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1D240C;
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.payments-section-title {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 18px;
    line-height: 18px;
    letter-spacing: 1.62px;
    text-transform: uppercase;
    color: #1D240C;
    margin: 0;
}

/* Payment Method Items */
.payment-method-item {
    background: #FFFFFF;
    border: 2px solid #1D240C;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1D240C;
    padding: 14px 20px 14px 10px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.payment-drag-handle {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    cursor: move;
}

.payment-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.payment-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.payment-method-name {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 20px;
    line-height: 18.4px;
    text-transform: uppercase;
    color: #1D240C;
    margin: 0;
}

.payment-toggle {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(29, 36, 12, 0.3);
    border: 2px solid #1D240C;
    border-radius: 12px;
    transition: all 0.15s ease;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 2px;
    top: 2px;
    background-color: #1D240C;
    border-radius: 50%;
    transition: all 0.15s ease;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #D26C05;
    border-color: #D26C05;
}

.toggle-switch input:checked + .toggle-slider:before {
    background-color: #FFFFFF;
    transform: translateX(24px);
}

/* Delivery Section */
.delivery-section {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 24px;
    margin-bottom: 24px;
}

.delivery-container {
    background: #FFFFFF;
    border: 2px solid #1D240C;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1D240C;
    padding: 20px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.delivery-section-title {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 18px;
    line-height: 18px;
    letter-spacing: 1.62px;
    text-transform: uppercase;
    color: #1D240C;
    margin: 0;
}

/* Delivery Method Items */
.delivery-method-item {
    background: #FFFFFF;
    border: 2px solid #1D240C;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1D240C;
    padding: 14px 20px 20px 10px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.delivery-method-item .delivery-header {
    display: flex;
    align-items: center;
    gap: 18px;
}

.delivery-drag-handle {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    cursor: move;
}

.delivery-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.delivery-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.delivery-method-name {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 20px;
    line-height: 18.4px;
    text-transform: uppercase;
    color: #1D240C;
    margin: 0;
}

.delivery-toggle {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Delivery Schedule */
.delivery-schedule {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.schedule-day {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    border: 1px solid rgba(29, 36, 12, 0.1);
    border-radius: 8px;
    background: rgba(29, 36, 12, 0.02);
}

.day-label {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 14px;
    line-height: 18px;
    text-transform: uppercase;
    color: #1D240C;
    letter-spacing: 1.26px;
    margin-bottom: 4px;
}

.schedule-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.time-range {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.time-dropdown {
    flex: 1;
    min-width: 80px;
}

.time-separator {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 14px;
    line-height: 18px;
    text-transform: uppercase;
    color: #1D240C;
    letter-spacing: 1.26px;
    flex-shrink: 0;
}

.schedule-toggle {
    flex-shrink: 0;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .time-dropdown {
        min-width: auto;
    }
}

/* Add Product Form */
#addProductForm {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Area Codes Table */
.area-codes-section {
    margin-top: 24px;
    padding: 20px;
    background: #FFFFFF;
    border: 1px solid rgba(29, 36, 12, 0.1);
    border-radius: 8px;
}

.area-codes-title {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 18px;
    line-height: 22px;
    color: #1D240C;
    margin: 0 0 16px 0;
    text-transform: uppercase;
}

.area-codes-table {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.area-codes-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 16px;
    padding: 12px 16px;
    background: rgba(29, 36, 12, 0.05);
    border-radius: 8px 8px 0 0;
    border-bottom: 1px solid rgba(29, 36, 12, 0.1);
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 14px;
    line-height: 18px;
    color: #1D240C;
    text-transform: uppercase;
    letter-spacing: 1.26px;
    align-items: center;
}

.area-codes-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 16px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(29, 36, 12, 0.1);
    align-items: center;
}

.area-codes-row:last-child {
    border-bottom: none;
    border-radius: 0 0 8px 8px;
}

.actions-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.area-codes-add-btn {
    width: 100%;
    margin-top: 16px;
}

.area-codes-footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(29, 36, 12, 0.1);
}

.area-codes-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legend-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.legend-bullet {
    color: #1D240C;
    font-weight: bold;
    margin-top: 2px;
    flex-shrink: 0;
}

.legend-text {
    font-family: 'VVDS Fifties', sans-serif;
    font-size: 14px;
    line-height: 18px;
    color: #666666;
    text-transform: uppercase;
}

.legend-text strong {
    color: #1D240C;
}

/* Mobile responsive for area codes table */
@media (max-width: 768px) {
    .area-codes-header,
    .area-codes-row {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 16px;
    }
    
    .area-codes-header {
        display: none;
    }
    
    .area-codes-row {
        border: 1px solid rgba(29, 36, 12, 0.1);
        border-radius: 8px;
        margin-bottom: 8px;
        background: #FFFFFF;
    }
    
    .area-codes-row:last-child {
        margin-bottom: 0;
    }
    
    .area-code-column,
    .fee-column,
    .min-order-column,
    .free-from-column,
    .actions-column {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }
    
    .area-code-column::before {
        content: "Area";
        font-family: 'VVDS Fifties Bold', sans-serif;
        font-size: 12px;
        line-height: 16px;
        color: #1D240C;
        text-transform: uppercase;
        letter-spacing: 1.26px;
    }
    
    .fee-column::before {
        content: "Fee €";
        font-family: 'VVDS Fifties Bold', sans-serif;
        font-size: 12px;
        line-height: 16px;
        color: #1D240C;
        text-transform: uppercase;
        letter-spacing: 1.26px;
    }
    
    .min-order-column::before {
                      content: "Min Order €";
        font-family: 'VVDS Fifties Bold', sans-serif;
        font-size: 12px;
        line-height: 16px;
        color: #1D240C;
        text-transform: uppercase;
        letter-spacing: 1.26px;
    }
    
    .free-from-column::before {
        content: "Free From €";
        font-family: 'VVDS Fifties Bold', sans-serif;
        font-size: 12px;
        line-height: 16px;
        color: #1D240C;
        text-transform: uppercase;
        letter-spacing: 1.26px;
    }
    
    .actions-column {
        align-items: center;
        margin-top: 8px;
    }
    
    .area-codes-add-btn {
        margin-top: 24px;
    }
}

.area-codes-row .form-label {
    display: none;
}

@media (max-width: 768px) {
    .area-codes-header {
        display: none;
    }

    .area-codes-row {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .area-codes-row > div {
        width: 100%;
    }

    .area-codes-row .area-code-column::before {
        content: 'OBLASŤ';
    }
    .area-codes-row .fee-column::before {
        content: 'POPLATOK €';
    }
    .area-codes-row .min-order-column::before {
        content: 'MIN OBJEDNÁVKA €';
    }
    .area-codes-row .free-from-column::before {
        content: 'DOPRAVA ZDARMA OD €';
    }

    .area-codes-row > div::before {
        display: block;
        margin-bottom: 8px;
        text-transform: uppercase;
        font-weight: bold;
    }
}

/* Make time dropdowns scrollable */
.time-dropdown + .dropdown-menu {
    max-height: 200px;
    overflow-y: auto;
}

/* Custom scrollbar for time dropdowns */
.time-dropdown + .dropdown-menu::-webkit-scrollbar {
    width: 4px;
}

.time-dropdown + .dropdown-menu::-webkit-scrollbar-track {
    background: transparent;
}

.time-dropdown + .dropdown-menu::-webkit-scrollbar-thumb {
    background-color: #D26C05;
    border-radius: 10px;
}

.delivery-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.delivery-section-header .delivery-section-title {
    flex-grow: 1;
}

/* Calendar Popup Styles */
.calendar-popup {
    max-width: 400px;
    width: 90%;
}

.calendar-container {
    margin: 20px 0;
}

.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 10px;
}

.calendar-nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.calendar-nav-btn:hover {
    background-color: #f0f0f0;
}

.calendar-nav-btn img {
    width: 16px;
    height: 16px;
}

.calendar-month-year {
    font-size: 18px;
    font-weight: 600;
    color: #1d240c;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 20px;
}

.calendar-day-header {
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: #666;
    padding: 8px 4px;
    background-color: #f8f8f8;
    border-radius: 4px;
}

.calendar-days {
    display: contents;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.calendar-day:hover {
    background-color: #f0f0f0;
}

.calendar-day.today {
    background-color: #1d240c;
    color: white;
    font-weight: 600;
}

.calendar-day.selected {
    background-color: #D26C05;
    color: white;
    font-weight: 600;
    border-color: #1d240c;
}

.calendar-day.empty {
    cursor: default;
    background-color: transparent;
}

.calendar-day.empty:hover {
    background-color: transparent;
}

/* Calendar Mobile Responsive */
@media (max-width: 480px) {
    .calendar-popup {
        max-width: 350px;
        width: 95%;
    }
    
    .calendar-day {
        font-size: 12px;
        padding: 4px;
    }
    
    .calendar-day-header {
        font-size: 12px;
        padding: 6px 2px;
    }
    
    .calendar-month-year {
        font-size: 16px;
    }
}

/* Date Input Styling */
.date-form {
    display: flex;
    align-items: center;
}

.date-input {
    background-color: #ffffff;
    border: 2px solid #1d240c;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1d240c;
    padding: 14px 20px;
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 16px;
    font-weight: bold;
    color: #1d240c;
    cursor: pointer;
    transition: all 0.15s ease;
    min-width: 140px;
}

.date-input:hover {
    background-color: #f8f8f8;
}

.date-input:focus {
    outline: none;
    box-shadow: 0px 4px 0px 0px #D26C05;
    border-color: #D26C05;
}

/* Date Input Mobile Responsive */
@media (max-width: 768px) {
    .date-input {
        min-width: 150px;
        padding: 12px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .date-input {
        min-width: 120px;
        padding: 10px 12px;
        font-size: 12px;
    }
}

/* Extras Selection Section */
.extras-selection-section {
    margin-top: 24px;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.selection-row {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.selection-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.selection-label {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 14px;
    color: #1d240c;
    font-weight: bold;
}

/* Custom Checkbox for Extras Selection */
.custom-checkbox {
    width: 18px;
    height: 18px;
    border: 2px solid #1d240c;
    border-radius: 4px;
    background-color: #ffffff;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.custom-checkbox.selected {
    background-color: #d26c05;
    border-color: #d26c05;
}

.custom-checkbox.selected::after {
    content: '✓';
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
}

/* Search Container in Product Dropdown */
.search-container {
    padding: 8px 0;
}

.search-input {
    width: 100%;
    padding: 8px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'VVDS Fifties Medium', sans-serif;
    font-size: 14px;
    color: #1d240c;
    background-color: #ffffff;
}

.search-input:focus {
    outline: none;
    border-color: #d26c05;
    box-shadow: 0px 0px 0px 2px rgba(210, 108, 5, 0.2);
}

/* Products List in Dropdown */
.products-list {
    max-height: 200px;
    overflow-y: auto;
}

/* Extras Selection Dropdown Options */
.extras-selection-section .dropdown-text {
    text-transform: uppercase;
    letter-spacing: 1.26px;
    line-height: 18px;
}

.extras-selection-section .selection-label {
    text-transform: uppercase;
    letter-spacing: 1.26px;
    line-height: 18px;
}

.extras-selection-section .dropdown-option span {
    text-transform: uppercase;
    letter-spacing: 1.26px;
    line-height: 18px;
}

.save-assignments-section {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    padding: 15px 0;
    border-top: 1px solid rgba(29, 36, 12, 0.1);
}

/* Combined Dropdown Styles */
.dropdown-section {
    margin-bottom: 10px;
}

.section-header {
    padding: 8px 12px;
    background-color: rgba(29, 36, 12, 0.1);
    border-radius: 6px;
    margin-bottom: 8px;
}

.section-title {
    font-family: 'VVDS Fifties Medium', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1d240c;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Remove individual scrollbars from categories and products lists */
.categories-list,
.products-list {
    max-height: none;
    overflow-y: visible;
}

/* Add general scrollbar to the dropdown menu */
.dropdown-menu {
    max-height: 400px;
    overflow-y: auto;
    gap: 16px;
}

.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: rgba(29, 36, 12, 0.1);
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: #d26c05;
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #b85a04;
}

.extras-selection-section .dropdown-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease;
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 14px;
    color: #1d240c;
    text-transform: none;
    letter-spacing: normal;
    line-height: normal;
    text-decoration: none;
    margin: 2px 0;
}

.extras-selection-section .dropdown-option:hover {
    background-color: rgba(210, 108, 5, 0.2);
}



/* Flappy Burger Game Styles */
.game-container {
    background-color: #ffffff;
    border: 2px solid #1d240c;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1d240c;
    padding: 24px 20px;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    position: relative;
    -webkit-tap-highlight-color: transparent;
}

.game-canvas-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

#gameCanvas {
    border: 3px solid #1d240c;
    border-radius: 12px;
    background-color: #FFFAF5;
    cursor: pointer;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    display: block;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
    touch-action: manipulation;
}

.game-info {
    display: flex;
    gap: 40px;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}

.game-score,
.game-high-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.score-label,
.high-score-label {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.score-value,
.high-score-value {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 32px;
    color: #D26C05;
    font-weight: bold;
}

.game-instructions {
    text-align: center;
    font-family: 'VVDS Fifties Medium', sans-serif;
    font-size: 13px;
    color: #999;
    padding: 10px 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

/* Responsive game styles */
@media (max-width: 768px) {
    .game-container {
        padding: 20px 16px;
    }
    
    .game-info {
        gap: 24px;
    }
    
    .score-value,
    .high-score-value {
        font-size: 28px;
    }
    
    .game-instructions {
        font-size: 11px;
        padding: 8px 16px;
    }
}

/* Current Player Info */
.current-player-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background-color: #fff5eb;
    border: 2px solid #D26C05;
    border-radius: 12px;
    margin-bottom: 20px;
    gap: 16px;
}

.current-player-content {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-grow: 1;
}

.current-player-label {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.current-player-nickname {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 16px;
    color: #D26C05;
    font-weight: bold;
}

.change-player-btn {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 12px;
    color: #1d240c;
    background-color: #ffffff;
    border: 2px solid #1d240c;
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.change-player-btn:hover {
    background-color: #D26C05;
    border-color: #D26C05;
    color: #ffffff;
}

.change-player-btn:active {
    transform: translateY(2px);
}

/* Leaderboard Container - now inside game-container */
.leaderboard-container {
    background-color: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    width: 100%;
}

.leaderboard-title {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 20px;
    color: #1d240c;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 0 0 20px 0;
    text-align: center;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    background-color: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.leaderboard-item:hover {
    background-color: #fff5eb;
    border-color: #D26C05;
}

.leaderboard-item.current-player {
    background-color: #fff5eb;
    border-color: #D26C05;
    border-width: 3px;
}

.leaderboard-player-info {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 14px;
    color: #1d240c;
    width: 100%;
    text-align: left;
}

.leaderboard-item.current-player .leaderboard-player-info {
    font-weight: bold;
    color: #D26C05;
}

.leaderboard-loading,
.leaderboard-empty,
.leaderboard-error {
    text-align: center;
    padding: 20px;
    font-family: 'VVDS Fifties Medium', sans-serif;
    font-size: 14px;
    color: #999;
}

.leaderboard-error {
    color: #d9534f;
}

/* Player Registration Modal */
.player-registration-popup {
    background-color: #ffffff;
    border: 2px solid #1d240c;
    border-radius: 16px;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.2);
    padding: 32px 28px;
    max-width: 420px;
    width: 90%;
    position: relative;
}

.registration-title {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 28px;
    color: #1d240c;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin: 0 0 8px 0;
    text-align: center;
}

.registration-subtitle {
    font-family: 'VVDS Fifties Medium', sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0 0 24px 0;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 12px;
    color: #1d240c;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-family: 'VVDS Fifties Medium', sans-serif;
    font-size: 14px;
    color: #1d240c;
    background-color: #ffffff;
    border: 2px solid #1d240c;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #D26C05;
}

.form-input::placeholder {
    color: #999;
}

.registration-note {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 20px;
}

.registration-note small {
    font-family: 'VVDS Fifties Medium', sans-serif;
    font-size: 11px;
    color: #666;
    line-height: 1.4;
}

.registration-error {
    background-color: #f8d7da;
    border: 2px solid #dc3545;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 13px;
    color: #721c24;
    text-align: center;
    display: none;
}

/* Responsive Leaderboard Styles */
@media (max-width: 768px) {
    .current-player-info {
        padding: 10px 14px;
        margin-bottom: 16px;
        gap: 12px;
    }
    
    .current-player-label {
        font-size: 11px;
    }
    
    .current-player-nickname {
        font-size: 14px;
    }
    
    .change-player-btn {
        font-size: 11px;
        padding: 6px 12px;
    }
    
    .leaderboard-container {
        padding: 16px;
    }
    
    .leaderboard-title {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .leaderboard-item {
        padding: 8px 12px;
    }
    
    .leaderboard-player-info {
        font-size: 13px;
    }
    
    .player-registration-popup {
        padding: 24px 20px;
    }
    
    .registration-title {
        font-size: 24px;
    }
    
    .registration-subtitle {
        font-size: 13px;
    }
}

/* Restaurant Closed Message Styles */
.closed-container {
    background-color: #ffffff;
    border: 2px solid #1d240c;
    border-radius: 16px;
    box-shadow: 0px 4px 0px 0px #1d240c;
    padding: 60px 40px;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.closed-icon {
    margin-bottom: 12px;
}

.closed-title {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 32px;
    color: #721c24;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    line-height: 1.2;
    max-width: 600px;
}

.closed-info {
    background-color: #f8f9fa;
    border: 2px solid #1d240c;
    border-radius: 12px;
    padding: 24px 40px;
    margin: 12px 0;
}

.closed-next-opening {
    font-family: 'VVDS Fifties Medium', sans-serif;
    font-size: 16px;
    color: #666;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.closed-opening-time {
    font-family: 'VVDS Fifties Bold', sans-serif;
    font-size: 36px;
    color: #D26C05;
    font-weight: bold;
    margin: 0;
}

.closed-message {
    font-family: 'VVDS Fifties Medium', sans-serif;
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    max-width: 500px;
}

.closed-message p {
    margin: 0;
}

/* Responsive closed message styles */
@media (max-width: 768px) {
    .closed-container {
        padding: 40px 24px;
    }
    
    .closed-title {
        font-size: 24px;
    }
    
    .closed-info {
        padding: 20px 24px;
    }
    
    .closed-opening-time {
        font-size: 28px;
    }
    
    .closed-message {
        font-size: 14px;
    }
}

/* ===== TAX MANAGEMENT STYLES ===== */
.tab-button {
    background: none;
    border: none;
    padding: 12px 24px;
    font-size: 14px;
    font-family: 'VVDS Fifties Medium', sans-serif;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-button.active {
    color: #1d240c;
    border-bottom: 3px solid #d26c05;
    font-family: 'VVDS Fifties Bold', sans-serif;
}

.tab-button:hover {
    color: #1d240c;
}

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

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

/* Responsive styles for tax management */
@media (max-width: 768px) {
    .schedule-controls {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 8px;
    }
    
    .time-range {
        flex-wrap: wrap;
    }
    
    .tab-button {
        padding: 8px 16px;
        font-size: 12px;
    }
}
