/* ==========================================================================
   SHOP TÚI SÁCH — Identity Token: LUXE-DARK
   Fonts: Cormorant Garamond (heading, italic 300) + DM Sans (body)
   Prefix: ts-
   ========================================================================== */

:root {
  --bg: #0e0c0a;
  --surface: #171310;
  --surface-2: #1c1712;
  --dark: #090706;
  --dark2: #120f0d;
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.14);
  --text: #f3efe9;
  --text-2: rgba(243, 239, 233, 0.62);
  --text-3: rgba(243, 239, 233, 0.38);
  --accent: #c9a24d;
  --accent-h: #b08a3d;
  --accent-light: rgba(201, 162, 77, 0.12);
  --accent-mid: #d9bc7a;
  --burgundy: #7a2e3a;
  --burgundy-light: rgba(122, 46, 58, 0.2);
  --danger: #e0645f;
  --success: #4ade80;
  --sans: "DM Sans", sans-serif;
  --serif: "Cormorant Garamond", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: var(--sans);
  cursor: pointer;
}

input,
select,
textarea {
  font-family: var(--sans);
}

.ts-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 64px);
}

.sec-pad {
  padding: clamp(72px, 10vw, 128px) 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--text);
}

.ts-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.ts-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.ts-sec-title {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.15;
  margin-bottom: 16px;
}

.ts-sec-title em {
  color: var(--accent);
  font-style: italic;
}

.ts-sec-sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-2);
  max-width: 520px;
  line-height: 1.7;
}

.ts-sec-head {
  margin-bottom: 56px;
}

.ts-sec-head.center {
  text-align: center;
}

.ts-sec-head.center .ts-sec-sub {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   BUTTONS — ghost uppercase, letter-spacing wide
   ========================================================================== */

.ts-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--text);
  border-radius: 2px;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.ts-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.ts-btn.solid {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--dark);
}

.ts-btn.solid:hover {
  background: var(--accent-h);
  border-color: var(--accent-h);
  color: var(--dark);
}

.ts-btn.sm {
  padding: 12px 24px;
  font-size: 11px;
  letter-spacing: 2px;
}

.ts-btn.block {
  width: 100%;
}

.ts-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.ts-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  padding-bottom: 4px;
  transition: all 0.25s ease;
}

.ts-link-arrow:hover {
  color: var(--accent);
  border-color: var(--accent);
  gap: 12px;
}

/* ==========================================================================
   NAV — Nav-6 Full-Width Dark Bar (always dark, fixed)
   ========================================================================== */

#ts-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--dark2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ts-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.ts-logo {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.5px;
  color: #fff;
}

.ts-logo span {
  color: var(--accent);
}

.ts-nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.ts-nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
  position: relative;
}

.ts-nav-links a:hover,
.ts-nav-links a.active {
  color: #fff;
}

.ts-nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -22px;
  height: 2px;
  background: var(--accent);
}

.ts-nav-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.ts-nav-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
  transition: color 0.2s ease;
  border: none;
  background: transparent;
}

.ts-nav-icon-btn:hover {
  color: var(--accent);
}

.ts-cart-count {
  position: absolute;
  top: 0;
  right: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--dark);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
}

.ts-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  border: none;
  background: transparent;
  padding: 8px 0;
}

.ts-burger span {
  display: block;
  height: 1px;
  background: #fff;
  transition: all 0.25s ease;
}

.ts-burger.open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.ts-burger.open span:nth-child(2) {
  opacity: 0;
}

.ts-burger.open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile off-canvas nav */

#ts-nav-mob {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 84vw);
  background: var(--dark2);
  border-left: 1px solid var(--border);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  padding: 100px 32px 40px;
  overflow-y: auto;
}

#ts-nav-mob.open {
  transform: translateX(0);
}

.ts-nav-mob-links a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-2);
}

.ts-nav-mob-links a.active,
.ts-nav-mob-links a:hover {
  color: var(--accent);
}

.ts-nav-mob-close {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-light);
  background: transparent;
  color: #fff;
  font-size: 18px;
  border-radius: 50%;
}

