/* =========================================================================
   Wallory – arculat a Kadence fölött
   Papír, vászon és tinta; az egyetlen színes jel a zsálya. Nincs lekerekítés,
   nincs árnyékolt kártya: vékony vonalak tagolnak.
   ========================================================================= */
body {
  --wl-paper: #FAFAF8;
  --wl-linen: #EFEBE4;
  --wl-card: #FFFFFF;
  --wl-ink: #1A1917;
  --wl-ink-2: #6B665E;
  --wl-text: #3A362F;
  --wl-rule: #DED9D0;
  --wl-btn: #2A251D;
  --wl-btn-h: #473F33;
  --wl-sage: #5E6B57;
  --wl-display: "Syne", "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wl-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Kadence globális paletta felülírása */
  --global-palette1: #2A251D;
  --global-palette2: #473F33;
  --global-palette3: #1A1917;
  --global-palette4: #3A362F;
  --global-palette5: #6B665E;
  --global-palette6: #9A948A;
  --global-palette7: #EFEBE4;
  --global-palette8: #FAFAF8;
  --global-palette9: #FFFFFF;
  --global-palette-btn-bg: #2A251D;
  --global-palette-btn-bg-hover: #473F33;
  --global-palette-btn: #F7F5F1;
  --global-palette-btn-hover: #F7F5F1;

  background: var(--wl-paper);
  color: var(--wl-text);
  font-family: var(--wl-body);
  -webkit-font-smoothing: antialiased;
}
.site, .content-bg, body.content-style-unboxed .site, .entry.single-entry, .content-wrap .entry { background: var(--wl-paper); }
.entry.loop-entry, .content-style-boxed .entry { box-shadow: none; border-radius: 0; }

h1, h2, h3, h4, .entry-title, .product_title, .wp-block-heading {
  font-family: var(--wl-display);
  color: var(--wl-ink);
  letter-spacing: -0.025em;
  text-wrap: balance;
}
h1, .product_title { font-weight: 700; letter-spacing: -0.03em; }
h2 { font-weight: 600; }
a { color: var(--wl-ink); text-underline-offset: 3px; }
a:hover { color: var(--wl-btn-h); }
:focus-visible { outline: 2px solid var(--wl-btn); outline-offset: 2px; }

