/*! Live Elhamdania — home page styles (was the inline <style> in index.html) */
:root{--purple:#5421c7;--deep:#1c075d;--ink:#201068;--pink:#ff426d;--muted:#77718d;--line:#ece9f5;--bg:#fbfaff;--shadow:0 6px 24px rgba(37,16,98,.09)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:"Thmanyah","Tajawal",Arial,sans-serif}a{text-decoration:none;color:inherit}button,input{font:inherit}.container{width:min(1180px,92%);margin:auto}.desktop{display:flex}
.hero{min-height:515px;color:white;background:linear-gradient(rgba(29,7,93,.83),rgba(57,13,132,.85)),url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=85') center/cover;position:relative;overflow:hidden}
nav{height:84px;display:flex;align-items:center;gap:40px}.logo{font-weight:900;font-size:27px;font-style:italic;line-height:.72;margin-left:auto}.logo small{font-size:11px;font-style:normal;display:block;text-align:center;margin-top:8px}.links{display:flex;align-items:center;gap:34px;font-size:14px;font-weight:700}.links a:first-child{border-bottom:2px solid var(--pink);padding:31px 7px}.nav-actions{display:flex;align-items:center;gap:15px}.search-round{width:45px;height:45px;border-radius:50%;border:1px solid #7253b6;display:grid;place-items:center;font-size:21px}.primary{border:0;border-radius:15px;padding:14px 28px;background:linear-gradient(135deg,#ff526f,#ff2d62);color:white;font-weight:800;box-shadow:0 7px 18px rgba(255,51,101,.25)}
.hero-content{text-align:center;padding-top:38px}.eyebrow{font-size:25px;font-weight:500}.hero h1{font-size:73px;line-height:1;margin:10px 0 14px;font-weight:900}.hero p{font-size:17px;font-weight:600}.finder{width:min(870px,95%);height:76px;background:white;margin:28px auto 18px;padding:8px;border-radius:18px;display:flex;align-items:center;box-shadow:0 14px 40px rgba(13,4,57,.25);color:#6b55a7}.location{display:flex;gap:10px;align-items:center;padding:0 18px;border-left:1px solid #eee;height:100%;white-space:nowrap;font-weight:700}.pin{font-size:22px}.finder input{flex:1;border:0;outline:0;padding:0 22px;text-align:right;color:#666}.finder button{height:56px;width:120px;border:0;border-radius:10px;background:linear-gradient(135deg,#7540e3,#4f16bd);color:#fff;font-weight:800}.chips{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.chip{padding:9px 17px;border:1px solid rgba(255,255,255,.25);background:rgba(255,255,255,.1);border-radius:11px;font-size:13px}
.quick-wrap{position:relative;margin-top:-43px;z-index:2}.quick{background:white;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:13px;display:grid;grid-template-columns:repeat(9,1fr);padding:21px 12px}.quick-item{text-align:center;font-size:13px;font-weight:700}.quick-icon{width:58px;height:58px;margin:0 auto 8px;border-radius:50%;background:var(--icon-bg);color:#6326db;display:grid;place-items:center;font-size:27px;overflow:hidden}
main{background:linear-gradient(#fff,#fefeff);padding:18px 0 0}.section{margin:30px auto}.section-title{font-size:24px;margin:0 0 18px;font-weight:900}.count-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:18px}.count-card{height:176px;border:1px solid var(--line);border-radius:10px;background:#fff;box-shadow:0 3px 15px rgba(35,19,89,.04);padding:20px;text-align:center}.count-card strong{display:block;font-size:31px;margin:8px 0 0}.count-card span{font-size:12px;color:var(--muted)}.count-card .card-head{font-size:13px;color:#5721c3;font-weight:800}.count-card.add{border-style:dashed;color:#6330cc}.add-circle{width:44px;height:44px;border-radius:50%;background:#5721bd;color:#fff;display:grid;place-items:center;margin:16px auto;font-size:27px}
.heading-row{display:flex;justify-content:space-between;align-items:center}.view-all{font-size:13px;color:#5120c5;font-weight:800}.cards{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}.place-card{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;box-shadow:var(--shadow);position:relative}.place-card img{width:100%;height:145px;object-fit:cover;display:block}.place-body{padding:14px}.place-body h3{font-size:15px;margin:0 0 6px}.place-body p{margin:0;color:#8b849d;font-size:12px}.rating{margin-top:12px;font-size:12px;color:#777}.rating b{color:#2d1a70}.star{color:#ffb400}.badge{position:absolute;top:10px;right:9px;background:#e44870;color:#fff;border-radius:6px;padding:5px 9px;font-size:11px;font-weight:800}.open{background:#e8fff0;color:#238f52}.heart{position:absolute;top:9px;left:9px;width:27px;height:27px;border:1px solid rgba(255,255,255,.7);border-radius:50%;color:#fff;display:grid;place-items:center;background:#20142d80}
.three-grid{display:grid;grid-template-columns:1fr 1.35fr 1fr;gap:18px}.panel{border:1px solid var(--line);border-radius:11px;box-shadow:var(--shadow);background:#fff;padding:20px;min-height:250px}.panel h2{text-align:center;font-size:22px;margin:0 0 16px}.news{display:grid;gap:12px}.news-item{display:flex;gap:12px;align-items:center;font-size:11px;font-weight:700}.news-item img{width:82px;height:46px;border-radius:7px;object-fit:cover}.explore{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.explore-item{padding:13px 8px;border:1px solid #eeeaf7;border-radius:8px;box-shadow:0 3px 10px #ece8f5;font-size:11px}.explore-item b{display:block;margin-bottom:5px}.map{background:linear-gradient(#f8f8f8dd,#f8f8f8dd),url('https://images.unsplash.com/photo-1524661135-423995f22d0b?auto=format&fit=crop&w=700&q=70') center/cover;position:relative;overflow:hidden}.map-dot{position:absolute;color:#6624d6;font-size:25px}.map button{position:absolute;bottom:20px;right:50%;transform:translateX(50%);border:0;border-radius:8px;background:#5520c5;color:#fff;padding:11px 25px;font-weight:700}
.stats{background:linear-gradient(110deg,#341397,#762bd8);color:#fff;border-radius:12px;padding:30px 35px;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:26px 20px;text-align:center;box-shadow:0 16px 38px #2a0b7a2e}.stat{position:relative;display:grid;justify-items:center;gap:2px}.stat-icon{width:44px;height:44px;display:block;object-fit:contain;margin-bottom:9px;padding:7px;background:#ffffff1a;border:1px solid #ffffff26;border-radius:13px;box-sizing:border-box}.stat+.stat:before{content:"";position:absolute;top:50%;transform:translateY(-50%);right:-10px;width:1px;height:76px;background:#ffffff24}.stat b{font-size:31px;font-weight:800;line-height:1.15;display:block;letter-spacing:.4px}.stat span{display:block;font-size:13px;margin-top:7px;color:#ded2f7}.app-banner{border-radius:12px;padding:38px 30px;background:linear-gradient(110deg,#32108b,#812ce0);color:#fff;display:flex;align-items:center;justify-content:center;text-align:center}.app-banner h2{font-size:29px;margin:0 0 6px}.app-banner .stores{display:flex;gap:12px;justify-content:center;margin-top:18px;direction:ltr;flex-wrap:wrap}.app-banner .store{display:inline-flex;align-items:center;gap:10px;background:#0b0320;border:1px solid #ffffff2b;border-radius:11px;padding:9px 18px;min-height:50px;color:#fff;direction:rtl;transition:transform .15s ease,border-color .15s ease}.app-banner .store:hover{transform:translateY(-2px);border-color:#ffffff66;background:#150733}.app-banner .store-art{width:30px;height:30px;display:block;object-fit:contain;flex:0 0 auto}.app-banner .store-text{display:grid;line-height:1.3;font-size:15px;font-weight:800;text-align:right}.app-banner .store-text small{font-size:10px;font-weight:500;color:#cdbff0}
.business{border:1px solid var(--line);border-radius:12px;min-height:180px;display:grid;grid-template-columns:1fr 1.5fr 1fr;align-items:center;padding:25px 45px;box-shadow:var(--shadow)}.shop{text-align:center}.shop img{width:100%;max-width:190px;height:auto;display:inline-block;vertical-align:middle}.business h2{font-size:25px;margin:0}.business p{color:#7f7795}.outline{background:white;color:#5121bb;border:1px solid #d9cfef;padding:13px 28px;border-radius:8px;font-weight:800;margin-right:12px}.benefits{font-size:13px;font-weight:700;line-height:2.8}
footer{background:#4b1185;color:#fff;margin-top:26px;padding:52px 0 20px}.footer-grid{display:grid;grid-template-columns:1.3fr .75fr .85fr 1.5fr;gap:50px}.footer-logo{font-size:31px;font-weight:900}.footer-col h3{font-size:15px;margin-top:0}.footer-col a,.footer-col p{display:block;color:#c6badd;font-size:13px;line-height:2}.subscribe{display:flex;margin-top:18px}.subscribe input{border:0;padding:14px;background:#ffffff12;color:white;flex:1;border-radius:0 8px 8px 0}.subscribe button{border:0;background:#ff4569;color:#fff;padding:0 25px;border-radius:8px 0 0 8px}.copyright{border-top:1px solid #ffffff1c;margin-top:36px;padding-top:18px;color:#b8afd0;font-size:12px;text-align:center}
@media(max-width:900px){.links{display:none}.hero h1{font-size:50px}.quick{grid-template-columns:repeat(5,1fr);gap:16px}.count-grid{grid-template-columns:repeat(3,1fr)}.cards{grid-template-columns:repeat(2,1fr)}.three-grid{grid-template-columns:1fr}.stats{padding:26px 22px}.business{grid-template-columns:1fr;text-align:center}.shop img{max-width:150px}.footer-grid{grid-template-columns:repeat(2,1fr)}.app-banner{gap:15px}}
@media(max-width:560px){.container{width:94%}.hero{min-height:570px}nav{gap:12px}.nav-actions .primary{padding:11px 16px}.hero-content{padding-top:55px}.eyebrow{font-size:19px}.hero h1{font-size:42px}.hero p{font-size:13px}.finder{height:auto;flex-wrap:wrap;padding:8px}.location{width:100%;height:45px;border:0;border-bottom:1px solid #eee}.finder input{height:48px;width:60%}.finder button{width:90px;height:45px}.quick-wrap{margin-top:-26px}.quick{grid-template-columns:repeat(3,1fr)}.count-grid{grid-template-columns:repeat(2,1fr);gap:10px}.cards{grid-template-columns:1fr 1fr;gap:10px}.place-card img{height:105px}.place-body{padding:10px}.section-title{font-size:20px}.stats{grid-template-columns:repeat(2,1fr);padding:24px 14px;gap:22px 12px}.stat+.stat:before{display:none}.stat-icon{width:38px;height:38px;margin-bottom:7px}.stat b{font-size:26px}.app-banner{padding:25px 15px}.app-banner h2{font-size:23px}.business{padding:20px}.shop img{max-width:120px}.benefits{display:none}.footer-grid{grid-template-columns:1fr;gap:20px}.footer-col:not(:first-child){display:none}}
@media(min-width:901px){.count-grid{grid-template-columns:repeat(5,1fr)}}

/* ==========================================================================
   Daily counters — controls for the localStorage-backed cards
   (not in the original design, which showed static numbers)
   ========================================================================== */
.count-card{display:flex;flex-direction:column;align-items:center;justify-content:center}
.count-edit{margin-top:12px;border:0;background:none;color:#8b83a3;font-size:11px;font-weight:700;cursor:pointer;text-decoration:underline}
.count-edit:hover{color:#5721c3}
/* Unset cards: dashed like the design's "add" card so an empty slot reads as
   an invitation rather than a broken card. */
.count-card:has(.count-set){border-style:dashed;border-color:#d5c9f2;background:#fdfcff}
.count-set{border:0;background:none;color:#6330cc;font-size:12px;font-weight:800;cursor:pointer;display:grid;place-items:center;gap:2px}
.count-set .add-circle{margin:6px auto;width:40px;height:40px;font-size:24px}

/* ==========================================================================
   Phone refinements
   --------------------------------------------------------------------------
   The phone layout was inherited from the desktop rules with sizes scaled
   down, which left it correct but cramped: full-bleed cards edge to edge,
   headings the same weight as body copy, and sections separated only by
   whitespace. Nothing here changes the palette or removes anything — it is
   spacing, hierarchy and breathing room, all inside the existing tokens.
   ========================================================================== */
@media(max-width:560px){

  /* --- Rhythm ---------------------------------------------------------
     Sections ran together at a uniform 28px, so the page read as one long
     column. A little more air, and headings pulled closer to the content
     they label than to the section above. */
  .section{padding:34px 0}
  .section-title,.heading h2{margin-bottom:14px!important;letter-spacing:-.2px}

  /* A short accent rule under each section heading: the strongest cue for
     "new section" that costs no vertical space and adds no colour. Panel
     headings are plain <h2>, so they are named explicitly; the banner and
     advertise headings sit on the purple gradient and are left alone. */
  .section-title,.panel>h2{position:relative;padding-bottom:9px}
  .section-title:after,.panel>h2:after{content:"";position:absolute;bottom:0;right:0;
    width:34px;height:3px;border-radius:3px;
    background:linear-gradient(90deg,var(--purple2),var(--purple))}

  /* --- Hero -----------------------------------------------------------
     73px shrunk to 42px, but the eyebrow and slogan stayed put, so the
     block sat top-heavy with the search box crowding it. */
  .hero{min-height:auto}
  .hero-content{padding-bottom:34px}
  .hero h1{font-size:38px;line-height:1.12;margin:6px 0 12px}
  .eyebrow{font-size:16px;opacity:.92}
  .hero p{font-size:13px;line-height:1.75;opacity:.9;max-width:300px;margin-inline:auto}
  .finder{margin-top:22px;border-radius:15px;box-shadow:0 12px 30px rgba(13,4,57,.3)}

  /* Chips wrapped to two ragged rows. A scroller keeps them on one line and
     makes it obvious there are more than fit. */
  .chips{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;
    padding:2px 4px 6px;gap:9px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .chips::-webkit-scrollbar{display:none}
  .chip{flex:0 0 auto;font-size:12px;padding:8px 15px;backdrop-filter:blur(3px)}

  /* --- Quick categories ----------------------------------------------
     3x3 of 58px circles in a 21px-padded card: the icons dominated and the
     labels were an afterthought. */
  .quick-wrap{margin-top:-30px}
  .quick{padding:18px 10px!important;gap:16px 4px!important;border-radius:16px}
  .quick-icon{width:52px!important;height:52px!important;font-size:24px!important;
    margin-bottom:9px;box-shadow:0 4px 12px rgba(35,16,96,.07)}
  .quick-item{font-size:11.5px!important;line-height:1.35;color:#3d3358}

  /* --- Counters -------------------------------------------------------
     Four cards of fixed 176px height for three short lines of text. */
  .count-card{height:auto!important;min-height:0!important;padding:16px 11px!important;
    border-radius:14px;gap:1px}
  .count-card .card-head{font-size:12px;line-height:1.4;margin-bottom:4px}
  /* The base rule adds margin-top:8px, which fights the flex gap. */
  .count-card strong{font-size:33px;line-height:1.1;margin:2px 0 0;color:var(--purple)}
  .count-card span{font-size:10.5px;line-height:1.75;color:var(--muted)}
  .count-grid{gap:11px!important}

  /* --- Panels ---------------------------------------------------------
     min-height:250px forced empty space under short lists. */
  .panel{min-height:0;padding:18px 16px!important;border-radius:15px}
  .panel>h2{font-size:18px;margin:0 0 14px}

  /* The map panel is the exception: its button and dots are absolutely
     positioned, so it has no content height of its own and min-height:0
     collapsed it onto its own heading. Put it back in normal flow — the
     button becomes a real block and the panel sizes itself. */
  .panel.map{display:grid;justify-items:center;align-content:center;gap:2px;
    padding:22px 16px!important;min-height:170px;
    background-size:cover;background-position:center}
  /* No accent rule here: the heading is centred over a photo, so a bar
     pinned to its right edge reads as a stray mark. */
  .panel.map>h2{margin:0;text-align:center;padding-bottom:0}
  .panel.map>h2:after{display:none}
  /* The button is wrapped in an <a>, so the anchor has to stretch too or
     the width goes nowhere. */
  .panel.map>a{display:block;width:100%;max-width:260px;margin-top:16px}
  .panel.map button{position:static;transform:none;width:100%;
    padding:13px 20px;border-radius:11px;font-size:14px;
    box-shadow:0 8px 20px rgba(85,32,197,.3)}
  /* The dots carry hardcoded desktop offsets (top:82px;right:70px), which
     land nowhere sensible once the panel is this size. */
  .panel.map .map-dot{display:none}

  /* Explore tiles: <b> and the description ran together on one line. */
  .explore{gap:9px!important}
  .explore-item{padding:12px 11px;border-radius:11px;line-height:1.5;
    box-shadow:0 2px 8px rgba(35,16,96,.05)}
  .explore-item b{display:block;font-size:12.5px;margin-bottom:3px;color:var(--ink)}

  .news-item{font-size:11.5px;gap:11px;line-height:1.55}

  /* --- Stats ----------------------------------------------------------
     Three across, so the row reads as one set. site.css forces two columns
     with !important, so this has to match it. Every label is two short
     words, which wrap cleanly in a ~100px track; 1,015 is the widest value
     and needs ~72px of it at this size. */
  .stats{grid-template-columns:repeat(3,1fr)!important;border-radius:15px;
    padding:22px 8px!important;gap:0!important}
  .stat{padding:0 3px}
  .stat-icon{width:34px;height:34px;margin-bottom:6px;padding:5px;border-radius:10px}
  .stat b{font-size:24px;letter-spacing:0}
  .stat span{font-size:10.5px;margin-top:4px;line-height:1.5}
  /* Three across suits the three figures the fallback produces. The admin's
     toggles can yield four, which would leave one alone on a second row, so
     that case goes two-by-two instead. */
  .stats:has(.stat:nth-child(4)){grid-template-columns:repeat(2,1fr)!important;gap:20px 12px!important}

  /* --- App banner -----------------------------------------------------
     Two badges side by side at 390px left each about 150px. */
  .app-banner{padding:30px 18px!important;border-radius:15px}
  .app-banner h2{font-size:21px!important;line-height:1.35}
  .app-banner p{font-size:12.5px;line-height:1.7}
  .app-banner .stores{gap:10px;margin-top:20px}
  .app-banner .store{padding:9px 14px;min-height:52px}
  .app-banner .store-text{font-size:13.5px}

  /* --- Advertise ------------------------------------------------------ */
  .business{padding:26px 20px!important;border-radius:15px;gap:4px}
  .business h2{font-size:21px;line-height:1.4}
  .business p{font-size:12.5px;margin:8px 0 18px}
  .business button{font-size:13px}
  .business .primary,.business .outline{padding:12px 24px}
  .shop img{max-width:132px!important;margin-bottom:6px}
}

/* Very narrow phones: the two-column grids stop working around here. */
/* site.css drops .stats to a single column at 370px with !important, which
   would strand the figures one per row. Keep the three across and shrink
   them instead — the labels still fit two short words per track. */
@media(max-width:370px){
  .stats{grid-template-columns:repeat(3,1fr)!important;padding:20px 6px!important}
  .stat{padding:0 2px}
  .stat-icon{width:30px;height:30px;padding:4px;border-radius:9px;margin-bottom:5px}
  .stat b{font-size:21px}
  .stat span{font-size:9.5px;line-height:1.45}
}

@media(max-width:360px){
  .hero h1{font-size:33px}
  .quick-icon{width:46px!important;height:46px!important;font-size:21px!important}
  .app-banner .stores{flex-direction:column}
  .app-banner .store{width:100%;justify-content:flex-start}
}
