* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #2dae47;
    --primary-dark: #c0392b;
    --secondary: #f39c12;
    --dark: #232132;
    --light: #ecf0f1;
    --gray: #95a5a6;
    --success: #27ae60;
}

body {
    background: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

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

/* Navigation */
.utiliy-nav {
    background: var(--dark);
    color: #fff;
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.utiliy-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0 1rem;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.flag-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
    border-radius: 4px;
    transition: background 0.2s;
    text-decoration: none;
}

.flag-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.flag-link.active {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: inset 0 0 0 2px var(--primary);
}

.fi {
    width: 24px;
    height: 18px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cart-toggler a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: var(--primary);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: inline-block;
}

.cart-toggler a:hover {
    background: var(--success);
    transform: translateY(-1px);
}

nav {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 0.5rem 0;
}

nav .container {
    padding: 0 1rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}

nav ul::-webkit-scrollbar {
    display: none;
}

nav li {
    flex-shrink: 0;
}

nav a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    display: block;
    white-space: nowrap;
    transition: opacity 0.2s;
}

nav a:hover {
    opacity: 0.8;
}

/* Map */
#mapsource {
    width: 100%;
    height: 250px;
    border: 0;
    display: block;
    filter: grayscale(20%);
    transition: filter 0.3s;
}

#mapsource:hover {
    filter: grayscale(0%);
}

/* Header */
header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 2rem 0;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
}

.logo img {
    max-width: 90%;
    display: inline-block;
    margin: 0 auto;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

h1,
.section-title {
    text-transform: uppercase;
}

.tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Tabs & Menu */
.tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.tab {
    padding: 1rem 2rem;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    flex: 1;
    text-align: center;
    min-width: 200px;
}

.tab:hover {
    background: var(--light);
}

.tab.active {
    background: var(--primary);
    color: #fff;
}

.menu-section {
    display: none;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    display: inline-block;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.menu-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.3s,
        box-shadow 0.3s;
}

.menu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

#pizzas .menu-card img {
    max-width: 100%;
}

.card-header {
    background: var(--primary);
    color: #fff;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-name {
    font-size: 1.3rem;
    font-weight: 600;
}

.item-number {
    background: #fff;
    color: var(--primary);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.card-content {
    padding: 1.5rem;
}

.description {
    color: var(--gray);
    margin-bottom: 1rem;
    font-style: italic;
}

/* Price Tables */
.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.price-table th {
    border-bottom: 1px solid var(--light);
    text-align: left;
    padding: 0.25rem;
    font-weight: 600;
    color: var(--dark);
}

.price-table td {
    padding: 0.25rem;
    border-bottom: 1px solid #eee;
}

.price-table tr:last-child td {
    border-bottom: none;
}

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

/* Toppings */
.topping-category {
    margin-bottom: 2.5rem;
}

.topping-category .menu-grid {
    grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
}

.category-title {
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
    padding-left: 0.5rem;
    border-left: 4px solid var(--secondary);
}

/* Footer */
footer {
    background: var(--dark);
    color: #fff;
    text-align: center;
    padding: 2rem;
    margin-top: -0.5rem;
}

.company-info {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Announcement */
.announcement {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: #fff;
    padding: 1rem 1.5rem;
    text-align: center;
    font-weight: 600;
    border-radius: 8px;
    margin: 1.5rem auto 2rem;
    max-width: 900px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.6s;
}

.announcement a {
    color: var(--light);
    font-weight: 700;
    text-decoration: underline;
    transition: color 0.3s;
}

.announcement a:hover {
    color: #fff;
}

.menu-card p + p {
    margin-top: 0.8rem;
}

.menu-card ul {
    margin: 0.8rem 0 1.2rem 1.4rem;
    padding-left: 0.5rem;
}

.menu-card li {
    margin-bottom: 0.4rem;
}

.menu-card li:last-child,
.menu-card li:last-child {
    margin-bottom: 0;
}

.menu-card.info-page {
    padding: 1.5rem;
    border-radius: 12px;
}

.card-content.info-page {
    margin: 0 auto;
    line-height: 1.7;
    font-size: 15px;
}

/* Gift Card */
#giftcard h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 20px;
}

#giftcard h4 {
    margin-bottom: 0.75rem;
    font-size: 16px;
    opacity: 0.85;
}