.ts-nav-scrim {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ts-nav-scrim.open {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 991px) {
  .ts-nav-links {
    display: none;
  }
  .ts-burger {
    display: flex;
  }
}

/* ==========================================================================
   HERO — H2 Split 45/55 (left dark text panel + right full-height image)
   ========================================================================== */

.ts-hero {
  display: flex;
  min-height: 100vh;
  padding-top: 84px;
}

.ts-hero-text {
  width: 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px clamp(28px, 5vw, 72px);
  background: var(--bg);
}

.ts-hero-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ts-hero-kicker::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.ts-hero-text h1 {
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}

.ts-hero-text h1 em {
  color: var(--accent);
}

.ts-hero-text p {
  font-size: 16px;
  font-weight: 300;
  color: var(--text-2);
  max-width: 420px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.ts-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.ts-hero-meta {
  display: flex;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.ts-hero-meta div strong {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  color: var(--accent);
}

.ts-hero-meta div span {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-3);
}

.ts-hero-media {
  width: 55%;
  position: relative;
  overflow: hidden;
}

.ts-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 991px) {
  .ts-hero {
    flex-direction: column;
    min-height: auto;
  }
  .ts-hero-text,
  .ts-hero-media {
    width: 100%;
  }
  .ts-hero-text {
    padding: 64px 24px 40px;
  }
  .ts-hero-media {
    height: 60vh;
  }
  .ts-hero-meta {
    flex-wrap: wrap;
    gap: 24px;
  }
}

/* ==========================================================================
   FEATURE-ICON-ROW — trust badges
   ========================================================================== */

.ts-badges {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.ts-badges-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.ts-badge-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 34px 24px;
  border-left: 1px solid var(--border);
}

.ts-badge-item:first-child {
  border-left: none;
}

.ts-badge-item i {
  font-size: 24px;
  color: var(--accent);
  flex-shrink: 0;
}

.ts-badge-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.ts-badge-item span {
  font-size: 12.5px;
  color: var(--text-3);
}

@media (max-width: 991px) {
  .ts-badges-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .ts-badge-item:nth-child(3) {
    border-left: none;
  }
  .ts-badge-item {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 576px) {
  .ts-badges-row {
    grid-template-columns: 1fr;
  }
  .ts-badge-item {
    border-left: none !important;
  }
}

/* ==========================================================================
   BENTO-GRID — collections
   ========================================================================== */

.ts-bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(2, 320px);
  gap: 18px;
}

.ts-bento-item {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  grid-column: span 2;
  grid-row: span 1;
}

.ts-bento-item.big {
  grid-column: span 3;
  grid-row: span 2;
}

.ts-bento-item.wide {
  grid-column: span 4;
}

.ts-bento-item.tall {
  grid-column: span 2;
  grid-row: span 2;
}

.ts-bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.ts-bento-item:hover img {
  transform: scale(1.06);
}

.ts-bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 7, 6, 0.85) 0%, rgba(9, 7, 6, 0) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.ts-bento-overlay span {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-bottom: 6px;
}

.ts-bento-overlay h3 {
  font-size: 22px;
  color: #fff;
  margin-bottom: 4px;
}

.ts-bento-overlay p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

@media (max-width: 767px) {
  .ts-bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
  }
  .ts-bento-item,
  .ts-bento-item.big,
  .ts-bento-item.wide,
  .ts-bento-item.tall {
    grid-column: span 1;
    height: 260px;
  }
}

/* ==========================================================================
   STAT-BAR
   ========================================================================== */

.ts-stats {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ts-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.ts-stat-item {
  text-align: center;
  padding: 60px 20px;
  border-left: 1px solid var(--border);
}

.ts-stat-item:first-child {
  border-left: none;
}

.ts-stat-item .num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
}

.ts-stat-item .label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-3);
}

@media (max-width: 767px) {
  .ts-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .ts-stat-item:nth-child(3) {
    border-left: none;
  }
  .ts-stat-item {
    border-bottom: 1px solid var(--border);
  }
}

/* ==========================================================================
   GRID-CARDS — product cards (no border/shadow, image + minimal text)
   ========================================================================== */

.ts-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 28px;
}

