/* GET4CARD — design system (dark + light) */
:root,
[data-theme="dark"] {
  --bg: #05070b;
  --bg-elevated: #0c1018;
  --bg-card: #121826;
  --bg-card-hover: #171f30;
  --bg-soft: #0a0f18;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f7fb;
  --text-soft: #a7b0c0;
  --text-muted: #9aa3b8;
  --pink: #ff2d78;
  --pink-hot: #ff4d8d;
  --pink-deep: #d9165a;
  --purple: #8b5cf6;
  --blue: #3b82f6;
  --cyan: #22d3ee;
  --green: #34d399;
  --gold: #f59e0b;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --glow-pink: 0 10px 30px rgba(255, 45, 120, 0.35);
  --glow-purple: 0 0 60px rgba(139, 92, 246, 0.35);
  --header-bg: transparent;
  --dropdown-bg: #111827;
  --sidebar-bg: #0b1018;
  --input-bg: #101623;
  --badge-bg: rgba(139, 92, 246, 0.15);
  --badge-text: #c4b5fd;
  --ring: rgba(255, 45, 120, 0.45);
  --hero-spot: radial-gradient(circle at 70% 40%, rgba(139, 92, 246, 0.28), transparent 42%),
    radial-gradient(circle at 20% 10%, rgba(255, 45, 120, 0.12), transparent 35%);
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #f5f7fb;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-soft: #eef2f8;
  --border: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.14);
  --text: #0f172a;
  --text-soft: #475569;
  --text-muted: #64748b;
  --pink: #ff2d78;
  --pink-hot: #ff4d8d;
  --pink-deep: #d9165a;
  --purple: #7c3aed;
  --blue: #2563eb;
  --cyan: #0891b2;
  --green: #059669;
  --gold: #d97706;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --glow-pink: 0 10px 28px rgba(255, 45, 120, 0.22);
  --glow-purple: 0 0 40px rgba(124, 58, 237, 0.15);
  --header-bg: transparent;
  --dropdown-bg: #ffffff;
  --sidebar-bg: #ffffff;
  --input-bg: #f1f5f9;
  --badge-bg: rgba(37, 99, 235, 0.1);
  --badge-text: #2563eb;
  --ring: rgba(255, 45, 120, 0.35);
  --hero-spot: radial-gradient(circle at 75% 30%, rgba(255, 45, 120, 0.1), transparent 40%),
    radial-gradient(circle at 20% 0%, rgba(37, 99, 235, 0.08), transparent 35%);
  color-scheme: light;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
        min-height: 100vh;
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  background-image: var(--hero-spot);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }

[x-cloak] { display: none !important; }

.container {
  width: min(1200px, calc(100% - 2.5rem));
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .container,
  .hero-shell.container {
    width: min(1240px, calc(100% - 4rem));
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease, backdrop-filter .2s ease, box-shadow .2s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 7, 11, 0.88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

[data-theme="light"] .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.news-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.62rem 1rem;
  border-bottom: 1px solid rgba(255, 45, 120, 0.18);
  background: linear-gradient(90deg, rgba(255, 45, 120, 0.12), rgba(255, 45, 120, 0.04));
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.news-banner:hover {
  background: linear-gradient(90deg, rgba(255, 45, 120, 0.18), rgba(255, 45, 120, 0.08));
  color: #fff;
}

.news-banner-icon,
.news-banner svg {
  flex-shrink: 0;
  color: #29a9eb;
}

.news-banner-text {
  min-width: 0;
  text-align: center;
}

.news-banner-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 45, 120, 0.16);
  color: var(--pink-hot);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

[data-theme="light"] .news-banner {
  background: linear-gradient(90deg, rgba(255, 45, 120, 0.08), rgba(255, 45, 120, 0.03));
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .news-banner-cta {
  background: rgba(255, 45, 120, 0.1);
}

@media (max-width: 640px) {
  .news-banner {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .news-banner-text {
    display: none;
  }

  .news-banner-cta {
    padding: 0.08rem 0.42rem;
    font-size: 0.68rem;
  }

  .news-banner > svg:last-child {
    display: none;
  }

  .news-banner-icon svg {
    width: 14px;
    height: 14px;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 64px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  flex: 1 1 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand picture {
  display: flex;
  flex-shrink: 0;
  line-height: 0;
}

.brand img {
  width: auto;
  height: 42px;
  max-width: 190px;
  object-fit: contain;
}

.footer-brand .brand img {
  width: auto;
  height: 48px;
  max-width: 220px;
}

.sidebar-head .brand img {
  width: auto;
  height: 38px;
  max-width: 170px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  min-width: 0;
}

.brand-text strong {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.brand-text small {
  font-size: 0.68rem;
  color: var(--pink);
  letter-spacing: 0.12em;
  font-weight: 700;
}

.nav-desktop {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 1.15rem;
  flex: 1 1 auto;
}

.nav-desktop > a,
.nav-dropdown-trigger {
  color: var(--text-soft);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 0.35rem 0;
  background: none;
  border: 0;
}

.nav-desktop > a:hover,
.nav-desktop > a.is-active,
.nav-dropdown-trigger:hover,
.nav-dropdown.is-open .nav-dropdown-trigger { color: var(--text); }

.nav-desktop > a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  border-radius: 999px;
  background: var(--pink);
}

.nav-dropdown {
  position: relative;
}

/* Product search */
.product-search {
  position: relative;
  width: 100%;
  z-index: 1;
  margin: 0;
}

.product-search--home {
  width: min(100%, 720px);
        margin: 0 auto;
}

.product-search-field-wrap {
  position: relative;
  z-index: 2;
}

.product-search-field {
        display: flex;
        align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 0.8rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  transition: border-color .16s ease, box-shadow .16s ease;
}

.product-search--home .product-search-field {
  padding: 0.62rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 45, 120, 0.28);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}

.product-search--home .product-search-input {
  font-size: 0.92rem;
}

.product-search--home .product-search-dropdown {
  border-radius: 18px;
}

.product-search-field:focus-within {
  border-color: rgba(255, 45, 120, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 45, 120, 0.1);
}

.product-search-icon {
  display: inline-grid;
  place-items: center;
  color: var(--pink);
  flex-shrink: 0;
}

.product-search-input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  outline: none;
}

.product-search-input::placeholder {
  color: var(--text-muted);
  font-weight: 500;
}

.product-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.product-search-dropdown {
  position: absolute;
  top: calc(100% + 0.45rem);
  inset-inline: 0;
  z-index: 120;
  display: grid;
  gap: 0;
  padding: 0.35rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--sidebar-bg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  max-height: min(52vh, 360px);
  overflow: auto;
}

.product-search-dropdown[hidden] {
  display: none;
}

.product-search-results {
  display: grid;
  gap: 0.15rem;
}

.product-search-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.6rem;
  border-radius: 12px;
  color: var(--text);
  text-decoration: none;
}

.product-search-item:hover,
.product-search-item.is-active {
  background: rgba(255, 45, 120, 0.08);
}

.product-search-item-thumb {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  object-fit: cover;
  flex-shrink: 0;
}

.product-search-item-thumb--empty {
  display: inline-grid;
  place-items: center;
  color: var(--pink);
}

.product-search-item-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.product-search-item-copy strong {
  font-size: 0.82rem;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-search-item-copy small {
  color: var(--text-muted);
  font-size: 0.72rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-search-empty {
  padding: 0.75rem 0.65rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
}

.product-search-view-all {
  display: block;
  margin-top: 0.2rem;
  padding: 0.62rem 0.75rem;
  border-top: 1px solid var(--border);
  color: var(--pink-hot);
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}

.home-search-band {
  position: relative;
  z-index: 45;
  isolation: isolate;
  padding: 0 0 0.35rem;
  margin-top: 1.75rem;
}

.home-search-shell {
  display: grid;
  justify-items: center;
}

.home-categories-section {
  padding-top: 1.35rem;
  padding-bottom: 1.5rem;
}

.home-categories-section .section-head {
  margin-bottom: 0.85rem;
}

/* Home category circles — horizontal slider */
.category-slider-shell {
  position: relative;
  isolation: isolate;
}

.category-slider-shell::before,
.category-slider-shell::after {
  content: none;
  display: none;
}

.category-slider {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 1.35rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(1.25rem, calc((100vw - min(1200px, calc(100vw - 2.5rem))) / 2));
  padding: 0.45rem max(1.25rem, calc((100vw - min(1200px, calc(100vw - 2.5rem))) / 2)) 0.9rem;
  margin-inline: calc(-1 * max(1.25rem, calc((100vw - min(1200px, calc(100vw - 2.5rem))) / 2)));
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  touch-action: pan-x pan-y;
}

.category-slider-shell:not(.is-scrollable) .category-slider {
  scroll-snap-type: none;
}

.category-slider::-webkit-scrollbar {
  display: none;
}

.category-chip {
  flex: 0 0 auto;
  width: 5.35rem;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.58rem;
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.category-chip-ring {
  display: grid;
  place-items: center;
  width: 4.55rem;
  height: 4.55rem;
  padding: 2.5px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(255, 45, 120, 0.78), rgba(139, 92, 246, 0.5), rgba(56, 189, 248, 0.42));
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 10px 24px rgba(255, 45, 120, 0.14);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.category-chip-media {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 45, 120, 0.12), transparent 55%),
    var(--bg-card);
  border: 2.5px solid var(--bg);
}

.category-chip-image,
.category-chip-media .category-thumb,
.category-chip-media .category-thumb--fluid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.category-chip-media .category-thumb-fallback,
.category-chip-media .category-thumb-fallback--fluid {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.category-chip-icon {
  width: 2.15rem;
  height: 2.15rem;
  display: grid;
  place-items: center;
}

.category-chip-icon .category-svg,
.category-chip-icon svg {
  width: 1.95rem;
  height: 1.95rem;
  display: block;
  filter: drop-shadow(0 0 8px rgba(255, 45, 120, 0.22));
}

.category-chip-label {
  width: 100%;
  min-height: 1.35em;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--text-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease;
}

[data-theme="light"] .category-chip-ring {
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.06),
    0 10px 22px rgba(255, 45, 120, 0.12);
}

[data-theme="light"] .category-chip-media {
  border-color: var(--bg);
  background: #fff;
}

@media (hover: hover) and (pointer: fine) {
  .category-chip:hover .category-chip-ring {
    transform: scale(1.04);
    box-shadow:
      0 0 0 1px rgba(255, 45, 120, 0.25),
      0 14px 32px rgba(255, 45, 120, 0.22);
  }

  .category-chip:hover .category-chip-label {
    color: var(--pink-hot);
  }
}

@media (min-width: 768px) {
  .category-slider {
    gap: 1.75rem;
  }

  .category-chip {
    width: 6rem;
  }

  .category-chip-ring {
    width: 5.15rem;
    height: 5.15rem;
  }

  .category-chip-label {
    font-size: 0.74rem;
  }

  .category-chip-icon {
    width: 2.35rem;
    height: 2.35rem;
  }

  .category-chip-icon .category-svg,
  .category-chip-icon svg {
    width: 2.15rem;
    height: 2.15rem;
  }
}

@media (max-width: 1023px) {
  .category-slider-shell .category-slider {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: 0;
    padding-inline: 0.5rem;
    scroll-padding-inline: 0.5rem;
  }
}

@media (min-width: 1024px) {
  .category-slider-shell:not(.is-scrollable) .category-slider {
    justify-content: center;
    overflow-x: hidden;
    margin-inline: 0;
    padding-inline: 0;
  }

  .category-slider-shell.is-scrollable .category-slider {
    justify-content: flex-start;
  }

  .category-chip {
    width: 6.35rem;
  }

  .category-chip-ring {
    width: 5.35rem;
    height: 5.35rem;
    padding: 3px;
  }

  .category-chip-label {
    font-size: 0.76rem;
  }

  .category-chip-icon {
    width: 2.45rem;
    height: 2.45rem;
  }

  .category-chip-icon .category-svg,
  .category-chip-icon svg {
    width: 2.2rem;
    height: 2.2rem;
  }
}

@media (min-width: 1280px) {
  .category-slider {
    gap: 2.15rem;
  }

  .category-chip {
    width: 6.6rem;
  }

  .category-chip-ring {
    width: 5.55rem;
    height: 5.55rem;
  }

  .category-chip-label {
    font-size: 0.78rem;
  }
}

/* Logged-in home (pro dashboard) */
.home-auth {
  padding: 0.85rem 0 calc(6rem + env(safe-area-inset-bottom, 0px));
}

.home-auth-shell {
  display: grid;
  gap: 1rem;
}

.home-auth-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-width: 0;
}

.home-auth-welcome-user {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.home-auth-welcome-avatar,
.home-auth-welcome-avatar--initials {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
}

.home-auth-welcome-avatar--initials {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(255, 45, 120, 0.25), rgba(255, 45, 120, 0.08));
  border: 1px solid rgba(255, 45, 120, 0.25);
  font-weight: 800;
  font-size: 0.85rem;
}

.home-auth-welcome-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.home-auth-welcome-eyebrow {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.home-auth-welcome-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(1.05rem, 4vw, 1.35rem);
  line-height: 1.15;
}

.home-auth-welcome-summary {
  margin: 0.2rem 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
  max-width: 36ch;
}

.home-auth-wallet-chip {
  display: grid;
  gap: 0.1rem;
  flex-shrink: 0;
  padding: 0.55rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 45, 120, 0.24);
  background: rgba(255, 45, 120, 0.08);
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.home-auth-wallet-chip span {
  color: var(--text-muted);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-auth-wallet-chip strong {
  font-size: 0.92rem;
  line-height: 1;
  color: var(--pink-hot);
}

.home-auth-wallet-chip:hover {
  border-color: rgba(255, 45, 120, 0.42);
  background: rgba(255, 45, 120, 0.12);
  transform: translateY(-1px);
}

.home-auth-banner {
  min-width: 0;
}

.home-banner-slider {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 45, 120, 0.16);
  background: #0a0d14;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.home-banner-track {
  position: relative;
  aspect-ratio: 21 / 9;
  width: 100%;
  min-height: 168px;
  max-height: 420px;
  overflow: hidden;
}

.home-banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.5s ease, transform 0.5s ease;
  display: block;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
}

.home-banner-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.home-banner-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #0a0d14;
}

.home-banner-media picture,
.home-banner-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.home-banner-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 7, 11, 0.08) 0%, rgba(5, 7, 11, 0.35) 42%, rgba(5, 7, 11, 0.88) 100%),
    linear-gradient(90deg, rgba(5, 7, 11, 0.72) 0%, rgba(5, 7, 11, 0.18) 55%, rgba(5, 7, 11, 0.45) 100%);
}

.home-banner-copy {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 2;
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.05rem 1.15rem;
  max-width: min(100%, 34rem);
}

.home-banner-kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.home-banner-title {
  margin: 0;
  font-size: clamp(1.15rem, 4.5vw, 1.65rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.home-banner-cta {
  margin-top: 0.15rem;
  color: #ffb8d2;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.home-banner-dots {
  position: absolute;
  left: 50%;
  bottom: 0.7rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 3;
  padding: 0.28rem 0.5rem;
  border-radius: 999px;
  background: rgba(5, 7, 11, 0.5);
  backdrop-filter: blur(8px);
}

.home-banner-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, width 0.15s ease;
}

.home-banner-dot.is-active {
  width: 18px;
  border-radius: 999px;
  background: var(--pink-hot);
}

.home-auth-search-card {
  position: relative;
  z-index: 45;
  isolation: isolate;
  padding: 0.75rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 45, 120, 0.08), transparent 52%),
    rgba(255, 255, 255, 0.03);
}

.home-auth-search-card:focus-within {
  z-index: 60;
}

.home-auth-search-card .product-search--home {
  width: 100%;
  max-width: none;
  margin: 0;
}

.home-auth-search-card .product-search-field {
  box-shadow: none;
}

.home-auth-block {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.home-auth-block-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.home-auth-block-head h2 {
  margin: 0;
  font-size: clamp(1.1rem, 3.5vw, 1.45rem);
  line-height: 1.1;
}

.home-auth-block-eyebrow {
  margin: 0 0 0.25rem;
  color: var(--pink-hot);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-auth-block-subtitle {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
  max-width: 36rem;
}

.home-auth-category-scroll,
.home-auth-product-scroll {
  min-width: 0;
  overflow: visible;
}

.home-auth .type-card-grid--compact {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.home-auth .type-card-grid--compact .type-card-body {
  min-height: 4rem;
  padding: 0.65rem 0.55rem 0.75rem;
}

.home-auth .type-card-grid--compact .type-card-body h3 {
  font-size: 0.8rem;
}

.home-auth-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.home-auth-product-grid .product-card {
  min-width: 0;
}

.home-auth-product-scroll--single-row {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.home-auth-product-scroll--single-row::-webkit-scrollbar {
  display: none;
}

.home-auth-product-grid--single-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(158px, 62vw);
  grid-template-columns: none;
  width: max-content;
  max-width: none;
  gap: 0.65rem;
}

.home-auth-product-grid--single-row .product-card {
  scroll-snap-align: start;
}

@media (min-width: 640px) {
  .home-auth-product-grid--single-row {
    grid-auto-columns: minmax(168px, 28vw);
    gap: 0.75rem;
  }
}

@media (min-width: 1100px) {
  .home-auth-product-scroll--single-row {
    overflow-x: visible;
    margin-inline: 0;
    padding-inline: 0;
  }

  .home-auth-product-grid--single-row {
    display: grid;
    grid-auto-flow: unset;
    grid-auto-columns: unset;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
  }
}

.home-auth-orders-panel {
  display: grid;
  gap: 0.55rem;
  padding: 0.55rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.home-order-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 14px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.home-order-row:hover {
  border-color: rgba(255, 45, 120, 0.22);
  background: rgba(255, 45, 120, 0.06);
  transform: translateY(-1px);
}

.home-order-row-leading img,
.home-order-row-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
}

.home-order-row-icon {
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--pink-hot);
}

.home-order-row-body {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.home-order-row-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.home-order-row-top strong {
  font-size: 0.88rem;
}

.home-order-row-top .profile-status-badge {
  font-size: 0.62rem;
  padding: 0.18rem 0.45rem;
}

.home-order-row-sub {
  color: var(--text-muted);
  font-size: 0.74rem;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-order-row-price {
  display: grid;
  justify-items: end;
  gap: 0.05rem;
  flex-shrink: 0;
}

.home-order-row-price strong {
  font-size: 0.92rem;
  line-height: 1;
}

.home-order-row-price small {
  color: var(--text-muted);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.home-auth-orders-empty {
  display: grid;
  gap: 0.85rem;
  justify-items: center;
  text-align: center;
  padding: 1.35rem 1rem;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.home-auth-orders-empty-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 45, 120, 0.1);
  color: var(--pink-hot);
}

.home-auth-orders-empty strong {
  display: block;
  margin-bottom: 0.2rem;
}

.home-auth-orders-empty p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.home-auth-faq-wrap .faq-section {
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
}

.home-auth-faq-wrap .faq-title {
  font-size: clamp(1.15rem, 3.5vw, 1.55rem);
}

@media (min-width: 640px) {
  .home-auth .type-card-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .home-auth-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .home-banner-track {
    aspect-ratio: 21 / 9;
    min-height: 190px;
    max-height: 420px;
  }
}

@media (min-width: 900px) {
  .home-auth-shell {
    gap: 1.15rem;
  }

  .home-auth .type-card-grid--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .home-auth-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-auth-block--orders {
    max-width: 100%;
  }
}

@media (min-width: 1100px) {
  .home-auth-product-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .home-auth .type-card-grid--compact {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .home-auth {
    padding-top: 0.55rem;
  }

  .home-auth-shell {
    gap: 0.85rem;
  }

  .home-auth-welcome {
    align-items: center;
    flex-wrap: nowrap;
  }

  .home-auth-wallet-chip {
    padding: 0.5rem 0.65rem;
  }

  .home-auth-search-card {
    padding: 0.65rem;
    border-radius: 16px;
  }

  .home-auth-search-card .product-search--home .product-search-field {
    padding: 0.58rem 0.82rem;
    border-radius: 14px;
  }

  .home-auth-search-card .product-search--home .product-search-input {
    font-size: 0.88rem;
  }

  .home-banner-track {
    aspect-ratio: 21 / 9;
    min-height: 150px;
    max-height: 220px;
  }

  .home-banner-copy {
    padding: 0.85rem 0.9rem 1.35rem;
  }

  .home-banner-title {
    font-size: 1.05rem;
  }

  .home-auth-block-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .home-auth-block-head .link-more {
    font-size: 0.82rem;
  }

  .home-auth-category-scroll,
  .home-auth-product-scroll {
    margin-inline: 0;
    padding-inline: 0;
    overflow-x: visible;
    scroll-snap-type: none;
  }

  .home-auth .home-auth-category-scroll .type-card-grid--compact {
    display: grid;
    grid-auto-flow: unset;
    grid-auto-columns: unset;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    gap: 0.5rem;
  }

  .home-auth .home-auth-category-scroll .type-card-grid--compact .type-card {
    scroll-snap-align: unset;
  }

  .home-auth-category-scroll::-webkit-scrollbar,
  .home-auth-product-scroll::-webkit-scrollbar {
    display: none;
  }

  .home-auth-product-scroll .home-auth-product-grid {
    display: grid;
    grid-auto-flow: unset;
    grid-auto-columns: unset;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    gap: 0.5rem;
  }

  .home-auth-product-scroll .product-card {
    scroll-snap-align: unset;
  }

  .type-card {
    border-radius: 12px;
  }

  .type-card-body {
    min-height: 0;
    padding: 0.42rem 0.35rem 0.48rem;
    gap: 0;
  }

  .type-card-body h3 {
    font-size: 0.62rem;
    min-height: 0;
    font-weight: 700;
  }

  .type-card-cta {
    display: none;
  }

  .type-card-grid--compact .type-card-body {
    min-height: 0;
    padding: 0.42rem 0.35rem 0.48rem;
  }

  .type-card-grid--compact .type-card-body h3 {
    font-size: 0.62rem;
    min-height: 0;
  }

  .type-card-grid--compact .type-card-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .type-card-grid--compact .type-card-icon-wrap .category-svg,
  .type-card-grid--compact .type-card-icon-wrap svg {
    width: 30px;
    height: 30px;
  }

  .home-order-row {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "leading body"
      "leading price";
    row-gap: 0.35rem;
  }

  .home-order-row-leading { grid-area: leading; }
  .home-order-row-body { grid-area: body; }
  .home-order-row-price {
    grid-area: price;
    justify-items: start;
    padding-inline-start: calc(44px + 0.75rem);
  }

  .home-order-row-sub {
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (max-width: 430px) {
  .home-auth-welcome {
    flex-wrap: nowrap;
    align-items: center;
  }

  .home-auth-welcome-summary {
    display: none;
  }

  .home-auth-welcome-name {
    font-size: 0.98rem;
  }

  .home-auth-wallet-chip {
    display: grid;
    padding: 0.42rem 0.55rem;
    width: auto;
    max-width: 42%;
  }

  .home-auth-wallet-chip strong,
  .home-auth-wallet-chip [data-wallet-balance] {
    font-size: 0.78rem;
    white-space: nowrap;
  }
}

[data-theme="light"] .product-search--home .product-search-field {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.error-page {
  padding: 2.5rem 0 4rem;
  min-height: calc(100vh - 220px);
  display: grid;
  align-items: center;
}

.error-shell {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}

.error-visual {
  width: min(100%, 360px);
  margin: 0 auto 1.35rem;
  aspect-ratio: 1 / 1;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 45, 120, 0.22);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}

.error-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.error-shell h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
}

.error-copy {
  margin: 0 auto 1.5rem;
  max-width: 34rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.error-actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.35rem;
}

.error-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  text-decoration: none;
}

.auth-error-secondary {
  min-height: 48px;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 45, 120, 0.28);
  background: rgba(255, 45, 120, 0.06);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 700;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.auth-error-secondary:hover {
  border-color: rgba(255, 77, 141, 0.55);
  background: rgba(255, 45, 120, 0.12);
  transform: translateY(-1px);
}

.error-card .auth-heading p {
  display: block;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
}

.nav-dropdown-trigger svg {
  transition: transform .18s ease;
}

.nav-dropdown.is-open .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.7rem);
  inset-inline-start: 0;
  min-width: 220px;
  padding: 0.45rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--dropdown-bg);
  box-shadow: var(--shadow);
  display: none;
  z-index: 80;
}

.nav-dropdown.is-open .nav-dropdown-menu { display: grid; gap: 0.15rem; }

.nav-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.75rem;
  border-radius: 10px;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.is-active {
  background: var(--bg-soft);
  color: var(--text);
}

.nav-dropdown-menu .menu-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  color: var(--pink);
  flex-shrink: 0;
}

.nav-dropdown-menu .menu-icon-category {
  width: 32px;
  height: 32px;
  background: transparent;
  border-radius: 0;
}

.nav-dropdown-menu .menu-icon-category .category-svg {
  width: 26px;
  height: 26px;
  display: block;
}

.lang-dropdown .nav-dropdown-menu {
  inset-inline-start: auto;
  inset-inline-end: 0;
  min-width: 160px;
}

.lang-menu a {
  justify-content: space-between;
}

.lang-menu small {
  color: var(--text-muted);
  font-weight: 500;
}

.profile-dropdown {
  position: relative;
}

.profile-dropdown .nav-dropdown-menu {
  inset-inline-start: auto;
  inset-inline-end: 0;
  min-width: 320px;
  max-width: min(340px, calc(100vw - 1.25rem));
}

.profile-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.profile-trigger-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(255, 45, 120, 0.35);
  box-shadow: 0 0 0 3px rgba(255, 45, 120, 0.08);
}

.profile-trigger-avatar--initials,
.profile-menu-avatar--initials {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 45, 120, 0.28), rgba(255, 45, 120, 0.08));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.profile-trigger-chevron {
  color: var(--text-muted);
}

.profile-menu {
  min-width: 320px;
  padding: 0.75rem;
  gap: 0.6rem;
}

.profile-menu-head {
  padding: 0.35rem 0.35rem 0.15rem;
}

.profile-menu-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.profile-menu-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}

.profile-menu-meta {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
  flex: 1;
}

.profile-menu-name-row {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}

.profile-menu-name-row strong {
  flex: 1;
  min-width: 0;
  font-size: clamp(0.78rem, 2.8vw, 0.92rem);
  line-height: 1.25;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-menu-meta small {
  color: var(--text-muted);
  font-size: 0.76rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  flex-shrink: 0;
  position: relative;
}

.profile-status-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  opacity: 0.35;
}

.profile-status-dot.is-active {
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.18);
}

.profile-status-dot.is-active::after {
  background: #22c55e;
}

.profile-status-dot.is-pending {
  background: #f59e0b;
  box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.18);
}

.profile-status-dot.is-pending::after {
  background: #f59e0b;
}

.profile-status-dot.is-suspended {
  background: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.18);
}

.profile-status-dot.is-suspended::after {
  background: #ef4444;
}

.profile-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.profile-status-badge.is-active {
  color: #86efac;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.profile-status-badge.is-pending {
  color: #fcd34d;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.profile-status-badge.is-suspended {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.25);
}

.profile-balance-card {
  display: grid;
  gap: 0.65rem;
  padding: 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 45, 120, 0.18);
  background: rgba(255, 45, 120, 0.06);
}

.profile-balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.profile-balance-copy {
  display: grid;
  gap: 0.2rem;
}

.profile-balance-copy span {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.profile-balance-copy strong {
  font-size: 1.05rem;
}

.profile-balance-add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 45, 120, 0.35);
  background: rgba(255, 45, 120, 0.12);
  color: var(--pink-hot);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.profile-balance-add.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.profile-menu-links {
  display: grid;
  gap: 0.15rem;
}

.profile-menu-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.72rem 0.75rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: start;
  text-decoration: none;
  cursor: pointer;
}

.profile-menu-link:hover,
.profile-menu-link.is-active {
  background: rgba(255, 45, 120, 0.08);
  color: var(--pink-hot);
}

.profile-menu-link--logout {
  color: #fca5a5;
}

.profile-menu-link--logout:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #fecaca;
}

.profile-menu-logout {
  margin: 0;
  padding-top: 0.15rem;
  border-top: 1px solid var(--border);
}

