/* Approved v0 homepage visual transfer — presentation only. */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,400&display=swap');

body.tm-page-home {
  --v0-bg: #f5f7f8;
  --v0-fg: #18232b;
  --v0-primary: #f4512a;
  --v0-muted: #e8edf0;
  --v0-muted-fg: #71808b;
  --v0-border: #dce5e9;
  --v0-card: #ffffff;
  --bottom-nav-h: 72px;
  background: var(--v0-bg);
  color: var(--v0-fg);
  font-family: 'DM Sans', -apple-system, 'Segoe UI', system-ui, sans-serif;
  overflow-x: hidden;
  padding-bottom: calc(var(--bottom-nav-h) + 28px + env(safe-area-inset-bottom, 0px));
}

body.tm-page-home.tm-light {
  background: var(--v0-bg);
  color: var(--v0-fg);
}

body.tm-page-home .tm-main {
  padding: 0 0 1.5rem;
  overflow-x: hidden;
}

body.tm-page-home .tm-page-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  min-width: 0;
}

body.tm-page-home .tm-footer {
  max-width: 1120px;
  margin: 1.5rem auto 0;
  padding-left: 16px;
  padding-right: 16px;
}

.tm-glass {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 36px rgba(72, 105, 125, 0.10);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* ---- Header ---- */
body.tm-page-home .tm-header--v0 {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  padding: 10px 16px 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: var(--v0-fg);
}

body.tm-page-home .tm-header__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 1120px;
  margin: auto;
  padding: 8px 12px;
  border-radius: 18px;
  min-height: 52px;
}

body.tm-page-home .tm-logo--v0 {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.07em;
  color: var(--v0-fg);
  text-decoration: none;
  line-height: 1;
  flex: 0 0 auto;
}

body.tm-page-home .tm-logo--v0 span {
  color: var(--v0-primary);
}

body.tm-page-home .tm-header__icon-btn,
body.tm-page-home .tm-header__menu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--v0-fg);
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

body.tm-page-home .tm-header__icon-btn img,
body.tm-page-home .tm-header__menu svg,
body.tm-page-home .tm-header__icon-btn svg {
  width: 20px;
  height: 20px;
  display: block;
  filter: none;
  opacity: 1;
  stroke-width: 1.9;
}

body.tm-page-home .tm-header__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  padding-right: 0;
}

body.tm-page-home .tm-header__icon-btn--cart {
  position: relative;
  background: #edf1f3;
}

body.tm-page-home .tm-header__badge {
  top: 4px;
  right: 4px;
  width: 15px;
  height: 15px;
  min-width: 15px;
  padding: 0;
  background: var(--v0-primary);
  font-size: 8px;
  font-weight: 700;
  line-height: 15px;
  border: 1.5px solid #fff;
  box-sizing: border-box;
}

body.tm-page-home .tm-header__desktop-nav {
  display: none;
  align-items: center;
  gap: 22px;
  margin-left: 24px;
  color: var(--v0-muted-fg);
  font-size: 12px;
  font-weight: 650;
}

body.tm-page-home .tm-header__desktop-nav a {
  color: inherit;
  text-decoration: none;
}

body.tm-page-home .tm-header__desktop-nav a.is-active,
body.tm-page-home .tm-header__desktop-nav a[aria-current="page"] {
  color: var(--v0-fg);
}

body.tm-page-home .tm-mobile-only { display: inline-flex; }
body.tm-page-home .tm-desktop-only { display: none; }

body.tm-page-home .tm-home-menu {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 8px 0 0;
  padding: 18px;
  border-radius: 18px;
  font-size: 13px;
  font-weight: 700;
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
}

body.tm-page-home .tm-home-menu[hidden] { display: none !important; }

body.tm-page-home .tm-home-menu a {
  color: var(--v0-fg);
  text-decoration: none;
}

/* ---- Search + city ---- */
body.tm-page-home .tm-search-row {
  padding-top: 12px;
}

