/* Скелетони для порожніх слотів слайдера — це не «сплошний» lazy, а місцеві плейсхолдери */
.mes-sk-img {
	display: block;
	width: 100%;
	max-width: 196px;
	aspect-ratio: 1;
	border-radius: 4px;
	background: linear-gradient(90deg, #ececec 0%, #f5f5f5 40%, #ececec 80%);
	background-size: 200% 100%;
	animation: mes-sk-shimmer 1.2s ease-in-out infinite;
}
.mes-sk-line {
	height: 12px;
	border-radius: 3px;
	margin-top: 10px;
	background: #ececec;
	animation: mes-sk-shimmer 1.2s ease-in-out infinite;
}
.mes-sk-line--title {
	width: 92%;
}
.mes-sk-line--price {
	width: 55%;
	height: 14px;
	margin-top: 12px;
}
.mes-sk-btn {
	height: 36px;
	border-radius: 4px;
	margin-top: 14px;
	width: 100%;
	max-width: 120px;
	background: #fdebd5;
	animation: mes-sk-shimmer 1.2s ease-in-out infinite;
}
@keyframes mes-sk-shimmer {
	0% {
		background-position: 100% 0;
	}
	100% {
		background-position: -100% 0;
	}
}

/* Сторінка категорії: підкатегорії, швидкі фільтри, сітка товарів, FAQ */
.category-section-heading {
	font-size: 1.05rem;
	font-weight: 600;
	margin: 1.25rem 0 0.5rem;
	color: #222;
}
.category-page-toolbar .amount-note {
	font-size: 0.9rem;
	color: #666;
	font-weight: normal;
}

.category-subnav {
	margin: 0.75rem 0 1rem;
}
.category-subnav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.6rem;
	list-style: none;
	margin: 0;
	padding: 0;
}
.category-subnav__link {
	display: inline-block;
	padding: 0.45rem 0.85rem;
	border-radius: 999px;
	background: #f4f4f4;
	border: 1px solid #e0e0e0;
	color: #1a1a1a;
	text-decoration: none;
	font-size: 0.92rem;
	transition: background 0.15s ease, border-color 0.15s ease;
}
.category-subnav__link:hover {
	background: #fff7ed;
	border-color: #f59e0b;
	color: #92400e;
}
.category-subnav__link--active {
	font-weight: 600;
	background: #fff;
	border-color: #1a1a1a;
	box-shadow: inset 0 -2px 0 #1a1a1a;
}
.category-subnav__link--active:hover {
	border-color: #1a1a1a;
	color: #1a1a1a;
}

