/*
Theme Name: Your Brand B2B
Theme URI: https://your-brand.dk
Author: Codex
Description: Simple professional WooCommerce theme for Your Brand ApS with customer type selection, WooCommerce search and B2B/B2G tax display.
Version: 1.1.6
Requires at least: 6.4
Tested up to: 6.5
Requires PHP: 8.0
Text Domain: yourbrand
*/

:root {
  --yb-ink: #17202a;
  --yb-muted: #5f6b76;
  --yb-line: #d9dee3;
  --yb-soft: #f5f6f7;
  --yb-panel: #ffffff;
  --yb-accent: #2f7a7f;
  --yb-accent-dark: #205a5e;
  --yb-warm: #b78345;
  --yb-danger: #a33a34;
  --yb-max: 1180px;
  --yb-radius: 6px;
  --yb-shadow: 0 16px 36px rgba(23, 32, 42, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--yb-ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

button,
input,
select,
textarea {
  font: inherit;
}

.yb-container {
  width: min(var(--yb-max), calc(100% - 32px));
  margin-inline: auto;
}

.yb-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.yb-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--yb-line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.yb-header__inner {
  display: grid;
  grid-template-columns: auto minmax(260px, 520px) auto;
  align-items: center;
  gap: 14px 24px;
  min-height: 92px;
  padding-block: 14px;
}

.yb-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  border: 1px solid var(--yb-line);
  border-radius: 6px;
  background: #fff;
  color: var(--yb-ink);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
  padding: 0 12px;
  text-transform: uppercase;
}

.yb-menu-toggle__bars,
.yb-menu-toggle__bars::before,
.yb-menu-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.yb-menu-toggle__bars {
  position: relative;
}

.yb-menu-toggle__bars::before,
.yb-menu-toggle__bars::after {
  position: absolute;
  left: 0;
}

.yb-menu-toggle__bars::before {
  top: -6px;
}

.yb-menu-toggle__bars::after {
  top: 6px;
}

.yb-menu-open .yb-menu-toggle__bars {
  transform: rotate(45deg);
}

.yb-menu-open .yb-menu-toggle__bars::before {
  opacity: 0;
}

.yb-menu-open .yb-menu-toggle__bars::after {
  transform: translateY(-6px) rotate(-90deg);
}

.yb-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
  grid-column: 1;
  grid-row: 1;
  font-weight: 800;
  letter-spacing: 0;
}

.yb-brand-mark {
  display: inline-flex;
  width: 52px;
  height: 52px;
}

.yb-brand-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

.yb-brand-mark circle {
  fill: var(--yb-accent);
  stroke: var(--yb-ink);
  stroke-width: 5;
}

.yb-brand-mark path {
  fill: #fff;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.yb-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.yb-brand-text strong {
  font-size: 1.18rem;
  text-transform: uppercase;
}

.yb-brand-text small {
  color: var(--yb-muted);
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 4px;
}

.yb-brand-text--fallback strong {
  font-size: 1.28rem;
}

.yb-custom-logo {
  display: block;
  max-height: 76px;
  width: auto;
}

.yb-default-logo {
  display: block;
  width: auto;
  height: 66px;
}

.yb-nav {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: center;
  color: var(--yb-ink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.yb-menu,
.yb-menu .sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.yb-menu {
  display: flex;
  align-items: center;
  gap: 12px;
}

.yb-menu > li {
  position: relative;
  margin-bottom: -10px;
  padding-bottom: 10px;
}

.yb-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border-radius: 0;
  color: #1d252e;
  padding: 0 6px;
  transition: background 0.18s ease, color 0.18s ease;
}

.yb-menu > li > a::after {
  position: absolute;
  right: 6px;
  bottom: 6px;
  left: 6px;
  height: 2px;
  border-radius: 999px;
  background: var(--yb-accent);
  content: "";
  opacity: 0;
  transform: scaleX(0.45);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.yb-menu a:hover,
.yb-menu a:focus,
.yb-menu .current-menu-item > a,
.yb-menu .current-menu-ancestor > a {
  color: #0f1720;
}

.yb-menu .yb-menu-contact > a {
  color: var(--yb-ink);
  font-weight: 900;
}

.yb-menu .yb-menu-contact > a:hover,
.yb-menu .yb-menu-contact > a:focus {
  color: var(--yb-accent-dark);
}

.yb-menu > li > a:hover::after,
.yb-menu > li > a:focus::after,
.yb-menu > .current-menu-item > a::after,
.yb-menu > .current-menu-ancestor > a::after {
  opacity: 1;
  transform: scaleX(1);
}

.yb-menu .menu-item-has-children > a {
  padding-right: 20px;
}

.yb-menu .menu-item-has-children > a::before {
  position: absolute;
  right: 4px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-65%) rotate(45deg);
}

.yb-menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 40;
  min-width: 220px;
  border: 1px solid var(--yb-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--yb-shadow);
  opacity: 0;
  padding: 8px;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.yb-menu li:hover > .sub-menu,
.yb-menu li:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.yb-menu .sub-menu a {
  display: flex;
  justify-content: space-between;
  min-height: 42px;
  width: 100%;
  border-radius: 5px;
  color: #303943;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  padding-inline: 12px;
  white-space: nowrap;
}

.yb-menu .sub-menu .sub-menu {
  top: -8px;
  left: calc(100% + 10px);
}

.yb-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  grid-column: 3;
  grid-row: 1;
  gap: 14px;
}

.yb-header-search-wrap {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  width: min(100%, 470px);
  justify-self: center;
}

.yb-header-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 38px;
  align-items: center;
  width: 100%;
  border: 1px solid var(--yb-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(23, 32, 42, 0.05);
  overflow: hidden;
}

.yb-header-search:focus-within {
  border-color: rgba(47, 122, 127, 0.55);
  box-shadow: 0 10px 28px rgba(47, 122, 127, 0.13);
}

.yb-header-search input[type="search"] {
  width: 100%;
  min-height: 36px;
  border: 0;
  background: transparent;
  color: var(--yb-ink);
  font-size: 0.88rem;
  outline: 0;
  padding: 0 6px 0 14px;
}

.yb-header-search input[type="search"]::placeholder {
  color: #7a858f;
}

.yb-header-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--yb-accent-dark);
  cursor: pointer;
}

.yb-header-search svg {
  width: 17px;
  height: 17px;
}

.yb-header-search circle,
.yb-header-search path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.yb-search-results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 80;
  display: grid;
  gap: 4px;
  border: 1px solid var(--yb-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(23, 32, 42, 0.16);
  padding: 8px;
}

.yb-search-results[hidden] {
  display: none;
}

.yb-search-result {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  border-radius: 6px;
  color: var(--yb-ink);
  padding: 7px;
}

.yb-search-result:hover,
.yb-search-result:focus {
  background: var(--yb-soft);
}

.yb-search-result img {
  width: 46px;
  height: 46px;
  border-radius: 5px;
  object-fit: cover;
  background: var(--yb-soft);
}

.yb-search-result strong,
.yb-search-result small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.yb-search-result strong {
  font-size: 0.88rem;
}

.yb-search-result small {
  color: var(--yb-ink);
  font-size: 0.86rem;
  font-weight: 850;
  margin-top: 2px;
}

.yb-search-all,
.yb-search-empty {
  border-top: 1px solid var(--yb-line);
  color: var(--yb-accent-dark);
  font-size: 0.86rem;
  font-weight: 800;
  margin-top: 4px;
  padding: 9px 8px 4px;
}

.yb-search-empty {
  color: var(--yb-muted);
  font-weight: 650;
}

.yb-header-actions svg {
  display: block;
}

.yb-button,
.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: var(--yb-radius);
  background: var(--yb-accent);
  color: #fff;
  cursor: pointer;
  font-weight: 750;
  line-height: 1;
  padding: 0 16px;
  text-decoration: none;
  transform: translateY(0);
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.yb-button:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--yb-accent-dark);
  box-shadow: 0 10px 22px rgba(32, 90, 94, 0.22);
  color: #fff;
  transform: translateY(-1px);
}

.yb-button--secondary {
  border-color: var(--yb-line);
  background: #fff;
  color: var(--yb-ink);
}

.yb-cart-button {
  position: relative;
  gap: 8px;
  min-height: 38px;
  border-color: var(--yb-line);
  border-radius: 8px;
  background: #fff;
  color: var(--yb-ink);
  font-size: 0.9rem;
  padding-inline: 13px;
}

.yb-cart-button:hover,
.yb-cart-button:focus {
  border-color: #b8c2c8;
  background: #f8faf9;
  box-shadow: 0 10px 24px rgba(23, 32, 42, 0.1);
  color: var(--yb-ink);
}

.yb-account-button {
  min-height: 38px;
  font-size: 0.86rem;
  padding-inline: 13px;
}

.yb-cart-button svg {
  width: 20px;
  height: 20px;
}

.yb-cart-button path,
.yb-cart-button circle {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.yb-cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #111820;
  color: #fff;
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1;
  padding-inline: 4px;
}

.yb-cart-count[hidden] {
  display: none;
}

.yb-button--secondary:hover {
  border-color: var(--yb-ink);
  background: #fff;
  color: var(--yb-ink);
}

