/* Home — Woopy-aligned layout (editable via Pages → Home blocks) */

/* Contained content like Woopy; hero/promo stay full-bleed */
.home .tjs-container {
  width: min(100% - 2.5rem, var(--tjs-max, 1320px));
  max-width: var(--tjs-max, 1320px);
  padding-inline: 0;
  margin-inline: auto;
  box-sizing: border-box;
}

.home .tjs-home-blocks > * + * {
  margin-top: 0;
}

.home .tjs-hero {
  width: 100%;
  min-height: min(72vh, 640px);
}
.home .tjs-hero__slide {
  min-height: min(72vh, 640px);
}
.home .tjs-hero__content {
  max-width: 36rem;
  padding-block: clamp(4rem, 10vw, 7rem);
}
.home .tjs-hero__label {
  font-family: var(--tjs-display, system-ui, sans-serif);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  letter-spacing: 0;
  text-transform: none;
  opacity: .95;
  margin-bottom: .5rem;
}
.home .tjs-hero__title {
  font-family: var(--tjs-display, system-ui, sans-serif);
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  font-weight: 600;
  letter-spacing: -.01em;
  text-transform: none;
  line-height: 1.05;
}
.home .tjs-hero__text:empty,
.home .tjs-hero__text:blank {
  display: none;
}
.home .tjs-hero .tjs-btn {
  margin-top: .5rem;
}

