/**
 * Pishtazan Shop — theme styles (RTL-first, logical properties).
 * Every color / radius / font comes from the --pz-* tokens printed by
 * inc/tokens.php, so presets restyle the whole store.
 */

/* ------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.pz-lock { overflow: hidden; }
body {
	margin: 0;
	background: var(--pz-bg);
	color: var(--pz-text);
	font-family: var(--pz-font);
	font-size: var(--pz-fs-base);
	line-height: 1.85;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--pz-primary); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--pz-primary); outline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.45; margin: 0 0 .6em; font-weight: 800; }

.pz-sr-only, .screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.pz-skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 1000; padding: 8px 16px; background: var(--pz-primary); color: var(--pz-primary-ink); border-radius: var(--pz-radius-sm); }
.pz-skip:focus { top: 12px; }
.pz-icon { flex: none; vertical-align: middle; }

.pz-container { width: 100%; max-width: var(--pz-container); margin-inline: auto; padding-inline: 16px; }
.pz-main { min-height: 50vh; }

/* ------------------------------------------------------------ UI atoms */
.pz-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 44px; padding: .55em 1.3em; border: 1px solid transparent;
	border-radius: var(--pz-radius-sm); font-weight: 700; line-height: 1.3; cursor: pointer;
	transition: filter .15s, background .15s, border-color .15s;
}
.pz-btn--primary { background: var(--pz-primary); color: var(--pz-primary-ink); }
.pz-btn--primary:hover { color: var(--pz-primary-ink); filter: brightness(.92); }
.pz-btn--light { background: var(--pz-surface); border-color: var(--pz-border); color: var(--pz-text); }
.pz-btn--light:hover { border-color: var(--pz-primary); color: var(--pz-primary); }
.pz-btn--block { width: 100%; }

.pz-badge {
	display: inline-flex; align-items: center; gap: .3em; padding: .15em .7em;
	border-radius: 999px; font-size: .78em; font-weight: 700; line-height: 1.8;
	background: var(--pz-border); color: var(--pz-text);
}
.pz-badge--sale { background: var(--pz-accent); color: var(--pz-accent-ink); }
.pz-badge--stock { background: var(--pz-primary-soft); color: var(--pz-secondary); }
.pz-badge--out { background: var(--pz-accent-soft); color: var(--pz-accent); }
.pz-badge--condition { background: #eef2ff; color: #3949ab; }
.pz-badge--new { background: #e7f6ee; color: #1f7a4c; }
.pz-badge--open-box { background: #fff4d6; color: #8a5a00; }
.pz-badge--stock.pz-badge--condition { background: #fdecec; color: #b42323; }

.pz-chip { display: inline-flex; align-items: center; gap: .4em; padding: .25em .9em; border: 1px solid var(--pz-border); border-radius: 999px; background: var(--pz-surface); font-size: .85em; font-weight: 600; }
.pz-chip--sm { font-size: .75em; padding: .1em .7em; }
.pz-chip--active { border-color: var(--pz-primary); color: var(--pz-primary); }
.pz-chip--clear { border-color: var(--pz-accent); color: var(--pz-accent); }
.pz-chips { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }

.pz-input, .pz-filters input[type="search"], .pz-filters input[type="text"] {
	width: 100%; min-height: 42px; padding: 6px 12px; border: 1px solid var(--pz-border);
	border-radius: var(--pz-radius-sm); background: var(--pz-surface);
}
.pz-input:focus { border-color: var(--pz-primary); outline: none; box-shadow: 0 0 0 3px var(--pz-primary-soft); }

/* ------------------------------------------------------------ announcement + top bar */
.pz-announce { background: var(--pz-announce); color: var(--pz-announce-ink); font-size: .88em; }
.pz-announce__inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 38px; position: relative; }
.pz-announce__text { font-weight: 600; }
.pz-announce a.pz-announce__text:hover { color: inherit; text-decoration: underline; }
.pz-announce__close { position: absolute; inset-inline-end: 16px; background: none; border: 0; color: inherit; cursor: pointer; display: grid; place-items: center; }

.pz-topbar { background: var(--pz-surface); border-bottom: 1px solid var(--pz-border); font-size: .82em; color: var(--pz-muted); }
.pz-topbar__list { list-style: none; margin: 0 auto; display: flex; justify-content: space-between; gap: 16px; min-height: 38px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.pz-topbar__item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.pz-topbar__item .pz-icon { color: var(--pz-secondary); }

/* ------------------------------------------------------------ header */
.pz-header { background: var(--pz-surface); position: relative; z-index: 50; }
.pz-sticky-header .pz-header { position: sticky; top: 0; }
.admin-bar.pz-sticky-header .pz-header { top: 32px; }
.pz-header.is-stuck { box-shadow: 0 6px 20px rgb(0 0 0 / 7%); }
.pz-header__main { display: flex; align-items: center; gap: 24px; min-height: 84px; }
.pz-header__brand { flex: none; }
.pz-logo { display: inline-flex; align-items: center; }
.pz-logo__img { height: var(--pz-logo-h); width: auto; max-width: 260px; object-fit: contain; display: block; }
.pz-logo__text { font-size: 1.35em; font-weight: 800; color: var(--pz-secondary); }
.pz-footer .pz-logo__text { color: var(--pz-footer-text); }
.pz-header__search { flex: 1; max-width: 640px; }
.pz-header__burger { display: none; background: none; border: 0; padding: 6px; cursor: pointer; }

/* Search: the plain form is itself .pz-search; the companion's live search
   wraps a .pz-search__form in .pz-search (whose results must not be clipped). */
form.pz-search, .pz-search__form {
	display: flex; align-items: stretch; background: var(--pz-bg); border: 1px solid var(--pz-border);
	border-radius: var(--pz-radius); overflow: hidden; transition: border-color .15s, box-shadow .15s, background .15s;
}
form.pz-search:focus-within, .pz-search__form:focus-within { border-color: var(--pz-primary); background: var(--pz-surface); box-shadow: 0 0 0 4px var(--pz-primary-soft); }
.pz-search__input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 16px; min-height: 50px; font-size: .95em; }
.pz-search__input:focus { outline: none; }
.pz-search__input::placeholder { color: var(--pz-muted); }
.pz-search__submit { flex: none; width: 56px; border: 0; background: var(--pz-text); color: var(--pz-surface); cursor: pointer; display: grid; place-items: center; transition: background .15s; }
.pz-search__submit:hover { background: var(--pz-primary); }
.pz-header .pz-search__results { border-radius: var(--pz-radius); }

.pz-header__actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.pz-action {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 0; border-radius: var(--pz-radius-sm);
	background: none; font: inherit; font-size: .88em; font-weight: 600; color: var(--pz-text); white-space: nowrap; cursor: pointer;
	transition: background .15s, color .15s;
}
.pz-action:hover, .pz-action[aria-expanded="true"] { background: var(--pz-bg); color: var(--pz-text); }
.pz-action__icon { position: relative; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--pz-bg); }
.pz-action:hover .pz-action__icon { background: var(--pz-primary-soft); color: var(--pz-primary); }
.pz-action__chevron { color: var(--pz-muted); transition: transform .15s; }
.pz-action[aria-expanded="true"] .pz-action__chevron { transform: rotate(180deg); }
.pz-action--cart { padding-inline-end: 4px; }

/* account dropdown */
.pz-account { position: relative; }
.pz-account__menu {
	position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 70; min-width: 230px; padding: 8px;
	background: var(--pz-surface); border: 1px solid var(--pz-border); border-radius: var(--pz-radius); box-shadow: var(--pz-shadow);
}
.pz-account__hello { margin: 4px 8px 8px; padding-bottom: 8px; border-bottom: 1px solid var(--pz-border); font-weight: 800; }
.pz-account__menu ul { list-style: none; margin: 0; padding: 0; }
.pz-account__menu a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--pz-radius-sm); font-size: .9em; color: var(--pz-text); }
.pz-account__menu a:hover { background: var(--pz-bg); color: var(--pz-primary); }
.pz-account__menu li:last-child { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--pz-border); }
.pz-account__menu li:last-child a { color: var(--pz-accent); }
.pz-cart__count {
	position: absolute; top: -4px; inset-inline-start: -6px; min-width: 20px; height: 20px; padding: 0 5px;
	border-radius: 999px; background: var(--pz-accent); color: var(--pz-accent-ink); font-size: 11px; line-height: 20px; text-align: center; font-weight: 700;
}
.pz-action__label--cart { display: flex; flex-direction: column; line-height: 1.35; }
.pz-action__label--cart small { color: var(--pz-muted); font-size: .85em; }
.pz-cart__total { font-weight: 800; }