body.tm-page-home .tm-header__search {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  min-height: 0;
}

body.tm-page-home .tm-header__search-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  opacity: 1;
  filter: none;
  color: #7f9099;
  pointer-events: none;
  z-index: 1;
}

body.tm-page-home .tm-header__search input {
  width: 100%;
  height: 47px;
  min-height: 47px;
  border: 1px solid rgba(24, 35, 43, 0.06);
  border-radius: 14px;
  outline: none;
  background: #e7eef1;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  padding: 12px 14px 12px 44px;
  color: var(--v0-fg);
  font-size: 14px;
  flex: none;
  box-sizing: border-box;
}

body.tm-page-home .tm-header__search input::placeholder {
  color: #83949d;
}

body.tm-page-home .tm-header__search input:focus {
  border-color: rgba(244, 81, 42, 0.45);
  background: #eef3f5;
}

body.tm-page-home .tm-header__search-btn { display: none !important; }

body.tm-page-home .tm-location-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 100%;
  border: 0;
  background: transparent;
  padding: 10px 2px;
  min-height: 44px;
  color: var(--v0-fg);
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  border-radius: 0;
  box-sizing: border-box;
}

body.tm-page-home .tm-location-row svg,
body.tm-page-home .tm-location-row img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--v0-primary);
  filter: none;
  opacity: 1;
}

body.tm-page-home .tm-location-row .tm-header__city-label,
body.tm-page-home .tm-location-row .city-name {
  color: var(--v0-fg);
  font-weight: 700;
  font-size: 13px;
  line-height: 1.25;
  max-width: none;
  flex: 1 1 auto;
  min-width: 0;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  word-break: normal;
}

body.tm-page-home .tm-location-row__chevron {
  margin-left: auto;
  flex-shrink: 0;
  color: var(--v0-muted-fg);
  font-size: 20px;
  line-height: 12px;
  font-weight: 400;
}

body.tm-page-home .tm-location-row[data-city-suggested="1"] {
  background: transparent;
  border: 0;
  color: var(--v0-fg);
}

body.tm-page-home .tm-location-row[data-city-suggested="1"] .tm-header__city-label {
  color: var(--v0-fg);
}

/* ---- Real carousel — premium fill (final polish)
   Mobile sources 1:1 (530×530). Stage ~1.55:1 (~225px @390) —
   full width retained; height reduced. Per-slide object-position protects titles. */
body.tm-page-home .tm-hero-media {
  position: relative;
  display: block;
  max-width: none;
  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  max-height: none;
  aspect-ratio: 1.55 / 1;
  margin: 0;
  padding: 0 !important;
  overflow: hidden;
  border-radius: 23px !important;
  background: #12181e;
  isolation: isolate;
}

body.tm-page-home .tm-hero-media__track {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none;
  align-items: stretch;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-radius: 23px;
  background: transparent;
}

body.tm-page-home .tm-hero-media__track::-webkit-scrollbar { display: none; }

body.tm-page-home .tm-hero-media__slide {
  position: relative;
  flex: 0 0 100% !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none;
  scroll-snap-align: start;
  display: block;
  overflow: hidden;
  padding: 0 !important;
  background: #12181e;
}

body.tm-page-home .tm-hero-media__picture {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border-radius: 0;
}

body.tm-page-home .tm-hero-media__image {
  display: block;
  width: 100%;
  height: 100% !important;
  max-width: none;
  object-fit: cover !important;
  object-position: center center;
  background: #12181e;
  aspect-ratio: auto !important;
}

