/* FastOrder Public Frontend Stylesheet */
:root {
    --fo-primary: #E20612;
    --fo-primary-hover: #c80510;
    --fo-secondary: #DD6B20;
    --fo-radius: 16px;
    --fo-bg: #F7FAFC;
    --fo-text: #2D3748;
    --fo-muted: #718096;
    --fo-border: #E2E8F0;
    --fo-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* Global Prevention of Horizontal Overflow / Left-Right Drift on Mobile */
html, body {
    max-width: 100% !important;
    overflow-x: clip !important;
    position: relative;
}
@supports not (overflow-x: clip) {
    html, body {
        overflow-x: hidden !important;
    }
}

.fastorder-app-container {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 10px clamp(16px, 2.5vw, 36px) 80px clamp(16px, 2.5vw, 36px);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--fo-text);
    box-sizing: border-box;
    overflow-x: clip;
}
@supports not (overflow-x: clip) {
    .fastorder-app-container {
        overflow-x: hidden;
    }
}

.fastorder-app-container * {
    box-sizing: border-box;
}

/* 1. TOP BANNER */
.fo-top-banner {
    background: #fff;
    border-radius: var(--fo-radius);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--fo-shadow);
    border: 1px solid var(--fo-border);
}
.fo-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}
.fo-rest-title {
    margin: 0 0 6px 0;
    font-size: 26px;
    font-weight: 800;
    color: #1a202c;
}
.fo-rest-meta {
    margin: 0;
    font-size: 13px;
    color: var(--fo-muted);
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}
.fo-status-pill {
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
}
.fo-status-pill.open { background: #def7ec; color: #03543f; }
.fo-status-pill.closed { background: #fde8e8; color: #9b1c1c; }
.fo-table-locked-badge {
    background: #feebc8;
    color: #c05621;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 700;
}

/* Language Selector Dropdown */
.fo-lang-dropdown {
    position: relative !important;
    display: inline-block !important;
}

.fo-lang-dropdown-btn,
button.fo-lang-dropdown-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #1e293b !important;
    border: 1.5px solid #cbd5e1 !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
    font-family: inherit !important;
    text-transform: none !important;
    margin: 0 !important;
}

.fo-lang-dropdown-btn:hover {
    border-color: #94a3b8 !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

.fo-lang-arrow {
    transition: transform 0.2s ease !important;
    color: #64748b !important;
}

.fo-lang-dropdown.open .fo-lang-arrow {
    transform: rotate(180deg) !important;
}

.fo-lang-menu {
    display: none;
    position: absolute !important;
    right: 0 !important;
    top: calc(100% + 8px) !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 8px 10px -6px rgba(0, 0, 0, 0.1) !important;
    padding: 6px !important;
    margin: 0 !important;
    list-style: none !important;
    min-width: 175px !important;
    z-index: 9999 !important;
}

.fo-lang-dropdown.open .fo-lang-menu {
    display: block !important;
}

.fo-lang-menu li {
    margin: 0 !important;
    padding: 0 !important;
}

.fo-lang-item {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    border: none !important;
    background: transparent !important;
    color: #334155 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-align: left !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}

.fo-lang-item:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
}

.fo-lang-item.active {
    background: #fff7ed !important;
    color: #ea580c !important;
    font-weight: 700 !important;
}

.fo-lang-item-name {
    flex: 1 !important;
}

.fo-lang-item-code {
    font-size: 11px !important;
    color: #94a3b8 !important;
}

.fo-lang-check {
    color: #ea580c !important;
    font-weight: 800 !important;
}

/* Fallback for segmented pills */
.fo-lang-selector {
    display: inline-flex !important;
    align-items: center !important;
    background: #f1f5f9 !important;
    padding: 4px !important;
    border-radius: 999px !important;
    border: 1px solid #e2e8f0 !important;
    gap: 3px !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04) !important;
}

/* 2. SEARCH & CONTROLS */
.fo-controls-bar {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.fo-search-box {
    position: relative;
    width: 100%;
}
.fo-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: var(--fo-muted);
}
.fo-search-box input {
    width: 100%;
    padding: 14px 44px 14px 46px;
    border-radius: 30px;
    border: 1px solid var(--fo-border);
    background: #fff;
    font-size: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    outline: none;
    transition: border-color 0.2s;
}
.fo-search-box input:focus {
    border-color: var(--fo-primary);
}
#fo-search-clear {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--fo-muted);
    font-size: 16px;
    cursor: pointer;
}

.fo-filter-pills {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    position: relative;
}
.fo-pill {
    background: #fff;
    border: 1px solid var(--fo-border);
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
    color: var(--fo-text);
}
.fo-pill.active, .fo-pill:hover {
    background: #2d3748;
    color: #fff;
    border-color: #2d3748;
}

