@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: #f3f3f1;

  --surface-1: rgba(255, 255, 255, 0.58);
  --surface-2: rgba(255, 255, 255, 0.78);
  --surface-3: rgba(248, 248, 246, 0.92);

  --glass-border: rgba(255, 255, 255, 0.82);
  --glass-border-soft: rgba(0, 0, 0, 0.07);

  --text-main: #171717;
  --text-muted: #777773;
  --text-soft: #9a9a95;

  --accent: #ff5569;
  --accent-soft: rgba(255, 85, 105, 0.12);

  --shadow-xs:
    0 1px 2px rgba(0, 0, 0, 0.04);

  --shadow-sm:
    0 4px 12px rgba(0, 0, 0, 0.06);

  --shadow-md:
    0 12px 34px rgba(0, 0, 0, 0.09);

  --shadow-lg:
    0 24px 80px rgba(0, 0, 0, 0.12);

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

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


[data-theme="dark"] {

  --bg-base: #0d0d0e;

  --surface-1: rgba(31, 31, 33, 0.57);
  --surface-2: rgba(40, 40, 43, 0.76);
  --surface-3: rgba(23, 23, 25, 0.92);

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

  --text-main: #f4f4f2;
  --text-muted: #a0a09b;
  --text-soft: #777773;

  --accent: #ff6475;
  --accent-soft: rgba(255, 100, 117, 0.14);

  --shadow-xs:
    0 1px 2px rgba(0, 0, 0, 0.3);

  --shadow-sm:
    0 4px 14px rgba(0, 0, 0, 0.24);

  --shadow-md:
    0 14px 40px rgba(0, 0, 0, 0.32);

  --shadow-lg:
    0 30px 90px rgba(0, 0, 0, 0.48);

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



/* =========================================================
   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(90px);

  opacity: 0.36;
}

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

  top: -280px;
  right: -180px;

  background: rgba(255, 132, 148, 0.26);
}

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

  top: 45%;
  left: -320px;

  background: rgba(200, 210, 255, 0.2);
}

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

  bottom: -270px;
  right: 5%;

  background: rgba(255, 214, 180, 0.2);
}

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



/* =========================================================
   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.42),
      rgba(255, 255, 255, 0.12)
    ),
    var(--surface-1);

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

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

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

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

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

  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.015)
    ),
    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
   Existing JS can still generate .product-card markup.
========================================================= */

.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: var(--accent);
}



/* =========================================================
   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
   Append this AFTER your existing style.css rules.
   ========================================================= */

/* ---------- Reference-style important button ---------- */

.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);
}

/* Animated outline from the reference */
.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); }
}

/* Inner state */
.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);
}

/* Letter wave */
.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 — same material, calmer */
.ts-secondary-button,
.btn-glass {
  min-height: 58px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.08);
  background:
    linear-gradient(
      to top,
      rgba(235,235,233,.78),
      rgba(255,255,255,.9)
    );
  color: #171717;
  box-shadow:
    0 .5px .5px 1px rgba(255,255,255,.4),
    0 8px 18px rgba(0,0,0,.11),
    inset 0 1px 0 rgba(255,255,255,.9);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
}

[data-theme="dark"] .ts-secondary-button,
[data-theme="dark"] .btn-glass {
  background:
    linear-gradient(
      to bottom,
      rgba(65,65,68,.96),
      rgba(37,37,39,.96)
    );
  color: var(--text-main);
  border-color: rgba(255,255,255,.1);
  box-shadow:
    0 .5px .5px 1px rgba(255,255,255,.06),
    0 10px 24px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.1);
}

/* ---------- 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);
  }

  /* Header */
  .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;
  }

  /* Hero */
  .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;
  }

  /* Decorative hero graphic */
  .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);
  }

  /* Trust strip */
  .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;
  }

  /* Section title alignment */
  .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;
  }

  /* Product cards */
  .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;
  }

  /* Floating navigation:
     keep all five destinations + theme switch without overflow */
  .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;
  }

  /* Sheets and forms */
  .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; /* prevents iOS zoom */
  }
}

/* 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;
  }
}
