/* ===================================================================== AMARIX007 — Storefront styles (style.css) Sections: 1. Theme tokens 6. Cart / summary / generic boxes 2. Base & layout 7. Orders & status badges 3. Header & nav 8. Forms & auth 4. Home / banners 9. Toast, loading, skeleton 5. Product cards 10. Footer, responsive ===================================================================== */

/* ---------- 1. Theme tokens (same palette as before) ---------- */
:root {
  --bg: #f8faf9;
  --card: #fff;
  --ft: #f0f2f1;
  --tx: #0f1111;
  --mu: #565959;
  --bd: #e5e7eb;
  --g: #2f442c;
  --gh: color-mix(in srgb, var(--g) 85%, #fff);
  --m: #a7e8bd;
  --ac: #52b788;
  --lk: #2d6a4f;
  --er: #ef4444;
  --ok: #22c55e;
  --wn: #fbbf24;
  --info: #3b82f6;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121212;
    --card: #1a1a1a;
    --ft: #0d0d0d;
    --tx: #f3f4f6;
    --mu: #9ca3af;
    --bd: #2a2a2a;
    --lk: #a7e8bd;
  }
}
:root[data-theme="dark"] {
  --bg: #121212;
  --card: #1a1a1a;
  --ft: #0d0d0d;
  --tx: #f3f4f6;
  --mu: #9ca3af;
  --bd: #2a2a2a;
  --lk: #a7e8bd;
}

