:root {
  --brand-gold: #f3c64d;
  --brand-yellow: #ffd96a;
  --brand-orange: #ee7b23;
  --brand-red: #d94841;
  --brand-dark: #292321;
  --brand-primary: var(--brand-orange);
  --brand-primary-hover: #d96518;
  --brand-primary-soft: rgba(238,123,35,.14);
  --brand-black: #f3eee6;
  --brand-surface: #fffaf2;
  --brand-raised: #fffdf8;
  --brand-card: #fffdf8;
  --brand-white: #fffdf8;
  --brand-text: #292321;
  --brand-muted: #766e68;
  --brand-border: #dfd2c2;
  --brand-shadow: 0 5px 16px rgba(71,48,28,.16);
}
html, body, #app { background: var(--brand-black); color: var(--brand-text); }
#custom-header.modern-header { min-height:64px; padding:calc(8px + env(safe-area-inset-top)) 14px 8px; background:var(--brand-primary); border-bottom:1px solid rgba(7,17,23,.34); box-shadow:0 5px 18px rgba(7,17,23,.28); }
#custom-header .header-container { min-height:46px; }
#custom-header .logo-area { gap:9px; }
#custom-header .logo-img { width:48px; height:48px; border:1.5px solid rgba(255,255,255,.86); background:rgba(255,255,255,.78); box-shadow:0 0 12px rgba(7,17,23,.18); }
#custom-header .logo-titles .main-title { color:#071117; font-size:17px; font-weight:900; line-height:1.2; }
#custom-header .logo-titles .sub-title-header { color:rgba(7,17,23,.72); }
#custom-header .nav-icons-bar { gap:8px; }
#custom-header .nav-icon-btn { width:42px; min-width:42px; height:42px; min-height:42px; padding:0; justify-content:center; border:1px solid rgba(255,255,255,.82); border-radius:50%; background:rgba(255,255,255,.78); color:#071117; box-shadow:0 2px 8px rgba(7,17,23,.14); }
#custom-header .nav-icon-btn svg { width:19px; height:19px; }
#custom-header .nav-icon-btn:hover, #custom-header .profile-pill:hover { border-color:#fff; background:#fff; color:#071117; }
#custom-header .profile-pill { color:#071117; }
#custom-header .profile-pill span { display:none; }
#custom-header .badge-count { border:2px solid var(--brand-primary); background:#071117; color:#fff; }
#custom-header #notif-nav-badge { background:#071117 !important; color:#fff !important; border:1px solid rgba(255,255,255,.82); }
.mobile-bottom-nav { min-height:64px; padding:6px 5px calc(6px + env(safe-area-inset-bottom)); border:1px solid #172b36; border-bottom:0; border-radius:22px 22px 0 0; background:#080d10; box-shadow:0 -5px 20px rgba(0,0,0,.34); }
.bottom-nav-item { position:relative; min-height:54px; flex:1 1 0; gap:2px; padding:4px 2px; border-radius:13px; color:#c4d0d7; font-size:10px; }
.bottom-nav-item svg { width:21px; height:21px; }
.bottom-nav-item.active { background:rgba(54,189,244,.13); color:var(--brand-primary); }
.bottom-nav-item:hover { color:var(--brand-primary); }
#sidebar { background:#0c1216 !important; border-color:var(--brand-border) !important; color:var(--brand-text); }
#sidebar button { color:#e8f0f4 !important; }
#sidebar button:first-child { background:#111a20 !important; }
#page-home, #page-branch-catalog, #page-product, #page-cart, #page-wishlist, #page-profile, #page-orders, #page-category, #page-brand { background:var(--brand-black); color:var(--brand-text); overflow-x:clip; }
#page-home { padding-bottom:12px; }
#page-home .hero-section { padding-top:calc(64px + env(safe-area-inset-top)); padding-bottom:2px; background:var(--brand-black); }
#page-home .main-banner-img { width:100%; height:clamp(118px,33vw,150px); margin:0; border-radius:0; background-position:center; box-shadow:none; }
#page-home .hero-location-pill { border:1px solid rgba(54,189,244,.55); background:rgba(7,14,18,.84); color:var(--brand-primary); }
#page-home #hero-slider-home { margin:0 !important; border-radius:0; }
#page-home #hero-slider-home .hs-slider { max-height:152px; aspect-ratio:2.85 / 1; border-radius:0; }
#page-home #hero-slider-home .hs-content { padding:12px 18px 18px 42%; }
#page-home #hero-slider-home .hs-title { font-size:20px; line-height:1.25; }
#page-home #hero-slider-home .hs-progress-row { left:0; right:0; bottom:6px; justify-content:center; gap:5px; }
#page-home #hero-slider-home .hs-progress-track { flex:0 0 18px; width:18px; height:4px; border-radius:999px; }
#page-home #home-search-form { padding:8px 14px 5px; }
#page-home .search-container { display:flex; width:100%; min-height:46px; gap:7px; margin:0; padding:4px; border:1.5px solid var(--brand-primary); border-radius:15px; background:#0d151a; box-shadow:0 0 12px rgba(54,189,244,.09); }
#page-home #searchInput-main { min-width:0; flex:1 1 auto; padding:0 11px; border:0; outline:0; background:transparent; color:#f5f8fa; font:700 13px/1.4 Cairo,sans-serif; }
#page-home #searchInput-main::placeholder { color:#8c9ba4; }
#page-home .home-search-submit { min-width:72px; min-height:38px; padding:0 15px; border:0; border-radius:11px; background:var(--brand-primary) !important; color:#061117 !important; font-weight:900; }
#page-home .features-row { display:none; }
#page-home .branch-picker { margin:10px 12px 18px; padding:0; border:0; border-radius:0; background:transparent; box-shadow:none; }
#page-home .branch-picker-heading { display:flex; align-items:center; gap:8px; margin-bottom:8px; }
#page-home .branch-picker-title-icon { width:28px; height:28px; flex:0 0 28px; display:grid; place-items:center; border-radius:8px; background:transparent !important; color:var(--brand-primary) !important; box-shadow:none; }
#page-home .branch-picker-title-icon svg { width:22px; height:22px; }
#page-home .branch-picker h2 { margin:0; color:#f7fafc; font-size:17px; line-height:1.25; }
#page-home .branch-picker p { margin:1px 0 0; color:var(--brand-muted); font-size:10px; line-height:1.35; }
#page-home .branch-picker-status { margin:2px 0 8px; color:var(--brand-muted); }
#page-home .branch-picker-list { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:7px; margin-top:0; }
#page-home .branch-choice { min-width:0; min-height:62px; height:62px; display:flex; flex-direction:row; align-items:center; gap:7px; padding:5px 7px; overflow:hidden; border:1px solid #dcebf3; border-radius:14px; background:var(--brand-card); color:#111a20; text-align:right; box-shadow:0 3px 11px rgba(0,0,0,.2); }
#page-home .branch-choice-visual { width:48px; height:48px; flex:0 0 48px; overflow:hidden; border:1px solid #d7ebf6; border-radius:50%; background:#fff; }
#page-home .branch-choice-image { width:100%; height:100%; object-fit:cover; border-radius:inherit; }
#page-home .branch-choice-info { min-width:0; width:auto; height:100%; flex:1 1 auto; display:flex; flex-direction:column; align-items:stretch; justify-content:center; gap:2px; padding:0; text-align:right; }
#page-home .branch-choice-title { min-height:0; max-height:21px; overflow:hidden; color:#101820; font-size:12px; font-weight:900; line-height:1.5; white-space:nowrap; text-overflow:ellipsis; }
#page-home .branch-choice-meta { min-height:0; max-height:26px; display:flex; align-items:flex-start; gap:3px; overflow:hidden; color:#35434b; font-size:9px; line-height:1.35; text-align:right; }
#page-home .branch-choice-meta span { display:-webkit-box; overflow:hidden; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
#page-home .branch-choice-meta svg { color:var(--brand-primary-hover) !important; }
#page-home .branch-choice-action { display:none; }
#page-home .branch-choice-check { top:3px; right:3px; width:17px; height:17px; border:1px solid #fff; background:var(--brand-primary) !important; color:#071015 !important; font-size:10px; box-shadow:0 0 8px rgba(54,189,244,.25); }
#page-home .branch-choice.active { border:2px solid var(--brand-primary); background:var(--brand-card); color:#101820; box-shadow:0 0 0 1px rgba(54,189,244,.2),0 0 14px rgba(54,189,244,.15); }
#page-home .section { margin:0 0 16px; padding-inline:12px; }
#page-home .section-header { margin-bottom:7px; }
#page-home .section-title, #page-home .section-title-row .section-title { color:#f4f7f9; font-size:16px; font-weight:900; }
#page-home .section-title-row { gap:6px; }
#page-home .title-icon { width:27px; height:27px; border-radius:8px; background:transparent !important; color:var(--brand-primary) !important; box-shadow:none; }
#page-home .see-all { color:var(--brand-primary); font-size:11px; }
#page-home .home-brands-scroll { display:flex; flex-wrap:nowrap; gap:6px; width:100%; max-width:100%; padding:2px 0 4px; overflow-x:auto; overflow-y:hidden; direction:rtl; scroll-snap-type:x proximity; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
#page-home .home-brands-scroll::-webkit-scrollbar { display:none; }
#page-home .home-brand-card { flex:0 0 49px; min-width:49px; min-height:68px; gap:3px; padding:2px 1px; border:0; border-radius:0; background:transparent; color:#eaf1f5; box-shadow:none; font-size:9px; scroll-snap-align:start; }
#page-home .home-brand-logo { width:43px; height:43px; flex:0 0 43px; overflow:hidden; border:1px solid rgba(54,189,244,.72); border-radius:50%; background:#f8fcff; }
#page-home .home-brand-logo img { object-fit:contain; }
#page-home .home-brand-name { overflow:hidden; color:#e4edf2; font-size:9px; font-weight:700; text-overflow:ellipsis; }
#page-home #offers-grid, #page-home #recommended-grid { display:flex; flex-wrap:nowrap; grid-template-columns:none; gap:8px; width:100%; min-width:0; max-width:100%; padding:1px 0 5px; overflow-x:auto; overflow-y:hidden; overscroll-behavior-x:contain; scroll-snap-type:x proximity; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
#page-home #offers-grid::-webkit-scrollbar, #page-home #recommended-grid::-webkit-scrollbar { display:none; }
#page-home #offers-grid > .product-card, #page-home #recommended-grid > .product-card { position:relative; display:flex; flex:0 0 110px; flex-direction:column; width:110px; min-width:110px; max-width:110px; height:160px; min-height:150px; max-height:164px; overflow:hidden; scroll-snap-align:start; border:1px solid #d7e6ee; border-radius:13px; background:#f7fafc; color:#101820; box-shadow:0 2px 8px rgba(0,0,0,.2); }
#page-home #offers-grid > .product-card .prod-img, #page-home #recommended-grid > .product-card .prod-img { position:relative; flex:0 0 74px; width:100%; height:74px; min-height:74px; aspect-ratio:auto; padding:4px; background:#f7fafc; }
#page-home #offers-grid > .product-card .prod-img img, #page-home #recommended-grid > .product-card .prod-img img { width:100%; height:100%; object-fit:contain; }
#page-home #offers-grid > .product-card .prod-info, #page-home #recommended-grid > .product-card .prod-info { flex:1 1 auto; min-width:0; padding:4px 6px 5px; overflow:hidden; }
#page-home #offers-grid > .product-card .prod-name, #page-home #recommended-grid > .product-card .prod-name { display:-webkit-box; min-height:0; max-height:29px; margin:0 0 2px; overflow:hidden; color:#101820; font-size:11px; font-weight:700; line-height:1.3; white-space:normal; text-overflow:ellipsis; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
#page-home #offers-grid > .product-card .prod-brand, #page-home #recommended-grid > .product-card .prod-brand { gap:3px; margin:0 0 2px; overflow:hidden; }
#page-home #offers-grid > .product-card .prod-brand-icon, #page-home #recommended-grid > .product-card .prod-brand-icon { flex:0 0 auto; padding:0; background:transparent; color:#36bdf4; }
#page-home #offers-grid > .product-card .prod-brand-name, #page-home #recommended-grid > .product-card .prod-brand-name { overflow:hidden; color:#168fbe; font-size:9px; text-overflow:ellipsis; white-space:nowrap; }
#page-home #offers-grid > .product-card .prod-price, #page-home #recommended-grid > .product-card .prod-price { display:flex; flex-wrap:nowrap; gap:4px; margin:0 !important; overflow:hidden; white-space:nowrap; }
#page-home #offers-grid > .product-card .price-now, #page-home #recommended-grid > .product-card .price-now { color:#138fc3; font-size:12px; font-weight:900; }
#page-home #offers-grid > .product-card .price-old, #page-home #recommended-grid > .product-card .price-old { color:#77848c; font-size:9px; }
#page-home #offers-grid > .product-card .prod-badges, #page-home #recommended-grid > .product-card .prod-badges { top:5px; right:5px; left:auto; gap:3px; max-width:calc(100% - 38px); }
#page-home #offers-grid > .product-card .badge-offer, #page-home #offers-grid > .product-card .badge-new, #page-home #offers-grid > .product-card .badge-star, #page-home #recommended-grid > .product-card .badge-offer, #page-home #recommended-grid > .product-card .badge-new, #page-home #recommended-grid > .product-card .badge-star { display:block; max-width:100%; padding:2px 5px; overflow:hidden; border-radius:7px; background:#bcecff; color:#09202b; box-shadow:none; font-size:8px; line-height:1.35; text-overflow:ellipsis; white-space:nowrap; }
#page-home #offers-grid > .product-card .wish-btn, #page-home #recommended-grid > .product-card .wish-btn { top:5px; right:5px; width:23px; height:23px; background:rgba(255,255,255,.92); color:#74838c; }
#page-home #offers-grid > .product-card .wish-btn.active, #page-home #recommended-grid > .product-card .wish-btn.active { background:#d8f3ff; color:#139dcc; }
#page-home #offers-grid > .product-card .wish-btn svg, #page-home #recommended-grid > .product-card .wish-btn svg { width:14px; height:14px; }
#page-home #offers-grid > .product-card .quick-add-btn, #page-home #recommended-grid > .product-card .quick-add-btn { bottom:5px; left:5px; width:24px; height:24px; background:#36bdf4; color:#061117; box-shadow:none; }
#page-home #offers-grid > .product-card .prod-weight-select, #page-home #recommended-grid > .product-card .prod-weight-select { height:22px; min-height:22px; margin:2px 0 0 !important; padding:1px 4px !important; border-color:#c9e8f5 !important; border-radius:6px !important; background:#f7fafc !important; color:#17232a !important; font-size:9px !important; }
#page-home .home-mini-card-main { width:100%; height:96px; min-height:96px; display:flex; flex-direction:column; gap:2px; padding:4px; overflow:hidden; border:1px solid #d7e6ee; border-radius:12px; background:var(--brand-card); color:#101820; box-shadow:0 3px 10px rgba(0,0,0,.24); }
#page-home .home-mini-image { height:49px; flex:0 0 49px; padding:2px; border-radius:8px; background:#eaf4f9; }
#page-home .home-mini-name { min-height:14px; max-height:14px; display:block; overflow:hidden; color:#17232a; font-size:8px; font-weight:800; line-height:1.6; white-space:nowrap; text-overflow:ellipsis; }
#page-home .home-mini-price-row { min-height:17px; flex-wrap:nowrap; align-items:center; gap:2px; padding-inline-end:19px; overflow:hidden; white-space:nowrap; }
#page-home .home-mini-price { color:#138fc3; font-size:9px; }
#page-home .home-mini-old-price { color:#77848c; font-size:7px; }
#page-home .home-mini-discount { position:absolute; top:5px; right:5px; z-index:2; padding:1px 4px; border-radius:8px; background:var(--brand-primary); color:#071015; font-size:7px; }
#page-home .home-mini-add { top:auto; right:auto; left:4px; bottom:4px; width:19px; height:19px; border:0; border-radius:7px; background:var(--brand-primary) !important; color:#061117 !important; font-size:13px; line-height:19px; box-shadow:none; }
#page-home .product-card, #page-branch-catalog .product-card, #page-category .product-card, #page-brand .product-card, #page-wishlist .product-card { border-color:#d8e6ed; background:var(--brand-card); color:#142029; }
#page-home .prod-img, #page-branch-catalog .prod-img, #page-category .prod-img, #page-brand .prod-img, #page-wishlist .prod-img { background:#eaf3f8; }
#page-home .prod-name, #page-branch-catalog .prod-name, #page-category .prod-name, #page-brand .prod-name, #page-wishlist .prod-name { color:#142029; }
#page-home .price-now, #page-branch-catalog .price-now, #page-category .price-now, #page-brand .price-now, #page-wishlist .price-now { color:#138fc3; }
#page-home .prod-brand-name, #page-branch-catalog .prod-brand-name, #page-category .prod-brand-name, #page-brand .prod-brand-name, #page-wishlist .prod-brand-name { color:#168fbe; }
#page-home .quick-add-btn, #page-home .btn-add, #page-branch-catalog .quick-add-btn, #page-branch-catalog .btn-add, #page-category .quick-add-btn, #page-brand .quick-add-btn, #page-wishlist .quick-add-btn { background:var(--brand-primary) !important; color:#061117 !important; box-shadow:0 3px 9px rgba(54,189,244,.22); }
#page-home #search-count-label, #page-home #no-results > div[style*="font-size:18px"] { color:#f3f7f9 !important; }
#page-home #search-filter-bar select { border-color:var(--brand-border) !important; background:#10191f !important; color:#f4f7f9; }
#page-home .home-search-empty, #page-home #no-results-text { color:var(--brand-muted); }
#page-home #flashdeal-home .fd-card { border:1px solid #1c3948; border-radius:16px; background:linear-gradient(155deg,#14242d,#0a1115 72%); box-shadow:0 0 14px rgba(54,189,244,.15); }
#page-home #flashdeal-home .fd-badge, #page-home #flashdeal-home .fd-price-new { color:var(--brand-primary); }
#page-home #flashdeal-home .fd-qty-fill { background:var(--brand-primary); }
#page-home #flashdeal-home .fd-buy-btn { background:var(--brand-primary); color:#061117; }
#page-home #flashdeal-home .fd-dot-indicator { border-color:var(--brand-primary); background:rgba(54,189,244,.35); }
#page-home #flashdeal-home .fd-dot-indicator.active { background:var(--brand-primary); }
#page-branch-catalog .sub-header, #page-product .sub-header, #page-cart .sub-header, #page-wishlist .sub-header, #page-profile .sub-header, #page-orders .sub-header, #page-category .sub-header, #page-brand .sub-header { border-bottom-color:#1d303a; background:#0b1115; color:#f5f8fa; }
#page-branch-catalog .sub-title, #page-product .sub-title, #page-cart .sub-title, #page-wishlist .sub-title, #page-profile .sub-title, #page-orders .sub-title, #page-category .sub-title, #page-brand .sub-title { color:#f5f8fa; }
#page-product .opt-chip.selected, #page-profile .profile-tab.active { border-color:var(--brand-primary); background:var(--brand-primary-soft); color:var(--brand-primary); }
#page-product .btn-wish-large, #page-cart .cart-item, #page-cart .delivery-info, #page-cart .cart-summary, #page-orders .order-card, #page-profile .profile-tab-panel, #page-profile .profile-tabs, #page-profile .profile-form-card, #page-profile .referral-card, #page-profile .wallet-card { border-color:#213640; background:var(--brand-raised); color:var(--brand-text); box-shadow:var(--brand-shadow); }
#page-cart .cart-item-name, #page-cart .cart-total-label, #page-profile .profile-tab-panel h3, #page-profile .profile-tab-panel label, #page-profile .profile-setting-row b, #page-profile .referral-card b { color:#f4f7f9; }
#page-cart .cart-item-price, #page-cart .cart-total-price { color:var(--brand-primary); }
#page-cart .qty-ctrl { background:#17242b; }
#page-profile .profile-tab { color:#c1cdd3; }
#page-profile .profile-tab.active { color:var(--brand-primary); }
#page-profile .profile-tab-panel p, #page-profile .profile-setting-row small { color:var(--brand-muted); }
#page-profile .profile-setting-row { border-color:#26363f; }
#page-profile .profile-field label { color:#e7eef2; }
#page-profile .profile-input-wrap .form-input, #page-profile .form-input, #auth-container .form-input { border-color:#2a414d; background:#0b1216; color:#f4f8fa; }
#page-profile .profile-input-wrap .form-input:focus, #page-profile .form-input:focus, #auth-container .form-input:focus { border-color:var(--brand-primary); box-shadow:0 0 0 3px rgba(54,189,244,.16); }
#page-profile .profile-primary-button, #page-profile .profile-small-button, #page-profile .profile-location-button, #page-product .btn-cart-large, #page-cart .btn-checkout, #page-cart .btn-start-shop, #page-orders .btn-start-shop { border-color:var(--brand-primary); background:var(--brand-primary); color:#071117; box-shadow:0 4px 12px rgba(54,189,244,.18); }
#page-profile .wallet-card { border-color:#264250; background:#111c22; color:#eaf3f7; }
#page-profile .wallet-card #user-points-display, #page-profile .wallet-card #user-points-value-hint { color:var(--brand-primary); }
#page-profile .wallet-card small { background:#17252d; color:#cbd8de; }
#page-profile .referral-card input { border-color:#2a414d; background:#0b1216; color:#f4f8fa; }
#page-home .pro-back-btn, #page-branch-catalog .pro-back-btn, #page-product .pro-back-btn, #page-cart .pro-back-btn, #page-wishlist .pro-back-btn, #page-profile .pro-back-btn, #page-orders .pro-back-btn, #page-category .pro-back-btn, #page-brand .pro-back-btn { border-color:#29414e; background:#111a20; color:#f3f7f9; box-shadow:none; }
#page-home .pro-back-btn:hover, #page-branch-catalog .pro-back-btn:hover, #page-product .pro-back-btn:hover, #page-cart .pro-back-btn:hover, #page-wishlist .pro-back-btn:hover, #page-profile .pro-back-btn:hover, #page-orders .pro-back-btn:hover, #page-category .pro-back-btn:hover, #page-brand .pro-back-btn:hover { border-color:var(--brand-primary); background:#142630; color:var(--brand-primary); }
#auth-container { border-color:#253a45 !important; background:#0d151a !important; color:#f4f8fa !important; }
#auth-container h2, #auth-container h3, #auth-container .form-label { color:#f4f8fa !important; }
#auth-container #tab-register-btn, #auth-container .btn-save, #forgot-password-modal .btn-save { border-color:var(--brand-primary) !important; background:var(--brand-primary) !important; color:#071117 !important; }
#auth-container #tab-login-btn { color:#b7c5cc !important; }
#auth-container #reg-referral-code { border-color:#2a414d !important; background:#10191f !important; color:#f4f8fa !important; }
#support-widget-container > button { border:2px solid var(--brand-primary) !important; background:#10191f !important; color:var(--brand-primary) !important; box-shadow:0 0 15px rgba(54,189,244,.22) !important; }
#support-menu-box { border-color:#29414e !important; background:#0c1419 !important; color:#f4f8fa; }
#support-menu-box > div:first-child { background:#101d24 !important; color:#f4f8fa !important; }
#support-menu-box a, #support-menu-box > div > div[onclick] { background:#142027 !important; color:#ecf3f6 !important; }
#support-menu-box a > div:first-child, #support-menu-box > div > div[onclick] > div:first-child { border:1px solid #244252; background:#122630 !important; color:var(--brand-primary) !important; }
#in-app-chat-modal > div, #forgot-password-modal > div, #notification-center-modal > div, #order-details-modal > div, #delete-account-modal > div, #order-amend-modal .amend-sheet { border:1px solid #263d48; background:#0d151a !important; color:#f4f8fa; }
#in-app-chat-modal input, #in-app-chat-modal textarea, #forgot-password-modal input, #delete-account-modal input { border-color:#29414e !important; background:#0a1115 !important; color:#f4f8fa !important; }
@media (max-width:430px) {
  #custom-header.modern-header { padding-inline:10px; }
  #custom-header .logo-img { width:44px; height:44px; }
  #custom-header .logo-titles .main-title { font-size:15px; }
  #custom-header .nav-icon-btn { width:38px; min-width:38px; height:38px; min-height:38px; }
  #page-home .hero-section { padding-top:calc(62px + env(safe-area-inset-top)); }
  #page-home #hero-slider-home .hs-slider { max-height:142px; }
  #page-home #hero-slider-home .hs-title { font-size:17px; }
  #page-home .branch-choice { height:60px; min-height:60px; gap:5px; padding:4px; }
  #page-home .branch-choice-visual { width:43px; height:43px; flex-basis:43px; }
  #page-home .branch-choice-title { font-size:11px; }
  #page-home .branch-choice-meta { font-size:8px; }
  #page-home .section { padding-inline:10px; }
}
@media (max-width:360px) {
  #custom-header .nav-icons-bar { gap:5px; }
  #custom-header .nav-icon-btn { width:35px; min-width:35px; height:35px; min-height:35px; }
  #page-home .branch-picker-list { gap:5px; }
  #page-home .branch-choice { gap:4px; }
  #page-home .branch-choice-visual { width:39px; height:39px; flex-basis:39px; }
  #page-home .branch-choice-title { font-size:10px; }
  #page-home .branch-choice-meta { font-size:7.5px; }
  #page-home .home-brand-card { flex-basis:46px; min-width:46px; }
  #page-home .home-brand-logo { width:40px; height:40px; flex-basis:40px; }
}

/* Customer Home release layout: search, offers, categories, brands. */
#page-home {
  overflow-x: clip;
}

#page-home .home-top-content {
  padding-top: calc(64px + env(safe-area-inset-top));
  background: var(--brand-black);
}

