/* TLF Product Cards Carousel */
.tlf-cc {
  --cc-h: 460px; --cc-per: 1.15; --cc-gap: 16px; --cc-radius: 24px; --cc-pw: 260px; --cc-shade: 45;
  --cc-card-bg: #121212; --cc-head: #FFFFFF; --cc-eyebrow: #F4C042;
  --cc-btn-bg: #F4C042; --cc-btn-text: #0A0A0A;
  --cc-p-bg: #FFFFFF; --cc-p-text: #0A0A0A; --cc-p-btn-bg: #0A0A0A; --cc-p-btn-text: #FFFFFF; --cc-p-label-bg: #F4C042;
  position: relative; width: 100%;
  font-family: var(--tlf-font, 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif);
}
.tlf-cc *, .tlf-cc *::before, .tlf-cc *::after { box-sizing: border-box; }

/* ---- Track ---- */
.tlf-cc__track {
  display: flex; gap: var(--cc-gap);
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  scrollbar-width: none; outline: none;
  padding-bottom: 2px;
}
.tlf-cc__track::-webkit-scrollbar { display: none; }

/* ---- Card ---- */
.tlf-cc__card {
  position: relative; flex: 0 0 calc((100% - (var(--cc-per) - 1) * var(--cc-gap)) / var(--cc-per));
  height: var(--cc-h); min-height: 220px;
  scroll-snap-align: start;
  border-radius: var(--cc-radius); overflow: hidden; isolation: isolate;
  background: var(--cc-card-bg);
  display: flex; align-items: center;
  padding: clamp(24px, 4vw, 56px);
}
.tlf-cc__bg {
  position: absolute; inset: 0; z-index: -2;
  background-image: var(--cc-bg); background-size: cover; background-position: center center; background-repeat: no-repeat;
  transform: scale(1.04); transition: transform 1.2s cubic-bezier(.2, .8, .2, 1);
}
.tlf-cc__card.is-active .tlf-cc__bg { transform: scale(1); }
.tlf-cc__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0, calc(var(--cc-shade) / 100)) 0%, rgba(0,0,0, calc(var(--cc-shade) / 100 * .55)) 45%, rgba(0,0,0,0) 75%);
}
.tlf-cc--product-left .tlf-cc__shade {
  background: linear-gradient(270deg, rgba(0,0,0, calc(var(--cc-shade) / 100)) 0%, rgba(0,0,0, calc(var(--cc-shade) / 100 * .55)) 45%, rgba(0,0,0,0) 75%);
}

/* ---- Headline side ---- */
.tlf-cc__text {
  position: relative; z-index: 1;
  max-width: calc(100% - var(--cc-pw) - 48px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
.tlf-cc--product-left .tlf-cc__text { margin-left: auto; align-items: flex-end; text-align: right; }
.tlf-cc__eyebrow {
  font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase;
  color: var(--cc-eyebrow);
}
.tlf-cc__headline {
  margin: 0 !important; padding: 0 !important;
  font-family: inherit; font-size: clamp(30px, 4.6vw, 64px) !important; font-weight: 900 !important;
  line-height: .98 !important; letter-spacing: -.01em !important; text-transform: uppercase;
  color: var(--cc-head) !important;
  text-wrap: balance;
}
.tlf-cc__sub { margin: 0 !important; max-width: 40ch; font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.85); }
.tlf-cc__btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 6px;
  height: 50px; padding: 0 24px; border-radius: 999px;
  background: var(--cc-btn-bg); color: var(--cc-btn-text) !important; text-decoration: none !important;
  font-size: 13px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease;
}
.tlf-cc__btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.25); }