/* ---------- 2. Base & layout ---------- */
* {
  box-sizing: border-box;
  margin: 0;
}
html {
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 120px);
  overflow-x: hidden;
}
/* Column layout: the footer grows to fill any spare height, so there is no empty band between the content and the bottom bar (bar padding lives inside the footer). */
body {
  background: var(--bg);
  color: var(--tx);
  font: 14px/1.6 Alexandria, system-ui, sans-serif;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
select,
input {
  font: inherit;
  color: inherit;
}
img {
  max-width: 100%;
}
.w {
  max-width: 1100px;
  margin: auto;
  padding: 0 14px;
}
main {
  padding-top: 14px;
  width: 100%;
}
h1 {
  font-size: 18px;
}
h2 {
  font-size: 17px;
  font-weight: 800;
  margin: 22px 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.n {
  font-family: Urbanist, Alexandria, sans-serif;
}

/* Buttons */
.b {
  background: var(--g);
  color: var(--m);
  border: 0;
  border-radius: 12px;
  padding: 9px 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.b:hover {
  background: var(--gh);
}
.b:active {
  transform: scale(0.96);
}
.b2 {
  background: transparent;
  color: var(--lk);
  border: 1px solid var(--ac);
}
.b2:hover {
  background: color-mix(in srgb, var(--g) 14%, transparent);
}
.b:disabled {
  opacity: 0.6;
  cursor: wait;
}
.b.wa {
  background: #1f7a4a;
  color: #e9fff1;
}
.b.wa:hover {
  background: #25905a;
}
.block {
  width: 100%;
}

/* ---------- 3. Header & navigation ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--card);
  border-bottom: 1px solid var(--bd);
  padding: calc(env(safe-area-inset-top, 0px) + 8px) 0 0;
}
.hr {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.lw {
  min-width: 0;
}
.tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--g);
  color: var(--m);
  border: 1px solid var(--ac);
  flex: none;
  overflow: hidden;
  transition: transform 0.2s;
}
.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tile.big {
  width: 64px;
  height: 64px;
  border-radius: 20px;
}
.lt {
  font: 900 20px Urbanist, sans-serif;
  line-height: 1.1;
}
.lt b {
  color: var(--lk);
}
.sb {
  color: var(--mu);
  font-size: 11px;
  line-height: 1.3;
}
.ctl {
  display: flex;
  gap: 6px;
  align-items: center;
}
.ib,
.sel {
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: 12px;
  height: 36px;
  min-width: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0 8px;
}
.sr {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}
.sr input {
  flex: 1;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: 12px;
  padding: 0 12px;
  height: 40px;
}
.sr input:focus {
  outline: 2px solid var(--ac);
}

/* Category strip (was <nav>, which clashed with the bottom bar rule) */
.sub-nav {
  background: var(--g);
  color: var(--m);
  border-bottom: 1px solid var(--ac);
  margin-top: 8px;
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.sub-nav::-webkit-scrollbar {
  display: none;
}
.sub-nav a {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--m);
  border-inline-end: 1px solid rgba(255, 255, 255, 0.1);
}
.sub-nav a:last-child {
  border: 0;
}

/* Bottom navigation */
#nv {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  background: var(--card);
  border-top: 1px solid var(--bd);
  display: flex;
  justify-content: space-around;
  padding: 6px 0 calc(env(safe-area-inset-bottom, 0px) + 6px);
  z-index: 30;
}
#nv a {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 11px;
  color: var(--mu);
  position: relative;
  padding: 4px 6px;
  border-radius: 12px;
  flex: 1;
  min-width: 0;
  margin: 0 3px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
#nv a.on {
  color: var(--m);
  background: var(--g);
}
#nv a svg {
  transition: transform 0.25s;
}
#nv a.on svg {
  transform: translateY(-1px) scale(1.12);
}
.cnt {
  position: absolute;
  top: 0;
  inset-inline-end: calc(50% - 24px);
  background: var(--ac);
  color: var(--g);
  font: 900 10px Urbanist;
  border-radius: 99px;
  min-width: 17px;
  height: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ---------- 4. Home: partner, banners, categories ---------- */
.ban {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.ban.one > div {
  flex-basis: 100% !important;
}
.dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}
.dots i {
  width: 7px;
  height: 7px;
  border-radius: 99px;
  background: var(--bd);
  transition: width 0.25s, background 0.25s;
}
.dots i.on {
  width: 20px;
  background: var(--ac);
}
.ban > div {
  flex: 0 0 100%;
  scroll-snap-align: center;
  border-radius: 20px;
  padding: 22px;
  background: linear-gradient(135deg, var(--g), var(--card));
  color: var(--tx);
  border: 1px solid var(--bd);
}
.ban h3 {
  font-size: 20px;
  color: var(--lk);
  margin-bottom: 4px;
}
.ban p {
  color: var(--mu);
  margin-bottom: 12px;
  white-space: normal;
  word-break: break-word;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.ct {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  gap: 12px;
  align-items: center;
  transition: border-color 0.2s;
}
.ct:hover {
  border-color: var(--ac);
}
.ct:hover .tile {
  transform: scale(1.08) rotate(-4deg);
}
.ct > span:last-child {
  min-width: 0;
  flex: 1;
  text-align: start;
}
.ct b {
  display: block;
  font-size: 13px;
  line-height: 1.4;
  word-break: break-word;
}

.pc {
  flex: 1 1 150px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: start;
}
.pnm {
  font-size: 18px;
}
.pd {
  color: var(--mu);
  font-size: 13px;
  line-height: 1.7;
  word-break: break-word;
}
.pbtn {
  flex: 1 0 100%;
  width: 100%;
  margin-top: 4px;
}

/* ---------- 5. Product cards, artwork, gallery ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.cd {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s, transform 0.2s;
}
.cd:hover {
  border-color: var(--ac);
}
.art {
  display: block;
  aspect-ratio: 4/3;
  background: var(--bg);
  overflow: hidden;
}
.art .pim,
.main-img .pim {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Pretty placeholder when a product has no image (hue is set per product) */
.ph {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--m);
  overflow: hidden;
  background: linear-gradient(
    135deg,
    hsl(var(--h) 38% 20%),
    hsl(calc(var(--h) + 28) 42% 34%)
  );
}
.ph::before,
.ph::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(167, 232, 189, 0.09);
}
.ph::before {
  width: 70%;
  aspect-ratio: 1;
  inset-block-start: -25%;
  inset-inline-end: -15%;
}
.ph::after {
  width: 45%;
  aspect-ratio: 1;
  inset-block-end: -18%;
  inset-inline-start: -8%;
}
.ph svg {
  position: relative;
  z-index: 1;
  opacity: 0.95;
}
.ph em {
  position: absolute;
  inset-block-end: 6px;
  inset-inline-start: 10px;
  font: 900 28px Urbanist, sans-serif;
  font-style: normal;
  opacity: 0.18;
  z-index: 1;
}
.bd {
  position: absolute;
  top: 8px;
  inset-inline-end: 8px;
  font-style: normal;
  font-size: 10px;
  font-weight: 600;
  background: var(--g);
  color: var(--m);
  border: 1px solid var(--ac);
  border-radius: 99px;
  padding: 1px 8px;
  z-index: 2;
}
.hb {
  position: absolute;
  top: 6px;
  inset-inline-start: 6px;
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: 99px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--mu);
  z-index: 2;
}
.hb.on {
  color: var(--m);
  background: var(--g);
  border-color: var(--ac);
}
.hb.on svg {
  fill: currentColor;
}
.bd2 {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.bd2 small {
  color: var(--lk);
  font-size: 11px;
  font-weight: 600;
}
.bd2 h3 {
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}
.rt {
  color: #fbbf24;
  font-size: 11px;
}
.rt small {
  color: var(--mu);
}
.pr {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: auto;
  font-size: 16px;
}
.pr s {
  color: var(--mu);
  font-size: 11px;
}
.gallery {
  margin-bottom: 12px;
}
.gallery .main-img {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 8px;
  aspect-ratio: 4/3;
  background: var(--bg);
}
.gallery .main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery .thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.gallery .thumbs img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid transparent;
  cursor: pointer;
  flex: none;
}
.gallery .thumbs img.on {
  border-color: var(--ac);
}
.spec {
  color: var(--mu);
  font-size: 12px;
  margin: 4px 0 8px;
}