.category-products-grid {
	display: grid;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Сторінка категорії: рівно 3 товари в ряд (адаптив нижче) */
.category-products-grid.category-products-grid--3col {
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.35rem 1.25rem;
}

@media (max-width: 1024px) {
	.category-products-grid.category-products-grid--3col {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.category-products-grid.category-products-grid--3col {
		grid-template-columns: minmax(0, 1fr);
	}
}

.category-products-grid .item {
	min-width: 0;
}

/* Ultimo: зовнішній li має padding і сірий фон — прибираємо, щоб картка була лише .item-inner */
.catalog-category-view .category-products-grid > .item,
.home-cat-slider .category-products-grid > .item {
	padding: 0 !important;
	border: none !important;
	background: transparent !important;
	box-shadow: none !important;
}

.catalog-category-view .category-products-grid > .item:hover,
.home-cat-slider .category-products-grid > .item:hover {
	background: transparent !important;
	box-shadow: none !important;
}

.category-products-grid .item-inner {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	border: 1px solid #e8e8e8;
	border-radius: 10px;
	padding: 0.85rem 0.95rem 1.35rem;
	background: #fff;
	transition: box-shadow 0.18s ease, border-color 0.18s ease;
	box-sizing: border-box;
}

/*
 * Ultimo: .main .item-inner { min-height: 385px } + .products-grid .item-inner { padding: 30px 15px 55px }
 * і .products-grid .price-holder { padding-right: 100px } (під абсолютну «в кошик»).
 * Через min-height + height:100% нижній padding інколи не видно / здається 0 у DevTools.
 * Рішення: окремий longhand padding !important + скинути min-height для карток каталогу + li як flex-обгортка.
 */
.catalog-category-view .main.container ul.category-products-grid > li.item,
.home-cat-slider ul.category-products-grid > li.item {
	display: flex;
	flex-direction: column;
	min-height: 0;
}

.catalog-category-view .main.container ul.category-products-grid > li.item > .item-inner,
.home-cat-slider ul.category-products-grid > li.item > .item-inner {
	flex: 1 1 auto;
	width: 100%;
	min-height: 0 !important;
	height: auto !important;
	padding-top: 0.85rem !important;
	padding-right: 1rem !important;
	padding-bottom: 1.5rem !important;
	padding-left: 1rem !important;
}

.catalog-category-view .main.container ul.category-products-grid .price-holder,
.home-cat-slider ul.category-products-grid .price-holder {
	/* Ultimo: .products-grid .price-holder { position:absolute; bottom:0 } — знімає накладання на назву */
	position: static !important;
	bottom: auto !important;
	left: auto !important;
	right: auto !important;
	top: auto !important;
	width: 100% !important;
	padding-right: 0 !important;
	min-height: 0 !important;
}

.category-products-grid .item-inner:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
	border-color: #dcdcdc;
}

.category-products-grid .product-image-wrapper {
	flex-shrink: 0;
	margin: 0;
	border-radius: 8px;
	background: #fff;
	padding: 0;
	text-align: center;
}

.category-products-grid .product-image {
	display: block;
	background: transparent;
}

/* Перебиваємо Ultimo: .catalog-category-view .category-products .product-image img { width:100%; height:auto } */
.catalog-category-view .category-products-grid .product-image-wrapper .product-image img,
.catalog-category-view .category-products-grid .product-image img,
.home-cat-slider .category-products-grid .product-image-wrapper .product-image img,
.home-cat-slider .category-products-grid .product-image img {
	display: block;
	margin: 0 auto;
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 200px;
	object-fit: contain;
	aspect-ratio: 1;
}

.catalog-category-view .category-products-grid.single-line-name .product-name,
.home-cat-slider .category-products-grid.single-line-name .product-name {
	/* Ultimo: .products-grid .item-inner .product-name { height: 64px } — ламає кламп і потік */
	flex-shrink: 0;
	margin: 0;
	height: auto !important;
	min-height: 0;
	max-height: none;
	line-height: 1.35;
	font-size: 0.95rem;
	font-weight: 600;
	color: #141414;
	letter-spacing: -0.01em;
	white-space: normal;
	word-break: break-word;
	max-width: 100%;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	text-overflow: ellipsis;
}

.category-products-grid .price-holder {
	position: static !important;
	bottom: auto !important;
	margin-top: auto;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 0.45rem;
	width: 100%;
	min-width: 0;
	flex-shrink: 0;
}

.category-products-grid .price-holder .price-box {
	margin: 0;
	float: none !important;
	width: 100%;
	display: block;
	font-size: inherit;
	line-height: inherit;
}

.category-products-grid .price-holder .price-box p {
	margin: 0;
	float: none !important;
}

.category-products-grid .price-holder .price-box .old-price {
	margin-top: 0.15rem;
}

.category-scraped-faq {
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid #e8e8e8;
}
.category-scraped-faq .faq-items__list {
	list-style: none;
	margin: 0;
	padding: 0;
}
.category-scraped-faq .faq-item {
	margin-bottom: 0.5rem;
}
.category-scraped-faq .faq-item__details {
	border: 1px solid #e5e5e5;
	border-radius: 8px;
	background: #fafafa;
	overflow: hidden;
}
.category-scraped-faq .faq-item__summary {
	cursor: pointer;
	padding: 0.85rem 1rem;
	font-weight: 600;
	list-style: none;
}
.category-scraped-faq .faq-item__summary::-webkit-details-marker {
	display: none;
}
.category-scraped-faq .faq-item__answer {
	padding: 0 1rem 1rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #333;
}
.category-scraped-faq .faq-item__answer p {
	margin: 0.4em 0;
}

/* Назва товару: до 3 рядків, без «вертикального» однолітерного тексту */
.catalog-category-view .category-products-grid .item,
.home-cat-slider .category-products-grid .item {
	min-width: 0;
}
.catalog-category-view .category-products-grid.single-line-name .product-name span,
.home-cat-slider .category-products-grid.single-line-name .product-name span {
	display: inline;
	white-space: inherit;
}

.catalog-category-view .category-products-grid .price-box .special-price .price,
.home-cat-slider .category-products-grid .price-box .special-price .price {
	font-size: 1.05rem;
	font-weight: 700;
	color: #1a1a1a;
}

.catalog-category-view .category-products-grid .price-box .special-price .price--na,
.home-cat-slider .category-products-grid .price-box .special-price .price--na,
.itemslider .price-box .special-price .price--na {
	font-size: 0.88rem;
	font-weight: 600;
	color: #6b7280;
	line-height: 1.25;
}

.catalog-category-view .category-products-grid .price-box .old-price .price,
.home-cat-slider .category-products-grid .price-box .old-price .price {
	font-size: 0.88rem;
	color: #888;
	text-decoration: line-through;
}

.catalog-category-view .category-products {
	margin-top: 0.35rem;
}

/* Відгуки в картці товару (категорія): під ціною, окремі рядки — без накладань */
.category-products-grid .product-reviews {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.2rem;
	margin: 0;
	font-size: 0.78rem;
	line-height: 1.35;
	color: #666;
	width: 100%;
	min-width: 0;
}
.category-products-grid .product-reviews__stars {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.05rem;
	letter-spacing: 0;
	font-size: 0.85rem;
	line-height: 1;
}
.category-products-grid .product-reviews__star--full {
	color: #f59e0b;
}
.category-products-grid .product-reviews__star--empty {
	color: #d4d4d4;
}
.category-products-grid .product-reviews__meta {
	white-space: normal;
	word-break: break-word;
	max-width: 100%;
}

/* Кнопка «Купити» — компактно, у тон бренду (site.json primary) */
.category-products-grid .product-buy-btn {
	display: block;
	width: 100%;
	box-sizing: border-box;
	margin-top: 0;
	padding: 0.42rem 0.65rem;
	border-radius: 8px;
	font-size: 0.88rem;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	color: #fff;
	background: linear-gradient(135deg, #53EB0C, #3FBA09);
	border: none;
	cursor: pointer;
	transition: filter 0.15s ease, box-shadow 0.15s ease;
}
.category-products-grid .product-buy-btn:hover {
	filter: brightness(1.06);
	box-shadow: 0 2px 8px rgba(83, 235, 12, 0.35);
	color: #fff;
	text-decoration: none;
}
.category-products-grid .product-buy-btn:focus-visible {
	outline: 2px solid #53EB0C;
	outline-offset: 2px;
}

/* Дропдаун «Каталог»: ширші колонки під 3+ рівні (Ultimo лишає вузькі панелі) */
.catalog-wraper .drop-catalog-product .nav-panel.nav-panel--dropdown {
	min-width: 13.5rem;
}
.catalog-wraper .drop-catalog-product .wrapper-submenu .wrapper-submenu .nav-panel.nav-panel--dropdown {
	min-width: 12rem;
}

/*
 * Тригер «Меню» (.mobnav-trigger-wrapper): без FOUC на десктопі.
 * enquire + MegaMenu викликають .show()/.hide() з інлайн display; до ініціалізації можна побачити миготіння й злам висоти хедера.
 * Поріг як у MegaMenu.mobileMenuThreshold (767): від 768px тригер завжди прихований (важливіше за інлайн без !important).
 */
@media screen and (min-width: 768px) {
	.header-container.header-regular .mobnav-trigger-wrapper {
		display: none !important;
		visibility: hidden !important;
		height: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		overflow: hidden !important;
		border: 0 !important;
		pointer-events: none !important;
	}
}

/* Підказки пошуку: на всю ширину блоку .form-search + кастомний скрол */
.header-container .form-search {
	position: relative;
}
.header-container .form-search .search-autocomplete {
	left: 0 !important;
	right: 0 !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	box-sizing: border-box;
	max-height: min(70vh, 440px);
	overflow-y: auto;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: #e07820 #fff4e8;
	background: #fff;
	border: 1px solid #e2e6ed;
	border-radius: 0 0 10px 10px;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
	z-index: 2000;
}
.header-container .form-search .search-autocomplete::-webkit-scrollbar {
	width: 9px;
}
.header-container .form-search .search-autocomplete::-webkit-scrollbar-track {
	background: #fff4e8;
	border-radius: 0 0 10px 0;
	margin: 2px 0;
}
.header-container .form-search .search-autocomplete::-webkit-scrollbar-thumb {
	background: linear-gradient(180deg, #f5a03a 0%, #e07820 55%, #c96a18 100%);
	border-radius: 6px;
	border: 2px solid #fff4e8;
	min-height: 48px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.header-container .form-search .search-autocomplete::-webkit-scrollbar-thumb:hover {
	background: linear-gradient(180deg, #ffb04d 0%, #e8822a 55%, #d4721c 100%);
}
.search-autocomplete ul {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
	min-width: 0;
	max-width: none;
	box-sizing: border-box;
}
.search-autocomplete li {
	cursor: pointer;
	border-bottom: 1px solid #eee;
}
.search-autocomplete li:last-child {
	border-bottom: none;
}
.search-autocomplete li.selected .search-suggest__row,
.search-autocomplete li:hover .search-suggest__row {
	background: #f0f4fa;
}
.search-suggest__row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.4rem 0.5rem;
}
.search-suggest__img {
	display: block;
	width: 44px;
	height: 44px;
	object-fit: contain;
	flex-shrink: 0;
	border-radius: 4px;
	background: #f5f5f5;
}
.search-suggest__img--empty {
	display: inline-block;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 4px;
	background: #ececec;
}
.search-suggest__txt {
	flex: 1;
	min-width: 0;
	font-size: 13px;
	line-height: 1.35;
}


/* ══════════════════════════════════════════════════════════════════════════
   TECHNO MEDIA — Redesigned Homepage  (dark Apple-inspired)
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Shared tokens ─────────────────────────────────────────────────────── */
:root {
  --tm-green:      #53EB0C;
  --tm-green-dark: #3FBA09;
  --tm-bg:         #0f172a;
  --tm-bg-alt:     #1e293b;
  --tm-text:       #f8fafc;
  --tm-muted:      #94a3b8;
  --tm-radius:     16px;
}

/* ── tm-btn ─────────────────────────────────────────────────────────────── */
.tm-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1.5rem;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: filter .15s, box-shadow .15s, transform .12s;
  border: none;
}
.tm-btn--primary {
  background: var(--tm-green);
  color: #0a1a00;
}
.tm-btn--primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 4px 20px rgba(83,235,12,.4);
  color: #0a1a00;
  text-decoration: none;
}
.tm-btn--ghost {
  background: rgba(255,255,255,.07);
  color: var(--tm-text);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
}
.tm-btn--ghost:hover {
  background: rgba(255,255,255,.13);
  color: #fff;
  text-decoration: none;
}

/* ── tm-section-title ───────────────────────────────────────────────────── */
.tm-section-title {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  color: var(--tm-text);
  margin: 0 0 1.25rem;
}

/* ══════════ HERO ══════════════════════════════════════════════════════════ */
.tm-hero {
  position: relative;
  overflow: hidden;
  background: var(--tm-bg);
  padding: 4rem 0 3.5rem;
}
.tm-hero__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  opacity: .18;
}
.tm-hero__glow--1 {
  width: 520px; height: 520px;
  background: var(--tm-green);
  top: -140px; right: -60px;
}
.tm-hero__glow--2 {
  width: 360px; height: 360px;
  background: #3b82f6;
  bottom: -80px; left: -80px;
}
.tm-hero__inner {
  display: grid;
  grid-template-columns: 1fr minmax(0, 580px);
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.tm-hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.tm-hero__photo {
  display: block;
  max-width: 600px;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: .72;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,.45));
  animation: heroPhotoFloat 6s ease-in-out infinite;
}
@keyframes heroPhotoFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@media (max-width: 1100px) {
  .tm-hero__photo { max-width: 440px; }
}
@media (max-width: 820px) {
  .tm-hero__inner { grid-template-columns: 1fr; }
  .tm-hero__visual { display: none; }
}