.yb-button--quiet {
  background: transparent;
  color: var(--yb-ink);
  padding-inline: 8px;
}

.yb-button--quiet:hover {
  background: var(--yb-soft);
  color: var(--yb-ink);
}

.yb-hero {
  border-bottom: 1px solid var(--yb-line);
  background:
    linear-gradient(90deg, rgba(23, 32, 42, 0.86), rgba(23, 32, 42, 0.58)),
    url("assets/img/hero-workshop.png");
  background-color: var(--yb-ink);
  background-position: center;
  background-size: cover;
  color: #fff;
}

.yb-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 42px;
  min-height: 520px;
  padding-block: 86px 46px;
}

.yb-hero h1 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(2.35rem, 5vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.yb-hero p {
  max-width: 640px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.yb-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.yb-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.yb-front-categories {
  padding-block: 24px;
  background:
    radial-gradient(circle at 14% 12%, rgba(47, 122, 127, 0.12), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f7f9f9 100%);
}

.yb-proof {
  display: grid;
  gap: 10px;
  border-left: 3px solid var(--yb-warm);
  background: rgba(255, 255, 255, 0.08);
  padding: 18px;
}

.yb-proof strong {
  color: #fff;
  font-size: 1.2rem;
}

.yb-proof span {
  color: rgba(255, 255, 255, 0.74);
}

.yb-section {
  padding-block: 58px;
}

.yb-section--muted {
  background: var(--yb-soft);
}

.yb-solutions {
  padding-bottom: 16px;
}

.yb-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.yb-section__head h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  letter-spacing: 0;
}

.yb-section__head p {
  max-width: 560px;
  margin: 8px 0 0;
  color: var(--yb-muted);
}

.yb-page-content {
  color: var(--yb-ink);
}

.yb-page-content--legal {
  max-width: 920px;
  border: 1px solid var(--yb-line);
  border-radius: 8px;
  background: #fff;
  padding: clamp(26px, 4vw, 52px);
}

.yb-page-content--legal h1 {
  margin-top: 0;
}

.yb-page-content--legal :where(p, ul, ol) {
  color: var(--yb-muted);
  line-height: 1.75;
}

.yb-page-content--legal :where(h2, h3) {
  margin-top: 1.8em;
}

.yb-furniture-hero {
  position: relative;
  overflow: hidden;
  background: #f4f4f2;
  padding-block: 28px 34px;
}

.yb-furniture-hero__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.62fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 22px;
}

.yb-furniture-hero h1 {
  margin: 0;
  color: var(--yb-ink);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  letter-spacing: 0;
  line-height: 0.96;
}

.yb-furniture-hero p {
  margin: 0;
  color: var(--yb-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.yb-furniture-category-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(190px, min(16vw, 260px));
  gap: 10px;
}

.yb-furniture-category-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 190px;
  border-radius: 4px;
  background: #1b1d20;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
  transform: translateY(0);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.yb-furniture-category-card--wide {
  grid-column: span 2;
  grid-row: span 2;
}

.yb-furniture-category-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.08) contrast(1.02);
  transform: scale(1.01);
  transition: filter 0.35s ease, transform 0.45s ease;
}

.yb-furniture-category-card__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.66)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.2), transparent 58%);
  content: "";
}

.yb-furniture-category-card:hover,
.yb-furniture-category-card:focus {
  box-shadow: 0 24px 60px rgba(23, 32, 42, 0.18);
  color: #fff;
  transform: translateY(-4px);
}

.yb-furniture-category-card:hover img,
.yb-furniture-category-card:focus img {
  filter: grayscale(0) contrast(1.06);
  transform: scale(1.065);
}

.yb-furniture-category-card__content {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: grid;
  gap: 7px;
}

.yb-furniture-category-card strong {
  font-size: clamp(1.35rem, 2.5vw, 2.25rem);
  line-height: 1;
}

.yb-furniture-category-card small {
  max-width: 360px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  line-height: 1.35;
}

.yb-smart-frame-preview {
  overflow: hidden;
  background: #fff;
  padding-block: 0;
}

.yb-smart-frame-preview__wrap {
  width: 100%;
  margin-inline: auto;
}

.yb-smart-frame-preview__box {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(26px, 4vw, 58px);
  align-items: center;
  overflow: hidden;
  border-radius: 0;
  background: #11161c;
  color: #fff;
  padding: clamp(26px, 4vw, 52px);
}

.yb-smart-frame-preview__content {
  max-width: 560px;
}

.yb-smart-frame-preview h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.85rem, 3.2vw, 3.2rem);
  letter-spacing: 0;
  line-height: 1.02;
}

.yb-smart-frame-preview p {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.65;
}

.yb-smart-frame-preview ul {
  display: grid;
  gap: 9px;
  margin: 20px 0 26px;
  padding: 0;
  list-style: none;
}

.yb-smart-frame-preview li {
  position: relative;
  color: rgba(255, 255, 255, 0.82);
  padding-left: 22px;
}

.yb-smart-frame-preview li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #fff;
  content: "";
}

.yb-smart-frame-preview .yb-button {
  background: #fff;
  color: #11161c;
}

.yb-smart-frame-preview__gallery {
  display: grid;
  grid-template-columns: 1fr 0.78fr;
  gap: 16px;
  align-items: end;
}

.yb-smart-frame-preview__gallery img {
  width: 100%;
  height: clamp(230px, 27vw, 370px);
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.24);
}

.yb-smart-frame-preview__gallery img:nth-child(2) {
  height: clamp(200px, 22vw, 310px);
  margin-bottom: 28px;
}

@keyframes yb-soft-zoom {
  from {
    transform: scale(1.01);
  }

  to {
    transform: scale(1.06);
  }
}

.yb-category-grid,
.yb-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.yb-featured-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  min-height: 560px;
}

.yb-category-stack {
  display: grid;
  gap: 18px;
}

.yb-category-tile {
  position: relative;
  display: flex;
  min-height: 300px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--yb-ink);
  color: #fff;
  isolation: isolate;
  box-shadow: 0 1px 0 rgba(23, 32, 42, 0.12);
}

.yb-category-tile--large {
  min-height: 560px;
}

.yb-category-tile--side {
  min-height: 560px;
}

.yb-category-tile img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.yb-category-tile::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(23, 32, 42, 0.1), rgba(23, 32, 42, 0.82));
  content: "";
}

.yb-category-tile:hover img,
.yb-category-tile:focus-visible img {
  filter: saturate(1.04) contrast(1.03);
  transform: scale(1.055);
}

.yb-category-tile__content {
  align-self: flex-end;
  max-width: 520px;
  padding: 28px;
}

.yb-category-tile h1,
.yb-category-tile h2,
.yb-category-tile h3 {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.35rem);
  letter-spacing: 0;
  line-height: 1.02;
}

.yb-category-tile p {
  max-width: 480px;
  margin: 8px 0 18px;
  color: rgba(255, 255, 255, 0.82);
}

.yb-category-tile .yb-button {
  background: #fff;
  color: var(--yb-ink);
}

.yb-category-tile .yb-button:hover {
  background: var(--yb-soft);
  box-shadow: none;
}

.yb-category-card,
.yb-value-card {
  min-height: 180px;
  border: 1px solid var(--yb-line);
  border-radius: var(--yb-radius);
  background: var(--yb-panel);
  padding: 22px;
}

.yb-category-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.yb-category-card h3,
.yb-value-card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.yb-category-card p,
.yb-value-card p {
  margin: 0;
  color: var(--yb-muted);
}

.yb-category-card span {
  margin-top: 28px;
  color: var(--yb-accent);
  font-weight: 750;
}

.yb-products-band {
  position: relative;
  overflow: hidden;
  padding-block: 38px 46px;
  background: #fff;
}

.yb-products-band::before {
  display: none;
}

.yb-products-band > .yb-container {
  position: relative;
  z-index: 1;
}

.yb-products-band .yb-section__head {
  align-items: center;
  width: min(1120px, calc(100% - 72px));
  margin: 0 auto 18px;
  border-bottom: 1px solid var(--yb-line);
  padding: 0 0 14px;
}

.yb-products-band .yb-section__head h2 {
  color: #22272d;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  text-transform: uppercase;
}

.yb-section__head--center {
  justify-content: center;
  text-align: center;
}

.yb-section__head--center p {
  margin-inline: auto;
}

.yb-shop-archive {
  padding-block: 48px 64px;
  background: #fff;
}

.yb-shop-archive__head {
  display: grid;
  gap: 8px;
  width: min(900px, 100%);
  margin: 0 auto 34px;
  border-bottom: 1px solid var(--yb-line);
  padding-bottom: 20px;
  text-align: center;
}

.yb-shop-archive__head h1 {
  margin: 0;
  color: var(--yb-ink);
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: 0;
  line-height: 1;
}

.yb-shop-archive__description {
  max-width: 680px;
  margin-inline: auto;
  color: var(--yb-muted);
}

.yb-shop-archive__description:empty,
.woocommerce-products-header {
  display: none;
}

.yb-shop-layout {
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 38px);
  align-items: start;
}

