/* ==========================================================================
   Bazaar Marketplace theme
   Colours --bz-primary / --bz-accent come from the Customizer (inline style).
   ========================================================================== */

:root {
	--bz-primary: #f85606;
	--bz-primary-dark: #d54a05;
	--bz-primary-soft: #fff1ea;
	--bz-accent: #2abbe8;
	--bz-accent-dark: #2298bd;
	--bz-bg: #eff0f5;
	--bz-surface: #ffffff;
	--bz-text: #212121;
	--bz-text-2: #424242;
	--bz-muted: #757575;
	--bz-faint: #9e9e9e;
	--bz-line: #e8e8ee;
	--bz-star: #faca51;
	--bz-good: #1e9e5a;
	--bz-footer: #1f2235;
	--bz-footer-2: #171a2b;
	--bz-radius: 4px;
	--bz-radius-lg: 8px;
	--bz-shadow: 0 1px 2px rgba(0, 0, 0, .06);
	--bz-shadow-hover: 0 4px 16px rgba(0, 0, 0, .12);
	--bz-wrap: 1200px;
	--bz-font: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bz-bg);
	color: var(--bz-text);
	font: 14px/1.5 var(--bz-font);
	-webkit-font-smoothing: antialiased;
}
body.bz-locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--bz-primary); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.3; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--bz-accent); outline-offset: 2px; }
[hidden] { display: none !important; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; width: auto; height: auto; z-index: 1000; top: 8px; left: 8px;
	background: #fff; padding: 10px 14px; border-radius: var(--bz-radius);
}
.bz-wrap { width: 100%; max-width: var(--bz-wrap); margin: 0 auto; padding: 0 16px; }
.bz-main { min-height: 50vh; padding-bottom: 32px; }
.bz-icon { flex: none; }