/* Badge */
.tm-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--tm-green);
  background: rgba(83,235,12,.1);
  border: 1px solid rgba(83,235,12,.3);
  padding: .3rem .75rem;
  border-radius: 999px;
  margin: 0 0 1.25rem;
}

/* Heading */
.tm-hero__h1 {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--tm-text);
  margin: 0 0 1rem;
}
.tm-hero__accent {
  background: linear-gradient(135deg, var(--tm-green), #06d6a0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.tm-hero__lead {
  font-size: 1.05rem;
  color: var(--tm-muted);
  max-width: 46ch;
  margin: 0 0 1.75rem;
  line-height: 1.6;
}
.tm-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-bottom: 1.25rem;
}
.tm-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.tm-hero__chip {
  display: inline-block;
  padding: .3rem .85rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 500;
  color: var(--tm-muted);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  text-decoration: none;
  transition: color .15s, border-color .15s;
}
.tm-hero__chip:hover {
  color: var(--tm-text);
  border-color: rgba(83,235,12,.5);
  text-decoration: none;
}

/* ── CSS iPhone art ──────────────────────────────────────────────────────── */
.tm-phone {
  position: relative;
  width: 210px;
  flex-shrink: 0;
  transform: perspective(900px) rotateY(-12deg) rotateX(3deg);
  transform-origin: center center;
  filter: drop-shadow(0 32px 64px rgba(0,0,0,.7)) drop-shadow(0 0 48px rgba(83,235,12,.12));
}

