/* General Styles */
*
    /* Protection Overlay */
    .protection-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 999999; /* Ensure it's on top of almost everything */
        pointer-events: none; /* Allows clicks to pass through to elements below */
    }
    /* Protection Notice */
    .protection-notice {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        background-color: rgba(0,0,0,0.8);
        color: white;
        padding: 10px 20px;
        border-radius: 5px;
        font-size: 14px;
        z-index: 1000000; /* Ensure it's on top of the overlay */
        display: none; /* Hidden by default, shown by JS */
    }
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Modern font */
body {
    margin: 0;
    padding: 0;
    background-color: #FF9AA2; /* Softer, warmer background */
    color: #333; /* Darker text for better readability */
    overflow-x: hidden;
}
{
        user-select: none;
        -webkit-user-select: none; /* For Safari */
        -moz-user-select: none;    /* For Firefox */
        -ms-user-select: none;     /* For Internet Explorer/Edge */
    }
/* Header */
header {
    background-color: #7BE495; /* Muted bakery theme color */
    color: #ffffff;
    padding: 25px 20px; /* Increased padding */
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Softer, more diffused shadow */
    position: relative;
    z-index: 10; /* Ensure header is above other content */
}
.logo-container {
    margin-bottom: 15px;
    /* Added for centering the circular image if max-width is less than container */
    display: flex;
    justify-content: center;
    align-items: center;
}
.logo-container img {
    max-width: 180px; /* Slightly smaller logo */
    height: 180px; /* Set height equal to max-width for perfect circle */
    object-fit: cover; /* Ensures image covers the area without distortion */
    border-radius: 50%; /* Makes the image circular */
    border: 4px solid #ffffff; /* Optional: Add a white border for emphasis */
    box-shadow: 0 0 10px rgba(0,0,0,0.2); /* Optional: Add a subtle shadow to the circle */
}
header h1 {
    font-size: 2.8em; /* Larger, more prominent heading */
    margin: 10px 0 5px;
    font-weight: 700; /* Bolder font */
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}
header p {
    font-size: 1.1em;
    margin: 0;
    opacity: 0.9;
}

/* Main Container */
.container {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 25px auto; /* Increased margin for spacing */
    padding: 20px;
    gap: 30px; /* Space between sections */
}

/* Navigation Bar Styles */
.navbar {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: #FFE156; /* Deeper, richer bakery color for nav */
    overflow-x: hidden;
    transition: 0.5s cubic-bezier(0.7, 0, 0.3, 1); /* Smoother transition */
    padding-top: 80px; /* More space from top */
    box-shadow: 3px 0 8px rgba(0,0,0,0.3); /* Stronger shadow for depth */
}
.navbar a {
    padding: 18px 30px; /* Increased padding */
    text-decoration: none;
    font-size: 24px; /* Larger font size */
    color: #FF9AA2;
    display: block;
    transition: 0.3s ease-in-out;
    border-bottom: 1px solid rgba(255,255,255,0.1); /* Subtle separator */
}
.navbar a:last-child {
    border-bottom: none;
}
.navbar a:hover {
    background-color: #FFE156; /* Lighter, more inviting hover state */
    transform: translateX(5px); /* Slight movement on hover */
}
.navbar .closebtn {
    position: absolute;
    top: 20px; /* Adjusted position */
    right: 25px;
    font-size: 40px; /* Larger close button */
    color: #FF9AA2;
    transition: 0.3s;
}
.navbar .closebtn:hover {
    color: #f0f0f0;
    transform: rotate(90deg); /* Spin effect on close */
}
.openbtn {
    font-size: 32px; /* Larger hamburger icon */
    cursor: pointer;
    background-color: transparent;
    color: #FF9AA2;
    padding: 10px 15px;
    border: none;
    position: absolute;
    left: 15px; /* Adjusted position */
    top: 20px; /* Adjusted position */
    z-index: 1001;
    transition: transform 0.2s ease-in-out;
}
.openbtn:hover {
    transform: scale(1.1); /* Slight scale on hover */
}
.overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.6); /* Darker overlay */
    z-index: 999;
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
}
.overlay.active {
    display: block;
    opacity: 1;
}
#main {
    transition: margin-left .5s cubic-bezier(0.7, 0, 0.3, 1);
    padding: 16px;
}

