/* =================================================================
 * 3DComponent — frontend polish 2026-04-21 (iteration B + C)
 * Scope: trust-row + header cleanup + homepage hero/grid
 * Additive: no selectors overridden from theme beyond listed rules
 * ================================================================= */

:root {
  --tc-ink:      #0f172a;
  --tc-ink-2:    #1f2937;
  --tc-muted:    #475569;
  --tc-subtle:   #94a3b8;
  --tc-line:     #e2e8f0;
  --tc-accent:   #84cc16;         /* keep brand green */
  --tc-accent-d: #65a30d;
  --tc-bg:       #ffffff;
  --tc-bg-2:     #f8fafc;
  --tc-bg-dark:  #0f172a;
  --tc-radius:   14px;
  --tc-radius-s: 8px;
  --tc-radius-xs: 4px;
  --tc-shadow:   0 1px 2px rgba(15,23,42,.06), 0 4px 16px rgba(15,23,42,.05);
  --tc-shadow-h: 0 4px 12px rgba(15,23,42,.1), 0 12px 40px rgba(15,23,42,.1);
  --tc-font-body:    'Manrope', 'Inter', 'Open Sans', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --tc-font-display: 'Manrope', 'Inter', system-ui, sans-serif;
  --tc-font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --tc-success:      #10b981;
  --tc-amber:        #f59e0b;
}

/* ---------- TYPOGRAPHY: body + headings ---------- */

body, .common-home, .common-product, .common-category {
  font-family: var(--tc-font-body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--tc-ink);
}

h1, h2, h3, h4, h5, h6,
.us-main-shop-title,
.us-module-title,
.us-module-column-title,
.us-product-info h1,
.us-us-us-heading {
  font-family: var(--tc-font-display);
  color: var(--tc-ink);
  letter-spacing: -0.01em;
  font-weight: 600;
}

