@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;1,500&display=swap');

/* =========================================================
   ROOT
========================================================= */

:root {
  --bg-base: #eef1f5;

  --surface-1: rgba(255, 255, 255, 0.36);
  --surface-2: rgba(255, 255, 255, 0.54);
  --surface-3: rgba(248, 249, 250, 0.74);

  --glass-border: rgba(255, 255, 255, 0.70);
  --glass-border-soft: rgba(255, 255, 255, 0.34);

  --text-main: #171719;
  --text-muted: #74767a;
  --text-soft: #999ba0;

  /* client.js may override these accent values */
  --accent: #3498db;
  --accent-soft: rgba(52, 152, 219, 0.12);

  --shadow-xs: 0 2px 8px rgba(30, 36, 48, 0.045);
  --shadow-sm: 0 8px 24px rgba(30, 36, 48, 0.07);
  --shadow-md: 0 18px 48px rgba(30, 36, 48, 0.105);
  --shadow-lg: 0 30px 90px rgba(30, 36, 48, 0.14);

  --inner-highlight:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12);

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
}

[data-theme="dark"] {
  --bg-base: #0b0c0f;

  --surface-1: rgba(29, 31, 36, 0.43);
  --surface-2: rgba(39, 41, 47, 0.58);
  --surface-3: rgba(25, 27, 32, 0.76);

  --glass-border: rgba(255, 255, 255, 0.13);
  --glass-border-soft: rgba(255, 255, 255, 0.075);

  --text-main: #f4f4f3;
  --text-muted: #a3a5aa;
  --text-soft: #767980;

  --accent: #60aee0;
  --accent-soft: rgba(96, 174, 224, 0.14);

  --shadow-xs: 0 2px 8px rgba(0, 0, 0, 0.20);
  --shadow-sm: 0 8px 26px rgba(0, 0, 0, 0.27);
  --shadow-md: 0 20px 55px rgba(0, 0, 0, 0.36);
  --shadow-lg: 0 34px 100px rgba(0, 0, 0, 0.50);

  --inner-highlight:
    inset 0 1px 0 rgba(255, 255, 255, 0.13),
    inset 0 -1px 0 rgba(255, 255, 255, 0.025);
}


/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;

  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  background: var(--bg-base);
  color: var(--text-main);

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;

  overflow-x: hidden;
  padding-bottom: 130px;

  transition:
    background-color 0.4s ease,
    color 0.4s ease;
}

a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.hidden {
  display: none !important;
}


/* =========================================================
   BACKGROUND
========================================================= */

.ts-background {
  position: fixed;
  inset: 0;
  z-index: -10;

  overflow: hidden;
  pointer-events: none;
}

.ts-orb {
  position: absolute;

  border-radius: 50%;

  filter: blur(50px);
  opacity: 0.4;

  pointer-events: none;
}

.ts-orb--one {
  width: 540px;
  height: 540px;

  top: -290px;
  right: -180px;

  background: rgba(80, 165, 255, 0.27);
}

.ts-orb--two {
  width: 510px;
  height: 510px;

  top: 42%;
  left: -320px;

  background: rgba(255, 133, 133, 0.2);
}

.ts-orb--three {
  width: 450px;
  height: 450px;

  bottom: -275px;
  right: 4%;

  background: rgba(210, 82, 82, 0.18);
}

[data-theme="dark"] .ts-orb {
  opacity: 0.21;
}


/* =========================================================
   COMMON
========================================================= */

.ts-container,
.container {
  width: min(100% - 32px, 1180px);
  margin-inline: auto;
}


/* =========================================================
   LIQUID GLASS
========================================================= */

.glass,
.ts-liquid-card {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.24),
      rgba(255, 255, 255, 0.055)
    ),
    var(--surface-1);

  border: 1px solid var(--glass-border);

  box-shadow:
    var(--shadow-md),
    var(--inner-highlight);

  backdrop-filter:
    blur(28px)
    saturate(175%);

  -webkit-backdrop-filter:
    blur(28px)
    saturate(175%);
}

[data-theme="dark"] .glass,
[data-theme="dark"] .ts-liquid-card {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.065),
      rgba(255, 255, 255, 0.012)
    ),
    var(--surface-1);
}


/* =========================================================
   HEADER
========================================================= */

.ts-header {
  padding-top: 18px;
}

.ts-header__glass {
  height: 64px;

  padding:
    8px 10px 8px 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  border-radius: 22px;

  background:
    var(--surface-1);

  border:
    1px solid var(--glass-border);

  box-shadow:
    var(--shadow-sm),
    var(--inner-highlight);

  backdrop-filter:
    blur(28px)
    saturate(170%);

  -webkit-backdrop-filter:
    blur(28px)
    saturate(170%);
}

.ts-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  text-decoration: none;
}

.ts-brand__mark {
  width: 34px;
  height: 34px;

  display: grid;
  place-items: center;

  border-radius: 11px;

  background:
    linear-gradient(
      180deg,
      #ffffff,
      #e7e7e5
    );

  color: #191919;

  font-size: 15px;
  font-weight: 700;

  box-shadow:
    0 0.5px 0.5px 1px rgba(255,255,255,.5),
    0 7px 16px rgba(0,0,0,.12);
}

.ts-brand__name {
  font-size: 13px;
  font-weight: 700;

  letter-spacing: 0.11em;
}

.ts-header__actions {
  display: flex;
  gap: 6px;
}

.ts-icon-button {
  width: 42px;
  height: 42px;

  display: grid;
  place-items: center;

  border-radius: 14px;

  color: var(--text-main);
  text-decoration: none;

  background:
    linear-gradient(
      to top,
      rgba(235,235,233,.76),
      rgba(255,255,255,.86)
    );

  border:
    1px solid rgba(0,0,0,.06);

  box-shadow:
    0 0.5px 0.5px 1px rgba(255,255,255,.5),
    0 7px 18px rgba(0,0,0,.08);

  transition:
    transform .25s ease,
    box-shadow .25s ease;
}

[data-theme="dark"] .ts-icon-button {
  background:
    linear-gradient(
      180deg,
      rgba(58,58,61,.95),
      rgba(36,36,38,.95)
    );

  border-color:
    rgba(255,255,255,.08);
}

.ts-icon-button:hover {
  transform:
    translateY(-2px);

  box-shadow:
    0 1px 1px rgba(255,255,255,.3),
    0 12px 22px rgba(0,0,0,.12);
}

.ts-icon-button svg {
  width: 18px;
  height: 18px;

  stroke-width: 1.8;
}


/* =========================================================
   HERO
========================================================= */

.ts-hero {
  padding-top: 24px;
}

.ts-hero__panel {
  position: relative;

  min-height: 570px;

  border-radius: 36px;
  overflow: hidden;

  padding:
    64px 54px;

  display: grid;

  grid-template-columns:
    minmax(0, 1.1fr)
    minmax(320px, .9fr);

  align-items: center;

  isolation: isolate;
}

.ts-hero__panel::after {
  content: "";

  position: absolute;

  width: 360px;
  height: 360px;

  top: -110px;
  right: -100px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      var(--accent-soft),
      transparent 68%
    );

  z-index: -1;
}

.ts-hero__content {
  max-width: 620px;
}

.ts-eyebrow {
  width: fit-content;

  display: flex;
  align-items: center;
  gap: 8px;

  padding:
    8px 12px;

  margin-bottom: 24px;

  border-radius: 100px;

  background:
    rgba(255,255,255,.4);

  border:
    1px solid var(--glass-border);

  box-shadow:
    var(--inner-highlight);

  backdrop-filter:
    blur(16px);

  font-size: 11px;
  font-weight: 600;

  letter-spacing: .11em;
  text-transform: uppercase;
}

[data-theme="dark"] .ts-eyebrow {
  background:
    rgba(255,255,255,.05);
}

.ts-eyebrow__dot {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background:
    var(--accent);

  box-shadow:
    0 0 0 4px var(--accent-soft);
}

.ts-hero__title {
  max-width: 650px;

  margin-bottom: 22px;

  font-family:
    "Playfair Display",
    Georgia,
    serif;

  font-size:
    clamp(52px, 6.3vw, 86px);

  line-height: .92;

  letter-spacing: -.05em;

  font-weight: 500;
}

.ts-hero__title span {
  display: block;

  color:
    var(--text-muted);

  font-style: italic;
}

.ts-hero__subtitle {
  max-width: 490px;

  margin-bottom: 34px;

  color:
    var(--text-muted);

  font-size: 14px;
  line-height: 1.75;
}

.ts-hero__actions {
  display: flex;
  align-items: center;

  gap: 12px;

  flex-wrap: wrap;
}


/* =========================================================
   REFERENCE-STYLE PRIMARY BUTTON
========================================================= */