.ts-card {
  display: block;
  color: var(--text);
}

.ts-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--surface);
  margin-bottom: 18px;
}

.ts-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.ts-card:hover .ts-card-media img {
  transform: scale(1.055);
}

.ts-card-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 12px;
  background: var(--dark2);
  color: var(--accent);
  border: 1px solid rgba(201, 162, 77, 0.35);
}

.ts-card-tag.sale {
  background: var(--burgundy);
  color: #fff;
  border-color: var(--burgundy);
}

.ts-card-wish {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(9, 7, 6, 0.55);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(-6px);
  transition: all 0.25s ease;
}

.ts-card:hover .ts-card-wish {
  opacity: 1;
  transform: translateY(0);
}

.ts-card-wish:hover {
  color: var(--accent);
}

.ts-card-cat {
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 6px;
  display: block;
}

.ts-card-name {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  color: var(--text);
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

.ts-card:hover .ts-card-name {
  color: var(--accent);
}

.ts-card-price {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
}

.ts-card-price del {
  font-weight: 400;
  color: var(--text-3);
  font-size: 13px;
}

@media (max-width: 991px) {
  .ts-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .ts-products-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   FULL-BLEED promo
   ========================================================================== */

.ts-promo {
  position: relative;
  width: 100%;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.ts-promo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.ts-promo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 7, 6, 0.92) 0%, rgba(9, 7, 6, 0.55) 50%, rgba(9, 7, 6, 0.15) 100%);
  z-index: 1;
}

.ts-promo-content {
  position: relative;
  z-index: 2;
  max-width: 480px;
  padding: 0 clamp(24px, 6vw, 90px);
}

.ts-promo-content h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.15;
}

.ts-promo-content h2 em {
  color: var(--accent);
}

.ts-promo-content p {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 300;
  margin-bottom: 32px;
  line-height: 1.75;
}

/* ==========================================================================
   LIST-ELEGANT — brand values / craftsmanship
   ========================================================================== */

.ts-values-row {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.ts-values-list li {
  display: flex;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}

.ts-values-list li:first-child {
  padding-top: 0;
}

.ts-values-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  color: var(--accent);
  flex-shrink: 0;
  width: 42px;
}

.ts-values-body h3 {
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--text);
}

.ts-values-body p {
  font-size: 14.5px;
  color: var(--text-2);
  font-weight: 300;
  line-height: 1.7;
  margin: 0;
  max-width: 420px;
}

.ts-values-media {
  position: sticky;
  top: 110px;
}

.ts-values-media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

@media (max-width: 991px) {
  .ts-values-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ts-values-media {
    position: static;
    order: -1;
  }
}

/* ==========================================================================
   HORIZONTAL-SCROLL — testimonials
   ========================================================================== */

.ts-testi-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 8px 4px 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--surface);
}

.ts-testi-scroll::-webkit-scrollbar {
  height: 6px;
}

.ts-testi-scroll::-webkit-scrollbar-thumb {
  background: var(--border-light);
}

.ts-testi-card {
  flex: 0 0 auto;
  width: min(400px, 82vw);
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 36px 32px;
}

.ts-testi-stars {
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.ts-testi-card p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 26px;
}

.ts-testi-person {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ts-testi-person img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.ts-testi-person strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}

.ts-testi-person span {
  font-size: 12px;
  color: var(--text-3);
}

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */

.ts-newsletter {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 72px 0;
  text-align: center;
}

.ts-newsletter h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 14px;
}

.ts-newsletter p {
  color: var(--text-2);
  font-weight: 300;
  max-width: 460px;
  margin: 0 auto 32px;
}

.ts-newsletter-form {
  display: flex;
  max-width: 460px;
  margin: 0 auto;
  gap: 0;
  border: 1px solid var(--border-light);
}

.ts-newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 16px 20px;
  color: var(--text);
  font-size: 14px;
}

.ts-newsletter-form input:focus {
  outline: none;
}

.ts-newsletter-form input::placeholder {
  color: var(--text-3);
}