.pz-header__navbar { border-top: 1px solid var(--pz-border); }
.pz-header__navrow { display: flex; align-items: center; gap: 18px; min-height: 56px; }
.pz-mainnav { flex: 1; min-width: 0; }
.pz-mainnav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.pz-mainnav__list > li { position: relative; }
.pz-mainnav__link { display: inline-flex; align-items: center; gap: 4px; padding: 14px 12px; font-weight: 700; font-size: .92em; white-space: nowrap; }
.pz-mainnav__list > li:hover > .pz-mainnav__link, .pz-mainnav__list > .current-menu-item > .pz-mainnav__link { color: var(--pz-primary); }
.pz-mainnav__list .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; inset-inline-start: 0; min-width: 220px;
	background: var(--pz-surface); border: 1px solid var(--pz-border); border-radius: var(--pz-radius-sm);
	box-shadow: var(--pz-shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s;
}
.pz-mainnav__list > li:hover > .sub-menu, .pz-mainnav__list > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.pz-mainnav__sublink { display: block; padding: 8px 12px; border-radius: 6px; font-size: .9em; }
.pz-mainnav__sublink:hover { background: var(--pz-bg); }
.pz-mainnav__highlight { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: var(--pz-radius-sm); color: var(--pz-accent); font-weight: 800; white-space: nowrap; }
.pz-mainnav__highlight:hover { background: color-mix(in srgb, var(--pz-accent) 10%, transparent); color: var(--pz-accent); }
.pz-mainnav__chevron { color: var(--pz-muted); }
.pz-mainnav--inline { flex: 1; }

/* header style 2: menu beside the logo, compact search */
.pz-header--2 .pz-header__main { gap: 20px; }
.pz-header--2 .pz-header__search { flex: 0 1 300px; }
.pz-header--2 .pz-mainnav__link { padding-block: 30px; }

/* header style 3: centred logo, search and actions either side */
.pz-header--3 .pz-header__main { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
.pz-header--3 .pz-header__brand { grid-column: 2; grid-row: 1; justify-self: center; }
.pz-header--3 .pz-header__search { grid-column: 1; grid-row: 1; max-width: 420px; width: 100%; }
.pz-header--3 .pz-header__actions { grid-column: 3; grid-row: 1; justify-self: end; }
.pz-header--3 .pz-header__navrow { justify-content: center; }
.pz-header--3 .pz-mainnav { flex: 0 1 auto; }

/* compact sticky header */
.pz-header.is-stuck .pz-header__main { min-height: 68px; }
.pz-header.is-stuck .pz-logo__img { height: calc(var(--pz-logo-h) * .8); }
.pz-header__main, .pz-logo__img { transition: min-height .2s, height .2s; }

/* mega menu */
.pz-mega { position: static; }
.pz-mega__toggle {
	display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px;
	border: 0; border-radius: var(--pz-radius-sm); background: var(--pz-accent); color: var(--pz-accent-ink);
	font-weight: 800; cursor: pointer; white-space: nowrap;
}
.pz-mega__panel {
	position: absolute; inset-inline: 0; top: 100%; z-index: 60;
	background: var(--pz-surface); border-top: 1px solid var(--pz-border); box-shadow: 0 18px 40px rgb(0 0 0 / 10%);
}
.pz-mega__grid { max-width: var(--pz-container); margin: 0 auto; padding: 24px 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; }
.pz-mega__col { padding: 0 18px; border-inline-start: 1px solid var(--pz-border); }
.pz-mega__col:first-child { border-inline-start: 0; }
.pz-mega__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 800; margin-bottom: 10px; }
.pz-mega__head img { width: 48px; height: 48px; object-fit: contain; }
.pz-mega__list { list-style: none; margin: 0 0 10px; padding: 0; }
.pz-mega__list a { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: .88em; color: var(--pz-muted); }
.pz-mega__list a:hover { color: var(--pz-primary); }
.pz-mega__all { display: inline-flex; align-items: center; gap: 6px; font-size: .85em; font-weight: 700; color: var(--pz-secondary); }