.tm-phone__body {
  width: 210px;
  height: 420px;
  background: linear-gradient(170deg, #1a1f2e 0%, #0f1320 60%, #111827 100%);
  border-radius: 42px;
  border: 1.5px solid rgba(255,255,255,.13);
  box-shadow:
    0 0 0 1px rgba(83,235,12,.15),
    inset 0 1px 0 rgba(255,255,255,.08);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px 14px;
}
.tm-phone__island {
  width: 96px;
  height: 30px;
  background: #000;
  border-radius: 22px;
  margin: 0 auto 10px;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.8);
}
.tm-phone__screen {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
/* Status bar */
.tm-phone__statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
  flex-shrink: 0;
}
.tm-phone__time {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.tm-phone__status-icons {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #fff;
}
.tm-phone__status-icons svg {
  display: block;
  flex-shrink: 0;
}
.tm-phone__apps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
  padding: 0 2px;
}
.tm-phone__app {
  aspect-ratio: 1;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c, #3b82f6), var(--c2, #1d4ed8));
  box-shadow: 0 2px 8px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.2);
}
.tm-phone__price-card {
  margin-top: auto;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding: 9px 11px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
}
.tm-phone__price-dot {
  position: absolute;
  top: 10px;
  right: 11px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--tm-green);
  box-shadow: 0 0 6px rgba(83,235,12,.7);
}
.tm-phone__price-label {
  display: block;
  font-size: 9px;
  color: rgba(255,255,255,.45);
}
.tm-phone__price-value {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--tm-green);
}
/* Dock */
.tm-phone__dock {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  padding: 8px 2px 2px;
  border-top: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.tm-phone__dock .tm-phone__app {
  border-radius: 12px;
}
.tm-phone__side-btn {
  position: absolute;
  right: -3px;
  top: 120px;
  width: 4px;
  height: 52px;
  background: #1a2236;
  border-radius: 2px;
  box-shadow: -1px 0 4px rgba(0,0,0,.5);
}
.tm-phone__vol-btn {
  position: absolute;
  left: -3px;
  width: 4px;
  height: 38px;
  background: #1a2236;
  border-radius: 2px;
  box-shadow: 1px 0 4px rgba(0,0,0,.5);
}
.tm-phone__vol-btn--1 { top: 105px; }
.tm-phone__vol-btn--2 { top: 155px; }

/* ══════════ CATEGORY GRID ══════════════════════════════════════════════════ */
.tm-cats {
  background: var(--tm-bg);
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255,255,255,.06);
}
.tm-cats__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: .6rem;
}
@media (max-width: 1100px) {
  .tm-cats__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
  .tm-cats__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .tm-cats__grid { grid-template-columns: repeat(2, 1fr); gap: .45rem; }
}