.ts-newsletter-form button {
  border: none;
  background: var(--accent);
  color: var(--dark);
  padding: 0 28px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.ts-newsletter-form button:hover {
  background: var(--accent-h);
}

@media (max-width: 480px) {
  .ts-newsletter-form {
    flex-direction: column;
    border: none;
    gap: 12px;
  }
  .ts-newsletter-form input {
    border: 1px solid var(--border-light);
  }
  .ts-newsletter-form button {
    padding: 14px;
  }
}

/* ==========================================================================
   FOOTER — dark full-bleed minimal 2-column
   ========================================================================== */

.ts-footer {
  background: var(--dark);
  padding: 88px 0 0;
}

.ts-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}

.ts-footer-brand .ts-logo {
  margin-bottom: 20px;
  display: inline-block;
}

.ts-footer-brand p {
  color: var(--text-3);
  font-size: 14px;
  font-weight: 300;
  max-width: 300px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.ts-footer-social {
  display: flex;
  gap: 12px;
}

.ts-footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: all 0.2s ease;
}

.ts-footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.ts-footer-col h3 {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 22px;
}

.ts-footer-col li {
  margin-bottom: 14px;
}

.ts-footer-col a {
  font-size: 14px;
  color: var(--text-3);
  transition: color 0.2s ease;
}

.ts-footer-col a:hover {
  color: var(--accent);
}

.ts-footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 32px 0 40px;
  text-align: center;
}

.ts-footer-copy {
  font-size: 12.5px;
  color: var(--text-3);
}

.ts-footer-pay {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.ts-footer-pay span {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--border);
  padding: 6px 14px;
}

@media (max-width: 767px) {
  .ts-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .ts-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ZALO FLOAT
   ========================================================================== */

.ts-zalo-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0068ff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  z-index: 900;
  box-shadow: 0 8px 24px rgba(0, 104, 255, 0.4);
  animation: ts-pulse 2.4s infinite;
}

@keyframes ts-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 104, 255, 0.5);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(0, 104, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 104, 255, 0);
  }
}

/* ==========================================================================
   REVEAL ANIMATION
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.72s ease, transform 0.72s ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: none;
}

[data-reveal-d1] {
  transition-delay: 0.08s;
}

[data-reveal-d2] {
  transition-delay: 0.16s;
}

[data-reveal-d3] {
  transition-delay: 0.24s;
}

/* ==========================================================================
   PAGE HEADER + BREADCRUMB (inner pages)
   ========================================================================== */

.ts-page-header {
  padding: 168px 0 56px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.ts-page-header h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
}

.ts-breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-3);
  letter-spacing: 0.5px;
}

.ts-breadcrumb a {
  color: var(--text-3);
  transition: color 0.2s ease;
}

.ts-breadcrumb a:hover {
  color: var(--accent);
}

.ts-breadcrumb span.current {
  color: var(--accent);
}

/* ==========================================================================
   PRODUCTS PAGE — filter tabs, sidebar, swatches, pagination
   ========================================================================== */

.ts-cat-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 40px 0 8px;
}

.ts-cat-tab {
  padding: 11px 24px;
  border: 1px solid var(--border-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-2);
  background: transparent;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.ts-cat-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.ts-cat-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--dark);
}

.ts-shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}

.ts-filter-box {
  border-bottom: 1px solid var(--border);
  padding-bottom: 26px;
  margin-bottom: 26px;
}

.ts-filter-box h2 {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 20px;
}

.ts-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--text-2);
  cursor: pointer;
}

.ts-check-item input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.ts-price-range {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ts-price-range input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.ts-price-vals {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--text-3);
}

.ts-swatch-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ts-size-swatch {
  width: 42px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  font-size: 12.5px;
  color: var(--text-2);
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 2px;
}

.ts-size-swatch:hover {
  border-color: var(--accent);
}

.ts-size-swatch.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--dark);
}

.ts-color-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: 0 0 0 1px var(--border-light);
  transition: all 0.2s ease;
  position: relative;
}

.ts-color-swatch.active {
  box-shadow: 0 0 0 2px var(--accent);
}

.ts-color-swatch.active::after {
  content: "\2713";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-family: var(--sans);
  color: #fff;
  text-shadow: 0 0 3px rgba(0, 0, 0, 0.7);
}