/* mini-cart (slide-in) */
.pz-minicart { position: fixed; inset: 0; z-index: 210; }
.pz-minicart__backdrop { position: absolute; inset: 0; background: rgb(0 0 0 / 45%); animation: pz-fade .2s; }
.pz-minicart__panel {
	position: absolute; inset-block: 0; inset-inline-end: 0; width: min(92vw, 400px); display: flex; flex-direction: column;
	background: var(--pz-surface); box-shadow: 0 0 40px rgb(0 0 0 / 25%); animation: pz-slide-end .25s ease-out;
}
.pz-minicart__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--pz-border); }
.pz-minicart__title { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 800; font-size: 1.05em; }
.pz-minicart__count { min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--pz-accent); color: var(--pz-accent-ink); font-size: .75em; line-height: 24px; text-align: center; }
.pz-minicart__close { background: none; border: 0; padding: 6px; border-radius: 50%; cursor: pointer; color: var(--pz-text); }
.pz-minicart__close:hover { background: var(--pz-bg); }
.pz-minicart__body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.pz-minicart__ship { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 6px 8px; margin: 14px 18px 0; padding: 10px 12px; border-radius: var(--pz-radius-sm); background: var(--pz-bg); font-size: .85em; }
.pz-minicart__ship .pz-icon { color: var(--pz-primary); }
.pz-minicart__bar { grid-column: 1 / -1; height: 6px; border-radius: 999px; background: var(--pz-border); overflow: hidden; }
.pz-minicart__bar span { display: block; height: 100%; border-radius: inherit; background: var(--pz-primary); }
.pz-minicart__ship.is-done { color: var(--pz-primary); font-weight: 700; }
.pz-minicart__items { list-style: none; margin: 0; padding: 8px 18px; flex: 1; overflow-y: auto; }
.pz-minicart__item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--pz-border); }
.pz-minicart__item:last-child { border-bottom: 0; }
.pz-minicart__thumb img { display: block; width: 64px; height: 64px; object-fit: contain; border-radius: var(--pz-radius-sm); background: var(--pz-bg); }
.pz-minicart__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pz-minicart__name { font-weight: 700; font-size: .9em; color: var(--pz-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pz-minicart__meta { color: var(--pz-muted); font-size: .85em; }
.pz-minicart__remove { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--pz-muted); }
.pz-minicart__remove:hover { background: color-mix(in srgb, var(--pz-accent) 10%, transparent); color: var(--pz-accent); }
.pz-minicart__foot { padding: 16px 18px; border-top: 1px solid var(--pz-border); background: var(--pz-surface); }
.pz-minicart__subtotal { display: flex; justify-content: space-between; align-items: center; margin: 0 0 12px; }
.pz-minicart__subtotal strong { font-size: 1.1em; }
.pz-minicart__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pz-minicart__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 32px; text-align: center; color: var(--pz-muted); }
.pz-minicart__empty .pz-icon { opacity: .4; }
@keyframes pz-fade { from { opacity: 0; } }
@keyframes pz-slide-end { from { transform: translateX(-100%); } }
[dir="ltr"] .pz-minicart__panel { animation-name: pz-slide-end-ltr; }
@keyframes pz-slide-end-ltr { from { transform: translateX(100%); } }
@media (prefers-reduced-motion: reduce) { .pz-minicart__panel, .pz-minicart__backdrop { animation: none; } }
.admin-bar .pz-minicart__panel, .admin-bar .pz-drawer__panel { inset-block-start: 32px; }
@media (max-width: 782px) { .admin-bar .pz-minicart__panel, .admin-bar .pz-drawer__panel { inset-block-start: 46px; } }

/* drawer */
.pz-drawer { position: fixed; inset: 0; z-index: 200; }
.pz-drawer__backdrop { position: absolute; inset: 0; background: rgb(0 0 0 / 45%); }
.pz-drawer__panel {
	position: absolute; inset-block: 0; inset-inline-start: 0; width: min(88vw, 360px);
	background: var(--pz-surface); overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 14px;
	box-shadow: 0 0 40px rgb(0 0 0 / 25%);
}
.pz-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.pz-drawer__head .pz-logo__img { height: 44px; }
.pz-drawer__close { background: none; border: 0; cursor: pointer; padding: 6px; }
.pz-drawer__title { font-weight: 800; margin: 6px 0 0; }
.pz-drawer__menu { list-style: none; margin: 0; padding: 0; }
.pz-drawer__menu a, .pz-drawer__menu summary { display: flex; align-items: center; justify-content: space-between; padding: 10px 6px; border-bottom: 1px solid var(--pz-border); font-weight: 600; cursor: pointer; list-style: none; }
.pz-drawer__menu summary::-webkit-details-marker { display: none; }
.pz-drawer__menu details[open] summary .pz-icon { transform: rotate(180deg); }
.pz-drawer__menu ul { list-style: none; margin: 0; padding: 0 12px 6px 0; }
.pz-drawer__menu ul a { font-weight: 400; font-size: .92em; }
.pz-drawer__menu .sub-menu { list-style: none; padding-inline-start: 14px; }
.pz-drawer__all { color: var(--pz-primary); }
.pz-drawer__home, .pz-drawer__highlight { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: var(--pz-radius-sm); font-weight: 700; }
.pz-drawer__home.is-current { background: color-mix(in srgb, var(--pz-accent) 8%, transparent); color: var(--pz-accent); }
.pz-drawer__highlight { color: var(--pz-accent); }
.pz-drawer__cat { display: inline-flex; align-items: center; gap: 10px; }
.pz-drawer__cat img { width: 28px; height: 28px; object-fit: contain; }
.pz-drawer__links { list-style: none; margin: auto 0 0; padding: 12px 0 0; border-top: 1px solid var(--pz-border); }
.pz-drawer__links a { display: flex; align-items: center; gap: 10px; padding: 8px 4px; }

