/* Home motion upgrade: card lift, category stagger, product carousels,
   sales countdown, materials marquee. Scoped to .home-page where possible.
   All effects are decorative; prefers-reduced-motion disables them below. */

/* ---- 1. Product card: gentle lift on hover (crossfade to 2nd image already exists) ---- */
@media (hover: hover) and (pointer: fine) {
  .tnb-product-card { transition: transform .3s ease, border-color .25s ease, box-shadow .3s ease; }
  .tnb-product-card:hover { transform: translateY(-4px); }
}

/* ---- 2. Category tiles: staggered entrance when the grid scrolls into view ---- */
.home-category-grid.tnb-stagger-in > * {
  animation: tnb-tile-enter .6s var(--tnb-ease, cubic-bezier(.22,.61,.36,1)) backwards;
}
.home-category-grid.tnb-stagger-in > *:nth-child(1) { animation-delay: 0ms; }
.home-category-grid.tnb-stagger-in > *:nth-child(2) { animation-delay: 60ms; }
.home-category-grid.tnb-stagger-in > *:nth-child(3) { animation-delay: 120ms; }
.home-category-grid.tnb-stagger-in > *:nth-child(4) { animation-delay: 180ms; }
.home-category-grid.tnb-stagger-in > *:nth-child(5) { animation-delay: 240ms; }
.home-category-grid.tnb-stagger-in > *:nth-child(6) { animation-delay: 300ms; }
.home-category-grid.tnb-stagger-in > *:nth-child(7) { animation-delay: 360ms; }
.home-category-grid.tnb-stagger-in > *:nth-child(8) { animation-delay: 420ms; }
@keyframes tnb-tile-enter {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- 4. Product rows: swipeable snap carousels with arrows and edge fade ---- */
.tnb-carousel { position: relative; }
.tnb-carousel .home-product-grid {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 10px;
  scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}
.tnb-carousel .home-product-grid::-webkit-scrollbar { display: none; }
.tnb-carousel .home-product-grid > * {
  flex: 0 0 auto;
  width: min(272px, 72vw);
  scroll-snap-align: start;
}
.tnb-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #e3e3e0;
  background: #fff;
  color: #242626;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(36, 38, 38, .12);
  transition: background .2s, color .2s, opacity .2s;
}
.tnb-carousel-arrow:hover { background: #242626; color: #fff; }
.tnb-carousel-arrow[disabled] { opacity: 0; pointer-events: none; }
.tnb-carousel-arrow--prev { left: -12px; }
.tnb-carousel-arrow--next { right: -12px; }
@media (max-width: 767px) {
  .tnb-carousel-arrow { display: none; }
}

/* ---- 5. Sales countdown ---- */
.sales-countdown {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 600;
  color: #b3352c;
  letter-spacing: .02em;
}
.sales-countdown__label { color: #8c8a84; font-weight: 500; }

/* ---- 6. Fly-to-cart ghost image ---- */
.tnb-fly-img {
  position: fixed;
  z-index: 3000;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(36, 38, 38, .3);
  pointer-events: none;
}
.tnb-cart-pulse { animation: tnb-cart-pulse .5s ease; }
@keyframes tnb-cart-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.45); background: #ea1e25; }
  100% { transform: scale(1); }
}