.profile-sidebar-card {
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.account-page {
  padding: 2rem 0 3rem;
}

.account-page-head {
  margin-bottom: 1.25rem;
}

.account-page-head h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.account-page-head p {
  margin: 0.45rem 0 0;
  color: var(--text-muted);
}

.account-card {
  padding: 1.25rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.account-card-head {
  display: flex;
  align-items: flex-start;
        justify-content: space-between;
        gap: 1rem;
  margin-bottom: 1rem;
}

.account-details {
  display: grid;
  gap: 0.85rem;
  margin: 0 0 1.25rem;
}

.account-details div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.account-details dt {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.account-details dd {
  margin: 0;
  font-weight: 700;
}

.account-actions {
  display: flex;
        flex-wrap: wrap;
  gap: 0.65rem;
}

.account-empty,
.account-coming-soon {
  padding: 1rem 0 0;
  color: var(--text-muted);
}

.account-orders-list {
  display: grid;
  gap: 0.75rem;
}

.account-order-card {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.account-order-top,
.account-order-meta {
        display: flex;
        align-items: center;
  justify-content: space-between;
        gap: 0.75rem;
}

.account-order-meta {
  margin-top: 0.55rem;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  margin-inline-start: auto;
  flex: 0 0 auto;
}

.header-wallet-chip {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.02rem;
  min-height: 40px;
  max-width: 9.5rem;
  padding: 0.28rem 0.7rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 45, 120, 0.28);
  background: rgba(255, 45, 120, 0.1);
  color: inherit;
  text-decoration: none;
  line-height: 1.05;
}

.header-wallet-chip-label {
  color: var(--text-muted);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.header-wallet-chip [data-wallet-balance] {
  color: var(--pink-hot);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.header-wallet-chip--readonly {
  opacity: 0.72;
  cursor: default;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 0;
}

.icon-btn svg,
.theme-icon-btn .theme-moon,
.theme-icon-btn .theme-sun {
  display: block;
  margin: 0 auto;
}

.nav-action-icon svg,
.nav-tool-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: block;
}

.nav-tools {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-tool-btn {
  position: relative;
  color: var(--text-soft);
        text-decoration: none;
  transition: color .16s ease, border-color .16s ease, background .16s ease;
}

.nav-tool-btn:hover {
  color: var(--text);
}

.nav-tool-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  inset-inline-end: 2px;
  inset-inline-start: auto;
  min-width: 11px;
  height: 11px;
  padding: 0 2px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 0.5rem;
  font-weight: 800;
  line-height: 11px;
  text-align: center;
  pointer-events: none;
  box-shadow: 0 0 0 1.5px var(--bg);
  z-index: 1;
}

[data-theme="light"] .nav-tool-badge {
  box-shadow: 0 0 0 2px var(--bg);
}

.theme-icon-btn {
  position: relative;
}

.theme-icon-btn .theme-moon,
.theme-icon-btn .theme-sun {
  position: absolute;
  inset: 0;
  display: grid !important;
  place-items: center;
}

.icon-btn:hover { border-color: var(--border-strong); background: rgba(255,255,255,0.04); }
[data-theme="light"] .icon-btn:hover { background: rgba(15,23,42,0.04); }

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 40px;
  padding: 0 0.7rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--pink-hot), var(--pink-deep)); color: #fff; box-shadow: var(--glow-pink); }
.btn-ghost { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-outline { background: transparent; border-color: var(--border-strong); color: var(--text); }
.btn-block { width: 100%; }
.btn-sm { min-height: 36px; padding: 0.45rem 0.85rem; border-radius: 12px; font-size: 0.85rem; }
.desktop-only { display: none; }
.mobile-only { display: inline-flex; }

/* Mobile sidebar */
.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
  z-index: 80;
}

.sidebar-backdrop.is-open { opacity: 1; pointer-events: auto; }

.mobile-sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  inset-inline-start: 0;
  width: min(88vw, 340px);
  background: var(--sidebar-bg);
  border-inline-end: 1px solid var(--border);
  transform: translateX(-105%);
  transition: transform .24s ease;
  z-index: 90;
  display: flex;
  flex-direction: column;
  padding: 0;
  box-shadow: var(--shadow);
  overflow: hidden;
}

[dir="rtl"] .mobile-sidebar { transform: translateX(105%); }
.mobile-sidebar.is-open,
[dir="rtl"] .mobile-sidebar.is-open { transform: translateX(0); }

.sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.85rem;
  flex-shrink: 0;
}

.sidebar-head .brand {
  min-width: 0;
}

.sidebar-close-btn {
  flex-shrink: 0;
}

.sidebar-head-divider {
  height: 1px;
  margin: 0 1rem 0.75rem;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 45, 120, 0.55) 18%,
    rgba(255, 45, 120, 0.85) 50%,
    rgba(255, 45, 120, 0.55) 82%,
    transparent
  );
  flex-shrink: 0;
}

.sidebar-user-panel {
        display: grid;
  gap: 0.65rem;
  padding: 0 1rem 0.85rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.sidebar-user-head {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.sidebar-user-balance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 45, 120, 0.18);
  background: rgba(255, 45, 120, 0.06);
}

.sidebar-user-balance-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.sidebar-user-balance-copy span {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.sidebar-user-balance-copy strong {
  font-size: 0.95rem;
  line-height: 1.1;
}

.sidebar-user-balance-add {
  flex-shrink: 0;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 45, 120, 0.35);
  background: rgba(255, 45, 120, 0.12);
  color: var(--pink-hot);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.sidebar-user-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.sidebar-user-links--single {
  grid-template-columns: 1fr;
}

.sidebar-user-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-width: 0;
  padding: 0.55rem 0.45rem;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text-soft);
  font-size: 0.74rem;
  font-weight: 700;
  text-align: center;
}

.sidebar-user-link span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-user-link:hover,
.sidebar-user-link.is-active {
  border-color: rgba(255, 45, 120, 0.35);
  background: rgba(255, 45, 120, 0.08);
  color: var(--pink-hot);
}

.sidebar-guest-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  padding: 0 1rem 0.85rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.sidebar-fund-card {
  margin: 0 1rem 0.65rem;
  padding: 0.95rem 1rem 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
  flex-shrink: 0;
}

[data-theme="light"] .sidebar-fund-card {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.03);
}

.sidebar-fund-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}

.sidebar-fund-amount {
  margin: 0.2rem 0 0.85rem;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text);
}

.sidebar-fund-amount [data-wallet-balance] {
  font: inherit;
}

.sidebar-add-funds {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  border-radius: 999px;
  border: 0;
  background: linear-gradient(90deg, #ff2d78 0%, #ff4d8d 100%);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(255, 45, 120, 0.28);
}

.sidebar-add-funds:hover {
  filter: brightness(1.06);
}

.sidebar-account-no {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.8rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.sidebar-account-no strong {
  color: var(--text);
  font-weight: 800;
}

.sidebar-copy-btn {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--text-muted);
}

.sidebar-copy-btn:hover,
.sidebar-copy-btn.is-copied {
  color: var(--pink-hot);
  background: rgba(255, 45, 120, 0.1);
}

.sidebar-dash-section {
  display: grid;
  gap: 0.28rem;
  padding-bottom: 0.7rem;
}

.sidebar-dash-heading {
  display: block;
  padding: 0.2rem 0.35rem 0.15rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.sidebar-dash-nav {
  display: grid;
  gap: 0.12rem;
}

.sidebar-dash-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 0.6rem;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  font: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    text-align: start;
  cursor: pointer;
}

.sidebar-dash-link.is-active {
  background: linear-gradient(90deg, rgba(255, 45, 120, 0.48) 0%, rgba(255, 45, 120, 0.12) 58%, transparent 100%);
  color: #fff;
}

[dir="rtl"] .sidebar-dash-link.is-active {
  background: linear-gradient(270deg, rgba(255, 45, 120, 0.48) 0%, rgba(255, 45, 120, 0.12) 58%, transparent 100%);
}

.sidebar-dash-link.is-locked {
  opacity: 0.72;
}

.sidebar-dash-icon {
  display: grid;
  place-items: center;
  width: 22px;
  flex-shrink: 0;
  color: var(--text-soft);
}

.sidebar-dash-icon.is-teal { color: #2dd4bf; }
.sidebar-dash-icon.is-gold { color: #fbbf24; }
.sidebar-dash-icon.is-blue { color: #60a5fa; }
.sidebar-dash-icon.is-pink { color: #ff4d8d; }

.sidebar-dash-link.is-active .sidebar-dash-icon {
  color: #fff;
}

.sidebar-dash-label {
  flex: 1;
  min-width: 0;
}

.sidebar-dash-meta {
  flex-shrink: 0;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--text-muted);
}

.sidebar-dash-meta.is-accent {
  color: var(--pink-hot);
}

.sidebar-dash-chevron {
  display: grid;
  place-items: center;
  color: var(--text-muted);
  flex-shrink: 0;
}

.sidebar-dash-link[aria-expanded="true"] .sidebar-dash-chevron {
  transform: rotate(90deg);
}

.sidebar-dash-disclosure {
  display: grid;
}

.sidebar-dash-panel {
  padding: 0.15rem 0.35rem 0.45rem 2.55rem;
}

.sidebar-dash-panel .sidebar-lang-options,
.sidebar-dash-panel .theme-selector--compact {
  width: 100%;
}

.sidebar-scroll {
  flex: 1;
  overflow: auto;
  padding: 0.85rem 1rem 0;
  display: grid;
  gap: 0.35rem;
  align-content: start;
}

.sidebar-section {
  display: grid;
  gap: 0.45rem;
  padding-bottom: 0.55rem;
}

.sidebar-section-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.35rem 0.15rem 0.15rem;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sidebar-nav--compact > a {
  padding-block: 0.72rem;
}

.sidebar-nav > a,
.sidebar-accordion-trigger {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.82rem 0.9rem;
  border-radius: 12px;
  color: var(--text-soft);
  font-weight: 600;
  background: none;
  border: 0;
  text-align: start;
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}

.sidebar-nav > a:hover,
.sidebar-nav > a.is-active,
.sidebar-accordion-trigger:hover,
.sidebar-accordion-trigger.is-active,
.sidebar-accordion.is-open .sidebar-accordion-trigger {
  background: rgba(255, 45, 120, 0.08);
  color: var(--text);
}

.sidebar-nav > a.is-active,
.sidebar-accordion-trigger.is-active {
  box-shadow: inset 3px 0 0 var(--pink-hot);
}

[dir="rtl"] .sidebar-nav > a.is-active,
[dir="rtl"] .sidebar-accordion-trigger.is-active {
  box-shadow: inset -3px 0 0 var(--pink-hot);
}

.nav-link-icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
        place-items: center;
  color: var(--pink);
  flex-shrink: 0;
}

.accordion-chevron {
  margin-inline-start: auto;
  display: inline-grid;
  transition: transform .18s ease;
}

.sidebar-accordion.is-open .accordion-chevron {
  transform: rotate(180deg);
}

.sidebar-accordion-panel {
  display: grid;
  gap: 0.1rem;
  padding: 0.15rem 0 0.35rem 0.55rem;
}

.sidebar-accordion-panel[hidden] { display: none; }

.sidebar-accordion-panel a,
.sidebar-category-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.7rem;
  border-radius: 10px;
  color: var(--text-soft);
  font-weight: 600;
  font-size: 0.82rem;
}

.sidebar-category-icon {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
}

.sidebar-category-icon .category-svg {
  width: 18px;
  height: 18px;
  display: block;
}

.sidebar-accordion-panel a:hover,
.sidebar-category-item:hover,
.sidebar-category-item.is-active {
  background: rgba(255, 45, 120, 0.08);
  color: var(--text);
}

.sidebar-category-item--all {
  margin-top: 0.15rem;
  padding-top: 0.65rem;
  border-top: 1px dashed var(--border);
}

.sidebar-footer {
  display: grid;
  gap: 0.55rem;
  padding: 0.75rem 1rem 1rem;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(255, 45, 120, 0.03));
  flex-shrink: 0;
}

.sidebar-controls {
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-soft);
}

.sidebar-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.62rem 0.75rem;
}

.sidebar-control-row + .sidebar-control-row {
  border-top: 1px solid var(--border);
}

.sidebar-control-label {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  font-size: 0.82rem;
        font-weight: 700;
  color: var(--text);
  min-width: 0;
}

.sidebar-control-row--lang .sidebar-lang-options {
  gap: 0.3rem;
}

.sidebar-control-row--lang .sidebar-lang-options a {
  min-width: 2.15rem;
  padding: 0.28rem 0.5rem;
  font-size: 0.72rem;
}

.sidebar-control-row--theme {
  flex-direction: column;
  align-items: stretch;
  gap: 0.55rem;
}

.sidebar-control-row--theme .sidebar-control-label {
  width: 100%;
}

.sidebar-control-row--theme .theme-selector--compact {
  width: 100%;
}

.theme-selector {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.22rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.theme-selector--compact {
  flex-shrink: 0;
}

.theme-selector--compact .theme-selector-btn {
  flex: 1;
  flex-direction: column;
  gap: 0.18rem;
  padding: 0.38rem 0.2rem;
  min-height: 54px;
}

.theme-selector-btn-text {
  font-size: 0.62rem;
  line-height: 1.1;
  font-weight: 700;
  text-align: center;
}

.theme-selector--block {
  display: flex;
  width: 100%;
}

.theme-selector--block .theme-selector-btn {
  flex: 1;
}

.theme-selector--menu {
  display: grid;
  gap: 0.2rem;
  padding: 0;
  border: 0;
  background: transparent;
}

.theme-selector-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 34px;
  min-height: 34px;
  padding: 0 0.55rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.theme-selector-btn:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .theme-selector-btn:hover {
  background: rgba(15, 23, 42, 0.04);
}

.theme-selector-btn.is-active {
  background: var(--pink);
  color: #fff;
}

.theme-selector-btn.is-active:hover {
  background: var(--pink-hot);
  color: #fff;
}

.theme-selector--menu .theme-selector-btn {
  width: 100%;
  justify-content: flex-start;
  min-height: 40px;
  padding: 0.55rem 0.65rem;
}

.theme-menu {
  min-width: 190px;
  padding: 0.35rem;
}

.account-theme-card {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-soft);
}

.account-theme-card-head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.account-theme-card-head strong {
  display: block;
  font-size: 0.95rem;
}

.account-theme-card-head span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.account-theme-card-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.theme-switch--compact {
  width: 44px;
  height: 26px;
}

.theme-switch--compact .theme-switch-thumb {
  width: 20px;
  height: 20px;
}

.theme-switch--compact.is-light .theme-switch-thumb {
  transform: translateX(18px);
}

[dir="rtl"] .theme-switch--compact.is-light .theme-switch-thumb {
  transform: translateX(-18px);
}

.sidebar-logout {
  margin: 0;
}

.sidebar-logout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 45, 120, 0.55);
  background: transparent;
  color: var(--pink-hot);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}

.sidebar-logout-btn:hover {
  background: rgba(255, 45, 120, 0.1);
  color: #ff7aa8;
}

.sidebar-settings {
  display: grid;
  gap: 0.55rem;
}

.sidebar-lang {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-soft);
}

.sidebar-lang-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text);
}

.sidebar-lang-options {
  display: inline-flex;
  gap: 0.35rem;
}

.sidebar-lang-options a {
  min-width: 2.4rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 800;
  text-align: center;
}

.sidebar-lang-options a:hover,
.sidebar-lang-options a.is-active {
  border-color: rgba(255, 45, 120, 0.45);
  background: rgba(255, 45, 120, 0.1);
  color: var(--pink-hot);
}

.sidebar-auth {
  display: grid;
  gap: 0.55rem;
}

.sidebar-actions {
  display: grid;
  gap: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.theme-switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-soft);
}

.theme-switch-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
}

.theme-switch {
  position: relative;
  width: 52px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: #3f4656;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s ease;
}

.theme-switch.is-light {
  background: var(--pink);
}

.theme-switch-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
  transition: transform .2s ease;
}

.theme-switch.is-light .theme-switch-thumb {
  transform: translateX(22px);
}

[dir="rtl"] .theme-switch-thumb { left: auto; right: 3px; }
[dir="rtl"] .theme-switch.is-light .theme-switch-thumb {
  transform: translateX(-22px);
}

/* Hero */
.hero {
  display: flex;
  align-items: flex-start;
  min-height: auto;
  padding: 0.35rem 0 0.65rem;
  margin-bottom: 0;
}

/* Hero open / display animation (plays on first load) */
@media (prefers-reduced-motion: no-preference) {
  .hero .hero-in {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    animation: heroInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .hero .hero-in:nth-child(1) { animation-delay: 0.08s; }
  .hero .hero-in:nth-child(2) { animation-delay: 0.18s; }
  .hero .hero-in:nth-child(3) { animation-delay: 0.28s; }
  .hero .hero-in:nth-child(4) { animation-delay: 0.38s; }
  .hero .hero-in:nth-child(5) { animation-delay: 0.5s; }

  .hero .hero-in-visual {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.96);
    animation: heroInVisual 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.12s forwards;
  }

  .hero .hero-in-visual .hero-image {
    animation:
      heroImagePop 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both,
      float 7s ease-in-out 1s infinite;
  }
}

@keyframes heroInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroInVisual {
  from {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes heroImagePop {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.hero-shell.container {
  width: min(1200px, calc(100% - 2rem));
  margin-inline: auto;
  align-self: center;
  max-width: 100%;
}

.hero-grid {
  display: grid;
  gap: 1.25rem;
  align-items: center;
  width: 100%;
  min-width: 0;
}

/* Phone: image first under nav, then copy */
.hero-visual {
  order: 1;
}

.hero-copy {
  order: 2;
        display: flex;
        flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: min(540px, 100%);
  min-width: 0;
  padding: 0;
  margin: 0 auto;
  justify-self: center;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 0.4rem;
  max-width: 100%;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid rgba(167, 139, 250, 0.28);
  color: #ddd6fe;
  font-size: clamp(0.62rem, 2.8vw, 0.74rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0 0 0.65rem;
  white-space: normal;
  line-height: 1.3;
}

[data-theme="light"] .hero-pill {
  background: rgba(124, 58, 237, 0.1);
  color: #6d28d9;
  border-color: rgba(124, 58, 237, 0.18);
}

.hero-pill--mobile {
  display: none;
}

.hero h1 {
  margin: 0 0 0.55rem;
  font-size: clamp(1.85rem, 8vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 100%;
}

.hero-title-line {
  display: block;
}

.hero h1 .accent {
  background: linear-gradient(
    90deg,
    #ff6b4a 0%,
    #ff2d78 22%,
    #ff4d8d 44%,
    #ffa07a 66%,
    #ff2d78 88%,
    #ff6b4a 100%
  );
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: heroAccentFlow 0.7s linear infinite;
}

@keyframes heroAccentFlow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.hero-lede {
  color: var(--text-soft);
  font-size: clamp(0.95rem, 3.6vw, 1.12rem);
  line-height: 1.6;
  max-width: 100%;
  margin: 0 0 0.85rem;
  font-weight: 500;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.hero-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 0 0 0.85rem;
  width: 100%;
}

.hero-btn {
  min-height: 46px;
  padding: 0.7rem 0.85rem;
  font-size: 0.9rem;
  border-radius: 14px;
  font-weight: 700;
  width: 100%;
  justify-content: center;
  white-space: nowrap;
}

.hero-ctas .btn-primary {
  box-shadow: 0 12px 32px rgba(255, 45, 120, 0.38);
}

.hero-ctas .btn-outline {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.22);
}

[data-theme="light"] .hero-ctas .btn-outline {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.14);
}

.trust-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 0.65rem 0.85rem;
  padding-top: 0.15rem;
  width: 100%;
  min-width: 0;
}

.trust-inline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  min-width: 0;
  line-height: 1.25;
  flex: 1 1 calc(50% - 0.5rem);
}

.trust-inline span:last-child {
  flex: 1 1 100%;
}

.trust-inline svg {
  color: var(--pink);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Phone: compact badge between CTAs and search */
@media (max-width: 767px) {
  .hero-grid {
    gap: 0.25rem;
  }

  .hero-visual {
    min-height: 210px;
    padding: 0 0.35rem 0.15rem;
  }

  .hero-image {
    max-height: 320px;
  }

  .hero-copy {
    margin-top: -0.15rem;
  }

  .hero-pill--desktop,
  .trust-marquee {
    display: none !important;
  }

  .hero-ctas {
    margin-bottom: 0 !important;
  }

  .hero-pill--mobile {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    align-self: center;
    width: fit-content;
    max-width: calc(100% - 1rem);
    margin: 0.75rem auto !important;
    padding: 0.26rem 0.62rem;
    font-size: 0.58rem;
    letter-spacing: 0.055em;
    line-height: 1.15;
    white-space: nowrap;
    text-align: center;
    border-radius: 999px;
  }

  .hero h1 {
    margin-top: 0;
  }

  .hero {
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .home-search-band {
    margin-top: 0 !important;
    padding-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trust-inline.is-marquee {
    animation: none !important;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  justify-items: center;
  min-height: 240px;
  padding: 0.25rem 0.5rem 0.85rem;
  overflow: visible;
}

.hero-image {
  position: relative;
  z-index: 3;
  width: min(100%, 640px);
  max-height: 380px;
  height: auto;
  object-fit: contain;
  user-select: none;
  pointer-events: none;
  background: transparent;
  filter: drop-shadow(0 20px 36px rgba(255, 45, 120, 0.16));
}

@media (max-width: 767px) and (prefers-reduced-motion: no-preference) {
  .hero .hero-in-visual .hero-image {
    animation:
      heroImagePop 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both,
      float 5.5s ease-in-out 0.9s infinite;
  }

  .hero-light-a {
    animation: lightShiftA 8s ease-in-out infinite;
  }

  .hero-light-b {
    animation: lightShiftB 9s ease-in-out infinite;
  }
}

[data-theme="light"] .hero-image {
  filter: drop-shadow(0 18px 30px rgba(15, 23, 42, 0.16));
}

.hero-light {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
}

.hero-light-a {
  width: 200px;
  height: 200px;
  top: 12%;
  inset-inline-end: 10%;
  background: radial-gradient(circle, rgba(255, 45, 120, 0.7), transparent 70%);
}

.hero-light-b {
  width: 220px;
  height: 220px;
  top: 22%;
  inset-inline-start: 8%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.45), transparent 70%);
}

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .hero-light-a { animation: lightShiftA 8s ease-in-out infinite; }
  .hero-light-b { animation: lightShiftB 9s ease-in-out infinite; }
}

/* Pro floor platform */
.hero-floor {
  position: absolute;
  z-index: 2;
  bottom: 0.15rem;
  left: 50%;
  transform: translateX(-50%) perspective(420px) rotateX(62deg);
  width: min(72%, 380px);
  height: 88px;
  pointer-events: none;
  transform-style: preserve-3d;
}

.hero-floor-base {
  position: absolute;
  inset: 18% 0 22%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(255, 45, 120, 0.35) 0%, rgba(99, 102, 241, 0.16) 38%, transparent 70%);
  filter: blur(2px);
}

.hero-floor-sheen {
  position: absolute;
  inset: 28% 8% 34%;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(
    105deg,
    transparent 30%,
    rgba(255, 255, 255, 0.18) 48%,
    transparent 62%
  );
  background-size: 220% 100%;
  opacity: 0.85;
}

.hero-floor-ring {
  position: absolute;
  left: 50%;
  top: 30%;
  width: 78%;
  height: 42%;
  transform: translateX(-50%);
  border-radius: 50%;
  border: 1.5px solid rgba(255, 45, 120, 0.45);
  box-shadow:
    0 0 16px rgba(255, 45, 120, 0.25),
    inset 0 0 12px rgba(56, 189, 248, 0.12);
}

.hero-floor-ring.delay {
  width: 92%;
  height: 52%;
  top: 22%;
  border-color: rgba(56, 189, 248, 0.28);
}

.hero-floor-spark {
  position: absolute;
  left: 12%;
  top: 40%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 12px 4px rgba(255, 45, 120, 0.75);
  opacity: 0;
}

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .hero-floor-base { animation: floorBreathe 5s ease-in-out infinite; }
  .hero-floor-sheen { animation: floorSheen 3.8s ease-in-out infinite; }
  .hero-floor-ring { animation: floorRing 4.2s ease-out infinite; }
  .hero-floor-ring.delay { animation-delay: 1.4s; }
  .hero-floor-spark { animation: floorSpark 4.8s linear infinite; }
}

/* Sections */
.section { padding: 2rem 0; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.section-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.8rem);
}
.link-more {
  color: var(--pink);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}

/* Pro reveal — GPU-friendly (opacity + small Y, no blur) */
.reveals-ready .reveal:not(.is-revealed) {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}

.reveals-ready .reveal {
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveals-ready .reveal.is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.social-stat strong[data-counter] {
  font-variant-numeric: tabular-nums;
}

/* Avoid clipping reveal/overflow motion */
.section,
.product-grid,
.category-grid,
.type-card-grid,
.social-grid,
.faq-grid,
.how-steps,
.payment-methods {
  overflow: visible;
}

.payments-section .container {
  overflow: hidden;
}

.payment-methods.is-marquee {
  display: flex;
  width: max-content;
  gap: 0.7rem;
  animation: payMarquee 28s linear infinite;
  will-change: transform;
}

.payment-methods.is-marquee:hover {
  animation-play-state: paused;
}

.payment-methods.is-marquee .payment-chip {
  flex: 0 0 auto;
  min-width: 150px;
}

@keyframes payMarquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (min-width: 768px), (prefers-reduced-motion: reduce) {
  .payment-methods.is-marquee {
    animation: none !important;
    display: grid;
    width: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .payment-methods.is-marquee {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  /* Hide duplicated marquee clones on desktop grid */
  .payment-methods.is-marquee .payment-chip[aria-hidden="true"] {
    display: none;
  }
}

/* Floating dock — support launcher pinned in corner */
.floating-dock {
  --dock-size: 52px;
  position: fixed;
  inset-inline-end: 1.1rem;
  bottom: calc(1.15rem + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  width: var(--dock-size);
  height: var(--dock-size);
}

.floating-dock-toast {
  position: absolute;
  bottom: calc(100% + 0.85rem);
  inset-inline-end: 0;
  min-width: 10.5rem;
  max-width: 14rem;
  padding: 0.55rem 0.75rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  color: #ecfdf5;
  background: linear-gradient(160deg, rgba(16, 185, 129, 0.96), rgba(5, 150, 105, 0.94));
  border: 1px solid rgba(167, 243, 208, 0.35);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 8px, 0);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
  pointer-events: none;
  z-index: 2;
}

.floating-dock-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.floating-dock-toast-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.18);
  flex: 0 0 auto;
}

.floating-dock-toast-icon svg {
  display: block;
}

.floating-cart-btn {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  text-decoration: none;
  background:
    linear-gradient(165deg, rgba(18, 22, 32, 0.92), rgba(8, 10, 16, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 45, 120, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.floating-cart-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 77, 141, 0.35);
  box-shadow:
    0 14px 32px rgba(255, 45, 120, 0.22),
    0 0 0 1px rgba(255, 45, 120, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.floating-cart-btn:active {
  transform: translateY(0) scale(0.96);
}

.floating-cart-btn svg {
  display: block;
}

.floating-cart-badge {
  position: absolute;
  top: 3px;
  inset-inline-end: 3px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--pink);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  pointer-events: none;
  box-shadow: 0 0 0 2px rgba(8, 10, 16, 0.95);
  z-index: 1;
}

[data-theme="light"] .floating-cart-btn {
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.96), rgba(245, 247, 252, 0.98));
  border-color: rgba(15, 23, 42, 0.1);
  color: var(--text);
  box-shadow:
    0 10px 28px rgba(15, 23, 42, 0.12),
    0 0 0 1px rgba(255, 45, 120, 0.1);
}

[data-theme="light"] .floating-cart-badge {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.98);
}

/* Floating contact — primary corner support launcher */
.floating-contact {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.floating-contact-menu {
  position: absolute;
  bottom: calc(100% + 0.65rem);
  inset-inline-end: 0;
  min-width: 11.5rem;
  padding: 0.55rem;
  border-radius: 16px;
  display: grid;
  gap: 0.35rem;
  background:
    linear-gradient(165deg, rgba(18, 22, 32, 0.98), rgba(8, 10, 16, 0.99));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 45, 120, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, 10px, 0) scale(0.96);
  transform-origin: bottom right;
  transition:
    opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.28s ease;
  pointer-events: none;
}

[dir="rtl"] .floating-contact-menu {
  transform-origin: bottom left;
}