/* Allergen Dropdown */
.fo-allergen-dropdown {
    position: relative;
    display: inline-block;
}
.fo-allergen-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: #fff;
    border: 1px solid var(--fo-border);
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    padding: 16px;
    width: 320px;
    z-index: 99;
}
.fo-allergen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--fo-border);
    padding-bottom: 8px;
    margin-bottom: 10px;
    font-size: 12px;
}
.fo-allergen-header button {
    background: none;
    border: none;
    color: var(--fo-primary);
    cursor: pointer;
    font-weight: bold;
}
.fo-allergen-options {
    max-height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.fo-alg-check {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    cursor: pointer;
}
.fo-allergen-notice {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px dashed var(--fo-border);
    font-size: 11px;
    color: var(--fo-muted);
}

/* 3. STICKY CATEGORIES BAR */
.fo-category-nav {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    position: sticky;
    top: 15px;
    background: #fff;
    z-index: 80;
    border-radius: var(--fo-radius, 16px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    margin-bottom: 24px;
    padding: 8px 10px;
    border: 1px solid var(--fo-border, #e2e8f0);
}
.fo-cat-nav-inner {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding: 2px 0;
}
.fo-cat-nav-inner::-webkit-scrollbar { display: none; }

/* Category Scroll Arrow Buttons */
.fo-cat-nav-arrow {
    flex-shrink: 0 !important;
    width: 34px !important;
    height: 34px !important;
    min-width: 34px !important;
    border-radius: 50% !important;
    border: 1.5px solid #e2e8f0 !important;
    background: #f8fafc !important;
    color: #475569 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06) !important;
    z-index: 2 !important;
}
.fo-cat-nav-arrow:hover {
    background: var(--fo-primary, #E20612) !important;
    color: #ffffff !important;
    border-color: var(--fo-primary, #E20612) !important;
    box-shadow: 0 4px 10px rgba(226, 6, 18, 0.3) !important;
    transform: scale(1.08) !important;
}
.fo-cat-nav-arrow:active {
    transform: scale(0.92) !important;
}
.fo-cat-nav-arrow.disabled {
    opacity: 0.28 !important;
    cursor: default !important;
    pointer-events: none !important;
    box-shadow: none !important;
    transform: none !important;
}
.fo-cat-link {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    color: var(--fo-text);
    transition: all 0.2s;
}
.fo-cat-link.active, .fo-cat-link:hover {
    background: var(--fo-primary);
    color: #fff;
}

/* 4. MAIN LAYOUT */
.fo-main-layout {
    width: 100% !important;
    display: block !important;
}
.fo-products-container {
    width: 100% !important;
}

.fo-category-section {
    margin-bottom: 36px;
}
.fo-section-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 6px 0;
}
.fo-section-desc {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: var(--fo-muted);
}

/* Products Grid */
.fo-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    align-items: stretch !important;
}
.fo-product-card {
    background: #fff;
    border: 1px solid var(--fo-border);
    border-radius: var(--fo-radius);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    height: 100% !important;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.fo-product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--fo-shadow);
    border-color: var(--fo-primary, #E20612) !important;
}

.fo-card-media {
    position: relative;
    width: 100%;
    height: 200px;
    background: #ffffff !important;
    cursor: pointer;
    overflow: hidden;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px !important;
    box-sizing: border-box !important;
}
.fo-card-img {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: scale(1.08) !important;
    transition: transform 0.25s ease !important;
}
@media (max-width: 768px) {
    .fo-card-media {
        height: 170px !important;
        max-height: 175px !important;
        padding: 6px !important;
    }
}
.fo-product-card:hover .fo-card-img {
    transform: scale(1.15) !important;
}
.fo-card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
}

.fo-card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
}
.fo-badge-pill {
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}
.fo-badge-pill.popular { background: #ffedd5; color: #c2410c; }
.fo-badge-pill.new { background: #e0f2fe; color: #0369a1; }
.fo-badge-pill.spicy { background: #fee2e2; color: #b91c1c; }
.fo-badge-pill.veg { background: #dcfce7; color: #15803d; }
.fo-badge-pill.vegan { background: #d1fae5; color: #047857; }

.fo-card-body {
    padding: 12px 14px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: flex-start;
}
.fo-card-title {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    line-height: 1.25;
    min-height: 38px;
    max-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #0f172a;
}
.fo-card-desc {
    font-size: 12px;
    color: var(--fo-muted);
    margin: 0 0 8px 0;
    line-height: 1.35;
    height: auto;
    min-height: auto;
    max-height: 36px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fo-card-desc:empty {
    display: none;
}

.fo-card-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    min-height: 22px;
}
.fo-cal-tag {
    font-size: 11px;
    font-weight: 700;
    color: #b45309;
    background: #fef3c7;
    padding: 2px 7px;
    border-radius: 4px;
}
.fo-alg-icons {
    font-size: 15px;
    display: flex;
    gap: 4px;
}

.fo-card-footer {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
    margin-top: auto !important;
    box-sizing: border-box !important;
}
.fo-card-price {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    margin-right: auto !important;
    flex: 0 0 auto !important;
    text-align: left !important;
}
.fo-old-price {
    font-size: 12px;
    text-decoration: line-through;
    color: var(--fo-muted);
}
.fo-current-price {
    font-size: 18px;
    font-weight: 800;
    color: #1a202c;
    line-height: 1;
}
.fo-current-price.sale {
    color: var(--fo-primary);
}
.fo-card-footer .fo-add-btn,
.fo-card-footer .fo-quick-add-btn,
.fo-card-footer .fo-card-add-cart-btn {
    margin-left: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

/* Multi-Price Badges for Variant Products */
.fo-card-multi-prices {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
}
.fo-price-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 11.5px;
    line-height: 1.25;
    transition: all 0.2s ease;
}
.fo-chip-label {
    color: #64748b;
    font-weight: 600;
    white-space: nowrap;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fo-chip-val {
    color: #0f172a;
    font-weight: 800;
    white-space: nowrap;
}
.fo-price-chip.is-highlight {
    background: #fff7ed;
    border-color: #fdba74;
}
.fo-price-chip.is-highlight .fo-chip-label {
    color: #c2410c;
}
.fo-price-chip.is-highlight .fo-chip-val {
    color: #ea580c;
}
.fo-price-chip.is-more {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #64748b;
    font-weight: 800;
    padding: 3px 6px;
    cursor: default;
}

/* Card Footer Layout with Variants: Chips top side-by-side, button bottom centered */
.fo-card-footer.has-variants {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-top: 10px !important;
    border-top: 1px solid #f1f5f9 !important;
}

.fo-card-footer.has-variants .fo-card-multi-prices {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    margin: 0 0 4px 0 !important;
    box-sizing: border-box !important;
}

button.fo-price-chip,
.fo-card-footer.has-variants button.fo-price-chip,
.fo-price-chip.fo-select-variant-chip {
    float: none !important;
    clear: none !important;
    flex: 1 1 45% !important;
    min-width: 95px !important;
    max-width: 100% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 8px 10px !important;
    border-radius: 20px !important;
    border: 1.5px solid #cbd5e1 !important;
    background: #f8fafc !important;
    background-color: #f8fafc !important;
    color: #334155 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
    user-select: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    text-align: center !important;
}

button.fo-price-chip .fo-chip-label,
.fo-card-footer.has-variants button.fo-price-chip .fo-chip-label {
    max-width: 85px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    font-weight: 600 !important;
    color: #475569 !important;
}

button.fo-price-chip .fo-chip-val,
.fo-card-footer.has-variants button.fo-price-chip .fo-chip-val {
    font-weight: 800 !important;
    color: #0f172a !important;
    white-space: nowrap !important;
}

button.fo-price-chip:hover,
.fo-card-footer.has-variants button.fo-price-chip:hover {
    border-color: #94a3b8 !important;
    background: #f1f5f9 !important;
    background-color: #f1f5f9 !important;
}

/* ACTIVE CHIP STATE */
button.fo-price-chip.active,
.fo-card-footer.has-variants button.fo-price-chip.active,
.fo-price-chip.fo-select-variant-chip.active {
    background: var(--fo-primary, #E20612) !important;
    background-color: var(--fo-primary, #E20612) !important;
    border-color: var(--fo-primary, #E20612) !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(226, 6, 18, 0.35) !important;
    transform: scale(1.02) !important;
}

button.fo-price-chip.active .fo-chip-label,
.fo-card-footer.has-variants button.fo-price-chip.active .fo-chip-label {
    color: #ffffff !important;
    font-weight: 700 !important;
}

button.fo-price-chip.active .fo-chip-val,
.fo-card-footer.has-variants button.fo-price-chip.active .fo-chip-val {
    color: #ffffff !important;
    font-weight: 800 !important;
}

.fo-card-footer.has-variants .fo-price-chip:hover {
    filter: brightness(1.08) !important;
    transform: translateY(-1px) !important;
}

.fo-card-footer.has-variants .fo-price-chip.is-more {
    flex: 0 0 auto !important;
    padding: 7px 10px !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
    border-color: #cbd5e1 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

/* Centered Add to Cart button at bottom */
.fo-card-footer.has-variants .fo-add-btn {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 10px 18px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 8px !important;
    margin: 0 auto !important;
    cursor: pointer !important;
    background: var(--fo-primary, #E20612) !important;
    color: #ffffff !important;
    border: none !important;
    transition: background 0.2s, transform 0.1s !important;
}
.fo-card-footer.has-variants .fo-add-btn:hover {
    background: var(--fo-primary-hover, #c80510) !important;
}
.fo-card-footer.has-variants .fo-add-btn:active {
    transform: scale(0.98) !important;
}

.fo-add-btn {
    background: var(--fo-primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.fo-add-btn:hover {
    background: var(--fo-primary-hover);
}

/* 5. SLIDE-OUT CART DRAWER & BACKDROP */
.fo-cart-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(15, 23, 42, 0.55) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 999999990 !important;
    display: none;
    cursor: pointer !important;
}
.fo-cart-backdrop.fo-visible {
    display: block !important;
}

.fo-cart-sidebar {
    position: fixed !important;
    top: 0 !important;
    right: -480px !important;
    bottom: 0 !important;
    width: 440px !important;
    max-width: 100vw !important;
    height: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    background: #ffffff !important;
    z-index: 999999999 !important;
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25) !important;
    transition: right 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
.fo-cart-sidebar.fo-drawer-open {
    right: 0 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.fo-cart-box {
    background: #ffffff !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.fo-cart-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 18px 20px !important;
    background: #ffffff !important;
    flex-shrink: 0 !important;
}
.fo-cart-header-left h3 {
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #1a202c !important;
}
.fo-cart-header-right {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}
.fo-cart-clear-btn {
    background: #f1f5f9 !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 16px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.2s !important;
}
.fo-cart-clear-btn:hover {
    background: #fee2e2 !important;
}
.fo-cart-drawer-close {
    background: #f1f5f9 !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 22px !important;
    line-height: 1 !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #4a5568 !important;
    transition: background 0.2s, color 0.2s !important;
}
.fo-cart-drawer-close:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

.fo-cart-body-scroll {
    flex: 1 !important;
    overflow-y: auto !important;
    padding: 16px 20px !important;
    -webkit-overflow-scrolling: touch !important;
}

.fo-cart-footer {
    border-top: 1px solid #e2e8f0 !important;
    padding: 16px 20px !important;
    background: #f8fafc !important;
    flex-shrink: 0 !important;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.04) !important;
}

/* FLOATING CART BUTTON (Kompakt Sağa Yapışık İkon + Sayı Butonu) */
.fo-floating-cart-bar {
    position: fixed !important;
    bottom: 25px !important;
    right: 0 !important;
    left: auto !important;
    top: auto !important;
    z-index: 99999999 !important;
    background: #FFC20E !important;
    background: linear-gradient(135deg, #FFC700 0%, #FFA000 100%) !important;
    color: #18181b !important;
    width: 62px !important;
    height: 58px !important;
    padding: 0 4px 0 0 !important;
    border-radius: 32px 0 0 32px !important; /* Sağa tam yapışık kavisli şık buton */
    display: none !important; /* Sadece sepette ürün olunca .fo-visible ile açılır */
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    box-shadow: -4px 6px 20px rgba(0, 0, 0, 0.2), -2px 3px 8px rgba(0, 0, 0, 0.12) !important;
    cursor: pointer !important;
    user-select: none !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, opacity 0.2s ease, background 0.25s ease !important;
    border: 2px solid #ffffff !important;
    border-right: none !important;
}

.fo-floating-cart-bar.fo-visible {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    animation: foCartPulse 2.4s infinite ease-in-out !important;
}

.fo-floating-cart-bar:hover {
    transform: translateX(-4px) scale(1.08) !important;
    background: linear-gradient(135deg, #FFD21E 0%, #FFB000 100%) !important;
    box-shadow: -6px 10px 25px rgba(0, 0, 0, 0.28), -4px 0 0 8px rgba(255, 194, 14, 0.35) !important;
    animation-play-state: paused !important;
}

/* Strictly hide floating cart bar whenever cart drawer or checkout modal is active */
body.fo-drawer-active .fo-floating-cart-bar,
body.fo-checkout-active .fo-floating-cart-bar,
.fo-cart-sidebar.fo-drawer-open ~ .fo-floating-cart-bar,
.fo-checkout-overlay.fo-visible ~ .fo-floating-cart-bar,
body:has(.fo-cart-sidebar.fo-drawer-open) .fo-floating-cart-bar,
body:has(#fo-checkout-overlay.fo-visible) .fo-floating-cart-bar {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(20px) !important;
}

.fo-fc-left {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
}

.fo-fc-icon-wrap {
    position: relative !important;
    width: 44px !important;
    height: 44px !important;
    background: transparent !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.fo-fc-icon {
    font-size: 26px !important;
    line-height: 1 !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15)) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #18181b !important;
}

.fo-fc-icon svg,
.fo-cart-svg-lg {
    width: 27px !important;
    height: 27px !important;
    stroke: #18181b !important;
    color: #18181b !important;
    fill: none !important;
    display: block !important;
}

.fo-cart-svg-lg circle {
    fill: #18181b !important;
}

.fo-fc-badge {
    position: absolute !important;
    top: -2px !important;
    right: -2px !important;
    background: #E20612 !important;
    color: #ffffff !important;
    font-size: 11.5px !important;
    font-weight: 800 !important;
    padding: 1px 6px !important;
    border-radius: 999px !important;
    min-width: 20px !important;
    height: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1 !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
    animation: foBadgePulse 2s infinite ease-in-out !important;
}

/* My Cart, Ürün Sayısı ve Fiyat Alanlarını Gizle (Sadece Sepet İkonu ve Sayı Rozeti) */
.fo-floating-cart-bar .fo-fc-text-wrap,
.fo-floating-cart-bar .fo-fc-right,
.fo-floating-cart-bar .fo-fc-label,
.fo-floating-cart-bar .fo-fc-items-sub,
.fo-floating-cart-bar .fo-fc-total,
.fo-floating-cart-bar .fo-fc-arrow {
    display: none !important;
}

@keyframes foCartPulse {
    0% {
        box-shadow: -4px 6px 20px rgba(0, 0, 0, 0.22), 0 0 0 0 rgba(255, 194, 14, 0.7);
    }
    60% {
        box-shadow: -5px 7px 22px rgba(0, 0, 0, 0.25), -6px 0 0 16px rgba(255, 194, 14, 0);
    }
    100% {
        box-shadow: -4px 6px 20px rgba(0, 0, 0, 0.22), 0 0 0 0 rgba(255, 194, 14, 0);
    }
}

@keyframes foBadgePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(226, 6, 18, 0.8);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35), 0 0 0 6px rgba(226, 6, 18, 0);
    }
}

@keyframes foPop {
    0% { transform: scale(1); }
    30% { transform: translateX(-6px) scale(1.22); }
    60% { transform: translateX(-2px) scale(0.96); }
    100% { transform: scale(1); }
}

.fo-floating-cart-bar.animate-pop {
    animation: foPop 0.45s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Order Type Switcher */
.fo-order-type-tabs {
    display: flex !important;
    background: #edf2f7 !important;
    border-radius: 12px !important;
    padding: 5px !important;
    margin-bottom: 14px !important;
    gap: 4px !important;
}
.fo-type-tab {
    flex: 1 !important;
    background: transparent !important;
    border: none !important;
    padding: 9px 12px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    border-radius: 9px !important;
    color: #64748b !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    line-height: 1.2 !important;
    min-height: 38px !important;
    box-sizing: border-box !important;
}
.fo-type-tab.active {
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

.fo-table-input-bar {
    margin-bottom: 14px;
    background: #fffaf0;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #feebc8;
}
.fo-table-input-bar label {
    font-size: 12px;
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
}
.fo-table-input-bar input {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
}

/* Items List */
/* Items List & Clean Card Design (NO Images in Cart Drawer) */
.fo-cart-items-list {
    margin-bottom: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.fo-cart-item {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
}

.fo-cart-item:hover {
    border-color: #cbd5e1 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
}

.fo-cart-item-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 10px !important;
}

.fo-cart-item-title-wrap {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.fo-cart-item-title {
    margin: 0 0 2px 0 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
    word-break: break-word !important;
}

.fo-cart-item-variant {
    display: inline-block !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    background: #f1f5f9 !important;
    padding: 1px 6px !important;
    border-radius: 4px !important;
    margin-top: 2px !important;
}

/* Single-Action Delete Button (Tek Tıkla Çöp Kutusu) */
.fo-cart-delete-btn {
    flex-shrink: 0 !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    background: #fff1f2 !important;
    border: 1px solid #fecdd3 !important;
    color: #e11d48 !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.fo-cart-delete-btn:hover {
    background: #ffe4e6 !important;
    border-color: #fda4af !important;
    transform: scale(1.06) !important;
}

.fo-cart-delete-btn:active {
    transform: scale(0.95) !important;
}

.fo-cart-item-options {
    font-size: 11.5px !important;
    color: #64748b !important;
    line-height: 1.4 !important;
    padding-left: 2px !important;
}

.fo-cart-item-note {
    font-size: 11px !important;
    color: #64748b !important;
    font-style: italic !important;
    margin-top: 1px !important;
}

.fo-cart-item-note.fo-cart-allergy-note {
    color: #dc2626 !important;
    font-weight: 600 !important;
    font-style: normal !important;
}

.fo-cart-item-footer {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    padding-top: 8px !important;
    border-top: 1px dashed #e2e8f0 !important;
    margin-top: 2px !important;
}

.fo-cart-item-price {
    font-size: 16px !important;
    font-weight: 900 !important;
    color: var(--fo-primary, #E20612) !important;
    letter-spacing: -0.2px !important;
    white-space: nowrap !important;
}

.fo-cart-item-actions {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.fo-cart-edit-btn {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #2563eb !important;
    cursor: pointer !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    padding: 5px 9px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    transition: all 0.2s !important;
    white-space: nowrap !important;
    height: 32px !important;
}

.fo-cart-edit-btn:hover {
    background: #eff6ff !important;
    border-color: #93c5fd !important;
}

/* Big, Clear, High-Contrast Stepper (+ -) */
.fo-mini-stepper {
    display: inline-flex !important;
    align-items: center !important;
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 9px !important;
    padding: 2px !important;
    gap: 2px !important;
    height: 32px !important;
    box-sizing: border-box !important;
}

.fo-mini-stepper button {
    width: 28px !important;
    height: 26px !important;
    min-width: 28px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    line-height: 1 !important;
    transition: all 0.15s ease !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

.fo-mini-stepper button:hover {
    background: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
}

.fo-mini-stepper button:active {
    transform: scale(0.92) !important;
}

.fo-mini-stepper span.fo-stepper-val {
    min-width: 24px !important;
    padding: 0 4px !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    text-align: center !important;
    display: inline-block !important;
    user-select: none !important;
}

/* Checkout Items Summary Rows (with image) */
.fo-checkout-items-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-bottom: 6px !important;
}

.fo-co-item-row {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 8px 10px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
}

.fo-co-item-thumb {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.fo-co-item-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
}

.fo-co-item-placeholder {
    font-size: 22px !important;
}

.fo-co-item-details {
    flex: 1 1 auto !important;
    min-width: 0 !important;
}

.fo-co-item-title {
    font-size: 13.5px !important;
    color: #0f172a !important;
    line-height: 1.3 !important;
}

.fo-co-item-qty {
    font-weight: 800 !important;
    color: var(--fo-primary, #E20612) !important;
    margin-right: 4px !important;
}

.fo-co-item-name {
    font-weight: 700 !important;
}

.fo-co-item-variant {
    font-size: 11.5px !important;
    color: #64748b !important;
    margin-left: 4px !important;
}

.fo-co-item-options {
    font-size: 11px !important;
    color: #64748b !important;
    margin-top: 2px !important;
}

.fo-co-item-total {
    font-size: 14px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    white-space: nowrap !important;
    text-align: right !important;
}

/* Coupon */
.fo-cart-coupon-wrap {
    margin-bottom: 14px;
}
.fo-coupon-input-group {
    display: flex;
    gap: 6px;
}
.fo-coupon-input-group input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--fo-border);
    border-radius: 8px;
    font-size: 13px;
}
.fo-coupon-input-group button {
    background: #E20612;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.fo-coupon-input-group button:hover {
    background: #c80510;
}

/* Summary */
.fo-cart-summary {
    border-top: 1px solid var(--fo-border);
    padding-top: 12px;
    margin-bottom: 14px;
}
.fo-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 6px;
}
.fo-summary-total {
    font-size: 17px;
    font-weight: 800;
    border-top: 1px dashed var(--fo-border);
    padding-top: 8px;
    margin-top: 8px;
}

.fo-checkout-btn {
    width: 100%;
    background: #E20612;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s;
}
.fo-checkout-btn:hover:not(:disabled) {
    background: #c80510;
}
.fo-checkout-btn:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
}

/* 6. MODALS & SHEETS */
.fo-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(15, 23, 42, 0.7) !important;
    z-index: 999999 !important;
    display: none !important; /* By default strictly hidden, never visible on load */
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    box-sizing: border-box !important;
}

.fo-modal-overlay.fo-visible {
    display: flex !important;
}

/* Checkout Drawer Overlay (Opens in the EXACT SAME RIGHT-SIDE SPOT as the cart drawer!) */
.fo-checkout-overlay:not(.fo-standalone) {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(15, 23, 42, 0.55) !important;
    z-index: 9999999999 !important;
    display: none !important;
    align-items: stretch !important;
    justify-content: flex-end !important; /* EXACT SAME RIGHT EDGE AS CART DRAWER */
    padding: 0 !important;
    margin: 0 !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    box-sizing: border-box !important;
}

.fo-checkout-overlay:not(.fo-standalone).fo-visible {
    display: flex !important;
}

/* Hide leftover cart backdrop when checkout drawer is open */
body:has(#fo-checkout-overlay.fo-visible) #fo-cart-backdrop,
.fo-checkout-overlay.fo-visible ~ #fo-cart-backdrop,
body.fo-checkout-active #fo-cart-backdrop {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.fo-checkout-overlay:not(.fo-standalone) .fo-checkout-modal {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 440px !important;
    max-width: 100vw !important;
    height: 100vh !important;
    max-height: 100vh !important;
    background: #ffffff !important;
    border-radius: 20px 0 0 20px !important;
    border-left: 1px solid #e2e8f0 !important;
    box-shadow: -8px 0 35px rgba(0, 0, 0, 0.25) !important;
    padding: 20px 22px 28px 22px !important;
    margin: 0 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    animation: foDrawerSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-sizing: border-box !important;
    z-index: 99999999999 !important;
}

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

@media (max-width: 768px) {
    .fo-checkout-overlay:not(.fo-standalone) {
        align-items: flex-end !important;
        justify-content: center !important;
        padding: 0 !important;
    }

    .fo-checkout-overlay:not(.fo-standalone) .fo-checkout-modal,
    .fo-checkout-modal {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        max-width: 100vw !important;
        height: auto !important;
        max-height: 90vh !important;
        max-height: 90dvh !important;
        border-radius: 22px 22px 0 0 !important;
        border-left: none !important;
        border-top: 1px solid #e2e8f0 !important;
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.28) !important;
        padding: 18px 16px calc(110px + env(safe-area-inset-bottom, 25px)) 16px !important;
        overflow-y: scroll !important;
        -webkit-overflow-scrolling: touch !important;
        animation: foMobileSlideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
        box-sizing: border-box !important;
    }
}

@keyframes foMobileSlideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.fo-checkout-overlay.fo-standalone {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    background: transparent !important;
    z-index: 10 !important;
    display: flex !important;
    padding: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    margin: 20px auto !important;
}

.fo-modal-container {
    background: #ffffff !important;
    border-radius: 20px !important;
    width: 100% !important;
    max-width: 480px !important;
    max-height: 85vh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    position: relative !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35) !important;
    animation: foModalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    margin: auto !important;
    box-sizing: border-box !important;
}

.fo-checkout-overlay.fo-standalone .fo-checkout-modal {
    background: #ffffff !important;
    border-radius: 20px !important;
    width: 100% !important;
    max-width: 580px !important;
    max-height: 88vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    position: relative !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35) !important;
    animation: foModalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    padding: 24px 28px !important;
    margin: auto !important;
    box-sizing: border-box !important;
}

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

.fo-modal-close {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.88) !important;
    color: #334155 !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    font-size: 20px !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 30 !important;
    transition: all 0.2s ease !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}
.fo-modal-close:hover {
    background: #ffffff !important;
    color: #E20612 !important;
    transform: scale(1.06) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}
.fo-checkout-modal .fo-modal-close {
    background: #f1f5f9 !important;
    color: #475569 !important;
    font-size: 22px !important;
}
.fo-checkout-modal .fo-modal-close:hover {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}

/* Image Wrap */
.fo-modal-image-wrap {
    width: 100% !important;
    height: 220px !important;
    min-height: 200px !important;
    max-height: 250px !important;
    position: relative !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    background: #ffffff !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    padding: 14px 24px 0 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
}
.fo-modal-img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    display: block !important;
    margin: auto !important;
    padding: 0 !important;
    border: none !important;
    filter: none !important;
    box-shadow: none !important;
    background: transparent !important;
    transition: transform 0.3s ease !important;
}
.fo-modal-img-gradient {
    display: none !important;
}

/* Scrollable Modal Body */
.fo-modal-body {
    flex: 1 1 auto !important;
    overflow-y: auto !important;
    padding: 16px 20px !important;
    background: #ffffff !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: thin !important;
    scrollbar-color: #cbd5e1 transparent !important;
}
.fo-modal-body::-webkit-scrollbar {
    width: 6px !important;
}
.fo-modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1 !important;
    border-radius: 3px !important;
}

/* Header Info */
.fo-modal-header-info {
    margin-bottom: 14px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding-bottom: 12px !important;
}
.fo-modal-title-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    gap: 12px !important;
    margin-bottom: 4px !important;
}
.fo-modal-title {
    margin: 0 !important;
    font-size: 19px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    line-height: 1.25 !important;
}
.fo-modal-price {
    font-size: 19px !important;
    font-weight: 800 !important;
    color: var(--fo-primary) !important;
    white-space: nowrap !important;
}
.fo-modal-desc {
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.45 !important;
    margin: 4px 0 10px 0 !important;
}

/* Nutrition Bar */
.fo-modal-nutrition-bar {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #fef3c7 !important;
    border: 1px solid #fde68a !important;
    border-radius: 20px !important;
    padding: 3px 10px !important;
    margin-bottom: 4px !important;
}
.fo-modal-cal-badge {
    color: #92400e !important;
    font-weight: 800 !important;
    font-size: 12px !important;
}
.fo-modal-portion-text {
    color: #78350f !important;
    font-size: 11px !important;
}

/* Option Groups & Cards */
.fo-modal-opt-group {
    margin-bottom: 16px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    box-shadow: 0 1px 2px rgba(0,0,0,0.02) !important;
}
.fo-modal-opt-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 8px !important;
}
.fo-modal-opt-title {
    font-size: 13px !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
}
.fo-modal-opt-badge {
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 2px 7px !important;
    border-radius: 6px !important;
    background: #f1f5f9 !important;
    color: #64748b !important;
}
.fo-modal-opt-badge.required {
    background: #fee2e2 !important;
    color: #b91c1c !important;
}

.fo-modal-opt-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}
.fo-modal-opt-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 9px 12px !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    user-select: none !important;
    margin: 0 !important;
}
.fo-modal-opt-item:hover {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
}
.fo-modal-opt-item.selected,
.fo-modal-opt-item:has(input:checked) {
    border-color: var(--fo-primary) !important;
    background: #fff5f5 !important;
}
.fo-modal-opt-left {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
}
.fo-modal-opt-left input {
    width: 17px !important;
    height: 17px !important;
    margin: 0 !important;
    accent-color: var(--fo-primary) !important;
    cursor: pointer !important;
}
.fo-modal-opt-cal {
    font-size: 11px !important;
    color: #b45309 !important;
    font-weight: normal !important;
}
.fo-modal-opt-price {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    white-space: nowrap !important;
}

/* Field Groups (Allergy & Special Notes) */
.fo-modal-field-group {
    margin-top: 10px !important;
}
.fo-modal-field-group label {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    display: block !important;
    margin-bottom: 4px !important;
}
.fo-modal-field-group input,
.fo-modal-field-group textarea {
    width: 100% !important;
    padding: 8px 10px !important;
    font-size: 13px !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background: #f8fafc !important;
    color: #1e293b !important;
    outline: none !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
}
.fo-modal-field-group input:focus,
.fo-modal-field-group textarea:focus {
    border-color: var(--fo-primary) !important;
    background: #ffffff !important;
}

/* Fixed Bottom Modal Footer */
.fo-modal-footer {
    flex-shrink: 0 !important;
    background: #ffffff !important;
    border-top: 1px solid #e2e8f0 !important;
    padding: 12px 18px !important;
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.06) !important;
    z-index: 10 !important;
    position: relative !important;
}
.fo-modal-qty-stepper {
    height: 44px !important;
    background: #f1f5f9 !important;
    border-radius: 10px !important;
    padding: 2px 4px !important;
    display: flex !important;
    align-items: center !important;
    gap: 2px !important;
    flex-shrink: 0 !important;
}
.fo-qty-btn {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    color: #1e293b !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background 0.15s !important;
}
.fo-qty-btn:hover {
    background: #f8fafc !important;
}
.fo-qty-val {
    min-width: 26px !important;
    text-align: center !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
}
.fo-modal-submit-btn {
    flex: 1 !important;
    height: 44px !important;
    background: var(--fo-primary) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    transition: background 0.2s !important;
}
.fo-modal-submit-btn:hover {
    background: var(--fo-primary-hover) !important;
}

/* 7. CHECKOUT MODAL & FORM */
.fo-checkout-modal * {
    box-sizing: border-box !important;
}

.fo-checkout-header {
    border-bottom: 1px solid #e2e8f0 !important;
    padding-bottom: 14px !important;
    margin-bottom: 18px !important;
    padding-right: 36px !important;
}

.fo-checkout-header h2 {
    margin: 0 0 6px 0 !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #1a202c !important;
    line-height: 1.2 !important;
}

.fo-checkout-header p {
    margin: 0 !important;
    font-size: 13px !important;
    color: #718096 !important;
    line-height: 1.4 !important;
}

.fo-checkout-section {
    margin-bottom: 18px !important;
}

.fo-sec-label {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #2d3748 !important;
    display: block !important;
    margin-bottom: 8px !important;
}

/* Order type pills inside checkout */
.fo-checkout-type-tabs {
    display: flex !important;
    gap: 8px !important;
    margin-bottom: 4px !important;
}

.fo-checkout-type-tabs .fo-type-tab {
    flex: 1 !important;
    padding: 10px 12px !important;
    font-size: 13.5px !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    border: 1.5px solid #e2e8f0 !important;
    background: #f8fafc !important;
    color: #4a5568 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.2s ease !important;
}

.fo-checkout-type-tabs .fo-type-tab.active {
    background: #E20612 !important;
    color: #ffffff !important;
    border-color: #E20612 !important;
    box-shadow: 0 4px 10px rgba(226, 6, 18, 0.25) !important;
}

/* Form groups and rows */
.fo-form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px !important;
}

.fo-form-group {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 12px !important;
    width: 100% !important;
}

.fo-form-group label {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #4a5568 !important;
    margin-bottom: 5px !important;
    display: block !important;
    float: none !important;
    text-align: left !important;
}

.fo-form-group input[type="text"],
.fo-form-group input[type="tel"],
.fo-form-group input[type="email"],
.fo-form-group textarea,
.fo-form-group select {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #2d3748 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    box-shadow: none !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
}

.fo-form-group input:focus,
.fo-form-group textarea:focus {
    outline: none !important;
    border-color: #ff5722 !important;
    box-shadow: 0 0 0 3px rgba(255, 87, 34, 0.15) !important;
}

.fo-form-group textarea {
    resize: vertical !important;
    min-height: 54px !important;
}

/* Payment choices */
.fo-payment-options {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.fo-pay-choice {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 11px 14px !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: #2d3748 !important;
    background: #f8fafc !important;
    transition: all 0.2s ease !important;
    user-select: none !important;
}

.fo-pay-choice:hover {
    border-color: #cbd5e0 !important;
    background: #ffffff !important;
}

.fo-pay-choice input[type="radio"] {
    margin: 0 !important;
    width: 18px !important;
    height: 18px !important;
    accent-color: #ff5722 !important;
    cursor: pointer !important;
}

.fo-pay-choice:has(input:checked) {
    border-color: #ff5722 !important;
    background: rgba(255, 87, 34, 0.04) !important;
}

/* Summary Box */
.fo-checkout-summary-box {
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 14px 18px !important;
    margin-top: 14px !important;
}

.fo-checkout-summary-box .fo-summary-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 5px 0 !important;
    font-size: 14px !important;
    color: #4a5568 !important;
}

.fo-checkout-summary-box .fo-summary-total {
    border-top: 1px dashed #cbd5e0 !important;
    margin-top: 8px !important;
    padding-top: 10px !important;
    font-size: 17px !important;
    font-weight: 800 !important;
    color: #1a202c !important;
}

.fo-checkout-summary-box .fo-summary-total strong {
    color: #ff5722 !important;
    font-size: 19px !important;
}

/* Submit Order Button */
.fo-checkout-submit-btn {
    width: 100% !important;
    min-height: 54px !important;
    margin-top: 18px !important;
    margin-bottom: 25px !important;
    background: linear-gradient(135deg, #E20612 0%, #c80510 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 15px 20px !important;
    font-size: 16.5px !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    box-shadow: 0 4px 14px rgba(226, 6, 18, 0.38) !important;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
    position: relative !important;
    z-index: 100 !important;
}

.fo-checkout-submit-btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(226, 6, 18, 0.45) !important;
}

.fo-checkout-submit-btn:active {
    transform: scale(0.98) !important;
}

.fo-checkout-submit-btn:disabled {
    background: #cbd5e0 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.fo-checkout-submit-wrap {
    margin-top: 20px !important;
    margin-bottom: 25px !important;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 15px)) !important;
    position: relative !important;
    z-index: 99 !important;
}