/* Buttons --------------------------------------------------------------- */
.bz-btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	min-height: 40px; padding: 0 18px;
	background: var(--bz-primary); color: #fff;
	border: 1px solid var(--bz-primary); border-radius: var(--bz-radius);
	font-size: 14px; font-weight: 500; line-height: 1.2; text-align: center;
	transition: background .15s, border-color .15s, color .15s;
}
.bz-btn:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
	background: var(--bz-primary-dark); border-color: var(--bz-primary-dark); color: #fff;
}
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled],
.woocommerce button.button.alt.disabled, .woocommerce button.button.disabled {
	background: #cfcfcf; border-color: #cfcfcf; color: #fff; opacity: 1; padding: 0 18px;
}
.bz-btn--outline { background: #fff; color: var(--bz-primary); }
.bz-btn--outline:hover { background: var(--bz-primary); color: #fff; }
.bz-btn--accent { background: var(--bz-accent); border-color: var(--bz-accent); }
.bz-btn--accent:hover { background: var(--bz-accent-dark); border-color: var(--bz-accent-dark); }
.bz-btn--ghost { background: #fff; color: var(--bz-text-2); border-color: var(--bz-line); }
.bz-btn--ghost:hover { background: #fafafa; color: var(--bz-primary); border-color: var(--bz-primary); }
.bz-btn--wide { min-width: 280px; }
.bz-btn--sq { min-height: 34px; width: 34px; padding: 0; }
.bz-btn:disabled { opacity: .6; cursor: default; }
.bz-iconbtn {
	display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; padding: 0; border: 0; background: none; border-radius: 50%;
	color: inherit; position: relative;
}
.bz-iconbtn:hover { background: rgba(0, 0, 0, .06); color: inherit; }

/* Boxes and section titles --------------------------------------------- */
.bz-box { background: var(--bz-surface); border-radius: var(--bz-radius); box-shadow: var(--bz-shadow); padding: 16px; }
.bz-box__title { font-size: 16px; color: var(--bz-text-2); padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--bz-line); }
.bz-section { margin-top: 28px; }
.bz-section__title { font-size: 22px; font-weight: 400; color: var(--bz-text-2); margin: 0 0 10px; }
.bz-empty { text-align: center; padding: 48px 16px; color: var(--bz-muted); }
.bz-empty .bz-icon { margin: 0 auto 12px; color: #c8c8d0; }
.bz-empty p { max-width: 420px; margin: 0 auto 18px; }
.bz-prose { color: var(--bz-text-2); line-height: 1.7; overflow-wrap: anywhere; }
.bz-prose img { margin: 12px 0; }
.bz-prose ul { padding-left: 20px; }

/* Stars ----------------------------------------------------------------- */
.bz-stars {
	--bz-star-size: 12px;
	position: relative; display: inline-block; vertical-align: middle;
	width: calc(var(--bz-star-size) * 5); height: var(--bz-star-size);
	background: linear-gradient(#ddd, #ddd);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.5L12 17.3l-5.9 3.2 1.3-6.5L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") 0 0 / var(--bz-star-size) var(--bz-star-size) repeat-x;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.5L12 17.3l-5.9 3.2 1.3-6.5L2.5 9.4l6.6-.8z'/%3E%3C/svg%3E") 0 0 / var(--bz-star-size) var(--bz-star-size) repeat-x;
}
.bz-stars__fill { position: absolute; inset: 0 auto 0 0; background: var(--bz-star); }

/* Header ---------------------------------------------------------------- */
.bz-header { background: var(--bz-primary); color: #fff; position: sticky; top: 0; z-index: 50; }
.admin-bar .bz-header { top: 32px; }
.bz-topbar { font-size: 12px; }
.bz-topbar__in { display: flex; justify-content: space-between; align-items: center; height: 30px; }
.bz-topbar a { color: #fff; opacity: .95; }
.bz-topbar a:hover { opacity: 1; text-decoration: underline; color: #fff; }
.bz-topbar__links { display: flex; gap: 22px; text-transform: uppercase; letter-spacing: .02em; }
.bz-mainbar__in { display: flex; align-items: center; gap: 24px; height: 72px; }
.bz-mainbar__menu { display: none; color: #fff; }
.bz-mainbar__logo { flex: none; }
.bz-logo { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.bz-logo:hover { color: #fff; }
.bz-logo__mark { display: inline-flex; width: 36px; height: 36px; border-radius: 9px; background: #fff; color: var(--bz-primary); align-items: center; justify-content: center; }
.bz-logo__text { font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.custom-logo-link img { max-height: 48px; width: auto; }

.bz-search { flex: 1; position: relative; display: flex; max-width: 780px; }
.bz-search__input {
	flex: 1; height: 44px; padding: 0 16px; border: 0; border-radius: var(--bz-radius) 0 0 var(--bz-radius);
	background: #fff; color: var(--bz-text); font-size: 14px; min-width: 0;
}
.bz-search__input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--bz-primary-soft); }
.bz-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.bz-search__btn {
	width: 52px; height: 44px; border: 0; border-radius: 0 var(--bz-radius) var(--bz-radius) 0;
	background: var(--bz-primary-soft); color: var(--bz-primary);
	display: inline-flex; align-items: center; justify-content: center;
}
.bz-search__btn:hover { background: #ffe0cf; }
.bz-search__results {
	position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 60;
	background: #fff; color: var(--bz-text); border-radius: var(--bz-radius);
	box-shadow: var(--bz-shadow-hover); max-height: 70vh; overflow: auto; padding: 6px 0;
}
.bz-sr { display: flex; align-items: center; gap: 10px; padding: 8px 14px; font-size: 13px; }
.bz-sr:hover, .bz-sr.is-active { background: #f5f5f7; color: var(--bz-text); }
.bz-sr img { width: 40px; height: 40px; object-fit: contain; border-radius: 3px; background: #fafafa; }
.bz-sr__t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bz-sr__p { color: var(--bz-primary); font-weight: 500; white-space: nowrap; }
.bz-sr__tag { font-size: 11px; background: var(--bz-primary-soft); color: var(--bz-primary); padding: 1px 6px; border-radius: 3px; }
.bz-sr--all { justify-content: center; color: var(--bz-primary); border-top: 1px solid var(--bz-line); margin-top: 4px; }
.bz-sr__empty { margin: 0; padding: 14px; color: var(--bz-muted); text-align: center; }
.bz-mainbar__wish, .bz-cartbtn { color: #fff; }
.bz-mainbar__wish:hover, .bz-cartbtn:hover { color: #fff; background: rgba(255, 255, 255, .15); }
.bz-cart-count {
	position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 9px; background: #fff; color: var(--bz-primary);
	font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}

/* Drawer ---------------------------------------------------------------- */
.bz-drawer { position: fixed; inset: 0; z-index: 200; }
.bz-drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.bz-drawer__panel {
	position: absolute; top: 0; bottom: 0; left: 0; width: min(320px, 86vw);
	background: #fff; overflow: auto; animation: bz-slide-in .2s ease-out;
}
@keyframes bz-slide-in { from { transform: translateX(-100%); } to { transform: none; } }
.bz-drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 12px 16px; background: var(--bz-primary); }
.bz-drawer__head .bz-iconbtn { color: #fff; }
.bz-drawer__list, .bz-drawer__list ul { list-style: none; margin: 0; padding: 0; }
.bz-drawer__list > li { border-bottom: 1px solid var(--bz-line); }
.bz-drawer__list summary { display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; list-style: none; color: var(--bz-text-2); }
.bz-drawer__list summary::-webkit-details-marker { display: none; }
.bz-drawer__list summary span { flex: 1; }
.bz-drawer__list details[open] .bz-drawer__chev { transform: rotate(180deg); }
.bz-drawer__list ul a { display: block; padding: 10px 16px 10px 48px; color: var(--bz-muted); font-size: 13px; }
.bz-drawer__list ul li:last-child a { padding-bottom: 16px; }

/* Homepage hero --------------------------------------------------------- */
.bz-home__wrap { padding-top: 16px; }
.bz-hero { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 16px; position: relative; }
.bz-catmenu { background: #fff; border-radius: var(--bz-radius); box-shadow: var(--bz-shadow); position: relative; }
.bz-catmenu__list { list-style: none; margin: 0; padding: 8px 0; }
.bz-catmenu__item > a {
	display: flex; align-items: center; gap: 10px; padding: 6px 14px; font-size: 13px; color: var(--bz-text-2); line-height: 1.6;
}
.bz-catmenu__item > a span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bz-catmenu__item > a .bz-icon:first-child { color: var(--bz-muted); }
.bz-catmenu__item:hover > a, .bz-catmenu__item:focus-within > a { background: var(--bz-bg); color: var(--bz-primary); }
.bz-catmenu__item:hover > a .bz-icon:first-child { color: var(--bz-primary); }
.bz-catmenu__chev { color: var(--bz-faint); }
.bz-catmenu__fly {
	display: none; position: absolute; left: 100%; top: 0; bottom: 0; z-index: 20;
	width: 260px; background: #fff; border-left: 1px solid var(--bz-line);
	box-shadow: 6px 0 16px rgba(0, 0, 0, .08); padding: 12px 0; border-radius: 0 var(--bz-radius) var(--bz-radius) 0; overflow: auto;
}
.bz-catmenu__item:hover .bz-catmenu__fly, .bz-catmenu__item:focus-within .bz-catmenu__fly { display: block; }
.bz-catmenu__flytitle { margin: 0 0 6px; padding: 0 16px; font-weight: 500; }
.bz-catmenu__fly ul { list-style: none; margin: 0; padding: 0; }
.bz-catmenu__fly li a { display: flex; justify-content: space-between; padding: 6px 16px; font-size: 13px; color: var(--bz-text-2); }
.bz-catmenu__fly li a:hover { background: var(--bz-bg); color: var(--bz-primary); }
.bz-catmenu__fly small { color: var(--bz-faint); }

.bz-slider { position: relative; overflow: hidden; border-radius: var(--bz-radius); min-height: 344px; background: #ddd; }
.bz-slider__track { display: flex; height: 100%; transition: transform .5s ease; }
.bz-slide { flex: 0 0 100%; height: 100%; }
.bz-slide > a { display: block; height: 100%; }
.bz-slide__img { width: 100%; height: 100%; object-fit: cover; }
.bz-slide--auto > a {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	min-height: 344px; height: 100%; padding: 32px 56px; color: #fff; position: relative; overflow: hidden;
	background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .25), transparent 40%), linear-gradient(120deg, var(--c1), var(--c2));
}
.bz-slide--auto > a::after {
	content: ""; position: absolute; right: -80px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%;
	background: rgba(255, 255, 255, .12);
}
.bz-slide--auto > a:hover { color: #fff; }
.bz-slide__copy { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; max-width: 46%; }
.bz-slide__kicker { display: inline-block; align-self: flex-start; background: rgba(0, 0, 0, .18); padding: 3px 10px; border-radius: 20px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.bz-slide__title { font-size: 40px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.bz-slide__line { font-size: 17px; opacity: .95; }
.bz-slide__cta { margin-top: 14px; align-self: flex-start; background: #fff; color: var(--c1); font-weight: 700; padding: 10px 22px; border-radius: 24px; }
.bz-slide__pics { position: relative; z-index: 1; flex: 1; height: 280px; max-width: 50%; }
.bz-slide__pic { position: absolute; background: #fff; border-radius: 14px; padding: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.bz-slide__pic img { width: 100%; height: 100%; object-fit: contain; }
.bz-slide__pic--0 { width: 200px; height: 200px; right: 30%; top: 40px; z-index: 2; }
.bz-slide__pic--1 { width: 150px; height: 150px; right: 0; top: 0; transform: rotate(6deg); }
.bz-slide__pic--2 { width: 140px; height: 140px; right: 6%; bottom: 0; transform: rotate(-5deg); }
.bz-slider__arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
	width: 36px; height: 56px; border: 0; background: rgba(0, 0, 0, .2); color: #fff;
	display: inline-flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .2s;
}
.bz-slider:hover .bz-slider__arrow, .bz-slider__arrow:focus-visible { opacity: 1; }
.bz-slider__arrow:hover { background: rgba(0, 0, 0, .4); }
.bz-slider__arrow--prev { left: 0; border-radius: 0 4px 4px 0; }
.bz-slider__arrow--next { right: 0; border-radius: 4px 0 0 4px; }
.bz-slider__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.bz-slider__dots button { width: 10px; height: 10px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: transparent; }
.bz-slider__dots button[aria-current] { background: #fff; }

.bz-perks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.bz-perks li { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: var(--bz-radius); padding: 12px 14px; box-shadow: var(--bz-shadow); font-size: 13px; color: var(--bz-muted); }
.bz-perks .bz-icon { color: var(--bz-primary); }
.bz-perks strong { color: var(--bz-text); font-weight: 500; display: block; }

/* Flash sale ------------------------------------------------------------ */
.bz-flash .bz-box { padding: 0; }
.bz-flash__head { display: flex; align-items: center; gap: 24px; padding: 12px 16px; border-bottom: 1px solid var(--bz-line); }
.bz-flash__now { color: var(--bz-primary); font-weight: 500; font-size: 15px; }
.bz-flash__ends { display: flex; align-items: center; gap: 10px; flex: 1; color: var(--bz-text-2); }
.bz-flash__head .bz-btn { min-height: 36px; text-transform: uppercase; font-size: 13px; }
.bz-flash .bz-grid { padding: 12px; }
.bz-countdown { display: inline-flex; align-items: center; gap: 4px; }
.bz-countdown b { display: inline-block; min-width: 30px; padding: 4px 4px; border-radius: 3px; background: var(--bz-primary); color: #fff; text-align: center; font-weight: 500; font-variant-numeric: tabular-nums; }
.bz-countdown i { font-style: normal; color: var(--bz-primary); font-weight: 700; }
.bz-countdown--light b { background: #fff; color: var(--bz-primary); }
.bz-countdown--light i { color: #fff; }

/* Product grid and card ------------------------------------------------- */
.bz-grid { display: grid; gap: 12px; }
.bz-grid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.bz-grid--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.bz-card {
	display: flex; flex-direction: column; background: #fff; border-radius: var(--bz-radius);
	overflow: hidden; transition: box-shadow .15s, transform .15s; color: var(--bz-text); height: 100%;
}
.bz-card:hover { box-shadow: var(--bz-shadow-hover); color: var(--bz-text); }
.bz-flash .bz-card { box-shadow: none; }
.bz-card__img { position: relative; display: block; aspect-ratio: 1; background: #fff; }
.bz-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.bz-card__soldout { position: absolute; inset: auto 0 0 0; background: rgba(0, 0, 0, .55); color: #fff; font-size: 12px; text-align: center; padding: 4px; }
.bz-card__body { display: flex; flex-direction: column; gap: 4px; padding: 8px 10px 12px; flex: 1; }
.bz-card__title {
	font-size: 14px; line-height: 18px; height: 36px; color: var(--bz-text);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bz-card__price { color: var(--bz-primary); font-size: 18px; line-height: 1.2; }
.bz-card__price .woocommerce-Price-amount { font-weight: 400; }
.bz-card__old { font-size: 12px; color: var(--bz-faint); }
.bz-card__off { color: var(--bz-text); margin-left: 4px; }
.bz-card__rating { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--bz-faint); margin-top: auto; }
.bz-card__bar { display: block; height: 6px; border-radius: 3px; background: #f3d7c9; overflow: hidden; margin-top: 6px; }
.bz-card__bar span { display: block; height: 100%; background: var(--bz-primary); border-radius: 3px; }
.bz-card__sold { font-size: 12px; color: var(--bz-muted); }

/* WooCommerce loops (related, shortcodes, store pages) ------------------ */
.woocommerce ul.products, .woocommerce-page ul.products, ul.products {
	display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0 0 24px; padding: 0; list-style: none;
}
.woocommerce ul.products::before, .woocommerce ul.products::after, ul.products::before, ul.products::after { display: none !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product, ul.products li.bz-li {
	width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; list-style: none;
}

/* Category tiles -------------------------------------------------------- */
.bz-cattiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); background: #fff; border-radius: var(--bz-radius); box-shadow: var(--bz-shadow); overflow: hidden; }
.bz-cattile { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; text-align: center; font-size: 13px; color: var(--bz-text-2); border-right: 1px solid var(--bz-line); border-bottom: 1px solid var(--bz-line); transition: box-shadow .15s; }
.bz-cattile:hover { box-shadow: inset 0 0 0 1px var(--bz-primary), var(--bz-shadow-hover); color: var(--bz-text); position: relative; }
.bz-cattile img { width: 80px; height: 80px; object-fit: contain; }
.bz-cattile span { line-height: 1.3; }

.bz-loadmore { text-align: center; margin-top: 20px; }

/* Breadcrumbs ----------------------------------------------------------- */
.bz-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 14px 0; font-size: 13px; color: var(--bz-muted); }
.bz-crumbs a { color: var(--bz-accent-dark); }
.bz-crumbs__sep { display: inline-flex; color: var(--bz-faint); }

/* Shop / category page -------------------------------------------------- */
.bz-shop__layout { display: grid; grid-template-columns: 228px minmax(0, 1fr); gap: 16px; align-items: start; }
.bz-shop__filters { background: #fff; border-radius: var(--bz-radius); box-shadow: var(--bz-shadow); padding: 4px 16px 12px; position: sticky; top: 118px; max-height: calc(100vh - 130px); overflow: auto; }
.bz-shop__filters-head { display: none; }
.bz-filter { padding: 14px 0; border-bottom: 1px solid var(--bz-line); }
.bz-filter:last-child { border-bottom: 0; }
.bz-filter__title { font-size: 14px; font-weight: 500; margin-bottom: 10px; color: var(--bz-text); }
.bz-filter ul { list-style: none; margin: 0; padding: 0; }
.bz-filter__cats a { display: flex; justify-content: space-between; gap: 6px; padding: 4px 0; font-size: 13px; color: var(--bz-text-2); }
.bz-filter__cats a.is-current { color: var(--bz-primary); font-weight: 500; }
.bz-filter__cats small { color: var(--bz-faint); }
.bz-filter__up { color: var(--bz-muted) !important; justify-content: flex-start !important; align-items: center; }
.bz-filter__checks.is-long:not(.is-open) li:nth-child(n+9) { display: none; }
.bz-check { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 13px; color: var(--bz-text-2); }
.bz-check__box { width: 16px; height: 16px; border: 1px solid #bdbdbd; border-radius: 2px; display: inline-flex; align-items: center; justify-content: center; color: transparent; flex: none; }
.bz-check.is-on .bz-check__box { background: var(--bz-primary); border-color: var(--bz-primary); color: #fff; }
.bz-filter__more { border: 0; background: none; padding: 6px 0 0; color: var(--bz-accent-dark); font-size: 13px; }
.bz-filter__price { display: flex; align-items: center; gap: 6px; }
.bz-filter__price .bz-btn { flex: none; }
.bz-filter__price input { width: 100%; min-width: 0; height: 34px; padding: 0 8px; border: 1px solid #d6d6dc; border-radius: var(--bz-radius); font-size: 13px; }
.bz-filter__ratings a { display: flex; align-items: center; gap: 8px; padding: 4px 6px; margin: 0 -6px; border-radius: var(--bz-radius); font-size: 13px; color: var(--bz-muted); }
.bz-filter__ratings a.is-on { background: var(--bz-primary-soft); color: var(--bz-primary); }
.bz-filter__clear { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; font-size: 13px; color: var(--bz-primary); }

.bz-shop__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: #fff; border-radius: var(--bz-radius); box-shadow: var(--bz-shadow); padding: 12px 16px; margin-bottom: 12px; }
.bz-shop__title { font-size: 18px; font-weight: 400; }
.bz-shop__count { margin: 2px 0 0; font-size: 13px; color: var(--bz-muted); }
.bz-shop__tools { display: flex; align-items: center; gap: 10px; }
.bz-shop__filterbtn { display: none; min-height: 36px; }
.bz-shop__desc { background: #fff; border-radius: var(--bz-radius); padding: 12px 16px; margin-bottom: 12px; color: var(--bz-text-2); }
.woocommerce .woocommerce-ordering { margin: 0; float: none; }
.woocommerce-ordering select, .bz-select {
	height: 36px; padding: 0 34px 0 12px; border: 1px solid #d6d6dc; border-radius: var(--bz-radius); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23757575' stroke-width='2.5'%3E%3Cpath d='m5 9 7 7 7-7'/%3E%3C/svg%3E") no-repeat right 12px center;
	-webkit-appearance: none; appearance: none; font-size: 13px; color: var(--bz-text-2); cursor: pointer;
}
.woocommerce nav.woocommerce-pagination { margin-top: 20px; text-align: center; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: inline-flex; gap: 6px; margin: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; float: none; overflow: visible; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span {
	min-width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px;
	background: #fff; border: 1px solid var(--bz-line); border-radius: var(--bz-radius); color: var(--bz-text-2); font-size: 14px;
}
.woocommerce nav.woocommerce-pagination ul li a:hover { background: #fff; color: var(--bz-primary); border-color: var(--bz-primary); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--bz-primary); border-color: var(--bz-primary); color: #fff; }

/* Product page ---------------------------------------------------------- */
.bz-pdp__top { display: grid; grid-template-columns: 360px minmax(0, 1fr) 300px; gap: 24px; padding: 20px; }
.bz-pdp__stage { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--bz-radius); background: #fff; border: 1px solid var(--bz-line); cursor: zoom-in; }
.bz-pdp__main { width: 100%; height: 100%; object-fit: contain; transition: transform .1s; }
.bz-pdp__main.is-zoom { transform: scale(2); }
.bz-pdp__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 2px; }
.bz-pdp__thumb { flex: 0 0 60px; height: 60px; padding: 2px; border: 1px solid var(--bz-line); border-radius: var(--bz-radius); background: #fff; }
.bz-pdp__thumb img { width: 100%; height: 100%; object-fit: contain; }
.bz-pdp__thumb.is-active, .bz-pdp__thumb:hover { border-color: var(--bz-primary); }
.bz-pdp__title { font-size: 22px; font-weight: 400; color: var(--bz-text); line-height: 1.35; }
.bz-pdp__meta { display: flex; align-items: center; gap: 14px; margin-top: 8px; font-size: 13px; }
.bz-pdp__rating { display: inline-flex; align-items: center; gap: 6px; color: var(--bz-accent-dark); }
.bz-pdp__sold { color: var(--bz-muted); }
.bz-pdp__actions { margin-left: auto; display: flex; color: var(--bz-faint); }
.bz-heart.is-on { color: var(--bz-primary); }
.bz-heart.is-on svg { fill: currentColor; }
.bz-pdp__brand { margin: 8px 0 0; font-size: 13px; color: var(--bz-muted); }
.bz-pdp__brand a { color: var(--bz-accent-dark); }
.bz-pdp__sep { margin: 0 6px; color: var(--bz-line); }
.bz-pdp__flash { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding: 8px 14px; border-radius: var(--bz-radius) var(--bz-radius) 0 0; color: #fff; font-weight: 500; background: linear-gradient(90deg, var(--bz-primary), #ff9a3c); }
.bz-pdp__flash > span { display: inline-flex; align-items: center; gap: 6px; }
.bz-pdp__price { border-top: 1px solid var(--bz-line); margin-top: 14px; padding: 14px 0; }
.bz-pdp__flash + .bz-pdp__price { margin-top: 0; border-top: 0; background: var(--bz-primary-soft); padding: 14px; }
.bz-pdp__now { display: block; font-size: 30px; color: var(--bz-primary); line-height: 1.2; }
.bz-pdp__now del { font-size: 16px; color: var(--bz-faint); }
.bz-pdp__now ins { text-decoration: none; }
.bz-pdp__was { display: block; margin-top: 4px; font-size: 14px; color: var(--bz-faint); }
.bz-pdp__off { color: var(--bz-text); margin-left: 6px; }
.bz-pdp__short { font-size: 13px; color: var(--bz-text-2); }
.bz-pdp__short ul { margin: 0; padding-left: 18px; }
.bz-pdp__buy form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 !important; }
.bz-pdp__buy form.cart::before, .bz-pdp__buy form.cart::after { display: none !important; }
.bz-pdp__buy form.cart .quantity { float: none !important; margin: 0 !important; flex-basis: 100%; display: flex; align-items: center; gap: 0; order: -2; }
.bz-pdp__buy form.cart .quantity::before { content: "Quantity"; width: 90px; color: var(--bz-muted); font-size: 14px; }
.bz-pdp__buy form.cart button.single_add_to_cart_button, .bz-pdp__buy .bz-buynow { flex: 1 1 0; min-height: 46px; min-width: 140px; font-size: 16px; float: none !important; }
.bz-pdp__buy .bz-buynow { order: -1; }
.bz-pdp__buy form.variations_form { display: block; }
.bz-pdp__buy .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.bz-pdp__buy table.variations { margin: 0; border: 0; }
.bz-pdp__buy table.variations th, .bz-pdp__buy table.variations td { padding: 6px 0 !important; border: 0; vertical-align: middle !important; }
.bz-pdp__buy table.variations th { width: 90px; font-weight: 400; color: var(--bz-muted); text-align: left; }
.bz-pdp__buy table.variations select { min-width: 180px; height: 36px; border: 1px solid #d6d6dc; border-radius: var(--bz-radius); padding: 0 10px; }
.bz-pdp__buy .stock { font-size: 13px; margin: 0 0 10px !important; color: var(--bz-good) !important; }
.bz-pdp__buy .stock.out-of-stock { color: #d32f2f !important; }

.bz-qty { display: inline-flex !important; align-items: center; }
.bz-qty__btn { width: 34px; height: 34px; border: 0; background: #eff0f5; color: var(--bz-text-2); font-size: 18px; line-height: 1; border-radius: var(--bz-radius); }
.bz-qty__btn:hover { background: #e2e3ea; }
.bz-qty input.qty, .woocommerce .quantity .qty {
	width: 52px; height: 34px; border: 0; text-align: center; font-size: 15px; -moz-appearance: textfield; background: transparent;
}
.bz-qty input.qty::-webkit-outer-spin-button, .bz-qty input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.bz-pdp__side { background: #fafafa; margin: -20px -20px -20px 0; padding: 14px 16px; border-left: 1px solid var(--bz-line); border-radius: 0 var(--bz-radius) var(--bz-radius) 0; font-size: 13px; }
.bz-side__block { padding: 10px 0; border-bottom: 1px solid var(--bz-line); }
.bz-side__block:last-child { border-bottom: 0; }
.bz-side__label { margin: 0 0 8px; font-size: 12px; color: var(--bz-muted); }
.bz-side__row { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; color: var(--bz-text-2); }
.bz-side__row .bz-icon { color: var(--bz-muted); }
.bz-side__row > span { flex: 1; }
.bz-side__row small { display: block; color: var(--bz-faint); }
.bz-side__row strong { font-weight: 500; }
.bz-side__fee { font-weight: 500; color: var(--bz-text); }
.bz-side__sellername { font-size: 15px; font-weight: 500; margin-bottom: 8px; }
.bz-side__stats { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--bz-line); border-radius: var(--bz-radius); background: #fff; }
.bz-side__stats li { padding: 8px 6px; text-align: center; border-right: 1px solid var(--bz-line); }
.bz-side__stats li:last-child { border-right: 0; }
.bz-side__stats span { display: block; font-size: 11px; color: var(--bz-faint); line-height: 1.3; min-height: 28px; }
.bz-side__stats b { font-size: 16px; font-weight: 500; color: var(--bz-text); }
.bz-side__store { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 8px; border-top: 1px solid var(--bz-line); color: var(--bz-accent-dark); text-transform: uppercase; font-weight: 500; font-size: 13px; }

.bz-pdp__lower { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 16px; margin-top: 16px; align-items: start; }
.bz-pdp__lower > :only-child { grid-column: 1 / -1; }
.bz-pdp__lower-main { display: flex; flex-direction: column; gap: 16px; }
.bz-pdp__spec-title { font-size: 15px; margin: 20px 0 10px; }
.bz-pdp__details table.shop_attributes { border: 1px solid var(--bz-line); width: 100%; border-collapse: collapse; margin: 0; }
.bz-pdp__details table.shop_attributes th, .bz-pdp__details table.shop_attributes td { padding: 8px 12px; border-bottom: 1px solid var(--bz-line); font-size: 13px; font-style: normal; }
.bz-pdp__details table.shop_attributes th { width: 180px; background: #fafafa; font-weight: 500; color: var(--bz-muted); text-align: left; }
.bz-pdp__details table.shop_attributes td p { margin: 0; padding: 0; }
.bz-pdp__store-list { display: grid; gap: 10px; }
.bz-pdp__store-list .bz-card { border: 1px solid var(--bz-line); }

/* Reviews --------------------------------------------------------------- */
.bz-rsum { display: flex; gap: 40px; align-items: center; padding-bottom: 16px; border-bottom: 1px solid var(--bz-line); margin-bottom: 8px; }
.bz-rsum__score b { font-size: 48px; font-weight: 400; color: var(--bz-text); }
.bz-rsum__score span { font-size: 24px; color: var(--bz-faint); }
.bz-rsum__score .bz-stars { display: block; margin-top: 4px; }
.bz-rsum__score p { margin: 6px 0 0; color: var(--bz-muted); font-size: 13px; }
.bz-rsum__bars { list-style: none; margin: 0; padding: 0; flex: 1; max-width: 360px; }
.bz-rsum__bars li { display: flex; align-items: center; gap: 10px; padding: 2px 0; }
.bz-rsum__bar { flex: 1; height: 10px; background: #eff0f5; border-radius: 2px; overflow: hidden; }
.bz-rsum__bar span { display: block; height: 100%; background: var(--bz-star); }
.bz-rsum__n { width: 32px; font-size: 12px; color: var(--bz-muted); }
.bz-pdp__reviews #reviews #comments h2, .woocommerce-Reviews-title { font-size: 15px !important; font-weight: 500; margin: 12px 0 !important; }
.bz-pdp__reviews #reviews #comments ol.commentlist { padding: 0; margin: 0; }
.woocommerce #reviews #comments ol.commentlist li { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--bz-line); }
.woocommerce #reviews #comments ol.commentlist li img.avatar { width: 36px; border: 0; padding: 0; border-radius: 50%; background: none; top: 14px; }
.woocommerce #reviews #comments ol.commentlist li .comment-text { margin-left: 50px; border: 0; padding: 0; border-radius: 0; }
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta { font-size: 12px; color: var(--bz-faint); margin-bottom: 4px; }
.woocommerce .star-rating { color: var(--bz-star); font-size: 13px; }
.woocommerce #reviews #comments ol.commentlist li .star-rating { float: none; margin: 0 0 4px; }
.woocommerce p.stars a { color: var(--bz-star); }
#review_form_wrapper { margin-top: 16px; }
#review_form #respond { background: #fafafa; border-radius: var(--bz-radius); padding: 16px; }
#reply-title { font-size: 15px; font-weight: 500; }

/* WooCommerce forms & notices ------------------------------------------ */
.woocommerce form .form-row { padding: 0; margin: 0 0 14px; }
.woocommerce form .form-row label { font-size: 13px; color: var(--bz-text-2); margin-bottom: 4px; display: block; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text, #review_form textarea, #review_form input[type="text"], #review_form input[type="email"],
.select2-container--default .select2-selection--single, .woocommerce-input-wrapper input, .bz-input {
	width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid #d6d6dc; border-radius: var(--bz-radius); background: #fff; font-size: 14px; line-height: 1.4;
}
.select2-container--default .select2-selection--single { display: flex; align-items: center; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 40px; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus, #review_form textarea:focus { border-color: var(--bz-primary); outline: none; box-shadow: 0 0 0 3px var(--bz-primary-soft); }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
	background: #fff; border: 0; border-left: 4px solid var(--bz-accent); border-radius: var(--bz-radius); box-shadow: var(--bz-shadow);
	padding: 14px 16px 14px 48px; margin: 0 0 16px; font-size: 14px; color: var(--bz-text-2); list-style: none;
}
.woocommerce-message { border-left-color: var(--bz-good); }
.woocommerce-message::before { color: var(--bz-good); }
.woocommerce-error { border-left-color: #d32f2f; }
.woocommerce-info::before { color: var(--bz-accent); }
.woocommerce-message .button, .woocommerce-info .button { min-height: 32px; font-size: 13px; float: right; }
.woocommerce-message:empty { display: none; }

/* Pages: cart, checkout, account --------------------------------------- */
.bz-page { padding-top: 16px; }
.bz-page__title { font-size: 22px; font-weight: 400; margin: 4px 0 14px; color: var(--bz-text-2); }

.woocommerce-cart .bz-page__content > .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
.woocommerce-cart .bz-page__content > .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-cart .bz-page__content > .woocommerce > .wc-empty-cart-message, .woocommerce-cart .bz-page__content > .woocommerce > .return-to-shop, .woocommerce-cart .bz-page__content > .woocommerce > .cart-empty { grid-column: 1 / -1; }
.woocommerce-cart-form { background: #fff; border-radius: var(--bz-radius); box-shadow: var(--bz-shadow); padding: 8px 16px; }
.woocommerce table.shop_table { border: 0; border-radius: 0; margin: 0; }
.woocommerce table.shop_table th { font-weight: 500; color: var(--bz-muted); font-size: 13px; text-transform: none; padding: 12px 8px; }
.woocommerce table.shop_table td { border-top: 1px solid var(--bz-line); padding: 14px 8px; vertical-align: middle; }
.woocommerce table.cart img { width: 72px; border-radius: var(--bz-radius); }
.woocommerce table.cart td.product-name a { color: var(--bz-text); }
.woocommerce table.cart td.product-price, .woocommerce table.cart td.product-subtotal { color: var(--bz-primary); font-size: 15px; }
.woocommerce a.remove { color: var(--bz-faint) !important; font-weight: 400; }
.woocommerce a.remove:hover { background: var(--bz-primary-soft); color: var(--bz-primary) !important; }
.woocommerce table.cart td.actions .coupon .input-text { width: 160px; min-height: 40px; border: 1px solid #d6d6dc; border-radius: var(--bz-radius); padding: 0 10px; margin-right: 6px; }
.woocommerce table.cart td.actions { padding: 14px 8px; }
.woocommerce-cart .cart-collaterals { position: sticky; top: 118px; }
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals { width: 100%; float: none; background: #fff; border-radius: var(--bz-radius); box-shadow: var(--bz-shadow); padding: 16px; }
.woocommerce .cart-collaterals .cart_totals h2 { font-size: 18px; margin-bottom: 8px; }
.woocommerce .cart_totals table.shop_table th, .woocommerce .cart_totals table.shop_table td { border-top: 0; padding: 8px 0; font-size: 14px; }
.woocommerce .cart_totals .order-total th, .woocommerce .cart_totals .order-total td { border-top: 1px solid var(--bz-line) !important; padding-top: 12px !important; }
.woocommerce .cart_totals .order-total .amount { color: var(--bz-primary); font-size: 18px; }
.woocommerce .wc-proceed-to-checkout { padding: 12px 0 0; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { width: 100%; min-height: 46px; font-size: 15px; text-transform: uppercase; margin: 0; }
.woocommerce ul#shipping_method li { margin-bottom: 4px; }
.woocommerce-cart .cross-sells { display: none; }

.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
.woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
.woocommerce-checkout #customer_details { background: #fff; border-radius: var(--bz-radius); box-shadow: var(--bz-shadow); padding: 16px; grid-column: 1; grid-row: 1 / span 3; }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { float: none; width: 100%; }
.woocommerce-checkout #customer_details h3, .woocommerce-checkout #order_review_heading { font-size: 16px; margin: 0 0 12px; }
.woocommerce-checkout #order_review_heading { grid-column: 2; background: #fff; border-radius: var(--bz-radius) var(--bz-radius) 0 0; padding: 16px 16px 0; margin: 0; }
.woocommerce-checkout #order_review { grid-column: 2; background: #fff; border-radius: 0 0 var(--bz-radius) var(--bz-radius); box-shadow: var(--bz-shadow); padding: 8px 16px 16px; }
.woocommerce-checkout #payment { background: #fafafa !important; border-radius: var(--bz-radius) !important; }
.woocommerce-checkout #payment div.payment_box { background: var(--bz-primary-soft) !important; color: var(--bz-text-2) !important; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--bz-primary-soft) !important; }
.woocommerce-checkout #payment #place_order { width: 100%; min-height: 48px; font-size: 16px; float: none; }
.woocommerce-checkout .woocommerce-form-coupon-toggle, .woocommerce-checkout .woocommerce-form-login-toggle { grid-column: 1 / -1; }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register { border: 0; border-radius: var(--bz-radius); background: #fff; box-shadow: var(--bz-shadow); padding: 20px; margin: 0 0 16px; }

.woocommerce-account .bz-page__content > .woocommerce { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 16px; align-items: start; }
.woocommerce-account .bz-page__content > .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; }
.woocommerce-MyAccount-navigation { background: #fff; border-radius: var(--bz-radius); box-shadow: var(--bz-shadow); padding: 8px 0; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 9px 16px; color: var(--bz-text-2); font-size: 14px; }
.woocommerce-MyAccount-navigation li.is-active a { color: var(--bz-primary); background: var(--bz-primary-soft); font-weight: 500; }
.woocommerce-MyAccount-content { background: #fff; border-radius: var(--bz-radius); box-shadow: var(--bz-shadow); padding: 20px; min-height: 300px; }
.woocommerce-account:not(.logged-in) .bz-page__content > .woocommerce { display: block; max-width: 900px; margin: 0 auto; }
.woocommerce-account #customer_login { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.woocommerce-account #customer_login::before, .woocommerce-account #customer_login::after { display: none; }
.woocommerce-account #customer_login .u-column1, .woocommerce-account #customer_login .u-column2 { float: none; width: auto; }
.woocommerce-account #customer_login h2 { font-size: 18px; margin-bottom: 10px; }
.woocommerce-account #customer_login form { height: calc(100% - 40px); }
.woocommerce-account .woocommerce-form-login__submit, .woocommerce-account .woocommerce-form-register__submit { width: 100%; min-height: 44px; }

.woocommerce-checkout .woocommerce-order { background: #fff; border-radius: var(--bz-radius); box-shadow: var(--bz-shadow); padding: 20px; }
.woocommerce-order .woocommerce-thankyou-order-received { font-size: 18px; color: var(--bz-good); font-weight: 500; }
.woocommerce ul.order_details { margin: 0 0 20px; padding: 14px 16px; background: #fafafa; border-radius: var(--bz-radius); }
.woocommerce table.cart td.actions .coupon .input-text { width: 180px !important; }

/* Help pages, social login, app badges ----------------------------------- */
.bz-prose h2 { font-size: 18px; color: var(--bz-text); margin: 24px 0 8px; }
.bz-prose h3 { font-size: 15px; color: var(--bz-text); margin: 16px 0 4px; }
.bz-prose h2:first-child { margin-top: 0; }
.bz-prose ol { padding-left: 20px; }
.bz-prose li { margin-bottom: 4px; }
.bz-prose a:not(.bz-btn):not(.bz-helpcard) { color: var(--bz-accent-dark); text-decoration: underline; text-underline-offset: 2px; }
.bz-prose .bz-btn { text-decoration: none; color: #fff; }
.bz-helpgrid > br, .bz-helpgrid > p:empty { display: none; }
.bz-helpgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 16px; }
.bz-helpcard { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--bz-line); border-radius: var(--bz-radius-lg); background: #fff; transition: border-color .15s, box-shadow .15s; }
.bz-helpcard:hover { border-color: var(--bz-primary); box-shadow: var(--bz-shadow-hover); }
.bz-helpcard strong { color: var(--bz-text); font-size: 15px; font-weight: 500; }
.bz-helpcard span { color: var(--bz-muted); font-size: 13px; }
.bz-prose .wpcf7 input:not([type="submit"]), .bz-prose .wpcf7 textarea, .bz-prose .wpcf7 select { width: 100%; min-height: 42px; padding: 8px 12px; border: 1px solid #d6d6dc; border-radius: var(--bz-radius); font-size: 14px; }
.bz-prose .wpcf7 textarea { min-height: 140px; }
.bz-prose .wpcf7 label { display: block; font-size: 13px; color: var(--bz-text-2); margin-bottom: 12px; }
.bz-prose .wpcf7 input[type="submit"] { min-height: 44px; padding: 0 28px; border: 0; border-radius: var(--bz-radius); background: var(--bz-primary); color: #fff; font-weight: 500; cursor: pointer; }
.bz-prose .wpcf7 input[type="submit"]:hover { background: var(--bz-primary-dark); }
.woocommerce form .track_order { max-width: 560px; }

.bz-social-login { margin-top: 18px; }
.bz-social-login__or { display: flex; align-items: center; gap: 10px; color: var(--bz-faint); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 12px; }
.bz-social-login__or::before, .bz-social-login__or::after { content: ""; flex: 1; height: 1px; background: var(--bz-line); }
.bz-social-login .nsl-container-buttons { display: flex !important; flex-direction: column; gap: 8px; }
.bz-social-login .nsl-container .nsl-container-buttons a { width: 100%; max-width: none !important; margin: 0 !important; }

.bz-storebtn { flex-direction: row !important; align-items: center; gap: 8px; min-width: 150px; padding: 7px 14px !important; background: #000; border-color: #4a4e6a !important; }
.bz-storebtn .bz-icon--brand { flex: none; }
.bz-storebtn__text { display: flex; flex-direction: column; line-height: 1.15; }
.bz-storebtn.is-soon { opacity: .75; cursor: default; }
.bz-storebtn.is-soon:hover { border-color: #4a4e6a !important; }
.bz-social a .bz-icon--brand { display: block; }

/* Wishlist & misc pages -------------------------------------------------- */
.bz-404 b { display: block; font-size: 72px; font-weight: 700; color: var(--bz-primary); line-height: 1; margin-bottom: 12px; }
.bz-posts { display: grid; gap: 16px; }
.bz-post__title { font-size: 18px; margin: 10px 0 4px; }
.bz-post__meta { color: var(--bz-faint); font-size: 12px; }

/* Footer ---------------------------------------------------------------- */
.bz-footer { background: var(--bz-footer); color: #c9cbd8; margin-top: 24px; font-size: 13px; }
.bz-footer__grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.2fr; gap: 32px; padding-top: 36px; padding-bottom: 28px; }
.bz-footer__title { color: #fff; font-size: 15px; font-weight: 500; margin-bottom: 12px; }
.bz-footer__title--gap { margin-top: 22px; }
.bz-footer__links { list-style: none; margin: 0; padding: 0; }
.bz-footer__links li { margin-bottom: 8px; }
.bz-footer a { color: #c9cbd8; }
.bz-footer a:hover { color: #fff; }
.bz-footer__muted { color: #9a9db0; }
.bz-footer__app { display: flex; gap: 14px; align-items: flex-start; }
.bz-footer__applogo { flex: none; width: 56px; height: 56px; border-radius: 14px; background: var(--bz-primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.bz-footer__stores { display: flex; flex-wrap: wrap; gap: 8px; }
.bz-storebtn { display: inline-flex; flex-direction: column; padding: 6px 14px; border: 1px solid #4a4e6a; border-radius: 6px; color: #fff !important; font-size: 14px; font-weight: 500; line-height: 1.2; }
.bz-storebtn small { font-size: 10px; font-weight: 400; color: #9a9db0; }
.bz-storebtn:hover { border-color: #fff; }
.bz-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.bz-chips li { background: #fff; color: var(--bz-text-2); border-radius: 3px; padding: 3px 8px; font-size: 11px; font-weight: 500; }
.bz-footer__about { background: var(--bz-footer-2); }
.bz-footer__about-in { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 18px; padding-bottom: 18px; }
.bz-footer__about p { margin: 0; color: #9a9db0; max-width: 760px; }
.bz-social { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.bz-social a { width: 34px; height: 34px; border-radius: 50%; background: #2d3150; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; }
.bz-social a:hover { background: var(--bz-primary); }
.bz-footer__bottom { background: var(--bz-footer-2); border-top: 1px solid #2a2d44; padding: 12px 0; color: #7d8098; font-size: 12px; text-align: center; }

/* Mobile tab bar -------------------------------------------------------- */
.bz-tabbar { display: none; }

/* Toast ----------------------------------------------------------------- */
.bz-toast {
	position: fixed; left: 50%; bottom: 32px; z-index: 300; transform: translate(-50%, 10px);
	background: rgba(33, 33, 33, .92); color: #fff; padding: 10px 18px; border-radius: 20px; font-size: 14px;
	opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none;
}
.bz-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* Dokan store pages: keep them inside the theme width ------------------- */
.dokan-store-wrap, #dokan-primary, .dokan-dashboard-wrap { max-width: var(--bz-wrap); margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; }
.dokan-store .bz-main, .dokan-dashboard .bz-main { padding-top: 16px; }
.bz-sidebar { background: #fff; border-radius: var(--bz-radius); box-shadow: var(--bz-shadow); padding: 4px 16px; }
.dokan-btn-theme, .dokan-btn-theme:visited, input[type="submit"].dokan-btn-theme, a.dokan-btn-theme, .dokan-store-products-filter-area .dokan-btn-theme {
	background-color: var(--bz-primary) !important; border-color: var(--bz-primary) !important; color: #fff !important;
}
.dokan-btn-theme:hover { background-color: var(--bz-primary-dark) !important; border-color: var(--bz-primary-dark) !important; }
.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active, .dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover { background: var(--bz-primary) !important; }
.dokan-store .profile-frame { border-radius: var(--bz-radius); overflow: hidden; }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1180px) {
	.bz-grid--6 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.bz-flash .bz-grid--6 > :nth-child(6) { display: none; }
	.bz-pdp__top { grid-template-columns: 320px minmax(0, 1fr); }
	.bz-pdp__side { grid-column: 1 / -1; margin: 0; border: 1px solid var(--bz-line); border-radius: var(--bz-radius); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 20px; }
	.bz-side__block { border-bottom: 0; }
}

@media (max-width: 1024px) {
	.bz-grid--5, ul.products, .woocommerce ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.bz-cattiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.bz-hero { grid-template-columns: 1fr; }
	.bz-catmenu { display: none; }
	.bz-footer__grid { grid-template-columns: repeat(2, 1fr); }
	.bz-pdp__lower { grid-template-columns: 1fr; }
	.bz-pdp__store-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
	.admin-bar .bz-header { top: 46px; }
	.bz-topbar { display: none; }
	.bz-mainbar__in { height: auto; flex-wrap: wrap; gap: 4px 8px; padding-top: 8px; padding-bottom: 10px; }
	.bz-mainbar__menu { display: inline-flex; margin-left: -8px; }
	.bz-mainbar__logo { flex: 1; }
	.bz-logo__text { font-size: 22px; }
	.custom-logo-link img { max-height: 36px; }
	.bz-logo__mark { width: 30px; height: 30px; }
	.bz-search { order: 5; flex-basis: 100%; max-width: none; }
	.bz-search__input, .bz-search__btn { height: 40px; }
	.bz-perks { grid-template-columns: repeat(2, 1fr); }
	.bz-grid--6, .bz-grid--5, ul.products, .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bz-flash .bz-grid--6 > :nth-child(6) { display: flex; }
	.bz-cattiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.bz-slide--auto > a { padding: 24px; min-height: 220px; }
	.bz-slider { min-height: 220px; }
	.bz-slide__title { font-size: 28px; }
	.bz-slide__line { font-size: 14px; }
	.bz-slide__pics { height: 180px; }
	.bz-slide__pic--0 { width: 130px; height: 130px; top: 20px; }
	.bz-slide__pic--1 { width: 100px; height: 100px; }
	.bz-slide__pic--2 { width: 90px; height: 90px; }

	.bz-shop__layout { grid-template-columns: 1fr; }
	.bz-shop__filterbtn { display: inline-flex; }
	.bz-shop__filters {
		position: fixed; inset: 0 0 0 auto; z-index: 210; width: min(340px, 90vw); max-height: none; top: 0;
		border-radius: 0; transform: translateX(100%); transition: transform .25s; box-shadow: -8px 0 24px rgba(0, 0, 0, .2);
	}
	.bz-shop__filters.is-open { transform: none; }
	.bz-shop__filters-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--bz-line); position: sticky; top: 0; background: #fff; z-index: 1; }

	.bz-pdp__top { grid-template-columns: 1fr; padding: 12px; gap: 16px; }
	.bz-pdp__side { grid-template-columns: 1fr; }
	.bz-pdp__gallery { max-width: 480px; width: 100%; margin: 0 auto; }
	.bz-pdp__title { font-size: 18px; }
	.bz-pdp__now { font-size: 26px; }
	.bz-rsum { gap: 20px; }
	.bz-pdp__store-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

	.woocommerce-cart .bz-page__content > .woocommerce,
	.woocommerce-checkout form.checkout,
	.woocommerce-account .bz-page__content > .woocommerce,
	.woocommerce-account #customer_login { grid-template-columns: 1fr; }
	.woocommerce-checkout #customer_details, .woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review { grid-column: 1; grid-row: auto; }
	.woocommerce-cart .cart-collaterals { position: static; }

	.bz-footer__about-in { flex-direction: column; align-items: flex-start; }

	/* Bottom tab bar like a shopping app. */
	body.bazaar { padding-bottom: 60px; }
	.bz-tabbar {
		display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
		height: 58px; background: #fff; border-top: 1px solid var(--bz-line); padding-bottom: env(safe-area-inset-bottom);
	}
	.bz-tabbar > a, .bz-tabbar > button {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; position: relative;
		border: 0; background: none; color: var(--bz-muted); font-size: 11px;
	}
	.bz-tabbar > .is-active { color: var(--bz-primary); }
	.bz-tabbar .bz-cart-count { top: 4px; right: calc(50% - 22px); background: var(--bz-primary); color: #fff; }
	.bz-toast { bottom: 80px; }
	.bz-mainbar__wish { display: none; }
}

@media (max-width: 560px) {
	.bz-wrap { padding: 0 10px; }
	.bz-grid { gap: 8px; }
	.bz-grid--6, .bz-grid--5, ul.products, .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.bz-section__title { font-size: 18px; }
	.bz-perks { display: none; }
	.bz-flash__head { flex-wrap: wrap; gap: 8px 12px; }
	.bz-flash__ends { flex: 1 1 auto; }
	.bz-flash__head .bz-btn { display: none; }
	.bz-cattiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.bz-cattile { padding: 10px 4px; font-size: 11px; }
	.bz-cattile img { width: 52px; height: 52px; }
	.bz-slide__copy { max-width: 60%; }
	.bz-slide__kicker { font-size: 10px; }
	.bz-slide__title { font-size: 22px; }
	.bz-slide__cta { padding: 7px 14px; font-size: 13px; margin-top: 6px; }
	.bz-slide__pic--1, .bz-slide__pic--2 { display: none; }
	.bz-slide__pic--0 { right: 0; width: 120px; height: 120px; }
	.bz-slide--auto > a { padding: 18px; min-height: 180px; }
	.bz-slider { min-height: 180px; }
	.bz-slider__dots { bottom: 6px; }
	.bz-btn--wide { min-width: 0; width: 100%; }
	.bz-card__price { font-size: 16px; }
	.bz-card__title { font-size: 13px; }
	.bz-shop__bar { padding: 10px 12px; }
	.bz-shop__title { font-size: 16px; }
	.bz-shop__tools { width: 100%; }
	.bz-shop__tools .woocommerce-ordering { flex: 1; }
	.bz-shop__tools .woocommerce-ordering select { width: 100%; }
	.bz-rsum { flex-direction: column; align-items: flex-start; }
	.bz-rsum__bars { width: 100%; max-width: none; }
	.bz-pdp__buy form.cart button.single_add_to_cart_button, .bz-pdp__buy .bz-buynow { min-width: 0; }
	.bz-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
	.bz-footer__app { grid-column: 1 / -1; }
	.woocommerce table.shop_table_responsive tr td::before, .woocommerce-page table.shop_table_responsive tr td::before { font-weight: 500; color: var(--bz-muted); }
	.woocommerce-message .button, .woocommerce-info .button { float: none; display: flex; margin-top: 8px; }
}

/* Logged-in admins: keep header and drawer clear of the WordPress admin bar. */
.admin-bar .bz-drawer { top: 32px; }
@media (max-width: 860px) {
	.admin-bar .bz-shop__filters { top: 32px; }
}
@media (max-width: 782px) {
	.admin-bar .bz-drawer, .admin-bar .bz-shop__filters { top: 46px; }
}
@media (max-width: 600px) {
	/* The admin bar scrolls away on phones, so the header can stick to the very top. */
	.admin-bar .bz-header { top: 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
