/* =========================
   Speedy Market - Food Express Theme
   Theme Key: speedyfood
========================= */

html,
body.theme-speedyfood {
    width: 100%;
    max-width: 100%;
}

body.theme-speedyfood {
    background-color: var(--theme-background, #FFF7ED);
}

.speedyfood-page {
    width: 100%;
    max-width: 100%;
    min-height: 100vh;
    background-color: var(--theme-background, #FFF7ED);
    color: var(--theme-text, #1F2937);
    font-family: var(--theme-font_family, sahan-vazir), Tahoma, Arial, sans-serif;
    font-size: var(--theme-base_font_size, 14px);
    direction: rtl;
}

.speedyfood-page * {
    box-sizing: border-box;
}

.speedyfood-page a {
    text-decoration: none;
    color: inherit;
}

.food-main {
    width: 100%;
    max-width: 1220px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 18px;
    padding-left: 18px;
    padding-bottom: 95px;
}

/* =========================
   Header
========================= */

.food-header {
    width: 100%;
    background-color: var(--theme-surface, #FFFFFF);
    backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 500;
}

.food-header-container {
    width: 100%;
    max-width: 1220px;
    margin-right: auto;
    margin-left: auto;
    padding: 12px 18px;
    background-color: transparent;
}

.food-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.food-brand-area {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.food-header-logo {
    width: 48px;
    height: 48px;
    background-color: var(--theme-surface, #FFFFFF);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 auto;
}

.food-logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.food-brand-text {
    min-width: 0;
}

.food-header-title {
    margin: 0;
    color: var(--theme-text, #1F2937);
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.food-header-meta {
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--theme-muted, #6B7280);
    font-size: 12px;
}

.food-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #16A34A;
    display: inline-block;
}

.food-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.food-call-button,
.food-login-button {
    height: 38px;
    border: 0;
    border-radius: var(--theme-button_radius, 14px);
    padding-right: 14px;
    padding-left: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.food-login-button {
    background-color: var(--theme-primary, #B91C1C);
    color: #FFFFFF;
}

.food-call-button {
    background-color: var(--theme-secondary, #F59E0B);
    color: #111827;
}

.food-account-menu {
    position: relative;
}

.food-account-guest .food-account-dropdown {
    display: none !important;
}

.food-account-trigger {
    min-height: 38px;
    border: 0;
    background-color: transparent;
    color: var(--theme-text, #1F2937);
    padding: 4px 6px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
}

.food-account-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: color-mix(in srgb, var(--theme-primary, #B91C1C) 10%, transparent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.food-account-trigger-text {
    max-width: 110px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.food-account-arrow {
    color: var(--theme-muted, #6B7280);
    font-size: 14px;
    line-height: 1;
}

.food-account-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 215px;
    background-color: var(--theme-surface, #FFFFFF);
    border: 1px solid var(--theme-border, #FED7AA);
    border-radius: var(--theme-card_radius, 18px);
    padding: 10px;
    box-shadow: 0 14px 35px rgba(127, 29, 29, 0.14);
    display: none;
    z-index: 700;
}

.food-account-logged-in:hover .food-account-dropdown,
.food-account-logged-in.is-open .food-account-dropdown {
    display: block;
}

.food-account-name {
    padding: 9px;
    margin-bottom: 6px;
    text-align: center;
    background-color: var(--theme-primary-dark, #7F1D1D);
    color: #FFFFFF;
    border-radius: 13px;
    font-size: 13px;
    font-weight: 800;
}

.food-account-divider {
    height: 1px;
    background-color: var(--theme-border, #FED7AA);
    margin: 6px 0;
}

.food-account-link {
    width: 100%;
    border: 0;
    background-color: transparent;
    color: var(--theme-text, #1F2937);
    text-align: right;
    padding: 9px 10px;
    border-radius: 12px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
}

.food-account-link:hover {
    background-color: rgba(185, 28, 28, 0.08);
    color: var(--theme-primary, #B91C1C);
}

.food-account-link.is-hidden {
    display: none;
}

.food-account-logout-link {
    color: #DC2626;
}

.food-account-logout-link:hover {
    background-color: rgba(220, 38, 38, 0.08);
    color: #DC2626;
}

.food-header-address {
    margin-top: 10px;
    color: var(--theme-muted, #6B7280);
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}


/* =========================
   Hero
========================= */

.food-hero {
    margin-top: 0;
    min-height: 400px;
    border-radius: var(--theme-hero_radius, 26px);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(127, 29, 29, 0.18);
}

.food-hero-inner {
    min-height: 310px;
    padding: 30px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
    align-items: center;
}

.food-hero-content {
    max-width: 620px;
}

.food-hero-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.18);
    color: #FFFFFF;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.food-hero-title {
    margin: 16px 0 0 0;
    color: #FFFFFF;
    font-size: 30px;
    line-height: 1.7;
    font-weight: 900;
}

.food-hero-title span {
    color: var(--theme-secondary, #F59E0B);
}

.food-hero-text {
    margin: 10px 0 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 2;
    max-width: 540px;
}

.food-hero-actions {
    margin-top: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.food-hero-main-button,
.food-hero-second-button {
    min-height: 42px;
    border-radius: var(--theme-button_radius, 14px);
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 13px;
}

.food-hero-main-button {
    background-color: var(--theme-secondary, #F59E0B);
    color: #111827;
}

.food-hero-second-button {
    background-color: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.food-hero-info-card {
    background-color: rgba(255, 255, 255, 0.94);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.13);
}

.food-hero-info-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 0;
}

.food-hero-info-row + .food-hero-info-row {
    border-top: 1px solid rgba(254, 215, 170, 0.8);
}

.food-hero-info-icon {
    font-size: 22px;
    line-height: 1;
}

.food-hero-info-row strong {
    display: block;
    color: var(--theme-text, #1F2937);
    font-size: 14px;
    margin-bottom: 4px;
}

.food-hero-info-row small {
    color: var(--theme-muted, #6B7280);
    font-size: 12px;
    line-height: 1.8;
}

.food-hero-address {
    margin-top: 12px;
    padding: 10px;
    background-color: rgba(185, 28, 28, 0.07);
    border-radius: 14px;
    color: var(--theme-text, #1F2937);
    font-size: 12px;
    line-height: 1.8;
}

/* =========================
   Search
========================= */

.food-search-box {
    background-color: var(--theme-surface, #FFFFFF);
    border: 1px solid var(--theme-border, #FED7AA);
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(127, 29, 29, 0.06);
    margin-top: 10px;
}

.food-search-label {
    display: block;
    color: var(--theme-text, #1F2937);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 8px;
}

.food-search-input-wrap {
    position: relative;
}

.food-search-icon {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: var(--theme-muted, #6B7280);
}

.food-search-input {
    width: 100%;
    height: 46px;
    border: 1px solid var(--theme-border, #FED7AA);
    border-radius: 16px;
    background-color: #FFFDFB;
    color: var(--theme-text, #1F2937);
    padding-right: 42px;
    padding-left: 14px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
}

.food-search-input:focus {
    border-color: var(--theme-primary, #B91C1C);
    box-shadow: 0 0 0 4px rgba(185, 28, 28, 0.08);
}

/* =========================
   Category Bar
========================= */

.food-category-section {
    background-color: var(--theme-surface, #FFFFFF);
    border: 1px solid var(--theme-border, #FED7AA);
    border-radius: 20px;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(127, 29, 29, 0.06);
    margin-top: 8px;
    position: sticky;
    top: var(--food-category-sticky-top, 68px);
    z-index: 490;
}

.food-category-heading {
    color: var(--theme-text, #1F2937);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 10px;
}

.food-category-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--theme-primary, #B91C1C) rgba(254, 215, 170, 0.45);
    padding-bottom: 15px;
}

.food-category-scroll::-webkit-scrollbar {
    height: 5px;
}

.food-category-scroll::-webkit-scrollbar-track {
    background-color: rgba(254, 215, 170, 0.45);
    border-radius: 999px;
}

.food-category-scroll::-webkit-scrollbar-thumb {
    background-color: var(--theme-primary, #B91C1C);
    border-radius: 999px;
}

.food-category-scroll::-webkit-scrollbar-thumb:hover {
    background-color: var(--theme-primary-dark, #7F1D1D);
}

.food-category-list {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: max-content;
}

.food-category-item {
    min-height: 42px;
    border: 1px solid var(--theme-border, #FED7AA);
    border-radius: var(--theme-category_radius, 999px);
    background-color: #FFFFFF;
    color: var(--theme-text, #1F2937);
    padding: 7px 10px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
}

.food-category-item.active,
.food-category-item:hover {
    background-color: var(--theme-primary, #B91C1C);
    color: #FFFFFF;
    border-color: var(--theme-primary, #B91C1C);
}

.food-category-image,
.food-category-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    background-color: rgba(245, 158, 11, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.food-category-title {
    font-size: 12px;
    font-weight: 700;
}

/* =========================
   Section Heading
========================= */

.food-menu-section {
    margin-top: var(--theme-section_gap, 18px);
}

.food-section-heading {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.food-section-kicker {
    color: var(--theme-primary, #B91C1C);
    font-size: 12px;
    font-weight: 800;
}

.food-section-title {
    margin: 4px 0 0 0;
    color: var(--theme-text, #1F2937);
    font-size: 13px;
    font-weight: 900;
}

.food-section-note {
    color: var(--theme-muted, #6B7280);
    font-size: 12px;
}

/* =========================
   Products Row
========================= */

.food-products-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.food-empty-products {
    grid-column: 1 / -1;
    background-color: var(--theme-surface, #FFFFFF);
    border: 1px dashed var(--theme-border, #FED7AA);
    border-radius: 22px;
    padding: 30px;
    text-align: center;
    color: var(--theme-muted, #6B7280);
}

.food-empty-icon {
    font-size: 36px;
}

.food-empty-products h3 {
    margin: 10px 0 6px 0;
    color: var(--theme-text, #1F2937);
    font-size: 13px;
}

/* =========================
   Product Card
========================= */

.food-product-card {
    background-color: var(--theme-surface, #FFFFFF);
    border: 1px solid rgba(254, 215, 170, 0.9);
    border-radius: var(--theme-card_radius, 18px);
    padding: var(--theme-card_padding, 12px);
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 12px;
    min-height: 150px;
    box-shadow: 0 10px 30px rgba(127, 29, 29, 0.07);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.food-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(127, 29, 29, 0.11);
}

.food-product-image-link {
    display: block;
    width: 112px;
    height: 126px;
    border-radius: 16px;
    overflow: hidden;
    background-color: #FFF7ED;
}

.food-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.food-product-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.food-product-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.food-product-name-link {
    min-width: 0;
}

.food-product-name {
    margin: 0;
    color: var(--theme-text, #1F2937);
    font-size: var(--theme-product_title_size, 14px);
    font-weight: 900;
    line-height: 1.8;
}

.food-product-badge {
    border-radius: 999px;
    background-color: rgba(245, 158, 11, 0.16);
    color: #92400E;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 800;
    flex: 0 0 auto;
}

.food-product-desc {
    margin: 6px 0 0 0;
    color: var(--theme-muted, #6B7280);
    font-size: 12px;
    line-height: 1.8;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.food-product-desc-empty {
    opacity: 0.65;
}

.food-product-bottom {
    margin-top: auto;
    padding-top: 10px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
}

.food-product-price-area {
    min-width: 0;
}

.food-product-discount-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
}

.food-product-discount {
    background-color: var(--theme-primary, #B91C1C);
    color: #FFFFFF;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    padding: 2px 7px;
}

.food-product-price-old {
    color: var(--theme-muted, #6B7280);
    font-size: 12px;
    text-decoration: line-through;
}

.food-product-price-final {
    color: var(--theme-primary, #B91C1C);
    font-size: var(--theme-price_size, 15px);
    font-weight: 900;
}

.food-product-price-final span {
    color: var(--theme-muted, #6B7280);
    font-size: 11px;
    font-weight: 700;
}

.food-product-price-hidden {
    display: none;
}

.food-product-instock,
.food-product-unavailable {
    color: #DC2626;
    font-size: 12px;
    font-weight: 800;
}

.food-product-contact-price {
    color: var(--theme-primary, #B91C1C);
    font-size: 13px;
    font-weight: 900;
}

.food-product-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
}

.food-product-action-button {
    width: 34px;
    height: 34px;
    border-radius: var(--theme-button_radius, 14px);
    border: 1px solid var(--theme-primary, #B91C1C);
    background-color: #FFFFFF;
    color: var(--theme-primary, #B91C1C);
    font-size: 19px;
    font-weight: 900;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: inherit;
}

.food-product-plus {
    background-color: var(--theme-primary, #B91C1C);
    color: #FFFFFF;
}

.food-product-action-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.food-product-qty {
    min-width: 18px;
    text-align: center;
    color: var(--theme-text, #1F2937);
    font-size: 13px;
    font-weight: 900;
}

.food-product-select-options-button {
    min-height: 34px;
    border-radius: var(--theme-button_radius, 14px);
    border: 1px solid var(--theme-primary, #B91C1C);
    background-color: var(--theme-primary, #B91C1C);
    color: #ffffff !important;
    padding: 7px 12px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    text-decoration: none !important;
}

.food-product-select-options-button:hover {
    background-color: var(--theme-primary-dark, #7F1D1D);
    border-color: var(--theme-primary-dark, #7F1D1D);
    color: #ffffff !important;
}

.theme-speedyfood .product-card {
    scroll-margin-top: 150px;
}

/* =========================
   Amazing Section
========================= */

.food-amazing-section {
    margin-top: 10px;
    background: linear-gradient(135deg, var(--theme-primary, #B91C1C), var(--theme-primary-dark, #7F1D1D));
    border-radius: 26px;
    padding: 16px;
    box-shadow: 0 18px 45px rgba(127, 29, 29, 0.18);
    overflow: hidden;
}

.food-amazing-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #FFFFFF;
    margin-bottom: 14px;
}

.food-amazing-kicker {
    display: inline-block;
    color: var(--theme-secondary, #F59E0B);
    font-size: 12px;
    font-weight: 900;
}

.food-amazing-title {
    margin: 3px 0 0 0;
    font-size: 14px;
    font-weight: 900;
}

.food-amazing-subtitle {
    margin: 5px 0 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
}

.food-amazing-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background-color: rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.food-amazing-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

.food-amazing-scroll::-webkit-scrollbar {
    display: none;
}

.food-amazing-list {
    display: flex;
    gap: 12px;
    min-width: max-content;
}

.food-amazing-card {
    width: 250px;
    background-color: #FFFFFF;
    border-radius: 22px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}

.food-amazing-image-link {
    display: block;
    height: 130px;
    border-radius: 18px;
    overflow: hidden;
    background-color: #FFF7ED;
}

.food-amazing-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.food-amazing-card-body {
    padding-top: 10px;
}

.food-amazing-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.food-amazing-label {
    color: var(--theme-primary, #B91C1C);
    font-size: 11px;
    font-weight: 900;
}

.food-amazing-discount {
    background-color: var(--theme-primary, #B91C1C);
    color: #FFFFFF;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: 900;
}

.food-amazing-name {
    margin: 8px 0 0 0;
    color: var(--theme-text, #1F2937);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.7;
    min-height: 24px;
}

.food-amazing-desc {
    margin: 5px 0 0 0;
    color: var(--theme-muted, #6B7280);
    font-size: 12px;
    line-height: 1.7;
    min-height: 40px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.food-amazing-footer {
    margin-top: 10px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 8px;
}

.food-amazing-price-area {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.food-amazing-old-price {
    color: var(--theme-muted, #6B7280);
    font-size: 11px;
    text-decoration: line-through;
}

.food-amazing-final-price {
    color: var(--theme-primary, #B91C1C);
    font-size: 14px;
    font-weight: 900;
}

.food-amazing-final-price small {
    color: var(--theme-muted, #6B7280);
    font-size: 10px;
}

.food-amazing-unavailable {
    color: #DC2626;
    font-size: 12px;
    font-weight: 900;
}

.food-amazing-contact-price {
    color: var(--theme-primary, #B91C1C);
    font-size: 12px;
    font-weight: 900;
}

.food-amazing-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.food-amazing-action-button {
    width: 31px;
    height: 31px;
    border-radius: 12px;
    border: 1px solid var(--theme-primary, #B91C1C);
    background-color: #FFFFFF;
    color: var(--theme-primary, #B91C1C);
    font-size: 17px;
    font-weight: 900;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-family: inherit;
}

.food-amazing-plus {
    background-color: var(--theme-primary, #B91C1C);
    color: #FFFFFF;
}

.food-amazing-action-button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.food-amazing-qty {
    min-width: 16px;
    text-align: center;
    font-size: 12px;
    font-weight: 900;
}

/* =========================
   Cart Panel
========================= */

.food-cart-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(17, 24, 39, 0.45);
    backdrop-filter: blur(4px);
    z-index: 900;
    display: none;
}

.food-cart-panel {
    position: fixed;
    top: 0;
    left: 0;
    width: 390px;
    max-width: 94vw;
    height: 100vh;
    background-color: var(--theme-surface, #FFFFFF);
    z-index: 950;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    box-shadow: 20px 0 45px rgba(0, 0, 0, 0.16);
    border-top-right-radius: var(--theme-cart_radius, 22px);
    border-bottom-right-radius: var(--theme-cart_radius, 22px);
    overflow: hidden;
}

.food-cart-panel.is-open {
    transform: translateX(0);
}

.food-cart-panel-inside {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.food-cart-header {
    padding: 16px;
    border-bottom: 1px solid var(--theme-border, #FED7AA);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.food-cart-kicker {
    color: var(--theme-primary, #B91C1C);
    font-size: 14px;
    font-weight: 900;
}

.food-cart-title {
    margin: 3px 0 0 0;
    color: var(--theme-text, #1F2937);
    font-size: 14px;
    font-weight: 900;
}

.food-cart-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 14px;
    background-color: rgba(185, 28, 28, 0.08);
    color: var(--theme-primary, #B91C1C);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.food-cart-summary-mini {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-bottom: 1px solid var(--theme-border, #FED7AA);
}

.food-cart-summary-item span {
    display: block;
    color: var(--theme-muted, #6B7280);
    font-size: 11px;
}

.food-cart-summary-item strong {
    display: block;
    margin-top: 2px;
    color: var(--theme-text, #1F2937);
    font-size: 14px;
    font-weight: 900;
}

.food-cart-clear-button {
    border: 0;
    border-radius: 13px;
    background-color: rgba(220, 38, 38, 0.08);
    color: #DC2626;
    padding: 9px 10px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.food-cart-list-parent {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 12px 16px;
}

.food-cart-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.food-cart-empty {
    text-align: center;
    padding: 34px 12px;
    color: var(--theme-muted, #6B7280);
}

.food-cart-empty-icon {
    font-size: 34px;
}

.food-cart-empty h4 {
    margin: 8px 0 6px 0;
    color: var(--theme-text, #1F2937);
    font-size: 14px;
    font-weight: 900;
}

.food-cart-empty p {
    margin: 0;
    font-size: 12px;
    line-height: 1.9;
}

.food-checkout-summary {
    flex: 0 0 auto;
    padding: 14px 16px 16px 16px;
    border-top: 1px solid var(--theme-border, #FED7AA);
    background-color: var(--theme-surface, #FFFFFF);
}

.food-bill-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--theme-muted, #6B7280);
    font-size: 13px;
    margin-bottom: 9px;
}

.food-bill-row strong {
    color: var(--theme-text, #1F2937);
    font-weight: 900;
}

.food-bill-hr {
    border: 0;
    border-top: 1px dashed var(--theme-border, #FED7AA);
    margin: 10px 0;
}

.food-bill-total {
    color: var(--theme-text, #1F2937);
    font-size: 14px;
    font-weight: 900;
}

.food-bill-total strong {
    color: var(--theme-text, #1F2937);
    font-size: 14px;
}

.food-bill-total-off,
.food-bill-total-off strong {
    color: #16A34A;
    font-size: 12px;
}

.food-checkout-button {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: var(--theme-button_radius, 14px);
    background-color: var(--theme-primary, #B91C1C);
    color: #FFFFFF;
    font-family: inherit;
    font-size: 14px;
    font-weight: 900;
    cursor: pointer;
    margin-top: 8px;
}

.food-hidden-nav,
.food-hidden-menu,
.food-master-reg-button {
    display: none;
}

/* Cart Row Compatibility */

.food-cart-list .cart-item,
.food-cart-list .checkout-cart-item {
    background-color: var(--theme-surface, #FFFFFF);
    border: 1px solid var(--theme-border, #FED7AA);
    border-radius: 16px;
    padding: 10px;
    color: var(--theme-text, #1F2937);
}

.food-cart-list .cart-item-name,
.food-cart-list .checkout-cart-item-name {
    color: var(--theme-text, #1F2937);
    font-size: 13px;
    font-weight: 900;
}

.food-cart-list .cart-item-price,
.food-cart-list .checkout-cart-item-price {
    color: var(--theme-muted, #6B7280);
    font-size: 13px;
}

.food-cart-list .cart-item-offprice,
.food-cart-list .checkout-cart-item-offprice,
.food-cart-list .cart-bold-price {
    color: var(--theme-primary, #B91C1C);
    font-size: 13px;
    font-weight: 900;
}

.food-cart-list .cart-item-qty,
.food-cart-list .checkout-cart-item-qty {
    color: var(--theme-text, #1F2937);
}

.food-cart-list .cart-remove-button,
.food-cart-list .cart-add-button {
    border-color: var(--theme-primary, #B91C1C);
    color: var(--theme-primary, #B91C1C);
}

.food-cart-list .cart-add-button {
    background-color: var(--theme-primary, #B91C1C);
    color: #FFFFFF;
}

.food-cart-list .cart-remove-button {
    background-color: var(--theme-surface, #FFFFFF);
}

/* =========================
   Mobile Cart Bar
========================= */

.food-mobile-cart-bar {
    position: fixed;
    right: 12px;
    left: 12px;
    bottom: 12px;
    z-index: 800;
    background: linear-gradient(135deg, var(--theme-primary, #B91C1C), var(--theme-primary-dark, #7F1D1D));
    color: #FFFFFF;
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(127, 29, 29, 0.28);
    display: none;
    cursor: pointer;
}

.food-mobile-cart-content {
    min-height: 62px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.food-mobile-cart-icon-wrap {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.food-mobile-cart-icon {
    font-size: 21px;
}

.food-mobile-cart-badge {
    position: absolute;
    top: -5px;
    left: -5px;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    background-color: var(--theme-secondary, #F59E0B);
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-right: 5px;
    padding-left: 5px;
    font-size: 11px;
    font-weight: 900;
}

.food-mobile-cart-text {
    min-width: 0;
    flex: 1 1 auto;
}

.food-mobile-cart-text strong {
    display: block;
    font-size: 13px;
    font-weight: 900;
}

.food-mobile-cart-text span {
    display: block;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 11px;
}

.food-mobile-cart-price {
    text-align: left;
    flex: 0 0 auto;
}

.food-mobile-cart-price span {
    display: block;
    font-size: 14px;
    font-weight: 900;
}

.food-mobile-cart-price small {
    display: block;
    color: rgba(255, 255, 255, 0.75);
    font-size: 10px;
}

.theme-speedyfood .food-mobile-cart-text span {
    display: none !important;
}

/* =========================
   Footer
========================= */

.food-footer {
    margin-top: 28px;
    background-color: var(--theme-primary-dark, #7F1D1D);
    color: #FFFFFF;
}

.food-footer-container {
    width: 100%;
    max-width: 1220px;
    margin-right: auto;
    margin-left: auto;
    padding: 28px 18px 95px 18px;
}

.food-footer-main {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 0.8fr;
    gap: 18px;
}

.food-footer-title {
    margin: 0;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 900;
}

.food-footer-about {
    margin: 10px 0 0 0;
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    line-height: 2;
}

.food-footer-subtitle {
    margin: 0 0 10px 0;
    color: var(--theme-secondary, #F59E0B);
    font-size: 14px;
    font-weight: 900;
}

.food-footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #FFFFFF;
    margin-bottom: 10px;
    font-size: 13px;
}

.food-footer-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 13px;
    line-height: 2;
}

.food-footer-address p {
    margin: 0;
}

.food-footer-enamad {
    background-color: #FFFFFF;
    border-radius: 14px;
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 130px;
}

.food-footer-enamad-image {
    max-width: 100%;
    height: auto;
}

.food-footer-bottom {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 12px;
}

/* =========================
   Shadow Options
========================= */

.food-shadow-none {
    box-shadow: none !important;
}

.food-shadow-soft {
    box-shadow: 0 10px 30px rgba(127, 29, 29, 0.07) !important;
}

.food-shadow-medium {
    box-shadow: 0 16px 42px rgba(127, 29, 29, 0.14) !important;
}

/* =========================
   Responsive - Main Theme
========================= */

@media (min-width: 769px) {
    .food-header {
        width: calc(100% - 24px);
        max-width: 1320px;
        margin-right: auto;
        margin-left: auto;
        border-radius: 0 0 24px 24px;
    }

    .food-footer {
        width: calc(100% - 24px);
        max-width: 1320px;
        margin-right: auto;
        margin-left: auto;
        border-radius: 24px 24px 0 0;
    }
}

@media (min-width: 991px) {
    .theme-speedyfood:not(.product-page) .food-mobile-cart-bar {
        display: block;
        right: auto;
        left: 22px;
        bottom: 22px;
        width: 280px;
        border-radius: 20px;
        z-index: 850;
    }

    .theme-speedyfood:not(.product-page) .food-mobile-cart-content {
        min-height: 58px;
        padding: 9px 12px;
    }

    .theme-speedyfood:not(.product-page) .food-mobile-cart-icon-wrap {
        width: 40px;
        height: 40px;
        border-radius: 14px;
    }

    .theme-speedyfood:not(.product-page) .food-mobile-cart-text strong {
        font-size: 13px;
    }

    .theme-speedyfood:not(.product-page) .food-mobile-cart-text span {
        font-size: 11px;
    }

    .theme-speedyfood:not(.product-page) .food-mobile-cart-price span {
        font-size: 13px;
    }
}

@media (max-width: 990px) {
    .food-main {
        padding-right: var(--theme-page_padding_mobile, 12px);
        padding-left: var(--theme-page_padding_mobile, 12px);
        padding-bottom: 96px;
    }

    .food-header-container {
        padding-right: var(--theme-page_padding_mobile, 12px);
        padding-left: var(--theme-page_padding_mobile, 12px);
    }

    .food-call-button {
        display: none;
    }

    .food-header-logo {
        width: 43px;
        height: 43px;
        border-radius: 14px;
    }

    .food-header-title {
        font-size: 14px;
    }

    .food-header-meta {
        font-size: 11px;
    }

    .food-login-button {
        height: 36px;
        padding-right: 11px;
        padding-left: 11px;
        font-size: 12px;
    }

    .food-account-trigger {
        min-height: 36px;
        font-size: 12px;
    }

    .food-account-trigger-text {
        max-width: 86px;
    }

    .food-header-address {
        display: none;
    }

    .food-hero {
        margin-top: 0;
        min-height:350px;
        border-radius: 22px;
    }

    .food-hero-inner {
        min-height: 250px;
        padding: 20px;
        grid-template-columns: 1fr;
    }

    .food-hero-title {
        font-size: 18px;
    }

    .food-hero-text {
        font-size: 13px;
    }

    .food-hero-info-card {
        display: none;
    }

    .food-search-box,
    .food-category-section {
        border-radius: 0;
        overflow: hidden;
        margin-right: calc(var(--theme-page_padding_mobile, 12px) * -1);
        margin-left: calc(var(--theme-page_padding_mobile, 12px) * -1);
        border-right: 0;
        border-left: 0;
        box-shadow: 0 10px 24px rgba(127, 29, 29, 0.08);
    }

    .food-category-section {
        overflow: visible;
    }

    .food-section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .food-section-note {
        display: none;
    }

    .food-products-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .food-product-card {
        grid-template-columns: 94px 1fr;
        gap: 10px;
        min-height: 132px;
    }

    .food-product-image-link {
        width: 94px;
        height: 112px;
        border-radius: 15px;
    }

    .food-product-desc {
        min-height: 36px;
        -webkit-line-clamp: 2;
    }

    .food-product-action-button {
        width: 32px;
        height: 32px;
    }

    .food-amazing-section {
        margin-right: calc(var(--theme-page_padding_mobile, 12px) * -1);
        margin-left: calc(var(--theme-page_padding_mobile, 12px) * -1);
        border-radius: 0;
    }

    .food-amazing-card {
        width: 225px;
    }

    .food-cart-panel {
        width: 100%;
        max-width: 100vw;
        border-top-right-radius: 24px;
        border-bottom-right-radius: 0;
    }

    .food-mobile-cart-bar {
        display: block;
    }

    .food-footer-main {
        grid-template-columns: 1fr;
    }

    .food-footer-bottom {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .store-hero,
    .food-hero {
        width: 100vw;
        max-width: 100vw;
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
        border-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
    }

    .store-hero-inner,
    .food-hero-inner {
        border-radius: 0 !important;
    }

    .food-header,
    .food-footer {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
        border-radius: 0;
    }
}

@media (max-width: 560px) {
    .food-header-actions {
        gap: 5px;
    }

    .food-account-button {
        max-width: 96px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .food-hero-title {
        font-size: 18px;
    }

    .food-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .food-hero-main-button,
    .food-hero-second-button {
        width: 100%;
    }

    .food-product-card {
        padding: 10px;
    }

    .food-product-name {
        font-size: 13px;
    }

    .food-product-desc {
        font-size: 11px;
    }

    .food-product-bottom {
        gap: 6px;
    }

    .food-product-actions {
        gap: 5px;
    }

    .food-product-select-options-button {
        min-height: 32px;
        padding: 6px 10px;
        font-size: 11px;
    }

    .food-mobile-cart-text span {
        display: none;
    }

    .food-mobile-cart-price span {
        font-size: 13px;
    }
}

/* =========================
   Product Page
========================= */

body.theme-speedyfood.product-page {
    background-color: var(--theme-background, #FFF7ED) !important;
}

body.theme-speedyfood.product-page .speedyfood-page,
body.theme-speedyfood.product-page .speedyfood-product-page {
    background: transparent !important;
    background-color: transparent !important;
}

.theme-speedyfood.product-page .food-header,
.theme-speedyfood.product-page .food-header *,
.theme-speedyfood.product-page .food-account-dropdown,
.theme-speedyfood.product-page .food-account-dropdown *,
.theme-speedyfood.product-page .food-login-button,
.theme-speedyfood.product-page .food-call-button,
.theme-speedyfood.product-page .food-account-trigger,
.theme-speedyfood.product-page .food-account-link {
    font-family: var(--theme-font_family, sahan-vazir), Tahoma, Arial, sans-serif !important;
}

.theme-speedyfood.product-page .food-header-title {
    font-size: 14px;
    font-weight: 800;
    color: var(--theme-text, #1F2937);
}

.theme-speedyfood.product-page .food-header-meta,
.theme-speedyfood.product-page .food-status-text,
.theme-speedyfood.product-page .food-header-address,
.theme-speedyfood.product-page .food-header-address-text {
    color: var(--theme-muted, #6B7280);
}

body.theme-speedyfood.product-page .store-header.food-header {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

.theme-speedyfood.product-page .product-purchase-box {
    margin-top: 16px;
}

.theme-speedyfood.product-page #btn_add_to_cart,
.theme-speedyfood.product-page #btn_contact_for_price {
    width: 100%;
    min-height: 46px;
    border: 0 !important;
    border-radius: var(--theme-button_radius, 14px) !important;
    background: linear-gradient(135deg, var(--theme-primary, #B91C1C), var(--theme-primary-dark, #7F1D1D)) !important;
    color: #ffffff !important;
    font-family: var(--theme-font_family, sahan-vazir), Tahoma, Arial, sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    line-height: 1.8;
    padding: 11px 16px !important;
    text-align: center;
    box-shadow: 0 10px 24px rgba(127, 29, 29, 0.18);
    cursor: pointer;
}

.theme-speedyfood.product-page #btn_add_to_cart:hover,
.theme-speedyfood.product-page #btn_contact_for_price:hover {
    filter: brightness(1.03);
}

.theme-speedyfood.product-page #btn_add_to_cart:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
}

.theme-speedyfood.product-page #lbl_product_unavailable {
    width: 100%;
    border: 0 !important;
    border-radius: var(--theme-button_radius, 14px) !important;
    background-color:#bb2d3b!important;
    color: #ffffff !important;
    font-family: var(--theme-font_family, sahan-vazir), Tahoma, Arial, sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    line-height: 1.8;
    padding: 9px 13px !important;
    text-align: center;
}

.theme-speedyfood.product-page .product-variation-box {
    margin-top: 14px;
    margin-bottom: 18px !important;
    padding: 12px;
    background-color: rgba(255, 247, 237, 0.75);
    border: 1px solid var(--theme-border, #FED7AA);
    border-radius: var(--theme-card_radius, 18px);
}

.theme-speedyfood.product-page .variation-attribute {
    margin-bottom: 14px !important;
}

.theme-speedyfood.product-page .variation-attribute:last-child {
    margin-bottom: 0 !important;
}

.theme-speedyfood.product-page .variation-attribute-title {
    margin: 0 0 9px 0;
    color: var(--theme-text, #1F2937);
    font-family: var(--theme-font_family, sahan-vazir), Tahoma, Arial, sans-serif !important;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.8;
}

.theme-speedyfood.product-page .variation-options {
    gap: 8px !important;
}

.theme-speedyfood.product-page .variation-option {
    min-height: 36px;
    border: 1px solid rgba(185, 28, 28, 0.24) !important;
    border-radius: 999px !important;
    background-color: #ffffff !important;
    color: var(--theme-primary, #B91C1C) !important;
    font-family: var(--theme-font_family, sahan-vazir), Tahoma, Arial, sans-serif !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    line-height: 1.6;
    padding: 7px 13px !important;
    box-shadow: none !important;
}

.theme-speedyfood.product-page .variation-option:hover,
.theme-speedyfood.product-page .variation-option:focus {
    border-color: var(--theme-primary, #B91C1C) !important;
    background-color: rgba(185, 28, 28, 0.07) !important;
    color: var(--theme-primary, #B91C1C) !important;
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.08) !important;
}

.theme-speedyfood.product-page .variation-option.active {
    border-color: var(--theme-primary, #B91C1C) !important;
    background-color: var(--theme-primary, #B91C1C) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(127, 29, 29, 0.16) !important;
}

.theme-speedyfood.product-page .variation-option.is-disabled,
.theme-speedyfood.product-page .variation-option:disabled {
    opacity: 0.42 !important;
    border-style: dashed !important;
    background-color: #f8f8f8 !important;
    color: var(--theme-muted, #6B7280) !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}

.theme-speedyfood.product-page .variation-option.is-switchable {
    opacity: 0.85 !important;
    border-style: dashed !important;
    border-color: var(--theme-secondary, #F59E0B) !important;
    color: #92400E !important;
    background-color: rgba(245, 158, 11, 0.08) !important;
}

.theme-speedyfood.product-page #variationSelectionHint {
    margin-top: 10px !important;
    color: var(--theme-muted, #6B7280) !important;
    font-family: var(--theme-font_family, sahan-vazir), Tahoma, Arial, sans-serif !important;
    font-size: 0.82rem !important;
    line-height: 1.8;
}

.theme-speedyfood.product-page .product-back-to-menu-button {
    width: 100%;
    min-height: 42px;
    margin-top: 9px;
    border: 1px solid var(--theme-primary, #F59E0B);
    border-radius: var(--theme-button_radius, 14px);
    background-color: rgba(245, 158, 11, 0.10);
    color: var(--theme-text) !important;
    font-family: var(--theme-font_family, sahan-vazir), Tahoma, Arial, sans-serif !important;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.8;
    padding: 9px 14px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
}

.theme-speedyfood.product-page .product-back-to-menu-button:hover {
    background-color: var(--theme-primary, #F59E0B);
    color: #111827 !important;
}

@media (min-width: 991px) {
    .theme-speedyfood.product-page {
        --food-product-sticky-top: 125px;
    }

    .theme-speedyfood.product-page .food-header {
        z-index: 1000;
    }

    .theme-speedyfood.product-page .product-page-container {
        padding-top: 18px;
    }

    .theme-speedyfood.product-page .product-page-container > .row {
        display: flex;
        align-items: flex-start;
        flex-wrap: nowrap;
        gap: 12px;
    }

    .theme-speedyfood.product-page .product-main-panel {
        width: calc(75% - 6px) !important;
        max-width: calc(75% - 6px) !important;
        flex: 0 0 calc(75% - 6px);
    }

    .theme-speedyfood.product-page .food-cart-panel {
        position: static;
        width: calc(25% - 6px) !important;
        max-width: calc(25% - 6px) !important;
        flex: 0 0 calc(25% - 6px);
        height: auto;
        min-height: auto;
        transform: none;
        display: block;
        margin-right: 0;
        margin-left: 0;
        border-radius: var(--theme-cart_radius, 22px);
        box-shadow: 0 10px 30px rgba(127, 29, 29, 0.07);
        z-index: 100;
        overflow: visible;
    }

    .theme-speedyfood.product-page .food-cart-panel-inside {
        height: auto;
        max-height: calc(100vh - var(--food-product-sticky-top) - 18px);
        position: sticky;
        top: var(--food-product-sticky-top);
        z-index: 100;
        overflow-y: auto;
    }

    .theme-speedyfood.product-page .food-cart-backdrop {
        display: none !important;
    }

    body.theme-speedyfood.product-page .store-header.food-header {
        width: calc(100% - 24px) !important;
        max-width: 1320px !important;
        margin-right: auto !important;
        margin-left: auto !important;
        border-radius: 0 !important;
        overflow: visible !important;
    }

    body.theme-speedyfood.product-page .store-header-container.food-header-container {
        width: 100% !important;
        max-width: 100% !important;
        background-color: var(--theme-surface, #FFFFFF) !important;
        border-radius: 0 0 24px 24px !important;
        backdrop-filter: blur(14px) !important;
    }
}

@media (max-width: 768px) {
    body.theme-speedyfood.product-page .store-header.food-header {
        width: 100% !important;
        max-width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        background-color: var(--theme-surface, #FFFFFF) !important;
        backdrop-filter: blur(14px) !important;
        box-shadow: none !important;
    }

    body.theme-speedyfood.product-page .store-header-container.food-header-container {
        background-color: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }
}

/* =========================
   Orders Page
========================= */

.theme-speedyfood.orders-page {
    min-height: 100vh;
    background-color: var(--theme-background, #FFF7ED) !important;
    color: var(--theme-text, #1F2937) !important;
    font-family: var(--theme-font_family, sahan-vazir), Tahoma, Arial, sans-serif !important;
    display: flex;
    flex-direction: column;
}

.theme-speedyfood.orders-page *,
.theme-speedyfood.orders-page button,
.theme-speedyfood.orders-page input,
.theme-speedyfood.orders-page table {
    font-family: var(--theme-font_family, sahan-vazir), Tahoma, Arial, sans-serif !important;
}

.theme-speedyfood.orders-page .speedyfood-orders-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.theme-speedyfood.orders-page .orders-main-content {
    width: 100%;
    flex: 1 0 auto;
}

.theme-speedyfood.orders-page .orders-container {
    max-width: 1220px;
    margin-top: 18px;
    margin-bottom: 28px;
}

.theme-speedyfood.orders-page .orders-card {
    background-color: var(--theme-surface, #FFFFFF);
    border: 1px solid var(--theme-border, #FED7AA);
    border-radius: var(--theme-card_radius, 20px);
    box-shadow: 0 10px 30px rgba(127, 29, 29, 0.07);
    padding: 18px;
}

.theme-speedyfood.orders-page .orders-page-title {
    color: var(--theme-text, #1F2937);
    font-size: 14px;
    font-weight: 900;
}

.theme-speedyfood.orders-page .orders-back-link {
    min-height: 36px;
    border-radius: var(--theme-button_radius, 14px);
    background-color: rgba(245, 158, 11, 0.12);
    color: #92400E !important;
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 7px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none !important;
}

.theme-speedyfood.orders-page .orders-back-link:hover {
    background-color: var(--theme-secondary, #F59E0B);
    color: #111827 !important;
}

.theme-speedyfood.orders-page .orders-header-line {
    border-top-color: var(--theme-border, #FED7AA);
}

.theme-speedyfood.orders-page .orders-table-wrap {
    border-color: var(--theme-border, #FED7AA);
    border-radius: var(--theme-card_radius, 18px);
}

.theme-speedyfood.orders-page .orders-table thead th {
    background: linear-gradient(135deg, var(--theme-primary, #B91C1C), var(--theme-primary-dark, #7F1D1D)) !important;
    color: #FFFFFF !important;
    border-bottom: 0;
    font-size: 12px;
    font-weight: 900;
}

.theme-speedyfood.orders-page .orders-table tbody td {
    background-color: var(--theme-surface, #FFFFFF);
    color: var(--theme-text, #1F2937);
    border-bottom: 1px solid rgba(254, 215, 170, 0.75);
    font-size: 12px;
}

.theme-speedyfood.orders-page .orders-table tbody tr:nth-of-type(even) td {
    background-color: rgba(255, 247, 237, 0.85);
}

.theme-speedyfood.orders-page .order-tracking-code {
    color: var(--theme-primary-dark, #7F1D1D) !important;
    font-weight: 900;
}

.theme-speedyfood.orders-page .order-total {
    color: var(--theme-primary, #B91C1C) !important;
    font-weight: 900;
}

.theme-speedyfood.orders-page .order-status {
    color: var(--theme-text, #1F2937) !important;
    font-weight: 800;
}

.theme-speedyfood.orders-page .order-date {
    color: var(--theme-muted, #6B7280) !important;
    font-size: 12px;
}

.theme-speedyfood.orders-page .orders-empty-box {
    background-color: rgba(255, 247, 237, 0.85);
    border-color: var(--theme-border, #FED7AA);
    color: var(--theme-muted, #6B7280);
}

.theme-speedyfood.orders-page .orders-empty-icon {
    background-color: rgba(185, 28, 28, 0.08);
    color: var(--theme-primary, #B91C1C);
}

.theme-speedyfood.orders-page .food-footer {
    margin-top: auto;
}

@media (max-width: 768px) {
    .theme-speedyfood.orders-page .orders-container {
        margin-top: 0;
        padding-right: 0;
        padding-left: 0;
    }

    .theme-speedyfood.orders-page .orders-card {
        border-radius: 0;
        border-right: 0;
        border-left: 0;
        padding: 14px;
    }

    .theme-speedyfood.orders-page .orders-page-title {
        font-size: 13px;
    }

    .theme-speedyfood.orders-page .orders-back-link {
        font-size: 11px;
        padding-right: 10px;
        padding-left: 10px;
    }
}

/* =========================
   Checkout Page
========================= */

body.theme-speedyfood.checkout-page {
    background-color: var(--theme-background, #FFF7ED) !important;
    color: var(--theme-text, #1F2937) !important;
    font-family: var(--theme-font_family, sahan-vazir), Tahoma, Arial, sans-serif !important;
}

body.theme-speedyfood.checkout-page *,
body.theme-speedyfood.checkout-page button,
body.theme-speedyfood.checkout-page input,
body.theme-speedyfood.checkout-page textarea,
body.theme-speedyfood.checkout-page table {
    font-family: var(--theme-font_family, sahan-vazir), Tahoma, Arial, sans-serif !important;
}

body.theme-speedyfood.checkout-page .speedyfood-checkout-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: transparent !important;
}

body.theme-speedyfood.checkout-page .checkout-container {
    width: 100%;
    max-width: 1220px;
    margin-top: 18px;
    margin-bottom: 28px;
    flex: 1 0 auto;
}

body.theme-speedyfood.checkout-page .checkout-main-card {
    background-color: var(--theme-surface, #FFFFFF) !important;
    border: 1px solid var(--theme-border, #FED7AA) !important;
    border-radius: var(--theme-card_radius, 20px);
    box-shadow: 0 10px 30px rgba(127, 29, 29, 0.07);
    padding: 12px !important;
}

body.theme-speedyfood.checkout-page .checkout-page-title {
    color: var(--theme-text, #1F2937) !important;
    font-size: 14px;
    font-weight: 900;
}

body.theme-speedyfood.checkout-page .checkout-back-link {
    min-height: 36px;
    border-radius: var(--theme-button_radius, 14px);
    background-color: rgba(245, 158, 11, 0.12);
    color: #92400E !important;
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 7px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none !important;
}

body.theme-speedyfood.checkout-page .checkout-back-link:hover {
    background-color: var(--theme-secondary, #F59E0B);
    color: #111827 !important;
}

body.theme-speedyfood.checkout-page .checkout-header-line,
body.theme-speedyfood.checkout-page .checkout-dotted-line {
    border-color: var(--theme-border, #FED7AA) !important;
}

body.theme-speedyfood.checkout-page .checkout-field-label {
    color: var(--theme-text, #1F2937) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}

body.theme-speedyfood.checkout-page .checkout-field,
body.theme-speedyfood.checkout-page input.checkout-field,
body.theme-speedyfood.checkout-page textarea.checkout-field {
    background-color: #FFFDFB !important;
    border: 1px solid var(--theme-border, #FED7AA) !important;
    color: var(--theme-text, #1F2937) !important;
    border-radius: var(--theme-button_radius, 16px) !important;
}

body.theme-speedyfood.checkout-page .checkout-field:focus,
body.theme-speedyfood.checkout-page input.checkout-field:focus,
body.theme-speedyfood.checkout-page textarea.checkout-field:focus {
    border-color: var(--theme-primary, #B91C1C) !important;
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.09) !important;
}

body.theme-speedyfood.checkout-page .checkout-shipping-button {
    background-color: #FFFDFB !important;
    border: 1px solid var(--theme-border, #FED7AA) !important;
    color: var(--theme-text, #1F2937) !important;
    border-radius: var(--theme-button_radius, 16px) !important;
    box-shadow: 0 8px 20px rgba(127, 29, 29, 0.04) !important;
}

body.theme-speedyfood.checkout-page .checkout-shipping-button:hover,
body.theme-speedyfood.checkout-page .checkout-shipping-button:focus,
body.theme-speedyfood.checkout-page .checkout-shipping-button:active {
    background-color: #FFFDFB !important;
    border-color: var(--theme-primary, #B91C1C) !important;
    color: var(--theme-text, #1F2937) !important;
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.09) !important;
}

body.theme-speedyfood.checkout-page .checkout-shipping-button.is-empty {
    border-color: var(--theme-secondary, #F59E0B) !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.09) !important;
}

body.theme-speedyfood.checkout-page .checkout-shipping-button-label {
    color: var(--theme-muted, #6B7280) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

body.theme-speedyfood.checkout-page .checkout-shipping-button-value {
    color: var(--theme-text, #1F2937) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}

body.theme-speedyfood.checkout-page .checkout-shipping-menu {
    background-color: var(--theme-surface, #FFFFFF) !important;
    border: 1px solid var(--theme-border, #FED7AA) !important;
    border-radius: var(--theme-button_radius, 16px) !important;
    box-shadow: 0 12px 28px rgba(127, 29, 29, 0.10) !important;
}

body.theme-speedyfood.checkout-page .checkout-shipping-menu .dropdown-item {
    background-color: rgba(255, 247, 237, 0.85) !important;
    border: 1px solid rgba(254, 215, 170, 0.85) !important;
    color: var(--theme-text, #1F2937) !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

body.theme-speedyfood.checkout-page .checkout-shipping-menu .dropdown-item:hover,
body.theme-speedyfood.checkout-page .checkout-shipping-menu .dropdown-item:focus {
    background-color: rgba(185, 28, 28, 0.07) !important;
    border-color: rgba(185, 28, 28, 0.24) !important;
    color: var(--theme-primary, #B91C1C) !important;
}

body.theme-speedyfood.checkout-page .checkout-submit-button,
body.theme-speedyfood.checkout-page #btn_send_to_IPG {
    width: 100% !important;
    min-height: 46px !important;
    border: 0 !important;
    border-radius: var(--theme-button_radius, 16px) !important;
    background: linear-gradient(135deg, var(--theme-primary, #B91C1C), var(--theme-primary-dark, #7F1D1D)) !important;
    background-color: var(--theme-primary, #B91C1C) !important;
    color: #FFFFFF !important;
    font-family: var(--theme-font_family, sahan-vazir), Tahoma, Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    box-shadow: 0 10px 24px rgba(127, 29, 29, 0.18) !important;
}

body.theme-speedyfood.checkout-page .checkout-submit-button .btn-text,
body.theme-speedyfood.checkout-page #btn_send_to_IPG .btn-text {
    color: #FFFFFF !important;
}

body.theme-speedyfood.checkout-page .checkout-cart-panel {
    background-color: var(--theme-surface, #FFFFFF) !important;
    border: 1px solid var(--theme-border, #FED7AA) !important;
    border-radius: var(--theme-cart_radius, 20px) !important;
    box-shadow: 0 10px 30px rgba(127, 29, 29, 0.07) !important;
    overflow: hidden;
    text-align: right;
}

body.theme-speedyfood.checkout-page .checkout-cart-header {
    min-height: 48px;
    align-items: center;
    border-bottom: 1px solid var(--theme-border, #FED7AA);
    margin-right: 0;
    margin-left: 0;
}

body.theme-speedyfood.checkout-page .checkout-cart-title {
    margin: 0 !important;
    padding-right: 12px;
    color: var(--theme-text, #1F2937) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}

body.theme-speedyfood.checkout-page .checkout-cart-clean {
    margin: 0 !important;
    padding-left: 12px;
    text-align: left;
    color: var(--theme-primary, #B91C1C) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

body.theme-speedyfood.checkout-page .checkout-cart-panel > hr {
    display: none;
}

body.theme-speedyfood.checkout-page .checkout-cart-list {
    margin: 0 !important;
    padding: 10px !important;
    max-height: 360px;
    overflow-y: auto;
}

body.theme-speedyfood.checkout-page .checkout-cart-list .cart-item,
body.theme-speedyfood.checkout-page .checkout-cart-list .checkout-cart-item {
    background-color: var(--theme-surface, #FFFFFF) !important;
    border: 1px solid var(--theme-border, #FED7AA) !important;
    border-radius: 16px !important;
    color: var(--theme-text, #1F2937) !important;
    margin-bottom: 8px !important;
    padding: 10px !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px;
}

body.theme-speedyfood.checkout-page .checkout-cart-list .cart-item-info {
    min-width: 0;
    flex: 1 1 auto;
}

body.theme-speedyfood.checkout-page .checkout-cart-list .cart-item-name,
body.theme-speedyfood.checkout-page .checkout-cart-list .checkout-cart-item-name {
    color: var(--theme-text, #1F2937) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1.7 !important;
    margin: 0 0 4px 0 !important;
}

body.theme-speedyfood.checkout-page .checkout-cart-list .cart-item-price,
body.theme-speedyfood.checkout-page .checkout-cart-list .checkout-cart-item-price {
    color: var(--theme-muted, #6B7280) !important;
    font-size: 11px !important;
    margin: 0 !important;
}

body.theme-speedyfood.checkout-page .checkout-cart-list .cart-item-offprice,
body.theme-speedyfood.checkout-page .checkout-cart-list .checkout-cart-item-offprice,
body.theme-speedyfood.checkout-page .checkout-cart-list .cart-bold-price {
    color: var(--theme-primary, #B91C1C) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    margin: 0 !important;
}

body.theme-speedyfood.checkout-page .checkout-cart-list .cart-remove-button,
body.theme-speedyfood.checkout-page .checkout-cart-list .cart-add-button {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    border-radius: 12px !important;
    border: 1px solid var(--theme-primary, #B91C1C) !important;
    background-color: #FFFFFF !important;
    color: var(--theme-primary, #B91C1C) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 16px !important;
    font-weight: 900 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

body.theme-speedyfood.checkout-page .checkout-cart-list .cart-add-button {
    background-color: var(--theme-primary, #B91C1C) !important;
    color: #FFFFFF !important;
}

body.theme-speedyfood.checkout-page .checkout-cart-list .cart-item-qty,
body.theme-speedyfood.checkout-page .checkout-cart-list .checkout-cart-item-qty {
    min-width: 18px;
    text-align: center;
    color: var(--theme-text, #1F2937) !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    margin: 0 !important;
}

body.theme-speedyfood.checkout-page #div_bill_sum {
    padding-top: 0;
    background-color: var(--theme-background, #FFF7ED) !important;
    border-top: 1px solid var(--theme-border, #FED7AA) !important;
    color: var(--theme-text, #1F2937) !important;
    font-size: 12px !important;
}

body.theme-speedyfood.checkout-page #div_bill_sum .container,
body.theme-speedyfood.checkout-page #div_copun {
    background-color: transparent !important;
}

body.theme-speedyfood.checkout-page #div_bill_sum hr {
    border-top: 1px dashed var(--theme-border, #FED7AA) !important;
    opacity: 1 !important;
}

body.theme-speedyfood.checkout-page #lbl_sum,
body.theme-speedyfood.checkout-page #lbl_off,
body.theme-speedyfood.checkout-page #lbl_shipiing,
body.theme-speedyfood.checkout-page #lbl_copun_amount {
    color: var(--theme-text, #1F2937) !important;
    font-weight: 800 !important;
}

body.theme-speedyfood.checkout-page #lbl_total_sum {
    color: var(--theme-muted, #6B7280) !important;
    font-size: 12px !important;
}

body.theme-speedyfood.checkout-page .checkout-page #lbl_total_off_sum,
body.theme-speedyfood.checkout-page #lbl_total_off_sum {
    color: var(--theme-primary, #B91C1C) !important;
    font-size: 14px !important;
    font-weight: 900 !important;
}

body.theme-speedyfood.checkout-page .checkout-coupon-input {
    background-color: #FFFDFB !important;
    border: 1px solid var(--theme-border, #FED7AA) !important;
    color: var(--theme-text, #1F2937) !important;
    border-radius: var(--theme-button_radius, 16px) !important;
}

body.theme-speedyfood.checkout-page .checkout-coupon-input:focus {
    border-color: var(--theme-primary, #B91C1C) !important;
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.09) !important;
}

body.theme-speedyfood.checkout-page .checkout-coupon-button {
    background-color: var(--theme-secondary, #F59E0B) !important;
    color: #111827 !important;
    border-radius: var(--theme-button_radius, 16px) !important;
    font-weight: 900 !important;
}

body.theme-speedyfood.checkout-page .checkout-return-button {
    background-color: rgba(185, 28, 28, 0.08) !important;
    color: var(--theme-primary, #B91C1C) !important;
    border: 1px solid rgba(185, 28, 28, 0.22) !important;
    border-radius: var(--theme-button_radius, 16px) !important;
    font-weight: 900 !important;
}

body.theme-speedyfood.checkout-page .checkout-return-button:hover {
    background-color: var(--theme-primary, #B91C1C) !important;
    color: #FFFFFF !important;
}

body.theme-speedyfood.checkout-page .food-footer {
    margin-top: auto;
}

.checkout-food-mobile-cart-button {
    display: none;
}

@media (min-width: 991px) {
    body.theme-speedyfood.checkout-page .checkout-container > .row {
        display: flex;
        align-items: flex-start;
        flex-wrap: nowrap;
        gap: 12px;
    }

    body.theme-speedyfood.checkout-page #right_panel {
        width: calc(75% - 6px) !important;
        max-width: calc(75% - 6px) !important;
        flex: 0 0 calc(75% - 6px);
    }

    body.theme-speedyfood.checkout-page #left_panel {
        width: calc(25% - 6px) !important;
        max-width: calc(25% - 6px) !important;
        flex: 0 0 calc(25% - 6px);
        display: block !important;
    }

    body.theme-speedyfood.checkout-page #left_panel_inside {
        position: sticky;
        top: 125px;
        max-height: calc(100vh - 145px);
        overflow-y: auto;
    }

    body.theme-speedyfood.checkout-page .checkout-mobile-cart-bar,
    body.theme-speedyfood.checkout-page .food-mobile-cart-bar {
        display: none !important;
    }
}

@media (max-width: 990px) {
    body.theme-speedyfood.checkout-page {
        display: block;
        min-height: auto;
    }

    body.theme-speedyfood.checkout-page .checkout-container {
        width: 100%;
        max-width: 100%;
        margin-top: 0;
        padding-right: 0;
        padding-left: 0;
        padding-bottom: 90px;
    }

    body.theme-speedyfood.checkout-page .checkout-container > .row {
        margin-right: 0;
        margin-left: 0;
    }

    body.theme-speedyfood.checkout-page #right_panel {
        width: 100%;
        max-width: 100%;
    }

    body.theme-speedyfood.checkout-page .checkout-main-card {
        border-radius: 0 !important;
        border-right: 0 !important;
        border-left: 0 !important;
        box-shadow: none !important;
    }

    body.theme-speedyfood.checkout-page .checkout-form-section {
        padding-right: var(--theme-page_padding_mobile, 12px);
        padding-left: var(--theme-page_padding_mobile, 12px);
    }

    body.theme-speedyfood.checkout-page #left_panel {
        display: none !important;
    }

    body.theme-speedyfood.checkout-page .checkout-food-mobile-cart-button {
        position: fixed;
        right: 12px;
        left: 12px;
        bottom: 12px;
        min-height: 58px;
        z-index: 850;
        background: linear-gradient(135deg, var(--theme-primary, #B91C1C), var(--theme-primary-dark, #7F1D1D));
        color: #ffffff;
        border-radius: 22px;
        box-shadow: 0 18px 42px rgba(127, 29, 29, 0.28);
        padding: 9px 12px;
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
    }

    body.theme-speedyfood.checkout-page .checkout-food-mobile-cart-icon {
        position: relative;
        width: 42px;
        height: 42px;
        border-radius: 15px;
        background-color: rgba(255, 255, 255, 0.14);
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        font-size: 21px;
    }

    body.theme-speedyfood.checkout-page #checkout_food_mobile_cart_badge {
        position: absolute;
        top: -5px;
        left: -5px;
        min-width: 20px;
        height: 20px;
        border-radius: 999px;
        background-color: var(--theme-secondary, #F59E0B);
        color: #111827;
        display: none;
        align-items: center;
        justify-content: center;
        padding-right: 5px;
        padding-left: 5px;
        font-size: 11px;
        font-weight: 900;
    }

    body.theme-speedyfood.checkout-page .checkout-food-mobile-cart-text {
        min-width: 0;
        flex: 1 1 auto;
    }

    body.theme-speedyfood.checkout-page .checkout-food-mobile-cart-text strong {
        display: block;
        font-size: 13px;
        font-weight: 900;
    }

    body.theme-speedyfood.checkout-page .checkout-food-mobile-cart-total {
        text-align: left;
        flex: 0 0 auto;
        font-size: 13px;
        font-weight: 900;
    }

    body.theme-speedyfood.checkout-page #myNav {
        z-index: 950 !important;
    }

    body.theme-speedyfood.checkout-page #dark_div {
        z-index: 900 !important;
    }

    body.theme-speedyfood.checkout-page .checkout-food-mobile-cart-button {
        z-index: 850 !important;
    }
}

/* =========================
   Final Theme Color Fixes
   Keep Near Bottom
========================= */

body.theme-speedyfood .food-header {
    background-color: var(--theme-surface, #FFFFFF) !important;
}

body.theme-speedyfood .food-header-container {
    background-color: transparent !important;
}

body.theme-speedyfood.product-page .store-header-container.food-header-container,
body.theme-speedyfood.checkout-page .store-header-container.food-header-container,
body.theme-speedyfood.orders-page .store-header-container.food-header-container {
    background-color: var(--theme-surface, #FFFFFF) !important;
}

body.theme-speedyfood .food-account-avatar {
    background-color: color-mix(in srgb, var(--theme-primary, #B91C1C) 10%, transparent) !important;
}

body.theme-speedyfood .food-account-dropdown {
    background-color: var(--theme-surface, #FFFFFF) !important;
    border-color: var(--theme-border, #FED7AA) !important;
}

body.theme-speedyfood .food-account-name {
    background-color: var(--theme-primary-dark, #7F1D1D) !important;
    color: #FFFFFF !important;
}

body.theme-speedyfood .food-checkout-summary {
    background-color: var(--theme-surface, #FFFFFF) !important;
    border-top-color: var(--theme-border, #FED7AA) !important;
}

body.theme-speedyfood .food-bill-row {
    color: var(--theme-muted, #6B7280) !important;
}

body.theme-speedyfood .food-bill-row strong {
    color: var(--theme-text, #1F2937) !important;
}

body.theme-speedyfood .food-bill-hr {
    border-top-color: var(--theme-border, #FED7AA) !important;
}

body.theme-speedyfood .food-cart-list .cart-item,
body.theme-speedyfood .food-cart-list .checkout-cart-item {
    background-color: var(--theme-surface, #FFFFFF) !important;
    border: 1px solid var(--theme-border, #FED7AA) !important;
    color: var(--theme-text, #1F2937) !important;
}

body.theme-speedyfood .food-cart-list .cart-item-name,
body.theme-speedyfood .food-cart-list .checkout-cart-item-name {
    color: var(--theme-text, #1F2937) !important;
}

body.theme-speedyfood .food-cart-list .cart-item-price,
body.theme-speedyfood .food-cart-list .checkout-cart-item-price {
    color: var(--theme-muted, #6B7280) !important;
}

body.theme-speedyfood .food-cart-list .cart-item-offprice,
body.theme-speedyfood .food-cart-list .checkout-cart-item-offprice,
body.theme-speedyfood .food-cart-list .cart-bold-price {
    color: var(--theme-primary, #B91C1C) !important;
}

body.theme-speedyfood .food-cart-list .cart-item-qty,
body.theme-speedyfood .food-cart-list .checkout-cart-item-qty {
    color: var(--theme-text, #1F2937) !important;
}

body.theme-speedyfood .food-cart-list .cart-remove-button,
body.theme-speedyfood .food-cart-list .cart-add-button {
    border-color: var(--theme-primary, #B91C1C) !important;
    color: var(--theme-primary, #B91C1C) !important;
}

body.theme-speedyfood .food-cart-list .cart-add-button {
    background-color: var(--theme-primary, #B91C1C) !important;
    color: #FFFFFF !important;
}

body.theme-speedyfood .food-cart-list .cart-remove-button {
    background-color: var(--theme-surface, #FFFFFF) !important;
}

/* =========================
   Header Full Clean
   No Border / No Shadow
   Keep At Bottom
========================= */

body.theme-speedyfood .store-header.food-header,
body.theme-speedyfood .food-header,
body.theme-speedyfood.product-page .store-header.food-header,
body.theme-speedyfood.checkout-page .store-header.food-header,
body.theme-speedyfood.orders-page .store-header.food-header {
    border: 0 !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

body.theme-speedyfood .store-header-container.food-header-container,
body.theme-speedyfood .food-header-container,
body.theme-speedyfood.product-page .store-header-container.food-header-container,
body.theme-speedyfood.checkout-page .store-header-container.food-header-container,
body.theme-speedyfood.orders-page .store-header-container.food-header-container {
    border: 0 !important;
    border-top: 0 !important;
    border-right: 0 !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

body.theme-speedyfood .store-header.food-header::before,
body.theme-speedyfood .store-header.food-header::after,
body.theme-speedyfood .food-header::before,
body.theme-speedyfood .food-header::after,
body.theme-speedyfood .store-header-container.food-header-container::before,
body.theme-speedyfood .store-header-container.food-header-container::after,
body.theme-speedyfood .food-header-container::before,
body.theme-speedyfood .food-header-container::after {
    display: none !important;
    content: none !important;
    border: 0 !important;
    box-shadow: none !important;
}


/* =========================
   SpeedyFood Cart Fixed Height Layout
   Keep At Very Bottom
========================= */

body.theme-speedyfood .food-cart-panel {
    height: 100dvh !important;
    max-height: 100dvh !important;
    overflow: hidden !important;
}

body.theme-speedyfood .food-cart-panel-inside {
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

body.theme-speedyfood .food-cart-header,
body.theme-speedyfood .food-cart-summary-mini,
body.theme-speedyfood .food-checkout-summary {
    flex: 0 0 auto !important;
}

body.theme-speedyfood .food-cart-list-parent {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding-bottom: 10px !important;
}

body.theme-speedyfood .food-cart-list {
    min-height: 100%;
}

body.theme-speedyfood .food-checkout-summary {
    margin-top: auto !important;
    position: relative !important;
    bottom: auto !important;
    background-color: var(--theme-surface, #FFFFFF) !important;
    z-index: 2;
}

/* Mobile opened cart */
@media (max-width: 990px) {
    body.theme-speedyfood .food-cart-panel {
        width: 100% !important;
        max-width: 100vw !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
    }

    body.theme-speedyfood .food-cart-panel-inside {
        height: 100dvh !important;
        max-height: 100dvh !important;
        padding-bottom: env(safe-area-inset-bottom) !important;
    }

    body.theme-speedyfood .food-cart-header {
        padding-top: calc(14px + env(safe-area-inset-top)) !important;
    }

    body.theme-speedyfood .food-cart-list-parent {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    body.theme-speedyfood .food-checkout-summary {
        padding-bottom: calc(14px + env(safe-area-inset-bottom)) !important;
    }
}

/* Product page desktop side cart */
@media (min-width: 991px) {
    body.theme-speedyfood.product-page .food-cart-panel {
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }

    body.theme-speedyfood.product-page .food-cart-panel-inside {
        height: auto !important;
        max-height: calc(100dvh - var(--food-product-sticky-top, 125px) - 18px) !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    body.theme-speedyfood.product-page .food-cart-list-parent {
        flex: 1 1 auto !important;
        min-height: 0 !important;
        overflow-y: auto !important;
    }
}

/* =========================
   SpeedyFood Cart Smooth Open Animation
   Keep At Very Bottom
========================= */

body.theme-speedyfood .food-cart-panel {
    transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

body.theme-speedyfood .food-cart-backdrop {
    transition: opacity 0.35s ease !important;
}

/* =========================
   SpeedyFood Floating Cart Button Color Fix
   Keep At Very Bottom
========================= */

body.theme-speedyfood .food-mobile-cart-bar {
    background: linear-gradient(
        135deg,
        var(--theme-secondary, #F59E0B),
        #D97706
    ) !important;
    color: #111827 !important;
    box-shadow: 0 18px 42px rgba(217, 119, 6, 0.28) !important;
}

body.theme-speedyfood .food-mobile-cart-icon-wrap {
    background-color: rgba(255, 255, 255, 0.28) !important;
}

body.theme-speedyfood .food-mobile-cart-badge {
    background-color: var(--theme-primary, #B91C1C) !important;
    color: #FFFFFF !important;
}

body.theme-speedyfood .food-mobile-cart-text strong,
body.theme-speedyfood .food-mobile-cart-price span {
    color: #111827 !important;
}

body.theme-speedyfood .food-mobile-cart-text span,
body.theme-speedyfood .food-mobile-cart-price small {
    color: rgba(17, 24, 39, 0.72) !important;
}

/* =========================
   SpeedyFood Checkout Floating Cart Button Color Fix
   Keep At Very Bottom
========================= */

body.theme-speedyfood.checkout-page .checkout-food-mobile-cart-button {
    background: linear-gradient(
        135deg,
        var(--theme-secondary, #F59E0B),
        #D97706
    ) !important;
    color: #111827 !important;
    box-shadow: 0 18px 42px rgba(217, 119, 6, 0.28) !important;
}

body.theme-speedyfood.checkout-page .checkout-food-mobile-cart-icon {
    background-color: rgba(255, 255, 255, 0.28) !important;
    color: #111827 !important;
}

body.theme-speedyfood.checkout-page #checkout_food_mobile_cart_badge {
    background-color: var(--theme-primary, #B91C1C) !important;
    color: #FFFFFF !important;
}

body.theme-speedyfood.checkout-page .checkout-food-mobile-cart-text strong,
body.theme-speedyfood.checkout-page .checkout-food-mobile-cart-total {
    color: #111827 !important;
}

body.theme-speedyfood .food-mobile-cart-bar,
body.theme-speedyfood.checkout-page .checkout-food-mobile-cart-button {
    outline: 1px solid rgba(255, 255, 255, 0.18) !important;
    outline-offset: -1px !important;
    backdrop-filter: blur(12px) !important;
}

/* =========================
   SpeedyFood Cart Panel Visual Refinement
   Keep At Very Bottom
========================= */

body.theme-speedyfood .food-cart-panel {
    background-color: var(--theme-background, #FFF7ED) !important;
}

body.theme-speedyfood .food-cart-panel-inside {
    background-color: var(--theme-background, #FFF7ED) !important;
}

/* Header */
body.theme-speedyfood .food-cart-header {
    padding: 12px 14px !important;
    background: linear-gradient(
        135deg,
        var(--theme-primary, #B91C1C),
        var(--theme-primary-dark, #7F1D1D)
    ) !important;
    border-bottom: 0 !important;
}

body.theme-speedyfood .food-cart-kicker {
    color: #FFFFFF !important;
    font-size: 13px !important;
    font-weight: 900 !important;
}

body.theme-speedyfood .food-cart-close {
    width: 34px !important;
    height: 34px !important;
    border-radius: 12px !important;
    background-color: rgba(255, 255, 255, 0.16) !important;
    color: #FFFFFF !important;
    font-size: 22px !important;
}

/* Mini Summary */
body.theme-speedyfood .food-cart-summary-mini {
    padding: 10px 14px !important;
    background-color: var(--theme-surface, #FFFFFF) !important;
    border-bottom: 1px solid var(--theme-border, #FED7AA) !important;
}

body.theme-speedyfood .food-cart-clear-button {
    padding: 7px 10px !important;
    border-radius: 12px !important;
    font-size: 11px !important;
}

/* Cart List Middle */
body.theme-speedyfood .food-cart-list-parent {
    padding: 10px 12px !important;
    background-color: var(--theme-surface, #FFFFFF) !important;
}

body.theme-speedyfood .food-cart-list {
    gap: 8px !important;
}

/* Empty Cart */
body.theme-speedyfood .food-cart-empty {
    padding: 24px 10px !important;
}

body.theme-speedyfood .food-cart-empty-icon {
    font-size: 28px !important;
}

body.theme-speedyfood .food-cart-empty h4 {
    font-size: 13px !important;
    margin-top: 7px !important;
    margin-bottom: 4px !important;
}

body.theme-speedyfood .food-cart-empty p {
    font-size: 11px !important;
}

/* Footer / Checkout Summary */
body.theme-speedyfood .food-checkout-summary {
    padding: 12px 14px 18px 14px !important;
    background-color: var(--theme-background, #FFF7ED) !important;
    border-top: 1px solid var(--theme-border, #FED7AA) !important;
}

body.theme-speedyfood .food-bill-row {
    margin-bottom: 7px !important;
    font-size: 12px !important;
}

body.theme-speedyfood .food-bill-row strong {
    font-size: 12px !important;
}

body.theme-speedyfood .food-bill-total {
    margin-bottom: 8px !important;
}

body.theme-speedyfood .food-bill-total strong {
    font-size: 14px !important;
}

body.theme-speedyfood .food-bill-hr {
    margin: 8px 0 !important;
}

/* Checkout Button Higher / Cleaner */
body.theme-speedyfood .food-checkout-button {
    height: 44px !important;
    min-height: 44px !important;
    margin-top: 10px !important;
    margin-bottom: 8px !important;
    border-radius: var(--theme-button_radius, 14px) !important;
    font-size: 13px !important;
    background: linear-gradient(
        135deg,
        var(--theme-secondary, #F59E0B),
        #D97706
    ) !important;
    color: #111827 !important;
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.20) !important;
}

/* Cart Items More Compact */
body.theme-speedyfood .food-cart-list .cart-item,
body.theme-speedyfood .food-cart-list .checkout-cart-item {
    padding: 8px !important;
    border-radius: 14px !important;
    background-color: #FFFFFF !important;
}

body.theme-speedyfood .food-cart-list .cart-item-name,
body.theme-speedyfood .food-cart-list .checkout-cart-item-name {
    font-size: 12px !important;
    line-height: 1.7 !important;
}

body.theme-speedyfood .food-cart-list .cart-item-price,
body.theme-speedyfood .food-cart-list .checkout-cart-item-price,
body.theme-speedyfood .food-cart-list .cart-item-offprice,
body.theme-speedyfood .food-cart-list .checkout-cart-item-offprice,
body.theme-speedyfood .food-cart-list .cart-bold-price {
    font-size: 12px !important;
}

/* Mobile Extra Bottom Space */
@media (max-width: 990px) {
    body.theme-speedyfood .food-cart-panel {
        padding-bottom: 10px !important;
    }

    body.theme-speedyfood .food-checkout-summary {
        padding-bottom: calc(22px + env(safe-area-inset-bottom)) !important;
    }

    body.theme-speedyfood .food-checkout-button {
        margin-bottom: 12px !important;
    }
}

/* =========================
   SpeedyFood Cart Checkout Button Red
   Keep At Very Bottom
========================= */

body.theme-speedyfood .food-checkout-button {
    background: linear-gradient(
        135deg,
        var(--theme-primary, #B91C1C),
        var(--theme-primary-dark, #7F1D1D)
    ) !important;
    background-color: var(--theme-primary, #B91C1C) !important;
    color: #FFFFFF !important;
    box-shadow: 0 8px 20px rgba(127, 29, 29, 0.22) !important;
}

body.theme-speedyfood .food-checkout-button:hover {
    filter: brightness(1.03);
}

/* =========================
   SpeedyFood Orders Table Mobile Full Columns
   Keep At Very Bottom
========================= */

/* Simple table header */
body.theme-speedyfood.orders-page .orders-table thead th {
    background: var(--theme-primary, #B91C1C) !important;
    background-color: var(--theme-primary, #B91C1C) !important;
    color: #FFFFFF !important;
    border: 0 !important;
    box-shadow: none !important;
    font-weight: 800 !important;
    text-align: center !important;
    white-space: nowrap !important;
}

/* Cleaner table body */
body.theme-speedyfood.orders-page .orders-table tbody td {
    text-align: center !important;
    vertical-align: middle !important;
    white-space: nowrap !important;
}

/* Mobile: force all columns to fit */
@media (max-width: 768px) {
    body.theme-speedyfood.orders-page .orders-table-wrap {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: visible !important;
        border-radius: 0 !important;
    }

    body.theme-speedyfood.orders-page .orders-table {
        width: 100% !important;
        min-width: 0 !important;
        table-layout: fixed !important;
        margin-bottom: 0 !important;
    }

    body.theme-speedyfood.orders-page .orders-table thead th,
    body.theme-speedyfood.orders-page .orders-table tbody td {
        padding: 7px 3px !important;
        font-size: 10px !important;
        line-height: 1.7 !important;
        white-space: normal !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
    }

    body.theme-speedyfood.orders-page .orders-table thead th {
        font-size: 10px !important;
        font-weight: 800 !important;
    }

    body.theme-speedyfood.orders-page .order-tracking-code,
    body.theme-speedyfood.orders-page .order-total,
    body.theme-speedyfood.orders-page .order-status,
    body.theme-speedyfood.orders-page .order-date {
        font-size: 10px !important;
        line-height: 1.7 !important;
        white-space: normal !important;
        word-break: break-word !important;
    }
}

/* Very small phones */
@media (max-width: 430px) {
    body.theme-speedyfood.orders-page .orders-card {
        padding: 8px !important;
    }

    body.theme-speedyfood.orders-page .orders-table thead th,
    body.theme-speedyfood.orders-page .orders-table tbody td {
        padding: 6px 2px !important;
        font-size: 9px !important;
    }

    body.theme-speedyfood.orders-page .order-tracking-code,
    body.theme-speedyfood.orders-page .order-total,
    body.theme-speedyfood.orders-page .order-status,
    body.theme-speedyfood.orders-page .order-date {
        font-size: 9px !important;
    }
}

/* =========================
   SpeedyFood Product Page Cart First Open Animation Fix
   Keep At Very Bottom
========================= */

@media (max-width: 990px) {
    body.theme-speedyfood.product-page .food-cart-panel {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        width: 390px !important;
        max-width: 94vw !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        transform: translateX(-105%) !important;
        transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) !important;
        will-change: transform;
        display: block !important;
        overflow: hidden !important;
    }

    body.theme-speedyfood.product-page .food-cart-panel.is-open {
        transform: translateX(0) !important;
    }

    body.theme-speedyfood.product-page .food-cart-backdrop {
        transition: opacity 0.35s ease !important;
    }
}

/* =========================
   SpeedyFood Product Page Mobile Cart Full Width From Left
   Keep At Very Bottom
========================= */

@media (max-width: 990px) {
    body.theme-speedyfood.product-page .food-cart-panel {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: auto !important;
        bottom: auto !important;

        width: 100vw !important;
        max-width: 100vw !important;
        height: 100dvh !important;
        max-height: 100dvh !important;

        margin: 0 !important;
        border-radius: 0 !important;

        transform: translateX(-100%) !important;
        transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1) !important;

        overflow: hidden !important;
        box-shadow: none !important;
    }

    body.theme-speedyfood.product-page .food-cart-panel.is-open {
        transform: translateX(0) !important;
    }

    body.theme-speedyfood.product-page .food-cart-panel-inside {
        width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
}

/* =========================
   SpeedyFood Product Variations Compact Spacing
   Keep At Very Bottom
========================= */

body.theme-speedyfood.product-page .product-variation-box {
    margin-top: 8px !important;
    margin-bottom: 10px !important;
    padding: 9px 10px !important;
}

body.theme-speedyfood.product-page .variation-attribute {
    margin-bottom: 8px !important;
}

body.theme-speedyfood.product-page .variation-attribute:last-child {
    margin-bottom: 0 !important;
}

body.theme-speedyfood.product-page .variation-attribute-title {
    margin-top: 0 !important;
    margin-bottom: 5px !important;
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
}

body.theme-speedyfood.product-page .variation-options {
    gap: 6px !important;
}

body.theme-speedyfood.product-page .variation-option {
    min-height: 31px !important;
    padding: 5px 11px !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
}

body.theme-speedyfood.product-page #variationSelectionHint {
    margin-top: 6px !important;
    margin-bottom: 0 !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
}

.food-footer-powered {
    width: fit-content;
    margin-top: 0px;
    margin-right: auto;
    margin-left: auto;
    padding: 5px 9px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.82);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    backdrop-filter: blur(8px);
    text-align: center;
}

.food-footer-powered::before {
     content: "⚡";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--theme-secondary, #F59E0B);
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    text-align: center;
    flex: 0 0 auto;
}

.food-footer-powered:hover {
    background-color: rgba(255, 255, 255, 0.14);
    color: #FFFFFF;
}

/* =========================
   SpeedyFood Product Page Desktop Cart Radius Fix
   Keep At Very Bottom
========================= */

@media (min-width: 991px) {
    body.theme-speedyfood.product-page .food-cart-panel {
        border-radius: var(--theme-cart_radius, 22px) !important;
        overflow: hidden !important;
    }

    body.theme-speedyfood.product-page .food-cart-panel-inside {
        border-radius: var(--theme-cart_radius, 22px) !important;
        overflow: hidden !important;
    }

    body.theme-speedyfood.product-page .food-cart-header {
        border-top-right-radius: var(--theme-cart_radius, 22px) !important;
        border-top-left-radius: var(--theme-cart_radius, 22px) !important;
    }
}

/* =========================
   SpeedyFood Checkout Cart Same As Main Cart
   Keep At Very Bottom
========================= */

body.theme-speedyfood.checkout-page .checkout-food-cart-column {
    min-height: 0 !important;
}

body.theme-speedyfood.checkout-page .checkout-food-cart-sticky {
    position: sticky !important;
    top: 125px !important;
    height: calc(100dvh - 145px) !important;
    max-height: calc(100dvh - 145px) !important;
    min-height: 0 !important;
    margin-right: 8px !important;
    margin-left: 8px !important;
    overflow: hidden !important;
}

body.theme-speedyfood.checkout-page .checkout-food-cart-panel {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    transform: none !important;
    display: block !important;
    border-radius: var(--theme-cart_radius, 22px) !important;
    background-color: var(--theme-background, #FFF7ED) !important;
    box-shadow: 0 10px 30px rgba(127, 29, 29, 0.07) !important;
    overflow: hidden !important;
}

body.theme-speedyfood.checkout-page .checkout-food-cart-inside {
    height: 100% !important;
    max-height: 100% !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

body.theme-speedyfood.checkout-page .checkout-food-cart-header {
    flex: 0 0 auto !important;
    padding: 11px 14px !important;
    background: linear-gradient(
        135deg,
        var(--theme-primary, #B91C1C),
        var(--theme-primary-dark, #7F1D1D)
    ) !important;
    border-bottom: 0 !important;
}

body.theme-speedyfood.checkout-page .checkout-food-clear-button {
    background-color: rgba(255, 255, 255, 0.16) !important;
    color: #FFFFFF !important;
    padding: 7px 10px !important;
    border-radius: 12px !important;
    font-size: 11px !important;
}

body.theme-speedyfood.checkout-page .checkout-food-summary-mini {
    flex: 0 0 auto !important;
    padding: 9px 14px !important;
    background-color: var(--theme-surface, #FFFFFF) !important;
    border-bottom: 1px solid var(--theme-border, #FED7AA) !important;
}

body.theme-speedyfood.checkout-page .checkout-food-cart-list-parent {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    max-height: none !important;
    padding: 10px 12px !important;
    background-color: var(--theme-surface, #FFFFFF) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

body.theme-speedyfood.checkout-page .checkout-food-cart-list-parent .checkout-cart-list,
body.theme-speedyfood.checkout-page .checkout-food-cart-list-parent #cart_list {
    margin: 0 !important;
    padding: 0 !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    overflow: visible !important;
}

body.theme-speedyfood.checkout-page .checkout-food-empty-cart-image {
    width: 100% !important;
    max-width: 160px !important;
    height: auto !important;
    margin: 22px auto !important;
    padding: 0 !important;
    display: block;
    opacity: 0.78;
}

body.theme-speedyfood.checkout-page .checkout-food-bill {
    flex: 0 0 auto !important;
    margin-top: auto !important;
    padding: 11px 14px 16px 14px !important;
    background-color: var(--theme-background, #FFF7ED) !important;
    border-top: 1px solid var(--theme-border, #FED7AA) !important;
}

body.theme-speedyfood.checkout-page .checkout-food-bill .food-bill-row {
    margin-bottom: 6px !important;
    color: var(--theme-muted, #6B7280) !important;
    font-size: 12px !important;
}

body.theme-speedyfood.checkout-page .checkout-food-bill .food-bill-row strong {
    color: var(--theme-text, #1F2937) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

body.theme-speedyfood.checkout-page .checkout-food-bill #lbl_total_sum {
    color: var(--theme-muted, #6B7280) !important;
    font-size: 11px !important;
}

body.theme-speedyfood.checkout-page .checkout-food-bill #lbl_total_off_sum {
    color: var(--theme-primary, #B91C1C) !important;
    font-size: 14px !important;
    font-weight: 900 !important;
}

body.theme-speedyfood.checkout-page .checkout-food-coupon-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin-top: 8px;
}

body.theme-speedyfood.checkout-page .checkout-food-coupon-box .checkout-coupon-error {
    grid-column: 1 / -1;
    margin: 0 !important;
    color: #DC2626 !important;
    font-size: 11px !important;
    text-align: right !important;
}

body.theme-speedyfood.checkout-page .checkout-food-coupon-box .checkout-coupon-input {
    min-height: 38px !important;
    border-radius: var(--theme-button_radius, 14px) !important;
    font-size: 12px !important;
}

body.theme-speedyfood.checkout-page .checkout-food-coupon-box .checkout-coupon-button {
    width: auto !important;
    min-width: 86px !important;
    min-height: 38px !important;
    border-radius: var(--theme-button_radius, 14px) !important;
    background-color: var(--theme-secondary, #F59E0B) !important;
    color: #111827 !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

body.theme-speedyfood.checkout-page .checkout-food-return-button {
    width: 100% !important;
    min-height: 40px !important;
    margin-top: 9px !important;
    border-radius: var(--theme-button_radius, 14px) !important;
    background-color: rgba(185, 28, 28, 0.08) !important;
    color: var(--theme-primary, #B91C1C) !important;
    border: 1px solid rgba(185, 28, 28, 0.22) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

body.theme-speedyfood.checkout-page .checkout-food-return-button:hover {
    background-color: var(--theme-primary, #B91C1C) !important;
    color: #FFFFFF !important;
}

/* Cart item rows inside checkout */
body.theme-speedyfood.checkout-page .checkout-food-cart-list-parent .cart-item,
body.theme-speedyfood.checkout-page .checkout-food-cart-list-parent .checkout-cart-item {
    background-color: var(--theme-surface, #FFFFFF) !important;
    border: 1px solid var(--theme-border, #FED7AA) !important;
    border-radius: 14px !important;
    color: var(--theme-text, #1F2937) !important;
    margin-bottom: 0 !important;
    padding: 8px !important;
}

body.theme-speedyfood.checkout-page .checkout-food-cart-list-parent .cart-item-name,
body.theme-speedyfood.checkout-page .checkout-food-cart-list-parent .checkout-cart-item-name {
    color: var(--theme-text, #1F2937) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1.7 !important;
}

body.theme-speedyfood.checkout-page .checkout-food-cart-list-parent .cart-item-price,
body.theme-speedyfood.checkout-page .checkout-food-cart-list-parent .checkout-cart-item-price {
    color: var(--theme-muted, #6B7280) !important;
    font-size: 11px !important;
}

body.theme-speedyfood.checkout-page .checkout-food-cart-list-parent .cart-item-offprice,
body.theme-speedyfood.checkout-page .checkout-food-cart-list-parent .checkout-cart-item-offprice,
body.theme-speedyfood.checkout-page .checkout-food-cart-list-parent .cart-bold-price {
    color: var(--theme-primary, #B91C1C) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
}

body.theme-speedyfood.checkout-page .checkout-food-cart-list-parent .cart-remove-button,
body.theme-speedyfood.checkout-page .checkout-food-cart-list-parent .cart-add-button {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    border-radius: 12px !important;
    border: 1px solid var(--theme-primary, #B91C1C) !important;
    background-color: #FFFFFF !important;
    color: var(--theme-primary, #B91C1C) !important;
    font-size: 16px !important;
    font-weight: 900 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

body.theme-speedyfood.checkout-page .checkout-food-cart-list-parent .cart-add-button {
    background-color: var(--theme-primary, #B91C1C) !important;
    color: #FFFFFF !important;
}

/* Mobile overlay cart */
@media (max-width: 990px) {
    body.theme-speedyfood.checkout-page #left_panel {
        display: none !important;
    }

    body.theme-speedyfood.checkout-page #hiden_menu .checkout-food-cart-panel,
    body.theme-speedyfood.checkout-page .overlay-content .checkout-food-cart-panel {
        height: 100% !important;
        max-height: 100% !important;
        border-radius: 0 !important;
    }

    body.theme-speedyfood.checkout-page #hiden_menu .checkout-food-cart-inside,
    body.theme-speedyfood.checkout-page .overlay-content .checkout-food-cart-inside {
        height: 100% !important;
        max-height: 100% !important;
    }
}

@media (max-width: 990px) {
    body.theme-speedyfood.checkout-page #hiden_menu .checkout-food-cart-panel,
    body.theme-speedyfood.checkout-page .overlay-content .checkout-food-cart-panel,
    body.theme-speedyfood.checkout-page #hiden_menu #cart_list_parent,
    body.theme-speedyfood.checkout-page .overlay-content #cart_list_parent {
        border-radius: 24px 24px 24px 0 !important;
        overflow: hidden !important;
    }

    body.theme-speedyfood.checkout-page #hiden_menu .checkout-food-cart-header,
    body.theme-speedyfood.checkout-page .overlay-content .checkout-food-cart-header,
    body.theme-speedyfood.checkout-page #hiden_menu .food-cart-header,
    body.theme-speedyfood.checkout-page .overlay-content .food-cart-header {
        border-radius: 24px 24px 0 0 !important;
    }
}

/* =========================
   SpeedyFood Product Page Header Z-Index Fix
   Keep At Very Bottom
========================= */

body.theme-speedyfood.product-page .store-header.food-header,
body.theme-speedyfood.product-page .food-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 5000 !important;
    isolation: isolate !important;
    background-color: var(--theme-surface, #FFFFFF) !important;
    background: var(--theme-surface, #FFFFFF) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    overflow: visible !important;
}

body.theme-speedyfood.product-page .store-header-container.food-header-container,
body.theme-speedyfood.product-page .food-header-container {
    position: relative !important;
    z-index: 5001 !important;
    background-color: var(--theme-surface, #FFFFFF) !important;
    background: var(--theme-surface, #FFFFFF) !important;
    overflow: visible !important;
}

body.theme-speedyfood.product-page .food-header-row,
body.theme-speedyfood.product-page .food-brand-area,
body.theme-speedyfood.product-page .food-header-actions,
body.theme-speedyfood.product-page .food-account-menu {
    position: relative !important;
    z-index: 5002 !important;
}

body.theme-speedyfood.product-page .food-account-dropdown {
    z-index: 5100 !important;
}

/* Product page sticky / visual elements must stay below header */
body.theme-speedyfood.product-page .product-page-container,
body.theme-speedyfood.product-page .product-main-panel,
body.theme-speedyfood.product-page .product-purchase-box,
body.theme-speedyfood.product-page .product-variation-box,
body.theme-speedyfood.product-page .product-gallery,
body.theme-speedyfood.product-page #myGallery,
body.theme-speedyfood.product-page .food-cart-panel,
body.theme-speedyfood.product-page .food-cart-panel-inside {
    z-index: auto;
}

/* Desktop side cart should stay under header */
@media (min-width: 991px) {
    body.theme-speedyfood.product-page .food-cart-panel {
        z-index: 100 !important;
    }

    body.theme-speedyfood.product-page .food-cart-panel-inside {
        z-index: 100 !important;
    }
}

/* Mobile opened cart must still come above header */
@media (max-width: 990px) {
    body.theme-speedyfood.product-page .food-cart-backdrop {
        z-index: 9000 !important;
    }

    body.theme-speedyfood.product-page .food-cart-panel {
        z-index: 9500 !important;
    }

    body.theme-speedyfood.product-page .food-mobile-cart-bar {
        z-index: 850 !important;
    }
}

/* =========================
   SpeedyFood Product Page Header Radius Restore
   Keep At Very Bottom
========================= */

@media (min-width: 769px) {
    body.theme-speedyfood.product-page .store-header.food-header,
    body.theme-speedyfood.product-page .food-header {
        border-radius: 0 0 24px 24px !important;
        overflow: visible !important;
        background-color: transparent !important;
        background: transparent !important;
    }

    body.theme-speedyfood.product-page .store-header-container.food-header-container,
    body.theme-speedyfood.product-page .food-header-container {
        border-radius: 0 0 24px 24px !important;
        overflow: visible !important;
        background-color: var(--theme-surface, #FFFFFF) !important;
        background: var(--theme-surface, #FFFFFF) !important;
    }
}

@media (max-width: 768px) {
    body.theme-speedyfood.product-page .store-header.food-header,
    body.theme-speedyfood.product-page .food-header,
    body.theme-speedyfood.product-page .store-header-container.food-header-container,
    body.theme-speedyfood.product-page .food-header-container {
        border-radius: 0 !important;
    }
}

/* =========================
   Header Logo Radius
   All Themes / All Pages
   Keep At Very Bottom
========================= */

.store-header-logo,
.food-header-logo {
    border-radius: var(--theme-button_radius, 14px) !important;
    overflow: hidden !important;
}

.store-logo-image,
.food-logo-image {
    border-radius: inherit !important;
}

/* =========================
   Amazing Section Image Radius
   Default + SpeedyFood
   Keep At Very Bottom
========================= */

.amazing-section a,
.amazing-products-section a,
.discount-products-section a,
.food-amazing-image-link {
    overflow: hidden !important;
}

.amazing-section img,
.amazing-products-section img,
.discount-products-section img,
.food-amazing-image,
.food-amazing-image-link img {
    border-radius: calc(var(--theme-card_radius, 18px) / 2) !important;
}

.amazing-section [class*="image"],
.amazing-products-section [class*="image"],
.discount-products-section [class*="image"],
.food-amazing-image-link {
    border-radius: calc(var(--theme-card_radius, 18px) / 2) !important;
    overflow: hidden !important;
}