.yb-shop-sidebar {
  position: sticky;
  top: 124px;
  z-index: 2;
}

.yb-shop-results {
  min-width: 0;
}

.yb-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.yb-shop-toolbar .woocommerce-result-count {
  margin: 0;
  color: var(--yb-ink);
  font-size: 1rem;
}

.yb-shop-toolbar .woocommerce-ordering {
  margin: 0;
}

.yb-shop-toolbar .orderby {
  min-height: 42px;
  min-width: 220px;
  border: 1px solid var(--yb-line);
  border-radius: 7px;
  background: #fff;
  color: var(--yb-ink);
  font-size: 0.95rem;
  font-weight: 650;
  padding: 0 12px;
}

.yb-product-filters {
  display: grid;
  gap: 14px;
  width: 100%;
  margin: 0;
  border: 1px solid var(--yb-line);
  border-radius: 10px;
  background: #f8f8f7;
  padding: 18px;
}

.yb-filter-panel {
  display: block;
}

.yb-filter-panel summary {
  display: none;
}

.yb-product-filter {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--yb-ink);
  font-size: 0.82rem;
  font-weight: 750;
}

.yb-product-filter input,
.yb-product-filter select {
  min-height: 40px;
  border: 1px solid var(--yb-line);
  border-radius: 7px;
  background: #fff;
  color: var(--yb-ink);
  padding: 7px 10px;
}

.yb-product-filter input[type="range"] {
  width: 100%;
  min-height: auto;
  accent-color: #171b20;
  padding: 0;
}

.yb-product-filter output {
  color: var(--yb-muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.yb-product-filter--range {
  gap: 8px;
}

.yb-product-filter--range > span,
.yb-product-filter--types > span {
  color: var(--yb-ink);
  font-size: 0.92rem;
  font-weight: 900;
}

.yb-product-filter--check {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 8px;
}

.yb-product-filter--check input {
  width: 18px;
  min-height: 18px;
  accent-color: #171b20;
}

.yb-product-filter--types {
  border-top: 1px solid rgba(23, 32, 42, 0.1);
  padding-top: 14px;
}

.yb-product-filter-submit {
  min-height: 40px;
  background: #171b20;
}

.yb-product-filter-reset {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  color: var(--yb-muted);
  font-weight: 750;
}

.yb-about-hero {
  background: #f4f3f1;
  padding-block: clamp(64px, 8vw, 112px);
}

.yb-about-hero__inner {
  max-width: 900px;
}

.yb-about-hero h1 {
  max-width: 820px;
  margin: 8px 0 0;
  color: var(--yb-ink);
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 0.98;
}

.yb-about-hero p {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--yb-muted);
  font-size: 1.12rem;
}

.yb-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.yb-about-main {
  display: grid;
  gap: 18px;
  color: #414951;
  font-size: 1.02rem;
  line-height: 1.75;
}

.yb-about-main h2 {
  margin: 18px 0 0;
  color: var(--yb-ink);
  font-size: clamp(1.5rem, 2.5vw, 2.35rem);
  line-height: 1.1;
}

.yb-about-main p {
  margin: 0;
}

.yb-about-values {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.yb-about-values li {
  position: relative;
  padding-left: 24px;
}

.yb-about-values li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--yb-accent);
  content: "";
}

.yb-about-card {
  position: sticky;
  top: 124px;
  border: 1px solid var(--yb-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 44px rgba(23, 32, 42, 0.08);
  padding: 28px;
}

.yb-about-card h2 {
  margin: 0 0 18px;
}

.yb-about-card address {
  color: var(--yb-muted);
  font-style: normal;
  line-height: 1.75;
}

.yb-about-card a:not(.yb-button) {
  color: var(--yb-ink);
  font-weight: 750;
}

.yb-about-card .yb-button {
  width: 100%;
  margin-top: 22px;
}

.yb-solution-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(960px, 100%);
  margin-inline: auto;
}

.yb-solution-card {
  position: relative;
  display: flex;
  min-height: 260px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(23, 32, 42, 0.08), rgba(23, 32, 42, 0.64)),
    var(--yb-solution-card-image),
    linear-gradient(135deg, #dce5e6, #eef2f2);
  background-position: center;
  background-size: cover;
  color: #fff;
  isolation: isolate;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.yb-solution-card::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.28), transparent 62%),
    linear-gradient(180deg, transparent 28%, rgba(0, 0, 0, 0.55));
  content: "";
}

.yb-solution-card:hover,
.yb-solution-card:focus {
  box-shadow: var(--yb-shadow);
  color: #fff;
  transform: translateY(-2px);
}

.yb-solution-card span {
  align-self: flex-end;
  padding: 26px;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 850;
  line-height: 1.05;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.24);
}

.yb-project-cta {
  padding-block: 0;
  background: #fff;
  color: #fff;
}

.yb-project-cta > .yb-container {
  width: 100%;
  max-width: none;
}

.yb-project-cta__card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  overflow: hidden;
  border-radius: 0;
  background: var(--yb-ink);
}

.yb-project-cta__content {
  padding: clamp(32px, 5vw, 58px);
}

.yb-project-cta h2 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1.08;
}

.yb-project-cta p {
  max-width: 720px;
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.yb-project-cta__image {
  min-height: 380px;
  overflow: hidden;
}

.yb-project-cta__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.yb-footer {
  border-top: 1px solid var(--yb-line);
  background: #f8f9f9;
  color: var(--yb-ink);
}

.yb-footer__inner {
  display: grid;
  grid-template-columns: minmax(300px, 1.15fr) repeat(3, minmax(140px, 0.75fr)) minmax(250px, 0.95fr);
  align-items: flex-start;
  gap: 26px;
  padding-block: 36px;
}

.yb-footer p,
.yb-footer a {
  color: var(--yb-muted);
}

.yb-footer a:hover {
  color: var(--yb-ink);
}

.yb-footer__section-label {
  display: block;
  color: var(--yb-ink);
  font-weight: 900;
}

.yb-footer__sub-link {
  padding-left: 12px;
}

.yb-footer__strong-link {
  color: var(--yb-ink) !important;
  font-weight: 900;
}

.yb-footer h2,
.yb-footer h3 {
  margin: 0 0 10px;
}

.yb-footer h2 {
  white-space: nowrap;
}

.yb-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.yb-footer__brand p {
  max-width: 320px;
}

.yb-footer__legal {
  font-size: 0.85rem;
  white-space: nowrap;
}

.yb-footer__payments {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-top: 1px solid var(--yb-line);
  padding-top: 20px;
}

.yb-footer__payments h3 {
  margin: 0;
}

.yb-footer__payment-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.yb-footer__payment-logos img {
  width: auto;
  max-width: 96px;
  height: 28px;
  object-fit: contain;
}

.yb-cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  justify-items: end;
  pointer-events: none;
  visibility: hidden;
}

.yb-cart-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.yb-cart-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 32, 0.58);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.yb-cart-drawer.is-open .yb-cart-drawer__overlay {
  opacity: 1;
}

.yb-cart-drawer__panel {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(460px, 100vw);
  height: 100%;
  background: #fff;
  box-shadow: -18px 0 38px rgba(17, 24, 32, 0.18);
  transform: translateX(105%);
  transition: transform 0.24s ease;
}

.yb-cart-drawer.is-open .yb-cart-drawer__panel {
  transform: translateX(0);
}

.yb-cart-drawer__header {
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--yb-line);
  background: #f8f7f5;
  padding: 16px 22px;
}

.yb-cart-drawer__icon {
  position: relative;
  display: inline-flex;
  width: 30px;
  height: 30px;
}

.yb-cart-drawer__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.yb-cart-drawer__header h2 {
  flex: 1;
  margin: 0;
  color: #0f1419;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 750;
  letter-spacing: 0;
}

.yb-cart-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #111820;
  cursor: pointer;
}

.yb-cart-drawer__close span,
.yb-cart-drawer__close span::after {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  content: "";
}

.yb-cart-drawer__close span {
  transform: rotate(45deg);
}

.yb-cart-drawer__close span::after {
  transform: rotate(90deg);
}

.yb-cart-drawer__content {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 0;
}

.yb-cart-drawer__content .woocommerce-mini-cart {
  flex: 1 1 0;
  min-height: 0;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.yb-cart-drawer__content .woocommerce-mini-cart-item {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border-bottom: 1px solid var(--yb-line);
  padding: 18px 22px;
}

.yb-cart-drawer__content .woocommerce-mini-cart-item > * {
  min-width: 0;
}

.yb-cart-drawer__content .woocommerce-mini-cart-item a:not(.remove) {
  display: contents;
  color: #0f1419;
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.25;
}

.yb-cart-drawer__content .woocommerce-mini-cart-item img {
  grid-column: 1;
  flex: 0 0 124px;
  width: 124px;
  min-width: 124px;
  height: 124px;
  min-height: 124px;
  border-radius: 8px;
  background: #f1f0ed;
  object-fit: contain;
  padding: 7px;
}

.yb-cart-drawer__content .quantity {
  grid-column: 2;
  color: #111820;
  font-size: 0.95rem;
  font-weight: 850;
  margin-top: 4px;
}

.yb-cart-drawer__content .remove {
  grid-column: 3;
  grid-row: 1 / span 2;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #111820 !important;
  font-size: 1.35rem;
  line-height: 1;
}

.yb-cart-drawer__content .remove:hover,
.yb-cart-drawer__content .remove:focus {
  background: #f2eeeb;
  color: #111820 !important;
}

.yb-cart-drawer__content .woocommerce-mini-cart__total {
  margin: 0;
  padding: 20px 22px 0;
  flex: 0 0 auto;
}

.yb-cart-drawer__content .woocommerce-mini-cart__total {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #111820;
  font-size: 0.96rem;
}

.yb-cart-drawer__content .woocommerce-mini-cart__total {
  border-top: 1px solid var(--yb-line);
}

.yb-mini-cart-total-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  padding: 10px 22px 0;
  color: #111820;
  font-size: 0.96rem;
  flex: 0 0 auto;
}