/* gombok: szögletes, meleg fekete */
.button, button.button, .wp-block-button__link, .single_add_to_cart_button, .checkout-button,
input[type="submit"], .wl-btn {
  border-radius: 0 !important;
  background: var(--wl-btn);
  color: #F7F5F1;
  border: 1px solid var(--wl-btn);
  font-family: var(--wl-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 15px 30px;
  box-shadow: none !important;
  text-decoration: none;
  display: inline-block;
  transition: background .2s ease;
}
.button:hover, .wp-block-button__link:hover, .single_add_to_cart_button:hover, .wl-btn:hover { background: var(--wl-btn-h); color: #F7F5F1; }
.wl-btn--ghost { background: transparent; color: var(--wl-ink); border-color: var(--wl-ink); }
.wl-btn--ghost:hover { background: var(--wl-ink); color: #F7F5F1; }
input, select, textarea { border-radius: 0 !important; }

/* ---------- fejléc ---------- */
.site-header, .site-header-row-container-inner, .site-main-header-wrap .site-header-row-container-inner {
  background: var(--wl-paper);
}
.site-main-header-wrap .site-header-row-container-inner { border-bottom: 1px solid var(--wl-rule); }
.site-branding .site-title {
  font-family: var(--wl-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--wl-ink);
}
.site-branding .site-description { display: none; }
.header-navigation .header-menu-container > ul > li > a,
.main-navigation .primary-menu-container > ul > li.menu-item > a {
  font-family: var(--wl-body);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--wl-ink);
}
.header-navigation .header-menu-container ul ul { border-radius: 0; box-shadow: 0 8px 24px -12px rgba(26,25,23,.25); background: var(--wl-card); }
.header-navigation .header-menu-container ul ul li a { font-size: 14px; color: var(--wl-text); }

/* ---------- közös elrendezés ---------- */
.wl-in { max-width: 1160px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
@media (max-width: 700px) { .wl-in { padding-left: 20px; padding-right: 20px; } }
.wl-sec { padding: 76px 0; border-bottom: 1px solid var(--wl-rule); }
.wl-sec--linen { background: var(--wl-linen); }
.wl-eyebrow { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--wl-ink-2); font-weight: 500; margin: 0 0 14px; }
.wl-h2 { font-family: var(--wl-display); font-weight: 600; font-size: clamp(26px, 3vw, 34px); line-height: 1.1; letter-spacing: -.03em; color: var(--wl-ink); margin: 0 0 12px; }
.wl-lede { font-size: 16.5px; color: #4A463F; max-width: 60ch; margin: 0 0 34px; line-height: 1.65; }
.wl-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 34px; flex-wrap: wrap; }
.wl-head .wl-lede { margin: 0; }
.wl-more { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--wl-ink); padding-bottom: 2px; white-space: nowrap; }

/* a főoldal tartalma teljes szélességű legyen, cím nélkül */
.home .entry-hero, .home .entry-header, .home .page-title, .home h1.entry-title { display: none; }
.home .content-container.site-container, .home .entry-content-wrap { max-width: none; padding: 0; }
.home .content-area { margin-top: 0; margin-bottom: 0; }
.home .entry-content > .wp-block-html, .home .entry-content > * { max-width: none; margin-top: 0; margin-bottom: 0; }

/* 01 hős */
.wl-hero { border-bottom: 1px solid var(--wl-rule); }
.wl-hero .wl-in { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.wl-hero h1 { font-family: var(--wl-display); font-weight: 700; font-size: clamp(34px, 4.2vw, 54px); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 22px; }
.wl-hero p { font-size: 16.5px; line-height: 1.65; color: #45413A; max-width: 40ch; margin: 0 0 30px; }
.wl-hero img { display: block; width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; }
@media (max-width: 880px) { .wl-hero .wl-in { grid-template-columns: 1fr; gap: 30px; padding-top: 32px; padding-bottom: 40px; } .wl-hero figure { order: -1; } }

/* 01b bizalmi sáv */
.wl-trust { border-bottom: 1px solid var(--wl-rule); background: var(--wl-paper); }
.wl-trust ul { list-style: none; margin: 0 auto; padding: 16px 32px; max-width: 1160px; display: flex; justify-content: space-between; gap: 12px 28px; flex-wrap: wrap; }
.wl-trust li { font-size: 12.5px; letter-spacing: .04em; color: var(--wl-ink); display: flex; align-items: center; gap: 9px; }
.wl-trust li::before { content: ""; width: 6px; height: 6px; background: var(--wl-sage); flex: 0 0 auto; }

/* 02 háromutas elágazás */
.wl-paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--wl-rule); background: var(--wl-card); }
.wl-path { padding: 34px 30px 30px; border-right: 1px solid var(--wl-rule); display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: background .2s ease; }
.wl-path:last-child { border-right: 0; }
.wl-path:hover { background: #FCFBF9; color: inherit; }
.wl-path .wl-num { font-size: 11px; letter-spacing: .14em; color: var(--wl-sage); font-weight: 600; margin-bottom: 18px; }
.wl-path h3 { font-family: var(--wl-display); font-weight: 600; font-size: 22px; letter-spacing: -.02em; margin: 0 0 10px; }
.wl-path p { margin: 0 0 24px; color: #56514A; font-size: 15px; line-height: 1.6; flex: 1; }
.wl-path span.wl-go { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
@media (max-width: 820px) { .wl-paths { grid-template-columns: 1fr; } .wl-path { border-right: 0; border-bottom: 1px solid var(--wl-rule); } .wl-path:last-child { border-bottom: 0; } }

/* 03 négy tény */
.wl-facts4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.wl-facts4 > div { border-top: 1px solid var(--wl-ink); padding-top: 18px; }
.wl-facts4 h3 { font-family: var(--wl-body); font-size: 18px; font-weight: 600; letter-spacing: 0; margin: 0 0 8px; }
.wl-facts4 p { font-size: 15.5px; line-height: 1.6; color: #56514A; margin: 0; }
@media (max-width: 900px) { .wl-facts4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .wl-facts4 { grid-template-columns: 1fr; } }

/* 04 kategóriák */
.wl-cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.wl-cat { text-decoration: none; color: var(--wl-ink); display: block; }
.wl-cat img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: opacity .2s ease; }
.wl-cat:hover img { opacity: .9; }
.wl-cat span { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 0; font-family: var(--wl-display); font-weight: 600; font-size: 18px; letter-spacing: -.015em; }
.wl-cat span::after { content: "→"; font-family: var(--wl-body); font-weight: 400; color: var(--wl-ink-2); }
@media (max-width: 820px) { .wl-cats { grid-template-columns: 1fr 1fr; gap: 16px; } .wl-cat span { font-size: 15px; } }

/* 05 méretek a falon */
.wl-wall { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
.wl-wall__scene { position: relative; background: var(--wl-card); border: 1px solid var(--wl-rule); aspect-ratio: 16/10; overflow: hidden; }
.wl-wall__scene .wl-sofa { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); width: 58%; height: 15%; background: #CFC8BB; }
.wl-wall__scene .wl-sofa::before { content: ""; position: absolute; left: 0; right: 0; top: -38%; height: 42%; background: #D9D3C7; }
.wl-wall__scene .wl-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 8%; background: var(--wl-linen); border-top: 1px solid var(--wl-rule); }
.wl-wall__scene .wl-frame { position: absolute; left: 50%; transform: translateX(-50%); border: 1px solid var(--wl-ink); background: rgba(94,107,87,.08); transition: all .35s ease; display: flex; align-items: flex-end; justify-content: flex-end; }
.wl-wall__scene .wl-frame b { font-size: 11px; font-weight: 600; letter-spacing: .06em; padding: 4px 6px; color: var(--wl-ink); }
.wl-sizes-list { list-style: none; margin: 0 0 22px; padding: 0; border-top: 1px solid var(--wl-rule); }
.wl-sizes-list li { border-bottom: 1px solid var(--wl-rule); }
.wl-sizes-list button { all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 82px 1fr auto; gap: 14px; width: 100%; padding: 13px 4px; align-items: baseline; font-size: 15px; color: var(--wl-text); }
.wl-sizes-list button[aria-pressed="true"] { color: var(--wl-ink); box-shadow: inset 3px 0 0 var(--wl-btn); padding-left: 14px; }
.wl-sizes-list b { font-weight: 600; color: var(--wl-ink); }
.wl-sizes-list i { font-style: normal; color: var(--wl-ink-2); font-size: 13.5px; }
.wl-sizes-list em { font-style: normal; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--wl-ink); }
.wl-rule-of-thumb { font-size: 14px; color: #56514A; margin: 0 0 22px; }
@media (max-width: 900px) { .wl-wall { grid-template-columns: 1fr; gap: 30px; } }

/* 06 legkeresettebb – a WooCommerce rácsot használja */
.wl-best ul.products { margin-bottom: 0; }

/* 07 műhely */
.wl-shop { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.wl-shop img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.wl-shop p { font-size: 16px; line-height: 1.7; color: #45413A; max-width: 48ch; }
@media (max-width: 860px) { .wl-shop { grid-template-columns: 1fr; gap: 28px; } }

/* 08 további termékeink */
.wl-other { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 34px 0; }
.wl-other p { margin: 0; color: var(--wl-ink-2); font-size: 14.5px; }
.wl-other strong { color: var(--wl-ink); font-weight: 600; }

/* ---------- termékrács (kategória és főoldal) ---------- */
.woocommerce ul.products li.product, .wp-site-blocks ul.products li.product { text-align: left; }
.woocommerce ul.products li.product a img { border-radius: 0; box-shadow: none; aspect-ratio: 3/2; object-fit: cover; }
.woocommerce ul.products.woo-archive-action-on-hover li.product .product-action-wrap,
.woocommerce ul.products li.product .product-action-wrap,
.woocommerce ul.products li.product .button { display: none !important; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--wl-display); font-weight: 600; font-size: 17px; letter-spacing: -.015em; color: var(--wl-ink); padding: 0; margin: 0 0 4px;
}
.woocommerce ul.products li.product .price { font-family: var(--wl-body); font-size: 14px; color: var(--wl-ink-2); font-weight: 400; }
.woocommerce ul.products li.product .price .amount { color: var(--wl-ink-2); }
.woocommerce ul.products li.product .entry.loop-entry, .woocommerce ul.products li.product { box-shadow: none; background: transparent; }
.woocommerce span.onsale { display: none; }

/* kategóriaoldal */
.wl-term-intro { max-width: 62ch; color: #4A463F; font-size: 16px; }
.wl-term-text { margin: 64px 0 24px; padding-top: 40px; border-top: 1px solid var(--wl-rule); max-width: 68ch; font-size: 15.5px; line-height: 1.75; color: var(--wl-text); }
.wl-term-text h2 { font-size: 24px; margin: 28px 0 10px; }
.wl-term-text h3 { font-size: 18px; margin: 22px 0 8px; }
.woocommerce .woocommerce-result-count { font-size: 13px; color: var(--wl-ink-2); }
.woocommerce .woocommerce-ordering select { font-size: 13px; padding: 8px 12px; border: 1px solid var(--wl-rule); background: var(--wl-card); }
.woocommerce-breadcrumb, .kadence-breadcrumbs { font-size: 12.5px; color: var(--wl-ink-2); letter-spacing: .02em; }

/* ---------- termékoldal ---------- */
.single-product .product_title { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.06; margin-bottom: 10px; }
.single-product div.product p.price, .single-product div.product .woocommerce-variation-price .price {
  font-family: var(--wl-body); font-weight: 600; font-size: 26px; letter-spacing: 0; color: var(--wl-ink); font-variant-numeric: tabular-nums;
}
.single-product div.product .woocommerce-variation-price { margin: 18px 0 2px; }
.single-product div.product .woocommerce-variation-price .price .amount { font-family: inherit; }
.wl-pricenote { font-size: 12.5px; color: var(--wl-ink-2); margin: 0 0 18px; }
.single-product div.product .woocommerce-product-details__short-description { color: #4A463F; font-size: 15.5px; margin-bottom: 22px; }
.woocommerce div.product div.images img, .woocommerce div.product .woocommerce-product-gallery img { border-radius: 0; }
.woocommerce div.product .flex-control-thumbs li img { opacity: .7; }
.woocommerce div.product .flex-control-thumbs li img.flex-active { opacity: 1; outline: 1px solid var(--wl-ink); }

.wl-hidden-row { display: none !important; }
.woocommerce div.product form.cart .reset_variations { display: none !important; }
.wl-sizes { border: 1px solid var(--wl-rule); background: var(--wl-card); margin: 0 0 12px; }
.wl-size {
  all: unset; box-sizing: border-box; cursor: pointer; width: 100%;
  display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center;
  padding: 13px 16px; border-bottom: 1px solid var(--wl-rule); color: var(--wl-ink); background: transparent;
  transition: background .15s ease;
}
.wl-size:last-child { border-bottom: 0; }
.wl-size:hover { background: #FCFBF9; }
.wl-size__icon { display: flex; align-items: center; justify-content: center; height: 30px; }
.wl-size__box { display: block; border: 1px solid #BEB7AA; background: var(--wl-linen); }
.wl-size__name { font-weight: 500; font-size: 14.5px; }
.wl-size__hint { display: block; font-weight: 400; font-size: 12px; color: var(--wl-ink-2); margin-top: 1px; }
.wl-size__price { font-weight: 600; font-size: 14.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.wl-size[aria-checked="true"] { background: var(--wl-linen); box-shadow: inset 3px 0 0 var(--wl-btn); }
.wl-size[aria-checked="true"] .wl-size__box { border-color: var(--wl-btn); background: #DCD6CA; }
.wl-size:focus-visible { outline: 2px solid var(--wl-btn); outline-offset: -2px; }

.wl-meter { border: 1px solid var(--wl-rule); background: var(--wl-card); padding: 12px 14px; margin: 0 0 12px; font-size: 13px; color: var(--wl-text); width: 100%; }
.wl-meter__bar { display: block; height: 4px; background: var(--wl-linen); margin-top: 9px; position: relative; overflow: hidden; }
.wl-meter__bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--wl-sage); transition: width .3s ease; }
.wl-meter.is-free { border-color: var(--wl-sage); }
.wl-meter.is-free strong { color: var(--wl-sage); }
.wl-bignote { border-left: 2px solid var(--wl-sage); background: var(--wl-linen); padding: 12px 14px; font-size: 13px; line-height: 1.55; margin: 0 0 14px; width: 100%; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; }
.woocommerce div.product form.cart .single_add_to_cart_button { flex: 1; min-height: 50px; }
.woocommerce div.product form.cart div.quantity .qty { min-height: 50px; border: 1px solid var(--wl-rule); }

.wl-facts { list-style: none; margin: 26px 0 8px; padding: 18px 0 0; border-top: 1px solid var(--wl-rule); }
.wl-facts li { font-size: 13.5px; line-height: 1.55; color: #56514A; padding-left: 16px; position: relative; margin-bottom: 7px; }
.wl-facts li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; background: var(--wl-sage); }
.wl-facts strong { color: var(--wl-ink); font-weight: 600; }
.wl-howlink { font-size: 13px; margin: 0 0 22px; }
.wl-howlink a { text-decoration: none; border-bottom: 1px solid var(--wl-ink); }
.wl-acc details { border-top: 1px solid var(--wl-rule); }
.wl-acc details:last-child { border-bottom: 1px solid var(--wl-rule); }
.wl-acc summary { padding: 14px 0; cursor: pointer; font-size: 13.5px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; color: var(--wl-ink); }
.wl-acc summary::-webkit-details-marker { display: none; }
.wl-acc summary::after { content: "+"; color: var(--wl-ink-2); font-weight: 400; }
.wl-acc details[open] summary::after { content: "–"; }
.wl-acc p { font-size: 13.5px; line-height: 1.6; color: #56514A; margin: 0 0 14px; }

.wl-about { background: var(--wl-linen); margin: 56px calc(50% - 50vw) 0; padding: 64px 0; border-top: 1px solid var(--wl-rule); border-bottom: 1px solid var(--wl-rule); clear: both; }
.wl-about__in { max-width: 1160px; margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: 1fr 1.6fr; gap: 56px; }
.wl-about__title { font-size: 26px; margin: 0; }
.wl-about__body { font-size: 15.5px; line-height: 1.75; }
.wl-about__body table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14px; background: var(--wl-card); border: 1px solid var(--wl-rule); }
.wl-about__body th, .wl-about__body td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--wl-rule); vertical-align: top; }
.wl-about__body th { width: 34%; font-weight: 600; color: var(--wl-ink); }
@media (max-width: 860px) { .wl-about__in { grid-template-columns: 1fr; gap: 18px; padding: 0 20px; } }
.related.products > h2 { font-size: 26px; margin: 56px 0 24px; }

/* ---------- egyszerű tartalmi oldalak (Így készül, Méretútmutató…) ---------- */
body.page:not(.home) .entry-content { font-size: 16.5px; line-height: 1.75; }
body.page:not(.home) .entry-content h2 { font-size: 26px; margin-top: 2em; }
body.page:not(.home) .entry-content h3 { font-size: 19px; margin-top: 1.6em; }
.wl-steps { counter-reset: wl; list-style: none; padding: 0; }
.wl-steps > li { counter-increment: wl; border-top: 1px solid var(--wl-rule); padding: 22px 0 6px 56px; position: relative; }
.wl-steps > li::before { content: counter(wl, decimal-leading-zero); position: absolute; left: 0; top: 24px; font-size: 12px; letter-spacing: .12em; color: var(--wl-sage); font-weight: 600; }
.wl-steps > li h3 { margin: 0 0 6px !important; }
.wl-note { background: var(--wl-linen); border-left: 2px solid var(--wl-sage); padding: 16px 20px; }

/* ---------- lábléc ---------- */
.wl-prefooter { border-top: 1px solid var(--wl-rule); background: var(--wl-paper); padding: 40px 0; }
.wl-prefooter .wl-in { display: grid; grid-template-columns: 200px 1fr; gap: 32px; align-items: baseline; }
.wl-prefooter__brand { font-family: var(--wl-display); font-weight: 700; letter-spacing: .2em; font-size: 18px; color: var(--wl-ink); margin: 0; }
.wl-prefooter p { margin: 0; color: var(--wl-ink-2); font-size: 14px; max-width: 70ch; }
@media (max-width: 700px) { .wl-prefooter .wl-in { grid-template-columns: 1fr; gap: 10px; } }
.site-footer, .site-footer-row-container-inner { background: var(--wl-linen); color: var(--wl-ink-2); font-size: 13.5px; }
.site-footer a { color: var(--wl-ink); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* táblázatok a tartalmi oldalakon */
.wl-specs { width: 100%; border-collapse: collapse; background: var(--wl-card); border: 1px solid var(--wl-rule); font-size: 14.5px; margin: 18px 0 26px; }
.wl-specs th, .wl-specs td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--wl-rule); vertical-align: top; }
.wl-specs thead th { background: var(--wl-linen); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--wl-ink-2); font-weight: 600; }
.wl-specs tbody th { width: 34%; font-weight: 600; color: var(--wl-ink); }

/* ---------- Saját fotóból űrlap ---------- */
.wl-form { background: var(--wl-card); border: 1px solid var(--wl-rule); padding: 32px; margin: 28px 0 40px; }
@media (max-width: 700px) { .wl-form { padding: 20px 16px; } }
.wl-form, .wl-form * { box-sizing: border-box; }
.wl-form fieldset { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.wl-form legend { font-family: var(--wl-display); font-weight: 600; font-size: 19px; color: var(--wl-ink); margin-bottom: 12px; padding: 0; }
.wl-form legend span { font-family: inherit; font-size: 12px; letter-spacing: .12em; color: var(--wl-sage); margin-right: 10px; }
.wl-form label { display: block; font-size: 14px; color: var(--wl-ink); font-weight: 500; margin-bottom: 14px; }
.wl-form input[type=text], .wl-form input[type=email], .wl-form textarea { display: block; width: 100%; margin-top: 6px; padding: 11px 13px; border: 1px solid var(--wl-rule); border-radius: 0; background: var(--wl-paper); font: inherit; font-weight: 400; }
.wl-form input:focus, .wl-form textarea:focus { outline: 2px solid var(--wl-sage); outline-offset: 1px; }
.wl-form small { color: var(--wl-ink-2); font-weight: 400; }
.wl-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 600px) { .wl-form__grid { grid-template-columns: 1fr; } }
.wl-form__hint { font-size: 13.5px; color: var(--wl-ink-2); margin: 8px 0 0; }
.wl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wl-drop { position: relative; display: flex !important; align-items: center; justify-content: center; min-height: 170px; border: 1.5px dashed #BDB6AA; background: var(--wl-paper); text-align: center; padding: 18px; cursor: pointer; margin: 0 !important; transition: border-color .15s, background .15s; }
.wl-drop:hover, .wl-drop.is-over { border-color: var(--wl-sage); background: var(--wl-linen); }
.wl-drop input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.wl-drop__empty { font-weight: 400; color: var(--wl-ink-2); line-height: 1.6; }
.wl-drop__empty strong { color: var(--wl-ink); font-weight: 600; }
.wl-drop__preview { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.wl-drop__preview[hidden], .wl-drop__empty[hidden] { display: none; }
.wl-drop__preview img { max-height: 240px; max-width: 100%; width: auto; box-shadow: 0 6px 18px -8px rgba(26,25,23,.35); }
.wl-drop__info { font-size: 13px; color: var(--wl-ink-2); font-weight: 400; }

.wl-choice { display: grid; gap: 10px; }
.wl-choice--2 { grid-template-columns: repeat(2, minmax(0, 180px)); }
.wl-choice--sizes { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 760px) { .wl-choice--sizes { grid-template-columns: repeat(2, 1fr); } }
.wl-choice label { margin: 0 !important; position: relative; }
.wl-choice input { position: absolute; opacity: 0; }
.wl-choice label > span { display: flex; flex-direction: column; gap: 2px; border: 1px solid var(--wl-rule); padding: 12px 14px; background: var(--wl-paper); cursor: pointer; font-weight: 400; height: 100%; }
.wl-choice input:checked + span { border-color: var(--wl-ink); box-shadow: inset 0 0 0 1px var(--wl-ink); background: var(--wl-card); }
.wl-choice input:focus-visible + span { outline: 2px solid var(--wl-sage); outline-offset: 2px; }
.wl-choice__name { font-weight: 600; color: var(--wl-ink); }
.wl-choice em { font-style: normal; font-size: 13.5px; color: var(--wl-ink-2); }
.wl-choice__res { font-style: normal; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; min-height: 1em; }
.wl-choice label.is-ok .wl-choice__res { color: #3F6B3A; }
.wl-choice label.is-mid .wl-choice__res { color: #8A6A24; }
.wl-choice label.is-low .wl-choice__res { color: #A0442E; }
.wl-choice label.is-low > span { opacity: .7; }

.wl-form__verdict { margin: 12px 0 0; font-size: 14.5px; padding: 0; }
.wl-form__verdict:empty { display: none; }
.wl-form__verdict.is-ok, .wl-form__verdict.is-mid, .wl-form__verdict.is-low { padding: 12px 16px; border-left: 2px solid; }
.wl-form__verdict.is-ok { background: #EEF2EB; border-color: #3F6B3A; }
.wl-form__verdict.is-mid { background: #F6F0E2; border-color: #B08A3C; }
.wl-form__verdict.is-low { background: #F6E9E4; border-color: #A0442E; }

.wl-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: 14px; }
.wl-check input { margin-top: 4px; flex: none; }
.wl-form__submit { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--wl-rule); padding-top: 22px; }
.wl-form__submit p { margin: 0; font-size: 13.5px; color: var(--wl-ink-2); max-width: 46ch; }
.wl-btn { background: var(--wl-btn) !important; color: #fff !important; border: 0 !important; border-radius: 0 !important; padding: 15px 28px !important; font-size: 13px !important; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; cursor: pointer; }
.wl-btn:disabled { opacity: .6; cursor: wait; }
.wl-form-msg { padding: 18px 22px; margin: 24px 0; border-left: 2px solid; }
.wl-form-msg--ok { background: #EEF2EB; border-color: #3F6B3A; }
.wl-form-msg--err { background: #F6E9E4; border-color: #A0442E; }
.wl-form-msg p:last-child { margin-bottom: 0; }

/* ---------- élesítés utáni javítások (v1.3) ---------- */
/* a Kadence kategóriafejléc ne írja ki a teljes leírást – a bevezetőt a rács fölött a téma adja */
.product-archive-title .archive-description { display: none; }
/* termékkártya: a cím és az ár ne kapjon külön fehér dobozt */
/* termékgaléria: a kisképek a nagy kép alatt, balra igazítva, nagyobban */
.woocommerce div.product div.images .flex-control-thumbs { transform: none; left: 0; margin-top: 12px; max-width: 100%; justify-content: flex-start; gap: 10px; }
.woocommerce div.product div.images .flex-control-thumbs li, .woocommerce div.product div.images .flex-control-thumbs li:first-child, .woocommerce div.product div.images .flex-control-thumbs li:nth-child(n) { width: 96px; height: auto; padding: 0; background: none; }
.woocommerce div.product div.images .flex-control-thumbs li img { border: 1px solid transparent; opacity: .55; }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active { border-color: var(--wl-ink); opacity: 1; }
/* fejléc ikonok */
.header-navigation .wl-menu-account > a { display: flex; align-items: center; padding-left: 14px !important; padding-right: 6px !important; }
.header-navigation .wl-menu-account svg { display: block; }
.site-header-item .header-cart-wrap .header-cart-button, .site-header-item .header-mobile-cart-wrap .header-cart-button { color: var(--wl-ink); }
.header-cart-wrap .header-cart-button .header-cart-total, .header-mobile-cart-wrap .header-cart-button .header-cart-total { background: var(--wl-ink); color: #fff; font-size: 10px; }

/* ---------- logó a fejlécben (v1.5) ---------- */
.site-branding .site-title, .site-header .site-branding .site-title {
	font-size: 0 !important; line-height: 0; color: transparent;
	display: block; width: 150px; height: 15px;
	background: url(img/wallory-logo.svg) no-repeat left center / contain;
}
@media (max-width: 1024px) { .site-branding .site-title { width: 128px; height: 13px; } }

/* ---------- Barion logósáv, süti-sáv (v1.6) ---------- */
.wl-prefooter__pay { grid-column: 2; margin-top: 14px; }
@media (max-width: 700px) { .wl-prefooter__pay { grid-column: 1; } }
.wl-barion { display: inline-block; line-height: 0; }
.wl-paybox { border: 1px solid var(--wl-rule); background: var(--wl-card); padding: 14px 16px; margin: 0 0 18px; }
.wl-paybox p { margin: 0 0 10px; font-size: 13.5px; color: var(--wl-ink-2); }
.wl-paybox img { max-width: 100%; }
.wl-cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999; max-width: 760px; margin: 0 auto; background: var(--wl-ink); color: #F3F0EA; padding: 14px 18px; display: flex; gap: 18px; align-items: center; box-shadow: 0 10px 30px -12px rgba(0,0,0,.4); }
.wl-cookie[hidden] { display: none; }
.wl-cookie p { margin: 0; font-size: 13.5px; line-height: 1.5; }
.wl-cookie a { color: #fff; text-decoration: underline; }
.wl-cookie .wl-btn { background: #F3F0EA !important; color: var(--wl-ink) !important; padding: 10px 18px !important; white-space: nowrap; }
@media (max-width: 600px) { .wl-cookie { flex-direction: column; align-items: stretch; } }
.wl-cookie__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.wl-cookie .wl-btn--ghost { background: transparent !important; color: #F3F0EA !important; border: 1px solid #F3F0EA !important; }
.wl-prefooter__links { grid-column: 2; margin-top: 8px !important; font-size: 12.5px !important; }
.wl-prefooter__links a { color: var(--wl-ink-2); }
@media (max-width: 700px) { .wl-prefooter__links { grid-column: 1; } }

/* ---------- termékkártya: mindenhol ugyanaz (v1.7.2) ----------
   A Kadence "action on hover" rávitelkor a nevet és az árat felcsúsztatja a képre;
   fehér dobozban, hogy a kép fölött is olvasható maradjon (főoldal, kategória, hasonló motívumok). */
ul.products li.product .entry-content-wrap { background: var(--wl-card) !important; padding: 10px 14px 12px !important; margin: 0 !important; box-shadow: none !important; }

@media (min-width: 701px) { .wl-cookie { max-width: 980px; } .wl-cookie__btns { flex-wrap: nowrap; } }
/* kosár: kuponmező mobilon egymás alatt, a gombfelirat ne lógjon ki */
@media (max-width: 600px) {
	.woocommerce-cart table.cart td.actions .coupon { display: flex; flex-direction: column; gap: 8px; float: none; width: 100%; }
	.woocommerce-cart table.cart td.actions .coupon .input-text, .woocommerce-cart table.cart td.actions .coupon .button { width: 100% !important; }
	.woocommerce-cart table.cart td.actions > .button { width: 100%; margin-top: 8px; }
}
.woocommerce-cart table.cart td.actions .button { white-space: nowrap; }

/* Saját fotó – több fotó */
.wl-pitems { display: grid; gap: 18px; }
.wl-pitem { border: 1px solid var(--wl-rule); background: var(--wl-paper); padding: 16px; }
@media (max-width: 700px) { .wl-pitem { padding: 12px; } }
.wl-pitem .wl-drop { background: var(--wl-card); min-height: 150px; }
.wl-pitem__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.wl-pitem__title { font-family: var(--wl-display); font-weight: 600; font-size: 16px; }
.wl-form .wl-pitem__remove { background: none !important; border: 0 !important; box-shadow: none !important; text-transform: none; letter-spacing: 0; font-weight: 400; padding: 0; color: #A0442E; font-size: 13px; text-decoration: underline; cursor: pointer; }
.wl-pitem__remove[hidden] { display: none; }
.wl-pitem__row { display: flex; gap: 18px; align-items: flex-end; flex-wrap: wrap; margin: 14px 0 4px; }
.wl-pitem__orient { flex: 1 1 260px; }
.wl-form label.wl-pitem__qty { margin: 0; }
.wl-pitem__qty select { display: block; margin-top: 0; padding: 11px 13px; border: 1px solid var(--wl-rule); background: var(--wl-card); font: inherit; min-width: 96px; border-radius: 0; }
.wl-sublabel { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--wl-ink-2); margin: 12px 0 8px; }
.wl-pitem__row .wl-sublabel { margin-top: 0; }
.wl-form .wl-padd { margin-top: 14px; background: transparent !important; border: 1.5px dashed #BDB6AA !important; border-radius: 0 !important; box-shadow: none !important; padding: 12px 18px; width: 100%; font: inherit; font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--wl-ink) !important; cursor: pointer; }
.wl-form .wl-padd:hover { border-color: var(--wl-sage) !important; background: var(--wl-linen) !important; }
.wl-padd[hidden] { display: none; }
.wl-psum { margin: 12px 0 0; font-size: 15px; font-weight: 600; }
.wl-psum:empty { display: none; }
.wl-psum.is-low { color: #A0442E; }
.wl-form__submit .wl-form__msg { margin: 0 0 4px; flex: 1 1 100%; width: 100%; max-width: none; }
.wl-psame { display: flex; align-items: center; gap: 14px; border: 1px solid var(--wl-rule); background: var(--wl-card); padding: 10px 12px; }
.wl-psame[hidden] { display: none; }
.wl-psame img { width: 72px; height: 54px; object-fit: cover; flex: none; }
.wl-psame__txt { font-size: 14px; color: var(--wl-ink-2); }
.wl-form .wl-pitem__more { margin-top: 10px; background: none !important; border: 0 !important; box-shadow: none !important; padding: 0; font: inherit; font-size: 14px; font-weight: 600; text-transform: none; letter-spacing: 0; color: var(--wl-ink) !important; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wl-pitem__more[hidden] { display: none; }
.wl-form .wl-drop[hidden] { display: none !important; }

/* Főoldal: "Mit keresel?" blokk és bizalmi sáv – nagyobb betű, tömörebb (v1.12.3) */
.wl-trust ul { padding-top: 18px; padding-bottom: 18px; }
.wl-trust li { font-size: 14px; letter-spacing: .02em; }
.wl-sec:has(.wl-paths) { padding: 52px 0 60px; }
.wl-sec .wl-eyebrow { font-size: 12.5px; margin-bottom: 16px; }
.wl-path { padding: 26px 28px 24px; }
.wl-path .wl-num { font-size: 13px; margin-bottom: 8px; }
.wl-paths .wl-path h3 { font-size: 26px; line-height: 1.2; margin: 0 0 8px !important; padding: 0; }
.wl-path p { font-size: 16.5px; line-height: 1.55; margin: 0 0 18px; }
.wl-path span.wl-go { font-size: 13px; font-weight: 600; }
@media (max-width: 820px) { .wl-sec:has(.wl-paths) { padding: 36px 0 40px; } .wl-path { padding: 22px 20px; } .wl-paths .wl-path h3 { font-size: 23px; } .wl-path p { font-size: 16px; margin-bottom: 14px; } }
.wl-trust li { font-size: 15px; }
@media (max-width: 700px) { .wl-trust ul { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; gap: 12px; padding-top: 20px; padding-bottom: 20px; } .wl-trust li { font-size: 16.5px; } }

/* Méretválasztó a főoldalon – mobil (v1.12.8): a felirat a keret fölött, a lista két sorban */
@media (max-width: 700px) {
  .wl-wall__scene { overflow: visible; }
  .wl-wall__scene .wl-frame b { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); white-space: nowrap; margin-bottom: 6px; padding: 3px 8px; font-size: 12.5px; background: var(--wl-paper); border: 1px solid var(--wl-rule); }
  .wl-sizes-list button { grid-template-columns: 1fr auto; grid-template-areas: "s p" "d d"; gap: 2px 12px; padding: 13px 14px; font-size: 16px; }
  .wl-sizes-list { padding-left: 0 !important; margin-left: 0 !important; }
  .wl-sizes-list b { grid-area: s; }
  .wl-sizes-list em { grid-area: p; }
  .wl-sizes-list i { grid-area: d; font-size: 14.5px; }
  .wl-sizes-list button[aria-pressed="true"] { padding-left: 14px; background: var(--wl-card); }
}
/* Méretválasztó – minden szélességen: felirat a keret fölött, lista behúzás nélkül, a kijelölt sor nem ugrik (v1.12.10) */
.wl-wall__scene { overflow: visible; }
.wl-wall__scene .wl-frame b { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); white-space: nowrap; margin-bottom: 6px; padding: 3px 8px; font-size: 12.5px; background: var(--wl-paper); border: 1px solid var(--wl-rule); }
.wl-sizes-list { padding-left: 0 !important; margin-left: 0 !important; }
.wl-sizes-list button, .wl-sizes-list button[aria-pressed="true"] { padding-left: 14px; padding-right: 14px; }
.wl-sizes-list button[aria-pressed="true"] { background: var(--wl-card); }

/* =========================================================================
   Mobil átnézés (v1.13.0)
   ========================================================================= */
/* Táblázat, ami mobilon kártyákká alakul (data-l címkékkel) */
@media (max-width: 640px) {
  table.wl-stack, table.wl-stack tbody, table.wl-stack tr, table.wl-stack td { display: block; width: 100%; }
  table.wl-stack thead { display: none; }
  table.wl-stack tr { border-bottom: 1px solid var(--wl-rule); padding: 12px 14px; }
  table.wl-stack tr:last-child { border-bottom: 0; }
  table.wl-stack td { border: 0 !important; padding: 3px 0 !important; display: grid; grid-template-columns: 96px 1fr; gap: 10px; font-size: 15.5px; }
  table.wl-stack td::before { content: attr(data-l); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--wl-ink-2); font-weight: 600; padding-top: 3px; }
  table.wl-stack td:first-child { font-weight: 600; font-size: 17px; }
}
.wl-specs td { overflow-wrap: anywhere; }

@media (max-width: 768px) {
  /* Termékoldal: olvashatóbb betűk */
  .woocommerce-breadcrumb, .kadence-breadcrumbs, nav.woocommerce-breadcrumb { font-size: 13.5px !important; }
  .single-product div.product .woocommerce-product-details__short-description { font-size: 16.5px; }
  .wl-size { padding: 14px 14px; gap: 12px; grid-template-columns: 40px 1fr auto; }
  .wl-size__name { font-size: 16.5px; }
  .wl-size__hint { font-size: 14px; margin-top: 2px; }
  .wl-size__price { font-size: 16.5px; }
  .wl-pricenote { font-size: 14px; line-height: 1.5; }
  .wl-meter { font-size: 14.5px; }
  .wl-bignote { font-size: 14.5px; }
  .wl-facts li { font-size: 15px; }
  .wl-howlink { font-size: 15px; }
  .wl-acc summary { font-size: 16px; padding: 16px 0; }
  .wl-acc p { font-size: 15px; }

  /* Terméklisták (kategória, kapcsolódó, főoldal): két oszlop */
  .woocommerce ul.products, .wp-site-blocks ul.products, ul.products.products { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 22px 12px !important; }
  ul.products li.product { width: auto !important; margin: 0 !important; }
  .woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px !important; line-height: 1.3 !important; }
  .woocommerce ul.products li.product .price, .woocommerce ul.products li.product .price .amount { font-size: 13.5px !important; }
  ul.products li.product .entry-content-wrap { padding: 9px 10px 11px !important; }

  /* Kosár: tételek kártyaként */
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item { display: grid !important; grid-template-columns: 88px 1fr; column-gap: 14px; position: relative; padding: 14px 0; border-bottom: 1px solid var(--wl-rule); }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td { border: 0 !important; padding: 2px 0 !important; text-align: left !important; background: none !important; }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-thumbnail { display: block !important; grid-column: 1; grid-row: 1 / span 4; }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-thumbnail::before { display: none; }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-thumbnail img { width: 88px !important; height: auto; max-width: none; }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-remove { position: absolute; right: 0; top: 10px; padding: 0 !important; }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-remove::before { display: none; }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-remove a.remove { color: var(--wl-ink-2) !important; font-size: 22px; font-weight: 400; }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-name { grid-column: 2; padding-right: 30px !important; font-size: 16px; font-weight: 600; }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-name::before { display: none; }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-name a { text-decoration: none; color: var(--wl-ink); }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-price { display: none !important; }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-quantity,
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-subtotal { grid-column: 2; display: flex !important; align-items: center; justify-content: space-between; font-size: 15px; }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-quantity::before,
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-subtotal::before { float: none; font-weight: 400; color: var(--wl-ink-2); }
  .woocommerce-cart-form table.shop_table_responsive tr.cart_item td.product-subtotal { font-weight: 600; }
  .woocommerce-cart-form .quantity .qty { width: 64px; min-height: 40px; }
  .woocommerce-cart-form button[name="update_cart"] { display: none !important; }

  /* Kosár összesen és pénztár: szállítási módok balra rendezve, teljes szélességben */
  .cart_totals table.shop_table_responsive tr.woocommerce-shipping-totals { display: block; }
  .cart_totals table.shop_table_responsive tr.woocommerce-shipping-totals td { display: block; text-align: left !important; }
  .cart_totals table.shop_table_responsive tr.woocommerce-shipping-totals td::before { display: block; float: none; margin-bottom: 8px; }
  table.woocommerce-checkout-review-order-table, .woocommerce-checkout-review-order-table thead, .woocommerce-checkout-review-order-table tbody, .woocommerce-checkout-review-order-table tfoot { display: block; width: 100%; }
  .woocommerce-checkout-review-order-table tr { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--wl-rule); }
  .woocommerce-checkout-review-order-table tr th, .woocommerce-checkout-review-order-table tr td { border: 0 !important; }
  .woocommerce-checkout-review-order-table tr > :last-child { text-align: right; white-space: nowrap; }
  .woocommerce-checkout-review-order-table td.product-name { white-space: normal !important; text-align: left !important; }
  .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals { display: block; }
  .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals > td { text-align: left; white-space: normal; }
  .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th, .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td { display: block; width: auto !important; }
  .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th { border-bottom: 0 !important; padding-bottom: 4px !important; }
  #ship-to-different-address, #ship-to-different-address label { font-size: 16px !important; }
  #place_order { font-size: 14px !important; min-height: 54px; }
  .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td { padding-top: 4px !important; }
  ul#shipping_method { margin: 0; padding: 0; }
  ul#shipping_method li { display: grid !important; grid-template-columns: 22px 1fr; align-items: start; gap: 4px 8px; text-align: left !important; margin: 0 0 10px !important; padding: 0 !important; font-size: 15px; line-height: 1.4; }
  ul#shipping_method li input { margin: 3px 0 0 !important; }
  ul#shipping_method li label { font-weight: 400 !important; display: inline !important; }
  ul#shipping_method li > *:not(input):not(label) { grid-column: 2; }
  .woocommerce-shipping-destination, .woocommerce-shipping-contents { text-align: left !important; font-size: 13.5px; }
  .woocommerce-checkout-review-order-table td.product-name { font-size: 15px; }
  .wc-proceed-to-checkout .checkout-button { font-size: 14px !important; min-height: 52px; display: flex !important; align-items: center; justify-content: center; }
}

/* Pénztár: a Barion logók egyszer jelenjenek meg (a fizetési mód fölötti dobozban) */
.wc_payment_method.payment_method_barion > label .wl-barion { display: block; margin: 10px 0 2px; }
.wc_payment_method.payment_method_barion > label .wl-barion img { float: none !important; margin: 0 !important; max-height: none !important; }
@media (max-width: 768px) {
  /* Így készül: a sorszám a cím fölé kerül, a szöveg teljes szélességet kap */
  .wl-steps { padding-left: 0 !important; margin-left: 0 !important; }
  .wl-steps > li { padding: 22px 0 8px 0; }
  .wl-steps > li::before { position: static; display: block; font-size: 13px; margin-bottom: 6px; }
  /* Termék- és jogi táblázatok */
  .wl-specs th { width: 38%; }
  .wl-specs td, .wl-specs th { font-size: 15px; }
  /* Saját fotó űrlap */
  .wl-form__hint { font-size: 14.5px; line-height: 1.55; }
  .wl-choice em { font-size: 14.5px; }
  .wl-choice__name { font-size: 15.5px; }
  .wl-psum { font-size: 16px; }
  .woocommerce-result-count { font-size: 14px !important; }
}
/* Mobil menü: a márka színeiben, nagyobb betűvel */
#mobile-drawer .drawer-inner, #mobile-drawer .drawer-content { background: var(--wl-paper) !important; color: var(--wl-ink) !important; }
#mobile-drawer .drawer-overlay { background: rgba(26,25,23,.35) !important; }
#mobile-drawer .drawer-header .drawer-toggle, #mobile-drawer .menu-toggle-close { color: var(--wl-ink) !important; }
#mobile-drawer .mobile-navigation ul li > a, #mobile-drawer .mobile-navigation ul li .drawer-nav-drop-wrap > a { font-family: var(--wl-display) !important; font-size: 20px !important; font-weight: 600 !important; letter-spacing: -.01em; color: var(--wl-ink) !important; padding-top: 14px !important; padding-bottom: 14px !important; }
#mobile-drawer .mobile-navigation ul ul li > a { font-family: var(--wl-body) !important; font-size: 16.5px !important; font-weight: 400 !important; padding-top: 10px !important; padding-bottom: 10px !important; }
#mobile-drawer .mobile-navigation ul li.current-menu-item > a, #mobile-drawer .mobile-navigation ul li.current-menu-item > .drawer-nav-drop-wrap > a { color: var(--wl-sage) !important; }
#mobile-drawer .mobile-navigation ul li, #mobile-drawer .mobile-navigation ul li .drawer-nav-drop-wrap, #mobile-drawer .mobile-navigation ul li a { border-color: var(--wl-rule) !important; }
#mobile-drawer .mobile-navigation .drawer-sub-toggle { color: var(--wl-ink) !important; border-color: var(--wl-rule) !important; }

/* Barion hivatalos logósor: legalább 8 px szabad hely körülötte, háttér nélkül, keret nélkül */
.wl-barion { padding: 8px 0; }
.wl-barion img { box-shadow: none !important; border: 0 !important; border-radius: 0 !important; filter: none !important; }
.wl-paytop { margin: 0 0 22px; padding: 6px 0; border-bottom: 1px solid var(--wl-rule); }
@media (max-width: 480px) { .wl-barion img { height: 36px !important; } }

/* Főoldal: két irány (v1.15.0) – válogatott képek vagy saját fotó */
.wl-choose { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 520px; }
.wl-choose__btn { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 15px; border: 1.5px solid var(--wl-ink); background: var(--wl-paper); color: var(--wl-ink) !important; text-decoration: none !important; transition: background .15s, color .15s; }
.wl-choose__btn b { font-family: var(--wl-display); font-weight: 600; font-size: 17px; letter-spacing: -.01em; }
.wl-choose__btn b::after { content: " →"; font-family: var(--wl-body); font-weight: 400; }
.wl-choose__btn span { font-size: 13.5px; line-height: 1.35; color: var(--wl-ink-2); }
.wl-choose__btn:hover { background: var(--wl-linen); }
.wl-choose__btn--dark { background: var(--wl-btn, #2A2620); border-color: var(--wl-btn, #2A2620); color: #fff !important; }
.wl-choose__btn--dark span { color: rgba(255,255,255,.75); }
.wl-choose__btn--dark:hover { background: #000; }
@media (max-width: 520px) { .wl-choose { grid-template-columns: 1fr; } .wl-choose__btn { padding: 15px 16px; } .wl-choose__btn b { font-size: 18px; } .wl-choose__btn span { font-size: 14.5px; } }

/* Bizalmi sáv – erősebb változat ikonokkal (v1.15.1) */
.wl-trust { background: var(--wl-linen); }
.wl-trust ul { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 18px 28px !important; padding-top: 24px !important; padding-bottom: 24px !important; }
.wl-trust li { display: flex !important; align-items: flex-start !important; gap: 12px !important; font-size: 15px !important; letter-spacing: 0 !important; }
.wl-trust li::before { display: none !important; }
.wl-trust svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--wl-sage); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; margin-top: 1px; }
.wl-trust b { display: block; font-family: var(--wl-body); font-weight: 600; font-size: 15.5px; line-height: 1.3; letter-spacing: 0; color: var(--wl-ink); }
.wl-trust small { display: block; font-size: 13px; line-height: 1.4; color: var(--wl-ink-2); margin-top: 3px; }
@media (max-width: 900px) { .wl-trust ul { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .wl-trust ul { grid-template-columns: 1fr; gap: 16px !important; } .wl-trust b { font-size: 17px; } .wl-trust small { font-size: 14.5px; } .wl-trust svg { width: 28px; height: 28px; } }

/* Méretválasztó mobilon (v1.15.3): előbb a cím és a bevezető, utána a fal-jelenet, alatta rögtön a méretlista */
@media (max-width: 900px) {
  .wl-sec--wall { padding-top: 40px; padding-bottom: 44px; }
  .wl-wall { display: flex !important; flex-direction: column; align-items: stretch !important; gap: 0 !important; }
  .wl-wall .wl-wall__scene { width: 100%; }
  .wl-wall .wl-h2 { text-align: left; }
  .wl-wall > div:not(.wl-wall__scene) { display: contents; }
  .wl-wall .wl-h2 { order: 1; }
  .wl-wall .wl-lede { order: 2; margin-bottom: 18px !important; }
  .wl-wall .wl-wall__scene { order: 3; margin-bottom: 22px; width: 100%; align-self: stretch; }
  .wl-wall .wl-h2, .wl-wall .wl-lede, .wl-wall .wl-sizes-list, .wl-wall .wl-rule-of-thumb { width: 100%; align-self: stretch; text-align: left; }
  .wl-wall .wl-sizes-list { order: 4; }
  .wl-wall .wl-rule-of-thumb { order: 5; }
  .wl-wall .wl-btn { order: 6; align-self: flex-start; }
}

/* Méretválasztó gépen (v1.15.6): a cím és a bevezető a teljes szélességben felül, alatta balra a fal, jobbra a lista */
@media (min-width: 901px) {
  .wl-wall { grid-template-columns: 1.35fr 1fr; grid-template-areas: "h h" "d d" "s l" "s r" "s b"; column-gap: 56px; row-gap: 0; align-items: start; }
  .wl-wall > div:not(.wl-wall__scene) { display: contents; }
  .wl-wall .wl-h2 { grid-area: h; margin-bottom: 10px; }
  .wl-wall .wl-lede { grid-area: d; margin-bottom: 30px !important; max-width: 60ch; }
  .wl-wall .wl-wall__scene { grid-area: s; align-self: start; }
  .wl-wall .wl-sizes-list { grid-area: l; }
  .wl-wall .wl-rule-of-thumb { grid-area: r; }
  .wl-wall .wl-btn { grid-area: b; justify-self: start; }
}

/* Méretválasztó: fekvő / álló kapcsoló (v1.17.0) */
.wl-orient { display: inline-flex; border: 1px solid var(--wl-ink); margin: 0 0 16px; }
.wl-orient button { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; font-size: 14px; font-weight: 600; color: var(--wl-ink); background: transparent; }
.wl-orient button + button { border-left: 1px solid var(--wl-ink); }
.wl-orient button[aria-pressed="true"] { background: var(--wl-ink); color: #fff; }
.wl-orient button:focus-visible { outline: 2px solid var(--wl-sage); outline-offset: 2px; }
.wl-orient__ic { display: inline-block; border: 1.5px solid currentColor; }
.wl-orient__ic--f { width: 16px; height: 11px; }
.wl-orient__ic--a { width: 11px; height: 16px; }
@media (min-width: 901px) { .wl-wall .wl-orient { grid-area: o; justify-self: start; } .wl-wall { grid-template-areas: "h h" "d d" "s o" "s l" "s r" "s b" !important; } }
@media (max-width: 900px) { .wl-wall .wl-orient { order: 3; align-self: flex-start; } .wl-wall .wl-wall__scene { order: 4 !important; } .wl-wall .wl-sizes-list { order: 5 !important; } .wl-wall .wl-rule-of-thumb { order: 6 !important; } .wl-wall .wl-btn { order: 7 !important; } }
/* Méretútmutató oldalon a falas blokk */
.wl-wall--page { margin: 8px 0 40px; }
.wl-wall--page .wl-sizes-list button { cursor: pointer; }

/* Mobilon (iOS) a téma gomb-hover/focus stílusa fehér betűt adott a kiválasztott méretre – felülírjuk (v1.17.2) */
.wl-size, .wl-size:hover, .wl-size:focus, .wl-size:active, .wl-size:focus-visible,
.wl-sizes-list button, .wl-sizes-list button:hover, .wl-sizes-list button:focus, .wl-sizes-list button:active { color: var(--wl-ink) !important; box-shadow: none; }
.wl-size:hover, .wl-size:focus, .wl-size:active { background: #FCFBF9 !important; }
.wl-size[aria-checked="true"], .wl-size[aria-checked="true"]:hover, .wl-size[aria-checked="true"]:focus, .wl-size[aria-checked="true"]:active { background: var(--wl-linen) !important; box-shadow: inset 3px 0 0 var(--wl-btn) !important; }
.wl-size .wl-size__hint, .wl-sizes-list button i { color: var(--wl-ink-2) !important; }
.wl-sizes-list button:hover, .wl-sizes-list button:focus { background: transparent !important; }
.wl-sizes-list button[aria-pressed="true"], .wl-sizes-list button[aria-pressed="true"]:hover, .wl-sizes-list button[aria-pressed="true"]:focus { background: var(--wl-card) !important; box-shadow: inset 3px 0 0 var(--wl-btn) !important; }
.wl-orient button:hover, .wl-orient button:focus { color: var(--wl-ink) !important; background: transparent !important; }
.wl-orient button[aria-pressed="true"], .wl-orient button[aria-pressed="true"]:hover, .wl-orient button[aria-pressed="true"]:focus { color: #fff !important; background: var(--wl-ink) !important; }