.floating-contact.is-open .floating-contact-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.floating-contact-menu-label {
  margin: 0 0.35rem 0.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.floating-contact-option {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.62rem 0.7rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.floating-contact-option:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.floating-contact-option-icon {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}

.floating-contact-option--whatsapp .floating-contact-option-icon {
  color: #ecfdf5;
  background: linear-gradient(160deg, rgba(34, 197, 94, 0.95), rgba(21, 128, 61, 0.92));
}

.floating-contact-option--ai .floating-contact-option-icon {
  color: #fff;
  background: linear-gradient(160deg, rgba(255, 77, 141, 0.95), rgba(217, 22, 90, 0.92));
}

.floating-contact-btn {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: transparent;
  cursor: pointer;
}

.floating-contact-btn::before,
.floating-contact-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255, 45, 120, 0.42);
  pointer-events: none;
  z-index: 0;
  animation: support-boom-ring 1.7s ease-out infinite;
}

.floating-contact-btn::after {
  animation-delay: 0.55s;
}

.floating-contact-btn-icon {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(160deg, rgba(255, 77, 141, 0.95), rgba(217, 22, 90, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 45, 120, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
}

.floating-contact-btn-icon--open {
  animation: support-boom 1.7s ease-in-out infinite;
}

.floating-contact-btn-icon--close {
  display: none;
}

.floating-contact.is-open .floating-contact-btn-icon--open {
  display: none;
}

.floating-contact.is-open .floating-contact-btn-icon--close {
  display: grid;
}

.floating-contact-btn:hover .floating-contact-btn-icon {
  transform: translateY(-2px);
  box-shadow:
    0 14px 32px rgba(255, 45, 120, 0.28),
    0 0 0 1px rgba(255, 45, 120, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.floating-contact-btn:hover .floating-contact-btn-icon--open,
.floating-contact-btn:active .floating-contact-btn-icon--open,
.floating-contact.is-open .floating-contact-btn-icon--open,
.floating-contact.is-open .floating-contact-btn::before,
.floating-contact.is-open .floating-contact-btn::after {
  animation: none;
}

.floating-contact-btn:active .floating-contact-btn-icon {
  transform: translateY(0) scale(0.96);
}

@keyframes support-boom {
  0%, 52%, 100% {
    transform: scale(1);
  }
  8% {
    transform: scale(1.16);
  }
  18% {
    transform: scale(1);
  }
  28% {
    transform: scale(1.1);
  }
  38% {
    transform: scale(1);
  }
}

@keyframes support-boom-ring {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  70%, 100% {
    transform: scale(1.72);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .floating-contact-btn::before,
  .floating-contact-btn::after,
  .floating-contact-btn-icon--open {
    animation: none;
  }
}

.floating-contact-btn svg {
  display: block;
}

[data-theme="light"] .floating-contact-menu {
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 252, 0.99));
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}

[data-theme="light"] .floating-contact-option {
  color: var(--text);
  background: rgba(15, 23, 42, 0.03);
}

[data-theme="light"] .floating-contact-btn-icon {
  color: #fff;
}

/* AI agent chat panel */
.ai-agent-panel {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: end;
  pointer-events: none;
}

.ai-agent-panel:not([hidden]) {
  pointer-events: auto;
}

.ai-agent-panel-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 4, 10, 0.55);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.ai-agent-panel:not([hidden]) .ai-agent-panel-backdrop {
  opacity: 1;
}

.ai-agent-panel-sheet {
  position: relative;
  width: min(100%, 24rem);
  max-height: min(78vh, 34rem);
  margin: 0 0.85rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background:
    linear-gradient(165deg, rgba(18, 22, 32, 0.98), rgba(8, 10, 16, 0.99));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.42);
  transform: translate3d(0, 24px, 0);
  opacity: 0;
  transition:
    transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.28s ease;
}

.ai-agent-panel:not([hidden]) .ai-agent-panel-sheet {
  transform: none;
  opacity: 1;
}

.ai-agent-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 0.95rem 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-agent-panel-head-copy {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
}

.ai-agent-panel-badge {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(160deg, rgba(255, 77, 141, 0.95), rgba(217, 22, 90, 0.92));
  flex: 0 0 auto;
}

.ai-agent-panel-head h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
}

.ai-agent-panel-head p {
  margin: 0.15rem 0 0;
  font-size: 0.76rem;
  color: var(--muted);
}

.ai-agent-panel-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.ai-agent-panel-body {
  padding: 0.85rem;
  overflow: auto;
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.ai-agent-message {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
}

.ai-agent-message--user {
  justify-content: flex-end;
}

.ai-agent-message--user p {
  background: linear-gradient(160deg, rgba(255, 77, 141, 0.92), rgba(217, 22, 90, 0.88));
  color: #fff;
}

.ai-agent-message-avatar {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255, 77, 141, 0.18);
  flex: 0 0 auto;
}

.ai-agent-message p {
  margin: 0;
  max-width: 85%;
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.ai-agent-panel-compose {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ai-agent-panel-compose input {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  font-size: 0.84rem;
}

.ai-agent-panel-compose input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.ai-agent-panel-send {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(160deg, rgba(255, 77, 141, 0.95), rgba(217, 22, 90, 0.92));
  cursor: pointer;
}

.ai-agent-panel-frame {
  width: 100%;
  min-height: 22rem;
  border: 0;
  background: #fff;
}

.ai-agent-panel-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.45rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.16);
  color: #86efac;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}

[data-theme="light"] .ai-agent-panel-sheet {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 252, 0.99));
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .ai-agent-panel-head,
[data-theme="light"] .ai-agent-panel-compose {
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .ai-agent-panel-close,
[data-theme="light"] .ai-agent-panel-compose input {
  color: var(--text);
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .ai-agent-message p {
  color: var(--text);
  background: rgba(15, 23, 42, 0.05);
}

@media (min-width: 640px) {
  .ai-agent-panel {
    place-items: end end;
  }

  .ai-agent-panel-sheet {
    margin: 0 1.1rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
  }
}

body.has-mobile-home-tab .ai-agent-panel-sheet {
  margin-bottom: calc(5.1rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 1024px) {
  body.has-mobile-home-tab .ai-agent-panel-sheet {
    margin-bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
  }
}

#offer,
#how,
#payments,
#faq,
.site-footer {
  content-visibility: visible;
}

.features-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 0.5rem 0 1.5rem;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.feature-icon.purple { background: rgba(139,92,246,.18); color: var(--purple); }
.feature-icon.blue { background: rgba(59,130,246,.18); color: var(--blue); }
.feature-icon.cyan { background: rgba(34,211,238,.15); color: var(--cyan); }
.feature-icon.pink { background: rgba(255,45,120,.15); color: var(--pink); }

.feature-item h3 { margin: 0 0 0.2rem; font-size: 0.95rem; }
.feature-item p { margin: 0; color: var(--text-muted); font-size: 0.8rem; line-height: 1.4; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 132px;
  height: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 1.25rem 0.75rem;
  text-align: center;
  cursor: default;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}

[data-theme="light"] .category-card {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

@media (hover: hover) and (pointer: fine) {
  .category-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 255, 255, 0.14);
  }

  [data-theme="light"] .category-card:hover {
    background: #fff;
    border-color: rgba(15, 23, 42, 0.14);
  }
}

.category-icon {
  width: 52px;
  height: 52px;
  margin: 0;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 10px 28px rgba(91, 140, 255, 0.08);
}

.category-icon .category-svg,
.category-icon svg {
  display: block;
  width: 48px;
  height: 48px;
  overflow: visible;
  filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.28));
}

.category-card h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  max-width: 12ch;
}

.type-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  align-items: stretch;
  touch-action: pan-y;
}

.type-card-grid--compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.type-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  touch-action: pan-y;
}

[data-theme="light"] .type-card {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

@media (hover: hover) and (pointer: fine) {
  .type-card {
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  }

  .type-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 45, 120, 0.28);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
  }
}

.type-card-media {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  flex-shrink: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 45, 120, 0.12), transparent 58%),
    rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.type-card--icon .type-card-media {
  display: grid;
  place-items: center;
}

.type-card-image,
.type-card-media .category-thumb,
.type-card-media .category-thumb--fluid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.type-card-media .category-thumb-fallback,
.type-card-media .category-thumb-fallback--fluid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  font-size: clamp(1.15rem, 4.5vw, 1.55rem);
  letter-spacing: 0.06em;
}

.type-card-icon-wrap {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.type-card-icon-wrap .category-svg,
.type-card-icon-wrap svg {
  width: 48px;
  height: 48px;
}

.type-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.28rem;
  min-height: 4.75rem;
  padding: 0.85rem 0.8rem 0.95rem;
  text-align: center;
}

.type-card-body h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

.type-card-cta {
  margin-top: auto;
  padding-top: 0.2rem;
  color: var(--pink-hot);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.type-card-grid--compact .type-card-body {
  min-height: 4.25rem;
  padding: 0.72rem 0.65rem 0.82rem;
}

.type-card-grid--compact .type-card-body h3 {
  font-size: 0.82rem;
  min-height: 2.4em;
}

.type-card-grid--compact .type-card-icon-wrap {
  width: 52px;
  height: 52px;
}

.type-card-grid--compact .type-card-icon-wrap .category-svg,
.type-card-grid--compact .type-card-icon-wrap svg {
  width: 42px;
  height: 42px;
}

@media (min-width: 640px) {
  .type-card-grid,
  .type-card-grid--filter {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .type-card-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }
}

@media (min-width: 900px) {
  .type-card-grid,
  .type-card-grid--filter {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .type-card-grid--compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .type-card-grid,
  .type-card-grid--filter {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .type-card-grid--compact {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Products — compact tile cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  align-items: stretch;
  touch-action: pan-y;
}

.product-grid--catalog {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.42rem;
  touch-action: pan-y;
}

.product-list {
  display: none;
  gap: 0.7rem;
}

.product-card,
.product-row {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  backdrop-filter: blur(10px);
}

[data-theme="light"] .product-card,
[data-theme="light"] .product-row {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 14px;
  transition: border-color .18s ease;
  touch-action: pan-y;
}

.product-card--out {
  opacity: 0.72;
}

@media (hover: hover) and (pointer: fine) {
  .product-card {
    transition: transform .18s ease, border-color .18s ease;
  }

  .product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.12);
  }
}

.product-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  touch-action: pan-y;
}

.product-media {
  aspect-ratio: 1 / 1;
  width: 100%;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.product-price-badge {
  position: absolute;
  top: 0.35rem;
  inset-inline-end: 0.35rem;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.04rem;
  max-width: calc(100% - 0.5rem);
  padding: 0.24rem 0.45rem;
  border-radius: 8px;
  background: rgba(5, 7, 11, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  pointer-events: none;
}

.product-price-badge strong {
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.05;
  color: #fff;
  white-space: nowrap;
}

.product-price-badge s {
  font-size: 0.58rem;
  font-weight: 600;
  line-height: 1;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.product-price-badge--sale strong {
  color: #ffd0e4;
}

.product-price-badge--custom strong {
  color: #ff9ec4;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

[data-theme="light"] .product-price-badge {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .product-price-badge strong {
  color: var(--text);
}

[data-theme="light"] .product-price-badge s {
  color: var(--text-muted);
}

[data-theme="light"] .product-price-badge--sale strong {
  color: var(--pink-deep);
}

.product-card-caption {
  flex: 1;
  display: flex;
  align-items: flex-start;
  padding: 0.5rem 0.45rem 0.55rem;
  min-height: 0;
}

.product-card-caption h3 {
  margin: 0;
  width: 100%;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card--shop {
  height: 100%;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: none;
  contain: content;
}

.product-grid--catalog > .product-card--shop:nth-child(n+13) {
  content-visibility: auto;
  contain-intrinsic-size: 220px 320px;
}

.product-card--shop .product-card-media-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.product-card--shop .product-media {
  aspect-ratio: 1 / 1;
}

.product-card-flag {
  position: absolute;
  top: 0.28rem;
  inset-inline-start: 0.28rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 0.4rem);
  padding: 0.1rem 0.32rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.92);
  color: #1a1204;
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card-flag svg {
  display: block;
  flex-shrink: 0;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  padding: 0.4rem 0.38rem 0.45rem;
  flex: 1;
}

.product-card-title-link {
  text-decoration: none;
  color: inherit;
}

.product-card--shop h3 {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.product-card-price strong {
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
}

.product-card-price s {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.product-card-price.is-sale strong {
  color: var(--pink-hot);
}

.product-card-price.is-custom strong {
  color: var(--pink-hot);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-card-delivery {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  margin: 0;
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.product-card-delivery.is-instant::before,
.product-card-delivery.is-average::before {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  flex-shrink: 0;
  background: currentColor;
}

.product-card-delivery.is-instant {
  color: #34d399;
}

.product-card-delivery.is-average {
  color: #fbbf24;
}

.product-card-alert {
  margin: 0;
  padding: 0.32rem 0.42rem;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.12);
  color: #fbbf24;
  font-size: 0.68rem;
  font-weight: 650;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  min-height: 28px;
  padding: 0.28rem 0.4rem;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--pink-hot), var(--pink-deep));
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.product-card-buy.is-disabled {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  box-shadow: none;
  cursor: not-allowed;
}

[data-theme="light"] .product-card--shop {
  background: #fff;
}

[data-theme="light"] .product-card-alert {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
}

.product-grid--catalog.is-list {
  grid-template-columns: 1fr !important;
  gap: 0.7rem;
}

.product-grid--catalog.is-list .product-card--shop {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  align-items: stretch;
}

.product-grid--catalog.is-list .product-card--shop .product-media {
  aspect-ratio: 1 / 1;
  height: 100%;
}

.product-grid--catalog.is-list .product-card-body {
  padding: 0.7rem 0.8rem 0.75rem 0.55rem;
}

.product-grid--catalog.is-list .product-card-buy {
  max-width: 160px;
}

.product-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.product-media img[src$=".svg"] {
  position: relative;
  inset: auto;
  width: 48%;
  height: 48%;
  object-fit: contain;
  padding: 0;
}

.product-fallback {
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 1.1rem;
  color: #fff;
}

.badge {
  position: absolute;
  top: 0.55rem;
  inset-inline-end: 0.55rem;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  color: #fff;
}
.badge.popular { background: var(--pink); }
.badge.sale { background: var(--purple); }
.badge.new { background: var(--blue); }

.product-body {
  padding: 0.85rem 0.9rem 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}

.product-meta h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

.product-meta small {
  color: var(--text-muted);
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.product-foot strong {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 800;
}

.product-price-sale {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.1;
}

.product-price-sale s,
.product-row-price s {
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.cart-btn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--pink-hot), var(--pink-deep));
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--glow-pink);
  flex-shrink: 0;
  transition: transform .15s ease, filter .15s ease;
}

.cart-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.product-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem;
}
.product-row h3 {
  margin: 0;
  font-size: 0.95rem;
}
.product-row small {
  color: var(--text-muted);
  display: block;
}
.product-row-price {
  font-weight: 800;
  margin-top: 0.2rem;
}
.product-row .thumb {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: #0d111a;
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.7rem;
}
.product-row .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-row .thumb img[src$=".svg"] {
  width: 58%;
  height: 58%;
  object-fit: contain;
}

.mobile-cta {
  margin-top: 1rem;
}

/* Promo banner: image + offer content | right features (desktop) */
.promo-banner {
  display: grid;
  gap: 0.85rem;
}

.promo-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 45, 120, 0.16);
  background: #07090f;
  aspect-ratio: 16 / 10;
  min-height: 220px;
}

.promo-banner-media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 82% center;
}

.promo-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  width: 100%;
  height: 100%;
  min-height: 220px;
  padding: 1.15rem 1.1rem 1.2rem;
  background: linear-gradient(
    180deg,
    rgba(5, 7, 11, 0.15) 0%,
    rgba(5, 7, 11, 0.35) 45%,
    rgba(5, 7, 11, 0.88) 100%
  );
}

.promo-eyebrow {
  margin: 0 0 0.4rem;
  color: #7dd3fc;
  font-size: 0.84rem;
  font-weight: 600;
}

.promo-title {
  margin: 0;
  font-size: clamp(1.45rem, 6.5vw, 2.3rem);
        line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.promo-accent {
  color: #38bdf8;
  margin-inline-start: 0.25rem;
}

.promo-sub {
  margin: 0.3rem 0 0.9rem;
  color: #fff;
  font-size: clamp(0.95rem, 3.8vw, 1.1rem);
  font-weight: 600;
}

.promo-cta {
  min-width: 120px;
  min-height: 42px;
  padding: 0.65rem 1.1rem;
  border-radius: 12px;
  font-size: 0.92rem;
}

.promo-features {
  display: none;
  gap: 1.15rem;
  align-content: center;
  padding: 1.35rem 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.promo-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.promo-feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 45, 120, 0.12);
  color: var(--pink-hot);
  flex-shrink: 0;
}

.promo-feature strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.promo-feature small {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.35;
}

@media (min-width: 640px) {
  .promo-visual {
    aspect-ratio: 21 / 9;
    min-height: 240px;
  }

  .promo-copy {
    justify-content: center;
    align-items: flex-start;
    min-height: 240px;
    max-width: 55%;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(
      90deg,
      rgba(5, 7, 11, 0.9) 0%,
      rgba(5, 7, 11, 0.55) 55%,
      transparent 100%
    );
  }

  .promo-banner-media {
    object-position: 75% center;
  }
}

/* How It Works */
.how-section {
  padding-top: 0.5rem;
}

.how-title {
  margin: 0 0 2rem;
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.how-steps {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  max-width: 920px;
  margin: 0 auto;
}

.how-step {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.how-icon-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  margin-bottom: 1rem;
}

.how-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--pink-hot);
  background: rgba(255, 45, 120, 0.06);
  border: 1.5px solid rgba(255, 45, 120, 0.35);
  box-shadow: 0 0 0 6px rgba(255, 45, 120, 0.04);
}

.how-step-num {
  position: absolute;
  top: -2px;
  inset-inline-start: -2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
        font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--pink-hot), var(--pink-deep));
  box-shadow: 0 6px 16px rgba(255, 45, 120, 0.3);
  z-index: 2;
}

.how-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.how-step p {
  margin: 0;
  max-width: 22ch;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 500;
}

@media (min-width: 768px) {
  .how-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 0.5rem 0 0.25rem;
  }

  .how-steps::before {
    content: "";
    position: absolute;
    top: 44px;
    left: 16%;
    right: 16%;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.14) 15%,
      rgba(255, 255, 255, 0.14) 85%,
      transparent
    );
    z-index: 0;
  }

  [data-theme="light"] .how-steps::before {
    background: linear-gradient(
      90deg,
      transparent,
      rgba(15, 23, 42, 0.12) 15%,
      rgba(15, 23, 42, 0.12) 85%,
      transparent
    );
  }

  .how-title {
    margin-bottom: 2.5rem;
  }
}

/* Payment methods */
.payments-section {
  padding-top: 0.25rem;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.payment-chip {
        display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 64px;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

/* Light mode: dark plates so white logos (Whish/Visa/Binance text) stay visible */
[data-theme="light"] .payment-chip {
  background: #121826;
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .payment-chip strong {
  color: #fff;
}

[data-theme="light"] .product-media:has(img[src$=".svg"]),
[data-theme="light"] .product-media:has(img[src*="google-play"]) {
  background: #121826;
}

.payment-chip img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 28px;
  object-fit: contain;
  background: transparent;
}

.payment-chip .pay-visa {
  height: 20px;
  width: auto;
}

.payment-chip-usdt img,
.payment-chip-binance img {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.payment-chip-mc img {
  height: 34px;
  width: auto;
}

.payment-chip span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: start;
}

.payment-chip strong {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
}

.payment-chip small {
  margin-top: 0.12rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.payment-chip-binance small {
  color: #f0b90b;
}

.pay-chip-img {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.55rem;
}

.pay-chip-img img {
  display: block;
  height: 14px;
  width: auto;
  object-fit: contain;
  background: transparent;
}

@media (min-width: 768px) {
  .payment-methods {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .payment-chip {
    min-height: 72px;
    padding: 0.9rem 1.1rem;
  }

  .payment-chip img {
    height: 30px;
  }
}

/* Social proof + reviews */
.social-grid {
  display: grid;
  gap: 0.9rem;
}

.social-stats,
.review-card {
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.social-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 0.75rem;
  padding: 1.6rem 1rem;
  place-items: center;
  align-content: center;
  text-align: center;
  min-height: 220px;
}

.social-stat {
  width: auto;
  margin: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0.45rem;
}

.social-stat-icon {
  width: 68px;
  height: 68px;
  min-width: 68px;
  min-height: 68px;
  max-width: 68px;
  max-height: 68px;
  flex: 0 0 68px;
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  margin: 0;
  color: #ff4d8d;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 45, 120, 0.55);
  background: rgba(255, 45, 120, 0.1);
  box-shadow: none;
  overflow: hidden;
}

.social-stat-icon svg {
  width: 30px !important;
  height: 30px !important;
  display: block;
  color: #ff4d8d;
  stroke: #ff4d8d;
}

.social-stat strong {
  display: block;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
}

[data-theme="light"] .social-stats,
[data-theme="light"] .review-card {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.social-stat > span {
  display: block;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

.review-card {
  position: relative;
  padding: 1.4rem 1.25rem 1.2rem;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}

.review-card h2 {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.review-stars {
  display: flex;
  gap: 0.2rem;
  color: #f5c518;
  margin-bottom: 1rem;
}

.review-slides {
  position: relative;
  flex: 1;
  min-height: 110px;
}

.review-slide {
  margin: 0;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  inset: 0;
  transition: opacity .35s ease;
}

.review-slide.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.review-slide p {
  margin: 0 0 0.85rem;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 500;
}

.review-slide cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--text);
  font-size: 0.92rem;
}

.review-nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.45rem;
  margin-top: 1rem;
}

.review-nav-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  display: grid;
  place-items: center;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}

.review-nav-btn:hover {
  border-color: rgba(255, 45, 120, 0.45);
  color: #fff;
  background: rgba(255, 45, 120, 0.12);
}

/* FAQ */
.faq-section {
  padding-top: 0.5rem;
}

.faq-title {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: clamp(1.45rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  max-width: 980px;
  margin: 0 auto;
}

.faq-item {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
        gap: 1rem;
  padding: 1rem 1.15rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
  text-align: start;
  cursor: pointer;
}

.faq-chevron {
  flex-shrink: 0;
  display: inline-grid;
  place-items: center;
  color: var(--text-muted);
  transition: transform .2s ease, color .2s ease;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  color: var(--pink-hot);
}

.faq-panel {
  padding: 0 1.15rem 1rem;
}

.faq-panel[hidden] {
  display: none;
}

.faq-panel p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
  font-weight: 500;
}

@media (min-width: 768px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }
}

@media (min-width: 900px) {
  .social-grid {
    grid-template-columns: 1.35fr 1fr;
    gap: 1rem;
    align-items: stretch;
  }

  .social-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 2rem 1.5rem;
    gap: 1rem;
    place-items: center;
    align-content: center;
    min-height: 100%;
  }

  .social-stat {
    width: 100%;
    max-width: none;
  }

  .social-stat strong {
    font-size: 1.55rem;
  }

  .social-stat-icon {
    width: 76px;
    height: 76px;
    min-width: 76px;
    min-height: 76px;
    max-width: 76px;
    max-height: 76px;
    flex-basis: 76px;
  }

  .social-stat-icon svg {
    width: 34px !important;
    height: 34px !important;
  }

  .review-card {
    padding: 1.6rem 1.5rem 1.35rem;
    min-height: 100%;
  }

  .review-card h2 {
    font-size: 1.35rem;
  }
}

/* Why (legacy unused) */
.why-grid {
  display: grid;
  gap: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.25rem;
}
.why-copy h2 { margin: 0 0 0.6rem; font-size: 1.5rem; }
.why-copy p { margin: 0 0 1rem; color: var(--text-soft); line-height: 1.6; }
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
}
.stat {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.9rem;
}
.stat strong { display: block; font-size: 1.2rem; margin-bottom: 0.2rem; }
.stat span { color: var(--text-muted); font-size: 0.8rem; }

/* Footer */
.site-footer {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  background: rgba(6, 8, 16, 0.85);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2.75rem 0 2rem;
}

.footer-brand .brand {
  margin-bottom: 0.85rem;
}

.footer-brand p {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  max-width: 34ch;
  line-height: 1.65;
  font-size: 0.92rem;
}

.footer-telegram-news {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 1rem;
  padding: 0.62rem 0.75rem;
  border-radius: 14px;
  text-decoration: none;
  color: var(--text);
  background: rgba(41, 169, 235, 0.08);
  border: 1px solid rgba(41, 169, 235, 0.18);
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.footer-telegram-news:hover {
  background: rgba(41, 169, 235, 0.14);
  border-color: rgba(41, 169, 235, 0.28);
  transform: translateY(-1px);
}

.footer-telegram-news-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #29a9eb;
  background: rgba(41, 169, 235, 0.12);
  flex: 0 0 auto;
}

.footer-telegram-news-copy {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.footer-telegram-news-copy strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
}

.footer-telegram-news-copy em {
  display: block;
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--pink-hot);
}

[data-theme="light"] .footer-telegram-news {
  background: rgba(41, 169, 235, 0.06);
  border-color: rgba(41, 169, 235, 0.14);
}