/* ---- Product box ---- */
.tlf-cc__product {
  position: absolute; z-index: 2; top: 50%; right: clamp(16px, 3vw, 40px);
  width: var(--cc-pw);
  transform: translateY(-50%);
  display: flex; flex-direction: column;
  padding: 10px; border-radius: calc(var(--cc-radius) * .7);
  background: var(--cc-p-bg); color: var(--cc-p-text) !important; text-decoration: none !important;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s ease;
}
.tlf-cc--product-left .tlf-cc__product { right: auto; left: clamp(16px, 3vw, 40px); }
.tlf-cc__product:hover { transform: translateY(calc(-50% - 4px)); box-shadow: 0 30px 70px rgba(0,0,0,.42); }
.tlf-cc__pimg {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 5;
  border-radius: calc(var(--cc-radius) * .5); overflow: hidden; background: #F1EFEB;
}
.tlf-cc__pimg img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; transition: transform .6s ease; }
.tlf-cc__product:hover .tlf-cc__pimg img { transform: scale(1.05); }
.tlf-cc__plabel {
  position: absolute; left: 8px; top: 8px; max-width: calc(100% - 16px);
  padding: 5px 8px; border-radius: 6px;
  background: var(--cc-p-label-bg); color: #0A0A0A;
  font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; line-height: 1.1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tlf-cc__plabel--bogo { background: var(--tlf-bogo-bg, #0A0A0A); color: var(--tlf-bogo-color, #F4C042); }
.tlf-cc__pinfo { display: flex; flex-direction: column; gap: 4px; padding: 10px 4px 2px; }
.tlf-cc__pname {
  font-size: 14px; font-weight: 800; line-height: 1.25; text-transform: uppercase; letter-spacing: .02em;
  color: var(--cc-p-text);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tlf-cc__pprice, .tlf-cc__pprice * { font-size: 14px !important; font-weight: 700; color: var(--cc-p-text); }
.tlf-cc__pprice del, .tlf-cc__pprice del * { opacity: .55; font-weight: 500; }
.tlf-cc__pprice ins { text-decoration: none; }
.tlf-cc__pprice ins, .tlf-cc__pprice ins * { color: #C9302C !important; }
.tlf-cc__pbtn {
  display: flex; align-items: center; justify-content: center; margin-top: 6px; height: 40px; border-radius: 10px;
  background: var(--cc-p-btn-bg); color: var(--cc-p-btn-text);
  font-size: 11.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase;
}
.tlf-cc__product.is-out .tlf-cc__pimg { opacity: .6; }
.tlf-cc__cover { position: absolute; inset: 0; z-index: 1; }

/* ---- Nav (dots + arrows) ---- */
.tlf-cc__nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.tlf-cc__dots { display: flex; gap: 6px; flex-wrap: wrap; }
.tlf-cc .tlf-cc__dot {
  width: 8px; height: 8px; padding: 0 !important; margin: 0 !important; min-height: 0 !important; border: 0 !important; border-radius: 999px !important;
  background: rgba(127,127,127,.35) !important; box-shadow: none !important; cursor: pointer;
  transition: width .35s ease, background-color .35s ease;
}
.tlf-cc .tlf-cc__dot.is-on { width: 26px; background: currentColor !important; color: var(--tlf-text, #0A0A0A); }
.tlf-cc__arrows { display: flex; gap: 8px; margin-left: auto; }
.tlf-cc .tlf-cc__arrow {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; padding: 0 !important; margin: 0 !important; border-radius: 50% !important;
  border: 1px solid rgba(127,127,127,.35) !important; background: transparent !important; color: inherit !important; box-shadow: none !important;
  cursor: pointer; transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}
.tlf-cc .tlf-cc__arrow:hover { background: var(--tlf-text, #0A0A0A) !important; color: #fff !important; border-color: transparent !important; }
.tlf-cc .tlf-cc__arrow[disabled] { opacity: .35; pointer-events: none; }
.tlf-cc__arrow svg { width: 20px !important; height: 20px !important; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Tablets ---- */
@media (max-width: 1024px) {
  .tlf-cc { --cc-pw: 220px; --cc-h: 420px; --cc-per: 1.1; }
  .tlf-cc__headline { font-size: clamp(28px, 5vw, 46px) !important; }
}

/* ---- Phones: same wide card — headline left, product box right, just smaller ---- */
@media (max-width: 767px) {
  .tlf-cc { --cc-pw: 118px; --cc-h: 250px; --cc-per: 1.08; --cc-gap: 10px; }
  .tlf-cc__card { padding: 18px 16px; min-height: 0; }
  .tlf-cc__bg { background-image: var(--cc-bg-m, var(--cc-bg)); }
  .tlf-cc__text { max-width: calc(100% - var(--cc-pw) - 14px); gap: 7px; }
  .tlf-cc__eyebrow { font-size: 9.5px; letter-spacing: .14em; }
  .tlf-cc__headline { font-size: clamp(20px, 6.4vw, 28px) !important; line-height: 1 !important; }
  .tlf-cc__sub { font-size: 11.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .tlf-cc__btn { height: 34px; padding: 0 13px; margin-top: 2px; font-size: 10px; letter-spacing: .06em; gap: 5px; }
  .tlf-cc__product, .tlf-cc--product-left .tlf-cc__product { right: 12px; padding: 5px; border-radius: 12px; }
  .tlf-cc--product-left .tlf-cc__product { right: auto; left: 12px; }
  .tlf-cc__pimg { border-radius: 9px; }
  .tlf-cc__pinfo { padding: 6px 2px 1px; gap: 1px; }
  .tlf-cc__pname { font-size: 9.5px; -webkit-line-clamp: 1; }
  .tlf-cc__pprice, .tlf-cc__pprice * { font-size: 10px !important; }
  .tlf-cc__pbtn { display: none; }             /* the whole product box is the link */
  .tlf-cc__plabel { font-size: 7.5px; padding: 3px 5px; left: 5px; top: 5px; letter-spacing: .04em; white-space: normal; line-height: 1.2; }
  .tlf-cc__arrows { display: none; }
  .tlf-cc__nav { justify-content: center; margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .tlf-cc__track { scroll-behavior: auto; }
  .tlf-cc__bg, .tlf-cc__product, .tlf-cc__pimg img { transition: none !important; transform: none; }
  .tlf-cc__product { transform: translateY(-50%); }
}