/* 8. TRACKING STEPPER */
.fo-tracking-card {
    background: #fff;
    border: 1px solid var(--fo-border);
    border-radius: var(--fo-radius);
    padding: 30px;
    max-width: 650px;
    margin: 0 auto;
    box-shadow: var(--fo-shadow);
}
.fo-track-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--fo-border);
    padding-bottom: 12px;
    margin-bottom: 24px;
}
.fo-stepper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}
.fo-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}
.fo-step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #edf2f7;
    color: var(--fo-muted);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    transition: all 0.3s;
}
.fo-step.active .fo-step-circle {
    background: #38a169;
    color: #fff;
}
.fo-step-text {
    font-size: 11px;
    font-weight: 600;
    color: var(--fo-muted);
}
.fo-step.active .fo-step-text {
    color: #1a202c;
    font-weight: bold;
}
.fo-step-line {
    flex: 1;
    height: 4px;
    background: #edf2f7;
    margin: 0 4px 20px 4px;
    transition: all 0.3s;
}
.fo-step-line.active {
    background: #38a169;
}
.fo-track-items-summary {
    background: #f7fafc;
    border: 1px solid var(--fo-border);
    border-radius: 12px;
    padding: 16px;
}
.fo-track-item-line {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 14px;
}
.fo-track-total-row {
    border-top: 1px solid var(--fo-border);
    margin-top: 10px;
    padding-top: 10px;
    display: flex;
    justify-content: space-between;
    font-size: 16px;
}