#giftcard img {
    margin: 0.75rem 0 1.25rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

#giftcard img:hover {
    transform: scale(1.01);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

#giftcard p {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.6rem;
}

#giftcard p::before {
    content: attr(data-num);
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 600;
    color: var(--primary);
}

#giftcard p:not(:last-child) {
    border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
    padding-bottom: 0.5rem;
}

/* Cart */
.add-pizza-btn,
.add-drink-btn,
.topping-add-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 700;
    margin-left: 8px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    float: right;
}

.add-pizza-btn:hover,
.add-drink-btn:hover,
.topping-add-btn:hover {
    background: var(--success);
    transform: scale(1.1);
}

.topping-add-btn {
    background: var(--secondary);
    width: 24px;
    height: 24px;
    font-size: 14px;
    margin-left: 6px;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 2000;
    transition: right 0.3s;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    background: var(--primary);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.cart-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.cart-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.cart-total-top {
    padding: 1rem 1.5rem;
    background: var(--light);
    font-size: 1.2rem;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
}

.cart-total-top span {
    color: var(--primary);
    font-size: 1.4rem;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-empty {
    text-align: center;
    color: var(--gray);
    padding: 2rem;
    font-style: italic;
}

.cart-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.cart-item.focused {
    border-color: var(--primary);
    background: #e8f5e9;
    box-shadow: 0 2px 8px rgba(45, 174, 71, 0.2);
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

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

.cart-toppings {
    margin-top: 0.5rem;
    padding-left: 0.5rem;
    border-left: 3px solid var(--secondary);
}

.cart-topping {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    padding: 0.25rem 0;
    color: #666;
}

.btn-remove,
.btn-remove-small {
    background: var(--primary-dark);
    color: #fff;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.btn-remove:hover,
.btn-remove-small:hover {
    background: #a93226;
}

.btn-remove-small {
    width: 22px;
    height: 22px;
    font-size: 0.9rem;
}

.drink-item .cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.drink-item .cart-item-controls button {
    background: var(--light);
    border: 1px solid #ddd;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    transition: all 0.2s;
}

.drink-item .cart-item-controls button:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid #ddd;
    background: #fff;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: var(--success);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.checkout-btn:hover:not(:disabled) {
    background: #229954;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3);
}

.checkout-btn:disabled {
    background: var(--gray);
    cursor: not-allowed;
}

/* Modal - consolidated */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    padding: 1rem;
}

.modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s;
}

.modal-overlay.open .modal-content {
    transform: scale(1);
}

.modal-header {
    flex-shrink: 0;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--dark);
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.modal-footer {
    flex-shrink: 0;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e9ecef;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
}

.modal-buttons button {
    flex: 1;
    padding: 0.875rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

/* Courier Fields */
.courier-question {
    margin-bottom: 1.5rem;
}

.courier-question p {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.courier-question label {
    display: inline-block;
    margin-right: 1.5rem;
    cursor: pointer;
}

.courier-question input {
    margin-right: 0.5rem;
}

.courier-fields {
    margin-bottom: 1.5rem;
}

.courier-fields input {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

.pickup-notice {
    background: #e8f5e9;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary);
}

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

.btn-secondary:hover {
    background: #d5dbdb;
}

.btn-primary {
    background: var(--success);
    color: #fff;
}

.btn-primary:hover {
    background: #229954;
}

/* Notification */
.notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 4000;
}

.notification.error {
    background: var(--primary-dark);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

/* Cookie Notice */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: #fff;
    padding: 1rem;
    z-index: 1500;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    flex: 1;
    min-width: 250px;
}

.cookie-content button {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
}

.cookie-content button:hover {
    background: var(--success);
}

/* Order Success */
.order-success-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--success) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
}

.success-content {
    text-align: center;
    color: #fff;
    padding: 2rem;
}

.success-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.success-content p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.order-id {
    font-family: monospace;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: inline-block;
    margin: 1rem 0;
}

.back-home-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: #fff;
    color: var(--primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s;
}

.back-home-btn:hover {
    transform: translateY(-3px);
}

/* Address Autocomplete */
.address-search-container {
    position: relative;
    margin-bottom: 0.75rem;
}

#delivery-address {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
}