/* ---------- 6. Cart / summary / generic ---------- */
.box {
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
}
.box p,
.pd,
.eb p {
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  max-width: 100%;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
}
.q {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.q button {
  width: 28px;
  height: 28px;
  border-radius: 99px;
  border: 1px solid var(--bd);
  background: var(--bg);
  cursor: pointer;
}
.emp {
  text-align: center;
  color: var(--mu);
  padding: 40px 0;
}
.line {
  display: flex;
  gap: 10px;
  align-items: center;
}
.line .thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  flex: none;
}
.line .info {
  flex: 1;
  min-width: 0;
}
.line .info b {
  display: block;
  font-size: 13px;
  word-break: break-word;
}
.sum {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sum .row {
  padding: 4px 0;
}
.sum .disc {
  color: var(--ok);
}
.tot {
  font-size: 18px;
  font-weight: 800;
  border-top: 1px solid var(--bd);
  margin-top: 6px;
  padding-top: 10px;
}
.cpn {
  display: flex;
  gap: 6px;
  margin: 10px 0;
}
.cpn .inp {
  height: 40px;
  text-transform: uppercase;
}
.cpn-on {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ok);
  margin: 8px 0;
}
.cpn-on button {
  background: none;
  border: 0;
  color: var(--er);
  cursor: pointer;
  font-size: 12px;
}
.pay {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.hint {
  color: var(--mu);
  font-size: 11px;
  text-align: center;
  margin-top: 6px;
}
.done {
  text-align: center;
  padding: 26px 16px;
}
.done .okc {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  border-radius: 99px;
  background: var(--g);
  color: var(--m);
  border: 2px solid var(--ac);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pop 0.4s ease;
}
.done .oid {
  display: inline-block;
  margin: 8px 0 14px;
  padding: 6px 14px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px dashed var(--ac);
  font: 800 16px Urbanist, sans-serif;
  user-select: all;
}
.done .acts {
  display: grid;
  gap: 8px;
  max-width: 320px;
  margin: 0 auto;
}
@keyframes pop {
  from {
    transform: scale(0.4);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ---------- 7. Orders & status badges ---------- */
.ord {
  padding: 0;
  overflow: hidden;
}
.ord-h {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  flex-wrap: wrap;
}
.ord-id {
  font: 800 14px Urbanist, sans-serif;
}
.ord-meta {
  color: var(--mu);
  font-size: 12px;
}
.ord-t {
  font-weight: 800;
}
.stt {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 99px;
  border: 1px solid currentColor;
}
.stt.new {
  color: var(--info);
}
.stt.processing {
  color: var(--wn);
}
.stt.done {
  color: var(--ok);
}
.stt.cancelled {
  color: var(--er);
}
.ord details {
  border-top: 1px solid var(--bd);
}
.ord summary {
  padding: 10px 16px;
  cursor: pointer;
  color: var(--lk);
  font-size: 12px;
  font-weight: 600;
  list-style: none;
}
.ord summary::-webkit-details-marker {
  display: none;
}
.ord-items {
  padding: 0 16px 14px;
}
.ord-items .row {
  border-top: 1px dashed var(--bd);
  font-size: 13px;
}
.ord-items .row:first-child {
  border-top: 0;
}
.ord-items small {
  color: var(--mu);
  display: block;
  word-break: break-all;
}

/* ---------- 8. Forms & auth ---------- */
.inp {
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: 12px;
  padding: 8px 12px;
  flex: 1;
  min-width: 0;
}
.inp:focus {
  outline: 2px solid var(--ac);
}
.tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  background: var(--bg);
  border: 1px solid var(--bd);
  border-radius: 14px;
  padding: 4px;
  margin: 14px 0;
}
.tabs button {
  border: 0;
  background: none;
  padding: 8px;
  border-radius: 10px;
  cursor: pointer;
  color: var(--mu);
  font-weight: 600;
}
.tabs .on {
  background: var(--g);
  color: var(--m);
}
.fld {
  display: block;
  margin-bottom: 12px;
}
.fld > span {
  display: block;
  font-size: 12px;
  color: var(--mu);
  margin-bottom: 4px;
}
.fld .inp {
  width: 100%;
  height: 44px;
}
.pw {
  position: relative;
}
.pw .inp {
  padding-inline-end: 44px;
}
.pw button {
  position: absolute;
  inset-inline-end: 6px;
  top: 6px;
  width: 32px;
  height: 32px;
  border: 0;
  background: none;
  cursor: pointer;
  color: var(--mu);
  display: flex;
  align-items: center;
  justify-content: center;
}
input[dir="ltr"] {
  text-align: left;
}
.au {
  max-width: 420px;
  margin: 10px auto;
  padding: 20px;
}
.err {
  color: var(--er);
  font-size: 12px;
  min-height: 18px;
  margin-bottom: 6px;
}
.strength-bar {
  height: 4px;
  background: var(--bd);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}
.strength-bar div {
  height: 100%;
  width: 0;
  transition: width 0.3s, background 0.3s;
}

/* ---------- 9. Toast, loading, skeleton ---------- */
#ts {
  position: fixed;
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  inset-inline: 0;
  margin: auto;
  width: max-content;
  max-width: 90%;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--g);
  color: var(--m);
  border: 1px solid var(--ac);
  padding: 9px 16px;
  border-radius: 12px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 50;
}
#ts.s {
  opacity: 1;
  transform: none;
}
#ts.er {
  background: #3a1515;
  color: #fecaca;
  border-color: var(--er);
}
#ts.wn {
  background: #3a2e0d;
  color: #fde68a;
  border-color: var(--wn);
}
.spin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  animation: rot 0.7s linear infinite;
  flex: none;
}
@keyframes rot {
  to {
    transform: rotate(360deg);
  }
}
.loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--mu);
  padding: 40px 0;
}
.sk {
  background: linear-gradient(
    90deg,
    var(--card) 25%,
    color-mix(in srgb, var(--bd) 70%, var(--card)) 50%,
    var(--card) 75%
  );
  background-size: 200% 100%;
  animation: sh 1.2s infinite;
  border: 1px solid var(--bd);
  border-radius: 16px;
  min-height: 220px;
}
.sk.sm {
  min-height: 70px;
}
@keyframes sh {
  to {
    background-position: -200% 0;
  }
}