/* 9. MOBILE FLOATING BAR */
.fo-mobile-cart-bar {
    position: fixed;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background: #1a202c;
    color: #fff;
    border-radius: 30px;
    padding: 12px 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
    z-index: 999;
}
.fo-mobile-cart-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.fo-mobile-cart-info {
    display: flex;
    align-items: center;
    gap: 8px;
}
.fo-mobile-cart-count {
    background: var(--fo-primary);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}
.fo-mobile-cart-total {
    font-size: 16px;
    font-weight: 800;
}
.fo-mobile-view-cart-btn {
    background: var(--fo-primary);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
}

/* Responsive */
/* Responsive */
@media (max-width: 768px) {
    .fo-floating-cart-bar {
        bottom: 20px !important;
        right: 0 !important;
        left: auto !important;
        width: 58px !important;
        height: 54px !important;
        border-radius: 28px 0 0 28px !important;
        padding: 0 3px 0 0 !important;
        justify-content: center !important;
        z-index: 99999999 !important;
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        background: linear-gradient(135deg, #FFC700 0%, #FFA800 100%) !important;
    }
    .fo-floating-cart-bar.fo-visible {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    .fo-cart-sidebar {
        top: 0 !important;
        bottom: 0 !important;
        right: -100% !important;
        left: auto !important;
        width: 90vw !important;
        max-width: 400px !important;
        height: 100% !important;
        height: 100vh !important;
        height: 100dvh !important;
        border-radius: 20px 0 0 20px !important;
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.25) !important;
        transition: right 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s ease !important;
        visibility: hidden !important;
        pointer-events: none !important;
        z-index: 999999999 !important;
    }
    .fo-cart-sidebar.fo-drawer-open {
        right: 0 !important;
        bottom: 0 !important;
        top: 0 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
    .fo-cart-header {
        padding: 14px 16px !important;
    }
    .fo-cart-body-scroll {
        padding: 12px 14px !important;
    }
    .fo-cart-footer {
        padding: 14px 16px !important;
    }
    .fo-mini-stepper {
        height: 34px !important;
        padding: 2px !important;
    }
    .fo-mini-stepper button {
        width: 30px !important;
        height: 28px !important;
        min-width: 30px !important;
        font-size: 18px !important;
    }
    .fo-mini-stepper span.fo-stepper-val {
        min-width: 24px !important;
        font-size: 14px !important;
    }
    .fo-modal-overlay, .fo-checkout-overlay {
        padding: 0 !important;
        align-items: flex-end !important;
    }
    .fo-modal-container, .fo-checkout-modal {
        width: 100% !important;
        max-width: 100% !important;
        max-height: 90vh !important;
        max-height: 90dvh !important;
        border-radius: 20px 20px 0 0 !important;
        align-self: flex-end !important;
        margin: 0 !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .fo-modal-image-wrap {
        height: 200px !important;
        min-height: 180px !important;
        max-height: 220px !important;
        padding: 10px 18px !important;
    }
}

/* Cart Item Edit Button & Removable Tags */
.fo-cart-edit-btn:hover {
    background: #e0e7ff !important;
    color: #1d4ed8 !important;
    border-color: #93c5fd !important;
}

.fo-modal-opt-item.fo-opt-removable-item.selected {
    border-color: #fca5a5 !important;
    background: #fff1f2 !important;
}

.fo-opt-type-tag {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

/* Category Target Smooth Highlight Animation */
.fo-category-section.fo-cat-highlight {
    animation: foCatGlow 1.6s ease-out;
    border-radius: 16px;
}

@keyframes foCatGlow {
    0% {
        box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.35);
        background-color: rgba(255, 241, 242, 0.7);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
        background-color: transparent;
    }
}

/* Always ensure FastOrder header is visible and properly styled when present */
#fo-site-header,
.fo-site-header {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    min-height: initial !important;
    max-height: none !important;
    overflow: visible !important;
}

/* Suppress Theme Header ONLY when FastOrder Header is Active */
body.fo-header-active:not(.elementor-editor-active) header.header,
body.fo-header-active:not(.elementor-editor-active) .site-header:not(#fo-site-header),
body.fo-header-active:not(.elementor-editor-active) #masthead,
body:has(#fo-site-header):not(.elementor-editor-active) header.header,
body:has(#fo-site-header):not(.elementor-editor-active) .site-header:not(#fo-site-header),
body:has(#fo-site-header):not(.elementor-editor-active) #masthead {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

/* Explicitly Display Theme Header when FastOrder Header is Passive / Disabled */
body.fo-theme-header-active:not(.elementor-editor-active) header#masthead,
body.fo-theme-header-active:not(.elementor-editor-active) header.header,
body.fo-theme-header-active:not(.elementor-editor-active) #masthead,
body.fo-theme-header-active:not(.elementor-editor-active) .site-header,
body:not(.fo-header-active):not(:has(#fo-site-header)):not(.elementor-editor-active) header#masthead,
body:not(.fo-header-active):not(:has(#fo-site-header)):not(.elementor-editor-active) header.header,
body:not(.fo-header-active):not(:has(#fo-site-header)):not(.elementor-editor-active) #masthead,
body:not(.fo-header-active):not(:has(#fo-site-header)):not(.elementor-editor-active) .site-header {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    min-height: initial !important;
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
}

/* Suppress Default Page Title / Entry Header on FastOrder Pages */
body:has(#fastorder-app):not(.elementor-editor-active) .entry-header,
body:has(#fastorder-app):not(.elementor-editor-active) .page-header,
body:has(#fastorder-app):not(.elementor-editor-active) h1.entry-title,
body:has(#fastorder-app):not(.elementor-editor-active) .entry-title,
body:has(#fastorder-app):not(.elementor-editor-active) .nv-page-title,
body:has(#fastorder-app):not(.elementor-editor-active) .nv-page-title-wrap,
body:has(#fastorder-app):not(.elementor-editor-active) .nv-title-meta-wrap,
body:has(#fo-site-header):not(.elementor-editor-active) .entry-header,
body:has(#fo-site-header):not(.elementor-editor-active) .page-header,
body:has(#fo-site-header):not(.elementor-editor-active) h1.entry-title,
body:has(#fo-site-header):not(.elementor-editor-active) .entry-title,
body:has(#fo-site-header):not(.elementor-editor-active) .nv-page-title,
body:has(#fo-site-header):not(.elementor-editor-active) .nv-page-title-wrap,
body:has(#fo-site-header):not(.elementor-editor-active) .nv-title-meta-wrap,
body.fo-landing-active:not(.elementor-editor-active) .entry-header,
body.fo-landing-active:not(.elementor-editor-active) .page-header,
body.fo-landing-active:not(.elementor-editor-active) h1.entry-title,
body.fo-landing-active:not(.elementor-editor-active) .entry-title,
body.fo-landing-active:not(.elementor-editor-active) .nv-page-title,
body.fo-landing-active:not(.elementor-editor-active) .nv-page-title-wrap,
body.fo-landing-active:not(.elementor-editor-active) .nv-title-meta-wrap,
body.fo-menu-active:not(.elementor-editor-active) .entry-header,
body.fo-menu-active:not(.elementor-editor-active) .page-header,
body.fo-menu-active:not(.elementor-editor-active) h1.entry-title,
body.fo-menu-active:not(.elementor-editor-active) .entry-title,
body.fo-menu-active:not(.elementor-editor-active) .nv-page-title,
body.fo-menu-active:not(.elementor-editor-active) .nv-page-title-wrap,
body.fo-menu-active:not(.elementor-editor-active) .nv-title-meta-wrap,
body.fo-theme-clean-canvas:not(.elementor-editor-active) .entry-header,
body.fo-theme-clean-canvas:not(.elementor-editor-active) h1.entry-title {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

/* Suppress Theme Footer ONLY when FastOrder Mega Footer is Active */
body.fo-mega-footer-active:not(.elementor-editor-active) footer:not(.fo-mega-footer),
body.fo-mega-footer-active:not(.elementor-editor-active) footer.footer:not(.fo-mega-footer),
body.fo-mega-footer-active:not(.elementor-editor-active) #colophon:not(.fo-mega-footer),
body.fo-mega-footer-active:not(.elementor-editor-active) .site-footer:not(.fo-mega-footer),
body.fo-mega-footer-active:not(.elementor-editor-active) .footer-wrapper:not(.fo-mega-footer),
body.fo-mega-footer-active:not(.elementor-editor-active) .footer-wrap:not(.fo-mega-footer),
body:has(.fo-mega-footer):not(.elementor-editor-active) footer:not(.fo-mega-footer),
body:has(.fo-mega-footer):not(.elementor-editor-active) footer.footer:not(.fo-mega-footer),
body:has(.fo-mega-footer):not(.elementor-editor-active) #colophon:not(.fo-mega-footer),
body:has(.fo-mega-footer):not(.elementor-editor-active) .site-footer:not(.fo-mega-footer),
body:has(.fo-mega-footer):not(.elementor-editor-active) .footer-wrapper:not(.fo-mega-footer),
body:has(.fo-mega-footer):not(.elementor-editor-active) .footer-wrap:not(.fo-mega-footer) {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

/* FastOrder Mega Footer Styling Guarantee */
footer.fo-mega-footer,
.fo-mega-footer {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    min-height: auto !important;
    opacity: 1 !important;
    overflow: visible !important;
    background: #0B0B0E !important;
    color: #94a3b8 !important;
    padding: 70px 0 35px 0 !important;
    border-top: 1px solid #1a1c24 !important;
    position: relative !important;
    z-index: 100 !important;
    box-sizing: border-box !important;
}

.fo-mega-footer .fo-footer-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

.fo-mega-footer .fo-footer-main-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr 1.4fr;
    gap: 36px;
    align-items: start;
    margin-bottom: 50px;
}

/* Col 1: Brand, Bio, Social, Newsletter */
.fo-footer-logo-wrap {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 16px;
}

.fo-footer-custom-logo {
    max-height: 52px;
    width: auto;
    object-fit: contain;
}

.fo-footer-ctr-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fo-ctr-badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 8px rgba(226,6,18,0.4));
}

.fo-ctr-brand-typography {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
}

.fo-ctr-word-ctr {
    color: #ffffff;
    font-size: 26px;
    letter-spacing: -0.5px;
    font-family: inherit;
}

.fo-ctr-word-chicken {
    color: #1e293b;
    background: #FBBF24;
    border: 2px solid #F59E0B;
    border-radius: 6px;
    padding: 3px 10px;
    font-size: 21px;
    line-height: 1;
    letter-spacing: 0.5px;
    font-weight: 900;
}

.fo-footer-bio-text {
    font-size: 13.5px;
    line-height: 1.65;
    color: #94a3b8;
    margin: 0 0 22px 0;
    max-width: 320px;
}

.fo-footer-social-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0;
}

.fo-social-circle-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #E20612;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(226, 6, 18, 0.35);
}

.fo-social-circle-btn:hover {
    background: #ff1a27;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(226, 6, 18, 0.55);
}

.fo-footer-newsletter-block {
    margin-top: 10px;
}

.fo-newsletter-heading {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px 0;
    letter-spacing: -0.2px;
}

.fo-newsletter-sub {
    font-size: 12px;
    color: #64748b;
    margin: 0 0 12px 0;
    line-height: 1.45;
}

.fo-footer-newsletter-form {
    display: flex;
    align-items: center;
    background: #14161f;
    border: 1.5px solid #252836;
    border-radius: 999px;
    padding: 4px 4px 4px 16px;
    max-width: 330px;
    transition: all 0.2s ease;
}

.fo-footer-newsletter-form:focus-within {
    border-color: #E20612;
    box-shadow: 0 0 0 3px rgba(226, 6, 18, 0.2);
}

.fo-newsletter-input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: #ffffff !important;
    font-size: 13px !important;
    min-width: 0;
    box-shadow: none !important;
}

.fo-newsletter-input::placeholder {
    color: #64748b;
}

.fo-newsletter-submit-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #E20612;
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.fo-newsletter-submit-btn:hover {
    background: #ff1a27;
    transform: scale(1.06);
}

/* Columns 2 & 3: Menu & Quick Links */
.fo-footer-col-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 20px 0;
    letter-spacing: -0.2px;
}

.fo-footer-link-list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fo-footer-link-list a,
.fo-contact-link,
.fo-footer-bottom-bar a {
    position: relative;
    display: inline-block;
    color: #94a3b8 !important;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    padding-bottom: 2px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.fo-contact-link {
    color: #cbd5e1 !important;
}

/* İnce alt çizgi animasyonu */
.fo-footer-link-list a::after,
.fo-contact-link::after,
.fo-footer-bottom-bar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--fo-primary, #E20612);
    border-radius: 2px;
    transition: width 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fo-footer-link-list a:hover,
.fo-contact-link:hover,
.fo-footer-bottom-bar a:hover {
    color: #ffffff !important;
    transform: translateX(4px);
}

.fo-footer-link-list a:hover::after,
.fo-contact-link:hover::after,
.fo-footer-bottom-bar a:hover::after {
    width: 100%;
}

/* Column 4: Contact */
.fo-footer-contact-list {
    list-style: none !important;
    margin: 0 0 22px 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fo-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13.5px;
    color: #cbd5e1;
}

.fo-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    color: #E20612;
}

.fo-contact-val {
    color: #cbd5e1;
    line-height: 1.45;
}

.fo-footer-maps-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1.5px solid #E20612;
    border-radius: 999px;
    padding: 10px 20px;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    background: rgba(226, 6, 18, 0.05);
    transition: all 0.25s ease;
}

.fo-footer-maps-btn:hover {
    background: #E20612;
    box-shadow: 0 4px 16px rgba(226, 6, 18, 0.45);
    transform: translateY(-2px);
}

.fo-footer-maps-btn:hover svg {
    fill: #ffffff !important;
}

.fo-maps-btn-arrow {
    transition: transform 0.2s ease;
}

.fo-footer-maps-btn:hover .fo-maps-btn-arrow {
    transform: translateX(4px);
}

/* Column 5: Food Promo Banner */
.fo-promo-banner-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: radial-gradient(circle at center, #1b1e2a 0%, #0d0f15 100%);
    padding: 18px;
    border: 1px solid #202432;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.fo-promo-chalk-text {
    position: absolute;
    top: 20px;
    left: 16px;
    right: 16px;
    font-size: 26px;
    font-weight: 900;
    line-height: 1.1;
    text-transform: uppercase;
    font-style: italic;
    color: rgba(255, 255, 255, 0.09);
    letter-spacing: 1px;
    pointer-events: none;
    text-align: center;
}

.fo-promo-image-container {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fo-promo-main-img {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.7));
    transition: transform 0.3s ease;
}

.fo-promo-banner-card:hover .fo-promo-main-img {
    transform: scale(1.05);
}

/* Bottom Bar */
.fo-footer-bottom-bar {
    border-top: 1px solid #1a1c24;
    padding-top: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 12.5px;
    color: #64748b;
}

.fo-bottom-copyright {
    color: #64748b;
    text-align: center;
    width: 100%;
}

.fo-bottom-links-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fo-bottom-links-wrap a {
    color: #64748b !important;
    text-decoration: none;
    transition: color 0.15s ease;
}

.fo-bottom-links-wrap a:hover {
    color: #94a3b8 !important;
}

.fo-bottom-sep {
    color: #334155;
    font-size: 11px;
}

.fo-bottom-payment-badges {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fo-pay-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
    transition: transform 0.2s ease;
}

.fo-pay-badge:hover {
    transform: translateY(-2px);
}

.fo-bottom-designed-by {
    color: #64748b;
    font-size: 12px;
}

@media (max-width: 1200px) {
    .fo-mega-footer .fo-footer-main-grid {
        grid-template-columns: 1.3fr 1fr 1fr 1.1fr 1.4fr;
        gap: 24px;
    }
}

@media (max-width: 1024px) {
    .fo-mega-footer .fo-footer-main-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
    .fo-fcol-brand-news {
        grid-column: span 3;
    }
}

@media (max-width: 900px) {
    .fo-mega-footer .fo-footer-main-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    .fo-fcol-brand-news {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .fo-mega-footer {
        padding: 50px 0 25px 0 !important;
    }
    .fo-mega-footer .fo-footer-main-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .fo-fcol-brand-news {
        grid-column: span 1;
    }
    .fo-footer-bottom-bar {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    .fo-bottom-links-wrap {
        justify-content: center;
        flex-wrap: wrap;
    }
    .fo-bottom-payment-badges {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Explicitly Display Theme Footer when FastOrder Mega Footer is Passive */
body.fo-theme-footer-active:not(.elementor-editor-active) footer,
body.fo-theme-footer-active:not(.elementor-editor-active) footer.footer,
body.fo-theme-footer-active:not(.elementor-editor-active) #colophon,
body.fo-theme-footer-active:not(.elementor-editor-active) .site-footer,
body.fo-theme-footer-active:not(.elementor-editor-active) .footer-wrap,
body.fo-theme-footer-active:not(.elementor-editor-active) .footer-wrapper,
body.fo-theme-footer-active:not(.elementor-editor-active) .nv-footer,
body.fo-theme-footer-active:not(.elementor-editor-active) .hfg-grid,
body:not(.fo-mega-footer-active):not(:has(.fo-mega-footer)):not(.elementor-editor-active) footer,
body:not(.fo-mega-footer-active):not(:has(.fo-mega-footer)):not(.elementor-editor-active) footer.footer,
body:not(.fo-mega-footer-active):not(:has(.fo-mega-footer)):not(.elementor-editor-active) #colophon,
body:not(.fo-mega-footer-active):not(:has(.fo-mega-footer)):not(.elementor-editor-active) .site-footer,
body:not(.fo-mega-footer-active):not(:has(.fo-mega-footer)):not(.elementor-editor-active) .footer-wrap,
body:not(.fo-mega-footer-active):not(:has(.fo-mega-footer)):not(.elementor-editor-active) .footer-wrapper {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    min-height: initial !important;
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
}

/* Ensure Neve footer container keeps proper centering and width when active */
body.fo-theme-footer-active:not(.elementor-editor-active) .site-footer .container,
body.fo-theme-footer-active:not(.elementor-editor-active) footer .container {
    max-width: 1200px !important;
    width: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body:has(#fastorder-app):not(.elementor-editor-active) .neve-main,
body:has(#fastorder-app):not(.elementor-editor-active) .container,
body:has(#fastorder-app):not(.elementor-editor-active) .single-page-container,
body:has(#fastorder-app):not(.elementor-editor-active) .nv-single-page-wrap,
body:has(#fastorder-app):not(.elementor-editor-active) .nv-content-wrap,
body:has(#fastorder-app):not(.elementor-editor-active) .entry-content,
body:has(#fastorder-app):not(.elementor-editor-active) .content-area,
body:has(#fo-site-header):not(.elementor-editor-active) .neve-main,
body:has(#fo-site-header):not(.elementor-editor-active) .neve-main .container,
body:has(#fo-site-header):not(.elementor-editor-active) .single-page-container,
body:has(#fo-site-header):not(.elementor-editor-active) .nv-single-page-wrap,
body:has(#fo-site-header):not(.elementor-editor-active) .nv-single-page-wrap .container,
body:has(#fo-site-header):not(.elementor-editor-active) .nv-content-wrap,
body:has(#fo-site-header):not(.elementor-editor-active) .nv-content-wrap .container,
body:has(#fo-site-header):not(.elementor-editor-active) .entry-content,
body:has(#fo-site-header):not(.elementor-editor-active) .content-area,
body.fo-landing-active:not(.elementor-editor-active) .neve-main,
body.fo-landing-active:not(.elementor-editor-active) .neve-main .container,
body.fo-landing-active:not(.elementor-editor-active) .single-page-container,
body.fo-landing-active:not(.elementor-editor-active) .nv-single-page-wrap,
body.fo-landing-active:not(.elementor-editor-active) .nv-single-page-wrap .container,
body.fo-landing-active:not(.elementor-editor-active) .nv-content-wrap,
body.fo-landing-active:not(.elementor-editor-active) .nv-content-wrap .container,
body.fo-landing-active:not(.elementor-editor-active) .entry-content,
body.fo-landing-active:not(.elementor-editor-active) .content-area,
body.fo-menu-active:not(.elementor-editor-active) .neve-main,
body.fo-menu-active:not(.elementor-editor-active) .neve-main .container,
body.fo-menu-active:not(.elementor-editor-active) .single-page-container,
body.fo-menu-active:not(.elementor-editor-active) .nv-single-page-wrap,
body.fo-menu-active:not(.elementor-editor-active) .nv-single-page-wrap .container,
body.fo-menu-active:not(.elementor-editor-active) .nv-content-wrap,
body.fo-menu-active:not(.elementor-editor-active) .nv-content-wrap .container,
body.fo-menu-active:not(.elementor-editor-active) .entry-content,
body.fo-menu-active:not(.elementor-editor-active) .content-area,
body.fo-theme-clean-canvas:not(.elementor-editor-active) .neve-main,
body.fo-theme-clean-canvas:not(.elementor-editor-active) .neve-main .container,
body.fo-theme-clean-canvas:not(.elementor-editor-active) .single-page-container,
body.fo-theme-clean-canvas:not(.elementor-editor-active) .nv-single-page-wrap,
body.fo-theme-clean-canvas:not(.elementor-editor-active) .nv-single-page-wrap .container,
body.fo-theme-clean-canvas:not(.elementor-editor-active) .nv-content-wrap,
body.fo-theme-clean-canvas:not(.elementor-editor-active) .nv-content-wrap .container,
body.fo-theme-clean-canvas:not(.elementor-editor-active) .entry-content,
body.fo-theme-clean-canvas:not(.elementor-editor-active) .content-area {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 0 !important;
}

body:has(#fastorder-app):not(.elementor-editor-active) .neve-main .row,
body:has(#fo-site-header):not(.elementor-editor-active) .neve-main .row,
body.fo-landing-active:not(.elementor-editor-active) .neve-main .row,
body.fo-menu-active:not(.elementor-editor-active) .neve-main .row,
body.fo-theme-clean-canvas:not(.elementor-editor-active) .neve-main .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ============================================================
   FASTORDER TABBED MENU LAYOUT (.fo-tabbed-menu-layout)
   ============================================================ */
.fo-tabbed-menu-layout {
    width: 100%;
}

.fo-tabbed-menu-layout .fo-category-nav,
.fo-tabbed-menu-layout .fo-cat-nav-tabs,
.fo-cat-nav-tabs {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #ffffff;
    border-radius: 16px;
    padding: 8px 12px;
    margin-bottom: 28px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 15px;
    z-index: 50;
    transition: all 0.3s ease;
}

.fo-tabbed-menu-layout .fo-cat-nav-inner {
    flex: 1 !important;
    min-width: 0 !important;
    display: flex;
    gap: 10px;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding: 4px 2px;
}

.fo-tabbed-menu-layout .fo-cat-nav-inner::-webkit-scrollbar {
    display: none;
}

.fo-tabbed-menu-layout .fo-cat-link,
.fo-tabbed-menu-layout .fo-cat-tab-btn,
.fo-cat-tab-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 11px 22px !important;
    border-radius: 50px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #475569 !important;
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
    user-select: none !important;
    flex-shrink: 0 !important;
    line-height: 1.3 !important;
}

.fo-tabbed-menu-layout .fo-cat-link:hover,
.fo-tabbed-menu-layout .fo-cat-tab-btn:hover {
    color: #0f172a !important;
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    transform: translateY(-1px);
}

.fo-tabbed-menu-layout .fo-cat-link.active,
.fo-tabbed-menu-layout .fo-cat-tab-btn.active {
    background: var(--fo-primary, #E20612) !important;
    color: #ffffff !important;
    border-color: var(--fo-primary, #E20612) !important;
    box-shadow: 0 4px 14px rgba(226, 6, 18, 0.35) !important;
    transform: translateY(-1px);
}

.fo-tabbed-menu-layout .fo-cat-tab-icon {
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fo-tabbed-menu-layout .fo-cat-tab-name {
    line-height: 1.2;
}

/* Category Sections in Tabbed Mode */
.fo-tabbed-menu-layout .fo-category-section {
    margin-bottom: 30px;
}

.fo-tabbed-menu-layout .fo-category-section.fo-cat-tab-active {
    display: block !important;
    animation: foTabFadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.fo-tabbed-menu-layout .fo-category-section.fo-cat-tab-pane {
    display: none !important;
}

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

.fo-tabbed-menu-layout .fo-section-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
}
.fo-tabbed-menu-layout .fo-section-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
}

/* ==========================================================================
   TRUST BADGES (ULTRA PRO CORPORATE QUALITY DESIGN)
   ========================================================================== */
.fo-trust-section {
    padding: 38px 0;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    overflow: hidden;
}

.fo-trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

.fo-trust-badge-item {
    background: #ffffff;
    border: 1.5px solid #edf2f7;
    border-radius: 18px;
    padding: 22px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Subtle accent glow line at the top of each card */
.fo-trust-badge-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 3px;
    border-radius: 0 0 4px 4px;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform: scaleX(0.4);
}

.fo-trust-badge-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.09), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
}

.fo-trust-badge-item:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

/* Icon Box (Squircle Badge) */
.fo-tb-icon-wrap {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.fo-trust-badge-item:hover .fo-tb-icon-wrap {
    transform: scale(1.08) rotate(-2deg);
}

.fo-tb-svg {
    width: 28px;
    height: 28px;
    display: block;
}

.fo-tb-img-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.fo-tb-emoji {
    font-size: 28px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", "Segoe UI Symbol", sans-serif;
}

/* Content Info */
.fo-tb-info {
    flex: 1;
    min-width: 0;
}

.fo-tb-title {
    margin: 0 0 5px 0;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    letter-spacing: -0.2px;
}

.fo-tb-desc {
    margin: 0;
    font-size: 12.5px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.45;
}

/* Theme 0: Amber / Warm Gold (Fresh Meat / Poultry / Quality) */
.fo-tb-theme-0::before {
    background: linear-gradient(90deg, #f59e0b, #ea580c);
}
.fo-tb-theme-0 .fo-tb-icon-wrap {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1.5px solid #fed7aa;
    color: #ea580c;
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.15);
}
.fo-tb-theme-0:hover {
    border-color: #fdba74;
}

/* Theme 1: Crimson / Fire (30 Min Fast Express Delivery) */
.fo-tb-theme-1::before {
    background: linear-gradient(90deg, #f43f5e, #e11d48);
}
.fo-tb-theme-1 .fo-tb-icon-wrap {
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%);
    border: 1.5px solid #fecdd3;
    color: #e11d48;
    box-shadow: 0 6px 16px rgba(225, 29, 72, 0.15);
}
.fo-tb-theme-1:hover {
    border-color: #fda4af;
}

/* Theme 2: Emerald / Mint (11 Secret Spices & Fresh Herbs) */
.fo-tb-theme-2::before {
    background: linear-gradient(90deg, #10b981, #059669);
}
.fo-tb-theme-2 .fo-tb-icon-wrap {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1.5px solid #a7f3d0;
    color: #059669;
    box-shadow: 0 6px 16px rgba(5, 150, 105, 0.15);
}
.fo-tb-theme-2:hover {
    border-color: #86efac;
}

/* Theme 3: Royal Blue / Trust Indigo (Secure & Easy Payment) */
.fo-tb-theme-3::before {
    background: linear-gradient(90deg, #3b82f6, #2563eb);
}
.fo-tb-theme-3 .fo-tb-icon-wrap {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1.5px solid #bfdbfe;
    color: #2563eb;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.15);
}
.fo-tb-theme-3:hover {
    border-color: #93c5fd;
}

/* Responsive Grid */
@media (max-width: 1100px) {
    .fo-trust-badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .fo-trust-section {
        padding: 24px 0;
    }
    .fo-trust-badges-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .fo-trust-badge-item {
        padding: 16px 16px;
    }
    .fo-tb-icon-wrap {
        width: 48px;
        height: 48px;
        min-width: 48px;
        border-radius: 14px;
    }
    .fo-tb-svg {
        width: 24px;
        height: 24px;
    }
    .fo-tb-title {
        font-size: 14px;
    }
    .fo-tb-desc {
        font-size: 12px;
    }
}

/* ==========================================================================
   BRANCHES & LOCATIONS SECTION (ULTRA PRO WITH INTERACTIVE MAP)
   ========================================================================== */
.fo-branches-section {
    padding: 60px 0;
    background: #f8fafc;
    position: relative;
    border-top: 1px solid #f1f5f9;
}

.fo-branches-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.fo-branches-cities-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.fo-branch-city-pill {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #475569;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.fo-branch-city-pill:hover {
    border-color: #cbd5e1;
    color: #0f172a;
    background: #f1f5f9;
}

.fo-branch-city-pill.active {
    background: #0f172a;
    border-color: #0f172a;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.fo-branch-city-pill .fo-pill-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 7px;
    border-radius: 999px;
    font-size: 11px;
}

.fo-branch-city-pill:not(.active) .fo-pill-badge {
    background: #e2e8f0;
    color: #475569;
}

.fo-branches-search-wrap {
    position: relative;
    min-width: 260px;
    flex: 0 1 320px;
}

.fo-branches-search-wrap .fo-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    font-size: 14px;
}

.fo-branches-search-input {
    width: 100%;
    padding: 10px 14px 10px 38px !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 999px !important;
    font-size: 13px !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.fo-branches-search-input:focus {
    border-color: #ea580c !important;
    box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.12) !important;
}

/* Master Layout: Full-Width Top Map + Cards Grid Below */
.fo-branches-map-fullwidth-wrap {
    width: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    height: 480px;
    margin-bottom: 28px;
}

.fo-branches-map-frame {
    width: 100% !important;
    height: 100% !important;
    min-height: 440px !important;
    background: #e2e8f0;
    z-index: 1;
}

.fo-map-floating-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #0f172a;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.15);
}

.fo-map-floating-badge .fo-floating-icon {
    font-size: 16px;
}

.fo-map-floating-reset {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 1000;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.fo-map-floating-reset:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
    transform: translateY(-1px);
}

/* Branch Cards Grid (Below Map) */
.fo-branches-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 22px;
    width: 100%;
}

.fo-branch-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.fo-branch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #ea580c;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.fo-branch-card:hover {
    transform: translateY(-3px);
    border-color: #cbd5e1;
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.09);
}

.fo-branch-card.is-active {
    border-color: #ea580c;
    background: #ffffff;
    box-shadow: 0 12px 28px -4px rgba(234, 88, 12, 0.14);
}

.fo-branch-card.is-active::before {
    opacity: 1;
}

.fo-bc-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 14px;
    gap: 10px;
}

.fo-bc-header-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.fo-bc-title {
    margin: 0;
    font-size: 16.5px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.fo-bc-badge {
    background: #fff7ed;
    color: #c2410c;
    border: 1px solid #ffedd5;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
}

.fo-bc-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.fo-bc-status-pill.open {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.fo-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.fo-bc-info-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 9px;
    font-size: 13px;
    color: #475569;
    line-height: 1.45;
}

.fo-bc-icon {
    font-size: 14px;
    margin-top: 1px;
    flex-shrink: 0;
}

.fo-bc-text {
    flex: 1;
}

.fo-bc-link {
    color: #0f172a;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease;
}

.fo-bc-link:hover {
    color: #ea580c;
    text-decoration: underline;
}

/* Card Actions Toolbar */
.fo-bc-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.fo-btn-bc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none !important;
    transition: all 0.2s ease;
    border: none;
    box-sizing: border-box;
    white-space: nowrap !important;
}

.fo-btn-directions {
    flex: 1;
    height: 42px;
    min-height: 42px;
    background: #E20612;
    color: #ffffff !important;
    padding: 0 18px;
    line-height: 1.2;
    gap: 7px;
    box-shadow: 0 2px 6px rgba(226, 6, 18, 0.25);
}

.fo-btn-directions:hover {
    background: #c80510;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(226, 6, 18, 0.35);
    color: #ffffff !important;
}

.fo-btn-call {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: #f1f5f9;
    color: #1e293b;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    flex-shrink: 0;
    padding: 0;
}

.fo-btn-call:hover {
    background: #e2e8f0;
    border-color: #cbd5e1;
    color: #0f172a;
    transform: translateY(-2px);
}

.fo-btn-whatsapp {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: #25D366;
    color: #ffffff;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.fo-btn-whatsapp:hover {
    background: #20bd5a;
    color: #ffffff;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
}

.fo-btn-whatsapp svg {
    width: 21px;
    height: 21px;
    fill: #ffffff;
    display: block;
}

/* Custom Leaflet Brand Pin with Chicken Logo */
.fo-leaflet-custom-marker-wrapper {
    background: transparent !important;
    border: none !important;
}

.fo-map-pin-badge {
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    border: 3px solid #ffffff !important;
    box-shadow: 0 6px 18px rgba(226, 6, 18, 0.55), 0 0 0 3px rgba(226, 6, 18, 0.25) !important;
    overflow: hidden !important;
    background: #E20612 !important;
    position: relative !important;
    z-index: 2 !important;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.fo-map-pin-badge:hover {
    transform: scale(1.18) !important;
}

.fo-map-pin-badge img,
.fo-map-pin-img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 50% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.fo-map-pin-tip {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #ffffff;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.15);
    z-index: 1;
}

.fo-map-pin-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(225, 29, 72, 0.35);
    animation: foPinPulse 2.2s infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes foPinPulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    70% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
    100% { transform: translate(-50%, -50%) scale(2.2); opacity: 0; }
}

/* Leaflet Popup Styling */
.fo-leaflet-popup-clean .leaflet-popup-content-wrapper {
    border-radius: 16px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.18);
    border: 1px solid #e2e8f0;
}
.fo-leaflet-popup-clean .leaflet-popup-content {
    margin: 0;
    line-height: 1.4;
}
.fo-map-popup-card {
    padding: 16px 18px;
    min-width: 220px;
    max-width: 280px;
}
.fo-mp-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.fo-mp-thumb {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #fed7aa;
    object-fit: cover;
}
.fo-mp-title-wrap {
    flex: 1;
}
.fo-mp-title {
    margin: 0 0 2px 0;
    font-size: 14.5px;
    font-weight: 800;
    color: #0f172a;
}
.fo-mp-status {
    font-size: 11px;
    color: #059669;
    font-weight: 700;
}
.fo-mp-body {
    font-size: 12px;
    color: #475569;
    margin-bottom: 12px;
}
.fo-mp-addr {
    margin: 0 0 4px 0;
    line-height: 1.4;
}
.fo-mp-hours {
    margin: 0 0 4px 0;
    color: #64748b;
}
.fo-mp-phone {
    margin: 0;
}
.fo-mp-phone a {
    color: #0f172a;
    font-weight: 700;
    text-decoration: none;
}
.fo-mp-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
}
.fo-mp-btn-dir {
    display: block;
    text-align: center;
    background: #E20612;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    transition: background 0.15s ease;
}
.fo-mp-btn-dir:hover {
    background: #c80510;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .fo-branches-map-fullwidth-wrap {
        height: 340px;
    }
    .fo-branches-map-frame {
        min-height: 340px !important;
    }
    .fo-branches-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .fo-map-floating-reset {
        font-size: 11px;
        padding: 6px 12px;
    }
}

/* ==========================================================================
   FASTORDER FULL-WIDTH PROMO & CAMPAIGN BANNER SECTION (MULTI-LANGUAGE)
   ========================================================================== */
.fo-banner-section-fullwidth {
    position: relative;
    width: 100%;
    margin: 0 auto 24px auto;
    overflow: hidden;
    user-select: none;
    box-sizing: border-box;
}

.fo-banner-section-fullwidth.is-breakout {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-radius: 0;
}

@media (max-width: 1024px) {
    .fo-banner-section-fullwidth.is-breakout {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

.fo-banner-section-fullwidth.is-contained {
    max-width: 1240px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.fo-banner-track {
    position: relative;
    width: 100%;
    display: flex;
    overflow: hidden;
    background: #0f172a;
}

.fo-banner-slide {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    display: none;
    position: relative;
    opacity: 0;
    transition: opacity 0.35s ease-in-out;
}

.fo-banner-slide.active {
    display: block;
    opacity: 1;
}

.fo-banner-link {
    display: block;
    width: 100%;
    text-decoration: none;
    cursor: pointer;
    line-height: 0;
    overflow: hidden;
}

.fo-banner-link.no-click {
    cursor: default;
}

.fo-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 460px;
    transition: transform 0.4s ease;
}

.fo-banner-link:not(.no-click):hover .fo-banner-img {
    transform: scale(1.012);
}

@media (max-width: 992px) {
    .fo-banner-img {
        max-height: 380px;
    }
}

@media (max-width: 768px) {
    .fo-banner-img {
        max-height: 300px;
    }
    .fo-banner-section-fullwidth {
        margin-bottom: 18px;
    }
}

@media (max-width: 480px) {
    .fo-banner-img {
        max-height: 220px;
    }
}

.fo-banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.6);
    color: #ffffff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.fo-banner-arrow:hover {
    background: rgba(15, 23, 42, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.fo-banner-prev { left: 16px; }
.fo-banner-next { right: 16px; }

.fo-banner-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.fo-banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.fo-banner-dot.active {
    width: 28px;
    border-radius: 999px;
    background: #ffffff;
}

/* ===================================================
   4. SLOT PRODUCT CARD (3 Ürünlü Kategoriler İçin Tamamlayıcı Kart)
   =================================================== */
.fastorder-app-container .fo-product-card.fo-vip-custom-card,
#fastorder-app .fo-product-card.fo-vip-custom-card,
.fo-product-card.fo-vip-custom-card {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    justify-content: flex-start !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.fo-product-card.fo-vip-custom-card:hover,
.fastorder-app-container .fo-product-card.fo-vip-custom-card:hover,
#fastorder-app .fo-product-card.fo-vip-custom-card:hover {
    transform: translateY(-3px) !important;
    border-color: var(--fo-primary, #E20612) !important;
    box-shadow: var(--fo-shadow) !important;
}

@media (min-width: 769px) {
    .fastorder-app-container .fo-vip-custom-card .fo-card-media,
    .fo-vip-custom-card .fo-card-media {
        background: #ffffff !important;
        background-color: #ffffff !important;
        background-image: none !important;
        border-bottom: 1px solid #f1f5f9 !important;
        height: 200px !important;
        max-height: 210px !important;
        padding: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        position: relative !important;
    }

    .fo-vip-custom-card .fo-card-img {
        width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
        transform: scale(1.08) !important;
        transition: transform 0.25s ease !important;
        filter: none !important;
    }

    .fo-product-card.fo-vip-custom-card:hover .fo-card-img {
        transform: scale(1.15) !important;
    }

    .fastorder-app-container .fo-vip-custom-card .fo-card-body,
    .fo-vip-custom-card .fo-card-body {
        background: #ffffff !important;
        background-color: #ffffff !important;
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        padding: 12px 14px 14px 14px !important;
        box-sizing: border-box !important;
    }

    .fastorder-app-container .fo-vip-custom-card .fo-card-title,
    .fo-vip-custom-card .fo-card-title {
        color: #0f172a !important;
        font-size: 15px !important;
        font-weight: 800 !important;
        line-height: 1.25 !important;
        min-height: 38px !important;
        max-height: 42px !important;
        margin: 0 0 4px 0 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .fastorder-app-container .fo-vip-custom-card .fo-card-desc,
    .fo-vip-custom-card .fo-card-desc {
        color: #64748b !important;
        font-size: 12px !important;
        line-height: 1.35 !important;
        margin: 0 0 8px 0 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        box-sizing: border-box !important;
    }

    .fastorder-app-container .fo-vip-custom-card .fo-card-footer,
    .fo-vip-custom-card .fo-card-footer {
        border-top: 1px solid #f1f5f9 !important;
        background: transparent !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        margin-top: auto !important;
        padding-top: 10px !important;
        box-sizing: border-box !important;
    }

    .fo-vip-custom-card .fo-card-price {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: center !important;
        margin-right: auto !important;
        flex: 0 0 auto !important;
        text-align: left !important;
    }

    .fo-vip-custom-card .fo-current-price {
        color: #0f172a !important;
        font-size: 17px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }

    .fastorder-app-container .fo-vip-custom-card .fo-add-btn,
    .fo-vip-custom-card .fo-add-btn,
    .fo-vip-custom-card .fo-quick-add-btn {
        width: auto !important;
        max-width: fit-content !important;
        flex: 0 0 auto !important;
        margin-left: auto !important;
        padding: 8px 16px !important;
        height: auto !important;
        min-height: 38px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        border-radius: 10px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
    }
}

/* Mobile 2-Column Adaptation for VIP Custom Card (Kusursuz Hizalama & Boşluk Engelleme) */
@media (max-width: 768px) {
    .fastorder-app-container .fo-vip-custom-card,
    #fastorder-app .fo-vip-custom-card,
    .fo-vip-custom-card {
        border-radius: 10px !important;
        padding: 0 !important;
        overflow: hidden !important;
        min-width: 0 !important;
        box-shadow: 0 1px 4px rgba(0,0,0,0.05) !important;
    }

    .fastorder-app-container .fo-vip-custom-card .fo-card-media,
    .fo-vip-custom-card .fo-card-media {
        height: 120px !important;
        max-height: 125px !important;
        min-height: 120px !important;
        padding: 5px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        background: #ffffff !important;
    }

    .fo-vip-custom-card .fo-card-img {
        max-height: 110px !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center !important;
    }

    .fastorder-app-container .fo-vip-custom-card .fo-card-body,
    .fo-vip-custom-card .fo-card-body {
        padding: 8px 7px !important;
        display: flex !important;
        flex-direction: column !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    .fastorder-app-container .fo-vip-custom-card .fo-card-title,
    .fo-vip-custom-card .fo-card-title {
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        min-height: 32px !important;
        max-height: 32px !important;
        margin-bottom: 4px !important;
        -webkit-line-clamp: 2 !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        word-break: break-word !important;
    }

    .fastorder-app-container .fo-vip-custom-card .fo-card-desc,
    .fo-vip-custom-card .fo-card-desc {
        font-size: 11px !important;
        line-height: 1.2 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: 26px !important;
        margin-bottom: 5px !important;
        -webkit-line-clamp: 1 !important;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .fastorder-app-container .fo-vip-custom-card .fo-card-footer,
    .fo-vip-custom-card .fo-card-footer {
        padding: 6px 0 0 0 !important;
        margin-top: auto !important;
    }

    .fo-vip-custom-card .fo-card-price .fo-current-price {
        font-size: 16px !important;
    }

    .fastorder-app-container .fo-vip-custom-card .fo-add-btn,
    .fo-vip-custom-card .fo-add-btn,
    .fo-vip-custom-card .fo-quick-add-btn {
        padding: 6px 10px !important;
        min-height: 28px !important;
        font-size: 12px !important;
        border-radius: 8px !important;
    }
}

/* ==========================================================================
   MINIMUM ORDER AMOUNT PROGRESS BAR (Multilingual, Interactive & Animated)
   ========================================================================== */
.fo-min-order-note {
    background: #fffbeb !important;
    border: 1.5px solid #fde68a !important;
    border-radius: 12px !important;
    padding: 12px 14px !important;
    margin: 12px 0 !important;
    box-sizing: border-box !important;
    transition: all 0.35s ease !important;
    display: block;
}

.fo-min-order-note.fo-min-order-reached {
    background: #f0fdf4 !important;
    border-color: #86efac !important;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.12) !important;
}

.fo-min-order-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #92400e !important;
    margin-bottom: 8px !important;
}

.fo-min-order-reached .fo-min-order-header {
    color: #166534 !important;
}

.fo-min-order-title {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.fo-min-order-title strong {
    color: #b45309 !important;
}

.fo-min-order-reached .fo-min-order-title strong {
    color: #15803d !important;
}

.fo-min-order-percent {
    font-size: 11.5px !important;
    font-weight: 800 !important;
    background: rgba(245, 158, 11, 0.18) !important;
    color: #b45309 !important;
    padding: 2px 8px !important;
    border-radius: 999px !important;
    letter-spacing: 0.3px !important;
}

.fo-min-order-reached .fo-min-order-percent {
    background: rgba(34, 197, 94, 0.18) !important;
    color: #15803d !important;
}

.fo-min-order-bar-wrap {
    width: 100% !important;
    height: 9px !important;
    background: #e2e8f0 !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    position: relative !important;
    margin-bottom: 8px !important;
}

.fo-min-order-bar-fill {
    height: 100% !important;
    min-height: 9px !important;
    background: linear-gradient(90deg, #f59e0b 0%, #ea580c 100%) !important;
    border-radius: 999px !important;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: block !important;
}

.fo-min-order-reached .fo-min-order-bar-fill {
    background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%) !important;
}

.fo-min-order-subtext {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #b45309 !important;
    line-height: 1.4 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.fo-min-order-reached .fo-min-order-subtext {
    color: #15803d !important;
    font-weight: 700 !important;
}

/* Product Cards Universal Red Hover Border */
.fo-product-card,
.fo-popular-card,
.fo-about-prod-card,
.fo-catcard-item,
.fo-mb-product-card,
.fo-dual-card,
.fo-vip-custom-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease !important;
}

.fo-product-card:hover,
.fastorder-app-container .fo-product-card:hover,
.fo-products-grid .fo-product-card:hover,
.fastorder-app-container.fo-layout-list .fo-product-card:hover,
.fo-products-grid.fo-layout-list .fo-product-card:hover,
.fo-popular-card:hover,
.fo-about-prod-card:hover,
.fo-catcard-item:hover,
.fo-mb-product-card:hover,
.fo-dual-card:hover,
.fo-vip-custom-card:hover,
#fo-menu-board-root .fo-mb-product-card:hover,
.fo-dual-slider-track .fo-dual-card:hover {
    border-color: var(--fo-primary, #E20612) !important;
    box-shadow: 0 8px 20px rgba(226, 6, 18, 0.12) !important;
}

/* Universal Add to Cart / Sepete Ekle Buttons (#F09719) */
.fo-add-btn,
.fo-card-add-cart-btn,
.fo-pcard-add-btn,
.fo-mb-add-btn,
.fo-search-add-btn,
.fo-dual-card-btn,
.fo-about-add-btn,
.fo-modal-submit-btn,
#fo-modal-add-to-cart-btn,
button.fo-quick-add-btn,
button.fo-open-modal-trigger,
.fastorder-app-container .fo-add-btn,
.fastorder-app-container .fo-card-add-cart-btn,
.fo-card-footer.has-variants .fo-add-btn,
.fo-card-footer.has-variants .fo-card-add-cart-btn,
.fo-card-footer.has-variants button.fo-add-btn,
.fo-card-footer.has-variants button.fo-card-add-cart-btn,
.fo-mb-single-pricing .fo-mb-add-btn,
.fo-mb-card-actions .fo-card-add-cart-btn {
    background: #F09719 !important;
    background-color: #F09719 !important;
    border-color: #F09719 !important;
    color: #ffffff !important;
    box-shadow: 0 3px 10px rgba(240, 151, 25, 0.3) !important;
}

.fo-add-btn:hover,
.fo-card-add-cart-btn:hover,
.fo-pcard-add-btn:hover,
.fo-mb-add-btn:hover,
.fo-search-add-btn:hover,
.fo-dual-card-btn:hover,
.fo-about-add-btn:hover,
.fo-modal-submit-btn:hover,
#fo-modal-add-to-cart-btn:hover,
button.fo-quick-add-btn:hover,
button.fo-open-modal-trigger:hover,
.fastorder-app-container .fo-add-btn:hover,
.fastorder-app-container .fo-card-add-cart-btn:hover,
.fo-card-footer.has-variants .fo-add-btn:hover,
.fo-card-footer.has-variants .fo-card-add-cart-btn:hover,
.fo-card-footer.has-variants button.fo-add-btn:hover,
.fo-card-footer.has-variants button.fo-card-add-cart-btn:hover,
.fo-mb-single-pricing .fo-mb-add-btn:hover,
.fo-mb-card-actions .fo-card-add-cart-btn:hover {
    background: #d98210 !important;
    background-color: #d98210 !important;
    border-color: #d98210 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(240, 151, 25, 0.45) !important;
}

.fo-add-cart-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 5px !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
}
.fo-add-cart-icon svg,
.fo-add-cart-icon .fo-cart-svg {
    display: block !important;
    width: 15px !important;
    height: 15px !important;
    stroke: #ffffff !important;
    fill: none !important;
}
.fo-add-cart-icon .fo-cart-svg circle {
    fill: #ffffff !important;
}

/* Product Titles - Explicitly Transparent Background */
.fo-card-title,
.fo-dual-card-title,
.fo-mb-product-title,
.fo-about-prod-name,
h3.fo-card-title,
h4.fo-dual-card-title {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