.ts-shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}

.ts-shop-toolbar span {
  font-size: 13.5px;
  color: var(--text-3);
}

.ts-shop-toolbar select {
  background: var(--surface);
  border: 1px solid var(--border-light);
  color: var(--text);
  padding: 10px 16px;
  font-size: 13px;
}

.ts-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}

.ts-pagination a,
.ts-pagination span {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-light);
  font-size: 13px;
  color: var(--text-2);
  border-radius: 2px;
  transition: all 0.2s ease;
}

.ts-pagination a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.ts-pagination .active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--dark);
}

@media (max-width: 991px) {
  .ts-shop-layout {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   PRODUCT DETAIL — gallery, info, tabs, related
   ========================================================================== */

.ts-pd-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.ts-pd-main-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--surface);
  margin-bottom: 16px;
}

.ts-pd-main-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ts-pd-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.ts-pd-thumb {
  aspect-ratio: 1/1;
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  opacity: 0.55;
  transition: all 0.2s ease;
  background: none;
  padding: 0;
}

.ts-pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ts-pd-thumb.active,
.ts-pd-thumb:hover {
  opacity: 1;
  border-color: var(--accent);
}

.ts-pd-info .ts-card-cat {
  margin-bottom: 12px;
}

.ts-pd-info h1 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  margin-bottom: 14px;
}

.ts-pd-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.ts-pd-rating .stars {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: 2px;
}

.ts-pd-rating span {
  font-size: 13px;
  color: var(--text-3);
}

.ts-pd-price {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 26px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 24px;
}

.ts-pd-price del {
  font-size: 17px;
  font-weight: 400;
  color: var(--text-3);
}

.ts-pd-desc {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}

.ts-pd-option-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
}

.ts-pd-option-label span.val {
  color: var(--accent);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}

.ts-pd-option-block {
  margin-bottom: 28px;
}

.ts-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-light);
}

.ts-qty-stepper button {
  width: 42px;
  height: 46px;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 16px;
  transition: color 0.2s ease;
}

.ts-qty-stepper button:hover {
  color: var(--accent);
}

.ts-qty-stepper button:disabled {
  color: var(--text-3);
  cursor: not-allowed;
}

.ts-qty-stepper input {
  width: 48px;
  height: 46px;
  border: none;
  border-left: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  background: transparent;
  color: var(--text);
  text-align: center;
  font-size: 14px;
}

.ts-pd-actions {
  display: flex;
  gap: 14px;
  margin: 30px 0;
}

.ts-pd-actions .ts-btn {
  flex: 1;
}

.ts-pd-wish-btn {
  width: 58px;
  height: 58px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--text);
  font-size: 18px;
  transition: all 0.2s ease;
}

.ts-pd-wish-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.ts-pd-features {
  margin-top: 10px;
}

.ts-pd-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-2);
  padding: 10px 0;
}

.ts-pd-features i {
  color: var(--accent);
  font-size: 15px;
}

/* Tabs */

.ts-tabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.ts-tab-btn {
  padding: 16px 28px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-3);
  transition: all 0.2s ease;
  margin-bottom: -1px;
}

.ts-tab-btn:hover {
  color: var(--text);
}

.ts-tab-btn[aria-selected="true"] {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.ts-tab-panel {
  display: none;
}

.ts-tab-panel.active {
  display: block;
}

.ts-tab-panel p {
  font-size: 14.5px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.85;
  max-width: 720px;
}

.ts-spec-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 620px;
}

.ts-spec-table tr {
  border-bottom: 1px solid var(--border);
}

.ts-spec-table td {
  padding: 14px 0;
  font-size: 14px;
  color: var(--text-2);
}

.ts-spec-table td:first-child {
  color: var(--text-3);
  width: 220px;
  text-transform: uppercase;
  font-size: 11.5px;
  letter-spacing: 1px;
}

.ts-review-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.ts-review-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  align-items: center;
}

.ts-review-head strong {
  font-size: 14px;
}

.ts-review-head .stars {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 1.5px;
}

.ts-review-item p {
  color: var(--text-2);
  font-size: 14px;
  font-weight: 300;
  margin: 0;
}