/* Menu Category */
.menu-category {
    margin-bottom: 30px;
    background: #FF9AA2; /* Pure white background */
    border-radius: 12px; /* More rounded corners */
    padding: 25px; /* Increased padding */
    box-shadow: 0 8px 20px rgba(0,0,0,0.08); /* Softer, larger shadow */
    transition: transform 0.3s ease-in-out;
}
.menu-category:hover {
    transform: translateY(-5px); /* Subtle lift on hover */
}
.category-title {
    border-bottom: 3px solid #7BE495; /* Thicker, muted bakery color border */
    padding-bottom: 15px;
    margin-bottom: 25px;
    color: #ffffff; /* Deeper bakery color for title */
    cursor: pointer;
    user-select: none;
    font-size: 2.2em; /* Larger, more impactful font size */
    font-weight: 700;
    letter-spacing: 0.5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.category-title::after {
    content: '▼'; /* Dropdown indicator */
    font-size: 0.7em;
    transition: transform 0.3s ease-in-out;
}
.category-title.active::after {
    transform: rotate(180deg); /* Rotate indicator when active */
}
.menu-items {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px; /* Increased gap */
    padding-top: 10px; /* Space from title */
}
.menu-items.active {
    display: grid;
}

/* Menu Item */
.menu-item {
    background: #fffaf0; /* Very light cream background */
    color: #333;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* Refined shadow */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}
.menu-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15); /* More pronounced shadow on hover */
}
.item-image {
    height: 180px;
    overflow: hidden;
    border-bottom: 1px solid #FF9AA2; /* Subtle separator */
}
.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}
.menu-item:hover .item-image img {
    transform: scale(1.05); /* Slight zoom on image hover */
}
.item-details {
    padding: 18px; /* Increased padding */
    flex-grow: 1; /* Allows details section to expand */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.item-title {
    font-weight: 700;
    font-size: 1.6em; /* Larger title */
    margin: 0 0 8px 0;
    color: #FFE156; /* Deeper bakery color */
}
.item-desc {
    color: #666;
    font-size: 0.95em; /* Slightly larger description */
    margin: 0 0 15px 0;
    line-height: 1.5;
}
.item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #FF9AA2; /* Separator for footer */
}
.item-price {
    font-weight: 700;
    color: #7BE495; /* Muted bakery theme color */
    font-size: 1.4em; /* Larger price font */
    letter-spacing: 0.5px;
}
.quantity-control {
    display: flex;
    align-items: center;
    background-color: #f0f0f0; /* Light background for control */
    border-radius: 25px; /* Pill shape */
    overflow: hidden;
}
.quantity-btn {
    width: 38px; /* Larger buttons */
    height: 38px;
    background: #7BE495; /* Muted bakery theme color */
    color: #FF9AA2;
    border: none;
    border-radius: 50%; /* Circular buttons */
    font-size: 1.2em; /* Larger font */
    cursor: pointer;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0; /* Prevent shrinking */
}
.quantity-btn:hover {
    background: #FFE156; /* Darker on hover */
    transform: scale(1.05);
}
.quantity-btn:active {
    transform: scale(0.95);
}
.quantity-input {
    width: 55px; /* Wider input */
    text-align: center;
    margin: 0 5px; /* Reduced margin */
    border: none; /* No border */
    background-color: transparent;
    padding: 5px 0;
    font-size: 1.1em;
    font-weight: 600;
    color: #FF4E50;
    -moz-appearance: textfield; /* Hide arrows in Firefox */
}
.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none; /* Hide arrows in Chrome, Safari, Edge */
    margin: 0;
}