[data-theme="light"] .footer-telegram-news:hover {
  background: rgba(41, 169, 235, 0.1);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #ff8fb3;
  background: rgba(255, 45, 120, 0.12);
  border: 1px solid rgba(255, 45, 120, 0.28);
  transition: background .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.social-link:hover {
  color: #fff;
  background: rgba(255, 45, 120, 0.28);
  border-color: rgba(255, 45, 120, 0.5);
  transform: translateY(-1px);
}

.footer-col h2,
.footer-col h4 {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color .15s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
  width: 100%;
}

.footer-contact-list li {
  margin: 0;
}

.footer-contact-item {
  display: grid;
  gap: 0.2rem;
  width: 100%;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
        text-decoration: none;
  line-height: 1.3;
}

.footer-contact-item--static {
  cursor: default;
}

a.footer-contact-item:hover {
  color: #fff;
}

a.footer-contact-item:hover .footer-contact-value {
  color: #fff;
}

.footer-contact-head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.footer-contact-icon {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  color: #ff4d8d;
}

.footer-contact-label {
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.2;
}

.footer-contact-value {
  display: block;
  padding-inline-start: calc(18px + 0.55rem);
  color: var(--text-muted);
  font-size: 0.88rem;
        font-weight: 500;
  line-height: 1.35;
  word-break: break-word;
}

.category-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.category-thumb,
.category-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.category-thumb-fallback,
.shop-category-thumb.category-thumb-fallback {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(255, 45, 120, 0.12);
  color: #ff4d8d;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.category-icon .category-thumb-fallback {
  width: 52px;
  height: 52px;
  font-size: 0.78rem;
}

.shop-category-thumb {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.15rem 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}

[data-theme="light"] .site-footer {
  background:
    linear-gradient(180deg, #ffffff 0%, #f3f6fb 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .footer-col h2,
[data-theme="light"] .footer-col h4,
[data-theme="light"] .footer-contact-label {
  color: var(--text);
}

[data-theme="light"] .footer-col a {
  color: var(--text-soft);
}

[data-theme="light"] .footer-col a:hover,
[data-theme="light"] a.footer-contact-item:hover,
[data-theme="light"] a.footer-contact-item:hover .footer-contact-value {
  color: var(--pink-deep);
}

[data-theme="light"] .footer-contact-item,
[data-theme="light"] .footer-contact-value {
  color: var(--text-soft);
}

[data-theme="light"] .footer-contact-icon {
  color: var(--pink-hot);
}

[data-theme="light"] .footer-brand p {
  color: var(--text-muted);
}

[data-theme="light"] .footer-bottom {
  border-top-color: rgba(15, 23, 42, 0.08);
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.55);
}

[data-theme="light"] .social-link {
  color: var(--pink-deep);
  background: rgba(255, 45, 120, 0.07);
  border-color: rgba(255, 45, 120, 0.16);
}

[data-theme="light"] .social-link:hover {
  color: #fff;
  background: linear-gradient(160deg, var(--pink-hot), var(--pink-deep));
  border-color: transparent;
}

@media (max-width: 767px) {
  .footer-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    text-align: center;
    gap: 1.75rem;
    padding-inline: 1rem;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .footer-brand p {
    max-width: 34ch;
    text-align: center;
    margin-inline: auto;
  }

  .footer-telegram-news {
    margin-inline: auto;
    text-align: start;
  }

  .footer-brand .social-links,
  .footer-col .social-links {
    justify-content: center;
  }

  .footer-col {
    width: 100%;
    max-width: 22rem;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-col h2,
  .footer-col h4 {
    text-align: center;
    width: 100%;
  }

  .footer-col a {
    text-align: center;
  }

  .footer-contact {
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-contact h4 {
    text-align: center;
    width: 100%;
  }

  .footer-contact-list {
    width: min(100%, 20rem);
    margin-inline: auto;
    padding: 0;
    justify-items: center;
  }

  .footer-contact-list li {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .footer-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    width: 100%;
    max-width: 18rem;
    text-align: center;
  }

  .footer-contact-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    width: 100%;
  }

  .footer-contact-value {
    padding-inline-start: 0 !important;
    text-align: center;
    width: 100%;
    white-space: normal;
  }
}

.sidebar-social {
  display: grid;
  gap: 0.65rem;
  padding: 0.75rem 0 0.35rem;
  border-top: 1px solid var(--border);
  margin-top: 0.25rem;
}

.sidebar-social-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding-inline: 0.15rem;
}

.sidebar-social-links {
  gap: 0.45rem;
}

@media (max-width: 767px) {
  .header-inner {
    min-height: 56px;
  }

  .news-banner-icon svg {
    width: 14px;
    height: 14px;
  }

  .sidebar-head {
    padding: 0.65rem 0.85rem 0.5rem;
  }

  .sidebar-head-divider {
    margin: 0 0.85rem 0.45rem;
  }

  .sidebar-user-panel {
    gap: 0.45rem;
    padding: 0 0.85rem 0.5rem;
  }

  .sidebar-user-head .profile-menu-avatar,
  .sidebar-user-head .profile-menu-avatar--initials {
    width: 36px;
    height: 36px;
    font-size: 0.82rem;
  }

  .sidebar-user-balance {
    padding: 0.42rem 0.58rem;
  }

  .sidebar-user-balance-copy span {
    font-size: 0.62rem;
  }

  .sidebar-user-balance-copy strong {
    font-size: 0.82rem;
  }

  .sidebar-user-balance-add {
    padding: 0.26rem 0.5rem;
    font-size: 0.66rem;
  }

  .sidebar-user-links {
    gap: 0.35rem;
  }

  .sidebar-user-link {
    padding: 0.4rem 0.35rem;
    font-size: 0.68rem;
    border-radius: 10px;
  }

  .sidebar-guest-panel {
    gap: 0.45rem;
    padding: 0 0.85rem 0.5rem;
  }

  .sidebar-fund-card {
    margin: 0 0.85rem 0.45rem;
    padding: 0.8rem 0.85rem 0.75rem;
  }

  .sidebar-fund-amount {
    font-size: 1.3rem;
  }

  .sidebar-quick-actions {
    padding-bottom: 0.4rem;
  }

  .sidebar-quick-actions .nav-tools .icon-btn {
    min-height: 40px;
    border-radius: 12px;
  }

  .sidebar-scroll {
    gap: 0.55rem;
    padding: 0.55rem 0.85rem 0;
  }

  .sidebar-section {
    gap: 0.4rem;
    padding-bottom: 0.45rem;
  }

  .sidebar-section-label {
    font-size: 0.66rem;
    padding: 0.25rem 0.1rem 0.15rem;
  }

  .sidebar-nav {
    gap: 0.32rem;
  }

  .sidebar-nav > a,
  .sidebar-accordion-trigger {
    gap: 0.65rem;
    padding: 0.72rem 0.75rem;
    border-radius: 12px;
    font-size: 0.84rem;
  }

  .sidebar-nav--compact > a {
    padding-block: 0.68rem;
  }

  .nav-link-icon {
    width: 18px;
    height: 18px;
  }

  .sidebar-social {
    display: none;
  }

  .sidebar-footer {
    gap: 0.35rem;
    padding: 0.5rem 0.85rem 0.65rem;
  }

  .sidebar-control-row {
    padding: 0.42rem 0.55rem;
  }

  .sidebar-control-row--theme {
    gap: 0.3rem;
  }

  .sidebar-control-row--theme .theme-selector-btn-text {
    display: none;
  }

  .sidebar-control-row--theme .theme-selector--compact .theme-selector-btn {
    min-height: 30px;
    min-width: 0;
    padding: 0.24rem 0.15rem;
  }

  .sidebar-control-row--theme .theme-selector--compact {
    padding: 0.14rem;
  }

  .sidebar-logout-btn {
    padding: 0.48rem 0.65rem;
    font-size: 0.78rem;
  }
}

.sidebar-social-links {
  justify-content: flex-start;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulse {
  0%, 100% { opacity: .75; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes lightShiftA {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  50% { transform: translate(-18px, 14px) scale(1.15); opacity: 0.85; }
}

@keyframes lightShiftB {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.45; }
  50% { transform: translate(22px, -10px) scale(1.12); opacity: 0.8; }
}

@keyframes lightShiftC {
  0%, 100% { transform: translateX(-50%) scale(1); opacity: 0.4; }
  50% { transform: translateX(-50%) scale(1.2); opacity: 0.75; }
}

@keyframes floorBreathe {
  0%, 100% { opacity: 0.55; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes floorSheen {
  0% { background-position: 120% 0; opacity: 0.25; }
  40% { opacity: 0.9; }
  100% { background-position: -120% 0; opacity: 0.25; }
}

@keyframes floorRing {
  0% { opacity: 0.75; transform: translateX(-50%) scale(0.9); }
  70% { opacity: 0.12; transform: translateX(-50%) scale(1.12); }
  100% { opacity: 0; transform: translateX(-50%) scale(1.18); }
}

@keyframes floorSpark {
  0% { left: 14%; opacity: 0; transform: scale(0.6); }
  15% { opacity: 1; }
  50% { left: 50%; opacity: 0.85; transform: scale(1); }
  85% { opacity: 0.2; }
  100% { left: 86%; opacity: 0; transform: scale(0.5); }
}

@media (min-width: 480px) {
  .trust-inline {
    flex-wrap: nowrap;
    gap: 0.75rem;
  }

  .trust-inline span,
  .trust-inline span:last-child {
    flex: 1 1 0;
    font-size: 0.78rem;
  }

  .hero-ctas {
    display: flex;
    flex-wrap: wrap;
  }

  .hero-btn {
    width: auto;
    min-width: 0;
    padding: 0.75rem 1.1rem;
    font-size: 0.95rem;
  }
}

@media (min-width: 768px) {
  .product-card-caption {
    padding: 0.55rem 0.55rem 0.62rem;
  }

  .product-card-caption h3 {
    font-size: 0.82rem;
  }

  .product-price-badge strong {
    font-size: 0.78rem;
  }

  .product-price-badge s {
    font-size: 0.62rem;
  }

  .type-card-cta {
    display: block;
  }

  .type-card-body h3 {
    font-size: 0.82rem;
  }
}

@media (min-width: 768px) {
  .features-bar { grid-template-columns: repeat(4, 1fr); }
  .category-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .type-card-grid--compact { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .mobile-cta { display: none; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.5rem;
  }

  .trust-inline span,
  .trust-inline span:last-child {
    flex: 0 1 auto;
    font-size: 0.9rem;
  }

  .trust-inline svg {
    width: 26px;
    height: 26px;
  }

  .hero-ctas {
    display: flex;
    width: auto;
  }

  .hero-btn {
    width: auto;
  }
}

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .desktop-only { display: inline-flex; }
  .mobile-only { display: none !important; }
  .header-inner { min-height: 78px; }
    .hero {
    min-height: auto;
    padding: 0.75rem 0 0.85rem;
    margin-bottom: 0;
  }

  .hero {
    align-items: center;
    padding: 0.75rem 0 0.85rem;
  }

  .home-search-band {
    margin-top: 1rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 1.5rem;
    align-items: center;
    min-height: auto;
  }

  .hero-copy {
    order: 0;
    padding: 0;
    max-width: 560px;
    justify-self: start;
    margin: 0;
    align-items: start;
    text-align: start;
  }

  .hero-visual {
    order: 0;
  }

  .hero-pill {
    align-self: start;
  }

  .hero h1 {
    max-width: 14ch;
    font-size: clamp(2.15rem, 4.1vw, 3.2rem);
  }

  .hero-lede {
    max-width: 33rem;
  }

  .hero-ctas {
    display: flex;
    width: auto;
    margin: 0 0 1rem;
  }

  .hero-btn {
    width: auto;
    min-height: 48px;
    padding: 0.8rem 1.25rem;
    font-size: 0.98rem;
  }

  .trust-inline {
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 1.5rem;
    width: auto;
  }

  .trust-inline span,
  .trust-inline span:last-child {
    flex: 0 0 auto;
    font-size: 0.98rem;
    white-space: nowrap;
  }

  .trust-inline svg {
    width: 32px;
    height: 32px;
  }

  .hero-visual {
    min-height: 420px;
    justify-self: stretch;
    width: 100%;
    padding: 0.25rem 0 1rem;
  }

  .hero-image {
    width: min(100%, 680px);
    max-height: 480px;
  }

  .hero-floor {
    width: min(78%, 480px);
    height: 88px;
    bottom: 0.1rem;
  }

  #categories {
    padding-top: 1.25rem;
  }

  .type-card-grid--compact {
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
  }

  .product-grid { grid-template-columns: repeat(6, 1fr); }
  .promo-banner {
    grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.75fr);
    gap: 1.15rem;
    align-items: stretch;
  }

  .promo-visual {
    aspect-ratio: auto;
    min-height: 280px;
    height: 100%;
  }

  .promo-banner-media {
    object-position: 78% center;
  }

  .promo-copy {
    justify-content: center;
    min-height: 280px;
    max-width: 340px;
    padding: 2rem 2.1rem;
    background: linear-gradient(
      90deg,
      rgba(5, 7, 11, 0.86) 0%,
      rgba(5, 7, 11, 0.4) 70%,
      transparent 100%
    );
  }

  .promo-title {
    font-size: clamp(1.8rem, 2.4vw, 2.35rem);
  }

  .promo-features {
        display: grid;
    padding: 1.75rem 1.5rem;
  }

  .why-grid { grid-template-columns: 1fr 1.4fr; align-items: center; padding: 1.75rem; }

  .footer-grid {
    grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
    gap: 2rem 1.75rem;
    padding: 3.25rem 0 2.25rem;
  }

  .footer-brand p {
    max-width: 30ch;
  }
}

[data-theme="light"] .theme-moon { display: none !important; }
[data-theme="light"] .theme-sun { display: inline-grid !important; }
[data-theme="dark"] .theme-sun { display: none !important; }
[data-theme="dark"] .theme-moon { display: inline-grid !important; }
.theme-sun { display: none; }
.theme-moon { display: inline-grid; }

.toast-ok { color: var(--green); font-size: .8rem; font-weight: 700; margin: .35rem 0 0; }

.empty { color: var(--text-muted); }

a.category-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.product-card-actions {
  display: inline-flex;
        align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.product-wishlist-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}

.product-wishlist-btn:hover,
.product-wishlist-btn.is-active {
  color: var(--pink);
  border-color: rgba(255, 45, 120, 0.35);
  background: rgba(255, 45, 120, 0.08);
}

.product-wishlist-btn svg,
.cart-btn svg {
  display: block;
  width: 16px;
  height: 16px;
}

.cart-btn {
  cursor: pointer;
}

.cart-lines {
  display: grid;
  gap: 0.75rem;
}

/* ——— Professional cart page ——— */
.cart-page-section {
  padding-top: 1.5rem;
}

.cart-page-container,
.checkout-container {
  max-width: 1120px;
}

.cart-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.cart-page-count {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 45, 120, 0.22);
  background: rgba(255, 45, 120, 0.08);
  color: var(--pink-hot);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.cart-empty-state {
  display: grid;
  justify-items: center;
  gap: 0.85rem;
  padding: 3rem 1.5rem;
  border-radius: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  text-align: center;
}

.cart-empty-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 45, 120, 0.1);
  color: var(--pink-hot);
}

.cart-layout {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 960px) {
  .cart-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
  }
}

.cart-main {
  display: grid;
  gap: 0;
}

.cart-rows {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.cart-rows-head,
.cart-row {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.5fr) minmax(112px, 148px) 108px minmax(132px, auto);
  gap: 0.75rem;
  align-items: center;
  padding: 0.85rem 1rem;
}

.cart-rows-head {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
        text-transform: uppercase;
  color: var(--text-muted);
}

.cart-row + .cart-row {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-row-product {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.cart-row-media {
  display: block;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  position: relative;
}

.cart-row-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-row-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 800;
}

.cart-row-copy {
  min-width: 0;
}

.cart-row-title {
  display: block;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-row-title:hover {
  color: var(--pink-hot);
}

.cart-row-meta {
  margin: 0.15rem 0 0;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.cart-row-delivery {
  min-width: 0;
}

.cart-row-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}

.cart-row-details li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.cart-row-details strong {
  color: var(--text);
        font-weight: 700;
}

.cart-row-details-missing {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--pink-hot);
}

.cart-row-no-details {
  color: var(--text-muted);
}

.cart-row-qty {
  justify-self: center;
}

.cart-row-total {
  text-align: end;
}

.cart-row-total strong {
  display: block;
  font-size: 0.95rem;
  color: var(--pink-hot);
}

.cart-row-total small {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.cart-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  flex-wrap: nowrap;
}

.cart-row-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 36px;
  padding-inline: 0.7rem;
  white-space: nowrap;
}

.cart-row-edit-btn svg {
  display: block;
  flex-shrink: 0;
}

.cart-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  padding-inline: 0.55rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -120px;
  z-index: 10000;
  padding: 0.7rem 1.05rem;
  border-radius: 12px;
  background: #ffffff;
  color: #111827;
  font-weight: 800;
  font-size: 0.92rem;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.skip-link:focus {
  top: 0.75rem;
  outline: 3px solid #ff2d78;
  outline-offset: 2px;
}

.product-detail-cart-notice {
  margin: 0 0 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 45, 120, 0.2);
  background: rgba(255, 45, 120, 0.08);
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text);
}

/* ——— Checkout success ——— */
.checkout-success-section {
  padding-top: 1.25rem;
  padding-bottom: 2.5rem;
}

.checkout-success-container {
  max-width: 1080px;
}

.checkout-success-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding: 1.35rem 1.5rem;
  border-radius: 22px;
  border: 1px solid rgba(52, 211, 153, 0.22);
  background:
    radial-gradient(circle at top right, rgba(52, 211, 153, 0.12), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
}

.checkout-success-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #34d399;
}

.checkout-success-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #34d399;
  box-shadow: 0 0 12px rgba(52, 211, 153, 0.8);
}

.checkout-success-hero-copy h1 {
  margin: 0.45rem 0 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
}

.checkout-success-hero-copy p {
  margin: 0.65rem 0 0;
  max-width: 38rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.checkout-success-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.checkout-success-ref {
  display: grid;
  gap: 0.15rem;
  padding: 0.7rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.18);
}

.checkout-success-ref span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.checkout-success-ref strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.checkout-success-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 0.8rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: capitalize;
  border: 1px solid transparent;
}

.checkout-success-status.is-pending {
  color: #fcd34d;
  background: rgba(252, 211, 77, 0.12);
  border-color: rgba(252, 211, 77, 0.22);
}

.checkout-success-status.is-complete {
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.22);
}

.checkout-success-status.is-cancelled {
  color: var(--pink-hot);
  background: rgba(255, 45, 120, 0.12);
  border-color: rgba(255, 45, 120, 0.22);
}

.checkout-success-status.is-payment {
  color: #93c5fd;
  background: rgba(147, 197, 253, 0.1);
  border-color: rgba(147, 197, 253, 0.18);
}

.checkout-success-layout {
  display: grid;
  gap: 1rem;
}

@media (min-width: 960px) {
  .checkout-success-layout {
    grid-template-columns: minmax(0, 1fr) 380px;
    align-items: start;
  }
}

.checkout-success-panel {
  padding: 1.15rem 1.2rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
}

.checkout-success-panel h2 {
        margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 800;
}

.checkout-success-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.checkout-success-steps li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 0.85rem;
  padding: 0.85rem 0;
  position: relative;
}

.checkout-success-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 2rem;
  bottom: -0.2rem;
  width: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.checkout-success-steps li.is-done::after {
  background: rgba(52, 211, 153, 0.35);
}

.checkout-success-step-dot {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.checkout-success-steps li.is-done .checkout-success-step-dot {
  border-color: #34d399;
  background: rgba(52, 211, 153, 0.18);
  box-shadow: inset 0 0 0 3px rgba(52, 211, 153, 0.35);
}

.checkout-success-steps li.is-current .checkout-success-step-dot {
  border-color: #fcd34d;
  background: rgba(252, 211, 77, 0.18);
  box-shadow: 0 0 0 4px rgba(252, 211, 77, 0.12);
}

.checkout-success-steps strong {
  display: block;
  font-size: 0.92rem;
}

.checkout-success-steps p {
  margin: 0.25rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.checkout-success-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.checkout-success-note p {
  margin: 0;
}

.checkout-success-receipt {
  padding: 1.15rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 45, 120, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 45, 120, 0.07), rgba(255, 255, 255, 0.02));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.checkout-success-receipt-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.checkout-success-receipt-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.checkout-success-receipt-head span {
  font-size: 0.74rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.checkout-success-meta {
  display: grid;
  gap: 0.55rem;
  margin: 0 0 1rem;
  padding: 0.85rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.16);
}

.checkout-success-meta div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
}

.checkout-success-meta dt {
  color: var(--text-muted);
}

.checkout-success-meta dd {
  margin: 0;
  font-weight: 700;
  text-align: end;
}

.checkout-success-items h3 {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.checkout-success-item {
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.checkout-success-item-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.checkout-success-item-head strong {
  font-size: 0.88rem;
  line-height: 1.35;
}

.checkout-success-item-head span {
  font-size: 0.84rem;
  font-weight: 800;
  color: var(--pink-hot);
  white-space: nowrap;
}

.checkout-success-item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  margin-top: 0.4rem;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.checkout-success-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
}

.checkout-success-total strong {
  font-size: 1.25rem;
  color: var(--pink-hot);
}

.checkout-success-actions {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.checkout-success-btn {
  width: 100%;
  min-height: 46px;
}

@media (max-width: 900px) {
  .cart-rows-head {
    display: none;
  }

  .cart-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "product total"
      "delivery delivery"
      "qty actions";
    gap: 0.65rem;
    padding: 0.9rem;
  }

  .cart-row-product { grid-area: product; }
  .cart-row-delivery { grid-area: delivery; }
  .cart-row-qty { grid-area: qty; justify-self: start; }
  .cart-row-total { grid-area: total; }
  .cart-row-actions { grid-area: actions; justify-content: flex-end; }
}

.cart-card {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.02) 100%);
  overflow: hidden;
}

.cart-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 1rem;
  align-items: center;
}

.cart-card-media {
  display: block;
  width: 72px;
  height: 72px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  position: relative;
}

.cart-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-card-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.95rem;
  font-weight: 800;
}

.cart-card-title {
  display: block;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  line-height: 1.35;
}

.cart-card-title:hover {
  color: var(--pink-hot);
}

.cart-card-unit-price,
.cart-card-tags {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cart-card-line-total {
  text-align: end;
}

.cart-card-line-total span {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.cart-card-line-total strong {
  display: block;
  margin-top: 0.15rem;
        font-size: 1.05rem;
  color: var(--pink-hot);
}

.cart-card-delivery {
  padding: 0 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-card-delivery-head {
  padding-top: 1rem;
}

.cart-card-delivery-head h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
}

.cart-card-delivery-head p {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.cart-card-delivery-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.75rem;
}

.product-customer-fields.is-compact {
  margin-top: 0.85rem;
  padding: 0.85rem;
  border-radius: 14px;
}

.cart-card-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cart-qty-control {
  display: grid;
  gap: 0.35rem;
}

.cart-qty-control > span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.cart-qty-stepper {
        display: inline-flex;
        align-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.cart-qty-stepper button {
  width: 36px;
  min-height: 36px;
        border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.1rem;
  cursor: pointer;
}

.cart-qty-stepper button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.cart-qty-stepper .cart-qty {
  width: 3.25rem;
  min-height: 36px;
  border: 0;
  border-inline: 1px solid var(--border);
  border-radius: 0;
  text-align: center;
  padding: 0;
}

.cart-qty-stepper.is-input-only {
  width: 100%;
  max-width: 8.5rem;
}

.cart-qty-stepper.is-input-only .cart-qty {
  width: 100%;
  border-inline: 0;
  padding-inline: 0.5rem;
}

.cart-remove-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.cart-summary {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 960px) {
  .cart-summary {
    position: sticky;
    top: 6.5rem;
  }
}

.cart-summary-card {
  padding: 1.15rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 45, 120, 0.18);
  background: rgba(255, 45, 120, 0.05);
}

.cart-summary-card h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.cart-summary-lines {
  margin: 1rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.cart-summary-lines div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
}

.cart-summary-lines dt {
  color: var(--text-muted);
  font-weight: 600;
}

.cart-summary-lines dd {
  margin: 0;
  font-weight: 700;
}

.cart-summary-total {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-summary-total dd {
  font-size: 1.2rem;
  color: var(--pink-hot);
}

.cart-summary-checkout {
  width: 100%;
  margin-top: 1rem;
  min-height: 48px;
}

.cart-summary-continue {
  width: 100%;
  margin-top: 0.55rem;
}

.cart-summary-note,
.cart-summary-secure {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.cart-summary-secure-inline,
.checkout-summary-secure {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
  margin: 0.85rem 0 0;
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.cart-summary-secure-inline svg,
.checkout-summary-secure svg {
  flex-shrink: 0;
  color: var(--pink-hot);
  opacity: 0.9;
}

.cart-summary-note {
  margin-top: 0.65rem;
  text-align: center;
}

.product-detail-actions-primary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.product-detail-btn-main {
  min-height: 48px;
}

.product-detail-btn-wishlist {
  min-height: 48px;
  min-width: 48px;
  padding-inline: 0.95rem;
}

.product-detail-btn-wishlist-label {
  display: none;
}

@media (min-width: 640px) {
  .product-detail-btn-wishlist-label {
    display: inline;
  }
}

.cart-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.cart-line-info a {
  display: block;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.cart-line-info a:hover {
  color: var(--pink-hot);
}

.cart-line-info small {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-muted);
}

.cart-line-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-qty {
  width: 4.5rem;
  min-height: 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  padding: 0 0.5rem;
  font: inherit;
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-size: 1.05rem;
}

.cart-total strong {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--pink-hot);
}

/* Auth screen — 50/50 image + form, no site nav, locked to viewport */
.auth-screen-body {
  margin: 0;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  overflow: hidden;
  background: #030305;
  color: var(--text);
  color-scheme: dark;
}

.auth-screen {
  position: relative;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
}

.auth-back-btn {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top));
  inset-inline-start: max(1rem, env(safe-area-inset-left));
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 40px;
  padding: 0 0.85rem 0 0.65rem;
        border-radius: 999px;
  border: 1px solid rgba(255, 45, 120, 0.28);
  background: rgba(5, 7, 11, 0.72);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.82rem;
        font-weight: 700;
        text-decoration: none;
  transition: border-color .15s ease, background .15s ease;
}

.auth-back-btn:hover {
  border-color: rgba(255, 77, 141, 0.55);
  background: rgba(255, 45, 120, 0.12);
}

.auth-split {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
}

@media (min-width: 900px) {
  .auth-split {
    flex-direction: row;
  }

  [dir="rtl"] .auth-split {
    flex-direction: row-reverse;
  }
}

.auth-visual {
  position: relative;
  flex: 0 0 22%;
  width: 100%;
  min-height: 0;
  max-height: 24%;
  padding: 0;
  background: #05070b;
  overflow: hidden;
  z-index: 1;
}

.auth-visual-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.auth-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 3, 5, 0.08) 0%, rgba(3, 3, 5, 0.45) 100%);
  pointer-events: none;
}

.auth-visual-wave {
  display: none;
}

.auth-visual-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.auth-panel {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-top: -26px;
  padding: 0.85rem 1rem 0.65rem;
  background: #030305;
  border: 1px solid rgba(255, 77, 141, 0.28);
  border-bottom: 0;
  border-radius: 50% 50% 0 0 / 32px 32px 0 0;
  box-shadow:
    0 -10px 28px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (min-width: 900px) {
  .auth-visual {
    flex: 0 0 50%;
    width: 50%;
    max-width: 50%;
    max-height: none;
    height: 100%;
  }

  .auth-visual-overlay {
    background: linear-gradient(90deg, rgba(3, 3, 5, 0.1) 0%, rgba(3, 3, 5, 0.25) 100%);
  }

  .auth-visual-art {
    object-position: center;
  }

  .auth-panel {
    flex: 0 0 50%;
    max-width: 50%;
    height: 100%;
    align-items: center;
    margin-top: 0;
    padding: 2.5rem 2rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 0;
}

@media (max-width: 899px) {
  .auth-visual {
    display: none;
  }

  .auth-panel {
    flex: 1 1 100%;
    width: 100%;
    height: 100%;
    max-height: 100%;
    margin-top: 0;
    padding:
      max(3.25rem, calc(env(safe-area-inset-top) + 2.25rem))
      max(1rem, env(safe-area-inset-left))
      max(1rem, env(safe-area-inset-bottom))
      max(1rem, env(safe-area-inset-right));
    border: 0;
    border-radius: 0;
    box-shadow: none;
    align-items: center;
    justify-content: center;
  }

  .auth-card {
    max-width: none;
  }

  .auth-heading h1 {
    font-size: 1.15rem;
    text-align: center;
  }

  .auth-heading p {
    display: none;
  }

  .auth-form {
    margin-top: 0.45rem;
    gap: 0.45rem;
  }

  .auth-field {
    gap: 0.2rem;
  }

  .auth-field > span {
    font-size: 0.7rem;
  }

  .auth-input-wrap,
  .auth-input-plain {
    gap: 0.45rem;
    padding: 0.42rem 0.6rem;
    border-radius: 10px;
  }

  .auth-input-wrap input,
  .auth-input-plain {
    font-size: 0.82rem;
  }

  .auth-input-wrap svg {
    width: 16px;
    height: 16px;
  }

  .auth-password-toggle {
    width: 30px;
    height: 30px;
  }

  .auth-name-stack {
    gap: 0.45rem;
  }

  .auth-submit {
    min-height: 38px;
    margin-top: 0;
    font-size: 0.82rem;
    border-radius: 10px;
  }

  .auth-divider {
    margin: 0.45rem 0 0.4rem;
    font-size: 0.62rem;
  }

  .auth-social-stack {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }

  .auth-social-btn {
    min-height: 38px;
    gap: 0.4rem;
    padding: 0 0.55rem;
    font-size: 0.74rem;
    border-radius: 10px;
  }

  .auth-social-btn svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
  }

  .auth-terms {
    font-size: 0.68rem;
    gap: 0.4rem;
  }

  .auth-footnote {
    display: none;
  }

  .auth-switch {
    margin: 0.35rem 0 0;
    font-size: 0.76rem;
  }

  .auth-alt-prompt {
    margin: 0.45rem 0 0;
    font-size: 0.76rem;
  }

  .auth-forgot-link {
    font-size: 0.68rem;
  }

  .auth-alert {
    margin-top: 0.5rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.78rem;
  }
}

@media (min-width: 900px) {
  .auth-card {
    max-width: 400px;
    padding: 0.5rem 0;
  }
}

.auth-error-list {
  margin: 0;
  padding-inline-start: 1rem;
}

.auth-heading h1 {
  margin: 0;
  font-size: clamp(1.35rem, 4.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
}

.auth-heading p {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.86rem;
}

.auth-alt-prompt {
  margin: 0.65rem 0 0;
  text-align: center;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.55);
}

.auth-alt-prompt a {
  color: var(--pink-hot);
  font-weight: 700;
  text-decoration: none;
}

.auth-field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.auth-field-head > span {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

.auth-forgot-link {
  margin-inline-start: auto;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--pink-hot);
  text-decoration: none;
  white-space: nowrap;
}

.auth-forgot-link:hover {
  text-decoration: underline;
}

@media (min-width: 900px) {
  .auth-heading h1 {
    font-size: 1.75rem;
  }

  .auth-heading p {
    margin: 0.5rem 0 0;
    font-size: 0.92rem;
  }
}

.auth-alert {
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 45, 120, 0.25);
  background: rgba(255, 45, 120, 0.08);
  color: var(--pink-hot);
  font-size: 0.88rem;
}

