/* 76 Spare Parts on the Naqla platform: refinements over the delivered design, kept apart from
   its files (copied as delivered by tools/convert.py) so each change stays visible here.
   Asked by the owner after the first live review (phones): smaller type, a tighter footer,
   the app banner's title alone, a calmer road animation in "How it works". */

/* the app banner: its title is enough */
.app-ins small,.ftr3 .ftr-brand .app-ins small{display:none}

/* a card's quantity control takes its own row, also in browsers without :has() (older Android) */
@supports not selector(:has(a)){
  @media (max-width:599px){
    .pc-f{flex-wrap:wrap}
    .pc-f .pc-act{flex:1 1 100%}
    .pc-act .pc-qty{display:flex;justify-content:space-between;width:100%}
    .pc-f .pc-add{width:100%}
  }
}

@media (max-width:599px){
  /* page and section titles */
  #app .h-page,#app main h1:not(.h-t){font-size:18.5px}
  #app .h-mid,#app .h-sec,#app .k2-h,#app .f2-head h2,#app .sv-h2,#app .hw-h2,#app .p2-h2,#app .rq-q{font-size:17px;line-height:1.5}
  #app .bn h3{font-size:17px}
  #app .faq3-h{font-size:15.5px}
  #app .faq3 summary span,#app details summary span{font-size:13.5px}
  #app details p{font-size:13px}
  #app .btn{font-size:14px}
  #app .ab-lead{font-size:14px}

  /* How it works: five steps */
  #app .f2-head{text-align:center}
  #app .f2-head h2{text-wrap:balance;margin-inline:auto;max-width:20em}
  #app .f2-eyebrow{font-size:12px}
  #app .f3-card b{font-size:14px;padding-inline-end:46px}
  #app .f3-card span{font-size:12.5px;line-height:1.65}
  #app .f3-card .who{font-size:11px}
  #app .f3-end{font-size:12px}
  #app .f3-st{width:50px;height:50px}#app .f3-st .ic{width:23px;height:23px}
  #app .f3-st bdi{width:20px;height:20px;font-size:12px}
  #app .f3-steps{gap:12px}
  /* the road: narrower, the truck glides with the scroll and passes under the stations and labels */
  #app .f3-svg .rd{stroke-width:18}
  #app .f3-svg .rd-fill{stroke-width:4;transition:stroke-dashoffset .2s linear}
  #app .f3-car{z-index:1;width:36px;height:36px;margin:-18px 0 0 -18px;transition:transform .2s linear,opacity .3s}
  #app .f3-car .ic{width:20px;height:20px}
  #app .f3-end{z-index:4}

  /* What you know before ordering */
  #app .k2-sub{font-size:13px}
  #app .k2-txt h3{font-size:14px}
  #app .k2-txt h3+p,#app .k2-txt p:not(.k2-sub){font-size:12.5px}

  /* cart */
  #app .crt-info h3,#app .crt-info h3 a{font-size:14px}
  #app .crt-sr{font-size:14px}
  #app .crt-sum .sum span,#app .crt-sum .sum b{font-size:13.5px}
  #app .crt-sum .sum .tot b,#app .crt-sum .sum .tot bdi{font-size:16px}
  /* checkout */
  #app .chk-h{font-size:14.5px}
  #app .chk-sum-e b,#app .chk-sum-e bdi{font-size:15px}
  #app .chk-sum-b .sum span,#app .chk-sum-b .sum b{font-size:13.5px}
  #app .chk-sum-b .sum .tot b{font-size:15.5px}
  #app .chk-stick b,#app .crt-stick b{font-size:16px}

  /* product: the sticky "Add to cart" sized to its content, less room on its outer side */
  #app .pd-stick .pc-act{flex:none}
  #app .pd-stick .pc-act .pc-add{width:auto;padding-inline:14px 11px;font-size:14px}

  /* footer: the link lists closer together */
  .ftr3 .ftr-nav a,.ftr2 .ftr-nav a{min-height:31px;font-size:13.5px}
  .ftr3 .ftr-nav h3,.ftr2 .ftr-nav h3{margin-bottom:6px;font-size:14.5px}
  .ftr3 .ftr-in{row-gap:18px}
}
