/* tahm.ee custom CSS (moved out of wp_head/wp_footer) */

/* Mobile menu breakpoint matches GeneratePress setup */
@media (max-width: 1023px){
  /* reserve for mobile header/menu fixes */
}
/* =========================================================
   TAHM.ee — FINAL CATEGORY CSS (copy/paste)
   YITH (preset widget #3): one rounded card + sticky + clean UI
   Long filters: scroll INSIDE each list (not whole sidebar)
   Product cards: same radius
   ========================================================= */

/* ---------- 0) Spacing between sidebar and content ---------- */
body.tax-product_cat #secondary { padding-right: 14px !important; }
body.tax-product_cat #primary,
body.tax-product_cat main.site-main { padding-left: 14px !important; }

/* Remove the “square frame behind” (parent wrapper around the YITH widget) */
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* ---------- 1) Kill theme frame on the outer YITH widget ---------- */
body.tax-product_cat aside#yith-woocommerce-ajax-navigation-filters-3.widget,
body.tax-product_cat aside#yith-woocommerce-ajax-navigation-filters-3.inner-padding,
body.tax-product_cat aside#yith-woocommerce-ajax-navigation-filters-3.widget.inner-padding {
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 14px 0 0 !important; /* distance from content */
}

/* ---------- 2) The only visible filter card (rounded) ---------- */
body.tax-product_cat
aside#yith-woocommerce-ajax-navigation-filters-3
.yith-wcan-filters {
  background: #ffffff !important;
  border: 1px solid #dcdcdc !important;
  border-radius: 16px !important;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12) !important;
  padding: 14px !important;
  overflow: hidden !important; /* keeps radius clean */
}

/* Make inner containers neutral (no extra frames) */
body.tax-product_cat
aside#yith-woocommerce-ajax-navigation-filters-3
.filters-container,
body.tax-product_cat
aside#yith-woocommerce-ajax-navigation-filters-3
.filters-container form {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* ---------- 3) Sticky (desktop) — safe, no layout break ---------- */
@media (min-width: 992px) {
  body.tax-product_cat aside#yith-woocommerce-ajax-navigation-filters-3 {
    position: sticky !important;
    top: 120px !important;           /* adjust if needed */
    align-self: flex-start !important;
  }

  /* IMPORTANT: do NOT make the whole filter card scrollable */
  body.tax-product_cat
  aside#yith-woocommerce-ajax-navigation-filters-3
  .yith-wcan-filters {
    max-height: none !important;
    overflow: hidden !important;
  }
}

/* ---------- 4) Long filters: scroll INSIDE each filter list ---------- */
@media (min-width: 992px) {
  body.tax-product_cat
  aside#yith-woocommerce-ajax-navigation-filters-3
  .yith-wcan-filter .filter-items {
    max-height: 240px !important;    /* how many items before scrolling */
    overflow: auto !important;
    padding-right: 6px !important;
    overscroll-behavior: contain;
  }

  body.tax-product_cat
  aside#yith-woocommerce-ajax-navigation-filters-3
  .yith-wcan-filter .filter-items::-webkit-scrollbar { width: 8px; }

  body.tax-product_cat
  aside#yith-woocommerce-ajax-navigation-filters-3
  .yith-wcan-filter .filter-items::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.18);
    border-radius: 20px;
  }
}

/* ---------- 5) Cleaner checkbox look ---------- */
body.tax-product_cat
aside#yith-woocommerce-ajax-navigation-filters-3
.yith-wcan-filter .filter-title {
  font-size: 15px !important;
  margin: 0 0 8px 0 !important;
}

body.tax-product_cat
aside#yith-woocommerce-ajax-navigation-filters-3
.yith-wcan-filter {
  padding-bottom: 12px !important;
  margin-bottom: 12px !important;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}
body.tax-product_cat
aside#yith-woocommerce-ajax-navigation-filters-3
.yith-wcan-filter:last-child {
  border-bottom: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body.tax-product_cat
aside#yith-woocommerce-ajax-navigation-filters-3
.filter-items .filter-item label {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 6px 4px !important;
}

body.tax-product_cat
aside#yith-woocommerce-ajax-navigation-filters-3
.checkboxbutton input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  accent-color: #0089e2;
}

body.tax-product_cat
aside#yith-woocommerce-ajax-navigation-filters-3
a.term-label {
  text-decoration: none !important;
  line-height: 1.2 !important;
}
body.tax-product_cat
aside#yith-woocommerce-ajax-navigation-filters-3
a.term-label:hover {
  text-decoration: underline !important;
}

body.tax-product_cat
aside#yith-woocommerce-ajax-navigation-filters-3
a.show-more {
  display: inline-block !important;
  margin-top: 8px !important;
  padding: 6px 10px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(0,0,0,0.10) !important;
  text-decoration: none !important;
}

/* ---------- 6) Product cards — same radius as filters ---------- */
body.tax-product_cat ul.products li.product {
  border-radius: 16px !important;
  overflow: hidden !important;
}
body.tax-product_cat ul.products li.product img {
  border-radius: 16px !important;
  display: block !important;
}

/* =========================================================
   MOBILE FIXES (<= 991px)
   - no sticky
   - full width filters
   - compact lists + nicer spacing
   ========================================================= */