#page-home .home-search-form {
  padding: 14px 12px 8px;
}

#page-home .home-search-form .search-container {
  min-height: 46px;
  padding: 4px;
  border: 1px solid var(--brand-primary);
  border-radius: 14px;
  background: #0d151a;
  box-shadow: 0 0 12px rgba(54,189,244,.08);
}

#page-home #store-status-card {
  margin: 4px 12px 0 !important;
}

#page-home .section {
  margin: 0;
  padding: 12px;
  overflow: hidden;
}

#page-home .section-header {
  margin-bottom: 8px;
}

#page-home .section-title {
  color: #f4f7f9;
  font-size: 16px;
  font-weight: 900;
}

#page-home .title-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--brand-primary-soft) !important;
  color: var(--brand-primary) !important;
  font-size: 16px;
  font-weight: 900;
}

:is(#page-home, #page-branch-catalog) .home-offers-scroll,
#page-home .home-categories-scroll,
#page-home .home-brands-scroll {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 100%;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px 1px 6px;
  direction: rtl;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

:is(#page-home, #page-branch-catalog) .home-offers-scroll::-webkit-scrollbar,
#page-home .home-categories-scroll::-webkit-scrollbar,
#page-home .home-brands-scroll::-webkit-scrollbar {
  display: none;
}

:is(#page-home, #page-branch-catalog) .home-offers-scroll > .product-card {
  flex: 0 0 280px;
  width: 280px;
  min-width: 280px;
  height: 124px;
  min-height: 124px;
  max-height: 124px;
  display: flex;
  flex-direction: row;
  border: 1px solid #214351;
  border-radius: 14px;
  background: #f4f9fc;
  color: #12202a;
  box-shadow: 0 4px 14px rgba(0,0,0,.24);
  scroll-snap-align: start;
}

:is(#page-home, #page-branch-catalog) .home-offers-scroll > .product-card .prod-img {
  flex: 0 0 102px;
  width: 102px;
  height: 100%;
  min-height: 0;
  padding: 8px;
  background: #eaf4f9;
}

:is(#page-home, #page-branch-catalog) .home-offers-scroll > .product-card .prod-info {
  min-width: 0;
  padding: 12px 10px;
  overflow: hidden;
}

:is(#page-home, #page-branch-catalog) .home-offers-scroll > .product-card .prod-name {
  max-height: 38px;
  color: #12202a;
  font-size: 12px;
  line-height: 1.55;
}

:is(#page-home, #page-branch-catalog) .home-offers-scroll > .product-card .prod-brand-name {
  color: var(--brand-muted);
}

:is(#page-home, #page-branch-catalog) .home-offers-scroll > .product-card .price-now {
  color: var(--brand-primary);
  font-size: 14px;
}

:is(#page-home, #page-branch-catalog) .home-offers-scroll > .product-card .price-old {
  color: #8fa3ad;
}

:is(#page-home, #page-branch-catalog) .home-offers-scroll > .product-card .badge-offer,
:is(#page-home, #page-branch-catalog) .home-offers-scroll > .product-card .badge-new,
:is(#page-home, #page-branch-catalog) .home-offers-scroll > .product-card .badge-star {
  background: #bcecff;
  color: #09202b;
  box-shadow: none;
}

#page-home .home-category-card {
  flex: 0 0 102px;
  width: 102px;
  min-height: 112px;
  padding: 8px 6px;
  border: 1px solid #bcecff;
  border-radius: 12px;
  background: #f4f9fc;
  color: #12202a;
  cursor: pointer;
  scroll-snap-align: start;
  font: inherit;
}

#page-home .home-category-image {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 6px;
  overflow: hidden;
  border: 1px solid rgba(54,189,244,.55);
  border-radius: 50%;
  background: #eaf4f9;
}

#page-home .home-category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#page-home .home-category-name {
  display: -webkit-box;
  overflow: hidden;
  color: #e4edf2;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
  text-align: center;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#page-home .home-brand-card {
  flex: 0 0 96px;
  width: 96px;
  min-height: 96px;
  padding: 6px 4px;
  border: 1px solid #bcecff;
  border-radius: 12px;
  background: #f4f9fc;
  color: #12202a;
}