.yb-mini-cart-total-row strong {
  font-weight: 750;
}

.yb-mini-cart-total-row--grand {
  padding-top: 12px;
  font-weight: 850;
}

.yb-cart-drawer__content .woocommerce-mini-cart__buttons {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 20px 22px 22px;
  flex: 0 0 auto;
}

.yb-cart-drawer__content .woocommerce-mini-cart__buttons .button {
  min-height: 48px;
  border-radius: 8px;
  background: #111820;
  color: #fff;
  font-size: 0.92rem;
}

.yb-cart-drawer__content .woocommerce-mini-cart__buttons .checkout {
  background: #075142;
}

.yb-cart-drawer__content .woocommerce-mini-cart__buttons .button:hover,
.yb-cart-drawer__content .woocommerce-mini-cart__buttons .button:focus {
  background: #252b32;
}

.yb-cart-drawer__content .woocommerce-mini-cart__buttons .checkout:hover,
.yb-cart-drawer__content .woocommerce-mini-cart__buttons .checkout:focus {
  background: #064537;
}

.yb-cart-drawer__content .woocommerce-mini-cart__empty-message {
  margin: 0;
  padding: 34px 28px;
  color: var(--yb-muted);
  font-size: 1.05rem;
}

body.yb-cart-open {
  overflow: hidden;
}

.yb-payment-logos {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  border-top: 1px solid rgba(23, 32, 42, 0.08);
  padding: 0 22px 20px;
}

.yb-payment-logos img {
  display: block;
  width: auto;
  max-width: 76px;
  height: 26px;
  object-fit: contain;
}

.yb-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 28px 16px;
  background: rgba(9, 14, 18, 0.58);
  backdrop-filter: blur(2px);
}

.yb-modal.is-open {
  display: flex;
}

.yb-modal__panel {
  position: relative;
  width: min(690px, calc(100% - 28px));
  border: 1px solid rgba(23, 32, 42, 0.08);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 26px 70px rgba(23, 32, 42, 0.12);
  padding: 28px 34px 30px;
  text-align: center;
}

.yb-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--yb-line);
  border-radius: 999px;
  background: #fff;
  color: var(--yb-ink);
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}

.yb-modal__close:hover,
.yb-modal__close:focus {
  border-color: var(--yb-accent);
  color: var(--yb-accent-dark);
}

.yb-modal__brand {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.yb-modal__brand img {
  width: min(150px, 48vw);
  height: auto;
}

.yb-modal__intro {
  margin-inline: auto;
  max-width: 540px;
  margin-bottom: 18px;
}

.yb-modal__intro h2 {
  margin: 0;
  color: #080b0e;
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  font-weight: 560;
  line-height: 1.14;
}

.yb-choice-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-inline: auto;
  max-width: 540px;
}

.yb-choice {
  display: grid;
  gap: 6px;
  min-height: 66px;
  border: 0;
  border-radius: 8px;
  background: #eef5f3;
  color: #00513f;
  cursor: pointer;
  padding: 13px 16px 11px;
  text-align: center;
  transition: background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.yb-choice:hover,
.yb-choice:focus {
  background: #e2efec;
  box-shadow: 0 18px 34px rgba(0, 81, 63, 0.12);
  color: #003f31;
  outline: none;
  transform: translateY(-2px);
}

.yb-choice strong {
  display: block;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
  font-weight: 440;
  line-height: 1.05;
}

.yb-choice span {
  color: #0a0c0f;
  font-size: 0.88rem;
  line-height: 1.15;
}

.yb-choice--private {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(300px, 100%);
}

.yb-modal__copy {
  grid-column: 1 / -1;
  max-width: 460px;
  margin: 12px auto 0;
  color: #101419;
  font-size: 0.82rem;
  line-height: 1.42;
}

.yb-mode-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--yb-ink);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 650;
  padding: 0 2px;
}

.yb-mode-pill::after {
  width: 6px;
  height: 6px;
  border-right: 1.7px solid currentColor;
  border-bottom: 1.7px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
}

.yb-mode-pill span {
  color: inherit;
}

.yb-notice {
  border-left: 3px solid var(--yb-accent);
  background: var(--yb-soft);
  color: var(--yb-ink);
  margin: 18px 0;
  padding: 14px 16px;
}

.yb-account-panel {
  border: 1px solid var(--yb-line);
  border-radius: var(--yb-radius);
  background: #fff;
  padding: 22px;
}

.yb-el-product-shortcode {
  --yb-el-ink: var(--yb-ink);
  --yb-el-muted: var(--yb-muted);
  --yb-el-line: var(--yb-line);
  --yb-el-accent-dark: var(--yb-accent-dark);
  --yb-el-shadow: var(--yb-shadow);
  color: var(--yb-ink);
}

.yb-el-product-shortcode .yb-el-container {
  width: min(1180px, calc(100% - 96px));
  margin-inline: auto;
}

.yb-el-product-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 218px;
  grid-template-columns: repeat(4, 218px);
  justify-content: center;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 6px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.yb-el-product-shortcode .yb-el-product-grid {
  grid-auto-columns: 202px;
  grid-template-columns: none;
  justify-content: start;
  gap: 18px;
  padding: 2px max(18px, calc((100% - 1080px) / 2)) 14px;
  scroll-padding-left: 0;
}

.yb-el-product-shortcode .yb-el-product-card {
  border-color: rgba(23, 32, 42, 0.08);
  border-radius: 6px;
  background: #f8f7f5;
}

.yb-el-product-shortcode .yb-el-product-card:hover,
.yb-el-product-shortcode .yb-el-product-card:focus {
  border-color: transparent;
  box-shadow: none;
  transform: translateY(-2px);
}

.yb-el-product-shortcode .yb-el-product-media {
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  background: #f1f0ed;
}

.yb-el-product-shortcode .yb-el-product-media img {
  padding: 12px;
}

.yb-el-product-shortcode .yb-el-product-body {
  padding: 10px 10px 12px;
}

.yb-el-product-shortcode .yb-el-product-body h3 {
  font-size: 0.84rem;
  font-weight: 650;
}

.yb-el-product-shortcode .yb-el-product-meta {
  gap: 6px;
  margin-top: 10px;
}

.yb-el-product-shortcode .yb-el-product-meta .price {
  font-size: 0.86rem;
}

.yb-el-product-shortcode .yb-el-product-link {
  min-height: 30px;
  width: 100%;
  border-radius: 6px;
  background: #1a1d21;
  font-size: 0.74rem;
  padding-inline: 10px;
}

.yb-el-product-grid::-webkit-scrollbar {
  display: none;
}

.yb-el-product-grid::-webkit-scrollbar-thumb {
  display: none;
}

.yb-product-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}

.yb-product-carousel-dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: #c9ced2;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease, width 0.2s ease;
}

.yb-product-carousel-dot.is-active {
  width: 22px;
  background: #171b20;
}

.yb-el-product-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid var(--yb-el-line);
  border-radius: 9px;
  background: #f8f7f5;
  color: var(--yb-el-ink);
  text-decoration: none;
  transform: translateY(0);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.yb-el-product-image-link {
  display: block;
  color: inherit;
}

.yb-el-product-card:hover,
.yb-el-product-card:focus {
  border-color: rgba(23, 32, 42, 0.2);
  box-shadow: 0 14px 34px rgba(23, 32, 42, 0.1);
  color: var(--yb-el-ink);
  transform: translateY(-4px);
}

.yb-el-product-media {
  position: relative;
  aspect-ratio: 1 / 0.95;
  overflow: hidden;
  background: #f1f0ed;
}

.yb-el-product-media img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: opacity 0.28s ease, transform 0.45s ease;
}

.yb-product-image-hover {
  opacity: 0;
}

.yb-el-product-card:hover .yb-product-image-primary,
.yb-el-product-card:focus .yb-product-image-primary {
  opacity: 0;
}

.yb-el-product-card:hover .yb-product-image-hover,
.yb-el-product-card:focus .yb-product-image-hover {
  opacity: 1;
}

.yb-el-product-card:hover .yb-el-product-media img,
.yb-el-product-card:focus .yb-el-product-media img {
  transform: scale(1.045);
}

.yb-el-product-body {
  display: grid;
  grid-template-rows: auto auto auto auto 1fr auto;
  padding: 14px;
}

