/*
Theme Name: PAUL Shoes 2026
Description: Saját WooCommerce sablon a paulshoes.hu-hoz – meleg kőszínű alap, fehér kártyák, lebegő fejléc, kosárfiók. Minden beállítás: Megjelenés → Testreszabás → PAUL Shoes sablon.
Version: 3.0.0
Author: Kulcsár Ferenc - RedWebDesign
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: paulshoes
WC requires at least: 8.0
*/

/* ---------- Tokens (colours that the Customizer can change are re-set inline) ---------- */
:root {
	--ground: #ebe8e1; --card: #ffffff; --ink: #1f1e1c; --muted: #6c6862; --line: #d8d3c8; --soft: #f4f2ed; --night: #1f1e1c; --bar: #e2ded5;
	--accent: #d93b5f;
	--rainbow: linear-gradient(90deg, #ffc800, #f7931e 14%, #e8202a 30%, #c8186e 44%, #6b2d8f 58%, #2a5fd0 72%, #12a6e0 86%, #1ca35a);
	--sans: Jost, ui-sans-serif, system-ui, "Segoe UI", Arial, sans-serif;
	--serif: Newsreader, Georgia, "Times New Roman", serif;
	--mono: "DM Mono", ui-monospace, Consolas, monospace;
	--r: 14px; --r-lg: 22px; --radius: 999px;
	--gutter: max(16px, 2.2vw); --wide: 1440px; --content: 760px;
	--hdr-top: 0px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body.ps-lock { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 400; margin: 0; letter-spacing: -.01em; line-height: 1.1; text-wrap: balance; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wide); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.muted { color: var(--muted); }
.serif { font-family: var(--serif); font-weight: 300; }
.label, .kicker { font: 500 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.kicker { margin: 0 0 14px; display: flex; align-items: center; gap: 12px; color: var(--muted); }
.kicker::before { content: ""; flex: 0 0 28px; height: 2px; border-radius: 2px; background: var(--hl-kicker, var(--rainbow)); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 1000; background: #fff; padding: 10px 16px; border-radius: 999px; }
mark { color: inherit; background: linear-gradient(90deg, rgba(255,200,0,.45), rgba(232,32,42,.3), rgba(107,45,143,.3), rgba(18,166,224,.35), rgba(28,163,90,.35)) 0 88% / 100% 34% no-repeat; padding: 0 2px; }
.card-box { background: var(--card); border-radius: var(--r-lg); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--soft); font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.chip .dot-g { width: 7px; height: 7px; border-radius: 50%; background: var(--hl-dot, var(--rainbow)); }
.site-main { padding-bottom: 24px; }

/* ---------- Buttons (theme + WooCommerce) ---------- */
.btn, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: #fff;
	border: 1px solid var(--ink); border-radius: var(--radius); padding: 14px 24px; cursor: pointer; text-transform: uppercase;
	letter-spacing: .1em; font: 500 12.5px/1.2 var(--sans); transition: background .15s, transform .15s, color .15s;
}
.btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: #000; color: #fff; }
.btn:active, .woocommerce button.button:active { transform: scale(.98); }
.btn.light { background: var(--card); color: var(--ink); border-color: var(--card); }
.btn.light:hover { background: var(--soft); color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--card); color: var(--ink); }
.woocommerce button.button:disabled, .woocommerce button.button.disabled, .woocommerce button.button.alt.disabled, .woocommerce button.button.alt.disabled:hover { background: #d9d5cd; border-color: #d9d5cd; color: #7d786f; opacity: 1; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; border: 0; background: transparent; cursor: pointer; position: relative; color: var(--ink); }
.icon-btn:hover { background: var(--soft); }
.icon-btn svg { width: 21px; height: 21px; }

/* ---------- Promo + top strip + floating header ---------- */
.promo-bar { text-align: center; font-size: 14px; font-weight: 500; padding: 9px var(--gutter); }
.promo-bar a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.topbar { background: var(--night); color: #f2efe8; text-align: center; font-size: 13.5px; padding: 8px var(--gutter); position: relative; }
.topbar .social { position: absolute; right: var(--gutter); top: 50%; translate: 0 -50%; }
.site-header { position: sticky; top: var(--hdr-top); z-index: 40; padding: 10px var(--gutter); }
.admin-bar { --hdr-top: 32px; }
.site-header .bar { max-width: var(--wide); margin: 0 auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; background: var(--card); border-radius: 999px; padding: 7px 10px 7px 24px; box-shadow: 0 1px 0 rgba(0,0,0,.04), 0 10px 26px -18px rgba(0,0,0,.35); }
.site-header .custom-logo, .site-header .logo img { height: var(--logo-h, 40px); width: auto; }
.site-header .logo { font: 500 20px var(--sans); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.site-nav li { position: relative; }
.site-nav a { display: block; font: 500 12.5px/1 var(--sans); letter-spacing: .09em; text-transform: uppercase; padding: 11px 15px; border-radius: 999px; position: relative; }
.site-nav a:hover { background: var(--soft); }
.site-nav .current-menu-item > a::after, .site-nav .current-menu-ancestor > a::after, .site-nav .current-product_cat-ancestor > a::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--hl-nav, var(--rainbow)); }
.site-nav .sub-menu { display: none; position: absolute; top: calc(100% + 8px); left: 0; background: var(--card); border-radius: var(--r); box-shadow: 0 18px 40px -20px rgba(0,0,0,.35); padding: 8px; min-width: 220px; flex-direction: column; gap: 0; z-index: 5; }
.site-nav .sub-menu::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.site-nav .sub-menu a { text-transform: none; letter-spacing: 0; font-size: 15px; font-weight: 400; padding: 10px 14px; }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { display: flex; }
.header-actions { display: flex; gap: 2px; justify-content: end; align-items: center; }
.cart-count { position: absolute; top: 3px; right: 1px; display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ink); color: #fff; font: 500 11px/1 var(--sans); }
.cart-count.is-0 { display: none; }
.menu-btn { display: none; }
.mnav { display: none; }

/* ---------- Drawers (cart + mobile menu) ---------- */
.drawer { position: fixed; inset: 0; z-index: 2147483000; display: flex; justify-content: flex-end; visibility: hidden; }
.drawer.left { justify-content: flex-start; }
.drawer .scrim { position: absolute; inset: 0; z-index: 0; background: rgba(20,18,15,.45); opacity: 0; transition: opacity .25s; }
.drawer .panel { position: relative; z-index: 1; background: var(--ground); width: min(440px, 100vw); height: 100%; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.drawer.left .panel { transform: translateX(-100%); width: min(360px, 88vw); padding: 20px; gap: 6px; overflow-y: auto; }
.drawer.open { visibility: visible; }
.drawer.open .scrim { opacity: 1; }
.drawer.open .panel { transform: none; }
.admin-bar .drawer .panel { padding-top: 32px; }
.drawer .p-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 10px; }
.drawer .p-head h2 { font: 500 14px var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.drawer .freeship { margin: 0 20px 6px; }
.drawer .widget_shopping_cart_content { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.mnav-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.mnav-list a { display: block; padding: 14px 16px; background: var(--card); border-radius: var(--r); font-weight: 500; }
.mnav-list .sub-menu { list-style: none; padding: 6px 0 0 12px; display: grid; gap: 6px; }
.mnav-list .sub-menu a { font-weight: 400; background: transparent; padding: 8px 12px; }

/* Mini cart (woocommerce/cart/mini-cart.php) */
.mc-items { list-style: none; margin: 0; padding: 8px 20px; display: grid; gap: 10px; align-content: start; overflow-y: auto; flex: 1; }
.mc-item { background: var(--card); border-radius: var(--r); padding: 12px; display: grid; grid-template-columns: 84px 1fr auto; gap: 12px; align-items: center; }
.mc-item img { width: 84px; height: 66px; object-fit: contain; }
.mc-item h3 { font: 500 13px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.mc-item .meta, .mc-item dl { font-size: 13px; color: var(--muted); margin: 2px 0 0; }
.mc-item dl dt, .mc-item dl dd { display: inline; margin: 0; }
.mc-item dl dd p { display: inline; margin: 0; }
.mc-item dl dd::after { content: ""; display: block; }
.mc-item .side { display: grid; gap: 6px; justify-items: end; font-weight: 500; }
.mc-item .remove { color: var(--muted) !important; font-size: 12px; text-decoration: underline; font-weight: 400; }
/* beat WooCommerce's widget list styles (floating 32px image, big red ×) */
.drawer ul.mc-items li.mc-item { padding: 12px; margin: 0; display: grid; list-style: none; }
.drawer ul.mc-items li.mc-item::before, .drawer ul.mc-items li.mc-item::after { display: none; }
.drawer ul.mc-items li.mc-item img { float: none; width: 84px; height: 66px; margin: 0; box-shadow: none; }
.drawer ul.mc-items li.mc-item a { display: inline; font-weight: inherit; }
.drawer ul.mc-items li.mc-item a.remove { display: inline; position: static; width: auto; height: auto; font-size: 12px; line-height: 1.3; color: var(--muted) !important; background: none !important; border-radius: 0; font-weight: 400; text-align: right; }
.drawer ul.mc-items li.mc-item a.remove:hover { color: var(--ink) !important; }
.mc-empty { margin: 8px 20px; background: var(--card); border-radius: var(--r); padding: 28px; text-align: center; }
.mc-foot { padding: 16px 20px 20px; display: grid; gap: 10px; border-top: 1px solid var(--line); }
.mc-total { display: flex; justify-content: space-between; font-size: 17px; font-weight: 500; }
.mc-foot .btn { width: 100%; padding-block: 16px; }
.mc-foot .cart-link { text-align: center; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Free shipping meter ---------- */
.freeship { background: var(--card); border-radius: var(--r); padding: 14px 16px; margin: 0 0 24px; font-size: 14.5px; }
.freeship p { margin: 0 0 10px; }
.freeship .bar { height: 6px; border-radius: 3px; background: var(--soft); overflow: hidden; }
.freeship .bar span { display: block; height: 100%; border-radius: 3px; background: var(--hl-bar, var(--rainbow)); transition: width .4s ease; }

/* ---------- Value cards + footer ---------- */
.values { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 10px; margin-top: 72px; }
.values article { background: var(--card); border-radius: var(--r-lg); padding: 26px 24px 30px; display: grid; gap: 12px; align-content: start; }
.values .v-head { display: flex; align-items: center; gap: 12px; }
.values img { width: 34px; height: 34px; object-fit: contain; }
.values p { margin: 0; max-width: 44ch; color: #3f3c37; }
.site-footer { background: var(--night); color: #e9e6df; margin-top: 24px; }
.site-footer .wrap { padding-block: 56px 28px; display: grid; gap: 40px; }
.site-footer .cols { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, .7fr)); gap: 32px; }
.site-footer h2 { font: 500 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #a29d93; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 14.5px; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.site-footer .about { color: #a29d93; max-width: 40ch; margin: 16px 0; }
.site-footer .f-logo img, .site-footer .f-logo .custom-logo { height: 40px; width: auto; filter: invert(1) brightness(1.6); }
.site-footer .f-logo a { font: 500 22px var(--sans); }
.site-footer .contact-line { margin: 0 0 6px; }
.site-footer .bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; border-top: 1px solid #3a3835; padding-top: 22px; font-size: 13px; color: #a29d93; }
.site-footer .bottom i { width: 56px; height: 3px; border-radius: 2px; background: var(--hl-line, var(--rainbow)); }
.social { display: flex; gap: 10px; align-items: center; }
.social a { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid currentColor; opacity: .85; }
.topbar .social a { border: 0; width: auto; height: auto; }
.social a:hover { opacity: 1; text-decoration: none !important; }
.site-footer .social { margin-top: 18px; }

/* ---------- Breadcrumbs, generic pages ---------- */
.crumbs, .woocommerce .woocommerce-breadcrumb { font-size: 13px; color: var(--muted); padding: 6px 4px 12px; margin: 0; }
.crumbs a:hover, .woocommerce .woocommerce-breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.page-head { padding: 24px 0 24px; }
.page-head h1 { font: 300 clamp(38px, 4.6vw, 64px)/1.04 var(--serif); }
.entry-card { background: var(--card); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 56px); }
.entry { max-width: var(--content); }
.entry > *:first-child { margin-top: 0; }
.entry h2 { font: 400 28px/1.15 var(--serif); margin: 1.6em 0 .6em; }
.entry h3 { font-size: 21px; font-weight: 500; margin: 1.4em 0 .5em; }
.entry ul, .entry ol { padding-left: 1.2em; }
.entry-wide { max-width: none; }

/* ---------- Home ---------- */
.hero { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: clamp(420px, 62vh, 640px); display: grid; color: #fff; background: #3a3f44; margin-top: 2px; }
.hero .slide { grid-area: 1 / 1; position: relative; display: flex; align-items: flex-end; min-width: 0; }
.slide.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, center 65%); }
.slide.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.58)); }
.hero .in { position: relative; z-index: 1; padding: clamp(24px, 4vw, 48px); display: grid; gap: 12px; max-width: 760px; animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
.hero .kicker { color: rgba(255,255,255,.9); margin: 0; }
.hero h1 { font: 400 clamp(36px, 5vw, 68px)/1.02 var(--sans); letter-spacing: -.015em; }
.hero h1 em { font-style: normal; background: var(--hl-em, var(--rainbow)) 0 94% / 100% 4px no-repeat; padding-bottom: 4px; }
.hero .lead { font-size: 17.5px; margin: 0; opacity: .94; max-width: 36em; }
.hero .lead b, .hero .lead strong { font-weight: 500; }
.hero .btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.tiles { display: grid; grid-template-columns: repeat(var(--tiles, 4), minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.tile { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: var(--tile-ratio, 4 / 3.4); display: grid; place-items: center; background: var(--tile-bg, #b7a99a); }
.tile img { width: 80%; height: 80%; object-fit: contain; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.tile.photo img { width: 100%; height: 100%; object-fit: cover; }
.tile:hover img { transform: scale(1.04) rotate(-2deg); }
.tile.photo:hover img { transform: scale(1.03); }
.tile .lbl { position: absolute; left: 50%; bottom: 16px; translate: -50% 0; white-space: nowrap; background: rgba(255,255,255,.94); color: var(--ink); border-radius: 999px; padding: 9px 18px; font: 500 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; transition: background .2s, color .2s; }
.tile:hover .lbl, .tile:focus-visible .lbl { background: var(--ink); color: #fff; }
.sec { padding-top: 72px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin: 0 4px 18px; }
.sec-head h2 { font: 300 clamp(30px, 3.4vw, 46px)/1.05 var(--serif); }
.chips { display: inline-flex; flex-wrap: wrap; gap: 3px; background: var(--card); border-radius: 999px; padding: 3px; }
.chips button { border: 0; background: transparent; padding: 8px 15px; border-radius: 999px; font: 500 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.workshop { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 10px; margin-top: 72px; }
.workshop .pic { border-radius: var(--r-lg); overflow: hidden; min-height: 420px; position: relative; }
.workshop .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.workshop .txt { background: var(--card); border-radius: var(--r-lg); padding: clamp(28px, 4vw, 52px); display: grid; align-content: end; gap: 16px; }
.workshop h2 { font: 300 clamp(32px, 3.6vw, 52px)/1.04 var(--serif); }
.workshop p { margin: 0; max-width: 40ch; color: #3f3c37; font-size: 17px; }

/* ---------- Product cards (loop) ---------- */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; }
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.woocommerce ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; position: relative; background: var(--card); border-radius: var(--r-lg); padding: 14px 14px 16px; display: flex; flex-direction: column; min-width: 0; transition: transform .2s, box-shadow .2s; }
.woocommerce ul.products li.product:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -24px rgba(0,0,0,.5); }
.woocommerce ul.products li.product[hidden] { display: none; }
.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; }
.woocommerce ul.products li.product a img { width: 100%; aspect-ratio: 1 / .8; object-fit: contain; background: transparent; margin: 0 0 12px; transition: transform .35s; }
.woocommerce ul.products li.product:hover a img { transform: scale(1.03); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font: 500 13.5px/1.3 var(--sans); letter-spacing: .06em; text-transform: uppercase; padding: 0; margin: 0; }
.woocommerce ul.products li.product .ps-type { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.woocommerce ul.products li.product .price { color: var(--ink); font-size: 15px; font-weight: 500; margin: 10px 0 0; display: block; }
.woocommerce ul.products li.product .price del { color: var(--muted); font-weight: 400; }
.woocommerce ul.products li.product .price ins { text-decoration: none; color: #b3261e; }
.woocommerce ul.products li.product .button { position: absolute; right: 14px; bottom: 14px; background: none; border: 0; color: var(--ink); padding: 6px 0; font: 500 11.5px var(--sans); letter-spacing: .08em; display: inline-flex; gap: 6px; align-items: center; margin: 0; }
.woocommerce ul.products li.product .button::before { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--bag) center / contain no-repeat; mask: var(--bag) center / contain no-repeat; }
.woocommerce ul.products li.product .button:hover { background: none; color: var(--ink); text-decoration: underline; }
.woocommerce ul.products li.product .button.loading { opacity: .5; }
.woocommerce ul.products li.product .added_to_cart { display: none; }
:root { --bag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%3E%3Cpath d='M5 8h14l-1.2 12H6.2L5 8Z'/%3E%3Cpath d='M9 8V6a3 3 0 0 1 6 0v2'/%3E%3C/svg%3E"); }
.ps-sw { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 12px; min-height: 18px; padding-right: 96px; }
.ps-sw i { width: 18px; height: 18px; border-radius: 50%; background: var(--soft) center / cover; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.ps-sw small { font-size: 12px; color: var(--muted); }
.ps-badges { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; gap: 6px; }
.woocommerce span.onsale { position: absolute; top: 14px; right: 14px; left: auto; min-height: 0; min-width: 0; line-height: 1.4; border-radius: 999px; background: #b3261e; color: #fff; font: 500 11px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; margin: 0; z-index: 2; }

/* ---------- Shop / category ---------- */
.shop-hero { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 300px; display: flex; align-items: flex-end; color: #fff; background: #3a3f44; }
.shop-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, center 65%); }
.shop-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 25%, rgba(0,0,0,.58)); }
.shop-hero .in { position: relative; z-index: 1; padding: clamp(22px, 3vw, 36px); display: grid; gap: 8px; max-width: 720px; }
.shop-hero h1 { font: 400 clamp(32px, 4vw, 52px)/1.04 var(--sans); }
.shop-hero .term-description, .shop-hero .page-description { opacity: .94; font-size: 16px; }
.shop-hero .term-description p:last-child, .shop-hero .page-description p:last-child { margin: 0; }
.toolbar { display: flex; align-items: center; gap: 10px 14px; flex-wrap: wrap; background: var(--bar); border-radius: 30px; padding: 8px; margin: 14px 0 12px; }
.woocommerce .toolbar .woocommerce-result-count { float: none; margin: 0; color: var(--muted); font-size: 14px; }
.woocommerce .toolbar .woocommerce-ordering { float: none; margin: 0 0 0 auto; }
.woocommerce .woocommerce-ordering select { appearance: none; border: 0; background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231f1e1c' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 14px center; border-radius: 999px; padding: 10px 38px 10px 16px; font: 500 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.f-open { display: inline-flex; align-items: center; gap: 10px; border: 0; background: transparent; border-radius: 999px; padding: 4px 12px 4px 4px; cursor: pointer; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.f-open .ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--ink); }
.f-open .ico svg { width: 15px; height: 15px; }
.f-open .cart-count { position: static; margin-left: 2px; }
.cat-seg { display: inline-flex; flex-wrap: wrap; gap: 3px; background: var(--card); border-radius: 999px; padding: 3px; }
.cat-seg a { padding: 8px 15px; border-radius: 999px; font: 500 12px var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.cat-seg a:hover { background: var(--soft); }
.cat-seg a[aria-current="page"] { background: var(--ink); color: #fff; }
.f-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; flex-basis: 100%; order: 5; padding: 0 6px 4px; }
.f-chip { background: var(--card); padding: 6px 12px; border-radius: 99px; font-size: 13px; }
.f-chip:hover { background: var(--ink); color: #fff; }
.f-clear { font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.woocommerce nav.woocommerce-pagination { margin-top: 28px; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: inline-flex; gap: 6px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { border-radius: 999px; min-width: 40px; padding: 10px 14px; background: var(--card); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ink); color: #fff; }
.cat-seo { max-width: var(--content); padding-top: 56px; color: var(--muted); }
.woocommerce-info.woocommerce-no-products-found, .woocommerce-no-products-found .woocommerce-info { border-radius: var(--r-lg); }

/* Filter panel (inc/filters.php) */
.filters { position: fixed; inset: 0 auto 0 0; width: min(400px, 92vw); background: var(--ground); z-index: 2147483002; padding: 24px; overflow-y: auto; transform: translateX(-100%); transition: transform .28s cubic-bezier(.2,.8,.2,1); }
.admin-bar .filters { padding-top: 56px; }
.filters.open { transform: none; }
.filters h2 { font: 300 32px/1.1 var(--serif); margin-bottom: 8px; }
.filters .close { position: absolute; top: 18px; right: 18px; border: 0; background: var(--card); width: 40px; height: 40px; border-radius: 50%; font-size: 18px; cursor: pointer; }
.admin-bar .filters .close { top: 50px; }
.f-group { border: 0; padding: 18px; margin: 12px 0 0; background: var(--card); border-radius: var(--r-lg); }
.f-group legend { float: left; width: 100%; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.f-meret { display: flex; flex-wrap: wrap; gap: 6px; }
.f-meret label { position: relative; }
.f-meret input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.f-meret span { display: inline-grid; place-items: center; min-width: 48px; height: 42px; padding: 0 6px; border: 1px solid var(--line); border-radius: 8px; font-variant-numeric: tabular-nums; }
.f-meret input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.f-meret input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.f-szin label { display: flex; gap: 10px; align-items: center; padding: 5px 0; cursor: pointer; }
.f-szin input { accent-color: var(--ink); width: 17px; height: 17px; }
.f-price label { display: inline-block; }
.f-price input { width: 140px; border: 1px solid var(--line); padding: 11px 14px; border-radius: 12px; background: var(--card); margin-right: 6px; }
.f-apply { width: 100%; margin-top: 18px; padding-block: 16px !important; }
.scrim { position: fixed; inset: 0; background: rgba(20,18,15,.45); z-index: 2147483001; }

/* ---------- Single product ---------- */
.woocommerce div.product { padding-top: 4px; }
.pdp-top { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(330px, 1fr); gap: 28px; align-items: start; position: relative; }
.woocommerce div.product div.images.pdp-gallery { grid-column: 1; grid-row: 1; float: none; width: auto; margin: 0; }
.woocommerce div.product div.summary { grid-column: 2; grid-row: 1; float: none; width: auto; margin: 0; position: sticky; top: calc(var(--hdr-top) + 86px); background: var(--card); border-radius: var(--r-lg); padding: 28px; }
.woocommerce div.product span.onsale { top: 10px; right: auto; left: 10px; }
.pdp-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.zoom-box { margin: 0; overflow: hidden; border-radius: var(--r-lg); cursor: zoom-in; aspect-ratio: 1 / .78; display: grid; place-items: center; transition: background .2s; }
.zoom-box:hover { background: rgba(255,255,255,.35); }
.zoom-box.big { grid-column: 1 / -1; aspect-ratio: 1 / .58; }
.zoom-box img { width: 100%; height: 100%; object-fit: contain; transition: transform .15s ease-out; }
.zoom-box img:not(.ps-cut) { object-fit: cover; }
.zoom-box.zoom img { transform: scale(2.1); }
.ps-no-zoom .zoom-box { cursor: default; }
.woocommerce div.product .product_title { font: 300 clamp(34px, 3.2vw, 46px)/1.04 var(--serif); letter-spacing: -.01em; margin: 0 0 8px; }
.ps-ptype { display: block; color: var(--muted); margin-bottom: 18px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-size: 20px; font-weight: 500; margin: 0 0 6px; }
.woocommerce div.product .woocommerce-product-details__short-description { color: #3f3c37; margin: 14px 0 6px; font-size: 15.5px; }
.how { display: inline-flex; align-items: center; gap: 10px; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .1em; margin: 2px 0 18px; }
.how::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--hl-dot, var(--rainbow)); }
.how:hover { text-decoration: underline; text-underline-offset: 3px; }
.woocommerce div.product form.cart { margin: 6px 0 0; }
.woocommerce div.product form.cart .variations { margin-bottom: 4px; width: 100%; border: 0; }
.woocommerce div.product form.cart .variations tr { display: block; margin-bottom: 18px; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0; text-align: left; line-height: 1.4; border: 0; }
.woocommerce div.product form.cart .variations th label { font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.woocommerce div.product form.cart .variations th { margin-bottom: 10px; }
.woocommerce div.product form.cart .variations select { border: 1px solid var(--line); padding: 12px 14px; background: var(--card); border-radius: 12px; min-width: 220px; width: 100%; }
.woocommerce div.product form.cart .reset_variations { font-size: 13px; color: var(--muted); }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart, .woocommerce div.product form.cart:not(.variations_form) { display: flex; gap: 8px; flex-wrap: wrap; }
.woocommerce .quantity .qty { border: 1px solid var(--line); height: 54px; width: 76px; border-radius: 999px; text-align: center; background: var(--card); }
.woocommerce div.product form.cart .single_add_to_cart_button { flex: 1; padding: 19px; font-size: 13px; }
.woocommerce-variation-price { margin-bottom: 10px; }
.prod-time { margin: 12px 0 4px; font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.prod-time::before { content: ""; width: 18px; height: 18px; flex: 0 0 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat; }
.size-link { margin: 0 0 14px; }
.size-guide { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); }
.pay { font-size: 13px; color: var(--muted); margin: 12px 0 0; text-align: center; }
.woocommerce div.product .product_meta { font-size: 13.5px; color: var(--muted); margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--soft); }
.woocommerce div.product .product_meta > span { display: block; }
/* Swatch plugin (Variation Swatches): round leather swatches + size grid */
.woocommerce div.product .cfvsw-swatches-container { gap: 8px !important; }
.woocommerce div.product .cfvsw-swatches-option { border-radius: 10px !important; min-width: 48px; min-height: 42px; border-color: var(--line) !important; background: var(--card); }
.woocommerce div.product .cfvsw-image-option, .woocommerce div.product .cfvsw-color-option { border-radius: 50% !important; min-width: 0; min-height: 0; width: 36px !important; height: 36px !important; }
.woocommerce div.product .cfvsw-swatches-option.cfvsw-selected-swatch { border-color: var(--ink) !important; box-shadow: 0 0 0 1.5px var(--ink); }
.woocommerce div.product .cfvsw-swatches-option:not(.cfvsw-image-option):not(.cfvsw-color-option).cfvsw-selected-swatch { background: var(--ink); color: #fff; }
/* Accordion tabs (woocommerce/single-product/tabs/tabs.php) */
.ps-acc { display: grid; gap: 10px; margin-top: 40px; }
.ps-acc details { background: var(--card); border-radius: var(--r-lg); }
.ps-acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 22px 26px; font: 500 12.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.ps-acc summary::-webkit-details-marker { display: none; }
.ps-acc summary::after { content: "+"; font: 300 26px/1 var(--sans); }
.ps-acc details[open] summary::after { content: "–"; }
.ps-acc .acc-body { padding: 0 26px 28px; max-width: 880px; }
.ps-acc .acc-body > h2:first-child { display: none; }
.woocommerce table.shop_attributes { border: 0; margin: 0; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border: 0; border-bottom: 1px solid var(--soft); padding: 12px 10px 12px 0; font-style: normal; background: none !important; text-align: left; font-weight: 400; }
.woocommerce table.shop_attributes th { color: var(--muted); width: 180px; }
.woocommerce #reviews #comments ol.commentlist li .comment-text { border-radius: var(--r); border-color: var(--line); }
.related.products > h2, .upsells.products > h2, .cross-sells > h2 { font: 300 clamp(28px, 3vw, 40px)/1.1 var(--serif); margin: 64px 4px 18px; }
/* Story mosaic (template-parts/story.php) */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); gap: 10px; margin-top: 10px; }
.mosaic > * { border-radius: var(--r-lg); overflow: hidden; position: relative; margin: 0; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.mosaic img.ps-cut { object-fit: contain; padding: 6%; }
.mosaic .m-a { grid-column: span 2; grid-row: span 2; background: var(--card); min-height: 420px; }
.mosaic .m-b { grid-column: span 2; background: #5c6b52; color: #fff; display: grid; align-content: center; padding: clamp(24px, 3vw, 40px); gap: 10px; }
.mosaic .m-c { background: var(--card); display: grid; align-content: center; padding: 26px; gap: 10px; }
.mosaic .m-d { background: var(--card); }
.mosaic h2 { font: 300 clamp(24px, 2.4vw, 32px)/1.12 var(--serif); }
.mosaic h2 mark { background: none; font-style: italic; }
.mosaic p { margin: 0; font-size: 15px; }
.mosaic .m-b .kicker { color: rgba(255,255,255,.85); margin: 0; }
.mosaic .m-c .kicker { margin: 0; }

/* Lightbox, size dialog, sticky buy bar */
dialog.lightbox { border: 0; padding: 0; max-width: none; max-height: none; width: 100vw; height: 100vh; background: var(--ground); }
dialog.lightbox::backdrop { background: var(--ground); }
dialog.lightbox img { position: absolute; inset: 0; margin: auto; max-width: 92vw; max-height: 86vh; object-fit: contain; }
dialog.lightbox button { position: absolute; border: 0; background: var(--card); color: var(--ink); width: 48px; height: 48px; border-radius: 50%; font-size: 20px; cursor: pointer; box-shadow: 0 6px 18px -10px rgba(0,0,0,.4); }
dialog.lightbox .x { top: 18px; right: 18px; }
dialog.lightbox .prev { left: 18px; top: 50%; translate: 0 -50%; }
dialog.lightbox .next { right: 18px; top: 50%; translate: 0 -50%; }
dialog.lightbox .n { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--muted); font: 500 12px var(--mono); letter-spacing: .1em; }
dialog.guide { border: 0; padding: 30px; max-width: 520px; width: calc(100% - 32px); border-radius: var(--r-lg); background: var(--card); }
dialog.guide::backdrop { background: rgba(20,18,15,.45); }
dialog.guide h3 { font: 300 30px/1.1 var(--serif); margin-bottom: 10px; }
dialog.guide .guide-more { margin: 14px 0 0; font-size: 14px; }
dialog.guide .guide-more a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.sizes-tbl { width: 100%; border-collapse: collapse; margin: 16px 0 20px; font-variant-numeric: tabular-nums; }
.sizes-tbl td, .sizes-tbl th { border-bottom: 1px solid var(--soft); padding: 10px 8px; text-align: left; }
.sizes-tbl th { font: 500 11.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sizes-tbl tr.hit td { background: #fff6d6; }
.sizes-tbl tr.hit td:first-child { box-shadow: inset 3px 0 0 #f7931e; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 0 var(--gutter) 10px; transform: translateY(120%); transition: transform .25s; pointer-events: none; }
.sticky-buy.show { transform: none; }
.sticky-buy .in { display: flex; align-items: center; gap: 14px; padding: 8px 8px 8px 12px; max-width: 760px; margin: 0 auto; background: var(--card); border-radius: 999px; box-shadow: 0 14px 40px -18px rgba(0,0,0,.45); pointer-events: auto; }
.sticky-buy img { width: 64px; height: 44px; object-fit: contain; }
.sticky-buy .name { font-weight: 500; }
.sticky-buy .sp { margin-left: auto; font-weight: 500; }

/* ---------- Anatomy ("Így készül") ---------- */
.anatomy { margin-top: 72px; }
.anatomy-box { display: grid; gap: 10px; }
.anatomy .a-head { background: var(--card); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 44px); display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; align-items: end; }
.anatomy h2 { font: 300 clamp(30px, 3.4vw, 48px)/1.05 var(--serif); }
.anatomy .sub { color: var(--muted); margin: 0; max-width: 34em; }
.anatomy-grid { display: grid; grid-template-columns: minmax(200px, 1fr) minmax(0, 2.2fr) minmax(200px, 1fr); gap: 10px; align-items: stretch; }
.parts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.parts li { background: var(--card); border-radius: var(--r-lg); padding: 22px; transition: opacity .2s, box-shadow .2s; }
.parts .no { font: 500 12px var(--mono); letter-spacing: .12em; color: var(--muted); }
.parts h3 { font: 500 17px/1.2 var(--sans); margin: 8px 0 6px; text-transform: uppercase; letter-spacing: .06em; }
.parts p { color: var(--muted); margin: 0; font-size: 15px; }
.parts li.on { box-shadow: inset 0 0 0 1.5px var(--ink); }
.anatomy-grid:has(.on) .parts li:not(.on) { opacity: .5; }
.shoe { position: relative; background: var(--card); border-radius: var(--r-lg); display: grid; place-items: center; padding: 4%; }
.shoe .ring { position: absolute; left: 50%; top: 50%; width: 74%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: var(--ground); outline: 1px solid var(--line); outline-offset: 12px; }
.shoe .stage { position: relative; width: 70%; }
.shoe img { position: relative; width: 100%; }
.dot { position: absolute; translate: -50% -50%; width: 32px; height: 32px; border-radius: 50%; border: 0; padding: 0; background: var(--ink); color: #fff; font: 500 12px/32px var(--mono); cursor: pointer; box-shadow: 0 0 0 6px rgba(255,255,255,.75); z-index: 1; transition: transform .2s; }
.dot::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid rgba(15,15,15,.35); animation: pulse 2.4s ease-out infinite; }
.dot.on, .dot:hover { transform: scale(1.15); }
@keyframes pulse { from { transform: scale(1); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- About ---------- */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.about-hero .txt { background: var(--card); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 52px); display: grid; gap: 18px; align-content: end; min-height: 500px; }
.about-hero h1 { font: 300 clamp(38px, 4.8vw, 66px)/1.02 var(--serif); }
.about-hero h1 em { font-style: italic; }
.about-hero .lead { margin: 0; max-width: 50ch; font-size: 17px; color: #3f3c37; }
.about-hero .btns { display: flex; gap: 8px; flex-wrap: wrap; }
.about-hero .pic { border-radius: var(--r-lg); overflow: hidden; min-height: 500px; position: relative; }
.about-hero .pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote { background: var(--night); color: #f2efe8; border-radius: var(--r-lg); padding: clamp(28px, 5vw, 64px); margin: 10px 0 0; display: grid; gap: 18px; }
.quote p { margin: 0; font: 300 clamp(24px, 3vw, 40px)/1.2 var(--serif); max-width: 30ch; }
.quote i { width: 72px; height: 3px; border-radius: 2px; background: var(--hl-line, var(--rainbow)); }
.quote .label { color: #a29d93; }
.about-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 10px; margin-top: 10px; }
.about-text > div { background: var(--card); border-radius: var(--r-lg); padding: clamp(24px, 3.4vw, 44px); }
.about-text h2 { font: 300 32px/1.1 var(--serif); }

/* ---------- Contact + size guide templates ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 10px; }
.panel-card { background: var(--card); border-radius: var(--r-lg); padding: clamp(24px, 3.6vw, 44px); display: grid; gap: 20px; align-content: start; min-width: 0; }
.panel-card h1 { font: 300 clamp(34px, 4vw, 54px)/1.05 var(--serif); }
.panel-card h2 { font: 500 12.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.panel-card .intro > *:last-child { margin-bottom: 0; }
.info-box { display: grid; gap: 4px; background: var(--soft); border-radius: var(--r); padding: 16px 18px; }
.info-box .val { font-size: 18px; font-weight: 500; word-break: break-all; }
.info-box .copy { justify-self: start; margin-top: 8px; border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 7px 14px; font: 500 11.5px var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fields .full { grid-column: 1 / -1; }
.f { display: grid; gap: 6px; }
.f label { font-size: 13px; color: var(--muted); }
.f input, .f textarea, .f select { border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 12px 14px; width: 100%; }
.f input:focus, .f textarea:focus, .f select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.f textarea { min-height: 150px; resize: vertical; }
.hp { position: absolute !important; left: -9999px; }
.form-msg { border-radius: var(--r); padding: 14px 16px; margin: 0; }
.form-msg.ok { background: #e6f2e9; }
.form-msg.err { background: #fbe4e2; }
.how-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: s; }
.how-list li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.how-list li::before { counter-increment: s; content: counter(s); width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 500 12px var(--mono); }
.calc-out { background: var(--soft); border-radius: var(--r); padding: 18px; display: flex; gap: 16px; align-items: center; }
.calc-out .big { font: 300 50px/1 var(--serif); min-width: 1.4em; }
.tbl-wrap { overflow-x: auto; }

/* ---------- WooCommerce notices ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error { border: 0; border-radius: var(--r); background: var(--card); padding: 16px 20px 16px 52px; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--ink); top: 16px; }
.woocommerce-error::before { top: 16px; }
.woocommerce-message .button, .woocommerce-info .button { padding: 9px 16px !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.woocommerce ul.products, .woocommerce ul.products.columns-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.anatomy-grid { grid-template-columns: 1fr 1fr; }
	.shoe { grid-column: 1 / -1; order: -1; }
}
@media (max-width: 960px) {
	:root { --hdr-top: 0px; }
	.admin-bar { --hdr-top: 0px; }
	.site-header .bar { grid-template-columns: auto 1fr auto; padding-left: 6px; }
	.site-header .logo-wrap { justify-self: center; }
	.site-nav, .header-actions .hide-m { display: none; }
	.menu-btn { display: inline-grid; }
	.pdp-top { grid-template-columns: 1fr; gap: 10px; }
	.woocommerce div.product div.images.pdp-gallery, .woocommerce div.product div.summary { grid-column: 1; grid-row: auto; position: static; }
	.woocommerce div.product div.summary { padding: 22px; }
	.workshop, .about-hero, .about-text, .two-col, .anatomy .a-head { grid-template-columns: 1fr; }
	.workshop .pic, .about-hero .pic { min-height: 0; aspect-ratio: 4 / 3; }
	.about-hero .txt { min-height: 0; }
	.site-footer .cols { grid-template-columns: 1fr 1fr; }
	.site-footer .cols > div:first-child { grid-column: 1 / -1; }
	.topbar .social { display: none; }
}
@media (max-width: 760px) {
	.woocommerce ul.products, .woocommerce ul.products.columns-3, .woocommerce ul.products.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.woocommerce ul.products li.product { padding: 10px 10px 12px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 12.5px; }
	.woocommerce ul.products li.product .button { font-size: 0; gap: 0; width: 34px; height: 34px; justify-content: center; border-radius: 50%; background: var(--soft); right: 10px; bottom: 10px; padding: 0; }
	.woocommerce ul.products li.product .button::before { width: 16px; height: 16px; }
	.ps-sw { padding-right: 38px; }
	.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.values { grid-template-columns: 1fr; }
	.mosaic { grid-template-columns: 1fr 1fr; }
	.mosaic .m-a { grid-row: auto; min-height: 0; aspect-ratio: 4 / 3; }
	.anatomy-grid { grid-template-columns: 1fr; }
	.dot { width: 26px; height: 26px; font-size: 11px; line-height: 26px; }
	.fields { grid-template-columns: 1fr; }
	.toolbar { border-radius: var(--r-lg); }
	.woocommerce .toolbar .woocommerce-ordering { margin-left: 0; }
	.sticky-buy .name { display: none; }
	.hero .lead { font-size: 16px; }
	.slide.photo::after { background: linear-gradient(180deg, rgba(0,0,0,.05) 15%, rgba(0,0,0,.72) 70%); }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Széchenyi infoblokk (plugin, printed after the footer): on phones it sits at the bottom of the page instead of floating over content. */
@media (max-width: 900px) {
	[aria-label="Uniós támogatásról szóló tájékoztatás"] { position: static !important; translate: none !important; transform: none !important; width: auto !important; max-width: 340px !important; margin: 0 auto !important; padding: 8px 16px 28px !important; }
	[aria-label="Uniós támogatásról szóló tájékoztatás"] > button { display: none !important; }
}
img.ps-cut { background: transparent !important; }

/* ---------- Mobile audit fixes (2026-11-17) ---------- */
/* Cart drawer: WooCommerce/plugin widget CSS zeroes the list padding, so the cards touched the screen edge. */
.drawer ul.mc-items { padding: 8px 20px; margin: 0; }
/* Product options: the swatch plugin is set to hide labels; show "Szín: Navy" / "Méret: 39" instead. */
body.cfvsw-label-none table.variations tr th.label { display: block !important; }
.woocommerce div.product form.cart .variations th label .cfvsw-selected-label { font: 400 14px var(--sans); letter-spacing: 0; text-transform: none; color: var(--muted); margin: 0; padding: 0; }
.cfvsw-selected-label:not(:empty)::before { content: ": "; }
/* Short description is often bold as a whole: keep only a leading headline line bold. */
.woocommerce div.product .woocommerce-product-details__short-description strong { font-weight: inherit; }
.woocommerce div.product .woocommerce-product-details__short-description p:first-child:not(:only-child) strong { font-weight: 600; }
/* Closed filter panel: nothing may peek in from the left edge. */
.filters:not(.open) { visibility: hidden; transition: transform .28s cubic-bezier(.2,.8,.2,1), visibility 0s .28s; }
.f-szin label { clear: both; }
.f-szin label span { min-width: 0; overflow-wrap: anywhere; }
.f-more { background: none; border: 0; padding: 10px 0 2px; font: 500 14px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: var(--ink); }
.pdp-dots { display: none; }
@media (max-width: 760px) {
	/* Product gallery: one photo wide, swipe for the rest, so name + price stay on the first screen. */
	.pdp-gallery { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--r-lg); overscroll-behavior-x: contain; }
	.pdp-gallery::-webkit-scrollbar { display: none; }
	.pdp-gallery .zoom-box, .pdp-gallery .zoom-box.big { flex: 0 0 100%; aspect-ratio: 1 / .8; scroll-snap-align: start; }
	.pdp-dots { display: flex; justify-content: center; gap: 6px; padding: 2px 0 4px; }
	.pdp-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line); transition: width .2s, background .2s; }
	.pdp-dots i.on { width: 18px; background: var(--ink); }
	/* Shop header: lower, so the first products show on the first screen. */
	.shop-hero { min-height: 170px; }
	.shop-hero .term-description, .shop-hero .page-description { display: none; }
	/* Cards: long names in sentence case, at most two lines. */
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font: 500 14px/1.3 var(--sans); letter-spacing: 0; text-transform: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	/* Touch targets: at least ~40-44px. */
	.woocommerce ul.products li.product .button { width: 40px; height: 40px; right: 8px; bottom: 8px; }
	.ps-sw { padding-right: 44px; }
	.cat-seg a, .chips button { padding: 12px 16px; }
	.site-footer ul { gap: 0; }
	.site-footer ul a { display: inline-block; padding: 9px 0; }
	.dot { width: 32px; height: 32px; line-height: 32px; font-size: 12px; }
	.workshop, .anatomy, .values { margin-top: 40px; }
}

/* Registration spam trap (inc/shop.php): off-screen, never shown. */
.ps-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Homepage hero slider (photo slide + product slides, front-page.php) ---------- */
.hero-slider .slide { opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s .8s; }
.hero-slider .slide.is-on { opacity: 1; visibility: visible; z-index: 1; transition: opacity .8s ease; }
.hero-slider .in { padding-bottom: calc(clamp(24px, 4vw, 48px) + 30px); }
.slide.prod { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; background: var(--slide-bg, var(--soft)); color: var(--ink); }
.slide.prod.light { color: #fff; }
.slide.prod .in { order: -1; align-self: end; animation: none; }
.slide.prod .kicker { color: inherit; opacity: .78; margin: 0; }
.slide.prod h2 { font: 400 clamp(34px, 4.6vw, 64px)/1.02 var(--sans); letter-spacing: -.015em; }
.slide.prod h2 em { font-style: normal; background: var(--hl-em, var(--rainbow)) 0 94% / 100% 4px no-repeat; padding-bottom: 4px; }
.slide.prod .lead { opacity: .85; }
.slide.prod .shoes { position: relative; align-self: stretch; min-height: 100%; }
.slide.prod .shoes img { position: absolute; height: auto; object-fit: contain; transition: transform 1.1s cubic-bezier(.2,.8,.2,1), opacity .9s ease; }
.slide.prod .shoes img { max-height: 54%; }
.shoes.n1 img { width: 82%; left: 8%; top: 50%; translate: 0 -50%; max-height: 80%; }
.shoes.n2 img:nth-child(1) { width: 70%; left: 4%; bottom: 7%; z-index: 2; max-height: 62%; }
.shoes.n2 img:nth-child(2) { width: 54%; left: 40%; top: 7%; z-index: 1; }
/* Front shoe anchored to the bottom, back ones to the top: nothing leaves the frame at any width. */
.shoes.n3 img:nth-child(1) { width: 70%; left: 10%; bottom: 6%; z-index: 3; max-height: 56%; }
.shoes.n3 img:nth-child(2) { width: 54%; left: 38%; top: 8%; z-index: 2; max-height: 48%; }
.shoes.n3 img:nth-child(3) { width: 50%; left: -2%; top: 5%; z-index: 1; max-height: 44%; }
.slide.prod:not(.is-on) .shoes img { transform: translateX(14%); opacity: 0; }
.slide.prod.is-on .shoes img:nth-child(2) { transition-delay: .12s; }
.slide.prod.is-on .shoes img:nth-child(3) { transition-delay: .24s; }
.hero .bars { position: absolute; z-index: 3; left: clamp(24px, 4vw, 48px); bottom: clamp(14px, 2vw, 24px); width: min(320px, calc(100% - 2 * clamp(24px, 4vw, 48px))); display: flex; gap: 6px; }
.hero .bars button { flex: 1; border: 0; background: none; padding: 10px 0; cursor: pointer; }
.hero .bars i { display: block; position: relative; height: 3px; border-radius: 2px; overflow: hidden; background: rgba(255,255,255,.38); }
.hero .bars i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero .bars button.done i::after { transform: scaleX(1); }
.hero .bars button[aria-current] i::after { animation: ps-bar var(--dur, 6s) linear forwards; }
.hero-slider.paused .bars button[aria-current] i::after { animation-play-state: paused; }
.hero-slider.ink .bars i { background: rgba(31,30,28,.16); }
.hero-slider.ink .bars i::after { background: var(--ink); }
.hero .bars button:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@keyframes ps-bar { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
	.hero .bars button[aria-current] i::after { transform: scaleX(1); }
}
@media (max-width: 760px) {
	.hero-slider { min-height: clamp(560px, 82vh, 700px); }
	.slide.prod { grid-template-columns: 1fr; grid-template-rows: minmax(230px, 1fr) auto; }
	.slide.prod .in { order: 0; }
	.slide.prod .shoes { min-height: 280px; }
	/* Phones: bigger shoes, still inside the frame (front one bottom-anchored, back ones kept off the edges). */
	.shoes.n3 img:nth-child(1) { width: 88%; left: 6%; bottom: 2%; max-height: 64%; }
	.shoes.n3 img:nth-child(2) { width: 62%; left: 36%; top: 4%; max-height: 50%; }
	.shoes.n3 img:nth-child(3) { width: 60%; left: 2%; top: 3%; max-height: 48%; }
	.shoes.n2 img:nth-child(1) { width: 84%; max-height: 66%; }
	.shoes.n2 img:nth-child(2) { width: 64%; left: 34%; }
	.shoes.n1 img { width: 92%; left: 4%; }
	.slide.prod h2 { font-size: 34px; }
}

/* ---------- Highlight elements (Customizer → Kiemelések): off / serif modes via body classes ---------- */
.hl-off-kicker .kicker::before, .hl-off-kicker .wc-block-components-checkout-step__title::before, .hl-off-kicker #customer_login h2::before { display: none; }
.hl-off-nav .site-nav a::after { display: none; }
.hl-off-dot .how::before, .hl-off-dot .chip .dot-g { display: none; }
.hl-off-line .site-footer .bottom i, .hl-off-line .quote i { display: none; }
.hl-off-em .hero h1 em, .hl-off-em .slide.prod h2 em { background: none; padding-bottom: 0; }
.hl-em-serif .hero h1 em, .hl-em-serif .slide.prod h2 em,
.hl-em-serif-accent .hero h1 em, .hl-em-serif-accent .slide.prod h2 em { background: none; padding-bottom: 0; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.hl-em-serif-accent .hero h1 em, .hl-em-serif-accent .slide.prod h2 em { color: var(--accent); }

/* Slider contrast (2026-11-17): soft shadow separates shoes from any slide colour; dark slides get a spotlight so black shoes don't melt into the ground. */
.slide.prod .shoes img { filter: drop-shadow(0 14px 22px rgba(20,18,15,.22)) drop-shadow(0 1px 1.5px rgba(20,18,15,.25)); }
.slide.prod.light .shoes::before { content: ""; position: absolute; left: -8%; right: -12%; top: -6%; bottom: -8%; background: radial-gradient(ellipse 60% 55% at 55% 55%, rgba(255,255,255,.32), rgba(255,255,255,.12) 55%, rgba(255,255,255,0) 78%); pointer-events: none; }
.slide.prod.light .shoes img { filter: drop-shadow(0 0 1px rgba(255,255,255,.45)) drop-shadow(0 20px 28px rgba(0,0,0,.5)); }

/* Anatomy: the circle always fits the card and the shoe always fits the circle (container query units). */
.shoe { container-type: size; min-height: 480px; }
.shoe .ring { width: min(92cqh, 86cqw); }
.shoe .stage { width: min(88cqh, 82cqw); }
@media (max-width: 1100px) { .shoe { aspect-ratio: 16 / 11; min-height: 0; } }
/* Anatomy v2 (user): no circle, the card itself frames the shoe, shoe as large as the card allows. */
.shoe .ring { display: none; }
.shoe .stage { width: min(90cqw, 134cqh); }
/* Sticky buy bar only as wide as its pill: the Széchenyi widget ("avoidOverlap") jumped up over the full-width strip. */
.sticky-buy { left: 50%; right: auto; width: min(760px, calc(100% - 2 * var(--gutter, 16px))); padding: 0 0 10px; margin-left: calc(-1 * min(760px, calc(100% - 2 * var(--gutter, 16px))) / 2); }
@media (min-width: 961px) { /* desktop: keep clear of the ~320px Széchenyi widget in the bottom-right corner */
	.sticky-buy { --sbw: min(760px, calc(100% - 2 * var(--gutter, 16px) - 340px)); width: var(--sbw); margin-left: calc(var(--sbw) / -2 - 170px); }
}

/* "Így készül" hover line from the dot to its card (assets/site.js). */
.anatomy-grid { position: relative; }
.anatomy-grid .a-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 2; }
.anatomy-grid .a-lines path { fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; }
.anatomy-grid .a-lines path:not([d]), .anatomy-grid .a-lines path[d=""] { display: none; }

/* PDP gallery: beat WooCommerce height:auto so cut-outs fit the frame (2026-11-18) */
.woocommerce div.product .pdp-gallery .zoom-box img { height: 100%; }
.woocommerce div.product .pdp-gallery .zoom-box { grid-template: minmax(0, 1fr) / minmax(0, 1fr); }

/* Category tiles: bigger shoes; on phones a swipeable row with the next tile peeking (2026-11-18) */
.tile img { width: 94%; height: 94%; }
.tile:not(.photo) img { scale: 1.15; }
@media (max-width: 760px) {
	.tiles { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); overscroll-behavior-x: contain; }
	.tiles::-webkit-scrollbar { display: none; }
	.tile { flex: 0 0 74%; aspect-ratio: 3 / 4; scroll-snap-align: center; }
	.tile img { width: 100%; height: 100%; }
	.tile:not(.photo) img { scale: 1.4; translate: 0 -4%; }
	.tile .lbl { bottom: 22px; padding: 11px 22px; font-size: 13px; }
}

/* Shop / category hero: starts under the floating header, breadcrumb inside, taller (2026-11-18) */
.shop-hero { margin-top: -76px; min-height: clamp(460px, 66vh, 640px); }
.shop-hero > img { object-position: var(--focus, center 55%); }
.shop-hero::after { background: linear-gradient(180deg, rgba(0,0,0,.32) 0, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 48%, rgba(0,0,0,.6)); }
.woocommerce .shop-hero .woocommerce-breadcrumb { position: absolute; z-index: 1; top: 92px; left: clamp(22px, 3vw, 36px); right: clamp(22px, 3vw, 36px); padding: 0; color: rgba(255,255,255,.9); font-size: 15px; }
.woocommerce .shop-hero .woocommerce-breadcrumb a { color: #fff; }
.shop-hero .in { padding-bottom: clamp(26px, 3.4vw, 44px); }
.shop-hero .term-description, .shop-hero .page-description { font-size: 17px; max-width: 34em; }
@media (max-width: 760px) {
	.shop-hero { min-height: 0; aspect-ratio: 1 / 1.08; }
	.shop-hero .term-description, .shop-hero .page-description { display: block; font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
	.shop-hero h1 { font-size: 36px; }
}

/* Shop hero: gap above it (header gets more top padding there); phone toolbar: filter + category pills on one row (2026-11-18) */
body:has(.shop-hero) .site-header { padding-top: 22px; }
@media (max-width: 760px) {
	.toolbar .f-open { padding-right: 6px; gap: 8px; }
	.toolbar .cat-seg { flex-wrap: nowrap; }
	.toolbar .cat-seg a { padding: 11px 12px; }
}

/* Shop hero: header pill inset from the photo edges by the same 10px as at the top (2026-11-18) */
body:has(.shop-hero) .site-header { padding-left: calc(var(--gutter) + 10px); padding-right: calc(var(--gutter) + 10px); }

/* Dark header pill after the shop hero (body.hdr-dark set by site.js) (2026-11-18) */
.site-header .bar { transition: background-color .25s, color .25s; }
.hdr-dark .site-header .bar { background: var(--night); color: #fff; }
.hdr-dark .site-header .custom-logo, .hdr-dark .site-header .logo img { filter: invert(1); mix-blend-mode: screen; }
.hdr-dark .site-nav > ul > li > a:hover, .hdr-dark .site-header .icon-btn:hover { background: rgba(255,255,255,.12); }
.hdr-dark .site-nav .sub-menu { color: var(--ink); }
.hdr-dark .site-header .cart-count { background: #fff; color: var(--ink); }
.hdr-dark .site-header .icon-btn, .hdr-dark .site-header .menu-btn, .hdr-dark .site-nav > ul > li > a { color: #fff; }

/* Loop "Kosárba" button with text + quick-add bottom sheet (2026-11-18) */
.woocommerce ul.products li.product .button { background: var(--soft); border-radius: 999px; padding: 9px 14px; gap: 7px; }
.woocommerce ul.products li.product .button:hover { background: var(--ink); color: #fff; text-decoration: none; }
@media (max-width: 760px) {
	.woocommerce ul.products li.product { padding-bottom: 58px; }
	.woocommerce ul.products li.product .button { font-size: 11.5px; gap: 6px; width: auto; height: 38px; padding: 0 14px; border-radius: 999px; right: 10px; bottom: 10px; }
	.ps-sw { padding-right: 0; }
}
.ps-qs { position: fixed; inset: 0; z-index: 2147483001; visibility: hidden; }
.ps-qs .scrim { position: absolute; inset: 0; background: rgba(20,18,15,.45); opacity: 0; transition: opacity .25s; }
.ps-qs .panel { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; width: min(560px, 100%); max-height: 88vh; display: flex; flex-direction: column; background: var(--card); border-radius: 22px 22px 0 0; transform: translateY(100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); padding-bottom: env(safe-area-inset-bottom); }
.ps-qs.open { visibility: visible; }
.ps-qs.open .scrim { opacity: 1; }
.ps-qs.open .panel { transform: none; }
.ps-qs .grip { display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--line); margin: 10px auto 0; }
.ps-qs .head { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px 0 22px; }
.ps-qs .head h2 { font: 500 19px var(--sans); margin: 0; }
.ps-qs .body { overflow-y: auto; padding: 8px 22px 24px; }
.ps-qs .prod { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 0 6px; }
.ps-qs .prod .name { font: 500 16px var(--sans); }
.ps-qs .prod .sub { color: var(--muted); font-size: 15px; margin-top: 2px; }
.ps-qs .prod .price { margin-top: 4px; font-size: 15px; }
.ps-qs .prod img { width: 130px; height: auto; flex: 0 0 auto; }
.ps-qs .lbl { font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; margin: 18px 0 10px; }
.ps-qs .lbl b { font-family: var(--sans); letter-spacing: 0; text-transform: none; font-size: 15px; margin-left: 4px; }
.ps-qs .colors { display: flex; flex-wrap: wrap; gap: 10px; }
.ps-qs .colors button { width: 42px; height: 42px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: var(--soft) center / cover; box-shadow: inset 0 0 0 1px rgba(0,0,0,.14); }
.ps-qs .colors button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--ink); }
.ps-qs .sizes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ps-qs .sizes button { height: 48px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font: 500 16px var(--sans); color: var(--ink); cursor: pointer; }
.ps-qs .sizes button:hover:not(:disabled) { border-color: var(--ink); }
.ps-qs .sizes button:disabled { color: #b9b4aa; cursor: not-allowed; background: linear-gradient(to top right, transparent calc(50% - .5px), #cfc9be calc(50% - .5px), #cfc9be calc(50% + .5px), transparent calc(50% + .5px)); }
.ps-qs .sizes button.loading, .ps-qs .add.loading { opacity: .5; }
.ps-qs .add { width: 100%; margin-top: 16px; }
.ps-qs .msg { color: #b3261e; font-size: 14px; margin: 10px 0 0; min-height: 0; }
.ps-qs .msg:empty { display: none; }
.ps-qs .more { display: inline-block; margin-top: 18px; font-size: 14px; text-decoration: underline; color: var(--muted); }

/* Phones: no double-tap zoom (pinch zoom stays), no sideways page shift; quick-add sheet layers fixed (2026-11-18) */
html { touch-action: manipulation; }
body { overflow-x: clip; }
.ps-qs .scrim { z-index: 0; }
.ps-qs .panel { z-index: 1; }

/* Off-screen drawers / sheet must not widen the page (Firefox Android let the page pan sideways) (2026-11-18) */
.drawer, .ps-qs { overflow: hidden; }

/* Firefox: body overflow propagates to the viewport, so clip the root too; anatomy block was 15px wider than a phone (2026-11-18) */
html { overflow-x: clip; }
.anatomy-box { grid-template-columns: minmax(0, 1fr); }
.anatomy-box > *, .anatomy-grid > *, .anatomy .a-head > * { min-width: 0; }
.parts h3, .anatomy h2 { overflow-wrap: break-word; hyphens: auto; }

/* Phone toolbar: filter + category pills always on one row, also on 360px phones / larger text (2026-11-18) */
@media (max-width: 760px) {
	.toolbar { flex-wrap: nowrap; gap: 8px; }
	.toolbar .f-open { flex: 0 0 auto; gap: 6px; padding-right: 4px; letter-spacing: .08em; }
	.toolbar .cat-seg { flex: 0 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; margin-left: auto; }
	.toolbar .cat-seg::-webkit-scrollbar { display: none; }
	.toolbar .cat-seg a { flex: 0 0 auto; padding: 10px 11px; letter-spacing: .05em; }
}
@media (max-width: 360px) {
	.toolbar .f-open { font-size: 0; gap: 0; padding: 4px; }
}

/* Quick-add sheet: size is a choice, a separate button adds to the cart (2026-11-18) */
.ps-qs .sizes button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ps-qs .add { position: sticky; bottom: 0; width: 100%; margin-top: 18px; box-shadow: 0 -12px 16px -6px var(--card); }
.ps-qs .add:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- Cart drawer: quantity stepper, "Ajánljuk még", bigger checkout button (2026-11-18) ---------- */
.drawer .qty { display: inline-flex; align-items: center; margin-top: 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.drawer .qty button { width: 32px; height: 30px; border: 0; background: none; font: 500 16px/1 var(--sans); color: var(--ink); cursor: pointer; border-radius: 999px; }
.drawer .qty button:hover:not(:disabled) { background: var(--soft); }
.drawer .qty button:disabled { opacity: .35; cursor: default; }
.drawer .qty span { min-width: 22px; text-align: center; font-size: 14px; font-weight: 500; }
.drawer .qty.loading { opacity: .5; pointer-events: none; }
.drawer .mc-item { align-items: start; }
.drawer .widget_shopping_cart_content { overflow-y: auto; }
.drawer .mc-items { flex: 0 0 auto; overflow: visible; }
.mc-recs { padding: 14px 20px 18px; }
.mc-recs h3 { font: 500 12px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 10px; }
.mc-recs ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mc-recs a { display: grid; gap: 2px; background: var(--card); border-radius: var(--r); padding: 8px 8px 10px; font-size: 12.5px; line-height: 1.3; transition: transform .2s ease; }
.mc-recs a:hover { transform: translateY(-2px); }
.mc-recs img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; margin-bottom: 4px; }
.mc-recs .n { font-weight: 500; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mc-recs .pr { color: var(--muted); }
.mc-recs .pr del { display: none; }
.drawer .mc-foot { margin-top: auto; position: sticky; bottom: 0; background: var(--ground); }
.drawer .mc-foot .btn { background: var(--ink); color: #fff; padding-block: 18px; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }
.drawer .mc-foot .btn:hover { background: #000; }

/* ---------- "Nemrég megnézted" row: product page + cart ---------- */
.ps-rv { margin: 56px 0 24px; } /* sits inside the page container, which already has the gutter */
.ps-rv h2 { font: 400 clamp(24px, 3vw, 34px)/1.15 var(--serif); margin: 0 0 18px; }
.ps-rv ul { list-style: none; margin: 0; padding: 0 0 6px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(180px, 1fr); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.ps-rv li { scroll-snap-align: start; max-width: 300px; }
.ps-rv a { display: grid; gap: 4px; background: var(--card); border-radius: var(--r); padding: 12px 14px 16px; transition: transform .2s ease; }
.ps-rv a:hover { transform: translateY(-2px); }
.ps-rv img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; transition: scale .3s ease; }
.ps-rv a:hover img { scale: 1.03; }
.ps-rv .n { font-weight: 500; font-size: 14.5px; }
.ps-rv .pr { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .ps-rv ul { grid-auto-columns: 62%; } }

/* ---------- Mobile sticky buy bar (product page) ---------- */
.ps-sticky { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 900; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; background: var(--card); border-radius: 18px; box-shadow: 0 10px 30px rgba(20,18,15,.18); animation: ps-sticky-in .25s cubic-bezier(.2,.8,.2,1); }
.ps-sticky .t { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.ps-sticky .t b { font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ps-sticky .t span { font-size: 13px; color: var(--muted); }
.ps-sticky .t del { display: none; }
.ps-sticky .btn { flex: 0 0 auto; padding: 13px 18px; font-size: 14px; }
body.ps-sticky-on { padding-bottom: 84px; }
@keyframes ps-sticky-in { from { transform: translateY(120%); } to { transform: none; } }
@media (min-width: 761px) { .ps-sticky { display: none !important; } }
.ps-flash { animation: ps-flash 1.2s ease; border-radius: var(--r); }
@keyframes ps-flash { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 25%, 60% { box-shadow: 0 0 0 3px var(--ink); } }

/* Header pill: 10px inside the hero's edges on every page and width (hero = gutter from the window, max --wide);
   on the shop hero the pill also sits 10px below the photo's top edge (2026-11-18) */
.site-header { padding: 10px calc(var(--gutter) + 10px); }
body:has(.shop-hero) .site-header { padding-top: 22px; padding-left: calc(var(--gutter) + 10px); padding-right: calc(var(--gutter) + 10px); }
.site-header .bar { max-width: calc(var(--wide) - 2 * var(--gutter) - 20px); }

/* Lightbox on iOS Safari: the dialog showed see-through, so the zoomed photo landed on top of the gallery photo.
   Opaque layer with a literal colour (no custom properties in ::backdrop on older Safari) + no page scroll behind (2026-11-23) */
dialog.lightbox { position: fixed; inset: 0; margin: 0; width: 100%; height: 100%; height: 100dvh; background: #ebe8e1; background: var(--ground, #ebe8e1); overflow: hidden; }
dialog.lightbox::backdrop { background: #ebe8e1; }
dialog.lightbox::before { content: ""; position: fixed; inset: 0; background: #ebe8e1; background: var(--ground, #ebe8e1); }
html:has(dialog.lightbox[open]) { overflow: hidden; }