#page-home .home-brand-logo {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(54,189,244,.7);
  border-radius: 50%;
  background: #f4f9fc;
}

#page-home .home-brand-name {
  color: #12202a;
  font-size: 10px;
}

#page-home .branch-picker {
  margin: 0;
  padding: 12px;
  border: 0;
  border-top: 1px solid #142b36;
  border-radius: 0;
  background: transparent;
}

@media (max-width: 320px) {
  :is(#page-home, #page-branch-catalog) .home-offers-scroll > .product-card {
    flex-basis: 270px;
    width: 270px;
    min-width: 270px;
  }
}

/* Final Customer Home composition: one offer banner, then categories, branches, brands. */
:is(#page-home, #page-branch-catalog) .home-offers-scroll {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 100%;
  gap: 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  direction: ltr;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

:is(#page-home, #page-branch-catalog) .home-offers-scroll::-webkit-scrollbar { display: none; }

:is(#page-home, #page-branch-catalog) .home-offer-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  height: 140px;
  min-height: 125px;
  max-height: 150px;
  display: flex;
  align-items: stretch;
  direction: rtl;
  overflow: hidden;
  border: 1px solid #4daed1;
  border-radius: 16px;
  background: linear-gradient(112deg, #f8fcff 0%, #f8fcff 57%, #d7f3ff 100%);
  color: #111827;
  box-shadow: 0 7px 18px rgba(0, 0, 0, .25);
  scroll-snap-align: start;
}

:is(#page-home, #page-branch-catalog) .home-offer-image {
  flex: 0 0 40%;
  width: 40%;
  min-width: 0;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 0;
  background: rgba(255, 255, 255, .84);
  cursor: pointer;
}

:is(#page-home, #page-branch-catalog) .home-offer-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

:is(#page-home, #page-branch-catalog) .home-offer-content {
  flex: 1 1 60%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  padding: 10px 12px;
  text-align: right;
}

:is(#page-home, #page-branch-catalog) .home-offer-kicker {
  color: #168fbe;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .02em;
}

:is(#page-home, #page-branch-catalog) .home-offer-name {
  display: -webkit-box;
  max-width: 100%;
  max-height: 36px;
  margin: 0;
  overflow: hidden;
  color: #111827;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

:is(#page-home, #page-branch-catalog) .home-offer-price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  max-width: 100%;
  overflow: hidden;
}

:is(#page-home, #page-branch-catalog) .home-offer-price { color: #087eae; font-size: 15px; font-weight: 900; }
:is(#page-home, #page-branch-catalog) .home-offer-old-price { color: #8295a0; font-size: 10px; text-decoration: line-through; }
:is(#page-home, #page-branch-catalog) .home-offer-discount { color: #07516f; font-size: 9px; font-weight: 900; }

:is(#page-home, #page-branch-catalog) .home-offer-cta {
  min-height: 24px;
  padding: 3px 9px;
  border: 1px solid #36bdf4;
  border-radius: 8px;
  background: #36bdf4;
  color: #061117;
  font: 800 9px/1.3 Cairo, sans-serif;
  cursor: pointer;
}

:is(#page-home, #page-branch-catalog) .home-offer-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-height: 12px;
  margin: 5px 0 0;
}

:is(#page-home, #page-branch-catalog) .home-offer-indicators[hidden] { display: none; }
:is(#page-home, #page-branch-catalog) .home-offer-indicator {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #8e9ba3;
  cursor: pointer;
}
:is(#page-home, #page-branch-catalog) .home-offer-indicator.active { width: 16px; border-radius: 999px; background: #36bdf4; }

#page-home .home-categories-section { padding-top: 4px; }
#page-home .home-categories-scroll { gap: 7px; padding-top: 1px; }
#page-home .home-category-card {
  flex: 0 0 82px;
  width: 82px;
  min-width: 82px;
  min-height: 94px;
  padding: 6px 4px;
  border: 1px solid #aee6fb;
  border-radius: 13px;
  background: #f8fbfd;
  color: #111827;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .18);
}
#page-home .home-category-card:active,
#page-home .home-category-card:hover { border-color: #36bdf4; background: #e8f8ff; }
#page-home .home-category-image { width: 54px; height: 54px; margin-bottom: 5px; }
#page-home .home-category-name {
  color: #111827;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1.3;
}

#page-home .home-brands-section { padding-top: 5px; }
#page-home .home-brands-scroll { gap: 7px; }
#page-home .home-brand-card {
  flex: 0 0 88px;
  width: 88px;
  min-width: 88px;
  min-height: 96px;
  padding: 5px 4px;
  border: 1px solid #aee6fb;
  border-radius: 13px;
  background: #f8fbfd;
  color: #111827;
  box-shadow: 0 3px 10px rgba(0, 0, 0, .18);
}
#page-home .home-brand-logo { width: 54px; height: 54px; }
#page-home .home-brand-name { color: #111827; font-size: 10px; font-weight: 800; }

#page-home .branch-picker {
  margin: 0 12px 4px;
  padding: 8px 0 4px;
  border-top: 1px solid rgba(54, 189, 244, .18);
}
#page-home .branch-picker-list { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px; }
#page-home .branch-choice { min-height: 70px; height: 70px; }

@media (max-width: 360px) {
  :is(#page-home, #page-branch-catalog) .home-offer-slide { height: 132px; }
  #page-home .home-category-card { flex-basis: 78px; width: 78px; min-width: 78px; }
  #page-home .home-brand-card { flex-basis: 84px; width: 84px; min-width: 84px; }
}

/* Final warm Customer UI palette: logo-led gold, orange, red, warm white, charcoal. */
html, body, #app { background: var(--brand-black); color: var(--brand-text); }

#custom-header.modern-header {
  background: linear-gradient(135deg, var(--brand-gold) 0%, var(--brand-orange) 100%);
  border-bottom-color: rgba(74, 42, 24, .28);
  box-shadow: 0 5px 18px rgba(74, 42, 24, .22);
}
#custom-header .logo-img { border-color: rgba(255,255,255,.9); background: var(--brand-white); box-shadow: 0 0 12px rgba(74,42,24,.16); }
#custom-header .logo-titles .main-title { color: var(--brand-dark); }
#custom-header .logo-titles .sub-title-header { color: rgba(41,35,33,.72); }
#custom-header .nav-icon-btn {
  border-color: rgba(255,255,255,.88);
  background: rgba(255,253,248,.84);
  color: var(--brand-dark);
  box-shadow: 0 2px 8px rgba(74,42,24,.14);
}
#custom-header .nav-icon-btn:hover,
#custom-header .profile-pill:hover { border-color: var(--brand-white); background: var(--brand-white); color: var(--brand-dark); }
#custom-header .profile-pill { color: var(--brand-dark); }
#custom-header .badge-count { border-color: var(--brand-orange); background: var(--brand-dark); color: var(--brand-white); }
#custom-header #notif-nav-badge { background: var(--brand-red) !important; color: #fff !important; border-color: rgba(255,255,255,.9); }

#page-home {
  background: var(--brand-black);
  color: var(--brand-text);
}
#page-home .home-top-content { background: var(--brand-black); }
#page-home .home-search-form .search-container {
  border-color: var(--brand-orange);
  background: var(--brand-white);
  box-shadow: 0 0 12px rgba(238,123,35,.1);
}
#page-home #searchInput-main { color: var(--brand-dark); }
#page-home #searchInput-main::placeholder { color: #91877d; }
#page-home .home-search-submit {
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-red)) !important;
  color: #fff !important;
}

