/* =====================================================================
   QwikGlam — Services, the phone layer (WEB-APP-1, 4 Dec 2026)

   Loads last on /services/. On a phone the first service card sat 1,456 px
   down: a 715 px hero video, then six strips (stats, a product marquee,
   availability badges, the offer, payment logos, controls). The app opens
   on the menu. This file makes the page read like the app:

     · a large-title header instead of the video hero;
     · search + category chips that stay at the top while you scroll;
     · one compact line of facts instead of four strips;
     · a "View booking" bar above the tab bar while services are chosen
       (assets/js/qg-book-bar.js), in place of the floating "Cart 0" pill.

   Desktop keeps its layout; only the booking bar and the input sizes apply
   there. Selectors carry html:not(#qgsa1):not(#qgsa2) body: the mobile
   master stylesheet loads after this file (a template <link>) with
   !important and body:has(#qgHero) selectors, which count as two ids.
   ===================================================================== */

:root{
  --qgsa-ink:#1F1219; --qgsa-ink-2:#4A3742; --qgsa-ink-3:#7A6872;
  --qgsa-bg:#FBF7F4; --qgsa-card:#FFFFFF; --qgsa-line:rgba(31,18,25,.08);
  --qgsa-rose:#B83A64; --qgsa-plum:#5B3D57; --qgsa-gold:#B8893A;
  --qgsa-ease:cubic-bezier(.2,.8,.2,1);
  --qgsa-nav:68px;
}