/* ------------------------------------------------------------ footer */
.pz-footer-newsletter { margin-block: 32px; }
.pz-footer-features { margin-block: 40px 0; }
.pz-footer-features__list { list-style: none; margin: 0; padding: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; background: var(--pz-surface); border: 1px solid var(--pz-border); border-radius: var(--pz-radius); }
.pz-footer-features__item { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .92em; }
.pz-footer-features__icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--pz-primary-soft); color: var(--pz-primary); }
.pz-footer { background: var(--pz-footer-bg); color: var(--pz-footer-text); margin-top: 40px; font-size: .92em; }
.pz-footer a:hover { color: #fff; }
.pz-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-block: 44px 28px; }
.pz-footer__col--brand .pz-logo__img { height: 54px; }
.pz-footer__about { margin: 14px 0; line-height: 2; opacity: .9; }
.pz-footer__title { font-size: 1em; color: #fff; padding-inline-start: 10px; border-inline-start: 3px solid var(--pz-secondary); margin-bottom: 14px; }
.pz-footer__links, .pz-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pz-footer__links a { opacity: .88; transition: opacity .15s, padding .15s; }
.pz-footer__links a:hover { opacity: 1; padding-inline-start: 4px; }
.pz-footer__contact li { display: flex; align-items: flex-start; gap: 10px; }
.pz-footer__contact .pz-icon { margin-top: .35em; color: var(--pz-secondary); filter: brightness(1.6); }
.pz-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.pz-social a { width: 38px; height: 38px; border-radius: 50%; background: rgb(255 255 255 / 9%); display: grid; place-items: center; }
.pz-social a:hover { background: var(--pz-primary); color: var(--pz-primary-ink); }
.pz-footer__bottom { border-top: 1px solid rgb(255 255 255 / 8%); }
.pz-footer__bottom-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-block: 16px; font-size: .88em; }
.pz-footer__copy, .pz-credit { margin: 0; }
.pz-footer__bottom-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.pz-footer__badges { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; padding-block: 0 24px; }
.pz-footer-apps { margin-block-start: 18px; }
.pz-footer-apps__title { margin: 0 0 10px; font-weight: 700; font-size: .92em; }
.pz-footer-apps__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pz-footer-apps__link { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 10px; border: 1px solid rgb(255 255 255 / 18%); background: rgb(255 255 255 / 6%); font-size: .88em; font-weight: 700; transition: background .15s, border-color .15s; }
.pz-footer-apps__link:hover { background: var(--pz-primary); border-color: var(--pz-primary); color: var(--pz-primary-ink); }
.pz-footer--2 .pz-footer-apps__link { border-color: var(--pz-border); background: var(--pz-bg); }
.pz-footer__badge { width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 10px; padding: 4px; }
.pz-credit a { color: #fff; font-weight: 700; }
.pz-footer--2 { background: var(--pz-surface); color: var(--pz-text); border-top: 1px solid var(--pz-border); }
.pz-footer--2 .pz-footer__title { color: var(--pz-text); }
.pz-footer--2 a:hover { color: var(--pz-primary); }
.pz-footer--2 .pz-social a { background: var(--pz-bg); }
.pz-footer--2 .pz-credit a { color: var(--pz-primary); }
.pz-footer--3 .pz-footer__grid { grid-template-columns: 1fr 1fr 1fr; padding-block: 28px 18px; }

.pz-totop { position: fixed; inset-inline-end: 20px; bottom: 20px; z-index: 40; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--pz-secondary); color: var(--pz-secondary-ink); cursor: pointer; box-shadow: var(--pz-shadow); display: grid; place-items: center; }
.pz-totop__icon { transform: rotate(180deg); }
.pz-totop[hidden] { display: none; }

/* ------------------------------------------------------------ pages & posts */
.pz-page { padding-block: 24px 40px; }
.pz-page__head { margin-bottom: 20px; }
.pz-page__title { font-size: clamp(1.4em, 2.4vw, 2em); }
.pz-page__lead { color: var(--pz-muted); }
.pz-breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .85em; color: var(--pz-muted); margin-bottom: 10px; }
.pz-breadcrumb a:hover { color: var(--pz-primary); }
.pz-content { background: var(--pz-surface); border: 1px solid var(--pz-border); border-radius: var(--pz-radius); padding: clamp(16px, 3vw, 32px); }
.pz-entry > *:first-child { margin-top: 0; }
.pz-entry img { border-radius: var(--pz-radius-sm); }
.pz-entry a { color: var(--pz-primary); text-decoration: underline; text-underline-offset: 3px; }
.pz-entry table { width: 100%; border-collapse: collapse; }
.pz-entry th, .pz-entry td { border: 1px solid var(--pz-border); padding: 8px 12px; }
.pz-page--article { max-width: 920px; }
.pz-article__meta { display: flex; align-items: center; gap: 6px; color: var(--pz-muted); font-size: .88em; }
.pz-article__cover img { width: 100%; border-radius: var(--pz-radius); margin-bottom: 20px; }
.pz-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-block: 24px; }
.pz-post-nav a { display: flex; flex-direction: column; padding: 14px 18px; background: var(--pz-surface); border: 1px solid var(--pz-border); border-radius: var(--pz-radius-sm); }
.pz-post-nav small { color: var(--pz-muted); }

.pz-posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pz-post-card { background: var(--pz-surface); border: 1px solid var(--pz-border); border-radius: var(--pz-radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s; }
.pz-post-card:hover { box-shadow: var(--pz-shadow); }
.pz-post-card__media { position: relative; }
.pz-post-card__media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.pz-post-card__cat { position: absolute; top: 12px; inset-inline-start: 12px; padding: .15em .8em; border-radius: 999px; background: var(--pz-primary); color: var(--pz-primary-ink); font-size: .75em; font-weight: 700; line-height: 1.9; }
.pz-post-card__cat:hover { color: var(--pz-primary-ink); filter: brightness(.92); }
.pz-post-card__placeholder { display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--pz-bg); color: var(--pz-muted); }
.pz-post-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pz-post-card__title { font-size: 1.05em; margin: 4px 0 0; }
.pz-post-card__excerpt { color: var(--pz-muted); font-size: .9em; margin: 0; flex: 1; }
.pz-post-card__meta { color: var(--pz-muted); font-size: .8em; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; }
.pz-post-card__meta > span { display: inline-flex; align-items: center; gap: 4px; }

