:root {
    --black: #0a0a0a;
    --white: #ffffff;
    --gold: #c8a97e;
    --gold-dark: #b8976d;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--black);
    color: var(--white);
    -webkit-font-smoothing: antialiased;
    padding-bottom: env(safe-area-inset-bottom);
}

/* Order System */
.order-section {
    padding: 0 5% 5.5rem;
    background-color: var(--black);
    min-height: 100vh;
}

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

.order-header-controls {
    top: 5px;
    left: 1rem;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: absolute;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background-color: rgba(0, 0, 0, 0.6);
    transform: scale(1.05);
}

.theme-toggle .sun-icon,
.theme-toggle .moon-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.theme-toggle .moon-icon {
    display: none;
}

body.light-mode .theme-toggle .sun-icon {
    display: none;
}

body.light-mode .theme-toggle .moon-icon {
    display: block;
}

body.light-mode .theme-toggle {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
}

body.light-mode .theme-toggle:hover {
    background-color: #ffffff;
}

.order-hero {
    position: relative;
    margin: 0;
}

.order-banner {
    height: 140px;
    background: linear-gradient(135deg, rgba(200, 169, 126, 0.3) 0%, rgba(200, 169, 126, 0.08) 100%), var(--black);
    border-bottom: 1px solid rgba(200, 169, 126, 0.2);
}

.order-header-card {
    position: relative;
    z-index: 10;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    padding: 1.25rem;
    width: calc(100% - 2.5rem);
    margin-top: -4.25rem;
    margin-left: 1.25rem;
    margin-right: 1.25rem;
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--theme-radius, 12px);
}

.order-header-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.order-header-logo {
    width: 4rem;
    height: 4rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: calc(var(--theme-radius, 12px) * 0.75);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.order-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.order-logo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
}

.order-logo-fallback svg {
    width: 2rem;
    height: 2rem;
}

.order-header-info {
    flex: 1;
    min-width: 0;
}

.order-header-title {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin: 0;
    font-family: var(--theme-heading-font, system-ui, sans-serif);
}

.order-header-meta {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.order-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #6b7280;
}

.order-status-badge svg {
    color: rgba(255, 255, 255, 0.6);
}

.order-status-text {
    color: rgb(34, 197, 94);
}

.order-status-separator {
    color: rgba(255, 255, 255, 0.6);
}

.order-status-closing {
    color: rgba(255, 255, 255, 0.6);
}

.order-status-dot {
    display: inline-block;
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: rgb(22, 163, 74);
}

.order-delivery-info {
    display: inline-flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: var(--theme-card-muted, rgba(255, 255, 255, 0.6));
}

.order-delivery-item {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 0.375rem;
}

.order-delivery-item svg {
    color: rgba(255, 255, 255, 0.6);
}

.order-distance-text,
.order-min-order-label,
.order-min-order-value {
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
}

.order-header-social {
    display: flex;
    align-items: center;
    border-top: 1px solid color-mix(in srgb, var(--theme-accent, #f97316) 12%, transparent);
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1rem;
    padding-top: 1rem;
}

.order-social-icon {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
    border-radius: 0.5rem;
    transition: opacity 0.2s;
}

.order-social-icon:hover {
    opacity: 0.8;
}

.language-dropdown {
    position: relative;
    flex-shrink: 0;
}

.lang-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.lang-toggle-btn:hover {
    background-color: rgba(0, 0, 0, 0.6);
    transform: scale(1.05);
}

.lang-toggle-btn svg {
    transition: transform 0.2s;
}

.lang-toggle-btn.active svg {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    min-width: 8rem;
    background: rgba(15, 13, 11, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 0.75rem;
    border: 1px solid rgba(249, 115, 22, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    padding: 0.4rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition: all 0.2s ease;
    z-index: 200;
}

.lang-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.15s ease;
}

.lang-option:hover {
    background: rgba(249, 115, 22, 0.1);
    color: #f97316;
}

.lang-option.selected {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
}

body.light-mode .lang-toggle-btn {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
}

body.light-mode .lang-toggle-btn:hover {
    background-color: #ffffff;
}

body.light-mode .lang-menu {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(249, 115, 22, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.light-mode .lang-option {
    color: rgba(0, 0, 0, 0.7);
}

body.light-mode .lang-option:hover {
    background: rgba(249, 115, 22, 0.08);
    color: #ea580c;
}

body.light-mode .lang-option.selected {
    background: rgba(249, 115, 22, 0.12);
    color: #ea580c;
}

/* GTranslate - Google Translate enjeksiyon elementlerini gizle */
.skiptranslate,
.goog-te-banner-frame,
.goog-te-gadget,
.goog-logo-link,
.goog-te-combo,
.goog-te-balloon-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-l4eHX-hSRGPd,
#goog-gt-tt,
#google_translate_element2 {
    display: none !important;
}

body {
    top: 0 !important;
}

/* GTranslate bayrak stilleri */
.gtranslate_wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 4px 0;
}

.gtranslate_wrapper .gt_container--9uakgu,
.gtranslate_wrapper .gtranslate-widget {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
}

.gtranslate_wrapper a.glink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    overflow: hidden;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
}

.gtranslate_wrapper a.glink:hover {
    transform: scale(1.12);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.gtranslate_wrapper a.glink.gt-current-lang {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200, 169, 126, 0.3);
    background: rgba(200, 169, 126, 0.15);
}

.gtranslate_wrapper a.glink img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.light-mode .gtranslate_wrapper a.glink {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.15);
}

body.light-mode .gtranslate_wrapper a.glink:hover {
    border-color: rgba(0, 0, 0, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Cart Toggle Button */
/* Bottom Navbar */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    padding: 0;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: #0f0d0b;
    border-top: 1px solid rgba(249, 115, 22, 0.2);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.bottom-nav-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 8px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.68rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    position: relative;
    min-height: 60px;
}

.bottom-nav-btn svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.bottom-nav-btn:hover {
    color: #f97316;
    background: rgba(249, 115, 22, 0.08);
}

.bottom-nav-btn:active {
    transform: scale(0.95);
}

#navCallBtn {
    color: #34d399;
}

#navCallBtn:hover {
    color: #10b981;
    background: rgba(52, 211, 153, 0.08);
}

#navWhatsappBtn {
    color: #25D366;
}

#navWhatsappBtn:hover {
    color: #1ebe5a;
    background: rgba(37, 211, 102, 0.08);
}

#navCartBtn {
    color: #f97316;
}

#navCartBtn:hover {
    color: #ea580c;
    background: rgba(249, 115, 22, 0.08);
}

.bottom-nav-btn .cart-count {
    position: absolute;
    top: 6px;
    right: 50%;
    transform: translateX(20px);
    background: #dc2626;
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid #0f0d0b;
}

@media (max-width: 480px) {
    .bottom-nav-btn {
        font-size: 0.62rem;
        padding: 8px 6px;
        min-height: 56px;
    }
    .bottom-nav-btn svg {
        width: 20px;
        height: 20px;
    }
}

@media (min-width: 769px) {
    .bottom-nav {
        max-width: 500px;
        margin: 0 auto;
        border-radius: 20px 20px 0 0;
    }
}

body.light-mode .bottom-nav {
    background: #ffffff;
    border-top-color: rgba(249, 115, 22, 0.15);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

body.light-mode .bottom-nav-btn {
    color: rgba(0, 0, 0, 0.6);
}

body.light-mode .bottom-nav-btn .cart-count {
    border-color: #ffffff;
}

body.light-mode #navCallBtn {
    color: #059669;
}