.auth-alert--success {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.1);
  color: #86efac;
}

.otp-input-row {
  display: flex;
}

.otp-boxes {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.55rem;
}

.otp-box {
  width: 100%;
  aspect-ratio: 1;
  max-height: 3.35rem;
  border: 1px solid rgba(255, 45, 120, 0.2);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font: inherit;
  font-size: 1.35rem;
  font-weight: 800;
  text-align: center;
  padding: 0;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.otp-box:focus {
  outline: none;
  border-color: rgba(255, 45, 120, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 45, 120, 0.14);
  background: rgba(255, 45, 120, 0.08);
}

.otp-box:not(:placeholder-shown),
.otp-box.filled {
  border-color: rgba(255, 45, 120, 0.35);
}

.otp-code-input {
  width: 100%;
  border: 1px solid rgba(255, 45, 120, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font: inherit;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-align: center;
  padding: 0.85rem 1rem;
}

.otp-code-input:focus {
  outline: none;
  border-color: rgba(255, 45, 120, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 45, 120, 0.12);
}

.otp-expiry {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
  min-height: 1.2em;
}

.otp-expiry.is-expired {
  color: var(--pink-hot);
  font-weight: 600;
}

.otp-email-note {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.otp-resend-form {
  margin-top: 0.85rem;
}

.otp-resend-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: var(--text-muted);
  transition: color .15s ease, opacity .15s ease;
}

.otp-resend-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.otp-resend-btn.is-ready {
  color: var(--pink-hot);
  background: transparent;
  border: 0;
  box-shadow: none;
}

.otp-resend-btn.is-ready:hover {
  color: var(--pink);
  background: transparent;
}

.auth-link-btn {
  border: 0;
  background: transparent;
  color: var(--pink-hot);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
        cursor: pointer;
  padding: 0;
}

.auth-link-btn:hover {
  color: var(--pink);
}

.auth-form {
  margin-top: 1rem;
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 900px) {
  .auth-form {
    margin-top: 1.5rem;
    gap: 1rem;
  }
}

.auth-field {
  display: grid;
  gap: 0.45rem;
}

.auth-field > span {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

.auth-input-wrap,
.auth-input-plain {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(255, 45, 120, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.65rem 0.85rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.auth-input-plain {
  width: 100%;
}

.auth-input-wrap:focus-within,
.auth-input-plain:focus {
  outline: none;
  border-color: rgba(255, 45, 120, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 45, 120, 0.12);
}

.auth-input-wrap input,
.auth-input-plain {
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  font: inherit;
  font-size: 0.92rem;
}

.auth-input-wrap input::placeholder,
.auth-input-plain::placeholder {
  color: rgba(255, 255, 255, 0.38);
  opacity: 1;
}

.auth-input-wrap input:-webkit-autofill,
.auth-input-wrap input:-webkit-autofill:hover,
.auth-input-wrap input:-webkit-autofill:focus,
.auth-input-wrap input:-webkit-autofill:active {
  -webkit-text-fill-color: #fff !important;
  caret-color: #fff;
  box-shadow: 0 0 0 1000px rgba(255, 255, 255, 0.04) inset !important;
  transition: background-color 9999s ease-out 0s;
}

.auth-password-input {
  color: #fff;
  -webkit-text-fill-color: #fff;
}

.auth-input-wrap input:focus,
.auth-input-plain:focus {
  outline: none;
  box-shadow: none;
}

.auth-input-wrap--password {
  padding-inline-end: 0.35rem;
}

.auth-password-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin-inline-start: auto;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  transition: color .15s ease, background .15s ease;
}

.auth-password-toggle:hover {
  color: var(--pink-hot);
  background: rgba(255, 45, 120, 0.1);
}

.auth-password-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.auth-password-toggle-icon--hide {
  display: none;
}

.auth-password-toggle.is-visible .auth-password-toggle-icon--show {
  display: none;
}

.auth-password-toggle.is-visible .auth-password-toggle-icon--hide {
  display: inline-flex;
}

.auth-name-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.auth-name-stack .auth-field {
  min-width: 0;
}

.auth-input-icon {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.auth-grid-2 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 900px) {
  .auth-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.auth-submit {
  margin-top: 0.25rem;
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pink-hot), var(--pink-deep));
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: var(--glow-pink);
  transition: filter .15s ease, transform .15s ease;
}

.auth-submit:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.auth-submit:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: none;
  transform: none;
  box-shadow: none;
}

.auth-submit.is-busy,
.otp-resend-btn.is-busy {
  opacity: 0.72;
        cursor: wait;
  pointer-events: none;
}

.auth-terms {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin-top: 0.1rem;
  font-size: 0.76rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.62);
  cursor: pointer;
}

.auth-terms input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 0.1rem;
  flex-shrink: 0;
  accent-color: var(--pink-hot);
  cursor: pointer;
}

.auth-terms a {
  color: var(--pink-hot);
  font-weight: 700;
  text-decoration: none;
}

.auth-terms a:hover {
  color: var(--pink);
}

.auth-divider {
        position: relative;
  margin: 1.5rem 0 1.25rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.auth-divider span {
  position: relative;
  z-index: 1;
  padding: 0 0.75rem;
  background: #030305;
}

.auth-divider::before {
  content: "";
        position: absolute;
  inset-inline: 0;
  top: 50%;
  height: 1px;
  background: rgba(255, 45, 120, 0.15);
}

.auth-social-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.auth-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 42px;
  padding: 0 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color .15s ease, background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.auth-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-social-label {
  overflow: hidden;
  text-overflow: ellipsis;
}

.auth-social-btn:hover {
  border-color: rgba(255, 77, 141, 0.35);
  background: rgba(255, 45, 120, 0.08);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.auth-social-btn--google {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.auth-social-btn--google:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
}

.auth-social-btn--facebook {
  border-color: rgba(24, 119, 242, 0.4);
  background: rgba(24, 119, 242, 0.1);
}

.auth-social-btn--facebook:hover {
  border-color: rgba(24, 119, 242, 0.55);
  background: rgba(24, 119, 242, 0.16);
}

.auth-social {
  display: grid;
  gap: 0.65rem;
}

.auth-footnote {
  margin: 1.25rem 0 0;
  text-align: center;
        font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.auth-switch {
  margin: 1rem 0 0;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
}

.auth-switch a {
  color: var(--pink-hot);
  font-weight: 700;
  text-decoration: none;
  transition: color .15s ease, opacity .15s ease;
}

.auth-switch-link {
  position: relative;
  display: inline-block;
}

.auth-switch-link::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s ease;
}

.auth-switch-link:hover::after {
  transform: scaleX(1);
}

.auth-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

@keyframes auth-panel-enter-right {
  from {
    opacity: 0;
    transform: translateX(36px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes auth-panel-enter-left {
  from {
    opacity: 0;
    transform: translateX(-36px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes auth-panel-enter-fade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 899px) {
  .auth-panel--enter-right {
    animation: auth-panel-enter-right 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .auth-panel--enter-left {
    animation: auth-panel-enter-left 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .auth-panel--enter-fade {
    animation: auth-panel-enter-fade 0.35s ease both;
  }

  [dir="rtl"] .auth-panel--enter-right {
    animation-name: auth-panel-enter-left;
  }

  [dir="rtl"] .auth-panel--enter-left {
    animation-name: auth-panel-enter-right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .auth-panel--enter-right,
  .auth-panel--enter-left,
  .auth-panel--enter-fade {
    animation: none;
  }
}

.auth-switch a:hover {
  color: var(--pink);
}

.store-page-head {
        margin-bottom: 1.5rem;
    }

.store-page-head h1 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.store-page-head p {
  margin: 0.45rem 0 0;
  color: var(--text-muted);
}

.store-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink-hot);
}

.store-catalog-page {
  padding: 1.5rem 0 3rem;
}

.store-contact-page {
  padding: 1.5rem 0 3rem;
}

.store-content-page {
  padding: 1.5rem 0 3rem;
  max-width: 760px;
}

.store-content-prose {
  display: grid;
  gap: 1.35rem;
}

.store-content-block {
  padding: 1.15rem 1.1rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.store-content-block h2 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.store-content-block p {
  margin: 0 0 0.65rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.store-content-block p:last-child {
  margin-bottom: 0;
}

.store-content-block ul {
  margin: 0;
  padding-inline-start: 1.15rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.store-content-block li + li {
  margin-top: 0.35rem;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.85rem;
}

.contact-page-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 45, 120, 0.06), transparent 52%),
    rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.contact-page-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 45, 120, 0.28);
  background: rgba(255, 45, 120, 0.06);
}

.contact-page-card--static {
  cursor: default;
}

.contact-page-card--static:hover {
  transform: none;
}

.contact-page-card-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 45, 120, 0.2);
  background: rgba(255, 45, 120, 0.08);
  color: var(--pink-hot);
}

.contact-page-card strong {
  font-size: 0.95rem;
}

.contact-page-card span {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 700;
  word-break: break-word;
}

.contact-page-card em {
  color: var(--text-muted);
  font-style: normal;
  font-size: 0.8rem;
}

.contact-page-social {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: grid;
  gap: 0.75rem;
}

.contact-page-social p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

@media (min-width: 640px) {
  .contact-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .contact-page-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.store-page-head--compact {
  margin-bottom: 1.25rem;
}

.store-category-types {
  display: grid;
  gap: 0.5rem;
}

.store-category-types-head h2 {
  margin: 0;
  font-size: clamp(1rem, 3vw, 1.15rem);
}

.catalog-breadcrumb a {
  display: inline-flex;
  margin-bottom: 0.55rem;
  color: var(--pink-hot);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
}

.catalog-breadcrumb a:hover {
  text-decoration: underline;
}

.catalog-controls {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  padding: 0.95rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 45, 120, 0.06), transparent 52%),
    rgba(255, 255, 255, 0.03);
  position: relative;
  z-index: 25;
  isolation: isolate;
}

.catalog-live {
  position: relative;
  z-index: 4;
  overflow: visible;
}

.catalog-toolbar-pro {
  position: relative;
  z-index: 6;
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
  overflow: visible;
}

.catalog-search-pill {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  box-sizing: border-box;
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.catalog-search-pill:focus-within {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .catalog-search-pill {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.92);
}

[data-theme="light"] .catalog-search-pill:focus-within {
  border-color: rgba(15, 23, 42, 0.16);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.04);
}

.catalog-tool-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
  overflow: visible;
  align-items: stretch;
}

.catalog-tool-btn {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-align: start;
}

.catalog-tool-btn.is-open,
.catalog-tool-btn.has-filters {
  border-color: rgba(255, 45, 120, 0.38);
}

.catalog-tool-btn-icon {
  display: grid;
  place-items: center;
  color: var(--text-muted);
  flex-shrink: 0;
}

.catalog-tool-btn-icon svg {
  display: block;
}

.catalog-tool-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink-hot);
  box-shadow: 0 0 0 3px rgba(255, 45, 120, 0.18);
  flex-shrink: 0;
}

.catalog-tool-chevron {
  margin-inline-start: auto;
  display: grid;
  place-items: center;
  color: var(--text-muted);
}

.catalog-tool-btn.is-open .catalog-tool-chevron {
  transform: rotate(180deg);
}

.catalog-sort {
  position: relative;
  z-index: 7;
  min-width: 0;
  overflow: visible;
}

.catalog-sort-current {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 700;
}

.catalog-sort-menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline: 0;
  z-index: 40;
  display: grid;
  gap: 0.2rem;
  min-width: 100%;
  padding: 0.4rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #161d2c;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .catalog-sort-menu {
  border-color: rgba(15, 23, 42, 0.1);
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.catalog-sort-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0.8rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: start;
  cursor: pointer;
}

.catalog-sort-option svg {
  flex-shrink: 0;
}

.catalog-sort-option.is-active {
  background: rgba(255, 45, 120, 0.16);
  color: #fff;
}

.catalog-sort-option:not(.is-active):hover {
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .catalog-sort-option:not(.is-active):hover {
  background: rgba(15, 23, 42, 0.05);
}

.catalog-tool-btn--sort {
  width: 100%;
}

.catalog-sort-prefix {
  display: none;
}

.catalog-tool-btn--sort .catalog-sort-select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 46px;
  padding: 0 2rem 0 0.85rem;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 16px;
  font-weight: 700;
  line-height: 46px;
  color: var(--text);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  text-overflow: ellipsis;
}

.catalog-tool-btn--sort .catalog-sort-select:focus {
  box-shadow: none;
  border: 0;
  outline: none;
}

.catalog-filter-panel {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .catalog-tool-btn,
[data-theme="light"] .catalog-filter-panel {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.88);
}

.catalog-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0 0 1rem;
}

.catalog-results-bar .catalog-results-meta {
  margin: 0;
}

.catalog-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.catalog-view-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.catalog-view-btn svg {
  display: block;
}

.catalog-view-btn.is-active {
  border-color: rgba(255, 77, 141, 0.7);
  color: var(--pink-hot);
}

.catalog-controls--static {
  margin-bottom: 1rem;
}

.catalog-controls-row {
  display: grid;
  gap: 0.65rem;
}

.catalog-controls-row--primary {
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

.catalog-controls-row--filters {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-search-field {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-sizing: border-box;
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  margin: 0;
  padding: 0 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 45, 120, 0.22);
  background: rgba(255, 255, 255, 0.04);
  transition: border-color .16s ease, box-shadow .16s ease;
}

.catalog-search-field:focus-within {
  border-color: rgba(255, 45, 120, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 45, 120, 0.1);
}

.catalog-search-icon {
  display: grid;
  place-items: center;
  color: var(--text-muted);
  flex-shrink: 0;
}

.catalog-search-icon svg {
  display: block;
}

.catalog-search-input {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.2;
  padding: 0;
  margin: 0;
  min-height: 0;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.catalog-search-input::-webkit-search-decoration,
.catalog-search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

.catalog-search-input::placeholder {
  color: var(--text-muted);
}

.catalog-sort-field,
.catalog-price-field {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.catalog-sort-label,
.catalog-price-field > span {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.catalog-sort-select,
.catalog-price-input {
  width: 100%;
  min-height: 36px;
  height: 36px;
  padding: 0 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  font-size: 0.86rem;
  outline: none;
}

.catalog-sort-select:focus,
.catalog-price-input:focus {
  border-color: rgba(255, 45, 120, 0.4);
  box-shadow: 0 0 0 3px rgba(255, 45, 120, 0.08);
}

.catalog-price-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  grid-column: 1 / -1;
}

.catalog-price-preset,
.catalog-clear-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 45, 120, 0.2);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}

.catalog-price-preset:hover,
.catalog-clear-btn:hover {
  border-color: rgba(255, 45, 120, 0.38);
  color: var(--pink-hot);
  background: rgba(255, 45, 120, 0.08);
}

.catalog-clear-btn {
  align-self: start;
  justify-self: start;
  white-space: nowrap;
}

[data-filter-label][hidden] {
  display: none !important;
}

@media (max-width: 420px) {
  .catalog-sort-prefix {
    display: none;
  }
}

@media (min-width: 768px) {
  .catalog-controls-row--filters {
    grid-template-columns: 140px 140px minmax(0, 1fr);
    align-items: end;
  }

  .catalog-price-presets {
    grid-column: auto;
    justify-content: flex-end;
  }
}

@media (min-width: 768px) {
  .product-grid--catalog {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .product-card--shop h3 {
    font-size: 0.88rem;
  }

  .product-card-price strong {
    font-size: 1.05rem;
  }

  .product-card-delivery {
    font-size: 0.7rem;
  }

  .product-card-body {
    padding: 0.65rem 0.65rem 0.7rem;
    gap: 0.28rem;
  }

  .product-card-buy {
    min-height: 36px;
    font-size: 0.8rem;
    border-radius: 10px;
  }
}

@media (min-width: 900px) {
  .product-grid--catalog {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .product-grid--catalog {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0;
}

.catalog-filter {
  border: 1px solid rgba(255, 45, 120, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.48rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .15s ease, color .15s ease;
}

.catalog-filter:hover {
  border-color: rgba(255, 77, 141, 0.35);
  transform: translateY(-1px);
}

.catalog-filter.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--pink-hot), var(--pink-deep));
  color: #fff;
  box-shadow: var(--glow-pink);
}

.catalog-toolbar--scroll {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0.2rem;
  -webkit-overflow-scrolling: touch;
}

.catalog-toolbar--scroll::-webkit-scrollbar {
  display: none;
}

.catalog-toolbar--scroll .catalog-filter {
  flex-shrink: 0;
  white-space: nowrap;
}

.catalog-load-sentinel {
  width: 100%;
  height: 1px;
  margin-top: 0.5rem;
  pointer-events: none;
}

.catalog-load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.catalog-load-more-spinner {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 45, 120, 0.18);
  border-top-color: var(--pink-hot);
  animation: catalogSpin 0.7s linear infinite;
}

@keyframes catalogSpin {
  to { transform: rotate(360deg); }
}

.product-grid--catalog.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.catalog-results-meta {
  margin: 0 0 1rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.catalog-pagination-wrap {
  margin-top: 1.5rem;
}

.catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.catalog-pagination-item {
  margin: 0;
}

.catalog-pagination-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.5rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.catalog-pagination-btn:hover:not(:disabled) {
  border-color: rgba(255, 45, 120, 0.35);
  color: var(--pink-hot);
}

a.catalog-pagination-btn {
  text-decoration: none;
}

.catalog-pagination-item.is-disabled .catalog-pagination-btn {
  opacity: 0.45;
  cursor: default;
}

.catalog-pagination-status {
  padding: 0 0.35rem;
}

.catalog-pagination-current {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.store-empty-state {
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  padding: 2.5rem 1rem;
  border: 1px dashed rgba(255, 45, 120, 0.22);
  border-radius: 16px;
  text-align: center;
  color: var(--text-muted);
}

.product-detail-page {
  padding: 1rem 0 3rem;
}

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.product-breadcrumb a {
  color: var(--pink-hot);
  font-weight: 600;
}

.product-breadcrumb span:last-child {
  color: var(--text);
}

.product-detail-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 900px) {
  .product-detail-grid {
    grid-template-columns: minmax(260px, 0.85fr) minmax(380px, 1.15fr);
    gap: 2.25rem;
    align-items: start;
  }

  .product-detail-media {
    position: sticky;
    top: 5.5rem;
  }
}

.product-detail-media-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  border: 1px solid rgba(255, 45, 120, 0.16);
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 45, 120, 0.12), transparent 55%),
    rgba(255, 255, 255, 0.03);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

@media (max-width: 899px) {
  .product-detail-media {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .product-detail-media-frame {
    width: min(100%, 280px);
    aspect-ratio: 1 / 1;
    max-height: none;
    margin-inline: auto;
    padding: 1.1rem;
  }

  .product-detail-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
  }
}

.product-detail-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.product-detail-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
}

.product-detail-badge {
  position: absolute;
  top: 0.85rem;
  inset-inline-start: 0.85rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink-hot), var(--pink-deep));
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-detail-panel h1 {
  margin: 0.35rem 0 0;
  font-size: clamp(1.45rem, 4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.product-detail-category {
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink-hot);
}

.product-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.product-detail-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.product-detail-chip.is-instant,
.product-detail-chip.is-in-stock {
  color: #34d399;
  border-color: rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.08);
}

.product-detail-chip.is-manual,
.product-detail-chip.is-out-stock {
  color: var(--pink-hot);
  border-color: rgba(255, 45, 120, 0.28);
  background: rgba(255, 45, 120, 0.08);
}

.product-detail-chip.is-custom {
  color: var(--pink-hot);
  border-color: rgba(255, 45, 120, 0.28);
  background: rgba(255, 45, 120, 0.08);
}

.product-detail-lead {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  line-height: 1.5;
  font-size: 0.92rem;
}

.product-buy-card {
  margin-top: 1.1rem;
  padding: 1rem 1.05rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 45, 120, 0.16);
  background: rgba(255, 255, 255, 0.03);
  display: grid;
  gap: 0.9rem;
}

.product-buy-card.is-insufficient {
  border-color: rgba(255, 77, 109, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 77, 109, 0.18);
}

.product-insufficient {
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 77, 109, 0.35);
  background: rgba(255, 77, 109, 0.1);
}

.product-insufficient strong {
  color: #ff8aa0;
  font-size: 0.92rem;
}

.product-insufficient p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.product-insufficient-cta {
  justify-self: start;
  margin-top: 0.2rem;
}

@keyframes buy-now-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
}

.is-shaking {
  animation: buy-now-shake 0.52s ease-in-out;
}

.product-buy-unit {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
}

.product-buy-unit strong {
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  font-weight: 800;
  color: var(--pink-hot);
}

.product-buy-unit span,
.product-buy-unit s {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.product-amount-field {
  display: grid;
  gap: 0.4rem;
}

.product-amount-field > label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.product-amount-input {
  width: 100%;
  min-height: 54px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0 0.95rem;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
}

.product-amount-input:focus {
  outline: none;
  border-color: rgba(255, 45, 120, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 45, 120, 0.12);
}

.product-amount-wrap {
  position: relative;
}

.product-amount-flash {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 45, 120, 0.94);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.product-amount-wrap.is-flashing .product-amount-input {
  border-color: rgba(255, 45, 120, 0.7);
}

.product-qty-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.product-qty-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-qty-option {
  min-width: 4.5rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

.product-qty-option.is-active {
  border-color: rgba(255, 45, 120, 0.7);
  background: rgba(255, 45, 120, 0.12);
  color: #ff6b9a;
}

.product-qty-pay {
  display: grid;
  gap: 0.75rem;
}

.product-buy-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  background: rgba(255, 45, 120, 0.08);
  border: 1px solid rgba(255, 45, 120, 0.16);
}

.product-buy-total-copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.product-buy-total span {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.product-buy-total small {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 650;
}

.product-buy-total strong {
  font-size: clamp(1.2rem, 3vw, 1.55rem);
  font-weight: 800;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .product-buy-card {
    padding: 1.25rem 1.35rem 1.35rem;
    gap: 1.05rem;
  }

  .product-qty-pay {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: stretch;
  }

  .product-buy-total {
    min-height: 100%;
  }
}

.product-detail-price-box {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 45, 120, 0.16);
  background: rgba(255, 255, 255, 0.03);
}

.product-detail-price {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.product-detail-price strong {
  font-size: clamp(1.6rem, 4vw, 2rem);
  font-weight: 800;
  color: var(--pink-hot);
}

.product-detail-price s {
  color: var(--text-muted);
  font-size: 1rem;
}

.product-detail-unit-price {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 650;
}

.product-qty-field {
  display: grid;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.product-qty-field > label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.product-qty-stepper {
  width: fit-content;
}

.cart-qty-stepper .cart-qty.is-open-qty {
  width: 5.5rem;
}

.product-detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  margin: 1rem 0 0;
}

.product-detail-meta dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.product-detail-meta dd {
  margin: 0.2rem 0 0;
  font-weight: 700;
}

.product-detail-meta .is-in-stock {
  color: #34d399;
}

.product-detail-meta .is-out-stock {
  color: var(--pink-hot);
}

.product-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.product-buy-card .product-detail-actions-primary {
  margin-top: 0;
}

.product-detail-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.product-detail-btn.is-active {
  border-color: rgba(255, 77, 141, 0.45);
  color: var(--pink-hot);
}

.product-detail-stock-alert {
  margin: 0;
  font-weight: 700;
  color: var(--pink-hot);
}

.product-detail-message {
  margin: 0.85rem 0 0;
  font-size: 0.88rem;
  font-weight: 700;
  color: #34d399;
  animation: product-message-fade 1s ease forwards;
}

@keyframes product-message-fade {
  0%, 70% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.product-detail-secure {
  margin: 0.85rem 0 0;
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.product-customer-fields {
  margin-top: 0;
  padding: 0.9rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 45, 120, 0.18);
  background: rgba(255, 45, 120, 0.05);
}

.product-customer-fields-head h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
}

.product-customer-fields-head p {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.product-customer-fields-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.85rem;
}

.product-customer-field > span {
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
}

.product-customer-input,
.product-customer-select,
.product-customer-textarea {
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 0.9rem;
}

.product-customer-select {
  cursor: pointer;
}

.product-customer-select option {
  color: #111;
}

.product-customer-textarea {
  border: 1px solid rgba(255, 45, 120, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.65rem 0.85rem;
  resize: vertical;
  min-height: 84px;
}

.product-customer-error {
  color: var(--pink-hot);
  font-size: 0.74rem;
  font-weight: 600;
}

.product-customer-secure {
  margin: 0.75rem 0 0;
  font-size: 0.72rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.cart-line-details {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.cart-line-details li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.cart-line-details strong {
  color: var(--text);
  font-weight: 700;
}

.sidebar-quick-actions {
  padding: 0 0 0.65rem;
  margin-top: 0;
}

.sidebar-quick-actions .nav-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.sidebar-quick-actions .nav-tools .icon-btn {
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveals-ready .reveal:not(.is-revealed),
  .reveals-ready .reveal.is-revealed {
    opacity: 1 !important;
    transform: none !important;
  }

  .floating-contact-btn-icon,
  .floating-cart-btn,
  .ai-agent-panel-sheet {
    transition: none !important;
  }

  .hero-image,
  .hero-light,
  .hero-floor-base,
  .hero-floor-sheen,
  .hero-floor-ring,
  .hero-floor-spark,
  .hero .hero-in,
  .hero .hero-in-visual {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ── Account hub dashboard ── */
.account-hub {
  padding: 1.5rem 0 3.5rem;
}

.account-hub-shell {
  display: grid;
  grid-template-columns: minmax(250px, 290px) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.account-hub-sidebar {
  position: sticky;
  top: 5.5rem;
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 45, 120, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.account-hub-user {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.account-hub-avatar,
.account-hub-avatar--initials {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  object-fit: cover;
  flex-shrink: 0;
}

.account-hub-avatar--initials {
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(255, 45, 120, 0.25), rgba(255, 45, 120, 0.08));
  border: 1px solid rgba(255, 45, 120, 0.25);
  font-weight: 800;
  font-size: 1.1rem;
}

.account-hub-user-meta {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.account-hub-user-name {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
}

.account-hub-user-name strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1rem;
}

.account-hub-user-meta small {
  color: var(--text-muted);
  font-size: 0.78rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-hub-balance.wallet-balance-inline,
.sidebar-user-balance.wallet-balance-inline,
.profile-balance-row.wallet-balance-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.account-hub-balance {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 45, 120, 0.18);
  background: rgba(255, 45, 120, 0.06);
}

.account-hub-balance span {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  color: var(--text-muted);
}

.account-hub-balance strong {
  font-size: 1.15rem;
}

.account-hub-balance-link {
  margin-top: 0.15rem;
  color: var(--pink-hot);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.account-hub-nav {
  display: grid;
  gap: 0.25rem;
}

.account-hub-nav-link,
.account-hub-nav-link--logout {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0.72rem 0.8rem;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}

.account-hub-nav-link span,
.account-hub-nav-link--logout span {
  flex: 1;
  text-align: start;
}

.account-hub-nav-link:hover,
.account-hub-nav-link.is-active {
  color: var(--text);
  border-color: rgba(255, 45, 120, 0.22);
  background: rgba(255, 45, 120, 0.08);
}

.account-hub-nav-link.is-active {
  color: var(--pink-hot);
  box-shadow: inset 0 0 0 1px rgba(255, 45, 120, 0.12);
}

.account-hub-nav-link.is-locked {
  opacity: 0.72;
}

.account-hub-nav-link--admin {
  color: #93c5fd;
}

.account-hub-nav-link--logout {
  color: #fecaca;
}

.account-hub-sidebar-foot {
  display: grid;
  gap: 0.25rem;
  padding-top: 0.35rem;
  border-top: 1px solid var(--border);
}

.account-hub-main {
  display: grid;
        gap: 1rem;
  min-width: 0;
}

.account-hub-mobile-nav {
  display: none;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: none;
}

.account-mobile-hero {
  display: none;
}

.account-overview-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}

.account-metric-card {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem 0.65rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  min-width: 0;
}

.account-metric-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--pink-hot);
}

.account-metric-label {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.25;
}

.account-metric-value {
  font-size: 1.35rem;
  line-height: 1;
}

.account-hub-mobile-nav::-webkit-scrollbar {
  display: none;
}

.account-hub-mobile-link {
  flex: 0 0 auto;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.account-hub-mobile-link.is-active {
  border-color: rgba(255, 45, 120, 0.35);
  background: rgba(255, 45, 120, 0.1);
  color: var(--pink-hot);
}

.account-hub-head {
        display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.account-hub-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pink-hot);
}

.account-hub-head h1 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.1;
}

.account-hub-subtitle {
  margin: 0.45rem 0 0;
  color: var(--text-muted);
  max-width: 52ch;
}

.account-hub-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex-shrink: 0;
}

.account-alert {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  background: rgba(245, 158, 11, 0.08);
}

.account-alert-copy strong {
  display: block;
  margin-bottom: 0.2rem;
}

.account-alert-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.account-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.account-stat-card {
  display: grid;
  gap: 0.55rem;
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  min-height: 132px;
}

.account-stat-card--accent {
  border-color: rgba(255, 45, 120, 0.22);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 45, 120, 0.14), transparent 55%),
    rgba(255, 255, 255, 0.03);
}

.account-stat-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  color: var(--pink-hot);
}

.account-stat-copy {
  display: grid;
  gap: 0.15rem;
}

.account-stat-copy span {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.account-stat-copy strong {
  font-size: 1.25rem;
  line-height: 1.1;
}

.account-stat-wallet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.wallet-balance-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.wallet-balance-inline__copy {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

[data-wallet-balance].wallet-balance--updated {
  animation: wallet-balance-pulse 0.7s ease;
}

@keyframes wallet-balance-pulse {
  0% {
    color: inherit;
    transform: scale(1);
  }

  35% {
    color: var(--pink-hot);
    transform: scale(1.04);
  }

  100% {
    color: inherit;
    transform: scale(1);
  }
}

.wallet-balance-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.wallet-enter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 45, 120, 0.35);
  background: rgba(255, 45, 120, 0.1);
  color: var(--pink-hot);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.wallet-enter-btn:hover {
  background: rgba(255, 45, 120, 0.18);
  border-color: rgba(255, 45, 120, 0.55);
  color: #fff;
}

.wallet-add-btn {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 0;
  background: linear-gradient(135deg, #ff2d78, #ff4d8d);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(255, 45, 120, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.wallet-add-btn svg {
  display: block;
  color: #fff;
}

.wallet-add-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(255, 45, 120, 0.38);
  color: #fff;
}

.account-stat-link {
  color: var(--pink-hot);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}

.account-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
}

.account-panel {
  padding: 1.1rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.account-panel-head {
  margin-bottom: 0.95rem;
}

.account-panel-head h2 {
  margin: 0;
  font-size: 1rem;
}

.account-panel-head--split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.account-panel-link {
  color: var(--pink-hot);
  font-size: 0.82rem;
  font-weight: 700;
        text-decoration: none;
}

.account-panel-actions {
  margin-top: 0.95rem;
}

.account-quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.account-quick-card {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
        color: inherit;
  text-decoration: none;
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}

.account-quick-card:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 45, 120, 0.25);
  background: rgba(255, 45, 120, 0.06);
}

.account-quick-card strong {
  font-size: 0.9rem;
}

.account-quick-card span {
  color: var(--text-muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

.account-info-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.account-info-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.account-info-list div:last-child {
  border-bottom: 0;
}

.account-info-list dt {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.account-info-list dd {
        margin: 0;
        font-weight: 700;
  text-align: end;
}

.account-empty-state {
  display: grid;
  gap: 0.65rem;
  justify-items: start;
  padding: 0.5rem 0;
}

.account-empty-state--large {
  justify-items: center;
  text-align: center;
  padding: 2.5rem 1rem;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.account-empty-state--large h2 {
  margin: 0;
}

.account-empty-state--large p {
  margin: 0;
  color: var(--text-muted);
  max-width: 36ch;
}

.account-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: rgba(255, 45, 120, 0.08);
  color: var(--pink-hot);
}

.account-orders-toolbar {
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.account-order-card {
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.account-order-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.account-order-id {
  display: grid;
  gap: 0.15rem;
}

.account-order-id span {
  color: var(--text-muted);
        font-size: 0.78rem;
}

.account-order-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.65rem;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.account-order-items {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.65rem;
}

.account-order-items > span {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 0.72rem;
  color: var(--text-soft);
}

.account-order-more {
  color: var(--pink-hot) !important;
}

.account-pagination {
  margin-top: 0.5rem;
}

.account-wallet-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 45, 120, 0.2);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 45, 120, 0.16), transparent 48%),
    rgba(255, 255, 255, 0.03);
}

.account-wallet-balance span {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.account-wallet-balance strong {
  display: block;
  margin-top: 0.2rem;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1;
}

.account-wallet-balance p {
  margin: 0.45rem 0 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  max-width: 38ch;
}

.wallet-tx-preview {
  margin-top: 2rem;
}

.wallet-tx-preview__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.wallet-tx-preview__head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.wallet-tx-toolbar {
  margin: 1rem 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.wallet-tx-list {
  display: grid;
  gap: 0.75rem;
}

.wallet-tx-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.wallet-tx-card.is-pending {
  border-color: rgba(255, 193, 7, 0.28);
  background: rgba(255, 193, 7, 0.05);
}

.wallet-tx-card__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
}

.wallet-tx-card__icon img {
  max-width: 3rem;
  max-height: 1.5rem;
  object-fit: contain;
}

.wallet-tx-card__fallback {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--pink-hot);
}

.wallet-tx-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.wallet-tx-card__head strong {
  display: block;
  font-size: 0.95rem;
}

.wallet-tx-card__type {
  display: block;
  margin-top: 0.15rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.wallet-tx-card__amount {
  font-size: 1rem;
  white-space: nowrap;
}

.wallet-tx-card__amount.is-credit {
  color: #4ade80;
}

.wallet-tx-card__amount.is-debit {
  color: #fb7185;
}

.wallet-tx-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-top: 0.55rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.wallet-tx-card__status {
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-weight: 700;
}

.wallet-tx-card__status.is-pending {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.35);
}

.wallet-tx-card__status.is-completed {
  color: #4ade80;
  border-color: rgba(74, 222, 128, 0.35);
}

.wallet-tx-card__status.is-cancelled {
  color: var(--text-muted);
}

.wallet-tx-card__status.is-refunded {
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.35);
}

.wallet-tx-card__link,
.wallet-tx-card__ref {
  display: inline-block;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.wallet-tx-card__link {
  color: var(--pink-hot);
}

.account-wallet-actions {
  display: grid;
  gap: 0.45rem;
  justify-items: end;
}

.account-badge-soon {
  display: inline-flex;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.account-badge-soon--inline {
  margin-bottom: 0.45rem;
}

.account-feature-list,
.account-action-list,
.account-toggle-list {
  display: grid;
  gap: 0.65rem;
}

.account-feature-item,
.account-action-row,
.account-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.account-feature-item {
  align-items: flex-start;
}

.account-feature-item > div,
.account-action-row > div,
.account-toggle-row > div {
  display: grid;
  gap: 0.12rem;
}

.account-toggle-row span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.account-toggle-input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--pink-hot);
  flex-shrink: 0;
}

label.account-toggle-row {
  cursor: pointer;
}

.account-muted-copy {
  margin: 0.85rem 0 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.account-coming-soon-card {
  margin-top: 0.95rem;
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.02);
}

.account-coming-soon-card p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.account-order-items {
  display: grid;
  gap: 0.75rem;
}

.account-order-item-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.account-order-item-body {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.25rem;
}

.account-order-item-media {
  display: block;
  flex: 0 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  position: relative;
}

.account-order-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-order-item-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 800;
}