.ts-review-date {
  font-size: 12px;
  color: var(--text-3);
}

@media (max-width: 767px) {
  .ts-pd-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ==========================================================================
   CART PAGE
   ========================================================================== */

.ts-cart-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 56px;
  align-items: start;
}

.ts-cart-table {
  width: 100%;
  border-collapse: collapse;
}

.ts-cart-head-row {
  display: none;
}

.ts-cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto auto auto;
  gap: 20px;
  align-items: center;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
}

.ts-cart-item-img {
  width: 90px;
  height: 100px;
  overflow: hidden;
  background: var(--surface);
}

.ts-cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ts-cart-item-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  margin-bottom: 6px;
}

.ts-cart-item-variant {
  font-size: 12.5px;
  color: var(--text-3);
}

.ts-cart-item-price {
  font-size: 14px;
  color: var(--text-2);
  white-space: nowrap;
}

.ts-cart-item-subtotal {
  font-size: 15px;
  font-weight: 500;
  color: var(--accent);
  white-space: nowrap;
}

.ts-cart-remove {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--text-3);
  font-size: 16px;
  transition: color 0.2s ease;
}

.ts-cart-remove:hover {
  color: var(--danger);
}

.ts-cart-toolbar {
  display: flex;
  justify-content: space-between;
  margin-top: 32px;
  flex-wrap: wrap;
  gap: 16px;
}

.ts-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.ts-trust-strip .item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-2);
}

.ts-trust-strip i {
  color: var(--accent);
  font-size: 20px;
}

.ts-order-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 36px 30px;
}

.ts-order-summary h2 {
  font-size: 20px;
  margin-bottom: 24px;
}

.ts-order-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-2);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.ts-order-row.total {
  border-bottom: none;
  padding-top: 20px;
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
}

.ts-order-row.total span:last-child {
  color: var(--accent);
}

.ts-coupon-row {
  display: flex;
  gap: 8px;
  margin: 20px 0;
}

.ts-coupon-row input {
  flex: 1;
  background: transparent;
  border: 1px solid var(--border-light);
  padding: 12px 14px;
  color: var(--text);
  font-size: 13px;
}

.ts-coupon-row input::placeholder {
  color: var(--text-3);
}

.ts-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-3);
  margin-top: 18px;
}

@media (max-width: 991px) {
  .ts-cart-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .ts-cart-item {
    grid-template-columns: 70px 1fr;
    row-gap: 10px;
  }
  .ts-cart-item-price,
  .ts-cart-item-qty,
  .ts-cart-item-subtotal {
    grid-column: 2 / 3;
  }
  .ts-cart-remove {
    position: absolute;
    top: 26px;
    right: 0;
  }
  .ts-cart-item {
    position: relative;
  }
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

.ts-quick-contact {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.ts-quick-contact-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.ts-quick-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 24px;
  border-left: 1px solid var(--border);
}

.ts-quick-contact-item:first-child {
  border-left: none;
}

.ts-quick-contact-item i {
  font-size: 22px;
  color: var(--accent);
}

.ts-quick-contact-item strong {
  display: block;
  font-size: 14px;
  color: var(--text);
}

.ts-quick-contact-item span {
  font-size: 12.5px;
  color: var(--text-3);
}

.ts-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.ts-contact-info-item {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.ts-contact-info-item i {
  font-size: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.ts-contact-info-item strong {
  display: block;
  font-size: 14.5px;
  margin-bottom: 4px;
}

.ts-contact-info-item span {
  font-size: 13.5px;
  color: var(--text-2);
  line-height: 1.6;
}

.ts-map-wrap {
  margin-top: 30px;
  border: 1px solid var(--border);
}

.ts-map-wrap iframe {
  width: 100%;
  height: 260px;
  border: 0;
  filter: grayscale(0.4) invert(0.92) contrast(0.9);
}

.ts-form-group {
  margin-bottom: 22px;
}

.ts-form-group label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 10px;
}

.ts-form-group input,
.ts-form-group select,
.ts-form-group textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--border-light);
  padding: 14px 16px;
  color: var(--text);
  font-size: 14px;
  border-radius: 2px;
}