/* Checkout Section */
.checkout-section {
    background: #FF9AA2;
    padding: 30px; /* Increased padding */
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    margin-top: 40px;
    text-align: center; /* Center content */
}
.checkout-section h3 {
    font-size: 1.8em;
    color: #FFE156;
    margin-bottom: 20px;
    border-bottom: 2px solid #FF9AA2;
    padding-bottom: 15px;
}
#cart-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    max-height: 200px; /* Limit height for long lists */
    overflow-y: auto; /* Scroll for long lists */
    border: 1px solid #FF9AA2;
    border-radius: 8px;
    background-color: #FFE156;
}
#cart-list li {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05em;
    color: #FF4E50;
}
#cart-list li:last-child {
    border-bottom: none;
}
#total-amount {
    font-size: 1.6em;
    font-weight: 700;
    color: #FFE156;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
}
.checkout-btn {
    background: #7BE495;
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px; /* More rounded */
    font-size: 1.3em;
    cursor: pointer;
    width: 100%;
    max-width: 300px; /* Max width for button */
    margin-top: 30px;
    transition: background-color 0.2s ease-in-out, transform 0.1s ease-in-out;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.checkout-btn:hover {
    background: #FFE156;
    transform: translateY(-3px); /* Lift effect */
}
.checkout-btn:active {
    transform: translateY(0);
}
.checkout-btn:disabled {
    background: #7BE495;
    cursor: not-allowed;
    transform: none;
}
.empty-cart {
    text-align: center;
    color: #FF4E50;
    padding: 30px;
    font-style: italic;
    font-size: 1.1em;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    header h1 {
        font-size: 2.2em;
    }
    header p {
        font-size: 1em;
    }
    .logo-container img {
        max-width: 150px;
        height: 150px;
    }
    .navbar {
        padding-top: 60px;
    }
    .navbar a {
        font-size: 20px;
        padding: 15px 25px;
    }
    .navbar .closebtn {
        font-size: 36px;
        top: 15px;
    }
    .openbtn {
        font-size: 28px;
        top: 15px;
        left: 10px;
    }
    .container {
        padding: 15px;
        margin: 20px auto;
    }
    .menu-category {
        padding: 20px;
    }
    .category-title {
        font-size: 1.8em;
    }
    .menu-items {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
        gap: 20px;
    }
    .item-title {
        font-size: 1.4em;
    }
    .item-price {
        font-size: 1.2em;
    }
    .quantity-btn {
        width: 35px;
        height: 35px;
        font-size: 1.1em;
    }
    .quantity-input {
        width: 50px;
        font-size: 1em;
    }
    .checkout-section {
        padding: 25px;
    }
    .checkout-section h3 {
        font-size: 1.6em;
    }
    #total-amount {
        font-size: 1.4em;
    }
    .checkout-btn {
        font-size: 1.1em;
        padding: 12px 25px;
    }
}

@media screen and (max-width: 480px) {
    header h1 {
        font-size: 1.8em;
    }
    header p {
        font-size: 0.9em;
    }
    .logo-container img {
        max-width: 120px;
        height: 120px;
    }
    .openbtn {
        font-size: 24px;
        top: 10px;
    }
    .navbar {
        width: 100%; /* Full width on small screens */
        padding-top: 50px;
    }
    .navbar a {
        font-size: 18px;
        padding: 12px 20px;
    }
    .navbar .closebtn {
        font-size: 32px;
        top: 10px;
        right: 15px;
    }
    .container {
        padding: 10px;
        margin: 15px auto;
    }
    .menu-category {
        padding: 15px;
    }
    .category-title {
        font-size: 1.5em;
    }
    .menu-items {
        grid-template-columns: 1fr; /* Single column on very small screens */
        gap: 15px;
    }
    .item-image {
        height: 150px;
    }
    .item-details {
        padding: 15px;
    }
    .item-title {
        font-size: 1.2em;
    }
    .item-desc {
        font-size: 0.85em;
    }
    .item-price {
        font-size: 1.1em;
    }
    .quantity-btn {
        width: 30px;
        height: 30px;
        font-size: 1em;
    }
    .quantity-input {
        width: 40px;
        font-size: 0.9em;
    }
    .checkout-section {
        padding: 20px;
    }
    .checkout-section h3 {
        font-size: 1.4em;
    }
    #total-amount {
        font-size: 1.2em;
    }
    .checkout-btn, .telegram-btn {
        font-size: 1em;
        padding: 10px 20px;
    }
}
.location-display p {
    margin: 0;
    color: #FF4E50;
    font-size: 16px;
}
=======
.location-display p {
    margin: 0;
    color: #FF4E50;
    font-size: 16px;
}

.location-link {
    color: #FFE156;
    text-decoration: none;
    font-weight: 600;
}

.location-link:hover {
    text-decoration: underline;
    color: #7BE495;
}