/* Per-slide focal points — bias TOP (shorter stage crops more vertically) */
body.tm-page-home .tm-hero-media__slide--1 .tm-hero-media__image {
  object-position: 50% 8%; /* Homatics R — headline */
}
body.tm-page-home .tm-hero-media__slide--2 .tm-hero-media__image {
  object-position: 28% 10%; /* Dongle — left headline + product */
}
body.tm-page-home .tm-hero-media__slide--3 .tm-hero-media__image {
  object-position: 50% 0%; /* Z10 — protect top model title */
}
body.tm-page-home .tm-hero-media__slide--4 .tm-hero-media__image {
  object-position: 50% 6%; /* Z12 Max — top model title */
}

/* Slide counter — top-right liquid glass (no Telemarket brand) */
body.tm-page-home .tm-hero-media__counter {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  pointer-events: none;
}

/* CTA only — bottom-left, clear of dots */
body.tm-page-home .tm-hero-media__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0 12px 44px;
  min-height: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 58%,
    rgba(10, 14, 18, 0.28) 100%
  );
  pointer-events: none;
}

body.tm-page-home .tm-hero-media__kicker {
  display: none !important;
}

body.tm-page-home .tm-hero-media__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  border: 0;
  border-radius: 8px;
  background: var(--v0-primary);
  padding: 7px 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 750;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

body.tm-page-home .tm-hero-media__cta svg {
  width: 14px;
  height: 14px;
}

/* Dots centered bottom; arrows hidden on mobile */
body.tm-page-home .tm-hero-media__controls {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  pointer-events: none;
}

body.tm-page-home .tm-hero-media__nav {
  display: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 0;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  pointer-events: auto;
}

body.tm-page-home .tm-hero-media__nav svg {
  width: 14px;
  height: 14px;
  display: block;
}

body.tm-page-home .tm-hero-media__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: auto;
}

body.tm-page-home .tm-hero-media__dot {
  width: 7px;
  height: 7px;
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: transparent;
  padding: 0;
  cursor: pointer;
  box-shadow: none;
  flex: 0 0 auto;
}

body.tm-page-home .tm-hero-media__dot--active {
  width: 7px;
  height: 7px;
  border-color: #fff;
  background: #fff;
  border-radius: 50%;
  box-shadow: none;
}

/* ---- Categories / first-screen rhythm ---- */
body.tm-page-home .tm-cat-section {
  padding-top: 26px;
  margin-bottom: 0;
}

body.tm-page-home .tm-home-section {
  padding-top: 26px;
  margin-bottom: 0;
}

body.tm-page-home .tm-cat-section .tm-section-head {
  margin-bottom: 14px;
}

body.tm-page-home .tm-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

body.tm-page-home .tm-section-head h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--v0-fg);
}

body.tm-page-home .tm-section-head h2 span {
  font-size: 17px;
}

body.tm-page-home .tm-section-head__link {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--v0-primary);
  font-size: 11px;
  font-weight: 750;
}

body.tm-page-home .tm-section-head__link svg {
  width: 14px;
  height: 14px;
}

body.tm-page-home .tm-cat-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

body.tm-page-home .tm-cat-rail::-webkit-scrollbar { display: none; }

body.tm-page-home .tm-cat-tile {
  display: flex;
  min-width: 74px;
  max-width: 86px;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #586871;
  text-align: center;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.15;
  text-decoration: none;
  flex: 0 0 auto;
}

body.tm-page-home .tm-cat-tile:hover { color: var(--v0-fg); }

body.tm-page-home .tm-cat-tile__visual {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #eef2f4 0%, #e2e9ed 100%);
  border: 1px solid rgba(24, 35, 43, 0.04);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(72, 105, 125, 0.08);
}

body.tm-page-home .tm-cat-tile__img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  display: block;
}

body.tm-page-home .tm-cat-tile__icon {
  width: 28px;
  height: 28px;
  opacity: 0.7;
}

body.tm-page-home .tm-cat-tile__label {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 78px;
}

/* ---- Product grid / cards ---- */
body.tm-page-home .tm-grid--home {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 14px 10px !important;
}

body.tm-page-home .tm-card--home {
  min-width: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  border-radius: 0;
  display: flex;
  flex-direction: column;
}