.account-order-reseller-badge {
  display: inline-flex;
  width: fit-content;
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  background: rgba(251, 191, 36, 0.12);
  color: #fcd34d;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.account-order-expiry {
  color: #fcd34d;
  font-size: 0.78rem;
}

.account-order-delivery-link {
  color: #93c5fd;
  font-size: 0.8rem;
        font-weight: 600;
  text-decoration: none;
}

.account-order-delivery-link:hover {
  text-decoration: underline;
}

.account-order-card-foot {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.account-order-type-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(255, 45, 120, 0.12);
  color: var(--pink-hot);
  font-size: 0.72rem;
  font-weight: 700;
}

.account-order-type-badge.is-muted {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.account-order-detail {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.02);
}

.account-order-detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.account-order-detail-meta div {
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.account-order-detail-meta dt {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.account-order-detail-meta dd {
  margin: 0.25rem 0 0;
  font-weight: 700;
}

.account-order-detail-items {
  margin-top: 1.25rem;
}

.account-order-detail-items h2 {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.account-order-detail-item {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.account-order-detail-item-main {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.account-order-detail-item-content {
  flex: 1;
  min-width: 0;
}

.account-order-detail-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.account-order-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.account-order-detail-fields {
  list-style: none;
  margin: 0.65rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.25rem;
}

.account-order-detail-fields li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: 0.78rem;
}

.account-order-detail-fields strong {
  color: var(--text);
}

.account-toggle {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.account-toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  inset-inline-start: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform .15s ease;
}

.account-toggle--on {
  background: rgba(255, 45, 120, 0.35);
  border-color: rgba(255, 45, 120, 0.45);
}

.account-toggle--on::after {
  transform: translateX(18px);
}

[dir="rtl"] .account-toggle--on::after {
  transform: translateX(-18px);
}

.account-api-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(96, 165, 250, 0.2);
  background:
    radial-gradient(circle at 100% 0%, rgba(96, 165, 250, 0.12), transparent 45%),
    rgba(255, 255, 255, 0.03);
}

.account-api-copy h2 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

.account-api-copy p {
  margin: 0;
  color: var(--text-muted);
  max-width: 52ch;
  line-height: 1.5;
}

.account-api-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
  justify-content: flex-end;
}

.account-code-block {
  display: grid;
  gap: 0.35rem;
  margin: 0.85rem 0;
  padding: 0.85rem;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
}

.account-code-block span {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.account-code-block code,
.account-endpoint-row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
  color: #93c5fd;
  word-break: break-all;
}

.account-endpoint-list {
  display: grid;
  gap: 0.65rem;
}

.account-endpoint-row {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.account-endpoint-method {
  display: inline-flex;
  width: fit-content;
  padding: 0.18rem 0.45rem;
        border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
  font-size: 0.68rem;
  font-weight: 800;
}

.account-endpoint-row p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.account-security-grid {
  display: grid;
  gap: 0.65rem;
}

.account-security-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.8rem 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.account-security-item span {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.account-security-item--ok {
  border-color: rgba(34, 197, 94, 0.2);
  background: rgba(34, 197, 94, 0.06);
}

.account-security-item--ok svg {
  color: #86efac;
}

@media (max-width: 1080px) {
  .account-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .account-hub-shell {
    grid-template-columns: 1fr;
  }

  .account-hub-sidebar {
    display: none;
  }

  .account-mobile-hero {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 45, 120, 0.18);
    background:
      radial-gradient(circle at 100% 0%, rgba(255, 45, 120, 0.16), transparent 52%),
      rgba(255, 255, 255, 0.03);
    box-shadow: var(--shadow);
  }

  .account-mobile-hero-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
  }

  .account-mobile-hero-avatar,
  .account-mobile-hero-avatar--initials {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
  }

  .account-mobile-hero-avatar--initials {
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(255, 45, 120, 0.25), rgba(255, 45, 120, 0.08));
    border: 1px solid rgba(255, 45, 120, 0.25);
    font-weight: 800;
    font-size: 0.95rem;
  }

  .account-mobile-hero-meta {
    display: grid;
    gap: 0.2rem;
    min-width: 0;
  }

  .account-mobile-hero-name {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    min-width: 0;
  }

  .account-mobile-hero-name strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.98rem;
  }

  .account-mobile-hero-meta small {
    color: var(--text-muted);
    font-size: 0.76rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .account-mobile-hero-wallet {
    display: grid;
    gap: 0.55rem;
    padding: 0.85rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 45, 120, 0.2);
    background: rgba(255, 45, 120, 0.06);
  }

  .account-mobile-hero-wallet-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .account-mobile-hero-wallet-copy {
    display: grid;
    gap: 0.15rem;
    min-width: 0;
  }

  .account-mobile-hero-wallet-copy span {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 800;
    color: var(--text-muted);
  }

  .account-mobile-hero-wallet-copy strong {
    font-size: 1.35rem;
    line-height: 1.05;
  }

  .account-mobile-hero-wallet-link {
    color: var(--pink-hot);
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
  }

  .account-hub-mobile-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    overflow: visible;
    padding-bottom: 0;
  }

  .account-hub-mobile-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 78px;
    padding: 0.65rem 0.35rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-soft);
    text-decoration: none;
    text-align: center;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, transform 0.15s ease;
  }

  .account-hub-mobile-tile-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.04);
    color: inherit;
  }

  .account-hub-mobile-tile-label {
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
  }

  .account-hub-mobile-tile.is-active {
    border-color: rgba(255, 45, 120, 0.35);
    background: rgba(255, 45, 120, 0.1);
    color: var(--pink-hot);
  }

  .account-hub-mobile-tile.is-active .account-hub-mobile-tile-icon {
    background: rgba(255, 45, 120, 0.14);
    color: var(--pink-hot);
  }

  .account-hub-mobile-tile.is-locked {
    opacity: 0.72;
  }

  .account-hub-mobile-link {
    display: none;
  }

  .account-hub-eyebrow,
  .account-hub-subtitle {
    display: none;
  }

  .account-hub-head {
    margin-bottom: 0.15rem;
  }

  .account-hub-head h1 {
    font-size: 1.2rem;
  }

  .account-panel-grid,
  .account-quick-grid {
    grid-template-columns: 1fr;
  }

  .account-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-quick-card {
    min-height: 92px;
    align-content: start;
  }

  .account-info-list div {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.85rem 0;
  }

  .account-info-list dd {
    text-align: start;
    font-size: 0.92rem;
  }

  .account-wallet-hero,
  .account-api-hero,
  .account-hub-head,
  .account-alert {
    flex-direction: column;
    align-items: stretch;
  }

  .account-wallet-actions,
  .account-api-actions,
  .account-hub-actions {
    justify-content: stretch;
  }

  .account-wallet-actions .btn,
  .account-api-actions .btn {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .account-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Mobile header + account fixes (portrait phones, e.g. Galaxy S8 360px) ── */
@media (max-width: 767px) {
  .container {
    width: min(1200px, calc(100% - 1rem));
  }

  .site-header .header-inner {
    gap: 0.35rem;
    min-height: 56px;
    min-width: 0;
  }

  .header-left {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
  }

  .header-left .icon-btn {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
  }

  .brand {
    min-width: 0;
    gap: 0.4rem;
    overflow: visible;
    flex-shrink: 1;
  }

  .brand img {
    width: auto;
    height: 34px;
    max-width: 148px;
    flex-shrink: 0;
  }

  .site-header .brand-text {
    display: none !important;
  }

  .site-header .header-actions .nav-tools {
    display: none;
  }

  .brand-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    min-width: 0;
    overflow: visible;
    flex-shrink: 1;
  }

  .brand-text strong {
    display: block;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
  }

  .brand-text small {
    display: block;
    font-size: 0.56rem;
    letter-spacing: 0.1em;
    white-space: nowrap;
    line-height: 1.15;
  }

  .header-actions {
    gap: 0.2rem;
    flex-shrink: 0;
    min-width: 0;
  }

  .header-wallet-chip {
    min-height: 36px;
    max-width: 6.4rem;
    padding: 0.2rem 0.48rem;
    border-radius: 10px;
  }

  .header-wallet-chip-label {
    display: none;
  }

  .header-wallet-chip [data-wallet-balance] {
    font-size: 0.68rem;
  }

  .header-actions .icon-btn,
  .header-actions .lang-btn {
    width: 36px;
    height: 36px;
    min-height: 36px;
    padding: 0;
  }

  .header-actions .lang-btn span,
  .header-actions .lang-btn svg:last-child {
    display: none;
  }

  .header-actions .lang-btn {
    justify-content: center;
    gap: 0;
  }

  .profile-trigger-avatar,
  .profile-trigger-avatar--initials {
    width: 34px;
    height: 34px;
    font-size: 0.72rem;
  }

  .nav-tools {
    gap: 0.15rem;
  }

  .account-hub {
    padding: 1rem 0 5.5rem;
  }

  .account-hub-head {
    text-align: start;
    align-items: flex-start;
  }

  .account-hub-head h1 {
    font-size: 1.15rem;
  }

  .account-overview-metrics {
    gap: 0.5rem;
  }

  .account-metric-card {
    padding: 0.75rem 0.5rem;
    border-radius: 14px;
  }

  .account-metric-label {
    font-size: 0.66rem;
  }

  .account-metric-value {
    font-size: 1.2rem;
  }

  .account-hub-mobile-tile {
    min-height: 72px;
    padding: 0.55rem 0.25rem;
  }

  .account-hub-mobile-tile-label {
    font-size: 0.62rem;
  }

  .account-quick-grid {
    grid-template-columns: 1fr;
  }

  .account-quick-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.75rem;
    row-gap: 0.1rem;
    align-items: center;
    min-height: 0;
    padding: 0.9rem 1rem;
  }

  .account-quick-card > svg,
  .account-quick-card > .icon,
  .account-quick-card svg:first-child {
    grid-row: 1 / span 2;
  }

  .account-alert {
    flex-direction: column;
    align-items: stretch;
  }

  .account-wallet-hero,
  .account-api-hero {
    padding: 1rem;
  }

  .account-endpoint-row code {
    font-size: 0.72rem;
  }
}

@media (max-width: 767px) and (orientation: portrait) {
  /* Cart lives in floating dock + mobile sidebar — hide from top navbar on portrait phones */
  .site-header .nav-tool-cart {
    display: none !important;
  }
}

/* Account API portal */
.account-api-subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.account-api-subnav-link {
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
}

.account-api-subnav-link.is-active,
.account-api-subnav-link:hover {
  border-color: rgba(255, 45, 120, 0.35);
  background: rgba(255, 45, 120, 0.08);
  color: var(--pink-hot);
}

.account-panel--highlight {
  border-color: rgba(34, 197, 94, 0.25);
  background: rgba(34, 197, 94, 0.06);
}

.account-alert--success {
  border-color: rgba(34, 197, 94, 0.25);
  background: rgba(34, 197, 94, 0.08);
}

.account-field {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.account-field span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.account-field input,
.account-field select {
  width: 100%;
  min-height: 42px;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text);
}

.account-field-error {
  margin: -0.45rem 0 0.65rem;
  color: #fca5a5;
  font-size: 0.82rem;
}

.account-token-list {
  display: grid;
  gap: 0.65rem;
}

.account-token-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.account-token-main {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.account-token-main code {
  font-size: 0.78rem;
  color: #93c5fd;
}

.account-token-main span {
  color: var(--text-muted);
  font-size: 0.76rem;
}

.account-playground-grid {
  display: grid;
  gap: 0.65rem;
}

.account-playground-response pre,
.account-playground-request pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.account-playground-response__body {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.account-playground-response__status {
  font-size: 0.82rem;
  font-weight: 700;
  color: #86efac;
}

.account-playground-response__preview-note {
  margin: 0;
  font-size: 0.78rem;
  color: #fcd34d;
}

.account-playground-see-more {
  align-self: flex-start;
}

.account-info-list--icons dt {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.account-toggle-row-head {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.account-toggle-row-head svg {
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: var(--pink-hot);
}

.account-hub-nav-link svg {
  flex-shrink: 0;
}

.account-api-details {
  display: grid;
  gap: 0.65rem;
}

.account-api-detail-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.account-api-detail-row--token {
  align-items: center;
}

.account-api-detail-copy {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
  flex: 1;
}

.account-api-detail-copy span {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.account-api-detail-copy code,
.account-api-detail-copy pre {
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
  color: #93c5fd;
  word-break: break-all;
  white-space: pre-wrap;
}

.account-api-detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  flex-shrink: 0;
}

.account-token-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  flex-shrink: 0;
}

.account-btn-danger {
  border-color: rgba(248, 113, 113, 0.35);
  color: #fca5a5;
}

.account-btn-danger:hover {
  background: rgba(248, 113, 113, 0.08);
}

.account-btn-danger-solid {
  background: #dc2626;
  border-color: #dc2626;
}

.account-btn-danger-solid:hover {
  background: #b91c1c;
}

#new-api-token.is-masked {
  filter: blur(6px);
  user-select: none;
}

.account-token-detail-meta {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.account-token-detail-meta code {
  font-size: 0.82rem;
  color: #93c5fd;
}

.account-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.account-modal[hidden] {
  display: none !important;
}

.account-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.account-modal-dialog {
  position: relative;
  width: min(100%, 560px);
  max-height: calc(100vh - 2rem);
  overflow: auto;
  padding: 1.1rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface-1, #120818);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.account-modal-dialog--danger {
  border-color: rgba(248, 113, 113, 0.25);
}

.account-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.account-modal-head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.account-modal-close {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.account-modal-warning {
  color: #fca5a5;
        font-size: 0.85rem;
  margin: 0.65rem 0;
}

.account-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

body.account-modal-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .account-api-detail-row,
  .account-token-row {
    flex-direction: column;
    align-items: stretch;
  }

  .account-token-actions,
  .account-api-detail-actions,
  .account-modal-actions {
    width: 100%;
  }

  .account-token-actions .btn,
  .account-api-detail-actions .btn,
  .account-modal-actions .btn {
    flex: 1;
  }
}

/* API Hub — redesigned keys page */
.api-hub {
  display: grid;
  gap: 1rem;
}

.api-hub-alert {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(34, 197, 94, 0.25);
  background: rgba(34, 197, 94, 0.08);
  color: #86efac;
        font-size: 0.9rem;
    }

.api-hub-alert--success {
  border-color: rgba(34, 197, 94, 0.25);
  background: rgba(34, 197, 94, 0.08);
  color: #86efac;
}

.api-hub-alert--warning {
  border-color: rgba(251, 191, 36, 0.3);
  background: rgba(251, 191, 36, 0.08);
  color: #fcd34d;
}

.api-hub-stat__hint {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.api-hub-stat__count.is-full {
  color: #fcd34d;
}

.api-hub-limit-badge {
  display: inline-flex;
  margin-top: 0.45rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 45, 120, 0.25);
  background: rgba(255, 45, 120, 0.08);
  color: var(--pink-hot);
  font-size: 0.72rem;
  font-weight: 800;
}

.api-hub-banner {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.api-hub-banner--success {
  border-color: rgba(34, 197, 94, 0.3);
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(255, 45, 120, 0.04));
}

.api-hub-banner--connector {
  border-color: rgba(255, 45, 120, 0.35);
  background: linear-gradient(135deg, rgba(255, 45, 120, 0.12), rgba(34, 197, 94, 0.04));
}

.api-hub-banner--connector .api-hub-banner__eyebrow {
  color: #fda4af;
}

.api-hub-banner--connector .api-copy-grid {
  margin-bottom: 0.75rem;
}

.api-hub-banner--connector .api-hub-banner__text + .api-hub-banner__text {
  margin-top: 0.5rem;
}

.api-hub-banner__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.api-hub-banner__eyebrow {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #86efac;
}

.api-hub-banner__text {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.85rem;
}

.api-hub-tabs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.api-hub-tabs::-webkit-scrollbar {
  display: none;
}

.api-hub-tabs__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.api-hub-tabs__link.is-active,
.api-hub-tabs__link:hover {
  border-color: rgba(255, 45, 120, 0.4);
  background: rgba(255, 45, 120, 0.1);
  color: var(--pink-hot);
}

.api-hub-stats {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.22);
}

.api-hub-stat {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.api-hub-stat__label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.api-hub-stat__value {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.78rem;
  color: #93c5fd;
  word-break: break-all;
}

.api-hub-stat__count {
  font-size: 1.35rem;
  color: var(--text);
}

.api-hub-stat--action {
  display: flex;
  align-items: center;
}

.api-hub-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 1rem;
}

.api-hub-card {
  padding: 1rem;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.api-hub-card--tokens {
  grid-column: 1 / -1;
}

.api-hub-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.api-hub-card__head svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--pink-hot);
}

.api-hub-card__head h2 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.api-hub-card__head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.api-hub-form {
  display: grid;
  gap: 0.75rem;
}

.api-hub-form__field {
  display: grid;
  gap: 0.35rem;
}

.api-hub-form__field span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.api-hub-form__field input {
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
}

.api-hub-form__error {
  margin: 0;
  color: #fca5a5;
  font-size: 0.82rem;
}

.api-hub-form__hint {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.api-endpoints-table {
  display: grid;
  gap: 0.45rem;
}

.api-endpoints-table__head {
  display: none;
}

.api-endpoint-badge {
  display: inline-flex;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
  font-size: 0.72rem;
  font-weight: 800;
}

.api-endpoints-table__row {
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.15);
}

.api-endpoints-table__row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
  color: #93c5fd;
}

.api-endpoints-table__row p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.8rem;
  line-height: 1.4;
}

.api-hub-empty {
  display: grid;
  justify-items: center;
  gap: 0.65rem;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--text-muted);
}

.api-token-cards {
  display: grid;
  gap: 1rem;
}

.api-token-card {
  border-radius: 16px;
  border: 1px solid rgba(255, 45, 120, 0.15);
  background: rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.api-token-card__head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem 1rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 45, 120, 0.04);
}

.api-token-card__identity {
  display: grid;
  gap: 0.25rem;
  min-width: 0;
}

.api-token-card__identity strong {
  font-size: 1rem;
}

.api-token-card__identity code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
  color: #93c5fd;
  word-break: break-all;
}

.api-token-card__meta {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
}

.api-token-card__meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text-muted);
  font-size: 0.76rem;
}

.api-token-card__revoke {
  align-self: start;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: transparent;
  color: #fca5a5;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.api-token-card__revoke:hover {
  background: rgba(248, 113, 113, 0.1);
}

.api-token-card__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--border);
}

.api-copy-grid {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
}

.api-copy-grid--highlight {
  padding: 0;
}

.api-copy-field {
  display: grid;
  gap: 0.35rem;
}

.api-copy-field--full {
  grid-column: 1 / -1;
}

.api-copy-field__label {
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.api-copy-btn.is-copied {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
}

.api-copy-source {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: pre-wrap;
  border: 0;
}

.api-copy-toast {
  position: fixed;
  left: 50%;
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  z-index: 1400;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.35);
  background: rgba(10, 20, 14, 0.92);
  color: #86efac;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.api-copy-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.api-copy-field__row {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.2);
}

.api-copy-field__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  flex-shrink: 0;
}

.api-copy-field__value {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.8rem;
  color: #93c5fd;
  word-break: break-all;
  white-space: pre-wrap;
}

.api-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  padding: 0.45rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 45, 120, 0.3);
  background: rgba(255, 45, 120, 0.08);
  color: var(--pink-hot);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.api-copy-btn:hover {
  background: rgba(255, 45, 120, 0.14);
}

.api-copy-btn--ghost {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
}

.api-copy-btn--compact {
  width: fit-content;
  margin-top: 0.25rem;
}

#new-api-token.is-masked,
.api-secret-field__value.is-hidden {
  filter: blur(5px);
  user-select: none;
}

.api-token-card--legacy {
  border-color: rgba(251, 191, 36, 0.25);
}

.api-token-card__title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.api-token-card__preview {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: #93c5fd;
}

.api-token-badge {
  display: inline-flex;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.api-token-badge--active {
  background: rgba(34, 197, 94, 0.12);
  color: #86efac;
}

.api-token-badge--legacy {
  background: rgba(251, 191, 36, 0.12);
  color: #fcd34d;
}

.api-token-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.api-token-card__legacy-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.25);
  background: rgba(251, 191, 36, 0.08);
  color: #fcd34d;
}

.api-token-card__legacy-banner p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.45;
}

.api-legacy-copy-note {
  color: #fcd34d;
  font-size: 0.78rem;
  line-height: 1.4;
}

.api-copy-field__row--token {
  flex-direction: column;
  align-items: stretch;
}

@media (min-width: 640px) {
  .api-copy-field__row--token {
    flex-direction: row;
    align-items: flex-start;
  }
}

.api-token-card__legacy {
  display: block;
  margin-top: 0.25rem;
  color: #fcd34d;
  font-size: 0.76rem;
  line-height: 1.4;
}

.api-secret-field {
  grid-column: 1 / -1;
}

.api-revoke-modal .account-modal-dialog {
  width: min(100%, 420px);
}

@media (min-width: 900px) {
  .api-endpoints-table__head {
    display: grid;
    grid-template-columns: 5rem 10rem 1fr;
    gap: 0.75rem;
    padding: 0 0.75rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
  }

  .api-endpoints-table__row {
    grid-template-columns: 5rem 10rem 1fr;
    align-items: center;
    gap: 0.75rem;
  }

  .api-endpoints-table__row p {
    font-size: 0.82rem;
  }
}