h1, .us-product-info h1 {
  font-size: clamp(1.6rem, 2.2vw + 0.5rem, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 0.5em;
}

h2, .us-main-shop-title {
  font-size: clamp(1.25rem, 1vw + 0.65rem, 1.625rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 700;
}

h3 {
  font-size: clamp(1.05rem, 0.35vw + 0.9rem, 1.125rem);
  line-height: 1.35;
  font-weight: 600;
}

.us-module-title a,
.us-module-column-title a {
  color: var(--tc-ink);
  font-family: var(--tc-font-display);
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: color .12s ease;
}
.us-module-title a:hover,
.us-module-column-title a:hover { color: var(--tc-accent-d); }

/* Small / secondary text */
small, .small, .text-muted, .us-module-rating-star,
.us-module-reviews,
.us-footer-box .us-footer-phones li,
.us-footer-box li {
  color: var(--tc-muted);
}

/* Breadcrumbs lighter */
.breadcrumb, .breadcrumb a, .breadcrumb li {
  font-size: 13px;
  color: var(--tc-subtle);
}
.breadcrumb a:hover { color: var(--tc-ink); }

/* ---------- MONOSPACE: SKU / артикул / model ---------- */

.us-product-info li,
.us-product-info .us-product-model,
.us-product-info .us-product-sku,
code, kbd, samp, pre {
  font-family: var(--tc-font-mono);
  font-size: 0.94em;
}
/* Applies to "Модель: 000572" and "Артикул: 000572" values */
.us-product-info li span,
.us-product-info li a {
  font-family: var(--tc-font-body);
}

/* ---------- PRICE EMPHASIS ---------- */

.us-price-actual,
.us-module-price-actual,
.us-module-price-new,
.price-new, .us-main-price {
  font-family: var(--tc-font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--tc-ink);
}

/* Product page — bigger */
.us-price-block .us-price-actual,
.us-price-block-not-special .us-price-actual {
  font-size: clamp(1.75rem, 1.3vw + 1rem, 2.125rem);
  line-height: 1.1;
}

/* Product card on category/listing — medium emphasis */
.us-module-price-actual,
.us-module-price-new {
  font-size: 17px;
  line-height: 1.2;
}
.us-module-price-old {
  color: var(--tc-subtle);
  text-decoration: line-through;
  font-weight: 500;
  margin-right: 8px;
}

/* ---------- BUTTON polish (existing theme buttons) ---------- */

.us-module-cart-btn, .button-cart, .us-add-to-cart,
#button-cart.us-product-btn {
  font-family: var(--tc-font-display);
  font-weight: 600;
  letter-spacing: -0.005em;
}

/* ---------- PRODUCT PAGE: TRUST BADGES ---------- */

.tc-product-badges {
  list-style: none;
  padding: 14px 0 0;
  margin: 10px 0 18px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  border-top: 1px solid var(--tc-line);
}
.tc-product-badge {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 13.5px;
  color: var(--tc-muted);
  line-height: 1.3;
}
.tc-product-badge strong { color: var(--tc-ink); font-weight: 600; }
.tc-product-badge svg {
  width: 20px;
  height: 20px;
  stroke: var(--tc-accent-d);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 767.98px) {
  .tc-product-badges { margin: 8px 0 14px; gap: 8px; }
  .tc-product-badge { font-size: 13px; gap: 9px; }
  .tc-product-badge svg { width: 18px; height: 18px; }
}

/* ---------- PRODUCT PAGE: STICKY CART BAR ---------- */

.tc-sticky-cart {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  border-top: 1px solid var(--tc-line);
  box-shadow: 0 -4px 24px rgba(15,23,42,.08);
  z-index: 100;
  transform: translateY(110%);
  transition: transform .22s cubic-bezier(.4,0,.2,1);
  padding: 10px 0;
}
.tc-sticky-cart-visible { transform: translateY(0); }
.tc-sticky-cart-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.tc-sticky-cart-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.tc-sticky-cart-thumb {
  width: 48px; height: 48px;
  border-radius: var(--tc-radius-s);
  object-fit: cover;
  border: 1px solid var(--tc-line);
  flex-shrink: 0;
}
.tc-sticky-cart-info { min-width: 0; flex: 1; }
.tc-sticky-cart-name {
  font-family: var(--tc-font-display);
  font-weight: 600;
  font-size: 14px;
  line-height: 1.3;
  color: var(--tc-ink);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tc-sticky-cart-price {
  font-family: var(--tc-font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  color: var(--tc-ink);
  letter-spacing: -0.01em;
  margin-top: 2px;
}
.tc-sticky-cart-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.tc-sticky-cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--tc-line);
  border-radius: var(--tc-radius-s);
  overflow: hidden;
}
.tc-sticky-cart-qty-btn {
  width: 34px; height: 38px;
  border: 0;
  background: transparent;
  font-size: 16px;
  color: var(--tc-muted);
  cursor: pointer;
  transition: background .12s ease;
}
.tc-sticky-cart-qty-btn:hover { background: var(--tc-bg-2); color: var(--tc-ink); }
.tc-sticky-cart-qty input {
  width: 38px;
  height: 38px;
  border: 0;
  border-left: 1px solid var(--tc-line);
  border-right: 1px solid var(--tc-line);
  text-align: center;
  font: 600 14px var(--tc-font-body);
  color: var(--tc-ink);
  background: #fff;
  outline: none;
}
.tc-sticky-cart-btn {
  font-family: var(--tc-font-display);
  font-weight: 700;
  font-size: 14.5px;
  padding: 10px 20px;
  background: var(--tc-accent);
  color: var(--tc-ink);
  border: none;
  border-radius: var(--tc-radius-s);
  cursor: pointer;
  transition: background .12s ease, transform .12s ease;
  letter-spacing: -0.005em;
}
.tc-sticky-cart-btn:hover {
  background: var(--tc-accent-d);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 767.98px) {
  .tc-sticky-cart { padding: 8px 0; }
  .tc-sticky-cart-inner { gap: 10px; }
  .tc-sticky-cart-thumb { width: 40px; height: 40px; }
  .tc-sticky-cart-name { font-size: 13px; }
  .tc-sticky-cart-price { font-size: 15px; }
  .tc-sticky-cart-qty { display: none; }
  .tc-sticky-cart-btn { padding: 10px 14px; font-size: 13.5px; }
}

/* Ensure fixed chat-bubble doesn't overlap the sticky bar */
@media (max-width: 767.98px) {
  .tc-sticky-cart-visible ~ #us_fixed_contact_button,
  body:has(.tc-sticky-cart-visible) #us_fixed_contact_button { bottom: 78px; }
}

/* =================================================================
 * CATEGORY / PRODUCT CARD POLISH
 * ================================================================= */

/* Product card: lift on hover + tighter border treatment */
.us-module-item {
  transition: transform .14s ease, box-shadow .18s ease, border-color .18s ease;
  border: 1px solid transparent;
  border-radius: var(--tc-radius-s);
  padding: 8px;
  background: var(--tc-bg);
}
.us-module-item:hover {
  border-color: var(--tc-line);
  transform: translateY(-2px);
  box-shadow: var(--tc-shadow-h);
}

/* Hover action buttons on card (wishlist, compare, quickview) — show on hover */
.us-item .us-module-buttons-list {
  opacity: 0;
  transform: translateX(4px);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events: none;
}
.us-item:hover .us-module-buttons-list,
.us-item:focus-within .us-module-buttons-list {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}
.us-module-buttons-link {
  background: var(--tc-bg) !important;
  border: 1px solid var(--tc-line) !important;
  color: var(--tc-muted) !important;
  transition: background .12s ease, color .12s ease, border-color .12s ease;
}
.us-module-buttons-link:hover {
  background: var(--tc-ink) !important;
  color: #fff !important;
  border-color: var(--tc-ink) !important;
}
.us-module-buttons-quickview:hover { background: var(--tc-accent-d) !important; border-color: var(--tc-accent-d) !important; }

/* Mobile: always show hover buttons (no hover state on touch) */
@media (hover: none) {
  .us-item .us-module-buttons-list { opacity: 1; transform: none; pointer-events: auto; }
}

/* Stickers polish: proper pill shape, brand colors */
.us-module-stickers {
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}
.us-module-stickers-sticker {
  font-family: var(--tc-font-display);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  line-height: 1.4;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  color: #fff;
  background: var(--tc-ink);
}
.us-module-stickers-sticker-discount,
.us-module-stickers-sticker-sale {
  background: #dc2626;
}
.us-module-stickers-sticker-new,
.us-module-stickers-sticker-novynka {
  background: var(--tc-accent);
  color: var(--tc-ink);
}
.us-module-stickers-sticker-hit,
.us-module-stickers-sticker-top {
  background: #f59e0b;
  color: var(--tc-ink);
}

/* "До кошика" button on card — more emphatic on hover */
.us-module-cart-btn, .button-cart {
  transition: background .14s ease, color .14s ease, transform .12s ease;
}
.us-item:hover .us-module-cart-btn { transform: translateY(-1px); }

/* Card image container — constrain max height to prevent tall products dominating layout */
.us-module-img {
  overflow: hidden;
  border-radius: var(--tc-radius-xs);
  background: var(--tc-bg-2);
  position: relative;
}
.us-module-img img {
  transition: transform .28s ease;
}
.us-module-item:hover .us-module-img img {
  transform: scale(1.03);
}

/* =================================================================
 * LEFT SIDEBAR (category menu + OCFilter)
 * ================================================================= */

#column-left, .us-column-left {
  padding-right: 8px;
}
#column-left > div, .us-column-left > div,
.us-sidebar-block {
  margin-bottom: 18px;
  padding: 14px 16px;
  background: var(--tc-bg);
  border: 1px solid var(--tc-line);
  border-radius: var(--tc-radius-s);
}
#column-left .list-group, .us-column-left .list-group {
  border: 0;
  padding: 0;
  margin: 0;
}
#column-left .list-group-item, .us-column-left .list-group-item {
  border: 0;
  border-bottom: 1px solid var(--tc-line);
  padding: 9px 0;
  font-size: 14px;
  color: var(--tc-muted);
  background: transparent;
  border-radius: 0;
  transition: color .12s ease, padding-left .12s ease;
}
#column-left .list-group-item:last-child,
.us-column-left .list-group-item:last-child { border-bottom: 0; }
#column-left .list-group-item:hover,
.us-column-left .list-group-item:hover {
  color: var(--tc-ink);
  padding-left: 4px;
}
#column-left .list-group-item.active,
.us-column-left .list-group-item.active {
  color: var(--tc-accent-d);
  font-weight: 600;
}