.pz-pagination, .woocommerce-pagination { margin-top: 28px; display: flex; justify-content: center; }
.pz-pagination .nav-links, .woocommerce-pagination ul.page-numbers { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; border: 0 !important; }
.pz-pagination .page-numbers, .woocommerce-pagination .page-numbers li > * {
	min-width: 42px; height: 42px; display: grid; place-items: center; padding: 0 10px;
	background: var(--pz-surface); border: 1px solid var(--pz-border) !important; border-radius: var(--pz-radius-sm); font-weight: 700;
}
.woocommerce-pagination .page-numbers li { border: 0 !important; }
.pz-pagination .current, .woocommerce-pagination .page-numbers .current { background: var(--pz-accent) !important; border-color: var(--pz-accent) !important; color: var(--pz-accent-ink) !important; }

.pz-empty { padding: 32px; text-align: center; background: var(--pz-surface); border: 1px dashed var(--pz-border); border-radius: var(--pz-radius); }
.pz-404 { text-align: center; max-width: 640px; }
.pz-404__code { font-size: clamp(4em, 12vw, 8em); font-weight: 900; color: var(--pz-primary); line-height: 1; margin: 20px 0 0; }
.pz-404__search { margin: 20px auto; max-width: 520px; }

.pz-comments { margin-top: 32px; }
.pz-comments__list { list-style: none; padding: 0; }

/* ------------------------------------------------------------ home (theme fallback sections) */
.pz-home { display: flex; flex-direction: column; gap: 28px; padding-block: 20px 10px; }
.pz-section__title { position: relative; padding-inline-start: 12px; font-size: 1.25em; }
.pz-section__title::before { content: ""; position: absolute; inset-inline-start: 0; top: .25em; bottom: .25em; width: 4px; border-radius: 4px; background: var(--pz-secondary); }
/* Slider text stays readable on light photos (start side = text side in RTL). */
.pz-hero__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgb(0 0 0 / 60%), rgb(0 0 0 / 35%)); pointer-events: none; }
.pz-hero__content { position: relative; z-index: 1; }
.pz-hero--static { position: relative; border-radius: var(--pz-radius); overflow: hidden; background: var(--pz-secondary); color: var(--pz-secondary-ink); min-height: 320px; display: grid; }
.pz-hero--static .pz-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pz-hero--static .pz-hero__body { position: relative; padding: clamp(24px, 5vw, 56px); max-width: 560px; align-self: center; background: linear-gradient(to left, rgb(0 0 0 / 55%), transparent); }

/* trust strip */
.pz-site .pz-trust { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.pz-trust__item { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: var(--pz-surface); border: 1px solid var(--pz-border); border-radius: var(--pz-radius); }
.pz-trust__icon { color: var(--pz-secondary); }
.pz-trust__body { display: flex; flex-direction: column; line-height: 1.6; }
.pz-trust__body strong { font-size: .95em; }
.pz-trust__body small { color: var(--pz-muted); font-size: .8em; }

/* ------------------------------------------------------------ shop archive */
.pz-store { padding-block: 20px 40px; }
.pz-shop-hero {
	position: relative; overflow: hidden; border-radius: var(--pz-radius); margin-bottom: 20px;
	background: linear-gradient(135deg, var(--pz-secondary), var(--pz-primary-dark)); color: var(--pz-secondary-ink);
	min-height: 180px; display: grid; align-items: center;
}
.pz-shop-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.pz-shop-hero__body { position: relative; padding: clamp(20px, 4vw, 40px); }
.pz-shop-hero .pz-breadcrumb, .pz-shop-hero .pz-breadcrumb a { color: inherit; opacity: .9; }
.pz-shop-hero__title { font-size: clamp(1.5em, 3vw, 2.3em); margin: 0; }
.pz-shop-hero__text { opacity: .92; max-width: 640px; }
.pz-shop-hero__text p { margin: 0; }

.pz-shop { display: grid; gap: 24px; }
.pz-shop--with-filters { grid-template-columns: 290px minmax(0, 1fr); }
.pz-shop__sidebar { align-self: start; position: sticky; top: 140px; }
.pz-shop__toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 14px; padding: 10px 14px; background: var(--pz-surface); border: 1px solid var(--pz-border); border-radius: var(--pz-radius-sm); }
.pz-shop__count { flex: 1; color: var(--pz-muted); font-size: .88em; }
.pz-shop__count .woocommerce-result-count { margin: 0; }
.pz-shop__views { display: flex; gap: 4px; }
.pz-shop__view { width: 38px; height: 38px; border: 1px solid var(--pz-border); background: var(--pz-surface); border-radius: 8px; cursor: pointer; display: grid; place-items: center; color: var(--pz-muted); }
.pz-shop__view.is-active { background: var(--pz-accent); border-color: var(--pz-accent); color: var(--pz-accent-ink); }
.pz-shop__sort .woocommerce-ordering { margin: 0; }
.pz-shop__sort select { min-height: 40px; padding: 4px 12px; border: 1px solid var(--pz-border); border-radius: 8px; background: var(--pz-surface); }
.pz-shop__filters-toggle { display: none; }

/* filters */
.pz-filters { background: var(--pz-surface); border: 1px solid var(--pz-border); border-radius: var(--pz-radius); padding: 18px; }
.pz-filters__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.pz-filters__title { display: flex; align-items: center; gap: 8px; font-size: 1.05em; margin: 0; }
.pz-filters__close { display: none; background: none; border: 0; cursor: pointer; }
.pz-filters__group { border: 0; border-top: 1px solid var(--pz-border); margin: 0; padding: 14px 0; }
.pz-filters__group legend { font-weight: 800; padding: 0; margin-bottom: 8px; float: inline-start; width: 100%; }
.pz-filters__range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; clear: both; }
.pz-filters__range label { display: flex; flex-direction: column; font-size: .8em; color: var(--pz-muted); }
.pz-check { display: flex; align-items: center; gap: 8px; padding: 4px 0; cursor: pointer; clear: both; }
.pz-check input { width: 18px; height: 18px; accent-color: var(--pz-accent); }
.pz-check small { color: var(--pz-muted); margin-inline-start: auto; }
.pz-filters__actions { display: grid; gap: 10px; padding-top: 8px; }
.pz-filters__reset { display: inline-flex; justify-content: center; align-items: center; gap: 6px; font-weight: 700; font-size: .9em; }