/* ---- 7. Materials marquee ---- */
.tnb-materials { overflow: hidden; padding: 26px 0 34px; border-block: 1px solid #eceae3; background: #faf9f6; }
.tnb-materials-caption {
  text-align: center;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #8c8a84;
  margin-bottom: 20px;
}
.tnb-materials-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: tnb-materials-drift 44s linear infinite;
}
.tnb-materials:hover .tnb-materials-track { animation-play-state: paused; }
.tnb-materials-track img {
  height: 120px;
  width: auto;
  border-radius: 8px;
  display: block;
}
@keyframes tnb-materials-drift {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- 8. Brand wall: staggered scroll reveal ---- */
.tnb-brands-grid.tnb-stagger-in > .tnb-brand-tile {
  animation: tnb-tile-enter .55s var(--tnb-ease, cubic-bezier(.22,.61,.36,1)) backwards;
  animation-delay: var(--tile-delay, 0ms);
}

/* ---- 9. Headings: word-by-word masked reveal ---- */
.tnb-word-reveal .tnb-word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.tnb-word-reveal .tnb-word-inner { display: inline-block; will-change: transform; }
.tnb-word-reveal.tnb-words-in .tnb-word-inner {
  animation: tnb-word-up .65s var(--tnb-ease, cubic-bezier(.22,.61,.36,1)) backwards;
  animation-delay: calc(var(--word-index, 0) * 70ms);
}
@keyframes tnb-word-up {
  from { transform: translateY(115%); }
  to { transform: translateY(0); }
}

/* ---- 10. Testimonials: card flip-up each time a review rotates in ---- */
@media (prefers-reduced-motion: no-preference) {
  .home-page .tnb-testimonial-card.is-current { animation: tnb-card-flip .6s var(--tnb-ease, cubic-bezier(.22,.61,.36,1)) both; }
}
@keyframes tnb-card-flip {
  from { opacity: 0; transform: perspective(900px) rotateX(8deg) translateY(18px); }
  to { opacity: 1; transform: none; }
}

/* ---- 11. Category tiles: curtain-open photo reveal ---- */
.home-category-grid.tnb-stagger-in .home-category-image {
  animation: tnb-curtain .8s var(--tnb-ease, cubic-bezier(.22,.61,.36,1)) backwards;
}
.home-category-grid.tnb-stagger-in .home-category-image img {
  animation: tnb-curtain-zoom .8s var(--tnb-ease, cubic-bezier(.22,.61,.36,1)) backwards;
}
.home-category-grid.tnb-stagger-in .home-category-caption {
  animation: tnb-tile-enter .5s ease backwards;
}
.home-category-grid.tnb-stagger-in > *:nth-child(1) .home-category-image,
.home-category-grid.tnb-stagger-in > *:nth-child(1) .home-category-image img { animation-delay: 0ms; }
.home-category-grid.tnb-stagger-in > *:nth-child(2) .home-category-image,
.home-category-grid.tnb-stagger-in > *:nth-child(2) .home-category-image img { animation-delay: 60ms; }
.home-category-grid.tnb-stagger-in > *:nth-child(3) .home-category-image,
.home-category-grid.tnb-stagger-in > *:nth-child(3) .home-category-image img { animation-delay: 120ms; }
.home-category-grid.tnb-stagger-in > *:nth-child(4) .home-category-image,
.home-category-grid.tnb-stagger-in > *:nth-child(4) .home-category-image img { animation-delay: 180ms; }
.home-category-grid.tnb-stagger-in > *:nth-child(5) .home-category-image,
.home-category-grid.tnb-stagger-in > *:nth-child(5) .home-category-image img { animation-delay: 240ms; }
.home-category-grid.tnb-stagger-in > *:nth-child(6) .home-category-image,
.home-category-grid.tnb-stagger-in > *:nth-child(6) .home-category-image img { animation-delay: 300ms; }
.home-category-grid.tnb-stagger-in > *:nth-child(7) .home-category-image,
.home-category-grid.tnb-stagger-in > *:nth-child(7) .home-category-image img { animation-delay: 360ms; }
.home-category-grid.tnb-stagger-in > *:nth-child(8) .home-category-image,
.home-category-grid.tnb-stagger-in > *:nth-child(8) .home-category-image img { animation-delay: 420ms; }
.home-category-grid.tnb-stagger-in > *:nth-child(1) .home-category-caption { animation-delay: 160ms; }
.home-category-grid.tnb-stagger-in > *:nth-child(2) .home-category-caption { animation-delay: 220ms; }
.home-category-grid.tnb-stagger-in > *:nth-child(3) .home-category-caption { animation-delay: 280ms; }
.home-category-grid.tnb-stagger-in > *:nth-child(4) .home-category-caption { animation-delay: 340ms; }
.home-category-grid.tnb-stagger-in > *:nth-child(5) .home-category-caption { animation-delay: 400ms; }
.home-category-grid.tnb-stagger-in > *:nth-child(6) .home-category-caption { animation-delay: 460ms; }
.home-category-grid.tnb-stagger-in > *:nth-child(7) .home-category-caption { animation-delay: 520ms; }
.home-category-grid.tnb-stagger-in > *:nth-child(8) .home-category-caption { animation-delay: 580ms; }
@keyframes tnb-curtain {
  from { clip-path: inset(0 0 100% 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes tnb-curtain-zoom {
  from { transform: scale(1.15); }
  to { transform: scale(1); }
}

/* ---- 12. Sales grid: springy scale-cascade entrance ---- */
.home-sales-grid.tnb-sales-in > * {
  animation: tnb-sales-card .65s cubic-bezier(.34,1.4,.64,1) backwards;
  animation-delay: var(--tile-delay, 0ms);
}
@keyframes tnb-sales-card {
  from { opacity: 0; transform: translateY(24px) scale(.92); }
  to { opacity: 1; transform: none; }
}

/* ---- 13. Section links: slide in from the right ---- */
.tnb-link-slide { animation: tnb-link-enter .6s var(--tnb-ease, cubic-bezier(.22,.61,.36,1)) backwards; }
@keyframes tnb-link-enter {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: none; }
}

/* ---- 14. Scroll-scrubbed text: words ink in as the paragraph passes ---- */
.tnb-scrub-text .tnb-scrub-word { color: #b8b4ab; transition: color .18s linear; }
.tnb-scrub-text .tnb-scrub-word.is-lit { color: inherit; }

/* ---- 15. 3D card tilt + glare (hover-capable devices only, JS-driven) ---- */
.tnb-tilt { transform-style: preserve-3d; will-change: transform; }
.tnb-tilt .tnb-tilt-glare {
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(240px circle at var(--glare-x, 50%) var(--glare-y, 50%), rgba(255,255,255,.28), rgba(255,255,255,0) 65%);
  transition: opacity .25s ease;
}
.tnb-tilt.is-tilting .tnb-tilt-glare { opacity: 1; }
.tnb-product-card__media.tnb-tilt,
.home-category-image.tnb-tilt { overflow: hidden; border-radius: inherit; }
.tnb-product-card__media.tnb-tilt .tnb-tilt-glare,
.home-category-image.tnb-tilt .tnb-tilt-glare { z-index: 1; }

/* ---- 16. Magnetic buttons ---- */
.tnb-magnetic { will-change: transform; transition: transform .18s ease-out; }

/* Odometer digit slots for offer countdown */
.sales-countdown__time { display: inline-flex; align-items: baseline; font-variant-numeric: tabular-nums; }
.sales-countdown__digit { display: inline-block; height: 1.15em; overflow: hidden; vertical-align: bottom; }
.sales-countdown__digit-track { display: flex; flex-direction: column; transition: transform .42s cubic-bezier(.2,.75,.25,1); }
.sales-countdown__digit-track > span { display: block; height: 1.15em; line-height: 1.15em; }
.sales-countdown__time[aria-label] .sales-countdown__digit { speak: never; }

/* ---- Reduced motion: disable everything added by this sheet ---- */
@media (prefers-reduced-motion: reduce) {
  .tnb-product-card { transition: none; }
  .home-category-grid.tnb-stagger-in > * { animation: none; }
  .home-category-grid.tnb-stagger-in .home-category-image,
  .home-category-grid.tnb-stagger-in .home-category-image img,
  .home-category-grid.tnb-stagger-in .home-category-caption { animation: none; }
  .tnb-brands-grid.tnb-stagger-in > .tnb-brand-tile { animation: none; }
  .tnb-word-reveal.tnb-words-in .tnb-word-inner { animation: none; }
  .home-page .tnb-testimonial-card.is-current { animation: none; }
  .home-sales-grid.tnb-sales-in > * { animation: none; }
  .tnb-link-slide { animation: none; }
  .tnb-carousel .home-product-grid { scroll-behavior: auto; }
  .tnb-materials-track { animation: none; flex-wrap: wrap; width: auto; }
  .tnb-cart-pulse { animation: none; }
  .tnb-scrub-text .tnb-scrub-word { color: inherit; }
  .tnb-magnetic { transition: none; }
  .tnb-tilt { transform: none !important; }
  .sales-countdown__digit-track { transition: none; }
}

/* Sales timer: dark ink panels, cream digits, red urgency accent. */
.home-page .sales-countdown {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: 22px;
  color: #f5f2eb;
}
.home-page .sales-countdown[hidden] { display: none; }
.home-page .sales-countdown__label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #8f887c;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.home-page .sales-countdown__label::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ea1e25;
  box-shadow: 0 0 0 0 rgba(234, 30, 37, .45);
  animation: tnb-countdown-pulse 1.6s ease-out infinite;
}
@keyframes tnb-countdown-pulse {
  0% { box-shadow: 0 0 0 0 rgba(234, 30, 37, .45); }
  70% { box-shadow: 0 0 0 9px rgba(234, 30, 37, 0); }
  100% { box-shadow: 0 0 0 0 rgba(234, 30, 37, 0); }
}
.home-page .sales-countdown__panels { display: flex; align-items: stretch; gap: 10px; }
.home-page .sales-countdown__panels > .sales-countdown__unit + .sales-countdown__unit { position: relative; }
.home-page .sales-countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 76px;
  padding: 15px 12px 12px;
  border: 1px solid #3a3d3a;
  border-radius: 12px;
  background: linear-gradient(180deg, #2c2f2c, #232623);
  box-shadow: 0 10px 24px rgba(20, 22, 20, .28), inset 0 1px 0 rgba(255, 255, 255, .07);
  color: #f5f2eb;
}
.home-page .sales-countdown__unit::before {
  content: ':';
  position: absolute;
  left: -5px;
  top: 30px;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: 600;
  line-height: 1;
  color: #6f6b61;
  animation: tnb-countdown-blink 1s steps(2, start) infinite;
}
@keyframes tnb-countdown-blink {
  0%, 49% { opacity: .9; }
  50%, 100% { opacity: .25; }
}
.home-page .sales-countdown__value {
  display: flex;
  font-size: clamp(30px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: #f5f2eb;
  font-variant-numeric: tabular-nums;
}
.home-page .sales-countdown__digit { width: .62em; text-align: center; }
.home-page .sales-countdown__caption {
  font-size: 9px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #9a948a;
}
.home-page .sales-countdown__unit:last-child {
  background: linear-gradient(180deg, #ea1e25, #c2131a);
  border-color: #d1171e;
  color: #fff;
  box-shadow: 0 10px 24px rgba(194, 19, 26, .3), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.home-page .sales-countdown__unit:last-child .sales-countdown__caption { color: rgba(255, 255, 255, .85); }
@media (max-width: 767px) {
  .home-page .sales-countdown__panels { gap: 7px; }
  .home-page .sales-countdown__unit { min-width: 62px; padding: 12px 9px 10px; }
  .home-page .sales-countdown__value { font-size: 26px; }
  .home-page .sales-countdown__unit::before { display: none; }
}
@media (max-width: 380px) {
  .home-page .sales-countdown__panels { gap: 6px; }
  .home-page .sales-countdown__unit { min-width: 56px; padding: 10px 7px 9px; }
  .home-page .sales-countdown__value { font-size: 23px; }
}
  .home-page .sales-countdown__value { font-size: 24px; }
}

/* ---- Cursor spotlight border: the ring glows where the pointer rests ---- */
.tnb-spot-border { position: relative; }
.tnb-spot-border::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: radial-gradient(240px circle at var(--spot-x, 50%) var(--spot-y, 50%),
    rgba(234, 30, 37, .9), rgba(234, 30, 37, .25) 45%, transparent 72%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
  z-index: 6;
}
@media (hover: hover) and (pointer: fine) {
  .tnb-spot-border:hover::after { opacity: 1; }
}

/* Countdown + link stacked in the heading's right column */
.home-page .home-sales-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
}
.home-page .home-sales-side .sales-countdown { align-items: flex-end; margin-top: 0; }
@media (max-width: 767px) {
  .home-page .home-sales-side { align-items: flex-start; }
  .home-page .home-sales-side .sales-countdown { align-items: flex-start; }
}

/* ---- Offer strip: slim countdown bar under the banner ---- */
.tnb-offer-strip { background: #232623; color: #f5f2eb; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.tnb-offer-strip-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  min-height: 54px;
  padding-top: 9px;
  padding-bottom: 9px;
}
.tnb-offer-strip__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ea1e25;
  box-shadow: 0 0 0 0 rgba(234, 30, 37, .5);
  animation: tnb-countdown-pulse 1.6s ease-out infinite;
  flex: 0 0 auto;
}
.tnb-offer-strip__copy {
  font-size: 13px;
  color: #e8e4dc;
  letter-spacing: .01em;
}
.tnb-offer-strip__clock {
  margin-left: auto;
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  color: #fff;
  background: rgba(234, 30, 37, .18);
  border: 1px solid rgba(234, 30, 37, .45);
  border-radius: 999px;
  padding: 5px 14px;
}
.tnb-offer-strip__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #f5f2eb;
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 242, 235, .45);
  padding-bottom: 2px;
  white-space: nowrap;
}
.tnb-offer-strip__cta:hover { color: #fff; border-bottom-color: #fff; }
@media (max-width: 767px) {
  .tnb-offer-strip-inner { gap: 6px 12px; min-height: 0; padding: 10px 15px; }
  .tnb-offer-strip__copy { flex: 1 1 100%; font-size: 12px; }
  .tnb-offer-strip__clock { margin-left: 0; }
}

/* ---- Hero brand discovery card: dark frosted glass redesign ---- */
.home-page .tnb-hero-discover {
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px;
  background: rgba(20, 23, 21, .42);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
  box-shadow: 0 24px 60px rgba(10, 12, 10, .35);
  color: #f5f2eb;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .home-page .tnb-hero-discover { background: rgba(20, 23, 21, .93); }
}
.home-page .tnb-hero-discover .tnb-hero-discover-heading {
  margin: 0 0 4px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.home-page .tnb-hero-discover .tnb-hero-discover-note {
  margin: 0 0 16px;
  color: rgba(245, 242, 235, .62);
  font-size: 11px;
}
.home-page .tnb-hero-product-panel { background: transparent; }
.home-page .tnb-hero-product-photo {
  height: 170px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(245, 242, 235, .96), rgba(228, 224, 214, .9));
  border: 1px solid rgba(255, 255, 255, .16);
}
.home-page .tnb-hero-product-photo img { padding: 12px; mix-blend-mode: multiply; }
.home-page .tnb-hero-discover .tnb-hero-product-brand {
  margin: 0 0 7px;
  color: #ea1e25;
  color: #ff6b64;
  font-size: 10px;
  letter-spacing: .14em;
}
.home-page .tnb-hero-discover .tnb-hero-product-title { color: #fff; font-size: 18px; font-weight: 500; }
.home-page .tnb-hero-discover .tnb-hero-product-price { margin: 12px 0; color: #f5f2eb; font-size: 16px; }
.home-page .tnb-hero-product-photo [hidden] { display: none; }
.home-page .tnb-hero-discover .tnb-hero-product-finishes button {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08);
  color: rgba(245, 242, 235, .85);
}
.home-page .tnb-hero-discover .tnb-hero-product-finishes button[aria-pressed="true"] {
  border-color: #ea1e25;
  background: rgba(234, 30, 37, .16);
  color: #fff;
}
.home-page .tnb-hero-product-controls { border-top: 1px solid rgba(255, 255, 255, .12); }
.home-page .tnb-hero-product-controls button {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .08);
  color: #f5f2eb;
  transition: background .2s ease, border-color .2s ease;
}
.home-page .tnb-hero-product-controls button:hover { background: rgba(255, 255, 255, .18); }
.home-page .tnb-hero-product-position { color: rgba(245, 242, 235, .6); }
.home-page .tnb-hero-discover .tnb-hero-product-link { color: #f5f2eb; border-bottom: 1px solid rgba(255, 255, 255, .0); }
.home-page .tnb-hero-discover .tnb-hero-product-link:hover { color: #fff; }

/* ---- Latest offers label: red ribbon tab redesign ---- */
.home-page .tnb-offer-strip__label {
  position: relative;
  overflow: hidden;
  padding: 13px 30px 13px 32px;
  background: linear-gradient(135deg, #f5303a 0%, #e01d24 45%, #c01118 100%);
  border-radius: 0 0 16px 0;
  box-shadow: 0 10px 24px rgba(224, 29, 36, .38), inset 0 1px 0 rgba(255, 255, 255, .25);
  transition: padding .3s ease;
}
.home-page .tnb-offer-strip__label::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, .38) 50%, transparent 68%);
  transform: translateX(-110%);
  transition: transform .65s ease;
  pointer-events: none;
}
.home-page .tnb-offer-strip__label:hover::after { transform: translateX(110%); }
.home-page .tnb-offer-strip__label:hover { background: linear-gradient(135deg, #f5303a 0%, #d3141c 60%, #b50f16 100%); }
.home-page .tnb-offer-strip__label > span {
  display: inline-block;
  transition: transform .3s ease;
}
.home-page .tnb-offer-strip__label:hover > span { transform: translate(3px, -3px); }

/* ---- Footer: compact sizing ---- */
footer.sp-footer-2 .footer-top { padding-top: 44px !important; padding-bottom: 30px !important; }
footer.sp-footer-2 .sp-footer-logo { max-width: 170px; }
footer.sp-footer-2 .sp-footer-detail { font-size: 12.5px; line-height: 1.75; margin-top: 12px; }
footer.sp-footer-2 .footer-top .sp-footer-widget .sp-footer-heading { margin-bottom: 14px; font-size: 11px; }
footer.sp-footer-2 .sp-footer-links a { padding: 4px 0; font-size: 12.5px; }
footer.sp-footer-2 .sp-footer-contact .sp-footer-link { margin-bottom: 12px; gap: 10px; }
footer.sp-footer-2 .sp-footer-contact .sp-footer-link i { width: 30px; height: 30px; font-size: 13px; }
footer.sp-footer-2 .footer-whatsapp { min-height: 42px; padding: 10px 16px; font-size: 12.5px; }
footer.sp-footer-2 .footer-bottom { padding: 14px 0; margin-top: 6px; }
footer.sp-footer-2 .footer-bottom-copy { font-size: 11.5px; }
footer.sp-footer-2 .sp-footer-map { display: none; }

/* ---- Mobile product tabs: keep the pill nav tidy on small screens ---- */
@media (max-width: 767px) {
  .home-page .home-products-section .home-products-tabs .sp-tab { width: 100%; }
  .home-page .home-products-section .home-products-tabs .sp-pro-tab-nav {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 8px !important;
    border-radius: 16px !important;
    background: rgba(244, 247, 251, 0.98) !important;
    border: 1px solid rgba(224, 231, 241, 0.9) !important;
  }
  .home-page .home-products-section .home-products-tabs .sp-pro-tab-nav .nav-item,
  .home-page .home-products-section .home-products-tabs .sp-pro-tab-nav .nav-link {
    display: inline-flex !important;
    width: auto !important;
    min-height: 40px !important;
    padding: 8px 14px !important;
    border: 0 !important;
    border-radius: 11px !important;
    background: transparent !important;
    color: #6d7480 !important;
    font-size: 11px !important;
    letter-spacing: .1em !important;
    text-transform: uppercase !important;
  }
  .home-page .home-products-section .home-products-tabs .sp-pro-tab-nav .nav-link.active,
  .home-page .home-products-section .home-products-tabs .sp-pro-tab-nav .nav-link:hover {
    background: linear-gradient(135deg, #ea1e25, #c2131a) !important;
    color: #fff !important;
    box-shadow: none !important;
    border-bottom: 0 !important;
  }
}
@media (max-width: 767px) {
  .home-page .home-products-section .home-products-tabs .sp-pro-tab-nav .nav-link::after {
    display: none !important;
  }
}

/* Final mobile override: remove carousel sizing and unused vertical tracks. */
@media (max-width: 991px) {
 .home-page .home-products-section .home-products-content .tab-pane.tnb-carousel .home-product-grid,
 .home-page .home-products-section .home-products-content .home-product-grid {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-rows:none!important;grid-auto-flow:row!important;grid-auto-columns:auto!important;grid-auto-rows:auto!important;
  gap:12px!important;overflow:visible!important;mask-image:none!important;-webkit-mask-image:none!important;
  height:auto!important;min-height:0!important;padding:0!important;width:100%!important;transform:none!important;
 }
 .home-page .home-products-section .home-products-content .home-product-grid > * {
  width:100%!important;max-width:100%!important;min-width:0!important;flex:none!important;height:auto!important;min-height:0!important;padding:0!important;
 }
 .home-page .home-products-section .home-products-content .tnb-product-card { height:auto!important;min-height:0!important; }
 .home-page .home-products-section .home-products-content .tnb-product-card__body { height:auto!important;min-height:0!important;flex:0 1 auto!important; }
 .home-page .home-products-section .home-products-content .tab-pane { height:auto!important;min-height:0!important; }
 .home-page .home-products-section .tnb-carousel-arrow {display:none!important;}
 .home-page .home-products-section .home-products-tabs .sp-pro-tab-nav {display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:6px!important;}
 .home-page .home-products-section .home-products-tabs .sp-pro-tab-nav .nav-item {flex:0 0 auto!important;padding:0!important;}
 .home-page .home-products-section .home-products-tabs .sp-pro-tab-nav .nav-link {white-space:nowrap!important;padding:10px 12px!important;font-size:10px!important;}
}

/* Mobile featured products: compact, edge-to-edge swipe row. */
@media (max-width: 767px) {
 .home-page .home-products-section {padding:24px 0!important;min-height:0!important;height:auto!important;}
 .home-page .home-products-section > .container {padding-left:16px!important;padding-right:0!important;width:100%!important;max-width:100%!important;}
 .home-page .home-products-section .home-section-shell {padding:0!important;margin:0!important;height:auto!important;min-height:0!important;}
 .home-page .home-products-section .home-products-intro {padding-right:16px;margin-bottom:20px!important;gap:16px!important;}
 .home-page .home-products-section .sp-title h2 {font-size:26px!important;line-height:1.2!important;margin-bottom:12px!important;}
 .home-page .home-products-section .home-section-copy {font-size:13px!important;line-height:1.65!important;margin:0!important;}
 .home-page .home-products-section .home-products-tabs {padding-right:16px;margin-bottom:20px!important;}
 .home-page .home-products-section .home-products-content {height:auto!important;min-height:0!important;padding:0!important;}
 .home-page .home-products-section .home-products-content .tab-pane.tnb-carousel .home-product-grid,
 .home-page .home-products-section .home-products-content .home-product-grid {
  display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
  gap:12px!important;overflow-x:auto!important;overflow-y:hidden!important;
  align-items:stretch!important;height:auto!important;min-height:0!important;
  padding:0 0 8px!important;margin:0!important;scroll-snap-type:x mandatory;
  scroll-padding-left:0;-webkit-overflow-scrolling:touch;scrollbar-width:none;
 }
 .home-page .home-products-section .home-products-content .home-product-grid > * {
  flex:0 0 72vw!important;width:72vw!important;max-width:290px!important;
  min-width:0!important;height:auto!important;min-height:0!important;scroll-snap-align:start;
 }
 .home-page .home-products-section .home-products-content .home-product-grid .tnb-product-card {
  height:auto!important;min-height:0!important;align-self:stretch;
 }
 .home-page .home-products-section .home-products-content .tnb-product-card__body {flex:1 1 auto!important;}
 .home-page .home-products-section .home-products-content .tnb-product-card__purchase {margin-top:auto!important;padding-top:12px!important;}
 .home-page .home-products-section .home-products-content .tnb-product-card__features {min-height:0!important;}
 .home-page .home-products-section .home-products-content .tab-pane:not(.active) {display:none!important;}
}

/* Let the two mobile collection rails reach the right screen edge. */
@media (max-width:767px) {
 .home-page .home-category-section > .container,
 .home-page .tnb-spotlight > .container {
  width:100%!important;max-width:100%!important;
  padding-left:20px!important;padding-right:0!important;box-sizing:border-box;
 }
 .home-page .home-category-section .home-section-heading,
 .home-page .tnb-spotlight-collection-heading {padding-right:20px!important;}
 .home-page .home-category-section .home-category-grid,
 .home-page .tnb-spotlight .tnb-spotlight-products {
  width:100%!important;max-width:none!important;padding-right:0!important;
  margin-right:0!important;mask-image:none!important;-webkit-mask-image:none!important;
 }
 .home-page .tnb-spotlight-collection {padding-right:0!important;}
 .home-page .tnb-spotlight-story {margin-right:20px;}
}

@media (max-width:767px) {
 .home-page .tnb-brands > .container {
  width:100%!important;max-width:100%!important;padding-left:20px!important;padding-right:0!important;box-sizing:border-box;
 }
 .home-page .tnb-brands .tnb-brands-heading {padding-right:20px!important;}
 .home-page .tnb-brands .tnb-brands-carousel,
 .home-page .tnb-brands .tnb-brands-grid {
  width:100%!important;max-width:none!important;padding-right:0!important;margin-right:0!important;
  mask-image:none!important;-webkit-mask-image:none!important;
 }
 .home-page .tnb-brands .tnb-brands-progress {margin-right:20px!important;}
}