body.tm-page-home .tm-card--home:hover { box-shadow: none; }

body.tm-page-home .tm-card--home .tm-card__img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, #eef2f4 0%, #e2e9ed 100%);
  border: 1px solid rgba(24, 35, 43, 0.04);
  display: block;
  box-shadow: 0 6px 16px rgba(72, 105, 125, 0.06);
}

body.tm-page-home .tm-card--home .tm-card__img-wrap a {
  display: block;
  width: 100%;
  height: 100%;
}

body.tm-page-home .tm-card--home .tm-card__img-wrap img,
body.tm-page-home .tm-card--home .tm-product-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
  background: transparent;
}

body.tm-page-home .tm-card--home .tm-card__top {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 2;
}

body.tm-page-home .tm-card--home .tm-fav-btn {
  width: 29px;
  height: 29px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.74);
  color: #77858c;
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body.tm-page-home .tm-card--home .tm-fav-btn img {
  width: 14px;
  height: 14px;
  opacity: 1;
  filter: none;
}

body.tm-page-home .tm-card--home .tm-fav-btn--active {
  color: var(--v0-primary);
}

body.tm-page-home .tm-card--home .tm-fav-btn--active img {
  filter: invert(40%) sepia(86%) saturate(2500%) hue-rotate(346deg) brightness(98%);
  opacity: 1;
}