#delivery-address.loading {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24"><circle cx="12" cy="12" r="10" stroke="%232dae47" stroke-width="2" fill="none" stroke-dasharray="31.416" stroke-dashoffset="10"><animateTransform attributeName="transform" type="rotate" from="0 12 12" to="360 12 12" dur="1s" repeatCount="indefinite"/></circle></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 20px;
    padding-right: 2.5rem;
}

.address-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 6px 6px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: none;
}

.address-suggestions.active {
    display: block;
}

.address-suggestion-item {
    padding: 0.75rem;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
    font-size: 0.9rem;
    line-height: 1.4;
}

.address-suggestion-item:hover,
.address-suggestion-item.selected {
    background: #f8f9fa;
}

.address-suggestion-item:last-child {
    border-bottom: none;
}

.address-suggestion-item .suggestion-name {
    font-weight: 600;
    color: var(--dark);
    display: block;
    margin-bottom: 0.25rem;
}

.address-suggestion-item .suggestion-details {
    font-size: 0.8rem;
    color: var(--gray);
}

.courier-price-display {
    background: linear-gradient(135deg, var(--primary) 0%, var(--success) 100%);
    color: #fff;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    text-align: center;
    font-weight: 600;
}

.courier-price-display .price-label {
    font-size: 0.9rem;
    opacity: 0.9;
    display: block;
    margin-bottom: 0.25rem;
}

.courier-price-display .price-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.courier-price-display.error {
    background: var(--primary-dark);
}

.courier-price-display.loading {
    background: var(--gray);
}

/* Delivery Comment */
.delivery-comment-section {
    margin-bottom: 1rem;
}

.comment-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-size: 0.95rem;
}

#delivery-comment {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.2s;
}

#delivery-comment:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(45, 174, 71, 0.1);
}

.comment-hint {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--gray);
    font-style: italic;
}

#courier-fields .delivery-comment-section,
#pickup-notice + .delivery-comment-section {
    margin-top: 1rem;
}

/* Working Hours Popup */
.working-hours-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.popup-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes popupSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #e74c3c 100%);
    color: #fff;
    padding: 1.5rem;
    text-align: center;
}

.popup-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.popup-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.popup-body {
    padding: 1.5rem;
    text-align: center;
}

.main-message {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.next-opening {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.next-opening strong {
    color: #856404;
    display: block;
    margin-bottom: 0.25rem;
}

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

.current-hours {
    color: var(--gray);
    font-size: 0.85rem;
}

.popup-footer {
    padding: 1rem 1.5rem 1.5rem;
    text-align: center;
}

.popup-footer .btn-primary {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.popup-footer .btn-primary:hover {
    background: var(--success);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 174, 71, 0.3);
}

.working-hours-popup.urgent .popup-header {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
}

@keyframes urgentPulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.9;
    }
}