.ts-action-button {
  --button-neutral-1: #f9faf9;
  --button-neutral-2: #e6e7e6;

  position: relative;

  min-width: 210px;
  height: 60px;

  padding: 7px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 16px;

  color: #191919;
  text-decoration: none;

  overflow: visible;

  transition:
    transform .3s ease,
    box-shadow .3s ease;

  box-shadow:
    0 .5px .5px 1px rgba(255,255,255,.3),
    0 10px 20px rgba(0,0,0,.15),
    0 4px 5px rgba(0,0,0,.05);
}

.ts-action-button::after {
  content: "";

  position: absolute;
  inset: 0;

  border-radius: inherit;

  border:
    2px solid transparent;

  background:
    linear-gradient(
      var(--button-neutral-1),
      var(--button-neutral-2)
    ) padding-box,

    linear-gradient(
      to bottom,
      rgba(0,0,0,.07),
      rgba(0,0,0,.4)
    ) border-box;

  z-index: 0;

  transition:
    transform .3s ease,
    box-shadow .3s ease;
}

.ts-action-button__inner {
  position: relative;

  z-index: 3;

  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 9px;

  border-radius: 11px;

  background:
    linear-gradient(
      to top,
      var(--button-neutral-1),
      var(--button-neutral-2)
    );

  font-size: 13px;
  font-weight: 600;

  letter-spacing: -.01em;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.85);
}

.ts-action-button__icon {
  display: grid;
  place-items: center;

  transition:
    transform .35s
    cubic-bezier(.16,1,.3,1);
}

.ts-action-button__icon svg {
  width: 17px;
  height: 17px;

  stroke-width: 2;
}

.ts-action-button__outline {
  position: absolute;

  inset: -3px;

  border-radius: 18px;

  overflow: hidden;

  opacity: 0;

  z-index: -1;

  transition:
    opacity .35s ease;
}

.ts-action-button__outline::before {
  content: "";

  position: absolute;

  inset: -120%;

  background:
    conic-gradient(
      from 180deg,
      transparent 58%,
      rgba(255,255,255,.95) 78%,
      transparent 100%
    );

  animation:
    tsButtonSpin 2.2s linear infinite;

  animation-play-state:
    paused;
}

.ts-action-button:hover {
  transform:
    translateY(-2px)
    scale(1.015);

  box-shadow:
    0 1px 1px rgba(255,255,255,.35),
    0 18px 32px rgba(0,0,0,.18);
}

.ts-action-button:hover::after {
  transform:
    scale(1.025,1.06);

  box-shadow:
    inset 0 -1px 3px
    rgba(255,255,255,.9);
}

.ts-action-button:hover
.ts-action-button__outline {
  opacity: 1;
}

.ts-action-button:hover
.ts-action-button__outline::before {
  animation-play-state:
    running;
}

.ts-action-button:hover
.ts-action-button__icon {
  transform:
    translate(2px,-2px)
    rotate(3deg);
}

.ts-action-button:active {
  transform:
    scale(.98);
}

@keyframes tsButtonSpin {
  to {
    transform:
      rotate(360deg);
  }
}


/* =========================================================
   SECONDARY BUTTON
========================================================= */

.ts-secondary-button {
  min-height: 60px;

  padding:
    0 20px;

  display: inline-flex;
  align-items: center;

  gap: 9px;

  border-radius: 16px;

  color:
    var(--text-main);

  text-decoration: none;

  background:
    var(--surface-1);

  border:
    1px solid var(--glass-border);

  box-shadow:
    var(--shadow-sm),
    var(--inner-highlight);

  backdrop-filter:
    blur(18px);

  -webkit-backdrop-filter:
    blur(18px);

  font-size: 13px;
  font-weight: 600;

  transition:
    background .25s ease,
    transform .25s ease;
}

.ts-secondary-button svg {
  width: 16px;
  height: 16px;
}

.ts-secondary-button:hover {
  transform:
    translateY(-2px);

  background:
    var(--surface-2);
}


/* =========================================================
   HERO EMBLEM
========================================================= */

.ts-hero__visual {
  min-height: 350px;

  position: relative;

  display: grid;
  place-items: center;
}

.ts-hero-orbit {
  position: absolute;

  border-radius: 50%;

  border:
    1px solid
    var(--glass-border-soft);
}

.ts-hero-orbit--large {
  width: 330px;
  height: 330px;
}

.ts-hero-orbit--small {
  width: 255px;
  height: 255px;
}

.ts-hero-emblem {
  width: 205px;
  height: 205px;

  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.82),
      rgba(255,255,255,.25)
    );

  border:
    1px solid
    rgba(255,255,255,.86);

  box-shadow:
    0 24px 55px rgba(0,0,0,.1),
    inset 0 1px 0 rgba(255,255,255,1);

  backdrop-filter:
    blur(28px)
    saturate(160%);

  -webkit-backdrop-filter:
    blur(28px)
    saturate(160%);

  animation:
    tsFloat 6s
    ease-in-out infinite;
}

[data-theme="dark"] .ts-hero-emblem {
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.1),
      rgba(255,255,255,.025)
    );

  border-color:
    rgba(255,255,255,.13);
}

.ts-hero-emblem__small {
  color:
    var(--text-muted);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: .19em;
}

.ts-hero-emblem__number {
  margin:
    7px 0 9px;

  font-family:
    "Playfair Display",
    serif;

  font-size: 68px;

  line-height: .9;

  letter-spacing: -.06em;
}

@keyframes tsFloat {
  0%,
  100% {
    transform:
      translateY(0);
  }

  50% {
    transform:
      translateY(-9px);
  }
}


/* =========================================================
   TRUST
========================================================= */

.ts-trust-section {
  padding:
    20px 0 80px;
}

.ts-trust-row {
  display: flex;

  align-items: center;
  justify-content: center;

  flex-wrap: wrap;

  gap: 10px;
}

.ts-trust-pill {
  display: flex;
  align-items: center;

  gap: 9px;

  min-height: 46px;

  padding:
    7px 15px 7px 8px;

  border-radius: 100px;

  background:
    var(--surface-1);

  border:
    1px solid
    var(--glass-border);

  box-shadow:
    var(--shadow-xs),
    var(--inner-highlight);

  backdrop-filter:
    blur(18px)
    saturate(160%);

  -webkit-backdrop-filter:
    blur(18px)
    saturate(160%);

  font-size: 11px;
  font-weight: 600;
}

.ts-trust-pill__icon {
  width: 31px;
  height: 31px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.92),
      rgba(230,230,228,.92)
    );

  color:
    #1d1d1d;

  box-shadow:
    0 4px 10px
    rgba(0,0,0,.08);
}

[data-theme="dark"]
.ts-trust-pill__icon {
  background:
    linear-gradient(
      180deg,
      rgba(75,75,78,.95),
      rgba(41,41,43,.95)
    );

  color: white;
}

.ts-trust-pill__icon svg {
  width: 14px;
  height: 14px;

  stroke-width: 2;
}


/* =========================================================
   PRODUCT SECTION
========================================================= */

.ts-products-section {
  padding-bottom:
    60px;
}

.ts-section-header {
  margin-bottom:
    26px;

  display: flex;

  align-items: flex-end;
  justify-content: space-between;

  gap: 20px;
}

.ts-section-kicker {
  display: block;

  margin-bottom:
    8px;

  color:
    var(--text-soft);

  font-size: 10px;
  font-weight: 700;

  letter-spacing: .14em;
}

.ts-section-title {
  margin-bottom:
    7px;

  font-family:
    "Playfair Display",
    serif;

  font-size:
    clamp(32px, 4vw, 45px);

  line-height: 1;

  font-weight: 500;

  letter-spacing: -.035em;
}

.ts-section-description {
  color:
    var(--text-muted);

  font-size: 12px;
  line-height: 1.6;
}

.ts-section-link {
  display: inline-flex;

  align-items: center;

  gap: 6px;

  flex-shrink: 0;

  color:
    var(--text-main);

  font-size: 11px;
  font-weight: 600;

  text-decoration: none;
}

.ts-section-link svg {
  width: 14px;
  height: 14px;
}


/* =========================================================
   PRODUCT GRID
========================================================= */

.grid-products {
  display: grid;

  grid-template-columns:
    repeat(2, minmax(0,1fr));

  gap:
    22px 14px;
}


/* =========================================================
   PRODUCT CARD
========================================================= */

.product-card {
  min-width: 0;
  cursor: pointer;
}

.product-image-wrap {
  position: relative;

  aspect-ratio:
    3 / 4;

  margin-bottom:
    12px;

  overflow: hidden;

  border-radius:
    22px;

  background:
    var(--surface-1);

  border:
    1px solid
    var(--glass-border);

  box-shadow:
    var(--shadow-sm),
    var(--inner-highlight);

  transition:
    transform .35s
    cubic-bezier(.16,1,.3,1),
    box-shadow .35s ease;
}