#page-home .section-title,
#page-home .section-title-row .section-title { color: var(--brand-dark); }
#page-home .title-icon {
  background: rgba(243,198,77,.18) !important;
  color: var(--brand-orange) !important;
}
#page-home .see-all { color: var(--brand-orange); }

:is(#page-home, #page-branch-catalog) .home-offer-slide {
  border-color: #e0b84a;
  background: linear-gradient(112deg, #fffdf8 0%, #fffaf0 57%, #ffe6bf 100%);
  color: var(--brand-dark);
}
:is(#page-home, #page-branch-catalog) .home-offer-image { background: rgba(255,253,248,.92); }
:is(#page-home, #page-branch-catalog) .home-offer-kicker { color: var(--brand-orange); }
:is(#page-home, #page-branch-catalog) .home-offer-name { color: var(--brand-dark); }
:is(#page-home, #page-branch-catalog) .home-offer-price { color: var(--brand-red); }
:is(#page-home, #page-branch-catalog) .home-offer-old-price { color: #8b8177; }
:is(#page-home, #page-branch-catalog) .home-offer-discount { color: #9a6a00; }
:is(#page-home, #page-branch-catalog) .home-offer-cta {
  border-color: var(--brand-orange);
  background: linear-gradient(135deg, var(--brand-orange), var(--brand-red));
  color: #fff;
}
:is(#page-home, #page-branch-catalog) .home-offer-indicator { background: #c9bda9; }
:is(#page-home, #page-branch-catalog) .home-offer-indicator.active { background: var(--brand-orange); }

#page-home .home-category-card,
#page-home .home-brand-card {
  border-color: #ddc78e;
  background: var(--brand-white);
  color: var(--brand-dark);
  box-shadow: 0 3px 10px rgba(74,42,24,.12);
}
#page-home .home-category-card:active,
#page-home .home-category-card:hover { border-color: var(--brand-orange); background: #fff4df; }
#page-home .home-category-image { border-color: rgba(243,198,77,.72); background: #fff8e8; }
#page-home .home-category-name,
#page-home .home-brand-name { color: var(--brand-dark); }
#page-home .home-brand-logo { border-color: rgba(243,198,77,.82); background: var(--brand-white); }

#page-home .branch-picker { border-top-color: rgba(238,123,35,.22); }
#page-home .branch-picker-title-icon { color: var(--brand-orange) !important; }
#page-home .branch-picker h2 { color: var(--brand-dark); }
#page-home .branch-picker p,
#page-home .branch-picker-status { color: var(--brand-muted); }
#page-home .branch-choice {
  border-color: #dfd2c2 !important;
  background: var(--brand-white) !important;
  color: var(--brand-dark) !important;
  box-shadow: 0 3px 11px rgba(74,42,24,.12);
}
#page-home .branch-choice-visual { border-color: #eadbb6; background: var(--brand-white); }
#page-home .branch-choice-title { color: var(--brand-dark); }
#page-home .branch-choice-meta { color: #766e68; }
#page-home .branch-choice-meta svg { color: var(--brand-orange) !important; }
#page-home .branch-choice-check { background: var(--brand-red) !important; color: #fff !important; box-shadow: 0 0 8px rgba(217,72,65,.22); }
#page-home .branch-choice.active {
  border-color: var(--brand-orange) !important;
  background: #fff8e8 !important;
  color: var(--brand-dark) !important;
  box-shadow: 0 0 0 1px rgba(238,123,35,.18), 0 0 14px rgba(238,123,35,.12);
}

.mobile-bottom-nav {
  border-color: #e0d3c3;
  background: var(--brand-white);
  box-shadow: 0 -5px 20px rgba(74,42,24,.16);
}
.bottom-nav-item { color: #847a71; }
.bottom-nav-item.active {
  background: rgba(243,198,77,.2);
  color: var(--brand-orange);
}
.bottom-nav-item:hover { color: var(--brand-orange); }

#support-widget-container > button {
  border-color: var(--brand-orange) !important;
  background: var(--brand-dark) !important;
  color: var(--brand-gold) !important;
  box-shadow: 0 0 15px rgba(238,123,35,.2) !important;
}
#support-menu-box { border-color: #d9b96d !important; background: var(--brand-white) !important; color: var(--brand-dark); }
#support-menu-box > div:first-child { background: #fff4df !important; color: var(--brand-dark) !important; }
#support-menu-box a,
#support-menu-box > div > div[onclick] { background: #fffaf2 !important; color: var(--brand-dark) !important; }
#support-menu-box a > div:first-child,
#support-menu-box > div > div[onclick] > div:first-child { border-color: #e0c987; background: #fff4df !important; color: var(--brand-orange) !important; }

/* Customer Home branch selector: four compact cards in one RTL row. */
#page-home .branch-picker {
  margin: 0 12px 14px;
  padding: 10px 0 6px;
  overflow: hidden;
}
#page-home .branch-picker-list {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 4px;
  width: 100%;
  max-width: 100%;
  margin-top: 10px;
  padding: 2px 1px 5px;
  overflow-x: auto;
  overflow-y: hidden;
  direction: rtl;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
#page-home .branch-picker-list::-webkit-scrollbar { display: none; }
#page-home .branch-choice {
  position: relative;
  flex: 0 0 clamp(88px, calc((100vw - 38px) / 4), 96px);
  width: clamp(88px, calc((100vw - 38px) / 4), 96px);
  min-width: clamp(88px, calc((100vw - 38px) / 4), 96px);
  height: 102px;
  min-height: 102px;
  padding: 8px 5px 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  overflow: hidden;
  border: 1px solid #dfd2c2 !important;
  border-radius: 12px;
  background: var(--brand-white) !important;
  color: var(--brand-dark) !important;
  text-align: center;
  box-shadow: 0 3px 10px rgba(74,42,24,.12);
}
#page-home .branch-choice:hover {
  transform: translateY(-1px);
  border-color: var(--brand-orange) !important;
}
#page-home .branch-choice.active {
  border: 2px solid var(--brand-orange) !important;
  background: #fff8e8 !important;
  box-shadow: 0 0 0 2px rgba(238,123,35,.12), 0 4px 12px rgba(74,42,24,.12);
}
#page-home .branch-choice-visual {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  margin: 0;
  border: 1px solid #eadbb6;
  border-radius: 10px;
  background: var(--brand-white);
  overflow: visible;
}
#page-home .branch-choice-image {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 0;
}
#page-home .branch-choice-info {
  width: 100%;
  min-width: 0;
  height: auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  text-align: center;
}
#page-home .branch-choice-title {
  width: 100%;
  min-height: 0;
  max-height: 28px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: var(--brand-dark);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
}
#page-home .branch-choice-meta { display: none; }
#page-home .branch-choice-check {
  position: absolute;
  z-index: 2;
  top: -5px;
  right: -5px;
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border: 2px solid var(--brand-white);
  border-radius: 50%;
  background: var(--brand-red) !important;
  color: #fff !important;
  font-size: 10px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(217,72,65,.24);
}
@media (max-width: 360px) {
  #page-home .branch-picker-list { gap: 5px; }
  #page-home .branch-choice {
    flex-basis: 88px;
    width: 88px;
    min-width: 88px;
    height: 98px;
    min-height: 98px;
  }
  #page-home .branch-choice-visual { flex-basis: 44px; width: 44px; height: 44px; }
  #page-home .branch-choice-image { width: 38px; height: 38px; }
  #page-home .branch-choice-title { font-size: 9px; }
}

