:root {
  --bg: #f0f1f3;
  --bg-elevated: #eef2f7;
  --surface: #ffffff;
  --surface-2: #f8fafc;
  --text: #1a1a1a;
  --muted: #6b7280;
  --border: #e5e7eb;
  --accent: #005bff;
  --accent-hover: #004ad1;
  --accent-soft: rgba(0, 91, 255, 0.1);
  --navy: #0b1f4d;
  --steel: #334155;
  --success: #00a651;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --shadow: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-glass: 0 4px 12px rgba(0,0,0,0.08);
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.45);
  --glass-dark: rgba(8, 14, 28, 0.78);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --z-header: 1000;
  --z-bottom-nav: 120;
  --z-sticky-buy: 110;
  --z-modal: 200;
  --z-toast: 3000;
  --motion-fast: 160ms;
  --motion-med: 280ms;
  --bottom-nav-h: 56px;
  --sticky-buy-h: 56px;
  font-family: -apple-system, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body.tm-light {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
body.tm-has-bottom-nav { padding-bottom: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }
.tm-container { max-width: 1180px; margin: 0 auto; padding: 0 1rem; }
.tm-main { padding: 1.25rem 0 3rem; }
.tm-muted { color: var(--muted); font-size: 0.92rem; }
html, body.tm-light { overflow-x: clip; }

.tm-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
}

.tm-logo__tv {
  color: #f4512a;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  line-height: inherit;
  margin: 0 0 0 0.24em;
  padding: 0;
  position: static;
  top: auto;
  vertical-align: baseline;
}

.tm-logo--v0,
.tm-checkout-topbar__brand {
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  font-family: 'DM Sans', -apple-system, "SF Pro Text", "Segoe UI", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
}

.tm-support-strip {
  width: 100%;
  margin: 0;
  min-width: 0;
  background: rgba(255, 252, 250, 0.72);
  border-top: 1px solid rgba(244, 81, 42, 0.10);
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  overflow-x: hidden;
}
.tm-support-strip__inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  height: 28px;
  padding: 0 16px;
  color: #18232b;
  min-width: 0;
  box-sizing: border-box;
}
.tm-support-strip__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  color: #f4512a;
}
.tm-support-strip__icon svg {
  width: 15px;
  height: 15px;
  display: block;
}
.tm-support-strip__phones {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  flex: 0 0 auto;
  width: max-content;
}
.tm-support-strip__phone {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  color: #f4512a;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: none;
}
.tm-support-strip__phone:hover,
.tm-support-strip__phone:focus-visible {
  color: #e24622;
  background: none;
  text-decoration: underline;
  outline: none;
}
@media (max-width: 360px) {
  .tm-support-strip__inner,
  .tm-support-strip__phones { gap: 8px; }
  .tm-support-strip__phone { font-size: 0.72rem; }
}
@media (max-width: 320px) {
  .tm-support-strip__inner {
    padding: 0 10px;
    gap: 6px;
  }
  .tm-support-strip__phones { gap: 6px; }
  .tm-support-strip__phone { font-size: 0.64rem; }
}
.tm-header--glass {
  background: #005bff;
  border-bottom: none;
  box-shadow: none;
  color: #fff;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .tm-header--glass {
    background: #005bff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
.tm-header__shell {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.5rem 0;
}
.tm-header__topline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  min-width: 0;
}
.tm-header__grid { display: none; }
.tm-header__brand { display: contents; }
.tm-header__logo,
.tm-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  text-decoration: none;
}
.tm-header__city-compact,
.header-city-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  cursor: pointer;
  color: #fff;
  font-size: 0.8rem;
  min-width: 0;
  max-width: min(46vw, 180px);
  min-height: 32px;
  white-space: nowrap;
  overflow: hidden;
}
.tm-header__city-compact[data-city-suggested="1"] {
  border-style: dashed;
  background: rgba(255, 196, 0, 0.15);
  color: #ffe6a3;
}
.tm-header__city-compact[data-city-suggested="1"] .tm-header__city-label {
  color: #ffe6a3;
  font-weight: 600;
}
.tm-header__city-icon { opacity: 0.9; flex-shrink: 0; filter: brightness(0) invert(1); }
.tm-header__city-label,
.tm-header__city-label.city-name {
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: none;
}
.tm-header__city-change,
.tm-header__city-change.city-change {
  display: none;
}
.tm-header__catalog {
  display: none;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}
.tm-header__catalog:hover { color: #fff; background: rgba(255, 255, 255, 0.18); }
.tm-header__search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  border: none;
  border-radius: 8px;
  padding: 0 0.75rem;
  background: #fff;
  position: relative;
  min-height: 40px;
}
.tm-header__search input {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 0.92rem;
  outline: none;
  min-width: 0;
  color: var(--text);
  padding: 0.45rem 0;
}
.tm-header__search input::placeholder { color: #9ca3af; }
.tm-header__search-icon { opacity: 0.5; flex-shrink: 0; filter: none; }
.tm-header__search-btn {
  border: none;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  padding: 0.35rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.tm-search-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  z-index: 140;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  max-height: min(70vh, 420px);
  overflow-y: auto;
  padding: 0.35rem 0;
}
.tm-search-suggest[hidden] { display: none !important; }
.tm-search-suggest__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
}
.tm-search-suggest__item:hover,
.tm-search-suggest__item--active {
  background: var(--bg);
}
.tm-search-suggest__thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: contain;
  background: var(--bg);
  flex-shrink: 0;
}
.tm-search-suggest__body { min-width: 0; flex: 1; }
.tm-search-suggest__title {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}
.tm-search-suggest__meta {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.tm-search-suggest__price {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  flex-shrink: 0;
}
.tm-search-suggest__empty,
.tm-search-suggest__footer {
  padding: 0.65rem 0.75rem;
  font-size: 0.85rem;
  color: var(--muted);
}
.tm-search-suggest__footer a { color: var(--accent); }
.tm-header__actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
  flex-shrink: 0;
  padding-right: 2px; /* keep cart badge inside viewport */
}
.tm-header__icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 8px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  overflow: visible;
}
.tm-header__icon-btn img { display: block; filter: brightness(0) invert(1); }
.tm-header__icon-btn--cart { background: rgba(255, 255, 255, 0.2); border: none; }
.tm-header__icon-btn--support { background: rgba(255, 255, 255, 0.12); }
.tm-header__badge,
.tm-bottom-nav__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e53935;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  box-sizing: border-box;
}
.tm-header__badge:empty,
.tm-header__badge[hidden],
.tm-bottom-nav__badge[hidden] { display: none; }
.tm-cart-btn { display: none; }
.tm-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
  text-decoration: none;
}
.tm-logo__img {
  display: block;
  width: auto;
  height: 38px;
  max-width: 170px;
  object-fit: contain;
}
.tm-logo__text {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
}
.tm-header__city {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  min-width: 0;
}
.tm-header__city-name {
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tm-city-btn {
  border: 1px solid rgba(228, 232, 238, 0.95);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
  cursor: pointer;
  font-size: 0.78rem;
  color: var(--muted);
}
.tm-header__contact {
  font-size: 0.85rem;
  color: var(--text);
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  border: 1px solid transparent;
}
.tm-header__contact:hover {
  border-color: var(--border);
  background: rgba(255,255,255,0.7);
}
.tm-cart-btn {
  background: var(--accent);
  color: #fff;
  padding: 0.48rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
}
.tm-badge {
  background: rgba(255,255,255,0.25);
  padding: 0.1rem 0.45rem;
  border-radius: 999px;
  font-size: 0.75rem;
}

.tm-commerce-hero {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.tm-commerce-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.2;
}
.tm-lead { margin: 0; color: var(--muted); max-width: 52ch; }
.tm-hero-search {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.tm-hero-search input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  font-size: 1rem;
}

.tm-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.tm-filters select, .tm-select, .tm-input, .tm-textarea {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.55rem 0.75rem;
  font-size: 0.95rem;
  background: var(--surface);
}
.tm-textarea { width: 100%; resize: vertical; }
label { display: block; margin: 0.75rem 0 0.35rem; font-size: 0.88rem; color: var(--muted); }

.tm-section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 1rem 0;
}
.tm-section-head h2 { margin: 0; font-size: 1.2rem; }

.tm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.tm-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow 0.15s ease;
}
.tm-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
.tm-card__top {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 2;
}
.tm-fav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.85);
  cursor: pointer;
  padding: 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.tm-fav-btn img { opacity: 0.45; width: 14px; height: 14px; }
.tm-fav-btn--active img { opacity: 1; filter: invert(24%) sepia(89%) saturate(4685%) hue-rotate(346deg); }
.tm-gallery-main--with-fav { position: relative; }
.tm-gallery-main--with-fav .tm-fav-btn {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  width: 34px;
  height: 34px;
}
.tm-gallery-main--with-fav .tm-fav-btn img { width: 18px; height: 18px; }
.tm-card__img-wrap {
  display: block;
  aspect-ratio: 1;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 767px) {
  .tm-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .tm-page-catalog .tm-grid--catalog,
  .tm-page-catalog .tm-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding-bottom: calc(var(--bottom-nav-h, 56px) + env(safe-area-inset-bottom, 0px) + 16px);
  }
  .tm-card__img-wrap {
    aspect-ratio: 1;
  }
  .tm-page-catalog .tm-card__img-wrap {
    aspect-ratio: 1;
    max-height: none;
  }
  .tm-page-catalog .tm-card__img-wrap img {
    padding: 0.35rem;
  }
  .tm-page-catalog .tm-card__body {
    padding: 0.5rem 0.55rem 0.6rem;
    gap: 0.15rem;
  }
  .tm-page-catalog .tm-card__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem;
    margin-top: 0.35rem;
  }
  .tm-page-catalog .tm-card__actions .tm-btn {
    min-height: 36px;
    width: 100%;
    font-size: 0.78rem;
    padding: 0.3rem 0.5rem;
  }
  .tm-page-catalog .tm-card__desc { display: none; }
  .tm-category-chips {
    padding-left: 0;
    padding-right: 0;
    scroll-padding-inline: 0;
  }
  .tm-category-chip:first-child { margin-left: 0; }
  .tm-category-chip:last-child { margin-right: 8px; }
}
.tm-card__img-wrap picture,
.tm-card__img-wrap img,
.tm-product-card__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tm-card__img-wrap img {
  padding: 0.5rem;
}
.tm-card__body { padding: 0.55rem 0.65rem 0.65rem; flex: 1; display: flex; flex-direction: column; gap: 0.1rem; }
.tm-card h3 { margin: 0; font-size: 0.82rem; line-height: 1.3; font-weight: 500; }
.tm-card h3 a { color: var(--text); }
.tm-tag {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.tm-price { font-size: 1rem; font-weight: 700; margin: 0.25rem 0 0.15rem; }
.tm-stock { font-size: 0.72rem; color: var(--muted); margin-bottom: 0.15rem; }
.tm-stock--in { color: var(--success); }
.tm-card__actions { display: flex; flex-direction: column; gap: 0.3rem; margin-top: auto; }

.tm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.5rem 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
}
.tm-btn:hover { background: var(--accent-hover); color: #fff; }
.tm-btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.tm-btn--ghost:hover { background: var(--bg); color: var(--text); }
.tm-btn--sm { padding: 0.35rem 0.6rem; font-size: 0.8rem; }
.tm-btn--block { width: 100%; }
.tm-btn--buy {
  background: var(--accent);
  box-shadow: none;
}
.tm-btn--buy:hover { background: var(--accent-hover); }

.tm-toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 24px);
  transform: translateX(-50%) translateY(20px);
  background: rgba(5, 7, 12, 0.92);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: var(--z-toast);
}
body.tm-has-sticky-buy .tm-toast {
  bottom: calc(var(--bottom-nav-h) + var(--sticky-buy-h) + var(--safe-bottom) + 24px);
}
.tm-toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.tm-cart-checkout-cta {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 12px);
  transform: translateX(-50%) translateY(18px);
  z-index: 3100;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(360px, calc(100vw - 24px));
  min-height: 52px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(8, 14, 28, 0.94);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.tm-cart-checkout-cta.is-show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.tm-cart-checkout-cta__left,
.tm-cart-checkout-cta__right {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 12px;
  text-decoration: none;
  box-sizing: border-box;
}
.tm-cart-checkout-cta__left {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 650;
}
.tm-cart-checkout-cta__right {
  color: #fff;
  background: var(--accent, #005bff);
  font-size: 16.5px;
  font-weight: 800;
}
body.tm-has-sticky-buy .tm-cart-checkout-cta {
  bottom: calc(var(--bottom-nav-h) + var(--sticky-buy-h) + var(--safe-bottom) + 10px);
}

.tm-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  margin-top: 12px;
  box-shadow: none;
}
.tm-panel--compact h2 { margin-top: 0; font-size: 1.05rem; }