/* Category circles — 6 equal, contained */
.home .tjs-cat-icons {
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
}
.home .tjs-cat-icons__list {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: 100%;
  gap: clamp(1rem, 2.5vw, 2.25rem);
}
.home .tjs-cat-icons__thumb {
  width: clamp(88px, 12vw, 128px);
  height: clamp(88px, 12vw, 128px);
  border-radius: 50%;
  overflow: hidden;
  background: var(--tjs-mist, #EAF3FF);
  box-shadow: none;
}
.home .tjs-cat-icons__name {
  font-size: .92rem;
  font-weight: 600;
}

/* Flash sale + CTA banners full bleed */
.home .tjs-promo {
  width: 100%;
  margin: 0;
}
.home .tjs-promo--banner,
.home .tjs-promo--primary {
  background:
    repeating-linear-gradient(
      90deg,
      #f3f3f3,
      #f3f3f3 10px,
      #efefef 10px,
      #efefef 11px
    ) !important;
}
.home .tjs-promo--banner .tjs-promo__inner,
.home .tjs-promo--primary .tjs-promo__inner,
.home .tjs-promo--cta .tjs-promo__inner,
.home .tjs-promo--gift .tjs-promo__inner {
  grid-template-columns: 1fr;
  min-height: 0;
  padding-block: clamp(3.25rem, 6vw, 5rem);
  text-align: center;
  justify-items: center;
  background: transparent;
}
.home .tjs-promo--banner .tjs-promo__copy,
.home .tjs-promo--cta .tjs-promo__copy,
.home .tjs-promo--gift .tjs-promo__copy {
  align-items: center;
  max-width: 40rem;
  padding: 0 1rem;
}
.home .tjs-promo__eyebrow {
  letter-spacing: .18em;
  font-size: .7rem;
  opacity: .65;
}
.home .tjs-promo__title {
  font-family: var(--tjs-display, system-ui, sans-serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  text-transform: none;
  letter-spacing: -.01em;
}
.home .tjs-promo__title em {
  font-style: normal;
  color: var(--tjs-accent, #F37021);
}
.home .tjs-promo--gift .tjs-promo__title em,
.home .tjs-promo--cta .tjs-promo__title em {
  color: #fff;
}
.home .tjs-promo--gift,
.home .tjs-promo--cta {
  background:#F37021 !important;
  color: #fff !important;
}
.home .tjs-promo__link {
  margin-top: .75rem;
  font-size: .85rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
  letter-spacing: .02em;
}

/* Products — section headers + 5-up carousel */
.home .tjs-products {
  padding-block: clamp(2.75rem, 5vw, 4.25rem);
}
.home .tjs-section-header {
  text-align: center;
  margin-bottom: 2rem;
}
.home .tjs-section-header__eyebrow {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--tjs-accent, #F37021);
  margin-bottom: .45rem;
}
.home .tjs-section-header__title {
  font-family: var(--tjs-display, system-ui, sans-serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  color: var(--tjs-navy, #123B73);
}
.home .tjs-carousel__slide {
  flex: 0 0 calc(20% - 1rem);
}

/* Features strip */
.home .tjs-features {
  padding-block: clamp(2rem, 4vw, 3rem);
  border-block: 1px solid var(--tjs-line, #ebebeb);
  background: transparent;
}
.home .tjs-features__grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}
.home .tjs-features__item {
  text-align: center;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: .5rem;
}
.home .tjs-features__item:hover {
  transform: none;
  box-shadow: none;
}
.home .tjs-features__icon {
  margin-inline: auto;
  border: 0;
  background: transparent;
  color: var(--tjs-muted, #6b6b6b);
  width: auto;
  height: auto;
}
.home .tjs-features__title {
  font-size: .95rem;
  font-weight: 700;
}
.home .tjs-features__text {
  font-size: .82rem;
}

/* Lifestyle overlays — 3 / 4 columns */
.home .tjs-trusted {
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
}
.home .tjs-trusted__grid {
  display: grid;
  grid-template-columns: repeat(var(--tjs-trusted-cols, 3), minmax(0, 1fr));
  gap: 1.15rem;
}
.home .tjs-trusted--overlay .tjs-trusted__card {
  position: relative;
  border: 0;
  overflow: hidden;
  background: #111;
}
.home .tjs-trusted--overlay .tjs-trusted__card:hover {
  transform: none;
  box-shadow: none;
}
.home .tjs-trusted--overlay .tjs-trusted__media {
  aspect-ratio: 4 / 5;
}
.home .tjs-trusted--cols-4 .tjs-trusted__media {
  aspect-ratio: 1;
}
.home .tjs-trusted--overlay .tjs-trusted__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1.15rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
  color: #fff;
}
.home .tjs-trusted--overlay .tjs-trusted__body strong {
  font-family: var(--tjs-display, system-ui, sans-serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 600;
  color: #fff;
}

/* Brands grid 4×2 */
.home .tjs-brands {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.home .tjs-brand-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--tjs-line, #ebebeb);
}
.home .tjs-brand-logos__item {
  display: grid;
  place-items: center;
  min-height: 110px;
  padding: 1.25rem;
  border-right: 1px solid var(--tjs-line, #ebebeb);
  border-bottom: 1px solid var(--tjs-line, #ebebeb);
  color: #9a9a9a;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .2s ease, background .2s ease;
}
.home .tjs-brand-logos__item:nth-child(4n) {
  border-right: 0;
}
.home .tjs-brand-logos__item:nth-child(n + 5) {
  border-bottom: 0;
}
.home .tjs-brand-logos__item:hover {
  color: var(--tjs-ink, #26354A);
  background: #fafafa;
}

@media (max-width: 1100px) {
  .home .tjs-carousel__slide {
    flex: 0 0 calc(25% - .95rem);
  }
}
@media (max-width: 900px) {
  .home .tjs-cat-icons__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .home .tjs-features__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home .tjs-trusted__grid {
    grid-template-columns: 1fr;
  }
  .home .tjs-trusted--cols-4 .tjs-trusted__grid,
  .home .tjs-trusted--cols-3 .tjs-trusted__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home .tjs-brand-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home .tjs-brand-logos__item:nth-child(2n) {
    border-right: 0;
  }
  .home .tjs-brand-logos__item:nth-child(4n) {
    border-right: 0;
  }
  .home .tjs-brand-logos__item {
    border-bottom: 1px solid var(--tjs-line, #ebebeb);
  }
  .home .tjs-carousel__slide {
    flex: 0 0 calc(33.333% - .85rem);
  }
}
@media (max-width: 640px) {
  .home .tjs-cat-icons__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home .tjs-trusted--cols-4 .tjs-trusted__grid,
  .home .tjs-trusted--cols-3 .tjs-trusted__grid {
    grid-template-columns: 1fr;
  }
  .home .tjs-carousel__slide {
    flex: 0 0 calc(50% - .65rem);
  }
}