.yb-el-product-sku {
  display: block;
  margin-bottom: 5px;
  color: #717982;
  font-size: 0.72rem;
  font-weight: 650;
}

.yb-el-product-body h2,
.yb-el-product-body h3 {
  margin: 0;
  color: var(--yb-el-ink);
  font-size: 0.94rem;
  line-height: 1.25;
}

.yb-el-product-body h2 a,
.yb-el-product-body h3 a {
  color: inherit;
}

.yb-el-product-body p {
  margin: 8px 0 14px;
  color: var(--yb-el-muted);
  font-size: 0.93rem;
}

.yb-el-product-meta {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 10px;
  color: var(--yb-ink);
  font-weight: 900;
  margin-top: 14px;
}

.yb-el-product-meta > span {
  display: grid;
  gap: 2px;
}

.yb-el-product-meta .price {
  display: grid;
  gap: 2px;
  color: var(--yb-ink);
  font-size: 1rem;
}

.yb-el-product-meta del {
  display: block;
  color: #9aa2aa;
  font-weight: 750;
}

.yb-el-product-meta ins {
  display: block;
  color: var(--yb-ink);
  font-weight: 900;
  text-decoration: none;
}

.yb-el-product-meta .amount,
.yb-el-product-meta .woocommerce-Price-amount,
.yb-el-product-shortcode .price,
.woocommerce .price,
.woocommerce .price ins,
.woocommerce .price .amount,
.woocommerce .price .woocommerce-Price-amount {
  color: var(--yb-ink);
}

.yb-el-product-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  min-height: 44px;
  width: 100%;
  border-radius: 8px;
  border: 1px solid #fff;
  background: #fff;
  color: #111820;
  font-size: 0.84rem;
  font-weight: 850;
  padding: 0 14px;
  white-space: nowrap;
}

.yb-el-product-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.28fr);
  gap: 8px;
  align-self: end;
  grid-row: -1;
  margin-top: 16px;
}

.yb-el-product-actions > a {
  min-width: 0;
  box-sizing: border-box;
}

.yb-el-product-actions .yb-el-product-link,
.yb-el-product-actions .button,
.yb-el-product-actions .added_to_cart {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px;
  width: 100% !important;
  max-width: 100%;
  height: 44px !important;
  min-height: 44px !important;
  border-radius: 8px;
  font-size: 0.74rem;
  font-weight: 850;
  line-height: 1 !important;
  padding: 0 7px !important;
  text-align: center;
  white-space: nowrap !important;
  overflow: hidden;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.yb-el-product-actions .button,
.yb-el-product-actions .added_to_cart {
  border: 1px solid #2f777b;
  background: #2f777b;
  color: #fff;
  font-size: 0.52rem;
}

.woocommerce a.button.yb-add-to-cart-button,
.woocommerce-page a.button.yb-add-to-cart-button,
.yb-el-product-actions a.yb-add-to-cart-button {
  border-color: #2f777b !important;
  background: #2f777b !important;
  color: #fff !important;
}

.yb-add-to-cart-button__icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}

.yb-add-to-cart-button__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.yb-add-to-cart-button__text {
  display: block;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
}

.yb-el-product-actions > .added_to_cart.wc-forward {
  display: none !important;
}

.yb-add-to-cart-button.added .yb-add-to-cart-button__text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

.yb-add-to-cart-button.added::after {
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 950;
  line-height: 1;
}

.yb-el-product-shortcode .yb-el-product-link,
.yb-el-product-shortcode .yb-el-product-actions .button,
.yb-el-product-shortcode .yb-el-product-actions .added_to_cart {
  width: 100% !important;
  height: 38px !important;
  min-height: 38px !important;
  font-weight: 850;
  font-size: 0.58rem;
  white-space: nowrap !important;
  padding-inline: 7px !important;
}

.yb-el-product-shortcode .yb-el-product-actions {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.yb-el-product-shortcode .yb-el-product-actions:has(.yb-el-product-link:only-child) {
  grid-template-columns: minmax(0, 1fr);
}

.yb-el-product-actions--single {
  grid-template-columns: minmax(0, 1fr);
}

.yb-cart-page-empty {
  display: grid;
  gap: 10px;
  border-bottom: 1px solid var(--yb-line);
  padding: 18px 0 24px;
}

.yb-cart-page-empty h1 {
  margin: 0;
  color: var(--yb-ink);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1;
}

.yb-cart-page-empty p {
  margin: 0;
  color: var(--yb-muted);
  font-size: 1.15rem;
  font-weight: 650;
}

.yb-cart-page-products {
  display: grid;
  gap: 18px;
  margin-top: 42px;
}

.yb-cart-page-products h2 {
  margin: 0;
  color: var(--yb-ink);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

.yb-cart-page-products .yb-el-product-shortcode .yb-el-container {
  width: 100%;
}

.yb-cart-page-products .yb-el-product-shortcode .yb-el-product-grid {
  grid-auto-columns: 178px;
  grid-template-columns: repeat(auto-fit, minmax(158px, 178px));
  justify-content: start;
}

.yb-cart-page .coupon,
.woocommerce-cart-form .coupon,
.woocommerce-cart .coupon {
  display: none !important;
}

.yb-cart-page .checkout-button,
.woocommerce-cart .checkout-button {
  background: #075142 !important;
  color: #fff !important;
}

.yb-solution-page {
  background: #fff;
}

.yb-solution-hero {
  min-height: clamp(260px, 34vw, 430px);
  background-image: var(--yb-solution-hero-image);
  background-position: center;
  background-size: cover;
  color: #fff;
}

.yb-solution-hero__overlay {
  display: flex;
  min-height: inherit;
  align-items: end;
  background: linear-gradient(90deg, rgba(17, 24, 32, 0.72), rgba(17, 24, 32, 0.26));
}

.yb-solution-hero__inner {
  padding-block: clamp(56px, 8vw, 94px) clamp(38px, 6vw, 68px);
}

.yb-solution-hero .yb-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.yb-solution-hero h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 1;
}

.yb-solution-intro-section {
  padding-block: clamp(44px, 6vw, 82px);
}

.yb-solution-intro {
  display: grid;
  grid-template-columns: minmax(0, 760px);
}

.yb-solution-intro__content {
  color: var(--yb-muted);
  font-size: clamp(1rem, 1.3vw, 1.16rem);
  line-height: 1.75;
}

.yb-solution-intro__content h2,
.yb-solution-intro__content h3 {
  margin: 0 0 18px;
  color: var(--yb-ink);
  line-height: 1.08;
}

.yb-solution-intro__content h2 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

.yb-solution-intro__content h3 {
  font-size: clamp(1.25rem, 2vw, 1.7rem);
}

.yb-solution-intro__content p,
.yb-solution-intro__content ul,
.yb-solution-intro__content ol {
  margin: 0 0 20px;
}

.yb-solution-products-section {
  padding-block: clamp(44px, 7vw, 86px);
  background: #f6f5f2;
}

.yb-solution-products__head {
  margin-bottom: 28px;
}

.yb-solution-products__head .yb-kicker {
  display: block;
  margin: 0;
  color: var(--yb-ink);
  font-size: clamp(1.35rem, 2.5vw, 2.2rem);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.yb-solution-products-section ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0 !important;
  padding: 0 !important;
}

.yb-solution-products-section ul.products li.product {
  width: auto !important;
  margin: 0 !important;
}

.yb-solution-empty {
  border: 1px solid var(--yb-line);
  border-radius: 10px;
  background: #fff;
  padding: 24px;
  color: var(--yb-muted);
  font-weight: 750;
}

.yb-smart-page {
  background: #fff;
  color: #232323;
}

.yb-smart-page .yb-kicker {
  color: #111;
  letter-spacing: 0.04em;
}

.yb-smart-hero-band,
.yb-smart-backlight-band {
  background: #f5f4f1;
}

.yb-smart-hero,
.yb-smart-backlight {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  width: min(1420px, 100%);
  margin-inline: auto;
  align-items: stretch;
}

.yb-smart-hero {
  min-height: clamp(540px, 43vw, 690px);
}

.yb-smart-hero__content,
.yb-smart-backlight__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(66px, 7vw, 112px) clamp(54px, 5vw, 88px);
}

.yb-smart-hero h1 {
  max-width: 600px;
  margin: 0 0 18px;
  color: #252525;
  font-size: clamp(3.4rem, 4.8vw, 5.65rem);
  line-height: 1;
  letter-spacing: 0;
}

.yb-smart-hero h2 {
  max-width: 600px;
  margin: 0 0 20px;
  color: #252525;
  font-size: clamp(2.05rem, 3vw, 3.45rem);
  line-height: 1;
}

.yb-smart-hero p {
  max-width: 510px;
  margin: 0;
  color: #333;
  font-size: clamp(0.95rem, 1.05vw, 1.04rem);
  line-height: 1.65;
}