body.light-mode #navWhatsappBtn {
    color: #1ebe5a;
}

body.light-mode #navCartBtn {
    color: #ea580c;
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: flex-end;
    justify-content: center;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.cart-overlay.active {
    display: flex;
}

.cart-modal {
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    background: #1a1a1a;
    border-radius: 20px 20px 0 0;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.3s ease;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #333333;
    background: #1a1a1a;
}

.cart-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
}

.cart-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.cart-close:hover {
    background: #333333;
    color: #ffffff;
}

.cart-close svg {
    width: 24px;
    height: 24px;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px;
}

.cart-empty {
    text-align: center;
    color: #9ca3af;
    padding: 2rem 0;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #333333;
}

.cart-item-image {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.cart-item-name {
    font-weight: 600;
    margin-bottom: 4px;
    color: #ffffff;
    font-size: 0.95rem;
}

.cart-item-meta {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.cart-item-price {
    color: #f97316;
    font-weight: 600;
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-item-total {
    color: #f97316;
    font-weight: 700;
    font-size: 0.95rem;
}

.cart-quantity-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.cart-quantity-btn:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

.cart-quantity-value {
    min-width: 28px;
    text-align: center;
    font-weight: 600;
    color: #ffffff;
    font-size: 0.95rem;
}

body.light-mode .cart-quantity-value {
    color: #1a1a1a;
}

.cart-item-remove {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.cart-item-remove:hover {
    background: #fef2f2;
}

.cart-item-remove svg {
    width: 18px;
    height: 18px;
}

.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid #333333;
    background: #1a1a1a;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
}

.cart-total-amount {
    color: #f97316;
    font-size: 1.25rem;
    font-weight: 700;
}

.cart-checkout {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.cart-checkout:hover {
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
    transform: translateY(-2px);
}

.cart-checkout:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.cart-min-order-warning {
    padding: 12px;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    margin-bottom: 12px;
    font-size: 0.875rem;
    color: #92400e;
    display: none;
}

.cart-min-order-warning.show {
    display: block;
}

.cart-delivery-fee {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 8px;
    color: #6b7280;
    font-size: 0.875rem;
}

.cart-delivery-fee span:first-child {
    font-weight: 500;
}

.cart-delivery-amount {
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
}

.cart-checkout:disabled {
    background: rgba(200, 169, 126, 0.5);
    cursor: not-allowed;
}

/* Checkout Overlay */
.checkout-overlay {
    position: fixed;
    inset: 0;
    z-index: 250;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    padding: 1rem;
}

.checkout-overlay.active {
    display: flex;
}

.checkout-modal {
    width: 100%;
    max-width: 450px;
    max-height: 90vh;
    background: var(--black);
    border: 1px solid #f97316;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.checkout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(200, 169, 126, 0.2);
}

.checkout-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gold);
}

.checkout-close {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.checkout-close svg {
    width: 24px;
    height: 24px;
}

.checkout-form {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.checkout-form .form-group {
    margin-bottom: 1.25rem;
}

.checkout-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(200, 169, 126, 0.3);
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.checkout-form textarea {
    resize: vertical;
}

/* payment methods – see second block below */

.checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    margin-top: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-top: 1px solid rgba(200, 169, 126, 0.2);
}

.checkout-total-amount {
    color: var(--gold);
    font-size: 1.25rem;
}

.checkout-submit {
    width: 100%;
    padding: 1rem;
    background: var(--gold);
    color: var(--black);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.checkout-submit:hover {
    background: var(--gold-dark);
}

.checkout-submit:disabled {
    background: rgba(200, 169, 126, 0.5);
    cursor: not-allowed;
}

/* Light mode adjustments */
body.light-mode .cart-modal,
body.light-mode .checkout-modal {
    background: #ffffff;
    border-color: #f97316;
}

body.light-mode .cart-header,
body.light-mode .cart-footer {
    background: #ffffff;
}

body.light-mode .cart-header {
    border-bottom-color: #e5e7eb;
}

body.light-mode .cart-footer {
    border-top-color: #e5e7eb;
}

body.light-mode .cart-item {
    border-bottom-color: #e5e7eb;
}

body.light-mode .cart-header h3,
body.light-mode .checkout-header h3 {
    color: #f97316;
}

body.light-mode .cart-total {
    color: #1a1a1a;
}

body.light-mode .cart-close,
body.light-mode .checkout-close {
    color: #1a1a1a;
}

body.light-mode .cart-close:hover {
    background: #f3f4f6;
    color: #1a1a1a;
}

body.light-mode .cart-item-price,
body.light-mode .cart-total-amount,
body.light-mode .checkout-total-amount {
    color: #f97316;
}

body.light-mode .cart-total-label,
body.light-mode .cart-delivery-amount {
    color: #1a1a1a;
}

body.light-mode .cart-quantity-btn {
    background: rgba(200, 169, 126, 0.1);
    border-color: #c8a97e;
    color: #c8a97e;
}

body.light-mode .cart-quantity-btn:hover {
    background: rgba(200, 169, 126, 0.2);
}

body.light-mode .checkout-form label {
    color: #1a1a1a;
}

body.light-mode .checkout-form input,
body.light-mode .checkout-form textarea {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.12);
    color: #1a1a1a;
}

body.light-mode .checkout-form input:focus,
body.light-mode .checkout-form textarea:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.08);
}

body.light-mode .checkout-modal {
    background: #ffffff;
    border-top-color: rgba(249, 115, 22, 0.2);
}

body.light-mode .checkout-header {
    border-bottom-color: rgba(249, 115, 22, 0.2);
}

body.light-mode .checkout-close {
    background: rgba(0,0,0,0.06);
    border-color: rgba(0,0,0,0.12);
    color: #444;
}

body.light-mode .checkout-close:hover { background: rgba(249, 115, 22, 0.15); color: #ea580c; }

body.light-mode .payment-option-box {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.12);
    color: rgba(0,0,0,0.55);
}

body.light-mode .payment-option:hover .payment-option-box {
    background: rgba(249, 115, 22, 0.1);
    border-color: rgba(249, 115, 22, 0.45);
    color: #ea580c;
}

body.light-mode .payment-option input:checked + .payment-option-box {
    background: rgba(249, 115, 22, 0.14);
    color: #ea580c;
}

body.light-mode .checkout-total {
    background: rgba(249, 115, 22, 0.08);
    border-color: rgba(249, 115, 22, 0.22);
    color: #333;
}

body.light-mode .checkout-footer {
    background: #ffffff;
    border-top-color: rgba(249, 115, 22, 0.2);
}

body.light-mode .checkout-total-amount {
    color: #f97316;
}

/* Modern Alert Modal */
.alert-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    padding: 1rem;
}

.alert-overlay.active {
    display: flex;
}

.alert-modal {
    width: 100%;
    max-width: 400px;
    background: var(--black);
    border: 1px solid var(--gold);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.alert-modal.success {
    border-color: #4ade80;
}

.alert-modal.error {
    border-color: #ef4444;
}

.alert-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    position: relative;
}

