/*
Theme Name: Yurkas
Theme URI: https://dveri-24.by
Author: dveri-24.by
Description: Фирменная тема каталога дверей Юркас по брендбуку 2026.
Version: 1.10.12
Requires at least: 6.7
Requires PHP: 8.0
Text Domain: yurkas
*/

:root {
  --y-orange: #ffe743;
  --y-graphite: #303938;
  --y-black: #0b0c0c;
  --y-white: #fff;
  --y-mist: #f4f4f1;
  --y-line: rgba(48, 57, 56, .14);
  --y-radius: 16px;
  --y-shadow: 0 24px 70px rgba(15, 18, 18, .12);
}

/* Compact customer-information navigation above the main header. */
.y-service-nav { position: relative; z-index: 101; border-bottom: 1px solid rgba(255,255,255,.13); background: var(--y-graphite); color: #fff; }
.y-service-nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 44px; overflow-x: auto; scrollbar-width: none; }
.y-service-nav__inner::-webkit-scrollbar { display: none; }
.y-service-nav a { flex: 0 0 auto; padding: 13px 2px; color: #fff; font-family: "Open Sans",Arial,sans-serif; font-size: 13px; font-weight: 800; line-height: 1.35; letter-spacing: .01em; text-decoration: none; text-shadow: 0 1px 1px rgba(0,0,0,.22); white-space: nowrap; transition: color .18s ease; }
.y-service-nav a:hover, .y-service-nav a:focus-visible { color: var(--y-orange); }

/* Unified information-page system. */
.page:has(.y-info-page) .wp-block-post-title { display: none; }
.page:has(.y-info-page) main.y-shell.y-section { padding: 46px 0 100px; }
.page:has(.y-info-page) .entry-content.wp-block-post-content { width: 100%; max-width: none; margin-top: 0; }
.y-info-page { color: var(--y-graphite); }
.y-info-breadcrumb { margin: 0 0 18px; color: #777f7e; font: 400 13px/1.55 "Open Sans",Arial,sans-serif; }
.y-info-breadcrumb a { color: var(--y-graphite); text-underline-offset: 3px; }
.y-info-title { margin: 0 0 24px; font-size: clamp(27px,2.7vw,38px); line-height: 1.08; letter-spacing: -.02em; }
.y-info-hero { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(240px,.45fr); align-items: stretch; background: var(--y-graphite); color: #fff; }
.y-info-hero__copy { padding: clamp(28px,4vw,48px); }
.y-info-kicker { display: block; margin-bottom: 16px; color: var(--y-orange); font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.y-info-hero h2 { max-width: 780px; margin: 0; color: #fff; font-size: clamp(26px,2.8vw,36px); line-height: 1.1; letter-spacing: -.02em; }
.y-info-hero p { max-width: 780px; margin: 20px 0 0; color: rgba(255,255,255,.78); font-size: clamp(16px,1.5vw,20px); line-height: 1.55; }
.y-info-hero__mark { display: grid; place-items: center; min-height: 250px; background: var(--y-orange); color: #111; font-size: clamp(64px,8vw,118px); font-weight: 900; line-height: 1; }
.y-info-section { padding-top: clamp(38px,5vw,60px); }
.y-info-section > h2 { max-width: 900px; margin: 0 0 18px; font-size: clamp(23px,2.3vw,31px); line-height: 1.12; letter-spacing: -.015em; }
.y-info-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; padding: 1px; background: var(--y-line); }
.y-info-card { min-height: 190px; padding: clamp(24px,3vw,38px); background: #fff; }
.y-info-card h3 { margin: 0 0 10px; font-size: clamp(19px,1.7vw,24px); line-height: 1.16; }
.y-info-card p { margin: 0; color: #5f6867; line-height: 1.65; }
.y-info-card strong { color: var(--y-graphite); }
.y-info-price-table { overflow: hidden; border: 1px solid var(--y-line); background: #fff; }
.y-info-price-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(170px,24%); align-items: center; border-top: 1px solid var(--y-line); }
.y-info-price-row:first-child { border-top: 0; }
.y-info-price-row > * { padding: 19px 24px; line-height: 1.45; }
.y-info-price-row > :last-child { border-left: 1px solid var(--y-line); color: var(--y-graphite); }
.y-info-price-row--head { background: var(--y-graphite); color: #fff; font-size: 14px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.y-info-price-row--head > :last-child { color: #fff; }
.y-info-list { max-width: 1040px; margin: 0; padding-left: 1.3em; font-size: clamp(16px,1.35vw,19px); line-height: 1.7; }
.y-info-list li + li { margin-top: 10px; }
.y-info-list li::marker { color: var(--y-orange); }
.y-info-note { margin-top: 54px; padding: 26px 30px; border-left: 6px solid var(--y-orange); background: #f1f2ef; line-height: 1.6; }
.y-info-note p { margin: 8px 0 0; }
.y-info-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.y-info-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 20px; border: 2px solid var(--y-orange); background: var(--y-orange); color: #111; font-weight: 800; text-decoration: none; transition: transform .18s ease,background .18s ease; }
.y-info-button:hover { transform: translateY(-2px); background: #fff; color: #111; }
.y-info-button--secondary { background: transparent; color: var(--y-graphite); }
.y-info-hero .y-info-button--secondary { color: #fff; }

@media (max-width: 960px) {
  .y-service-nav__inner { justify-content: flex-start; min-height: 42px; }
  .y-service-nav a { padding-block: 11px; font-size: 12px; }
  .y-info-hero { grid-template-columns: 1fr; }
  .y-info-hero__mark { min-height: 150px; }
}

@media (max-width: 640px) {
  .y-service-nav__inner { gap: 20px; padding-inline: 14px; }
  .page:has(.y-info-page) main.y-shell.y-section { padding-top: 30px; }
  .y-info-title { margin-bottom: 24px; }
  .y-info-hero__copy { padding: 30px 20px; }
  .y-info-grid { grid-template-columns: 1fr; }
  .y-info-price-row { grid-template-columns: 1fr; }
  .y-info-price-row > :last-child { padding-top: 0; border-left: 0; }
  .y-info-price-row--head { display: none; }
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }

/* Product catalog archives start directly with breadcrumbs and their content. */
body.post-type-archive-product .y-catalog-head,
body.tax-product_cat .y-catalog-head,
body.tax-product_tag .y-catalog-head,
body.tax-product_brand .y-catalog-head { display: none; }

/* Entrance archive: factory-style horizontal series slider. */
.y-entrance-collections {
  width: 100%;
  margin: 24px 0 46px;
}
.y-entrance-collections__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}
.y-entrance-collections__head h2 {
  margin: 0;
  color: var(--y-graphite);
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1.08;
  letter-spacing: -.02em;
}
.y-entrance-collections__arrows { display: flex; gap: 12px; flex: 0 0 auto; }
.y-entrance-collections__arrow {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 64px;
  height: 64px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: #ececea;
  color: var(--y-graphite);
  font: inherit;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(48,57,56,.08);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease, background-color .28s ease, color .28s ease;
}
.y-entrance-collections__arrow::before,
.y-entrance-collection::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.52) 45%, transparent 70%);
  transform: translateX(-135%);
  transition: transform .62s cubic-bezier(.2,.75,.25,1);
}
.y-entrance-collections__arrow:hover,
.y-entrance-collections__arrow:focus-visible {
  background: var(--y-orange);
  color: #fff;
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 16px 30px rgba(255,164,0,.28), 0 4px 10px rgba(48,57,56,.14);
  outline: 0;
}
.y-entrance-collections__arrow:hover::before,
.y-entrance-collections__arrow:focus-visible::before,
.y-entrance-collection:hover::before,
.y-entrance-collection:focus-visible::before { transform: translateX(135%); }
.y-entrance-collections__arrow:disabled { opacity: .38; cursor: default; box-shadow: none; transform: none; }
.y-entrance-collections__viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  outline: 0;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}
.y-entrance-collections__viewport.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.y-entrance-collections__viewport::-webkit-scrollbar { display: none; }
.y-entrance-collections__track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 2px 2px 22px;
}
.y-entrance-collection {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex: 0 0 clamp(280px, 24vw, 360px);
  height: 235px;
  border: 0;
  border-radius: 0;
  background-color: #d9d9d6;
  background-position: center;
  background-size: cover;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 26px rgba(48,57,56,.10);
  transition: transform .28s cubic-bezier(.2,.8,.2,1), box-shadow .28s ease;
}
.y-entrance-collection::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,20,20,.02) 35%, rgba(16,20,20,.78) 100%);
}
.y-entrance-collection span {
  position: absolute;
  z-index: 3;
  right: 24px;
  bottom: 22px;
  left: 24px;
  color: #fff;
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -.025em;
  text-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.y-entrance-collection:hover,
.y-entrance-collection:focus-visible {
  transform: translateY(-5px) scale(1.012);
  box-shadow: 0 22px 44px rgba(48,57,56,.20), 0 0 0 3px var(--y-orange);
  outline: 0;
}
.y-quick-picks { margin-top: -14px; margin-bottom: 28px; }
.y-quick-picks .y-entrance-collections__head { margin-bottom: 14px; }
.y-quick-picks .y-entrance-collections__head h2 { font-size: clamp(25px, 2.2vw, 34px); }
.y-quick-picks .y-entrance-collections__arrow { width: 44px; height: 44px; font-size: 24px; }
.y-quick-picks .y-entrance-collections__track { gap: 14px; padding-bottom: 10px; }
.y-quick-pick {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 clamp(240px, 23vw, 330px);
  min-height: 64px;
  padding: 13px 22px;
  overflow: hidden;
  position: relative;
  border: 1px solid transparent;
  background: #eee;
  color: var(--y-black);
  font-size: clamp(15px, 1.15vw, 18px);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.y-quick-pick::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 15%, rgba(255,255,255,.75) 45%, transparent 75%);
  content: '';
  transform: translateX(-135%);
  transition: transform .55s ease;
}
.y-quick-pick:hover,
.y-quick-pick:focus-visible {
  background: var(--y-orange);
  box-shadow: 0 14px 28px rgba(255,164,0,.22);
  outline: 0;
  transform: translateY(-3px);
}
.y-quick-pick.is-active { background: var(--y-orange); box-shadow: inset 0 0 0 2px var(--y-black); }
.y-pick-result-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin: 8px 0 28px; scroll-margin-top: 150px; }
.y-pick-result-head h2 { margin: 0; font-size: clamp(24px, 2.4vw, 38px); }
.y-pick-reset { color: var(--y-graphite); font-weight: 800; white-space: nowrap; }
.y-products-anchor { display: block; height: 0; scroll-margin-top: 150px; }
.y-quick-pick:hover::before,
.y-quick-pick:focus-visible::before { transform: translateX(135%); }

@media (max-width: 640px) {
  .y-entrance-collections { margin: 18px 0 34px; }
  .y-entrance-collections__head { margin-bottom: 18px; }
  .y-entrance-collections__arrow { width: 48px; height: 48px; font-size: 27px; }
  .y-entrance-collections__track { gap: 12px; }
  .y-entrance-collection { flex-basis: min(82vw, 310px); height: 210px; }
  .y-entrance-collection span { right: 18px; bottom: 18px; left: 18px; }
  .y-quick-picks .y-entrance-collections__head h2 { font-size: 25px; }
  .y-quick-picks .y-entrance-collections__arrow { width: 40px; height: 40px; font-size: 22px; }
  .y-quick-pick { flex-basis: min(74vw, 270px); min-height: 60px; padding: 12px 18px; }
}
::selection { background: var(--y-orange); color: var(--y-black); }

a { text-underline-offset: .2em; }
.wp-site-blocks { min-height: 100vh; }

.y-shell { width: min(100% - 40px, 1440px); margin-inline: auto; }
.y-grid-bg {
  background-image:
    linear-gradient(var(--y-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--y-line) 1px, transparent 1px);
  background-size: 40px 40px;
}

.y-topline {
  background: var(--y-orange);
  color: var(--y-black);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.y-topline-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 46px; padding: 6px 0; }
.y-topline p { margin: 0; }
.y-topline-right, .y-header-contact, .y-header-messengers { display: flex; align-items: center; }
.y-topline-right { margin-left: auto; gap: 18px; }
.y-header-contact { gap: 12px; }
.y-header-address { display: inline-flex; align-items: center; gap: 8px; color: inherit; font-size: clamp(15px, 1.1vw, 19px); font-weight: 900; letter-spacing: 0; line-height: 1.15; text-decoration: none; text-transform: none; white-space: nowrap; transition: color .2s ease; }
.y-header-address svg { width: 22px; height: 22px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.y-header-address:hover { color: #fff; }
.y-header-phone { display: inline-flex; align-items: center; gap: 7px; color: inherit; font-size: clamp(16px, 1.15vw, 19px); font-weight: 900; letter-spacing: 0; line-height: 1; text-decoration: none; white-space: nowrap; transition: color .2s ease; }
.y-header-phone svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.y-header-phone:hover { color: #fff; }
.y-header-messengers { gap: 7px; }
.y-header-messenger { width: 30px; height: 30px; display: inline-grid; place-items: center; border-radius: 50%; color: #fff; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.y-header-messenger:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 5px 12px rgba(48, 57, 56, .24); }
.y-header-messenger svg { width: 17px; height: 17px; fill: currentColor; }
.y-header-messenger--viber { background: #7360f2; }
.y-header-messenger--telegram { background: #28a8e9; }
.y-header-messenger--whatsapp { background: #25d366; }
.y-quick-links { display: flex; gap: 22px; }
.y-quick-links a { color: inherit; text-decoration: none; }

.wp-site-blocks > header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--y-white);
  box-shadow: 0 8px 24px rgba(15, 18, 18, .10);
}
body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }

.y-header {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0);
  z-index: 40;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid var(--y-line);
  backdrop-filter: blur(16px);
}
.y-header-inner { position: relative; min-height: 88px; display: flex; align-items: center; gap: 14px; }
.y-logo img { display: block; width: 174px; height: auto; }
.y-catalog-button, .y-consult-button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; background: var(--y-orange); color: var(--y-black); font-weight: 800; text-decoration: none; white-space: nowrap; }
.y-consult-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  color: var(--y-white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(255, 164, 0, .22);
  transition: transform .28s cubic-bezier(.2, .8, .2, 1), box-shadow .28s ease, background-color .28s ease;
}
.y-consult-button::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.55) 45%, transparent 70%);
  transform: translateX(-135%);
  transition: transform .62s cubic-bezier(.2, .75, .25, 1);
}
.y-consult-button:hover {
  background: #ffad16;
  transform: translateY(-3px) scale(1.015);
  box-shadow: 0 16px 30px rgba(255, 164, 0, .34), 0 4px 10px rgba(48, 57, 56, .16);
}
.y-consult-button:hover::before { transform: translateX(135%); }
.y-consult-button:active { transform: translateY(-1px) scale(.99); box-shadow: 0 8px 18px rgba(255, 164, 0, .26); }
.y-consult-button:focus-visible { outline: 3px solid rgba(255, 164, 0, .34); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  .y-consult-button, .y-consult-button::before { transition: none; }
}
.y-catalog-menu { margin-left: 26px; }
.y-catalog-button { color: var(--y-white); cursor: pointer; list-style: none; border-radius: 8px; user-select: none; }
.y-catalog-button::-webkit-details-marker { display: none; }
.y-catalog-icon { flex: 0 0 24px; }
.y-catalog-icon-open {
  background:
    linear-gradient(currentColor, currentColor) center calc(50% - 7px) / 20px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 20px 2px no-repeat,
    linear-gradient(currentColor, currentColor) center calc(50% + 7px) / 20px 2px no-repeat;
}
.y-catalog-icon-open path { display: none; }
.y-catalog-icon-close, .y-catalog-label-close { display: none; }
.y-catalog-menu[open] .y-catalog-icon-open, .y-catalog-menu[open] .y-catalog-label-open { display: none; }
.y-catalog-menu[open] .y-catalog-icon-close, .y-catalog-menu[open] .y-catalog-label-close { display: block; }
.y-catalog-menu:not([open]) .y-catalog-dropdown { display: none; }
.y-catalog-dropdown {
  position: absolute;
  z-index: 80;
  top: 100%;
  left: 0;
  width: min(1120px, 100%);
  height: min(620px, calc(100vh - 132px));
  display: grid;
  grid-template-columns: 320px 270px minmax(360px, 1fr);
  overflow: hidden;
  background: var(--y-white);
  border-radius: 0 0 16px 16px;
  box-shadow: 0 28px 55px rgba(15, 18, 18, .18);
}
.y-catalog-level { min-width: 0; overflow-y: auto; overscroll-behavior: contain; border-right: 1px solid var(--y-line); background: #fff; }
.y-catalog-level:last-child { border-right: 0; }
.y-catalog-heading { min-height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 24px; background: var(--y-graphite); color: var(--y-orange); font-size: 18px; font-weight: 800; letter-spacing: -.01em; }
.y-menu-bars { font-size: 21px; }
.y-catalog-row { width: 100%; min-height: 58px; display: grid; grid-template-columns: 28px minmax(0, 1fr) 16px; align-items: center; gap: 10px; padding: 0 20px; border: 0; border-bottom: 1px solid #e5e7e6; background: #fff; color: var(--y-graphite); font: inherit; font-size: 15.5px; font-weight: 700; line-height: 1.25; text-align: left; text-decoration: none; cursor: pointer; transition: background .16s ease, color .16s ease, box-shadow .16s ease; }
.y-catalog-row:hover, .y-catalog-row:focus-visible, .y-catalog-row.is-active { position: relative; z-index: 1; background: #fff8e8; color: #171b1a; box-shadow: inset 4px 0 0 var(--y-orange); outline: 0; }
.y-catalog-row b { justify-self: end; color: #87908e; font-size: 22px; font-weight: 400; }
.y-catalog-row:hover b, .y-catalog-row.is-active b { color: var(--y-orange); }
.y-menu-icon { width: 30px; height: 30px; display: grid; place-items: center; font-size: 20px; }
.y-catalog-root button .y-menu-icon { color: #707a78; font-size: 0; }
.y-catalog-root button .y-menu-icon svg { width: 23px; height: 23px; display: block; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.y-catalog-root button:hover .y-menu-icon,
.y-catalog-root button.is-active .y-menu-icon { color: var(--y-orange); }
.y-catalog-sale { grid-template-columns: 42px minmax(0, 1fr); }
.y-catalog-sale .y-menu-icon { width: 38px; height: 38px; border-radius: 50%; background: #ff1593; color: white; font-weight: 900; }
.y-catalog-all { display: block; padding: 24px 28px; color: #8d6500; font-weight: 800; text-decoration: none; }
.y-catalog-middle .y-catalog-row { grid-template-columns: minmax(0, 1fr) 16px; min-height: 58px; padding-inline: 24px 20px; font-size: 16px; }
.y-level-title { min-height: 64px; display: flex; align-items: center; padding: 0 24px; border-bottom: 1px solid #d9dddc; background: #f6f7f6; color: var(--y-graphite); font-size: 15px; font-weight: 800; letter-spacing: .025em; text-decoration: none; }
.y-catalog-root-panel[hidden], .y-catalog-group-panel[hidden] { display: none !important; }
.y-catalog-group-panel { min-height: 100%; }
.y-catalog-leaves::before { content: "Серии и коллекции"; min-height: 64px; display: flex; align-items: center; padding: 0 28px; border-bottom: 1px solid #d9dddc; background: #f6f7f6; color: #66706e; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.y-catalog-group-panel a { min-height: 58px; display: flex; align-items: center; padding: 0 28px; border-bottom: 1px solid #e5e7e6; color: var(--y-graphite); font-size: 16px; font-weight: 500; line-height: 1.25; text-decoration: none; transition: background .16s ease, color .16s ease, box-shadow .16s ease; }
.y-catalog-group-panel a:hover, .y-catalog-group-panel a:focus-visible, .y-catalog-group-panel a.is-current { position: relative; z-index: 1; background: #fff8e8; color: #171b1a; box-shadow: inset 4px 0 0 var(--y-orange); outline: 0; }
.y-search { position: relative; flex: 1; min-width: 180px; height: 48px; display: flex; border: 1px solid var(--y-line); background: white; }
.y-search input[type="search"] { flex: 1; min-width: 0; padding: 0 16px; border: 0; outline: 0; font: inherit; }
.y-search button { width: 50px; border: 0; background: transparent; font-size: 25px; cursor: pointer; }
.y-live-search { position: absolute; z-index: 120; top: calc(100% + 10px); right: -1px; left: -1px; max-height: min(70vh,560px); overflow: auto; border: 1px solid #d8dbd6; background: #fff; box-shadow: 0 20px 48px rgba(25,31,30,.2); }
.y-live-search[hidden] { display: none; }
.y-live-search__status { margin: 0; padding: 20px; color: #747a79; font-size: 14px; text-align: center; }
.y-live-search__item { min-height: 108px; display: grid; grid-template-columns: 86px minmax(0,1fr) auto; gap: 16px; align-items: center; padding: 12px; border-bottom: 1px solid #e6e8e4; color: var(--y-graphite); text-decoration: none; transition: background .16s ease; }
.y-live-search__item:last-child { border-bottom: 0; }
.y-live-search__item:hover, .y-live-search__item:focus-visible { background: #f3f4f1; outline: 0; }
.y-live-search__image { width: 86px; height: 86px; display: block; object-fit: contain; background: #e2e5e0; }
.y-live-search__body { min-width: 0; display: grid; gap: 8px; }
.y-live-search__title { overflow: hidden; font-size: 15px; font-weight: 800; line-height: 1.25; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.y-live-search__price { font-size: 15px; font-weight: 800; }
.y-live-search__button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; background: var(--y-orange); color: #111; font-size: 12px; font-weight: 800; white-space: nowrap; }
@media (max-width: 760px) { .y-live-search__item { grid-template-columns: 68px minmax(0,1fr); min-height: 92px; gap: 11px; } .y-live-search__image { width: 68px; height: 68px; } .y-live-search__button { grid-column: 2; width: fit-content; min-height: 34px; } }
.y-header-actions { display: flex; align-items: center; gap: 10px; }
.y-icon-link {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--y-line);
  color: var(--y-graphite);
  text-decoration: none;
}
.y-icon-link:hover { background: var(--y-orange); border-color: var(--y-orange); }

.y-measure-modal {
  width: min(646px, calc(100% - 32px));
  max-height: calc(100vh - 40px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 0;
  border-radius: 20px;
  background: var(--y-white);
  color: var(--y-graphite);
  box-shadow: 0 30px 90px rgba(0,0,0,.34);
}
.y-measure-modal::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(2px); }
.y-measure-card { position: relative; padding: 46px 48px 44px; }
.y-measure-close { position: absolute; top: 16px; right: 16px; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 4px; background: #efefef; color: var(--y-graphite); font-size: 31px; font-weight: 300; line-height: 1; cursor: pointer; }
.y-measure-close:hover { background: var(--y-orange); color: white; }
.y-measure-modal h2 { margin: 0 64px 12px 0; font-size: clamp(30px, 4vw, 36px); line-height: 1.04; letter-spacing: -.03em; }
.y-measure-intro { max-width: 520px; margin: 0 0 30px; color: #505655; font-size: 17px; line-height: 1.45; }
.y-measure-fields { display: grid; gap: 16px; }
.y-measure-field { display: block; }
.y-measure-field > span:first-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.y-measure-field .wpcf7-form-control-wrap { display: block; }
.y-measure-field input { width: 100%; height: 48px; box-sizing: border-box; padding: 0 12px; border: 1px solid #59605f; border-radius: 8px; background: white; color: var(--y-graphite); font: inherit; font-size: 17px; outline: 0; }
.y-measure-field input:focus { border-color: var(--y-orange); box-shadow: 0 0 0 3px rgba(255,164,0,.18); }
.y-measure-consent { margin-top: 2px; color: #565d5c; font-size: 12px; line-height: 1.45; }
.y-measure-consent .wpcf7-list-item { margin: 0; }
.y-measure-consent label { display: grid; grid-template-columns: 20px minmax(0,1fr); gap: 14px; align-items: start; cursor: pointer; }
.y-measure-consent input { width: 20px; height: 20px; margin: 0; appearance: none; border: 1.5px solid var(--y-orange); border-radius: 5px; background: white; cursor: pointer; }
.y-measure-consent input:checked { background: var(--y-orange); box-shadow: inset 0 0 0 4px white; }
.y-measure-submit { padding-top: 14px; text-align: center; }
.y-measure-submit .wpcf7-submit { min-height: 50px; padding: 0 24px; border: 0; border-radius: 8px; background: var(--y-orange); color: white; font: inherit; font-weight: 800; cursor: pointer; }
.y-measure-submit .wpcf7-spinner { display: block; margin: 10px auto 0; }
.y-measure-legal { max-width: 560px; margin: -4px auto 0; color: #707776; font-size: 12px; line-height: 1.5; text-align: center; }
.y-measure-modal .wpcf7-not-valid-tip { margin-top: 6px; color: #c2392f; font-size: 12px; }
.y-measure-modal .wpcf7-response-output { margin: 18px 0 0 !important; padding: 12px 14px !important; border-color: var(--y-orange) !important; border-radius: 8px; font-size: 13px; }
body.y-measure-open { overflow: hidden; }

.y-factory-hero { position: relative; aspect-ratio: 3838 / 1667; overflow: hidden; background: var(--y-graphite); touch-action: pan-y; user-select: none; cursor: grab; }
.y-factory-hero.is-dragging { cursor: grabbing; }
.y-factory-slide { position: absolute; inset: 0; z-index: 0; display: block; opacity: 0; pointer-events: none; transition: opacity .55s ease; -webkit-user-drag: none; }
.y-factory-slide.is-active { z-index: 2; opacity: 1; pointer-events: auto; }
.y-factory-slide:first-of-type { opacity: 1; }
.y-factory-hero.is-ready .y-factory-slide:first-of-type:not(.is-active) { opacity: 0; }
.y-factory-slide picture, .y-factory-slide img { display: block; width: 100%; height: 100%; }
.y-factory-slide img { object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.y-factory-arrows { position: absolute; z-index: 12; inset: 50% 24px auto; display: flex; justify-content: space-between; pointer-events: none; transform: translateY(-50%); }
.y-factory-arrow { width: 58px; height: 58px; padding: 0; border: 1px solid rgba(255,255,255,.65); border-radius: 0; background: rgba(19,20,21,.58); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; pointer-events: auto; backdrop-filter: blur(5px); transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.y-factory-arrow:hover, .y-factory-arrow:focus-visible { border-color: var(--y-orange); background: var(--y-orange); transform: scale(1.06); outline: none; }
.y-factory-counter { position: absolute; z-index: 11; left: 24px; bottom: 17px; display: flex; align-items: baseline; gap: 5px; padding: 6px 9px; background: rgba(19,20,21,.7); color: #fff; font-size: 13px; letter-spacing: .08em; }
.y-factory-counter b { color: var(--y-orange); font-size: 18px; }
.y-factory-dots { position: absolute; z-index: 10; left: 50%; bottom: 18px; width: min(720px, 66vw); display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; padding: 5px 7px; background: rgba(19,20,21,.55); transform: translateX(-50%); }
.y-factory-dot { position: relative; height: 12px; padding: 4px 0; overflow: hidden; border: 0; border-radius: 0; background: transparent; cursor: pointer; box-shadow: none; }
.y-factory-dot::before, .y-factory-dot::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; height: 6px; }
.y-factory-dot::before { background: rgba(255,255,255,.58); box-shadow: 0 1px 7px rgba(0,0,0,.25); }
.y-factory-dot::after { right: auto; width: 100%; background: var(--y-orange); transform: scaleX(0); transform-origin: left center; }
.y-factory-dot:hover::before, .y-factory-dot:focus-visible::before { background: rgba(255,255,255,.9); }
.y-factory-dot:focus-visible { outline: 2px solid var(--y-white); outline-offset: 2px; }
.y-factory-dot.is-active::after { animation: yFactoryProgress 6s linear forwards; }
.y-factory-hero.is-paused .y-factory-dot.is-active::after { animation-play-state: paused; }
@keyframes yFactoryProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.y-hero { position: relative; overflow: hidden; background: var(--y-graphite); color: var(--y-white); }
.y-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.45) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.45) 1px, transparent 1px);
  background-size: 56px 56px;
}
.y-hero::after {
  content: "";
  position: absolute;
  width: min(58vw, 820px);
  aspect-ratio: 1;
  right: -18%;
  top: -32%;
  border: clamp(72px, 10vw, 150px) solid var(--y-orange);
  border-radius: 50%;
  opacity: .92;
}
.y-hero-inner { position: relative; z-index: 2; padding: clamp(84px, 12vw, 180px) 0 clamp(72px, 10vw, 150px); }
.y-kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.y-kicker::before { content: ""; width: 48px; height: 3px; background: var(--y-orange); }
.y-hero h1 { max-width: 820px; margin: 0; font-size: clamp(34px, 4vw, 52px); line-height: 1.03; letter-spacing: -.025em; }
.y-hero h1 em { color: var(--y-orange); font-style: normal; }
.y-hero-copy { display: grid; grid-template-columns: minmax(0, 600px) auto; align-items: end; gap: 40px; margin-top: clamp(42px, 7vw, 88px); }
.y-hero-copy p { margin: 0; color: rgba(255,255,255,.72); font-size: clamp(17px, 1.5vw, 22px); line-height: 1.55; }
.y-hero-actions { display: flex; align-items: center; gap: 24px; }
.y-text-link { color: white; font-weight: 700; text-underline-offset: 5px; }
.y-button,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  border-radius: var(--y-radius) !important;
  background: var(--y-orange) !important;
  color: var(--y-black) !important;
  border: 0 !important;
  padding: 15px 22px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  transition: transform .2s ease, background .2s ease;
}
.y-button:hover,
.wp-element-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover { transform: translateY(-2px); background: #ffb326 !important; }

.y-section { padding: clamp(72px, 9vw, 140px) 0; }
.y-section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 420px); gap: 36px; align-items: end; margin-bottom: clamp(38px, 6vw, 72px); }
.y-section-head h2 { margin: 0; font-size: clamp(27px, 2.8vw, 36px); line-height: 1.08; letter-spacing: -.02em; }
.y-section-head p { margin: 0; color: #697170; line-height: 1.7; }

.y-categories { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1px; background: var(--y-line); border: 1px solid var(--y-line); }
.y-category { position: relative; min-height: 340px; grid-column: span 4; padding: 32px; display: flex; flex-direction: column; justify-content: space-between; background: var(--y-white); color: var(--y-graphite); text-decoration: none; overflow: hidden; }
.y-category:first-child { grid-column: span 7; background: var(--y-graphite); color: white; }
.y-category:nth-child(2) { grid-column: span 5; }
.y-category::after { content: ""; position: absolute; right: -90px; bottom: -105px; width: 250px; aspect-ratio: 1; border: 46px solid var(--y-orange); border-radius: 50%; transition: transform .35s ease; }
.y-category:hover::after { transform: scale(1.12) rotate(12deg); }
.y-category-number { font-size: 12px; font-weight: 800; letter-spacing: .12em; color: var(--y-orange); }
.y-category h3 { position: relative; z-index: 1; max-width: 85%; margin: 0; font-size: clamp(21px, 1.7vw, 27px); line-height: 1.1; letter-spacing: -.015em; }

.y-benefits { padding: 26px 0 clamp(72px, 8vw, 120px); background: var(--y-mist); }
.y-benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.y-benefits article { min-height: 310px; padding: 28px; display: flex; flex-direction: column; background: white; border: 1px solid var(--y-line); box-shadow: 0 18px 45px rgba(15,18,18,.06); }
.y-benefits article span { color: #b97500; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.y-benefits article h3 { margin: auto 0 11px; font-size: clamp(19px, 1.45vw, 23px); line-height: 1.12; letter-spacing: -.015em; }
.y-benefits article p { margin: 0; color: #697170; line-height: 1.55; }
.y-offers { background-color: white; }
.y-offer-links { display: flex; flex-wrap: wrap; gap: 10px; }
.y-offer-links a { padding: 15px 20px; border: 1px solid var(--y-line); background: white; color: var(--y-graphite); font-weight: 800; text-decoration: none; }
.y-offer-links a:hover, .y-offer-links a:last-child { background: var(--y-graphite); color: white; }
.y-consult { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 140px) 0; background: var(--y-orange); color: var(--y-black); }
.y-consult::after { content: ""; position: absolute; right: -120px; top: -180px; width: 520px; aspect-ratio: 1; border: 84px solid rgba(255,255,255,.65); border-radius: 50%; }
.y-consult-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; }
.y-consult .y-kicker::before { background: var(--y-graphite); }
.y-consult h2 { margin: 0; font-size: clamp(28px, 3vw, 40px); line-height: 1.08; letter-spacing: -.02em; }
.y-consult p { max-width: 500px; margin: 0 0 28px; font-size: 18px; }
.y-consult .y-button { background: var(--y-graphite) !important; color: white !important; }

/* Home page — AIDA flow */
.y-home-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; color: #9b6900; font-size: 12px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.y-home-eyebrow::before { content: ""; width: 34px; height: 3px; background: var(--y-orange); }
.y-home-intro { padding: clamp(70px, 8vw, 120px) 0 0; background: #fff; }
.y-home-intro-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: clamp(40px, 7vw, 110px); align-items: end; }
.y-home-intro h1 { margin: 0; color: var(--y-graphite); font-size: clamp(28px, 3vw, 40px); line-height: 1.1; letter-spacing: -.02em; }
.y-home-intro h1 em { color: var(--y-orange); font-style: normal; }
.y-home-intro-copy { padding-bottom: 8px; }
.y-home-intro-copy p { margin: 0 0 30px; color: #626968; font-size: clamp(17px, 1.45vw, 21px); line-height: 1.6; }
.y-home-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.y-home-button { min-height: 56px; display: inline-flex; align-items: center; gap: 26px; padding: 0 24px; background: var(--y-graphite); color: #fff; font-weight: 800; text-decoration: none; }
.y-home-button b { color: var(--y-orange); font-size: 22px; }
.y-home-link { padding: 8px 0; border: 0; border-bottom: 2px solid var(--y-orange); background: transparent; color: var(--y-graphite); font: inherit; font-weight: 800; cursor: pointer; }
.y-home-trust { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(58px, 7vw, 100px); border-top: 1px solid var(--y-line); border-bottom: 1px solid var(--y-line); }
.y-home-trust div { display: flex; align-items: baseline; gap: 15px; padding: 28px clamp(20px, 3vw, 46px); border-right: 1px solid var(--y-line); }
.y-home-trust div:last-child { border-right: 0; }
.y-home-trust strong { color: var(--y-graphite); font-size: clamp(24px, 2.2vw, 34px); white-space: nowrap; }
.y-home-trust span { color: #747b7a; font-size: 13px; line-height: 1.35; }
.y-home-catalog { padding: clamp(90px, 10vw, 150px) 0; background: #f4f4f1; }
.y-home-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .55fr); gap: 42px; align-items: end; margin-bottom: clamp(32px, 4vw, 54px); }
.y-home-heading h2 { margin: 0; color: var(--y-graphite); font-size: clamp(26px, 2.5vw, 34px); line-height: 1.1; letter-spacing: -.02em; }
.y-home-heading > p { margin: 0 0 5px; color: #697170; font-size: 17px; line-height: 1.65; }
.y-home-category-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.y-home-category { position: relative; min-height: 245px; grid-column: span 4; display: flex; flex-direction: column; justify-content: space-between; padding: 26px; overflow: hidden; border: 1px solid var(--y-line); background: #fff; color: var(--y-graphite); text-decoration: none; transition: transform .25s ease, box-shadow .25s ease; }
.y-home-category::after { content: ""; position: absolute; right: -18px; bottom: -24px; width: 48%; height: 78%; background: url("https://dveri-24.by/wp-content/uploads/2026/07/f4508dae4620321ca6fb037b6680e9058a6f9434ae5bd6f2bdff7378649aef0f-1-scaled.webp") right bottom / contain no-repeat; opacity: .2; pointer-events: none; transition: transform .3s ease, opacity .3s ease; }
.y-home-category:nth-child(2)::after { background-image: url("https://dveri-24.by/wp-content/uploads/2026/07/aa5e1e739ad9bb122d8b81d6e0a9293d8feb303a990fdb6992df582a5097b19b.webp"); opacity: .42; }
.y-home-category:nth-child(3)::after { background-image: url("https://dveri-24.by/wp-content/uploads/2026/07/dc68195c19bf0e0ed8088a7d6aa56129093bbae1a3b7689cc75430e5ec1a1965-scaled.webp"); opacity: .42; }
.y-home-category:nth-child(4)::after { right: 2%; bottom: 3%; width: 58%; height: 58%; background-image: url("https://dveri-24.by/wp-content/uploads/dveri24-bulk-images/d0c55b7c1717aa5429bf1e679090cfec9e172924802f9508562b897d463fb921.webp"); opacity: .9; }
.y-home-category:nth-child(2):hover::after, .y-home-category:nth-child(3):hover::after, .y-home-category:nth-child(4):hover::after { opacity: 1; }
.y-home-category:hover::after { opacity: .34; transform: translateY(-6px) scale(1.04); }
.y-home-category > * { position: relative; z-index: 1; }
.y-home-category:hover { z-index: 2; transform: translateY(-5px); box-shadow: 0 24px 46px rgba(30,35,34,.12); }
.y-home-category > span { min-width: 46px; min-height: 34px; display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; padding: 0 9px; background: #fff3d6; color: #8b5e00; font-size: 18px; font-weight: 900; letter-spacing: .04em; }
.y-home-category small { display: block; margin-bottom: 9px; color: #8a9190; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.y-home-category h3 { max-width: 14ch; margin: 0; font-size: clamp(20px, 1.55vw, 25px); line-height: 1.12; letter-spacing: -.015em; }
.y-home-category p { max-width: 390px; margin: 15px 0 0; color: rgba(255,255,255,.68); }
.y-home-category > b { position: absolute; top: 23px; right: 25px; color: var(--y-orange); font-size: 27px; font-weight: 500; }
.y-home-category-main { min-height: 360px; grid-column: span 8; grid-row: span 2; background: var(--y-graphite); color: #fff; }
.y-home-category-main > span { background: rgba(255,164,0,.16); color: var(--y-orange); }
.y-home-category-main::after { right: 2%; bottom: -15%; width: 44%; height: 120%; background-image: url("https://dveri-24.by/wp-content/uploads/2026/07/77753ffe196fbb94f76f2852c26c278ef9d16abc9fb3694cbe2d412804103c9a-1-scaled.webp"); opacity: .82; }
.y-home-category-main:hover::after { opacity: .95; }
.y-home-category-main h3 { max-width: 14ch; font-size: clamp(25px, 2.5vw, 34px); }
.y-home-category-all { grid-column: span 8; min-height: 190px; background: var(--y-orange); }
.y-home-category-all::after { display: none; }
.y-home-category-all > b, .y-home-category-all > span { color: var(--y-graphite); }
.y-home-category-all > span { background: rgba(255,255,255,.55); }
.y-home-reasons { padding: clamp(90px, 10vw, 150px) 0; overflow: hidden; background: var(--y-graphite); color: #fff; }
.y-home-heading-light h2 { color: #fff; }
.y-home-heading-light > p { color: rgba(255,255,255,.62); }
.y-home-reasons .y-home-eyebrow { color: var(--y-orange); }
.y-home-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.y-home-steps article { position: relative; min-height: 0; display: flex; flex-direction: column; padding: 30px; overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-top: 4px solid var(--y-orange); background: rgba(255,255,255,.035); transition: background .25s ease, transform .25s ease, border-color .25s ease; }
.y-home-steps article:hover { border-color: rgba(255,164,0,.44); background: rgba(255,255,255,.075); transform: translateY(-5px); }
.y-home-steps article > span { color: var(--y-orange); font-size: 28px; font-weight: 900; line-height: 1; letter-spacing: -.03em; }
.y-home-step-icon { position: absolute; top: 22px; right: 24px; width: 52px; height: 52px; display: grid; place-items: center; margin: 0; border: 0; border-radius: 50%; background: var(--y-orange); color: var(--y-graphite); font-size: 25px; font-weight: 900; }
.y-home-steps h3 { max-width: 16ch; margin: 30px 0 9px; font-size: clamp(18px, 1.35vw, 22px); line-height: 1.12; letter-spacing: -.01em; }
.y-home-steps p { margin: 0; color: rgba(255,255,255,.62); font-size: 15px; line-height: 1.55; }
.y-home-products { background: #fff; }
.y-home-products ul.products li.product > p { display: contents; }
.y-home-products ul.products li.product > p > br,
.y-home-products ul.products li.product .woocommerce-LoopProduct-link > p:empty { display: none; }
.y-home-products ul.products li.product > p > .button { width: 100%; max-width: 100%; height: 48px !important; min-height: 48px !important; display: inline-flex; justify-content: center; align-items: center; box-sizing: border-box !important; margin: auto 0 0 !important; padding: 0 12px !important; overflow: hidden; font-size: 12px; line-height: 1.15 !important; text-align: center; }
.y-home-products-more { margin-top: 42px; text-align: center; }
.y-home-products-more a { min-height: 54px; display: inline-flex; align-items: center; gap: 26px; padding: 0 24px; border: 1px solid var(--y-graphite); color: var(--y-graphite); font-weight: 800; text-decoration: none; }
.y-home-products-more a:hover { background: var(--y-graphite); color: #fff; }
.y-home-final { padding: clamp(78px, 9vw, 132px) 0; background: var(--y-orange); color: var(--y-graphite); }
.y-home-final-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .5fr); gap: 70px; align-items: end; }
.y-home-final .y-home-eyebrow { color: var(--y-graphite); }
.y-home-final .y-home-eyebrow::before { background: var(--y-graphite); }
.y-home-final h2 { max-width: 680px; margin: 0; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.08; letter-spacing: -.02em; }
.y-home-final p { max-width: 720px; margin: 22px 0 0; font-size: 18px; line-height: 1.6; }
.y-home-final-action { display: grid; gap: 14px; }
.y-home-final-action::before { content: ""; width: 100%; height: clamp(220px, 23vw, 320px); display: block; margin-bottom: 12px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 320'%3E%3Cg fill='none' stroke='%23303938' stroke-width='8' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M88 277V54h192v223M88 277h222'/%3E%3Cpath d='M113 277V80h142v197' opacity='.35'/%3E%3Ccircle cx='232' cy='180' r='6' fill='%23303938' stroke='none'/%3E%3Cpath d='M57 55h253M57 39v32M310 39v32'/%3E%3Cpath d='m76 55 18-12v24-12zm215 0-18-12v24l18-12z' fill='%23303938' stroke='none'/%3E%3Ccircle cx='398' cy='170' r='62' fill='%23303938'/%3E%3Ccircle cx='398' cy='170' r='27' stroke='%23ffa400'/%3E%3Cpath d='M336 170H178' stroke='%23303938'/%3E%3Cpath d='M403 232v45M369 277h68M438 277l20-76'/%3E%3C/g%3E%3Cg fill='%23303938' font-family='Arial,sans-serif' font-weight='700'%3E%3Ctext x='142' y='35' font-size='22'%3EШИРИНА%3C/text%3E%3Ctext x='374' y='179' font-size='25' fill='%23ffa400'%3Eсм%3C/text%3E%3C/g%3E%3Cg stroke='%23303938' stroke-width='4'%3E%3Cpath d='M350 92h96M350 78v28M446 78v28'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; }
.y-home-final-action button { min-height: 64px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 0 25px; border: 0; background: var(--y-graphite); color: #fff; font: inherit; font-weight: 900; cursor: pointer; }
.y-home-final-action button b { color: var(--y-orange); font-size: 24px; }
.y-home-final-action small { color: rgba(48,57,56,.7); text-align: center; }

.y-products .woocommerce ul.products,
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; }
.woocommerce ul.products::before,
.woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { position: relative; width: auto !important; min-width: 0; display: flex; flex-direction: column; margin: 0 !important; padding: 10px 10px 12px !important; overflow: hidden; float: none !important; border: 1px solid #d5d8d4; background: #fff; box-shadow: 0 3px 12px rgba(48,57,56,.045); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.woocommerce ul.products li.product:hover { z-index: 2; border-color: #c8cbc6; box-shadow: 0 16px 38px rgba(48,57,56,.11); transform: translateY(-3px); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { width: 100%; max-width: 100%; min-width: 0; height: calc(clamp(220px, 20vw, 300px) + 92px) !important; display: flex !important; flex: 0 0 calc(clamp(220px, 20vw, 300px) + 92px) !important; flex-direction: column; overflow: hidden; box-sizing: border-box; color: inherit; text-decoration: none; background: #fff !important; }
html body.woocommerce ul.products li.product a img,
html body .woocommerce ul.products li.product a img { width: 100%; height: clamp(220px, 20vw, 300px) !important; min-height: 0 !important; aspect-ratio: auto; flex: 0 0 auto !important; object-fit: contain !important; object-position: center bottom !important; box-sizing: border-box; margin: 0 0 13px; padding: 14px; border: 0 !important; background: #eef0ed !important; transition: transform .3s ease; }
.woocommerce ul.products li.product:hover a img { transform: scale(1.025); }
.y-credit-badge { position: absolute; top: 24px; left: 24px; z-index: 4; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; box-sizing: border-box; padding: 5px 12px 5px 5px; border: 1px solid rgba(48,57,56,.22); background: var(--y-orange); color: #111; font-size: 12px; font-weight: 800; line-height: 1; letter-spacing: .01em; text-transform: uppercase; box-shadow: 0 5px 18px rgba(48,57,56,.14); }
.y-credit-badge__icon { width: 32px; height: 32px; display: grid; flex: 0 0 32px; place-items: center; border-radius: 50%; background: var(--y-graphite); color: #fff; font-size: 17px; font-weight: 900; }
.y-credit-badge b { font-size: 15px; }
.single-product .y-credit-badge--single { position: static; width: fit-content; min-height: 48px; margin: 0 0 16px; padding-right: 15px; color: #111; text-decoration: none; transition: transform .18s ease, background .18s ease, color .18s ease; }
.single-product .y-credit-badge--single:hover { transform: translateY(-2px); background: var(--y-graphite); color: #fff; }
.single-product .y-credit-badge--single:hover .y-credit-badge__icon { background: var(--y-orange); color: #111; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 2.45em; margin: 0; padding: 0; overflow: hidden; color: var(--y-graphite); background: #fff; font-size: 15px; line-height: 1.22; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.woocommerce ul.products li.product .price { min-height: 1.4em; display: block; margin: 0; padding: 7px 0 11px; color: var(--y-graphite); background: #fff; font-size: 15px; font-weight: 800; }
.woocommerce ul.products li.product > .button { width: 100%; max-width: 100%; height: 42px !important; min-height: 42px !important; display: inline-flex; justify-content: center; align-items: center; box-sizing: border-box !important; margin: auto 0 0 !important; padding: 0 10px !important; overflow: hidden; font-size: 11px; line-height: 1.15 !important; text-align: center; }

.search-results .wc-block-product-template { display: grid !important; grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap: 22px 18px !important; }
.search-results .wc-block-product-template > .wc-block-product { min-width: 0; display: flex; flex-direction: column; margin: 0 !important; padding: 10px 10px 12px; border: 1px solid #d5d8d4; background: #fff; box-shadow: 0 3px 12px rgba(48,57,56,.045); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.search-results .wc-block-product-template > .wc-block-product:hover { border-color: #bfc4be; box-shadow: 0 14px 32px rgba(48,57,56,.10); transform: translateY(-3px); }
.search-results .wc-block-components-product-image,
.search-results .wc-block-components-product-image > a { width: 100%; height: clamp(220px,20vw,300px); display: block; margin: 0 !important; overflow: hidden; background: #eef0ed; }
.search-results .wc-block-components-product-image img { width: 100% !important; height: 100% !important; display: block; padding: 14px; box-sizing: border-box; object-fit: contain !important; object-position: center bottom !important; transition: transform .3s ease; }
.search-results .wc-block-product:hover .wc-block-components-product-image img { transform: scale(1.025); }
.search-results .wc-block-product .wp-block-post-title { min-height: 2.45em; margin: 13px 0 0 !important; overflow: hidden; font-size: 15px !important; line-height: 1.22 !important; text-align: left !important; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.search-results .wc-block-product .wp-block-post-title a { color: var(--y-graphite); text-decoration: none; }
.search-results .wc-block-product .wp-block-woocommerce-product-price { min-height: 1.4em; margin: 0 !important; padding: 7px 0 11px; font-size: 15px !important; font-weight: 800; text-align: left !important; }
.search-results .wc-block-product .wp-block-woocommerce-product-button { width: 100%; margin: auto 0 0 !important; }
.search-results .wc-block-product .wp-block-woocommerce-product-button .wp-block-button__link { width: 100%; min-height: 42px; display: inline-flex; align-items: center; justify-content: center; padding: 8px 10px !important; font-size: 11px !important; line-height: 1.15; }
.y-wishlist-button { border: 1px solid #d9dbd7; background: #fff; color: var(--y-graphite); font: inherit; font-weight: 800; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.y-wishlist-button:hover { border-color: var(--y-orange); transform: translateY(-1px); }
.y-wishlist-button.is-active { border-color: var(--y-orange); background: var(--y-orange); color: var(--y-black); }
.y-wishlist-button--card { position: absolute; top: 24px; right: 24px; z-index: 4; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border-radius: 50% !important; box-shadow: 0 5px 18px rgba(48,57,56,.12); }
.y-wishlist-button--card [aria-hidden="true"] { font-size: 25px; line-height: 1; }
.y-wishlist-button--card .y-wishlist-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.y-wishlist-button--single { min-height: 48px; display: inline-flex; align-items: center; gap: 9px; margin-top: 14px; padding: 0 18px; }
.y-wishlist-button--single [aria-hidden="true"] { font-size: 22px; }

.y-catalog-head { background: var(--y-graphite); color: white; padding: clamp(42px, 5vw, 72px) 0; }
.y-catalog-head h1 { margin: 0; font-size: clamp(31px, 3.4vw, 44px); line-height: 1.07; letter-spacing: -.025em; }
.y-catalog-head p { max-width: 620px; margin: 24px 0 0; color: rgba(255,255,255,.68); font-size: 18px; }
.y-catalog-main { padding: 56px 0 100px; }
.woocommerce .woocommerce-breadcrumb { color: #7b8281; font-size: 13px; }
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering { margin-bottom: 34px; }
.woocommerce .woocommerce-ordering select { min-height: 46px; padding: 0 42px 0 14px; border: 1px solid var(--y-line); background: white; }
nav.woocommerce-pagination { clear: both; width: 100%; margin: 62px 0 0; padding: 30px 0 0; border-top: 1px solid var(--y-line); }
nav.woocommerce-pagination ul.page-numbers { display: flex !important; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 !important; padding: 0 !important; border: 0 !important; }
nav.woocommerce-pagination ul.page-numbers li { float: none !important; margin: 0 !important; border: 0 !important; overflow: visible !important; }
nav.woocommerce-pagination .page-numbers a,
nav.woocommerce-pagination .page-numbers span { min-width: 48px; height: 48px; display: inline-flex !important; align-items: center; justify-content: center; padding: 0 14px !important; border: 1px solid #d9dcda !important; background: #fff !important; color: var(--y-graphite) !important; font-size: 16px; font-weight: 800; line-height: 1; text-decoration: none; transition: border-color .2s ease, background-color .2s ease, color .2s ease, transform .2s ease; }
nav.woocommerce-pagination .page-numbers a:hover { border-color: var(--y-orange) !important; background: #fff8eb !important; color: var(--y-graphite) !important; transform: translateY(-2px); }
nav.woocommerce-pagination .page-numbers span.current { border-color: var(--y-orange) !important; background: var(--y-orange) !important; color: var(--y-black) !important; }
nav.woocommerce-pagination a.prev,
nav.woocommerce-pagination a.next { min-width: 150px; padding-inline: 20px !important; }
nav.woocommerce-pagination a.prev::before { content: "←"; margin-right: 10px; font-size: 20px; }
nav.woocommerce-pagination a.next::after { content: "→"; margin-left: 10px; font-size: 20px; }

.wp-block-query-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin-top: 62px; padding-top: 30px; border-top: 1px solid var(--y-line); }
.wp-block-query-pagination-numbers { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 !important; }
.wp-block-query-pagination a,
.wp-block-query-pagination .page-numbers { min-width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid #d9dcda; color: var(--y-graphite); font-weight: 800; text-decoration: none; }
.wp-block-query-pagination .current { border-color: var(--y-orange); background: var(--y-orange); color: var(--y-black); }

.single-product main.y-section { padding-top: clamp(34px, 4vw, 58px); }
.single-product .woocommerce .woocommerce-breadcrumb { margin: 0 0 28px; padding-bottom: 14px; border-bottom: 1px solid var(--y-line); }
.single-product div.product { display: block; }
.single-product div.product::before,
.single-product div.product::after { display: none !important; }
.single-product div.product .y-product-overview { display: grid; grid-template-columns: minmax(280px, 1fr) minmax(0, 2fr); gap: 0 clamp(32px, 5vw, 72px); align-items: start; }
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary { width: auto !important; float: none !important; }
body.single-product.woocommerce div.product .y-product-overview > .woocommerce-product-gallery { position: sticky; top: 132px; width: min(100%, 460px) !important; margin: 0 !important; justify-self: center; align-self: start; }
.single-product div.product .woocommerce-product-gallery .flex-viewport { height: 500px !important; border: 1px solid #e6e6e1; background: #f7f7f5; }
.single-product div.product .woocommerce-product-gallery__wrapper { height: 500px !important; }
.single-product div.product .woocommerce-product-gallery__image { height: 500px !important; min-height: 500px; }
.single-product div.product .woocommerce-product-gallery__image > a { display: flex; height: 500px; justify-content: center; align-items: center; background: #f7f7f5; }
.single-product div.product .woocommerce-product-gallery__image img { display: block; width: 100% !important; max-width: 100%; height: 100% !important; max-height: 500px; margin-inline: auto; object-fit: contain; object-position: center; }
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 24px 0 0 !important; }
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li { width: auto !important; margin: 0 !important; float: none !important; }
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img { width: 100%; height: 92px; border: 1px solid transparent; background: var(--y-mist); object-fit: contain; opacity: .55; transition: opacity .2s ease, border-color .2s ease; }
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img:hover,
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs img.flex-active { border-color: var(--y-orange); opacity: 1; }
.single-product div.product .woocommerce-product-gallery__trigger { display: none !important; }
.single-product div.product .woocommerce-product-gallery { position: relative; }
.single-product div.product .woocommerce-product-gallery > .y-wishlist-button--single {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 12;
  width: 48px;
  height: 48px;
  min-height: 48px;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 0;
  border: 1px solid #d9dbd7;
  border-radius: 0 !important;
  box-shadow: 0 8px 24px rgba(48,57,56,.14);
}
.single-product div.product .woocommerce-product-gallery > .y-wishlist-button--single [aria-hidden="true"] {
  font-size: 27px;
  line-height: 1;
}
.single-product div.product .woocommerce-product-gallery > .y-wishlist-button--single .y-wishlist-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.single-product div.product .summary { position: relative; min-height: 560px; margin: 0 !important; padding: clamp(30px, 4vw, 56px); border-top: 5px solid var(--y-orange); background: #f3f3ef; }
.single-product div.product .summary::before { content: "КАРТОЧКА ТОВАРА"; display: block; margin-bottom: 18px; color: #777d7c; font-size: 11px; font-weight: 800; letter-spacing: .14em; }
.single-product div.product .product_title { max-width: 28ch; margin: 0 0 14px; font-size: clamp(23px, 2vw, 30px); line-height: 1.1; letter-spacing: -.015em; }
.single-product div.product .price { margin: 0 0 22px; color: var(--y-graphite) !important; font-size: 28px !important; font-weight: 800; }
.single-product div.product.product-type-variable .summary > p.price { display: none; }
.single-product div.product .woocommerce-product-details__short-description { max-width: 68ch; margin-bottom: 28px; color: #525a59; font-size: 16px; line-height: 1.65; }
.single-product div.product .woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }
.single-product div.product .summary > .woocommerce-product-details__short-description,
.single-product div.product .woocommerce-variation-description { display: none; }
.single-product div.product form.cart { margin: 28px 0 0 !important; }
.single-product div.product form.cart .variations { width: 100%; margin: 0 0 22px; border: 0; }
.single-product div.product form.cart .variations tr { display: grid; grid-template-columns: minmax(110px, .3fr) minmax(0, 1fr); align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid #d9dad5; }
.single-product div.product form.cart .variations tr:last-child { border-bottom: 1px solid #d9dad5; }
.single-product div.product form.cart .variations th,
.single-product div.product form.cart .variations td { display: block; width: auto; padding: 0 !important; text-align: left; }
.single-product div.product form.cart .variations label { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.single-product div.product form.cart .variations select { width: 100%; min-width: 0; height: 52px; margin: 0; padding: 0 42px 0 14px; border: 1px solid #cfd1cc; border-radius: 0; background-color: #fff; color: var(--y-graphite); }
.single-product div.product form.cart .variations td.y-color-picker-ready { position: relative; }
.single-product div.product form.cart .variations tr.y-color-image-row { align-items: start; }
.single-product div.product form.cart .variations tr.y-color-image-row th,
.single-product div.product form.cart .variations tr.y-color-image-row td { grid-column: 1 / -1; }
.single-product div.product form.cart .variations tr.y-variation-button-row { align-items: start; }
.single-product div.product form.cart .variations tr.y-variation-button-row th,
.single-product div.product form.cart .variations tr.y-variation-button-row td { grid-column: 1 / -1; }
.single-product div.product form.cart .variations .y-color-picker-ready > select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.single-product div.product form.cart .variations .y-variation-button-ready > select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.y-variation-button-picker { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; }
.y-variation-button-option {
  flex: 0 0 150px;
  width: 150px;
  max-width: 100%;
  min-height: 64px;
  padding: 12px 18px;
  border: 2px solid #e1e4e8;
  background: #f5f6f9;
  color: var(--y-graphite);
  font-size: 17px;
  line-height: 1.2;
  cursor: pointer;
  transition: border-color .18s ease, background-color .18s ease, transform .18s ease, opacity .18s ease;
}
.y-variation-button-option:hover { border-color: #aeb3b7; transform: translateY(-2px); }
.y-variation-button-option:focus-visible { outline: 3px solid rgba(255, 164, 0, .32); outline-offset: 2px; }
.y-variation-button-option.is-active { border-color: var(--y-orange); background: var(--y-orange); color: var(--y-black); }
.y-variation-button-option:disabled { opacity: .36; cursor: not-allowed; transform: none; }
.y-color-image-picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: 100%; }
.y-color-image-option {
  min-width: 0;
  padding: 8px 8px 10px;
  border: 2px solid #d9dad5;
  background: #fff;
  color: var(--y-graphite);
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease, background-color .18s ease;
}
.y-color-image-option:hover { border-color: #9b9f9c; transform: translateY(-2px); }
.y-color-image-option:focus-visible { outline: 3px solid rgba(255, 164, 0, .32); outline-offset: 2px; }
.y-color-image-option.is-active { border-color: var(--y-orange); background: #fff8e9; box-shadow: inset 0 0 0 1px var(--y-orange), 0 7px 18px rgba(48, 57, 56, .10); }
.y-color-image-option:disabled { opacity: .38; cursor: not-allowed; transform: none; }
.y-color-image-option__image { display: flex; align-items: center; justify-content: center; height: 126px; margin-bottom: 8px; background: #f2f3f0; }
.y-color-image-option__image img { display: block; width: 100%; height: 100%; padding: 6px; object-fit: contain; }
.y-color-image-option.is-light-option .y-color-image-option__image { background: #dde1de; }
.y-color-image-option.is-light-option .y-color-image-option__image img { filter: brightness(.92) contrast(1.18); mix-blend-mode: multiply; }
.single-product div.product .woocommerce-product-gallery.y-light-door-selected .woocommerce-product-gallery__image { background: #dde1de; }
.single-product div.product .woocommerce-product-gallery.y-light-door-selected .woocommerce-product-gallery__image img { filter: brightness(.92) contrast(1.18); mix-blend-mode: multiply; }
.y-color-image-option__caption { display: block; min-height: 32px; font-size: 12px; font-weight: 800; line-height: 1.3; text-align: center; }
.single-product div.product form.cart .reset_variations { display: inline-block; margin-top: 8px; color: #757b7a; font-size: 12px; }
.single-product div.product .woocommerce-variation-price { margin: 0 0 18px; }
.single-product div.product .woocommerce-variation-price .price { color: var(--y-orange) !important; font-size: 30px !important; }
.single-product div.product form.cart .quantity { margin-right: 10px !important; }
.single-product div.product form.cart .quantity .qty { width: 76px; height: 56px; border: 1px solid #cfd1cc; border-radius: 0; background: #fff; }
.single-product div.product form.cart .single_add_to_cart_button { min-width: min(100%, 260px); min-height: 56px; padding: 0 26px !important; border-radius: 0 !important; background: var(--y-orange) !important; color: var(--y-black) !important; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; transition: background .2s ease, color .2s ease, transform .2s ease; }
.single-product div.product form.cart .single_add_to_cart_button:hover { background: var(--y-graphite) !important; color: #fff !important; transform: translateY(-2px); }
.single-product div.product form.cart.y-consultation-enabled .quantity,
.single-product div.product form.cart.y-consultation-enabled .single_add_to_cart_button { display: none !important; }
.y-product-consultation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; width: 100%; max-width: 100%; margin-top: 18px; }
.y-product-consultation__field { align-self: end; display: grid; gap: 7px; }
.y-product-consultation__field span { color: #747a79; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.y-product-consultation__field input { width: 100%; min-width: 0; height: 60px; box-sizing: border-box; padding: 0 18px; border: 2px solid #d5d8d4; border-radius: 0; background: #fff; color: var(--y-graphite); font-size: 18px; }
.y-product-consultation__field input:focus { border-color: var(--y-orange); outline: 0; }
.y-product-consultation__field input[aria-invalid="true"] { border-color: #c53232; }
.y-product-consultation__submit { width: 100%; min-width: 0; max-width: 100%; align-self: end; box-sizing: border-box; min-height: 60px; margin-bottom: 11px; padding: 12px 20px; border: 2px solid var(--y-orange); border-radius: 0; background: var(--y-orange); color: var(--y-black); font-size: 14px; font-weight: 800; letter-spacing: .035em; text-transform: uppercase; cursor: pointer; }
.y-product-consultation__submit:hover { border-color: var(--y-graphite); background: var(--y-graphite); color: #fff; }
.y-product-consultation__submit:disabled { opacity: .6; cursor: wait; }
.y-product-consultation__status { grid-column: 1 / -1; min-height: 20px; margin: 0; color: #a62b2b; font-size: 13px; }
.y-product-consultation.is-success .y-product-consultation__status { color: #23733c; }
@media (max-width: 640px) {
  .y-product-consultation { grid-template-columns: 1fr; }
  .y-product-consultation__submit { margin-bottom: 0; }
}
.single-product div.product .product_meta { display: grid; gap: 7px; margin-top: 30px; padding-top: 22px; border-top: 1px solid #d9dad5; color: #7b8281; font-size: 12px; }
.single-product div.product .product_meta a { font-weight: 700; }
.single-product div.product > .woocommerce-tabs,
.single-product div.product > .related,
.single-product div.product > .upsells { width: 100%; }
.single-product div.product > .woocommerce-tabs { margin-top: 80px; padding-top: 0; border-top: 1px solid var(--y-line); }
.single-product div.product .woocommerce-tabs ul.tabs { display: flex; gap: 0; margin: 0 !important; padding: 0 !important; overflow: visible; }
.single-product div.product .woocommerce-tabs ul.tabs::before { display: none !important; }
.single-product div.product .woocommerce-tabs ul.tabs li { margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; }
.single-product div.product .woocommerce-tabs ul.tabs li::before,
.single-product div.product .woocommerce-tabs ul.tabs li::after { display: none !important; }
.single-product div.product .woocommerce-tabs ul.tabs li a { min-height: 54px; display: flex; align-items: center; padding: 0 24px !important; color: #747a79 !important; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.single-product div.product .woocommerce-tabs ul.tabs li.active a { background: var(--y-graphite); color: #fff !important; }
.single-product div.product .woocommerce-tabs .panel { margin: 0 !important; padding: clamp(26px, 4vw, 48px); background: #f7f7f5; }
.single-product div.product .woocommerce-tabs .panel > h2:first-child { margin-top: 0; font-size: clamp(26px, 2.6vw, 38px); }
.single-product div.product .woocommerce-product-attributes { width: 100%; display: block; margin: 0; border: 0; }
.single-product div.product .woocommerce-product-attributes tbody { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; }
.single-product div.product .woocommerce-product-attributes tr { min-width: 0; display: grid; grid-template-columns: minmax(130px, .7fr) minmax(0, 1fr); border-top: 1px solid #dfe0dc; }
.single-product div.product .woocommerce-product-attributes tr:nth-last-child(-n + 2) { border-bottom: 1px solid #dfe0dc; }
.single-product div.product .woocommerce-product-attributes th,
.single-product div.product .woocommerce-product-attributes td { padding: 14px 16px; border: 0; background: transparent !important; text-align: left; font-style: normal; }
.single-product div.product .woocommerce-product-attributes th { color: #777d7c; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; }
.single-product div.product .woocommerce-product-attributes p { margin: 0; padding: 0; }
.single-product div.product > .related,
.single-product div.product > .upsells { margin-top: 88px; }
.single-product div.product > .related > h2,
.single-product div.product > .upsells > h2 { margin: 0 0 18px; font-size: clamp(24px, 2.3vw, 32px); letter-spacing: -.015em; }

.y-footer { padding: 72px 0 30px; background: var(--y-graphite); color: white; }
.y-footer-main { display: grid; grid-template-columns: 1.15fr .72fr 1.05fr 1.12fr 1fr; gap: 28px; padding-bottom: 54px; }
.y-footer-logo { width: 170px; filter: invert(1); }
.y-footer h3 { margin: 0 0 18px; font-size: 15px; color: var(--y-orange); text-transform: uppercase; letter-spacing: .1em; }
.y-footer p, .y-footer a { color: rgba(255,255,255,.72); }
.y-footer a:hover { color: var(--y-orange); }
.y-footer p { margin: 0 0 10px; line-height: 1.55; }
.y-footer-contact-strong { font-size: 18px; font-weight: 700; color: #fff !important; }
.y-social-links { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.y-social-link { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; color: #fff !important; text-decoration: none; box-shadow: 0 5px 14px rgba(0,0,0,.18); transition: transform .18s ease, filter .18s ease, box-shadow .18s ease; }
.y-social-link[title="Viber"] { background: #7360f2; }
.y-social-link[title="Telegram"] { background: #229ed9; }
.y-social-link[title="WhatsApp"] { background: #25d366; }
.y-social-link[title="Instagram"] { background: linear-gradient(135deg,#feda75 0%,#fa7e1e 25%,#d62976 55%,#962fbf 78%,#4f5bd5 100%); }
.y-social-link svg { width: 22px; height: 22px; display: block; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.y-social-link[title="Viber"] svg,
.y-social-link[title="WhatsApp"] svg { width: 23px; height: 23px; fill: currentColor; stroke: none; }
.y-social-link:hover { transform: translateY(-3px); color: #fff !important; filter: brightness(1.08); box-shadow: 0 8px 18px rgba(0,0,0,.28); }
.y-social-link:focus-visible { outline: 3px solid var(--y-orange); outline-offset: 3px; }
.y-footer-legal { font-size: 12px; line-height: 1.6; color: rgba(255,255,255,.52) !important; }
.y-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; color: rgba(255,255,255,.48); }

.page:has(.y-contact-page) .wp-block-post-title { display: none; }
.page:has(.y-contact-page) main.y-section { width: 100%; max-width: none; padding: 0; }
.page:has(.y-contact-page) .wp-block-post-content { width: 100vw; max-width: none !important; margin-top: 0; margin-left: calc(50% - 50vw) !important; }
.y-contact-page { color: var(--y-graphite); }
.y-contact-page > section { width: min(100% - 40px, 1440px); margin-inline: auto; }
.y-contact-hero { position: relative; min-height: 500px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0; align-items: stretch; overflow: hidden; background: #f1f2f0; color: var(--y-graphite); }
.y-contact-hero::before { content: ""; position: absolute; top: 0; right: 0; width: 12px; height: 100%; background: var(--y-orange); }
.y-contact-hero__copy { position: relative; z-index: 1; align-self: center; max-width: 720px; padding: clamp(42px,5vw,72px); }
.y-contact-kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 24px; color: var(--y-orange); font-size: 13px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.y-contact-kicker::before { content: ""; width: 42px; height: 3px; background: currentColor; }
.y-contact-hero h2 { max-width: 650px; margin: 0; color: var(--y-graphite); font-size: clamp(27px,2.8vw,36px); line-height: 1.1; letter-spacing: -.02em; }
.y-contact-hero__copy > p { max-width: 620px; margin: 22px 0 0; color: #66706f; font-size: clamp(16px,1.2vw,19px); line-height: 1.55; }
.y-contact-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.y-contact-button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 10px 20px; border: 1px solid var(--y-orange); color: inherit; font-size: 14px; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.y-contact-button:hover { transform: translateY(-2px); }
.y-contact-button--light { background: var(--y-orange); color: var(--y-black); }
.y-contact-button--light span { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.y-contact-button--light strong { font-size: 16px; }
.y-contact-button--outline { color: var(--y-graphite); }
.y-contact-button--outline:hover { background: rgba(255,164,0,.12); color: var(--y-graphite); }
.y-contact-hero__card { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(36px,4vw,58px); background: var(--y-graphite); color: #fff; }
.y-contact-card-label { margin: 0 0 14px; color: var(--y-orange); font-size: 12px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.y-contact-hero__card h3 { margin: 0 0 26px; color: #fff; font-size: clamp(25px,2.2vw,34px); line-height: 1.1; letter-spacing: -.02em; }
.y-contact-card-row { display: grid; grid-template-columns: 90px minmax(0,1fr); gap: 18px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.18); color: #aeb7b6; font-size: 14px; }
.y-contact-card-row strong { color: #fff; font-weight: 700; overflow-wrap: anywhere; }
.y-contact-card-row a { color: inherit; text-decoration-color: var(--y-orange); text-underline-offset: 3px; }
.y-contact-card-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.y-contact-card-links a { padding: 9px 12px; border: 1px solid rgba(255,255,255,.24); color: #fff; font-size: 13px; font-weight: 800; text-decoration: none; }
.y-contact-card-links a:hover { border-color: var(--y-orange); color: var(--y-orange); }
.y-contact-quick { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 24px; border: 1px solid var(--y-line); }
.y-contact-info { min-height: 210px; display: grid; grid-template-columns: 58px 1fr; gap: 22px; align-items: start; padding: 38px; background: #fff; }
.y-contact-info + .y-contact-info { border-left: 1px solid var(--y-line); }
.y-contact-info__icon { width: 58px; height: 58px; display: grid; place-items: center; border: 1px solid var(--y-line); color: var(--y-orange); font-size: 28px; font-weight: 500; }
.y-contact-info h3 { margin: 10px 0 7px; font-size: clamp(20px,1.8vw,27px); line-height: 1.15; }
.y-contact-info p { margin: 0; color: #737b7a; line-height: 1.5; }
.y-contact-info a { color: inherit; text-decoration-color: var(--y-orange); text-underline-offset: 4px; }
.y-contact-map, .y-contact-legal { padding-top: clamp(72px,8vw,120px); }
.y-contact-section-head { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; margin-bottom: 32px; }
.y-contact-section-head h2 { margin: 0; font-size: clamp(24px,2.3vw,31px); line-height: 1.12; letter-spacing: -.015em; }
.y-contact-section-head p { max-width: 500px; margin: 0 0 5px; color: #737b7a; font-size: 18px; line-height: 1.55; }
.y-contact-section-head .y-contact-kicker { margin-bottom: 18px; }
.y-contact-map__frame { min-height: 400px; overflow: hidden; border: 1px solid var(--y-line); background: #e8eae7; }
.y-contact-map__frame > * { display: block; width: 100% !important; }
.y-contact-legal { padding-bottom: clamp(80px,9vw,140px); }
.y-details-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.y-details-card { padding: clamp(28px,4vw,54px); border-top: 5px solid var(--y-orange); background: #f1f2f0; }
.y-details-card h3 { margin: 0 0 30px; font-size: clamp(22px,2vw,30px); color: var(--y-graphite); }
.y-details-card p { margin: 0; padding: 14px 0; border-top: 1px solid #d3d6d2; line-height: 1.55; overflow-wrap: anywhere; }
.y-details-card a { color: var(--y-graphite); text-decoration-color: var(--y-orange); text-underline-offset: 4px; }
.y-details-label { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: #737b7a; }
.y-credit-page { width: 100%; max-width: none; margin: 0; padding: 0; color: var(--y-graphite); }
body:has(.y-credit-page) main.y-shell.y-section { padding: 56px 0 100px; }
body:has(.y-credit-page) .wp-block-post-title { display: none; }
body:has(.y-credit-page) .entry-content.wp-block-post-content { margin-top: 0; }
.y-credit-breadcrumb { display: block; margin: 0 0 13px; padding: 0; color: #7b8281; font-family: "Open Sans",Arial,sans-serif; font-size: 13px; font-weight: 400; line-height: 1.55; }
.y-credit-breadcrumb a { color: var(--y-graphite); text-decoration-color: currentColor; text-underline-offset: .2em; }
body:has(.y-credit-page) .entry-content.wp-block-post-content { width: 100%; max-width: none; }
.y-credit-title { margin: 18px 0 26px; font-size: clamp(26px,2.1vw,32px); line-height: 1.3; letter-spacing: normal; }
.y-credit-hero { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(240px,.55fr); gap: 48px; align-items: center; padding: clamp(42px,5vw,72px); background: var(--y-graphite); color: #fff; overflow: hidden; }
.y-credit-kicker { display: inline-block; margin-bottom: 18px; color: var(--y-orange); font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.y-credit-hero h2 { max-width: 760px; margin: 0 0 14px; color: #fff; font-size: clamp(27px,2.9vw,38px); line-height: 1.1; letter-spacing: -.02em; }
.y-credit-hero p { max-width: 720px; margin: 0; color: rgba(255,255,255,.78); font-size: clamp(17px,2vw,21px); line-height: 1.5; }
.y-credit-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.y-credit-actions .wp-element-button { padding: 15px 20px; border: 2px solid var(--y-orange); border-radius: 0; background: var(--y-orange); color: #111; font-weight: 800; text-decoration: none; transition: transform .18s ease,background .18s ease,color .18s ease; }
.y-credit-actions .wp-element-button:hover { transform: translateY(-3px); background: #fff; border-color: #fff; }
.y-credit-actions .y-credit-button-secondary { background: #fff; color: var(--y-graphite); }
.y-credit-actions .y-credit-button-secondary:hover { background: var(--y-graphite); border-color: var(--y-graphite); color: #fff; }
.y-credit-rate { display: grid; place-content: center; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.18); background: var(--y-orange); color: #111; text-align: center; }
.y-credit-rate strong { display: block; font-size: clamp(76px,11vw,142px); line-height: .78; letter-spacing: -.08em; }
.y-credit-rate span { margin-top: 12px; color: #111; font-size: 20px; font-weight: 800; text-transform: uppercase; }
.y-credit-section { padding: 72px 0 0; }
.y-credit-section > h2 { margin: 0 0 16px; font-size: clamp(23px,2.2vw,30px); line-height: 1.12; letter-spacing: -.015em; }

/* Unified compact heading scale across standard WordPress and WooCommerce pages. */
body.page:not(:has(.y-contact-page)):not(:has(.y-credit-page)) main .wp-block-post-title,
body.archive main .wp-block-query-title,
body.search main .wp-block-query-title,
.woocommerce-products-header__title.page-title { margin-top: 0; margin-bottom: 18px; font-size: clamp(27px,2.8vw,38px) !important; line-height: 1.1 !important; letter-spacing: -.02em !important; }
main h2.wp-block-heading { margin-top: 26px; margin-bottom: 12px; font-size: clamp(23px,2.1vw,30px); line-height: 1.13; letter-spacing: -.015em; }
main h3.wp-block-heading { margin-top: 20px; margin-bottom: 9px; font-size: clamp(19px,1.6vw,24px); line-height: 1.15; letter-spacing: -.01em; }
.y-credit-benefits { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.y-credit-benefits article { min-height: 180px; padding: 28px; border: 1px solid var(--y-line); background: #fff; }
.y-credit-benefits strong { display: block; margin-bottom: 16px; color: var(--y-orange); font-size: 28px; }
.y-credit-benefits span { line-height: 1.55; }
.y-credit-categories > div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.y-credit-categories a { display: flex; min-height: 150px; flex-direction: column; justify-content: flex-end; padding: 26px; border: 1px solid var(--y-line); background: #ededeb; color: var(--y-graphite); text-decoration: none; transition: background .18s ease,color .18s ease,transform .18s ease; }
.y-credit-categories a:hover { transform: translateY(-4px); background: var(--y-orange); color: #111; }
.y-credit-categories span { margin-bottom: 8px; color: #737b7a; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.y-credit-categories strong { font-size: 24px; line-height: 1.15; }
.y-credit-steps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1px; margin: 0; padding: 1px; background: var(--y-line); list-style: none; }
.y-credit-steps li { display: grid; grid-template-columns: 68px 1fr; gap: 18px; min-height: 170px; padding: 26px; background: #fff; }
.y-credit-steps li > span { color: var(--y-orange); font-size: 28px; font-weight: 900; }
.y-credit-steps strong { font-size: 20px; }
.y-credit-steps p { margin: 10px 0 0; line-height: 1.55; }
.y-credit-text-section { max-width: 1040px; }
.y-credit-text-list { margin: 0; padding-left: 1.35em; color: var(--y-graphite); font-size: clamp(17px,1.4vw,20px); line-height: 1.65; }
.y-credit-text-list li + li { margin-top: 12px; }
.y-credit-text-list li::marker { color: var(--y-orange); }
.y-credit-text-list a { color: var(--y-graphite); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.y-credit-text-list a:hover { color: #b86f00; }
.y-credit-note { margin-top: 72px; padding: 30px; border-left: 6px solid var(--y-orange); background: #f4f5f3; }
.y-credit-note > strong { font-size: 22px; }
.y-credit-note p { max-width: 920px; margin: 12px 0 0; line-height: 1.6; }
.y-credit-note a { color: var(--y-graphite); font-weight: 800; text-underline-offset: 4px; }

@media (max-width: 782px) {
  body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 46px; }
}

@media (max-width: 960px) {
  .y-header-address, .y-quick-links { display: none; }
  .y-topline-right { width: 100%; justify-content: center; }
  .y-contact-hero { grid-template-columns: 1fr; min-height: 480px; }
  .y-contact-hero__card { min-height: 340px; }
  .y-contact-quick { grid-template-columns: 1fr; }
  .y-contact-info { min-height: 0; }
  .y-contact-info + .y-contact-info { border-left: 0; border-top: 1px solid var(--y-line); }
  .y-contact-section-head { grid-template-columns: 1fr; gap: 18px; }
  .y-header-actions { margin-left: auto; }
  .y-consult-button { display: none; }
  .y-catalog-menu { margin-left: 18px; }
  .y-catalog-dropdown { grid-template-columns: 280px 250px minmax(280px, 1fr); }
  .y-hero-copy, .y-section-head { grid-template-columns: 1fr; }
  .y-category, .y-category:first-child, .y-category:nth-child(2) { grid-column: span 6; }
  .y-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .y-consult-inner { grid-template-columns: 1fr; gap: 36px; }
  .y-home-intro-grid, .y-home-heading, .y-home-final-grid { grid-template-columns: 1fr; }
  .y-home-intro-copy { max-width: 650px; }
  .y-home-trust div { display: grid; gap: 5px; }
  .y-home-category, .y-home-category-main, .y-home-category-all { grid-column: span 6; grid-row: auto; min-height: 250px; }
  .y-home-category-main { min-height: 330px; }
  .y-home-steps { grid-template-columns: repeat(2, 1fr); }
  .y-home-final-action { max-width: 420px; }
  .woocommerce ul.products, .y-products .woocommerce ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 12px; }
  .search-results .wc-block-product-template { grid-template-columns: repeat(4,minmax(0,1fr)) !important; gap: 18px 12px !important; }
  .single-product div.product .y-product-overview { grid-template-columns: 1fr; }
  body.single-product.woocommerce div.product .y-product-overview > .woocommerce-product-gallery { position: relative; top: auto; width: min(100%, 400px) !important; margin-bottom: 34px !important; }
  .single-product div.product .summary { min-height: 0; padding: 30px; }
  .single-product div.product .woocommerce-product-gallery .flex-viewport,
  .single-product div.product .woocommerce-product-gallery__wrapper,
  .single-product div.product .woocommerce-product-gallery__image { height: 500px !important; min-height: 500px; }
  .single-product div.product .woocommerce-product-gallery__image > a { height: 500px; }
  .single-product div.product .woocommerce-product-gallery__image img { max-height: 500px; }
  .single-product div.product .woocommerce-product-gallery .flex-control-thumbs { margin-top: 18px !important; }
  .single-product div.product > .woocommerce-tabs { margin-top: 56px; }
}

@media (max-width: 640px) {
  .y-shell { width: min(100% - 28px, 1440px); }
  .y-topline-inner { min-height: 44px; padding-block: 5px; }
  .y-header-contact { width: 100%; justify-content: space-between; gap: 8px; }
  .y-header-phone { gap: 5px; font-size: 14px; }
  .y-header-phone svg { width: 18px; height: 18px; }
  .y-header-messengers { gap: 5px; }
  .y-header-messenger { width: 27px; height: 27px; }
  .y-header-messenger svg { width: 15px; height: 15px; }
  .y-header-inner { min-height: 70px; }
  .y-logo img { width: 136px; }
  .single-product main.y-section { padding-top: 24px; }
  .single-product div.product .summary { padding: 26px 20px; }
  .single-product div.product form.cart .variations tr { grid-template-columns: 1fr; gap: 8px; }
  .single-product div.product form.cart .single_add_to_cart_button { min-width: calc(100% - 88px); }
  .single-product div.product .woocommerce-tabs ul.tabs { overflow-x: auto; }
  .single-product div.product .woocommerce-tabs ul.tabs li a { padding-inline: 18px !important; white-space: nowrap; }
  .single-product div.product .woocommerce-tabs .panel { padding: 24px 18px; }
  .single-product div.product .woocommerce-product-attributes tbody { grid-template-columns: 1fr; column-gap: 0; }
  .single-product div.product .woocommerce-product-attributes tr:nth-last-child(-n + 2) { border-bottom: 0; }
  .single-product div.product .woocommerce-product-attributes tr:last-child { border-bottom: 1px solid #dfe0dc; }
  .single-product div.product .woocommerce-product-attributes tr { grid-template-columns: 1fr; }
  .single-product div.product .woocommerce-product-attributes th { padding-bottom: 2px; }
  .y-catalog-menu { margin-left: auto; }
  .y-catalog-button { width: 48px; min-width: 48px; padding: 0; }
  .y-catalog-label-open, .y-catalog-label-close { display: none !important; }
  .y-catalog-menu[open] .y-catalog-icon-close { display: block; }
  .y-catalog-dropdown { position: fixed; top: calc(var(--wp-admin--admin-bar--height, 0px) + 100px); right: 14px; left: 14px; width: auto; height: auto; max-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px) - 114px); grid-template-columns: 1fr; overflow-y: auto; border-radius: 0 0 12px 12px; }
  .y-catalog-level { overflow: visible; border-right: 0; border-bottom: 1px solid var(--y-line); }
  .y-catalog-heading { min-height: 58px; padding-inline: 18px; font-size: 18px; }
  .y-catalog-row, .y-catalog-middle .y-catalog-row, .y-catalog-group-panel a { min-height: 54px; padding-inline: 18px; font-size: 16px; }
  .y-level-title { min-height: 58px; padding-inline: 18px; }
  .y-catalog-feature { display: none; }
  .y-search { display: none; }
  .y-measure-card { padding: 34px 22px 28px; }
  .y-measure-close { top: 12px; right: 12px; width: 42px; height: 42px; }
  .y-measure-modal h2 { margin-right: 46px; font-size: 29px; }
  .y-measure-intro { margin-bottom: 22px; font-size: 15px; }
  .y-header-actions { gap: 6px; }
  .y-factory-hero { min-height: 0; aspect-ratio: 818 / 1048; }
  .y-factory-arrows { inset-inline: 10px; }
  .y-factory-arrow { width: 44px; height: 44px; font-size: 24px; }
  .y-factory-counter { left: 10px; bottom: 29px; padding: 4px 6px; }
  .y-factory-dots { bottom: 8px; width: calc(100% - 20px); gap: 3px; padding: 4px 5px; }
  .y-factory-dot { height: 11px; padding-block: 4px; }
  .y-factory-dot::before, .y-factory-dot::after { height: 3px; }
  .y-hero::after { right: -58%; top: -8%; width: 120vw; opacity: .35; }
  .y-hero-copy { margin-top: 38px; }
  .y-category, .y-category:first-child, .y-category:nth-child(2) { grid-column: 1 / -1; min-height: 270px; }
  .y-benefits-grid { grid-template-columns: 1fr; }
  .y-benefits article { min-height: 260px; }
  .y-home-intro { padding-top: 58px; }
  .y-home-intro h1 br, .y-home-heading h2 br { display: none; }
  .y-home-actions { align-items: flex-start; flex-direction: column; }
  .y-home-trust { grid-template-columns: 1fr; }
  .y-home-trust div { padding: 20px 4px; border-right: 0; border-bottom: 1px solid var(--y-line); }
  .y-home-trust div:last-child { border-bottom: 0; }
  .y-home-category-grid { grid-template-columns: 1fr; }
  .y-home-category, .y-home-category-main, .y-home-category-all { min-height: 220px; grid-column: 1; }
  .y-home-category-main { min-height: 290px; }
  .y-home-category-main::after { right: -15%; width: 62%; opacity: .55; }
  .y-home-steps { grid-template-columns: 1fr; }
  .y-home-steps article { min-height: 270px; }
  .y-home-final-grid { gap: 38px; }
  .y-home-final-action::before { height: 210px; margin-bottom: 4px; }
  .woocommerce ul.products, .y-products .woocommerce ul.products { gap: 16px 10px; }
  .search-results .wc-block-product-template { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 16px 10px !important; }
  .search-results .wc-block-components-product-image,
  .search-results .wc-block-components-product-image > a { height: clamp(210px,54vw,330px); }
  .search-results .wc-block-product-template > .wc-block-product { padding: 8px 8px 10px; }
  .search-results .wc-block-product .wp-block-post-title { font-size: 14px !important; }
  nav.woocommerce-pagination { margin-top: 42px; padding-top: 22px; }
  nav.woocommerce-pagination ul.page-numbers { gap: 6px; }
  nav.woocommerce-pagination .page-numbers a,
  nav.woocommerce-pagination .page-numbers span { min-width: 42px; height: 42px; padding-inline: 10px !important; font-size: 14px; }
  nav.woocommerce-pagination a.prev,
  nav.woocommerce-pagination a.next { min-width: 42px; width: 42px; padding: 0 !important; overflow: hidden; font-size: 0; }
  nav.woocommerce-pagination a.prev::before,
  nav.woocommerce-pagination a.next::after { margin: 0; font-size: 19px; }
  .woocommerce ul.products li.product { padding: 8px 8px 10px !important; }
  html body.woocommerce ul.products li.product a img,
  html body .woocommerce ul.products li.product a img { height: clamp(210px, 54vw, 330px) !important; padding: 12px; margin-bottom: 12px; }
  .woocommerce ul.products li.product a.woocommerce-LoopProduct-link { height: calc(clamp(210px, 54vw, 330px) + 98px) !important; flex-basis: calc(clamp(210px, 54vw, 330px) + 98px) !important; }
  .y-wishlist-button--card { top: 16px; right: 16px; width: 38px; height: 38px; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14px; }
  .y-footer-main { grid-template-columns: 1fr; }
  .y-footer-bottom { flex-direction: column; }
  .y-contact-page > section { width: min(100% - 28px, 1440px); }
  .y-contact-hero { min-height: 0; gap: 12px; padding: 12px; }
  .y-contact-hero__copy { padding: 42px 12px; }
  .y-contact-hero h2 { font-size: clamp(27px,7vw,34px); }
  .y-contact-actions { flex-direction: column; }
  .y-contact-button { width: 100%; }
  .y-contact-hero__card { min-height: 0; padding: 30px 22px; }
  .y-contact-info { grid-template-columns: 48px 1fr; gap: 16px; padding: 26px 20px; }
  .y-contact-info__icon { width: 48px; height: 48px; font-size: 23px; }
  .y-contact-map, .y-contact-legal { padding-top: 62px; }
  .y-contact-map__frame { min-height: 360px; }
  .y-details-grid { grid-template-columns: 1fr; }
  .y-credit-page { padding-inline: 0; }
  body:has(.y-credit-page) main.y-shell.y-section { padding-top: 34px; }
  .y-credit-title { margin-bottom: 26px; line-height: 1.2; }
  .y-credit-hero { grid-template-columns: 1fr; gap: 30px; padding: 30px 20px; }
  .y-credit-rate { width: min(240px,80%); justify-self: center; }
  .y-credit-actions { flex-direction: column; }
  .y-credit-actions .wp-element-button { text-align: center; }
  .y-credit-benefits, .y-credit-categories > div, .y-credit-steps { grid-template-columns: 1fr; }
  .y-credit-section { padding-top: 52px; }
  .y-credit-steps li { grid-template-columns: 50px 1fr; min-height: 0; padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
  .y-factory-slide { transition: none; }
  .y-factory-dot.is-active::after { animation: none; transform: scaleX(1); }
}

html body button,
html body input[type="button"],
html body input[type="reset"],
html body input[type="submit"],
html body .wp-element-button,
html body .y-button,
html body .y-catalog-button,
html body .y-consult-button,
html body .y-icon-link,
html body .y-offer-links a,
html body .woocommerce a.button,
html body .woocommerce button.button,
html body .woocommerce input.button,
html body .woocommerce nav.woocommerce-pagination a,
html body .woocommerce nav.woocommerce-pagination span {
  border-radius: 12px !important;
}

/* 2026 visual refresh: factory yellow, softer cards and a clearer header. */
.y-service-nav {
  border-bottom: 1px solid var(--y-line);
  background: #fff;
  color: var(--y-graphite);
}
.y-service-nav__inner { min-height: 36px; gap: 24px; }
.y-service-nav a {
  padding-block: 9px;
  color: var(--y-graphite);
  font-size: 12px;
  text-shadow: none;
}
.y-service-nav a:hover,
.y-service-nav a:focus-visible { color: #887500; }

.y-topline {
  border-bottom: 1px solid var(--y-line);
  background: #fff;
  color: var(--y-graphite);
  letter-spacing: 0;
  text-transform: none;
}
.y-topline-inner { min-height: 94px; padding-block: 12px; }
.y-topline .y-logo { flex: 0 0 auto; }
.y-topline .y-logo img { width: 174px; }
.y-topline-right { gap: 22px; }
.y-header-address { max-width: 245px; font-size: 13px; font-weight: 700; white-space: normal; }
.y-header-address:hover,
.y-header-phone:hover { color: #887500; }
.y-header-contact { gap: 14px; }
.y-header-phone { font-size: clamp(17px,1.35vw,21px); }
.y-header-messenger { width: 36px; height: 36px; }
.y-header-messenger svg { width: 19px; height: 19px; }
.y-header-messenger--instagram {
  background: linear-gradient(135deg,#6742d9 5%,#d62976 48%,#fa7e1e 78%,#feda75);
}
.y-topline .y-consult-button {
  min-height: 48px;
  padding-inline: 22px;
  color: var(--y-black);
  box-shadow: none;
}
.y-topline .y-consult-button:hover { background: #f3d700; box-shadow: 0 10px 24px rgba(30,41,69,.12); }
.y-header { position: relative; top: auto; background: #fff; backdrop-filter: none; }
.y-header-inner { min-height: 68px; gap: 12px; }
.y-catalog-menu { margin-left: 0; }
.y-catalog-button { min-height: 48px; color: var(--y-black); }
.y-search { border-radius: 12px; overflow: hidden; }
.y-icon-link { border-radius: 12px; }

.y-info-hero,
.y-credit-hero {
  grid-template-columns: 1fr;
  border-radius: 20px;
  overflow: hidden;
}
.y-info-hero__copy { max-width: 940px; }
.y-credit-hero { gap: 0; }
.y-info-card,
.y-credit-benefits article,
.y-credit-categories a,
.y-credit-steps,
.y-credit-steps li,
.y-info-note,
.y-credit-note,
.y-info-price-table,
.y-contact-info,
.y-contact-hero,
.y-contact-hero__card,
.woocommerce ul.products li.product,
.search-results .wc-block-product-template > .wc-block-product {
  border-radius: 16px;
}
.y-info-note,
.y-credit-note { overflow: hidden; }
.y-info-button,
.y-credit-actions .wp-element-button,
.y-contact-button,
.y-product-consultation__field input,
.y-product-consultation__submit,
.single-product div.product form.cart .variations select,
.single-product div.product form.cart .quantity .qty,
.single-product div.product form.cart .single_add_to_cart_button {
  border-radius: 12px !important;
}
.y-entrance-collections__arrow,
.y-factory-arrow,
.single-product div.product .woocommerce-product-gallery > .y-wishlist-button--single { border-radius: 12px !important; }
.y-entrance-collection,
.y-category,
.y-benefits article,
.y-home-category,
.y-home-steps article,
.y-home-final-action,
.y-product-overview > .summary,
.y-measure-card { border-radius: 16px; }
.y-factory-dots { border-radius: 999px; }
.y-credit-benefits strong,
.y-credit-steps li > span,
.y-info-list li::marker,
.y-credit-text-list li::marker { color: #8b7600; }
.single-product div.product .woocommerce-variation-price .price { color: #8b7600 !important; }

@media (max-width: 960px) {
  .y-topline-inner { min-height: 76px; }
  .y-topline-right { width: auto; margin-left: auto; justify-content: flex-end; }
  .y-header-contact { width: auto; }
  .y-topline .y-consult-button { display: none; }
  .y-header-inner { min-height: 64px; }
  .y-catalog-menu { margin-left: 0; }
}

@media (max-width: 640px) {
  .y-service-nav__inner { justify-content: flex-start; }
  .y-topline-inner { min-height: 68px; gap: 12px; }
  .y-topline .y-logo img { width: 124px; }
  .y-topline-right { gap: 8px; }
  .y-header-contact { width: auto; gap: 8px; }
  .y-header-phone svg { display: none; }
  .y-header-phone { font-size: 13px; }
  .y-header-messengers { gap: 4px; }
  .y-header-messenger { width: 28px; height: 28px; }
  .y-header-messenger svg { width: 15px; height: 15px; }
  .y-header-messenger--viber,
  .y-header-messenger--whatsapp { display: none; }
  .y-info-hero,
  .y-credit-hero { border-radius: 14px; }
}
