/*!
 * Bazarika – main stylesheet
 * Colours / fonts come from CSS variables printed by inc/dynamic-css.php.
 */

/* ------------------------------------------------------------------ Base */
:root {
	--bz-primary: #f28a1e;
	--bz-secondary: #1f2937;
	--bz-price: #d9480f;
	--bz-sale: #e03131;
	--bz-badge: #2b8a3e;
	--bz-body-bg: #f5f6f8;
	--bz-text: #1f2937;
	--bz-muted: #6b7280;
	--bz-line: #e8eaee;
	--bz-header-bg: #fff;
	--bz-nav-bg: #fff;
	--bz-topbar-bg: #1f2937;
	--bz-footer-bg: #111827;
	--bz-footer-text: #cbd5e1;
	--bz-font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--bz-font-heading: var(--bz-font-body);
	--bz-fs: 15px;
	--bz-hw: 600;
	--bz-radius: 12px;
	--bz-gap: 16px;
	--bz-container: 1280px;
	--bz-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 4px 14px rgba(17, 24, 39, .05);
	--bz-shadow-lg: 0 12px 32px rgba(17, 24, 39, .14);
	--bz-primary-soft: color-mix(in srgb, var(--bz-primary) 12%, #fff);
	--bz-primary-dark: color-mix(in srgb, var(--bz-primary) 82%, #000);
	--bz-logo-w: 170px;
	--bz-logo-mw: 120px;
	--bz-header-h: 0px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--bz-body-bg);
	color: var(--bz-text);
	font-family: var(--bz-font-body);
	font-size: var(--bz-fs);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.bz-lock { overflow: hidden; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--bz-font-heading);
	font-weight: var(--bz-hw);
	line-height: 1.3;
	margin: 0 0 .6em;
	color: var(--bz-text);
}

a { color: var(--bz-primary); text-decoration: none; transition: color .15s; }
a:hover { color: var(--bz-primary-dark); }
img { max-width: 100%; height: auto; vertical-align: middle; }
svg { flex-shrink: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--bz-primary); outline-offset: 2px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 100000;
	top: 8px; left: 8px; padding: 10px 16px; background: #fff; color: var(--bz-text); border-radius: 8px; box-shadow: var(--bz-shadow-lg);
}

.bz-container { width: 100%; max-width: var(--bz-container); margin: 0 auto; padding: 0 16px; }

.bz-icon-btn {
	display: inline-grid; place-items: center; width: 42px; height: 42px; padding: 0;
	border: 0; border-radius: 10px; background: transparent; color: inherit;
}
.bz-icon-btn:hover { background: rgba(0, 0, 0, .05); }