.yb-smart-hero__image,
.yb-smart-backlight__image {
  display: block;
  min-width: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.yb-smart-hero__image {
  min-height: inherit;
}

.yb-smart-hero__features {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  max-width: 600px;
  margin-top: clamp(40px, 5vw, 64px);
}

.yb-smart-feature {
  display: grid;
  justify-items: center;
  gap: 10px;
  color: #252525;
  font-size: 0.76rem;
  line-height: 1.25;
  text-align: center;
}

.yb-smart-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  color: #111;
}

.yb-smart-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.yb-smart-section {
  padding-block: clamp(44px, 5.6vw, 72px);
}

.yb-smart-choice__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 0.86fr);
  gap: clamp(42px, 5.2vw, 68px);
  align-items: center;
}

.yb-smart-benefits h2,
.yb-smart-calculator h2,
.yb-smart-repeat h2,
.yb-smart-backlight h2 {
  margin: 0;
  color: #252525;
  font-size: clamp(1.55rem, 2.45vw, 2.15rem);
  line-height: 1.12;
}

.yb-smart-benefits > p {
  max-width: 520px;
  margin: 14px 0 28px;
  color: #4e4e4e;
  font-size: 0.96rem;
  line-height: 1.62;
}

.yb-smart-benefit {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 13px;
  margin-bottom: 18px;
}

.yb-smart-benefit > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 23px;
  border: 1px solid #111;
  border-radius: 999px;
  font-size: 0.76rem;
}

.yb-smart-benefit strong {
  display: block;
  margin-bottom: 5px;
  color: #252525;
  font-size: 0.94rem;
}

.yb-smart-benefit p {
  margin: 0;
  color: #545454;
  font-size: 0.94rem;
  line-height: 1.5;
}

.yb-smart-calculator {
  border: 1px solid #dedede;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(20, 20, 20, 0.04);
}

.yb-smart-calculator h2 {
  padding: 28px 32px 2px;
  font-size: clamp(2rem, 3vw, 3rem);
}

.yb-smart-calculator__group {
  display: block;
  margin: 0;
  border: 0;
  padding: 20px 32px 0;
}

.yb-smart-calculator__label {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  color: #111;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.15;
}

.yb-smart-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.yb-smart-option {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  grid-template-areas:
    "icon title"
    "icon sub";
  gap: 2px 11px;
  border: 1px solid #dedede;
  border-radius: 6px;
  min-height: 94px;
  padding: 16px;
  cursor: pointer;
}

.yb-smart-option + .yb-smart-option {
  margin-top: 0;
}

.yb-smart-option.is-active {
  border-color: #111;
  box-shadow: inset 0 0 0 1px #111;
}

.yb-smart-option input,
.yb-smart-sizes input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.yb-smart-option .yb-smart-icon {
  grid-area: icon;
  width: 27px;
  height: 34px;
}

.yb-smart-option strong {
  grid-area: title;
  align-self: end;
  color: #252525;
  font-size: 0.94rem;
  line-height: 1.2;
}

.yb-smart-option small {
  grid-area: sub;
  color: #666;
  font-size: 0.82rem;
}

.yb-smart-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.yb-smart-sizes label {
  position: relative;
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dedede;
  border-radius: 5px;
  padding: 0 16px;
  color: #222;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.yb-smart-sizes label.is-active {
  border-color: #111;
  box-shadow: inset 0 0 0 1px #111;
}

.yb-smart-quantity {
  display: inline-grid;
  grid-template-columns: 38px 44px 38px;
  width: max-content;
  overflow: hidden;
  border: 1px solid #dedede;
  border-radius: 5px;
}

.yb-smart-quantity button,
.yb-smart-quantity input {
  min-height: 38px;
  border: 0;
  background: #fff;
  color: #111;
  font: inherit;
  font-weight: 800;
  text-align: center;
}

.yb-smart-calculator__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 24px;
  align-items: end;
  margin-top: 28px;
  border-top: 1px solid #dedede;
  padding: 28px 32px 32px;
}

.yb-smart-calculator__footer span {
  display: block;
  color: #333;
  font-size: 0.82rem;
  font-weight: 800;
}

.yb-smart-calculator__footer strong {
  display: block;
  margin-top: 8px;
  color: #111;
  font-size: clamp(1.65rem, 2.45vw, 2.3rem);
  line-height: 1;
}

.yb-smart-offer-button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border-radius: 5px;
  background: #17191c;
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

.yb-smart-repeat {
  padding-block: clamp(42px, 5.5vw, 68px);
  text-align: center;
}

.yb-smart-repeat > .yb-container > p {
  margin: 14px auto 30px;
  color: #525252;
}

.yb-smart-repeat__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 880px;
  margin: 0 auto;
}

.yb-smart-repeat__grid > div {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 8px 28px;
}

.yb-smart-repeat__grid > div + div {
  border-left: 1px solid #dedede;
}

.yb-smart-repeat__grid strong {
  color: #252525;
}

.yb-smart-repeat__grid span,
.yb-smart-repeat__note {
  color: #575757;
}

.yb-smart-backlight__content {
  min-height: clamp(480px, 36vw, 620px);
}

.yb-smart-backlight__content p {
  max-width: 450px;
  color: #333;
  font-size: 0.92rem;
  line-height: 1.56;
}

.yb-smart-backlight__content strong {
  display: block;
  margin: 22px 0 12px;
}

.yb-smart-backlight__content ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #333;
}

.yb-smart-backlight__content li::before {
  content: "✓";
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  border: 1px solid #111;
  border-radius: 999px;
  font-size: 0.7rem;
}

.yb-smart-backlight__image {
  min-height: clamp(480px, 36vw, 620px);
}