/* ---------- 10. Footer & responsive ---------- */
footer {
  background: var(--ft);
  border-top: 1px solid var(--bd);
  margin-top: 30px;
  flex: 1;
  padding: 22px 0 calc(86px + env(safe-area-inset-bottom, 0px));
  color: var(--mu);
  font-size: 12px;
  text-align: center;
}
.soc {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.soc .sl {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s;
}
.soc .sl svg {
  width: 17px;
  height: 17px;
}
.soc .sl:hover {
  transform: translateY(-3px) scale(1.06);
}
.soc .sl img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}
/* Payment methods in the footer (under the social icons) */
.fpays-t {
  font-size: 12px;
  font-weight: 700;
  color: var(--tx, inherit);
  margin: 4px 0 8px;
}
.fpays {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 460px;
  margin: 0 auto 14px;
}
.fpays .fp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 74px;
  padding: 8px 4px 6px;
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 12px;
}
.fpays .fp .pl {
  border-radius: 12px;
  background: #0c2a1c !important;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--pc, var(--ac)) 45%, var(--bd));
}
.fpays .fp .pl img {
  padding: 0;
  object-fit: contain;
}
.fpays .fp > b {
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
  color: var(--tx, inherit);
}
.risk {
  max-width: 620px;
  margin: 0 auto 8px;
  line-height: 1.7;
}
@media (min-width: 700px) {
  .tiles,
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .ban > div {
    flex-basis: 48%;
  }
  .pay {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 360px) {
  .ctl .sel {
    max-width: 64px;
  }
  #nv a {
    font-size: 10px;
    padding: 4px 2px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- 11. Partner card (redesigned) ---------- */
.pt {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 20px;
  margin-bottom: 14px;
  padding: 1px;
  background: linear-gradient(
    135deg,
    var(--ac),
    color-mix(in srgb, var(--m) 40%, transparent),
    var(--ac)
  );
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s;
}
.pt:hover {
  transform: translateY(-2px);
}
.pt-bg {
  position: absolute;
  inset: 1px;
  border-radius: 19px;
  background-size: cover;
  background-position: center;
  opacity: 0.28;
}
.pt-in {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 19px;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--card) 92%, transparent),
    color-mix(in srgb, var(--g) 40%, var(--card))
  );
}
.pt-logo {
  width: 58px;
  height: 58px;
  flex: none;
  border-radius: 16px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--g);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.pt-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
}
.pt-tx {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: start;
}
.pt-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  align-self: flex-start;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  background: color-mix(in srgb, var(--ac) 22%, transparent);
  color: var(--lk);
}
.pt-nm {
  font-size: 17px;
  line-height: 1.3;
}
.pt-d {
  font-size: 12px;
  color: var(--mu);
  line-height: 1.5;
}
.pt-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 12px;
  background: var(--g);
  color: var(--m);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
@media (max-width: 520px) {
  .pt-in {
    flex-wrap: wrap;
  }
  .pt-cta {
    width: 100%;
    justify-content: center;
  }
}
.pd {
  color: var(--mu);
  font-size: 13px;
  line-height: 1.7;
  word-break: break-word;
}

/* ---------- 12. Payment methods ---------- */
.pl {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 28%;
  flex: none;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.pl img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}