.product-image-wrap::after {
  content: "";

  position: absolute;
  inset: 0;

  pointer-events: none;

  border-radius: inherit;

  box-shadow:
    inset 0 1px 0
    rgba(255,255,255,.4);
}

.product-image-wrap img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition:
    transform .7s
    cubic-bezier(.16,1,.3,1);
}

.product-card:hover
.product-image-wrap {
  transform:
    translateY(-3px);

  box-shadow:
    var(--shadow-md);
}

.product-card:hover
.product-image-wrap img {
  transform:
    scale(1.04);
}


/* =========================================================
   PRODUCT BADGE
========================================================= */

.badge {
  position: absolute;

  top: 12px;
  left: 12px;

  z-index: 4;

  min-height: 29px;

  padding:
    0 10px;

  display: flex;
  align-items: center;

  border-radius: 9px;

  backdrop-filter:
    blur(14px);

  -webkit-backdrop-filter:
    blur(14px);

  border:
    1px solid
    rgba(255,255,255,.5);

  box-shadow:
    0 5px 12px
    rgba(0,0,0,.08);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: .07em;

  text-transform: uppercase;
}

.badge-available {
  background:
    rgba(255,255,255,.76);

  color:
    #191919;
}

.badge-sold {
  background:
    rgba(15,15,15,.8);

  color:
    #ffffff;
}


/* =========================================================
   HEART BUTTON
========================================================= */

.heart-btn {
  position: absolute;

  top: 12px;
  right: 12px;

  z-index: 5;

  width: 36px;
  height: 36px;

  display: grid;
  place-items: center;

  border:
    1px solid
    rgba(255,255,255,.52);

  border-radius:
    12px;

  background:
    rgba(255,255,255,.62);

  color:
    #1a1a1a;

  backdrop-filter:
    blur(15px)
    saturate(160%);

  -webkit-backdrop-filter:
    blur(15px)
    saturate(160%);

  box-shadow:
    0 5px 15px
    rgba(0,0,0,.08);

  cursor: pointer;

  transition:
    transform .2s ease,
    background .2s ease;
}

.heart-btn:hover {
  transform:
    scale(1.05);

  background:
    rgba(255,255,255,.82);
}

.heart-btn:active {
  transform:
    scale(.9);
}

.heart-btn.saved {
  color:
    rgba(255, 0, 0, 0.948);
}


/* =========================================================
   SHARED BUTTONS
========================================================= */

.btn-primary {
  min-height: 48px;

  padding:
    0 20px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 8px;

  border: 0;

  border-radius:
    14px;

  background:
    linear-gradient(
      180deg,
      #292929,
      #171717
    );

  color:
    white;

  box-shadow:
    0 8px 18px
    rgba(0,0,0,.16),
    inset 0 1px 0
    rgba(255,255,255,.18);

  font-size: 13px;
  font-weight: 600;

  text-decoration: none;

  cursor: pointer;

  transition:
    transform .2s ease;
}

[data-theme="dark"]
.btn-primary {
  background:
    linear-gradient(
      180deg,
      #ffffff,
      #e5e5e3
    );

  color:
    #171717;
}

.btn-primary:active {
  transform:
    scale(.97);
}

.btn-primary:disabled {
  opacity: .5;

  cursor:
    not-allowed;
}

.btn-glass {
  min-height: 48px;

  padding:
    0 20px;

  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 8px;

  border-radius:
    14px;

  background:
    var(--surface-1);

  color:
    var(--text-main);

  border:
    1px solid
    var(--glass-border);

  box-shadow:
    var(--shadow-xs),
    var(--inner-highlight);

  backdrop-filter:
    blur(18px);

  -webkit-backdrop-filter:
    blur(18px);

  font-size: 13px;
  font-weight: 600;

  text-decoration: none;

  cursor: pointer;

  transition:
    transform .2s ease;
}

.btn-glass:active {
  transform:
    scale(.97);
}


/* =========================================================
   FILTER CHIPS
========================================================= */

.chip {
  min-height: 38px;

  padding:
    0 15px;

  border-radius:
    100px;

  border:
    1px solid
    var(--glass-border);

  background:
    var(--surface-1);

  color:
    var(--text-muted);

  box-shadow:
    var(--inner-highlight);

  backdrop-filter:
    blur(14px);

  -webkit-backdrop-filter:
    blur(14px);

  font-size: 11px;
  font-weight: 600;

  cursor: pointer;

  white-space: nowrap;

  transition:
    all .25s ease;
}

.chip.active {
  background:
    var(--text-main);

  color:
    var(--bg-base);

  border-color:
    transparent;
}


/* =========================================================
   BOTTOM NAV
========================================================= */

.bottom-nav,
.ts-floating-nav {
  position: fixed;

  left: 50%;
  bottom: 22px;

  transform:
    translateX(-50%);

  z-index: 100;

  width:
    min(calc(100% - 28px), 510px);

  min-height: 70px;

  padding:
    7px 8px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 2px;

  border-radius:
    24px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.6),
      rgba(255,255,255,.26)
    ),
    var(--surface-1);

  border:
    1px solid
    var(--glass-border);

  box-shadow:
    0 18px 50px
    rgba(0,0,0,.14),
    inset 0 1px 0
    rgba(255,255,255,.85);

  backdrop-filter:
    blur(30px)
    saturate(180%);

  -webkit-backdrop-filter:
    blur(30px)
    saturate(180%);
}

[data-theme="dark"]
.bottom-nav {
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.075),
      rgba(255,255,255,.018)
    ),
    var(--surface-1);
}

.nav-item {
  position: relative;

  min-width: 54px;
  height: 54px;

  padding:
    5px 7px;

  display: flex;

  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 4px;

  border-radius:
    17px;

  color:
    var(--text-muted);

  text-decoration:
    none;

  font-size: 8px;
  font-weight: 600;

  transition:
    color .25s ease,
    background .25s ease,
    box-shadow .25s ease,
    transform .25s ease;
}

.nav-item__icon {
  display:
    grid;

  place-items:
    center;
}

.nav-item svg {
  width: 18px;
  height: 18px;

  stroke-width: 1.9;
}

.nav-item:hover {
  color:
    var(--text-main);
}

.nav-item.active {
  color:
    var(--text-main);

  background:
    rgba(255,255,255,.48);

  box-shadow:
    inset 0 1px 0
    rgba(255,255,255,.85),
    0 5px 12px
    rgba(0,0,0,.07);
}

[data-theme="dark"]
.nav-item.active {
  background:
    rgba(255,255,255,.08);

  box-shadow:
    inset 0 1px 0
    rgba(255,255,255,.09);
}


/* =========================================================
   THEME SWITCH
========================================================= */

.theme-toggle {
  position: relative;

  width: 55px;
  height: 34px;

  flex:
    0 0 auto;

  padding:
    3px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  border-radius:
    100px;

  border:
    1px solid
    var(--glass-border);

  background:
    rgba(0,0,0,.055);

  box-shadow:
    inset 0 2px 5px
    rgba(0,0,0,.08);

  cursor: pointer;

  overflow: hidden;
}

[data-theme="dark"]
.theme-toggle {
  background:
    rgba(255,255,255,.06);
}

.theme-toggle-knob {
  position: absolute;

  left: 3px;

  width: 26px;
  height: 26px;

  border-radius:
    50%;

  background:
    linear-gradient(
      180deg,
      #ffffff,
      #e6e6e4
    );

  box-shadow:
    0 3px 8px
    rgba(0,0,0,.2),
    inset 0 1px 0
    rgba(255,255,255,1);

  z-index: 2;

  transition:
    transform .42s
    cubic-bezier(.16,1,.3,1);
}

[data-theme="dark"]
.theme-toggle-knob {
  transform:
    translateX(21px);

  background:
    linear-gradient(
      180deg,
      #474749,
      #242426
    );

  box-shadow:
    0 4px 9px
    rgba(0,0,0,.4),
    inset 0 1px 0
    rgba(255,255,255,.13);
}

.theme-toggle__icon {
  position: relative;

  z-index: 1;

  width: 20px;
  height: 20px;

  display: grid;
  place-items: center;

  color:
    var(--text-muted);
}

.theme-toggle__icon svg {
  width: 11px;
  height: 11px;

  stroke-width: 2;
}


/* =========================================================
   SHEETS / MODALS
========================================================= */

.sheet-overlay {
  position: fixed;
  inset: 0;

  z-index: 200;

  background:
    rgba(0,0,0,.38);

  backdrop-filter:
    blur(7px);

  -webkit-backdrop-filter:
    blur(7px);

  opacity: 0;

  pointer-events: none;

  transition:
    opacity .3s ease;
}