/* OCFilter styling */
.ocfilter, .ocfilter-block {
  background: var(--tc-bg);
  border: 1px solid var(--tc-line);
  border-radius: var(--tc-radius-s);
  padding: 14px 16px;
}
.ocfilter-option, .ocf-option-name {
  font-family: var(--tc-font-display);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--tc-ink);
  text-transform: none;
  letter-spacing: -0.005em;
  margin: 14px 0 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--tc-line);
}
.ocfilter-option:first-child { margin-top: 0; }
.ocfilter-option label, .ocf-option-value label {
  font-family: var(--tc-font-body);
  font-weight: 400;
  font-size: 13.5px;
  color: var(--tc-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  cursor: pointer;
  transition: color .12s ease;
}
.ocfilter-option label:hover, .ocf-option-value label:hover { color: var(--tc-ink); }
.ocfilter input[type="checkbox"], .ocf-option-value input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--tc-accent);
  cursor: pointer;
}

/* =================================================================
 * LIVE SEARCH + SEARCH PAGE
 * ================================================================= */

#us_livesearch {
  border: 1px solid var(--tc-line);
  border-radius: var(--tc-radius-s);
  box-shadow: var(--tc-shadow-h);
  background: var(--tc-bg);
  margin-top: 6px;
  max-height: 70vh;
  overflow-y: auto;
}
#us_livesearch .livesearch-item,
#us_livesearch a, #us_livesearch li {
  font-family: var(--tc-font-body);
  font-size: 14px;
}