/* products grid (+ WooCommerce's own ul.products used by related/upsells/shortcodes) */
.pz-products-grid, .woocommerce ul.products, ul.products {
	list-style: none; margin: 0; padding: 0; display: grid !important; gap: 16px;
	grid-template-columns: repeat(var(--pz-cols, 4), minmax(0, 1fr));
}
.pz-cols-3 { --pz-cols: 3; }
.pz-cols-4 { --pz-cols: 4; }
.pz-cols-5 { --pz-cols: 5; }
ul.products.columns-2 { --pz-cols: 2; }
ul.products.columns-3 { --pz-cols: 3; }
ul.products::before, ul.products::after { display: none !important; }
ul.products li.product, .pz-products-grid__item { width: auto !important; margin: 0 !important; float: none !important; }

.pz-card {
	position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%;
	padding: 14px; background: var(--pz-surface); border: 1px solid var(--pz-border); border-radius: var(--pz-radius);
	transition: box-shadow .15s, transform .15s;
}
.pz-card:hover { box-shadow: var(--pz-shadow); transform: translateY(-2px); }
.pz-card__sale { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; }
.pz-card__actions { position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.pz-card__action { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--pz-border); background: var(--pz-surface); cursor: pointer; display: grid; place-items: center; color: var(--pz-muted); }
.pz-card__action:hover, .pz-card__action.is-active { color: var(--pz-accent); border-color: var(--pz-accent); }
.pz-card__media { display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--pz-radius-sm); }
.pz-card__img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .3s; }
.pz-card:hover .pz-card__img { transform: scale(1.04); }
.pz-card__title { font-size: .95em; font-weight: 700; margin: 0; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 3.4em; }
.pz-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: .82em; }
.pz-rating { display: inline-flex; align-items: center; gap: 4px; color: var(--pz-text); font-weight: 700; }
.pz-rating small { color: var(--pz-muted); font-weight: 400; }
.pz-rating__star { color: #f5a524; fill: #f5a524; }
.pz-price { font-weight: 800; color: var(--pz-accent); font-size: 1.05em; }
.pz-price del { color: var(--pz-muted); font-weight: 400; font-size: .82em; margin-inline-end: 6px; }
.pz-price ins { text-decoration: none; }
.pz-card__price { margin-top: auto; }
.pz-card__cart { width: 100%; min-height: 42px; font-size: .9em; }
.pz-card__cart.added { filter: brightness(.9); }
.pz-card .added_to_cart { font-size: .82em; text-align: center; color: var(--pz-secondary); font-weight: 700; }

/* list view */
.pz-products-grid--list { grid-template-columns: 1fr !important; }
.pz-products-grid--list .pz-card { display: grid; grid-template-columns: 180px 1fr auto; grid-template-areas: "media title cart" "media meta cart" "media price cart"; align-items: center; column-gap: 20px; }
.pz-products-grid--list .pz-card__media { grid-area: media; }
.pz-products-grid--list .pz-card__title { grid-area: title; min-height: 0; }
.pz-products-grid--list .pz-card__meta { grid-area: meta; justify-content: flex-start; }
.pz-products-grid--list .pz-card__price { grid-area: price; }
.pz-products-grid--list .pz-card__cart { grid-area: cart; width: auto; }

/* ------------------------------------------------------------ single product */
.pz-product__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding: 20px; background: var(--pz-surface); border: 1px solid var(--pz-border); border-radius: var(--pz-radius); margin-bottom: 20px; }
.pz-product--2 .pz-product__top { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.pz-product--3 .pz-product__top { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); }
.pz-product__gallery .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0 !important; position: relative; }
.pz-product__gallery .flex-control-thumbs { display: flex; gap: 8px; list-style: none; padding: 0; margin: 10px 0 0; }
.pz-product__gallery .flex-control-thumbs li { width: 72px; }
.pz-product__gallery .flex-control-thumbs img { border: 1px solid var(--pz-border); border-radius: 8px; cursor: pointer; opacity: .7; }
.pz-product__gallery .flex-control-thumbs img.flex-active, .pz-product__gallery .flex-control-thumbs img:hover { opacity: 1; border-color: var(--pz-accent); }
.pz-product__gallery .woocommerce-product-gallery__image img { border-radius: var(--pz-radius-sm); }
.pz-product__summary { width: auto !important; float: none !important; display: flex; flex-direction: column; gap: 12px; }
.pz-product__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pz-product__title { font-size: clamp(1.25em, 2.2vw, 1.7em); margin: 0; }
.pz-product__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--pz-muted); font-size: .88em; }
.pz-product__excerpt { color: var(--pz-muted); }
.pz-product__excerpt p { margin: 0; }
.pz-product__highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pz-product__highlights li { display: flex; align-items: center; gap: 8px; }
.pz-product__highlights .pz-icon { color: var(--pz-secondary); }
.pz-product__price { font-size: 1.6em; font-weight: 900; color: var(--pz-accent); }
.pz-product__price del { font-size: .55em; color: var(--pz-muted); font-weight: 400; }
.pz-product__price ins { text-decoration: none; }
.pz-product__cart form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; margin: 0; }
.pz-product__cart .quantity { display: flex; }
.pz-product__cart .quantity .qty { width: 80px; min-height: 52px; text-align: center; border: 1px solid var(--pz-border); border-radius: var(--pz-radius-sm); }
.pz-product__cart .single_add_to_cart_button {
	flex: 1; min-height: 52px; border: 0 !important; border-radius: var(--pz-radius-sm) !important;
	background: var(--pz-primary) !important; color: var(--pz-primary-ink) !important; font-weight: 800 !important; font-size: 1.05em !important;
}
.pz-product__cart .single_add_to_cart_button:hover { filter: brightness(.92); }
.pz-product__cart table.variations { width: 100%; margin-bottom: 8px; }
.pz-product__cart table.variations select { min-height: 42px; border-radius: 8px; border: 1px solid var(--pz-border); padding: 4px 10px; width: 100%; }
.pz-product__cart .woocommerce-variation-add-to-cart { display: flex; gap: 10px; width: 100%; }
.pz-product__secondary { display: flex; flex-wrap: wrap; gap: 10px; }
.pz-product__secondary .pz-btn { flex: 1; min-width: 140px; }