.sheet-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.bottom-sheet {
  position: fixed;

  left: 0;
  bottom: 0;

  z-index: 201;

  width: 100%;
  max-height: 90vh;

  overflow-y: auto;

  padding:
    26px;

  border-radius:
    28px 28px 0 0;

  background:
    var(--surface-3);

  border-top:
    1px solid
    var(--glass-border);

  box-shadow:
    0 -22px 70px
    rgba(0,0,0,.16);

  backdrop-filter:
    blur(30px);

  -webkit-backdrop-filter:
    blur(30px);

  transform:
    translateY(100%);

  transition:
    transform .4s
    cubic-bezier(.16,1,.3,1);
}

.bottom-sheet.active {
  transform:
    translateY(0);
}


/* =========================================================
   INPUTS
========================================================= */

.input-group {
  margin-bottom:
    16px;
}

.input-group label {
  display: block;

  margin-bottom:
    7px;

  color:
    var(--text-muted);

  font-size:
    10px;

  font-weight:
    600;

  letter-spacing:
    .08em;

  text-transform:
    uppercase;
}

.input-group input,
.input-group textarea,
.input-group select {
  width: 100%;
  min-height: 50px;

  padding:
    13px 15px;

  border-radius:
    14px;

  border:
    1px solid
    var(--glass-border);

  outline: none;

  background:
    var(--surface-1);

  color:
    var(--text-main);

  box-shadow:
    var(--inner-highlight);

  backdrop-filter:
    blur(15px);

  -webkit-backdrop-filter:
    blur(15px);

  font-family:
    "Inter",
    sans-serif;

  font-size:
    14px;

  transition:
    border-color .2s ease,
    box-shadow .2s ease;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
  border-color:
    rgba(255,85,105,.45);

  box-shadow:
    0 0 0 3px
    var(--accent-soft);
}


/* =========================================================
   SKELETON
========================================================= */

.skeleton {
  border-radius:
    18px;

  background:
    linear-gradient(
      90deg,
      var(--surface-1) 25%,
      var(--surface-2) 50%,
      var(--surface-1) 75%
    );

  background-size:
    200% 100%;

  animation:
    tsSkeleton 1.4s
    ease-in-out infinite;
}

@keyframes tsSkeleton {
  0% {
    background-position:
      200% 0;
  }

  100% {
    background-position:
      -200% 0;
  }
}


/* =========================================================
   TABLET
========================================================= */

@media (min-width: 768px) {
  .grid-products {
    grid-template-columns:
      repeat(3, minmax(0,1fr));

    gap:
      30px 20px;
  }

  .bottom-sheet {
    left: 50%;
    bottom: auto;
    top: 50%;

    width:
      min(calc(100% - 40px), 520px);

    border-radius:
      28px;

    opacity: 0;

    pointer-events:
      none;

    transform:
      translate(-50%,-45%)
      scale(.96);
  }

  .bottom-sheet.active {
    opacity: 1;

    pointer-events:
      auto;

    transform:
      translate(-50%,-50%)
      scale(1);
  }
}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 1024px) {
  .grid-products {
    grid-template-columns:
      repeat(4, minmax(0,1fr));
  }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {
  body {
    padding-bottom:
      115px;
  }

  .ts-container,
  .container {
    width:
      min(100% - 24px, 1180px);
  }

  .ts-header {
    padding-top:
      12px;
  }

  .ts-header__glass {
    height: 58px;

    border-radius:
      19px;
  }

  .ts-header__actions {
    gap: 3px;
  }

  .ts-icon-button {
    width: 38px;
    height: 38px;
  }

  .ts-brand__mark {
    width: 31px;
    height: 31px;
  }

  .ts-brand__name {
    font-size:
      11px;
  }

  .ts-hero {
    padding-top:
      13px;
  }

  .ts-hero__panel {
    min-height: auto;

    padding:
      45px 24px 27px;

    grid-template-columns:
      1fr;

    border-radius:
      28px;
  }

  .ts-hero__title {
    font-size:
      clamp(48px, 15vw, 68px);
  }

  .ts-hero__subtitle {
    max-width:
      95%;

    font-size:
      13px;
  }

  .ts-hero__actions {
    display: grid;

    grid-template-columns:
      1fr;

    width: 100%;
  }

  .ts-action-button,
  .ts-secondary-button {
    width: 100%;
  }

  .ts-hero__visual {
    min-height:
      285px;

    margin-top:
      30px;
  }

  .ts-hero-orbit--large {
    width:
      255px;

    height:
      255px;
  }

  .ts-hero-orbit--small {
    width:
      200px;

    height:
      200px;
  }

  .ts-hero-emblem {
    width:
      165px;

    height:
      165px;
  }

  .ts-hero-emblem__number {
    font-size:
      57px;
  }

  .ts-trust-section {
    padding:
      14px 0 65px;
  }

  .ts-trust-row {
    justify-content:
      flex-start;

    flex-wrap:
      nowrap;

    overflow-x:
      auto;

    scrollbar-width:
      none;

    padding:
      1px;
  }

  .ts-trust-row::-webkit-scrollbar {
    display:
      none;
  }

  .ts-trust-pill {
    flex:
      0 0 auto;
  }

  .ts-section-header {
    align-items:
      flex-end;
  }

  .ts-section-title {
    font-size:
      34px;
  }

  .ts-section-description {
    max-width:
      230px;
  }

  .bottom-nav,
  .ts-floating-nav {
    bottom:
      12px;

    width:
      calc(100% - 20px);

    min-height:
      66px;

    padding:
      6px;

    border-radius:
      22px;
  }

  .nav-item {
    min-width:
      45px;

    height:
      51px;

    padding:
      4px;

    font-size:
      7px;
  }

  .nav-item svg {
    width:
      17px;

    height:
      17px;
  }

  .theme-toggle {
    width:
      49px;

    height:
      31px;
  }

  .theme-toggle-knob {
    width:
      23px;

    height:
      23px;
  }

  [data-theme="dark"]
  .theme-toggle-knob {
    transform:
      translateX(18px);
  }
}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 390px) {
  .ts-brand__name {
    display:
      none;
  }

  .nav-item {
    min-width:
      42px;
  }

  .bottom-nav {
    gap:
      0;
  }
}


/* =========================================================
   THRIFTSPOT — MOBILE + REFERENCE BUTTON UPGRADE
========================================================= */