.alert-success-icon,
.alert-error-icon {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.alert-success-icon {
    color: #4ade80;
}

.alert-error-icon {
    color: #ef4444;
    display: none;
}

.alert-modal.success .alert-success-icon {
    display: block;
}

.alert-modal.error .alert-error-icon {
    display: block;
}

.alert-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.alert-message {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.alert-button {
    padding: 0.75rem 2rem;
    background: var(--gold);
    color: var(--black);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.alert-button:hover {
    background: var(--gold-dark);
}

body.light-mode .alert-modal {
    background: #ffffff;
    border-color: #c8a97e;
}

body.light-mode .alert-title {
    color: #1a1a1a;
}

body.light-mode .alert-message {
    color: rgba(0, 0, 0, 0.7);
}

.table-badge {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.4rem 1rem;
    background-color: var(--gold);
    color: var(--black);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.1em;
    border-radius: 50px;
}

.table-info {
    padding: 0.75rem 1rem;
    background-color: rgba(200, 169, 126, 0.15);
    border: 1px solid var(--gold);
    border-radius: 6px;
    color: var(--gold);
    font-size: 0.95rem;
    text-align: center;
}

.table-info strong {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.2rem;
    letter-spacing: 0.05em;
}

.order-header {
    text-align: center;
    margin-bottom: 2rem;
}

.order-label {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: var(--gold);
    text-transform: uppercase;
}

/* ── Order Contact (telefon + WhatsApp) ── */
.order-contact {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.order-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px 9px 14px;
    background: rgba(255,255,255,0.10);
    border: 1.5px solid rgba(200,169,126,0.45);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-decoration: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 12px rgba(200,169,126,0.18);
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.18s;
}
.order-phone-link:hover {
    background: rgba(200,169,126,0.18);
    border-color: rgba(200,169,126,0.75);
    box-shadow: 0 4px 20px rgba(200,169,126,0.32);
    transform: translateY(-1px);
}
.order-phone-link:active { transform: translateY(0); }
.order-phone-link svg {
    flex-shrink: 0;
    opacity: 0.9;
}

.order-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 20px 9px 15px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border-radius: 50px;
    text-decoration: none;
    border: 1.5px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 18px rgba(37,211,102,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
    transition: box-shadow 0.2s, transform 0.18s, filter 0.2s;
}
.order-whatsapp-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(37,211,102,0.55), inset 0 1px 0 rgba(255,255,255,0.15);
}
.order-whatsapp-btn:active { transform: translateY(0); filter: brightness(0.96); }
.order-whatsapp-btn svg { flex-shrink: 0; }

.order-header h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3rem;
    letter-spacing: 0.05em;
    color: var(--white);
    margin-top: 0.5rem;
}

.order-success,
.order-error {
    max-width: 600px;
    margin: 0 auto 2rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    font-size: 0.95rem;
    text-align: center;
}

.order-success {
    background-color: rgba(200, 169, 126, 0.15);
    border: 1px solid var(--gold);
    color: var(--gold);
}

.order-error {
    background-color: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.5);
    color: #ff6b7a;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.category-card {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-card:hover {
    border-color: var(--gold);
    background-color: rgba(200, 169, 126, 0.08);
    transform: translateY(-4px);
}

.category-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.category-icon svg {
    width: 3rem;
    height: 3rem;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.category-card h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.3rem;
    color: var(--white);
    letter-spacing: 0.05em;
}

.category-detail {
    display: none;
}

.back-to-categories {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-to-categories:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.back-to-categories svg {
    width: 1rem;
    height: 1rem;
}

.category-detail-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(200, 169, 126, 0.2);
    padding-bottom: 0.75rem;
}