.pz-tabs { background: var(--pz-surface); border: 1px solid var(--pz-border); border-radius: var(--pz-radius); padding: 14px clamp(14px, 2.5vw, 24px) 24px; margin-bottom: 24px; }
.pz-tabs__list { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--pz-border); padding-bottom: 12px; margin-bottom: 18px; }
.pz-tabs__tab { border: 0; background: transparent; padding: 10px 20px; border-radius: var(--pz-radius-sm); font-weight: 700; cursor: pointer; color: var(--pz-muted); }
.pz-tabs__tab.is-active { background: var(--pz-accent); color: var(--pz-accent-ink); }
.pz-block-title { position: relative; padding-inline-start: 12px; font-size: 1.1em; }
.pz-block-title::before { content: ""; position: absolute; inset-inline-start: 0; top: .25em; bottom: .25em; width: 4px; border-radius: 4px; background: var(--pz-secondary); }
.pz-specs { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; }
.pz-specs__table table { width: 100%; border-collapse: collapse; font-size: .92em; }
.pz-specs__table th, .pz-specs__table td { text-align: start; padding: 9px 12px; border-bottom: 1px solid var(--pz-border); }
.pz-specs__table th { width: 40%; color: var(--pz-muted); font-weight: 600; }
.pz-specs__table tr:nth-child(odd) { background: var(--pz-bg); }
.pz-specs__box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pz-specs__box li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: 1px solid var(--pz-border); border-radius: var(--pz-radius-sm); }
.pz-specs__box .pz-icon { color: var(--pz-muted); }
.pz-info-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 20px; }
.pz-info-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--pz-radius); background: var(--pz-bg); }
.pz-info-card--primary { background: var(--pz-primary-soft); }
.pz-info-card h3 { font-size: 1em; margin: 0 0 4px; }
.pz-info-card p { margin: 0; color: var(--pz-muted); font-size: .9em; }
.pz-info-card__icon { color: var(--pz-secondary); }
.pz-faq { display: grid; gap: 10px; }
.pz-faq__item { border: 1px solid var(--pz-border); border-radius: var(--pz-radius-sm); background: var(--pz-surface); }
.pz-faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; font-weight: 700; list-style: none; }
.pz-faq__item summary::-webkit-details-marker { display: none; }
.pz-faq__item[open] summary .pz-icon { transform: rotate(180deg); }
.pz-faq__item p { margin: 0; padding: 0 16px 14px; color: var(--pz-muted); }
.related.products > h2, .upsells.products > h2 { position: relative; padding-inline-start: 12px; font-size: 1.2em; margin-bottom: 14px; }
.related.products > h2::before, .upsells.products > h2::before { content: ""; position: absolute; inset-inline-start: 0; top: .25em; bottom: .25em; width: 4px; border-radius: 4px; background: var(--pz-secondary); }
.related.products, .upsells.products { margin-top: 24px; }

/* WooCommerce notices / generic buttons polish */
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-radius: var(--pz-radius-sm); border-top-color: var(--pz-primary) !important; background: var(--pz-surface) !important; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	border-radius: var(--pz-radius-sm) !important; background: var(--pz-primary) !important; color: var(--pz-primary-ink) !important; font-weight: 700 !important;
}
.woocommerce a.button.alt, .woocommerce button.button.alt { background: var(--pz-accent) !important; color: var(--pz-accent-ink) !important; }

/* Elementor: let full-width sections breathe edge to edge */
.elementor-page .pz-main > .elementor, .page-template-full-width .pz-main > .elementor { width: 100%; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
	.pz-footer__grid { grid-template-columns: 1fr 1fr 1fr; }
	.pz-footer__col--brand { grid-column: 1 / -1; }
	.pz-shop--with-filters { grid-template-columns: 250px minmax(0, 1fr); }
	.pz-products-grid { --pz-cols: 3; }
	.pz-action__label:not(.pz-action__label--cart) { display: none; }
}

@media (max-width: 900px) {
	.pz-header__burger { display: inline-grid; }
	.pz-header__navbar, .pz-mainnav--inline { display: none; }
	.pz-header__main { min-height: 64px; gap: 12px; flex-wrap: wrap; padding-block: 8px; }
	.pz-header__brand { flex: 1; text-align: center; }
	.pz-logo__img { height: calc(var(--pz-logo-h) * .75); }
	.pz-header__search { order: 10; flex-basis: 100%; max-width: none; }
	.pz-header__actions { gap: 12px; }
	.pz-action__label--cart, .pz-action--wishlist, .pz-action--compare, .pz-action__chevron { display: none; }
	.pz-action { padding: 4px; }
	.pz-action__icon { width: 38px; height: 38px; background: none; }
	.pz-header--3 .pz-header__main { display: flex; }
	.pz-header__actions .pz-langs { display: none; }
	.pz-header__brand { min-width: 0; }
	.pz-header__brand .pz-logo__img { max-width: 100%; }
	.admin-bar.pz-sticky-header .pz-header { top: 46px; }

	.pz-shop--with-filters { grid-template-columns: 1fr; }
	.pz-shop__filters-toggle { display: inline-flex; }
	.pz-shop__sidebar { position: fixed; inset: 0; z-index: 210; background: rgb(0 0 0 / 45%); padding: 0; display: none; top: 0; }
	.pz-shop__sidebar.is-open { display: block; }
	.pz-shop__sidebar .pz-filters { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(90vw, 360px); overflow-y: auto; border-radius: 0; }
	.pz-filters__close { display: inline-grid; }

	.pz-product__top { grid-template-columns: 1fr !important; padding: 14px; }
	.pz-specs, .pz-info-cards { grid-template-columns: 1fr; }
	.pz-posts-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
	.pz-products-grid, ul.products { --pz-cols: 2 !important; gap: 10px; }
	.pz-card { padding: 10px; }
	.pz-card__title { font-size: .85em; }
	.pz-products-grid--list .pz-card { grid-template-columns: 110px 1fr; grid-template-areas: "media title" "media meta" "media price" "cart cart"; }
	.pz-posts-grid { grid-template-columns: 1fr; }
	.pz-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px; }
	.pz-footer__bottom-row { justify-content: center; text-align: center; }
	.pz-topbar__list { justify-content: flex-start; }
	.pz-post-nav { grid-template-columns: 1fr; }
	.pz-shop__views { display: none; }
}