/* Final branch presentation: two balanced rows with image and address. */
#page-home .branch-picker-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  margin-top: 10px;
  padding: 2px 0 5px;
  overflow: visible;
  direction: rtl;
}

#page-home .branch-choice {
  min-width: 0;
  width: 100%;
  height: 148px;
  min-height: 148px;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  border: 1px solid #dfd2c2 !important;
  border-radius: 14px;
  background: var(--brand-white) !important;
  color: var(--brand-dark) !important;
  text-align: right;
  box-shadow: 0 4px 12px rgba(74,42,24,.12);
}

#page-home .branch-choice-visual {
  width: 100%;
  height: 82px;
  flex: 0 0 82px;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-radius: 13px 13px 0 0;
  background: #fffaf2;
}

#page-home .branch-choice-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}

#page-home .branch-choice-info {
  width: 100%;
  height: auto;
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 2px;
  padding: 6px 8px 7px;
  text-align: right;
}

#page-home .branch-choice-title {
  width: 100%;
  min-height: 0;
  max-height: 21px;
  overflow: hidden;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.5;
  text-align: right;
  white-space: nowrap;
  text-overflow: ellipsis;
}

#page-home .branch-choice-meta {
  width: 100%;
  min-height: 0;
  max-height: 30px;
  display: flex !important;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 3px;
  overflow: hidden;
  color: #766e68;
  font-size: 9px;
  line-height: 1.45;
  text-align: right;
}

