:root {
    --orange: #f26a21;
    --muted: #7a7a7a;
    --bg: #f6f7f9;
}

/* ===== NEW HEADER STYLES ===== */
.storeHeaderSection {
    position: relative;
    overflow: hidden;
}

.storeBanner {
    width: 100%;
    height: 280px;
    margin-bottom: 30px;
    overflow: hidden;
    background: #f0f0f0;
    position: relative;
}

.storeBannerImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.storeOverlayButtons {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
}

/* Sticky state for overlay buttons */
.storeOverlayButtons.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    background: #fff;
    padding: 10px 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    animation: stickyOverlaySlideDown 0.3s ease-out;
}

.storeOverlayButtons.is-sticky .overlayBtn {
    background: rgba(0, 0, 0, 0.06);
    color: #333;
}

.storeOverlayButtons.is-sticky .overlayBtn:hover {
    background: var(--orange);
    color: white;
}

.storeOverlayButtons.is-sticky .backBtn i {
    color: #333;
}

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

/* Responsive sticky overlay */
@media (max-width: 768px) {
    .storeOverlayButtons.is-sticky {
        padding: 8px 12px;
    }

    .storeOverlayButtons.is-sticky .overlayBtn {
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
}

.overlayBtn {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
}

.overlayBtn:hover {
    background: var(--orange);
    transform: scale(1.05);
}

.overlayButtonsRight {
    display: flex;
    gap: 12px;
}

.favoriteBtn.favorited i {
    color: #e74c3c;
}

.backBtn {
    display: flex;
}

.storeLogoContainer {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 15;
    display: flex;
    align-items: center;
    justify-content: center;
}

.storeLogo {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    background: #fff;
    padding: 2px;
    object-fit: contain;
    border: 2px solid #fff;
}

/* ===== STORE INFO BLOCK ===== */
.storeInfoBlock {
    background: #fff;
    padding: 24px 16px;
    padding-top: 0;
    border-bottom: 1px solid #f0f0f0;
}

.storeInfoContent {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.storeName {
    font-size: 32px;
    font-weight: 800;
    color: #111;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}
.storeMetaTop {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 6px;
    font-size: 14px;
    color: #6b7280;
}

.storeDistance {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}

.storeDistance i {
    font-size: 14px;
    transform: rotate(-15deg);
}

.storeMetaBottom {
    margin-top: 6px;
    text-align: center;
    font-size: 14px;
    color: #8a8f98;
    line-height: 1.4;
}

.storeRatingBlock {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
}

.storeRating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.starRating {
    display: flex;
    gap: 2px;
}

.starRating i {
    color: #fbbf24;
    font-size: 18px;
}

.ratingNumber {
    font-weight: 700;
    color: #333;
    font-size: 14px;
}

.reviewCount {
    color: #222;
    font-size: 13px;
    cursor: pointer;
}

.storeAddress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #666;
    font-size: 13px;
    margin: 12px 0;
}

.storeAddress i {
    color: var(--orange);
    flex-shrink: 0;
}

.storeActionRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 10px;
    margin: 16px 0;
    flex-wrap: wrap;
}

.callButton {
    background: var(--orange);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.callButton:hover {
    background: #ff7e39;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 106, 33, 0.3);
    color: #fff;
}

.socialIconsRow {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.socialIcon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.socialIcon:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(242, 106, 33, 0.05);
}

.languageSwitcher {
    margin-top: 12px;
}

.languageSwitcherBtn {
    font-size: 13px;
    padding: 6px 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.languageSwitcherBtn i:last-child {
    font-size: 12px;
    margin-left: 4px;
}

/* ===== TABS SECTION ===== */
.storeTabsSection {
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.storeTabsList {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 24px;
    max-width: 600px;
    margin: 0 auto;
    border-bottom: 1px solid #f0f0f0;
}

.storeTab {
    padding: 0;
}

.storeTab button {
    background: none;
    border: none;
    padding: 16px 0;
    font-size: 1.1rem;
    font-weight: bolder;
    color: #999;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: block;
    width: 100%;
}

.storeTab.active button {
    color: #111;
}

.storeTab.active button::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--orange);
    width: 100%;
}

.storeTab button:hover {
    color: #333;
}

/* ===== TAB CONTENTS ===== */
.storeTabContent {
    display: none;
}

.storeTabContent.active {
    display: block;
}

/* ===== RESPONSIVE HEADER ===== */
@media (max-width: 768px) {
    .storeBanner {
        height: 220px;
    }

    .storeLogo {
        width: 100px;
        height: 100px;
    }

    .storeInfoBlock {
        padding: 20px 12px;
        padding-top: 0;
    }

    .storeActionRow {
        gap: 12px;
    }

    .callButton {
        padding: 8px 16px;
        font-size: 13px;
    }

    .storeTabsList {
        gap: 16px;
        padding: 0 12px;
    }

    .storeTab button {
        padding: 12px 0;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .storeBanner {
        height: 180px;
    }

    .storeLogo {
        width: 90px;
        height: 90px;
    }

    .storeInfoContent {
        padding: 0 8px;
    }

    .storeRatingBlock {
        gap: 8px;
        margin-bottom: 8px;
    }

    .starRating i {
        font-size: 16px;
    }

    .storeActionRow {
        gap: 8px;
        margin: 12px 0;
    }

    .callButton {
        padding: 8px 14px;
        font-size: 12px;
    }

    .socialIcon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .storeTabsList {
        gap: 12px;
        padding: 0 8px;
    }

    .storeTab button {
        padding: 12px 0;
        font-size: 1rem;
    }
}

/* Hide old side menu related styles */
.sideMenu,
.sideMenuTop,
.sideBrand,
.sideTitle,
.sideRate,
.rateStar,
.sideList,
.sideRow,
.sideRowRight,
.sideLink,
.sideLang,
.sideIcon,
.sideIcon.call,
.sideIcon.wa,
.sideIcon.login,
.sideBottom,
.sideAddress,
.sideSocial,
.socialCircle {
    display: none !important;
}

body {
    font-family:
        "Cairo",
        system-ui,
        -apple-system,
        "Segoe UI",
        Arial,
        sans-serif;
}

/* helpers */
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Topbar */
.menuTopbar .menuBrandTitle {
    pointer-events: none; /* خلي العنوان ثابت */
}
.menuBackLink {
    font-size: 0.9rem;
}
.menuIconBtn {
    line-height: 1;
}

/* Restaurant title */
.restaurantTitle {
    font-weight: 800;
    letter-spacing: -0.2px;
}

/* Filters */
.menuSearch .form-control:focus {
    box-shadow: none;
    border-color: #d0d0d0;
}

.chipsRow {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 12px 30px;
    position: relative;
    background: #fff;
    z-index: 100;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    margin-top: 12px;
}

/* عربي */
html[dir="rtl"] .chipsRow {
    direction: rtl;
    flex-direction: row;
}

/* انجليزي */
html[dir="ltr"] .chipsRow {
    direction: ltr;
    flex-direction: row;
}

.chipsRow.is-fixed {
    position: fixed;
    padding-top: 65px;
    top: 0px;
    left: 0;
    right: 0;
    z-index: 99;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-top: 0;
}

/* Search box in chips row */
.chipsRow .menuSearch {
    flex-shrink: 0;
    margin-left: 10px;
}

.chipsRow .menuSearch .input-group {
    width: 200px;
}

.chipsRow .menuSearch .searchInput {
    border: 1px solid #e0e0e0;
    border-radius: 20px 0 0 20px;
    padding: 8px 14px;
    font-size: 0.9rem;
    background: #f9f9f9;
    transition: all 0.3s ease;
}

.chipsRow .menuSearch .searchInput:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(242, 106, 33, 0.1);
    background: #fff;
}

.chipsRow .menuSearch .searchInput::placeholder {
    color: #999;
}

.chipsRow .menuSearch .searchIcon {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 0 20px 20px 0;
    border-left: none;
    color: var(--orange);
    padding: 8px 12px;
    cursor: pointer;
}

.chipBtn {
    border: 1px solid #dedede;
    background: #fff;
    padding: 8px 14px;
    border-radius: 10px;
    font-weight: 700;
    color: #222;
    font-size: 0.9rem;
    transition: 0.15s ease;
}

.chipBtn:hover {
    border-color: #cfcfcf;
}

.chipBtn.is-active {
    border-color: #111;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

/* Menu background */
.bg-menu {
    background: var(--bg);
}

/* Section title (right aligned like screenshot) */
.menuSectionHeader {
    text-align: center;
    margin-bottom: 18px;
}

.menuSectionTitle {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.35rem;
    letter-spacing: 0.5px;
    margin: 0 0 6px 0;
    color: #111;
    line-height: 1.3;
}

.menuSectionDesc {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    max-width: 520px;
    margin-inline: auto;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .menuSectionTitle {
        font-size: 1.2rem;
    }

    .menuSectionDesc {
        font-size: 0.85rem;
        padding: 0 10px;
    }
}

/* Product card like screenshot (image right, text left) */
.productCard {
    border: 0;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    gap: 0;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
    padding: 0;
    cursor: pointer;
}

.productImgBox {
    width: 108px;
    height: 100%;
    flex: 0 0 auto;
    overflow: hidden;
    border-right: 1px solid #f0f0f0; /* RTL separator */
}

.productInfo {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 80px;
}

.productTitle {
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 2px;
    text-align: start;
    color: black;
}

.productDesc {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.4;
    text-align: start;
    margin-bottom: 2px;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.productPriceRow {
    text-align: start;
    display: flex;
    justify-content: space-between;
}

.priceTag {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    color: var(--orange);
    align-items: center;
    /* direction: inherit; */
    unicode-bidi: isolate;
    gap: 4px;
    font-weight: 700;
}
html[dir="rtl"] .priceTag {
    float: right;
}
html[dir="ltr"] .priceTag {
    float: left;
}

.sizePrice {
    display: inline-flex;
    align-items: center;
    /* direction: inherit; */
    unicode-bidi: isolate;
    color: var(--orange);
    font-weight: 700;
    font-size: 13px;
}

.sizePrice:not(:last-child)::after {
    content: ",";
    color: var(--orange);
}

.sizeName,
.sizeColon,
.price,
.priceValue,
.pmCurrency-inline {
    unicode-bidi: isolate;
}

.price {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-inline-start: 2px;
}

.text-orange {
    color: var(--orange);
}

/* Modal box - Professional Design */
.productModal {
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
}

.productModal .modal-content {
    border: 0;
    background: #fff;
}

.productModal .btn-close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.productModal .btn-close:hover {
    opacity: 1;
    background: #f5f5f5;
    border-radius: 8px;
}

.productModalBody {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 0;
    align-items: stretch;
    max-height: 100%;
}

.productModalText {
    padding: 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fafafa;
    max-height: 100%;
}

.pmTitle {
    font-weight: 900;
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: #111;
    line-height: 1.3;
}

.pmDesc {
    color: #666;
    font-weight: 600;
    line-height: 1.6;
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.pmPrices {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 14px;
    margin-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.6);
}

.pmPriceRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    direction: inherit;
}

.pmPriceRow.singlePrice {
    justify-content: flex-start;
}

.pmPrice {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f6e8df;
    padding: 4px;
    border-radius: 999px;
    color: var(--orange);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1;
    min-width: 80px;
}

.pmSize {
    font-size: 1rem;
    color: #000000;
}

.pmCurrency-inline {
    font-weight: 900;
    color: var(--orange);
    font-size: 1rem;
}

.pmCurrency {
    position: absolute;
    top: 2px;
    font-weight: 900;
    color: var(--orange);
    font-size: 1.1rem;
}

html[dir="rtl"] .pmCurrency {
    left: 10px;
    right: auto;
}

/* انجليزي */
html[dir="ltr"] .pmCurrency {
    right: 10px;
    left: auto;
}

.productModalImg {
    background: linear-gradient(135deg, #f9f9f9 0%, #fff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.productModalImg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    max-width: 100%;
    max-height: 100%;
}

/* Responsive modal layout */
@media (max-width: 991.98px) {
    .productModalBody {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .productModalText {
        padding: 30px 25px;
        background: #fff;
        order: 2;
    }

    .productModalImg {
        order: 1;
    }

    .pmDesc {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 575.98px) {
    .productModal .modal-content {
        border-radius: 16px;
    }

    .productModalBody {
        min-height: auto;
    }

    .productModalText {
        padding: 20px 16px;
    }

    .pmTitle {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }

    .pmDesc {
        font-size: 0.9rem;
        margin-bottom: 16px;
    }

    .productModalImg {
        min-height: 250px;
    }
}

.productModalImg img {
    border-radius: 0;
}

/* Offcanvas like screenshot */

.menuOffList {
    border-top: 1px solid #ececec;
}

.menuOffItem {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 8px 2px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #ececec;
}

.menuOffItem:hover {
    background: #fafafa;
}

/* Responsive modal layout */
@media (max-width: 991.98px) {
    .productModalBody {
        grid-template-columns: 1fr;
    }
    .productModalImg {
        min-height: 260px;
    }
    .productModalText {
        padding: 14px 16px;
    }
}

/* Side Menu - Professional Clean Design */
.sideMenu {
    width: min(350px, 80vw);
    background: #fff;
    border-right: 1px solid #f0f0f0;
}

.sideMenuTop {
    padding: 20px 20px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}

.sideClose {
    font-size: 24px;
    color: #333;
    text-decoration: none;
    padding: 8px;
    transition: all 0.3s ease;
}

.sideClose:hover {
    color: var(--orange);
}

.sideBrand {
    padding: 24px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.sideTitle {
    font-weight: 900;
    font-size: 32px;
    letter-spacing: -0.5px;
    color: #111;
    margin: 0;
}

.sideRate {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    font-weight: 700;
}

.sideRate .rateNum {
    font-size: 16px;
    color: #333;
}

.rateStar {
    color: #fbbf24;
    font-size: 16px;
}

.sideList {
    padding: 16px 0;
}

.sideRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    transition: all 0.3s ease;
}

.sideRow:hover {
    background: #f9f9f9;
}

.sideLink {
    color: #333;
    text-decoration: none;
    cursor: pointer;
}

.sideLink:hover {
    background: #f9f9f9 !important;
}

.sideLang {
    font-weight: 700;
    font-size: 16px;
    color: var(--orange) !important;
    text-decoration: none;
}

.sideIcon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 18px;
    background: #f5f5f5;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.sideIcon.call {
    color: #3b82f6;
}

.sideIcon.wa {
    color: #10b981;
}

.sideIcon.login {
    color: var(--orange);
}

.sideRow:hover .sideIcon {
    background: #efefef;
    transform: scale(1.05);
}

.sideBottom {
    padding: 24px 20px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.sideAddress {
    color: #666;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.sideSocial {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.socialCircle {
    width: 48px;
    height: 48px;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #666;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
}

.socialCircle:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(242, 106, 33, 0.05);
}

/* Mobile tweaks */
@media (max-width: 575.98px) {
    .sideTitle {
        font-size: 32px;
    }
    .sideRow {
        font-size: 18px;
    }
    .sideLang {
        font-size: 18px;
    }
}

.productCard {
    height: 120px;
}

.chipBtn {
    border: 1px solid #eee;
    background: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 700;
    white-space: nowrap;
}

.chipBtn.is-active {
    background: #f26a21;
    border-color: #f26a21;
    color: #fff;
}

/* Back to Top Button */
.backToTopBtn {
    position: fixed;
    left: 18px;
    bottom: -80px;
    width: 50px;
    height: 50px;
    border-radius: 999px;
    background: var(--orange);
    color: #fff;
    border: none;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    font-size: 1.25rem;
}
.backToTopBtn:hover {
    background: var(--orange);
    filter: brightness(0.92);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(242, 106, 33, 0.3);
}
.backToTopBtn.show {
    bottom: 30px;
}

:root {
    --chips-top: 0px; /* رح نحدده بالـ JS حسب ارتفاع التوب بار */
}

/* ===== Mobile behavior ===== */
/* =========================================
   Base
========================================= */
.chipsRow {
    display: none;
    gap: 10px;
    align-items: center;
    overflow-x: auto;
    padding: 8px 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.chipsRow::-webkit-scrollbar,
.chipsHeroRow::-webkit-scrollbar {
    display: none;
}

.chipsRow.is-fixed {
    display: flex;
}

.chipsHeroRow {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 0;
    margin-top: 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.chipsHeroRow.is-hidden {
    display: none !important;
}

.heroChip {
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    text-align: center;
    flex: 0 0 auto;
    cursor: pointer;
    appearance: none;

    display: flex;
    flex-direction: column;
    align-items: center;
    width: 110px; 
}

.heroChipImg {
    width: 110px;
    height: 82px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

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

.heroChipLabel {
    margin-top: 6px;
    font-weight: 800;
    font-size: 12px;
    line-height: 1.3;
    color: #111;

    text-align: center;

    height: 32px;            
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical;
}

.sectionHero {
    margin: 10px 0 14px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #eee;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.sectionHero img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

/* =========================================
   Mobile: أقل من 768
========================================= */
@media (max-width: 767.98px) {
    .chipsRow {
        display: none;
    }

    .chipsRow.is-fixed {
        display: flex;
    }

    .chipsHeroRow {
        display: flex;
        gap: 6px;
        padding: 10px 0;
        margin-top: 10px;
    }

    .heroChipImg {
        width: 100px;
        aspect-ratio: 4 / 3;
        border-radius: 8px;
    }

    .heroChipLabel {
        font-size: 12px;
        margin-top: 6px;
    }

    .sectionHero {
        border-radius: 12px;
    }

    .sectionHero img {
        height: 160px;
    }
}

/* =========================================
   Tablet: من 768 إلى 991.98
========================================= */
@media (min-width: 768px) and (max-width: 991.98px) {
    .chipsRow {
        display: none;
    }

    .chipsRow.is-fixed {
        display: flex;
    }

    .chipsHeroRow {
        display: flex;
        gap: 10px;
        padding: 12px 0;
        margin-top: 12px;
    }

    .heroChipImg {
        width: 145px;
        aspect-ratio: 16 / 10;
        border-radius: 12px;
    }

    .heroChipLabel {
        font-size: 14px;
        margin-top: 8px;
    }

    .sectionHero {
        border-radius: 16px;
    }

    .sectionHero img {
        height: 220px;
    }
}

/* =========================================
   Desktop: 992 وأعلى
========================================= */
@media (min-width: 992px) {
    .chipsHeroRow {
        display: none;
    }

    .chipsRow {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        overflow: visible;
        padding: 0;
        margin-top: 0;
    }

    .chipsRow.is-fixed {
        display: flex;
    }

    .sectionHero img {
        height: 280px;
    }
}

.mobileSearchHolder {
    padding: 10px 16px 0;
    background: #fff;
}

.offerModalCard {
    border: 0;
    border-radius: 26px;
    overflow: hidden;
    background: #f4f2ee;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    position: relative;
}

.offerModalCardClose {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 6;
    border: 1px solid #d7c4ad;
    border-radius: 14px;
    width: 42px;
    height: 42px;
    padding: 0;
    color: white;
    box-shadow: none;
}

.offerModalCardImageWrap {
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: #e9e9e9;
}

.offerModalCardImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.offerModalCardBody {
    padding: 18px 14px 16px;
}

.offerModalCardTitle {
    margin: 0 0 8px;
    font-size: 27px;
    line-height: 1.15;
    font-weight: 800;
    color: #1e1b18;
    letter-spacing: -0.3px;
}

.offerModalCardDesc {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.35;
    color: #4d473f;
}

.offerModalCardPromo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(180deg, #9a4d12 0%, #6e350d 100%);
    color: #fff3d9;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
    margin-bottom: 12px;
}

.offerModalCardPromoText {
    line-height: 1;
}

.offerModalCardPromoDiscount {
    line-height: 1;
    color: #ffd18a;
}

.offerModalCardPrices {
    display: flex;
    align-items: flex-end;
    gap: 14px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.offerModalCardOldPrice {
    font-size: 18px;
    font-weight: 700;
    color: #7d746c;
    text-decoration: line-through;
    line-height: 1;
}

.offerModalCardNewPrice {
    font-size: 25px;
    font-weight: 900;
    color: #c86512;
    line-height: 1;
}

.offerModalCardMeta {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.offerModalCardMetaItem {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #2b2723;
    font-weight: 700;
    flex-wrap: wrap;
}

.offerModalCardMetaItem i {
    font-size: 16px;
    color: #2b2723;
}

@media (max-width: 575.98px) {
    .offerModalCard {
        border-radius: 22px;
    }

    .offerModalCardImageWrap {
        height: 320px;
    }

    .offerModalCardClose {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }

    .offerModalCardBody {
        padding: 16px 12px 14px;
    }

    .offerModalCardTitle {
        font-size: 24px;
    }

    .offerModalCardDesc {
        font-size: 14px;
    }

    .offerModalCardNewPrice {
        font-size: 22px;
    }

    .offerModalCardOldPrice {
        font-size: 16px;
    }

    .offerModalCardMetaItem {
        font-size: 13px;
    }
}

.appPromoModal {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
}

.appPromoInner {
    padding: 16px 12px;
}

.appPromoContent {
    padding: 6px 6px 20px;
}

.appPromoTitle {
    font-size: 32px;
}

.appPromoText {
    font-size: 16px;
    margin-bottom: 20px;
}

.appPromoStores {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 20px;
}

.storeBtn img {
    width: 140px;
    height: auto;
    object-fit: contain;
}

.appPromoSkip {
    margin-top: 20px;
    border: none;
    background: transparent;
    color: #777;
    font-size: 18px;
}

.modal.fade .modal-dialog {
    transform: translate(0, 0) !important;
}

@media (max-width: 575.98px) {
    .appPromoTitle {
        font-size: 26px;
    }

    .appPromoText {
        font-size: 16px;
        line-height: 1.8;
    }

    .storeBtn img {
        height: 44px;
        width: auto;
    }
}

/* ===== INFO TAB STYLES ===== */
.infoBranchSection {
    background: #fff;
    padding: 20px 16px;
}

.currentBranchBlock {
    max-width: 600px;
    margin: 0 auto;
}

.branchHeader {
    margin-bottom: 16px;
}

.branchTitle {
    font-size: 24px;
    font-weight: 800;
    color: #111;
    margin: 0;
    letter-spacing: -0.3px;
}

.branchDetailRow {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.branchDetailRow i {
    color: var(--orange);
    flex-shrink: 0;
    margin-top: 2px;
}

.mapPreviewBox {
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    border: 1px solid #e5e5e5;
    height: 180px;
}

.mapPlaceholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f9f9f9 0%, #f5f5f5 100%);
}

.mapIcon {
    font-size: 48px;
    color: var(--orange);
    margin-bottom: 12px;
}

.mapPlaceholder p {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin: 0;
    max-width: 90%;
}

.branchSummaryRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
}

.branchesCount {
    font-size: 14px;
    color: #666;
    font-weight: 600;
}

.seeAllBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 14px;
    border: 0;
    background: #f1f1f1;
    color: #6b6b6b;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.seeAllBtn:hover {
    background: #e8e8e8;
}

.workingHoursSection {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
}

.workingHoursHeader {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.workingHoursTitle {
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.statusBadge {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 600;
}

.statusBadge.open {
    background: #d4f4dd;
    color: #22863a;
}

.statusBadge.closed {
    background: #ffeaea;
    color: #cb2431;
}

.workingHoursList {
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.workingHourItem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 13px;
    color: #333;
}

.dayName {
    font-weight: 600;
    min-width: 50px;
}

.timeRange {
    color: #666;
}

/* ===== BRANCHES LIST MODAL ===== */
.branchesModalContent {
    border: 0;
    border-radius: 0;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
}

.branchesModalHeader {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #f0f0f0;
    gap: 12px;
}

.branchesModalHeader .btn-close {
    order: -1;
    flex-shrink: 0;
}

.storeTitleInModal {
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    flex: 1;
    margin: 0;
}

.branchesCountBadge {
    font-size: 12px;
    background: #f0f0f0;
    padding: 4px 8px;
    border-radius: 4px;
    color: #666;
    flex-shrink: 0;
}

.branchesListTitleSection {
    padding: 16px 16px 0;
}

.branchesListTitle {
    font-size: 24px;
    font-weight: 800;
    color: #111;
    margin: 0;
}

.branchCount {
    color: var(--orange);
    font-weight: 600;
}

.branchesSearchSection {
    padding: 12px 16px;
}

.searchInputWrapper {
    position: relative;
}

.searchInputWrapper i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
    pointer-events: none;
}

.branchSearchInput {
    padding-left: 40px !important;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    font-size: 14px;
}

.branchSearchInput::placeholder {
    color: #999;
}

.branchSearchInput:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(242, 106, 33, 0.1);
}

.branchesListContainer {
    flex: 1;
    overflow-y: auto;
    padding: 12px 16px;
    -webkit-overflow-scrolling: touch;
}

.branchListItem {
    display: flex;
    gap: 12px;
    padding: 14px;
    margin-bottom: 10px;
    background: #f9f9f9;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.branchListItem:hover {
    background: #fff;
    border-color: #e5e5e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.branchItemAvatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.avatarInitial {
    color: #fff;
    font-weight: 700;
    font-size: 18px;
}

.branchItemContent {
    flex: 1;
    min-width: 0;
}

.branchItemName {
    font-weight: 700;
    font-size: 15px;
    color: #111;
    margin: 0 0 4px 0;
}

.branchItemAddress {
    font-size: 12px;
    color: #666;
    margin: 0 0 6px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.branchItemDistance {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #999;
}

.branchItemDistance i {
    font-size: 12px;
    color: var(--orange);
}

.branchItemActions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.callBtnSmall {
    background: var(--orange);
    color: #fff;
    padding: 8px 12px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 12px;
    white-space: nowrap;
    transition: all 0.3s ease;
    display: inline-block;
}

.callBtnSmall:hover {
    background: #ff7e39;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 106, 33, 0.3);
}

.moreBtn {
    width: 32px;
    height: 32px;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    background: transparent;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 14px;
}

.moreBtn:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(242, 106, 33, 0.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .infoBranchSection {
        padding: 16px 12px;
    }

    .branchTitle {
        font-size: 20px;
    }

    .branchesListContainer {
        padding: 12px 8px;
    }

    .branchesModalHeader {
        padding: 12px;
    }

    .storeTitleInModal {
        font-size: 14px;
    }

    .branchesListTitle {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .infoBranchSection {
        padding: 14px 10px;
    }

    .branchTitle {
        font-size: 18px;
    }

    .mapPreviewBox {
        height: 140px;
    }

    .mapIcon {
        font-size: 36px;
        margin-bottom: 8px;
    }

    .mapPlaceholder p {
        font-size: 11px;
    }

    .branchListItem {
        padding: 12px;
        margin-bottom: 8px;
    }

    .branchItemAvatar {
        width: 44px;
        height: 44px;
    }

    .avatarInitial {
        font-size: 16px;
    }

    .branchItemName {
        font-size: 14px;
    }

    .branchItemAddress {
        font-size: 11px;
    }

    .callBtnSmall {
        padding: 6px 10px;
        font-size: 11px;
    }

    .moreBtn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

.mapPreviewBox {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #f3f3f3;
}

.realMapFrame {
    display: block;
    width: 100%;
    height: 220px;
    border: 0;
}

/* ===== REVIEWS TAB STYLES ===== */
.reviewsSection {
    background: #fff;
    padding: 20px 16px;
}

.ateHereBlock {
    max-width: 600px;
    margin: 0 auto 20px;
}

.ateHereTitle {
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin: 0 0 14px 0;
}

.addReviewBtn {
    width: 100%;
    padding: 14px 16px;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.addReviewBtn:hover {
    background: #ff7e39;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 106, 33, 0.3);
}

.addReviewBtn:active {
    transform: translateY(0);
}

.reviewsSummary {
    max-width: 600px;
    margin: 0 auto 20px;
    padding: 12px 0;
    text-align: center;
}

.reviewsCount {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.reviewsList {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 40px;
}

.reviewItem {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: #f9f9f9;
    border-radius: 10px;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.reviewItem:hover {
    background: #fff;
    border-color: #e5e5e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.reviewAvatar {
    flex-shrink: 0;
}

.reviewAvatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.reviewContent {
    flex: 1;
    min-width: 0;
}

.reviewHeader {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.reviewerName {
    font-weight: 700;
    font-size: 14px;
    color: #111;
    margin: 0;
}

.reviewerHandle {
    font-size: 13px;
    color: #999;
}

.reviewRating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
}

.reviewRating i {
    font-size: 14px;
    color: #fbbf24;
    line-height: 1;
}

.reviewRating i.bi-star {
    color: #ddd;
}

.reviewTimeAgo {
    font-size: 11px;
    color: #999;
    margin-left: 6px;
}

.reviewText {
    font-size: 13px;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

.reviewMoreBtn {
    width: 32px;
    height: 32px;
    border: 1px solid #e5e5e5;
    background: transparent;
    border-radius: 6px;
    color: #999;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
    font-size: 14px;
}

.reviewMoreBtn:hover {
    border-color: var(--orange);
    color: var(--orange);
    background: rgba(242, 106, 33, 0.05);
}

/* Responsive adjustments for reviews */
@media (max-width: 768px) {
    .reviewsSection {
        padding: 16px 12px;
    }

    .ateHereTitle {
        font-size: 18px;
    }

    .reviewItem {
        padding: 12px;
        gap: 10px;
    }

    .reviewAvatar img {
        width: 40px;
        height: 40px;
    }

    .reviewerName {
        font-size: 13px;
    }

    .reviewerHandle {
        font-size: 12px;
    }

    .reviewText {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .reviewsSection {
        padding: 12px 10px;
    }

    .ateHereTitle {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .addReviewBtn {
        padding: 12px 14px;
        font-size: 14px;
    }

    .reviewItem {
        padding: 10px;
        gap: 10px;
    }

    .reviewAvatar img {
        width: 40px;
        height: 40px;
    }

    .reviewerName {
        font-size: 13px;
    }

    .reviewerHandle {
        font-size: 11px;
    }

    .reviewTimeAgo {
        font-size: 10px;
    }

    .reviewText {
        font-size: 12px;
    }

    .reviewMoreBtn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

.menuOffcanvas.offcanvas-bottom {
    height: auto;
    max-height: 60vh;
    max-width: 770px;
    border: 0;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.45);
}

.offcanvas-backdrop.show {
    opacity: 0.55;
}

.menuOffHeader {
    position: relative;
    padding: 16px 18px;
    border-bottom: 1px solid rgba(226, 222, 222, 0.6);
}

.menuOffHeader .offcanvas-title {
    width: 100%;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    color: #000;
    margin: 0;
    letter-spacing: 0.2px;
}

.menuOffClose {
    position: absolute;
    inset-inline-start: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #000;
    text-decoration: none;
}

.menuOffClose i {
    font-size: 22px;
}

.menuOffBody {
    padding: 10px 0;
}

.menuOffList {
    display: flex;
    flex-direction: column;
}

.menuOffItem {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: transparent;
    border: 0;
    color: #000;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
}

.menuOffItem:visited,
.menuOffItem:link {
    color: #000;
    text-decoration: none;
}

.menuOffItem + .menuOffItem {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.menuOffItem:hover,
.menuOffItem:focus {
    background: rgba(0, 0, 0, 0.03);
    outline: none;
    text-decoration: none;
    color: #000;
}

.menuOffItem:active {
    background: rgba(0, 0, 0, 0.06);
}

.contactOffLabelWrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contactOffArrow {
    font-size: 16px;
    color: #777;
}

.contactOffLabel {
    font-size: 16px;
    font-weight: 500;
    color: #111;
}

.contactOffIcon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contactOffIcon.call {
    background: rgba(242, 106, 33, 0.12);
    color: #f26a21;
}

.contactOffIcon.whatsapp {
    background: rgba(37, 211, 102, 0.12);
    color: #25d366;
}
