/* Dzcard.store website only — shape fixes (2026-11-28, builder bldr-20261128-1626-dzcard-website-shape).
   Loaded after the inline styles. Phone layout stays the mini-app layout. */

/* Safety net: nothing may scroll sideways, in LTR or RTL. */
html, body { overflow-x: clip; }

/* The top bar must fit. The website adds a Sign in button the mini app
   does not have, so at 390px the row is ~42px too wide and its last icon
   slides off-screen left (RTL). Let the row wrap instead. */
.app .topbar { flex-wrap: wrap; }
/* The Sign in button must size to its label, not to the whole row:
   with flex:1 + width:100% it took a full row by itself on phone. */
.app .topbar #webSigninBtn { flex: 0 1 auto; width: auto; }

/* Website login: 6-digit code boxes (Example 3 Clean Premium). */
.web-code-row { display: flex; gap: 8px; margin: 12px 0; justify-content: center; direction: ltr; }
.web-code-digit { width: 46px; height: 56px; text-align: center; font-size: 24px; font-weight: 800; border: 1px solid #33333f; border-radius: 12px; background: #1b1b24; color: #fff; }
.web-code-digit:focus { outline: 2px solid #f5b90d; border-color: #f5b90d; }
.web-code-digit.filled { border-color: #f5b90d; background: #241f05; }

/* NOTE: the Telegram widget was removed from the website login in the
   Google-first build (2026-11-28) — it is hidden everywhere in website
   login, so this file keeps no widget rule. */

@media (min-width: 1024px) {
  .app { max-width: 1180px; padding-left: 28px; padding-right: 28px; padding-bottom: 150px; }
  /* Header: Sign in is a normal button, not a full-width gold bar. */
  .app .topbar { flex-wrap: nowrap; }
  .app .topbar #webSigninBtn { flex: 0 0 auto; width: auto; }
  /* Ticker bleeds to the container edges (app padding is 28px here). */
  .app .gta6-tickstrip { margin-left: -28px; margin-right: -28px; }
  /* Real desktop grids: 3 columns. */
  .grid, .xbx-grid, .stm-grid, .hll-region-grid, .cl-grid, #packSections {
    grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px;
  }
  .app .strip-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .app .strip-row .tile { flex: none; width: 100%; }
  /* Bottom nav becomes a normal footer nav in flow — never floating over content.
     (nav/cartbar are direct children of <body>, NOT inside .app, so the
     selectors must not be prefixed with .app.) */
  .nav { position: static; transform: none; left: auto; bottom: auto; width: min(760px, 100%); margin: 32px auto 0; }
  .cartbar { width: min(760px, calc(100% - 48px)); }
}
.web-email-input { width:100%; box-sizing:border-box; padding:13px 14px; border-radius:12px; border:1px solid #33333f; background:#1b1b24; color:#fff; margin:6px 0; font-size:16px; direction:ltr; text-align:left; }
.web-email-input:focus { outline:2px solid #f5b90d; border-color:#f5b90d; }
.web-divider { display:flex; align-items:center; gap:10px; color:#8a8a99; font-size:12px; margin:16px 0; opacity:1; text-align:center; }
.web-divider::before, .web-divider::after { content:""; flex:1; height:1px; background:#2c2c38; }
.gate-tabs { display:flex; gap:8px; margin:12px 0 4px; }
.gate-tabs .cta { flex:1; }

/* ---- Login Design 3 — Clean Premium (Example 3, 2026-11-28) ----
   Big type, generous space, dark + gold. Scoped to the login views only;
   the rest of the store keeps its own styles. */
#view-gate .success-wrap, #view-connect .success-wrap { padding: 34px 26px; }
.web-login-logo { text-align: center; font-size: 34px; font-weight: 900; color: #fff; letter-spacing: -.5px; }
.web-login-logo em { color: #f5b90d; font-style: normal; }
#view-gate .view-title, #view-connect .view-title { font-size: 26px; font-weight: 900; text-align: center; margin-top: 26px; line-height: 1.35; }
#view-gate .view-sub, #view-connect .view-sub { text-align: center; color: #b9b9c6; font-size: 14px; margin-top: 6px; }
#view-gate .cta, #view-connect .cta { padding: 17px; border-radius: 16px; font-size: 17px; }
#view-gate .cta.ghost, #view-connect .cta.ghost { background: transparent; color: #c9c9d4; border: 1px solid #33333f; border-radius: 14px; padding: 12px; font-size: 14px; }
#view-gate .gate-tabs { display: flex; background: #1b1b24; border-radius: 12px; padding: 4px; margin: 26px 0 16px; gap: 0; }
#view-gate .gate-tabs button.cta, #view-gate .gate-tabs button.ghost { flex: 1; border: 0; background: transparent; color: #c9c9d4; padding: 10px 0; border-radius: 9px; font-size: 15px; font-weight: 700; margin-top: 0; }
#view-gate .gate-tabs button.cta { background: #f5b90d; color: #111; }
/* Inactive tab carries BOTH .cta and .ghost at boot (setGateMode only
   toggles on click) — same specificity as the gold rule above, so this
   later rule must win for the dual-class element. */
#view-gate .gate-tabs button.ghost { background: transparent; color: #c9c9d4; }
#view-gate #webGoogleBtn { background: #fff; color: #111; padding: 17px; border-radius: 16px; font-size: 17px; font-weight: 800; }
.web-login-label { display: block; font-size: 14px; font-weight: 700; margin: 20px 0 6px; text-align: start; }
.web-login-note { text-align: center; font-size: 12px; color: #9a9aad; margin-top: 14px; }
#webEmailOtpBox > p.view-sub:first-child { font-size: 22px; font-weight: 900; color: #fff; }
.web-connect-card { background: #1b1b24; border: 1px solid #33333f; border-radius: 16px; padding: 18px; text-align: center; margin-top: 16px; }

.web-login-logo img { display: block; width: 84px; height: 84px; margin: 0 auto; border-radius: 20px; }

/* ---- SEO live build 2026-11-28 (bldr-20261128-2312-seo-live) ----
   H1 is now DZCard Store; Shopro survives as this small secondary line. */
.brand-sub { text-align: center; color: #8a8a99; font-size: 13px; margin: -2px 0 6px; font-weight: 600; }
