/* ========================================
   FOOD ORDERING SYSTEM – BOLD DARK RED THEME
   ======================================== */
body {
    background: #f9f5f5 !important;
    font-family: 'Arial', sans-serif;
}

/* Container */
.fos-menu-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.fos-category-pills {
    margin: 8px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
#cancel-checkout {
  width: 25% !important;
}
.fos-category-pill {
    background: #e0e0e0;
    color: #333;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-block;
}
/* Section Titles */
.fos-section-title {
    font-size: 2.2em;
    font-weight: 900;
    color: #8B0000;
    text-align: left;
    margin: 40px 0 20px 0;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

/* Filter bar */
.fos-filter-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    padding: 20px 0;
    background: #fff;
    border-radius: 16px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.fos-filter-icon {
    text-align: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 14px;
    transition: all 0.3s ease;
    min-width: 70px;
    opacity: 0.7;
}

.fos-filter-icon img {
    width: 36px;
    height: 36px;
    filter: grayscale(100%);
    transition: 0.3s;
}

.fos-filter-icon span {
    display: block;
    margin-top: 6px;
    font-size: 0.85em;
    font-weight: 600;
    color: #555;
}

.fos-filter-icon:hover,
.fos-filter-icon.active {
    background: #f0f8ff;
    opacity: 1;
    transform: translateY(-2px);
}

.fos-filter-icon:hover img,
.fos-filter-icon.active img {
    filter: grayscale(0);
}

/* Product Grid – Flexbox instead of CSS Grid */
.fos-product-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding: 20px 0;
    justify-content: center;
}

.fos-product {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    width: calc(33.333% - 17px);
    margin-bottom: 6px;
    flex-grow: 0;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .fos-product {
        width: calc(50% - 12.5px);
    }
}

@media (max-width: 600px) {
    .fos-product {
        width: 100%;
        max-width: 380px;
        margin-left: auto;
        margin-right: auto;
    }
    .fos-product-grid {
        gap: 20px;
    }
}

/* Product Card */
.fos-product:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.15);
}

.fos-product-img {
    height: 200px;
    overflow: hidden;
    background: #f8f8f8;
}

.fos-product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
    background: #f8f8f8;
}

.fos-product:hover .fos-product-img img {
    transform: scale(1.05);
}

/* Product Info */
.fos-product-info {
    padding: 20px;
    text-align: left;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.fos-product-info h3 {
    margin: 0 0 12px;
    font-size: 1.4em;
    font-weight: 800;
    color: #8B0000;
    line-height: 1.2;
}

.fos-desc {
    font-size: 0.95em;
    color: #666;
    margin: 0 0 15px;
    line-height: 1.4;
    font-weight: 500;
}

.fos-price {
    font-size: 1.6em;
    font-weight: 900;
    color: #8B0000;
    margin-bottom: 15px;
}

/* Add Row */
.fos-add-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.fos-qty {
    width: 60px;
    padding: 10px 6px;
    border: 2px solid #ddd;
    border-radius: 12px;
    text-align: center;
    font-size: 1em;
    font-weight: 600;
}

.fos-add-to-cart {
    flex: 1;
    background: transparent !important;
    color: #2830a7 !important;
    border: 2px solid #2830a7 !important;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fos-add-to-cart:hover {
    background: #2830a7 !important;
    color: white !important;
    transform: translateY(-2px);
}

/* ==================== FEATURED SECTION ==================== */
.fos-featured-section {
    margin: 50px 0;
}

.fos-featured-section .fos-section-title {
    color: #8B0000;
}

.fos-carousel {
    display: flex;
    overflow-x: auto;
    gap: 25px;
    padding: 0 10px 25px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.fos-carousel::-webkit-scrollbar {
    height: 8px;
}

.fos-carousel::-webkit-scrollbar-thumb {
    background: #8B0000;
    border-radius: 4px;
}

.fos-featured-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.1);
    display: flex;
    min-width: 350px;
    padding: 20px;
    transition: transform 0.3s;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.fos-featured-card:hover {
    transform: translateY(-8px);
}

.fos-featured-img {
    width: 140px;
    height: 140px;
    overflow: hidden;
    border-radius: 15px;
    flex-shrink: 0;
}

.fos-featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fos-featured-info {
    padding-left: 20px;
    flex: 1;
    text-align: left;
}

.fos-featured-info h3 {
    margin: 0 0 10px;
    font-size: 1.5em;
    font-weight: 800;
    color: #8B0000;
}

/* ==================== SPECIAL DEALS SECTION ==================== */
.fos-special-section {
    margin: 60px 0;
}

.fos-special-carousel {
    display: flex;
    overflow-x: auto;
    gap: 30px;
    padding: 0 10px 30px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.fos-special-carousel::-webkit-scrollbar {
    height: 8px;
}

.fos-special-carousel::-webkit-scrollbar-thumb {
    background: #8B0000;
    border-radius: 4px;
}

.fos-special-deal-card {
    background: #fff;
    border-radius: 25px;
    box-shadow: 0 8px 35px rgba(139, 0, 0, 0.15);
    min-width: 65%;
    padding: 25px;
    transition: transform 0.3s;
    scroll-snap-align: start;
    position: relative;
   /*border: 3px solid #8B0000;*/
    flex-shrink: 0;
}

.fos-special-deal-card:hover {
    transform: translateY(-8px);
}

.fos-special-badge {
  position: absolute;
  top: 8px;
  left: 15px;
  padding: 4px 17px;
  border-radius: 20px;
  font-size: 0.9em;
  font-weight: 800;
  z-index: 2;
  text-transform: uppercase;
  width: 30%;
}

.fos-special-deal-card.available .fos-special-badge {
    background: #28a745;
    color: white;
}

.fos-special-deal-card.upcoming .fos-special-badge {
    background: #ffc107;
    color: #333;
}

.fos-special-deal-content {
    display: flex;
    gap: 25px;
    align-items: center;
}

.fos-special-deal-img {
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: 20px;
    flex-shrink: 0;
}

.fos-special-deal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fos-special-deal-info {
    flex: 1;
    text-align: left;
}

.fos-special-title {
    margin: 0 0 15px;
    font-size: 2em;
    font-weight: 900;
    color: #8B0000;
    line-height: 1.1;
}

.fos-special-desc {
    font-size: 1.1em;
    color: #666;
    margin: 0 0 20px;
    line-height: 1.4;
    font-weight: 600;
}

.fos-special-price {
    font-size: 2.2em;
    font-weight: 900;
    color: #8B0000;
    margin-bottom: 20px;
}

/* Timer Styles */
.fos-timer {
    font-size: 1.1em;
    color: #dc3545;
    margin-bottom: 20px;
    font-weight: 800;
}

.fos-timer.upcoming {
    color: #ffc107;
    font-weight: 800;
}

/* Disabled state */
.fos-add-row.disabled {
    opacity: 0.7;
}

.fos-add-row.disabled .fos-qty,
.fos-add-row.disabled .fos-add-to-cart {
    cursor: not-allowed;
}

.fos-add-row.disabled .fos-add-to-cart {
    background: #6c757d !important;
    border-color: #6c757d !important;
    color: white !important;
}

/* Mini Cart */
#fos-mini-cart {
    background: #fff;
    border-radius: 18px;
    padding: 20px 25px;
    margin: 20px auto;
    max-width: 900px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 1.1em;
}

#fos-mini-cart .fos-cart-summary {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

#checkout-btn {
    background: #8B0000;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
    font-size: 1em;
}