.ts-ref-btn,
.btn-primary {
  --ref-primary:
    var(--accent, #ff5569);

  --ref-neutral-1:
    #f7f8f7;

  --ref-neutral-2:
    #e7e7e7;

  --ref-radius:
    14px;

  position: relative;

  isolation: isolate;

  min-width: 190px;
  min-height: 58px;

  padding:
    0 22px;

  border: 0;

  border-radius:
    var(--ref-radius);

  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 10px;

  overflow: visible;

  cursor: pointer;

  text-decoration: none;

  color:
    #171717;

  font-family:
    "Inter",
    sans-serif;

  font-size: 14px;
  font-weight: 650;

  line-height: 1;

  text-shadow:
    0 1px 1px rgba(255,255,255,.5);

  box-shadow:
    0 .5px .5px 1px rgba(255,255,255,.35),
    0 10px 20px rgba(0,0,0,.18),
    0 4px 5px rgba(0,0,0,.05);

  transition:
    transform .3s ease,
    box-shadow .3s ease;

  background:
    transparent;

  -webkit-tap-highlight-color:
    transparent;
}

.ts-ref-btn::after,
.btn-primary::after {
  content: "";

  position: absolute;
  inset: 0;

  z-index: -1;

  border-radius:
    inherit;

  border:
    2.5px solid transparent;

  background:
    linear-gradient(
      var(--ref-neutral-1),
      var(--ref-neutral-2)
    ) padding-box,

    linear-gradient(
      to bottom,
      rgba(0,0,0,.08),
      rgba(0,0,0,.45)
    ) border-box;

  transition:
    transform .35s ease,
    box-shadow .35s ease;
}

.ts-ref-btn::before,
.btn-primary::before {
  content: "";

  position: absolute;

  inset:
    7px 6px 6px;

  z-index: -1;

  border-radius:
    calc(var(--ref-radius) - 4px);

  background:
    linear-gradient(
      to top,
      var(--ref-neutral-1),
      var(--ref-neutral-2)
    );

  filter:
    blur(.4px);
}

.ts-ref-btn:hover,
.btn-primary:hover {
  transform:
    scale(1.02);

  box-shadow:
    0 0 1px 2px rgba(255,255,255,.3),
    0 15px 30px rgba(0,0,0,.22),
    0 10px 3px -3px rgba(0,0,0,.04);
}

.ts-ref-btn:hover::after,
.btn-primary:hover::after {
  transform:
    scale(1.045, 1.08);

  box-shadow:
    inset 0 -1px 3px rgba(255,255,255,1);
}

.ts-ref-btn:active,
.btn-primary:active {
  transform:
    scale(.985);

  box-shadow:
    0 0 1px 2px rgba(255,255,255,.28),
    0 8px 12px rgba(0,0,0,.16);
}

.ts-ref-btn__outline {
  position: absolute;

  inset:
    -2px -3.5px;

  z-index: -2;

  overflow: hidden;

  border-radius:
    inherit;

  opacity: 0;

  transition:
    opacity .35s ease;

  pointer-events: none;
}

.ts-ref-btn__outline::before {
  content: "";

  position: absolute;

  inset: -100%;

  background:
    conic-gradient(
      from 180deg,
      transparent 60%,
      rgba(255,255,255,.98) 80%,
      transparent 100%
    );

  animation:
    tsRefSpin 2s linear infinite;

  animation-play-state:
    paused;
}

.ts-ref-btn:hover
.ts-ref-btn__outline {
  opacity: 1;
}

.ts-ref-btn:hover
.ts-ref-btn__outline::before {
  animation-play-state:
    running;
}

@keyframes tsRefSpin {
  to {
    transform:
      rotate(360deg);
  }
}

.ts-ref-btn__state {
  position: relative;

  z-index: 2;

  display: flex;

  align-items: center;
  justify-content: center;

  padding-left:
    25px;
}

.ts-ref-btn__icon {
  position: absolute;

  left: 0;
  top: 50%;

  display: grid;
  place-items: center;

  transform:
    translateY(-50%)
    scale(1.12);

  transition:
    transform .3s ease;
}

.ts-ref-btn__icon svg {
  width: 18px;
  height: 18px;

  overflow: visible;
}

.ts-ref-btn:hover
.ts-ref-btn__icon {
  transform:
    translateY(-50%)
    rotate(45deg)
    scale(1.12);
}

.ts-ref-btn__label {
  display: flex;

  align-items: center;
  justify-content: center;
}

.ts-ref-btn__label span {
  display: block;

  opacity: 0;

  animation:
    tsRefLand .65s ease
    forwards
    calc(var(--i) * .025s);
}

.ts-ref-btn:hover
.ts-ref-btn__label span {
  opacity: 1;

  animation:
    tsRefWave .45s ease
    forwards
    calc(var(--i) * .018s);
}

@keyframes tsRefLand {
  0% {
    opacity: 0;

    transform:
      translateY(-14px)
      rotate(-55deg);

    color:
      var(--ref-primary);

    filter:
      blur(3px);
  }

  45% {
    opacity: 1;

    transform:
      translateY(3px);

    filter:
      blur(0);
  }

  100% {
    opacity: 1;

    transform:
      translateY(0);
  }
}

@keyframes tsRefWave {
  0% {
    opacity: 1;

    transform:
      translateY(0);
  }

  45% {
    opacity: 1;

    transform:
      translateY(-3px);

    color:
      var(--ref-primary);
  }

  100% {
    opacity: 1;

    transform:
      translateY(0);
  }
}


/* Secondary important button — liquid glass */

.ts-secondary-button,
.btn-glass {
  min-height: 58px;

  padding:
    0 22px;

  border-radius:
    14px;

  border:
    1px solid
    var(--glass-border);

  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.30),
      rgba(255, 255, 255, 0.08)
    ),
    var(--surface-1);

  color:
    var(--text-main);

  box-shadow:
    var(--shadow-sm),
    var(--inner-highlight);

  backdrop-filter:
    blur(20px)
    saturate(175%);

  -webkit-backdrop-filter:
    blur(20px)
    saturate(175%);
}

[data-theme="dark"]
.ts-secondary-button,
[data-theme="dark"]
.btn-glass {
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.065),
      rgba(255, 255, 255, 0.015)
    ),
    var(--surface-1);

  color:
    var(--text-main);

  border-color:
    var(--glass-border);

  box-shadow:
    var(--shadow-sm),
    var(--inner-highlight);
}


/* ---------- Responsive type/layout ---------- */

.ts-hero__title,
.ts-section-title {
  text-wrap:
    balance;
}

.ts-hero__subtitle,
.ts-section-description {
  text-wrap:
    pretty;
}


/* Tablet / narrow desktop */

@media (max-width: 900px) {
  .ts-hero__panel {
    grid-template-columns:
      1fr;

    min-height: auto;

    padding:
      54px 42px 36px;
  }

  .ts-hero__content {
    max-width: 680px;

    margin-inline:
      auto;

    text-align:
      center;
  }

  .ts-eyebrow {
    margin-inline:
      auto;
  }

  .ts-hero__subtitle {
    margin-inline:
      auto;
  }

  .ts-hero__actions {
    justify-content:
      center;
  }

  .ts-hero__visual {
    min-height:
      290px;

    margin-top:
      22px;
  }
}


/* Main mobile */

@media (max-width: 760px) {
  html {
    -webkit-text-size-adjust:
      100%;
  }

  body {
    padding-bottom:
      calc(94px + env(safe-area-inset-bottom));
  }

  .ts-container,
  .container {
    width:
      min(100% - 24px, 1180px);
  }

  .ts-header {
    padding-top:
      max(10px, env(safe-area-inset-top));
  }

  .ts-header__glass {
    height: 56px;

    padding:
      7px 8px 7px 12px;

    border-radius:
      18px;
  }

  .ts-brand {
    min-width:
      0;
  }

  .ts-brand__mark {
    width: 31px;
    height: 31px;

    flex:
      0 0 31px;
  }

  .ts-brand__name {
    font-size:
      10px;

    letter-spacing:
      .09em;

    white-space:
      nowrap;
  }

  .ts-icon-button {
    width: 38px;
    height: 38px;

    border-radius:
      12px;
  }

  .ts-hero {
    padding-top:
      12px;
  }

  .ts-hero__panel {
    min-height:
      0;

    padding:
      38px 20px 24px;

    grid-template-columns:
      minmax(0, 1fr);

    border-radius:
      26px;
  }

  .ts-hero__content {
    width: 100%;

    max-width:
      none;

    margin: 0;

    text-align:
      center;
  }

  .ts-eyebrow {
    margin:
      0 auto 19px;

    padding:
      7px 11px;

    font-size:
      9px;

    letter-spacing:
      .1em;
  }

  .ts-hero__title {
    max-width:
      9.5ch;

    margin:
      0 auto 18px;

    font-size:
      clamp(43px, 13.2vw, 62px);

    line-height:
      .94;

    letter-spacing:
      -.045em;

    text-align:
      center;

    text-wrap:
      balance;
  }

  .ts-hero__title span {
    margin-top:
      4px;
  }

  .ts-hero__subtitle {
    max-width:
      34em;

    margin:
      0 auto 27px;

    font-size:
      13px;

    line-height:
      1.65;

    text-align:
      center;
  }

  .ts-hero__actions {
    width:
      min(100%, 360px);

    margin-inline:
      auto;

    display:
      grid;

    grid-template-columns:
      1fr;

    gap:
      10px;
  }

  .ts-ref-btn,
  .btn-primary,
  .ts-secondary-button,
  .btn-glass,
  .ts-action-button {
    width:
      100%;

    min-width:
      0;

    min-height:
      56px;
  }

  .ts-ref-btn {
    font-size:
      13px;
  }

  .ts-hero__visual {
    min-height:
      225px;

    margin-top:
      20px;
  }

  .ts-hero-orbit--large {
    width:
      min(62vw, 238px);

    height:
      min(62vw, 238px);
  }

  .ts-hero-orbit--small {
    width:
      min(48vw, 184px);

    height:
      min(48vw, 184px);
  }

  .ts-hero-emblem {
    width:
      min(39vw, 150px);

    height:
      min(39vw, 150px);
  }

  .ts-hero-emblem__number {
    font-size:
      clamp(47px, 14vw, 56px);
  }

  .ts-trust-section {
    padding:
      12px 0 48px;
  }

  .ts-trust-row {
    margin-inline:
      -12px;

    padding:
      2px 12px 7px;

    justify-content:
      flex-start;

    flex-wrap:
      nowrap;

    gap:
      8px;

    overflow-x:
      auto;

    scroll-snap-type:
      x proximity;

    scrollbar-width:
      none;

    -webkit-overflow-scrolling:
      touch;
  }

  .ts-trust-row::-webkit-scrollbar {
    display:
      none;
  }

  .ts-trust-pill {
    flex:
      0 0 auto;

    min-height:
      42px;

    padding:
      6px 13px 6px 7px;

    font-size:
      10px;

    scroll-snap-align:
      start;
  }

  .ts-trust-pill__icon {
    width: 29px;
    height: 29px;
  }

  .ts-products-section {
    padding-bottom:
      40px;
  }

  .ts-section-header {
    margin-bottom:
      20px;

    display:
      grid;

    grid-template-columns:
      minmax(0, 1fr) auto;

    align-items:
      end;

    gap:
      12px;
  }

  .ts-section-kicker {
    margin-bottom:
      6px;

    font-size:
      9px;

    letter-spacing:
      .12em;
  }

  .ts-section-title {
    margin-bottom:
      5px;

    font-size:
      clamp(30px, 9vw, 36px);

    line-height:
      1.02;

    text-align:
      left;
  }

  .ts-section-description {
    max-width:
      28em;

    font-size:
      11px;

    line-height:
      1.55;

    text-align:
      left;
  }

  .ts-section-link {
    align-self:
      end;

    padding-bottom:
      2px;

    font-size:
      10px;

    white-space:
      nowrap;
  }

  .grid-products {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap:
      20px 10px;
  }

  .product-image-wrap {
    margin-bottom:
      9px;

    border-radius:
      16px;
  }

  .badge {
    top: 8px;
    left: 8px;

    min-height:
      25px;

    padding:
      0 8px;

    border-radius:
      8px;

    font-size:
      7.5px;
  }

  .heart-btn {
    top: 8px;
    right: 8px;

    width: 31px;
    height: 31px;

    border-radius:
      10px;
  }

  .bottom-nav,
  .ts-floating-nav {
    left: 10px;
    right: 10px;

    bottom:
      max(10px, env(safe-area-inset-bottom));

    transform:
      none;

    width:
      auto;

    min-height:
      64px;

    padding:
      6px;

    gap:
      1px;

    border-radius:
      21px;
  }

  .nav-item {
    flex:
      1 1 0;

    min-width:
      0;

    width:
      auto;

    height:
      50px;

    padding:
      4px 2px;

    gap:
      3px;

    border-radius:
      15px;

    font-size:
      7px;
  }

  .nav-item svg {
    width: 17px;
    height: 17px;
  }

  .theme-toggle {
    flex:
      0 0 46px;

    width:
      46px;

    height:
      30px;

    margin-left:
      2px;
  }

  .theme-toggle-knob {
    width: 22px;
    height: 22px;
  }

  [data-theme="dark"]
  .theme-toggle-knob {
    transform:
      translateX(16px);
  }

  .theme-toggle__icon {
    width: 17px;
    height: 17px;
  }

  .bottom-sheet {
    padding:
      22px 18px
      calc(22px + env(safe-area-inset-bottom));

    border-radius:
      24px 24px 0 0;
  }

  .input-group input,
  .input-group textarea,
  .input-group select {
    min-height:
      48px;

    font-size:
      16px;
  }
}