.tm-cat-tile {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: .6rem;
  padding: .8rem .9rem;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  text-decoration: none;
  transition: background .15s, border-color .2s, transform .15s;
}
.tm-cat-tile:hover {
  background: rgba(83,235,12,.08);
  border-color: rgba(83,235,12,.35);
  transform: translateY(-2px);
  text-decoration: none;
}
.tm-cat-tile__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--tm-green);
}
.tm-cat-tile__icon svg {
  width: 100%;
  height: 100%;
}
.tm-cat-tile__label {
  font-size: .78rem;
  font-weight: 600;
  color: var(--tm-text);
  text-align: left;
  line-height: 1.3;
  word-break: break-word;
}

/* ══════════ PROMO CARDS ════════════════════════════════════════════════════ */
.tm-promos {
  padding: 2rem 0;
  background: var(--tm-bg);
}
.tm-promos__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 1024px) {
  .tm-promos__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .tm-promos__grid { grid-template-columns: 1fr; }
}

.tm-promo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .4rem;
  padding: 1.5rem 1.4rem 1.4rem;
  border-radius: var(--tm-radius);
  text-decoration: none;
  overflow: hidden;
  transition: transform .15s, box-shadow .15s;
  min-height: 140px;
}
.tm-promo-card:hover {
  transform: translateY(-3px);
  text-decoration: none;
  box-shadow: 0 12px 32px rgba(0,0,0,.35);
}
.tm-promo-card--tradein {
  background: linear-gradient(135deg, #064e3b 0%, #065f46 60%, #047857 100%);
}
.tm-promo-card--delivery {
  background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 100%);
}
.tm-promo-card--warranty {
  background: linear-gradient(135deg, #3b0764 0%, #6d28d9 100%);
}
.tm-promo-card--credit {
  background: linear-gradient(135deg, #7c2d12 0%, #c2410c 100%);
}

.tm-promo-card__tag {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255,255,255,.6);
}
.tm-promo-card__title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
}
.tm-promo-card--tradein .tm-promo-card__title {
  font-size: 1.5rem;
}
.tm-promo-card__sub {
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  line-height: 1.45;
  margin-top: .15rem;
  flex: 1;
}
.tm-promo-card__arrow {
  width: 40px;
  height: 40px;
  color: rgba(255,255,255,.55);
  margin-top: auto;
  flex-shrink: 0;
  transition: color .2s, transform .2s;
}
.tm-promo-card:hover .tm-promo-card__arrow {
  color: rgba(255,255,255,.95);
  transform: translateX(3px) scale(1.06);
}
.tm-promo-card__art {
  position: absolute;
  bottom: -30px;
  right: -30px;
  pointer-events: none;
}
.tm-promo-card__circle {
  display: block;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}