.order-tabs {
    display: none;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.menu-card {
    background: var(--theme-surface, rgba(255, 255, 255, 0.03));
    backdrop-filter: blur(var(--theme-surface-blur, 0px));
    border-bottom: 1px solid color-mix(in srgb, var(--theme-card-text, rgba(255,255,255,0.7)) 8%, transparent);
    border-radius: 0;
    overflow: hidden;
    transition: all 0.2s ease;
    display: flex;
    min-height: 120px;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
}

.menu-card:hover {
    background: color-mix(in srgb, var(--theme-accent, #f97316) 5%, var(--theme-surface, rgba(255, 255, 255, 0.03)));
}

.menu-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 6rem;
    height: 6rem;
    flex-shrink: 0;
    border-radius: calc(var(--theme-radius, 12px) * 0.72);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-card-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0;
}

.menu-card-title {
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.25;
    color: var(--theme-card-text, #ffffff);
    margin: 0;
}

.menu-card-desc {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.25;
    color: var(--theme-card-muted, rgba(255, 255, 255, 0.55));
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.25rem;
    flex-wrap: wrap;
}

.menu-card-price {
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.25;
    color: var(--theme-accent, #f97316);
}

.menu-card-add {
    padding: 0.5rem 1rem;
    background: var(--theme-accent, #f97316);
    color: #ffffff;
    border: none;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.menu-card-add:hover {
    background: color-mix(in srgb, var(--theme-accent, #f97316) 80%, #000000);
    transform: translateY(-1px);
}

.menu-card-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.qty-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 0.25rem;
}

.qty-btn {
    width: 1.75rem;
    height: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 4px;
    color: var(--white);
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.qty-btn:hover {
    background-color: rgba(200, 169, 126, 0.2);
    color: var(--gold);
}

.qty-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    min-width: 1.5rem;
    text-align: center;
}

.add-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    background-color: var(--gold);
    border: none;
    border-radius: 6px;
    color: var(--black);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-btn:hover {
    background-color: var(--gold-dark);
}

.add-btn svg {
    width: 1rem;
    height: 1rem;
}

.cart-fab {
    position: fixed;
    bottom: calc(1.5rem + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    z-index: 7;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.5rem;
    background-color: var(--gold);
    border: none;
    border-radius: 50px;
    color: var(--black);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(200, 169, 126, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cart-fab:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 15px 35px rgba(200, 169, 126, 0.45);
}

.cart-fab svg {
    width: 1.3rem;
    height: 1.3rem;
}

.cart-fab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    background-color: var(--black);
    color: var(--gold);
    border-radius: 50%;
    font-size: 0.75rem;
}

.theme-toggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.theme-toggle svg {
    width: 1.25rem;
    height: 1.25rem;
}

.theme-toggle .moon-icon {
    display: none;
}

.light-mode .theme-toggle .sun-icon {
    display: none;
}

.light-mode .theme-toggle .moon-icon {
    display: block;
}

.cart-sheet {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background-color: var(--black);
    border-top: 1px solid rgba(200, 169, 126, 0.3);
    border-radius: 20px 20px 0 0;
    padding: 1.5rem;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    transform: translateY(100%);
    transition: transform 0.35s ease;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
}

@media (max-width: 480px) {
    .cart-sheet {
        padding: 1.25rem;
        max-height: 75vh;
        border-radius: 16px 16px 0 0;
    }
}

@media (max-width: 360px) {
    .cart-sheet {
        padding: 1rem;
        max-height: 80vh;
        border-radius: 12px 12px 0 0;
    }
}

.cart-sheet.active {
    transform: translateY(0);
}

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

.cart-sheet-header h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: 0.05em;
}

.cart-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 0.25rem;
}

.cart-close svg {
    width: 1.5rem;
    height: 1.5rem;
}

.cart-items {
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 2rem 0;
    font-size: 0.95rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-item-info h4 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 0.25rem;
    letter-spacing: 0.03em;
}

.cart-item-info span {
    font-size: 0.85rem;
    color: var(--gold);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-qty {
    font-size: 0.9rem;
    color: var(--white);
    min-width: 1.25rem;
    text-align: center;
}

.qty-btn.small {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.85rem;
}

.cart-item-remove {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(220, 53, 69, 0.15);
    border: none;
    border-radius: 4px;
    color: #ff6b7a;
    font-size: 1rem;
    cursor: pointer;
    margin-left: 0.5rem;
}

.cart-footer {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--white);
}

.cart-total {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.75rem;
    color: #f97316;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border: none;
    border-radius: 8px;
    color: white;
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.checkout-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
    transform: translateY(-1px);
}

.checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ── Checkout Overlay & Modal ── */
.checkout-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.checkout-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.checkout-modal {
    width: 100%;
    max-width: 500px;
    max-height: 92vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #0f0d0b;
    border-radius: 24px 24px 0 0;
    border-top: 1px solid rgba(249, 115, 22, 0.3);
    padding: 0;
    transform: translateY(100%);
    transition: transform 0.36s cubic-bezier(.32,0,.67,0);
    overscroll-behavior: contain;
}

.checkout-overlay.active .checkout-modal {
    transform: translateY(0);
    transition: transform 0.44s cubic-bezier(.34,1.08,.64,1);
}

.checkout-modal::before {
    content: '';
    display: block;
    width: 38px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255,255,255,0.14);
    margin: 12px auto 0;
}

/* ── Header ── */
.checkout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 12px;
    border-bottom: 1px solid rgba(249, 115, 22, 0.3);
}

.checkout-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #f97316;
    letter-spacing: -0.02em;
}

.checkout-close {
    width: 32px; height: 32px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    color: rgba(255,255,255,0.55);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    padding: 0; flex-shrink: 0;
}

.checkout-close:hover {
    background: rgba(200,169,126,0.15);
    border-color: rgba(200,169,126,0.35);
    color: var(--gold);
}

.checkout-close svg { width: 15px; height: 15px; }

/* ── Form ── */
.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 12px 16px 8px;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.checkout-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.checkout-form label {
    font-size: 0.68rem;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.checkout-form input,
.checkout-form textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255,255,255,0.05);
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    color: #fff;
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    -webkit-appearance: none; appearance: none;
}

.checkout-form input:hover,
.checkout-form textarea:hover {
    border-color: rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.07);
}

.checkout-form input:focus,
.checkout-form textarea:focus {
    outline: none;
    border-color: #f97316;
    background: rgba(249,115,22,0.05);
    box-shadow: 0 0 0 3px rgba(249,115,22,0.08);
}

.checkout-form input::placeholder,
.checkout-form textarea::placeholder { color: rgba(255,255,255,0.28); }

.checkout-form textarea {
    resize: none;
    min-height: 58px;
    border-radius: 12px;
}

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

@media (max-width: 480px) {
    .checkout-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ── Payment Methods ── */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.payment-option {
    position: relative;
    cursor: pointer;
    margin: 0;
    display: block;
}

.payment-option input {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
    pointer-events: none;
}

.payment-option-box {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 11px 14px;
    background: rgba(255,255,255,0.05);
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    font-weight: 600;
    text-align: left;
    line-height: 1.3;
    transition: background 0.22s, border-color 0.22s, color 0.22s, box-shadow 0.22s;
    user-select: none;
}

.payment-option-box svg {
    width: 18px; height: 18px; flex-shrink: 0;
    stroke: currentColor;
    transition: stroke 0.2s;
}

.payment-option:hover .payment-option-box {
    background: rgba(200,169,126,0.08);
    border-color: rgba(200,169,126,0.4);
    color: rgba(255,255,255,0.8);
}

.payment-option input:checked + .payment-option-box {
    background: rgba(200,169,126,0.14);
    border-color: var(--gold);
    border-width: 2px;
    color: var(--gold);
    box-shadow: 0 0 0 3px rgba(200,169,126,0.12);
}

.payment-option input:focus-visible + .payment-option-box {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

/* ── Footer (sticky) ── */
.checkout-footer {
    flex-shrink: 0;
    padding: 10px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(249, 115, 22, 0.3);
    background: rgba(26, 26, 26, 0.95);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* ── Total ── */
.checkout-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
}

.checkout-total-amount {
    color: #f97316;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: inherit;
    letter-spacing: -0.02em;
}

/* ── Submit ── */
.checkout-submit {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

.checkout-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.checkout-submit:active {
    transform: translateY(0);
}

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

.checkout-submit:hover::before { left: 150%; }

.checkout-submit:hover {
    filter: brightness(1.07);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(200,169,126,0.4);
}

.checkout-submit:active { transform: translateY(0); }

.waiter-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.waiter-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.waiter-modal {
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    background-color: var(--black);
    border-radius: 20px 20px 0 0;
    padding: 1.5rem;
    padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
    transform: translateY(100%);
    transition: transform 0.35s ease;
}

.waiter-overlay.active .waiter-modal {
    transform: translateY(0);
}

.waiter-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.waiter-modal-header h3 {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: 0.05em;
}

.waiter-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 0.25rem;
}

.waiter-close svg {
    width: 1.5rem;
    height: 1.5rem;
}

.waiter-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.waiter-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.waiter-form label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.waiter-form input,
.waiter-form textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--white);
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.waiter-form input:focus,
.waiter-form textarea:focus {
    outline: none;
    border-color: var(--gold);
}

.waiter-form input::placeholder,
.waiter-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.waiter-submit {
    width: 100%;
    padding: 1rem;
    background-color: var(--gold);
    border: none;
    border-radius: 8px;
    color: var(--black);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.waiter-submit:hover {
    background-color: var(--gold-dark);
}

@media (max-width: 768px) {
    .order-section {
        padding: 0 4% 7rem;
    }

    .order-hero {
        margin: 0 -4.5% 1.5rem;
    }

    .order-banner {
        height: 120px;
    }

    .order-profile {
        width: 90px;
        height: 90px;
        margin-top: -45px;
    }

    .order-profile-icon svg {
        width: 2.75rem;
        height: 2.75rem;
    }

    .order-header h2 {
        font-size: 2rem;
    }

    .order-header {
        margin-bottom: 1.5rem;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .category-card {
        padding: 1.25rem 0.75rem;
    }

    .category-card h3 {
        font-size: 1.1rem;
    }

    .category-icon svg {
        width: 2.5rem;
        height: 2.5rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .menu-card-footer {
        flex-wrap: wrap;
    }

    .menu-card-title {
        font-size: 1.1rem;
    }

    .menu-card-desc {
        font-size: 0.75rem;
        min-height: 2.2rem;
    }

    .menu-card-price {
        font-size: 1.6rem;
    }

    .menu-card-actions {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-end;
    }

    .add-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    .qty-btn {
        width: 1.5rem;
        height: 1.5rem;
    }

    .checkout-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* Category Navigation (Sticky bottom category bar) */
.category-nav {
    position: sticky;
    top: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(15, 13, 11, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: 14px;
    margin-bottom: 12px;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
    .category-nav {
        padding: 8px 10px;
        gap: 6px;
        border-radius: 12px;
        margin-bottom: 10px;
    }
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-nav.visible {
    display: flex;
}

.category-nav:not(.visible) {
    display: none;
}

.category-nav-item {
    flex: 0 0 auto;
    padding: 8px 16px;
    background: rgba(255,255,255,0.08);
    border: 1.5px solid transparent;
    border-radius: 20px;
    color: rgba(255,255,255,0.6);
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.category-nav-item.active {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border-color: #f97316;
    color: #ffffff;
    box-shadow: 0 2px 12px rgba(249, 115, 22, 0.35);
}

.category-nav-item:hover:not(.active) {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
}

body.light-mode .category-nav {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

body.light-mode .category-nav-item {
    background: #f1f5f9;
    border-color: transparent;
    color: #64748b;
}

body.light-mode .category-nav-item:hover:not(.active) {
    background: #e2e8f0;
    color: #0f172a;
}

body.light-mode .category-nav-item.active {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    border-color: #f97316;
    color: #ffffff;
}

@media (max-width: 768px) {
    .category-nav-item {
        font-size: 0.75rem;
        padding: 7px 13px;
        border-radius: 18px;
    }
}

/* Light Mode (Gündüz Modu) */
body.light-mode {
    background-color: #f5f5f5;
    color: #1a1a1a;
}

body.light-mode .order-section {
    background-color: #f5f5f5;
}

body.light-mode .order-banner {
    background: linear-gradient(135deg, rgba(200, 169, 126, 0.25) 0%, rgba(200, 169, 126, 0.05) 100%), #f5f5f5;
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .order-profile {
    background-color: #f5f5f5;
}

body.light-mode .order-header-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

body.light-mode .order-header-title {
    color: #1a1a1a;
}

body.light-mode .order-status-badge svg {
    color: #6b7280;
}

body.light-mode .order-status-separator,
body.light-mode .order-status-closing {
    color: #6b7280;
}

body.light-mode .order-delivery-item svg {
    color: #6b7280;
}

body.light-mode .order-distance-text,
body.light-mode .order-min-order-label,
body.light-mode .order-min-order-value {
    color: #374151;
}

body.light-mode .order-header h2,
body.light-mode .order-label,
body.light-mode .category-card h3,
body.light-mode .menu-card-title,
body.light-mode .category-detail-title,
body.light-mode .cart-sheet-header h3,
body.light-mode .checkout-modal-header h3,
body.light-mode .waiter-modal-header h3,
body.light-mode .cart-total-row,
body.light-mode .checkout-total-row,
body.light-mode .cart-item-info h4,
body.light-mode .back-to-categories,
body.light-mode .waiter-form label,
body.light-mode .checkout-form label {
    color: #1a1a1a;
}

body.light-mode .menu-card-desc,
body.light-mode .cart-empty,
body.light-mode .waiter-form input::placeholder,
body.light-mode .waiter-form textarea::placeholder,
body.light-mode .checkout-form input::placeholder,
body.light-mode .checkout-form textarea::placeholder {
    color: rgba(0, 0, 0, 0.55);
}

body.light-mode .category-card,
body.light-mode .menu-card,
body.light-mode .cart-sheet,
body.light-mode .checkout-modal,
body.light-mode .waiter-modal {
    background-color: #ffffff;
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .menu-card:hover,
body.light-mode .category-card:hover {
    border-color: var(--gold);
}

body.light-mode .menu-card-image,
body.light-mode .category-image {
    background-color: rgba(0, 0, 0, 0.04);
}

body.light-mode .qty-control,
body.light-mode .qty-btn,
body.light-mode .waiter-form input,
body.light-mode .waiter-form textarea,
body.light-mode .checkout-form input,
body.light-mode .checkout-form textarea {
    background-color: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
    color: #1a1a1a;
}

body.light-mode .qty-btn:hover {
    background-color: rgba(200, 169, 126, 0.2);
    color: var(--gold);
}

body.light-mode .qty-value,
body.light-mode .cart-item-qty {
    color: #1a1a1a;
}

body.light-mode .cart-item {
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

body.light-mode .cart-item-name {
    color: #1a1a1a;
}

body.light-mode .cart-item-meta {
    color: #6b7280;
}

body.light-mode .cart-item-price {
    color: #f97316;
}

body.light-mode .cart-item-total {
    color: #f97316;
}

body.light-mode .cart-footer,
body.light-mode .category-detail-title {
    border-top-color: rgba(0, 0, 0, 0.08);
    border-bottom-color: rgba(0, 0, 0, 0.08);
}

body.light-mode .cart-close,
body.light-mode .checkout-close,
body.light-mode .waiter-close {
    color: rgba(0, 0, 0, 0.6);
}

body.light-mode .cart-fab-count {
    background-color: #ffffff;
    color: #1a1a1a;
}

body.light-mode .waiter-fab {
    background-color: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
    color: #1a1a1a;
}

body.light-mode .waiter-fab:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

body.light-mode .payment-label,
body.light-mode .checkout-form label {
    color: #1a1a1a;
}

body.light-mode .payment-option-box {
    background-color: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.7);
}

body.light-mode .theme-toggle {
    background-color: rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.15);
    color: #1a1a1a;
}

body.light-mode .theme-toggle:hover {
    border-color: var(--gold);
    color: var(--gold);
}

body.light-mode .order-success {
    background-color: rgba(200, 169, 126, 0.12);
    color: var(--gold-dark);
}

body.light-mode .order-error {
    background-color: rgba(220, 53, 69, 0.08);
    color: #dc3545;
}

/* ============================================================
   VARYASYON MODAL (Ürün Detay)
   ============================================================ */
.item-detail-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(4px);
    z-index: 1100;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.item-detail-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.item-detail-modal {
    background: #1c1c1e;
    border-radius: 24px 24px 0 0;
    width: 100%;
    max-width: 560px;
    max-height: 93vh;
    overflow-y: auto;
    transform: translateY(80px);
    transition: transform 0.32s cubic-bezier(0.34,1.4,0.64,1);
    position: relative;
    scrollbar-width: none;
}
.item-detail-modal::-webkit-scrollbar { display: none; }
/* Drag handle */
.modal-drag-handle {
    width: 40px;
    height: 4px;
    background: rgba(255,255,255,0.15);
    border-radius: 2px;
    margin: 12px auto 0;
}
.item-detail-overlay.active .item-detail-modal {
    transform: translateY(0);
}
.item-detail-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: rgba(0,0,0,0.45);
    border: 1.5px solid rgba(255,255,255,0.25);
    color: #fff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s, transform 0.2s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.item-detail-close:hover { background: rgba(0,0,0,0.65); transform: scale(1.08); }
.item-detail-close svg { width: 20px; height: 20px; }
.item-detail-image-wrap {
    width: 100%;
    height: 210px;
    overflow: hidden;
    position: relative;
    margin-top: 8px;
}
.item-detail-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.item-detail-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(28,28,30,0.9) 100%);
    pointer-events: none;
}
.item-detail-body {
    padding: 1rem 1.25rem 2rem;
}
.item-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.item-detail-name {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.55rem;
    letter-spacing: 0.04em;
    color: #fff;
    margin: 0 0 0.2rem;
    line-height: 1.1;
}
.item-detail-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: #c8a97e;
    white-space: nowrap;
    margin-top: 0.2rem;
    flex-shrink: 0;
}
.item-detail-desc {
    color: rgba(255,255,255,0.55);
    font-size: 0.87rem;
    margin: 0;
    line-height: 1.55;
}
/* Sections */
.item-section {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 16px;
    padding: 0.9rem 1rem;
    margin-bottom: 0.85rem;
}
.item-section-header {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.7rem;
}
.item-section-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--theme-accent, #f97316);
}
.item-section-title {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.75);
}
.item-section-hint {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.35);
    margin-left: auto;
}

/* Malzeme çıkar - now inside .item-section */
.item-variations-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.var-chip {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
}
.var-chip input[type="checkbox"] { display: none; }
.var-chip:has(input:not(:checked)) {
    background: rgba(255,68,68,0.15);
    border-color: rgba(255,68,68,0.4);
    color: #ff8888;
    text-decoration: line-through;
}
.var-chip span { pointer-events: none; }

/* Pairing (İyi Gider) */
.pairing-scroll {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.pairing-scroll::-webkit-scrollbar { display: none; }
.pairing-card {
    flex-shrink: 0;
    width: 90px;
    background: rgba(255,255,255,0.06);
    border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    padding: 0;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    overflow: hidden;
    text-align: left;
    position: relative;
}
.pairing-card:hover {
    border-color: rgba(200,169,126,0.5);
    background: rgba(200,169,126,0.08);
}
.pairing-card.selected {
    border-color: #c8a97e;
    background: rgba(200,169,126,0.15);
}
.pairing-card-img {
    width: 100%;
    height: 68px;
    overflow: hidden;
}
.pairing-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}
.pairing-card:hover .pairing-card-img img { transform: scale(1.06); }
.pairing-card-body {
    padding: 0.4rem 0.5rem 0.5rem;
}
.pairing-card-name {
    font-size: 0.71rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    margin: 0 0 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pairing-card-price {
    font-size: 0.69rem;
    font-weight: 700;
    color: #c8a97e;
    margin: 0;
}
.pairing-card-check {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #c8a97e;
    color: #1a1a1a;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.35);
}
.pairing-card.selected .pairing-card-check { display: flex; }
/* Özel not */
.item-note-input {
    width: 100%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #fff;
    padding: 0.7rem 0.9rem;
    font-size: 0.87rem;
    resize: none;
    outline: none;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.item-note-input:focus { border-color: rgba(200,169,126,0.7); }
.item-note-input::placeholder { color: rgba(255,255,255,0.25); }

/* Footer: qty + ekle */
.item-detail-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.item-qty-ctrl {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 12px;
    padding: 0.5rem 1rem;
}
.item-qty-btn {
    background: none;
    border: none;
    color: #f97316;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.15s;
}
.item-qty-btn:hover { background: rgba(249, 115, 22, 0.2); }
.item-qty-val {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    min-width: 1.5rem;
    text-align: center;
}
.item-add-btn {
    flex: 1;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 1.5rem;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s, transform 0.15s;
    font-family: inherit;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}
.item-add-btn:hover { 
    background: linear-gradient(135deg, #ea580c, #dc2626);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(249, 115, 22, 0.4);
}
.item-add-btn:active { transform: scale(0.97); }

/* Menü kartı badge */
.menu-card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(200,169,126,0.9);
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 8px;
    border-radius: 6px;
    pointer-events: none;
}
.menu-card-image { position: relative; }

/* ============================================================
   SEPET YENİ STİLLER
   ============================================================ */
.cart-empty-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1rem;
    gap: 0.5rem;
}
.cart-empty-icon {
    width: 3rem;
    height: 3rem;
    opacity: 0.4;
    color: var(--white);
}
.cart-empty-sub { color: rgba(255,255,255,0.35); font-size: 0.85rem; margin: 0; }

.cart-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    align-items: flex-start;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; font-size: 0.95rem; margin-bottom: 2px; }
.cart-item-exclusions {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 5px 0 3px;
}
.cart-excl-chip {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    background: rgba(220, 38, 38, 0.18);
    border: 1px solid rgba(220, 38, 38, 0.45);
    color: #fca5a5;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    letter-spacing: 0.01em;
    line-height: 1.4;
}

.excl-icon {
    width: 0.875rem;
    height: 0.875rem;
}

.cart-item-note {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    margin-top: 3px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.note-icon {
    width: 0.875rem;
    height: 0.875rem;
}

.cart-item-meta {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
    margin-top: 4px;
}
.cart-item-total { color: #c8a97e; font-weight: 600; }
.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
    flex-shrink: 0;
}
.cart-item-remove {
    background: none;
    border: none;
    color: rgba(255,80,80,0.8);
    cursor: pointer;
    padding: 10px;
    min-width: 40px;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: color 0.2s, background 0.2s;
}
.cart-item-remove:hover { color: #ff4444; background: rgba(255,255,255,0.08); }
.cart-item-remove svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

body.light-mode .cart-item-remove:hover { background: rgba(239,68,68,0.08); }

/* Sepet bounce animasyonu */
@keyframes cart-bounce {
    0%,100% { transform: scale(1); }
    40% { transform: scale(1.25); }
    70% { transform: scale(0.95); }
}
.cart-bounce { animation: cart-bounce 0.4s ease; }

/* Light mode uyum */
body.light-mode .item-detail-modal { background: #f8f8f8; }
body.light-mode .item-detail-img-overlay { background: linear-gradient(to bottom, transparent 50%, rgba(248,248,248,0.9) 100%); }
body.light-mode .item-detail-name,
body.light-mode .item-detail-desc,
body.light-mode .var-chip,
body.light-mode .item-qty-val { color: #1a1a1a; }
body.light-mode .item-section { background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.08); }
body.light-mode .item-section-title { color: rgba(0,0,0,0.65); }
body.light-mode .item-section-hint { color: rgba(0,0,0,0.35); }
body.light-mode .modal-drag-handle { background: rgba(0,0,0,0.12); }
body.light-mode .item-note-input {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.1);
    color: #1a1a1a;
}
body.light-mode .item-note-input::placeholder { color: rgba(0,0,0,0.35); }
body.light-mode .item-qty-ctrl { background: rgba(249, 115, 22, 0.1); border-color: rgba(249, 115, 22, 0.3); }
body.light-mode .var-chip { background: rgba(0,0,0,0.06); border-color: rgba(0,0,0,0.12); color: #1a1a1a; }
body.light-mode .pairing-card { background: rgba(0,0,0,0.05); border-color: rgba(0,0,0,0.1); }
body.light-mode .pairing-card-name { color: #1a1a1a; }
body.light-mode .cart-item-note { color: #a07850; }
body.light-mode .cart-empty-sub { color: rgba(0,0,0,0.4); }
body.light-mode .cart-item-remove { color: rgba(200,50,50,0.6); }
body.light-mode .cart-item { border-bottom-color: rgba(0,0,0,0.07); }
body.light-mode .item-detail-close { background: rgba(0,0,0,0.18); color: #1a1a1a; border-color: rgba(0,0,0,0.15); }

/* ── Address Picker Button ─────────────────────────────────────────────── */
.address-picker-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  border-radius: 12px;
  border: 1.5px dashed rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  overflow: hidden;
}
.address-picker-btn span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.address-picker-btn:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.3);
  color: #ffffff;
  transform: translateY(-1px);
}
.address-picker-btn.has-address {
  border-style: solid;
  border-color: #f97316;
  background: linear-gradient(135deg, rgba(249,115,22,0.15) 0%, rgba(234,88,12,0.1) 100%);
  color: #f97316;
  font-weight: 600;
}
.address-picker-btn.has-address:hover {
  background: linear-gradient(135deg, rgba(249,115,22,0.2) 0%, rgba(234,88,12,0.15) 100%);
  box-shadow: 0 4px 12px rgba(249,115,22,0.25);
}

body.light-mode .address-picker-btn {
  border-color: rgba(0,0,0,0.15);
  background: #ffffff;
  color: #1a1a1a;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
body.light-mode .address-picker-btn:hover {
  background: #f8fafc;
  border-color: rgba(0,0,0,0.2);
  color: #0a0a0a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
body.light-mode .address-picker-btn.has-address {
  border-color: #f97316;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  color: #ea580c;
}
body.light-mode .address-picker-btn.has-address:hover {
  background: linear-gradient(135deg, #ffedd5 0%, #fed7aa 100%);
  box-shadow: 0 4px 12px rgba(249,115,22,0.2);
}

/* ── Map Modal ─────────────────────────────────────────────────────────── */
.map-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: flex-end;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}
.map-overlay.active { display: flex; }

.map-modal {
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  max-height: 92vh;
  background: #ffffff;
  border-radius: 1rem 1rem 0 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  animation: slideUp 0.3s ease-out;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}
.map-header h3 {
  flex: 1;
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
}
.map-close {
  padding: 0.375rem;
  border-radius: 0.5rem;
  border: none;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  transition: background 0.2s;
}
.map-close:hover { background: rgba(0,0,0,0.1); }

.map-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
}
.location-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  border: none;
  background: rgba(249,115,22,0.1);
  color: #f97316;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.location-btn:hover { background: rgba(249,115,22,0.15); }

.map-search-box {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
  position: relative;
}
.map-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.map-search-input {
  flex: 1;
  padding: 0.625rem 0.875rem;
  border-radius: 0.75rem;
  border: 1.5px solid #e5e7eb;
  background: #f9fafb;
  color: #1a1a1a;
  font-size: 0.875rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.map-search-input:focus {
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}
.map-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 0.75rem;
  border: none;
  background: #f97316;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
.map-search-btn:hover { background: #ea580c; }
.map-search-results {
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: calc(100% - 0.25rem);
  max-height: 180px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  z-index: 10;
  display: none;
}
.map-search-results.active { display: block; }
.map-search-result-item {
  padding: 0.625rem 0.875rem;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
  font-size: 0.8125rem;
  color: #1a1a1a;
  transition: background 0.15s;
  line-height: 1.35;
}
.map-search-result-item:last-child { border-bottom: none; }
.map-search-result-item:hover { background: #fff7ed; }
.map-search-result-empty,
.map-search-result-loading {
  padding: 0.75rem;
  text-align: center;
  font-size: 0.8125rem;
  color: #6b7280;
}
.map-manual-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  border: none;
  background: rgba(59,130,246,0.1);
  color: #3b82f6;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.map-manual-toggle:hover { background: rgba(59,130,246,0.15); }
.map-manual-panel {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e5e7eb;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.map-manual-input {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border-radius: 0.75rem;
  border: 1.5px solid #e5e7eb;
  background: #f9fafb;
  color: #1a1a1a;
  font-size: 0.875rem;
  font-family: inherit;
  resize: none;
  outline: none;
}
.map-manual-input:focus { border-color: #3b82f6; }
.map-manual-use-btn {
  padding: 0.625rem 1rem;
  border-radius: 0.75rem;
  border: none;
  background: #3b82f6;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.map-manual-use-btn:hover { background: #2563eb; }

.manual-address-box {
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: #f9fafb;
  border: 1.5px solid #e5e7eb;
  color: #1a1a1a;
  font-size: 0.875rem;
  line-height: 1.5;
  min-height: 2.75rem;
}

.map-container {
  flex: 1;
  position: relative;
  min-height: 300px;
  background: rgba(26, 26, 26, 0.95);
  border-radius: 12px;
  overflow: hidden;
}

.map-container #mapContainer {
  width: 100%;
  height: 100%;
}

.map-distance {
  position: absolute;
  left: 50%;
  top: 0.75rem;
  transform: translateX(-50%);
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.95);
  color: #1a1a1a;
  font-size: 0.75rem;
  font-weight: 500;
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.3);
  pointer-events: none;
}

.map-footer {
  padding: 0.75rem 1rem;
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #e5e7eb;
  background: #ffffff;
}
.map-save-btn {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  border: none;
  background: var(--theme-accent, #f97316);
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.map-save-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Address Details Modal ───────────────────────────────────────────────── */
.address-details-overlay {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: none;
  align-items: flex-end;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}
.address-details-overlay.active { display: flex; }

.address-details-modal {
  width: 100%;
  max-width: 580px;
  max-height: 100dvh;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.3s ease-out;
  border-radius: 1.5rem 1.5rem 0 0;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .address-details-overlay {
    align-items: center;
    justify-content: center;
    padding: 20px;
  }
  
  .address-details-modal {
    border-radius: 1.5rem;
    max-height: 90vh;
  }
}

.address-details-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.75rem;
  padding: 0 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
}

@media (max-width: 480px) {
  .address-details-header {
    padding: 0 1rem;
    min-height: 3.5rem;
  }
}

.address-details-header h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.01em;
}

@media (max-width: 480px) {
  .address-details-header h3 {
    font-size: 1rem;
  }
}

.address-details-close {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: none;
  background: #f1f5f9;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}

@media (max-width: 480px) {
  .address-details-close {
    width: 2rem;
    height: 2rem;
  }
}

.address-details-close:hover { background: #e2e8f0; color: #0f172a; }

.address-details-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px;
  background: #f8fafc;
  gap: 20px;
  display: flex;
  flex-direction: column;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.address-details-body .map-container {
  flex: none;
  min-height: auto;
  height: auto;
  background: transparent;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .address-details-body {
    padding: 16px;
    gap: 16px;
  }
}

.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.section-header h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.01em;
}

@media (max-width: 480px) {
  .section-header h4 {
    font-size: 1rem;
  }
}

.address-section {
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  border: 1px solid #e2e8f0;
  padding: 20px;
}

@media (max-width: 480px) {
  .address-section {
    padding: 16px;
    border-radius: 12px;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.form-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 480px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .form-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #475569;
  margin: 0;
  letter-spacing: 0.01em;
}

@media (max-width: 480px) {
  .form-label {
    font-size: 0.75rem;
  }
}

.form-input {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.9375rem;
  color: #0f172a;
  background: #f8fafc;
  transition: all 0.2s ease;
  outline: none;
  font-family: inherit;
}

.form-input:hover {
  border-color: #cbd5e1;
  background: #ffffff;
}

.form-input:focus {
  border-color: #f97316;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.08);
}

.form-input::placeholder {
  color: #94a3b8;
}

@media (max-width: 480px) {
  .form-input {
    height: 46px;
    padding: 0 14px;
    font-size: 0.9rem;
    border-radius: 10px;
  }
}

.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.9375rem;
  color: #0f172a;
  background: #f8fafc;
  transition: all 0.2s ease;
  outline: none;
  resize: vertical;
  font-family: inherit;
  line-height: 1.5;
}

.form-textarea:hover {
  border-color: #cbd5e1;
  background: #ffffff;
}

.form-textarea:focus {
  border-color: #f97316;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.08);
}

.form-textarea::placeholder {
  color: #94a3b8;
}

@media (max-width: 480px) {
  .form-textarea {
    padding: 10px 14px;
    font-size: 0.9rem;
    border-radius: 10px;
  }
}

.char-count {
  text-align: right;
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 4px;
}

.address-section .map-container {
  margin-bottom: 16px;
}

.map-preview-btn {
  width: 100%;
  height: 130px;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  background-color: #f1f5f9;
  background-image: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.map-preview-btn.has-location {
  border-color: #f97316;
  height: 180px;
}

.map-preview-btn.has-location .map-preview-content {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.map-preview-btn.has-location:hover .map-preview-content {
  opacity: 1;
  background: rgba(255,255,255,0.85);
  border-radius: 12px;
  padding: 12px 16px;
  margin: 0 12px;
  backdrop-filter: blur(4px);
}

.map-preview-pin {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  z-index: 2;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
  transition: transform 0.2s ease;
}

.map-preview-btn.has-location .map-preview-pin {
  display: block;
}

.map-preview-btn.has-location:hover .map-preview-pin {
  transform: translate(-50%, -100%) scale(0.7);
  opacity: 0.5;
}

.map-preview-pin svg {
  color: #f97316;
  width: 36px;
  height: 36px;
}

.map-preview-pin::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  background: #f97316;
  border-radius: 50%;
  border: 2px solid white;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.map-preview-btn:hover {
  border-color: #f97316;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.15);
}

.map-preview-btn:not(.has-location):hover {
  background-image: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
}

.map-preview-btn:active {
  transform: translateY(0);
}

.map-preview-content {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  width: 100%;
}

.map-preview-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-radius: 50%;
  flex-shrink: 0;
}

.map-icon-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid #f97316;
  border-radius: 50%;
  animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

.map-preview-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.map-preview-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
}

.map-preview-subtitle {
  font-size: 13px;
  color: #64748b;
}

.map-preview-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: white;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

@media (max-width: 480px) {
  .map-preview-btn {
    height: 120px;
  }
  
  .map-preview-btn.has-location {
    height: 160px;
  }
  
  .map-preview-content {
    padding: 0 16px;
    gap: 12px;
  }
  
  .map-preview-icon {
    width: 48px;
    height: 48px;
  }
  
  .map-preview-title {
    font-size: 14px;
  }
  
  .map-preview-subtitle {
    font-size: 12px;
  }
  
  .map-preview-pin svg {
    width: 32px;
    height: 32px;
  }
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: #9ca3af;
}

.map-placeholder-text {
  font-size: 0.875rem;
  font-weight: 500;
}

.address-select-btn {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  overflow: hidden;
}

.address-select-btn:hover {
  border-color: #f97316;
  background: #fff7ed;
}

.address-select-btn:active {
  transform: scale(0.98);
}

@media (max-width: 480px) {
  .address-select-btn {
    padding: 12px 14px;
    border-radius: 10px;
  }
}

.address-select-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.address-select-content span {
  font-size: 0.875rem;
  color: #475569;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
  min-width: 0;
}

@media (max-width: 480px) {
  .address-select-content span {
    font-size: 0.8125rem;
  }
}

.delete-address-btn {
  width: 100%;
  padding: 12px 20px;
  border: 1.5px solid #fecaca;
  border-radius: 12px;
  background: #fef2f2;
  color: #dc2626;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.delete-address-btn:hover {
  background: #fee2e2;
  border-color: #dc2626;
}

.delete-address-btn:active {
  transform: scale(0.98);
}

@media (max-width: 480px) {
  .delete-address-btn {
    padding: 12px 16px;
    font-size: 0.875rem;
  }
}

/* Location Modal Styles */
.map-preview-btn:hover svg {
  transform: translate(-50%, -50%) scale(1.1);
}

.location-modal {
  padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #f0f0f0;
  background: #ffffff;
}

.address-details-footer {
  flex-shrink: 0;
  padding: 14px 20px;
  padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #f1f5f9;
  background: #ffffff;
}

@media (max-width: 480px) {
  .address-details-footer {
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
}

.address-details-save-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  width: 100%;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 12px -2px rgba(249, 115, 22, 0.35);
}

.address-details-save-btn:hover {
  box-shadow: 0 6px 20px -2px rgba(249, 115, 22, 0.45);
  transform: translateY(-1px);
}

.address-details-save-btn:active {
  transform: translateY(0);
}

@media (max-width: 480px) {
  .address-details-save-btn {
    min-height: 2.75rem;
    font-size: 0.875rem;
    border-radius: 0.75rem;
  }
}

.address-details-save-btn:hover {
  background: linear-gradient(135deg, #ea580c 0%, #dc2626 100%);
  box-shadow: 0 6px 8px -1px rgba(249, 115, 22, 0.4);
  transform: translateY(-1px);
}

/* ── Order Location Info ───────────────────────────────────────────────── */
.order-location-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
}

.location-address,
.location-distance {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}

.location-address i,
.location-distance i {
  flex-shrink: 0;
  color: var(--theme-accent, #f97316);
}

.location-distance {
  font-weight: 500;
}

body.light-mode .order-location-info {
  background: rgba(0,0,0,0.03);
  border-color: rgba(0,0,0,0.1);
}

body.light-mode .location-address,
body.light-mode .location-distance {
  color: rgba(0,0,0,0.6);
}

/* ── Form Validation Error States ──────────────────────────────────── */
.form-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
  background: #fff5f5;
}

.address-select-btn.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
  background: #fff5f5;
}

.error-label {
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: -4px;
}

@keyframes errorShake {
  0%, 100% { transform: translateX(0); }
  20%       { transform: translateX(-6px); }
  40%       { transform: translateX(6px); }
  60%       { transform: translateX(-4px); }
  80%       { transform: translateX(4px); }
}

.error-shake {
  animation: errorShake 0.4s ease;
}

/* ── Kapalı Modal ───────────────────────────────────────────────────── */
.kapali-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.kapali-overlay.hidden { display: none; }

.kapali-modal {
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  border-radius: 1.75rem;
  padding: 2.5rem 2rem 2rem;
  text-align: center;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.05);
  animation: kapaliScaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.kapali-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f97316, #ea580c, #dc2626);
}

@keyframes kapaliScaleIn {
  from { transform: scale(0.8) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0);     opacity: 1; }
}

.kapali-icon {
  width: 88px;
  height: 88px;
  background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 50%, #fecaca 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #dc2626;
  position: relative;
}

.kapali-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid #fecaca;
  border-radius: 50%;
  opacity: 0.5;
  animation: kapaliPulse 2.5s ease-out infinite;
}

@keyframes kapaliPulse {
  0%   { transform: scale(1);    opacity: 0.5; }
  100% { transform: scale(1.35); opacity: 0;   }
}

.kapali-title {
  font-size: 1.625rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 0.625rem;
  letter-spacing: -0.02em;
}

.kapali-msg {
  font-size: 0.9375rem;
  color: #6b7280;
  margin: 0 0 1.5rem;
  line-height: 1.6;
}

.kapali-hours {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.kapali-hours strong {
  display: block;
  font-size: 1.25rem;
  color: #0f172a;
  margin-top: 0.375rem;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}

.kapali-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.5rem 1rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #dc2626;
}

.kapali-status-dot {
  width: 8px;
  height: 8px;
  background: #dc2626;
  border-radius: 50%;
  animation: kapaliDotBlink 1.5s ease-in-out infinite;
}

@keyframes kapaliDotBlink {
  0%, 100% { opacity: 1;   }
  50%      { opacity: 0.3; }
}

@media (max-width: 480px) {
  .kapali-modal {
    padding: 2rem 1.5rem 1.75rem;
    border-radius: 1.5rem;
  }
  .kapali-title { font-size: 1.375rem; }
  .kapali-icon  { width: 72px; height: 72px; }
}