#checkout-btn:hover {
    background: #a00;
    transform: translateY(-2px);
}

/* Placeholder */
.fos-placeholder {
    height: 100%;
    background: linear-gradient(45deg, #f0f0f0 25%, #f8f8f8 50%, #f0f0f0 75%);
    background-size: 200% 200%;
    animation: placeholder 2s infinite;
}

@keyframes placeholder {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
 .et_flex_section > .et_pb_row {
  margin: initial;
  width: 100% !important;
}
#et_search_icon {
  display: none !important;
}

.mobile_menu_bar.mobile_menu_bar_toggle {
  display: none !important;
}


@media (max-width: 980px) {
  .et_pb_section {
    padding-bottom: 0;
  }
  .fos-banner-image {
  width: 100%;
  height: 67% !important;
  position: absolute;
  top: 0;
  left: 0;
}
.et_pb_section_0.et_pb_section {
  margin-top: -10px;
  margin-bottom: -70px;
}
}
/* ==================== CHECKOUT MODAL STYLES ==================== */
#checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

#checkout-modal .modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

#checkout-modal h3 {
    color: #8B0000;
    margin: 0 0 20px 0;
    font-size: 1.5em;
    text-align: center;
    font-weight: bold;
}

#checkout-modal input,
#checkout-modal textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

#checkout-modal input:focus,
#checkout-modal textarea:focus {
    outline: none;
    border-color: #8B0000;
}

#checkout-modal textarea {
    min-height: 80px;
    resize: vertical;
}

#checkout-modal button {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

#send-whatsapp {
    background: #25D366;
    color: white;
}

#send-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

#close-modal {
    background: #6c757d;
    color: white;
}

#close-modal:hover {
    background: #545b62;
    transform: translateY(-2px);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    #checkout-modal {
        padding: 10px;
    }
    
    #checkout-modal .modal-content {
        padding: 20px;
        border-radius: 10px;
    }
    
    #checkout-modal h3 {
        font-size: 1.3em;
    }
    
    #checkout-modal input,
    #checkout-modal textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    #checkout-modal button {
        padding: 12px;
        font-size: 14px;
    }
}
/* =============================================
   REMOVE DIVI ROW WIDTH CONSTRAINT ON MOBILE
   ============================================= */
@media (max-width: 980px) {
    /* Target ALL Divi rows (standard + flex) */
    .et_pb_row,
    .et_pb_row.et_pb_row_fullwidth,
    .et_pb_section > .et_pb_row {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box;
    }

    /* If your theme uses the CSS custom property version */
    .et_pb_row:not([class*="et_flex_column"]) {
        width: 100% !important;
        max-width: none !important;
    }

    /* Extra safety – kill any inline max-width Divi adds */
    .et_pb_row[style*="max-width"] {
        max-width: 100% !important;
    }
}
.fos-filter-bar {
    display: none !important;     /* Hide ALL of them first */
}

#fos-main-filter-bar {
    display: flex !important;     /* Show ONLY the correct one */
    opacity: 1 !important;
    visibility: visible !important;
}

/* Extra safety — if someone ever changes the ID to something else */
#fos-unique-filter-bar,
#fos-main-filter-bar {
    display: flex !important;
}