@media (max-width: 991px) {
  /* 1) Disable sticky on mobile */
  body.tax-product_cat aside#yith-woocommerce-ajax-navigation-filters-3 {
    position: static !important;
    top: auto !important;
    margin: 0 0 16px 0 !important;
  }

  /* 2) Remove column paddings so nothing feels squeezed */
  body.tax-product_cat #secondary { padding-right: 0 !important; }
  body.tax-product_cat #primary,
  body.tax-product_cat main.site-main { padding-left: 0 !important; }

  /* 3) Make the filter card comfortable on mobile */
  body.tax-product_cat
  aside#yith-woocommerce-ajax-navigation-filters-3
  .yith-wcan-filters {
    border-radius: 14px !important;
    padding: 12px !important;
  }

  /* 4) Compact filter groups */
  body.tax-product_cat
  aside#yith-woocommerce-ajax-navigation-filters-3
  .yith-wcan-filter {
    padding-bottom: 10px !important;
    margin-bottom: 10px !important;
  }

  body.tax-product_cat
  aside#yith-woocommerce-ajax-navigation-filters-3
  .yith-wcan-filter .filter-title {
    font-size: 14px !important;
    margin-bottom: 6px !important;
  }

  /* 5) Shorter lists on mobile (scroll inside list) */
  body.tax-product_cat
  aside#yith-woocommerce-ajax-navigation-filters-3
  .yith-wcan-filter .filter-items {
    max-height: 180px !important;
    overflow: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  /* 6) Reduce row padding */
  body.tax-product_cat
  aside#yith-woocommerce-ajax-navigation-filters-3
  .filter-items .filter-item label {
    padding: 5px 2px !important;
    gap: 8px !important;
  }

  /* 7) Product cards radius a bit smaller on mobile */
  body.tax-product_cat ul.products li.product,
  body.tax-product_cat ul.products li.product img {
    border-radius: 14px !important;
  }
}

/* ---------- Mobile “Filtrid” button (SAFE selectors only) ---------- */
@media (max-width: 768px) {
  body.tax-product_cat #woofc-area a,
  body.tax-product_cat #woofc-area button,
  body.tax-product_cat a.woof_show_mobile_filter,
  body.tax-product_cat a.woof_show_filter_for_mobile,
  body.tax-product_cat a.woof_open_btn,
  body.tax-product_cat button.woof_show_mobile_filter,
  body.tax-product_cat button.woof_show_filter_for_mobile,
  body.tax-product_cat button.woof_open_btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;

    width: 100% !important;
    max-width: 100% !important;

    padding: 14px 16px !important;
    margin: 10px 0 16px 0 !important;

    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.1 !important;

    color: #111 !important;
    background: #fff !important;

    border: 1px solid rgba(0,0,0,.18) !important;
    border-radius: 14px !important;
    box-shadow: 0 6px 16px rgba(0,0,0,.08) !important;

    text-decoration: none !important;
  }

  body.tax-product_cat #woofc-area a::before,
  body.tax-product_cat #woofc-area button::before,
  body.tax-product_cat a.woof_show_mobile_filter::before,
  body.tax-product_cat a.woof_show_filter_for_mobile::before,
  body.tax-product_cat a.woof_open_btn::before,
  body.tax-product_cat button.woof_show_mobile_filter::before,
  body.tax-product_cat button.woof_show_filter_for_mobile::before,
  body.tax-product_cat button.woof_open_btn::before {
    content: "☰";
    font-size: 18px;
    line-height: 1;
  }
}

/* ---------- HP printer search block (if used) ---------- */
.tahm-hp-printer-search{
  margin:20px 0 !important;
  padding:16px !important;
  background:#fff !important;
  border-radius:14px !important;
  box-shadow:0 4px 14px rgba(0,0,0,.05) !important;
}
.tahm-hp-printer-search__title{
  font-weight:600 !important;
  margin:0 0 10px 0 !important;
}

/* ---------- Category description tiles ---------- */
.tahm-cat-tiles{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 12px 0 18px;
}

/* FORCE styles for category description tiles */
.tax-product_cat .term-description .tahm-cat-tiles{
  display:grid !important;
  grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
  gap:16px !important;
  margin:16px 0 24px !important;
}

.tax-product_cat .term-description .tahm-cat-tiles a.tahm-tile{
  display:block !important;
  background:#ffffff !important;
  border:1px solid rgba(0,0,0,0.12) !important;
  border-radius:14px !important;
  padding:16px !important;
  text-decoration:none !important;
  transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease !important;
}

.tax-product_cat .term-description .tahm-cat-tiles a.tahm-tile:hover{
  transform:translateY(-1px) !important;
  box-shadow:0 6px 16px rgba(0,0,0,.08) !important;
  border-color:rgba(0,0,0,0.2) !important;
}

.tax-product_cat .term-description .tahm-tile-title{
  display:block !important;
  font-weight:700 !important;
  font-size:16px !important;
  line-height:1.2 !important;
  color:#111 !important;
  margin-bottom:6px !important;
}

.tax-product_cat .term-description .tahm-tile-sub{
  display:block !important;
  font-size:13px !important;
  line-height:1.4 !important;
  color:rgba(0,0,0,0.65) !important;
}

/* Responsive tiles */
@media (max-width: 900px){
  .tax-product_cat .term-description .tahm-cat-tiles{
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
  }
}

/* ---------- SEO page quick link buttons (HP/Canon/Brother/Epson) ---------- */
.tahm-quicklinks{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:10px !important;
  margin:14px 0 18px !important;
}

.tahm-quicklinks__btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:10px 14px !important;
  border:1px solid #d9e2ec !important;
  border-radius:12px !important;
  background:#fff !important;
  text-decoration:none !important;
  font-weight:600 !important;
  line-height:1.2 !important;
  transition:transform .12s ease, box-shadow .12s ease, border-color .12s ease !important;
}

.tahm-quicklinks__btn:hover{
  transform:translateY(-1px) !important;
  box-shadow:0 6px 16px rgba(0,0,0,.08) !important;
  border-color:#c7d2e0 !important;
}

@media (max-width: 600px){
  .tahm-quicklinks__btn{ width:100% !important; }
}
/* Hide WPBakery Image Carousel on mobile */
@media (max-width: 768px){
  .hide-on-mobile{
    display: none !important;
  }
}
@media (max-width: 768px){
  .tahm-desc{
    position: relative;
    max-height: 120px;
    overflow: hidden;
    padding-bottom: 34px;
    margin-bottom: 10px;
  }
  body.tahm-desc-open .tahm-desc{
    max-height: none;
    overflow: visible;
    padding-bottom: 0;
  }
  .tahm-readmore-btn{
    isplay:block !important;
    width:100% !important;
    margin:6px 0 16px !important;
    padding:12px 14px !important;
    border:1px solid rgba(0,0,0,.15) !important;
    border-radius:10px !important;
    background:#fff !important;

    font-weight:700 !important;
    font-size:15px !important;
    line-height:1.2 !important;

    color:#494949 !important;       /* ключевое */
    text-align:center !important;
    cursor:pointer !important;
  }
}
/* ================================
   MOBILE: product grid = 2 columns
   ================================ */