/* Search results page empty state */
.common-search .us-main-shop-title,
.product-search .us-main-shop-title {
  font-family: var(--tc-font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 0.8vw + 1rem, 1.5rem);
}
.common-search .us-module-row:empty::after,
.product-search .us-module-row:empty::after {
  content: "Нічого не знайдено. Спробуйте уточнити запит або переглянути популярні категорії нижче.";
  display: block;
  padding: 24px;
  background: var(--tc-bg-2);
  border: 1px solid var(--tc-line);
  border-radius: var(--tc-radius-s);
  color: var(--tc-muted);
  font-size: 15px;
  text-align: center;
}

/* =================================================================
 * FOOTER REDESIGN
 * ================================================================= */

footer {
  background: #0b1220;
  color: #94a3b8;
  padding: 48px 0 0;
  margin-top: 48px;
  font-family: var(--tc-font-body);
}
footer a { color: #cbd5e1; transition: color .12s ease; }
footer a:hover { color: #fff; text-decoration: none; }

.us-footer-box {
  margin-bottom: 28px;
}
.us-footer-title {
  font-family: var(--tc-font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.us-footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 32px;
  height: 2px;
  background: var(--tc-accent);
}

.us-footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.us-footer-item {
  padding: 4px 0;
  font-size: 13.5px;
  line-height: 1.5;
}
.us-footer-link {
  color: #94a3b8 !important;
  transition: color .12s ease, padding-left .12s ease;
  display: inline-block;
}
.us-footer-link:hover {
  color: #fff !important;
  padding-left: 4px;
}

.us-footer-shedule-text-item { color: #cbd5e1; padding: 3px 0; }
.us-footer-shedule-icon { color: var(--tc-accent); margin-right: 10px; }

.us-footer-address {
  color: #cbd5e1;
  font-size: 13.5px;
  line-height: 1.5;
  margin-top: 8px;
}
.us-footer-mail, .us-footer-phone-btn {
  color: #fff !important;
  font-family: var(--tc-font-display);
  font-weight: 600;
  padding: 0;
}
.us-footer-mail:hover, .us-footer-phone-btn:hover { color: var(--tc-accent) !important; }

/* Footer social: monochrome icons, color on hover */
.us-footer-social-list {
  gap: 8px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}
.us-footer-social-item { list-style: none; }
.us-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--tc-radius-s);
  color: #cbd5e1 !important;
  text-decoration: none;
  transition: all .15s ease;
  overflow: hidden;
  white-space: nowrap;
  text-indent: -9999px;
  position: relative;
}
.us-footer-social-link i {
  text-indent: 0;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.us-footer-social-link:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.3);
  color: #fff !important;
  transform: translateY(-1px);
}
.us-footer-social-link-telegram:hover { border-color: #2aabee; color: #2aabee !important; }
.us-footer-social-link-viber:hover    { border-color: #7360f2; color: #7360f2 !important; }
.us-footer-social-link-facebook:hover,
.us-footer-social-link-facebook-f:hover { border-color: #1877f2; color: #1877f2 !important; }
.us-footer-social-link-instagram:hover  { border-color: #e4405f; color: #e4405f !important; }
.us-footer-social-link-whatsapp:hover   { border-color: #25d366; color: #25d366 !important; }
.us-footer-social-link-youtube:hover    { border-color: #ff0000; color: #ff0000 !important; }

/* Mobile accordion chevron */
.us-footer-title .fa-chevron-down { color: #64748b; transition: transform .2s ease; }
@media (max-width: 767.98px) {
  .us-footer-box { margin-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,.06); padding-bottom: 8px; }
  .us-footer-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 10px;
    cursor: pointer;
  }
}

/* Bottom bar: copyright + payment + ФОП */
.tc-footer-bottom {
  background: #060b16;
  color: #64748b;
  padding: 18px 0;
  margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,.05);
  font-size: 12.5px;
}
.tc-footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.tc-footer-copy { color: #94a3b8; font-family: var(--tc-font-body); }
.tc-footer-copy strong { color: #cbd5e1; font-weight: 600; }
.tc-footer-fop { color: #64748b; }
.tc-footer-payments {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.tc-footer-payments span {
  font-family: var(--tc-font-display);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}
.tc-footer-payment {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 12px;
  border-radius: var(--tc-radius-xs);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  font-family: var(--tc-font-mono);
  font-size: 12px;
  color: #cbd5e1;
  text-decoration: none;
  transition: all .12s ease;
}
.tc-footer-payment:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.16);
  color: #fff !important;
}

@media (max-width: 767.98px) {
  .tc-footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .tc-footer-payments { width: 100%; flex-wrap: wrap; }
}

/* ---------- HIDE LEGACY CHROME ---------- */

/* Left floating bar (wishlist/compare/cart) — anti-pattern, removed */
.oct-fixed-bar.fixed-left { display: none !important; }

/* Top dark grey bar — hide entirely on desktop. Account icon moves into main header via CSS. */
@media (min-width: 992px) {
  #top { display: none !important; }
}

/* Compress main header ("logo + search + phone + cart" row) */
header {
  padding-top: 15px;
  padding-bottom: 15px;
}
@media (min-width: 992px) {
  header .row.align-items-center { min-height: auto; }
  header .us-logo-img { max-height: 74px !important; width: auto !important; }
  .us-logo-box { padding-top: 0; padding-bottom: 0; }
  .us-search-box input[type="text"],
  .us-search-box input[type="search"] { height: 42px !important; }
  .us-phone-box { padding-top: 0; padding-bottom: 0; }
  .us-phone-box .us-phone-img img { width: 26px; height: 26px; }
  .us-cart-box { padding-top: 0; padding-bottom: 0; }
  /* Compress green nav row */
  .menu-row { min-height: 46px; }
  .menu-row .navbar { min-height: 46px; padding-top: 0; padding-bottom: 0; }
}

/* Account access on desktop — add subtle link to trust row since #top is hidden */
@media (min-width: 992px) {
  .tc-trust-row .tc-trust-account {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--tc-muted);
    text-decoration: none;
    flex-shrink: 0;
  }
  .tc-trust-row .tc-trust-account:hover { color: var(--tc-ink); }
  .tc-trust-row .tc-trust-account svg { width: 14px; height: 14px; }
}
@media (max-width: 991.98px) {
  .tc-trust-account { display: none; }
}

/* Mobile: also compress main header row */
@media (max-width: 991.98px) {
  header .row.align-items-center { padding-top: 4px; padding-bottom: 4px; }
  .us-logo-img { max-height: 38px !important; width: auto !important; }
  .us-search-box input[type="text"],
  .us-search-box input[type="search"] { height: 40px !important; }
}

/* Hide existing slideshow on homepage in favour of custom hero below */
.common-home .us-slideshow-plus-box,
.common-home .us-slideshow-plus-blocks,
#common-home > .container > .row:first-child:has(.us-slideshow-plus-box),
#common-home #us-slideshow-plus,
#common-home [class*="us-slideshow"] { display: none !important; }

/* Mobile: keep only hamburger + cart in top row. Hide info / wishlist / compare / account.
   Wishlist & compare accessible via footer links; account via drawer menu. */
@media (max-width: 991.98px) {
  #dropdown_menu_info { display: none !important; }
  .us-mobile-top-btn.us-mobile-top-btn-wishlist { display: none !important; }
  .us-mobile-top-btn.us-mobile-top-btn-compare  { display: none !important; }
  /* hide account icon on mobile — account still reachable via drawer → Кабінет */
  #top-links #us-account-dropdown { display: none !important; }
}

/* ---------- TRUST ROW ---------- */

.tc-trust-row {
  background: var(--tc-bg);
  border-bottom: 1px solid var(--tc-line);
  font-size: 12.5px;
  color: var(--tc-muted);
}
.tc-trust-row .tc-trust-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 30px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0;
}
.tc-trust-row .tc-trust-inner::-webkit-scrollbar { display: none; }
.tc-trust-row .tc-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  color: var(--tc-muted);
  text-decoration: none;
  flex-shrink: 0;
}
.tc-trust-row .tc-trust-item:hover { color: var(--tc-ink); }
.tc-trust-row .tc-trust-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--tc-accent-d);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}
.tc-trust-row .tc-trust-item strong {
  color: var(--tc-ink);
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .tc-trust-row { font-size: 11.5px; }
  .tc-trust-row .tc-trust-inner {
    gap: 16px;
    min-height: 28px;
    padding: 0 15px;
  }
  .tc-trust-row .tc-trust-item svg { width: 14px; height: 14px; }
}

/* ---------- HOMEPAGE: HERO ---------- */

.tc-hero {
  margin: 24px 0 16px;
  padding: 40px 32px;
  border-radius: var(--tc-radius);
  background:
    radial-gradient(circle at 82% 20%, rgba(132,204,22,.16), transparent 55%),
    linear-gradient(135deg, #111827 0%, #1e293b 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.tc-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 100%, rgba(132,204,22,.08), transparent 60%);
  pointer-events: none;
}
.tc-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.tc-hero h1 {
  font-size: clamp(1.75rem, 2.4vw + 0.5rem, 2.5rem);
  line-height: 1.12;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  color: #fff;
}
.tc-hero h1 em {
  font-style: normal;
  color: var(--tc-accent);
}
.tc-hero p {
  font-size: clamp(0.95rem, 0.7vw + 0.5rem, 1.125rem);
  line-height: 1.55;
  margin: 0 0 26px;
  color: #cbd5e1;
  max-width: 620px;
}
.tc-hero-cta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.tc-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--tc-radius-s);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  border: none;
  cursor: pointer;
}
.tc-btn-primary {
  background: var(--tc-accent);
  color: var(--tc-ink);
}
.tc-btn-primary:hover {
  background: var(--tc-accent-d);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(132,204,22,.35);
}
.tc-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.25);
}
.tc-btn-ghost:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}

