/* Desktop storefront only. Fine-pointer media guard preserves phone/APK rendering. */
.store-desktop-intro { display: none; }
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
    .store-desktop-announcement-top { display: block; }
    .store-announcement-desktop { display: none !important; }
    .store-desktop-announcement-top .store-announcement { height: 38px; }
    .store-desktop-announcement-top .store-announcement:hover .store-announcement-track,
    .store-desktop-announcement-top .store-announcement:focus-within .store-announcement-track { animation-play-state: paused; }
    @media (prefers-reduced-motion: reduce) {
        .store-desktop-announcement-top .store-announcement-track { animation: none; }
    }
    body { background: #fafbf9 !important; font-family: var(--store-font-family,system-ui,-apple-system,"Segoe UI",sans-serif) !important; }
    body > .bg-header { min-height: 96px !important; padding: 18px 0 !important; background: #fff !important; border-bottom: 1px solid #e9ede8 !important; }
    body > .bg-header .container-fluid { width: min(1320px, calc(100% - 64px)) !important; min-height: 60px !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: #fff !important; box-shadow: none !important; display: flex !important; gap: 24px !important; }
    body > .bg-header .mobile-store-brand { flex: 0 1 260px !important; gap: 12px !important; }
    body > .bg-header .mobile-store-brand .mobile-store-name { font-size: 19px !important; font-weight: 750 !important; text-align: start !important; overflow-wrap: anywhere; }
    body > .bg-header .mobile-store-logo { width: 50px !important; height: 50px !important; border-radius: 14px !important; box-shadow: none !important; border: 1px solid #eef0eb; }
    body > .bg-header .header-product-search { flex: 1 1 420px !important; }
    body > .bg-header .footer-product-search-box { height: 50px !important; border: 1px solid #e4e9e3 !important; background: #f7f9f6 !important; border-radius: 14px !important; box-shadow: none !important; }
    body > .bg-header .header-product-search input { font-weight: 400 !important; font-size: 14px !important; text-align: start !important; }
    body > .bg-header #sidebarleftbutton { display: inline-flex !important; position: static !important; margin: 0 !important; padding: 10px !important; color: #233c31 !important; background: #f4f7f3 !important; border-radius: 12px !important; }
    body > .bg-header .desktop-cart-button { position: static !important; flex: 0 0 auto !important; width: auto !important; min-height: 48px !important; padding: 10px 17px !important; border-radius: 13px !important; background: #fff !important; border: 1px solid #dfe6dd !important; box-shadow: none !important; transform: none !important; }
    .desktop-storefront-foodapp { padding: 30px 0 64px !important; background: #fafbf9 !important; }
    .desktop-foodapp-container { width: min(1320px, calc(100% - 64px)) !important; }
    .desktop-storefront-foodapp.modern-rtl { direction: rtl !important; }
    body > .bg-header .desktop-cart-button b { position: static !important; display: inline-grid !important; place-items: center; min-width: 22px !important; height: 22px !important; margin-inline-start: 7px; border-radius: 7px; background: #eaf4ec !important; color: #28563b !important; }
    .store-desktop-intro { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; min-height: 268px; padding: 38px 48px; margin: 0 0 38px; border: 1px solid #e6ece2; border-radius: 28px; background: linear-gradient(115deg,#f0f5e9,#e7f2ed); overflow: hidden; isolation: isolate; }
    .store-desktop-intro::after { content: ''; position: absolute; width: 370px; height: 370px; inset-inline-end: -90px; top: -140px; border: 58px solid #ffffff4f; border-radius: 50%; z-index: -1; }
    .store-desktop-intro-copy { max-width: 720px; }
    .store-desktop-eyebrow { display: block; margin-bottom: 10px; color: #486854; font-size: 14px; font-weight: 600; }
    .store-desktop-intro h1 { font-size: clamp(30px,3vw,46px); font-weight: 780; line-height: 1.3; letter-spacing: -.6px; color: #18382b; margin: 0 0 13px; overflow-wrap: anywhere; }
    .store-desktop-intro p { font-size: 15px; line-height: 1.9; color: #516456; margin: 0 0 23px; }
    .store-desktop-intro a { display: inline-flex; align-items: center; gap: 14px; padding: 12px 21px; border-radius: 12px; background: var(--store-header-footer,#087f5b); color: #fff; font-size: 14px; font-weight: 700; text-decoration: none; }
    .store-desktop-emblem { flex: 0 0 174px; width: 174px; height: 174px; display: grid; place-items: center; background: #ffffffbc; border: 1px solid #fff; border-radius: 36px; transform: rotate(-5deg); box-shadow: 0 16px 36px #29442a0c; }
    .store-desktop-emblem img { width: 144px; height: 144px; object-fit: contain; border-radius: 24px; transform: rotate(5deg); }
    .desktop-foodapp-section-head { justify-content: flex-start !important; margin: 0 0 20px !important; direction: inherit !important; }
    .desktop-foodapp-section-head h2 { flex: 1 !important; width: 100% !important; font-size: 23px !important; font-weight: 750 !important; line-height: 1.5 !important; color: #20392f !important; text-align: start !important; background: none !important; padding: 0 !important; border: 0 !important; box-shadow: none !important; }
    .desktop-foodapp-categories { display: flex !important; gap: 14px !important; overflow-x: auto !important; padding: 3px 2px 16px !important; margin: 0 0 25px !important; scrollbar-width: thin; scrollbar-color: #cbd8ce transparent; }
    .desktop-foodapp-category { flex: 0 0 132px !important; width: 132px !important; min-height: 155px !important; padding: 17px 10px !important; border: 1px solid #e5eae3 !important; border-radius: 20px !important; box-shadow: none !important; background: #fff !important; gap: 10px !important; }
    .desktop-foodapp-category .foodapp-category-photo { width: 68px !important; height: 68px !important; flex: 0 0 68px !important; background: #f5f7f2 !important; border: 1px solid #edf1e9 !important; box-shadow: none !important; }
    .desktop-foodapp-category b { max-width: 112px !important; font-size: 13px !important; font-weight: 650 !important; line-height: 1.5 !important; margin: 0 !important; }
    .desktop-foodapp-category.active { border-color: var(--store-category-active,#087f5b) !important; background: #f0f8f2 !important; box-shadow: inset 0 0 0 1px var(--store-category-active,#087f5b) !important; }
    #desktop-store-products { scroll-margin-top: 24px; }
    .desktop-foodapp-products { grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap: 22px !important; align-items: stretch !important; }
    .desktop-foodapp-product { min-width: 0 !important; display: flex !important; flex-direction: column !important; padding: 10px !important; border: 1px solid #e5eae3 !important; border-radius: 22px !important; box-shadow: 0 3px 10px #18382b03 !important; background: #fff !important; overflow: hidden !important; transition: border-color .18s,box-shadow .18s !important; }
    .desktop-foodapp-product:hover { transform: none !important; border-color: #a9c5b5 !important; box-shadow: 0 10px 25px #18382b0b !important; }
    .desktop-foodapp-image { width: 100% !important; aspect-ratio: 1 / 1.04 !important; height: auto !important; margin: 0 !important; border-radius: 15px !important; background: #f8faf6 !important; overflow: hidden !important; }
    .desktop-foodapp-image img { width: 100% !important; height: 100% !important; object-fit: contain !important; padding: 8px !important; transform: none !important; }
    .desktop-foodapp-image:not(:has(img)),
    .desktop-foodapp-image:has(img[src*="/storage/menu/default.png"]),
    .desktop-foodapp-image:has(img[src=""]) { background: #fff !important; }
    .desktop-foodapp-image img[src*="/storage/menu/default.png"],
    .desktop-foodapp-image img[src=""],
    .desktop-foodapp-image:has(img[src*="/storage/menu/default.png"]) .desktop-foodapp-view-image,
    .desktop-foodapp-image:has(img[src=""]) .desktop-foodapp-view-image { visibility: hidden !important; }
    .desktop-foodapp-view-image { top: 10px !important; width: 34px !important; height: 34px !important; background: #ffffffed !important; border: 1px solid #e5eae3 !important; box-shadow: none !important; }
    .desktop-foodapp-product-body { flex: 1 !important; display: flex !important; flex-direction: column !important; padding: 16px 7px 7px !important; gap: 10px !important; }
    .desktop-foodapp-product-body h3 { font-size: 17px !important; font-weight: 650 !important; line-height: 1.65 !important; margin: 0 !important; color: #21352e !important; overflow-wrap: anywhere; }
    .desktop-foodapp-product-body p { font-size: 13px !important; line-height: 1.65 !important; color: #788279 !important; margin: 0 !important; }
    .desktop-foodapp-card-foot { margin-top: auto !important; padding-top: 8px !important; display: flex !important; flex-direction: column-reverse !important; align-items: stretch !important; gap: 15px !important; }
    .desktop-foodapp-card-foot strong { font-size: 21px !important; line-height: 1.5 !important; color: var(--store-price,#087f5b) !important; font-weight: 750 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; }
    .desktop-foodapp-card-foot strong small { font-size: 11px !important; font-weight: 400 !important; color: #788279 !important; }
    .desktop-foodapp-add { width: 100% !important; min-height: 45px !important; border-radius: 12px !important; font-size: 14px !important; font-weight: 650 !important; background: var(--store-header-footer,#087f5b) !important; box-shadow: none !important; }
    .desktop-foodapp-add:disabled { opacity: .5; cursor: not-allowed; }
    .desktop-foodapp-product:focus-within,.desktop-foodapp-category:focus-visible { outline: 3px solid #438cbd; outline-offset: 3px; }
    .desktop-storefront-foodapp.modern-ltr .desktop-foodapp-products { direction: ltr !important; }
    @media (max-width: 1180px) {
        .desktop-foodapp-products { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
        .store-desktop-intro { padding: 30px; }
        body > .bg-header .container-fluid { gap: 14px !important; }
        body > .bg-header .mobile-store-brand { flex-basis: 200px !important; }
    }
    @media (prefers-reduced-motion: reduce) { .desktop-foodapp-product { transition: none !important; } }
}