/* Narrow phones */

@media (max-width: 430px) {
  .ts-brand__name {
    font-size:
      9px;
  }

  .ts-hero__panel {
    padding-inline:
      18px;
  }

  .ts-hero__title {
    max-width:
      9ch;
  }

  .ts-section-header {
    grid-template-columns:
      1fr;

    align-items:
      start;
  }

  .ts-section-link {
    justify-self:
      start;

    padding:
      0;
  }

  .bottom-nav,
  .ts-floating-nav {
    left: 7px;
    right: 7px;
  }

  .theme-toggle {
    flex-basis:
      43px;

    width:
      43px;
  }
}


/* Very small phones */

@media (max-width: 360px) {
  .ts-container,
  .container {
    width:
      min(100% - 18px, 1180px);
  }

  .ts-brand__name {
    display:
      none;
  }

  .ts-hero__panel {
    padding:
      32px 15px 22px;
  }

  .ts-hero__title {
    font-size:
      clamp(39px, 13vw, 48px);
  }

  .grid-products {
    gap:
      17px 8px;
  }

  .badge {
    max-width:
      calc(100% - 46px);

    overflow:
      hidden;

    text-overflow:
      ellipsis;

    white-space:
      nowrap;
  }

  .nav-item {
    font-size:
      6.5px;
  }

  .nav-item svg {
    width: 16px;
    height: 16px;
  }

  .theme-toggle {
    flex-basis:
      41px;

    width:
      41px;
  }

  .theme-toggle__icon {
    display:
      none;
  }

  [data-theme="dark"]
  .theme-toggle-knob {
    transform:
      translateX(11px);
  }
}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
  .ts-ref-btn,
  .ts-ref-btn *,
  .btn-primary,
  .btn-primary::before,
  .btn-primary::after {
    animation:
      none !important;

    transition-duration:
      .01ms !important;
  }
}


/* =========================================================
   SHARED TOP NAV ALIGNMENT
========================================================= */

.shop-topbar,
.product-topbar,
.saved-topbar,
.profile-header,
.drops-topbar {
  display:
    grid !important;

  grid-template-columns:
    minmax(0, 1fr)
    auto
    minmax(0, 1fr) !important;

  align-items:
    center !important;

  column-gap:
    10px !important;
}

.shop-brand,
.shop-site-brand,
.product-site-brand,
.saved-brand,
.profile-brand,
.drops-brand {
  justify-self:
    start !important;

  min-width:
    0 !important;
}

.shop-socials,
.product-socials,
.saved-socials,
.profile-socials,
.drops-socials {
  justify-self:
    center !important;

  display:
    flex !important;

  align-items:
    center !important;
}

.shop-header-right,
.product-header-right,
.saved-header-right,
.profile-header-right,
.drops-header-right {
  justify-self:
    end !important;

  display:
    flex !important;

  align-items:
    center !important;
}

@media (max-width: 760px) {
  .shop-topbar,
  .product-topbar,
  .saved-topbar,
  .profile-header,
  .drops-topbar {
    grid-template-columns:
      minmax(0, 1fr)
      auto
      minmax(0, 1fr) !important;

    column-gap:
      6px !important;
  }

  .shop-brand__name,
  .shop-site-brand__name,
  .product-site-brand__name,
  .saved-brand__name,
  .profile-brand__name,
  .drops-brand__name {
    min-width:
      0;

    overflow:
      hidden;

    text-overflow:
      ellipsis;

    white-space:
      nowrap;
  }
}


/* =========================================================
   LIQUID GLASS V2
   CLEAN BOKEH + ACTUAL TRANSLUCENT GLASS
   PASTE AT VERY END OF style.css
========================================================= */


/* =========================================================
   LIQUID GLASS TOKENS
========================================================= */

:root {

  --lg-glass:
    rgba(255, 255, 255, 0.18);

  --lg-glass-strong:
    rgba(255, 255, 255, 0.27);

  --lg-edge:
    rgba(255, 255, 255, 0.62);

  --lg-edge-soft:
    rgba(255, 255, 255, 0.32);

  --lg-shadow:
    rgba(29, 42, 67, 0.13);


  /* Bokeh */

  --lg-blue:
    rgba(55, 126, 255, 0.22);

  --lg-violet:
    rgba(132, 101, 255, 0.14);

  --lg-cyan:
    rgba(73, 205, 255, 0.11);

  --lg-warm:
    rgba(255, 181, 120, 0.09);

}


/* =========================================================
   DARK MODE TOKENS
========================================================= */

[data-theme="dark"] {

  --lg-glass:
    rgba(19, 23, 30, 0.31);

  --lg-glass-strong:
    rgba(25, 30, 38, 0.42);

  --lg-edge:
    rgba(255, 255, 255, 0.15);

  --lg-edge-soft:
    rgba(255, 255, 255, 0.075);

  --lg-shadow:
    rgba(0, 0, 0, 0.42);


  --lg-blue:
    rgba(74, 137, 255, 0.18);

  --lg-violet:
    rgba(147, 111, 255, 0.11);

  --lg-cyan:
    rgba(70, 196, 255, 0.08);

  --lg-warm:
    rgba(255, 174, 112, 0.05);

}


/* =========================================================
   GLOBAL BOKEH CANVAS

   Important:
   The background now exists directly behind EVERY page.
   Glass no longer depends only on .ts-background.
========================================================= */

body {

  position:
    relative;

  isolation:
    isolate;


  background-color:
    var(--bg-base);


  background-image:

    radial-gradient(
      ellipse 62% 48% at 7% 3%,
      var(--lg-blue),
      transparent 67%
    ),

    radial-gradient(
      ellipse 52% 42% at 96% 17%,
      var(--lg-violet),
      transparent 66%
    ),

    radial-gradient(
      ellipse 46% 38% at 14% 83%,
      var(--lg-cyan),
      transparent 67%
    ),

    radial-gradient(
      ellipse 50% 40% at 88% 91%,
      var(--lg-warm),
      transparent 68%
    );


  background-attachment:
    fixed;

}


/* =========================================================
   ACTUAL BOKEH LIGHTS
========================================================= */