@media (max-width: 767.98px) {
  .tc-hero {
    margin: 10px 0 14px;
    padding: 20px 18px 22px;
    border-radius: 10px;
  }
  .tc-hero h1 {
    font-size: 1.45rem;
    line-height: 1.15;
    margin-bottom: 10px;
  }
  .tc-hero p {
    font-size: 0.875rem;
    line-height: 1.45;
    margin-bottom: 18px;
  }
  .tc-hero-cta { gap: 10px; }
  .tc-btn { padding: 11px 16px; font-size: 13.5px; }
}

/* ---------- "ЧОМУ МИ" ROW ---------- */

.tc-reasons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 16px 0 28px;
}
.tc-reason {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  background: var(--tc-bg);
  border: 1px solid var(--tc-line);
  border-radius: var(--tc-radius-s);
}
.tc-reason-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #f1f5f9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--tc-accent-d);
}
.tc-reason-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}
.tc-reason-title {
  font-weight: 600;
  color: var(--tc-ink);
  margin: 0 0 3px;
  font-size: 15px;
  line-height: 1.2;
}
.tc-reason-text {
  font-size: 13px;
  color: var(--tc-muted);
  line-height: 1.45;
  margin: 0;
}

@media (max-width: 767.98px) {
  .tc-reasons {
    grid-template-columns: 1fr;
    gap: 10px;
    margin: 12px 0 20px;
  }
  .tc-reason { padding: 14px 15px; }
}