.pl b {
  font-size: 0.4em;
  font-weight: 800;
  letter-spacing: 0.5px;
  font-size: 15px;
}
.pays-h {
  margin: -6px 0 10px;
}
.pays {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (min-width: 640px) {
  .pays {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.pm {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 132px;
  padding: 20px 10px 14px;
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05),
    0 10px 22px -14px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.pm::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--pc, var(--ac));
}
.pm .pl {
  border-radius: 18px;
  box-shadow: 0 0 0 1px var(--bd), 0 6px 14px -6px rgba(0, 0, 0, 0.35);
}
.pm .pl img {
  padding: 0;
  object-fit: cover;
}
.pm .pl b {
  font-size: 18px;
}
.pm:hover {
  border-color: var(--pc, var(--ac));
  transform: translateY(-3px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05),
    0 16px 28px -14px rgba(0, 0, 0, 0.45);
}
.pm > b {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.pchips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 8px;
}
.pchip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: var(--bg);
  border: 1.5px solid var(--bd);
  border-radius: 14px;
  cursor: pointer;
  text-align: start;
  font-size: 12px;
  font-weight: 600;
}
.pchip span {
  flex: 1;
  min-width: 0;
}
.pchip i {
  width: 20px;
  height: 20px;
  border-radius: 99px;
  border: 1.5px solid var(--bd);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
}
.pchip.on {
  border-color: var(--ac);
  background: color-mix(in srgb, var(--ac) 12%, var(--bg));
}
.pchip.on i {
  background: var(--ac);
  border-color: var(--ac);
  color: #fff;
}
.payi-h {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  text-align: start;
}
.payi-h small,
.payi-acc small {
  display: block;
  color: var(--mu);
  font-size: 11px;
}
.acc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 6px 0 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg);
  border: 1px dashed var(--ac);
  font: 700 15px Urbanist, sans-serif;
  word-break: break-all;
}
.b.sm {
  padding: 6px 10px;
  font-size: 12px;
  min-height: 0;
  height: auto;
}
.okmsg {
  color: var(--ok);
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
}
.stt.pay-pending {
  color: var(--wn);
}
.stt.pay-review {
  color: var(--info);
}
.stt.pay-paid {
  color: var(--ok);
}
.ord-pm {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
}
.ord-act {
  display: grid;
  gap: 8px;
  padding: 0 16px 12px;
}
.ord-note {
  padding: 0 16px 12px;
  font-size: 12px;
  color: var(--info);
  display: flex;
  gap: 6px;
  align-items: center;
}
.trk {
  display: flex;
  padding: 4px 16px 14px;
  gap: 0;
}
.trk span {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: var(--mu);
  text-align: center;
}
.trk span::before {
  content: "";
  position: absolute;
  top: 10px;
  inset-inline-start: -50%;
  width: 100%;
  height: 2px;
  background: var(--bd);
}
.trk span:first-child::before {
  display: none;
}
.trk i {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
  border-radius: 99px;
  background: var(--bg);
  border: 2px solid var(--bd);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.trk span.on {
  color: var(--tx);
}
.trk span.on i {
  background: var(--ac);
  border-color: var(--ac);
}
.trk span.on::before {
  background: var(--ac);
}
.trk span.wait i {
  border-color: var(--info);
  animation: pls 1.2s infinite;
}
@keyframes pls {
  50% {
    box-shadow: 0 0 0 5px color-mix(in srgb, var(--info) 25%, transparent);
  }
}

/* ---------- 13. Auth extras & human verification ---------- */
.forgot {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--lk);
  text-align: end;
}
.hp {
  position: absolute !important;
  inset: 0 auto auto 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  border: 0;
  padding: 0;
}
.hv {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid var(--bd);
  background: var(--bg);
  min-height: 66px;
}
.hv-l {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.hv-ic {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ok);
  flex: none;
}
.hv-t {
  font-size: 13px;
  font-weight: 500;
}
.hv[data-s="ok"] {
  border-color: color-mix(in srgb, var(--ok) 50%, var(--bd));
}
.hv-cb {
  width: 26px;
  height: 26px;
  border: 2px solid var(--mu);
  border-radius: 4px;
  background: var(--card);
  cursor: pointer;
}
.hv-r {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}
.hv-logo {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--g);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
}
.hv-logo svg {
  width: 100%;
  height: 100%;
}
.hv-b {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  font-size: 11px;
}
.hv-b small {
  color: var(--mu);
  font-size: 10px;
}
.hv-b a {
  text-decoration: underline;
}
.spin.lg {
  width: 24px;
  height: 24px;
  border-width: 3px;
  color: var(--ac);
}

/* ---------- 14. AI support widget ---------- */
.ai-fab {
  position: fixed;
  inset-inline-end: 14px;
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  width: 54px;
  height: 54px;
  border-radius: 99px;
  border: 0;
  cursor: pointer;
  background: linear-gradient(135deg, var(--g), var(--ac));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}