@media (max-width: 768px){
  body.tax-product_cat ul.products{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:12px !important;
  }

  body.tax-product_cat ul.products::before,
  body.tax-product_cat ul.products::after{
    display:none !important;
    content:none !important;
  }

  body.tax-product_cat ul.products li.product{
    float:none !important;
    width:auto !important;
    margin:0 !important;
    clear:none !important;
  }
}
/* ================================
   MOBILE: collapsible filters panel
   ================================ */
@media (max-width: 1023px){
  #tahmFiltridBtn{
    width:100% !important;
    display:flex !important;
    align-items:center !important;
    justify-content:space-between !important;
    gap:10px !important;

    padding:14px 16px !important;
    margin:12px 0 14px !important;

    border:1px solid rgba(0,0,0,.18) !important;
    border-radius:14px !important;
    background:#fff !important;

    font-size:16px !important;
    font-weight:700 !important;
    color:#111 !important;
  }
  #tahmFiltridBtn .state{ opacity:.8; font-weight:600; }

  #tahmFiltridPanel{
    display:none;
    background:#fff;
    border:1px solid rgba(0,0,0,.10);
    border-radius:14px;
    padding:12px;
    margin:0 0 16px;
  }
  #tahmFiltridPanel.is-open{ display:block; }
}
/* =========================
   tahm.ee – New Home (fast)
   ========================= */
.tahm-home{ font-family: Rubik, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }

.tahm-hero{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap:24px;
  align-items:stretch;
  margin: 18px 0 26px;
}

.tahm-hero__banner{
  background:#E2F4FF;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
}
.tahm-hero__banner img{
  width:100%;
  height:auto;
  display:block;
}

.tahm-hero__finder{
  background:#0A86D2;
  border-radius:18px;
  padding:22px;
  color:#fff;
  border:1px solid rgba(0,0,0,.06);
}
.tahm-h1{
  font-family: "Russo One", Rubik, sans-serif;
  font-weight:400;
  font-size:34px;
  line-height:1.05;
  margin:0 0 10px;
}
.tahm-sub{ margin:0 0 14px; opacity:.95; }

.tahm-finder-box{
  background:#FFFFFF;
  border-radius:14px;
  padding:14px;
  color:#000;
}

.tahm-cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}
.tahm-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  text-decoration:none;
  font-weight:700;
  line-height:1.2;
  border:1px solid rgba(255,255,255,.35);
}
.tahm-btn--primary{
  background:#FED23A;
  color:#000;
  border-color:#FED23A;
}
.tahm-btn--ghost{
  background:rgba(255,255,255,.10);
  color:#fff;
}