/* ---------- CATEGORY GRID ---------- */

.tc-cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 8px 0 16px;
}
.tc-cat-head h2 {
  font-size: clamp(1.15rem, 0.6vw + 1rem, 1.5rem);
  font-weight: 700;
  color: var(--tc-ink);
  margin: 0;
  letter-spacing: -0.01em;
}
.tc-cat-head a {
  font-size: 13px;
  color: var(--tc-accent-d);
  text-decoration: none;
  font-weight: 500;
}
.tc-cat-head a:hover { text-decoration: underline; }

.tc-cat-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 0 0 36px;
}
.tc-cat-tile {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 16px;
  background: var(--tc-bg);
  border: 1px solid var(--tc-line);
  border-radius: var(--tc-radius-s);
  text-decoration: none;
  color: var(--tc-ink);
  min-height: 130px;
  transition: border-color .15s ease, transform .12s ease, box-shadow .15s ease;
  position: relative;
  overflow: hidden;
}
.tc-cat-tile::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--tc-accent);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .15s ease;
}
.tc-cat-tile:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: var(--tc-shadow-h);
  color: var(--tc-ink);
}
.tc-cat-tile:hover::before { transform: scaleY(1); }
.tc-cat-tile-icon {
  width: 36px;
  height: 36px;
  color: var(--tc-accent-d);
  margin-bottom: 12px;
}
.tc-cat-tile-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tc-cat-tile-name {
  font-weight: 600;
  font-size: 14px;
  line-height: 1.25;
  margin: 0 0 4px;
  color: var(--tc-ink);
}
.tc-cat-tile-count {
  font-size: 12px;
  color: var(--tc-muted);
  margin: 0;
}

@media (max-width: 1199.98px) {
  .tc-cat-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767.98px) {
  .tc-cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 24px;
  }
  .tc-cat-tile {
    padding: 14px 12px;
    min-height: 110px;
  }
  .tc-cat-tile-icon { width: 30px; height: 30px; margin-bottom: 10px; }
}

/* ---------- HEADING ABOVE EXISTING "Нові надходження" ---------- */

.tc-section-div {
  height: 1px;
  background: var(--tc-line);
  margin: 8px 0 24px;
}