/* Closing Warning */
.closing-warning {
    background: linear-gradient(90deg, var(--secondary) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.closing-warning .warning-icon {
    font-size: 1.2rem;
}

@keyframes flash {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.closing-warning .warning-text {
    flex: 1;
    font-weight: 600;
    font-size: 0.95rem;
}

.closing-warning button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Countdown */
.closing-countdown {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    white-space: nowrap;
}

@keyframes countdownPulse {
    0%,
    100% {
        background: rgba(255, 255, 255, 0.15);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
    50% {
        background: rgba(255, 255, 255, 0.25);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }
}

.countdown-icon {
    font-size: 1rem;
}

@keyframes clockTick {
    0%,
    100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(10deg);
    }
    75% {
        transform: rotate(-10deg);
    }
}

.countdown-label {
    opacity: 0.9;
    font-weight: 500;
}

.countdown-display {
    font-weight: 700;
    font-family: "Courier New", monospace;
    letter-spacing: 0.5px;
    min-width: 90px;
    text-align: center;
}

.closing-countdown.urgent {
    background: linear-gradient(90deg, #e74c3c 0%, #c0392b 100%);
}

@keyframes shake {
    0%,
    100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(-15deg);
    }
    75% {
        transform: rotate(15deg);
    }
}

.closed-badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.closed-icon {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Floating Warning */
.floating-urgent-warning {
    position: fixed;
    top: 80px;
    right: 20px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    z-index: 1000;
    max-width: 300px;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.warning-pulse {
    font-size: 1.5rem;
}

@keyframes firePulse {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.3);
    }
}

/* Order Scheduling */
.order-scheduling-section {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
}

.scheduling-title {
    margin: 0 0 1rem;
    font-size: 1rem;
    color: var(--dark);
    font-weight: 600;
}

.scheduling-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.scheduling-option {
    flex: 1;
    min-width: 140px;
    cursor: pointer;
    position: relative;
}

.scheduling-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.option-label {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: all 0.2s;
    text-align: center;
}

.scheduling-option input[type="radio"]:checked + .option-label {
    border-color: var(--primary);
    background: #e8f5e9;
    box-shadow: 0 2px 8px rgba(45, 174, 71, 0.2);
}

.scheduling-option:hover .option-label {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.option-label strong {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.option-label small {
    font-size: 0.8rem;
    color: var(--gray);
}

.scheduled-time-fields {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #ccc;
}

.datetime-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.datetime-field {
    flex: 1;
    min-width: 140px;
}

.datetime-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.datetime-field input,
.datetime-field select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.datetime-field input:focus,
.datetime-field select:focus {
    outline: none;
    border-color: var(--primary);
}

.datetime-field select:disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.schedule-validation {
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    display: none;
}

.schedule-validation.valid {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.schedule-validation.invalid {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.schedule-validation.loading {
    display: block;
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* Media Queries - Consolidated */
@media (min-width: 600px) {
    #mapsource {
        height: 350px;
    }
}

@media (min-width: 769px) {
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        overflow-x: visible;
    }
}

@media (min-width: 1024px) {
    #mapsource {
        height: 450px;
    }
}

@media (max-width: 768px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }

    .topping-category .menu-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }

    .tab {
        min-width: 150px;
        padding: 1rem;
    }

    h1 {
        font-size: 2rem;
    }
}

@media (max-width: 600px) {
    #giftcard .card-content {
        font-size: 14px;
    }

    .utiliy-nav .container {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .closing-countdown {
        order: 3;
        width: 100%;
        justify-content: center;
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }

    .countdown-display {
        min-width: 80px;
    }

    .closed-badge {
        order: 2;
        font-size: 0.8rem;
    }

    .floating-urgent-warning {
        top: auto;
        bottom: 20px;
        right: 10px;
        left: 10px;
        max-width: none;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .utiliy-nav .container {
        justify-content: space-between;
        gap: 0.75rem;
    }

    .cart-toggler a {
        width: 100%;
        text-align: center;
    }

    .tabs {
        flex-direction: column;
    }

    .section-title {
        font-size: 1.7rem;
    }

    .cart-sidebar {
        max-width: 100%;
    }

    .modal-content {
        max-height: 95vh;
        padding: 1.5rem;
    }

    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1rem;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .address-suggestions {
        max-height: 200px;
    }

    .address-suggestion-item {
        padding: 0.6rem;
        font-size: 0.85rem;
    }

    .popup-content {
        width: 95%;
        border-radius: 12px;
    }

    .popup-header {
        padding: 1.25rem;
    }

    .popup-icon {
        font-size: 2.5rem;
    }

    .popup-header h2 {
        font-size: 1.25rem;
    }

    .popup-body {
        padding: 1.25rem;
    }

    .main-message {
        font-size: 1rem;
    }

    .opening-time {
        font-size: 1.1rem;
    }

    .scheduling-options {
        flex-direction: column;
    }

    .datetime-row {
        flex-direction: column;
        gap: 0.75rem;
    }
}

.payment-status-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--success) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    color: white;
    text-align: center;
}

.status-content {
    padding: 2rem;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    background: white;
    color: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1.5rem;
    animation: scaleIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }
    to {
        transform: scale(1);
    }
}

.status-content h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.order-id {
    font-family: monospace;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: inline-block;
    margin: 1rem 0;
}

.status-hint {
    opacity: 0.8;
    font-size: 0.9rem;
}

.paid-time {
    font-size: 0.9rem;
    opacity: 0.9;
}

.back-home-btn {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.2s;
}

.back-home-btn:hover {
    transform: translateY(-3px);
}

/* Probable success (webhook delayed) */
.payment-status-screen.probable {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}

.payment-status-screen.probable .success-icon {
    color: var(--secondary);
}
