/*
Theme Name: PAUL Shoes
Description: Saját WooCommerce sablon a paulshoes.hu-hoz (B Galéria dizájn).
Version: 2.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 ---------- */
:root {
	--ink: #0f0f0f; --muted: #6f6f6f; --soft: #f3f3f1; --line: #e6e6e3; --accent: #d93b5f;
	--rainbow: linear-gradient(90deg, #ffc800, #f7931e 14%, #e8202a 30%, #c8186e 44%, #6b2d8f 58%, #2a5fd0 72%, #12a6e0 86%, #1ca35a);
	--gutter: max(16px, 4vw); --wide: 1360px; --content: 760px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.6 Jost, system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-weight: 500; margin: 0; letter-spacing: -.01em; line-height: 1.1; }
p { margin: 0 0 1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.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; }
.kicker { margin: 0 0 14px; display: flex; align-items: center; gap: 14px; text-transform: uppercase; letter-spacing: .18em; font-size: 13px; color: var(--muted); }
.kicker::before { content: ""; flex: 0 0 40px; height: 2px; background: var(--rainbow); }
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 85% / 100% 40% no-repeat; padding: 0 2px; }

/* ---------- 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, .wc-block-components-button:not(.is-link) {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--ink); color: #fff;
	border: 1px solid var(--ink); border-radius: 0; padding: 14px 26px; cursor: pointer; text-transform: uppercase;
	letter-spacing: .1em; font: 500 13px/1.2 Jost, sans-serif;
}
.btn:hover, .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: #333; color: #fff; }
.btn.ghost { background: #fff; color: var(--ink); }
.btn.ghost:hover { background: var(--soft); color: var(--ink); }
.woocommerce button.button:disabled, .woocommerce button.button.disabled, .woocommerce button.button.alt.disabled, .woocommerce button.button.alt.disabled:hover { background: #8a8a8a; border-color: #8a8a8a; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--soft); text-align: center; font-size: 13px; padding: 8px var(--gutter); color: #555; position: relative; }
.site-header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.site-header .in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 14px var(--gutter); max-width: var(--wide); margin: 0 auto; }
.site-header .custom-logo, .site-header .logo img { height: var(--logo-h, 50px); width: auto; }
.site-header .logo { font: 500 22px Jost, sans-serif; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.site-nav li { position: relative; }
.site-nav a, .header-actions a { text-transform: uppercase; letter-spacing: .08em; font-size: 14px; padding: 4px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav .current-menu-item > a, .header-actions a:hover { border-color: var(--ink); }
.site-nav .sub-menu { display: none; position: absolute; top: 100%; left: -16px; background: #fff; border: 1px solid var(--line); padding: 12px 16px; min-width: 210px; flex-direction: column; gap: 10px; z-index: 5; }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { display: flex; }
.header-actions { display: flex; gap: 26px; justify-content: end; align-items: center; }
.cart-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 11px; margin-left: 4px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); padding: 6px 12px; text-transform: uppercase; font-size: 13px; cursor: pointer; }

/* ---------- Footer ---------- */
.usp { display: grid; grid-template-columns: repeat(var(--usp, 3), 1fr); border-block: 1px solid var(--line); margin-top: 96px; }
.usp div { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 22px 16px; font-size: 15px; }
.usp div + div { border-left: 1px solid var(--line); }
.usp img { width: 40px; height: 40px; object-fit: contain; }
.site-footer { padding: 56px 0 28px; color: var(--muted); font-size: 14px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.site-footer h2 { color: var(--ink); font-size: 15px; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .08em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a:hover { color: var(--ink); }
.site-footer .bottom { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; }

/* ---------- Generic pages ---------- */
.crumbs, .woocommerce .woocommerce-breadcrumb { font-size: 13px; color: var(--muted); padding: 28px 0 0; margin: 0; }
.crumbs a:hover, .woocommerce .woocommerce-breadcrumb a:hover { color: var(--ink); }
.page-head { padding: 48px 0 32px; }
.page-head h1 { font-size: clamp(40px, 5vw, 72px); }
.entry { max-width: var(--content); }
.entry > *:first-child { margin-top: 0; }
.entry h2 { font-size: 28px; margin: 1.6em 0 .6em; }
.entry h3 { font-size: 22px; margin: 1.4em 0 .5em; }
.entry ul, .entry ol { padding-left: 1.2em; }
.entry-wide { max-width: none; }
.site-main { padding-bottom: 32px; }

/* ---------- Home: hero ---------- */
.hero2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5vw; align-items: center; padding: 48px 0 8px; }
.hero2 .kicker { margin-bottom: 22px; }
.hero2 h1 { font-size: clamp(38px, 4.4vw, 66px); line-height: 1.05; }
.hero2 h1 em { font-style: normal; color: var(--accent); }
@supports (background-clip: text) or (-webkit-background-clip: text) {
	.hero2 h1 em { background: var(--rainbow); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.hero2 .lead { font-size: 18px; color: #444; margin: 24px 0 32px; max-width: 26em; }
.hero2 .lead b, .hero2 .lead strong { font-weight: 500; color: var(--ink); }
.hero2 .btns { display: flex; gap: 10px; flex-wrap: wrap; }
.hero2 figure { margin: 0; }
.hero2 figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #fff; }
.hero2 figcaption { display: flex; justify-content: space-between; padding: 12px 0; font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line); }
.hero2 figcaption a { color: var(--ink); }

/* ---------- Home: category tiles + model grid ---------- */
.cats { display: grid; grid-template-columns: repeat(var(--tiles, 2), 1fr); gap: 24px; padding-top: 48px; }
.cat-tile { position: relative; display: block; overflow: hidden; color: #fff; }
.cat-tile img { width: 100%; aspect-ratio: var(--tile-ratio, 4 / 3); object-fit: cover; transition: transform .6s ease; }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: rgba(15,15,15,var(--tile-overlay, .38)); transition: background .3s; }
.cat-tile .in { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; text-align: center; padding: 16px; }
.cat-tile h3 { font-size: clamp(34px, 3.4vw, 52px); color: #fff; text-shadow: 0 1px 18px rgba(0,0,0,.25); }
.cat-tile .out { border: 1.5px solid #fff; padding: 13px 30px; text-transform: uppercase; letter-spacing: .16em; font-size: 13px; font-weight: 500; transition: background .2s, color .2s; }
.cat-tile:hover img { transform: scale(1.04); }
.cat-tile:hover::after { background: rgba(15,15,15,calc(var(--tile-overlay, .38) + .1)); }
.cat-tile:hover .out, .cat-tile:focus-visible .out { background: #fff; color: var(--ink); }
.sec { padding-top: 88px; }
.sec-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.sec-head h2 { font-size: clamp(28px, 3vw, 42px); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips button { background: #fff; border: 1px solid #ddd; padding: 6px 14px; border-radius: 99px; font-size: 14px; cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Product loop (WooCommerce) ---------- */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 16px; margin: 0; padding: 0; }
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, 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; padding: 0; }
.woocommerce ul.products li.product[hidden] { display: none; }
.woocommerce ul.products li.product a img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: #fff; margin: 0; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font: 500 17px/1.3 Jost, sans-serif; padding: 12px 0 0; margin: 0; }
.woocommerce ul.products li.product a:hover .woocommerce-loop-product__title { text-decoration: underline; text-underline-offset: 3px; }
.woocommerce ul.products li.product .price { color: var(--muted); font-size: 15px; margin: 2px 0 0; display: block; }
.woocommerce ul.products li.product .button { display: none; }
.ps-badge, .woocommerce span.onsale { position: absolute; top: 10px; left: 10px; right: auto; z-index: 2; min-height: 0; min-width: 0; line-height: 1.4; border-radius: 0; background: #fff; color: var(--accent); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; padding: 3px 8px; margin: 0; font-weight: 500; }
.woocommerce span.onsale { left: auto; right: 10px; color: var(--ink); }

/* ---------- Category / shop ---------- */
.cat-head { padding: 12px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: end; }
.cat-head h1 { font-size: clamp(44px, 6vw, 88px); }
.cat-head .term-description { color: var(--muted); }
.cat-head .term-description p:last-child { margin: 0; }
.toolbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 14px 0; border-block: 1px solid var(--line); margin-bottom: 32px; }
.woocommerce .toolbar .woocommerce-result-count, .woocommerce .toolbar .woocommerce-ordering { float: none; margin: 0; color: var(--muted); }
.woocommerce .toolbar .woocommerce-ordering { margin-left: auto; }
.woocommerce .woocommerce-ordering select { border: 1px solid #ddd; padding: 9px 12px; font: inherit; background: #fff; border-radius: 0; }
.woocommerce nav.woocommerce-pagination ul { border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.cat-seo { max-width: var(--content); padding-top: 72px; color: var(--muted); }

/* ---------- Single product ---------- */
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px 56px; padding-top: 20px; align-items: start; }
.woocommerce div.product > * { grid-column: 1 / -1; }
.woocommerce div.product div.images.pdp-gallery { grid-column: 1; float: none; width: auto; margin: 0; }
.woocommerce div.product div.summary { grid-column: 2; grid-row: 1 / span 2; float: none; width: auto; margin: 0; }
.pdp-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.zoom-box { margin: 0; overflow: hidden; background: #fff; border: 1px solid var(--line); cursor: zoom-in; aspect-ratio: 3 / 2; }
.zoom-box.big { grid-column: 1 / -1; }
.zoom-box img { width: 100%; height: 100%; object-fit: cover; transition: transform .15s ease-out; }
.zoom-box.zoom img { transform: scale(2.2); }
.woocommerce div.product .product_title { font-size: clamp(34px, 3.6vw, 54px); line-height: 1.02; margin-bottom: 10px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-size: 22px; }
.woocommerce div.product .woocommerce-product-details__short-description { color: #444; margin: 18px 0 8px; }
.how { display: inline-block; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; padding-bottom: 2px; border-bottom: 2px solid; border-image: var(--rainbow) 1; margin: 0 0 24px; }
.woocommerce div.product form.cart { margin: 8px 0 0; }
.woocommerce div.product form.cart .variations { margin-bottom: 8px; }
.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; }
.woocommerce div.product form.cart .variations th label { font-weight: 400; font-size: 14px; }
.woocommerce div.product form.cart .variations td { padding-bottom: 18px; }
.woocommerce div.product form.cart .variations select { border: 1px solid #ddd; padding: 10px 12px; font: inherit; background: #fff; min-width: 220px; }
.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: 10px; flex-wrap: wrap; }
.woocommerce .quantity .qty { border: 1px solid #ddd; height: 52px; width: 72px; font: inherit; }
.woocommerce div.product form.cart .single_add_to_cart_button { flex: 1; padding: 18px; font-size: 14px; }
.pay { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.woocommerce div.product .product_meta { font-size: 14px; color: var(--muted); margin-top: 18px; }
.woocommerce div.product .woocommerce-tabs { margin-top: 64px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0; display: flex; gap: 28px; border-bottom: 1px solid var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; border-radius: 0; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 0; font-weight: 400; color: var(--muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ink); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 820px; padding-top: 24px; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce table.shop_attributes { border: 0; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border: 0; border-bottom: 1px solid var(--line); padding: 12px 10px; font-style: normal; background: none !important; text-align: left; }
.related.products > h2, .upsells.products > h2 { font-size: clamp(28px, 3vw, 42px); margin: 88px 0 28px; }
.story-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; padding-top: 112px; }
.story-row.rev .txt { order: 2; }
.story-row h2 { font-size: clamp(32px, 3.8vw, 56px); line-height: 1.08; margin-bottom: 20px; }
.story-row p { color: var(--muted); font-size: 17px; max-width: 30em; }
.story-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #fff; }

/* Swatch plugin buttons: round colour dots + size grid look */
.woocommerce div.product .cfvsw-swatches-container { gap: 8px !important; }
.woocommerce div.product .cfvsw-swatches-option { border-radius: 0 !important; min-width: 52px; }
.woocommerce div.product .cfvsw-swatches-option.cfvsw-selected-swatch { border-color: var(--ink) !important; }

/* Lightbox + sticky buy bar */
dialog.lightbox { border: 0; padding: 0; max-width: none; max-height: none; width: 100vw; height: 100vh; background: rgba(10,10,10,.96); }
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: rgba(255,255,255,.12); color: #fff; width: 52px; height: 52px; font-size: 22px; cursor: pointer; }
dialog.lightbox .x { top: 16px; right: 16px; }
dialog.lightbox .prev { left: 16px; top: 50%; translate: 0 -50%; }
dialog.lightbox .next { right: 16px; top: 50%; translate: 0 -50%; }
dialog.lightbox .n { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: #bbb; font-size: 14px; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); transform: translateY(100%); transition: transform .2s; }
.sticky-buy.show { transform: none; }
.sticky-buy .in { display: flex; align-items: center; gap: 16px; padding: 10px var(--gutter); max-width: var(--wide); margin: 0 auto; }
.sticky-buy img { width: 72px; aspect-ratio: 3/2; object-fit: cover; }
.sticky-buy .sp { margin-left: auto; }

/* ---------- Anatomy ("Így készül") ---------- */
.anatomy { margin-top: 96px; }
.anatomy-box { border-top: 1px solid var(--line); padding-top: 56px; }
.anatomy .a-head { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: end; }
.anatomy h2 { font-size: clamp(30px, 3.4vw, 46px); }
.anatomy .sub { color: var(--muted); margin: 0; max-width: 32em; }
.anatomy-grid { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(0, 2.6fr) minmax(180px, 1fr); gap: 2vw; align-items: center; margin-top: 40px; }
.parts { list-style: none; margin: 0; padding: 0; }
.parts.r { text-align: right; }
.parts li { padding: 28px 0; transition: opacity .2s; }
.parts li + li { border-top: 1px solid var(--line); }
.parts .no { font-size: 13px; letter-spacing: .14em; color: var(--muted); }
.parts h3 { font-size: 22px; margin: 8px 0 6px; text-transform: uppercase; letter-spacing: .06em; }
.parts p { color: var(--muted); margin: 0; }
.parts li.on h3 { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.anatomy-grid:has(.on) .parts li:not(.on) { opacity: .4; }
.shoe { position: relative; }
.shoe .ring { position: absolute; left: 50%; top: 50%; width: 72%; aspect-ratio: 1; translate: -44% -50%; border: 1px dashed #c9c9c4; border-radius: 50%; }
.shoe img { position: relative; width: 100%; }
.dot { position: absolute; translate: -50% -50%; width: 34px; height: 34px; border-radius: 50%; border: 0; padding: 0; background: var(--ink); color: #fff; font: 500 15px/34px Jost, sans-serif; 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); }
.dot.on::before { content: ""; position: absolute; inset: -5px; border-radius: 50%; padding: 2px; background: linear-gradient(135deg, #ffc800, #e8202a, #6b2d8f, #12a6e0, #1ca35a); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
@keyframes pulse { from { transform: scale(1); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .dot::after { animation: none; } }

/* ---------- About page ---------- */
.about-head { text-align: center; padding: 64px 0 40px; }
.about-head h1 { font-size: clamp(44px, 6vw, 84px); }
.about-head p { font-size: clamp(20px, 2vw, 26px); max-width: 30em; margin: 18px auto 0; }
.about-img { width: 100%; height: min(70vh, 620px); object-fit: cover; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding-top: 64px; }
.values h3 { font-size: 20px; margin: 14px 0 8px; }
.values p { color: var(--muted); margin: 0; }
.values img { width: 52px; height: 52px; object-fit: contain; }
.about-text { display: grid; grid-template-columns: 1fr 2fr; gap: 6vw; padding-top: 88px; }
.about-text h2 { font-size: 28px; }
.about-text .entry p { color: #444; }

/* ---------- WooCommerce notices, cart, checkout ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--ink); background: var(--soft); }
.woocommerce-message::before, .woocommerce-info::before { color: var(--ink); }
.woocommerce table.shop_table { border-radius: 0; border-color: var(--line); }

/* ---------- Phone ---------- */
@media (max-width: 900px) {
	.admin-bar .site-header { top: 0; }
	.site-header .in { grid-template-columns: auto 1fr auto; gap: 12px; }
	.site-header .logo-wrap { order: -1; }
	.site-nav { display: none; grid-column: 1 / -1; order: 5; }
	.site-header.open .site-nav { display: block; }
	.site-nav ul { flex-direction: column; gap: 0; }
	.site-nav a { display: block; padding: 12px 0; border-top: 1px solid var(--line); }
	.site-nav .sub-menu { display: flex; position: static; border: 0; padding: 0 0 0 16px; gap: 0; }
	.header-actions { gap: 14px; }
	.header-actions .hide-m { display: none; }
	.menu-btn { display: block; }
	.hero2 { grid-template-columns: 1fr; padding-top: 28px; gap: 28px; }
	.hero2 figure { order: -1; }
	.cats { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
	.woocommerce ul.products, .woocommerce ul.products.columns-3 { grid-template-columns: 1fr 1fr; gap: 28px 12px; }
	.cat-head, .story-row, .about-text, .values, .anatomy .a-head { grid-template-columns: 1fr; }
	.story-row.rev .txt { order: 0; }
	.story-row { padding-top: 64px; }
	.woocommerce div.product { grid-template-columns: 1fr; }
	.woocommerce div.product div.images.pdp-gallery, .woocommerce div.product div.summary { grid-column: 1; grid-row: auto; position: static; }
	.pdp-gallery { gap: 8px; }
	.anatomy-grid { grid-template-columns: 1fr 1fr; }
	.shoe { grid-column: 1 / -1; order: -1; }
	.parts.r { text-align: left; }
	.parts h3 { font-size: 17px; }
	.dot { width: 28px; height: 28px; font-size: 13px; line-height: 28px; }
	.usp { grid-template-columns: 1fr; }
	.usp div + div { border-left: 0; border-top: 1px solid var(--line); }
	.site-footer .cols { grid-template-columns: 1fr; }
	.sticky-buy .name { display: none; }
	.woocommerce div.product .woocommerce-tabs ul.tabs { gap: 20px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
}

/* WooCommerce archive header uses the category-head layout */
.woocommerce-products-header { padding: 12px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: end; }
.woocommerce-products-header__title { font-size: clamp(44px, 6vw, 88px); }
.woocommerce-products-header .term-description { color: var(--muted); }
.woocommerce-products-header .term-description p:last-child { margin: 0; }
@media (max-width: 900px) { .woocommerce-products-header { grid-template-columns: 1fr; gap: 12px; } }

/* 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; }
}

/* Background-free product photos (uploads/paul-white): white ground; the realistic floor shadow is baked into the image. */
img.ps-cut { background: transparent !important; }
.zoom-box, .woocommerce ul.products li.product a:first-child { background: #fff; }


/* ---------- Customizer-driven parts ---------- */
.promo-bar { text-align: center; font-size: 14px; font-weight: 500; letter-spacing: .04em; padding: 10px var(--gutter); }
.promo-bar a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.topbar .social { position: absolute; right: var(--gutter); top: 50%; translate: 0 -50%; }
.social { display: flex; gap: 12px; align-items: center; }
.social a { display: inline-grid; place-items: center; color: inherit; opacity: .8; }
.social a:hover { opacity: 1; }
.social-footer { margin-top: 14px; color: var(--ink); }
.hero2.image-left figure { order: -1; }
.hero2.image-left { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.prod-time { margin: 6px 0 4px; font-size: 14px; display: flex; align-items: center; gap: 10px; }
.prod-time::before { content: ""; flex: 0 0 22px; height: 2px; background: var(--rainbow); }
.size-link { margin: 0 0 12px; }
.size-guide { font-size: 14px; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); }
dialog.guide { border: 0; padding: 32px; max-width: 520px; width: calc(100% - 32px); }
dialog.guide::backdrop { background: rgba(0,0,0,.4); }
dialog.guide h3 { font-size: 24px; margin-bottom: 10px; }
dialog.guide table { width: 100%; border-collapse: collapse; margin: 16px 0 20px; }
dialog.guide td, dialog.guide th { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; }
dialog.guide th { font-weight: 400; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; color: var(--muted); }
.freeship { border: 1px solid var(--line); padding: 14px 18px; margin: 0 0 28px; font-size: 15px; }
.freeship p { margin: 0 0 10px; }
.freeship .bar { height: 6px; background: var(--soft); overflow: hidden; }
.freeship .bar span { display: block; height: 100%; background: var(--rainbow); transition: width .4s ease; }
/* Corner style (Customizer → Színek és formák) */
.btn, .woocommerce a.button, .woocommerce button.button, .woocommerce a.button.alt, .woocommerce button.button.alt,
.chips button, .woocommerce .quantity .qty, .woocommerce .woocommerce-ordering select,
.wc-block-components-button:not(.is-link), .wc-block-components-text-input input, .woocommerce form .form-row input.input-text { border-radius: var(--radius, 0) !important; }
.chips button { border-radius: 999px !important; }
@media (max-width: 900px) {
	.hero2.image-left { grid-template-columns: 1fr; }
	.cats { grid-template-columns: 1fr; }
	.topbar .social { position: static; translate: none; justify-content: center; margin-top: 6px; }
}


/* ---------- Shop filter panel (inc/filters.php) ---------- */
.f-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; flex-basis: 100%; order: 5; }
.f-chip { border: 1px solid var(--ink); padding: 4px 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; }
.f-open .cart-count { margin-left: 6px; }
.filters { position: fixed; inset: 0 auto 0 0; width: min(380px, 92vw); background: #fff; z-index: 60; padding: 28px; overflow-y: auto; transform: translateX(-100%); transition: transform .25s; box-shadow: 0 0 40px rgba(0,0,0,.15); }
.filters.open { transform: none; }
.filters h2 { font-size: 24px; margin-bottom: 8px; }
.filters .close { position: absolute; top: 16px; right: 16px; border: 0; background: none; font-size: 24px; cursor: pointer; }
.f-group { border: 0; padding: 0; margin: 24px 0 0; }
.f-group legend { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.f-group legend::before { content: ""; width: 24px; height: 2px; background: var(--rainbow); }
.f-meret { display: flex; flex-wrap: wrap; gap: 6px; }
.f-meret legend { width: 100%; }
.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: 46px; padding: 9px 6px; border: 1px solid #ddd; }
.f-meret input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.f-meret input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.f-szin label { display: flex; gap: 10px; align-items: center; padding: 5px 0; cursor: pointer; }
.f-price { display: flex; gap: 10px; flex-wrap: wrap; }
.f-price legend { width: 100%; }
.f-price input { width: 140px; border: 1px solid #ccc; padding: 10px 12px; font: inherit; border-radius: var(--radius, 0); }
.f-apply { width: 100%; margin-top: 28px; }
.scrim { position: fixed; inset: 0; background: rgba(0,0,0,.35); z-index: 55; }