/* ══════════ PRODUCT SLIDERS (wrapper) ══════════════════════════════════════ */
.tm-sliders {
  padding: 1.5rem 0;
  background: var(--tm-bg);
}

/* ══════════ TRUST BAR ══════════════════════════════════════════════════════ */
.tm-trust {
  background: var(--tm-bg-alt);
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: 2rem 0;
}
.tm-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
@media (max-width: 767px) {
  .tm-trust__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 440px) {
  .tm-trust__grid { grid-template-columns: 1fr; }
}
.tm-trust__item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}
.tm-trust__icon {
  width: 36px;
  height: 36px;
  color: var(--tm-green);
  flex-shrink: 0;
}
.tm-trust__item strong {
  display: block;
  font-size: .9rem;
  font-weight: 700;
  color: var(--tm-text);
}
.tm-trust__item span {
  display: block;
  font-size: .8rem;
  color: var(--tm-muted);
  margin-top: .15rem;
}

/* ══════════ SEO block (collapsed) ══════════════════════════════════════════ */
.tm-seo-block {
  padding: 1.5rem 0 3rem;
}
.tm-seo-details {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 1rem;
}
.tm-seo-details__summary {
  font-size: .88rem;
  color: var(--tm-muted);
  cursor: pointer;
  user-select: none;
  list-style: none;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.tm-seo-details__summary::after {
  content: '▾';
  font-size: .8rem;
  transition: transform .2s;
}
.tm-seo-details[open] .tm-seo-details__summary::after {
  transform: rotate(180deg);
}
.tm-seo-details__body {
  padding-top: 1rem;
  color: var(--tm-muted);
  font-size: .88rem;
  line-height: 1.7;
  max-width: 72ch;
}
.tm-seo-details__body h2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--tm-text);
  margin: 0 0 .5rem;
}

