/* ==========================================================================
   NovaShop — main stylesheet
   Uses CSS logical properties so one file serves both RTL and LTR.
   ========================================================================== */

:root {
	--primary: #4f46e5;
	--primary-d: #4338ca;
	--accent: #f97316;
	--ink: #0f172a;
	--muted: #64748b;
	--bg: #f6f7fb;
	--surface: #ffffff;
	--line: #e5e7ef;
	--ok: #16a34a;
	--danger: #dc2626;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow: 0 12px 32px -14px rgba(15, 23, 42, .22);
	--shadow-sm: 0 2px 10px -4px rgba(15, 23, 42, .12);
	--container: 1280px;
	--font: 'Vazirmatn', 'Inter', system-ui, -apple-system, 'Segoe UI', Tahoma, sans-serif;
}

[data-theme="dark"] {
	--ink: #e8ebf5;
	--muted: #98a2c0;
	--bg: #0a0f1f;
	--surface: #121a2f;
	--line: #222c48;
	--shadow: 0 12px 32px -14px rgba(0, 0, 0, .6);
	--shadow-sm: 0 2px 10px -4px rgba(0, 0, 0, .5);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 15px;
	line-height: 1.8;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
}
body.panel-open { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-d); }
h1, h2, h3, h4, h5 { line-height: 1.4; margin: 0 0 .6em; font-weight: 700; color: var(--ink); }
p { margin: 0 0 1em; }
ul, ol { padding-inline-start: 1.2em; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea {
	font-family: inherit; font-size: 14px; color: var(--ink);
	background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--radius-sm); padding: 11px 14px; max-width: 100%;
	transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
	outline: none; border-color: var(--primary);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent);
}
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link {
	position: absolute; inset-block-start: -60px; inset-inline-start: 12px; z-index: 1000;
	background: var(--primary); color: #fff; padding: 8px 16px; border-radius: 8px;
}
.skip-link:focus { inset-block-start: 12px; color: #fff; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { margin-block: 56px; }
.page-wrap { padding-block: 28px 64px; }

/* ---------- Buttons ---------- */
.btn, .button, button.button, input.button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 22px; border: 0; border-radius: 12px;
	font-weight: 600; font-size: 14px; line-height: 1.5;
	background: var(--primary); color: #fff; cursor: pointer;
	transition: background .2s, transform .15s, box-shadow .2s;
}
.btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce input.button:hover { background: var(--primary-d); color: #fff; transform: translateY(-1px); }
.btn-primary { background: var(--primary); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: color-mix(in srgb, var(--accent) 85%, #000); }
.btn-lg { padding: 14px 30px; font-size: 15px; border-radius: 14px; }
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce #respond input#submit.alt { background: var(--primary); color: #fff; }
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover { background: var(--primary-d); }
.woocommerce a.button.disabled, .woocommerce button.button:disabled, .woocommerce button.button.disabled { opacity: .5; }

.icon-btn {
	display: inline-grid; place-items: center; width: 42px; height: 42px;
	border: 0; border-radius: 12px; background: transparent; color: var(--ink);
	transition: background .2s;
}
.icon-btn:hover { background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary); }
.chip {
	display: inline-block; padding: 3px 12px; border-radius: 999px;
	background: var(--accent); color: #fff; font-size: 12px; font-weight: 600;
}
.chip--soft { background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); }
.notice-box { padding: 18px 22px; border-radius: var(--radius); background: var(--surface); border: 1px dashed var(--line); text-align: center; color: var(--muted); }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: #fff; font-size: 13px; }
[data-theme="dark"] .topbar { background: #070b17; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__msg { margin: 0; opacity: .92; }
.topbar__side { display: flex; align-items: center; gap: 18px; }
.topbar a { color: #fff; opacity: .9; }
.topbar a:hover { opacity: 1; color: #fff; }
.topbar__menu { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.topbar__phone { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Header ---------- */
.site-header { background: var(--surface); border-block-end: 1px solid var(--line); z-index: 50; }
.has-sticky-header .site-header { position: sticky; inset-block-start: 0; }
.site-header.is-stuck { box-shadow: var(--shadow-sm); }
.admin-bar.has-sticky-header .site-header { inset-block-start: 32px; }
.header__main { display: flex; align-items: center; gap: 20px; min-height: 76px; }
.burger { display: none; }
.brand { flex-shrink: 0; }
.brand img { max-height: 48px; width: auto; }
.brand__text { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 20px; }
.brand__mark {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
	background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-size: 20px;
}
.header__search { position: relative; flex: 1; max-width: 640px; margin-inline: auto; }
.search-form { position: relative; display: flex; }
.search-form .search-field {
	width: 100%; padding-block: 12px; padding-inline: 18px 52px;
	background: var(--bg); border-color: transparent; border-radius: 14px;
}
.search-form .search-field:focus { background: var(--surface); }
.search-submit {
	position: absolute; inset-block: 4px; inset-inline-end: 4px; width: 42px;
	border: 0; border-radius: 10px; background: var(--primary); color: #fff; display: grid; place-items: center;
}
.search-submit:hover { background: var(--primary-d); }
.live-results {
	position: absolute; inset-inline: 0; inset-block-start: calc(100% + 8px); z-index: 60;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	box-shadow: var(--shadow); max-height: 420px; overflow: auto;
}
.live-results ul { list-style: none; margin: 0; padding: 8px; }
.live-results a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--ink); }
.live-results a:hover { background: var(--bg); }
.live-results img { width: 48px; height: 48px; object-fit: cover; border-radius: 8px; }
.live-results .ls-title { flex: 1; font-size: 14px; font-weight: 500; }
.live-results .ls-price { font-size: 13px; color: var(--primary); font-weight: 700; }
.live-results .ls-empty { padding: 18px; text-align: center; color: var(--muted); }

.header__actions { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.search-open { display: none; }
.i-sun { display: none; }
[data-theme="dark"] .i-sun { display: block; }
[data-theme="dark"] .i-moon { display: none; }
.cart-btn {
	display: inline-flex; align-items: center; gap: 10px; border: 0; background: var(--bg);
	color: var(--ink); padding: 6px 14px 6px 8px; border-radius: 14px; margin-inline-start: 6px;
	transition: background .2s;
}
.cart-btn:hover { background: color-mix(in srgb, var(--primary) 12%, transparent); }
.cart-btn__icon { position: relative; display: grid; place-items: center; width: 34px; height: 34px; }
.nova-cart-count {
	position: absolute; inset-block-start: -4px; inset-inline-end: -6px; min-width: 20px; height: 20px;
	padding-inline: 5px; border-radius: 999px; background: var(--accent); color: #fff;
	font-size: 11px; font-weight: 700; line-height: 20px; text-align: center;
}
.nova-cart-count.is-empty { background: var(--muted); }
.cart-btn__total { font-size: 13px; font-weight: 600; }
.cart-btn__total .amount { white-space: nowrap; }

/* ---------- Nav ---------- */
.header__nav { border-block-start: 1px solid var(--line); }
.header__nav-in { display: flex; align-items: center; gap: 22px; min-height: 52px; }
.cat-dropdown { position: relative; }
.cat-dropdown__btn {
	display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 0;
	background: var(--primary); color: #fff; border-radius: 12px; font-weight: 600; font-size: 14px;
}
.cat-dropdown__btn:hover { background: var(--primary-d); }
.cat-dropdown__list {
	position: absolute; inset-block-start: calc(100% + 10px); inset-inline-start: 0; z-index: 70; min-width: 250px;
	list-style: none; margin: 0; padding: 8px; background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--radius); box-shadow: var(--shadow);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s;
}
.cat-dropdown:hover .cat-dropdown__list, .cat-dropdown.is-open .cat-dropdown__list { opacity: 1; visibility: visible; transform: none; }
.cat-dropdown__list li { position: relative; }
.cat-dropdown__list a { display: block; padding: 9px 14px; border-radius: 10px; color: var(--ink); font-size: 14px; }
.cat-dropdown__list a:hover { background: var(--bg); color: var(--primary); }
.cat-dropdown__list .children { list-style: none; margin: 0; padding: 0 12px 0 0; padding-inline: 12px 0; }
.cat-dropdown__list .children a { font-size: 13px; color: var(--muted); }

.menu { list-style: none; margin: 0; padding: 0; }
.primary-menu { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.primary-menu > li { position: relative; }
.primary-menu > li > a { display: block; padding: 12px 14px; color: var(--ink); font-weight: 500; border-radius: 10px; }
.primary-menu > li > a:hover, .primary-menu > li.current-menu-item > a { color: var(--primary); }
.primary-menu .menu-item-has-children > a::after { content: '▾'; font-size: 10px; margin-inline-start: 6px; opacity: .6; }
.primary-menu .sub-menu {
	position: absolute; inset-inline-start: 0; inset-block-start: 100%; z-index: 70; min-width: 220px;
	list-style: none; margin: 0; padding: 8px; background: var(--surface); border: 1px solid var(--line);
	border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s;
}
.primary-menu li:hover > .sub-menu, .primary-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-menu .sub-menu a { display: block; padding: 9px 14px; border-radius: 8px; color: var(--ink); font-size: 14px; }
.primary-menu .sub-menu a:hover { background: var(--bg); color: var(--primary); }
.primary-menu .sub-menu .sub-menu { inset-inline-start: 100%; inset-block-start: 0; }

/* ---------- Overlay / Drawers ---------- */
.nova-overlay { position: fixed; inset: 0; background: rgba(8, 12, 28, .55); backdrop-filter: blur(3px); z-index: 90; opacity: 0; transition: opacity .25s; }
.nova-overlay.is-on { opacity: 1; }
.drawer {
	position: fixed; inset-block: 0; z-index: 100; width: min(400px, 92vw); display: flex; flex-direction: column;
	background: var(--surface); box-shadow: var(--shadow); transition: transform .3s cubic-bezier(.2, .8, .2, 1);
}
.drawer--menu { inset-inline-start: 0; transform: translateX(-105%); }
.drawer--cart { inset-inline-end: 0; transform: translateX(105%); }
[dir="rtl"] .drawer--menu { transform: translateX(105%); }
[dir="rtl"] .drawer--cart { transform: translateX(-105%); }
.drawer.is-open { transform: none !important; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-block-end: 1px solid var(--line); }
.drawer__body { flex: 1; overflow: auto; padding: 18px 20px; }
.drawer .search-form { margin-block-end: 16px; }
.mobile-menu a { display: block; padding: 12px 4px; color: var(--ink); font-weight: 500; border-block-end: 1px solid var(--line); }
.mobile-menu .sub-menu { list-style: none; padding-inline-start: 16px; margin: 0; }
.mobile-menu .sub-menu a { font-weight: 400; color: var(--muted); }
.search-panel {
	position: fixed; inset-inline: 0; inset-block-start: 0; z-index: 100; background: var(--surface); padding-block: 16px;
	box-shadow: var(--shadow); transform: translateY(-110%); transition: transform .3s;
}
.search-panel.is-open { transform: none; }
.search-panel .container { display: flex; gap: 8px; align-items: center; }
.search-panel .search-form { flex: 1; }

/* Mini cart */
.woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; }
.woocommerce-mini-cart-item { position: relative; display: block; padding: 14px 0; padding-inline-start: 84px; min-height: 96px; border-block-end: 1px solid var(--line); }
.woocommerce-mini-cart-item img { position: absolute; inset-inline-start: 0; inset-block-start: 14px; width: 68px; height: 68px; object-fit: cover; border-radius: 12px; float: none; margin: 0; }
.woocommerce-mini-cart-item > a:not(.remove) { display: block; color: var(--ink); font-weight: 600; font-size: 14px; padding-inline-end: 28px; }
.woocommerce-mini-cart-item .quantity { color: var(--muted); font-size: 13px; }
.woocommerce a.remove, a.remove {
	position: absolute; inset-block-start: 14px; inset-inline-end: 0; width: 24px; height: 24px; line-height: 22px;
	text-align: center; border-radius: 50%; background: color-mix(in srgb, var(--danger) 12%, transparent) !important;
	color: var(--danger) !important; font-weight: 700; font-size: 16px;
}
.woocommerce a.remove:hover, a.remove:hover { background: var(--danger) !important; color: #fff !important; }
.woocommerce-mini-cart__total { display: flex; justify-content: space-between; padding-block: 16px; font-weight: 700; }
.woocommerce-mini-cart__buttons { display: grid; gap: 10px; margin: 0; }
.woocommerce-mini-cart__buttons .button { width: 100%; }
.woocommerce-mini-cart__buttons .button:not(.checkout) { background: var(--bg); color: var(--ink); }
.woocommerce-mini-cart__empty-message { text-align: center; color: var(--muted); padding-block: 40px; }
.free-ship { background: var(--bg); border-radius: 12px; padding: 12px 14px; margin-block-end: 8px; font-size: 13px; }
.free-ship p { margin: 0 0 8px; }
.free-ship .bar { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.free-ship .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 99px; transition: width .4s; }

/* ---------- Hero ---------- */
.hero { margin-block-start: 24px; }
.hero__slider { position: relative; border-radius: 24px; overflow: hidden; min-height: 440px; background: var(--ink); isolation: isolate; }
.hero__slide {
	position: absolute; inset: 0; display: flex; align-items: center; padding: 48px clamp(24px, 6vw, 80px);
	background-size: cover; background-position: center; opacity: 0; visibility: hidden; transition: opacity .7s, visibility .7s;
	background-color: #1e1b4b;
}
.hero__slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero__slide.theme-0 { background-image: linear-gradient(135deg, #4f46e5 0%, #7c3aed 55%, #db2777 100%); }
.hero__slide.theme-1 { background-image: linear-gradient(135deg, #0ea5e9 0%, #4f46e5 60%, #312e81 100%); }
.hero__slide.theme-2 { background-image: linear-gradient(135deg, #f97316 0%, #e11d48 60%, #7c1d6f 100%); }
.hero__slide[style*="url"]::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 12, 28, .75), rgba(8, 12, 28, .1)); }
[dir="rtl"] .hero__slide[style*="url"]::before { background: linear-gradient(270deg, rgba(8, 12, 28, .75), rgba(8, 12, 28, .1)); }
.hero__slide::after {
	content: ''; position: absolute; inset-inline-end: -80px; inset-block-end: -120px; width: 420px; height: 420px; border-radius: 50%;
	background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 70%); pointer-events: none;
}
.hero__content { position: relative; z-index: 2; max-width: 560px; color: #fff; }
.hero__content h2 { color: #fff; font-size: clamp(28px, 4.4vw, 48px); font-weight: 800; line-height: 1.3; margin-block: 14px; }
.hero__content p { font-size: 17px; opacity: .92; margin-block-end: 26px; }
.hero__kicker { display: inline-block; padding: 4px 14px; border-radius: 999px; background: rgba(255, 255, 255, .18); backdrop-filter: blur(6px); font-size: 13px; font-weight: 600; }
.hero__slide.is-active .hero__content > * { animation: rise .7s both; }
.hero__slide.is-active .hero__content > *:nth-child(2) { animation-delay: .1s; }
.hero__slide.is-active .hero__content > *:nth-child(3) { animation-delay: .2s; }
.hero__slide.is-active .hero__content > *:nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero__arrow {
	position: absolute; inset-block-start: 50%; transform: translateY(-50%); z-index: 5; width: 46px; height: 46px; border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); color: #fff; font-size: 26px; line-height: 1;
}
.hero__arrow:hover { background: rgba(255, 255, 255, .38); }
.hero__prev { inset-inline-start: 16px; }
.hero__next { inset-inline-end: 16px; }
.hero__dots { position: absolute; inset-block-end: 18px; inset-inline: 0; z-index: 5; display: flex; justify-content: center; gap: 8px; }
.hero__dots button { width: 10px; height: 10px; border: 0; padding: 0; border-radius: 99px; background: rgba(255, 255, 255, .5); transition: .3s; }
.hero__dots button.is-active { width: 30px; background: #fff; }

/* ---------- Features ---------- */
.features { margin-block-start: 28px; }
.features__list { list-style: none; margin: 0; padding: 22px 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.features__list li { display: flex; align-items: center; gap: 14px; }
.features__list svg { color: var(--primary); flex-shrink: 0; }
.features__list strong { display: block; font-size: 14px; }
.features__list span { font-size: 12.5px; color: var(--muted); }

/* ---------- Section heads ---------- */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-block-end: 22px; }
.section-head h2, .tabs__head h2 { margin: 0; font-size: 24px; font-weight: 800; position: relative; padding-inline-start: 16px; }
.section-head h2::before, .tabs__head h2::before { content: ''; position: absolute; inset-inline-start: 0; inset-block: 6px; width: 5px; border-radius: 4px; background: linear-gradient(var(--primary), var(--accent)); }
.more { font-weight: 600; font-size: 14px; }

/* ---------- Category grid ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.cat-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 20px 12px; text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); transition: .25s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--primary); color: var(--ink); }
.cat-card__img { width: 92px; height: 92px; border-radius: 50%; overflow: hidden; background: var(--bg); display: grid; place-items: center; margin-block-end: 8px; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; }
.cat-card__ph { font-size: 34px; font-weight: 800; color: var(--primary); }
.cat-card strong { font-size: 14.5px; }
.cat-card small { color: var(--muted); font-size: 12px; }

/* ---------- Tabs ---------- */
.tabs__head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-block-end: 22px; }
.tabs__nav { display: flex; gap: 6px; padding: 5px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; }
.tabs__nav button { border: 0; background: transparent; padding: 8px 18px; border-radius: 10px; font-weight: 600; font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.tabs__nav button.is-active { background: var(--primary); color: #fff; }
.tabs__panel { display: none; }
.tabs__panel.is-active { display: block; animation: rise .4s both; }

/* ---------- Product grid & cards ---------- */
.woocommerce ul.products, ul.products {
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0 0 24px; padding: 0;
}
.woocommerce ul.products.columns-2, ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.woocommerce ul.products.columns-3, ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.woocommerce ul.products.columns-5, ul.products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.woocommerce ul.products li.product, ul.products li.product {
	position: relative; display: flex; flex-direction: column; margin: 0; width: auto; float: none; padding: 14px;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); transition: .25s;
}
.woocommerce ul.products li.product:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary) 40%, var(--line)); }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; flex: 1; color: var(--ink); }
.woocommerce ul.products li.product a img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; margin: 0 0 14px; transition: transform .4s; }
.woocommerce ul.products li.product:hover a img { transform: scale(1.04); }
.woocommerce ul.products li.product a img { box-shadow: none; }
.loop-cat { font-size: 12px; color: var(--muted); margin-block-end: 2px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14.5px; font-weight: 600; line-height: 1.6; padding: 0; margin: 0 0 8px; min-height: 2 * 1.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.woocommerce ul.products li.product .star-rating { margin-block: 0 8px; font-size: 12px; }
.woocommerce ul.products li.product .price { margin-block-start: auto; color: var(--ink); font-weight: 700; font-size: 15px; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; }
.price del { color: var(--muted); font-weight: 400; font-size: .85em; opacity: .8; }
.price ins { text-decoration: none; color: var(--accent); }
.woocommerce ul.products li.product .button { margin-block-start: 14px; width: 100%; padding: 10px; background: var(--bg); color: var(--primary); }
.woocommerce ul.products li.product .button:hover { background: var(--primary); color: #fff; }
.woocommerce ul.products li.product .added_to_cart { margin-block-start: 8px; text-align: center; font-size: 13px; font-weight: 600; }
.woocommerce span.onsale, span.onsale {
	position: absolute; inset-block-start: 22px; inset-inline-start: 22px; z-index: 3; min-width: 0; min-height: 0; margin: 0;
	padding: 3px 11px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.7;
}
.woocommerce .star-rating span::before { color: #f59e0b; }

/* Shop layout */
.shop-layout { display: block; }
.shop-layout.has-sidebar { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
.shop-layout.has-sidebar ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.woocommerce-breadcrumb { font-size: 13px; color: var(--muted); margin-block-end: 20px; }
.woocommerce-breadcrumb .sep { margin-inline: 8px; opacity: .5; }
.woocommerce-breadcrumb a { color: var(--muted); }
.woocommerce-breadcrumb a:hover { color: var(--primary); }
.woocommerce-products-header__title, .product_title { font-size: 28px; font-weight: 800; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 12px 16px; margin-block-end: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.shop-toolbar .woocommerce-result-count, .shop-toolbar .woocommerce-ordering { margin: 0; float: none; }
.shop-toolbar select { padding: 8px 12px; }
.woocommerce-pagination, .navigation.pagination, .nav-links { margin-block-start: 28px; }
.woocommerce nav.woocommerce-pagination ul { display: flex; justify-content: center; gap: 6px; border: 0; list-style: none; padding: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; float: none; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span,
.nav-links .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.woocommerce nav.woocommerce-pagination ul li span.current, .woocommerce nav.woocommerce-pagination ul li a:hover, .nav-links .page-numbers.current, .nav-links .page-numbers:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.nav-links { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }

/* Sidebar / widgets */
.sidebar .widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-block-end: 20px; }
.widget-title { font-size: 16px; padding-block-end: 12px; margin-block-end: 14px; border-block-end: 1px solid var(--line); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding-block: 6px; }
.widget a { color: var(--ink); }
.widget a:hover { color: var(--primary); }
.widget .children, .widget .sub-menu { padding-inline-start: 14px; }
.woocommerce .widget_price_filter .ui-slider .ui-slider-range, .woocommerce .widget_price_filter .ui-slider .ui-slider-handle { background: var(--primary); }
.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content { background: var(--line); }

/* ---------- Single product ---------- */
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.single-product div.product > .woocommerce-tabs, .single-product div.product > .related, .single-product div.product > .upsells { grid-column: 1 / -1; }
.single-product div.product div.images { margin: 0; width: 100%; float: none; position: relative; }
.woocommerce-product-gallery__wrapper img { border-radius: var(--radius); }
.woocommerce-product-gallery .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; list-style: none; padding: 0; margin: 12px 0 0; }
.woocommerce-product-gallery .flex-control-thumbs img { border-radius: 10px; opacity: .6; cursor: pointer; transition: .2s; }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active, .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; }
.woocommerce div.product .woocommerce-product-gallery__trigger { inset-inline-end: 14px; inset-inline-start: auto; }
.single-product div.product div.summary { margin: 0; width: 100%; float: none; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.single-product div.summary .price { font-size: 26px; font-weight: 800; color: var(--primary); margin-block-end: 16px; display: block; }
.single-product div.summary .woocommerce-product-details__short-description { color: var(--muted); margin-block-end: 20px; }
.single-product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-block-end: 22px; }
.single-product form.cart .single_add_to_cart_button { flex: 1; min-width: 180px; padding: 14px 28px; font-size: 15px; background: var(--accent); }
.single-product form.cart .single_add_to_cart_button:hover { background: color-mix(in srgb, var(--accent) 85%, #000); }
.single-product form.cart.variations_form, .single-product form.variations_form { display: block; }
.variations_form table.variations { width: 100%; border: 0; margin-block-end: 16px; }
.variations_form table.variations td, .variations_form table.variations th { display: block; padding: 0; text-align: start; border: 0; }
.variations_form table.variations label { font-weight: 600; display: block; margin-block-end: 6px; }
.variations_form select { width: 100%; }
.single_variation_wrap { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.woocommerce-variation-add-to-cart { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; flex: 1; }
.product_meta { font-size: 13px; color: var(--muted); padding-block-start: 16px; border-block-start: 1px dashed var(--line); display: grid; gap: 4px; }
.product_meta a { color: var(--primary); }

.quantity { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--surface); }
.quantity input.qty { width: 54px; border: 0; border-radius: 0; text-align: center; padding: 10px 0; background: transparent; -moz-appearance: textfield; }
.quantity input.qty::-webkit-inner-spin-button, .quantity input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 40px; align-self: stretch; border: 0; background: var(--bg); color: var(--ink); font-size: 18px; }
.qty-btn:hover { background: var(--primary); color: #fff; }

.woocommerce-tabs { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 28px 28px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; border-block-end: 1px solid var(--line); overflow-x: auto; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs::after, .woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: transparent; border: 0; border-radius: 0; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { display: block; padding: 18px 18px; font-weight: 600; color: var(--muted); border-block-end: 3px solid transparent; white-space: nowrap; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--primary); border-block-end-color: var(--primary); }
.related.products > h2, .upsells.products > h2 { font-size: 22px; margin-block-end: 20px; }
.woocommerce-Reviews-title { font-size: 18px; }
#reviews .comment-form-rating .stars a { color: #f59e0b; }
.woocommerce #reviews #comments ol.commentlist { padding: 0; }
.woocommerce #reviews #comments ol.commentlist li img.avatar { border-radius: 50%; border: 0; padding: 0; background: none; position: static; width: 48px; }
.woocommerce #reviews #comments ol.commentlist li .comment-text { margin: 0 70px 0 0; margin-inline: 0 0; margin-inline-start: 64px; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.woocommerce #reviews #comments ol.commentlist li { list-style: none; position: relative; margin-block-end: 16px; }
.woocommerce #reviews #comments ol.commentlist li img.avatar { position: absolute; inset-inline-start: 0; inset-block-start: 0; }

/* Sticky add to cart */
.sticky-atc { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 60; background: var(--surface); border-block-start: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgba(15, 23, 42, .25); transform: translateY(110%); transition: transform .3s; }
.sticky-atc.is-visible { transform: none; }
.sticky-atc__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 10px; }
.sticky-atc__info { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sticky-atc__info img { width: 48px; height: 48px; object-fit: cover; border-radius: 10px; }
.sticky-atc__info strong { display: block; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 320px; }
.sticky-atc .price { font-size: 14px; color: var(--primary); font-weight: 700; }
.sticky-atc .btn { background: var(--accent); }

/* ---------- Cart / checkout / account ---------- */
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; border-spacing: 0; overflow: hidden; background: var(--surface); }
.woocommerce table.shop_table th { background: var(--bg); font-weight: 700; padding: 14px 16px; }
.woocommerce table.shop_table td { padding: 14px 16px; border-block-start: 1px solid var(--line); }
.woocommerce table.shop_table td.product-thumbnail img { width: 72px; border-radius: 10px; }
.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-cart .cart-collaterals { float: none; width: 100%; }
.woocommerce-cart .cart-collaterals .cart_totals { max-width: 460px; margin-inline-start: auto; padding: 22px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.woocommerce a.checkout-button { display: block; width: 100%; padding: 14px; font-size: 15px; background: var(--accent) !important; }
.woocommerce form .form-row { padding: 0; margin: 0 0 16px; }
.woocommerce form .form-row label { font-weight: 600; font-size: 13.5px; display: block; margin-block-end: 6px; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { width: 100%; padding: 12px 14px; border-radius: 10px; }
.woocommerce-checkout #customer_details, .woocommerce-checkout #order_review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.woocommerce-checkout #order_review_heading { margin-block: 24px 14px; }
.woocommerce-checkout #payment { background: var(--bg); border-radius: var(--radius); }
.woocommerce-checkout #payment div.payment_box { background: var(--surface); color: var(--ink); border-radius: 10px; }
.woocommerce-checkout #payment ul.payment_methods { border-block-end: 1px solid var(--line); }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border: 0 !important; border-inline-start: 4px solid var(--primary) !important; background: var(--surface) !important; color: var(--ink) !important; border-radius: 12px; padding: 16px 20px 16px 20px !important; box-shadow: var(--shadow-sm); list-style: none; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-message { border-inline-start-color: var(--ok) !important; }
.woocommerce-error { border-inline-start-color: var(--danger) !important; }
.woocommerce-message .button, .woocommerce-info .button { float: none; margin-inline-start: 12px; padding: 8px 16px; }
.woocommerce-account .woocommerce-MyAccount-navigation { width: 260px; float: none; }
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.woocommerce-MyAccount-navigation a { display: block; padding: 11px 16px; border-radius: 10px; color: var(--ink); font-weight: 500; }
.woocommerce-MyAccount-navigation li.is-active a, .woocommerce-MyAccount-navigation a:hover { background: var(--primary); color: #fff; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.woocommerce form.login, .woocommerce form.register { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }

/* ---------- Deal / promo ---------- */
.promo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.promo { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; min-height: 220px; padding: 30px; border-radius: 22px; color: #fff; overflow: hidden; background-size: cover; background-position: center; transition: transform .3s; isolation: isolate; }
.promo:hover { transform: translateY(-4px); color: #fff; }
.promo-1 { background-image: linear-gradient(135deg, #0f172a, #4f46e5); }
.promo-2 { background-image: linear-gradient(135deg, #f97316, #db2777); }
.promo[style*="url"]::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 12, 28, .75), rgba(8, 12, 28, .05)); }
.promo::after { content: ''; position: absolute; inset-inline-end: -40px; inset-block-start: -40px; z-index: -1; width: 220px; height: 220px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.promo__sub { font-size: 13px; opacity: .85; }
.promo__title { font-size: 26px; font-weight: 800; line-height: 1.4; }
.promo__cta { margin-block-start: 8px; font-weight: 600; }
.deal { background: linear-gradient(135deg, #1e1b4b, #4f46e5 60%, #7c3aed); color: #fff; padding-block: 56px; margin-block: 56px; }
.deal__in { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; align-items: center; }
.deal h2 { color: #fff; font-size: 30px; font-weight: 800; margin-block: 14px 22px; }
.countdown { display: flex; gap: 12px; }
.countdown div { display: grid; place-items: center; width: 74px; padding: 12px 0; border-radius: 14px; background: rgba(255, 255, 255, .14); backdrop-filter: blur(6px); }
.countdown b { font-size: 26px; line-height: 1.2; font-variant-numeric: tabular-nums; }
.countdown span { font-size: 12px; opacity: .85; }
.deal__products ul.products { margin: 0; }
.deal__products li.product { color: var(--ink); }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__thumb { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg); }
.post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .post-card__thumb img { transform: scale(1.06); }
.post-card__ph { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 30%, var(--bg)), color-mix(in srgb, var(--accent) 30%, var(--bg))); }
.post-card__body { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.post-card__title { font-size: 17px; margin: 6px 0 0; }
.post-card__title a { color: var(--ink); }
.post-card__title a:hover { color: var(--primary); }
.post-card__excerpt { color: var(--muted); font-size: 14px; margin: 0; }
.post-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-block-start: auto; padding-block-start: 10px; font-size: 12.5px; color: var(--muted); }
.post-card__meta img { border-radius: 50%; vertical-align: middle; }
.page-head { margin-block-end: 28px; }
.page-head h1 { font-size: 30px; font-weight: 800; margin: 0; }
.page-head h1 span { color: var(--primary); }
.page-head__desc { color: var(--muted); margin-block-start: 8px; }
.layout.has-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; }
.single-post { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.single-post__head h1 { font-size: 32px; font-weight: 800; margin-block: 12px; }
.single-post__thumb { margin: 24px 0; }
.single-post__thumb img { border-radius: var(--radius); width: 100%; }
.entry-content { font-size: 16px; line-height: 2; }
.entry-content h2, .entry-content h3 { margin-block: 1.6em .6em; }
.entry-content img { border-radius: 12px; }
.entry-content blockquote { margin: 1.6em 0; padding: 16px 22px; border-inline-start: 4px solid var(--primary); background: var(--bg); border-radius: 0 12px 12px 0; }
[dir="rtl"] .entry-content blockquote { border-radius: 12px 0 0 12px; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--line); padding: 10px 14px; }
.entry-content pre { background: #0f172a; color: #e2e8f0; padding: 18px; border-radius: 12px; overflow: auto; direction: ltr; }
.page-article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.single-post__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 24px; }
.single-post__tags a { padding: 4px 14px; border-radius: 999px; background: var(--bg); color: var(--muted); font-size: 13px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.post-navigation a { display: block; padding: 16px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); font-weight: 600; }
.post-navigation span { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.comments { margin-block-start: 40px; }
.comments__title, .comment-reply-title { font-size: 20px; }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment-body { padding: 18px; margin-block-end: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); }
.comment-list .children { list-style: none; padding-inline-start: 24px; }
.comment-author img { border-radius: 50%; vertical-align: middle; margin-inline-end: 10px; }
.comment-form label { display: block; font-weight: 600; margin-block-end: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; }
.empty-state { text-align: center; padding-block: 60px; }
.empty-state .search-form { max-width: 480px; margin: 24px auto; }
.error-404__code { font-size: 120px; font-weight: 800; line-height: 1; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Footer ---------- */
.site-footer { margin-block-start: 64px; }
.newsletter { background: linear-gradient(135deg, var(--primary), #7c3aed); color: #fff; }
.newsletter__in { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 36px; flex-wrap: wrap; }
.newsletter h3 { color: #fff; font-size: 22px; margin: 0 0 4px; }
.newsletter p { margin: 0; opacity: .9; }
.newsletter__form form { display: flex; gap: 8px; flex-wrap: wrap; }
.newsletter__form input[type="email"], .newsletter__form input[type="text"] { min-width: 280px; border: 0; padding: 14px 18px; border-radius: 12px; }
.footer__main { background: #0b1020; color: #aab2cc; padding-block: 56px 36px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__main h4, .footer__main .widget-title { color: #fff; font-size: 16px; border: 0; padding: 0; margin-block-end: 18px; }
.footer__main a { color: #aab2cc; }
.footer__main a:hover { color: #fff; }
.footer__main .widget { background: none; border: 0; padding: 0; margin: 0; }
.footer__main ul { list-style: none; margin: 0; padding: 0; }
.footer__main li { padding-block: 5px; }
.footer__main p { font-size: 14px; }
.social { display: flex; gap: 10px; margin-block-start: 16px; }
.social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: rgba(255, 255, 255, .08); }
.social a:hover { background: var(--primary); }
.footer__bottom { background: #070b17; color: #7d87a8; font-size: 13px; padding-block: 18px; }
.footer__bottom-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer__bottom p { margin: 0; }
.pay-badges { display: flex; gap: 8px; }
.pay-badges span { padding: 3px 12px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 999px; font-size: 12px; }
.to-top { position: fixed; inset-block-end: 24px; inset-inline-start: 24px; z-index: 55; width: 46px; height: 46px; border: 0; border-radius: 14px; background: var(--primary); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .25s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--primary-d); }
body.single-product .to-top { inset-block-end: 90px; }

/* WordPress core alignments */
.alignleft { float: left; margin-inline-end: 1.5em; }
.alignright { float: right; margin-inline-start: 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: 13px; color: var(--muted); text-align: center; }
.sticky .post-card { border-color: var(--primary); }
.bypostauthor > .comment-body { border-color: var(--primary); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.woocommerce ul.products, ul.products, .woocommerce ul.products.columns-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.deal__in { grid-template-columns: 1fr; }
	.features__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
	.burger { display: inline-grid; }
	.header__nav, .topbar__menu { display: none; }
	.header__search { display: none; }
	.search-open { display: inline-grid; }
	.header__main { min-height: 64px; gap: 8px; }
	.brand { margin-inline-end: auto; }
	.header__actions { margin-inline-start: 0; }
	.cart-btn__total { display: none; }
	.cart-btn { padding: 4px; background: transparent; }
	.single-product div.product { grid-template-columns: 1fr; gap: 24px; }
	.shop-layout.has-sidebar, .layout.has-sidebar { grid-template-columns: 1fr; }
	.shop-layout.has-sidebar ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.woocommerce-account .woocommerce { grid-template-columns: 1fr; }
	.post-grid, .post-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hero__slider { min-height: 380px; }
	.promo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 782px) {
	.admin-bar.has-sticky-header .site-header { inset-block-start: 46px; }
}
@media (max-width: 600px) {
	.container { padding-inline: 14px; }
	.section { margin-block: 38px; }
	.topbar__in { justify-content: center; text-align: center; }
	.topbar__side { display: none; }
	.woocommerce ul.products, ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.woocommerce ul.products li.product { padding: 10px; }
	.woocommerce ul.products li.product .button { font-size: 12.5px; padding: 9px 6px; }
	.deal__products ul.products { grid-template-columns: 1fr; }
	.post-grid, .post-grid--2 { grid-template-columns: 1fr; }
	.hero__slider { min-height: 340px; border-radius: 18px; }
	.hero__slide { padding: 28px 22px; }
	.hero__arrow { display: none; }
	.footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.features__list { grid-template-columns: 1fr; padding: 16px; gap: 14px; }
	.section-head h2, .tabs__head h2 { font-size: 20px; }
	.single-post, .page-article { padding: 20px; }
	.single-post__head h1 { font-size: 24px; }
	.countdown div { width: 64px; }
	.newsletter__form input[type="email"] { min-width: 0; flex: 1; }
	.sticky-atc__info strong { max-width: 150px; }
	.woocommerce-tabs { padding-inline: 16px; }
	.to-top { inset-block-end: 16px; inset-inline-start: 16px; }
	.woocommerce table.shop_table_responsive tr td::before { font-weight: 600; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.topbar, .site-header, .site-footer, .to-top, .drawer, .sticky-atc { display: none !important; }
}

/* ==========================================================================
   v1.1 — richer visuals
   ========================================================================== */
body {
	background:
		radial-gradient(900px 420px at 100% -80px, color-mix(in srgb, var(--primary) 9%, transparent), transparent 70%),
		radial-gradient(700px 380px at 0% 340px, color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%),
		var(--bg);
	background-repeat: no-repeat;
}
.topbar { background: linear-gradient(90deg, var(--primary-d), var(--primary) 55%, color-mix(in srgb, var(--accent) 70%, var(--primary))); }
[data-theme="dark"] .topbar { background: linear-gradient(90deg, #1b1747, #2a2573); }
.site-header { background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); }
.header__nav { background: transparent; }
.primary-menu > li > a { position: relative; }
.primary-menu > li > a::before {
	content: ''; position: absolute; inset-inline: 14px; inset-block-end: 6px; height: 2px; border-radius: 2px;
	background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transition: transform .25s;
}
.primary-menu > li > a:hover::before, .primary-menu > li.current-menu-item > a::before { transform: scaleX(1); }

/* Buttons */
.btn-white { background: #fff; color: var(--primary-d); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .35); }
.btn-white:hover { background: #fff; color: var(--primary); transform: translateY(-2px); }
.btn-ghost { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .4); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .26); color: #fff; }
.btn-primary { background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 70%, #7c3aed)); }

/* Hero */
.hero__slider { min-height: 500px; box-shadow: 0 30px 60px -28px color-mix(in srgb, var(--primary) 70%, #000); }
.hero__slide { justify-content: space-between; gap: 24px; }
.hero__slide.theme-0 { background-image: radial-gradient(600px 400px at 85% 10%, rgba(255, 255, 255, .22), transparent 60%), linear-gradient(135deg, #4338ca 0%, #6d28d9 52%, #be185d 100%); }
.hero__slide.theme-1 { background-image: radial-gradient(600px 400px at 85% 10%, rgba(255, 255, 255, .22), transparent 60%), linear-gradient(135deg, #0284c7 0%, #4f46e5 58%, #1e1b4b 100%); }
.hero__slide.theme-2 { background-image: radial-gradient(600px 400px at 85% 10%, rgba(255, 255, 255, .22), transparent 60%), linear-gradient(135deg, #ea580c 0%, #e11d48 58%, #701a75 100%); }
.hero__slide.has-img { background-size: cover; }
.hero__slide::before {
	content: ''; position: absolute; inset: 0; opacity: .5; pointer-events: none;
	background-image: radial-gradient(rgba(255, 255, 255, .35) 1px, transparent 1.5px); background-size: 26px 26px;
	-webkit-mask-image: linear-gradient(90deg, transparent 10%, #000 90%); mask-image: linear-gradient(90deg, transparent 10%, #000 90%);
}
[dir="rtl"] .hero__slide::before { -webkit-mask-image: linear-gradient(270deg, transparent 10%, #000 90%); mask-image: linear-gradient(270deg, transparent 10%, #000 90%); }
.hero__slide.has-img::before { display: none; }
.hero__slide[style*="url"]::before { display: block; opacity: 1; background: linear-gradient(90deg, rgba(8, 12, 28, .75), rgba(8, 12, 28, .1)); -webkit-mask-image: none; mask-image: none; }
[dir="rtl"] .hero__slide[style*="url"]::before { background: linear-gradient(270deg, rgba(8, 12, 28, .75), rgba(8, 12, 28, .1)); }
.hero__kicker { display: inline-flex; align-items: center; gap: 8px; }
.hero__kicker i { width: 8px; height: 8px; border-radius: 50%; background: #fde047; box-shadow: 0 0 0 4px rgba(253, 224, 71, .3); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(253, 224, 71, 0); } }
.hero__content { flex: 1; max-width: 600px; }
.hero__content h2 { font-size: clamp(30px, 4.6vw, 54px); letter-spacing: -.5px; text-shadow: 0 6px 30px rgba(0, 0, 0, .25); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__art { position: relative; z-index: 2; flex: 0 0 min(44%, 480px); align-self: stretch; display: grid; place-items: center; color: var(--primary-d); }
.hero__art .art-card {
	position: relative; width: min(300px, 80%); aspect-ratio: 220 / 240; padding: 18px; border-radius: 40px;
	background: linear-gradient(160deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .08));
	border: 1px solid rgba(255, 255, 255, .45); backdrop-filter: blur(10px); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
	transform: rotate(-6deg); animation: floaty 6s ease-in-out infinite;
}
.hero__art .orb { position: absolute; border-radius: 50%; filter: blur(2px); }
.hero__art .orb-1 { width: 170px; height: 170px; inset-block-start: 4%; inset-inline-end: 6%; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .6), rgba(255, 255, 255, .06)); animation: floaty 7s ease-in-out infinite reverse; }
.hero__art .orb-2 { width: 90px; height: 90px; inset-block-end: 8%; inset-inline-start: 6%; background: radial-gradient(circle at 30% 30%, rgba(253, 224, 71, .85), rgba(253, 224, 71, .1)); animation: floaty 5s ease-in-out infinite; }
.hero__art .ring { position: absolute; width: 380px; height: 380px; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, .35); animation: spin 40s linear infinite; }
.float-chip {
	position: absolute; display: grid; gap: 0; padding: 10px 16px; border-radius: 16px; line-height: 1.5;
	background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .5);
}
.float-chip b { font-size: 17px; color: var(--primary-d); }
.float-chip span { font-size: 12px; color: var(--muted); }
.chip-a { inset-block-start: 12%; inset-inline-start: 0; animation: floaty 5.5s ease-in-out infinite; }
.chip-b { inset-block-end: 14%; inset-inline-end: 4%; animation: floaty 6.5s ease-in-out infinite reverse; }
.chip-c { inset-block-end: 4%; inset-inline-start: 12%; animation: floaty 7s ease-in-out infinite; }
.chip-c b { color: var(--accent); }
@keyframes floaty { 50% { transform: translateY(-14px) rotate(var(--r, 0deg)); } }
.hero__art .art-card { --r: -6deg; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Features */
.features__list { box-shadow: var(--shadow-sm); margin-block-start: -34px; position: relative; z-index: 6; }
.features__list .ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); flex-shrink: 0; transition: .25s; }
.features__list li:hover .ico { background: var(--primary); color: #fff; transform: rotate(-6deg) scale(1.06); }
.features { margin-block-start: 0; }

/* Category tones */
.cat-card { position: relative; overflow: hidden; }
.cat-card::before { content: ''; position: absolute; inset-inline: 0; inset-block-start: 0; height: 70px; opacity: .14; transition: opacity .25s; background: var(--tone, var(--primary)); }
.cat-card:hover::before { opacity: .28; }
.cat-card > * { position: relative; }
.cat-card.tone-0 { --tone: #4f46e5; } .cat-card.tone-1 { --tone: #f97316; } .cat-card.tone-2 { --tone: #10b981; } .cat-card.tone-3 { --tone: #ec4899; }
.cat-card__img { background: var(--surface); box-shadow: 0 8px 20px -10px var(--tone, var(--primary)); border: 3px solid var(--surface); }
.cat-card__ph { color: var(--tone, var(--primary)); }

/* Section heading polish */
.section-head h2, .tabs__head h2 { font-size: 26px; }
.more { display: inline-flex; padding: 6px 16px; border-radius: 999px; background: color-mix(in srgb, var(--primary) 10%, transparent); }
.more:hover { background: var(--primary); color: #fff; }

/* Product card polish */
.woocommerce ul.products li.product { border-radius: 20px; }
.woocommerce ul.products li.product::after { content: ''; position: absolute; inset-inline: 14px; inset-block-start: 0; height: 3px; border-radius: 0 0 6px 6px; background: linear-gradient(90deg, var(--primary), var(--accent)); transform: scaleX(0); transition: transform .3s; }
.woocommerce ul.products li.product:hover::after { transform: scaleX(1); }
.woocommerce ul.products li.product .button { background: color-mix(in srgb, var(--primary) 10%, transparent); }

/* Demo products */
.notice-box--warn { text-align: start; border-style: solid; border-color: color-mix(in srgb, var(--accent) 50%, var(--line)); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); color: var(--ink); line-height: 2; }
.demo-note { margin-block-end: 14px; padding: 8px 14px; border-radius: 10px; background: var(--bg); border: 1px dashed var(--line); font-size: 12.5px; color: var(--muted); }
.demo-img { display: grid; place-items: center; aspect-ratio: 1; border-radius: 14px; margin-block-end: 14px; position: relative; overflow: hidden; }
.demo-img::after { content: ''; position: absolute; inset-inline-end: -30px; inset-block-start: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.demo-products .price ins { text-decoration: none; }
.deal__products .demo-products { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.deal__products .demo-products li:nth-child(n+4), .deal__products .demo-note { display: none; }

/* Promo extras */
.promo__deco { position: absolute; inset-inline-end: 24px; inset-block-start: 24px; width: 110px; height: 110px; z-index: -1; color: #fff; }
.promo__cta b { display: inline-block; transition: transform .25s; }
.promo:hover .promo__cta b { transform: translateX(-6px); }
[dir="ltr"] .promo:hover .promo__cta b { transform: translateX(6px); }

/* Deal */
.deal { position: relative; overflow: hidden; }
.deal::before, .deal::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 65%); }
.deal::before { width: 460px; height: 460px; inset-block-start: -200px; inset-inline-start: -120px; }
.deal::after { width: 380px; height: 380px; inset-block-end: -180px; inset-inline-end: 10%; }
.deal__info p { opacity: .85; margin-block-end: 24px; }
.deal__in { position: relative; z-index: 1; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-sm); }
.stats > div { padding: 34px 20px; text-align: center; position: relative; }
.stats > div + div::before { content: ''; position: absolute; inset-inline-start: 0; inset-block: 28px; width: 1px; background: var(--line); }
.stats b { display: block; font-size: 38px; font-weight: 800; line-height: 1.3; background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { color: var(--muted); font-size: 14px; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.testi { position: relative; margin: 0; padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; transition: .25s; }
.testi:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testi::before { content: '”'; position: absolute; inset-inline-end: 22px; inset-block-start: 4px; font-size: 90px; line-height: 1; font-family: Georgia, serif; color: color-mix(in srgb, var(--primary) 16%, transparent); }
.testi__stars { color: #f59e0b; letter-spacing: 3px; font-size: 16px; margin-block-end: 10px; }
.testi blockquote { margin: 0 0 20px; font-size: 15px; line-height: 2; color: var(--ink); }
.testi figcaption { display: flex; align-items: center; gap: 12px; }
.testi figcaption strong { display: block; font-size: 14.5px; line-height: 1.4; }
.testi figcaption small { color: var(--muted); font-size: 12px; }
.testi__avatar { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); color: #fff; font-weight: 700; }

/* Footer polish */
.newsletter { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--primary-d), var(--primary) 55%, #7c3aed); }
.newsletter::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .25) 1px, transparent 1.5px); background-size: 24px 24px; opacity: .5; pointer-events: none; }
.newsletter__in { position: relative; }
.footer__main { background: linear-gradient(180deg, #0b1020, #080c19); }

/* Responsive additions */
@media (max-width: 1100px) {
	.hero__art { flex-basis: 40%; }
	.testi-grid { grid-template-columns: 1fr 1fr; }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.stats > div:nth-child(3)::before { display: none; }
}
@media (max-width: 900px) {
	.hero__art { display: none; }
	.hero__slider { min-height: 400px; }
	.features__list { margin-block-start: -24px; }
}
@media (max-width: 600px) {
	.hero__slider { min-height: 380px; }
	.hero__cta .btn-ghost { display: none; }
	.testi-grid { grid-template-columns: 1fr; }
	.stats b { font-size: 28px; }
	.stats > div { padding: 22px 10px; }
	.deal__products .demo-products { grid-template-columns: 1fr; }
}

/* v1.1.1 — mobile: don't let the features card cover the hero dots */
@media (max-width: 900px) {
	.features__list { margin-block-start: 18px; }
	.hero__dots { inset-block-end: 14px; }
}

/* v1.1.2 — hero product photo / illustration */
.hero__art .art-card { display: grid; place-items: center; }
.hero__art .art-card img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 22px 24px rgba(0, 0, 0, .35)); transform: rotate(6deg); }
.hero__art .art-card svg { overflow: visible; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .25)); }

/* v1.2 — shop merged into home */
.topbar__side { margin-inline-start: auto; }
.shop-home { scroll-margin-top: 130px; }
.shop-sort { display: flex; align-items: center; gap: 8px; }
.shop-sort select { padding: 9px 14px; border-radius: 12px; min-width: 150px; }
.shop-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 22px; }
.shop-chip { padding: 8px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-size: 13.5px; font-weight: 600; transition: .2s; }
.shop-chip:hover { border-color: var(--primary); color: var(--primary); }
.shop-chip.is-active { background: var(--primary); border-color: var(--primary); color: #fff; }
@media (max-width: 600px) {
	.shop-home .section-head { flex-wrap: wrap; }
	.shop-chips { flex-wrap: nowrap; overflow-x: auto; padding-block-end: 6px; margin-inline: -14px; padding-inline: 14px; }
	.shop-chip { white-space: nowrap; }
}

/* ==========================================================================
   v2 — shop extras, contact page, mobile nav, floating buttons
   ========================================================================== */
.btn-soft { background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary); }
.btn-soft:hover { background: var(--primary); color: #fff; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5a; color: #fff; }
.btn[data-wl].is-on, .btn[data-cmp].is-on { background: var(--accent); color: #fff; }

/* Loop meta / badges */
.loop-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-block-end: 2px; }
.loop-meta .loop-cat { margin: 0; }
.badge-original { display: inline-flex; align-items: center; gap: 3px; padding: 1px 9px; border-radius: 999px; background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); font-size: 11.5px; font-weight: 700; line-height: 1.8; }
.compat { display: flex; align-items: flex-start; gap: 4px; font-size: 12px; color: var(--primary); font-weight: 600; margin-block-end: 6px; line-height: 1.7; }
.compat svg { flex-shrink: 0; margin-block-start: 4px; }
.low-stock { display: inline-block; align-self: flex-start; padding: 1px 10px; border-radius: 999px; background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); font-size: 11.5px; font-weight: 700; margin-block-end: 6px; }
.single-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-block-end: 14px; }
.sale-timer { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); font-weight: 600; font-size: 13.5px; margin-block-end: 16px; }
.sale-timer b { font-variant-numeric: tabular-nums; direction: ltr; }
.single-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-block: 4px 18px; }
.single-actions .btn { flex: 1 1 auto; }

/* Card actions */
.card-actions { position: absolute; inset-block-start: 20px; inset-inline-end: 20px; z-index: 4; display: flex; flex-direction: column; gap: 6px; opacity: 0; transform: translateX(-8px); transition: .2s; }
[dir="ltr"] .card-actions { transform: translateX(8px); }
.woocommerce ul.products li.product:hover .card-actions, .card-actions:focus-within { opacity: 1; transform: none; }
.ca-btn { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); transition: .2s; }
.ca-btn:hover { background: var(--primary); color: #fff; }
.ca-btn.is-on { background: var(--accent); color: #fff; }
.ca-btn[data-wl].is-on svg { fill: currentColor; }
@media (hover: none) { .card-actions { opacity: 1; transform: none; } .ca-btn { width: 32px; height: 32px; } .ca-btn svg { width: 16px; height: 16px; } }

/* Header wishlist */
.wl-btn { position: relative; }
.wl-count { position: absolute; inset-block-start: 2px; inset-inline-end: 0; min-width: 18px; height: 18px; padding-inline: 4px; border-radius: 99px; background: var(--accent); color: #fff; font-size: 10.5px; line-height: 18px; text-align: center; font-weight: 700; }
.wl-count[hidden] { display: none; }
.m-title { font-size: 14px; color: var(--muted); margin: 22px 0 6px; }
.m-cats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.m-cats a { display: block; padding: 10px 12px; background: var(--bg); border-radius: 12px; color: var(--ink); font-size: 13.5px; font-weight: 600; text-align: center; }

/* Wishlist drawer + mini cart suggestions */
.wl-list { list-style: none; margin: 0; padding: 0; }
.wl-row { position: relative; display: flex; gap: 12px; padding: 14px 0; border-block-end: 1px solid var(--line); }
.wl-row__img img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.wl-row__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; padding-inline-end: 26px; }
.wl-row__txt > a { color: var(--ink); font-weight: 600; font-size: 14px; }
.wl-row__txt .button { align-self: flex-start; padding: 7px 14px; font-size: 12.5px; }
.wl-row__x { position: absolute; inset-block-start: 12px; inset-inline-end: 0; width: 24px; height: 24px; border: 0; border-radius: 50%; background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); font-size: 12px; }
.empty-msg { text-align: center; color: var(--muted); padding-block: 40px; }
.mc-up { margin-block-start: 18px; padding-block-start: 14px; border-block-start: 1px dashed var(--line); }
.mc-up h4 { font-size: 14px; margin-block-end: 10px; }
.mc-up__row { display: flex; align-items: center; gap: 10px; padding-block: 8px; }
.mc-up__img img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.mc-up__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; line-height: 1.6; }
.mc-up__txt a { color: var(--ink); font-weight: 600; }
.mc-up .button { padding: 7px 12px; font-size: 12px; white-space: nowrap; background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary); }
.mc-up .button:hover { background: var(--primary); color: #fff; }
.mc-up .added_to_cart { display: none; }

/* Modal (quick view / compare) */
.modal { position: fixed; inset: 0; z-index: 120; display: none; place-items: center; padding: 16px; }
.modal.is-open { display: grid; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8, 12, 28, .6); backdrop-filter: blur(3px); }
.modal__box { position: relative; width: min(920px, 100%); max-height: 90vh; overflow: auto; background: var(--surface); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); animation: rise .25s both; }
.modal--cmp .modal__box { width: min(1040px, 100%); }
.modal__close { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; z-index: 2; }
.qv { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.qv__img img { width: 100%; border-radius: 16px; }
.qv__info h3 { font-size: 20px; margin-block: 8px 10px; }
.qv__chips { display: flex; gap: 8px; flex-wrap: wrap; margin-block-end: 8px; }
.qv .price { font-size: 22px; font-weight: 800; color: var(--primary); display: block; margin-block: 8px 12px; }
.qv__desc { color: var(--muted); font-size: 14px; margin-block-end: 14px; }
.qv__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cmp-wrap { overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; min-width: 560px; }
.cmp th, .cmp td { padding: 12px 14px; border: 1px solid var(--line); text-align: start; vertical-align: top; font-size: 14px; }
.cmp th { background: var(--bg); width: 130px; white-space: nowrap; }
.cmp thead td { text-align: center; }
.cmp thead img { width: 110px; height: 110px; object-fit: cover; border-radius: 12px; display: block; margin: 0 auto 8px; }
.cmp thead a { color: var(--ink); font-weight: 600; }
.cmp-x { display: block; margin: 8px auto 0; border: 0; background: transparent; color: var(--danger); font-size: 12.5px; }
.cmp-bar { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 58; display: flex; justify-content: center; align-items: center; gap: 12px; padding: 12px 16px; background: var(--surface); border-block-start: 1px solid var(--line); box-shadow: 0 -10px 30px -12px rgba(15, 23, 42, .25); transform: translateY(110%); transition: transform .3s; font-weight: 600; }
.cmp-bar.is-visible { transform: none; }
.cmp-bar .btn { padding: 8px 18px; }
.toast { position: fixed; inset-inline: 0; inset-block-end: 90px; margin-inline: auto; width: max-content; max-width: 90vw; z-index: 130; background: var(--ink); color: var(--surface); padding: 10px 20px; border-radius: 12px; font-size: 13.5px; animation: rise .25s both; }

/* Shop filters */
.shop-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-block-end: 22px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.shop-filters__item { display: grid; gap: 4px; font-size: 12.5px; color: var(--muted); }
.shop-filters__item select { min-width: 150px; padding: 9px 14px; border-radius: 12px; color: var(--ink); }
.shop-filters__reset { margin-inline-start: auto; align-self: center; font-size: 13px; font-weight: 600; color: var(--danger); }
.shop-home.is-loading ul.products, .shop-home.is-loading .navigation { opacity: .45; pointer-events: none; transition: opacity .2s; }

/* Floating contact button */
.fab { position: fixed; inset-inline-end: 20px; inset-block-end: 24px; z-index: 56; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.fab__list { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; opacity: 0; visibility: hidden; transform: translateY(10px); transition: .22s; }
.fab.is-open .fab__list { opacity: 1; visibility: visible; transform: none; }
.fab__item { display: inline-flex; align-items: center; gap: 10px; padding: 8px 8px 8px 16px; border-radius: 999px; color: #fff; font-size: 13px; font-weight: 600; box-shadow: var(--shadow); }
.fab__item:hover { color: #fff; transform: translateY(-2px); }
.fab__item svg { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: rgba(255, 255, 255, .22); }
.fab--call { background: #0ea5e9; } .fab--wa { background: #25d366; } .fab--tg { background: #229ed9; }
.fab__toggle { width: 58px; height: 58px; border: 0; border-radius: 50%; color: #fff; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), var(--accent)); box-shadow: 0 14px 30px -10px color-mix(in srgb, var(--primary) 70%, #000); animation: fabpulse 2.6s infinite; }
@keyframes fabpulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 45%, transparent); } 70%, 100% { box-shadow: 0 0 0 16px transparent; } }

/* Mobile bottom navigation */
.bottom-nav { display: none; }
@media (max-width: 900px) {
	.bottom-nav { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 57; display: grid; grid-template-columns: repeat(5, 1fr); background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(12px); border-block-start: 1px solid var(--line); padding-block-end: env(safe-area-inset-bottom); }
	.bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px 7px; border: 0; background: transparent; color: var(--muted); font-size: 11px; font-weight: 600; }
	.bottom-nav .is-active, .bottom-nav a:hover { color: var(--primary); }
	.bn-ico { position: relative; display: inline-grid; }
	.bn-ico .nova-cart-count { inset-block-start: -6px; inset-inline-end: -10px; }
	.has-bottom-nav { padding-block-end: 62px; }
	.has-bottom-nav .fab { inset-block-end: 76px; inset-inline-end: 14px; }
	.has-bottom-nav .to-top { inset-block-end: 76px; }
	.has-bottom-nav .sticky-atc { inset-block-end: 56px; }
	.has-bottom-nav .cmp-bar { inset-block-end: 56px; }
	.has-bottom-nav .toast { inset-block-end: 130px; }
	body.single-product.has-bottom-nav .to-top { inset-block-end: 130px; }
	.qv { grid-template-columns: 1fr; gap: 16px; }
	.modal__box { padding: 20px 16px; }
}

/* Footer trust badges */
.footer__trust { background: #0b1020; padding-block: 20px; border-block-start: 1px solid rgba(255, 255, 255, .08); }
.footer__trust-in { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.trust-box { display: grid; place-items: center; min-width: 110px; padding: 10px 14px; background: #fff; border-radius: 14px; }
.trust-box img { max-height: 88px; width: auto; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.info-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.info-card__ico { display: grid; place-items: center; flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); }
.info-card strong { display: block; margin-block-end: 2px; }
.info-card p { margin: 0; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.ltr-link { display: inline-block; color: var(--ink); font-weight: 600; }
.chat-link { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; border-radius: 999px; color: #fff; font-size: 13px; font-weight: 600; }
.chat-link:hover { color: #fff; opacity: .9; }
.chat-link--wa { background: #25d366; } .chat-link--tg { background: #229ed9; }
.contact-map iframe { width: 100%; height: 260px; border: 0; border-radius: var(--radius); }
.map-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-block-start: 10px; }
.contact-form { padding: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); position: sticky; inset-block-start: 130px; }
.contact-form h2 { font-size: 20px; }
.contact-form label { display: block; font-weight: 600; font-size: 13.5px; margin-block-end: 6px; }
.contact-form input[type="text"], .contact-form input[type="tel"], .contact-form textarea { width: 100%; }
.contact-form p { margin: 0 0 14px; }
.contact-form .hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 12px 16px; border-radius: 12px; margin-block-end: 16px; font-size: 14px; }
.form-msg--ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.form-msg--err { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .contact-form { position: static; } }

.promo-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ==========================================================================
   v2.1 — product grid / card fixes, shop tabs
   ========================================================================== */
ul.products::before, ul.products::after,
.woocommerce ul.products::before, .woocommerce ul.products::after,
.woocommerce-page ul.products::before, .woocommerce-page ul.products::after { content: none !important; display: none !important; }
ul.products > :not(li.product) { display: none !important; }
ul.products { grid-auto-flow: row; align-items: stretch; }
.woocommerce ul.products li.product, ul.products li.product { height: 100%; min-width: 0; }
.woocommerce ul.products li.product a img, ul.products li.product a img {
	width: 100%; aspect-ratio: 1; object-fit: contain; padding: 10px; background: #fff;
	border-radius: 14px; border: 1px solid var(--line);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title, ul.products li.product .woocommerce-loop-product__title { min-height: 3.2em; }
.woocommerce ul.products li.product .price, ul.products li.product .price { margin-block-start: auto; padding-block-start: 6px; }
.woocommerce ul.products li.product .button, ul.products li.product .button { margin-block-start: 12px; }
.cat-card__ph svg { display: block; }

.shop-tabs { display: flex; gap: 4px; padding: 5px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow-x: auto; max-width: 100%; }
.shop-tab { padding: 8px 18px; border-radius: 10px; font-weight: 600; font-size: 13.5px; color: var(--muted); white-space: nowrap; }
.shop-tab:hover { color: var(--primary); }
.shop-tab.is-active { background: var(--primary); color: #fff; }
@media (max-width: 600px) { .shop-home .section-head { flex-direction: column; align-items: flex-start; } .shop-tabs { width: 100%; } .shop-tab { flex: 1; text-align: center; padding-inline: 10px; } }

/* ===== v2.1.1: compact single product page ===== */
.single-product div.product { grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 32px; max-width: 1080px; margin-inline: auto; }
.single-product div.product div.images { max-width: 440px; margin-inline: auto; }
.single-product .woocommerce-product-gallery__image img,
.single-product .woocommerce-product-gallery__wrapper img { width: 100%; max-height: 420px; aspect-ratio: 1; object-fit: contain; background: #fff; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.single-product .woocommerce-product-gallery .flex-control-thumbs { grid-template-columns: repeat(5, 64px); justify-content: start; gap: 8px; }
.single-product .woocommerce-product-gallery .flex-control-thumbs img { padding: 3px; max-height: 64px; aspect-ratio: 1; }
.single-product div.product div.summary { padding: 20px 22px; }
.single-product .product_title { font-size: 22px; line-height: 1.5; margin: 0 0 8px; }
.single-product div.summary .price { font-size: 22px; margin-block-end: 10px; }
.single-product form.cart { gap: 10px; margin-block-end: 14px; }
.single-product form.cart .single_add_to_cart_button { padding: 11px 22px; font-size: 14px; min-width: 150px; }
.single-product .single-actions { margin-block: 0 12px; }
.single-product .single-actions .btn { padding: 9px 14px; font-size: 13px; }
.single-product .product_meta { font-size: 13px; }
@media (max-width: 900px) { .single-product div.product { grid-template-columns: 1fr; } .single-product div.product div.images { max-width: 380px; } }