.ai-fab[hidden],
.ai-panel[hidden] {
  display: none !important;
}
.ai-dot {
  position: absolute;
  top: 6px;
  inset-inline-end: 6px;
  width: 10px;
  height: 10px;
  border-radius: 99px;
  background: var(--ok);
  border: 2px solid var(--card);
}
.ai-panel {
  position: fixed;
  inset-inline-end: 14px;
  bottom: calc(150px + env(safe-area-inset-bottom, 0px));
  z-index: 61;
  width: min(360px, calc(100vw - 28px));
  height: min(470px, calc(100dvh - 240px));
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--bd);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
}
.ai-h {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--g);
  color: var(--m);
}
.ai-h b {
  flex: 1;
  font-size: 14px;
}
.ai-av {
  width: 30px;
  height: 30px;
  padding: 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
}
.ai-av svg {
  width: 100%;
  height: 100%;
}
.ai-msgs {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ai-m {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
  word-break: break-word;
}
.ai-m.bot {
  align-self: flex-start;
  background: var(--bg);
  border: 1px solid var(--bd);
}
.ai-m.me {
  align-self: flex-end;
  background: var(--g);
  color: #fff;
}
.ai-m .b {
  display: flex;
  margin-top: 6px;
}
.ai-f {
  display: flex;
  gap: 6px;
  padding: 8px;
  border-top: 1px solid var(--bd);
}
.ai-f .inp {
  flex: 1;
  height: 40px;
}
.ai-f .b {
  width: 44px;
  padding: 0;
}
.ai-typing {
  display: flex;
  gap: 4px;
}
.ai-typing i {
  width: 6px;
  height: 6px;
  border-radius: 99px;
  background: var(--mu);
  animation: bnc 1s infinite;
}
.ai-typing i:nth-child(2) {
  animation-delay: 0.15s;
}
.ai-typing i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes bnc {
  50% {
    transform: translateY(-4px);
    opacity: 0.5;
  }
}
[hidden] {
  display: none !important;
}

/* ---------- Header: controls never overlap the brand on phones ---------- */
.hr {
  flex-wrap: wrap;
  row-gap: 8px;
}
.logo {
  flex: 1 1 200px;
}
.ctl {
  flex: 0 0 auto;
}
@media (max-width: 600px) {
  .logo {
    flex: 1 0 100%;
  }
  .ctl {
    flex: 1 0 100%;
    justify-content: space-between;
  }
  .ctl .ib,
  .ctl .sel {
    flex: 1;
    min-width: 0;
    max-width: none;
  }
  .ctl .sel {
    max-width: none;
  }
}

/* ---------- 15. Polish: category, payment and product cards ---------- */
/* Category cards */
.tiles {
  gap: 12px;
}
.ct {
  position: relative;
  overflow: hidden;
  padding: 12px;
  gap: 12px;
  border-radius: 20px;
  min-height: 84px;
  background: linear-gradient(
    145deg,
    color-mix(in srgb, var(--ac) 9%, var(--card)),
    var(--card) 70%
  );
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05),
    0 12px 24px -16px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.ct:hover {
  transform: translateY(-2px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05),
    0 18px 28px -16px rgba(0, 0, 0, 0.5);
}
.ct:active {
  transform: scale(0.98);
}
.ct .tile {
  width: 54px;
  height: 54px;
  border-radius: 17px;
  border: 0;
  background: linear-gradient(
    145deg,
    var(--g),
    color-mix(in srgb, var(--g) 55%, var(--ac))
  );
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 55%, transparent),
    0 6px 14px -6px rgba(0, 0, 0, 0.45);
}
.ct .tile.img {
  background: #0c2a1c;
}
.ct .tile.img img {
  object-fit: cover;
}
.ct:hover .tile {
  transform: none;
}
.ct-t {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ct b {
  font-size: 13.5px;
  font-weight: 700;
}
.ct-t small {
  color: var(--mu);
  font-size: 11px;
}
.ct-go {
  position: absolute;
  inset-block-end: 10px;
  inset-inline-end: 12px;
  color: var(--ac);
  opacity: 0.55;
  display: flex;
  transition: opacity 0.2s;
}
[dir="ltr"] .ct-go svg {
  transform: scaleX(-1);
}
.ct:hover .ct-go {
  opacity: 1;
}

/* Payment cards: bigger, clearer logos on a dark tile so poster-style artwork never looks tiny */
.pays {
  gap: 12px;
}
.pm {
  padding: 18px 10px 14px;
  gap: 12px;
  min-height: 150px;
  border-radius: 20px;
  background: radial-gradient(
    120% 90% at 50% 0,
    color-mix(in srgb, var(--pc, var(--ac)) 14%, var(--card)),
    var(--card) 70%
  );
}
.pm::before {
  height: 0;
}
.pm .pl {
  width: 86px !important;
  height: 86px !important;
  border-radius: 22px;
  background: #0c2a1c !important;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--pc, var(--ac)) 45%, var(--bd)),
    0 10px 20px -8px rgba(0, 0, 0, 0.5);
}
.pm .pl img {
  object-fit: contain;
  padding: 0;
}
.pm > b {
  font-size: 14px;
  font-weight: 800;
}
.pm:hover {
  border-color: var(--pc, var(--ac));
}
.pchip .pl {
  background: #0c2a1c !important;
  border-radius: 12px;
}
.pchip .pl img {
  object-fit: contain;
  padding: 0;
}

/* Product cards */
.grid {
  gap: 12px;
}
.cd {
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05),
    0 12px 24px -16px rgba(0, 0, 0, 0.4);
}
.cd:hover {
  transform: translateY(-2px);
}
.art {
  aspect-ratio: 1/1;
}
.ph em {
  font-size: 44px;
  opacity: 0.14;
}
.bd {
  inset-block-start: 10px;
  inset-inline-end: 10px;
  background: var(--er);
  color: #fff;
  border-color: transparent;
  font-weight: 800;
  padding: 2px 9px;
}
.hb {
  inset-block-start: 8px;
  inset-inline-start: 8px;
  background: color-mix(in srgb, var(--card) 88%, transparent);
  backdrop-filter: blur(6px);
}
.bd2 {
  padding: 12px 12px 12px;
  gap: 6px;
}
.bd2 small {
  align-self: flex-start;
  background: color-mix(in srgb, var(--ac) 16%, transparent);
  padding: 1px 8px;
  border-radius: 99px;
  font-size: 10.5px;
}
.bd2 h3 {
  font-size: 13.5px;
  font-weight: 700;
}
.pr {
  font-size: 17px;
  font-weight: 800;
}
.cd .b.add {
  margin-top: 6px;
  width: 100%;
  border-radius: 13px;
  padding: 10px 12px;
  background: linear-gradient(
    135deg,
    var(--g),
    color-mix(in srgb, var(--g) 60%, var(--ac))
  );
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ac) 50%, transparent);
}

