/* ==============================================
   Store buttons (App Store / Google Play)
   Replaces the old raster badge images (#u7812,
   #u7813 used background-image: url(ios.jpg /
   android.jpg)) with real pill buttons — icon font +
   text, matching the treatment already used on the
   app pages (e.g. saimobileapps.in/nutritrace).

   Why: a background-image badge is an opaque asset —
   browsers don't recolor it when a "force dark" mode
   inverts the page, so if the surrounding background
   flips to black the (also black) badge disappears
   into it. Icon-font glyphs and button colors here are
   real CSS, so forced-dark inversion processes them
   correctly and they stay visible either way.

   Loaded after index.css so these rules win the
   cascade.
   ============================================== */

/* index.css still has #u7812/#u7813 { background: #000 url(ios.jpg / android.jpg) ... }
   from the old raster-badge design — an ID selector, which beats a class
   selector's specificity regardless of load order. #u7812/#u7813 ARE the
   .store-btn elements, so selecting by ID here (not just class) is what
   actually wins the cascade and clears the old image. */
#u7812.store-btn,
#u7813.store-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    min-width: 172px;
    padding: 9px 18px 9px 14px;
    background: #000000;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    text-decoration: none;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

/* index.css also has #u7812:hover/#u7813:hover { background: #222 url(...) ... } —
   same specificity issue as above, needs the ID to win here too. */
#u7812.store-btn:hover,
#u7813.store-btn:hover {
    background: #000000;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
    filter: brightness(1.12);
}

.store-btn i {
    font-size: 26px;
    line-height: 1;
    flex-shrink: 0;
}

.store-btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    font-family: -apple-system, 'Helvetica Neue', Roboto, Arial, sans-serif;
    font-weight: 600;
    font-size: 16px;
}

.store-btn-text small {
    font-size: 10px;
    font-weight: 400;
}

.store-btn-play .store-btn-text small {
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