/* ══════════ Adjust main homepage bg ════════════════════════════════════════ */
.tm-home {
  background: var(--tm-bg);
}

/* ══════════ Global mobile fixes ════════════════════════════════════════════ */

/* 1. Приховуємо плаваючу кнопку телефону */
.fixed-phone { display: none !important; }

/* 2. Горизонтальний padding у контейнерах на мобільних (виключаємо topcontainer) */
@media (max-width: 767px) {
  body .container {
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box;
  }
  /* Скидаємо — щоб не ламати мобільне меню */
  .topcontainer .container,
  .topcontainer .holder-container .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
@media (max-width: 479px) {
  body .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
  .topcontainer .container,
  .topcontainer .holder-container .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* 3. Мобільне меню — фіксоване поверх всього контенту */
.topcontainer-swipe {
  z-index: 9998 !important;
}
.topcontainer-swipe.ssm-nav-visible {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100dvh !important;
  height: 100vh !important;
  z-index: 9999 !important;
  transform: none !important;
  /* Темний overlay для зони справа від панелі меню */
  background: rgba(0,0,0,.55) !important;
}
/* Overlay-елемент (sibling) — теж фіксований поверх сторінки */
.overlay-menu.ssm-nav-visible {
  position: fixed !important;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,.55) !important;
  z-index: 9997 !important;
  pointer-events: auto !important;
}

/* 4. "Каталог товарів" — чорний текст на зеленому фоні (тільки мобільні) */
@media (max-width: 990px) {
  .catalog-wraper .btn-catalog,
  .catalog-wraper .btn-catalog span,
  .catalog-wraper .btn-catalog .icon {
    color: #000 !important;
  }
}

/* ══════════ Mobile category filter panel ═══════════════════════════════════ */
/* Поверх мобільного меню і всіх секцій */
@media (max-width: 767px) {
  .filter-block {
    z-index: 10000 !important;
  }
  /* Кнопка «Фільтри» — зробити видимою і красивою */
  .mobile-sort .filter-subtitle {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    cursor: pointer;
    background: rgba(83,235,12,.12);
    border: 1px solid rgba(83,235,12,.4);
    color: var(--tm-green, #53EB0C);
    border-radius: 8px;
    padding: .5rem 1rem;
    font-size: .9rem;
    font-weight: 600;
    transition: background .15s;
  }
  .mobile-sort .filter-subtitle::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%2353EB0C' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M3 6h18M7 12h10M11 18h2'/%3E%3C/svg%3E") center/contain no-repeat;
  }
  .mobile-sort .filter-subtitle:hover {
    background: rgba(83,235,12,.2);
  }
  /* Зберегти display:flex на .mobile-sort */
  .mobile-sort { display: flex !important; }
  /* Кнопка «Застосувати» — зелений */
  .filter-block .filter-close {
    background: #53EB0C !important;
    border-color: #53EB0C !important;
    color: #000 !important;
    font-weight: 600;
  }

  /* Хрестик закриття у filter-top */
  .filter-top .close,
  .filter-top .filter-close {
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .filter-top .close::before,
  .filter-top .close::after,
  .filter-top .filter-close::before,
  .filter-top .filter-close::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 2px;
    background: #111;
    border-radius: 2px;
  }
  .filter-top .close::before,
  .filter-top .filter-close::before { transform: rotate(45deg); }
  .filter-top .close::after,
  .filter-top .filter-close::after  { transform: rotate(-45deg); }
}

/* ══════════ Slider arrows — circle SVG style ═══════════════════════════════ */
/* Button itself is invisible — the SVG circle IS the visual */
.tm-sliders .home-cat-slider__arrow {
  background: transparent !important;
  border: none !important;
  width: 38px;
  height: 38px;
  color: rgba(255,255,255,.4);
  transition: color .18s, transform .12s;
}
.tm-sliders .home-cat-slider__arrow:hover:not([disabled]) {
  background: transparent !important;
  border: none !important;
  color: var(--tm-green);
  transform: scale(1.08);
}
.tm-sliders .home-cat-slider__arrow[disabled] {
  color: rgba(255,255,255,.15);
}
.tm-sliders .home-cat-slider__arrow-ic {
  width: 38px;
  height: 38px;
}
.tm-sliders .home-cat-slider__arrow svg {
  width: 38px !important;
  height: 38px !important;
}

/* Slider section heading — white on dark */
.tm-sliders .homepage-slider-heading--with-arrows .section-title,
.tm-sliders .homepage-slider-heading--with-arrows .like_h3 {
  color: #fff !important;
  font-size: 1.3rem;
  font-weight: 700;
}
.tm-sliders .homepage-slider-heading--with-arrows .homepage-slider-view-all {
  color: rgba(255,255,255,.45);
  transition: color .15s;
}
.tm-sliders .homepage-slider-heading--with-arrows .homepage-slider-view-all:hover {
  color: var(--tm-green);
}

/* ──────────────────────────────────────────────────────────────────────────
   Header desktop alignment fix.
   Лівий стовпець (.container-left) має короткий верхній рядок «Магазини»
   і нижній рядок [logo + «Каталог товарів»]. Правий (.container-right) має
   вищий верхній блок (меню навігації) і нижній рядок [пошук + іконки].
   За замовчуванням обидва стовпці тягнуться на одну висоту (align-items:
   stretch на .topcontainer .container), тож їхні нижні рядки опиняються на
   різній Y-координаті — кнопка «Каталог товарів» виявляється вищою за поле
   пошуку. align-items: flex-end вирівнює низ обох стовпців і, відповідно,
   нижні рядки на одну лінію. На <=990px макет уже перемикається на колонку
   (vendor CSS), тож правило обмежуємо десктопом.
   ────────────────────────────────────────────────────────────────────────── */
@media only screen and (min-width: 991px) {
  .topcontainer .container {
    align-items: flex-end;
  }
  .topcontainer .container .container-left .boottom-items,
  .topcontainer .container .container-right .boottom-items {
    align-items: center;
  }
}