.tm-product-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 1.25rem;
  align-items: start;
}
.tm-gallery-main {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem;
}
.tm-gallery-main img { width: 100%; height: auto; display: block; }
.tm-thumbs { display: flex; gap: 0.35rem; margin-top: 0.5rem; flex-wrap: wrap; }
.tm-thumbs img {
  width: 64px; height: 64px; object-fit: contain;
  border: 2px solid transparent; border-radius: 6px; cursor: pointer; background: #fff;
}
.tm-thumbs img.active { border-color: var(--accent); }
.tm-buybox {
  position: sticky;
  top: 70px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: none;
}
.tm-buybox h1 { margin: 0.25rem 0; font-size: 1.25rem; line-height: 1.3; }
.tm-buybox__price { font-size: 1.75rem; font-weight: 800; margin: 0.5rem 0 0.25rem; color: var(--text); }
.tm-buybox__actions { display: grid; gap: 0.45rem; margin: 0.75rem 0; }
.tm-marketplace { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tm-marketplace a {
  border: 1px solid var(--border);
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  font-size: 0.88rem;
  background: #fff;
}
.tm-spec-table { width: 100%; border-collapse: collapse; }
.tm-spec-table th, .tm-spec-table td {
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.tm-spec-table th { color: var(--muted); width: 40%; font-weight: 500; }

.tm-cart-table { width: 100%; border-collapse: collapse; }
.tm-cart-thumb-cell { width: 64px; padding-right: 0.5rem; vertical-align: middle; }
.tm-cart-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  background: #f3f5f8;
  display: block;
}
.tm-cart-thumb--empty {
  display: inline-block;
}
.tm-cart-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding-bottom: 0.5rem;
}
.tm-cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.tm-cart-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 0.75rem;
  align-items: start;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border);
}
.tm-cart-item:last-child { border-bottom: 0; padding-bottom: 0; }
.tm-cart-item__media { display: block; }
.tm-cart-item__name {
  display: block;
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}
.tm-cart-item__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
}
.tm-cart-item__sum { font-weight: 700; }
.tm-cart-item__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
}
.tm-cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
}
.tm-cart-qty__btn {
  width: 40px;
  height: 40px;
  border: 0;
  background: #f5f7fb;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
}
.tm-cart-qty__input {
  width: 52px;
  height: 40px;
  border: 0;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  border-radius: 0;
  text-align: center;
  font-size: 1rem;
  padding: 0;
}
.tm-cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  font-size: 1.05rem;
}
.tm-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.tm-video-modal {
  position: fixed;
  inset: 0;
  z-index: 240;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(12px, env(safe-area-inset-top, 0px)) 12px calc(12px + env(safe-area-inset-bottom, 0px));
}
.tm-video-modal[hidden] { display: none !important; }
.tm-video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 16, 28, 0.62);
}
.tm-video-modal__box {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(86dvh, 860px);
  overflow: auto;
  background: #0b1220;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(0,0,0,.35);
  padding: 2.5rem 0.75rem 0.75rem;
}
.tm-video-modal__close {
  position: absolute;
  top: 6px;
  right: 8px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.tm-video-modal__frame .tm-video-player {
  width: 100%;
  max-height: min(70dvh, 720px);
  background: #000;
}
.tm-video-modal__external {
  background: #fff;
  color: var(--text);
  border-radius: 10px;
  padding: 1rem;
}
body.tm-video-modal-open { overflow: hidden; }
.tm-video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.tm-video-play-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.tm-hub-card__media-link { position: relative; display: block; }
.tm-video-closed {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  background: #111;
}
.tm-video-closed img {
  display: block;
  width: 100%;
  height: auto;
}

.tm-checkout-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 1rem;
  align-items: start;
}
.tm-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0;
  font-size: 0.9rem;
}
.tm-summary-line--item .tm-cart-thumb {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}
.tm-summary-line--item span:first-of-type {
  flex: 1;
  min-width: 0;
}
.tm-summary-line--total {
  font-weight: 700;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
}
.tm-form-error { color: #c62828; font-size: 0.82rem; display: none; }
.tm-form-error.visible { display: block; }
.tm-checkbox { display: flex; gap: 0.5rem; align-items: flex-start; margin-top: 1rem; font-size: 0.88rem; }
.tm-notice {
  background: #eef4ff;
  border: 1px solid #c5d7ff;
  color: #1a3d8f;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.tm-notice--staging {
  background: #fff8e6;
  border-color: #f0d78c;
  color: #6b4e00;
}
.tm-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.tm-city-pick--suggested { border-color: var(--accent); background: #f0f5ff; }

.tm-hero-media {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 8px 8px 0;
  background: transparent;
  box-sizing: border-box;
}
.tm-hero-media__track {
  display: flex;
  align-items: flex-start;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: transparent;
  padding: 0;
  box-sizing: border-box;
  border-radius: var(--radius);
  overflow: hidden;
}
.tm-hero-media__track::-webkit-scrollbar { display: none; }
.tm-hero-media__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
}
.tm-hero-media__picture {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  line-height: 0;
}
.tm-hero-media__image {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  border-radius: 0;
  object-fit: cover;
  background: #f3f4f6;
  aspect-ratio: 16 / 7;
}
.tm-hero-media__dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin: 0;
  padding: 10px 0 6px;
  background: transparent;
  box-sizing: border-box;
}
.tm-hero-media__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #d1d5db;
  cursor: pointer;
}
.tm-hero-media__dot--active {
  background: var(--accent);
  width: 18px;
  border-radius: 999px;
}
@media (min-width: 768px) {
  .tm-hero-media__picture,
  .tm-hero-media__image {
    max-width: none;
  }
  .tm-hero-media__image {
    aspect-ratio: 21 / 7;
  }
  .tm-hero-media__slide {
    padding: 0;
  }
  .tm-hero-media {
    padding: 12px 0 0;
  }
}

.tm-promo-carousel {
  margin-bottom: 0.75rem;
  position: relative;
}
.tm-promo-carousel__track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 0 0.5rem;
  scrollbar-width: none;
}
.tm-promo-carousel__track::-webkit-scrollbar { display: none; }
.tm-promo-slide {
  flex: 0 0 min(88%, 340px);
  scroll-snap-align: start;
  background: linear-gradient(135deg, #fff 0%, #f3f6ff 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}
.tm-promo-slide__title {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  line-height: 1.25;
}
.tm-promo-slide__text {
  margin: 0 0 0.75rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}
.tm-promo-slide__cta { margin-top: auto; }
.tm-promo-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
}
.tm-promo-carousel__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #c5cdd8;
  cursor: pointer;
}
.tm-promo-carousel__dot--active { background: var(--accent); width: 18px; border-radius: 999px; }

.tm-product-carousel-wrap {
  margin-bottom: 0.85rem;
  position: relative;
}
.tm-product-carousel { position: relative; }
.tm-product-carousel__track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 0 0.5rem;
  scrollbar-width: none;
}
.tm-product-carousel__track::-webkit-scrollbar { display: none; }
.tm-card--carousel {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  max-width: 100%;
  overflow: hidden;
}
.tm-card--carousel .tm-card__img-wrap {
  aspect-ratio: 1 / 1;
  max-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f9fc;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.tm-card--carousel .tm-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}
.tm-card--carousel .tm-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.85rem 1rem 1rem;
}
.tm-card--carousel .tm-card__stock {
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.tm-card--carousel .tm-card__title {
  font-size: 1rem;
  line-height: 1.3;
  margin: 0 0 0.35rem;
}
.tm-card--carousel .tm-card__desc {
  margin: 0 0 0.5rem;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tm-card--carousel .tm-price {
  margin-top: auto;
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
  font-weight: 700;
}
.tm-card--carousel .tm-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.tm-product-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
}
.tm-product-carousel__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: #c5cdd8;
  cursor: pointer;
}
.tm-product-carousel__dot--active {
  background: var(--accent);
  width: 18px;
  border-radius: 999px;
}

.tm-home-section { margin-bottom: 16px; }
.tm-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 8px;
}
.tm-section-head h1,
.tm-section-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}
.tm-section-head__link {
  font-size: 0.8rem;
  color: var(--accent);
  white-space: nowrap;
}
.tm-grid--home .tm-card { min-height: 100%; }
.tm-grid--home {
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.tm-support-block { margin-top: 0.5rem; margin-bottom: 1rem; display: none; }
.tm-support-block h2 { margin-top: 0; font-size: 1.05rem; }
.tm-empty-state { text-align: center; padding: 2rem 1rem; }
.tm-empty-state h1,
.tm-empty-state h2 { margin-top: 0; }
.tm-empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}
.tm-price--request { color: var(--muted); font-weight: 600; }
.tm-card__stock { font-size: 0.78rem; font-weight: 600; margin-bottom: 0.25rem; }
.tm-not-found { margin-bottom: 1.5rem; }

@media (min-width: 769px) {
  .tm-card--carousel {
    flex: 0 0 calc(33.333% - 0.5rem);
    min-height: 400px;
  }
  .tm-product-carousel__track {
    scroll-snap-type: none;
  }
}
@media (min-width: 1100px) {
  .tm-card--carousel {
    flex: 0 0 calc(25% - 0.56rem);
  }
}

.tm-category-chips {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 4px 0 12px;
  margin-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.tm-category-chips::-webkit-scrollbar { display: none; }
.tm-category-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: none;
  background: var(--surface);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}
.tm-category-chip:hover { background: #e8eaed; color: var(--text); }
.tm-category-chip--active {
  background: var(--accent);
  color: #fff;
}

.tm-mobile-search {
  border-bottom: 1px solid rgba(228, 232, 238, 0.85);
  background: rgba(255, 255, 255, 0.55);
  padding: 0.5rem 0;
}
.tm-mobile-search__form {
  display: flex;
  gap: 0.5rem;
}
.tm-mobile-search__form input {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-size: 0.95rem;
  background: #fff;
}

.tm-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 1.25rem 0 1.5rem;
  margin-top: 1rem;
}
.tm-footer__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem 1.25rem;
}
.tm-footer__col {
  border: none;
  margin: 0;
  padding: 0;
}
.tm-footer__title {
  font-size: 0.88rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  cursor: pointer;
  list-style: none;
}
.tm-footer__title::-webkit-details-marker { display: none; }
.tm-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.tm-footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text);
  font-size: 0.84rem;
  line-height: 1.3;
}
.tm-footer__link:hover { color: var(--accent); }
.tm-footer__icon {
  flex-shrink: 0;
  opacity: 0.75;
}
.tm-footer__bottom {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.tm-footer__copy { margin: 0.35rem 0 0; font-size: 0.82rem; }

.tm-bottom-nav {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-bottom-nav);
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 4px 0 calc(4px + var(--safe-bottom));
  box-shadow: 0 -1px 4px rgba(0,0,0,0.06);
}
.tm-glass-nav {
  background: #fff;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .tm-glass-nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
.tm-bottom-nav__item {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 4px 2px;
  color: var(--muted);
  font-size: 0.65rem;
  text-decoration: none;
}
.tm-bottom-nav__item img { opacity: 0.55; width: 20px; height: 20px; }
.tm-bottom-nav__item--active { color: var(--accent); font-weight: 600; }
.tm-bottom-nav__item--active img { opacity: 1; }

.tm-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.88rem;
  margin-bottom: 1rem;
  color: var(--muted);
}
.tm-breadcrumbs a { color: var(--accent); }
.tm-breadcrumbs__sep { opacity: 0.5; }

.tm-modal {
  position: fixed; inset: 0;
  background: rgba(10, 20, 40, 0.45);
  display: flex; align-items: center; justify-content: center;
  z-index: 200; padding: 1rem;
}
.tm-modal[hidden] { display: none; }
.tm-modal__box {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.5rem;
  max-width: 420px;
  width: 100%;
  box-shadow: var(--shadow);
}
.tm-city-list { display: grid; gap: 0.5rem; margin: 1rem 0; }
.tm-city-pick {
  text-align: left;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 8px;
  padding: 0.65rem 0.85rem;
  cursor: pointer;
  font-size: 0.95rem;
}
.tm-city-pick:hover { border-color: var(--accent); }