@media (max-width: 980px) {
  .yb-smart-hero,
  .yb-smart-choice__grid,
  .yb-smart-backlight {
    grid-template-columns: 1fr;
  }

  .yb-smart-hero__content,
  .yb-smart-hero__image,
  .yb-smart-backlight__image,
  .yb-smart-backlight__content {
    grid-column: 1;
  }

  .yb-smart-hero__image,
  .yb-smart-backlight__image {
    min-height: 420px;
  }

  .yb-smart-backlight__content {
    min-height: 0;
  }

  .yb-smart-hero,
  .yb-smart-backlight {
    width: min(100% - 32px, 760px);
    margin: 0 auto;
  }

  .yb-smart-hero h1 {
    white-space: normal;
  }

  .yb-smart-choice__grid {
    gap: 34px;
    align-items: start;
  }

  .yb-smart-calculator {
    max-width: 620px;
  }

  .yb-smart-options {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .yb-smart-page {
    overflow-x: hidden;
  }

  .yb-smart-page .yb-container {
    width: min(100% - 32px, 520px);
  }

  .yb-smart-hero,
  .yb-smart-backlight {
    display: block !important;
    width: 100% !important;
    min-height: 0 !important;
  }

  .yb-smart-hero-band,
  .yb-smart-backlight-band {
    background: #f5f4f1;
  }

  .yb-smart-hero__content {
    width: min(100% - 32px, 520px);
    margin-inline: auto;
    padding: 38px 0 22px;
  }

  .yb-smart-hero h1 {
    max-width: 100%;
    margin-bottom: 10px;
    font-size: clamp(2.25rem, 11vw, 3.15rem);
    line-height: 0.98;
  }

  .yb-smart-hero h2 {
    max-width: 100%;
    margin-bottom: 14px;
    font-size: clamp(1.45rem, 7vw, 1.95rem);
    line-height: 1.08;
  }

  .yb-smart-hero p {
    max-width: 100%;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .yb-smart-hero__features {
    display: none;
  }

  .yb-smart-hero__image,
  .yb-smart-backlight__image {
    display: block !important;
    width: min(100% - 32px, 520px) !important;
    aspect-ratio: 16 / 10;
    min-height: 0 !important;
    margin: 0 auto 30px;
    border-radius: 8px;
    background-position: center !important;
    background-size: cover !important;
  }

  .yb-smart-section,
  .yb-smart-repeat {
    padding-block: 34px;
  }

  .yb-smart-choice__grid {
    gap: 26px;
  }

  .yb-smart-benefits h2,
  .yb-smart-calculator h2,
  .yb-smart-repeat h2,
  .yb-smart-backlight h2 {
    font-size: clamp(1.55rem, 6.6vw, 2rem);
    line-height: 1.08;
  }

  .yb-smart-benefits > p,
  .yb-smart-benefit p,
  .yb-smart-backlight__content p {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .yb-smart-benefit {
    gap: 10px;
    margin-bottom: 15px;
  }

  .yb-smart-calculator {
    max-width: none;
    border-radius: 8px;
  }

  .yb-smart-calculator h2,
  .yb-smart-calculator__group,
  .yb-smart-calculator__footer {
    padding-inline: 18px;
  }

  .yb-smart-calculator h2 {
    padding-top: 22px;
    font-size: clamp(1.75rem, 8vw, 2.25rem);
  }

  .yb-smart-calculator__group {
    padding-top: 14px;
  }

  .yb-smart-calculator__label {
    margin-bottom: 8px;
  }

  .yb-smart-options {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .yb-smart-option {
    min-height: 76px;
    padding: 13px;
  }

  .yb-smart-sizes {
    gap: 8px;
  }

  .yb-smart-sizes label {
    min-height: 38px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .yb-smart-calculator__footer {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 22px;
    padding-top: 22px;
  }

  .yb-smart-offer-button {
    width: 100%;
    min-height: 52px;
  }

  .yb-smart-repeat__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .yb-smart-repeat__grid > div + div {
    border-left: 0;
    border-top: 1px solid #dedede;
    padding-top: 24px;
  }

  .yb-smart-backlight__content {
    width: min(100% - 32px, 520px);
    margin-inline: auto;
    padding: 38px 0 26px;
  }

  .yb-smart-backlight__image {
    margin-bottom: 0;
  }
}

@media (max-width: 430px) {
  .yb-smart-sizes label {
    flex: 1 1 calc(50% - 8px);
  }
}

@media (max-width: 980px) {
  .yb-solution-products-section ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (max-width: 640px) {
  .yb-solution-hero {
    min-height: 260px;
    background-position: center;
  }

  .yb-solution-hero__overlay {
    background: linear-gradient(180deg, rgba(17, 24, 32, 0.28), rgba(17, 24, 32, 0.78));
  }

  .yb-solution-hero__inner {
    padding-block: 46px 30px;
  }

  .yb-solution-hero h1 {
    max-width: 92vw;
    font-size: clamp(1.9rem, 9vw, 2.75rem);
    line-height: 1.02;
  }

  .yb-solution-products-section ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

.yb-cart-page .shop_table .product-thumbnail img,
.woocommerce-cart-form .shop_table .product-thumbnail img {
  width: 132px;
  max-width: 132px;
  height: 132px;
  object-fit: contain;
  border-radius: 8px;
  background: #f1f0ed;
  padding: 8px;
}

.yb-cart-page .shop_table .product-name,
.woocommerce-cart-form .shop_table .product-name {
  font-size: 1.05rem;
  font-weight: 850;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border: 1px solid var(--yb-line) !important;
  border-top: 1px solid var(--yb-line) !important;
  border-radius: 8px;
  background: #fff;
  color: var(--yb-ink);
  box-shadow: 0 12px 30px rgba(23, 32, 42, 0.08);
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  display: none;
}

.yb-el-product-shortcode .yb-add-to-cart-button__icon {
  width: 16px;
  height: 16px;
}

.yb-el-product-shortcode .yb-add-to-cart-button__text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

.yb-el-product-shortcode .yb-el-product-link {
  background: #fff;
  color: #111820;
}

.yb-el-product-link:hover,
.yb-el-product-link:focus,
.yb-el-product-actions .button:hover,
.yb-el-product-actions .button:focus,
.yb-el-product-actions .added_to_cart:hover,
.yb-el-product-actions .added_to_cart:focus,
.yb-el-product-shortcode .yb-el-product-link:hover,
.yb-el-product-shortcode .yb-el-product-link:focus,
.yb-el-product-shortcode .yb-el-product-actions .button:hover,
.yb-el-product-shortcode .yb-el-product-actions .button:focus {
  border-color: #245f62;
  background: #245f62;
  color: #fff;
  transform: translateY(-1px);
}

.yb-el-product-link:hover,
.yb-el-product-link:focus,
.yb-el-product-shortcode .yb-el-product-link:hover,
.yb-el-product-shortcode .yb-el-product-link:focus {
  border-color: #fff;
  background: #fff;
  color: #111820;
}

.woocommerce a.button.yb-add-to-cart-button:hover,
.woocommerce a.button.yb-add-to-cart-button:focus,
.woocommerce-page a.button.yb-add-to-cart-button:hover,
.woocommerce-page a.button.yb-add-to-cart-button:focus,
.yb-el-product-actions a.yb-add-to-cart-button:hover,
.yb-el-product-actions a.yb-add-to-cart-button:focus {
  border-color: #245f62 !important;
  background: #245f62 !important;
}

.yb-el-product-signals {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  color: #1f7a45;
  font-size: 0.76rem;
  font-weight: 800;
}

.yb-el-product-signals span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.yb-el-product-signals span::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #3fc86a;
  content: "";
  flex: 0 0 auto;
}

.yb-product-badges,
.yb-el-product-badges {
  position: absolute;
  top: -1px;
  left: -1px;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.yb-product-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 0 0 4px 0;
  color: #111820;
  font-size: 0.82rem;
  font-weight: 850;
  padding: 0 12px;
}

.yb-product-badge--sale {
  background: #ffc84a;
}

.yb-product-badge--stock {
  border-radius: 0 0 4px 0;
  background: #111;
  color: #fff;
}

@media (min-width: 1500px) {
  .yb-furniture-hero .yb-container,
  .yb-products-band > .yb-container,
  .yb-el-product-shortcode .yb-el-container {
    max-width: 1280px;
  }
}

.yb-contact-hero {
  background: var(--yb-ink);
  color: #fff;
  padding-block: 76px;
}

.yb-contact-hero__content {
  max-width: 760px;
}

.yb-contact-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.yb-contact-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.02;
}

.yb-contact-hero p {
  max-width: 620px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.08rem;
}

.yb-contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 32px;
  align-items: start;
}

.yb-contact-info,
.yb-contact-form {
  border: 1px solid var(--yb-line);
  border-radius: 8px;
  background: #fff;
  padding: 28px;
}

.yb-contact-info h2,
.yb-contact-form h2 {
  margin: 0 0 20px;
  font-size: 1.45rem;
}

.yb-contact-info p {
  margin: 0;
  color: var(--yb-muted);
  font-size: 1.12rem;
  font-weight: 550;
  line-height: 1.65;
}

.yb-contact-info a {
  color: inherit;
}

.yb-contact-legal {
  margin-top: 26px !important;
  font-size: 1.02rem !important;
  line-height: 1.45 !important;
}

.yb-contact-form {
  display: grid;
  gap: 16px;
}

.yb-contact-form label {
  display: grid;
  gap: 7px;
  color: var(--yb-ink);
  font-weight: 750;
}

.yb-contact-form input,
.yb-contact-form textarea {
  width: 100%;
  border: 1px solid var(--yb-line);
  border-radius: 7px;
  background: #fff;
  color: var(--yb-ink);
  outline: 0;
  padding: 12px 13px;
}

.yb-contact-form input:focus,
.yb-contact-form textarea:focus {
  border-color: rgba(47, 122, 127, 0.55);
  box-shadow: 0 0 0 3px rgba(47, 122, 127, 0.1);
}

@media (max-width: 880px) {
  .yb-header__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding-block: 14px;
  }

  .yb-menu-toggle {
    display: inline-flex;
  }

  .yb-nav {
    display: none;
    grid-column: 1 / -1;
    justify-self: stretch;
    order: 5;
    width: 100%;
    border-top: 1px solid var(--yb-line);
    margin-top: 4px;
    padding-top: 12px;
  }

  .yb-header-search-wrap {
    grid-column: 1 / -1;
    order: 3;
  }

  .yb-menu-open .yb-nav {
    display: block;
  }

  .yb-menu {
    display: grid;
    align-items: stretch;
    gap: 6px;
  }

  .yb-menu > li {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .yb-menu a {
    justify-content: space-between;
    min-height: 46px;
    width: 100%;
    padding-inline: 12px;
  }

  .yb-menu > li > a::after {
    display: none;
  }

  .yb-menu .sub-menu,
  .yb-menu .sub-menu .sub-menu {
    position: static;
    display: none;
    min-width: 100%;
    margin-top: 4px;
    border: 0;
    border-left: 2px solid var(--yb-line);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    padding: 0 0 0 10px;
    pointer-events: none;
    transform: none;
  }

  .yb-menu li.is-submenu-open > .sub-menu {
    display: grid;
    pointer-events: auto;
  }

  .yb-menu li:hover > .sub-menu,
  .yb-menu li:focus-within > .sub-menu {
    transform: none;
  }

  .yb-header-actions {
    grid-column: 1 / -1;
    order: 4;
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .yb-header-actions .yb-button,
  .yb-header-actions .yb-mode-pill {
    flex: 0 1 auto;
  }

  .yb-hero__inner,
  .yb-furniture-hero__intro,
  .yb-smart-frame-preview__box,
  .yb-category-grid,
  .yb-value-grid,
  .yb-featured-categories,
  .yb-choice-layout {
    grid-template-columns: 1fr;
  }

  .yb-furniture-category-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(190px, 28vw);
  }

  .yb-furniture-category-card--wide {
    grid-row: span 1;
  }

  .yb-smart-frame-preview__gallery {
    grid-template-columns: 1fr 1fr;
  }

  .yb-smart-frame-preview__gallery img,
  .yb-smart-frame-preview__gallery img:nth-child(2) {
    height: 320px;
    margin-bottom: 0;
  }

  .yb-el-product-grid {
    grid-auto-columns: 220px;
    grid-template-columns: repeat(2, 220px);
  }

  .yb-el-product-shortcode .yb-el-product-grid {
    grid-auto-columns: 180px;
    grid-template-columns: none;
    justify-content: start;
    padding-inline: 18px;
    scroll-padding-left: 18px;
  }

  .yb-modal {
    padding: 16px 10px;
  }

  .yb-modal__panel {
    width: min(620px, calc(100% - 20px));
    padding: 26px 16px 22px;
  }

  .yb-choice-layout {
    gap: 10px;
  }

  .yb-choice--private,
  .yb-modal__copy {
    grid-column: auto;
  }

  .yb-featured-categories,
  .yb-category-tile--large {
    min-height: auto;
  }

  .yb-category-tile {
    min-height: 360px;
  }

  .yb-hero__inner {
    min-height: auto;
    padding-block: 70px 34px;
  }

  .yb-section__head,
  .yb-project-cta__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .yb-project-cta__card {
    grid-template-columns: 1fr;
  }

  .yb-solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yb-contact-layout {
    grid-template-columns: 1fr;
  }

  .yb-shop-layout,
  .yb-about-grid {
    grid-template-columns: 1fr;
  }

  .yb-shop-sidebar,
  .yb-about-card {
    position: static;
  }

  .yb-filter-panel {
    border: 1px solid var(--yb-line);
    border-radius: 10px;
    background: #f8f8f7;
  }

  .yb-filter-panel summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    color: var(--yb-ink);
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 900;
    padding: 0 16px;
  }

  .yb-filter-panel summary::after {
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    content: "";
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.18s ease;
  }

  .yb-filter-panel[open] summary::after {
    transform: rotate(225deg) translateY(-2px);
  }

  .yb-filter-panel .yb-product-filters {
    border: 0;
    border-top: 1px solid var(--yb-line);
    border-radius: 0 0 10px 10px;
    background: transparent;
  }

  .yb-shop-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .yb-shop-toolbar .woocommerce-ordering,
  .yb-shop-toolbar .orderby {
    width: 100%;
  }

  .yb-product-filters {
    grid-template-columns: 1fr;
  }

  .yb-cart-drawer__panel {
    width: min(430px, 100vw);
  }

  .yb-cart-drawer__content .woocommerce-mini-cart-item {
    grid-template-columns: 104px minmax(0, 1fr) 28px;
    gap: 12px;
    padding: 16px;
  }

  .yb-cart-drawer__content .woocommerce-mini-cart-item img {
    width: 104px;
    min-width: 104px;
    height: 104px;
    min-height: 104px;
  }

  .yb-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .yb-container {
    width: min(var(--yb-max), calc(100% - 24px));
  }

  .yb-header__inner {
    grid-template-columns: 42px 42px minmax(0, 1fr) auto;
    gap: 8px;
    min-height: 74px;
    padding-block: 10px;
  }

  .yb-menu-toggle {
    grid-column: 1;
    grid-row: 1;
    width: 42px;
    min-height: 42px;
    padding: 0;
  }

  .yb-menu-toggle__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .yb-logo {
    grid-column: 3;
    grid-row: 1;
    justify-self: center;
  }

  .yb-header-search-wrap {
    grid-column: 2;
    grid-row: 1;
    order: 0;
    width: 42px;
    justify-self: start;
  }

  .yb-header-search-wrap.is-mobile-search-open {
    grid-column: 1 / -1;
    grid-row: 2;
    order: 3;
    width: 100%;
  }

  .yb-header-search-wrap:not(.is-mobile-search-open) .yb-search-results {
    display: none;
  }

  .yb-header-actions .yb-button,
  .yb-header-actions .yb-mode-pill {
    flex: 1 1 auto;
  }

  .yb-header-actions {
    grid-column: 4;
    grid-row: 1;
    order: 0;
    width: auto;
  }

  .yb-header-actions .yb-mode-pill {
    display: none;
  }

  .yb-cart-button {
    width: 48px;
    min-height: 42px;
    padding: 0;
  }

  .yb-cart-button > span:not(.yb-cart-count) {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .yb-header-search {
    grid-template-columns: 0 42px;
    border-color: transparent;
    box-shadow: none;
  }

  .yb-header-search input[type="search"] {
    min-height: 34px;
    font-size: 0.82rem;
    padding-left: 12px;
    opacity: 0;
    pointer-events: none;
  }

  .yb-header-search button {
    width: 42px;
    height: 42px;
  }

  .yb-header-search svg {
    width: 22px;
    height: 22px;
  }

  .yb-header-search-wrap.is-mobile-search-open .yb-header-search {
    grid-template-columns: minmax(0, 1fr) 42px;
    border-color: var(--yb-line);
    box-shadow: 0 10px 26px rgba(23, 32, 42, 0.05);
  }

  .yb-header-search-wrap.is-mobile-search-open .yb-header-search input[type="search"] {
    opacity: 1;
    pointer-events: auto;
  }

  .yb-brand-mark {
    width: 46px;
    height: 46px;
  }

  .yb-default-logo {
    height: 56px;
  }

  .yb-custom-logo {
    max-height: 84px;
  }

  .yb-brand-text strong {
    font-size: 1.02rem;
  }

  .yb-hero h1 {
    font-size: 2.35rem;
  }

  .yb-category-tile {
    min-height: 320px;
  }

  .yb-furniture-hero {
    padding-block: 18px 28px;
  }

  .yb-furniture-category-mosaic,
  .yb-smart-frame-preview__gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yb-furniture-category-card {
    min-height: 142px;
  }

  .yb-furniture-category-card--wide {
    grid-column: span 2;
    min-height: 180px;
  }

  .yb-furniture-category-card__content {
    right: 12px;
    bottom: 12px;
    left: 12px;
    gap: 4px;
  }

  .yb-furniture-category-card strong {
    font-size: clamp(1rem, 6vw, 1.45rem);
  }

  .yb-furniture-category-card small {
    display: none;
  }

  .yb-smart-frame-preview__gallery img,
  .yb-smart-frame-preview__gallery img:nth-child(2) {
    height: 300px;
  }

  .yb-solution-card {
    min-height: 160px;
  }

  .yb-solution-card span {
    padding: 18px;
    font-size: 1rem;
  }

  .yb-category-tile__content {
    padding: 22px;
  }

  .yb-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
    padding-block: 24px;
  }

  .yb-footer__brand,
  .yb-footer__payments {
    grid-column: 1 / -1;
  }

  .yb-footer h2,
  .yb-footer h3 {
    margin-bottom: 7px;
    font-size: 0.95rem;
  }

  .yb-footer p,
  .yb-footer a,
  .yb-footer__section-label {
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .yb-footer ul {
    gap: 5px;
  }

  .yb-footer__sub-link {
    padding-left: 8px;
  }

  .yb-footer__brand p {
    max-width: none;
    margin-bottom: 0;
  }

  .yb-footer__legal {
    white-space: normal;
  }

  .yb-footer__payments {
    align-items: center;
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    padding-top: 16px;
  }

  .yb-footer__payment-logos {
    justify-content: center;
    gap: 8px;
  }

  .yb-footer__payment-logos img {
    max-width: 82px;
    height: 23px;
  }

  .yb-el-product-grid {
    grid-auto-columns: minmax(150px, 48%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .yb-el-product-shortcode .yb-el-product-grid {
    grid-auto-columns: minmax(210px, 72vw);
    grid-template-columns: none;
    grid-template-rows: 1fr;
    justify-content: start;
    padding-inline: 12px;
    scroll-padding-left: 12px;
  }

  .yb-el-product-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }

  .yb-el-product-actions .yb-el-product-link,
  .yb-el-product-actions .button,
  .yb-el-product-actions .added_to_cart {
    height: 40px !important;
    min-height: 40px !important;
    font-size: 0.66rem;
    padding-inline: 6px !important;
  }

  .woocommerce ul.products .yb-add-to-cart-button__text,
  .yb-single-related .yb-add-to-cart-button__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .yb-add-to-cart-button__icon {
    width: 13px;
    height: 13px;
  }

  .yb-cart-drawer__panel {
    width: 100vw;
  }

  .yb-cart-drawer__header {
    gap: 10px;
    padding: 13px 16px;
  }

  .yb-cart-drawer__header h2 {
    font-size: 1.35rem;
  }

  .yb-cart-drawer__content .woocommerce-mini-cart-item {
    grid-template-columns: 92px minmax(0, 1fr) 26px;
    gap: 10px;
    padding: 14px 12px;
  }

  .yb-cart-drawer__content .woocommerce-mini-cart-item img {
    width: 92px;
    min-width: 92px;
    height: 92px;
    min-height: 92px;
  }

  .yb-cart-drawer__content .woocommerce-mini-cart-item a:not(.remove) {
    font-size: 0.9rem;
  }

  .yb-cart-drawer__content .quantity,
  .yb-mini-cart-total-row,
  .yb-cart-drawer__content .woocommerce-mini-cart__total {
    font-size: 0.88rem;
  }

  .yb-cart-drawer__content .woocommerce-mini-cart__buttons,
  .yb-cart-drawer__content .woocommerce-mini-cart__total,
  .yb-mini-cart-total-row {
    padding-inline: 16px;
  }

  .yb-cart-page .shop_table .product-thumbnail img,
  .woocommerce-cart-form .shop_table .product-thumbnail img {
    width: 96px;
    max-width: 96px;
    height: 96px;
  }

  .yb-cart-page-products .yb-el-product-shortcode .yb-el-product-grid {
    justify-content: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yb-furniture-category-card img {
    transition: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