/* --------------------------------------------------------------- Buttons */
.bz-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 7px;
	min-height: 40px; padding: 0 18px; border: 1.5px solid transparent; border-radius: 9px;
	font-size: 14px; font-weight: 600; line-height: 1.2; text-align: center; white-space: nowrap;
	cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .1s;
	text-decoration: none;
}
.bz-btn:active { transform: translateY(1px); }
.bz-btn--primary { background: var(--bz-primary); border-color: var(--bz-primary); color: #fff; }
.bz-btn--primary:hover { background: var(--bz-primary-dark); border-color: var(--bz-primary-dark); color: #fff; }
.bz-btn--outline { background: #fff; border-color: var(--bz-primary); color: var(--bz-primary); }
.bz-btn--outline:hover { background: var(--bz-primary); color: #fff; }
.bz-btn--light { background: #f1f3f5; border-color: #f1f3f5; color: var(--bz-text); }
.bz-btn--light:hover { background: #e9ecef; color: var(--bz-text); }
.bz-btn--dark { background: var(--bz-secondary); border-color: var(--bz-secondary); color: #fff; }
.bz-btn--dark:hover { background: #000; color: #fff; }
.bz-btn--whatsapp { background: #25d366; border-color: #25d366; color: #fff; }
.bz-btn--whatsapp:hover { background: #1ebe5b; color: #fff; }
.bz-btn--call { background: var(--bz-secondary); border-color: var(--bz-secondary); color: #fff; }
.bz-btn--call:hover { color: #fff; background: #000; }
.bz-btn--lg { min-height: 46px; padding: 0 30px; font-size: 15px; }
.bz-btn.is-disabled { opacity: .55; pointer-events: none; }

.bz-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; }

/* ---------------------------------------------------------------- Top bar */
.bz-ad--header .bz-banner img { width: 100%; display: block; }
.bz-topbar { background: var(--bz-topbar-bg); color: #e5e7eb; font-size: 13px; }
.bz-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.bz-topbar__left { display: flex; align-items: center; gap: 18px; min-width: 0; }
.bz-topbar__phone { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 600; white-space: nowrap; }
.bz-topbar__phone:hover { color: var(--bz-primary); }
.bz-topbar__notice { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .85; }
.bz-topbar__right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }

.bz-lang { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.bz-lang > .bz-icon { margin: 0 4px 0 6px; opacity: .7; }
.bz-lang__item { padding: 2px 10px; border-radius: 999px; color: inherit; font-weight: 600; font-size: 12px; line-height: 1.6; }
.bz-lang__item:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.bz-lang__item.is-active { background: var(--bz-primary); color: #fff; }
.bz-lang--block { display: flex; width: 100%; padding: 4px; margin-bottom: 18px; background: #f1f3f5; color: var(--bz-text); border-radius: 10px; }
.bz-lang--block .bz-lang__item { flex: 1; text-align: center; padding: 7px 0; border-radius: 8px; font-size: 14px; }
.bz-lang--block .bz-lang__item:hover { background: #e9ecef; color: var(--bz-text); }
.bz-lang--block .bz-lang__item.is-active { background: var(--bz-primary); color: #fff; }

.bz-social { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bz-social__link { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; color: inherit; background: rgba(255, 255, 255, .1); transition: background .15s, color .15s; }
.bz-social__link:hover { background: var(--bz-primary); color: #fff; }

/* ----------------------------------------------------------------- Header */
.bz-header { position: relative; z-index: 90; background: var(--bz-header-bg); transition: box-shadow .2s; }
.bz-sticky-header .bz-header { position: sticky; top: 0; }
.admin-bar.bz-sticky-header .bz-header { top: 32px; }
.bz-header.is-scrolled { box-shadow: 0 6px 18px rgba(17, 24, 39, .08); }

.bz-header__inner {
	display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center;
	gap: 28px; padding-top: 14px; padding-bottom: 14px;
}
.bz-header__menu-btn { display: none; }
.bz-logo { display: inline-flex; align-items: center; color: var(--bz-text); }
.bz-logo__img { width: var(--bz-logo-w); max-width: 100%; height: auto; max-height: 72px; object-fit: contain; }
.bz-logo__img--mobile { display: none; }
.bz-logo__text { font-family: var(--bz-font-heading); font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--bz-primary); }

/* Search */
.bz-search { position: relative; display: flex; max-width: 640px; width: 100%; justify-self: center; }
.bz-search__input {
	flex: 1; min-width: 0; height: 46px; padding: 0 18px; border: 2px solid var(--bz-primary); border-right: 0;
	border-radius: 10px 0 0 10px; background: #fff; outline: none; font-size: 14.5px;
}
.bz-search__input::-webkit-search-cancel-button { display: none; }
.bz-search__btn { width: 56px; border: 0; border-radius: 0 10px 10px 0; background: var(--bz-primary); color: #fff; display: grid; place-items: center; }
.bz-search__btn:hover { background: var(--bz-primary-dark); }
.bz-search__results {
	position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 120; max-height: 440px; overflow: auto;
	background: #fff; border-radius: 12px; box-shadow: var(--bz-shadow-lg); border: 1px solid var(--bz-line);
}
.bz-search__item { display: flex; align-items: center; gap: 12px; padding: 9px 14px; color: var(--bz-text); border-bottom: 1px solid #f3f4f6; }
.bz-search__item:hover, .bz-search__item.is-focus { background: #fafafa; color: var(--bz-text); }
.bz-search__item img { width: 46px; height: 46px; object-fit: cover; border-radius: 8px; background: #f3f4f6; }
.bz-search__item-title { flex: 1; font-size: 14px; font-weight: 500; line-height: 1.35; }
.bz-search__item .price, .bz-search__item-price { font-size: 13px; font-weight: 700; color: var(--bz-price); white-space: nowrap; }
.bz-search__item-price del { color: #9ca3af; font-weight: 400; margin-right: 4px; }
.bz-search__item-price ins { text-decoration: none; }
.bz-search__all { display: block; padding: 11px 14px; text-align: center; font-weight: 600; font-size: 13.5px; }
.bz-search__empty { padding: 18px; text-align: center; color: var(--bz-muted); }

/* Header actions */
.bz-header__actions { display: flex; align-items: center; gap: 20px; }
.bz-action { position: relative; display: inline-flex; align-items: center; gap: 7px; color: var(--bz-text); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.bz-action:hover { color: var(--bz-primary); }
.bz-action__icon { position: relative; display: inline-flex; }
.bz-cart-count, .bz-wish-count {
	position: absolute; top: -7px; right: -9px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px;
	background: var(--bz-sale); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
	box-shadow: 0 0 0 2px #fff;
}
.bz-wish-count.is-empty { display: none; }
.bz-action--cart { gap: 14px; padding: 8px 14px 8px 12px; border-radius: 10px; background: var(--bz-primary-soft); color: var(--bz-text); }
.bz-action--cart:hover { background: var(--bz-primary); color: #fff; }
.bz-action__label--cart { display: flex; flex-direction: column; line-height: 1.2; font-size: 12px; }
.bz-cart-total { font-weight: 700; font-size: 14px; }
.bz-cart-total .amount { color: inherit; }

/* Category bar */
.bz-nav { background: var(--bz-nav-bg); border-top: 1px solid var(--bz-line); border-bottom: 1px solid var(--bz-line); }
.bz-nav__inner { display: flex; align-items: center; gap: 12px; }
.bz-menu { display: flex; align-items: center; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; min-width: 0; }
.bz-menu > li { position: relative; }
.bz-menu > li > a {
	display: flex; align-items: center; gap: 4px; padding: 12px 11px; color: var(--bz-text);
	font-size: 14.5px; font-weight: 500; white-space: nowrap;
}
.bz-menu > li:first-child > a { padding-left: 0; }
.bz-menu > li > a:hover, .bz-menu > li.current-menu-item > a, .bz-menu > li.current-menu-ancestor > a { color: var(--bz-primary); }
.bz-menu .menu-item-has-children > a::after {
	content: ""; width: 7px; height: 7px; margin: -3px 0 0 3px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
	transform: rotate(45deg); opacity: .6;
}
.bz-menu .sub-menu {
	position: absolute; top: 100%; left: -8px; z-index: 100; min-width: 230px; margin: 0; padding: 8px; list-style: none;
	background: #fff; border-radius: 12px; box-shadow: var(--bz-shadow-lg); border: 1px solid var(--bz-line);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s, transform .18s, visibility .18s;
}
.bz-menu li:hover > .sub-menu, .bz-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.bz-menu .sub-menu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--bz-text); font-size: 14px; }
.bz-menu .sub-menu a:hover { background: var(--bz-primary-soft); color: var(--bz-primary-dark); }
.bz-menu .sub-menu .sub-menu { top: -8px; left: 100%; }

.bz-flash-btn {
	margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 999px;
	background: var(--bz-sale); color: #fff; font-weight: 600; font-size: 14px; white-space: nowrap;
	box-shadow: 0 4px 12px color-mix(in srgb, var(--bz-sale) 35%, transparent);
}
.bz-flash-btn:hover { color: #fff; filter: brightness(.95); }
.bz-flash-btn svg { animation: bz-flash 1.6s infinite; }
@keyframes bz-flash { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

/* ------------------------------------------------------------------- Hero */
.bz-hero { padding: 20px 0 6px; }
.bz-hero__grid { display: grid; gap: var(--bz-gap); }
.bz-hero__grid.has-sides { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.bz-slider { position: relative; border-radius: 14px; overflow: hidden; background: #e9ecef; }
.bz-slider__track { position: relative; aspect-ratio: 12 / 5; }
.bz-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.bz-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.bz-slide__img { width: 100%; height: 100%; object-fit: cover; }
.bz-slide__link { position: absolute; inset: 0; }
.bz-slide__content { position: absolute; left: 6%; top: 50%; transform: translateY(-50%); max-width: 48%; }
.bz-slide.is-active .bz-slide__content > * { animation: bz-rise .7s both; }
.bz-slide.is-active .bz-slide__content > *:nth-child(2) { animation-delay: .1s; }
.bz-slide.is-active .bz-slide__content > *:nth-child(3) { animation-delay: .2s; }
@keyframes bz-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.bz-slide__title { margin: 0 0 8px; font-size: clamp(20px, 2.8vw, 36px); font-weight: 700; line-height: 1.15; color: var(--bz-secondary); }
.bz-slide__subtitle { margin: 0 0 18px; font-size: clamp(13px, 1.3vw, 17px); color: #374151; }
.bz-slide--light .bz-slide__title, .bz-slide--light .bz-slide__subtitle { color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .25); }
.bz-slide__btn svg { transition: transform .15s; }
.bz-slide__btn:hover svg { transform: translateX(3px); }
.bz-slider__nav {
	position: absolute; top: 50%; z-index: 3; width: 42px; height: 42px; margin-top: -21px; border: 0; border-radius: 50%;
	display: grid; place-items: center; background: rgba(255, 255, 255, .9); color: var(--bz-text); box-shadow: var(--bz-shadow);
	opacity: 0; transition: opacity .2s;
}
.bz-slider:hover .bz-slider__nav { opacity: 1; }
.bz-slider__nav--prev { left: 14px; }
.bz-slider__nav--next { right: 14px; }
.bz-slider__dots { position: absolute; bottom: 14px; left: 0; right: 0; z-index: 3; display: flex; justify-content: center; gap: 6px; }
.bz-slider__dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .65); box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); transition: width .25s, background .25s; }
.bz-slider__dot.is-active { width: 26px; background: var(--bz-primary); }

.bz-hero__sides { display: grid; grid-template-rows: 1fr 1fr; gap: var(--bz-gap); min-height: 0; }
.bz-hero__grid.has-sides .bz-hero__sides { height: 0; min-height: 100%; }
.bz-hero__side, .bz-hero__side a { display: block; height: 100%; min-height: 0; }
.bz-hero__side { border-radius: 14px; overflow: hidden; background: #e9ecef; }
.bz-hero__side img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.bz-hero__side:hover img { transform: scale(1.03); }

/* --------------------------------------------------------------- Sections */
.bz-section { padding: 16px 0; }
.bz-section__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.bz-section__title { position: relative; margin: 0; padding-bottom: 8px; font-size: clamp(18px, 2vw, 23px); }
.bz-section__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 46px; height: 3px; border-radius: 3px; background: var(--bz-primary); }
.bz-section__more {
	display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border: 1px solid var(--bz-primary);
	border-radius: 999px; font-size: 13px; font-weight: 600; white-space: nowrap;
}
.bz-section__more:hover { background: var(--bz-primary); color: #fff; }

.bz-banner { border-radius: 14px; overflow: hidden; }
.bz-banner img { display: block; width: 100%; height: auto; transition: transform .4s; }
.bz-banner a:hover img { transform: scale(1.015); }
.bz-section-banner { margin-top: 18px; }
.bz-home-ad { padding-top: 8px; padding-bottom: 8px; }

/* Categories */
.bz-cats { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 12px; }
.bz-cat {
	display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px 12px; border-radius: var(--bz-radius);
	background: #fff; border: 1px solid transparent; color: var(--bz-text); text-align: center; box-shadow: var(--bz-shadow);
	transition: transform .2s, border-color .2s, box-shadow .2s;
}
.bz-cat:hover { transform: translateY(-3px); border-color: var(--bz-primary); color: var(--bz-primary); box-shadow: 0 10px 22px rgba(17, 24, 39, .08); }
.bz-cat__img { display: grid; place-items: center; width: 74px; height: 74px; border-radius: 16px; overflow: hidden; background: var(--bz-primary-soft); color: var(--bz-primary); }
.bz-cat__img img { width: 100%; height: 100%; object-fit: cover; }
.bz-cat__name { font-size: 13.5px; font-weight: 500; line-height: 1.3; }
.bz-cats--circle .bz-cat { background: transparent; box-shadow: none; }
.bz-cats--circle .bz-cat__img { width: 86px; height: 86px; border-radius: 50%; box-shadow: var(--bz-shadow); background: #fff; }
.bz-cats--circle .bz-cat:hover { transform: none; border-color: transparent; }
.bz-cats--circle .bz-cat:hover .bz-cat__img { box-shadow: 0 0 0 3px var(--bz-primary); }

/* ------------------------------------------------------------ Product grid */
.bz-grid { --cols: 5; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: var(--bz-gap); margin: 0; padding: 0; list-style: none; }
.bz-grid--3 { --cols: 3; }
.bz-grid--4 { --cols: 4; }
.bz-grid--5 { --cols: 5; }
.bz-grid--6 { --cols: 6; }
.bz-grid > .bz-slot, .bz-grid > li { min-width: 0; }

/* Carousel */
.bz-carousel { --visible: 5; position: relative; }
.bz-carousel__track {
	display: grid; grid-auto-flow: column; gap: var(--bz-gap);
	grid-auto-columns: calc((100% - (var(--visible) - 1) * var(--bz-gap)) / var(--visible));
	overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none; padding: 2px 0 8px;
}
.bz-carousel__track::-webkit-scrollbar { display: none; }
.bz-carousel__track > * { scroll-snap-align: start; min-width: 0; }
.bz-carousel__nav {
	position: absolute; top: 38%; z-index: 4; width: 40px; height: 40px; border: 1px solid var(--bz-line); border-radius: 50%;
	display: grid; place-items: center; background: #fff; color: var(--bz-text); box-shadow: var(--bz-shadow); transition: opacity .2s, background .15s;
}
.bz-carousel__nav:hover { background: var(--bz-primary); color: #fff; border-color: var(--bz-primary); }
.bz-carousel__nav--prev { left: -16px; }
.bz-carousel__nav--next { right: -16px; }
.bz-carousel.is-start .bz-carousel__nav--prev, .bz-carousel.is-end .bz-carousel__nav--next, .bz-carousel.no-scroll .bz-carousel__nav { opacity: 0; pointer-events: none; }

/* ------------------------------------------------------------ Product card */
.bz-card {
	position: relative; display: flex; flex-direction: column; height: 100%;
	background: #fff; border: 1px solid #edf0f3; border-radius: var(--bz-radius); overflow: hidden;
	transition: box-shadow .2s, transform .2s;
}
.bz-card:hover { box-shadow: 0 12px 28px rgba(17, 24, 39, .09); transform: translateY(-2px); }
.bz-card__media { position: relative; aspect-ratio: 1 / 1; background: #f7f8fa; overflow: hidden; }
.bz-card__thumb { display: block; width: 100%; height: 100%; }
.bz-card__media img, .bz-card__img { display: block; width: 100%; height: 100%; margin: 0 !important; object-fit: cover; transition: transform .45s; }
.bz-card:hover .bz-card__media img { transform: scale(1.05); }
.bz-card.is-out .bz-card__media img { opacity: .6; filter: grayscale(.4); }

.bz-card__badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.bz-badge { display: inline-block; padding: 3px 9px; border-radius: 6px; background: var(--bz-badge); color: #fff; font-size: 11.5px; font-weight: 600; line-height: 1.4; }
.bz-badge--sale { background: var(--bz-sale); }
.bz-badge--new { background: #1c7ed6; }
.bz-badge--hot { background: #f03e3e; }
.bz-badge--offer { background: #f08c00; }
.bz-badge--limited { background: #7048e8; }
.bz-badge--out { background: #6b7280; }

.bz-wish {
	position: absolute; top: 9px; right: 9px; z-index: 2; width: 34px; height: 34px; border: 0; border-radius: 50%;
	display: grid; place-items: center; background: rgba(255, 255, 255, .95); color: #6b7280; box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
	transition: color .15s, transform .15s;
}
.bz-wish:hover { color: var(--bz-sale); transform: scale(1.08); }
.bz-wish.is-active { color: var(--bz-sale); }
.bz-wish.is-active svg, .bz-wish-inline.is-active svg { fill: currentColor; }

.bz-card__body { display: flex; flex-direction: column; flex: 1; gap: 6px; padding: 12px 12px 14px; }
.bz-card__title { margin: 0; font-family: var(--bz-font-body); font-size: 14.5px; font-weight: 500; line-height: 1.4; min-height: 2.8em; }
.bz-card__title a { color: var(--bz-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bz-card__title a:hover { color: var(--bz-primary); }
.bz-card__rating { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--bz-muted); }

.bz-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-size: 13px; }
.bz-card__price .price { display: contents; }
.bz-card__price > .amount, .bz-card__price ins, .bz-card__price > .woocommerce-Price-amount { order: 1; color: var(--bz-price); font-size: 17px; font-weight: 700; text-decoration: none; background: none; }
.bz-card__price del { order: 2; color: #9ca3af; font-size: 13px; }
.bz-card__price del .amount { color: inherit; }

.bz-card__actions { display: grid; gap: 8px; margin-top: auto; padding-top: 4px; }
.bz-card__actions .bz-btn { width: 100%; min-height: 38px; padding: 0 10px; font-size: 13.5px; }
.bz-card .added_to_cart { display: none !important; }
.bz-card__cart.loading { opacity: .7; pointer-events: none; }
.bz-card__cart.loading svg { animation: bz-spin .8s linear infinite; }
.bz-card__cart.added::after { content: "✓"; margin-left: 2px; }
@keyframes bz-spin { to { transform: rotate(360deg); } }

/* Stars (CSS mask) */
.bz-stars {
	--size: 14px; display: inline-block; width: calc(var(--size) * 5); height: var(--size);
	background: linear-gradient(90deg, #f59f00 var(--bz-rating, 100%), #dee2e6 var(--bz-rating, 100%));
	-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.8l2.8 5.9 6.4.8-4.7 4.4 1.2 6.4L12 17.2l-5.7 3.1 1.2-6.4-4.7-4.4 6.4-.8z'/%3E%3C/svg%3E") left / var(--size) var(--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.8l2.8 5.9 6.4.8-4.7 4.4 1.2 6.4L12 17.2l-5.7 3.1 1.2-6.4-4.7-4.4 6.4-.8z'/%3E%3C/svg%3E") left / var(--size) var(--size) repeat-x;
}

/* ------------------------------------------------------------------ Brands */
.bz-brands__list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.bz-brand {
	display: grid; place-items: center; height: 92px; padding: 14px; border-radius: var(--bz-radius); background: #fff;
	box-shadow: var(--bz-shadow); color: var(--bz-text); font-weight: 600; border: 1px solid transparent; transition: border-color .2s;
}
.bz-brand:hover { border-color: var(--bz-primary); }
.bz-brand img { max-height: 72px; width: auto; object-fit: contain; filter: grayscale(.2); transition: filter .2s; }
.bz-brand:hover img { filter: none; }

/* Load more */
.bz-load-more { display: flex; justify-content: center; margin-top: 22px; }
.bz-load-more .bz-btn.is-loading { opacity: .7; pointer-events: none; }

/* ------------------------------------------------------------ Testimonials */
.bz-carousel--testi { --visible: 3; }
.bz-testi {
	position: relative; display: flex; flex-direction: column; gap: 12px; height: 100%; margin: 0; padding: 24px 22px 20px;
	background: #fff; border-radius: 14px; box-shadow: var(--bz-shadow);
}
.bz-testi__quote { position: absolute; top: 18px; right: 20px; color: var(--bz-primary-soft); }
.bz-testi__quote svg { color: color-mix(in srgb, var(--bz-primary) 25%, #fff); }
.bz-testi__text { flex: 1; margin: 0; font-size: 14.5px; line-height: 1.7; color: #374151; }
.bz-testi__author { display: flex; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px dashed var(--bz-line); }
.bz-testi__author strong { display: block; font-size: 14.5px; }
.bz-testi__author small { color: var(--bz-muted); }
.bz-testi__photo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.bz-testi__photo--initial { display: grid; place-items: center; background: var(--bz-primary); color: #fff; font-weight: 700; }

/* --------------------------------------------------------------- Features */
.bz-features { margin-top: 28px; background: #fff; border-top: 1px solid var(--bz-line); }
.bz-features__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.bz-feature { display: flex; align-items: center; gap: 14px; }
.bz-feature__icon { display: grid; place-items: center; flex: 0 0 52px; height: 52px; border-radius: 14px; background: var(--bz-primary-soft); color: var(--bz-primary); }
.bz-feature__title { display: block; font-size: 15px; font-weight: 600; }
.bz-feature__text { display: block; font-size: 13px; color: var(--bz-muted); }

/* ----------------------------------------------------------------- Footer */
.bz-footer { background: var(--bz-footer-bg); color: var(--bz-footer-text); font-size: 14px; }
.bz-footer a { color: var(--bz-footer-text); }
.bz-footer a:hover { color: var(--bz-primary); }
.bz-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(4, minmax(0, 1fr)); gap: 32px; padding-top: 46px; padding-bottom: 36px; }
.bz-footer__text { margin: 14px 0; opacity: .85; }
.bz-footer .bz-logo__img { max-height: 64px; }
.bz-footer .bz-logo__text { color: #fff; }
.bz-footer__contact { margin: 0 0 16px; padding: 0; list-style: none; }
.bz-footer__contact li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 9px; }
.bz-footer__contact svg { margin-top: 3px; color: var(--bz-primary); }
.bz-footer__title { margin: 4px 0 16px; color: #fff; font-size: 16px; }
.bz-footer__menu { margin: 0; padding: 0; list-style: none; }
.bz-footer__menu li { margin-bottom: 9px; }
.bz-footer__menu a { opacity: .85; transition: opacity .15s, color .15s, padding .15s; }
.bz-footer__menu a:hover { opacity: 1; padding-left: 3px; }
.bz-social--footer .bz-social__link { width: 36px; height: 36px; background: rgba(255, 255, 255, .08); }
.bz-apps { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.bz-app-btn { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 10px; color: #fff !important; }
.bz-app-btn span { display: flex; flex-direction: column; line-height: 1.15; font-weight: 600; }
.bz-app-btn small { font-weight: 400; font-size: 10.5px; opacity: .75; }
.bz-app-btn:hover { border-color: var(--bz-primary); }
.bz-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); }
.bz-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.bz-footer__copy { margin: 0; font-size: 13px; opacity: .8; }
.bz-footer__payments img { max-height: 34px; width: auto; }

/* ------------------------------------------------------------- Off-canvas */
.bz-offcanvas, .bz-drawer { position: fixed; inset: 0; z-index: 1000; visibility: hidden; pointer-events: none; }
.bz-offcanvas.is-open, .bz-drawer.is-open { visibility: visible; pointer-events: auto; }
.bz-overlay { position: absolute; inset: 0; background: rgba(17, 24, 39, .5); opacity: 0; transition: opacity .25s; }
.is-open > .bz-overlay { opacity: 1; }

.bz-offcanvas__panel {
	position: absolute; top: 0; bottom: 0; left: 0; width: min(86vw, 340px); display: flex; flex-direction: column;
	background: #fff; transform: translateX(-100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.is-open > .bz-offcanvas__panel { transform: none; }
.bz-offcanvas__head { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--bz-secondary); color: #fff; }
.bz-offcanvas__head .bz-icon-btn:hover { background: rgba(255, 255, 255, .1); }
.bz-avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.bz-offcanvas__hello { flex: 1; display: flex; flex-direction: column; line-height: 1.3; }
.bz-offcanvas__hello a { color: var(--bz-primary); font-size: 13.5px; font-weight: 600; }
.bz-offcanvas__body { flex: 1; overflow-y: auto; padding: 16px; }
.bz-offcanvas__title { margin: 8px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--bz-muted); }
.bz-mobile-menu { margin: 0 0 18px; padding: 0; list-style: none; }
.bz-mobile-menu li { position: relative; border-bottom: 1px solid #f1f3f5; }
.bz-mobile-menu a { display: block; padding: 11px 40px 11px 2px; color: var(--bz-text); font-weight: 500; }
.bz-mobile-menu .sub-menu { display: none; margin: 0 0 8px; padding: 0 0 0 14px; list-style: none; border-left: 2px solid var(--bz-primary-soft); }
.bz-mobile-menu .sub-menu li { border: 0; }
.bz-mobile-menu .sub-menu a { padding: 7px 0; font-weight: 400; font-size: 14px; }
.bz-mobile-menu li.is-open > .sub-menu { display: block; }
.bz-sub-toggle { position: absolute; top: 4px; right: 0; width: 36px; height: 36px; border: 0; border-radius: 8px; background: #f8f9fa; display: grid; place-items: center; }
.bz-sub-toggle svg { transition: transform .2s; }
li.is-open > .bz-sub-toggle svg { transform: rotate(180deg); }
.bz-offcanvas__contact { display: grid; gap: 8px; }

/* Cart drawer */
.bz-drawer__panel {
	position: absolute; top: 0; bottom: 0; right: 0; width: min(94vw, 410px); display: flex; flex-direction: column;
	background: #fff; transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.is-open > .bz-drawer__panel { transform: none; }
.bz-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--bz-line); }
.bz-drawer__head h3 { position: relative; display: flex; align-items: center; gap: 8px; margin: 0; font-size: 18px; }
.bz-drawer__head .bz-cart-count { position: static; box-shadow: none; }
.bz-drawer__inner { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.bz-drawer__items { flex: 1; overflow-y: auto; margin: 0; padding: 6px 16px; list-style: none; }
.bz-drawer__item { position: relative; display: grid; grid-template-columns: 66px minmax(0, 1fr); gap: 12px; padding: 12px 30px 12px 0; border-bottom: 1px solid #f1f3f5; }
.bz-drawer__item.is-busy { opacity: .5; pointer-events: none; }
.bz-drawer__thumb img { width: 66px; height: 66px; border-radius: 10px; object-fit: cover; background: #f7f8fa; }
.bz-drawer__name { display: block; color: var(--bz-text); font-size: 14px; font-weight: 500; line-height: 1.35; }
.bz-drawer__price { font-size: 12.5px; color: var(--bz-muted); }
.bz-drawer__row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.bz-drawer__sub { color: var(--bz-price); }
.bz-mini-qty { display: inline-flex; align-items: center; border: 1px solid var(--bz-line); border-radius: 8px; overflow: hidden; }
.bz-mini-qty button { width: 30px; height: 30px; border: 0; background: #f8f9fa; display: grid; place-items: center; }
.bz-mini-qty button:hover { background: var(--bz-primary-soft); color: var(--bz-primary); }
.bz-mini-qty span { min-width: 32px; text-align: center; font-weight: 600; font-size: 14px; }
.bz-drawer__remove { position: absolute; top: 12px; right: 0; width: 28px; height: 28px; border: 0; background: none; color: #9ca3af; display: grid; place-items: center; border-radius: 6px; }
.bz-drawer__remove:hover { color: var(--bz-sale); background: #fff5f5; }
.bz-drawer__foot { padding: 14px 16px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--bz-line); background: #fafbfc; }
.bz-drawer__total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 16px; }
.bz-drawer__total strong { color: var(--bz-price); font-size: 19px; }
.bz-drawer__actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.bz-drawer__actions .bz-btn { min-height: 46px; }
.bz-drawer__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 30px; color: #9ca3af; text-align: center; }
.bz-drawer__empty p { margin: 0 0 6px; color: var(--bz-muted); font-size: 15px; }

/* Bottom nav (mobile) */
.bz-bottom-nav { display: none; }

/* Floating contact */
.bz-float { position: fixed; right: 18px; bottom: 22px; z-index: 900; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.bz-float__toggle {
	position: relative; width: 56px; height: 56px; border: 0; border-radius: 50%; display: grid; place-items: center;
	background: var(--bz-primary); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--bz-primary) 45%, transparent);
}
.bz-float__toggle::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--bz-primary); animation: bz-pulse 2s infinite; z-index: -1; }
.bz-float.is-open .bz-float__toggle::before { animation: none; }
@keyframes bz-pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.6); opacity: 0; } }
.bz-float__close, .bz-float.is-open .bz-float__open { display: none; }
.bz-float.is-open .bz-float__close { display: block; }
.bz-float__open, .bz-float__close { line-height: 0; }
.bz-float__list { display: flex; flex-direction: column; gap: 10px; }
.bz-float__item {
	width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff !important; box-shadow: var(--bz-shadow-lg);
	opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none; transition: opacity .2s, transform .2s;
}
.bz-float.is-open .bz-float__item { opacity: 1; transform: none; pointer-events: auto; }
.bz-float.is-open .bz-float__item:nth-last-child(2) { transition-delay: .04s; }
.bz-float.is-open .bz-float__item:nth-last-child(3) { transition-delay: .08s; }
.bz-float__item--whatsapp { background: #25d366; }
.bz-float__item--messenger { background: linear-gradient(135deg, #0695ff, #a334fa 60%, #ff6968); }
.bz-float__item--call { background: var(--bz-secondary); }

.bz-to-top {
	position: fixed; right: 24px; bottom: 92px; z-index: 890; width: 44px; height: 44px; border: 0; border-radius: 12px;
	display: grid; place-items: center; background: #fff; color: var(--bz-text); box-shadow: var(--bz-shadow-lg);
	opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s;
}
.bz-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.bz-to-top:hover { background: var(--bz-primary); color: #fff; }
body:not(:has(.bz-float)) .bz-to-top { bottom: 24px; }

/* Toast */
.bz-toast {
	position: fixed; left: 50%; bottom: 28px; z-index: 1100; max-width: calc(100vw - 32px); padding: 11px 20px; border-radius: 999px;
	background: #111827; color: #fff; font-size: 14px; font-weight: 500; box-shadow: var(--bz-shadow-lg);
	opacity: 0; visibility: hidden; transform: translate(-50%, 10px); transition: opacity .2s, transform .2s, visibility .2s;
}
.bz-toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* Popup */
.bz-popup { position: fixed; inset: 0; z-index: 1050; display: grid; place-items: center; padding: 20px; background: rgba(17, 24, 39, .6); animation: bz-fade .25s; }
.bz-popup__box { position: relative; max-width: min(520px, 100%); animation: bz-rise .3s; }
.bz-popup__box img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: var(--bz-shadow-lg); }
.bz-popup__close { position: absolute; top: -14px; right: -14px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: var(--bz-shadow-lg); }
@keyframes bz-fade { from { opacity: 0; } to { opacity: 1; } }

/* ----------------------------------------------------- Pages / blog */
.bz-page { padding-top: 18px; padding-bottom: 40px; }
.bz-page__head { margin-bottom: 16px; }
.bz-page__title { margin: 0; font-size: clamp(22px, 2.6vw, 30px); }
.bz-page__desc { color: var(--bz-muted); margin-top: 6px; }
.bz-card-box { background: #fff; border-radius: 14px; padding: clamp(18px, 3vw, 32px); box-shadow: var(--bz-shadow); }
.woocommerce-breadcrumb, .bz-breadcrumb { margin: 0 0 14px; font-size: 13px; color: var(--bz-muted); }
.woocommerce-breadcrumb a { color: var(--bz-muted); }
.woocommerce-breadcrumb a:hover { color: var(--bz-primary); }
.woocommerce-breadcrumb .sep { margin: 0 7px; opacity: .6; }

.bz-entry { font-size: 15.5px; line-height: 1.75; }
.bz-entry > *:first-child { margin-top: 0; }
.bz-entry h2 { font-size: 22px; margin-top: 1.4em; }
.bz-entry h3 { font-size: 18px; margin-top: 1.3em; }
.bz-entry ul, .bz-entry ol { padding-left: 1.3em; }
.bz-entry li { margin-bottom: .35em; }
.bz-entry blockquote { margin: 1.2em 0; padding: 12px 18px; border-left: 4px solid var(--bz-primary); background: var(--bz-primary-soft); border-radius: 0 10px 10px 0; }
.bz-entry table { width: 100%; border-collapse: collapse; }
.bz-entry th, .bz-entry td { padding: 8px 10px; border: 1px solid var(--bz-line); }
.bz-entry details { margin-bottom: 10px; border: 1px solid var(--bz-line); border-radius: 10px; background: #fff; overflow: hidden; }
.bz-entry summary { position: relative; padding: 13px 44px 13px 16px; font-weight: 600; cursor: pointer; list-style: none; }
.bz-entry summary::-webkit-details-marker { display: none; }
.bz-entry summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--bz-primary); }
.bz-entry details[open] summary::after { content: "–"; }
.bz-entry details[open] summary { border-bottom: 1px solid var(--bz-line); background: #fafbfc; }
.bz-entry details > *:not(summary) { margin: 0; padding: 12px 16px; }
.bz-entry .wp-block-image img, .bz-entry img { border-radius: 10px; }

.bz-blog-layout.has-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.bz-posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--bz-gap); }
.bz-post-card { display: flex; flex-direction: column; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--bz-shadow); }
.bz-post-card__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.bz-post-card__body { padding: 16px 18px 20px; }
.bz-post-card__title { font-size: 18px; margin: 4px 0 8px; }
.bz-post-card__title a { color: var(--bz-text); }
.bz-post-card__title a:hover { color: var(--bz-primary); }
.bz-post-card__excerpt { color: #4b5563; font-size: 14.5px; }
.bz-post__meta { display: flex; gap: 12px; font-size: 12.5px; color: var(--bz-muted); }
.bz-single__thumb { margin: 10px 0 20px; }
.bz-single__thumb img { border-radius: 12px; }
.bz-blog-sidebar .bz-widget, .bz-shop-sidebar .bz-widget { margin-bottom: 18px; padding: 18px; background: #fff; border-radius: 14px; box-shadow: var(--bz-shadow); }
.bz-widget__title { font-size: 16px; margin-bottom: 12px; }
.bz-widget ul { margin: 0; padding: 0; list-style: none; }
.bz-widget li { padding: 5px 0; }
.post-navigation { margin: 18px 0; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.post-navigation a { display: block; padding: 14px 16px; background: #fff; border-radius: 12px; color: var(--bz-text); box-shadow: var(--bz-shadow); }
.post-navigation span { display: block; font-size: 12px; color: var(--bz-muted); }
.post-navigation .nav-next { text-align: right; }
.bz-comments { margin-top: 18px; }
.bz-comments__list { padding-left: 0; list-style: none; }
.bz-comments .comment-body { padding: 14px 0; border-bottom: 1px solid var(--bz-line); }

.bz-pagination ul, .woocommerce-pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 24px 0 0; padding: 0; list-style: none; border: 0 !important; }
.bz-pagination li, .woocommerce-pagination ul.page-numbers li { border: 0 !important; float: none !important; }
.bz-pagination a, .bz-pagination span, .woocommerce-pagination .page-numbers a, .woocommerce-pagination .page-numbers span {
	display: grid !important; place-items: center; min-width: 40px; height: 40px; padding: 0 10px !important; border-radius: 10px;
	background: #fff; color: var(--bz-text); font-weight: 600; box-shadow: var(--bz-shadow);
}
.bz-pagination .current, .woocommerce-pagination .page-numbers .current { background: var(--bz-primary) !important; color: #fff !important; }
.bz-pagination a:hover, .woocommerce-pagination .page-numbers a:hover { background: var(--bz-primary-soft) !important; color: var(--bz-primary) !important; }

.bz-empty { padding: 50px 20px; text-align: center; color: var(--bz-muted); }
.bz-empty h1, .bz-empty h2 { color: var(--bz-text); margin-top: 12px; }
.bz-empty .bz-btn { margin: 4px; }
.bz-404__code { font-size: clamp(80px, 14vw, 150px); font-weight: 800; line-height: 1; color: var(--bz-primary); letter-spacing: -.04em; }
.bz-wishlist-page { min-height: 120px; }
.bz-wishlist-page .bz-grid { --cols: 5; }
.bz-loader { width: 34px; height: 34px; margin: 40px auto; border: 3px solid var(--bz-line); border-top-color: var(--bz-primary); border-radius: 50%; animation: bz-spin .8s linear infinite; }

.search-form { display: flex; max-width: 420px; margin: 0 auto; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; height: 44px; padding: 0 14px; border: 1px solid #d1d5db; border-radius: 10px 0 0 10px; }
.search-form .search-submit { height: 44px; padding: 0 18px; border: 0; border-radius: 0 10px 10px 0; background: var(--bz-primary); color: #fff; font-weight: 600; }

/* WordPress core classes */
.alignleft { float: left; margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: 13px; color: var(--bz-muted); }
.sticky .bz-post-card__title::before { content: "★ "; color: var(--bz-primary); }
.bypostauthor > .comment-body { border-left: 3px solid var(--bz-primary); padding-left: 12px; }
.gallery-caption { font-size: 13px; }

/* ============================================================ Responsive */
@media (max-width: 1240px) {
	.bz-carousel__nav--prev { left: -6px; }
	.bz-carousel__nav--next { right: -6px; }
}

@media (max-width: 1200px) {
	.bz-grid--5, .bz-grid--6 { --cols: 4; }
	.bz-carousel { --visible: 4; }
	.bz-cats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	.bz-header__inner { gap: 20px; }
	.bz-action--track .bz-action__label, .bz-action--account .bz-action__label, .bz-action--wishlist .bz-action__label { display: none; }
	.bz-menu > li > a { padding: 12px 8px; font-size: 14px; }
	.bz-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bz-footer__about { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
	.bz-footer__about > .bz-logo, .bz-footer__about > .bz-footer__text { grid-column: 1; }
}

@media (max-width: 992px) {
	:root { --bz-gap: 12px; }
	.admin-bar.bz-sticky-header .bz-header { top: 46px; }
	.bz-header__inner {
		grid-template-columns: auto 1fr auto; grid-template-areas: "menu brand actions" "search search search";
		gap: 10px 8px; padding-top: 8px; padding-bottom: 10px;
	}
	.bz-header__menu-btn { display: inline-grid; grid-area: menu; margin-left: -8px; }
	.bz-header__brand { grid-area: brand; }
	.bz-header .bz-search { grid-area: search; max-width: none; }
	.bz-header__actions { grid-area: actions; gap: 8px; }
	.bz-search__input { height: 42px; }
	.bz-action--track, .bz-action--account { display: none; }
	.bz-action--cart { padding: 8px; background: transparent; }
	.bz-action__label--cart { display: none; }
	.bz-action--wishlist { padding: 8px; }
	.bz-nav { display: none; }
	.bz-logo__img { width: var(--bz-logo-mw); max-height: 52px; }
	.bz-logo__img--desktop { display: none; }
	.bz-logo__img--mobile { display: block; }

	.bz-hero { padding-top: 12px; }
	.bz-hero__grid.has-sides { grid-template-columns: 1fr; }
	.bz-hero__sides { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
	.bz-hero__grid.has-sides .bz-hero__sides { height: auto; min-height: 0; }
	.bz-hero__side { aspect-ratio: 5 / 2; }
	.bz-slider__track { aspect-ratio: 2 / 1; }
	.bz-slider__nav { display: none; }

	.bz-grid--4, .bz-grid--5, .bz-grid--6 { --cols: 3; }
	.bz-carousel { --visible: 3; }
	.bz-carousel--testi { --visible: 2; }
	.bz-brands__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.bz-features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bz-blog-layout.has-sidebar { grid-template-columns: 1fr; }

	/* Bottom nav */
	.bz-has-bottom-nav { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
	.bz-bottom-nav {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: grid; grid-template-columns: repeat(5, 1fr);
		height: calc(62px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
		background: #fff; box-shadow: 0 -4px 18px rgba(17, 24, 39, .08);
	}
	.bz-bottom-nav > a, .bz-bottom-nav > button {
		display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0; border: 0;
		background: none; color: #6b7280; font-size: 11px; font-weight: 500;
	}
	.bz-bottom-nav > .is-active, .bz-bottom-nav > a:hover, .bz-bottom-nav > button:hover { color: var(--bz-primary); }
	.bz-bottom-nav__cart { position: relative; }
	.bz-bottom-nav__bubble {
		position: relative; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%;
		background: var(--bz-primary); color: #fff; border: 4px solid #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--bz-primary) 40%, transparent);
	}
	.bz-bottom-nav__bubble .bz-cart-count { top: -4px; right: -6px; }
	.bz-has-bottom-nav .bz-float { bottom: calc(78px + env(safe-area-inset-bottom)); right: 14px; }
	.bz-has-bottom-nav .bz-to-top { bottom: calc(146px + env(safe-area-inset-bottom)); right: 20px; }
	.bz-has-bottom-nav .bz-toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
}

@media (max-width: 782px) {
	.admin-bar.bz-sticky-header .bz-header { top: 0; }
}

@media (max-width: 768px) {
	:root { --bz-gap: 10px; --bz-radius: 10px; }
	body { font-size: calc(var(--bz-fs) - 1px); }
	.bz-topbar__notice { display: none; }
	.bz-topbar .bz-social { display: none; }
	.bz-topbar__inner { min-height: 34px; }

	.bz-grid--3, .bz-grid--4, .bz-grid--5, .bz-grid--6 { --cols: 2; }
	.bz-carousel { --visible: 2.25; }
	.bz-carousel--testi { --visible: 1.15; }
	.bz-carousel__nav { display: none; }
	.bz-cats { gap: 8px; }
	.bz-cat { padding: 10px 4px; box-shadow: none; }
	.bz-cat__img { width: 52px; height: 52px; border-radius: 12px; }
	.bz-cats--circle .bz-cat__img { width: 58px; height: 58px; }
	.bz-cat__name { font-size: 11.5px; }
	.bz-slide__content { left: 5%; max-width: 58%; }
	.bz-slide__subtitle { display: none; }
	.bz-slide__btn { min-height: 34px; padding: 0 14px; font-size: 13px; }
	.bz-slider__dots { bottom: 8px; }
	.bz-section { padding: 12px 0; }
	.bz-section__more { padding: 4px 10px; font-size: 12px; }

	.bz-card__body { padding: 10px 10px 12px; gap: 4px; }
	.bz-card__title { font-size: 13.5px; }
	.bz-card__price > .amount, .bz-card__price ins, .bz-card__price > .woocommerce-Price-amount { font-size: 15.5px; }
	.bz-card__actions { gap: 6px; }
	.bz-card__actions .bz-btn { min-height: 34px; font-size: 12.5px; }
	.bz-card__cart svg { display: none; }
	.bz-badge { font-size: 10.5px; padding: 2px 7px; }
	.bz-wish { width: 30px; height: 30px; }

	.bz-brands__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
	.bz-brand { height: 70px; padding: 10px; }
	.bz-feature__icon { flex-basis: 44px; height: 44px; }
	.bz-feature__title { font-size: 13.5px; }
	.bz-feature__text { font-size: 12px; }

	.bz-footer__grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding-top: 32px; }
	.bz-footer__about { display: block; }
	.bz-footer__bottom-inner { flex-direction: column; text-align: center; }
	.bz-posts { grid-template-columns: 1fr; }
	.bz-wishlist-page .bz-grid { --cols: 2; }
}

@media (max-width: 420px) {
	.bz-carousel { --visible: 2.1; }
	.bz-features__grid { gap: 12px; }
	.bz-feature { flex-direction: column; text-align: center; gap: 6px; }
}

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

/* ------------------------------------------------- Sign in / Sign up */
.bz-offcanvas__links { display: flex; gap: 12px; }
.bz-modal { position: fixed; inset: 0; z-index: 1060; display: grid; place-items: center; padding: 16px; visibility: hidden; pointer-events: none; }
.bz-modal.is-open { visibility: visible; pointer-events: auto; }
.bz-modal__box {
	position: relative; width: 100%; max-width: 430px; max-height: calc(100vh - 32px); overflow-y: auto;
	padding: 22px 24px 24px; border-radius: 18px; background: #fff; box-shadow: var(--bz-shadow-lg);
	opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .2s, transform .2s;
}
.bz-modal.is-open .bz-modal__box { opacity: 1; transform: none; }
.bz-modal__close { position: absolute; top: 10px; right: 10px; width: 36px; height: 36px; }

.bz-auth { color: var(--bz-text); }
.bz-auth--page { max-width: 460px; margin: 24px auto 36px; padding: 26px 28px 28px; border-radius: 18px; background: #fff; box-shadow: var(--bz-shadow); }
.bz-auth__head { margin: 0 40px 14px 0; }
.bz-auth--page .bz-auth__head { margin-right: 0; }
.bz-auth__title { margin: 0; font-size: 22px; }
.bz-auth__tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 12px; background: #f1f3f5; }
.bz-auth__tab { padding: 9px 0; border: 0; border-radius: 9px; background: transparent; color: var(--bz-muted); font-weight: 600; font-size: 15px; }
.bz-auth__tab.is-active { background: #fff; color: var(--bz-text); box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.bz-auth__lead { margin: 0 0 14px; color: var(--bz-muted); font-size: 14px; }
.bz-auth__msg { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; font-size: 14px; background: #ebfbee; color: #2b8a3e; }
.bz-auth__msg.is-error { background: #fff5f5; color: #c92a2a; }

.bz-auth__social { display: grid; gap: 10px; }
.bz-social-btn {
	display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 16px;
	border: 1.5px solid #dee2e6; border-radius: 11px; background: #fff; color: var(--bz-text); font-weight: 600; font-size: 15px;
	transition: border-color .15s, background .15s;
}
.bz-social-btn:hover { border-color: #adb5bd; background: #f8f9fa; color: var(--bz-text); }
.bz-social-btn--facebook { background: #1877f2; border-color: #1877f2; color: #fff; }
.bz-social-btn--facebook:hover { background: #166fe0; border-color: #166fe0; color: #fff; }
.bz-social-btn__g { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #f1f3f5; color: #1f2937; font: 700 15px/1 Arial, sans-serif; }
.bz-auth__or { display: flex; align-items: center; gap: 10px; margin: 16px 0 12px; color: #9ca3af; font-size: 13px; }
.bz-auth__or::before, .bz-auth__or::after { content: ""; flex: 1; height: 1px; background: var(--bz-line); }

.bz-auth__modes { display: inline-flex; gap: 4px; margin-bottom: 12px; padding: 3px; border-radius: 9px; background: #f1f3f5; }
.bz-auth__modes button { padding: 5px 12px; border: 0; border-radius: 7px; background: transparent; color: var(--bz-muted); font-size: 13px; font-weight: 600; }
.bz-auth__modes button.is-active { background: #fff; color: var(--bz-text); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }

.bz-auth__form { display: grid; }
.bz-field-label { display: block; margin: 0 0 5px; font-size: 13.5px; font-weight: 600; }
.bz-input {
	width: 100%; min-height: 46px; margin: 0 0 12px; padding: 0 14px; border: 1.5px solid #dee2e6; border-radius: 11px;
	background: #fff; font-size: 15px; outline: none; transition: border-color .15s, box-shadow .15s;
}
.bz-input:focus { border-color: var(--bz-primary); box-shadow: 0 0 0 3px var(--bz-primary-soft); }
.bz-input.is-invalid { border-color: var(--bz-sale); }
.bz-pass { position: relative; }
.bz-pass .bz-input { padding-right: 46px; }
.bz-pass__toggle { position: absolute; top: 4px; right: 4px; width: 38px; height: 38px; border: 0; border-radius: 8px; background: transparent; color: var(--bz-muted); display: grid; place-items: center; }
.bz-pass__toggle:hover { color: var(--bz-text); }
.bz-otp { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.bz-otp .bz-input { letter-spacing: .3em; font-weight: 600; }
.bz-otp .bz-btn { height: 46px; min-height: 0; padding: 0 14px; white-space: nowrap; line-height: 1.2; }
.bz-auth__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px 0 14px; font-size: 13.5px; }
.bz-check { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.bz-check input { width: 16px; height: 16px; accent-color: var(--bz-primary); }
.bz-auth__link { font-weight: 600; }
.bz-auth__submit { width: 100%; margin-top: 4px; }
.bz-auth__submit.is-loading, [data-bz-send-otp].is-loading { opacity: .7; pointer-events: none; }
.bz-auth__terms { margin: 12px 0 0; font-size: 12.5px; color: var(--bz-muted); text-align: center; }
.bz-auth__switch { margin: 16px 0 0; font-size: 14px; text-align: center; color: var(--bz-muted); }
.bz-auth__switch button { padding: 0; border: 0; background: none; color: var(--bz-primary); font-weight: 600; }
.bz-auth__preview { margin: 0 0 14px; padding: 10px 12px; border: 1px dashed #f59f00; border-radius: 10px; background: #fff9db; color: #7c5a00; font-size: 13px; line-height: 1.45; }
.bz-auth--modal .bz-auth__preview { margin-right: 40px; }
.bz-auth__preview strong { display: block; margin-bottom: 2px; color: #5c4300; }
.bz-social-btn.is-setup { position: relative; border-style: dashed; opacity: .75; }
.bz-social-btn--facebook.is-setup { border-color: #1877f2; }
.bz-social-btn__badge { position: absolute; top: -9px; right: 10px; padding: 1px 8px; border-radius: 99px; background: #f59f00; color: #fff; font-size: 11px; font-style: normal; font-weight: 700; line-height: 1.6; }
.bz-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 480px) {
	.bz-modal { padding: 0; place-items: end stretch; }
	.bz-modal__box { max-width: none; max-height: 92vh; border-radius: 20px 20px 0 0; padding-bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateY(40px); }
	.bz-auth--page { padding: 20px 16px; }
}