/* ---------- BRAND STRIP ---------- */

.tc-brands {
  margin: 0 0 32px;
}
.tc-brands-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.tc-brands-label {
  font-family: var(--tc-font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tc-subtle);
}
.tc-brands-head::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--tc-line);
}
.tc-brands-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.tc-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 18px;
  background: var(--tc-bg);
  border: 1px solid var(--tc-line);
  border-radius: var(--tc-radius-s);
  font-family: var(--tc-font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--tc-muted);
  text-decoration: none;
  transition: color .15s ease, border-color .15s ease, transform .1s ease, box-shadow .15s ease;
}
.tc-brand:hover {
  color: var(--tc-ink);
  border-color: #cbd5e1;
  transform: translateY(-1px);
  box-shadow: var(--tc-shadow);
}

/* Brand-specific accents on hover */
.tc-brand-bambu:hover     { color: #00ae42; }
.tc-brand-creality:hover  { color: #e60012; }
.tc-brand-voron:hover     { color: #ed3024; font-family: var(--tc-font-mono); }
.tc-brand-e3d:hover       { color: #ea5a0b; }
.tc-brand-mellow:hover    { color: #3b82f6; }
.tc-brand-btt:hover       { color: #111827; }
.tc-brand-ldo:hover       { color: #111827; }
.tc-brand-phaetus:hover   { color: #7c3aed; }
.tc-brand-openbuilds:hover{ color: #111827; }
.tc-brand-gdstime:hover   { color: #111827; }

/* Voron keeps its mono style as its signature */
.tc-brand-voron {
  font-family: var(--tc-font-mono);
  letter-spacing: 0;
  font-weight: 500;
}

@media (max-width: 1199.98px) {
  .tc-brands-list { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767.98px) {
  .tc-brands-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .tc-brand {
    height: 48px;
    padding: 0 12px;
    font-size: 13.5px;
  }
  .tc-brands { margin-bottom: 24px; }
}

/* =================================================================
 * v11 additions (2026-04-22) — hero visual, product-card polish
 * ================================================================= */

/* ---------- HERO: split layout when visual present ---------- */

.tc-hero-inner:has(.tc-hero-visual) {
  max-width: none;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.tc-hero-text { position: relative; z-index: 2; }
.tc-hero h1 { font-weight: 700; }
.tc-hero h1 em {
  font-style: normal;
  background: linear-gradient(180deg, #a3e635 0%, #65a30d 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.tc-hero-visual {
  position: relative;
  aspect-ratio: 1/1;
  max-height: 440px;
  min-height: 340px;
  margin: 0 auto;
  width: 100%;
}
.tc-hero-visual svg.tc-frame {
  width: 100%; height: 100%;
  display: block;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.3));
}

.tc-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  display: block;
  z-index: 1;
  pointer-events: none;
}

.tc-hero-photo-wrap {
  position: absolute;
  inset: 8%;
  z-index: 2;
  display: grid;
  place-items: center;
}
.tc-hero-photo-glow {
  position: absolute;
  inset: 10%;
  background:
    radial-gradient(circle at 50% 50%, rgba(132,204,22,0.45) 0%, rgba(132,204,22,0.18) 30%, transparent 62%);
  filter: blur(28px);
  z-index: 1;
  animation: tc-glow-pulse 5s ease-in-out infinite;
}
@keyframes tc-glow-pulse {
  0%, 100% { opacity: 0.75; transform: scale(0.96); }
  50%      { opacity: 1;    transform: scale(1.04); }
}
.tc-hero-photo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter:
    drop-shadow(0 24px 48px rgba(0,0,0,0.55))
    drop-shadow(0 0 36px rgba(132,204,22,0.18));
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 18%, black 88%, transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0%, black 18%, black 88%, transparent 100%);
  animation: tc-photo-float 8s ease-in-out infinite;
}
@keyframes tc-photo-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

.tc-chip {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(10, 20, 16, 0.55);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  font-family: var(--tc-font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  letter-spacing: 0.03em;
  white-space: nowrap;
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
  animation: tc-float 6s ease-in-out infinite;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
a.tc-chip:hover {
  background: rgba(184, 240, 53, 0.16);
  border-color: rgba(184, 240, 53, 0.45);
  color: #fff;
  transform: translateY(-2px);
}
a.tc-chip:hover .mark { color: #c4ff44; }
.tc-chip .mark { color: var(--tc-accent); transition: color 160ms ease; }
.tc-chip.c1 { top: 6%;  left: 4%;  animation-delay: 0s; }
.tc-chip.c2 { top: 22%; right: 2%; animation-delay: -1.5s; }
.tc-chip.c3 { top: 58%; left: 0;   animation-delay: -3s; }
.tc-chip.c4 { bottom: 8%; left: 6%; animation-delay: -4.5s; }
@keyframes tc-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

.tc-featured-card {
  position: absolute; z-index: 4;
  right: -12px; bottom: -28px;
  width: 260px; padding: 14px 16px;
  background: #fff;
  color: var(--tc-ink);
  border-radius: 16px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55), 0 1px 0 rgba(255,255,255,.06) inset;
  transform: rotate(-2deg);
  transition: transform 300ms ease;
}
.tc-featured-card:hover { transform: rotate(0deg) translateY(-2px); }
.tc-featured-card-label {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--tc-font-mono);
  font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tc-muted);
  margin-bottom: 6px;
}
.tc-featured-card-label .status {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--tc-success);
  text-transform: none; letter-spacing: 0;
  font-weight: 500;
}
.tc-featured-card-label .status::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--tc-success);
  box-shadow: 0 0 6px var(--tc-success);
}
.tc-featured-card h4 {
  margin: 0 0 10px;
  font-family: var(--tc-font-display);
  font-weight: 600;
  font-size: 14px; line-height: 1.3;
}
.tc-featured-card-price-row {
  display: flex; justify-content: space-between; align-items: baseline;
}
.tc-featured-card-price {
  font-family: var(--tc-font-display);
  font-weight: 700; font-size: 20px;
  letter-spacing: -0.02em;
}
.tc-featured-card-price .unit { font-size: 12px; color: var(--tc-muted); margin-left: 3px; font-weight: 500; }
.tc-featured-card-buy {
  background: var(--tc-ink);
  color: var(--tc-accent);
  font-family: var(--tc-font-mono);
  font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 7px 11px; border-radius: 8px;
  text-decoration: none;
  transition: background 160ms ease;
}
.tc-featured-card-buy:hover { background: #1e293b; color: var(--tc-accent); }

@media (max-width: 900px) {
  .tc-hero-inner:has(.tc-hero-visual) {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .tc-hero-visual { min-height: 280px; aspect-ratio: auto; height: 300px; }
  .tc-featured-card { right: 0; bottom: -20px; width: calc(100% - 40px); }
  .tc-chip.c2, .tc-chip.c4 { display: none; }
}
@media (max-width: 540px) {
  .tc-hero-visual { height: 240px; min-height: 240px; }
  .tc-chip { font-size: 10px; padding: 6px 10px; }
}

/* ---------- PRODUCT CARD: stock badge ---------- */

.us-module-stickers { top: 10px; left: 10px; }
.us-module-stickers-sticker-stock {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--tc-line);
  font-family: var(--tc-font-mono);
  font-size: 10px; letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--tc-ink);
  box-shadow: 0 1px 2px rgba(15,23,42,.04);
}
.us-module-stickers-sticker-stock::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--tc-success);
  box-shadow: 0 0 6px var(--tc-success);
}
.us-module-stickers-sticker-stock.low,
.us-module-stickers-sticker-stock.preorder {
  color: var(--tc-amber);
  border-color: rgba(245,158,11,0.3);
}
.us-module-stickers-sticker-stock.low::before,
.us-module-stickers-sticker-stock.preorder::before {
  background: var(--tc-amber);
  box-shadow: 0 0 6px var(--tc-amber);
}
.us-module-stickers-sticker-stock.out {
  color: #b91c1c;
  border-color: rgba(185,28,28,0.3);
  background: #fef2f2;
}
.us-module-stickers-sticker-stock.out::before {
  background: #ef4444;
  box-shadow: 0 0 6px rgba(239,68,68,0.5);
}

/* ---------- PRODUCT CARD: subtle polish ---------- */

.us-module-item {
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.us-module-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--tc-shadow-h);
}
.us-module-img img { transition: transform 400ms cubic-bezier(.2,.8,.2,1); }
.us-module-item:hover .us-module-img img { transform: scale(1.04); }

.us-module-cart-btn {
  font-family: var(--tc-font-mono);
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ---------- PRODUCT CARD: title wraps to 3 lines ---------- */
/* Override stock .us-module-title { height: 42px; overflow-y: hidden } which truncates at 2 lines */

.us-module-item .us-module-title,
.product-layout .us-module-title,
.us-category-products .us-module-title {
  height: auto;
  min-height: 48px;
  max-height: none;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 1.3;
}
/* Column (sidebar) cards keep the tight 2-line clamp */
.us-module-column-item .us-module-title,
.us-module-column-title {
  height: auto;
  min-height: 36px;
  max-height: 3em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