#page-home .branch-choice-meta span {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

#page-home .branch-choice-meta svg {
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  color: var(--brand-orange) !important;
}

#page-home .branch-choice.active {
  border: 2px solid var(--brand-orange) !important;
  background: #fff8e8 !important;
  box-shadow: 0 0 0 2px rgba(238,123,35,.12), 0 5px 14px rgba(74,42,24,.14);
}

#page-home .branch-choice-check {
  top: 6px;
  right: 6px;
  width: 18px;
  height: 18px;
  border: 2px solid var(--brand-white);
  font-size: 10px;
}

@media (max-width: 360px) {
  #page-home .branch-picker-list { gap: 8px; }
  #page-home .branch-choice { height: 144px; min-height: 144px; }
  #page-home .branch-choice-visual { height: 76px; flex-basis: 76px; }
  #page-home .branch-choice-info { padding: 5px 6px 6px; }
  #page-home .branch-choice-title { font-size: 11px; }
  #page-home .branch-choice-meta { font-size: 8px; }
}

@media (max-width: 320px) {
  #page-home .branch-picker-list { gap: 7px; }
  #page-home .branch-choice { height: 140px; min-height: 140px; }
  #page-home .branch-choice-visual { height: 72px; flex-basis: 72px; }
  #page-home .branch-choice-title { font-size: 10.5px; }
  #page-home .branch-choice-meta { font-size: 7.5px; }
}