@media (max-width: 899px) {
  .api-hub-layout {
            grid-template-columns: 1fr;
  }

  .api-hub-stats {
    grid-template-columns: 1fr;
  }

  .api-hub-stat--action .btn {
    width: 100%;
  }

  .api-hub-banner__head {
    flex-direction: column;
  }

  .api-hub-banner__head .btn {
    width: 100%;
  }

  .api-copy-field__row {
    flex-direction: column;
  }

  .api-copy-field__actions,
  .api-copy-btn {
    width: 100%;
    justify-content: center;
  }

  .api-token-card__head {
    grid-template-columns: 1fr;
  }

  .api-token-card__revoke {
    width: 100%;
  }

  .api-token-card__foot .btn {
    flex: 1;
  }

  .account-hub-actions .api-hub-head-btn {
    flex: 1;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .api-hub-tabs__link span,
  .api-copy-btn span {
    font-size: 0.72rem;
  }

  .api-hub-card,
  .api-hub-banner,
  .api-hub-stats {
    padding: 0.85rem;
        }
    }

/* Whish / payment pages */
.payment-section { padding-top: 1.5rem; padding-bottom: 3rem; }
.payment-container { max-width: 1120px; }
.payment-page-head { margin-bottom: 1rem; }
.payment-page-eyebrow { display: inline-block; margin-bottom: 0.35rem; color: var(--pink-hot); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.payment-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr); gap: 1rem; align-items: start; }
.payment-whish-card, .payment-sidebar-card, .payment-topup-form { border: 1px solid var(--border); border-radius: 18px; background: rgba(255, 255, 255, 0.02); padding: 1.1rem; }
.payment-whish-head { display: flex; gap: 0.85rem; align-items: center; margin-bottom: 1rem; }
.payment-whish-logo { border-radius: 14px; background: #fff; padding: 0.35rem; }
.payment-whish-eyebrow { display: block; color: var(--text-muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; }
.payment-whish-head h2 { margin: 0.15rem 0 0; font-size: 1.15rem; }
.payment-whish-amount, .payment-whish-ref { padding: 0.85rem; border-radius: 14px; background: rgba(255, 45, 120, 0.08); border: 1px solid rgba(255, 45, 120, 0.18); margin-bottom: 0.85rem; }
.payment-whish-amount strong, .payment-ref-copy code { display: block; font-size: 1.35rem; font-weight: 800; margin-top: 0.25rem; }
.payment-ref-copy { display: flex; align-items: center; gap: 0.65rem; margin-top: 0.35rem; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; }
.payment-ref-copy.is-copied span { color: #86efac; }
.payment-whish-steps { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.45rem; color: var(--text-muted); font-size: 0.88rem; }
.payment-whish-meta { display: grid; gap: 0.25rem; margin-top: 0.85rem; font-size: 0.78rem; color: var(--text-muted); }
.payment-sidebar { display: grid; gap: 0.75rem; }
.payment-sidebar-items { list-style: none; margin: 0.75rem 0; padding: 0; display: grid; gap: 0.45rem; }
.payment-sidebar-items li { display: flex; justify-content: space-between; gap: 0.75rem; font-size: 0.84rem; }
.payment-sidebar-total { display: flex; justify-content: space-between; padding-top: 0.75rem; border-top: 1px solid rgba(255, 255, 255, 0.08); font-weight: 800; }
.payment-wallet-form, .payment-account-foot { margin-top: 0.75rem; }
.btn-block { width: 100%; }
@media (max-width: 900px) { .payment-layout { grid-template-columns: minmax(0, 1fr); } }

/* Wallet — pro mobile accordion */
.wallet-pay {
  display: grid;
  gap: 1rem;
}

.account-wallet-hero--pro {
  margin-bottom: 0.25rem;
}

.account-wallet-hero--pro .account-wallet-balance p {
  display: none;
}

.wallet-pay-id {
  padding: 1.15rem 1.1rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 45, 120, 0.28);
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 45, 120, 0.18), transparent 52%),
    linear-gradient(145deg, rgba(255, 45, 120, 0.1), rgba(255, 255, 255, 0.02));
  box-shadow: 0 12px 40px rgba(255, 45, 120, 0.08);
}