/* ── Booking bar (all widths) ─────────────────────────────────────── */
.qgsa-bar{
  position:fixed; left:12px; right:12px; z-index:9985;
  bottom:calc(var(--qgsa-nav) + 10px + env(safe-area-inset-bottom));
  max-width:520px; margin:0 auto;
  display:flex; align-items:center; gap:12px;
  min-height:58px; padding:8px 8px 8px 16px; border-radius:18px;
  background:rgba(31,18,25,.94); color:#fff; text-decoration:none;
  -webkit-backdrop-filter:saturate(160%) blur(16px); backdrop-filter:saturate(160%) blur(16px);
  box-shadow:0 12px 32px rgba(31,18,25,.28), 0 2px 6px rgba(31,18,25,.18);
  transform:translateY(calc(100% + 120px)); opacity:0; pointer-events:none;
  transition:transform .42s var(--qgsa-ease), opacity .3s var(--qgsa-ease);
  -webkit-tap-highlight-color:transparent;
}
.qgsa-bar.is-on{ transform:none; opacity:1; pointer-events:auto; }
.qgsa-bar:active{ transform:scale(.985); }
.qgsa-bar-count{
  flex:none; min-width:30px; height:30px; padding:0 8px; border-radius:10px;
  display:grid; place-items:center; background:rgba(255,255,255,.14);
  font:700 .9rem/1 'DM Sans',system-ui,sans-serif; font-variant-numeric:tabular-nums;
}
.qgsa-bar-tx{ flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.qgsa-bar-tx b{ font:700 1rem/1.15 'DM Sans',system-ui,sans-serif; font-variant-numeric:lining-nums tabular-nums; color:#fff; }
.qgsa-bar-tx small{ font:500 .76rem/1.2 'DM Sans',system-ui,sans-serif; color:rgba(255,255,255,.72);
  white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.qgsa-bar-go{
  flex:none; display:inline-flex; align-items:center; gap:6px; height:42px; padding:0 16px;
  border-radius:13px; background:linear-gradient(135deg,#D4547A,#B83A64); color:#fff;
  font:700 .92rem/1 'DM Sans',system-ui,sans-serif; letter-spacing:.01em;
}
.qgsa-bar-go svg{ width:16px; height:16px; }
.qgsa-bar.is-bump .qgsa-bar-count{ animation:qgsaBump .5s var(--qgsa-ease); }
@keyframes qgsaBump{ 0%{transform:scale(1)} 35%{transform:scale(1.25)} 100%{transform:scale(1)} }

/* The bar replaces the floating pill; the chat button moves above the bar. */
html:not(#qgsa1):not(#qgsa2) body.qgsa-has-bar #qgCartFab{ display:none !important; }
html:not(#qgsa1):not(#qgsa2) body.qgsa-has-bar #qgConciergeBtn{ bottom:calc(var(--qgsa-nav) + 92px + env(safe-area-inset-bottom)) !important; transition:bottom .35s var(--qgsa-ease); }
html:not(#qgsa1):not(#qgsa2) body.qgsa-has-bar #qgToast{ bottom:calc(var(--qgsa-nav) + 80px + env(safe-area-inset-bottom)) !important; }
/* An empty cart says nothing. */
html:not(#qgsa1):not(#qgsa2) body #qgCartFab:not(.has-items){ display:none !important; }

@media (min-width:769px){
  .qgsa-bar{ --qgsa-nav:0px; bottom:24px; left:50%; right:auto; width:440px; margin:0; transform:translate(-50%, calc(100% + 60px)); }
  .qgsa-bar.is-on{ transform:translate(-50%,0); }
  .qgsa-bar:active{ transform:translate(-50%,0) scale(.985); }
  html:not(#qgsa1):not(#qgsa2) body.qgsa-has-bar #qgConciergeBtn{ bottom:24px !important; }
}

/* iOS zooms the page into any field under 16px; these were 13–14 px. */
html:not(#qgsa1):not(#qgsa2) body #qgSearch,
html:not(#qgsa1):not(#qgsa2) body #qgSort,
html:not(#qgsa1):not(#qgsa2) body .qg-services-wrapper input,
html:not(#qgsa1):not(#qgsa2) body .qg-services-wrapper select,
html:not(#qgsa1):not(#qgsa2) body input[type="email"]{ font-size:16px !important; }

/* ── Phone ────────────────────────────────────────────────────────── */
@media (max-width:768px){

  /* Large-title header in place of the video hero */
  html:not(#qgsa1):not(#qgsa2) body section#qgHero.qg-hero{
    min-height:0 !important; height:auto !important; padding:calc(env(safe-area-inset-top) + 22px) 20px 6px !important;
    background:var(--qgsa-bg) !important; display:block !important; overflow:visible !important; text-align:left !important;
  }
  html:not(#qgsa1):not(#qgsa2) body #qgHero .qg-hero__video,
  html:not(#qgsa1):not(#qgsa2) body #qgHero .qg-hero__veil,
  html:not(#qgsa1):not(#qgsa2) body #qgHero .qg-hero__particles,
  html:not(#qgsa1):not(#qgsa2) body #qgHero .qg-hero__badge,
  html:not(#qgsa1):not(#qgsa2) body #qgHero .qg-hero__subtitle,
  html:not(#qgsa1):not(#qgsa2) body #qgHero .qg-hero__cta,
  html:not(#qgsa1):not(#qgsa2) body #qgHero .qg-scroll-cue{ display:none !important; }
  html:not(#qgsa1):not(#qgsa2) body #qgHero .qg-hero__content{
    position:static !important; transform:none !important; opacity:1 !important; padding:0 !important; margin:0 !important;
    min-height:0 !important; height:auto !important;
    max-width:none !important; text-align:left !important; display:block !important;
  }
  html:not(#qgsa1):not(#qgsa2) body #qgHero h1.qg-hero__title{
    margin:0 !important; text-align:left !important; font-family:'Playfair Display',Georgia,serif !important;
    font-size:2.15rem !important; line-height:1.05 !important; letter-spacing:-.02em !important; font-weight:700 !important;
    color:var(--qgsa-ink) !important; -webkit-text-fill-color:var(--qgsa-ink) !important; background:none !important; text-shadow:none !important;
  }
  html:not(#qgsa1):not(#qgsa2) body #qgHero h1.qg-hero__title em{ font-style:normal !important; color:inherit !important; -webkit-text-fill-color:inherit !important; background:none !important; }
  html:not(#qgsa1):not(#qgsa2) body .qg-hero h1.qg-hero__title .qg-hero__kicker{
    margin:0 0 6px !important; text-align:left !important; font-size:.74rem !important; letter-spacing:.08em !important;
    text-transform:uppercase !important; color:var(--qgsa-rose) !important; -webkit-text-fill-color:var(--qgsa-rose) !important;
  }

  /* Facts: one quiet row, scrolls sideways */
  html:not(#qgsa1):not(#qgsa2) body .qg-trust-strip{
    background:var(--qgsa-bg) !important; padding:10px 0 4px !important; margin:0 !important; border:0 !important; box-shadow:none !important;
  }
  html:not(#qgsa1):not(#qgsa2) body .qg-trust-strip .qg-trust-strip-inner{
    display:flex !important; flex-wrap:nowrap !important; gap:8px !important; overflow-x:auto !important; padding:0 20px !important;
    scrollbar-width:none; -webkit-overflow-scrolling:touch; grid-template-columns:none !important;
  }
  html:not(#qgsa1):not(#qgsa2) body .qg-trust-strip .qg-trust-strip-inner::-webkit-scrollbar{ display:none; }
  html:not(#qgsa1):not(#qgsa2) body .qg-trust-strip .qg-trust-strip-divider{ display:none !important; }
  html:not(#qgsa1):not(#qgsa2) body .qg-trust-strip .qg-trust-stat{
    flex:none !important; display:inline-flex !important; flex-direction:row !important; align-items:baseline !important; gap:5px !important;
    padding:7px 12px !important; border-radius:999px !important; background:var(--qgsa-card) !important; border:1px solid var(--qgsa-line) !important;
    box-shadow:none !important; min-width:0 !important; width:auto !important;
  }
  html:not(#qgsa1):not(#qgsa2) body .qg-trust-strip .qg-trust-stat-num{
    font:600 .8rem/1.2 'DM Sans',system-ui,sans-serif !important; color:var(--qgsa-ink) !important; -webkit-text-fill-color:var(--qgsa-ink) !important;
    background:none !important; letter-spacing:0 !important; white-space:nowrap !important;
  }
  html:not(#qgsa1):not(#qgsa2) body .qg-trust-strip .qg-trust-stat-label{
    font:500 .74rem/1.2 'DM Sans',system-ui,sans-serif !important; color:var(--qgsa-ink-3) !important; text-transform:none !important;
    letter-spacing:0 !important; white-space:nowrap !important; margin:0 !important;
  }

  /* Said elsewhere already, or by the tab bar */
  html:not(#qgsa1):not(#qgsa2) body .qg-brand-partners,
  html:not(#qgsa1):not(#qgsa2) body .qg-urgency-strip,
  html:not(#qgsa1):not(#qgsa2) body .qg-payment-trust,
  html:not(#qgsa1):not(#qgsa2) body #qgBadge{ display:none !important; }

  /* Categories stay under your thumb */
  html:not(#qgsa1):not(#qgsa2) body #qgFilterHub.qg-filter-hub{
    position:-webkit-sticky !important; position:sticky !important; top:0 !important; z-index:60 !important;
    background:rgba(251,247,244,.92) !important; -webkit-backdrop-filter:saturate(180%) blur(18px); backdrop-filter:saturate(180%) blur(18px);
    border-bottom:1px solid transparent; padding-top:calc(env(safe-area-inset-top) + 6px) !important; margin-top:0 !important;
    transition:border-color .2s, box-shadow .2s;
  }
  html:not(#qgsa1):not(#qgsa2) body #qgFilterHub.qg-filter-hub.qgsa-stuck{ border-bottom-color:var(--qgsa-line); box-shadow:0 6px 18px rgba(31,18,25,.06); }

  /* Offer: a single slim card (only printed when a real code is live) */
  html:not(#qgsa1):not(#qgsa2) body #qgFirstBookingStrip.qg-first-booking-strip{
    margin:10px 16px 0 !important; padding:10px 12px !important; border-radius:14px !important; gap:10px !important;
    background:linear-gradient(135deg,#FFF4EC,#FCE9EF) !important; border:1px solid rgba(184,58,100,.14) !important; box-shadow:none !important;
  }
  html:not(#qgsa1):not(#qgsa2) body #qgFirstBookingStrip .qg-fbs-text{ font-size:.82rem !important; line-height:1.35 !important; color:var(--qgsa-ink-2) !important;
    white-space:normal !important; overflow:visible !important; text-overflow:clip !important; display:block !important; -webkit-line-clamp:unset !important; flex:1 !important; min-width:0 !important; }
  html:not(#qgsa1):not(#qgsa2) body #qgFirstBookingStrip .qg-fbs-code{ display:inline-block !important; margin-left:2px !important; padding:1px 7px !important; border-radius:6px !important; border:1px dashed rgba(184,58,100,.4) !important; font-weight:700 !important; letter-spacing:.06em !important; color:var(--qgsa-rose) !important; background:#fff !important; cursor:pointer; }
  /* Price + sort: two equal, lighter pills under the search field */
  html:not(#qgsa1):not(#qgsa2) body #qgServices .qg-controls #qgSort,
  html:not(#qgsa1):not(#qgsa2) body #qgServices .qg-controls .qg-price-btn{
    height:42px !important; min-height:42px !important; border-radius:12px !important; box-shadow:none !important; border:1px solid var(--qgsa-line) !important; background-color:var(--qgsa-card) !important;
  }
  html:not(#qgsa1):not(#qgsa2) body #qgFirstBookingStrip .qg-fbs-cta{ display:none !important; }

  /* Search + sort: one tidy block */
  html:not(#qgsa1):not(#qgsa2) body #qgServices .qg-controls{
    padding:12px 16px 4px !important; margin:0 !important; gap:8px !important; background:transparent !important; box-shadow:none !important; border:0 !important;
  }
  html:not(#qgsa1):not(#qgsa2) body #qgServices .qg-controls .qg-search-wrap input#qgSearch{
    height:46px !important; border-radius:14px !important; background:var(--qgsa-card) !important; border:1px solid var(--qgsa-line) !important;
    box-shadow:0 1px 2px rgba(31,18,25,.04) !important; -webkit-appearance:none; appearance:none;
  }
}

/* ── WEB-APP-2 (4 Dec 2026): the phone menu, quieter ──────────────────
   · The facts pills (Bengaluru · At Home · UPI · Free cancellation) said
     what the title, the offer and checkout already say: gone on a phone.
   · Every touch device has backdrop-filter switched off (qg-app-shell.css),
     so the sticky category bar was a 92% veil with cards showing through.
     It is solid now.
   · Chips lose their counts (noise on a phone; desktop keeps them), the
     sort menu no longer clips ("Recommendec"), Recently viewed prices stay
     on one line, and the chat button is smaller and lower in the stack. */
@media (max-width:768px){
  html:not(#qgsa1):not(#qgsa2) body .qg-trust-strip{ display:none !important; }
  html:not(#qgsa1):not(#qgsa2) body section#qgHero.qg-hero{ padding-bottom:2px !important; }

  html:not(#qgsa1):not(#qgsa2) body #qgFilterHub.qg-filter-hub{ background:#FBF7F4 !important; -webkit-backdrop-filter:none !important; backdrop-filter:none !important; }
  html:not(#qgsa1):not(#qgsa2) body #qgFilterHub.qg-filter-hub.qgsa-stuck{ box-shadow:none !important; border-bottom:.5px solid rgba(31,18,25,.12) !important; }
  html:not(#qgsa1):not(#qgsa2) body #qgFilterHub.qgf .qgf-chip{ height:34px !important; padding:0 14px !important; border:0 !important; background:#fff !important;
    box-shadow:0 1px 2px rgba(31,18,25,.06), inset 0 0 0 .5px rgba(31,18,25,.08) !important; font:600 .88rem/1 'DM Sans',system-ui,sans-serif !important; }
  html:not(#qgsa1):not(#qgsa2) body #qgFilterHub.qgf .qgf-chip.is-on{ background:var(--qgsa-ink) !important; color:#fff !important; box-shadow:none !important; }
  html:not(#qgsa1):not(#qgsa2) body #qgFilterHub.qgf .qgf-n{ display:none !important; }
  html:not(#qgsa1):not(#qgsa2) body #qgFilterHub.qgf .qgf-refine .qgf-chip{ height:30px !important; padding:0 12px !important; background:transparent !important;
    box-shadow:inset 0 0 0 .5px rgba(31,18,25,.16) !important; color:var(--qgsa-ink-2) !important; font:500 .82rem/1 'DM Sans',system-ui,sans-serif !important; }
  html:not(#qgsa1):not(#qgsa2) body #qgFilterHub.qgf .qgf-refine .qgf-chip.is-on{ background:var(--qgsa-ink) !important; color:#fff !important; box-shadow:none !important; }

  html:not(#qgsa1):not(#qgsa2) body #qgFirstBookingStrip.qg-first-booking-strip{ background:#fff !important; border:0 !important;
    box-shadow:0 1px 2px rgba(31,18,25,.05), inset 0 0 0 .5px rgba(184,58,100,.18) !important; }

  html:not(#qgsa1):not(#qgsa2) body #qgServices .qg-controls .qg-search-wrap input#qgSearch{ height:44px !important; border-radius:12px !important; border:0 !important;
    box-shadow:inset 0 0 0 .5px rgba(31,18,25,.12) !important; background:#fff !important; }
  html:not(#qgsa1):not(#qgsa2) body #qgServices .qg-controls #qgSort,
  html:not(#qgsa1):not(#qgsa2) body #qgServices .qg-controls .qg-price-btn{ height:40px !important; min-height:40px !important; border:0 !important; border-radius:12px !important;
    box-shadow:inset 0 0 0 .5px rgba(31,18,25,.12) !important; font:500 15px/1 'DM Sans',system-ui,sans-serif !important; color:var(--qgsa-ink) !important; }
  html:not(#qgsa1):not(#qgsa2) body #qgServices .qg-controls #qgSort{ font-size:16px !important; padding:0 30px 0 12px !important; text-overflow:ellipsis; min-width:0 !important; }

  html:not(#qgsa1):not(#qgsa2) body .qg-rv-chip-price{ white-space:nowrap !important; flex:none !important; }
  html:not(#qgsa1):not(#qgsa2) body .qg-rv-chip-name{ min-width:0 !important; overflow:hidden !important; text-overflow:ellipsis !important; white-space:nowrap !important; }

  html:not(#qgsa1):not(#qgsa2) body #qgConciergeBtn{ width:48px !important; height:48px !important; min-width:48px !important; min-height:48px !important; z-index:40 !important; }
}