body.tm-page-home .tm-card--home .tm-card__body {
  padding: 8px 2px 0;
  gap: 0;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

body.tm-page-home .tm-card--home .tm-card__title,
body.tm-page-home .tm-card--home h3 {
  margin: 0;
  min-height: 30px;
  max-height: 30px;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.tm-page-home .tm-card--home .tm-card__title a {
  color: var(--v0-fg);
}

body.tm-page-home .tm-card--home .tm-card__spec {
  margin: 2px 0 6px;
  color: var(--v0-muted-fg);
  font-size: 10px;
  line-height: 1.25;
  min-height: 13px;
  max-height: 26px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.tm-page-home .tm-card--home .tm-card__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 5px;
  margin-top: auto;
}

body.tm-page-home .tm-card--home .tm-price {
  display: block;
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--v0-fg);
}

body.tm-page-home .tm-card--home .tm-card__stock-line {
  display: block;
  margin-top: 2px;
  color: #3f9a68;
  font-size: 9px;
  font-weight: 650;
}

body.tm-page-home .tm-card--home .tm-card__stock-line.tm-stock--backorder {
  color: var(--v0-muted-fg);
}

body.tm-page-home .tm-card--home .tm-card__cart-icon {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  min-width: 31px;
  border: 0;
  border-radius: 10px;
  background: var(--v0-fg);
  color: #fff;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

body.tm-page-home .tm-card--home .tm-card__cart-icon img,
body.tm-page-home .tm-card--home .tm-card__cart-icon svg {
  width: 15px;
  height: 15px;
  filter: brightness(0) invert(1);
  display: block;
}

body.tm-page-home .tm-card--home .tm-card__actions,
body.tm-page-home .tm-card--home .tm-card__chips,
body.tm-page-home .tm-card--home .tm-card__cmp,
body.tm-page-home .tm-card--home .tm-card__meta,
body.tm-page-home .tm-card--home .tm-tag {
  display: none;
}

/* ---- Floating bottom nav ---- */
body.tm-page-home .tm-bottom-nav--v0 {
  display: flex;
  position: fixed;
  right: 12px;
  bottom: 12px;
  left: 12px;
  z-index: var(--z-bottom-nav);
  justify-content: space-around;
  border-radius: 19px;
  padding: 9px 4px max(9px, env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 36px rgba(72, 105, 125, 0.10);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

body.tm-page-home .tm-bottom-nav--v0 .tm-bottom-nav__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 0;
  background: transparent;
  color: #8a989e;
  font-size: 9px;
  font-weight: 650;
  padding: 0;
  text-decoration: none;
}

body.tm-page-home .tm-bottom-nav--v0 .tm-bottom-nav__item img,
body.tm-page-home .tm-bottom-nav--v0 .tm-bottom-nav__item svg {
  width: 17px;
  height: 17px;
  opacity: 1;
  filter: none;
}

body.tm-page-home .tm-bottom-nav--v0 .tm-bottom-nav__item--active {
  color: var(--v0-primary);
  font-weight: 650;
}

body.tm-page-home .tm-bottom-nav--v0 .tm-bottom-nav__badge {
  top: -2px;
  right: 8px;
  background: var(--v0-primary);
}

/* Chat FAB: sit above the floating pill, not on it */
body.tm-page-home {
  --tm-chat-reserved-bottom: 88px;
  --tm-chat-offset-right: 18px;
  --tm-chat-gap: 10px;
}

@media (min-width: 768px) {
  body.tm-page-home {
    padding-bottom: 34px;
  }

  body.tm-page-home .tm-header--v0 {
    padding: 18px 28px 0;
  }

  body.tm-page-home .tm-header__inner {
    padding: 13px 18px;
  }

  body.tm-page-home .tm-header__desktop-nav,
  body.tm-page-home .tm-desktop-only {
    display: flex;
  }

  body.tm-page-home .tm-mobile-only,
  body.tm-page-home .tm-home-menu,
  body.tm-page-home .tm-bottom-nav--v0 {
    display: none !important;
  }

  body.tm-page-home .tm-page-shell {
    padding: 0 28px;
  }

  body.tm-page-home .tm-search-row {
    padding-top: 22px;
  }

  body.tm-page-home .tm-header__search input {
    padding-top: 14px;
    padding-bottom: 14px;
    font-size: 14px;
  }

  body.tm-page-home .tm-hero-media {
    /* Desktop sources are ~940×370 (~2.54:1) */
    aspect-ratio: 940 / 370;
    height: auto !important;
    min-height: 0 !important;
    max-height: none;
  }

  body.tm-page-home .tm-hero-media__track,
  body.tm-page-home .tm-hero-media__slide {
    height: 100% !important;
    min-height: 0 !important;
    max-height: none;
  }

  body.tm-page-home .tm-hero-media__slide--1 .tm-hero-media__image,
  body.tm-page-home .tm-hero-media__slide--2 .tm-hero-media__image,
  body.tm-page-home .tm-hero-media__slide--3 .tm-hero-media__image,
  body.tm-page-home .tm-hero-media__slide--4 .tm-hero-media__image {
    object-position: center center;
  }

  body.tm-page-home .tm-hero-media__overlay {
    padding: 0 28px 48px;
    min-height: 0;
  }

  body.tm-page-home .tm-hero-media__picture {
    padding: 0;
  }

  body.tm-page-home .tm-hero-media__counter {
    top: 14px;
    right: 14px;
    height: 28px;
    min-width: 42px;
    font-size: 12px;
  }

  body.tm-page-home .tm-hero-media__controls {
    inset: 0;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    display: block;
    pointer-events: none;
  }

  body.tm-page-home .tm-hero-media__dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
  }

  /* Desktop/tablet: side arrows; dots stay centered */
  body.tm-page-home .tm-hero-media__nav {
    display: grid;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  body.tm-page-home .tm-hero-media__nav--prev {
    left: 14px;
  }
  body.tm-page-home .tm-hero-media__nav--next {
    right: 14px;
  }

  body.tm-page-home .tm-cat-section {
    padding-top: 36px;
  }

  body.tm-page-home .tm-home-section {
    padding-top: 36px;
  }

  body.tm-page-home .tm-cat-tile {
    min-width: 100px;
    max-width: 110px;
    font-size: 11px;
  }

  body.tm-page-home .tm-cat-tile__visual,
  body.tm-page-home .tm-cat-tile__img {
    width: 82px;
    height: 82px;
    border-radius: 22px;
  }

  body.tm-page-home .tm-grid--home {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 20px !important;
  }

  body.tm-page-home .tm-card--home .tm-card__title,
  body.tm-page-home .tm-card--home h3 {
    font-size: 14px;
    min-height: 36px;
  }

  body.tm-page-home .tm-card--home .tm-price {
    font-size: 16px;
  }
}

@media (min-width: 1280px) {
  body.tm-page-home .tm-grid--home {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 767px) {
  body.tm-page-home .tm-hide-mobile { display: none !important; }
}

/* ---- Chat FAB polish (presentation only; transport unchanged) ---- */
body.tm-page-home {
  --tm-chat-accent: #f4512a;
  --tm-chat-accent-hover: #d9431f;
  --tm-chat-fab-size: 48px;
}

body.tm-page-home .tm-chat-fab {
  width: auto;
  min-width: 48px;
  height: 48px;
  min-height: 48px;
  padding: 0 14px;
  gap: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.82);
  color: var(--v0-primary);
  box-shadow: 0 10px 28px rgba(72, 105, 125, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.tm-page-home .tm-chat-fab:hover {
  background: rgba(255, 255, 255, 0.94);
  color: var(--tm-chat-accent-hover);
}

body.tm-page-home .tm-chat-fab__icon {
  width: 18px;
  height: 18px;
  filter: none;
  opacity: 1;
}

body.tm-page-home .tm-chat-fab__label {
  display: none;
  color: var(--v0-fg);
  font-size: 12px;
  font-weight: 700;
}

@media (min-width: 768px) {
  body.tm-page-home .tm-chat-fab {
    padding: 0 16px;
  }
  body.tm-page-home .tm-chat-fab__label {
    display: inline;
  }
}

/* Specialized support upsell — below commerce, not first viewport */
body.tm-page-home .tm-home-assist {
  margin: 28px 0 8px;
}
body.tm-page-home .tm-home-assist__panel {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(24, 35, 43, 0.08);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 12px 36px rgba(72, 105, 125, 0.10);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
body.tm-page-home .tm-home-assist__media {
  aspect-ratio: 1024 / 682;
  background: #0f1114;
  display: block;
  text-decoration: none;
  color: inherit;
}
body.tm-page-home .tm-home-assist__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
body.tm-page-home .tm-promo-slot__placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.1)),
    repeating-linear-gradient(
      -12deg,
      rgba(24, 35, 43, 0.03) 0 12px,
      transparent 12px 24px
    );
}
body.tm-page-home .tm-promo-slot__label {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(24, 35, 43, 0.38);
  font-weight: 600;
}
body.tm-page-home .tm-home-assist__copy {
  padding: 18px 16px 20px;
}
body.tm-page-home .tm-home-assist__title {
  margin: 0 0 6px;
  font-size: clamp(1.2rem, 3.4vw, 1.55rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
body.tm-page-home .tm-home-assist__lead {
  margin: 0 0 14px;
  color: var(--v0-muted-fg, #6b7780);
  font-size: 0.95rem;
}
body.tm-page-home .tm-home-assist__cta {
  margin: 0;
}
body.tm-page-home .tm-home-assist__note {
  margin: 12px 0 0;
  font-size: 0.78rem;
}
body.tm-page-home .tm-tg-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
body.tm-page-home .tm-tg-cta__icon {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  opacity: 0.95;
}
@media (min-width: 768px) {
  body.tm-page-home .tm-home-assist__panel {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: stretch;
  }
  body.tm-page-home .tm-home-assist__media {
    aspect-ratio: auto;
    min-height: 100%;
  }
  body.tm-page-home .tm-home-assist__copy {
    padding: 28px 24px;
  }
}
@media (max-width: 390px) {
  body.tm-page-home .tm-home-assist__copy {
    padding: 14px 12px 16px;
  }
}