.wallet-pay-id-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.wallet-pay-id-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.45rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.wallet-pay-id-number {
  font-size: clamp(2rem, 8vw, 2.75rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.wallet-pay-id-copy {
  flex-shrink: 0;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 45, 120, 0.35);
  background: rgba(255, 45, 120, 0.12);
  color: var(--pink-hot);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wallet-pay-id-value.is-copied .wallet-pay-id-copy,
.wallet-pay-detail-value.is-copied span:last-child {
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.12);
}

.wallet-pay-id-hint {
  margin: 0.7rem 0 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.wallet-pay-head h2 {
  margin: 0;
  font-size: 1.05rem;
}

.wallet-pay-head p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.84rem;
}

.wallet-pay-list {
  display: grid;
  gap: 0.65rem;
}

.wallet-pay-item {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="light"] .wallet-pay-item {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.wallet-pay-item.is-open {
  border-color: rgba(255, 45, 120, 0.35);
  box-shadow: 0 14px 36px rgba(255, 45, 120, 0.1);
}

.wallet-pay-trigger {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.95rem 1rem;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.wallet-pay-trigger-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 44px;
  border-radius: 12px;
  background: #121826;
  padding: 0.35rem 0.45rem;
}

[data-theme="light"] .wallet-pay-trigger-logo {
  background: #121826;
}

.wallet-pay-trigger-logo img {
  display: block;
  max-width: 100%;
  max-height: 24px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.wallet-pay-trigger-meta strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
}

.wallet-pay-trigger-meta small {
  display: block;
  margin-top: 0.12rem;
  color: var(--text-muted);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

[data-theme="light"] .wallet-pay-trigger-meta strong {
  color: var(--text);
}

.wallet-pay-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.wallet-pay-badge {
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

.wallet-pay-badge.is-auto {
  color: #86efac;
  background: rgba(34, 197, 94, 0.14);
}

.wallet-pay-badge.is-fee {
  color: #fbbf24;
  background: rgba(245, 158, 11, 0.16);
}

.wallet-pay-chevron {
  display: flex;
  color: var(--text-muted);
  transition: transform 0.22s ease;
}

.wallet-pay-item.is-open .wallet-pay-chevron {
  transform: rotate(180deg);
  color: var(--pink-hot);
}

.wallet-pay-panel {
  padding: 0 1rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .wallet-pay-panel {
  border-top-color: rgba(15, 23, 42, 0.08);
}

.wallet-pay-detail {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wallet-pay-detail:last-of-type {
  border-bottom: 0;
}

.wallet-pay-detail--highlight {
  margin-top: 0.15rem;
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 45, 120, 0.22);
  background: rgba(255, 45, 120, 0.08);
}

.wallet-pay-detail--fee {
  margin-top: 0.15rem;
  padding: 0.75rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(245, 158, 11, 0.22);
  background: rgba(245, 158, 11, 0.1);
}

.wallet-pay-note {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.wallet-pay-detail-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wallet-pay-detail-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.wallet-pay-detail-value code,
.wallet-pay-detail-static {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  word-break: break-all;
}

.wallet-pay-detail-value span:last-child {
  flex-shrink: 0;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wallet-pay-detail-hint {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.8rem;
  line-height: 1.4;
}

.wallet-pay-steps {
  margin: 0.85rem 0 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.45rem;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.wallet-pay-auto-note {
  margin: 0.85rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  color: #86efac;
  font-size: 0.78rem;
  line-height: 1.4;
}

.wallet-pay-manual {
  padding: 0.85rem 0 0.25rem;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.wallet-pay-manual p {
  margin: 0 0 0.5rem;
}

@media (min-width: 768px) {
  .wallet-pay-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .wallet-pay-item.is-open {
    grid-column: 1 / -1;
  }
}

.auth-honeypot label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.checkout-container {
  max-width: 1120px;
}

.checkout-section {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

.co-steps {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.025);
}

.co-step {
  display: flex;
  align-items: center;
  min-width: 0;
}

.co-step:not(:last-child) {
  flex: 1;
}

.co-step:not(:last-child)::after {
  content: "";
  flex: 1 1 auto;
  min-width: 1.25rem;
  height: 2px;
  margin-inline: 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.co-step.is-done:not(:last-child)::after,
.co-step.is-current:not(:last-child)::after {
  background: rgba(255, 45, 120, 0.45);
}

.co-step-inner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

a.co-step-inner:hover .co-step-label {
  color: var(--text);
}

.co-step-index {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.co-step-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.co-step.is-current .co-step-index {
  border-color: rgba(255, 45, 120, 0.55);
  background: var(--pink-hot);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 45, 120, 0.16);
}

.co-step.is-current .co-step-label {
  color: var(--text);
}

.co-step.is-done .co-step-index {
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(52, 211, 153, 0.16);
  color: #34d399;
}

.co-step.is-done .co-step-label {
  color: var(--text);
}

.checkout-layout,
.checkout-main {
  display: grid;
  gap: 1rem;
}

.checkout-items-card,
.checkout-promo-card,
.checkout-summary-card {
  border-radius: 20px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.checkout-items-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.checkout-items-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.checkout-items-head h2 {
  margin: 0;
  font-size: 1rem;
}

.checkout-items-head span {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.checkout-edit-cart {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--pink-hot);
  text-decoration: none;
  white-space: nowrap;
}

.checkout-edit-cart:hover {
  text-decoration: underline;
}

.checkout-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 0.9rem;
  align-items: center;
  padding: 1rem 1.15rem;
}

.checkout-item + .checkout-item {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.checkout-item-media {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.checkout-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.checkout-item-copy {
  min-width: 0;
}

.checkout-item-copy strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.3;
}

.checkout-item-copy > p {
  margin: 0.3rem 0 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.checkout-item-details {
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.2rem;
}

.checkout-item-details li {
  color: var(--text-muted);
  font-size: 0.74rem;
}

.checkout-item-total {
  text-align: end;
}

.checkout-item-total strong {
  display: block;
  font-size: 1rem;
  color: var(--pink-hot);
}

.checkout-item-total small {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.checkout-promo-card,
.checkout-summary-card {
  padding: 1.15rem;
}

.checkout-summary-card {
  border-color: rgba(255, 45, 120, 0.18);
  background: rgba(255, 45, 120, 0.05);
}

.checkout-promo-head h2,
.checkout-summary-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.checkout-promo-head p {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.checkout-promo-form {
  display: grid;
  gap: 0.75rem;
}

.checkout-promo-field {
  display: grid;
  gap: 0.35rem;
}

.checkout-promo-field span {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.checkout-promo-field input {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.checkout-promo-applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 45, 120, 0.22);
  background: rgba(255, 45, 120, 0.06);
}

.checkout-promo-applied-copy {
  display: grid;
  gap: 0.15rem;
}

.checkout-promo-applied-copy span,
.checkout-promo-applied-copy small {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.checkout-summary-row,
.checkout-summary-total,
.payment-sidebar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.55rem 0;
}

.checkout-summary-row--discount,
.payment-sidebar-row--discount {
  color: #86efac;
}

.checkout-summary-total,
.payment-sidebar-total {
  margin-top: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 1.05rem;
  font-weight: 800;
}

.checkout-summary-total strong,
.payment-sidebar-total strong {
  color: var(--pink-hot);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.checkout-summary-total small {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.checkout-summary-card form {
  margin-top: 0.9rem;
}

.checkout-place-btn {
  min-height: 48px;
  font-weight: 800;
}

.checkout-back-btn {
  margin-top: 0.5rem;
}

.payment-sidebar .checkout-summary-secure {
  margin-top: 0.25rem;
}

@media (max-width: 640px) {
  .co-step-label {
    font-size: 0.72rem;
  }

  .co-step:not(:last-child)::after {
    margin-inline: 0.45rem;
    min-width: 0.65rem;
  }

  .checkout-item {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .checkout-item-media {
    width: 56px;
    height: 56px;
    border-radius: 12px;
  }

  .checkout-item-total {
    grid-column: 2;
    text-align: start;
  }
}

@media (min-width: 900px) {
  .checkout-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
    align-items: start;
  }

  .checkout-summary-card {
    position: sticky;
    top: 6.5rem;
  }

  .checkout-promo-form {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
}

/* Mobile touch scroll — avoid card lift/reveal jank when swiping up/down */
@media (max-width: 767px), (hover: none), (pointer: coarse) {
  html {
    scroll-behavior: auto;
  }

  body {
    background-attachment: scroll;
  }

  .reveals-ready .reveal:not(.is-revealed),
  .reveals-ready .reveal.is-revealed {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  #offer,
  #how,
  #payments,
  #faq,
  .site-footer {
    content-visibility: visible;
    contain-intrinsic-size: auto;
  }

  .product-card,
  .category-card,
  .type-card,
  .product-card-link,
  .product-grid,
  .product-grid--catalog,
  .type-card-grid,
  .type-card-grid--compact,
  .type-card-grid--filter {
    transition: border-color 0.18s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: pan-y;
    transform: none !important;
  }

  .product-card:hover,
  .category-card:hover,
  .type-card:hover,
  .product-card:active,
  .type-card:active,
  .catalog-filter:hover,
  .cart-btn:hover {
    transform: none !important;
  }

  .product-card {
    border-radius: 12px;
    backdrop-filter: none;
  }

  .product-card--shop {
    border-radius: 12px;
  }

  .product-price-badge {
    top: 0.25rem;
    inset-inline-end: 0.25rem;
    padding: 0.18rem 0.32rem;
    border-radius: 6px;
  }

  .product-price-badge strong {
    font-size: 0.62rem;
  }

  .product-price-badge s {
    font-size: 0.52rem;
  }

  .product-card-caption {
    padding: 0.38rem 0.32rem 0.42rem;
  }

  .product-card-caption h3 {
    font-size: 0.6rem;
    line-height: 1.2;
  }

  .product-grid,
  .product-grid--catalog {
    gap: 0.42rem;
  }

  .type-card-grid,
  .type-card-grid--compact,
  .type-card-grid--filter {
    gap: 0.42rem;
  }

  .catalog-toolbar--scroll {
    overscroll-behavior-x: contain;
  }
}

/* Mobile bottom tab bar (logged-in customers) */
.mobile-home-tab-bar {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  min-height: calc(4.35rem + env(safe-area-inset-bottom, 0px));
  padding:
    0.35rem max(0.35rem, env(safe-area-inset-left))
    max(0.35rem, env(safe-area-inset-bottom))
    max(0.35rem, env(safe-area-inset-right));
  background: color-mix(in srgb, var(--bg-elevated) 94%, transparent);
  border-top: 1px solid var(--border);
  box-shadow: 0 -10px 28px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

[data-theme="light"] .mobile-home-tab-bar {
  background: color-mix(in srgb, var(--bg-elevated) 96%, transparent);
  box-shadow: var(--shadow);
}

.mobile-home-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.12rem;
  min-height: 3.2rem;
  padding: 0 0.1rem 0.12rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.mobile-home-tab:hover {
  color: var(--text-soft);
}

.mobile-home-tab.is-active {
  color: var(--pink-hot);
}

.mobile-home-tab-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  transition: transform 0.15s ease, filter 0.15s ease, color 0.15s ease;
}

.mobile-home-tab-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.mobile-home-tab.is-active .mobile-home-tab-icon {
  transform: scale(1.08);
  color: var(--pink-hot);
  filter: drop-shadow(0 0 8px color-mix(in srgb, var(--pink-hot) 45%, transparent));
}

.mobile-home-tab.is-active .mobile-home-tab-icon svg {
  width: 1.55rem;
  height: 1.55rem;
}

.mobile-home-tab-label {
  font-size: 0.58rem;
  font-weight: 600;
  line-height: 1.05;
  text-align: center;
  white-space: nowrap;
  transition: color 0.15s ease, font-weight 0.15s ease;
}

.mobile-home-tab.is-active .mobile-home-tab-label {
  color: var(--pink-hot);
  font-weight: 700;
}

.mobile-home-tab-balance {
  display: block;
  max-width: 4.6rem;
  margin-top: -0.08rem;
  color: var(--pink-hot);
  font-size: 0.52rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mobile-home-tab--fab .mobile-home-tab-balance {
  max-width: 5.2rem;
}

.mobile-home-tab--fab:has(.mobile-home-tab-balance) .mobile-home-tab-label {
  display: none;
}

.mobile-home-tab--fab {
  position: relative;
  padding-bottom: 0;
}

.mobile-home-tab--fab .mobile-home-tab-label {
  margin-top: 0.1rem;
}

.mobile-home-tab-fab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
  margin-top: -1.55rem;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--pink-hot), var(--pink-deep));
  box-shadow:
    var(--glow-pink),
    0 0 0 4px var(--bg-elevated);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.mobile-home-tab-fab svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mobile-home-tab--fab.is-active .mobile-home-tab-fab {
  transform: scale(1.06);
  box-shadow:
    var(--glow-pink),
    0 0 0 4px var(--bg-elevated),
    0 0 0 7px color-mix(in srgb, var(--pink-hot) 22%, transparent);
}

.mobile-home-tab--fab.is-active .mobile-home-tab-label {
  color: var(--pink-hot);
  font-weight: 700;
}

.mobile-home-tab-count {
  position: absolute;
  top: -0.35rem;
  inset-inline-end: -0.45rem;
  min-width: 1.05rem;
  height: 1.05rem;
  padding: 0 0.2rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  background: linear-gradient(135deg, var(--pink-hot), var(--pink-deep));
  box-shadow: 0 2px 8px color-mix(in srgb, var(--pink-hot) 35%, transparent);
  border: 1px solid color-mix(in srgb, #fff 18%, transparent);
}

@media (max-width: 1023px) {
  body.has-mobile-home-tab #main {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
  }

  body.has-mobile-home-tab .site-footer {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom, 0px));
  }

  body.has-mobile-home-tab .floating-dock {
    bottom: calc(5.1rem + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 1024px) {
  .mobile-home-tab-bar {
    display: none !important;
  }
}

/* Dedicated customer orders page */
.orders-page {
  padding: 1.15rem 0 2.25rem;
}

.orders-page .container {
  width: min(1280px, calc(100% - 1.5rem));
}

@media (max-width: 767px) {
  .orders-page .container {
    width: min(1280px, calc(100% - 1rem));
  }
}

.orders-page-shell {
  display: grid;
  gap: 1rem;
}

.orders-crumb {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.55rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.orders-crumb a:hover {
  color: var(--text);
}

.orders-crumb span:last-child {
  color: var(--pink-hot);
}

.orders-page-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.orders-page-head h1 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.orders-page-subtitle {
  margin: 0.28rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.orders-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.orders-export-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0 0.95rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.orders-export-btn:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.orders-tabs {
  display: flex;
  gap: 0.15rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--border);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.orders-tabs::-webkit-scrollbar {
  display: none;
}

.orders-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
  padding: 0.7rem 0.85rem 0.75rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}

.orders-tab.is-active {
  color: var(--text);
  border-bottom-color: var(--pink-hot);
}

.orders-tab-count {
  min-width: 1.5rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
}

.orders-tab-count.is-pink {
  background: var(--pink-hot);
  color: #fff;
}

.orders-tab-count.is-success {
  background: rgba(34, 197, 94, 0.18);
  color: #4ade80;
}

.orders-tab-count.is-warning {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
}

.orders-tab-count.is-info {
  background: rgba(59, 130, 246, 0.18);
  color: #60a5fa;
}

.orders-tab-count.is-muted {
  background: rgba(148, 163, 184, 0.16);
  color: #94a3b8;
}

.orders-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(160px, 0.8fr) minmax(220px, 1fr) auto;
  gap: 0.55rem;
  align-items: stretch;
}

.orders-toolbar-panel {
  display: contents;
}

.orders-filter-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  min-width: 46px;
  padding: 0 0.95rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.orders-filter-toggle.is-open,
.orders-filter-toggle:hover {
  border-color: rgba(255, 45, 120, 0.4);
  background: rgba(255, 45, 120, 0.1);
}

.orders-filter-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink-hot);
  box-shadow: 0 0 0 3px rgba(255, 45, 120, 0.18);
}

.orders-search,
.orders-select,
.orders-dates {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 46px;
  padding: 0 0.85rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
}

.orders-search input,
.orders-select select,
.orders-dates input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
}

.orders-search input {
  text-overflow: ellipsis;
}

.orders-search input:focus,
.orders-select select:focus,
.orders-dates input:focus {
  outline: none;
}

.orders-search input::placeholder {
  color: var(--text-muted);
}

.orders-select {
  position: relative;
  padding-inline-end: 2rem;
}

.orders-select select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.orders-select svg {
  position: absolute;
  inset-inline-end: 0.7rem;
  pointer-events: none;
}

.orders-dates {
  color: var(--text-muted);
  min-width: 0;
}

.orders-dates-fields {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  flex: 1;
}

.orders-dates input {
  color-scheme: dark;
  flex: 1 1 0;
  min-width: 0;
}

.orders-dates-sep {
  color: var(--text-muted);
  flex-shrink: 0;
}

.orders-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0 1rem;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(90deg, #ff2d78, #ff4d8d);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

.orders-filter-btn:hover {
  filter: brightness(1.06);
}

.orders-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
}

.orders-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.orders-table th {
  padding: 0.85rem 1rem;
  text-align: start;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.orders-th-sort {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: inherit;
}

.orders-table td {
  padding: 1.05rem 1rem;
  vertical-align: middle;
  border-bottom: 1px solid var(--border);
}

.orders-table tr:last-child td {
  border-bottom: 0;
}

.orders-id {
  display: grid;
  gap: 0.2rem;
  min-width: 0;
}

.orders-id-num {
  font-weight: 800;
  font-size: 0.95rem;
}

.orders-id-uuid {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.orders-id-uuid span {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 148px;
  white-space: nowrap;
}

.orders-copy {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text-muted);
}

.orders-copy:hover,
.orders-copy.is-copied {
  color: var(--pink-hot);
  background: rgba(255, 45, 120, 0.1);
}

.orders-product {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.orders-product .account-order-item-media {
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #111827;
}

.orders-product-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.orders-product-copy strong,
.orders-product-copy span {
  overflow-wrap: anywhere;
}

.orders-product-copy strong {
  font-size: 0.92rem;
}

.orders-product-copy span,
.orders-more,
.orders-muted {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.orders-more {
  color: var(--pink-hot) !important;
}

.orders-detail {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.orders-amount {
  display: grid;
  gap: 0.18rem;
}

.orders-gold {
  width: fit-content;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
  font-size: 0.68rem;
  font-weight: 800;
}

.orders-amount strong {
  font-size: 0.98rem;
}

.orders-amount s {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.orders-status {
  display: grid;
  gap: 0.22rem;
}

.orders-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  width: fit-content;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.orders-status small {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.orders-status.is-success .orders-status-pill {
  background: rgba(34, 197, 94, 0.14);
  color: #4ade80;
}

.orders-status.is-warning .orders-status-pill {
  background: rgba(245, 158, 11, 0.14);
  color: #fbbf24;
}

.orders-status.is-info .orders-status-pill {
  background: rgba(59, 130, 246, 0.14);
  color: #60a5fa;
}

.orders-status.is-danger .orders-status-pill {
  background: rgba(239, 68, 68, 0.14);
  color: #f87171;
}

.orders-date {
  display: grid;
  gap: 0.15rem;
}

.orders-date strong {
  font-size: 0.86rem;
}

.orders-date span {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.orders-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 38px;
  padding: 0 0.75rem;
  border: 1px solid rgba(139, 92, 246, 0.45);
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.08);
  color: #ddd6fe;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

[dir="rtl"] .orders-view-btn svg:last-child {
  transform: scaleX(-1);
}

.orders-mobile-list {
  display: none;
}

.orders-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.orders-pager-meta,
.orders-per-page {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.orders-pager-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.orders-page-num,
.orders-page-btn {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.4rem;
  border-radius: 10px;
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 700;
}

.orders-page-num.is-active {
  background: var(--pink-hot);
  color: #fff;
}

.orders-page-btn.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.orders-page-ellipsis {
  color: var(--text-muted);
  padding: 0 0.2rem;
}

.orders-per-page label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.orders-per-page select {
  min-height: 34px;
  padding: 0 0.45rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--input-bg);
  color: var(--text);
  font: inherit;
}

.orders-page-empty {
  justify-items: center;
  align-content: center;
  text-align: center;
  min-height: min(46vh, 320px);
  padding: 1.5rem 1rem;
}

.orders-page-empty h2 {
  margin: 0;
  font-size: 1.05rem;
}

.orders-page-empty p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
  max-width: 32ch;
}

.orders-page-empty .btn {
  margin-top: 0.25rem;
}

[data-theme="light"] .orders-search,
[data-theme="light"] .orders-select,
[data-theme="light"] .orders-dates,
[data-theme="light"] .orders-export-btn,
[data-theme="light"] .orders-table-wrap {
  background: #fff;
}

[data-theme="light"] .orders-dates input {
  color-scheme: light;
}

[data-theme="light"] .orders-view-btn {
  color: #5b21b6;
  background: rgba(139, 92, 246, 0.08);
}

@media (max-width: 1100px) {
  .orders-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .orders-search {
    min-width: 0;
  }

  .orders-filter-toggle {
    display: inline-flex;
  }

  .orders-toolbar-panel {
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .orders-toolbar-panel.is-open {
    display: grid;
  }

  .orders-select,
  .orders-dates,
  .orders-filter-btn {
    width: 100%;
  }
}

@media (max-width: 1023px) {
  .orders-table-wrap {
    display: none;
  }

  .orders-mobile-list {
    display: grid;
    gap: 0.75rem;
  }

  .orders-m-card {
    display: grid;
    gap: 0.85rem;
    padding: 0.95rem;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
  }

  .orders-m-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.65rem;
  }

  .orders-m-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .orders-m-card .orders-view-btn {
    width: 100%;
    justify-content: center;
  }

  .orders-id-uuid span {
    max-width: min(200px, 46vw);
  }

  .orders-pager {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .orders-pager-meta,
  .orders-per-page {
    width: 100%;
    text-align: center;
  }

  .orders-per-page label {
    justify-content: center;
  }

  .orders-search input,
  .orders-dates input,
  .ui-select-trigger {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .orders-page {
    padding: 0.7rem 0 1.4rem;
  }

  .orders-page-head-row {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.65rem;
  }

  .orders-page-head-row > div:first-child {
    min-width: 0;
  }

  .orders-page-head h1 {
    font-size: 1.35rem;
  }

  .orders-page-subtitle {
    font-size: 0.8rem;
  }

  .orders-page-actions,
  .orders-export-btn {
    width: auto;
    flex-shrink: 0;
  }

  .orders-export-btn {
    min-height: 40px;
    padding: 0 0.75rem;
    justify-content: center;
  }

  .orders-dates > svg {
    display: none;
  }

  .orders-m-head {
    flex-wrap: wrap;
  }
}

.od-page {
  display: grid;
  gap: 1rem;
  max-width: 820px;
  margin-inline: auto;
  width: 100%;
}

.od-mobile-bar.mobile-only {
  display: flex;
  width: 100%;
}

.od-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 40px;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.od-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.od-head-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
}

.od-head-title h1 {
  margin: 0;
  font-size: clamp(1.35rem, 3.4vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.od-head-meta {
  margin: 0.4rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.od-top-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.od-top-actions .od-btn {
  min-height: 48px;
  width: 100%;
}

.od-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  min-height: 28px;
  padding: 0 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.od-status-pill.is-success {
  color: #bbf7d0;
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(74, 222, 128, 0.35);
}

.od-status-pill.is-warning {
  color: #fde68a;
  background: rgba(245, 158, 11, 0.14);
  border-color: rgba(251, 191, 36, 0.3);
}

.od-status-pill.is-info {
  color: #bfdbfe;
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(96, 165, 250, 0.3);
}

.od-status-pill.is-danger {
  color: #fecaca;
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(248, 113, 113, 0.3);
}

.od-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  background: transparent;
}

.od-btn-ghost {
  border-color: rgba(167, 139, 250, 0.45);
  background: rgba(15, 12, 28, 0.7);
  color: #fff;
}

.od-btn-ghost:hover {
  border-color: rgba(196, 181, 253, 0.7);
  background: rgba(139, 92, 246, 0.12);
}

.od-btn-gradient {
  color: #fff;
  background: linear-gradient(135deg, #ff4d8d, #d9165a);
  box-shadow: 0 8px 22px rgba(255, 45, 120, 0.28);
}

.od-btn-gradient:hover {
  filter: brightness(1.06);
}

.od-card {
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: 20px;
  border: 1px solid rgba(196, 181, 253, 0.16);
  background: rgba(18, 14, 32, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.od-summary {
  box-shadow: 0 0 0 1px rgba(255, 45, 120, 0.08), 0 18px 40px rgba(255, 45, 120, 0.08);
}

.od-summary-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.od-summary-row + .od-summary-row {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.od-summary-product {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.od-summary-copy {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.od-summary-copy strong {
  font-size: 1rem;
  overflow-wrap: anywhere;
}

.od-summary-price {
  display: grid;
  justify-items: end;
  text-align: end;
  gap: 0.18rem;
  flex-shrink: 0;
}

.od-summary-price strong {
  color: #ff4d8d;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.od-summary-price span {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.od-summary-copy span {
  color: var(--text-muted);
  font-size: 0.84rem;
}

.od-type-badge {
  display: inline-flex;
  width: max-content;
  margin-top: 0.15rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e9d5ff;
  background: rgba(139, 92, 246, 0.22);
  border: 1px solid rgba(167, 139, 250, 0.35);
}

.od-summary-metric,
.od-summary-total {
  display: grid;
  gap: 0.28rem;
}

.od-summary-metric span,
.od-summary-total span {
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.od-summary-metric strong {
  font-size: 1.05rem;
}

.od-summary-total {
  text-align: end;
}

.od-summary-total span {
  color: #ff6b9d;
}

.od-summary-total strong {
  color: #ff4d8d;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.od-discount {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  align-items: flex-start;
}

.od-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  color: #fbbf24;
  font-size: 0.92rem;
}

.od-discount small {
  color: #4ade80;
  font-size: 0.82rem;
  font-weight: 700;
}

.od-muted {
  color: var(--text-muted);
}

.od-card-title {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  font-size: 1.02rem;
  font-weight: 800;
}

.od-card-title svg {
  color: #c4b5fd;
}

.od-info-list {
  display: grid;
  gap: 0.85rem;
}

.od-info-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
}

.od-info-row span {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  flex-shrink: 0;
}

.od-info-row strong {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  text-align: end;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
  min-width: 0;
}

.od-info-total {
  margin-top: 0.35rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.od-info-total span,
.od-info-total strong {
  color: #ff4d8d;
  font-weight: 800;
}

.od-info-total strong {
  font-size: 1.12rem;
}

.od-info-grid,
.od-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
}

.od-result-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1rem;
}

.od-info-grid span,
.od-result-grid span {
  display: block;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 600;
  margin-bottom: 0.28rem;
}

.od-info-grid strong,
.od-result-grid strong {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.95rem;
}

.od-copy {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 7px;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
}

.od-copy:hover,
.od-copy.is-copied {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.od-stepper {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.od-step {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.45rem;
  z-index: 1;
}

.od-step-rail {
  position: absolute;
  top: 19px;
  inset-inline-start: calc(50% + 22px);
  width: calc(100% - 44px);
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
  pointer-events: none;
}

.od-step:last-child .od-step-rail {
  display: none;
}

.od-step.is-done .od-step-rail {
  background: #22c55e;
}

.od-step-icon {
  position: relative;
  z-index: 1;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #86efac;
  background: #14532d;
  border: 2px solid #22c55e;
}

.od-step.is-wait .od-step-icon {
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
}

.od-step.is-current .od-step-icon {
  color: #c4b5fd;
  background: rgba(76, 29, 149, 0.55);
  border-color: #818cf8;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.16);
}

.od-step.is-current strong {
  color: #c4b5fd;
}

.od-step.is-fail .od-step-icon {
  color: #fecaca;
  background: rgba(127, 29, 29, 0.8);
  border-color: #ef4444;
}

.od-step strong {
  font-size: 0.86rem;
}

.od-step small {
  color: var(--text-muted);
  font-size: 0.74rem;
}

.od-result-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid rgba(74, 222, 128, 0.28);
  background: rgba(20, 83, 45, 0.35);
}

.od-result-alert.is-fail {
  border-color: rgba(248, 113, 113, 0.3);
  background: rgba(127, 29, 29, 0.28);
}

.od-result-alert.is-wait,
.od-result-alert.is-progress {
  border-color: rgba(129, 140, 248, 0.32);
  background: rgba(49, 46, 129, 0.28);
}

.od-result-alert.is-wait .od-result-icon,
.od-result-alert.is-progress .od-result-icon {
  color: #c4b5fd;
  background: rgba(99, 102, 241, 0.2);
}

.od-result-icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.18);
}

.od-result-alert.is-fail .od-result-icon {
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.18);
}

.od-result-alert.is-wait .od-result-icon,
.od-result-alert.is-progress .od-result-icon {
  color: #c4b5fd;
  background: rgba(99, 102, 241, 0.2);
}

.od-result-alert strong {
  display: block;
  color: #86efac;
  font-size: 1.02rem;
}

.od-result-alert.is-fail strong {
  color: #fecaca;
}

.od-result-alert.is-wait strong,
.od-result-alert.is-progress strong {
  color: #ddd6fe;
}

.od-result-eta {
  margin-top: 0.45rem !important;
  color: var(--text-muted) !important;
  font-size: 0.82rem !important;
}

.od-result-alert p {
  margin: 0.2rem 0 0;
  color: var(--text);
  font-size: 0.9rem;
}

.od-result-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 1rem;
  padding-top: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.od-result-foot p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.od-delivery-files {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.9rem;
}

.od-receipt-stage {
  background: #10121c;
  border-radius: 16px;
  padding: 1.15rem 0.9rem 1.35rem;
}

.od-receipt-paper {
  position: relative;
  overflow: hidden;
  background: #fff;
  color: #111827;
  padding: 1.4rem 1.25rem 1.55rem;
}

.od-receipt-paper::before,
.od-receipt-paper::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 16px;
  pointer-events: none;
}

.od-receipt-paper::before {
  top: -8px;
  background: radial-gradient(circle, #10121c 8px, transparent 8.5px);
  background-size: 16px 16px;
  background-position: -8px -8px;
}

.od-receipt-paper::after {
  bottom: -8px;
  background: radial-gradient(circle, #10121c 8px, transparent 8.5px);
  background-size: 16px 16px;
  background-position: -8px 8px;
}

.od-stamp {
  position: absolute;
  inset-inline-end: 18%;
  top: 38%;
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  border: 3px solid rgba(255, 45, 120, 0.38);
  border-radius: 50%;
  color: rgba(255, 45, 120, 0.42);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(-18deg);
  pointer-events: none;
}

.od-stamp::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px dashed rgba(255, 45, 120, 0.32);
  border-radius: 50%;
}

.od-receipt-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1.15fr 0.9fr;
  gap: 1rem;
  align-items: start;
}

.od-receipt-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
}

.od-receipt-logo img {
  width: auto;
  height: 36px;
  object-fit: contain;
}

.od-receipt-logo strong {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.od-receipt-logo em {
  font-style: normal;
  color: #ff2d78;
}

.od-receipt-socials .od-receipt-social {
  gap: 0.4rem;
}

.od-receipt-social .social-link {
  width: 30px;
  height: 30px;
  color: #ff2d78;
  background: rgba(255, 45, 120, 0.08);
}

.od-receipt-brand p {
  margin: 0.75rem 0 0;
  color: #6b7280;
  font-size: 0.82rem;
  max-width: 22ch;
}

.od-receipt-meta {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.od-receipt-meta div {
  display: grid;
  gap: 0.12rem;
}

.od-receipt-meta dt {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #9ca3af;
  font-size: 0.74rem;
  font-weight: 700;
}

.od-receipt-meta dd {
  margin: 0;
  font-weight: 700;
  font-size: 0.92rem;
}

.od-receipt-totals {
  display: grid;
  gap: 0.45rem;
  justify-items: end;
  text-align: end;
}

.od-receipt-totals div {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  width: 100%;
  color: #6b7280;
  font-size: 0.84rem;
}

.od-receipt-totals strong {
  color: #111827;
}

.od-receipt-totals .is-discount strong {
  color: #16a34a;
}

.od-receipt-totals .is-total {
  margin-top: 0.2rem;
  padding-top: 0.45rem;
  border-top: 1px dashed #e5e7eb;
}

.od-receipt-totals .is-total span {
  color: #ff2d78;
  font-weight: 700;
}

.od-receipt-totals .is-total strong {
  color: #ff2d78;
  font-size: 1.2rem;
}

.od-receipt-totals .od-status-pill {
  margin-top: 0.35rem;
}

.od-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.od-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0 0.8rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.od-action.is-pink {
  border: 0;
  background: linear-gradient(135deg, #ff4d8d, #d9165a);
  color: #fff;
  box-shadow: 0 8px 22px rgba(255, 45, 120, 0.28);
}

.od-action.is-purple {
  border-color: rgba(167, 139, 250, 0.55);
  background: rgba(139, 92, 246, 0.16);
  color: #ddd6fe;
}

.od-action.is-neutral {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #e2e8f0;
}

.od-action.is-danger {
  border-color: rgba(248, 113, 113, 0.38);
  background: transparent;
  color: #fca5a5;
}

.od-action:hover {
  background: rgba(255, 255, 255, 0.06);
}

.od-action.is-pink:hover {
  background: linear-gradient(135deg, #ff4d8d, #d9165a);
  filter: brightness(1.06);
}

.od-receipt-viewer {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: rgba(7, 6, 14, 0.96);
  padding:
    max(0.75rem, env(safe-area-inset-top))
    max(0.85rem, env(safe-area-inset-right))
    max(5.5rem, env(safe-area-inset-bottom))
    max(0.85rem, env(safe-area-inset-left));
}

.od-receipt-viewer.is-open {
  display: grid;
}

.od-receipt-viewer-head,
.od-receipt-viewer-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0 0.75rem;
}

.od-receipt-viewer-body {
  overflow: auto;
  min-height: 0;
}

.od-receipt-viewer-foot {
  justify-content: stretch;
}

.od-receipt-viewer-foot .od-btn {
  width: 100%;
}

.od-help {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.od-help-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #c4b5fd;
  background: rgba(139, 92, 246, 0.16);
  border: 1px solid rgba(167, 139, 250, 0.28);
}

.od-help strong {
  display: block;
  font-size: 1.05rem;
}

.od-help p {
  margin: 0.2rem 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
}

@media (max-width: 1023px) {
  .od-head,
  .od-summary-row,
  .od-result-grid,
  .od-receipt-grid,
  .od-actions,
  .od-help,
  .od-result-foot {
    display: grid;
    grid-template-columns: 1fr;
  }

  .od-top-actions {
    grid-template-columns: 1fr 1fr;
  }

  .od-summary-product,
  .od-receipt-brand,
  .od-help {
    grid-column: 1 / -1;
  }

  .od-action,
  .od-help .od-btn {
    width: 100%;
  }

  .od-summary-price,
  .od-receipt-totals {
    text-align: end;
    justify-items: end;
  }

  .od-stepper {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .od-step {
    grid-template-columns: 40px minmax(0, 1fr);
    justify-items: start;
    text-align: start;
    column-gap: 0.85rem;
    padding-bottom: 1.15rem;
  }

  .od-step:last-child {
    padding-bottom: 0;
  }

  .od-step-icon {
    grid-row: 1 / span 2;
  }

  .od-step-rail {
    inset-inline-start: 18px;
    top: 40px;
    width: 3px;
    height: calc(100% - 40px);
  }

  .od-receipt-paper {
    padding: 1.15rem 0.9rem 1.35rem;
  }

  .od-stamp {
    width: 84px;
    height: 84px;
    font-size: 0.62rem;
    inset-inline-end: 8%;
  }

  .ui-select-menu {
    max-height: min(240px, 50dvh);
  }
}

@media (max-width: 430px) {
  .od-top-actions .od-btn {
    font-size: 0.78rem;
    padding: 0 0.5rem;
    min-height: 46px;
  }

  .od-head-title h1 {
    font-size: 1.28rem;
  }

  .od-card {
    padding: 1rem 0.9rem 1.1rem;
  }

  .orders-export-btn {
    font-size: 0.78rem;
    padding: 0 0.6rem;
  }

  .home-auth-welcome-user {
    min-width: 0;
  }
}

@media print {
  header,
  footer,
  .floating-dock,
  .ai-agent-panel,
  .mobile-sidebar,
  .od-head-actions,
  .od-top-actions,
  .od-actions,
  .od-help,
  .od-receipt-viewer,
  .orders-crumb {
    display: none !important;
  }

  body.od-printing .orders-page-head {
    display: none !important;
  }

  body.od-printing {
    background: #fff !important;
  }

  body.od-printing .od-page > *:not(.od-receipt-card) {
    display: none !important;
  }

  .od-receipt-card,
  .od-receipt-stage,
  .od-receipt-paper {
    background: #fff !important;
    box-shadow: none !important;
    border: 0 !important;
    color: #111 !important;
  }

  .od-receipt-paper::before,
  .od-receipt-paper::after {
    display: none;
  }
}

[dir="rtl"] .od-summary-total,
[dir="rtl"] .od-receipt-totals {
  text-align: start;
}

[dir="rtl"] .od-stamp {
  transform: rotate(18deg);
}

.ui-select {
  position: relative;
  width: 100%;
  min-width: 0;
  z-index: 1;
}

.ui-select.is-open {
  z-index: 60;
}

.ui-select-native {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.ui-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  width: 100%;
  min-height: 42px;
  padding: 0 0.85rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--input-bg, rgba(255, 255, 255, 0.04));
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: start;
  cursor: pointer;
}

.ui-select-trigger:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.ui-select.is-open .ui-select-trigger,
.ui-select-trigger:focus-visible {
  outline: none;
  border-color: rgba(255, 45, 120, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 45, 120, 0.12);
}

.ui-select-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ui-select-value.is-placeholder {
  color: var(--text-muted);
  font-weight: 500;
}

.ui-select-chevron {
  display: grid;
  place-items: center;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform .15s ease;
}

.ui-select.is-open .ui-select-chevron {
  transform: rotate(180deg);
}

.ui-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  inset-inline: 0;
  min-width: 100%;
  max-height: min(280px, 55vh);
  overflow: auto;
  padding: 0.4rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--dropdown-bg);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
  display: grid;
  gap: 0.15rem;
  z-index: 70;
  overscroll-behavior: contain;
}

.ui-select-menu[hidden] {
  display: none;
}

.ui-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  width: 100%;
  min-height: 40px;
  padding: 0.55rem 0.75rem;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: start;
  cursor: pointer;
}

.ui-select-option:hover,
.ui-select-option:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
}

.ui-select-option.is-active {
  background: rgba(255, 45, 120, 0.16);
  color: #fff;
}

.ui-select-option.is-active svg {
  color: var(--pink-hot);
  flex-shrink: 0;
}

.ui-select-option:disabled {
  opacity: 0.45;
  cursor: default;
}

.ui-select--compact {
  width: auto;
  min-width: 4.75rem;
}

.ui-select--compact .ui-select-menu {
  min-width: 5.5rem;
  inset-inline-end: auto;
}

.ui-select--compact .ui-select-trigger {
  min-height: 34px;
  padding: 0 0.45rem;
  border-radius: 8px;
}

.orders-select:has(.ui-select) > svg,
.orders-per-page:has(.ui-select) select {
  display: none;
}

.orders-select:has(.ui-select) {
  padding-inline-end: 0.85rem;
}

.orders-select .ui-select-trigger,
.auth-input-wrap .ui-select-trigger,
.orders-per-page .ui-select-trigger {
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.orders-select .ui-select.is-open .ui-select-trigger,
.auth-input-wrap .ui-select.is-open .ui-select-trigger,
.orders-per-page .ui-select.is-open .ui-select-trigger,
.orders-select .ui-select-trigger:focus-visible,
.auth-input-wrap .ui-select-trigger:focus-visible,
.orders-per-page .ui-select-trigger:focus-visible {
  box-shadow: none;
  border: 0;
}

.orders-toolbar,
.orders-select,
.orders-per-page,
.auth-input-wrap,
.account-field {
  overflow: visible;
}

.account-field .ui-select-trigger {
  background: rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .ui-select-menu {
  border-color: rgba(15, 23, 42, 0.1);
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

[data-theme="light"] .ui-select-option:hover,
[data-theme="light"] .ui-select-option:focus-visible {
  background: rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .ui-select-option.is-active {
  background: rgba(255, 45, 120, 0.12);
  color: #111827;
}

.wallet-page {
  padding: 1.15rem 0 2.25rem;
}

.wallet-page .container {
  width: min(920px, calc(100% - 1.5rem));
}

.wallet-page-shell {
  display: grid;
  gap: 1rem;
}

.wallet-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  padding: 1.25rem 1.3rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 45, 120, 0.22);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 45, 120, 0.2), transparent 46%),
    radial-gradient(circle at 100% 100%, rgba(139, 92, 246, 0.12), transparent 42%),
    rgba(255, 255, 255, 0.03);
}

.wallet-hero-balance,
.wallet-hero-id {
  display: grid;
  gap: 0.35rem;
  align-content: center;
}

.wallet-hero-balance span,
.wallet-hero-id span {
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wallet-hero-balance strong {
  font-size: clamp(1.9rem, 5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.wallet-hero-balance strong::before {
  content: "$";
}

.wallet-hero-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  width: max-content;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: start;
}

.wallet-hero-copy strong {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.wallet-hero-copy svg {
  color: var(--text-muted);
}

.wallet-hero-copy:hover svg,
.wallet-hero-copy.is-copied svg {
  color: var(--pink-hot);
}

.wallet-tx-meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  text-align: center;
}

.wallet-page .wallet-pay-head {
  margin-top: 0.35rem;
}

@media (max-width: 767px) {
  .wallet-page {
    padding: 0.7rem 0 1.4rem;
  }

  .wallet-page .container {
    width: min(920px, calc(100% - 1rem));
  }

  .wallet-hero {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .wallet-page .orders-page-head-row {
    flex-direction: column;
  }

  .wallet-page .orders-export-btn,
  .wallet-page .od-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Purchase complete overlay */
body.is-purchase-complete {
  background: #05070b;
  background-image:
    radial-gradient(circle at 80% 12%, rgba(255, 45, 120, 0.18), transparent 32%),
    radial-gradient(circle at 18% 88%, rgba(139, 92, 246, 0.16), transparent 36%);
}

body.is-purchase-complete #main {
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0;
}

.purchase-complete {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 4.5rem 1.1rem 1.4rem;
}

.purchase-complete-close {
  position: fixed;
  top: calc(0.85rem + env(safe-area-inset-top, 0px));
  inset-inline-end: calc(0.85rem + env(safe-area-inset-right, 0px));
  z-index: 20;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(12, 16, 24, 0.82);
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.purchase-complete-close:hover,
.purchase-complete-close:focus-visible {
  border-color: rgba(255, 45, 120, 0.5);
  color: var(--pink-hot);
  outline: none;
}

.purchase-complete-card {
  width: min(440px, 100%);
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.7rem;
  padding: 1.6rem 1.2rem 1.25rem;
  border-radius: 26px;
  border: 1px solid rgba(255, 45, 120, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 45, 120, 0.1), rgba(12, 16, 24, 0.92) 38%),
    rgba(10, 13, 20, 0.92);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.purchase-complete-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.35);
  background: rgba(52, 211, 153, 0.12);
  box-shadow: 0 0 28px rgba(52, 211, 153, 0.22);
}

.purchase-complete-icon.is-pending {
  color: var(--gold);
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(245, 158, 11, 0.12);
  box-shadow: 0 0 28px rgba(245, 158, 11, 0.18);
}

.purchase-complete-eyebrow {
  margin: 0.35rem 0 0;
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.purchase-complete-card h1 {
  margin: 0;
  font-size: clamp(1.55rem, 5vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.purchase-complete-copy {
  margin: 0;
  max-width: 28ch;
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.5;
}

.purchase-complete-ref {
  display: grid;
  gap: 0.12rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
}

.purchase-complete-ref span {
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.purchase-complete-ref strong {
  font-size: 1.05rem;
}

.purchase-complete-items {
  width: 100%;
  display: grid;
  gap: 0.55rem;
  text-align: start;
}

.purchase-complete-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.purchase-complete-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.purchase-complete-item strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.3;
}

.purchase-complete-item small {
  color: var(--text-muted);
}

.purchase-complete-item span {
  flex-shrink: 0;
  color: var(--pink-hot);
  font-weight: 800;
}

.purchase-complete-total {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding-top: 0.35rem;
  font-weight: 800;
}

.purchase-complete-total strong {
  color: var(--pink-hot);
}

.purchase-complete-actions {
  display: grid;
  gap: 0.55rem;
  width: 100%;
  margin-top: 0.35rem;
}

.purchase-complete-actions .btn {
  width: 100%;
  min-height: 46px;
  justify-content: center;
}


/* GET4CARD marketplace home */
.home-market,
.home-auth {
  padding: 0.85rem 0 calc(6.4rem + env(safe-area-inset-bottom, 0px));
}

.home-market-shell,
.home-auth-shell {
  display: grid;
  gap: 1.15rem;
  min-width: 0;
}

.market-welcome {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.62rem 0.62rem 0.58rem 0.85rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 45, 120, 0.28);
  background:
    linear-gradient(160deg, rgba(90, 18, 48, 0.55), rgba(18, 8, 22, 0.92) 48%, rgba(5, 7, 11, 0.95)),
    rgba(10, 8, 14, 0.92);
  box-shadow:
    0 0 0 1px rgba(255, 45, 120, 0.08),
    0 0 28px rgba(255, 45, 120, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.market-welcome-copy {
  min-width: 0;
  display: grid;
  gap: 0.18rem;
}

.market-welcome-eyebrow {
  margin: 0;
  color: rgba(215, 220, 230, 0.62);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.market-welcome-name {
  margin: 0;
  font-size: clamp(1.22rem, 4.2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-welcome-summary {
  margin: 0.08rem 0 0;
  color: rgba(215, 220, 230, 0.72);
  font-size: 0.82rem;
  line-height: 1.25;
}

.market-tier-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-top: 0.4rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--tier-color, var(--pink)) 45%, transparent);
  background: color-mix(in srgb, var(--tier-color, var(--pink)) 16%, transparent);
  color: var(--tier-color, var(--pink-hot));
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-balance-card {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  width: max-content;
  max-width: 100%;
  padding: 0.45rem 0.6rem 0.42rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 45, 120, 0.32);
  background: rgba(3, 4, 8, 0.72);
  box-shadow: 0 0 18px rgba(255, 45, 120, 0.12);
}

.market-balance-label {
  color: rgba(215, 220, 230, 0.58);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.market-balance-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0.7rem;
  min-width: 0;
}

.market-balance-card [data-wallet-balance] {
  color: #fff;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  min-width: 0;
  white-space: nowrap;
}

.market-add-balance {
  flex-shrink: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: rgba(230, 234, 242, 0.78);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.market-add-balance:hover,
.market-add-balance:focus-visible {
  color: #fff;
  outline: none;
}

.market-add-balance--disabled {
  display: inline-flex;
  align-items: center;
  opacity: 0.45;
  cursor: not-allowed;
}

.market-welcome--guest {
  align-items: center;
}

.market-guest-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
}

.market-hero {
  min-width: 0;
}

.market-search {
  min-width: 0;
}

.home-market .product-search--home .product-search-field {
  min-height: 52px;
  border-radius: 18px;
  border-color: rgba(255, 45, 120, 0.2);
  background: rgba(12, 16, 24, 0.78);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

.home-market .category-chip {
  width: 5.5rem;
  min-width: 5.5rem;
  max-width: 6.6rem;
}

.home-market .category-chip-label {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-category-products .home-auth-block-head {
  margin-bottom: 0.55rem;
}

.market-category-products .home-auth-product-grid {
  gap: 0.45rem;
}

.product-card--market,
.product-card--shop {
  border-color: rgba(255, 45, 120, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.product-card-fav {
  position: absolute;
  top: 0.4rem;
  inset-inline-end: 0.4rem;
  z-index: 3;
}

.product-card-fav .product-wishlist-btn {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(5, 7, 11, 0.62);
  backdrop-filter: blur(10px);
  color: #fff;
}

.product-wishlist-btn.is-active {
  color: var(--pink-hot);
  border-color: rgba(255, 45, 120, 0.45);
  background: rgba(255, 45, 120, 0.16);
  box-shadow: 0 0 16px rgba(255, 45, 120, 0.28);
}

.product-card-package {
  margin: 0.12rem 0 0;
  color: var(--text-muted);
  font-size: 0.68rem;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card--market .product-card-caption {
  flex-direction: column;
  gap: 0.12rem;
  padding: 0.55rem 0.55rem 0.65rem;
}

.product-card--market .product-card-caption h3 {
  font-size: 0.78rem;
}

.product-card--market .product-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  margin-top: 0.12rem;
}

.product-card--market .product-card-price strong {
  color: var(--pink-hot);
  font-size: 0.82rem;
  font-weight: 800;
}

.product-card--market .product-card-price s {
  color: var(--text-muted);
  font-size: 0.68rem;
}

.product-card--market .product-card-price.is-custom strong {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.product-card--shop .product-card-buy {
  display: none;
}

.market-offers,
.market-trust {
  min-width: 0;
}

.market-offer-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 148px;
  border-radius: 22px;
  border: 1px solid rgba(255, 45, 120, 0.18);
  text-decoration: none;
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.market-offer-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.market-offer-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, 0.82) 0%, rgba(5, 7, 11, 0.35) 58%, rgba(139, 92, 246, 0.18) 100%),
    linear-gradient(180deg, transparent 30%, rgba(5, 7, 11, 0.55) 100%);
}

.market-offer-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.2rem;
  max-width: 22rem;
  padding: 1.1rem 1.15rem 1.2rem;
}

.market-offer-kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.market-offer-copy h3 {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  font-size: clamp(1.2rem, 4vw, 1.7rem);
  line-height: 1.1;
}

.market-offer-accent {
  color: var(--pink-hot);
  text-shadow: 0 0 18px rgba(255, 45, 120, 0.45);
}

.market-offer-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.market-offer-cta {
  margin-top: 0.35rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.market-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.market-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  min-width: 0;
  padding: 0.85rem 0.85rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.market-trust-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 11px;
  border: 1px solid rgba(255, 45, 120, 0.28);
  color: var(--pink-hot);
  background: rgba(255, 45, 120, 0.08);
}

.market-trust-item strong {
  display: block;
  font-size: 0.82rem;
  line-height: 1.2;
}

.market-trust-item small {
  display: block;
  margin-top: 0.15rem;
  color: var(--text-muted);
  font-size: 0.72rem;
  line-height: 1.3;
}

.market-empty {
  padding: 1.4rem 1rem;
  border-radius: 16px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  text-align: center;
}

.market-faq .faq-item {
  border-color: rgba(255, 45, 120, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

@media (max-width: 767px) {
  .market-welcome--guest {
    grid-template-columns: 1fr;
  }

  .market-welcome:not(.market-welcome--guest) {
    gap: 0.45rem;
    padding: 0.52rem 0.5rem 0.5rem 0.72rem;
  }

  .market-welcome:not(.market-welcome--guest) .market-welcome-name {
    font-size: clamp(1.05rem, 4.6vw, 1.28rem);
  }

  .market-welcome:not(.market-welcome--guest) .market-welcome-summary {
    font-size: 0.75rem;
  }

  .market-welcome:not(.market-welcome--guest) .market-balance-card {
    padding: 0.38rem 0.5rem 0.36rem;
  }

  .market-welcome:not(.market-welcome--guest) .market-balance-card [data-wallet-balance] {
    font-size: 1rem;
  }

  .market-welcome:not(.market-welcome--guest) .market-add-balance {
    font-size: 0.78rem;
  }

  .market-guest-ctas {
    justify-content: stretch;
    min-width: 0;
  }

  .market-guest-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .home-banner-track {
    aspect-ratio: 16 / 8;
    min-height: 128px;
    max-height: 176px;
  }

  .home-banner-copy {
    padding: 0.75rem 0.85rem 0.9rem;
  }

  .home-banner-title {
    font-size: 1.05rem;
  }

  .market-offer-card {
    min-height: 132px;
  }

  .market-trust-item {
    padding: 0.7rem 0.7rem;
  }
}

@media (min-width: 768px) {
  .market-trust-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .market-offer-card {
    min-height: 188px;
  }
}

@media (max-width: 1023px) {
  .header-wallet-slot.desktop-only {
    display: none !important;
  }
}

