/* ================= TERMÉKKÁRTYA – "A – bolti kártya" (2026-09-29) ================= */
.p-card--shop{--pc-accent:var(--brand-primary);position:relative;display:flex;flex-direction:column;width:100%;background:var(--color-surface);border:1.5px solid var(--color-border);border-radius:18px;overflow:hidden;box-shadow:none;transition:transform .22s cubic-bezier(.22,1,.36,1),box-shadow .22s,border-color .22s}
.p-card--shop:hover{transform:translateY(-4px);border-color:color-mix(in srgb,var(--color-text) 32%,var(--color-border));box-shadow:0 14px 30px -14px rgba(36,27,20,.35)}
@media (prefers-reduced-motion:reduce){.p-card--shop,.p-card--shop:hover{transition:none;transform:none}}

/* kép */
.pcs-media{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;max-height:240px;background:#fff;border-bottom:1px solid var(--color-border)}
.pcs-media{aspect-ratio:auto;height:240px}.pcs-img{width:auto;height:auto;max-width:80%;max-height:200px;object-fit:contain}.p-card--shop .pcs-media .pcs-img{width:auto;height:auto;max-width:80%;max-height:200px;object-fit:contain}@media(max-width:599px){.p-card--shop .pcs-media{height:auto;aspect-ratio:1/1;max-height:none}.p-card--shop .pcs-media .pcs-img{max-width:84%;max-height:84%}.p-card--shop .pcs-btn{white-space:normal;line-height:1.15;font-size:13.5px;padding:6px 8px;min-height:44px;text-align:center;display:flex;align-items:center;justify-content:center}}
.pcs-badge{position:absolute;top:12px;left:12px;background:var(--brand-primary);color:#fff;font-size:12px;font-weight:700;padding:5px 9px;border-radius:8px;line-height:1}
.p-card--shop .fav-btn{top:10px;right:10px;width:40px;height:40px;background:#fff;border:1px solid #EDE4D6;box-shadow:none}
.p-card--shop .fav-btn svg{fill:none;stroke:#6E6258}
.p-card--shop .fav-btn:hover svg{stroke:var(--brand-primary)}
.p-card--shop .fav-btn.is-fav svg{fill:var(--brand-primary);stroke:var(--brand-primary)}

/* szöveg */
.pcs-body{display:flex;flex-direction:column;gap:10px;padding:16px;flex:1}
.pcs-head{display:flex;flex-direction:column;gap:4px}
.pcs-brand{font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:var(--pc-accent);min-height:14px;line-height:14px}
.pcs-title{margin:0;font-family:inherit;font-size:15px;font-weight:600;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em}
.pcs-title a{color:var(--color-text)}
.pcs-title a:hover{color:var(--brand-primary)}
.pcs-title a::after{content:"";position:absolute;inset:0;z-index:0}
.p-card--shop .fav-btn,.pcs-cta,.pcs-media{z-index:1}
.pcs-tags{display:flex;flex-wrap:wrap;gap:6px;min-height:22px;max-height:22px;overflow:hidden}
.pcs-unit{min-height:1.2em}
.pcs-tag{font-size:11.5px;font-weight:600;color:#5A4E44;background:#F5EFE5;padding:4px 8px;border-radius:6px;line-height:1.2}
[data-theme="dark"] .pcs-tag{background:rgba(244,239,229,.08);color:var(--color-text-muted)}

/* ár + készlet */
.pcs-buy{display:flex;align-items:flex-end;justify-content:space-between;gap:8px;margin-top:auto}
.pcs-price{display:flex;flex-direction:column;font-family:var(--font-display);font-size:24px;font-weight:800;line-height:1.05;color:var(--color-text)}
.pcs-price .amount{color:inherit}
.pcs-price.is-sale{color:var(--brand-primary)}
.pcs-price del{order:-1;font-family:var(--font-body,inherit);font-size:13px;font-weight:500;color:var(--color-text-muted);opacity:1}
.pcs-price ins{text-decoration:none}
.pcs-unit{font-family:var(--font-body,inherit);font-size:12px;font-weight:500;color:var(--color-text-muted);margin-top:3px}
.pcs-stock{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;align-items:flex-end;gap:3px;text-align:right}
.pcs-stock li{display:flex;align-items:center;gap:6px;font-size:12px;font-weight:600;white-space:nowrap}
.pcs-stock .dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;box-sizing:border-box}
.pcs-stock .is-in{color:#2E7D46}.pcs-stock .is-in .dot{background:#2E9E4F}
.pcs-stock .is-back{color:#8A5A00}.pcs-stock .is-back .dot{border:2px solid #E08A00;background:transparent}
.pcs-stock .is-out{color:var(--color-text-muted)}.pcs-stock .is-out .dot{border:2px solid #B9B2A8}
[data-theme="dark"] .pcs-stock .is-in{color:#6FCF8E}
[data-theme="dark"] .pcs-stock .is-back{color:#F2B24C}

/* mennyiség + gomb */
.pcs-cta.p-card__cta{display:flex;gap:8px;margin:0;justify-content:stretch;position:relative}
.pcs-cta .qty.pcs-qty{display:flex;position:static;width:auto;margin:0;padding:0;box-shadow:none;background:var(--color-surface);border:1.5px solid var(--color-border);border-radius:12px;height:44px;overflow:hidden;flex-shrink:0}
.pcs-qty button{width:32px;height:100%;border:0;background:transparent;font-size:18px;font-weight:600;color:var(--color-text);cursor:pointer}
.pcs-qty button:hover{background:color-mix(in srgb,var(--brand-primary) 10%,transparent);color:var(--brand-primary)}
.pcs-qty input{width:30px;flex:none;text-align:center;border:0;background:transparent;font-weight:700;font-size:15px;color:var(--color-text);-moz-appearance:textfield;padding:0}
.pcs-qty input::-webkit-inner-spin-button,.pcs-qty input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.pcs-cta p.add_to_cart_inline{margin:0;display:flex;flex:1;min-width:0;border:0!important;padding:0!important}
.pcs-cta .btn.pcs-btn{flex:1;width:100%;min-width:0;height:44px;min-height:44px;padding:0 10px;border-radius:12px;font-size:14.5px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;margin:0}
.pcs-cta .btn--primary.pcs-btn::before{content:"";width:18px;height:18px;flex-shrink:0;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='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M3 4h2.5l2.2 11h11l2-8H6.4'/%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='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='20' r='1.4'/%3E%3Ccircle cx='18' cy='20' r='1.4'/%3E%3Cpath d='M3 4h2.5l2.2 11h11l2-8H6.4'/%3E%3C/svg%3E") center/contain no-repeat}
.pcs-cta .btn.pcs-btn.loading{opacity:.7}
.pcs-cta a.added_to_cart{display:none!important}
.pcs-btn--ghost{background:transparent;border:1.5px solid var(--color-text);color:var(--color-text)}
.pcs-btn--ghost:hover{background:var(--color-text);color:var(--color-surface)}
.pcs-price .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ================= OLDALSÁV – kategóriák: színkód + ikon (2026-09-29) ================= */
.filter-panel-card--categories{padding:10px}
.filter-panel-card--categories .filter-panel-card__title{padding:4px 10px 8px}
.filter-panel-card--categories .filter-cat-block{--fc:var(--brand-primary);margin:0 0 2px}
.filter-panel-card--categories .filter-cat-row{display:flex;align-items:center;gap:12px;padding:8px 10px;border:0;border-radius:12px;cursor:pointer;background:transparent;transition:background .15s}
.filter-panel-card--categories .filter-cat-row:hover{background:color-mix(in srgb,var(--fc) 9%,transparent)}
.filter-panel-card--categories .filter-cat-row.is-active{background:color-mix(in srgb,var(--fc) 12%,transparent)}
.filter-panel-card--categories .fc-ico{width:34px;height:34px;border-radius:10px;flex-shrink:0;display:flex;align-items:center;justify-content:center;color:var(--fc);background:color-mix(in srgb,var(--fc) 14%,var(--color-surface))}
.filter-panel-card--categories .filter-cat-row>a{flex:1;min-width:0;font-size:14.5px;font-weight:700;color:var(--color-text)}
.filter-panel-card--categories .filter-cat-row.is-active>a{color:var(--fc)}
.filter-panel-card--categories .filter-cat-row>a{padding:0;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.filter-panel-card--categories .filter-cat-row .cnt{position:static;flex:none;margin:0 0 0 auto;font-size:12px;font-weight:600;color:var(--color-text-muted);background:none;padding:0}
.filter-panel-card--categories .filter-cat-row .cnt{display:none}
.filter-panel-card--categories{padding:8px}
.filter-panel-card--categories .filter-cat-row{gap:9px;padding:7px 8px}
.filter-panel-card--categories .fc-ico{width:30px;height:30px;border-radius:9px}
.filter-panel-card--categories .fc-ico svg{width:16px;height:16px}
.filter-panel-card--categories .filter-cat-row>a{font-size:14px;line-height:1.2;white-space:normal!important;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere;hyphens:auto}
.filter-panel-card--categories .filter-cat-row .cat-expand{width:12px}
.filter-panel-card--categories .filter-cat-row,.filter-panel-card--categories .filter-cat-row.is-active,.filter-panel-card--categories .filter-cat-row>a{border:0!important;box-shadow:none!important;outline:0!important}
.filter-panel-card--categories .filter-cat-row .cat-expand{position:static;margin-left:auto!important;flex:none;margin:0;display:flex;align-items:center}
.filter-panel-card--categories .cat-expand svg{stroke:var(--color-text-muted);transition:transform .2s}
.filter-panel-card--categories .filter-cat-block.is-open .cat-expand svg{transform:rotate(90deg)}
.filter-panel-card--categories .filter-subcat-list{margin:4px 0 6px 26px;padding:0 0 0 14px;border-left:2px solid color-mix(in srgb,var(--fc) 25%,transparent);display:flex;flex-direction:column}
.filter-panel-card--categories .filter-subcat-list[hidden]{display:none}
.filter-panel-card--categories .filter-subcat-row{display:flex;justify-content:space-between;gap:8px;padding:6px 10px;border-radius:8px;font-size:13px;font-weight:500;color:var(--color-text);background:transparent}
.filter-panel-card--categories .filter-subcat-row:hover{background:color-mix(in srgb,var(--fc) 10%,transparent);color:var(--color-text)}
.filter-panel-card--categories .filter-subcat-row .dot{display:none}
.filter-panel-card--categories .filter-subcat-row .cnt{opacity:.7}
.filter-panel-card--categories .filter-subcat-row.is-active{background:var(--brand-primary);color:#fff;font-weight:700}
.filter-panel-card--categories .filter-subcat-row.is-active .cnt{opacity:.9;color:#fff}

/* mobil: ne lehessen oldalra húzni az oldalt */
html,body{max-width:100%;overflow-x:clip}
.footer-cols>*{min-width:0}

/* ================= MOBIL ================= */
@media (max-width:640px){
	.pcs-body{padding:10px 10px 12px;gap:7px}
	.pcs-brand{font-size:10px}
	.pcs-title{font-size:13px}
	.pcs-tag:not(.pcs-tag--size){display:none}
	.pcs-tag{font-size:10.5px;padding:3px 6px}
	.pcs-buy{flex-direction:column;align-items:flex-start;gap:6px}
	.pcs-price{font-size:19px}
	.pcs-unit{font-size:11px}
	.pcs-stock{flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px 10px}
	.pcs-stock li{font-size:11px;gap:4px}
	.pcs-suffix{display:none}
	.pcs-cta .qty.pcs-qty{display:none}
	.p-card--shop .fav-btn{top:6px;right:6px;width:36px;height:36px}
	.pcs-badge{top:8px;left:8px;font-size:11px;padding:4px 7px}
}