/* Referral box */
.ref {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.ref h3 {
  font-size: 15px;
  font-weight: 800;
}
.ref-l {
  display: flex;
  gap: 8px;
  align-items: center;
  background: var(--bg);
  border: 1px dashed var(--ac);
  border-radius: 14px;
  padding: 6px 6px 6px 12px;
}
.ref-l bdi {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: var(--mu);
}
.ref-l .b {
  padding: 8px 16px;
  border-radius: 10px;
  flex: none;
}
.ref-s {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  text-align: center;
}
.ref-s div {
  background: var(--bg);
  border-radius: 12px;
  padding: 10px 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ref-s b {
  font-size: 15px;
}
.ref-s small {
  color: var(--mu);
  font-size: 10.5px;
}

/* ---------- 16. Support speed-dial ---------- */
.sup {
  position: fixed;
  inset-inline-end: 14px;
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.sup[hidden] {
  display: none !important;
}
.sup {
  pointer-events: none;
} /* the box is bigger than the button (it holds the hidden menu): let taps pass through to the page */
.sup .ai-fab {
  pointer-events: auto;
}
.sup .ai-fab {
  position: relative;
  inset: auto;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 8px 22px -6px rgba(5, 80, 40, 0.65),
    0 0 0 0 rgba(31, 164, 99, 0.45);
  animation: fabpulse 2.6s infinite;
}
.sup.open .ai-fab {
  animation: none;
  transform: scale(0.94);
}
.fi {
  position: absolute;
  display: flex;
  transition: transform 0.3s, opacity 0.3s;
}
.fi.f2 {
  opacity: 0;
  transform: rotate(-90deg) scale(0.5);
}
.sup.open .fi.f1 {
  opacity: 0;
  transform: rotate(90deg) scale(0.5);
}
.sup.open .fi.f2 {
  opacity: 1;
  transform: none;
}
@keyframes fabpulse {
  0% {
    box-shadow: 0 8px 22px -6px rgba(5, 80, 40, 0.65),
      0 0 0 0 rgba(31, 164, 99, 0.45);
  }
  70%,
  100% {
    box-shadow: 0 8px 22px -6px rgba(5, 80, 40, 0.65),
      0 0 0 16px rgba(31, 164, 99, 0);
  }
}
.sup-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}
.sup.open .sup-menu {
  pointer-events: auto;
}
.si {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: var(--tx);
  opacity: 0;
  transform: translateY(14px) scale(0.9);
  transition: opacity 0.22s, transform 0.22s;
  transition-delay: calc((var(--n, 3) - var(--i)) * 40ms);
}
.sup.open .si {
  opacity: 1;
  transform: none;
}
.si-l {
  background: var(--card);
  border: 1px solid var(--bd);
  padding: 7px 14px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
}
.si-i {
  width: 48px;
  height: 48px;
  border-radius: 99px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 8px 18px -6px rgba(0, 0, 0, 0.5);
  transition: transform 0.2s;
}
.si:hover .si-i,
.si:focus-visible .si-i {
  transform: scale(1.08);
}
.si-ai {
  background: linear-gradient(135deg, var(--g), var(--ac));
}
.si-wa {
  background: linear-gradient(145deg, #2fe07a, #128c4a);
}
.si-tg {
  background: linear-gradient(145deg, #3fb6ec, #1b8cc4);
}

/* ---------- 17. Interactive banners ---------- */
.ban-w {
  position: relative;
}
.ban {
  gap: 12px;
  padding: 2px 0 6px;
}
.ban > div.bs {
  position: relative;
  overflow: hidden;
  min-height: 156px;
  display: flex;
  align-items: center;
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #064e2b, #0b7a43 55%, #1fa463);
  box-shadow: 0 16px 30px -18px rgba(6, 78, 43, 0.8);
  transform: scale(0.95);
  opacity: 0.7;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.55s;
}
.ban > div.bs.cur,
.ban.one > div.bs {
  transform: none;
  opacity: 1;
}
.bs-c {
  position: relative;
  z-index: 1;
  max-width: 100%;
}
.ban .bs h3 {
  color: #fff;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
}
.ban .bs p {
  color: rgba(255, 255, 255, 0.88);
}
.bs.cur .bs-c > * {
  animation: bup 0.6s both;
}
.bs.cur .bs-c > *:nth-child(2) {
  animation-delay: 0.08s;
}
.bs.cur .bs-c > *:nth-child(3) {
  animation-delay: 0.16s;
}
@keyframes bup {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.bs-o {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.3),
    transparent 70%
  );
  animation: bfloat 7s ease-in-out infinite;
}
.bs-o.o1 {
  width: 190px;
  height: 190px;
  inset-inline-end: -50px;
  top: -70px;
}
.bs-o.o2 {
  width: 120px;
  height: 120px;
  inset-inline-start: 30%;
  bottom: -50px;
  animation-delay: -3.5s;
}
@keyframes bfloat {
  50% {
    transform: translate(-12px, 14px) scale(1.12);
  }
}
.ban .bs-b {
  position: relative;
  overflow: hidden;
  background: #fff;
  color: #064e2b;
  border: 0;
  font-weight: 800;
  border-radius: 99px;
  padding: 9px 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.ban .bs-b:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px -6px rgba(0, 0, 0, 0.4);
}
.bs.cur .bs-b::after {
  content: "";
  position: absolute;
  inset-block: 0;
  width: 40%;
  inset-inline-start: -60%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(31, 164, 99, 0.35),
    transparent
  );
  animation: bshine 3.2s 1s infinite;
}
@keyframes bshine {
  to {
    inset-inline-start: 130%;
  }
}
.ban-n {
  position: absolute;
  top: calc(50% - 20px);
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 99px;
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.9);
  color: #064e2b;
  box-shadow: 0 6px 14px -4px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
}
.ban-w:hover .ban-n {
  opacity: 1;
}
.ban-n:hover {
  transform: scale(1.1);
}
.ban-n.prev {
  inset-inline-start: 8px;
}
.ban-n.next {
  inset-inline-end: 8px;
}
.ban-n.prev svg {
  transform: scaleX(-1);
}
[dir="ltr"] .ban-n svg {
  transform: scaleX(-1);
}
[dir="ltr"] .ban-n.prev svg {
  transform: none;
}
@media (hover: none) {
  .ban-n {
    display: none;
  }
}
.dots {
  gap: 7px;
  margin-top: 10px;
}
.dots button {
  position: relative;
  overflow: hidden;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: var(--bd);
  cursor: pointer;
  transition: width 0.35s;
}
.dots button.on {
  width: 32px;
}
.dots button u {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 0;
  background: var(--ac);
}
.dots button.on u {
  animation: bfill var(--bt, 5s) linear forwards;
}
.ban-w.hold .dots button.on u {
  animation-play-state: paused;
}
@keyframes bfill {
  to {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bs-o,
  .bs.cur .bs-b::after,
  .sup .ai-fab {
    animation: none;
  }
  .bs.cur .bs-c > * {
    animation: none;
  }
  .ban > div.bs,
  .si {
    transition: none;
  }
}

/* tweaks: roomier category text, banner shadow not clipped */
.ct {
  padding: 12px 10px;
  gap: 10px;
}
.ct .tile {
  width: 46px;
  height: 46px;
  border-radius: 15px;
}
.ct b {
  font-size: 13px;
  line-height: 1.35;
}
.ban {
  padding-bottom: 16px;
  margin-bottom: -8px;
}
.ban > div.bs {
  box-shadow: 0 10px 16px -12px rgba(6, 78, 43, 0.7);
}

/* image-only banners (the picture carries its own text): keep only the button, bottom corner */
.ban > div.bs.pic {
  align-items: flex-end;
}
.ban > div.bs.pic .bs-c {
  margin-left: auto;
}

/* Google sign-in button: white with the multicolour "G"; dark variant per Google's branding guidelines */
.or {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 10px;
  color: var(--mu);
  font-size: 12px;
}
.or::before,
.or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--bd);
}
.gbtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 46px;
  padding: 0 16px;
  border: 1px solid #dadce0;
  border-radius: 12px;
  background: #fff;
  color: #3c4043;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s, transform 0.1s;
}
.gbtn:hover {
  background: #f8f9fa;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.3);
}
.gbtn:active {
  transform: scale(0.98);
}
.gbtn:disabled {
  opacity: 0.7;
  cursor: progress;
}
.gbtn svg {
  width: 20px;
  height: 20px;
  flex: none;
}
:root[data-theme="dark"] .gbtn {
  background: #131314;
  border-color: #8e918f;
  color: #e3e3e3;
}
:root[data-theme="dark"] .gbtn:hover {
  background: #1e1f20;
  box-shadow: none;
}