/* WordPress content classes */
.alignleft { float: inline-start; margin-block: 4px 12px; margin-inline-end: 20px; }
.alignright { float: inline-end; margin-block: 4px 12px; margin-inline-start: 20px; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide, .alignfull { clear: both; }
.wp-caption { max-width: 100%; margin-block-end: 16px; }
.wp-caption img { display: block; max-width: 100%; height: auto; }
.wp-caption-text, .gallery-caption { margin-block-start: 6px; font-size: .86em; color: var(--pz-muted); text-align: center; }
.sticky .pz-post-card, .pz-post-card.sticky { box-shadow: inset 0 3px 0 var(--pz-primary); }
.bypostauthor > .comment-body .fn::after { content: "★"; margin-inline-start: 6px; color: var(--pz-primary); font-size: .8em; }

@media (max-width: 600px) {
	.pz-topbar__list { -webkit-mask-image: linear-gradient(to left, #000 85%, transparent); mask-image: linear-gradient(to left, #000 85%, transparent); }
	[dir="rtl"] .pz-topbar__list, .rtl .pz-topbar__list { -webkit-mask-image: linear-gradient(to right, #000 85%, transparent); mask-image: linear-gradient(to right, #000 85%, transparent); }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

.pz-credit a { display: inline-flex; align-items: center; gap: 6px; }
.pz-credit__mark { width: 18px; height: 18px; object-fit: contain; background: #fff; border-radius: 4px; padding: 1px; }

/* ------------------------------------------------------------ OTP login (parkside-core) */
.pz-otp-box { max-width: 460px; margin: 24px auto 0; }
.pz-otp-divider { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; color: var(--pz-muted); font-size: .9em; }
.pz-otp-divider::before, .pz-otp-divider::after { content: ""; flex: 1; height: 1px; background: var(--pz-border); }
.pz-otp { padding: 20px; background: var(--pz-surface); border: 1px solid var(--pz-border); border-radius: var(--pz-radius); }
.pz-otp__step { display: grid; gap: 10px; }
.pz-otp__step[hidden], .pz-otp [hidden] { display: none !important; }
.pz-otp__label { font-weight: 700; font-size: .92em; }
.pz-otp__input { width: 100%; min-height: 46px; text-align: center; letter-spacing: .08em; }
.pz-otp__input--code { font-size: 1.3em; letter-spacing: .4em; }
.pz-otp__hint { margin: 0; color: var(--pz-muted); font-size: .85em; text-align: center; }
.pz-otp__error { margin: 0; color: var(--pz-accent); font-size: .88em; font-weight: 600; }
.pz-otp__notice { margin: 12px 0 0; padding: 10px 12px; border-radius: var(--pz-radius-sm); background: var(--pz-primary-soft); font-size: .9em; }
.pz-otp__row { display: flex; justify-content: space-between; gap: 10px; }
.pz-otp__link { border: 0; background: none; padding: 4px 0; color: var(--pz-primary); font-weight: 600; font-size: .88em; cursor: pointer; }
.pz-otp__link:disabled { color: var(--pz-muted); cursor: default; }

/* ------------------------------------------------------------ left-to-right languages */
/* Layout uses logical properties, so it mirrors by itself; only arrows that
   point "forward" need flipping. */
[dir="ltr"] .pz-icon--chevron-left, [dir="ltr"] .pz-icon--chevron-right, [dir="ltr"] .pz-icon--arrow-left { transform: scaleX(-1); }

/* ------------------------------------------------------------ language switcher */
.pz-langs { position: relative; }
.pz-langs__toggle { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 4px 10px; border: 1px solid var(--pz-border); border-radius: 999px; background: var(--pz-surface); cursor: pointer; font-weight: 700; font-size: .88em; }
.pz-langs__toggle .pz-icon--chevron-down { transition: transform .15s; }
.pz-langs.is-open .pz-langs__toggle .pz-icon--chevron-down { transform: rotate(180deg); }
.pz-langs__list { list-style: none; margin: 0; padding: 6px; display: grid; gap: 2px; }
.pz-langs--dropdown .pz-langs__list { position: absolute; top: calc(100% + 6px); inset-inline-end: 0; z-index: 120; min-width: 170px; background: var(--pz-surface); border: 1px solid var(--pz-border); border-radius: var(--pz-radius-sm); box-shadow: var(--pz-shadow); }
.pz-langs--dropdown .pz-langs__list[hidden] { display: none; }
.pz-langs__link { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border-radius: 8px; font-weight: 600; font-size: .9em; }
.pz-langs__link:hover, .pz-langs__link[aria-current] { background: var(--pz-bg); color: var(--pz-primary); }
.pz-langs__link img, .pz-langs__toggle img { width: 18px; height: 12px; object-fit: cover; border-radius: 2px; }
.pz-langs__code { text-transform: uppercase; font-size: .8em; letter-spacing: .04em; }
.pz-langs--inline .pz-langs__list { display: flex; flex-wrap: wrap; padding: 0; gap: 6px; }
.pz-langs--inline .pz-langs__link { padding: 4px 10px; border: 1px solid var(--pz-border); border-radius: 999px; }
.pz-footer .pz-langs--inline .pz-langs__link { border-color: rgb(255 255 255 / 18%); color: var(--pz-footer-text); }
.pz-footer .pz-langs--inline .pz-langs__link[aria-current] { background: rgb(255 255 255 / 10%); color: #fff; }
.pz-drawer .pz-langs { padding: 12px 16px; border-top: 1px solid var(--pz-border); }