.tahm-section{ margin: 28px 0; }
.tahm-h2{ font-size:26px; margin:0 0 8px; color:#000; }
.tahm-h3{ font-size:18px; margin:0 0 6px; color:#000; }
.tahm-muted{ margin:0 0 14px; color:#494949; }

.tahm-brands{
  display:grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap:12px;
}
.tahm-brand{
  background:#fff;
  border:1px solid rgba(0,0,0,.10);
  border-radius:14px;
  padding:16px 14px;
  text-decoration:none;
  font-weight:800;
  color:#000;
  text-align:center;
}

.tahm-cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:14px;
}
.tahm-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.10);
  border-radius:16px;
  padding:16px;
}
.tahm-link{ color:#0161AE; font-weight:700; text-decoration:none; }

.tahm-trust{
  background:#E2F4FF;
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  padding:16px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:12px;
}
.tahm-trust__item{
  background:#fff;
  border-radius:14px;
  padding:14px;
  border:1px solid rgba(0,0,0,.08);
  display:flex;
  flex-direction:column;
  gap:4px;
}
.tahm-trust__item strong{ font-size:18px; }
.tahm-trust__item span{ color:#494949; font-weight:600; }

@media (max-width: 1023px){
  .tahm-hero{ grid-template-columns:1fr; }
  .tahm-brands{ grid-template-columns: repeat(3, minmax(0,1fr)); }
  .tahm-cards{ grid-template-columns:1fr; }
  .tahm-trust{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tahm-h1{ font-size:28px; }
}
/* =========================
   Home: style [printer_search_form]
   ========================= */
.tahm-home .tahm-finder-box select,
.tahm-home .tahm-finder-box input,
.tahm-home .tahm-finder-box button{
  width:100%;
  max-width:100%;
  border-radius:12px;
}

.tahm-home .tahm-finder-box select,
.tahm-home .tahm-finder-box input{
  padding:12px 12px;
  border:1px solid rgba(0,0,0,.15);
}

.tahm-home .tahm-finder-box button,
.tahm-home .tahm-finder-box input[type="submit"]{
  padding:12px 14px;
  font-weight:800;
  border:1px solid #FED23A;
  background:#FED23A;
  color:#000;
  border-radius:12px;
  cursor:pointer;
}
/* Hide breadcrumb bar on new homepage draft */
.page-id-106250 .header-sub-pages { display:none !important; }
/* Hero banner sizing */
.tahm-hero__banner{
  min-height: 340px;
}
.tahm-hero__banner img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.tahm-brands{
  grid-template-columns: repeat(6, minmax(0,1fr));
}
.tahm-brand{
  padding:14px 12px !important;
  border-radius:14px !important;
  border:1px solid rgba(0,0,0,.12) !important;
  background:#fff !important;
  font-weight:800 !important;
  box-shadow:0 6px 18px rgba(0,0,0,.04);
}
.tahm-brand:hover{
  transform: translateY(-1px);
  box-shadow:0 10px 26px rgba(0,0,0,.08);
}
.tahm-brands a{ min-width:0; }
.tahm-cta-row .tahm-btn{
  flex:1 1 160px;
  padding:12px 14px !important;
  border-radius:14px !important;
  font-size:14px;
}
/* =========================
   HOME (new) – make it alive
   ========================= */

.tahm-home{
  --tahm-blue:#0196F2;
  --tahm-blue2:#0161AE;
  --tahm-sky:#E2F4FF;
  --tahm-yellow:#FED23A;
  --tahm-text:#111;
  --tahm-muted:#494949;
}

.tahm-hero__finder{
  background: linear-gradient(135deg, var(--tahm-blue2), var(--tahm-blue));
  position:relative;
  overflow:hidden;
}
.tahm-hero__finder::before{
  content:"";
  position:absolute;
  inset:-40% -30%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), rgba(255,255,255,0) 55%);
  transform: rotate(12deg);
  pointer-events:none;
}
.tahm-hero__finder::after{
  content:"";
  position:absolute;
  right:-80px;
  top:-80px;
  width:220px;
  height:220px;
  background: radial-gradient(circle, rgba(254,210,58,.35), rgba(254,210,58,0) 70%);
  pointer-events:none;
}

.tahm-h1{ letter-spacing:.3px; }
.tahm-sub{ max-width:52ch; }

.tahm-finder-box{
  box-shadow:0 12px 34px rgba(0,0,0,.10);
  border:1px solid rgba(0,0,0,.06);
}
/* Brand tiles – colored accent + micro motion (fast) */
.tahm-brand{
  position:relative;
  overflow:hidden;
  border-radius:16px !important;
  padding:16px 14px !important;
  border:1px solid rgba(0,0,0,.10) !important;
  background:#fff !important;
  box-shadow:0 10px 26px rgba(0,0,0,.05);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.tahm-brand::before{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width:6px;
  background: var(--brand, var(--tahm-blue));
  border-radius:16px 0 0 16px;
}

.tahm-brand::after{
  content:"";
  position:absolute;
  right:-28px;
  top:-28px;
  width:90px;
  height:90px;
  background: radial-gradient(circle, rgba(0,0,0,.06), rgba(0,0,0,0) 70%);
  pointer-events:none;
}

.tahm-brand:hover{
  transform: translateY(-2px);
  box-shadow:0 16px 40px rgba(0,0,0,.10);
  border-color: rgba(0,0,0,.16) !important;
}

.tahm-brand{
  font-weight:900 !important;
  letter-spacing:.2px;
}
/* Brand colors by link (no extra images) */
.tahm-brands a[href*="/pantum"]{ --brand:#0161AE; }
.tahm-brands a[href*="/epson"]{ --brand:#0161AE; }
.tahm-brands a[href*="/xerox"]{ --brand:#0A86D2; }
.tahm-brands a[href*="/hp"]{ --brand:#0196F2; }
.tahm-brands a[href*="/ricoh"]{ --brand:#E91C00; }
.tahm-brands a[href*="/lexmark"]{ --brand:#0161AE; }

.tahm-brands a[href*="/brother"]{ --brand:#0196F2; }
.tahm-brands a[href*="/oki"]{ --brand:#E91C00; }
.tahm-brands a[href*="/samsung"]{ --brand:#0A86D2; }
.tahm-brands a[href*="/canon"]{ --brand:#E91C00; }
.tahm-brands a[href*="/kyocera"]{ --brand:#0161AE; }
.tahm-brands a[href*="/konica"]{ --brand:#0196F2; }
.tahm-card{
  border-radius:18px !important;
  box-shadow:0 14px 34px rgba(0,0,0,.06);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.tahm-card:hover{
  transform: translateY(-2px);
  box-shadow:0 18px 48px rgba(0,0,0,.10);
  border-color: rgba(0,0,0,.16) !important;
}

.tahm-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:6px;
}
.tahm-link::after{
  content:"→";
  font-weight:900;
}
.tahm-trust__item strong{
  display:flex;
  align-items:center;
  gap:10px;
}
.tahm-trust__item:nth-child(1) strong::before{ content:"👍"; }
.tahm-trust__item:nth-child(2) strong::before{ content:"🚚"; }
.tahm-trust__item:nth-child(3) strong::before{ content:"⭐"; }
.tahm-trust__item:nth-child(4) strong::before{ content:"🧾"; }
/* Brand tiles with SVG badges */
.tahm-brands{
  display:grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap:12px;
}

.tahm-brand{
  background:#fff;
  border:1px solid rgba(0,0,0,.10);
  border-radius:18px;
  padding:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:82px;
  box-shadow:0 14px 34px rgba(0,0,0,.06);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.tahm-brand:hover{
  transform: translateY(-2px);
  box-shadow:0 18px 48px rgba(0,0,0,.10);
  border-color: rgba(0,0,0,.16);
}

.tahm-brand__logo{
  width:100%;
  max-width:170px;
  height:44px;
  object-fit:contain;
  display:block;
}

@media (max-width: 1023px){
  .tahm-brands{ grid-template-columns: repeat(3, minmax(0,1fr)); }
  .tahm-brand{ min-height:74px; }
  .tahm-brand__logo{ max-width:150px; height:40px; }
}
/* =========================
   tahm.ee – New Home styles
   ========================= */
.tahm-home{
  --tahm-blue:#0196F2;
  --tahm-blue2:#0161AE;
  --tahm-sky:#E2F4FF;
  --tahm-yellow:#FED23A;
  --tahm-text:#111;
  --tahm-muted:#494949;
  font-family: Rubik, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* ---- HERO ---- */
.tahm-hero{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap:24px;
  align-items:stretch;
  margin: 18px 0 26px;
}
.tahm-hero__banner{
  background:var(--tahm-sky);
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.06);
  min-height:340px;
}
.tahm-hero__banner img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.tahm-hero__finder{
  background: linear-gradient(135deg, var(--tahm-blue2), var(--tahm-blue));
  position:relative;
  overflow:hidden;
  border-radius:18px;
  padding:22px;
  color:#fff;
  border:1px solid rgba(0,0,0,.06);
}
.tahm-hero__finder::before{
  content:"";
  position:absolute;
  inset:-40% -30%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.18), rgba(255,255,255,0) 55%);
  transform: rotate(12deg);
  pointer-events:none;
}
.tahm-hero__finder::after{
  content:"";
  position:absolute;
  right:-80px;
  top:-80px;
  width:220px;
  height:220px;
  background: radial-gradient(circle, rgba(254,210,58,.35), rgba(254,210,58,0) 70%);
  pointer-events:none;
}

.tahm-h1{
  font-family: "Russo One", Rubik, sans-serif;
  font-weight:400;
  font-size:34px;
  line-height:1.05;
  margin:0 0 10px;
  letter-spacing:.3px;
}
.tahm-sub{ margin:0 0 14px; opacity:.95; max-width:52ch; }

.tahm-finder-box{
  background:#FFFFFF;
  border-radius:14px;
  padding:14px;
  color:#000;
  box-shadow:0 12px 34px rgba(0,0,0,.10);
  border:1px solid rgba(0,0,0,.06);
}

.tahm-cta-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}
.tahm-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 14px;
  border-radius:14px;
  text-decoration:none;
  font-weight:700;
  line-height:1.2;
  border:1px solid rgba(255,255,255,.35);
  font-size:14px;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.tahm-btn--primary{
  background:var(--tahm-yellow);
  color:#000;
  border-color:var(--tahm-yellow);
}
.tahm-btn--ghost{
  background:rgba(255,255,255,.10);
  color:#fff;
  border-color:rgba(255,255,255,.30);
}
.tahm-btn:hover{
  transform: translateY(-2px);
  box-shadow:0 16px 42px rgba(0,0,0,.10);
}

/* ---- BRANDS ---- */
.tahm-section{ margin: 28px 0; }
.tahm-h2{ font-size:26px; margin:0 0 8px; color:#000; }
.tahm-h3{ font-size:18px; margin:0 0 6px; color:#000; }
.tahm-muted{ margin:0 0 14px; color:#494949; }

.tahm-brands{
  display:grid;
  grid-template-columns: repeat(6, minmax(0,1fr));
  gap:12px;
}
.tahm-brand{
  background:#fff;
  border:1px solid rgba(0,0,0,.10);
  border-radius:18px;
  padding:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:82px;
  box-shadow:0 14x 34px rgba(0,0,0,.06);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.tahm-brand:hover{
  transform: translateY(-2px);
  box-shadow:0 18px 48px rgba(0,0,0,.10);
  border-color: rgba(0,0,0,.16);
}

.tahm-brand__logo{
  width:100%;
  max-width:170px;
  height:44px;
  object-fit:contain;
  display:block;
}

@media (max-width: 1023px){
  .tahm-hero{ grid-template-columns:1fr; }
  .tahm-brands{ grid-template-columns: repeat(3, minmax(0,1fr)); }
  .tahm-cards{ grid-template-columns:1fr; }
  .tahm-trust{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .tahm-h1{ font-size:28px; }

  .tahm-brand{ min-height:74px; }
  .tahm-brand__logo{ max-width:150px; height:40px; }
}

/* ---- CARDS ---- */
.tahm-cards{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:14px;
}
.tahm-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.10);
  border-radius:18px;
  padding:16px;
  box-shadow:0 14px 34px rgba(0,0,0,.06);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.tahm-card:hover{
  transform: translateY(-2px);
  box-shadow:0 18px 48px rgba(0,0,0,.10);
  border-color: rgba(0,0,0,.16);
}
.tahm-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:6px;
  text-decoration:none;
  color:#0161AE;
  font-weight:700;
}
.tahm-link::after{
  content:"→";
  font-weight:900;
}

/* ---- TRUST ---- */
.tahm-trust{
  background:var(--tahm-sky);
  border:1px solid rgba(0,0,0,.06);
  border-radius:18px;
  padding:16px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:12px;
}
.tahm-trust__item{
  background:#fff;
  border-radius:14px;
  padding:14px;
  border:1px solid rgba(0,0,0,.08);
  display:flex;
  flex-direction:column;
  gap:4px;
}
.tahm-trust__item strong{
  display:flex;
  align-items:center;
  gap:10px;
}
.tahm-trust__item span{
  color:#494949;
  font-weight:600;
}

.tahm-trust__item:nth-child(1) strong::before{ content:"👍"; }
.tahm-trust__item:nth-child(2) strong::before{ content:"🚚"; }
.tahm-trust__item:nth-child(3) strong::before{ content:"⭐"; }
.tahm-trust__item:nth-child(4) strong::before{ content:"🧾"; }

/* ---- CONTACT / CF7 ---- */
#kusi-nou .wpcf7{
  max-width:600px;
  margin-top:14px;
}
#kusi-nou .wpcf7 input,
#kusi-nou .wpcf7 textarea,
#kusi-nou .wpcf7 select{
  width:100%;
  padding:12px;
  border:1px solid rgba(0,0,0,.15);
  border-radius:12px;
  margin-bottom:12px;
  font-family: Rubik, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  box-sizing:border-box;
}
#kusi-nou .wpcf7 input:focus,
#kusi-nou .wpcf7 textarea:focus,
#kusi-nou .wpcf7 select:focus{
  outline:none;
  border-color:var(--tahm-blue);
}
#kusi-nou .wpcf7-submit{
  background:var(--tahm-yellow);
  color:#000;
  border:none;
  padding:14px 18px;
  border-radius:12px;
  font-weight:700;
  cursor:pointer;
  transition: transform .14s ease, box-shadow .14s ease;
}
#kusi-nou .wpcf7-submit:hover{
  transform: translateY(-2px);
  box-shadow:0 14px 32px rgba(0,0,0,.10);
}
/* =========================================================
   ESILEHT-UUS (page-id-106250) – visual fixes
   ========================================================= */

/* 1) Push content below sticky header (fix hero/search under header) */
body.page-id-106250 .site-content{
  padding-top: 110px !important;
}
@media (max-width: 768px){
  body.page-id-106250 .site-content{
    padding-top: 120px !important;
  }
}

/* Optional: remove extra top margin so spacing looks clean */
body.page-id-106250 .tahm-hero{
  margin-top: 0 !important;
}

/* 2) Brands grid – stable layout (desktop/laptop/mobile) */
body.page-id-106250 .tahm-brands{
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 1366px){
  body.page-id-106250 .tahm-brands{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1024px){
  body.page-id-106250 .tahm-brands{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px){
  body.page-id-106250 .tahm-brands{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.page-id-106250 .tahm-brand{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height: 82px !important;
}

/* WP editor sometimes wraps links into <p> and adds <br> -> breaks grid */
body.page-id-106250 .tahm-brands > p{
  display: contents !important;
  margin: 0 !important;
}
body.page-id-106250 .tahm-brands br{
  display: none !important;
}

/* =========================================================
   ESILEHT-UUS (page-id-106250) – CONTACT form layout
   ========================================================= */

body.page-id-106250 #kusi-nou{
  max-width: 1200px;
  margin: 0 auto;
}

body.page-id-106250 #kusi-nou .wpcf7,
body.page-id-106250 #kusi-nou .wpcf7 form{
  width: 100% !important;
  max-width: 100% !important;
}

/* Сделаем сетку формы: 2 колонки на десктопе */
body.page-id-106250 #kusi-nou .wpcf7 form{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}

/* Поля на всю ширину */
body.page-id-106250 #kusi-nou .wpcf7 form p{
  margin: 0 !important;
}

body.page-id-106250 #kusi-nou .wpcf7 textarea,
body.page-id-106250 #kusi-nou .wpcf7 input[type="text"],
body.page-id-106250 #kusi-nou .wpcf7 input[type="email"],
body.page-id-106250 #kusi-nou .wpcf7 input[type="tel"]{
  width: 100% !important;
  box-sizing: border-box;
}

/* Сообщение и кнопка на всю ширину */
body.page-id-106250 #kusi-nou .wpcf7 textarea,
body.page-id-106250 #kusi-nou .wpcf7 .wpcf7-form-control-wrap:has(textarea){
  grid-column: 1 / -1;
}

body.page-id-106250 #kusi-nou .wpcf7 input[type="submit"],
body.page-id-106250 #kusi-nou .wpcf7 .wpcf7-spinner,
body.page-id-106250 #kusi-nou .wpcf7 .wpcf7-response-output,
body.page-id-106250 #kusi-nou .wpcf7 .wpcf7-acceptance{
  grid-column: 1 / -1;
}

/* На мобиле — 1 колонка */
@media (max-width: 768px){
  body.page-id-106250 #kusi-nou .wpcf7 form{
    grid-template-columns: 1fr;
  }
}
/* =========================
   ESILEHT-UUS: HERO polish
   ========================= */
body.page-id-106250 .tahm-hero{
  max-width: 1200px;
  margin: 0 auto 26px;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

@media (max-width: 1024px){
  body.page-id-106250 .tahm-hero{
    grid-template-columns: 1fr;
  }
}

body.page-id-106250 .tahm-hero__banner,
body.page-id-106250 .tahm-hero__finder{
  border-radius: 16px;
  overflow: hidden;
}

body.page-id-106250 .tahm-hero__banner img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* =========================
   ESILEHT-UUS: Brands section polish
   ========================= */
body.page-id-106250 .tahm-section{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

body.page-id-106250 .tahm-section .tahm-h2{
  margin-bottom: 6px;
}

body.page-id-106250 .tahm-brands{
  margin-top: 12px;
  margin-bottom: 24px;
}

body.page-id-106250 .tahm-brand{
  border: 1px solid #E9E9E9;
  border-radius: 14px;
  background: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}

body.page-id-106250 .tahm-brand:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}
/* =========================
   ESILEHT-UUS: Service cards
   ========================= */
body.page-id-106250 .tahm-cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
  margin: 18px 0 22px;
}

@media (max-width: 900px){
  body.page-id-106250 .tahm-cards{
    grid-template-columns: 1fr;
  }
}

body.page-id-106250 .tahm-card{
  border: 1px solid #E9E9E9;
  border-radius: 16px;
  background: #fff;
  padding: 18px;
  min-height: 140px;
}
/* =========================
   ESILEHT-UUS: Trust strip
   ========================= */
body.page-id-106250 .tahm-trust{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 10px;
  margin: 10px auto 24px;
  padding: 0 16px;
  max-width: 1200px;
}

@media (max-width: 900px){
  body.page-id-106250 .tahm-trust{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}

body.page-id-106250 .tahm-trust__item{
  background: #E2F4FF;
  border: 1px solid #D6D6D6;
  border-radius: 14px;
  padding: 12px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
/* =========================
   ESILEHT-UUS: Typography
   ========================= */
body.page-id-106250 .tahm-h1{
  margin: 0 0 6px;
  line-height: 1.1;
}

body.page-id-106250 .tahm-sub{
  margin: 0 0 14px;
  opacity: .9;
}

body.page-id-106250 .tahm-muted{
  opacity: .8;
}
/* =========================
   HERO banner: controlled height
   ========================= */
body.page-id-106250 .tahm-hero__banner{
  height: 320px;           /* десктоп */
}

@media (max-width: 1366px){
  body.page-id-106250 .tahm-hero__banner{
    height: 300px;
  }
}

@media (max-width: 1024px){
  body.page-id-106250 .tahm-hero__banner{
    height: 260px;
  }
}

@media (max-width: 600px){
  body.page-id-106250 .tahm-hero__banner{
    height: 220px;
  }
}

/* картинка всегда красиво заполняет */
body.page-id-106250 .tahm-hero__banner img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* =========================
   TRUST: cleaner, more modern
   ========================= */
body.page-id-106250 .tahm-trust{
  margin-top: 14px;
  margin-bottom: 18px;
}

body.page-id-106250 .tahm-trust__item{
  background: #FFFFFF !important;
  border: 1px solid #E9E9E9 !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  justify-content: flex-start !important;
  gap: 12px !important;
}

body.page-id-106250 .tahm-trust__item strong{
  font-size: 18px;
  line-height: 1.1;
  color: #000;
}

body.page-id-106250 .tahm-trust__item span{
  font-size: 14px;
  opacity: .75;
}
/* =========================
   CONTACT: remove bottom whitespace
   ========================= */
body.page-id-106250 #kusi-nou{
  padding-bottom: 18px !important;
  margin-bottom: 0 !important;
}

body.page-id-106250 #kusi-nou .wpcf7 form{
  margin-bottom: 0 !important;
}

body.page-id-106250 #kusi-nou .wpcf7 form p:last-of-type{
  margin-bottom: 0 !important;
}

/* CF7 messages can create big empty area */
body.page-id-106250 #kusi-nou .wpcf7-response-output{
  margin: 10px 0 0 !important;
  padding: 10px 12px !important;
}
/* =========================================================
   ESILEHT-UUS: CTA row under hero (clean solution)
   ========================================================= */
body.page-id-106250 .tahm-hero-cta{
  margin-top: 14px;
}

body.page-id-106250 .tahm-hero-cta .tahm-cta-row{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
}

@media (max-width: 1024px){
  body.page-id-106250 .tahm-hero-cta .tahm-cta-row{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media (max-width: 600px){
  body.page-id-106250 .tahm-hero-cta .tahm-cta-row{
    grid-template-columns: 1fr;
  }
}

body.page-id-106250 .tahm-hero-cta .tahm-cta-row a{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border-radius: 14px;
  font-weight: 600;
  text-align: center;
}
/* =========================================================
   ESILEHT-UUS: HERO align (banner = finder height)
   ========================================================= */
@media (min-width: 1025px){
  body.page-id-106250 .tahm-hero{
    align-items: stretch !important;
  }

  body.page-id-106250 .tahm-hero__banner,
  body.page-id-106250 .tahm-hero__finder{
    height: 100% !important;
  }

  body.page-id-106250 .tahm-hero__banner img{
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }
}
/* =========================================================
   ESILEHT-UUS: CTA row under hero – grid + colors
   ========================================================= */

/* если WP обернул ссылки в <p> / добавил <br> */
body.page-id-106250 .tahm-hero-cta .tahm-cta-row > p{
  display: contents !important;
  margin: 0 !important;
}
body.page-id-106250 .tahm-hero-cta .tahm-cta-row br{
  display: none !important;
}

body.page-id-106250 .tahm-hero-cta .tahm-cta-row{
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 0 !important;
}

@media (max-width: 1024px){
  body.page-id-106250 .tahm-hero-cta .tahm-cta-row{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 600px){
  body.page-id-106250 .tahm-hero-cta .tahm-cta-row{
    grid-template-columns: 1fr !important;
  }
}

/* базовый стиль кнопок (чтобы не были белыми) */
body.page-id-106250 .tahm-hero-cta .tahm-cta-row a{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 52px !important;
  border-radius: 14px !important;
  text-decoration: none !important;
  font-weight: 700 !important;
  text-align: center !important;
  padding: 12px 14px !important;
  border: 0 !important;
}

/* твои варианты по классам */
body.page-id-106250 .tahm-hero-cta .tahm-btn--primary{
  background: #FED23A !important;
  color: #000000 !important;
}

body.page-id-106250 .tahm-hero-cta .tahm-btn--ghost{
  background: #0196F2 !important;
  color: #FFFFFF !important;
}
/* Final polish: CTA buttons under hero */
@media (min-width: 1025px){
  body.page-id-106250 .tahm-hero-cta .tahm-cta-row{
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
  body.page-id-106250 .tahm-hero-cta .tahm-cta-row a{
    min-height: 54px !important;
    font-size: 14px;
  }
}
body.page-id-106250 .tahm-brands{
  margin-top: 14px;
  margin-bottom: 22px;
}
body.page-id-106250 .tahm-brand{
  box-shadow: 0 6px 14px rgba(0,0,0,.06);
}
body.page-id-106250 #kusi-nou{
  padding-bottom: 10px !important;
}
body.page-id-106250 .site-content{
  padding-bottom: 20px;
}
/* =========================================================
   ESILEHT-UUS (page-id-106250) – MOBILE (banner OFF)
   ========================================================= */
@media (max-width: 768px){

  /* 1) Hide banner image completely on mobile */
  body.page-id-106250 .tahm-hero__banner{
    display: none !important;
  }

  /* 2) Make hero single-column and compact */
  body.page-id-106250 .tahm-hero{
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 0 14px !important;
    margin-bottom: 16px !important;
  }

  /* 3) Finder box: full width, nice spacing */
  body.page-id-106250 .tahm-hero__finder{
    border-radius: 16px !important;
    padding: 16px !important;
  }

  body.page-id-106250 .tahm-hero__finder .tahm-h1{
    font-size: 28px !important;
    line-height: 1.05 !important;
    margin: 0 0 6px !important;
  }

  body.page-id-106250 .tahm-hero__finder .tahm-sub{
    font-size: 14px !important;
    margin: 0 0 12px !important;
    opacity: .9;
  }

  /* 4) Search form spacing (shortcode output) */
  body.page-id-106250 .tahm-finder-box{
    margin: 0 0 12px !important;
  }

  /* 5) CTA buttons under hero: 2 columns */
  body.page-id-106250 .tahm-hero-cta{
    padding: 0 14px !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
  }

  body.page-id-106250 .tahm-hero-cta .tahm-cta-row{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  body.page-id-106250 .tahm-hero-cta .tahm-cta-row a{
    min-height: 46px !important;
    padding: 10px 12px !important;
    font-size: 14px !important;
    border-radius: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    text-decoration: none !important;
    font-weight: 700 !important;
  }

  /* 6) Brands grid: 2 columns */
  body.page-id-106250 .tahm-brands{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  /* 7) Service cards: 1 column */
  body.page-id-106250 .tahm-cards{
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  /* 8) Trust: 2x2 */
  body.page-id-106250 .tahm-trust{
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 10px !important;
    padding: 0 14px !important;
  }

  /* 9) Contact padding */
  body.page-id-106250 #kusi-nou{
    padding: 0 14px 10px !important;
  }

  body.page-id-106250 #kusi-nou .wpcf7 input[type="submit"]{
    width: 100% !important;
    min-height: 52px !important;
  }
}
/* =========================================================
   ESILEHT-UUS – MOBILE: reduce side paddings
   ========================================================= */
@media (max-width: 768px){

  /* Общий контейнер */
  body.page-id-106250 .tahm-hero,
  body.page-id-106250 .tahm-hero-cta,
  body.page-id-106250 .tahm-section,
  body.page-id-106250 #kusi-nou{
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  /* Finder (поиск) – можно ещё плотнее */
  body.page-id-106250 .tahm-hero__finder{
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  /* Карточки брендов и услуг — почти во всю ширину */
  body.page-id-106250 .tahm-brand,
  body.page-id-106250 .tahm-card,
  body.page-id-106250 .tahm-trust__item{
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
/* =========================================================
   ESILEHT-UUS – MOBILE: remove theme side gutters (full width)
   ========================================================= */
@media (max-width: 768px){

  /* 1) Убираем боковые "поля" темы на этой странице */
  body.page-id-106250 .site-content,
  body.page-id-106250 .content-area,
  body.page-id-106250 #primary,
  body.page-id-106250 main,
  body.page-id-106250 article,
  body.page-id-106250 .inside-article{
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

  /* иногда тема добавляет контейнер внутри */
  body.page-id-106250 .inside-article,
  body.page-id-106250 .entry-content{
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* 2) Теперь даём минимальный safe-padding уже твоим секциям */
  body.page-id-106250 .tahm-hero,
  body.page-id-106250 .tahm-hero-cta,
  body.page-id-106250 .tahm-section,
  body.page-id-106250 #kusi-nou{
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  /* 3) Finder можно чуть шире внутри (чтобы не липло) */
  body.page-id-106250 .tahm-hero__finder{
    padding: 14px !important;
  }
}
/* =========================================================
   ESILEHT-UUS – MOBILE: hero/cta final polish
   ========================================================= */
@media (max-width: 768px){

  /* 1) tighter vertical rhythm */
  body.page-id-106250 .tahm-hero{
    margin-bottom: 10px !important;
  }
  body.page-id-106250 .tahm-hero-cta{
    margin-top: 8px !important;
    margin-bottom: 8px !important;
  }
  body.page-id-106250 .tahm-section{
    margin-top: 12px !important;
  }

  /* 2) Finder block: less padding, cleaner */
  body.page-id-106250 .tahm-hero__finder{
    padding: 14px !important;
    border-radius: 16px !important;
  }

  body.page-id-106250 .tahm-hero__finder .tahm-h1{
    font-size: 28px !important;
    margin: 0 0 6px !important;
  }
  body.page-id-106250 .tahm-hero__finder .tahm-sub{
    font-size: 14px !important;
    margin: 0 0 10px !important;
  }

  /* 3) Make the search selects uniform height */
  body.page-id-106250 .tahm-finder-box select,
  body.page-id-106250 .tahm-finder-box input{
    min-height: 46px !important;
    border-radius: 14px !important;
  }

  /* 4) CTA 2x2: same height, no weird wraps */
  body.page-id-106250 .tahm-hero-cta .tahm-cta-row a{
    min-height: 48px !important;
    padding: 10px 10px !important;
    font-size: 14px !important;
    line-height: 1.15 !important;
  }

  /* 5) Give bottom safe-space so floating widgets don't overlap CTA */
  body.page-id-106250 .tahm-hero-cta{
    padding-bottom: 22px !important;
  }
}
/* =========================================================
   ESILEHT-UUS – MOBILE: compact bottom (form + footer)
   ========================================================= */
@media (max-width: 768px){

  /* 1) Contact section: меньше воздуха */
  body.page-id-106250 #kusi-nou{
    margin-bottom: 0 !important;
    padding-bottom: 6px !important;
  }

  body.page-id-106250 #kusi-nou .tahm-h2{
    margin-bottom: 6px !important;
  }

  body.page-id-106250 #kusi-nou .tahm-muted{
    margin-bottom: 10px !important;
  }

  /* 2) CF7: уменьшаем поля и textarea */
  body.page-id-106250 #kusi-nou .wpcf7 form{
    gap: 10px !important;
    margin-bottom: 0 !important;
  }

  body.page-id-106250 #kusi-nou .wpcf7 textarea{
    min-height: 120px !important;  /* было слишком большое */
    height: 120px !important;
  }

  body.page-id-106250 #kusi-nou .wpcf7 p{
    margin: 0 !important;
  }

  body.page-id-106250 #kusi-nou .wpcf7 .wpcf7-response-output{
    margin: 8px 0 0 !important;
    padding: 8px 10px !important;
  }

  body.page-id-106250 #kusi-nou .wpcf7 input[type="submit"]{
    margin-top: 6px !important;
  }

  /* 3) Убираем лишний нижний отступ у контентной области */
  body.page-id-106250 .site-content{
    padding-bottom: 10px !important;
  }

  /* 4) Footer: компактнее (карта на мобиле лучше скрывать) */
  body.page-id-106250 footer{
    padding-top: 18px !important;
    padding-bottom: 18px !important;
  }

  /* Если карта в футере есть — она сильно раздувает низ */
  body.page-id-106250 footer iframe,
  body.page-id-106250 footer .google-map{
    display: none !important;
  }
}
/* =========================================================
   MOBILE: hide floating widgets (chat + recaptcha)
   ========================================================= */
@media (max-width: 768px){

  /* Google reCAPTCHA badge */
  .grecaptcha-badge{
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }

  /* Common chat widgets (safe generic selectors) */
  iframe[src*="tawk"],
  iframe[src*="crisp"],
  iframe[src*="zendesk"],
  iframe[src*="chat"],
  iframe[src*="help"],
  .chat-widget,
  .chat-bubble,
  .support-widget{
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
  }
}