.tm-geo-prompt {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  z-index: 150;
  pointer-events: none;
}
.tm-geo-prompt[hidden] { display: none !important; }
.tm-geo-prompt__inner {
  pointer-events: auto;
  max-width: 420px;
  margin: 0 auto;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e5e7eb);
  border-radius: 12px;
  box-shadow: var(--shadow, 0 8px 24px rgba(0,0,0,.12));
  padding: 0.85rem 1rem 0.9rem;
  position: relative;
}
.tm-geo-prompt__text {
  margin: 0 1.5rem 0.25rem 0;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.35;
}
.tm-geo-prompt__hint {
  margin: 0 0 0.75rem;
  font-size: 0.82rem;
}
.tm-geo-prompt__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.tm-geo-prompt__close {
  position: absolute;
  top: 6px;
  right: 8px;
  border: 0;
  background: transparent;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  color: #667;
  padding: 0.2rem 0.35rem;
}
.tm-geo-prompt__close:hover { color: #111; }
@media (min-width: 900px) {
  .tm-geo-prompt {
    left: auto;
    right: 24px;
    bottom: 24px;
    width: min(400px, calc(100vw - 48px));
  }
  .tm-geo-prompt__inner { margin: 0; max-width: none; }
}

.tm-page-title { margin: 0 0 1rem; }

.tm-success-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  box-shadow: var(--shadow);
}
.tm-status-pill {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #eef4ff;
  color: var(--accent);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.tm-commerce-hero--compact { padding: 1rem 0 0.75rem; }
.tm-commerce-hero--compact h1 { font-size: 1.35rem; margin-bottom: 0.35rem; }
.tm-commerce-hero--compact .tm-lead { font-size: 0.92rem; margin-bottom: 0.75rem; }
.tm-show-mobile { display: none; }
.tm-city-chip-bar {
  display: none;
  border-bottom: 1px solid rgba(228, 232, 238, 0.85);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.tm-city-chip-bar__inner { padding: 0.35rem 0; }
.tm-city-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.82rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.tm-city-chip__name { color: var(--text); font-weight: 600; }
.tm-city-chip__btn {
  border: none;
  background: none;
  color: var(--accent);
  font: inherit;
  font-size: 0.82rem;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.tm-stock--in_stock { color: var(--success); }
.tm-stock--low_stock { color: #b8860b; }
.tm-stock--backorder { color: var(--muted); }
.tm-card__stock-line { font-size: 0.72rem; color: var(--success); font-weight: 500; margin: 0; }
.tm-tag--cat { background: #eef4ff; color: var(--accent); }

@media (max-width: 768px) {
  body.tm-has-bottom-nav { padding-bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 4px); }
  body.tm-has-bottom-nav.tm-has-sticky-buy {
    padding-bottom: calc(var(--bottom-nav-h) + var(--sticky-buy-h) + var(--safe-bottom) + 4px);
  }
  body.tm-page-checkout { padding-bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 88px); }
  body.tm-page-cart { padding-bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 24px); }
  .tm-bottom-nav { display: flex; }
  .tm-sticky-buy { display: block; }
  .tm-main { padding: 0 0 0.5rem; overflow-x: clip; }
  .tm-footer { margin-bottom: 0.5rem; }
  .tm-cart-actions {
    position: sticky;
    bottom: calc(var(--bottom-nav-h) + var(--safe-bottom) + 8px);
    z-index: 90;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.55rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    flex-direction: column;
  }
  .tm-cart-actions .tm-btn { flex: 1 1 auto; width: 100%; justify-content: center; min-height: 42px; }
  .tm-hide-mobile { display: none !important; }
  .tm-show-mobile { display: inline-flex; }
  .tm-header__city-desktop { display: none; }
  .tm-filters { flex-direction: column; align-items: stretch; }
  .tm-filters select, .tm-filters .tm-btn { width: 100%; }
  .tm-footer__col { border-bottom: 1px solid var(--border); padding-bottom: 0.5rem; }
  .tm-footer__col:not([open]) .tm-footer__links { display: none; }
  .tm-product-layout, .tm-checkout-grid { grid-template-columns: 1fr; }
  .tm-buybox { position: static; }
  .tm-header__shell {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
      "logo city actions"
      "search search search";
    align-items: center;
    gap: 4px 8px;
    padding: 6px 0;
  }
  .tm-header__topline { display: contents; }
  .tm-header__logo { grid-area: logo; }
  .tm-header__city-compact,
  .header-city-chip { grid-area: city; justify-self: start; max-width: 100%; }
  .tm-header__search { grid-area: search; margin: 0; width: 100%; }
  .tm-header__actions { grid-area: actions; margin-left: 0; }
  .tm-container { padding: 0 8px; }
  .tm-card__actions .tm-btn--ghost { display: none; }
  .tm-card__actions .tm-btn {
    font-size: 0.75rem;
    padding: 6px 8px;
    min-height: 32px;
    border-radius: 6px;
  }
  .tm-card h3 { font-size: 0.78rem; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
  .tm-price { font-size: 0.92rem; }
  .tm-card__chips { display: none; }
  .tm-card__cmp { display: none; }
  .tm-card__meta { display: none; }
  .tm-tag { display: none; }
}
@media (max-width: 430px) {
  .tm-logo__img {
    height: 34px;
    max-width: 148px;
  }
}
@media (max-width: 380px) {
  .header-city-chip,
  .tm-header__city-compact {
    max-width: 100%;
    font-size: 0.78rem;
    padding: 0.3rem 0.55rem;
  }
}
@media (min-width: 769px) {
  .tm-show-mobile { display: none !important; }
  .tm-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .tm-grid--home {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  .tm-grid--premium {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .tm-card__body { padding: 0.65rem 0.75rem 0.75rem; }
  .tm-card h3 { font-size: 0.88rem; }
  .tm-card__actions { flex-direction: row; }
  .tm-card__actions .tm-btn--ghost { display: inline-flex; }
  .tm-header__shell {
    display: grid;
    grid-template-columns: auto auto minmax(280px, 1fr) auto auto;
    grid-template-areas: "logo catalog search city actions";
    align-items: center;
    gap: 0.75rem;
    padding: 8px 0;
  }
  .tm-header__topline { display: contents; }
  .tm-header__logo,
  .tm-logo { grid-area: logo; }
  .tm-header__catalog {
    display: inline-flex;
    grid-area: catalog;
  }
  .tm-header__search {
    grid-area: search;
    max-width: 520px;
    margin: 0;
  }
  .header-city-chip,
  .tm-header__city-compact { grid-area: city; max-width: 180px; }
  .tm-header__actions {
    grid-area: actions;
    margin-left: 0;
  }
  .tm-footer__col { pointer-events: none; }
  .tm-footer__title { pointer-events: auto; cursor: default; }
  .tm-footer__col[open] .tm-footer__links,
  .tm-footer__col .tm-footer__links { display: flex; }
  .tm-tag { display: inline; }
  .tm-card__chips { display: flex; }
  .tm-card__cmp { display: block; }
  .tm-card__meta { display: block; }
}
@media (min-width: 1100px) {
  .tm-grid { grid-template-columns: repeat(5, 1fr); }
  .tm-grid--home { grid-template-columns: repeat(5, 1fr); }
  .tm-grid--premium { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1100px) {
  .tm-card--carousel {
    flex: 0 0 calc(25% - 0.56rem);
    min-height: 390px;
  }
}

/* ===== Clean panels ===== */
.tm-glass-panel,
.tm-glass-modal .tm-modal__box {
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: none;
}

.tm-value-hero {
  display: none;
}

.tm-trust-strip {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tm-trust-strip__item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  background: var(--bg);
  border: none;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
}
.tm-trust-strip__item img {
  filter: none;
  opacity: 0.6;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}
.tm-trust-strip--inline {
  gap: 6px;
}
.tm-trust-strip--inline .tm-trust-strip__item {
  background: var(--bg);
  border: none;
  color: var(--muted);
}
.tm-trust-strip--inline .tm-trust-strip__item img { filter: none; opacity: 0.5; }

.tm-grid--premium {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.tm-card--premium {
  border-color: var(--border);
  box-shadow: none;
  background: var(--surface);
}
.tm-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0.35rem 0 0.15rem;
}
.tm-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.45rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  background: var(--bg-elevated);
  color: var(--steel);
  border: 1px solid var(--border);
}
.tm-chip--4k,
.tm-chip--os,
.tm-chip--value {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: rgba(26, 92, 255, 0.22);
}
.tm-card__badge,
.tm-value-claim__badge {
  display: inline-flex;
  margin: 0.35rem 0;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  background: var(--accent-soft);
  color: var(--accent);
}
.tm-card__cmp {
  margin: 0.15rem 0 0.35rem;
  font-size: 0.8rem;
  color: var(--muted);
}
.tm-card__cmp--live {
  color: var(--success);
  font-weight: 600;
}
.tm-card__meta { margin: 0 0 0.4rem; font-size: 0.78rem; }
.tm-btn--touch {
  min-height: 44px;
  padding-left: 0.9rem;
  padding-right: 0.9rem;
}
.tm-card__actions .tm-btn--touch { flex: 1 1 auto; }

.tm-value-claim { margin: 0.35rem 0 0.75rem; }
.tm-value-claim__note,
.tm-value-claim .tm-muted { margin: 0.35rem 0 0; font-size: 0.8rem; }

.tm-price-compare,
.tm-comparison-panel {
  margin: 0.75rem 0 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.tm-price-compare__title,
.tm-comparison-panel__title {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 700;
}

.tm-sticky-buy {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--bottom-nav-h) + var(--safe-bottom));
  z-index: var(--z-sticky-buy);
  padding: 6px 10px;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
}
.tm-sticky-buy__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  align-items: center;
}
.tm-sticky-buy__inner--checkout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border-radius: 14px;
  min-height: 48px;
}
.tm-sticky-buy__incart,
.tm-sticky-buy__checkout {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 12px;
  text-decoration: none;
  box-sizing: border-box;
}
.tm-sticky-buy__incart {
  color: var(--text, #1a1a1a);
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 650;
  border: 1px solid var(--border, #e5e7eb);
  border-right: 0;
  border-radius: 14px 0 0 14px;
}
.tm-sticky-buy__checkout {
  color: #fff;
  background: var(--accent, #005bff);
  font-size: 16.5px;
  font-weight: 800;
  border-radius: 0 14px 14px 0;
}
@media (max-width: 768px) {
  body.tm-has-sticky-buy .tm-sticky-buy:has(.tm-sticky-buy__inner--checkout) {
    display: block;
  }
}

.tm-specs-collapsible details > summary {
  list-style: none;
  cursor: pointer;
}
.tm-specs-collapsible details > summary::-webkit-details-marker { display: none; }
.tm-specs-collapsible summary h2 {
  display: inline;
  margin: 0;
  font-size: 1.15rem;
}
.tm-specs-collapsible summary::after {
  content: ' ▾';
  color: var(--muted);
  font-size: 0.9rem;
}
.tm-specs-collapsible details:not([open]) summary::after { content: ' ▸'; }

.tm-promotions,
.tm-promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  margin: 1.25rem 0;
}
.tm-promo-card {
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.tm-promo-card h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.tm-promo-card p { margin: 0; color: var(--muted); font-size: 0.88rem; }

.tm-support-hero {
  padding: 1.25rem 1.15rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  border: 1px solid var(--border);
}
.tm-support-hero .tm-lead { margin: 0.35rem 0 0; }
.tm-support-context { margin: 0.75rem 0 0; }
.tm-support-topics__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.tm-support-topic {
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
}
.tm-support-topic h3 { margin: 0 0 0.3rem; font-size: 0.95rem; }
.tm-support-topic p { margin: 0; }
.tm-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}
.tm-textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.85rem;
  font: inherit;
  resize: vertical;
  background: #fff;
  color: var(--text);
}
.tm-textarea:focus {
  outline: 2px solid var(--accent-soft);
  border-color: var(--accent);
}

.tm-product-benefits h2 { margin-top: 0; }
.tm-pdp-brand { font-size: 0.82rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.tm-pdp-perks {
  list-style: none;
  margin: 12px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tm-pdp-perks li {
  font-size: 0.82rem;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}
.tm-pdp-perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}
.tm-pdp-delivery-note { margin-top: 8px; }
.tm-pdp-delivery-note p { margin: 0; font-size: 0.82rem; }
.tm-pdp-mp {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
}
.tm-pdp-mp a {
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text);
  background: var(--bg);
}
.tm-pdp-mp a:hover { border-color: var(--accent); color: var(--accent); }
.tm-4k-block,
.tm-weight-dims,
.tm-specs-4k,
.tm-weight-dims-block { margin-top: 1.25rem; }

.tm-btn--primary { background: var(--accent); color: #fff; }
.tm-btn--primary:hover { background: var(--accent-hover); color: #fff; }

.tm-badge.tm-value-promise-badge,
.tm-value-promise-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 700;
  background: var(--accent-soft);
  color: var(--accent);
}

.tm-panel--glass,
.tm-price-comparison {
  background: var(--glass-bg);
  border: 1px solid var(--border);
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .tm-panel--glass,
  .tm-price-comparison {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}
.tm-price-comparison__title { margin: 0 0 0.4rem; font-size: 0.95rem; }
.tm-price-comparison__ref,
.tm-price-comparison__save { margin: 0.25rem 0; font-size: 0.9rem; }
.tm-price-comparison__badge { margin: 0.35rem 0; }

.tm-specs-table summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
}
.tm-specs-table summary::-webkit-details-marker { display: none; }
.tm-specs-table__grid {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.75rem;
}
.tm-specs-table__grid th,
.tm-specs-table__grid td {
  text-align: left;
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.tm-specs-table__grid th { color: var(--muted); width: 40%; font-weight: 500; }

.tm-specs-4k__title { margin-top: 0; }
.tm-specs-4k__list { margin: 0.5rem 0 0; padding-left: 1.15rem; }

.tm-site1-promos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  margin-top: 0.75rem;
}
.tm-site1-promo-card {
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.tm-site1-promo-card h3 { margin: 0 0 0.35rem; font-size: 1rem; }
.tm-site1-promo-card p { margin: 0 0 0.65rem; }

/* SITE-4B homepage hubs */
.tm-home-hub { margin: 1.25rem 0 1.75rem; overflow-x: clip; }
.tm-home-hub--account {
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
}
.tm-home-hub__title { margin: 0 0 0.35rem; font-size: 1.25rem; }
.tm-home-hub__sub { margin: 0 0 0.85rem; }
.tm-home-hub__cta { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tm-hub-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(42%, 46%);
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1rem;
  padding: 0.25rem 1rem 0.85rem;
  margin-inline: -1rem;
  width: calc(100% + 2rem);
  max-width: none;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  align-items: stretch;
}
.tm-hub-rail::-webkit-scrollbar { height: 4px; }
.tm-hub-card {
  scroll-snap-align: start;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
  min-height: 180px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  box-sizing: border-box;
}
.tm-hub-card h3 { margin: 0; font-size: 0.98rem; line-height: 1.3; }
.tm-hub-card p { margin: 0; flex: 1; font-size: 0.88rem; }
.tm-hub-card__meta {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}
.tm-hub-card .tm-btn { margin-top: auto; min-height: 44px; align-self: flex-start; }
.tm-hub-compact {
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.tm-hub-card__media {
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0,0,0,.04);
  flex-shrink: 0;
}
.tm-hub-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tm-hub-card__poster {
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(11,31,77,.12), rgba(26,92,255,.18));
  flex-shrink: 0;
}
.tm-hub-card--featured { border-color: rgba(26, 92, 255, 0.35); box-shadow: 0 8px 24px rgba(20,30,50,.06); }
.tm-video-player { width: 100%; max-width: 840px; border-radius: var(--radius); background: #000; }
.tm-btn--touch { min-height: 44px; min-width: 44px; }
@media (min-width: 900px) {
  .tm-hub-rail {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-columns: unset;
    overflow: visible;
    scroll-snap-type: none;
    margin-inline: 0;
    padding-inline: 0;
    width: auto;
  }
  .tm-hub-card--featured { grid-column: span 1; }
}
@media (min-width: 1440px) {
  .tm-hub-rail {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.tm-support-home__topics {
  margin: 0.5rem 0 1rem;
  padding-left: 1.1rem;
}
.tm-support-home__topics li { margin: 0.35rem 0; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .tm-toast { transition: none; }
}

@media (min-width: 769px) {
  .tm-value-hero { padding: 1.75rem 0 1.4rem; }
  .tm-sticky-buy { display: none !important; }
  body.tm-has-sticky-buy { padding-bottom: 0; }
}


/* SITE-2A.1 checkout delivery */
.tm-checkout-section { margin: 0 0 1.25rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border, rgba(0,0,0,.08)); }
.tm-checkout-section:last-of-type { border-bottom: 0; }
.tm-checkout-hint { font-size: .9rem; margin: .25rem 0 .75rem; }
.tm-checkout-ship-profile { margin-top: .5rem; font-size: .92rem; opacity: .85; }
.tm-checkout-subheading { margin: 1rem 0 .5rem; font-size: 1rem; }
.tm-checkout-door-fields { display: grid; gap: .35rem; margin-top: .75rem; }
.tm-checkout-door-fields[hidden] { display: none !important; }
.tm-address-city-row { display: flex; gap: .5rem; align-items: stretch; min-width: 0; }
.tm-address-city-row .tm-input { flex: 1 1 auto; min-width: 0; width: auto; }
.tm-address-city-row .tm-btn { flex: 0 0 auto; white-space: nowrap; }
.tm-checkout-city-confirmed { margin: 0 0 .75rem; }
.tm-checkout-city-line {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
  font-size: 1rem;
  color: var(--navy, #0b1f4d);
}
.tm-delivery-quotes { display: grid; gap: .65rem; min-width: 0; }
.tm-checkout-interval {
  display: grid;
  gap: .35rem;
  margin: .55rem 0 0;
}
.tm-checkout-interval .tm-label {
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy, #0b1f4d);
}
.tm-checkout-interval .tm-select {
  min-height: 42px;
}
.tm-delivery-card, .tm-pickup-card, .tm-payment-card {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .85rem .9rem; border: 1px solid var(--border, rgba(11,31,77,.12));
  border-radius: 14px; background: rgba(255,255,255,.55);
  backdrop-filter: blur(10px); cursor: pointer;
  min-width: 0; max-width: 100%; box-sizing: border-box;
}
.tm-delivery-card:has(input:checked),
.tm-pickup-card:has(input:checked),
.tm-payment-card:has(input:checked),
.tm-payment-card--selected {
  border-color: rgba(11,31,77,.45);
  box-shadow: 0 0 0 1px rgba(11,31,77,.2);
}
.tm-delivery-card__body, .tm-pickup-card__body, .tm-pickup-card > span { display: grid; gap: .2rem; flex: 1; min-width: 0; }
.tm-pickup-card__addr {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}
.tm-label-safe,
.tm-delivery-card__title,
.tm-delivery-card__price,
.tm-payment-card__title,
.tm-sheet__title,
.tm-btn,
.tm-pvz-view-toggle .tm-btn,
.tm-checkout-section h2 {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}
.tm-payment-card__title {
  white-space: nowrap;
}
.tm-delivery-card__meta { display: flex; justify-content: space-between; gap: .75rem; font-weight: 600; flex-wrap: wrap; }
.tm-delivery-card--manual { background: rgba(11,31,77,.03); }
.tm-delivery-card--selected { border-color: rgba(11,31,77,.5); }
.tm-delivery-card__hint { font-size: .85rem; line-height: 1.35; }
.tm-pickup-points { display: grid; gap: .55rem; max-height: 320px; overflow: auto; margin-top: .6rem; min-width: 0; }
.tm-payment-cards { display: grid; gap: .55rem; min-width: 0; }
.tm-checkout-total { display: grid; gap: .35rem; }
.tm-page-checkout .tm-panel,
.tm-page-checkout .tm-checkout-grid,
.tm-page-checkout #checkout-form {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
.tm-page-checkout .tm-main,
.tm-page-checkout .tm-container {
  overflow-x: clip;
  max-width: 100%;
}

/* SITE-2A.2 login / account */
.tm-login { max-width: 480px; margin: 0 auto; padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
.tm-login__card { padding: 1.25rem 1.1rem 1.5rem; margin: .75rem 0 1.5rem; }
.tm-login__lead { margin: 0 0 1rem; }
.tm-login__section-title { font-size: 1rem; margin: 0 0 .75rem; }
.tm-login__form { display: grid; gap: .55rem; }
.tm-login__label { font-size: .85rem; font-weight: 600; }
.tm-login__input, .tm-login__form .tm-input { min-height: 44px; width: 100%; box-sizing: border-box; }
.tm-login__submit { width: 100%; }
.tm-login__status { min-height: 1.25rem; font-size: .9rem; margin: .25rem 0; }
.tm-login__status--err { color: #b00020; }
.tm-login__dry, .tm-login__note { font-size: .85rem; opacity: .85; }
.tm-login__divider { display: flex; align-items: center; gap: .75rem; margin: 1.1rem 0; color: rgba(11,31,77,.55); font-size: .85rem; }
.tm-login__divider::before, .tm-login__divider::after { content: ""; flex: 1; height: 1px; background: rgba(11,31,77,.12); }
.tm-login__providers { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.tm-login__provider {
  width: 100%;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  padding: .55rem .85rem;
  box-sizing: border-box;
}
.tm-login__provider-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
  border-radius: 5px;
  object-fit: contain;
  filter: none;
}
.tm-login__provider--prepared { opacity: .72; cursor: not-allowed; }
.tm-login__guest { margin-top: 1rem; font-size: .9rem; }
.tm-profile-tabs { display: flex; flex-wrap: wrap; gap: .45rem; margin: 0 0 1rem; }
.tm-profile-tabs__active { border-color: rgba(11,31,77,.45) !important; }
.tm-profile-address__actions { max-width: 100%; }
.tm-profile-fav-grid { margin-top: .5rem; }
.tm-checkout-saved-addresses { margin: 0 0 12px; }
.tm-checkout-saved-addresses label { display:block; margin-bottom:6px; font-weight:600; }
@media (max-width: 480px) {
  .tm-profile-tabs { gap: .35rem; }
  .tm-profile-tabs .tm-btn { font-size: .85rem; padding: .45rem .7rem; }
}
.tm-profile-order { padding: .65rem 0; border-bottom: 1px solid rgba(11,31,77,.08); }
.tm-order-watermark {
  display: inline-block; margin-left: .35rem; padding: .15rem .45rem;
  border-radius: 999px; font-size: .75rem; font-weight: 700;
  background: #fff3cd; color: #7a5b00;
}
@media (max-width: 420px) {
  .tm-login__providers { grid-template-columns: 1fr; }
}

/* SITE-4D.3 maintenance notice + promo benefits */
.tm-maintenance-notice {
  position: relative;
  z-index: 130;
  background: linear-gradient(135deg, rgba(11,31,77,.92), rgba(26,92,255,.88));
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.tm-maintenance-notice__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  padding: 0.75rem 1rem;
  box-sizing: border-box;
  max-width: 100%;
}
.tm-maintenance-notice__text {
  margin: 0;
  flex: 1 1 220px;
  font-size: 0.92rem;
  line-height: 1.4;
  color: #fff;
}
.tm-maintenance-notice__cta {
  flex: 0 0 auto;
  min-height: 44px;
  min-width: 44px;
  padding: 0.65rem 1rem;
  background: #fff !important;
  color: #0b1f4d !important;
  border: 0;
  white-space: nowrap;
}
.tm-maintenance-notice__cta:hover { filter: brightness(0.97); }
.tm-hub-card__benefits {
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.82rem;
  color: var(--text);
}
.tm-hub-card__benefits li { margin: 0.15rem 0; }
.tm-bottom-nav__item { position: relative; }
.tm-bottom-nav__item--active span { text-decoration: underline; text-underline-offset: 3px; }
.tm-home-hub--promos { margin-top: 1rem; }
@media (prefers-reduced-motion: reduce) {
  .tm-hub-rail { scroll-behavior: auto; }
}

/* SITE-7B geo / city search / PVZ map */
.tm-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.tm-city-modal .tm-input { width:100%; margin:.5rem 0; }
.tm-city-search-status { min-height:1.2em; font-size:.85rem; margin-bottom:.35rem; }
.tm-city-search-results { display:grid; gap:.35rem; max-height:240px; overflow:auto; margin-bottom:.75rem; }
.tm-city-search-results[hidden] { display:none !important; }
.tm-city-result {
  display:grid; gap:.15rem; text-align:left; width:100%;
  padding:.7rem .8rem; border:1px solid var(--border, rgba(11,31,77,.12));
  border-radius:12px; background:rgba(255,255,255,.7); cursor:pointer;
}
.tm-city-result:hover, .tm-city-result.is-active, .tm-city-result:focus {
  border-color:rgba(11,31,77,.45); outline:none;
}
.tm-city-result__name mark { background:rgba(255,196,0,.35); color:inherit; padding:0 .1em; }
.tm-city-result__region { font-size:.82rem; }
.tm-city-popular-label { margin:.5rem 0 .25rem; font-size:.85rem; }
.tm-address-city-row { display:flex; gap:.5rem; align-items:center; }
.tm-address-city-row .tm-input { flex:1; }
.tm-city-search-results--checkout { margin:.35rem 0 .75rem; }
.tm-pvz-toolbar { display:flex; flex-wrap:wrap; gap:.5rem; align-items:center; margin-bottom:.5rem; min-width:0; }
.tm-pvz-toolbar .tm-input { flex:1; min-width:0; }
.tm-pvz-view-toggle { display:inline-flex; gap:.25rem; flex-shrink:0; }
.tm-pvz-view-toggle .tm-btn.is-active { border-color:rgba(11,31,77,.5); background:rgba(11,31,77,.06); }
.tm-pvz-layout { display:grid; gap:.75rem; min-width:0; }
@media (min-width:768px) {
  .tm-pvz-layout { grid-template-columns:1fr 1fr; align-items:stretch; min-height:360px; }
}
.tm-pvz-map { width:100%; height:320px; border-radius:14px; border:1px solid var(--border, rgba(11,31,77,.12)); background:#e8eef7; }
.tm-pvz-map-wrap { display:grid; gap:.35rem; min-width:0; }
.tm-pickup-card.is-selected { border-color:rgba(11,31,77,.55); box-shadow:0 0 0 1px rgba(11,31,77,.25); }
.tm-pickup-card .tm-pvz-pick-btn { flex-shrink:0; align-self:center; }
.tm-pvz-selected {
  margin-top:.75rem; padding:.9rem; border:1px solid rgba(11,31,77,.25); border-radius:14px;
  background:rgba(11,31,77,.04); display:grid; gap:.25rem; min-width:0;
  padding-bottom:calc(.9rem + env(safe-area-inset-bottom, 0px));
}
.tm-pvz-selected__provider { font-weight:700; }
.tm-pvz-selected__code { font-size:.9rem; opacity:.85; }
.tm-pvz-selected #pvz-selected-addr,
.tm-pvz-selected #pvz-selected-hours { overflow-wrap:anywhere; margin:0; }
.tm-pvz-picker[hidden],
.tm-pvz-selected[hidden] { display:none !important; }
@media (max-width:767px) {
  .tm-header__city-compact { max-width:100%; }
  .tm-header__city-label { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  .tm-pvz-map { height:min(52vh, 420px); }
  .tm-pickup-points { max-height:min(40vh, 360px); margin-bottom:calc(72px + env(safe-area-inset-bottom, 0px)); }
  .tm-city-search-results { max-height:min(40vh, 280px); }
  body.tm-modal-open { overflow:hidden; }
  .tm-page-checkout .tm-bottom-nav { z-index: 40; }
  .tm-page-checkout #checkout-submit {
    margin-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
}

/* SITE-7C promo / video cards */
.tm-promo-cards {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.5rem;
}
.tm-promo-card {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  min-width: 0;
}
.tm-promo-card--featured {
  border-color: rgba(26, 92, 255, 0.35);
  box-shadow: 0 8px 24px rgba(20,30,50,.06);
}
.tm-promo-card__media {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0,0,0,.04);
}
.tm-promo-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tm-promo-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}
.tm-promo-card__badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(26, 92, 255, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
}
.tm-promo-card__title {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.tm-promo-card__text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tm-promo-card__meta { margin: 0; font-size: 0.78rem; color: var(--muted); }
.tm-promo-card__cta {
  margin-top: 0.35rem;
  align-self: flex-start;
  min-height: 44px;
}
@media (min-width: 700px) {
  .tm-promo-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .tm-promo-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.tm-video-cards {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
  margin-top: 0.5rem;
}
.tm-video-cards--single { max-width: 520px; }
.tm-video-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  overflow: hidden;
  min-width: 0;
}
.tm-video-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111;
}
.tm-video-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tm-video-play-btn {
  position: absolute;
  inset: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tm-video-play-icon { pointer-events: none; }
.tm-video-card__body { padding: 0.75rem 0.85rem 0.9rem; }
.tm-video-card__title { margin: 0; font-size: 0.98rem; line-height: 1.3; }
.tm-video-card__title a { color: inherit; text-decoration: none; }
.tm-video-card__meta {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}
.tm-video-channels { display: flex; flex-wrap: wrap; gap: 0.5rem; }
@media (min-width: 700px) {
  .tm-video-cards:not(.tm-video-cards--single) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px) {
  .tm-video-cards:not(.tm-video-cards--single) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.tm-promo-form { margin-top: 0.85rem; display: grid; gap: 0.45rem; }
.tm-promo-form__row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tm-promo-form__row .tm-input { flex: 1 1 160px; min-width: 0; }
.tm-promo-form__result { margin: 0; min-height: 1.25em; font-size: 0.9rem; }
.tm-promo-form__result.is-ok { color: var(--success, #1b7a3d); }
.tm-promo-form__result.is-err { color: #b00020; }
.tm-promo-applied {
  margin-top: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
  border: 1px solid rgba(27, 122, 61, 0.25);
  background: rgba(27, 122, 61, 0.06);
  display: grid;
  gap: 0.35rem;
}
.tm-giveaway { max-width: 720px; padding-bottom: calc(var(--bottom-nav-h, 64px) + 2rem); }
.tm-giveaway__lead { font-size: 1.05rem; line-height: 1.45; }
.tm-giveaway__rules p { margin: 0.35rem 0; }
.tm-giveaway__consent { margin-top: 1rem; display: grid; gap: 0.65rem; }
.tm-check { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.9rem; }
@media (max-width: 768px) {
  .tm-home-hub--promos,
  .tm-home-hub--videos { margin-bottom: 1.25rem; }
  .tm-promo-card__cta { margin-bottom: 0.15rem; }
  body.tm-page-home .tm-home-hub--promos { scroll-margin-bottom: calc(var(--bottom-nav-h) + 72px); }
}

/* Checkout conversion — sheets, labels, delivery, payment, PVZ */
.tm-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(24, 35, 43, 0.18);
  border-top-color: #f4512a;
  border-radius: 50%;
  animation: tm-spin .7s linear infinite;
  vertical-align: -2px;
}
@keyframes tm-spin { to { transform: rotate(360deg); } }
.tm-loading-inline { display: flex; align-items: center; gap: .5rem; min-height: 44px; }
.tm-sheet {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(18, 22, 26, 0.46);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.tm-sheet[hidden] { display: none !important; }
.tm-sheet__box {
  background: #fff;
  width: 100%;
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}
.tm-sheet__head {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(24, 35, 43, 0.08);
  flex: 0 0 auto;
}
.tm-sheet__title {
  margin: 0;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 750;
  color: #18232b;
}
.tm-sheet__icon-btn {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #18232b;
}
.tm-sheet__icon-btn svg { width: 22px; height: 22px; }
.tm-sheet__icon-btn:hover { background: rgba(24, 35, 43, 0.06); }
@media (min-width: 768px) {
  .tm-sheet { align-items: center; padding: 24px; }
  .tm-sheet__box {
    width: min(1180px, 96vw);
    height: min(88vh, 900px);
    max-height: 90vh;
    border-radius: 22px;
    box-shadow: 0 24px 64px rgba(18, 22, 26, 0.22);
  }
  .tm-city-sheet .tm-sheet__box,
  .tm-city-modal {
    width: min(480px, 96vw);
    height: auto;
    max-height: 90vh;
  }
}
.tm-city-modal {
  padding: 0 16px 20px;
  overflow: auto;
}
.tm-city-modal .tm-sheet__head { margin: 0 -16px 4px; }
.tm-city-modal__lead { margin: 0 0 10px; }
.tm-city-pick {
  display: grid;
  gap: 2px;
  min-height: 48px;
  text-align: left;
}
.tm-city-pick__name { font-weight: 700; }
.tm-city-pick__region { font-size: .82rem; }
.tm-city-result { min-height: 48px; }

.tm-delivery-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "icon head"
    "icon meta";
  align-items: start;
  gap: 6px 12px;
  min-height: 72px;
  padding: 14px 14px;
  border-color: rgba(24, 35, 43, 0.12);
  background: #fff;
  position: relative;
}
.tm-delivery-card--grouped {
  grid-template-areas:
    "icon head"
    "icon meta"
    "seg  seg";
}
.tm-delivery-card input[type=radio] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tm-delivery-card__icon {
  grid-area: icon;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f4f6f8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 40px;
}
.tm-delivery-card__icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}
.tm-delivery-card__icon--wide {
  width: 72px;
  height: 22px;
  background: transparent;
  border-radius: 0;
}
.tm-delivery-card__icon--wide img {
  width: 72px;
  height: 22px;
}
.tm-delivery-card__head {
  grid-area: head;
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}
.tm-delivery-card__title {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: none;
}
.tm-delivery-card__price {
  flex: 0 0 auto;
  font-weight: 700;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}
.tm-delivery-card__method {
  grid-area: meta;
  display: block;
  min-width: 0;
  font-size: .88rem;
  line-height: 1.3;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}
.tm-delivery-card__check {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #f4512a;
  position: relative;
  visibility: hidden;
  align-self: center;
}
.tm-delivery-card--selected,
.tm-delivery-card:has(input:checked) {
  border-color: rgba(244, 81, 42, 0.55);
  background: rgba(244, 81, 42, 0.06);
  box-shadow: 0 0 0 1px rgba(244, 81, 42, 0.22);
}
.tm-delivery-card--selected .tm-delivery-card__check,
.tm-delivery-card:has(input:checked) .tm-delivery-card__check {
  visibility: visible;
}
.tm-delivery-card__check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.tm-delivery-card--grouped { cursor: pointer; }
.tm-delivery-seg {
  grid-area: seg;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  margin: 8px 0 0;
  border: 1px solid rgba(24, 35, 43, 0.12);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.tm-delivery-seg__opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 8px;
  font-size: .82rem;
  font-weight: 650;
  cursor: pointer;
  background: #fff;
  color: #18232b;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  min-width: 0;
}
.tm-delivery-seg__opt + .tm-delivery-seg__opt {
  border-left: 1px solid rgba(24, 35, 43, 0.12);
}
.tm-delivery-seg__opt input { position: absolute; opacity: 0; pointer-events: none; }
.tm-delivery-seg__opt.is-active,
.tm-delivery-seg__opt:has(input:checked) {
  background: rgba(244, 81, 42, 0.12);
  color: #c43a1a;
}

.tm-payment-card {
  display: grid;
  grid-template-columns: 22px 40px minmax(0, 1fr);
  align-items: center;
  column-gap: 12px;
  row-gap: 0;
  min-height: 80px;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(24, 35, 43, 0.16);
  border-radius: 14px;
}
.tm-payment-card input[type=radio] { margin: 0; width: 18px; height: 18px; accent-color: #f4512a; }
.tm-payment-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f4f6f8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.tm-payment-card__icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}
.tm-payment-card__text { display: grid; gap: 2px; min-width: 0; }
.tm-payment-card__title {
  font-weight: 700;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}
.tm-payment-card__hint { display: block; line-height: 1.35; }
.tm-payment-card--selected,
.tm-payment-card:has(input:checked) {
  border-color: rgba(244, 81, 42, 0.55);
  background: rgba(244, 81, 42, 0.06);
  box-shadow: 0 0 0 1px rgba(244, 81, 42, 0.18);
}
.tm-payment-card--disabled {
  opacity: 1;
  cursor: not-allowed;
  background: #f3f5f7;
  border-color: rgba(24, 35, 43, 0.10);
  box-shadow: none;
}
.tm-payment-card--disabled .tm-payment-card__title { color: #18232b; }
.tm-payment-card--disabled .tm-payment-card__hint,
.tm-payment-card--disabled .tm-muted { color: #6b7680; }

.tm-pvz-open-btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.tm-pvz-open-btn__icon svg { width: 18px; height: 18px; }
.tm-pvz-selected { background: #fff; border-color: rgba(244, 81, 42, 0.28); }
.tm-pvz-sheet .tm-pvz-picker {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 0 14px 14px;
}
.tm-pvz-search-row { padding: 10px 0 8px; }
.tm-pvz-search {
  position: relative;
  display: block;
}
.tm-pvz-search__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: #6b7680;
  pointer-events: none;
}
.tm-pvz-search__icon svg { width: 18px; height: 18px; display: block; }
.tm-pvz-search .tm-input {
  width: 100%;
  padding-left: 40px;
  min-height: 44px;
}
.tm-pvz-geo-suggest {
  display: grid;
  gap: 6px;
  margin: 0 0 10px;
}
.tm-pvz-geo-suggest[hidden] { display: none; }
body.tm-keyboard-open .tm-pvz-geo-suggest {
  max-height: min(42vh, calc(var(--tm-visual-height, 100dvh) - 190px));
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.tm-pvz-geo-suggest__title {
  margin: 0;
  font-size: .78rem;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #6b7680;
}
.tm-pvz-locality-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid rgba(24, 35, 43, 0.12);
  border-radius: 12px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  font: inherit;
  color: inherit;
}
.tm-pvz-locality-card:hover,
.tm-pvz-locality-card:focus {
  border-color: rgba(11, 31, 77, 0.45);
  box-shadow: 0 0 0 1px rgba(11, 31, 77, 0.18);
}
.tm-pvz-locality-card__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.tm-pvz-locality-card__name {
  font-weight: 650;
  line-height: 1.3;
}
.tm-pvz-locality-card__sub {
  font-size: .82rem;
  line-height: 1.3;
  color: #6b7680;
  font-weight: 450;
}
.tm-pvz-locality-card__hint {
  flex-shrink: 0;
  font-size: .82rem;
  color: #6b7680;
}
.tm-pvz-toolbar {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px 12px;
  align-items: center;
  margin: 0 0 10px;
}
.tm-pvz-toolbar .tm-input { display: none; }
.tm-pvz-count { margin: 0 0 0 auto; font-size: .88rem; white-space: nowrap; }
.tm-pvz-view-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: 100%;
  max-width: 240px;
  border: 1px solid rgba(24, 35, 43, 0.12);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  flex: 1 1 auto;
  min-width: 0;
  box-sizing: border-box;
}
.tm-pvz-view-toggle__btn {
  appearance: none;
  border: 0;
  background: #fff;
  min-width: 0;
  min-height: 44px;
  padding: 0 10px;
  font: inherit;
  font-size: .88rem;
  font-weight: 650;
  color: #18232b;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
}
.tm-pvz-view-toggle__btn + .tm-pvz-view-toggle__btn {
  border-left: 1px solid rgba(24, 35, 43, 0.12);
}
.tm-pvz-view-toggle__btn.is-active {
  background: rgba(244, 81, 42, 0.12);
  color: #c43a1a;
}
.tm-pvz-layout {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 1fr;
}
.tm-pickup-points {
  max-height: none;
  overflow: auto;
  margin: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.tm-pickup-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(96px, 108px);
  align-items: end;
  gap: 10px 12px;
  min-height: 72px;
  margin: 0;
  padding: 14px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(24, 35, 43, 0.10);
  border-radius: 16px;
  box-sizing: border-box;
  min-width: 0;
}
.tm-pickup-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.tm-pickup-card__addr {
  font-size: .95rem;
  line-height: 1.3;
  font-weight: 700;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}
.tm-pickup-card__zip { font-size: .82rem; }
.tm-pickup-card__provider,
.tm-pickup-card__hours { font-size: .86rem; line-height: 1.3; }
.tm-pvz-pick-btn {
  appearance: none;
  flex-shrink: 0;
  align-self: end;
  width: 100%;
  min-width: 0;
  max-width: 108px;
  min-height: 44px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid rgba(244, 81, 42, 0.35);
  background: rgba(244, 81, 42, 0.08);
  color: #c43a1a;
  font: inherit;
  font-size: .86rem;
  font-weight: 650;
  cursor: pointer;
  white-space: nowrap;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tm-pickup-card .tm-pvz-pick-btn { align-self: end; }
.tm-pvz-pick-btn.is-selected {
  border-color: rgba(244, 81, 42, 0.55);
  background: rgba(244, 81, 42, 0.14);
  color: #c43a1a;
}
.tm-pvz-pick-btn--block { width: 100%; justify-self: stretch; }
.tm-pickup-card.is-selected {
  border-color: rgba(244, 81, 42, 0.45);
  background: rgba(244, 81, 42, 0.05);
  box-shadow: 0 0 0 1px rgba(244, 81, 42, 0.16);
}
.tm-pvz-map-wrap { position: relative; min-height: 0; display: grid; }
.tm-pvz-map-wrap[hidden] { display: none !important; }
.tm-pvz-layout--map .tm-pvz-map-wrap {
  min-height: 280px;
  height: calc(100dvh - 200px);
}
.tm-pvz-map { height: 100%; min-height: 280px; border-radius: 16px; }
.tm-pvz-map-preview {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(24, 35, 43, 0.10);
  border-radius: 16px;
  padding: 14px;
  display: grid;
  gap: 4px;
  box-shadow: 0 12px 28px rgba(18, 22, 26, 0.14);
}
.tm-pvz-map-preview[hidden] { display: none !important; }
.tm-pvz-map-preview__addr {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
  line-height: 1.3;
}
.tm-pvz-map-preview .tm-pvz-pick-btn { margin-top: 8px; }
@media (min-width: 768px) {
  .tm-pvz-layout { grid-template-columns: minmax(280px, 38%) minmax(0, 1fr); min-height: 0; }
  .tm-pvz-map { min-height: 420px; }
}
.tm-checkout-dock {
  position: sticky;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.94);
  border-top: 1px solid rgba(24, 35, 43, 0.08);
  box-shadow: 0 -8px 24px rgba(18, 22, 26, 0.08);
}
.tm-checkout-dock[hidden] { display: none !important; }
.tm-checkout-dock__total { font-weight: 650; white-space: nowrap; }
.tm-checkout-dock__btn { min-height: 48px; flex: 1 1 auto; max-width: 240px; }
@media (min-width: 900px) {
  .tm-checkout-dock { display: none !important; }
}
@media (max-width: 767px) {
  body.tm-page-checkout .tm-bottom-nav,
  body.tm-page-cart .tm-bottom-nav { display: none !important; }
  body.tm-page-checkout,
  body.tm-page-cart { padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  body.tm-page-checkout #checkout-submit { margin-bottom: 8px; }
  body.tm-page-checkout .tm-chat-fab {
    bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  }
  body.tm-page-checkout #checkout-summary { display: none; }
  .tm-pvz-map { height: calc(100dvh - 190px); min-height: 240px; }
  .tm-pvz-sheet .tm-pickup-points { max-height: none; margin-bottom: 0; }
}
body.tm-pvz-sheet-open .tm-chat-fab,
body.tm-modal-open .tm-chat-fab { visibility: hidden; }
.tm-summary-line--total span { font-size: 1.15rem; font-weight: 800; }
.tm-cart-reassure {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  font-size: .82rem;
  color: #5b6670;
}
.tm-cart-reassure li { white-space: nowrap; }
.tm-cart-item__spec { margin: 0 0 6px; font-size: .82rem; }
.tm-cart-item__fav {
  border: 0;
  background: transparent;
  min-height: 44px;
  padding: 0 8px;
  color: #5b6670;
  font-size: .85rem;
  cursor: pointer;
}
.tm-cart-dock {
  position: sticky;
  bottom: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.94);
  border-top: 1px solid rgba(24, 35, 43, 0.08);
  box-shadow: 0 -8px 24px rgba(18, 22, 26, 0.08);
}
.tm-cart-dock[hidden] { display: none !important; }
.tm-cart-dock__btn { min-height: 48px; flex: 1 1 auto; max-width: 260px; white-space: nowrap; }
@media (max-width: 767px) {
  .tm-cart-dock:not([hidden]) { display: flex; }
  body.tm-page-cart .tm-cart-actions .tm-cart-summary__cta { display: none; }
  body.tm-page-cart .tm-cart-qty__btn,
  body.tm-page-cart .tm-cart-qty__input {
    min-width: 44px;
    min-height: 44px;
  }
}
@media (min-width: 768px) {
  .tm-cart-dock { display: none !important; }
}
.tm-modal.tm-sheet {
  padding: 0;
  align-items: stretch;
  background: rgba(18, 22, 26, 0.46);
  z-index: 1200;
}
.tm-modal.tm-sheet .tm-modal__box {
  max-width: none;
  width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  border-radius: 0;
  padding: 0 16px 20px;
  overflow: auto;
  box-shadow: none;
}
@media (min-width: 768px) {
  .tm-modal.tm-sheet { align-items: center; padding: 24px; }
  .tm-modal.tm-sheet .tm-modal__box {
    width: min(480px, 96vw);
    height: auto;
    max-height: 90vh;
    border-radius: 22px;
    box-shadow: 0 24px 64px rgba(18, 22, 26, 0.22);
  }
}


/* === ux/compact-commerce-flow === */
.tm-pdp-collapse { margin-top: 12px; padding: 0; }
.tm-pdp-collapse__summary {
  list-style: none;
  cursor: pointer;
  font-weight: 650;
  font-size: 1rem;
  padding: 14px 16px;
  min-height: 48px;
  display: flex;
  align-items: center;
}
.tm-pdp-collapse__summary::-webkit-details-marker { display: none; }
.tm-pdp-collapse__body { padding: 0 12px 16px; }
.tm-pdp-help { margin-top: 12px; }
.tm-toast { display: inline-flex; align-items: center; gap: 12px; }
.tm-toast__action {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  white-space: nowrap;
}
.tm-checkout-contacts { display: grid; gap: 8px; }
.tm-checkout-name-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.tm-checkout-email-label { margin-top: 4px; }
.tm-delivery-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0 0 12px;
  border: 1px solid rgba(24, 35, 43, 0.14);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}
.tm-delivery-mode__btn {
  min-height: 44px;
  border: 0;
  background: #fff;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  color: #18232b;
}
.tm-delivery-mode__btn.is-active {
  background: #18232b;
  color: #fff;
}
.tm-delivery-card--compact {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 10px 14px;
  margin: 0 0 8px;
  gap: 12px;
}
.tm-delivery-card--compact .tm-delivery-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 12px;
}
.tm-delivery-card--compact input[type=radio] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.tm-delivery-card--compact .tm-delivery-card__title { font-size: .95rem; }
.tm-delivery-card--compact .tm-delivery-card__price { font-weight: 700; white-space: nowrap; }
.tm-pvz-selected {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 8px;
}
.tm-pvz-selected__compact {
  margin: 0;
  font-weight: 600;
  flex: 1 1 auto;
}

/* === Manager callback modal — liquid glass overlay (body-level fixed) === */
.tm-callback-modal {
  position: fixed;
  inset: 0;
  z-index: 3200;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  margin: 0;
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  overscroll-behavior: none;
  isolation: isolate;
  transform: none;
}
.tm-callback-modal[hidden] { display: none !important; }
body.tm-callback-open .tm-toast {
  z-index: 3100;
  opacity: 0;
  pointer-events: none;
}
.tm-callback-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 22, 26, 0.34);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.tm-callback-modal__box {
  --tm-callback-kb: 0px;
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  margin: 0;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  display: grid;
  gap: 10px;
  border-radius: 22px 22px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-bottom: 0;
  background: rgba(255, 255, 255, 0.88);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
  backdrop-filter: blur(22px) saturate(1.2);
  box-shadow:
    0 -8px 32px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transform: translateY(calc(-1 * var(--tm-callback-kb, 0px)));
  transition: transform 120ms ease-out;
  max-height: min(70dvh, 520px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}
.tm-callback-modal__lead {
  margin: 0;
  padding-right: 40px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--text, #1a1a1a);
}
.tm-callback-modal__x {
  position: absolute;
  top: 6px;
  right: 6px;
  border: 0;
  background: rgba(255, 255, 255, 0.55);
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
  border-radius: 12px;
  color: var(--text, #1a1a1a);
}
.tm-callback-modal__box .tm-input {
  width: 100%;
  min-height: 48px;
  height: 48px;
  padding: 0 14px;
  font-size: 16px;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  box-sizing: border-box;
}
.tm-callback-modal__box .tm-input:focus {
  outline: none;
  border-color: var(--accent, #005bff);
  box-shadow: 0 0 0 3px var(--accent-soft, rgba(0, 91, 255, 0.12));
}
.tm-callback-modal__box .tm-btn--buy {
  min-height: 50px;
  border-radius: 14px;
  font-weight: 700;
}
.tm-callback-modal__status { margin: 0; min-height: 1.15em; font-size: 0.88rem; }
body.tm-callback-open { overflow: hidden; }
@media (min-width: 768px) {
  .tm-callback-modal {
    align-items: center;
    padding: 24px;
  }
  .tm-callback-modal__box {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.72);
    padding: 22px 20px 20px;
    transform: none;
    max-height: min(80dvh, 560px);
    box-shadow:
      0 18px 48px rgba(15, 23, 42, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.92);
  }
}

/* === Fixed 3-screen checkout — White Liquid Glass === */
body.tm-page-checkout--shell {
  --checkout-topbar-h: 56px;
  --checkout-support-h: 42px;
  --checkout-card-radius: 24px;
  --checkout-input-h: 50px;
  --checkout-cta-h: 50px;
  --checkout-glass-bg: rgba(255, 255, 255, 0.78);
  --checkout-glass-bg-strong: rgba(255, 255, 255, 0.88);
  --checkout-glass-border: rgba(255, 255, 255, 0.72);
  --checkout-glass-border-soft: rgba(226, 232, 240, 0.9);
  --checkout-glass-blur: 20px;
  --checkout-glass-shadow: 0 1px 2px rgba(15, 23, 42, 0.03), 0 10px 28px rgba(15, 23, 42, 0.05);
  --checkout-inner-shine: inset 0 1px 0 rgba(255, 255, 255, 0.92);
  --tm-visual-height: 100dvh;
  height: 100dvh;
  max-height: 100dvh;
  min-height: 100dvh;
  overflow: hidden;
  overflow-x: hidden;
  padding-bottom: 0 !important;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(255, 255, 255, 0.95) 0%, rgba(243, 245, 248, 0.9) 42%, #eef0f3 100%);
  color: var(--text, #1a1a1a);
}
@media (max-width: 767px) {
  body.tm-page-checkout--shell {
    --checkout-support-h: 42px;
  }
}
body.tm-page-checkout--shell .tm-header,
body.tm-page-checkout--shell .tm-page-shell,
body.tm-page-checkout--shell .tm-search-row,
body.tm-page-checkout--shell .tm-location-row,
body.tm-page-checkout--shell .tm-site-footer,
body.tm-page-checkout--shell footer,
body.tm-page-checkout--shell .tm-bottom-nav,
body.tm-page-checkout--shell .tm-chat-fab,
body.tm-page-checkout--shell .tm-pwa-install,
body.tm-page-checkout--shell .tm-checkout-dock,
body.tm-page-checkout--shell #checkout-sticky-bar {
  display: none !important;
}
body.tm-page-checkout--shell .tm-main {
  padding: 0;
  margin: 0;
  margin-top: calc(var(--checkout-topbar-h) + var(--checkout-support-h) + env(safe-area-inset-top, 0px));
  height: calc(100dvh - var(--checkout-topbar-h) - var(--checkout-support-h) - env(safe-area-inset-top, 0px));
  max-height: calc(100dvh - var(--checkout-topbar-h) - var(--checkout-support-h) - env(safe-area-inset-top, 0px));
  min-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}
body.tm-page-checkout--shell .tm-container {
  max-width: none;
  padding: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

/* Header — liquid glass (fixed chrome: brand bar + compact support rail) */
.tm-checkout-chrome {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255, 255, 255, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 1px 0 rgba(226, 232, 240, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  backdrop-filter: blur(18px) saturate(1.15);
  pointer-events: auto;
}
.tm-checkout-chrome .tm-support-strip {
  margin: 0;
  padding: 0;
  height: 42px;
  background: transparent;
  border-top: 1px solid rgba(244, 81, 42, 0.10);
  border-bottom: 0;
  overflow: hidden;
}
.tm-checkout-chrome .tm-support-strip__inner {
  max-width: none;
  margin: 0;
  height: 100%;
  padding: 0 12px;
}
.tm-checkout-chrome .tm-support-strip__phone {
  min-height: 40px;
}
.tm-checkout-topbar {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  z-index: 1;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  height: var(--checkout-topbar-h, 56px);
  padding: 0 10px;
  box-sizing: border-box;
  background: transparent;
  border: 0;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  pointer-events: auto;
}
.tm-checkout-topbar__back,
.tm-checkout-topbar__help {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--text, #1a1a1a);
  cursor: pointer;
  text-decoration: none;
  border-radius: 12px;
  transition: background 140ms ease;
  pointer-events: auto;
}
.tm-checkout-topbar__back:hover,
.tm-checkout-topbar__help:hover,
.tm-checkout-topbar__back:focus-visible,
.tm-checkout-topbar__help:focus-visible {
  background: rgba(255, 255, 255, 0.55);
  outline: none;
}
.tm-checkout-topbar__back svg,
.tm-checkout-topbar__help svg {
  width: 22px;
  height: 22px;
}
.tm-checkout-topbar__brand {
  justify-self: center;
  text-align: center;
  font-weight: 800;
  letter-spacing: -0.05em;
  color: var(--text, #1a1a1a);
  text-decoration: none;
  font-size: 19px;
  line-height: 1;
}
@media (max-width: 360px) {
  .tm-checkout-topbar__brand { font-size: 17px; }
}
@media (max-width: 320px) {
  .tm-checkout-topbar__brand { font-size: 16px; }
}

/* Shell layout — no page scroll */
.tm-checkout-shell {
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  overflow: hidden;
}
.tm-checkout-panel {
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  max-height: 100%;
  height: auto;
}

/* Progress — compact glass strip */
.tm-checkout-progress {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  padding: 6px 8px;
  flex-shrink: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-sizing: border-box;
}
.tm-checkout-progress__dot {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
  height: 3px;
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.1);
  transition: background 140ms ease;
}
.tm-checkout-progress__dot.is-active,
.tm-checkout-progress__dot.is-done {
  background: var(--accent, #005bff);
}

/* Main glass card */
.tm-checkout-form {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  max-height: calc(100% - 28px);
  box-sizing: border-box;
  overflow: hidden;
  padding: 14px 14px 14px;
  border-radius: var(--checkout-card-radius, 24px);
  background: var(--checkout-glass-bg, rgba(255, 255, 255, 0.78));
  border: 1px solid var(--checkout-glass-border, rgba(255, 255, 255, 0.72));
  box-shadow: var(--checkout-glass-shadow), var(--checkout-inner-shine);
  -webkit-backdrop-filter: blur(var(--checkout-glass-blur, 20px)) saturate(1.18);
  backdrop-filter: blur(var(--checkout-glass-blur, 20px)) saturate(1.18);
}
.tm-checkout-step {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  min-height: 0;
  animation: tmCheckoutStepIn 140ms ease-out;
}
@keyframes tmCheckoutStepIn {
  from { opacity: 0.4; }
  to { opacity: 1; }
}
.tm-checkout-wrap { max-width: 560px; margin: 0 auto; }
.tm-checkout-step-nav {
  margin-top: 4px;
  padding-top: 8px;
  flex-shrink: 0;
}
.tm-checkout-step-nav--split {
  display: grid;
  grid-template-columns: minmax(0, 34%) minmax(0, 66%);
  gap: 8px;
}
.tm-checkout-aside { display: none !important; }

/* Step 3: scrollable body + pinned foot */
.tm-checkout-step3-scroll {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 0;
  flex: 1 1 auto;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.tm-checkout-step3-foot {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 8px;
  margin-top: 2px;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
}
#checkout-step-3 {
  flex: 1 1 auto;
  max-height: 100%;
  overflow: hidden;
}

.tm-checkout-city-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  margin: 0 0 8px;
  padding: 8px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--checkout-glass-border-soft, rgba(226, 232, 240, 0.9));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  box-sizing: border-box;
}
.tm-checkout-city-line strong {
  font-size: 0.95rem;
  font-weight: 650;
  color: var(--text, #1a1a1a);
}
.tm-checkout-city-change {
  border: 0;
  background: transparent;
  color: var(--accent, #005bff);
  font-weight: 650;
  cursor: pointer;
  min-height: 40px;
  padding: 0 4px;
  font-size: 0.9rem;
}
.tm-checkout-city-pick-label {
  margin: 0 0 8px;
  font-weight: 650;
  font-size: 0.9rem;
  color: var(--muted, #6b7280);
}
.tm-checkout-city-quick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin: 0 0 8px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid var(--checkout-glass-border-soft, rgba(226, 232, 240, 0.9));
  background: rgba(255, 255, 255, 0.7);
  font-weight: 650;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}
.tm-checkout-door-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}
.tm-checkout-door-row > div { min-width: 0; }

/* Promo compact */
.tm-promo-collapse {
  margin: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(226, 232, 240, 0.75);
}
.tm-promo-collapse summary {
  cursor: pointer;
  font-weight: 650;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0 12px;
  color: var(--text, #1a1a1a);
  list-style: none;
  font-size: 0.9rem;
}
.tm-promo-collapse summary::-webkit-details-marker { display: none; }
.tm-promo-collapse summary::after {
  content: "+";
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--muted, #6b7280);
  line-height: 1;
}
.tm-promo-collapse[open] summary::after { content: "▾"; font-size: 0.85rem; }
.tm-promo-collapse[open] summary { margin-bottom: 0; border-bottom: 1px solid rgba(226, 232, 240, 0.7); }
.tm-promo-collapse[open] #checkout-promo-box { padding: 8px 10px 10px; }

/* Step 3 compact rows */
.tm-checkout-step3-delivery {
  margin-top: 4px;
  padding-top: 6px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}
.tm-checkout-step3-delivery__line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.25;
}
.tm-checkout-step3-delivery__cost {
  margin-top: 2px;
  font-size: 0.82rem;
}
.tm-checkout-step3-delivery__addr {
  margin: 2px 0 0;
  font-size: 0.82rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tm-checkout-delivery-invalid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  padding: 8px 10px;
}
.tm-checkout-order-brief { margin: 0; min-width: 0; width: 100%; }
.tm-checkout-step3-scroll > * { min-width: 0; }
.tm-page-checkout--shell [data-checkout-section="payment"] { width: 100%; min-width: 0; }
.tm-checkout-brief-line,
.tm-checkout-order-brief .tm-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 4px;
  font-size: 0.9rem;
  line-height: 1.25;
  color: var(--text, #1a1a1a);
}
.tm-checkout-brief-line__name {
  min-width: 0;
  flex: 1 1 auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 600;
}
.tm-checkout-brief-line__qty { font-weight: 500; color: var(--muted, #6b7280); }
.tm-checkout-brief-line__price {
  flex: 0 0 auto;
  font-weight: 700;
  white-space: nowrap;
}
.tm-checkout-ship-profile {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.25;
  color: var(--muted, #6b7280);
}
.tm-checkout-grand {
  font-size: 1.12rem;
  font-weight: 800;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.tm-checkout-grand span:last-child {
  color: var(--text, #1a1a1a);
  letter-spacing: -0.01em;
}
.tm-checkout-consent {
  margin-top: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.25;
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}
.tm-checkout-consent span { min-width: 0; }
.tm-page-checkout--steps .tm-page-title { display: none; }
.tm-page-checkout--steps .tm-checkout-grid { display: block; }
.tm-page-checkout--shell .tm-checkout-section {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.tm-page-checkout--shell .tm-checkout-section[data-checkout-section="email"] .tm-input {
  height: 48px;
  min-height: 48px;
}
.tm-page-checkout--shell .tm-checkout-hint:empty,
.tm-page-checkout--shell .tm-checkout-hint[hidden] { display: none !important; }
.tm-page-checkout--shell .tm-checkout-contacts {
  display: grid;
  gap: 10px;
}
.tm-page-checkout--shell .tm-checkout-name-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}
.tm-page-checkout--shell .tm-checkout-name-row > div {
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

/* Glass inputs */
.tm-page-checkout--shell .tm-checkout-contacts .tm-input,
.tm-page-checkout--shell .tm-checkout-section .tm-input,
.tm-page-checkout--shell .tm-checkout-door-fields .tm-input {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  height: var(--checkout-input-h, 50px);
  min-height: var(--checkout-input-h, 50px);
  padding: 0 14px;
  font-size: 16px;
  line-height: 1.25;
  border-radius: 14px;
  border: 1px solid var(--checkout-glass-border-soft, rgba(226, 232, 240, 0.9));
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  box-sizing: border-box;
  transition: border-color 140ms ease, box-shadow 140ms ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.tm-page-checkout--shell .tm-input:focus {
  outline: none;
  border-color: var(--accent, #005bff);
  box-shadow: 0 0 0 3px var(--accent-soft, rgba(0, 91, 255, 0.12)), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.tm-page-checkout--shell .tm-checkout-step-nav .tm-btn {
  width: 100%;
  min-height: var(--checkout-cta-h, 50px);
  height: var(--checkout-cta-h, 50px);
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 700;
  transition: background 140ms ease, transform 140ms ease, border-color 140ms ease;
}
.tm-page-checkout--shell .tm-checkout-step-nav .tm-btn--buy:active {
  transform: scale(0.985);
}
.tm-page-checkout--shell .tm-checkout-step-nav .tm-btn--ghost {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--checkout-glass-border-soft, rgba(226, 232, 240, 0.9));
  color: var(--text, #1a1a1a);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* Segmented delivery mode */
.tm-page-checkout--shell .tm-delivery-mode {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4px;
  margin: 0 0 10px;
  padding: 4px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(241, 244, 248, 0.72);
  overflow: hidden;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
}
.tm-page-checkout--shell .tm-delivery-mode__btn {
  min-height: 44px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--muted, #6b7280);
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease, box-shadow 140ms ease;
}
.tm-page-checkout--shell .tm-delivery-mode__btn.is-active {
  background: rgba(255, 255, 255, 0.92);
  color: var(--text, #1a1a1a);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.07);
}
.tm-page-checkout--shell .tm-delivery-quotes { gap: 6px; }
.tm-page-checkout--shell .tm-delivery-card,
.tm-page-checkout--shell .tm-delivery-card--compact {
  min-height: 40px;
  padding: 8px 12px;
  margin: 0;
  border-radius: 12px;
  border: 1px solid var(--checkout-glass-border-soft, rgba(226, 232, 240, 0.9));
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.tm-page-checkout--shell .tm-delivery-card:has(input:checked),
.tm-page-checkout--shell .tm-delivery-card--selected,
.tm-page-checkout--shell .tm-delivery-card--compact.is-selected {
  border-color: var(--accent, #005bff);
  box-shadow: 0 0 0 1px var(--accent, #005bff), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  background: var(--accent-soft, rgba(0, 91, 255, 0.06));
  min-height: 40px;
  padding: 8px 12px;
}
.tm-page-checkout--shell .tm-pvz-selected {
  display: grid;
  gap: 2px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--accent, #005bff);
  background: var(--accent-soft, rgba(0, 91, 255, 0.06));
  margin: 0 0 6px;
}
.tm-page-checkout--shell .tm-pvz-selected__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  min-width: 0;
  box-sizing: border-box;
}
.tm-page-checkout--shell .tm-pvz-selected__title {
  margin: 0;
  font-size: 0.88rem;
  font-weight: 700;
  min-width: 0;
  white-space: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}
.tm-page-checkout--shell .tm-pvz-selected__row .tm-checkout-city-change {
  flex: none;
  min-width: 72px;
  min-height: 44px;
  padding: 0 6px;
  font-size: 0.85rem;
  box-sizing: border-box;
}
.tm-page-checkout--shell .tm-pvz-selected__compact {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.3;
  font-weight: 500;
  color: var(--muted, #6b7280);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tm-page-checkout--shell #pvz-city-label,
.tm-page-checkout--shell .tm-pvz-city-line {
  display: none !important;
}

/* Step 2 stable geometry: top / scroll mid / pinned foot */
#checkout-step-2 {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 8px;
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
}
.tm-checkout-step2-top {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.tm-checkout-step2-mid {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tm-checkout-step2-foot {
  flex-shrink: 0;
  padding-top: 4px;
}
.tm-checkout-step2-foot .tm-checkout-step-nav {
  margin-top: 0;
  padding-top: 0;
}
.tm-page-checkout--shell .tm-delivery-quotes { gap: 6px; }
.tm-page-checkout--shell .tm-delivery-mode {
  margin-bottom: 0;
}

/* Compact payment methods */
.tm-page-checkout--shell .tm-payment-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.tm-page-checkout--shell .tm-payment-card {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  min-height: 46px;
  height: auto;
  padding: 8px 10px;
  border-radius: 14px;
  border: 1px solid var(--checkout-glass-border-soft, rgba(226, 232, 240, 0.9));
  background: rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  /* selected must not resize */
  flex: none;
}
.tm-page-checkout--shell .tm-payment-card[data-pay-method="invoice"] {
  grid-column: 1 / -1;
  min-height: 44px;
}
.tm-page-checkout--shell .tm-payment-card__icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: transparent;
  flex-shrink: 0;
}
.tm-page-checkout--shell .tm-payment-card__icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}
.tm-page-checkout--shell .tm-payment-card__title {
  font-size: 0.88rem;
  font-weight: 700;
}
.tm-page-checkout--shell .tm-payment-card:has(input:checked),
.tm-page-checkout--shell .tm-payment-card--selected {
  border-color: var(--accent, #005bff);
  box-shadow: 0 0 0 1px var(--accent, #005bff), inset 0 1px 0 rgba(255, 255, 255, 0.85);
  background: var(--accent-soft, rgba(0, 91, 255, 0.06));
  min-height: 46px;
  padding: 8px 10px;
  width: 100%;
  box-sizing: border-box;
}
.tm-page-checkout--shell .tm-checkout-door-fields {
  gap: 8px;
  margin-top: 8px;
}
.tm-page-checkout--shell .tm-pvz-open-btn[hidden] { display: none !important; }
.tm-page-checkout--shell .tm-form-error { margin-top: 2px; font-size: 0.78rem; }
.tm-page-checkout--shell #checkout-submit-error:not([hidden]),
.tm-page-checkout--shell .tm-notice:not([hidden]) {
  margin-bottom: 8px;
  border-radius: 12px;
  font-size: 0.82rem;
  padding: 8px 10px;
}
.tm-page-checkout--shell .tm-checkout-total { display: grid; gap: 2px; }
.tm-page-checkout--shell .tm-checkout-total .tm-summary-line[hidden] { display: none !important; }

/* Keyboard: pin checkout CARD to visualViewport so step2-mid is the only scroller.
   Root cause: panel/form stayed height:auto against layout 100dvh; mid never clipped,
   so courier input + suggestions sat in the occluded band under the keyboard.
   Do not enable .tm-checkout-form overflow on :focus-within (competes with mid). */
body.tm-page-checkout--shell.tm-keyboard-open {
  height: var(--tm-visual-height, 100dvh);
  max-height: var(--tm-visual-height, 100dvh);
  min-height: 0;
  overflow: hidden;
}
body.tm-page-checkout--shell.tm-keyboard-open .tm-main {
  height: calc(var(--tm-visual-height, 100dvh) - var(--checkout-topbar-h) - var(--checkout-support-h) - env(safe-area-inset-top, 0px));
  max-height: calc(var(--tm-visual-height, 100dvh) - var(--checkout-topbar-h) - var(--checkout-support-h) - env(safe-area-inset-top, 0px));
  min-height: 0;
  overflow: hidden;
}
body.tm-page-checkout--shell.tm-keyboard-open .tm-checkout-shell {
  height: 100%;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
  padding-bottom: 4px;
}
body.tm-page-checkout--shell.tm-keyboard-open .tm-checkout-panel {
  height: 100%;
  max-height: 100%;
  min-height: 0;
  overflow: hidden;
}
body.tm-page-checkout--shell.tm-keyboard-open .tm-checkout-form {
  flex: 1 1 auto;
  height: auto;
  max-height: none;
  min-height: 0;
  overflow: hidden;
}
body.tm-page-checkout--shell.tm-keyboard-open #checkout-step-2 {
  flex: 1 1 auto;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}
body.tm-page-checkout--shell.tm-keyboard-open .tm-checkout-step2-foot {
  display: none;
}
body.tm-page-checkout--shell.tm-keyboard-open .tm-checkout-step2-mid {
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
body.tm-page-checkout--shell.tm-keyboard-open #f-region,
body.tm-page-checkout--shell.tm-keyboard-open #f-postal,
body.tm-page-checkout--shell.tm-keyboard-open #f-address:not(:focus),
body.tm-page-checkout--shell.tm-keyboard-open .tm-checkout-door-fields .tm-checkbox,
body.tm-page-checkout--shell.tm-keyboard-open #checkout-saved-addresses {
  display: none;
}

.tm-address-suggest {
  display: grid;
  gap: 0;
  margin-top: 4px;
  max-height: min(var(--tm-suggest-max, 42vh), 240px);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.tm-address-suggest[hidden] { display: none !important; }
.tm-address-suggest__row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  background: transparent;
  text-align: left;
  cursor: pointer;
  box-sizing: border-box;
  gap: 2px;
}
.tm-address-suggest__row:last-child { border-bottom: 0; }
.tm-address-suggest__label,
.tm-address-suggest__primary {
  font-size: 0.92rem;
  font-weight: 650;
  color: var(--text, #1a1a1a);
  line-height: 1.25;
}
.tm-address-suggest__secondary {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted, #64748b);
  line-height: 1.2;
}
.tm-address-suggest__status { padding: 10px 12px; }
body.tm-page-checkout--shell.tm-keyboard-open .tm-address-suggest {
  max-height: max(176px, var(--tm-suggest-max, 36vh));
}
body.tm-page-checkout--shell.tm-keyboard-open {
  overflow-x: hidden;
}

@media (max-width: 359px) {
  .tm-page-checkout--shell .tm-checkout-name-row,
  .tm-checkout-name-row {
    grid-template-columns: 1fr;
  }
  .tm-page-checkout--shell .tm-delivery-mode__btn { font-size: .88rem; }
  /* keep Card|SBP equal width on phones; invoice spans full via grid-column */
  .tm-page-checkout--shell .tm-payment-cards { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tm-checkout-shell { padding-left: 10px; padding-right: 10px; }
}
@media (min-width: 360px) {
  .tm-page-checkout--shell .tm-checkout-name-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}
@media (min-width: 768px) {
  .tm-checkout-shell {
    padding-top: max(20px, 4vh);
    padding-bottom: 32px;
    align-items: center;
  }
  .tm-checkout-panel {
    width: min(500px, 100%);
    max-width: 500px;
  }
  .tm-checkout-form {
    padding: 18px 18px 16px;
    max-height: min(720px, calc(100dvh - 120px));
  }
  body.tm-page-checkout--shell .tm-main {
    display: flex;
    justify-content: center;
  }
  body.tm-page-checkout--shell {
    overflow: auto;
    height: auto;
    min-height: 100dvh;
    max-height: none;
  }
}
@supports (height: 100dvh) {
  body.tm-page-checkout--shell { min-height: 100dvh; }
}

/* Compact checkout city sheet — scoped liquid glass, no payment redesign */
.tm-city-sheet .tm-city-modal {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  backdrop-filter: blur(20px) saturate(1.15);
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.tm-city-sheet .tm-city-list {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}
.tm-city-sheet .tm-city-pick {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.72);
  box-sizing: border-box;
}
.tm-city-sheet .tm-city-result {
  width: 100%;
  display: grid;
  gap: 2px;
  text-align: left;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.85);
  background: transparent;
  box-sizing: border-box;
  cursor: pointer;
}
.tm-checkout-city-quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 10px;
}
.tm-checkout-city-quick-row .tm-checkout-city-quick {
  margin: 0;
}

.tm-checkout-city-quick-hint {
  margin: 10px 0 6px;
  font-size: 0.78rem;
}
.tm-page-checkout--shell #f-city-search {
  min-height: 48px;
  font-size: 1rem;
}
.tm-page-checkout--shell .tm-checkout-city-quick {
  opacity: 0.85;
  font-weight: 600;
  min-height: 36px;
  font-size: 0.82rem;
}
.tm-yandex-implied {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px 8px;
  min-height: 0;
  margin: 0 0 4px;
}
.tm-yandex-implied__price {
  font-size: 0.82rem;
  color: var(--muted, #6b7280);
  font-weight: 650;
}
.tm-yandex-implied__tariff {
  width: 100%;
  text-align: right;
  font-size: 0.78rem;
}
.tm-delivery-unavailable {
  padding: 8px 0 4px;
}
.tm-delivery-unavailable p { margin: 0 0 8px; }
.tm-delivery-unavailable [data-delivery-manager-fallback],
.tm-city-search-results [data-delivery-manager-fallback],
#pickup-points [data-delivery-manager-fallback] {
  margin-top: 10px;
}
.tm-delivery-unavailable [data-change-locality] {
  display: block;
  margin-top: 8px;
}
.tm-pvz-view-toggle__btn[disabled],
.tm-pvz-view-toggle__btn[data-map-pending="1"] {
  opacity: 0.45;
  pointer-events: none;
}
.tm-pvz-view-toggle__btn[hidden] {
  display: none;
}
.tm-checkout-step-nav--split {
  min-width: 0;
  box-sizing: border-box;
}
.tm-checkout-step-nav--split .tm-btn {
  min-width: 0;
  box-sizing: border-box;
}
.tm-checkout-manager-request {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  margin-top: 4px;
}
.tm-checkout-manager-request__btn {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  box-sizing: border-box;
}
.tm-checkout-manager-request__ok {
  margin: 0;
  text-align: center;
  font-weight: 650;
  font-size: 0.92rem;
  color: var(--text, #1a1a1a);
}
.tm-checkout-manager-request__err {
  margin: 0;
}
.tm-city-sheet #city-search-input {
  min-height: 48px;
}
.tm-city-popular-label { font-size: 0.78rem; margin-top: 12px; }

/* Checkout draft restore: never flash a hidden step on first paint. */
.tm-checkout-shell[data-checkout-recovering="1"] [data-checkout-step-panel][hidden] {
  display: none !important;
}



