/* ============================================================================
   SchoolNotes — v10 storefront pass
   File: assets/css/site-v10.css   (loaded LAST, after site-v9.css)
   ----------------------------------------------------------------------------
   What this file owns:
     1. "Find Resources" panel — clean single-row search + filter row (fixes
        the broken/blank filter row and the duplicated chip that shipped in
        the previous search_box.php).
     2. Right-to-left marquee for the category rail and the class chips strip
        ("all categories keep moving right to left"), with pause-on-hover,
        focus support and a reduced-motion fallback that becomes a normal
        swipeable/scrolling rail.
     3. Header WhatsApp button sitting next to the AI chat button.
     4. Hero artwork framing for the new generated hero art.
   Nothing here removes existing behaviour: the marquee is an additive wrapper
   around the existing .category-card markup, and the find panel keeps the
   same /search.php GET contract (q, board, class, section, medium).
   ========================================================================== */

/* ==========================================================================
   1. FIND RESOURCES PANEL
   ========================================================================== */
.find-notes { padding: 10px 0 8px; }

.find-card {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--paper-line, #e3e9f2);
  border-radius: 18px;
  padding: 24px 26px 20px;
  box-shadow: 0 18px 44px rgba(20, 51, 92, .12);
}

.find-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.find-card h2 {
  margin: 0;
  color: var(--navy, #14335c);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 9px;
}
.find-card h2 i { color: var(--blue, #1a67c4); }

/* one small inline pill instead of the two absolutely-positioned badges that
   overlapped the card border (and each other) on narrow screens */
.find-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #eef6ff;
  color: #0b5fce;
  border: 1px solid #d5e6fb;
  font-size: .76rem;
  font-weight: 800;
  padding: 7px 13px;
  border-radius: 999px;
  white-space: nowrap;
}
.find-pill i { color: #0b7a43; }

.find-form { display: block; }

.find-row { display: flex; gap: 10px; }
.find-row-main { align-items: stretch; }
.find-row-filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.find-q { position: relative; flex: 1; min-width: 0; }
.find-q-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #7b8ca3;
  font-size: .9rem;
  pointer-events: none;
}
.find-q input {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px 13px 42px;
  border: 1px solid var(--paper-line, #e3e9f2);
  border-radius: 11px;
  background: #f8fafd;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink, #16263c);
}
.find-q input:focus {
  outline: 2px solid rgba(26, 103, 196, .35);
  outline-offset: 1px;
  border-color: var(--blue, #1a67c4);
  background: #fff;
}

.find-select { position: relative; min-width: 0; }
.find-select select {
  width: 100%;
  min-height: 48px;
  appearance: none;
  -webkit-appearance: none;
  padding: 12px 38px 12px 14px;
  border: 1px solid var(--paper-line, #e3e9f2);
  border-radius: 10px;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink, #16263c);
  cursor: pointer;
  text-overflow: ellipsis;
}
.find-select::after {
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: .68rem;
  color: #7b8ca3;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}
.find-select select:focus {
  outline: 2px solid rgba(26, 103, 196, .35);
  outline-offset: 1px;
  border-color: var(--blue, #1a67c4);
}

.btn-find {
  flex: 0 0 auto;
  min-width: 168px;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  background: linear-gradient(120deg, #f0b429, #c9860f);
  color: #14335c;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 22px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn-find:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(201, 134, 15, .3); }
.btn-find:active { transform: translateY(0); }

.find-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.find-chips-label {
  font-size: .74rem;
  font-weight: 800;
  color: #7b8ca3;
  text-transform: uppercase;
  letter-spacing: .04em;
  align-self: center;
  margin-right: 2px;
}
.find-chip {
  font-size: .78rem;
  font-weight: 600;
  color: #1a67c4;
  background: #eef6ff;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid #dbeafb;
  font-family: inherit;
  cursor: pointer;
}
.find-chip:hover { background: #1a67c4; color: #fff; border-color: #1a67c4; }

.find-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  justify-content: space-between;
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid #eef2f7;
  font-size: .78rem;
  color: #5b6b80;
  font-weight: 600;
}
.find-foot i { color: #0b7a43; margin-right: 5px; }

@media (max-width: 900px) {
  .find-card { padding: 20px 18px 18px; }
  .find-card h2 { font-size: 1.15rem; }
  .find-row-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .find-row-main { flex-direction: column; }
  .btn-find { width: 100%; min-width: 0; }
  .find-row-filters { grid-template-columns: 1fr; }
}

/* ==========================================================================
   2. RIGHT-TO-LEFT MARQUEE  (category rail + class chips)
   --------------------------------------------------------------------------
   index.php renders the card set TWICE inside .cat-marquee-track (the second
   copy is aria-hidden). Because both halves are identical, animating the
   track to translateX(-50%) loops with no visible seam.
   ========================================================================== */
.cat-marquee {
  position: relative;
  overflow: hidden;
  padding: 4px 0 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
}
.cat-marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: cat-marquee-scroll 44s linear infinite;
  will-change: transform;
}
/* the gap lives on the cards (not on flex `gap`) so -50% lands exactly on the
   start of the second copy and the loop is seamless */
.cat-marquee .category-card {
  flex: 0 0 262px;
  width: 262px;
  max-width: none;
  margin-right: 18px;
  scroll-snap-align: none;
}

.cat-marquee:hover .cat-marquee-track,
.cat-marquee:focus-within .cat-marquee-track,
.cat-marquee.is-paused .cat-marquee-track { animation-play-state: paused; }

@keyframes cat-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Class chips strip: same right-to-left motion, slimmer cardless track */
.chip-marquee {
  position: relative;
  overflow: hidden;
  flex: 1;
  min-width: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
}
.chip-marquee-track {
  display: flex;
  width: max-content;
  animation: cat-marquee-scroll 30s linear infinite;
}
.chip-marquee:hover .chip-marquee-track,
.chip-marquee:focus-within .chip-marquee-track { animation-play-state: paused; }
.chip-marquee .class-chip { flex: 0 0 auto; margin-right: 8px; }

/* Reduced motion / no-JS fallback: stop the animation and hand scrolling back
   to the user as a normal horizontal rail. */
@media (prefers-reduced-motion: reduce) {
  .cat-marquee-track,
  .chip-marquee-track { animation: none !important; }
  .cat-marquee, .chip-marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cat-marquee::-webkit-scrollbar, .chip-marquee::-webkit-scrollbar { display: none; }
}

@media (max-width: 560px) {
  .cat-marquee .category-card { flex: 0 0 224px; width: 224px; margin-right: 12px; }
  .cat-marquee-track { animation-duration: 34s; }
}
@keyframes hwa-ping {
  0%   { opacity: .75; transform: scale(.85); }
  70%  { opacity: 0;   transform: scale(1.25); }
  100% { opacity: 0;   transform: scale(1.25); }
}
@media (max-width: 420px) {   /* the floating cluster still carries it */
}

/* ==========================================================================
   4. HERO ART FRAMING
   ========================================================================== */
.hero-slider .hero-slide img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   5. MOBILE: make sure the new marquees never cause a sideways page scroll
   ========================================================================== */
@media (max-width: 900px) {
  .cat-marquee, .chip-marquee { overscroll-behavior-x: contain; }
}

/* ============================================================================
   v12 storefront additions — loaded last, so these win over the v9/v10 rules.
     1. Header account button (third icon next to the AI + WhatsApp buttons).
     2. Keep the WhatsApp button visible on small phones (it used to be
        display:none below 420px, i.e. exactly where it matters most).
     3. Compact "Find Resources" panel + short popular "shorts" chips.
     4. Footer v2 — five columns, responsive down to one.
   Nothing here removes an existing rule; every selector is additive.
   ========================================================================== */

/* ---------------------------------------------------- 1. HEADER ACCOUNT ICON */
/* v13: PINK, glossy, unmistakably "me" — it was a flat blue circle that read as
   just another nav dot. Pink gradient + white ring + soft pulse halo makes it the
   most inviting tap target in the header. */
.header-acc-btn {
  position: relative;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff5fa2 0%, #ec4899 45%, #be185d 100%);
  color: #fff;
  font-size: .98rem;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, .85);
  box-shadow: 0 4px 14px rgba(236, 72, 153, .45), inset 0 1px 0 rgba(255,255,255,.45);
  transition: transform .16s cubic-bezier(.2, .8, .2, 1), box-shadow .16s ease;
  overflow: visible;
}
.header-acc-btn:hover {
  transform: scale(1.08) rotate(-4deg);
  color: #fff;
  box-shadow: 0 6px 20px rgba(236, 72, 153, .65), inset 0 1px 0 rgba(255,255,255,.55);
}
.header-acc-btn:active { transform: scale(.94); }
.header-acc-btn i { position: relative; z-index: 1; }
/* soft pink halo so the eye finds the account icon on a dark navy bar */
.header-acc-btn::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255, 95, 162, .55);
  animation: snAccPing 2.8s ease-out infinite;
  pointer-events: none;
}
@keyframes snAccPing {
  0%   { opacity: .8; transform: scale(.86); }
  70%  { opacity: 0;  transform: scale(1.3); }
  100% { opacity: 0;  transform: scale(1.3); }
}
@media (prefers-reduced-motion: reduce) { .header-acc-btn::after { animation: none; } }
@media (max-width: 900px) {
  .header-acc-btn { width: 30px; height: 30px; font-size: .85rem; }
}

@media (max-width: 420px) {
  .site-header .header-row { gap: 7px; }
}

/* ------------------------------------------ 3. FIND RESOURCES (COMPACT) v12 */
.find-card-v12 {
  padding: 20px 22px 17px;
  border-radius: 16px;
  max-width: 940px;
}
.find-card-v12 .find-head { margin-bottom: 12px; }
.find-card-v12 h2 { font-size: 1.25rem; }
.find-card-v12 .find-pill { font-size: .72rem; padding: 6px 11px; }
.find-card-v12 .find-q input { min-height: 48px; }
.find-card-v12 .btn-find { padding: 12px 20px; min-width: 148px; }
.find-card-v12 .find-row-filters { margin-top: 8px; gap: 8px; }
.find-card-v12 .find-select select { min-height: 44px; font-size: 14px; }

/* Popular "shorts": short 1-2 word chips that stay on one or two lines on a
   phone, instead of four long category names wrapping onto three. */
.find-chips-v12 { margin-top: 12px; gap: 6px; }
.find-chip-v12 {
  font-size: .74rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  line-height: 1.35;
}
.find-card-v12 .find-foot {
  margin-top: 12px;
  padding-top: 11px;
  font-size: .74rem;
  gap: 6px 16px;
}
@media (max-width: 560px) {
  .find-card-v12 { padding: 16px 14px 14px; }
  .find-card-v12 h2 { font-size: 1.08rem; }
  .find-chip-v12 { font-size: .7rem; padding: 5px 10px; }
  .find-card-v12 .find-foot { font-size: .7rem; gap: 5px 12px; }
}

/* ------------------------------------------------------------ 4. FOOTER v2 */
.footer-grid-v2 {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1.25fr;
  gap: 24px 28px;
  align-items: start;
}
.footer-grid-v2 .footer-col h4 { display: flex; align-items: center; gap: 8px; }
.footer-grid-v2 .footer-col-brand p { max-width: 40ch; }
.footer-grid-v2 .footer-col a { display: block; }
.footer-bottom-v2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-bottom-v2 nav { display: flex; gap: 15px; flex-wrap: wrap; }
.footer-bottom-v2 nav a { font-size: .78rem; }
@media (max-width: 1100px) {
  .footer-grid-v2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .footer-grid-v2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 460px) {
  .footer-grid-v2 { grid-template-columns: 1fr; }
  .footer-bottom-v2 { justify-content: center; text-align: center; }
}

/* ============================================================================
   v13 ADDITIONS
     1. Section tab rail — Home pinned, categories marquee right -> left.
     2. Red ANIMATED offer-notice top bar (replaces the static blue gradient).
     3. Mobile: lift the floating WhatsApp / AI-chat launchers clear of the
        sticky "Buy Now" bar so the two never merge into one blob.
   ========================================================================== */

/* ------------------------------------------- 1. SECTION TABS (Home pinned) */
.section-tabs {
  display: flex !important;
  align-items: flex-end !important;
  gap: 6px !important;
  padding: 10px clamp(12px, 3vw, 20px) 0 !important;
  overflow: hidden !important;
}
.section-tabs .tab-home {
  flex: 0 0 auto !important;
  position: relative;
  z-index: 3;
  margin-right: 4px;
  box-shadow: 8px 0 12px -6px rgba(20, 51, 92, .38);
}
.section-tabs-marquee {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
  /* fade the rail edges so tabs dissolve instead of clipping hard */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
}
.section-tabs-track {
  display: flex;
  gap: 6px;
  width: max-content;
  animation: snTabScroll 28s linear infinite;
  will-change: transform;
}
.section-tabs:hover .section-tabs-track,
.section-tabs:focus-within .section-tabs-track { animation-play-state: paused; }
@keyframes snTabScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .section-tabs-track { animation: none !important; }
  .section-tabs-marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .section-tabs-marquee::-webkit-scrollbar { display: none; }
}
@media (max-width: 900px) {
  .section-tabs-track { animation-duration: 22s; }
}

/* ------------------------------------------------- 2. RED ANIMATED TOP BAR */
/* The offer bar keeps its layout/sheen/LIVE badge but the colour is now a
   deep blood-red gradient that visibly travels left-to-right, so it reads as
   an urgent, "live" promo strip rather than a calm blue band. */
.pv8-bar {
  background: linear-gradient(90deg,
      #6b0f14 0%, #b91c1c 22%, #ef4444 46%, #dc2626 62%, #7f1d1d 100%) !important;
  background-size: 260% 100% !important;
  animation: snOfferRed 9s linear infinite;
  box-shadow: 0 2px 16px -5px rgba(185, 28, 28, .75) !important;
}
@keyframes snOfferRed {
  0%   { background-position: 0% 50%; }
  100% { background-position: 260% 50%; }
}
.pv8-bar .pv8-live { background: rgba(0, 0, 0, .28); }
.pv8-bar .pv8-coupon {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .25), 0 3px 10px rgba(0, 0, 0, .3);
}
@media (prefers-reduced-motion: reduce) {
  .pv8-bar { animation: none; background-size: 100% 100% !important; }
}

/* ------------------------------ 3. MOBILE: LIFT THE FLOATING LAUNCHERS UP */
/* On a phone the WhatsApp bubble + AI-chat bubble sat right on top of the
   sticky "Buy Now" bar and looked merged with it. Sit them a clear step
   higher, and higher again whenever a sticky bar is on screen. */
@media (max-width: 900px) {
  .pv8-chat { bottom: 128px !important; }
  body.has-sticky-bar .pv8-chat { bottom: 172px !important; }
}

/* ---------------------------- 4. ONE BOTTOM CTA ONLY (cart / checkout) ---- */
/* The reported "a second Proceed/Pay bar merged into the bottom" happens when
   two fixed bottom bars are on screen at once. Guarantee a single bar: the
   sticky pay/proceed bar wins, the app-style nav bar and any duplicate
   mini-cart CTA stand down on cart + checkout. */
body.has-sticky-bar .mobile-app-nav { display: none !important; }
body.checkout-body .mobile-app-nav,
body.cart-body .mobile-app-nav { display: none !important; }
body.checkout-body .sticky-buy-bar .checkout-sticky-pay { width: auto; max-width: 62%; }
@media (max-width: 480px) {
  .checkout-sticky-bar .sticky-buy-price .price,
  .cart-sticky-bar .sticky-buy-price .price { font-size: 1.05rem; }
  .checkout-sticky-bar .checkout-sticky-pay,
  .cart-sticky-bar .checkout-sticky-pay { padding: 11px 16px !important; font-size: .9rem; }
}

/* ============================================================================
   v14 ADDITIONS  (loaded LAST — wins the cascade)
   ----------------------------------------------------------------------------
     1. Product grid — TWO COLUMNS on every phone width (kills the old
        horizontal scroll-snap carousel from app.min.css so cards sit side
        by side, "both sides of the screen", like rightwaynotes.in).
     2. App-style bottom tab bar — now shown on EVERY public page (not just
        home), and both it and any sticky buy/pay bar auto-hide on scroll
        down / reappear on scroll up (site-v11.js toggles body.sn-scroll-down).
     3. Cart mini bar — "Total Cart Value / Go to Cart" strip that appears
        the instant something is added to cart from a listing page, sitting
        directly above the bottom tab bar (mirrors the reference screenshot).
     4. Distraction-free cart/checkout — the floating AI + WhatsApp cluster
        (and the two header buttons) hide on the cart & checkout pages, and
        the moment the cart mini bar is showing anywhere else.
     5. Chatbot quick-option chips — 2-column card grid instead of a plain
        stacked list, so the welcome screen reads as a tidy menu.
     6. Footer "Download App Now" install card.
   ========================================================================== */

/* --------------------------------------------------- 1. PRODUCT GRID: 2-UP */
@media (max-width: 900px) {
  .product-grid {
    display: grid !important;
    flex-wrap: unset !important;
    overflow-x: visible !important;
    scroll-snap-type: none !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    padding: 0 !important;
    margin-inline: 0 !important;
  }
  .product-grid .product-card {
    flex: unset !important;
    max-width: none !important;
    scroll-snap-align: unset !important;
    margin-right: 0 !important;
    width: 100%;
  }
}
@media (max-width: 380px) {
  /* Even the smallest phones keep 2 columns, just tighter, instead of the
     old single-column fallback — matches "products on both sides". */
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  .product-card .body { padding: 10px 10px 12px !important; }
}

/* -------------------------------------- 2. BOTTOM TAB BAR: every page ----- */
.mobile-app-nav { display: none !important; }
@media (max-width: 900px) {
  body:not(.admin-body) .mobile-app-nav { display: flex !important; }
  /* pages that already carry their own dedicated sticky CTA (product,
     cart, checkout) still suppress the tab bar — unchanged from v13 */
  body.has-sticky-bar .mobile-app-nav,
  body.checkout-body .mobile-app-nav,
  body.cart-body .mobile-app-nav { display: none !important; }
  body:not(.has-sticky-bar):not(.admin-body) { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
}

/* Auto-hide on scroll (site-v11.js adds/removes body.sn-scroll-down) —
   the tab bar, the cart-mini-bar and every sticky buy/pay bar slide down
   out of the way together while scrolling down, and slide back the moment
   the visitor scrolls up or stops near the top of the page. */
@media (max-width: 900px) {
  .mobile-app-nav,
  .cart-mini-bar,
  .sticky-buy-bar,
  .pv7-sticky {
    transition: transform .28s cubic-bezier(.2,.8,.2,1);
    transform: translateY(0);
  }
  body.sn-scroll-down .mobile-app-nav,
  body.sn-scroll-down .cart-mini-bar,
  body.sn-scroll-down .sticky-buy-bar,
  body.sn-scroll-down .pv7-sticky {
    transform: translateY(130%);
  }
  body.sn-overlay-open .mobile-app-nav,
  body.sn-overlay-open .cart-mini-bar { transform: translateY(0) !important; }
}
@media (prefers-reduced-motion: reduce) {
  .mobile-app-nav, .cart-mini-bar, .sticky-buy-bar, .pv7-sticky { transition: none; }
}

/* --------------------------------------------------- 3. CART MINI BAR ----- */
.cart-mini-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 89;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: linear-gradient(120deg, var(--navy, #14335c), #1c4a86);
  color: #fff;
  padding: 11px 14px;
  box-shadow: 0 -10px 26px rgba(20, 51, 92, .3);
}
.cart-mini-bar.is-visible { display: flex; }
@media (min-width: 901px) { .cart-mini-bar { display: none !important; } }
@media (max-width: 900px) {
  .cart-mini-bar.is-visible { bottom: calc(60px + env(safe-area-inset-bottom, 0px)); }
  body.has-cart-mini-bar:not(.has-sticky-bar) { padding-bottom: calc(122px + env(safe-area-inset-bottom, 0px)); }
}
.cmb-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cmb-label { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; opacity: .78; }
.cmb-total { font-size: 1.08rem; font-weight: 800; }
.cmb-cta {
  flex-shrink: 0;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--mustard, #f0b429);
  color: var(--navy, #14335c);
  font-weight: 800; font-size: .86rem;
  padding: 11px 18px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  min-height: 40px;
}
.cmb-cta:hover { filter: brightness(1.05); }
.cmb-close {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.16); color: #fff; font-size: .74rem;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.cmb-close:hover { background: rgba(255,255,255,.28); }

/* --------------------------------------------- 6. FOOTER APP-INSTALL CARD - */
.app-download-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
}
.adc-icon { flex-shrink: 0; }
.adc-icon img { width: 42px; height: 42px; border-radius: 11px; display: block; }
.adc-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.adc-copy strong { font-size: .92rem; color: #fff; }
.adc-copy span { font-size: .76rem; color: rgba(255,255,255,.72); }
.adc-btn {
  flex-shrink: 0;
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem;
  padding: 10px 16px;
}
.adc-hint {
  flex-basis: 100%;
  font-size: .72rem;
  color: rgba(255,255,255,.7);
  margin-top: 8px;
  display: none;
}
.adc-hint.is-visible { display: block; }
@media (max-width: 560px) {
  .app-download-cta { flex-wrap: wrap; }
  .adc-btn { margin-left: 56px; }
}