.ts-form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.ts-form-group input:focus,
.ts-form-group select:focus,
.ts-form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.ts-form-group input::placeholder,
.ts-form-group textarea::placeholder {
  color: var(--text-3);
}

.ts-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 767px) {
  .ts-contact-layout {
    grid-template-columns: 1fr;
  }
  .ts-quick-contact-row {
    grid-template-columns: 1fr;
  }
  .ts-quick-contact-item {
    border-left: none;
    border-top: 1px solid var(--border);
  }
  .ts-quick-contact-item:first-child {
    border-top: none;
  }
  .ts-form-row {
    grid-template-columns: 1fr;
  }
}

/* FAQ accordion */

.ts-faq-item {
  border-bottom: 1px solid var(--border);
}

.ts-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--text);
}

.ts-faq-q i {
  flex-shrink: 0;
  font-size: 16px;
  color: var(--accent);
  transition: transform 0.3s ease;
}

.ts-faq-item.open .ts-faq-q i {
  transform: rotate(45deg);
}

.ts-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.ts-faq-item.open .ts-faq-a {
  max-height: 240px;
}

.ts-faq-a p {
  padding: 0 0 24px;
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.75;
  max-width: 640px;
  margin: 0;
}

/* CTA section with dark bg + image grid */

.ts-cta-section {
  background: var(--dark2);
  border-top: 1px solid var(--border);
}

.ts-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.ts-cta-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ts-cta-img-grid img:first-child {
  grid-row: span 2;
  height: 100%;
  object-fit: cover;
}

.ts-cta-img-grid img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.ts-cta-text h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 20px;
}

.ts-cta-text p {
  color: var(--text-2);
  font-weight: 300;
  margin-bottom: 32px;
  max-width: 440px;
  line-height: 1.75;
}

@media (max-width: 767px) {
  .ts-cta-row {
    grid-template-columns: 1fr;
  }
  .ts-cta-img-grid {
    order: -1;
  }
}

/* ==========================================================================
   LEGAL PAGES — Chính sách bảo mật / Điều khoản sử dụng (article layout)
   ========================================================================== */

.ts-legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.ts-legal-updated {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 44px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.ts-legal-content h2 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 26px;
  color: var(--text);
  margin: 48px 0 18px;
}

.ts-legal-content h2:first-of-type {
  margin-top: 0;
}

.ts-legal-content p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.85;
  margin-bottom: 18px;
}

.ts-legal-content ul {
  margin: 0 0 18px;
}

.ts-legal-content ul li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  font-weight: 300;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 10px;
}

.ts-legal-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.ts-legal-content strong {
  color: var(--text);
  font-weight: 500;
}

.ts-legal-content a.ts-inline-link {
  color: var(--accent);
  border-bottom: 1px solid rgba(201, 162, 77, 0.4);
  transition: border-color 0.2s ease;
}

.ts-legal-content a.ts-inline-link:hover {
  border-color: var(--accent);
}

/* ==========================================================================
   SEARCH — nav overlay panel + sidebar filter search box
   ========================================================================== */

.ts-search-panel {
  position: fixed;
  top: 84px;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--dark2);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}

.ts-search-panel:not([hidden]) {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.ts-search-panel-form {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ts-search-panel-form i {
  color: var(--text-3);
  font-size: 16px;
}

.ts-search-panel-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--text);
}

.ts-search-panel-input::placeholder {
  color: var(--text-3);
}

.ts-search-panel-submit {
  background: var(--accent);
  color: var(--dark);
  border: none;
  padding: 8px 20px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background 0.2s ease;
}

.ts-search-panel-submit:hover {
  background: var(--accent-h);
}

.ts-search-panel-close {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--text-3);
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.2s ease;
}

.ts-search-panel-close:hover {
  color: var(--text);
}

.ts-search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-light);
  padding: 10px 14px;
}

.ts-search-box i {
  color: var(--text-3);
  font-size: 14px;
}

.ts-search-input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
}

.ts-search-input::placeholder {
  color: var(--text-3);
}

.ts-search-box:focus-within {
  border-color: var(--accent);
}