body::before {

  content:
    "";

  position:
    fixed;


  inset:
    -12vmax;


  z-index:
    -2;


  pointer-events:
    none;


  background:

    radial-gradient(
      circle at 13% 20%,

      rgba(255,255,255,.42)
      0 1.1vmax,

      rgba(255,255,255,.10)
      1.2vmax 2.2vmax,

      transparent
      3.8vmax
    ),


    radial-gradient(
      circle at 31% 73%,

      rgba(84,148,255,.19)
      0 2.2vmax,

      rgba(84,148,255,.055)
      2.4vmax 4.5vmax,

      transparent
      6.8vmax
    ),


    radial-gradient(
      circle at 63% 18%,

      rgba(255,255,255,.28)
      0 .75vmax,

      rgba(255,255,255,.06)
      .9vmax 1.8vmax,

      transparent
      3.4vmax
    ),


    radial-gradient(
      circle at 79% 52%,

      rgba(139,107,255,.14)
      0 2.1vmax,

      rgba(139,107,255,.035)
      2.4vmax 4.4vmax,

      transparent
      6.5vmax
    ),


    radial-gradient(
      circle at 91% 78%,

      rgba(255,255,255,.22)
      0 1vmax,

      rgba(255,255,255,.05)
      1.1vmax 2vmax,

      transparent
      3.4vmax
    ),


    radial-gradient(
      circle at 47% 93%,

      rgba(70,205,255,.12)
      0 1.7vmax,

      rgba(70,205,255,.025)
      2vmax 3.8vmax,

      transparent
      5.8vmax
    );


  filter:
    blur(10px);


  opacity:
    .82;


  transform:
    translate3d(0,0,0);


  animation:
    lgBokehFloat
    22s
    ease-in-out
    infinite
    alternate;

}


/* =========================================================
   AMBIENT LIGHT
========================================================= */

body::after {

  content:
    "";

  position:
    fixed;


  inset:
    0;


  z-index:
    -1;


  pointer-events:
    none;


  background:

    linear-gradient(
      115deg,

      rgba(255,255,255,.10),

      transparent 26%,

      transparent 74%,

      rgba(255,255,255,.055)
    ),

    radial-gradient(
      circle at 50% -12%,

      rgba(255,255,255,.30),

      transparent 34%
    );


  opacity:
    .55;

}


/* =========================================================
   DARK BACKGROUND CONTROL
========================================================= */

[data-theme="dark"]
body::before {

  opacity:
    .42;

  filter:
    blur(13px);

}


[data-theme="dark"]
body::after {

  opacity:
    .20;

}


/* =========================================================
   BOKEH MOTION
========================================================= */

@keyframes lgBokehFloat {

  0% {

    transform:
      translate3d(
        -1.2%,
        -.8%,
        0
      )
      scale(1);

  }


  100% {

    transform:
      translate3d(
        1.6%,
        1.1%,
        0
      )
      scale(1.025);

  }

}


/* =========================================================
   DISABLE OLD ORBS

   Prevent old red/blue blobs fighting the new bokeh.
========================================================= */

.ts-orb {

  opacity:
    0 !important;

}


/* =========================================================
   REAL LIQUID GLASS — LARGE SURFACES
========================================================= */

.glass,

.ts-liquid-card,

.ts-header__glass,

.shop-topbar,

.product-topbar,

.saved-topbar,

.profile-header,

.drops-topbar,

.bottom-nav,

.ts-floating-nav,

.bottom-sheet {

  background:

    linear-gradient(

      135deg,

      rgba(255,255,255,.34)
      0%,

      rgba(255,255,255,.12)
      38%,

      rgba(255,255,255,.055)
      68%,

      rgba(255,255,255,.18)
      100%

    ),

    var(--lg-glass)

    !important;


  border:

    1px solid
    var(--lg-edge)

    !important;


  box-shadow:

    0 22px 55px
    var(--lg-shadow),

    inset
    0 1px 0
    rgba(255,255,255,.78),

    inset
    1px 0 0
    rgba(255,255,255,.18),

    inset
    0 -1px 0
    rgba(255,255,255,.10),

    inset
    -1px 0 0
    rgba(255,255,255,.08)

    !important;


  backdrop-filter:

    blur(28px)

    saturate(190%)

    contrast(103%)

    !important;


  -webkit-backdrop-filter:

    blur(28px)

    saturate(190%)

    contrast(103%)

    !important;

}


/* =========================================================
   DARK LIQUID GLASS
========================================================= */

[data-theme="dark"] .glass,

[data-theme="dark"] .ts-liquid-card,

[data-theme="dark"] .ts-header__glass,

[data-theme="dark"] .shop-topbar,

[data-theme="dark"] .product-topbar,

[data-theme="dark"] .saved-topbar,

[data-theme="dark"] .profile-header,

[data-theme="dark"] .drops-topbar,

[data-theme="dark"] .bottom-nav,

[data-theme="dark"] .ts-floating-nav,

[data-theme="dark"] .bottom-sheet {

  background:

    linear-gradient(

      135deg,

      rgba(255,255,255,.085)
      0%,

      rgba(255,255,255,.035)
      42%,

      rgba(255,255,255,.012)
      72%,

      rgba(255,255,255,.045)
      100%

    ),

    var(--lg-glass)

    !important;


  border-color:

    var(--lg-edge)

    !important;


  box-shadow:

    0 26px 66px
    var(--lg-shadow),

    inset
    0 1px 0
    rgba(255,255,255,.13),

    inset
    1px 0 0
    rgba(255,255,255,.045),

    inset
    0 -1px 0
    rgba(255,255,255,.018)

    !important;

}


/* =========================================================
   SMALL LIQUID GLASS CONTROLS
========================================================= */

.btn-glass,

.ts-secondary-button,

.chip,

.ts-trust-pill,

.heart-btn,

.badge,

.input-group input,

.input-group textarea,

.input-group select {

  background:

    linear-gradient(

      145deg,

      rgba(255,255,255,.38),

      rgba(255,255,255,.12)
      56%,

      rgba(255,255,255,.06)

    ),

    rgba(255,255,255,.15)

    !important;


  border:

    1px solid
    rgba(255,255,255,.58)

    !important;


  box-shadow:

    0 9px 26px
    rgba(30,42,65,.085),

    inset
    0 1px 0
    rgba(255,255,255,.78),

    inset
    0 -1px 0
    rgba(255,255,255,.08)

    !important;


  backdrop-filter:

    blur(20px)

    saturate(185%)

    !important;


  -webkit-backdrop-filter:

    blur(20px)

    saturate(185%)

    !important;

}


/* =========================================================
   SMALL GLASS — DARK
========================================================= */

[data-theme="dark"] .btn-glass,

[data-theme="dark"] .ts-secondary-button,

[data-theme="dark"] .chip,

[data-theme="dark"] .ts-trust-pill,

[data-theme="dark"] .heart-btn,

[data-theme="dark"] .badge,

[data-theme="dark"] .input-group input,

[data-theme="dark"] .input-group textarea,

[data-theme="dark"] .input-group select {

  background:

    linear-gradient(

      145deg,

      rgba(255,255,255,.075),

      rgba(255,255,255,.022)
      58%,

      rgba(255,255,255,.01)

    ),

    rgba(20,24,31,.28)

    !important;


  border-color:

    rgba(255,255,255,.12)

    !important;


  box-shadow:

    0 12px 30px
    rgba(0,0,0,.24),

    inset
    0 1px 0
    rgba(255,255,255,.10)

    !important;

}


/* =========================================================
   HERO
   Large liquid-glass window
========================================================= */

.ts-hero__panel {

  background:

    radial-gradient(

      circle at 82% 14%,

      rgba(72,139,255,.15),

      transparent 30%

    ),

    linear-gradient(

      135deg,

      rgba(255,255,255,.27),

      rgba(255,255,255,.07)
      50%,

      rgba(255,255,255,.15)

    ),

    rgba(255,255,255,.09)

    !important;


  border:

    1px solid
    rgba(255,255,255,.58);


  box-shadow:

    0 30px 80px
    rgba(30,42,67,.11),

    inset
    0 1px 0
    rgba(255,255,255,.70),

    inset
    0 -1px 0
    rgba(255,255,255,.08);


  backdrop-filter:

    blur(26px)

    saturate(185%);


  -webkit-backdrop-filter:

    blur(26px)

    saturate(185%);

}


/* HERO DARK */

[data-theme="dark"]
.ts-hero__panel {

  background:

    radial-gradient(

      circle at 82% 14%,

      rgba(76,139,255,.10),

      transparent 31%

    ),

    linear-gradient(

      135deg,

      rgba(255,255,255,.055),

      rgba(255,255,255,.012)
      52%,

      rgba(255,255,255,.03)

    ),

    rgba(16,20,27,.22)

    !important;


  border-color:

    rgba(255,255,255,.10);


  box-shadow:

    0 34px 90px
    rgba(0,0,0,.34),

    inset
    0 1px 0
    rgba(255,255,255,.10);

}


/* =========================================================
   BOTTOM NAV
   Stronger obvious glass
========================================================= */

.bottom-nav,

