/* ─── TrueSleep Theme CSS — from Shopify olivia theme ─── */
html { font-size: 62.5%; box-sizing: border-box; }
*, *::before, *::after { box-sizing: inherit; margin: 0; padding: 0; }

body.ts-body {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #000;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── ANN BAR ─── */
.ts-ann {
  background: #24421f;
  color: #fff;
  text-align: center;
  padding: 11px 16px;
  font-size: 1.4rem;
  font-weight: 600;
}
@media (max-width: 749px) {
  .ts-ann { font-size: 1.2rem; padding: 9px 12px; }
}

/* ─── NAV ─── */
.ts-nav {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  padding: 0 3.2rem;
  height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ts-nav.nav--up { transform: translateY(-100%); }
.ts-nav.nav--shad { box-shadow: 0 2px 10px rgba(0,0,0,.07); }
.ts-nav-l {
  display: flex;
  align-items: center;
  gap: 2.4rem;
  flex: 1;
}
.ts-nav-l a {
  font-size: 1.3rem;
  font-weight: 500;
  color: #000;
  white-space: nowrap;
  transition: color .2s;
}
.ts-nav-l a:hover { color: #2b5923; }
.ts-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #2b5923;
  letter-spacing: -.5px;
  white-space: nowrap;
}
.ts-nav-r {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  flex: 1;
  justify-content: flex-end;
}
.ts-nav-r svg {
  width: 20px;
  height: 20px;
  stroke: #000;
  fill: none;
  stroke-width: 1.8;
  cursor: pointer;
  transition: transform .2s, stroke .2s;
}
.ts-nav-r svg:hover { stroke: #2b5923; transform: scale(1.1); }
.ts-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.ts-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #000;
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* ─── MOBILE DRAWER ─── */
.ts-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100%;
  background: #fff;
  z-index: 1100;
  transition: right .3s ease;
  padding: 2rem;
  box-shadow: -4px 0 20px rgba(0,0,0,.12);
}
.ts-drawer.open { right: 0; }
.ts-drawer-x {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #999;
  display: block;
  margin-bottom: 2.4rem;
}
.ts-drawer-nav { display: flex; flex-direction: column; gap: 2rem; }
.ts-drawer-nav a { font-size: 1.6rem; font-weight: 600; color: #000; }
.ts-lock { overflow: hidden; }

@media (max-width: 989px) {
  .ts-nav-l a { display: none; }
  .ts-nav { padding: 0 1.8rem; height: 5.4rem; }
  .ts-burger { display: flex; }
  .ts-nav-r svg:not(:last-child) { display: none; }
}

/* ─── HERO ─── */
.ts-hero {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
}
.ts-hero-img {
  width: 100%;
  display: block;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: center;
}
@media (max-width: 749px) {
  .ts-hero-img { aspect-ratio: 3/4; }
}
.ts-hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2.4rem;
}
.ts-hero-inner {
  text-align: center;
  max-width: 800px;
  width: 100%;
}
.ts-hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.9);
  color: #333;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 6px 1.6rem;
  border-radius: 30px;
  margin-bottom: 1.6rem;
  letter-spacing: .3px;
}
.ts-hero-cap {
  color: rgba(255,255,255,.9);
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
  font-weight: 500;
}
.ts-hero h1 {
  font-size: 50px;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 2rem;
  letter-spacing: -.5px;
}
.ts-hero-sub {
  color: rgba(255,255,255,.88);
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 3.2rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.ts-hero-btn {
  display: inline-block;
  background: #2b5923;
  color: #fff;
  font-weight: 700;
  font-size: 1.6rem;
  padding: 1.6rem 4.8rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
  transition: background .2s, transform .18s;
}
.ts-hero-btn:hover { background: #1d3a1a; transform: translateY(-2px); }
@media (max-width: 749px) {
  .ts-hero h1 { font-size: 25px; }
  .ts-hero-sub { font-size: 13px; }
  .ts-hero-btn { font-size: 1.4rem; padding: 1.3rem 3.2rem; }
  .ts-hero-cap { font-size: 1.1rem; }
  .ts-hero-badge { font-size: 1.1rem; }
}

/* ─── DIVIDER ─── */
.ts-div { border: none; border-top: 2px solid #000; margin: 0; }

/* ─── PRESS MARQUEE ─── */
.ts-press { background: #fff; padding: 2.4rem 0; }
.ts-press-hd {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #bbb;
  text-align: center;
  margin-bottom: 1.8rem;
  font-weight: 600;
}
.ts-mq-wrap { overflow: hidden; }
.ts-mq {
  display: flex;
  align-items: center;
  gap: 80px;
  animation: ts-mq 210s linear infinite;
  width: max-content;
}
.ts-mq:hover { animation-play-state: paused; }
@keyframes ts-mq {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.ts-mq img {
  height: auto;
  max-height: 24px;
  filter: grayscale(100%) brightness(.25);
  opacity: .5;
  flex-shrink: 0;
}

/* ─── IMAGE WITH TEXT ─── */
.ts-iwt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}
.ts-iwt-grid.ts-rev .ts-iwt-img-w { order: 2; }
.ts-iwt-grid.ts-rev .ts-iwt-txt  { order: 1; }
.ts-iwt-img-w { overflow: hidden; }
.ts-iwt-img-w img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}
.ts-iwt-txt {
  padding: 7.2rem 6.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
}
.ts-iwt-grid.ts-rev .ts-iwt-txt { background: #ffffff; }
.ts-iwt-txt h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 2rem;
  color: #000;
  letter-spacing: -.5px;
}
.ts-iwt-txt p { color: #555; font-size: 1.5rem; line-height: 1.9; }
@media (max-width: 749px) {
  .ts-iwt-grid,
  .ts-iwt-grid.ts-rev { grid-template-columns: 1fr; }
  .ts-iwt-grid.ts-rev .ts-iwt-img-w { order: 0; }
  .ts-iwt-grid.ts-rev .ts-iwt-txt  { order: 1; }
  .ts-iwt-img-w img { min-height: 280px; }
  .ts-iwt-txt { padding: 3.6rem 2.4rem; }
  .ts-iwt-txt h2 { font-size: clamp(1.5rem, 5vw, 2rem); }
  .ts-iwt-txt p  { font-size: 1.4rem; }
}

/* ─── SEE IT IN ACTION ─── */
.ts-see {
  background: #fbfbfb;
  text-align: center;
  padding: 6rem 2.4rem 4.8rem;
}
.ts-see h2 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  color: #000;
}

/* ─── LIFESTYLE SWIPER ─── */
.ts-ls { background: #fbfbfb; padding: 0 0 7.2rem; }
.ts-ls-wrap {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  padding: 0 4.8rem;
}
@media (max-width: 900px) {
  .ts-ls-wrap { grid-template-columns: 1fr; gap: 0; padding: 0; }
}
.ts-ls-sw { overflow: hidden; }
.ts-ls-sw .swiper-slide { width: 160px; }
@media (min-width: 750px) { .ts-ls-sw .swiper-slide { width: 240px; } }
.ts-ls-sw .swiper-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}
@media (min-width: 750px) { .ts-ls-sw .swiper-slide img { height: 300px; } }
.ts-ls-cnt { text-align: center; }
@media (max-width: 900px) { .ts-ls-cnt { padding: 3.2rem 2.4rem 0; } }
.ts-ls-cnt h2 {
  font-size: clamp(2rem, 2.8vw, 3rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1.4rem;
  color: #000;
  letter-spacing: -.5px;
}
.ts-ls-cnt p { color: #888; font-size: 1.4rem; margin-bottom: 2.4rem; }
.ts-ls-btn {
  display: inline-block;
  background: #212121;
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
  padding: 1.4rem 4.4rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .4px;
  transition: background .2s, transform .18s;
}
.ts-ls-btn:hover { background: #000; transform: translateY(-2px); }
.ts-ls-note { margin-top: 1.2rem; font-size: 1.1rem; color: #aaa; }
.ts-ls-stars { color: #f0d557; letter-spacing: 2px; }

/* ─── TRUST BADGES ─── */
.ts-trust { background: #fff; padding: 1.6rem 5rem; }
@media (max-width: 749px) { .ts-trust { padding: 1.2rem 1.5rem; } }
.ts-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: #fff;
  border-radius: 16px;
  padding: 30px 0;
}
@media (max-width: 767px) {
  .ts-trust-grid { grid-template-columns: repeat(2, 1fr); padding: 23px 0; }
}
.ts-ti { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 5px; }
.ts-ti-ico { flex: 0 0 42px; height: 42px; display: flex; align-items: center; justify-content: center; }
.ts-ti-ico svg { height: 100%; width: auto; }
.ts-ti h4 { font-size: 1.4rem; color: #000; line-height: 1.3; font-weight: 800; margin-top: 6px; }
@media (max-width: 767px) { .ts-ti h4 { font-size: 1.2rem; } }
.ts-ti p { font-size: 1.2rem; color: #000; line-height: 1.3; margin-top: .4rem; }

/* ─── FOOTER ─── */
.ts-ft { background: #2b5923; color: #fff; padding: 5.6rem 4.8rem 0; }
.ts-ft-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  max-width: 1100px;
  margin: 0 auto;
  padding-bottom: 4.8rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.ts-ft-col h4 { font-size: 1.4rem; font-weight: 700; margin-bottom: 1.8rem; }
.ts-ft-col ul li { margin-bottom: 1.1rem; }
.ts-ft-col a { color: rgba(255,255,255,.7); font-size: 1.3rem; transition: color .2s; }
.ts-ft-col a:hover, .ts-cl { color: #fff; text-decoration: underline; }
.ts-ft-col p { color: rgba(255,255,255,.7); font-size: 1.3rem; line-height: 1.8; }
.ts-ft-nl {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 0 3.6rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.ts-ft-nl h4 { font-size: 1.4rem; font-weight: 700; margin-bottom: 1.6rem; }
.ts-ft-nlf {
  display: flex;
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 4px;
  overflow: hidden;
  max-width: 380px;
}
.ts-ft-nlf input {
  flex: 1;
  padding: 1.3rem 1.5rem;
  border: none;
  outline: none;
  background: transparent;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
}
.ts-ft-nlf input::placeholder { color: rgba(255,255,255,.4); }
.ts-ft-nlf button {
  background: rgba(255,255,255,.15);
  border: none;
  padding: 0 1.8rem;
  color: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background .2s;
}
.ts-ft-nlf button:hover { background: rgba(255,255,255,.25); }
.ts-ft-bot {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.2rem 0 2.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}
.ts-pay { display: flex; gap: 7px; flex-wrap: wrap; justify-content: center; }
.ts-pay-i {
  height: 28px;
  width: 44px;
  background: rgba(255,255,255,.9);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ts-pay-i svg { height: 18px; width: auto; max-width: 38px; }
.ts-ft-links { display: flex; flex-wrap: wrap; gap: 4px 1.4rem; justify-content: center; font-size: 1.1rem; }
.ts-ft-links a { color: rgba(255,255,255,.5); transition: color .2s; }
.ts-ft-links a:hover { color: #fff; }
.ts-copy { color: rgba(255,255,255,.4); font-size: 1.1rem; text-align: center; }
@media (max-width: 749px) {
  .ts-ft { padding: 0; }
  .ts-ft-cols { grid-template-columns: 1fr; gap: 0; padding: 0; }
  .ts-ft-col { border-bottom: 1px solid rgba(255,255,255,.1); }
  .ts-ft-col h4 {
    padding: 1.8rem 2rem;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .ts-ft-col h4::after { content: '+'; font-size: 2rem; font-weight: 300; color: rgba(255,255,255,.6); transition: transform .25s; }
  .ts-ft-col.open h4::after { transform: rotate(45deg); }
  .ts-ft-col ul,
  .ts-ft-col > p { max-height: 0; overflow: hidden; transition: max-height .35s ease; padding: 0 2rem; }
  .ts-ft-col.open ul,
  .ts-ft-col.open > p { max-height: 300px; padding: 0 2rem 1.8rem; }
  .ts-ft-nl, .ts-ft-bot { padding: 2.8rem 2rem; }
  .ts-ft-nl { border-top: none; }
}

/* ─── POPUP ─── */
#ts-pop {
  position: fixed;
  bottom: 2.4rem;
  left: 1.8rem;
  z-index: 9998;
  transition: opacity .4s, transform .4s;
}
#ts-pc {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  border: 2px solid #1a1a1a;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0,0,0,.14);
  text-align: center;
  font-family: 'Poppins', sans-serif;
}
#ts-pt { font-size: 1.3rem; font-weight: 900; color: #1a1a1a; line-height: 1.25; }
#ts-px {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: .9rem;
  color: #aaa;
  display: flex;
  align-items: center;
  justify-content: center;
}
#ts-md {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0,0,0,.5);
  align-items: center;
  justify-content: center;
}
#ts-md.on { display: flex; }
.ts-mb {
  background: #fff;
  border-radius: 16px;
  padding: 3.6rem 2.8rem;
  max-width: 355px;
  width: 90%;
  text-align: center;
  position: relative;
  font-family: 'Poppins', sans-serif;
}
.ts-mb-x { position: absolute; top: 1.4rem; right: 1.4rem; background: none; border: none; font-size: 1.6rem; cursor: pointer; color: #ccc; }
.ts-mb h3 { font-size: 1.8rem; font-weight: 800; margin: 8px 0; letter-spacing: -.5px; color: #000; }
.ts-mb p { font-size: 1.3rem; color: #999; margin-bottom: 2rem; line-height: 1.7; }
.ts-mbf {
  display: flex;
  border: 1.5px solid #e0dbd5;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1.2rem;
}
.ts-mbf input { flex: 1; padding: 1.2rem 1.4rem; border: none; outline: none; font-family: inherit; font-size: 1.3rem; }
.ts-mbf button { background: #2b5923; color: #fff; border: none; padding: 0 1.6rem; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 1.2rem; }
.ts-mbn { font-size: 1.1rem; color: #ccc; }

/* ─── ANIMATIONS ─── */
.ts-a { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.ts-a.on { opacity: 1; transform: none; }
.ts-d1 { transition-delay: .08s; }
.ts-d2 { transition-delay: .16s; }
.ts-d3 { transition-delay: .24s; }
.ts-d4 { transition-delay: .32s; }

/* ─── PAGE GENERIC ─── */
.ts-page-wrap { max-width: 900px; margin: 0 auto; padding: 6rem 2.4rem; }
.ts-page-title { font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 800; margin-bottom: 3.6rem; color: #000; letter-spacing: -.5px; }
.ts-page-content { font-size: 1.5rem; line-height: 1.9; color: #333; }
.ts-page-content h2, .ts-page-content h3 { font-size: 1.8rem; font-weight: 700; margin: 2.4rem 0 1rem; color: #000; }
.ts-page-content p { margin-bottom: 1.6rem; }
.ts-page-content ul, .ts-page-content ol { padding-left: 2rem; margin-bottom: 1.6rem; }
.ts-page-content li { margin-bottom: .6rem; }
.ts-page-content a { color: #2b5923; text-decoration: underline; }

/* ─── PRODUCT PAGE ─── */
.woocommerce-page .ts-main,
.single-product .ts-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2.4rem;
}
.ts-prod-summary { padding: 0 2.4rem; }
.ts-prod-title { font-size: clamp(2.2rem, 3.5vw, 3.2rem); font-weight: 800; line-height: 1.2; margin-bottom: 1.6rem; color: #000; letter-spacing: -.5px; }
.ts-prod-rating { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.8rem; }
.ts-stars { color: #f0d557; font-size: 1.8rem; letter-spacing: 2px; }
.ts-rating-count { font-size: 1.3rem; color: #888; }
.ts-prod-price { display: flex; align-items: center; gap: 1.2rem; margin-bottom: 2.4rem; flex-wrap: wrap; }
.ts-price-regular { font-size: 1.8rem; text-decoration: line-through; color: #aaa; }
.ts-price-sale { font-size: 2.8rem; font-weight: 800; color: #000; }
.ts-price-badge { background: #2b5923; color: #fff; font-size: 1.2rem; font-weight: 700; padding: 4px 10px; border-radius: 4px; }
.ts-prod-btn {
  display: block;
  width: 100%;
  background: #2b5923;
  color: #fff;
  font-weight: 700;
  font-size: 1.6rem;
  padding: 1.8rem;
  border-radius: 4px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 2.4rem;
  transition: background .2s, transform .18s;
}
.ts-prod-btn:hover { background: #1d3a1a; transform: translateY(-2px); }
.ts-prod-badges { display: flex; flex-direction: column; gap: 1rem; }
.ts-pb {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.3rem;
  color: #555;
}
.ts-pb svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ─── STICKY ATC ─── */
.ts-satc {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: #fcf7f5;
  border-top: 1px solid rgba(0,0,0,.08);
  padding: 1.2rem 2rem;
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.25,.46,.45,.94);
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
.ts-satc.active { transform: translateY(0); }
.ts-satc-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.6rem;
}
.ts-satc-img {
  width: 51px;
  height: 51px;
  border-radius: 100%;
  object-fit: cover;
  flex-shrink: 0;
}
.ts-satc-info { flex: 1; min-width: 0; }
.ts-satc-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ts-satc-prices { display: flex; align-items: center; gap: .8rem; margin-top: .2rem; }
.ts-satc-price-sale { font-size: 1.4rem; font-weight: 800; color: #24421f; }
.ts-satc-price-reg { font-size: 1.2rem; color: #aaa; text-decoration: line-through; }
.ts-satc-badge { font-size: 1.1rem; font-weight: 700; color: #ff5454; }
.ts-satc-btn {
  background: #24421f;
  color: #fff;
  border: none;
  border-radius: 80px;
  padding: 1.2rem 2.8rem;
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .3px;
  transition: background .2s, transform .15s;
  text-decoration: none;
  display: inline-block;
}
.ts-satc-btn:hover { background: #1a3519; transform: translateY(-1px); }
@media (max-width: 749px) {
  .ts-satc { padding: 1rem 1.6rem; border-radius: 24px 24px 0 0; }
  .ts-satc-inner { gap: 1.2rem; }
  .ts-satc-img { width: 44px; height: 44px; }
  .ts-satc-title { font-size: 1.2rem; }
  .ts-satc-btn { font-size: 1.3rem; padding: 1rem 2rem; }
}

/* ─── Klaviyo Form Override ─── */
.ts-kl-form { max-width: 480px; }
.ts-kl-form .klaviyo-form input[type="email"] {
  font-family: 'Poppins', sans-serif !important;
  border-radius: 4px !important;
}

/* ─── Product Page Layout ─── */
/* WC wraps in div.product > .summary.entry-summary — we grid inside .ts-prod-layout */
.woocommerce div.product { padding: 4.8rem 3.2rem 8rem; max-width: 1200px; margin: 0 auto; }
.summary.entry-summary { display: block; }
.ts-prod-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6.4rem;
  align-items: start;
}
@media (max-width: 749px) {
  .woocommerce div.product { padding: 2.4rem 1.6rem 10rem; }
  .ts-prod-layout { grid-template-columns: 1fr; gap: 2.4rem; }
}

/* Gallery — vertical thumbs LEFT, main image RIGHT (like Shopify) */
.ts-prod-gal { position: sticky; top: 7.4rem; }
.ts-gal-inner {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}
.ts-gal-thumbs {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  flex-shrink: 0;
}
.ts-gal-thumb {
  width: 68px;
  height: 68px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .2s;
  flex-shrink: 0;
}
.ts-gal-thumb:hover,
.ts-gal-thumb.ts-gal-active { border-color: #2b5923; }
.ts-gal-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ts-gal-main {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #f5f0eb;
}
.ts-gal-main img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Gallery mobile overrides — MUST be AFTER base gallery CSS */
@media (max-width: 749px) {
  .ts-prod-gal { position: static; }
  .ts-gal-inner { flex-direction: column-reverse; }
  .ts-gal-thumbs { flex-direction: row; flex-wrap: wrap; }
  .ts-gal-thumb { width: 56px; height: 56px; }
  .ts-gal-main { aspect-ratio: 4/3; border-radius: 0; }
}

/* Gallery arrows */
.ts-gal-main { position: relative; }
.ts-gal-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.9); border: none; border-radius: 50%;
  width: 36px; height: 36px; font-size: 2.2rem; line-height: 1;
  cursor: pointer; z-index: 2; color: #333; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.15); transition: background .2s;
}
.ts-gal-arrow:hover { background: #fff; }
.ts-gal-prev { left: 10px; }
.ts-gal-next { right: 10px; }
.ts-gal-main img { transition: opacity .2s; }

/* Bundle selector */
.ts-bundle-sel { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.6rem; }
.ts-bundle-opt {
  display: block; position: relative; border: 1.5px solid #ddd; border-radius: 10px;
  padding: 1.4rem 1.4rem 1.4rem 4.4rem; cursor: pointer; transition: border-color .2s;
  overflow: hidden;
}
.ts-bundle-opt input[type="radio"] {
  position: absolute; left: 1.4rem; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; margin: 0; cursor: pointer; accent-color: #24421f;
}
.ts-bundle-opt.ts-bundle-selected { border-color: #24421f; border-width: 2px; }
.ts-bo-best-badge {
  position: absolute; top: 0; right: 0;
  background: #e03535; color: #fff; font-size: 1rem; font-weight: 700;
  padding: .3rem .8rem; border-radius: 0 10px 0 8px; letter-spacing: .5px;
}
.ts-bo-row-main { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ts-bo-left { display: flex; flex-direction: column; gap: .3rem; }
.ts-bo-qty { font-size: 1.4rem; font-weight: 700; color: #111; }
.ts-bo-sub { font-size: 1.2rem; color: #666; }
.ts-bo-disc {
  display: inline-block; background: #e03535; color: #fff;
  font-size: 1rem; font-weight: 700; padding: .2rem .6rem; border-radius: 4px;
}
.ts-bo-right { text-align: right; }
.ts-bo-price { display: block; font-size: 1.8rem; font-weight: 800; color: #111; }
.ts-bo-reg { display: block; font-size: 1.2rem; color: #999; }
.ts-bo-config { display: none; margin-top: 1.2rem; border-top: 1px solid #eee; padding-top: 1.2rem; }
.ts-bundle-selected .ts-bo-config { display: block; }
.ts-bo-config-label { font-size: 1.2rem; color: #666; margin-bottom: .8rem; }
.ts-bo-var-rows { display: flex; flex-direction: column; gap: .8rem; }
.ts-bo-var-row { display: flex; align-items: center; gap: .8rem; }
.ts-bo-var-num { font-size: 1.2rem; font-weight: 600; color: #555; min-width: 22px; }
.ts-bo-sel {
  flex: 1; padding: .6rem .8rem; border: 1px solid #ccc; border-radius: 6px;
  font-size: 1.3rem; background: #fff; cursor: pointer;
}
.ts-bo-free-row {
  display: flex; align-items: center; gap: .8rem;
  background: #24421f; border-radius: 8px; padding: .8rem 1rem;
}
.ts-bo-free-tag { font-size: 1.1rem; font-weight: 700; color: #fff; white-space: nowrap; min-width: 90px; }
.ts-bo-free-row .ts-bo-sel { max-width: 100px; }
.ts-bo-free-orig { font-size: 1.2rem; color: rgba(255,255,255,.7); white-space: nowrap; }

/* Product summary column */
.ts-prod-sum-col { padding-top: 0; }
.ts-prod-summary { display: flex; flex-direction: column; gap: 0; }
.ts-prod-title { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 800; line-height: 1.2; margin-bottom: 1.2rem; }
.ts-prod-rating { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.6rem; }
.ts-stars { color: #f5a623; font-size: 1.6rem; letter-spacing: 1px; }
.ts-rating-count { font-size: 1.3rem; color: #777; }
.ts-prod-price { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.6rem; }
.ts-prod-desc-headline { font-size: 1.5rem; font-weight: 700; color: #1a2b19; margin-bottom: 1rem; line-height: 1.4; }
.ts-prod-bullets { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-direction: column; gap: 1rem; }
.ts-prod-bullets li { font-size: 1.4rem; color: #333; line-height: 1.4; display: flex; align-items: center; gap: 1rem; }
.ts-bi { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; min-width: 36px; background: #e8f4e4; border-radius: 50%; color: #24421f; }
.ts-bi svg { width: 18px; height: 18px; }
.ts-price-regular { font-size: 1.6rem; color: #999; text-decoration: line-through; }
.ts-price-sale { font-size: 2.4rem; font-weight: 800; color: #24421f; }
.ts-price-badge {
  background: #24421f;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  padding: .3rem .9rem;
  border-radius: 4px;
}
.ts-prod-btn {
  display: block;
  background: #24421f;
  color: #fff;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  padding: 1.8rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 2rem;
  transition: background .2s, transform .15s;
}
.ts-prod-btn:hover { background: #1a3519; transform: translateY(-1px); }
.ts-prod-badges { display: flex; flex-direction: column; gap: 1rem; }
.ts-pb { display: flex; align-items: center; gap: .8rem; font-size: 1.3rem; color: #555; }
.ts-pb svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Hide WC sale flash badge */
.woocommerce span.onsale { display: none !important; }
/* Hide WC tabs (Avis/Description) if not removed via hook */
.woocommerce-tabs, .woocommerce .tabs { display: none !important; }


/* ─── Product Benefits Section ─── */
.ts-prod-benefits {
  padding: 6rem 3.2rem;
  background: #fff;
  border-top: 1px solid #f0ebe6;
  max-width: 1200px;
  margin: 0 auto;
}
.ts-pb-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem 6rem;
}
.ts-pb-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.ts-pb-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ts-pb-icon svg {
  width: 100%;
  height: 100%;
  stroke: #000;
}
.ts-pb-item h4 {
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
  line-height: 1.4;
  color: #000;
}
.ts-pb-item p {
  font-size: 1.3rem;
  color: #555;
  line-height: 1.7;
}
@media (max-width: 749px) {
  .ts-prod-benefits { padding: 4rem 2rem; }
  .ts-pb-grid { gap: 3.2rem 3.2rem; }
}

/* ─── Product Info Extras ─── */
.ts-prod-size-help { font-size: 1.3rem; margin-bottom: 1.2rem; }
.ts-prod-size-help a { color: #444; text-decoration: underline; text-decoration-style: dotted; }
.ts-prod-urgency {
  display: flex; align-items: center; gap: .8rem;
  font-size: 1.2rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; color: #c0392b; margin-bottom: 1.6rem;
}
.ts-urg-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #c0392b; flex-shrink: 0;
}
.ts-prod-ship-banner {
  background: #f0f7ee; border: 1px solid #c6e0c0;
  border-radius: 6px; padding: 1rem 1.6rem;
  font-size: 1.3rem; font-weight: 600; color: #2b5923;
  text-align: center; margin-top: 1.6rem;
}
.ts-prod-ship-row {
  display: flex; gap: 2rem; justify-content: center;
  font-size: 1.2rem; color: #555; margin-top: .8rem;
}

/* ─── Free Gifts ─── */
.ts-free-gifts {
  background: #fff; padding: 3.2rem 2rem; border-top: 1px solid #f0ebe6;
  display: flex; gap: 1.6rem; justify-content: center; overflow-x: auto;
}
.ts-gift-item { display: flex; flex-direction: column; align-items: center; gap: .8rem; flex-shrink: 0; }
.ts-gift-badge {
  background: #f5a623; color: #fff; font-size: 1.1rem; font-weight: 700;
  padding: .2rem .8rem; border-radius: 20px; text-decoration: line-through;
}
.ts-gift-circle {
  width: 110px; height: 110px; border-radius: 50%;
  background: #24421f; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .4rem;
  color: #fff; text-align: center; border: 3px dashed rgba(255,255,255,.4);
}
.ts-gift-circle svg { width: 28px; height: 28px; stroke: #fff; fill: none; stroke-width: 1.5; }
.ts-gift-circle span { font-size: 1.1rem; font-weight: 800; letter-spacing: .3px; line-height: 1.2; text-transform: uppercase; }
.ts-gift-label { font-size: 1.2rem; font-weight: 600; text-align: center; text-transform: uppercase; letter-spacing: .5px; }

/* ─── Review Snippet ─── */
.ts-review-snippet {
  padding: 3.2rem 2rem; background: #fff; border-top: 1px solid #f0ebe6;
  max-width: 800px; margin: 0 auto;
}
.ts-rs-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.ts-rs-avatar { width: 48px; height: 48px; border-radius: 50%; background: #ddd; object-fit: cover; }
.ts-rs-name { font-weight: 700; font-size: 1.5rem; }
.ts-rs-stars { color: #2b9e1a; font-size: 1.6rem; }
.ts-rs-text { font-size: 1.4rem; color: #444; line-height: 1.7; font-style: italic; }

/* ─── FAQ Accordion ─── */
.ts-faq-section { background: #f8f5f1; padding: 0; }
.ts-faq-full { background: #fff; padding: 4rem 2rem; }
.ts-faq-full h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; text-align: center; margin-bottom: 3.2rem; }
.ts-acc-item { border-bottom: 1px solid #e0dbd5; }
.ts-acc-item:first-child { border-top: 1px solid #e0dbd5; }
.ts-acc-btn {
  width: 100%; text-align: left; background: none; border: none;
  padding: 1.8rem 0; font-size: 1.5rem; font-weight: 500; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  color: #000;
}
.ts-acc-btn .ts-acc-arrow { font-size: 1.8rem; transition: transform .2s; flex-shrink: 0; }
.ts-acc-btn.open .ts-acc-arrow { transform: rotate(180deg); }
.ts-acc-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.ts-acc-body p { padding: 0 0 1.8rem; font-size: 1.4rem; color: #555; line-height: 1.8; }

/* ─── Trust Section ─── */
.ts-trust-section { padding: 4rem 2rem; background: #fff; }
.ts-trust-section h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; text-align: center; margin-bottom: 2.4rem; }
.ts-reviews-row { display: flex; gap: 1.6rem; overflow-x: auto; padding-bottom: 1rem; }
.ts-rv-card { background: #fff; border: 1px solid #e8e8e8; border-radius: 12px; padding: 1.6rem; min-width: 260px; flex-shrink: 0; }
.ts-rv-name { font-weight: 700; font-size: 1.4rem; margin-bottom: .4rem; }
.ts-rv-stars { color: #2b9e1a; font-size: 1.3rem; margin-bottom: .8rem; }
.ts-rv-text { font-size: 1.3rem; color: #444; line-height: 1.7; }

/* ─── Pain Section ─── */
.ts-pain-section { padding: 0 0 4rem; background: #fff; }
.ts-pain-img {
  width: 100%; aspect-ratio: 16/7; background: #1a2b19;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: rgba(255,255,255,.3);
  margin-bottom: 3.2rem;
}
.ts-pain-section .ts-pain-content { padding: 0 2rem; max-width: 800px; margin: 0 auto; }
.ts-pain-section h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; text-align: center; margin-bottom: 2rem; }
.ts-pain-section p { font-size: 1.5rem; color: #333; line-height: 1.9; text-align: center; margin-bottom: 1.6rem; }

/* ─── Comparison Table ─── */
.ts-compare-section { padding: 4rem 2rem; background: #fafafa; }
.ts-compare-section h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; text-align: center; margin-bottom: 3rem; }
.ts-cmp-table { width: 100%; border-collapse: collapse; max-width: 600px; margin: 0 auto; }
.ts-cmp-table th { padding: 1.2rem 1.6rem; font-size: 1.5rem; font-weight: 700; }
.ts-cmp-table th:nth-child(2) { background: #24421f; color: #fff; border-radius: 8px 8px 0 0; }
.ts-cmp-table th:nth-child(3) { color: #888; }
.ts-cmp-table td { padding: 1.2rem 1.6rem; font-size: 1.4rem; border-top: 1px solid #e8e8e8; text-align: center; }
.ts-cmp-table td:first-child { text-align: left; color: #333; }
.ts-cmp-table td:nth-child(2) { background: rgba(36,66,31,.07); color: #24421f; font-weight: 700; font-size: 1.6rem; }
.ts-cmp-table td:nth-child(3) { color: #c0392b; font-size: 1.6rem; }

/* ─── Social CTA + Guarantee ─── */
.ts-social-cta { padding: 5rem 2rem; background: #fff; text-align: center; }
.ts-social-cta h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.2; margin-bottom: 1.2rem; }
.ts-social-cta p { font-size: 1.5rem; color: #555; margin-bottom: 2.4rem; }
.ts-cta-btn {
  display: inline-block; background: #24421f; color: #fff;
  font-size: 1.6rem; font-weight: 700; padding: 1.6rem 4rem;
  border-radius: 4px; text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 1.6rem;
}
.ts-cta-rating { font-size: 1.3rem; color: #f5a623; }
.ts-guarantee-section { background: #f8f5f1; padding: 5rem 2rem; text-align: center; }
.ts-guarantee-section h2 { font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 800; margin-bottom: 1.6rem; }
.ts-guarantee-section p { font-size: 1.5rem; color: #555; max-width: 600px; margin: 0 auto 2.4rem; line-height: 1.8; }
.ts-guarantee-section .ts-cta-btn { display: block; max-width: 480px; margin: 0 auto; }

/* ─── Reviews Breakdown ─── */
.ts-reviews-section { padding: 5rem 2rem; background: #faf7f4; }
.ts-reviews-section h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; text-align: center; margin-bottom: 3.2rem; font-style: italic; }
.ts-rating-card { background: #fff; border-radius: 16px; padding: 2.4rem; margin-bottom: 2.4rem; text-align: center; }
.ts-rating-big { font-size: 6rem; font-weight: 800; line-height: 1; }
.ts-rating-stars-big { font-size: 2.4rem; color: #2b9e1a; margin: .8rem 0; }
.ts-rating-count { font-size: 1.3rem; color: #888; margin-bottom: 2rem; }
.ts-rating-bar { display: flex; align-items: center; gap: 1rem; margin-bottom: .8rem; }
.ts-rb-stars { font-size: 1.2rem; color: #2b9e1a; width: 80px; flex-shrink: 0; }
.ts-rb-track { flex: 1; height: 8px; background: #e8e8e8; border-radius: 4px; overflow: hidden; }
.ts-rb-fill { height: 100%; background: #2b9e1a; border-radius: 4px; }
.ts-rb-pct { font-size: 1.2rem; color: #888; width: 32px; text-align: right; flex-shrink: 0; }
.ts-full-rv-card { background: #fff; border-radius: 16px; padding: 2rem; margin-bottom: 1.6rem; }
.ts-frv-header { display: flex; justify-content: space-between; margin-bottom: .8rem; }
.ts-frv-name { font-weight: 700; font-size: 1.6rem; }
.ts-frv-date { font-size: 1.2rem; color: #888; text-transform: uppercase; }
.ts-frv-stars { color: #2b9e1a; font-size: 1.4rem; margin-bottom: .4rem; }
.ts-frv-verified { display: flex; align-items: center; gap: .4rem; font-size: 1.2rem; color: #2b9e1a; margin-bottom: 1rem; }
.ts-frv-title { font-weight: 700; font-size: 1.5rem; margin-bottom: .8rem; }
.ts-frv-text { font-size: 1.4rem; color: #444; line-height: 1.7; }