.ts-floating-nav {

  background:

    linear-gradient(

      135deg,

      rgba(255,255,255,.40),

      rgba(255,255,255,.11)
      46%,

      rgba(255,255,255,.22)

    ),

    rgba(255,255,255,.13)

    !important;


  box-shadow:

    0 22px 52px
    rgba(31,44,70,.15),

    inset
    0 1px 0
    rgba(255,255,255,.90),

    inset
    0 -1px 0
    rgba(255,255,255,.10)

    !important;

}


[data-theme="dark"]
.bottom-nav,

[data-theme="dark"]
.ts-floating-nav {

  background:

    linear-gradient(

      135deg,

      rgba(255,255,255,.07),

      rgba(255,255,255,.018)
      50%,

      rgba(255,255,255,.035)

    ),

    rgba(14,18,24,.30)

    !important;

}


/* =========================================================
   ACTIVE NAV
========================================================= */

.nav-item.active {

  color:

    var(--accent)

    !important;


  background:

    linear-gradient(

      145deg,

      rgba(255,255,255,.48),

      rgba(255,255,255,.16)

    ),

    var(--accent-soft)

    !important;


  border:

    1px solid
    rgba(255,255,255,.56);


  box-shadow:

    inset
    0 1px 0
    rgba(255,255,255,.72),

    0 7px 20px
    rgba(52,152,219,.12)

    !important;

}


[data-theme="dark"]
.nav-item.active {

  background:

    linear-gradient(

      145deg,

      rgba(255,255,255,.065),

      rgba(255,255,255,.016)

    ),

    var(--accent-soft)

    !important;


  border-color:

    rgba(255,255,255,.10);

}


/* =========================================================
   SAVED HEART
========================================================= */

.heart-btn.saved {

  color:

    var(--accent)

    !important;


  background:

    linear-gradient(

      145deg,

      rgba(255,255,255,.48),

      rgba(255,255,255,.14)

    ),

    var(--accent-soft)

    !important;

}


/* =========================================================
   AVAILABLE STATUS
========================================================= */

.badge-available {

  color:

    #2d7350

    !important;


  background:

    linear-gradient(

      145deg,

      rgba(255,255,255,.46),

      rgba(255,255,255,.14)

    ),

    rgba(56,143,95,.12)

    !important;

}


[data-theme="dark"]
.badge-available {

  color:

    #7bd3a2

    !important;


  background:

    rgba(63,149,101,.13)

    !important;

}


/* =========================================================
   GLASS HOVERS
========================================================= */

.btn-glass,

.ts-secondary-button,

.chip,

.ts-icon-button,

.heart-btn {

  transition:

    transform .22s ease,

    background .22s ease,

    border-color .22s ease,

    box-shadow .22s ease;

}


@media (hover:hover) {

  .btn-glass:hover,

  .ts-secondary-button:hover,

  .chip:hover,

  .ts-icon-button:hover,

  .heart-btn:hover {

    transform:

      translateY(-2px);


    border-color:

      rgba(255,255,255,.78)

      !important;


    box-shadow:

      0 14px 30px
      rgba(30,42,65,.12),

      inset
      0 1px 0
      rgba(255,255,255,.86)

      !important;

  }

}


/* =========================================================
   MOBILE OPTIMIZATION
========================================================= */

@media (max-width: 760px) {

  body::before {

    inset:

      -18vmax;


    filter:

      blur(8px);


    opacity:

      .70;

  }


  .glass,

  .ts-liquid-card,

  .ts-header__glass,

  .shop-topbar,

  .product-topbar,

  .saved-topbar,

  .profile-header,

  .drops-topbar,

  .bottom-nav,

  .ts-floating-nav,

  .bottom-sheet {

    backdrop-filter:

      blur(22px)

      saturate(175%)

      !important;


    -webkit-backdrop-filter:

      blur(22px)

      saturate(175%)

      !important;

  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  body::before {

    animation:

      none !important;

  }

}

/* ---------------------------------------------------------
   PROFESSIONAL COLOUR HIERARCHY
--------------------------------------------------------- */

.nav-item.active {
  color:
    var(--accent);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.55),
      rgba(255,255,255,.25)
    ),
    var(--accent-soft);

  box-shadow:
    inset 0 1px 0
    rgba(255,255,255,.86),

    0 6px 18px
    var(--accent-soft);
}

[data-theme="dark"]
.nav-item.active {
  color:
    var(--accent);

  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.07),
      rgba(255,255,255,.025)
    ),
    var(--accent-soft);

  box-shadow:
    inset 0 1px 0
    rgba(255,255,255,.10),

    0 8px 22px
    rgba(0,0,0,.20);
}

.heart-btn.saved {
  color:
    var(--accent);

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.76),
      rgba(255,255,255,.40)
    ),
    var(--accent-soft);

  border-color:
    rgba(255,255,255,.72);

  box-shadow:
    0 8px 20px
    var(--accent-soft),

    inset 0 1px 0
    rgba(255,255,255,.84);
}

[data-theme="dark"]
.heart-btn.saved {
  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.08),
      rgba(255,255,255,.02)
    ),
    var(--accent-soft);

  border-color:
    rgba(255,255,255,.12);
}

.badge-available {
  color:
    #2f7551;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.72),
      rgba(255,255,255,.34)
    ),
    rgba(59,150,101,.12);

  border-color:
    rgba(71,160,113,.18);
}

[data-theme="dark"]
.badge-available {
  color:
    #7dd7a5;

  background:
    rgba(79,170,121,.12);

  border-color:
    rgba(125,215,165,.16);
}


/* ---------------------------------------------------------
   CTA — subtle accent
--------------------------------------------------------- */

.ts-ref-btn,
.btn-primary {
  --ref-primary:
    var(--accent);

  --ref-neutral-1:
    color-mix(
      in srgb,
      var(--accent) 10%,
      #ffffff
    );

  --ref-neutral-2:
    color-mix(
      in srgb,
      var(--accent) 7%,
      #e8ebef
    );
}

.ts-ref-btn:hover,
.btn-primary:hover {
  box-shadow:
    0 0 0 1px
    rgba(255,255,255,.36),

    0 16px 34px
    color-mix(
      in srgb,
      var(--accent) 15%,
      rgba(0,0,0,.18)
    ),

    0 6px 12px
    rgba(0,0,0,.06);
}


/* ---------------------------------------------------------
   HERO GLASS DEPTH
--------------------------------------------------------- */

.ts-hero__panel {
  position: relative;

  background:
    radial-gradient(
      circle at 82% 20%,
      var(--accent-soft),
      transparent 30%
    ),

    linear-gradient(
      145deg,
      rgba(255,255,255,.20),
      rgba(255,255,255,.035)
    );
}

.ts-hero-emblem {
  box-shadow:
    0 28px 70px
    rgba(35,48,72,.13),

    0 8px 24px
    var(--accent-soft),

    inset 0 1px 0
    rgba(255,255,255,.96),

    inset 0 -1px 0
    rgba(255,255,255,.18);

  backdrop-filter:
    blur(32px)
    saturate(180%);

  -webkit-backdrop-filter:
    blur(32px)
    saturate(180%);
}

[data-theme="dark"]
.ts-hero-emblem {
  box-shadow:
    0 30px 80px
    rgba(0,0,0,.36),

    0 8px 28px
    var(--accent-soft),

    inset 0 1px 0
    rgba(255,255,255,.12);
}


/* ---------------------------------------------------------
   PRODUCT IMAGE GLASS EDGE
--------------------------------------------------------- */

.product-image-wrap {
  border-color:
    rgba(255,255,255,.62);

  box-shadow:
    0 10px 28px
    rgba(35,48,72,.09),

    inset 0 1px 0
    rgba(255,255,255,.56);
}

[data-theme="dark"]
.product-image-wrap {
  border-color:
    rgba(255,255,255,.10);

  box-shadow:
    0 13px 34px
    rgba(0,0,0,.28),

    inset 0 1px 0
    rgba(255,255,255,.08);
}


/* ---------------------------------------------------------
   MOBILE PERFORMANCE
--------------------------------------------------------- */

@media (max-width: 760px) {
  .ts-background::before,
  .ts-background::after {
    inset:
      -12%;
  }

  .ts-orb {
    filter:
      blur(62px);
  }

  .glass,
  .ts-liquid-card,
  .ts-header__glass,
  .shop-topbar,
  .product-topbar,
  .saved-topbar,
  .profile-header,
  .drops-topbar,
  .saved-toolbar,
  .bottom-nav,
  .ts-floating-nav {
    backdrop-filter:
      blur(25px)
      saturate(175%);

    -webkit-backdrop-filter:
      blur(25px)
      saturate(175%);
  }
}


/* ---------------------------------------------------------
   ACCESSIBILITY / REDUCED MOTION
--------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .ts-background::before,
  .ts-background::after {
    animation:
      none !important;
  }
}