/* ==========================================================================
   Ghab Glass — main stylesheet (RTL, no framework)
   ========================================================================== */

:root {
	--ink: #14161A;
	--charcoal: #0F1115;
	--charcoal-2: #1B1E26;
	--surface: #FFFFFF;
	--page: #F4F5F7;
	--border: #E7E8EC;
	--border-dark: #2A2D37;
	--muted: #6B7280;
	--muted-2: #9CA3AF;
	--accent: #2F6FED;
	--accent-h: #2557C7;
	--accent-soft: #E7EFFF;
	--accent-2: #5B93FF;
	--glass: #6EE7F9;
	--gold: #F5A623;
	--gold-h: #FFC24D;
	--red: #E23744;
	--red-soft: #FDEBEE;
	--green: #16A34A;
	--green-soft: #ECFDF3;
	--brand-grad: linear-gradient(135deg, #1E3A8A 0%, #2F6FED 55%, #6EE7F9 100%);
	--r-sm: 8px;
	--r: 10px;
	--r-md: 12px;
	--r-lg: 16px;
	--r-xl: 22px;
	--shadow: 0 10px 24px rgba(20, 22, 26, .10);
	--shadow-lg: 0 24px 48px rgba(20, 22, 26, .16);
	--gutter: 60px;
	--font: Vazirmatn, Tahoma, "Segoe UI", system-ui, sans-serif;
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 14px; line-height: 1.8; color: var(--ink); background: var(--page); direction: rtl; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; line-height: 1.5; font-weight: 800; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
ul[class], ol[class] { list-style: none; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.ic { flex-shrink: 0; display: inline-block; vertical-align: middle; }
mark { background: none; color: var(--accent); }
hr { border: 0; height: 1px; background: var(--border); margin: 18px 0; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link:focus { position: fixed !important; top: 8px; right: 8px; z-index: 1000; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: var(--r); }

.container { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 980px; }

/* Buttons ---------------------------------------------------------------- */
.btn, .button, button.button, input[type="submit"], .woocommerce a.button, .woocommerce button.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	height: 46px; padding: 0 22px; border-radius: var(--r); border: 1px solid transparent;
	background: var(--accent); color: #fff; font-size: 13.5px; font-weight: 700; line-height: 1; cursor: pointer;
	transition: background .15s, color .15s, border-color .15s; text-align: center; white-space: nowrap;
}
.btn:hover, .button:hover, input[type="submit"]:hover { background: var(--accent-h); color: #fff; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-h); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-soft { background: var(--page); color: var(--ink); border-color: var(--border); }
.btn-soft:hover { background: #ECEDF1; color: var(--ink); }
.btn-outline { background: #fff; color: var(--accent); border: 1.5px solid var(--accent); }
.btn-outline:hover { background: var(--accent-soft); color: var(--accent); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-lg { height: 50px; padding: 0 26px; border-radius: var(--r-md); font-size: 14.5px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 12.5px; }
.btn-block { width: 100%; }
.button.alt, .woocommerce .button.alt { background: var(--accent); }
.button:disabled, .button.disabled, .button[disabled] { opacity: .5; cursor: not-allowed; }

/* Forms ------------------------------------------------------------------ */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], input[type="date"], select, textarea, .select2-container .select2-selection--single {
	width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--r);
	background: #fff; font-size: 14px; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47,111,237,.15); }
select { appearance: none; -webkit-appearance: none; padding-left: 36px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat left 14px center; }
label { font-size: 13px; font-weight: 600; }
input[type="checkbox"], input[type="radio"] { width: 16px; height: 16px; accent-color: var(--accent); vertical-align: middle; }
::placeholder { color: var(--muted-2); opacity: 1; }
input[type="number"] { -moz-appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* Top bar ---------------------------------------------------------------- */
.topbar { background: var(--charcoal); color: #E9EAEE; font-size: 12.5px; font-weight: 500; }
.topbar-row { min-height: 36px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.topbar-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }

/* Header ----------------------------------------------------------------- */
.site-header { position: relative; z-index: 50; background: var(--surface); }
.hdr-main { position: relative; height: 94px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border-bottom: 1px solid var(--border); }
.hdr-menu, .hdr-menu.icon-btn { display: none; }
.icon-btn { width: 38px; height: 38px; border-radius: 9px; background: var(--page); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 42px; height: 42px; border-radius: 11px; background: var(--brand-grad); display: inline-flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 21px; font-weight: 800; }
.brand-domain { font-size: 11.5px; font-weight: 700; color: var(--accent); letter-spacing: .2px; }
.brand-logo { width: 50px; height: 50px; flex-shrink: 0; display: inline-flex; }
.brand-svg { width: 100%; height: 100%; display: block; }
.brand-sub { display: flex; align-items: center; gap: 8px; margin-top: 2px; white-space: nowrap; }
.brand-tag { font-size: 11.5px; font-weight: 500; color: var(--muted); }
.brand--footer .brand-logo, .brand--drawer .brand-logo, .brand--checkout .brand-logo { width: 42px; height: 42px; }
.brand-img { max-height: 48px; width: auto; }
.brand--footer .brand-mark, .brand--drawer .brand-mark, .brand--checkout .brand-mark { width: 36px; height: 36px; border-radius: 10px; }
.brand--footer .brand-name { color: #fff; font-size: 18px; }
.brand--drawer .brand-name { color: #fff; font-size: 17px; }
.brand--checkout .brand-name { font-size: 18px; }

.hdr-search { flex: 1 1 auto; max-width: 560px; }
.hdr-search-m { display: none; }

.hs { position: relative; height: 46px; display: flex; align-items: center; gap: 10px; padding-inline: 16px 8px; background: var(--page); border: 1px solid var(--border); border-radius: var(--r-md); transition: border-color .15s, background .15s; }
.hs:focus-within { background: #fff; border-color: var(--accent); }
.hs-ic { color: var(--muted-2); }
.hs-input { flex: 1; min-width: 0; min-height: 0 !important; height: 100%; border: 0 !important; background: transparent !important; padding: 0 !important; box-shadow: none !important; font-size: 14px; }
.hs-input::-webkit-search-cancel-button { -webkit-appearance: none; }
.hs-btn { width: 30px; height: 30px; border-radius: var(--r-sm); background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hs-panel { position: absolute; top: calc(100% + 8px); inset-inline: 0; z-index: 60; background: #fff; border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 20px; display: flex; flex-direction: column; gap: 16px; max-height: min(70vh, 560px); overflow: auto; }
.hs-label { display: block; font-size: 11.5px; font-weight: 700; color: var(--muted-2); margin-bottom: 10px; }
.hs-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 7px 14px; border-radius: 20px; border: 1px solid var(--border); font-size: 12px; font-weight: 600; line-height: 1.4; transition: .15s; }
.tag:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.hs-results:empty { display: none; }
.hs-results { border-top: 1px solid var(--border); padding-top: 14px; display: flex; flex-direction: column; gap: 2px; }
.hs-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r); }
.hs-item:hover, .hs-item.is-active { background: var(--page); color: var(--ink); }
.hs-thumb { width: 44px; height: 44px; border-radius: 9px; background: linear-gradient(150deg, var(--accent-soft), var(--page) 75%); flex-shrink: 0; object-fit: cover; }
.hs-title { flex: 1; font-size: 12.5px; font-weight: 600; line-height: 1.6; }
.hs-price { font-size: 12px; font-weight: 700; white-space: nowrap; }
.hs-price del { display: none; }
.hs-price ins { text-decoration: none; }
.hs-all { margin-top: 8px; height: 42px; border-radius: var(--r); background: var(--page); font-size: 12.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.hs-all:hover { background: var(--accent-soft); }
.hs-none { font-size: 13px; color: var(--muted); padding: 6px 4px; }

.hdr-actions { display: flex; align-items: center; gap: 26px; flex-shrink: 0; }
.hdr-act { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; color: var(--ink); }
.hdr-act-label { font-size: 11px; font-weight: 500; color: var(--muted); line-height: 1.2; white-space: nowrap; }
.hdr-act:hover .hdr-act-label { color: var(--accent); }
.hdr-badge { position: absolute; top: -6px; right: -8px; min-width: 16px; height: 16px; padding: 0 3px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; }
.hdr-badge--gold { background: var(--gold); }

.hdr-nav { border-bottom: 1px solid var(--border); background: var(--surface); }
.hdr-nav-row { height: 48px; display: flex; align-items: center; justify-content: center; gap: 24px; }
.all-cats { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 16px; border-radius: var(--r-sm); background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; flex-shrink: 0; }
.all-cats[aria-expanded="true"] { background: var(--accent); }
.hdr-nav-sep { width: 1px; height: 18px; background: var(--border); }
.nav-menu { display: flex; align-items: center; gap: 24px; height: 100%; }
.nav-menu > li { position: relative; height: 100%; display: flex; align-items: center; }
.nav-menu > li > a { display: flex; align-items: center; gap: 4px; height: 100%; font-size: 13.5px; font-weight: 500; border-bottom: 2px solid transparent; }
.nav-menu > li.current-menu-item > a, .nav-menu > li.current-menu-ancestor > a { color: var(--accent); font-weight: 700; border-bottom-color: var(--accent); }
.nav-menu > li.menu-red > a { color: var(--red); font-weight: 700; }
.nav-caret { color: var(--muted-2); }
.nav-menu .sub-menu { position: absolute; top: 100%; right: -14px; min-width: 220px; padding: 10px; background: #fff; border: 1px solid var(--border); border-radius: 0 0 var(--r-lg) var(--r-lg); box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; list-style: none; z-index: 55; }
.nav-menu > li:hover > .sub-menu, .nav-menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu .sub-menu a { display: block; padding: 8px 12px; border-radius: var(--r-sm); font-size: 13px; }
.nav-menu .sub-menu a:hover { background: var(--page); }

/* Mega menu -------------------------------------------------------------- */
.mega { position: absolute; top: 100%; inset-inline: 0; z-index: 55; }
.mega-box { width: 100%; display: flex; background: #fff; border: 1px solid var(--border); border-top: 0; border-radius: 0 0 20px 20px; box-shadow: var(--shadow-lg); overflow: hidden; }
.mega-side { width: 240px; flex-shrink: 0; background: var(--page); padding: 14px; display: flex; flex-direction: column; gap: 4px; overflow: auto; }
.mega-side-item { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: var(--r-md); font-size: 13px; font-weight: 600; color: var(--ink); }
.mega-side-item span { flex: 1; }
.mega-side-item .ic:first-child { color: var(--muted); }
.mega-side-item.is-active { background: #fff; box-shadow: 0 1px 2px rgba(20,22,26,.06); font-weight: 700; color: var(--ink); }
.mega-side-item.is-active .ic:first-child { color: var(--accent); }
.mega-arrow { color: var(--muted-2); }
.mega-panel { flex: 1; padding: 18px 28px 20px; display: flex; flex-direction: column; gap: 10px; }
.mega-head { display: flex; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 700; }
.mega-head { padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }
.mega-head a { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800; color: var(--ink); }
.mega-head a:hover { color: var(--accent); }

/* Drawer (mobile) -------------------------------------------------------- */
.drawer { position: fixed; inset: 0; z-index: 200; }
.drawer-overlay { position: absolute; inset: 0; background: rgba(15,17,21,.6); animation: fade .2s; }
.drawer-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(320px, 86vw); background: #fff; box-shadow: -18px 0 40px rgba(0,0,0,.25); display: flex; flex-direction: column; animation: slide-in .22s ease-out; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(100%); } }
.drawer-head { min-height: 84px; background: linear-gradient(135deg, #1E3A8A 0%, #2F6FED 70%); display: flex; align-items: center; justify-content: space-between; padding: 0 18px; color: #fff; flex-shrink: 0; }
.drawer-user { display: flex; align-items: center; gap: 10px; color: #fff; }
.drawer-user:hover { color: #fff; }
.drawer-avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.18); display: inline-flex; align-items: center; justify-content: center; }
.drawer-user-txt { display: flex; flex-direction: column; line-height: 1.5; }
.drawer-user-txt strong { font-size: 12.5px; }
.drawer-user-txt small { font-size: 10.5px; opacity: .75; }
.drawer-close { width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.15); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.drawer-body { flex: 1; overflow: auto; overscroll-behavior: contain; }
.dr-row { min-height: 48px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); }
.dr-depth-1 > .dr-item:first-child > .dr-row { border-top: 0; }
.dr-row a, .dr-label { flex: 1; padding: 12px 18px; font-size: 13px; font-weight: 600; }
.dr-toggle { width: 48px; align-self: stretch; display: inline-flex; align-items: center; justify-content: center; color: var(--muted-2); }
.dr-toggle[aria-expanded="true"] { color: var(--accent); }
.dr-toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
.dr-toggle .ic { transition: transform .2s; }
.dr-sub { background: var(--page); }
.dr-depth-2 .dr-row, .dr-depth-3 .dr-row { border-top: 0; min-height: 40px; }
.dr-depth-2 .dr-row a, .dr-depth-2 .dr-label { padding: 8px 30px 8px 18px; font-size: 12.5px; font-weight: 500; }
.dr-depth-3 .dr-row a { padding: 6px 44px 6px 18px; font-size: 12px; font-weight: 400; color: var(--muted); }
.drawer-extra { border-top: 6px solid var(--page); }
.drawer-foot { min-height: 56px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 11.5px; color: var(--muted-2); flex-shrink: 0; }
body.is-locked { overflow: hidden; }

/* Breadcrumbs ------------------------------------------------------------ */
.crumbs { min-height: 56px; display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--muted-2); padding: 8px 0; }
.crumbs a:hover { color: var(--accent); }
.crumbs .last, .crumbs > span:last-child { color: var(--ink); font-weight: 600; }
.crumbs .rank-math-breadcrumb p { margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs .separator { color: var(--muted-2); }

/* Section heads ---------------------------------------------------------- */
.sec { padding-block: 40px 16px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.sec-title { font-size: 20px; margin: 0; }
.sec-sub { font-size: 12.5px; color: var(--muted); margin: 4px 0 0; }
.sec-link { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }

/* Hero ------------------------------------------------------------------- */

/* Category cards --------------------------------------------------------- */
.cat-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.cat-card { height: 150px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px 8px; transition: box-shadow .15s, transform .15s; }
.cat-card:hover { box-shadow: 0 10px 22px rgba(20,22,26,.08); transform: translateY(-2px); color: var(--ink); }
.cat-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--tint); color: var(--ic); display: inline-flex; align-items: center; justify-content: center; overflow: hidden; }
.cat-ic img { width: 100%; height: 100%; object-fit: cover; }
.cat-name { font-size: 12.5px; font-weight: 700; text-align: center; line-height: 1.6; }

/* Brands ----------------------------------------------------------------- */
.brands { border-block: 1px solid var(--border); margin-top: 16px; }
.brands-row { min-height: 110px; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 20px; }
.brands-label { font-size: 13px; font-weight: 600; color: var(--muted-2); flex-shrink: 0; }
.brands-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 16px 46px; }
.brands-list a { font-size: 19px; font-weight: 700; color: var(--muted); letter-spacing: .5px; direction: ltr; display: block; }
.brands-list a:hover { color: var(--ink); }
.brands-list img { height: 34px; width: auto; filter: grayscale(1); opacity: .7; transition: .15s; }
.brands-list a:hover img { filter: none; opacity: 1; }

/* Promo banners ---------------------------------------------------------- */
.promos { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-block: 24px; }
.promo { position: relative; min-height: 240px; border-radius: var(--r-xl); overflow: hidden; padding: 34px 36px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; isolation: isolate; }
.promo-glow { position: absolute; width: 220px; height: 220px; border-radius: 50%; z-index: -1; }
.promo--1 { background: linear-gradient(120deg, #0C2E33 0%, #0F1115 100%); color: #fff; }
.promo--1 .promo-glow { background: radial-gradient(circle, rgba(110,231,249,.28), transparent 70%); left: -60px; bottom: -80px; }
.promo--1 .promo-badge { background: rgba(110,231,249,.16); color: var(--glass); }
.promo--1 .promo-link { color: var(--glass); }
.promo--2 { background: linear-gradient(120deg, #7A4E0A 0%, #F5A623 100%); color: #241600; }
.promo--2 .promo-glow { background: radial-gradient(circle, rgba(255,255,255,.3), transparent 70%); left: -60px; top: -90px; }
.promo--2 .promo-badge { background: rgba(20,22,26,.16); color: #3A2400; }
.promo:hover { color: inherit; }
.promo:hover .promo-link { text-decoration: underline; }
.promo-badge { font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 20px; line-height: 1.5; }
.promo-title { font-size: 22px; font-weight: 800; line-height: 1.5; }
.promo-link { font-size: 13px; font-weight: 700; }

/* Trust bar -------------------------------------------------------------- */
.trust { background: #fff; border-top: 1px solid var(--border); margin-top: 24px; }
.trust-row { min-height: 140px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; gap: 16px; padding-block: 24px; }
.trust-item { display: flex; align-items: center; justify-content: center; gap: 14px; }
.trust-ic { width: 48px; height: 48px; border-radius: var(--r-md); background: var(--page); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.trust-txt { display: flex; flex-direction: column; line-height: 1.6; }
.trust-txt strong { font-size: 13.5px; }
.trust-txt small { font-size: 11.5px; color: var(--muted); }

/* Product grid & card ---------------------------------------------------- */
ul.products { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; }
ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
ul.products > li { margin: 0; min-width: 0; }
ul.products::before, ul.products::after { content: none; }

.pc { position: relative; height: 100%; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow .15s, transform .15s; }
.pc:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pc-media { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(150deg, var(--accent-soft) 0%, var(--page) 75%); }
.pc-media-link, .pc-media-link img { display: block; width: 100%; height: 100%; }
.pc-media img { object-fit: contain; padding: 10px; mix-blend-mode: multiply; }
.pc-badge { position: absolute; top: 12px; right: 12px; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; line-height: 1.6; }
.pc-off { position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 20px; line-height: 1.6; }
.pc-wish { position: absolute; bottom: 12px; left: 12px; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(20,22,26,.12); display: inline-flex; align-items: center; justify-content: center; color: var(--muted); transition: color .15s, transform .15s; }
.pc-wish:hover { color: var(--red); }
.pc-wish[aria-pressed="true"] { color: var(--red); }
.pc-wish[aria-pressed="true"] svg { fill: currentColor; }
.pc-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; }
.pc-title { margin: 0; font-size: 13.5px; font-weight: 600; line-height: 1.6; min-height: calc(13.5px * 1.6 * 2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pc-title a { color: var(--ink); }
.pc-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.pc-wish, .pc-btn { z-index: 2; }
.pc-rating { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--muted-2); }
.pc-price { margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 16px; font-weight: 800; line-height: 1.6; min-height: 26px; }
.pc-price del { order: 2; margin-right: auto; font-size: 12px; font-weight: 400; color: var(--muted-2); }
.pc-price ins { text-decoration: none; }
.pc-price .woocommerce-Price-currencySymbol { font-size: 11px; font-weight: 500; color: var(--muted-2); }
.pc-price del .woocommerce-Price-currencySymbol { display: none; }
.pc-btn { position: relative; height: 38px; border-radius: var(--r); background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 6px; transition: background .15s; }
.pc-btn:hover { background: var(--accent-h); color: #fff; }
.pc-btn--alt { background: var(--ink); }
.pc-btn--alt:hover { background: #000; }
.pc-btn--ghost { background: var(--page); color: var(--muted); }
.pc-btn--ghost:hover { background: var(--border); color: var(--ink); }
.pc.is-oos .pc-media img { opacity: .55; }
.added_to_cart { display: none !important; }

/* Stars */
.stars { position: relative; display: inline-flex; line-height: 0; }
.stars-bg, .stars-fg { display: inline-flex; gap: 1px; }
.stars-bg { color: var(--border); }
.stars-fg { position: absolute; top: 0; right: 0; overflow: hidden; color: var(--gold); white-space: nowrap; }

/* List view */
.products.is-list { grid-template-columns: 1fr !important; }
.products.is-list .pc { flex-direction: row; }
.products.is-list .pc-media { width: 200px; flex-shrink: 0; }
.products.is-list .pc-body { justify-content: center; }
.products.is-list .pc-title { min-height: 0; font-size: 15px; }
.products.is-list .pc-btn { align-self: flex-start; padding: 0 24px; }

/* Archive ---------------------------------------------------------------- */
.chips-wrap { padding: 12px 0 18px; border-bottom: 1px solid var(--border); }
.chips-label { display: block; font-size: 12.5px; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.chips { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex-shrink: 0; height: 40px; padding: 0 18px; border-radius: 20px; background: #fff; border: 1px solid var(--border); display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; }
.chip:hover { border-color: var(--accent); }
.chip-dot { width: 8px; height: 8px; border-radius: 50%; }

.arch-head { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--border); padding-block: 14px; }
.arch-head--plain { border-bottom: 0; min-height: 0; padding-block: 8px 20px; }
.arch-title-wrap { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.arch-title { margin: 0; font-size: 23px; }
.arch-count { font-size: 13px; color: var(--muted); }
.arch-tools { display: flex; align-items: center; gap: 14px; }
.arch-filter-btn { display: none; }
.arch-desc { margin-bottom: 24px; color: var(--muted); }

.sort { position: relative; display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 14px; border: 1px solid var(--border); border-radius: var(--r); background: #fff; }
.sort-label { font-size: 12.5px; font-weight: 400; color: var(--muted); white-space: nowrap; }
.sort select { border: 0; min-height: 0; height: 40px; padding: 0 0 0 22px; background: transparent; font-size: 12.5px; font-weight: 700; box-shadow: none !important; cursor: pointer; }
.sort-caret { position: absolute; left: 14px; color: var(--muted-2); pointer-events: none; }
.view-toggle { display: flex; gap: 6px; }
.vt-btn { width: 42px; height: 42px; border-radius: var(--r); border: 1px solid var(--border); background: #fff; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; }
.vt-btn.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

.arch-body { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; padding-block: 28px 40px; }
.arch-main { min-width: 0; }

/* Filters */
.filters { position: sticky; top: 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); max-height: calc(100vh - 32px); overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.filters-form { padding: 22px; display: flex; flex-direction: column; gap: 20px; }
.filters-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.filters-title { font-size: 15px; font-weight: 800; }
.filters-clear { font-size: 12px; font-weight: 600; color: var(--accent); margin-inline-start: auto; }
.filters-close { display: none; width: 34px; height: 34px; border-radius: 50%; background: var(--page); align-items: center; justify-content: center; }
.f-group { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--border); padding-top: 18px; }
.f-title { font-size: 13px; font-weight: 700; }
.f-links { display: flex; flex-direction: column; gap: 2px; }
.f-links a { display: flex; justify-content: space-between; padding: 6px 0; font-size: 13px; }
.f-count { color: var(--muted-2); font-size: 11.5px; margin-inline-start: auto; }
.f-checks { display: flex; flex-direction: column; gap: 10px; }
.f-checks.is-scroll { max-height: 240px; overflow: auto; padding-left: 6px; }
.f-check { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 400; cursor: pointer; }
.f-swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.f-swatch { position: relative; cursor: pointer; }
.f-swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.f-swatch span:not(.screen-reader-text) { display: block; width: 26px; height: 26px; border-radius: 50%; background: var(--sw); border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--border); }
.f-swatch span.is-clear { background: conic-gradient(#eee 25%, #fff 0 50%, #eee 0 75%, #fff 0) 0 0 / 8px 8px; }
.f-swatch input:checked + span { box-shadow: 0 0 0 2px var(--accent); }
.f-swatch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.f-range { position: relative; height: 22px; }
.f-range-track { position: absolute; top: 8px; inset-inline: 0; height: 6px; border-radius: 3px; background: var(--border); }
.f-range-fill { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: var(--accent); right: 0; left: 0; }
.f-range input[type="range"] { position: absolute; inset: 0; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; height: 22px; }
.f-range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); cursor: pointer; }
.f-range input[type="range"]::-moz-range-thumb { pointer-events: auto; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--accent); cursor: pointer; }
.f-range input[type="range"]::-webkit-slider-runnable-track { background: none; }
.f-range-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.f-range-inputs label { display: flex; align-items: center; gap: 6px; font-weight: 400; font-size: 12px; color: var(--muted); }
.f-range-inputs input { min-height: 38px; padding: 6px 10px; font-size: 12.5px; direction: ltr; text-align: right; }
.filters-overlay { display: none; }

/* Device grid (choose model) */
.dev-search { height: 46px; display: flex; align-items: center; gap: 10px; padding: 0 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); margin-bottom: 24px; color: var(--muted-2); }
.dev-search input { border: 0; min-height: 0; padding: 0; box-shadow: none !important; background: transparent; }
.dev-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; padding-bottom: 40px; }
.dev-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; height: 100%; transition: box-shadow .15s, transform .15s; }
.dev-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.dev-media { aspect-ratio: 1 / 1; background: #fff; display: flex; align-items: center; justify-content: center; color: var(--accent); }
.dev-media img { width: 100%; height: 100%; object-fit: contain; padding: 12px; mix-blend-mode: multiply; }
.dev-name { margin: 0; padding: 4px 12px 14px; font-size: 13px; font-weight: 700; text-align: center; line-height: 1.7; color: var(--ink); }

/* Hub cards */
.hub-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; padding-top: 20px; }
.hub-card { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; transition: box-shadow .15s; }
.hub-card:hover { box-shadow: var(--shadow); color: var(--ink); }
.hub-ic { width: 48px; height: 48px; border-radius: var(--r-md); display: inline-flex; align-items: center; justify-content: center; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); flex-shrink: 0; }
.hub-txt { display: flex; flex-direction: column; }
.hub-name { font-size: 15px; font-weight: 800; }
.hub-count { font-size: 11.5px; color: var(--muted); }

/* Pagination */
.woocommerce-pagination, .navigation.pagination { margin-top: 32px; }
.woocommerce-pagination ul.page-numbers, .nav-links { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px; list-style: none; }
.page-numbers { min-width: 38px; height: 38px; padding: 0 8px; border-radius: 9px; border: 1px solid var(--border); background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
a.page-numbers:hover { background: var(--page); color: var(--ink); }
.page-numbers.current { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 700; }
.page-numbers.dots { border: 0; background: none; }
.load-more { display: none; margin-top: 24px; }
.woocommerce-result-count { display: none; }
.empty-note { color: var(--muted); padding: 24px 0; }
.empty-note a { color: var(--accent); font-weight: 600; }

.seo-text { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 32px; margin-bottom: 40px; color: var(--muted); font-size: 13.5px; line-height: 2.1; }
.seo-text.is-collapsed { max-height: 260px; overflow: hidden; }
.seo-text.is-collapsed::after { content: ""; position: absolute; inset: auto 0 0; height: 90px; background: linear-gradient(transparent, #fff); }
.readmore-btn { position: absolute; bottom: 14px; right: 50%; transform: translateX(50%); z-index: 2; color: var(--accent); font-weight: 700; font-size: 13px; }
.seo-text:not(.is-collapsed) .readmore-btn { position: static; transform: none; margin-top: 8px; }

/* Single product --------------------------------------------------------- */
.sp { padding-bottom: 20px; }
.sp-top { display: grid; grid-template-columns: 560px minmax(0, 1fr); gap: 44px; padding: 12px 0 48px; align-items: start; }
.sp-gallery { position: relative; min-width: 0; }
.sp-stage { position: relative; }
.sp-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; border-radius: 20px; background: linear-gradient(150deg, #F3E9DE 0%, var(--page) 70%); list-style: none; }
.sp-slides::-webkit-scrollbar { display: none; }
.sp-slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1 / 1; }
.sp-slide a, .sp-slide img { display: block; width: 100%; height: 100%; }
.sp-slide img { object-fit: contain; mix-blend-mode: multiply; }
.sp-off { position: absolute; top: 16px; right: 16px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; line-height: 1.6; }
.sp-btn { position: absolute; left: 16px; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(20,22,26,.12); display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.sp-btn.sp-wish { top: 16px; bottom: auto; }
.sp-zoom { bottom: 16px; }
.sp-thumbs { display: flex; gap: 12px; margin-top: 16px; overflow-x: auto; scrollbar-width: none; }
.sp-thumb { width: 76px; height: 76px; border-radius: var(--r-md); border: 1px solid var(--border); background: var(--page); overflow: hidden; flex-shrink: 0; padding: 0; }
.sp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sp-thumb.is-active { border: 2px solid var(--accent); }
.sp-dots { display: none; justify-content: center; gap: 6px; padding: 12px 0 4px; }
.sp-dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--border); transition: .2s; }
.sp-dots span.is-active { background: var(--accent); width: 18px; border-radius: 4px; }
.lb { width: min(92vw, 900px); max-height: 92vh; padding: 0; border: 0; border-radius: var(--r-lg); background: #fff; }
.lb::backdrop { background: rgba(15,17,21,.85); }
.lb img { width: 100%; max-height: 88vh; object-fit: contain; }
.lb-close { position: absolute; top: 10px; left: 10px; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: inline-flex; align-items: center; justify-content: center; }

.sp-summary { display: flex; flex-direction: column; min-width: 0; }
.sp-kicker { margin: 0; font-size: 12.5px; font-weight: 600; color: var(--accent); }
.sp-title { margin: 10px 0 0; font-size: 24px; line-height: 1.6; }
.sp-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.sp-reviews-link { font-weight: 600; }
.sp-meta-sep { width: 1px; height: 14px; background: var(--border); }
.sp-sku { font-size: 12px; color: var(--muted-2); }
.sp-price { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.sp-price .price, .woocommerce-variation-price .price { margin: 0; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; font-size: 30px; font-weight: 800; line-height: 1.5; }
.sp-price .price del, .woocommerce-variation-price .price del { order: 2; font-size: 15px; font-weight: 400; color: var(--muted-2); }
.sp-price .price ins, .woocommerce-variation-price ins { text-decoration: none; }
.sp-price .woocommerce-Price-currencySymbol, .woocommerce-variation-price .woocommerce-Price-currencySymbol { font-size: 13px; font-weight: 500; color: var(--muted); }
.sp-price del .woocommerce-Price-currencySymbol { display: none; }
.sp-pill { background: var(--red-soft); color: var(--red); font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.woocommerce-product-details__short-description { margin-top: 16px; font-size: 13.5px; color: var(--muted); line-height: 2; }
.woocommerce-product-details__short-description ul { padding-right: 18px; }
.sp-summary form.cart { margin-top: 22px; }
.sp-summary form.cart:not(.variations_form), .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.single_add_to_cart_button { flex: 1; height: 50px; min-width: 180px; font-size: 14.5px; }
.stock { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; margin: 10px 0; color: var(--green); width: 100%; }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock.out-of-stock { color: var(--red); }
.sp-delivery { margin-top: 18px; padding: 14px 16px; border-radius: var(--r-md); background: var(--accent-soft); display: flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; }
.sp-delivery .ic { color: var(--accent); }

/* Quantity */
.quantity { display: inline-flex; align-items: center; height: 50px; border: 1px solid var(--border); border-radius: var(--r); background: #fff; overflow: hidden; }
.quantity .qty { width: 44px; min-height: 0; height: 100%; border: 0 !important; padding: 0 !important; text-align: center; font-weight: 700; box-shadow: none !important; background: transparent; }
.qty-btn { width: 40px; height: 100%; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.qty-btn:hover { color: var(--accent); background: var(--page); }
.quantity.hidden, .quantity input[type="hidden"] { display: none; }

/* Variations */
table.variations { margin-bottom: 8px; }
table.variations tr { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
table.variations th, table.variations td { padding: 0; text-align: right; }
table.variations th label { font-size: 13px; font-weight: 700; }
table.variations select { max-width: 340px; }
.reset_variations { display: inline-block; margin-top: 8px; font-size: 12px; color: var(--muted); }
.woocommerce-variation { margin-bottom: 12px; }
.woocommerce-variation-description { font-size: 13px; color: var(--muted); }
.single_variation_wrap { width: 100%; }

/* Tabs / accordion */
.sp-tabs { padding-bottom: 20px; }
.sp-tablist { display: flex; gap: 30px; border-bottom: 1px solid var(--border); margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; }
.sp-tab-btn { padding-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.sp-tab-btn.is-active { color: var(--accent); font-weight: 700; border-bottom-color: var(--accent); }
.sp-panel { display: none; }
.sp-panel.is-open { display: block; }
.sp-acc { display: none; margin: 0; }
.sp-panel-body { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 34px; font-size: 13.5px; line-height: 2.1; color: #3B3F48; }

/* Content typography (descriptions, pages, posts) */
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content h2 { font-size: 19px; margin-top: 1.4em; }
.entry-content h3 { font-size: 15px; margin-top: 1.2em; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.wc-article .entry-content a, .entry-content a.button, .entry-content .btn, .sp-panel-body a.button { text-decoration: none; }
.wc-article .entry-content a:not(.button) { color: inherit; }
.wc-article .entry-content a:not(.button):hover { color: var(--accent); }
.entry-content ul, .entry-content ol { padding-right: 22px; margin-bottom: 1em; }
.entry-content img { border-radius: var(--r-lg); }
.entry-content figure { margin: 1.4em 0; }
.entry-content figcaption { font-size: 12px; color: var(--muted); text-align: center; margin-top: 6px; }
.entry-content blockquote { margin: 1.4em 0; padding: 16px 20px; border-right: 4px solid var(--accent); background: var(--page); border-radius: var(--r); }
.entry-content table, .woocommerce-product-attributes { width: 100%; font-size: 12.5px; margin-bottom: 1em; }
.entry-content th, .entry-content td, .woocommerce-product-attributes th, .woocommerce-product-attributes td { padding: 12px 10px; border-bottom: 1px solid var(--border); text-align: right; vertical-align: top; }
.entry-content table:not(.shop_table):not(.woocommerce-table) tr:nth-child(even), .woocommerce-product-attributes tr:nth-child(even) { background: var(--page); }
.woocommerce-product-attributes th { width: 220px; color: var(--muted); font-weight: 500; }
.woocommerce-product-attributes td { font-weight: 600; color: var(--ink); }
.woocommerce-product-attributes td p { margin: 0; }

/* Reviews */
#reviews .woocommerce-Reviews-title { font-size: 16px; }
#reviews ol.commentlist { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
#reviews .comment_container { display: flex; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
#reviews .avatar { display: none; }
#reviews .comment-text { flex: 1; }
#reviews .star-rating { float: left; }
#reviews .meta { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
#review_form .comment-reply-title { font-size: 15px; font-weight: 800; display: block; margin-bottom: 12px; }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; margin-bottom: 6px; }
.comment-form-cookies-consent label { display: inline; font-weight: 400; }
p.stars a { display: inline-block; width: 22px; height: 22px; text-indent: -9999px; overflow: hidden; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23E7E8EC' d='M12 2l3.1 6.6 7.2.9-5.3 5 1.4 7.2L12 18l-6.4 3.7 1.4-7.2-5.3-5 7.2-.9Z'/%3E%3C/svg%3E") center/contain no-repeat; }
p.stars:hover a, p.stars.selected a { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23F5A623' d='M12 2l3.1 6.6 7.2.9-5.3 5 1.4 7.2L12 18l-6.4 3.7 1.4-7.2-5.3-5 7.2-.9Z'/%3E%3C/svg%3E"); }
p.stars a:hover ~ a, p.stars.selected a.active ~ a { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23E7E8EC' d='M12 2l3.1 6.6 7.2.9-5.3 5 1.4 7.2L12 18l-6.4 3.7 1.4-7.2-5.3-5 7.2-.9Z'/%3E%3C/svg%3E"); }
.star-rating { position: relative; display: inline-block; width: 5.4em; height: 1.1em; font-size: 13px; overflow: hidden; line-height: 1; }
.star-rating::before { content: "★★★★★"; color: var(--border); letter-spacing: .1em; position: absolute; inset: 0; }
.star-rating span { position: absolute; top: 0; right: 0; height: 100%; overflow: hidden; text-indent: -9999px; }
.star-rating span::before { content: "★★★★★"; color: var(--gold); letter-spacing: .1em; position: absolute; top: 0; right: 0; text-indent: 0; }

.related, .upsells, .cross-sells { padding-block: 28px 20px; }
.related > h2, .upsells > h2, .cross-sells > h2 { font-size: 20px; margin-bottom: 24px; }

/* Notices ---------------------------------------------------------------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, .wc-block-components-notice-banner {
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; justify-content: space-between;
	margin: 0 0 20px; padding: 14px 18px; border-radius: var(--r-md); border: 1px solid var(--border); background: #fff; font-size: 13px; list-style: none;
}
.woocommerce-message { border-color: #BBF7D0; background: var(--green-soft); }
.woocommerce-info { border-color: #C7D7FB; background: var(--accent-soft); }
.woocommerce-error { border-color: #FBC5CB; background: var(--red-soft); flex-direction: column; align-items: stretch; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; height: 36px; padding: 0 14px; font-size: 12.5px; }
.woocommerce-error li { list-style: none; }
.woocommerce-store-notice, p.demo_store { position: fixed; bottom: 0; inset-inline: 0; z-index: 90; margin: 0; padding: 12px; background: var(--ink); color: #fff; text-align: center; font-size: 13px; }

/* Pages & WooCommerce pages --------------------------------------------- */
.page-head { display: flex; align-items: baseline; gap: 10px; padding: 4px 0 20px; }
.page-title { margin: 0; font-size: 23px; }
.page-article .entry-content, .post-article .entry-content { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 34px; margin-bottom: 40px; line-height: 2.1; }
.wc-page { padding-bottom: 40px; }

/* Cart */
.woocommerce-cart .wc-article .entry-content > .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper, .woocommerce-cart .woocommerce > .cross-sells, .woocommerce-cart .woocommerce > .wc-empty-cart-message, .woocommerce-cart .woocommerce > .return-to-shop, .woocommerce-cart .woocommerce > .cart-empty { grid-column: 1 / -1; }
.woocommerce-cart-form { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 6px 24px; }
table.shop_table.cart thead { display: none; }
table.shop_table.cart tr.cart_item { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto 110px 32px; grid-template-areas: "thumb name qty sub remove"; align-items: center; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); }
table.shop_table.cart td { padding: 0; border: 0; }
table.shop_table.cart td.product-thumbnail { grid-area: thumb; }
table.shop_table.cart td.product-thumbnail img { width: 84px; height: 84px; object-fit: contain; border-radius: var(--r-md); background: linear-gradient(150deg, var(--accent-soft), var(--page) 75%); }
table.shop_table.cart td.product-name { grid-area: name; font-size: 13.5px; font-weight: 700; line-height: 1.7; }
table.shop_table.cart td.product-name .variation { font-size: 11.5px; color: var(--muted); font-weight: 400; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 0 6px; }
table.shop_table.cart td.product-name .variation dt, table.shop_table.cart td.product-name .variation dd { margin: 0; }
table.shop_table.cart td.product-name .variation dd p { margin: 0; }
table.shop_table.cart td.product-price { display: none; }
table.shop_table.cart td.product-quantity { grid-area: qty; }
table.shop_table.cart td.product-quantity .quantity { height: 40px; }
table.shop_table.cart td.product-subtotal { grid-area: sub; font-size: 14px; font-weight: 800; text-align: left; }
table.shop_table.cart td.product-remove { grid-area: remove; }
a.remove { width: 32px; height: 32px; border-radius: var(--r-sm); display: inline-flex; align-items: center; justify-content: center; color: var(--muted-2) !important; font-size: 20px; line-height: 1; }
a.remove:hover { background: var(--red-soft); color: var(--red) !important; }
table.shop_table.cart tr:not(.cart_item) { display: block; }
table.shop_table.cart td.actions { background: none !important; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 18px 0; }
table.shop_table.cart .coupon { display: flex; gap: 10px; flex: 1; max-width: 420px; }
table.shop_table.cart .coupon label { display: none; }
button[name="update_cart"] { background: var(--page); color: var(--ink); border-color: var(--border); }
button[name="update_cart"]:hover { background: var(--border); color: var(--ink); }
.cart-collaterals { position: sticky; top: 16px; }
.cart_totals, .woocommerce-checkout-review-order, #order_review { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; }
.cart_totals h2 { font-size: 15px; margin-bottom: 12px; }
.cart_totals table, .woocommerce-checkout-review-order-table { font-size: 13px; }
.cart_totals th, .cart_totals td, .woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 10px 0; border-bottom: 1px solid var(--border); text-align: right; font-weight: 400; color: var(--muted); vertical-align: top; }
.cart_totals td, .woocommerce-checkout-review-order-table td { text-align: left; color: var(--ink); font-weight: 600; }
.cart_totals .order-total th, .woocommerce-checkout-review-order-table .order-total th { font-size: 14px; font-weight: 700; color: var(--ink); border-bottom: 0; }
.cart_totals .order-total td, .woocommerce-checkout-review-order-table .order-total td { font-size: 19px; font-weight: 800; border-bottom: 0; }
#shipping_method { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
#shipping_method li { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { font-size: 12px; color: var(--muted); }
.wc-proceed-to-checkout { margin-top: 16px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; height: 50px; border-radius: var(--r-md); font-size: 14px; }
.cart-empty { font-size: 15px; }
.return-to-shop .button { margin-top: 8px; }

/* Checkout */
.gg-checkout { background: var(--page); }
.co-header { background: #fff; border-bottom: 1px solid var(--border); }
.co-header-row { height: 80px; display: flex; align-items: center; justify-content: space-between; }
.co-secure { display: inline-flex; align-items: center; gap: 8px; background: var(--green-soft); color: var(--green); padding: 8px 16px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.co-steps { list-style: none; display: flex; justify-content: center; align-items: flex-start; gap: 0; padding: 22px 16px 26px; margin: 0; }
.co-steps li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--muted-2); position: relative; width: 124px; text-align: center; }
.co-steps li + li::before { content: ""; position: absolute; top: 17px; right: calc(50% + 24px); width: calc(100% - 48px); height: 2px; background: var(--border); }
.co-steps li.is-done + li::before, .co-steps li.is-done::before { background: var(--green); }
.co-dot { width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 1px solid var(--border); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.co-steps .is-done { color: var(--green); }
.co-steps .is-done .co-dot { background: var(--green); border-color: var(--green); color: #fff; }
.co-steps .is-current { color: var(--accent); font-weight: 700; }
.co-steps .is-current .co-dot { background: var(--accent); border-color: var(--accent); color: #fff; }
.gg-checkout .crumbs { display: none; }
form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; }
form.checkout > .woocommerce-NoticeGroup, form.checkout > .wc-block-components-notice-banner { grid-column: 1 / -1; }
#customer_details { display: flex; flex-direction: column; gap: 18px; grid-column: 1; }
#customer_details .col-1, #customer_details .col-2 { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px 24px; }
#customer_details h3, #order_review_heading { font-size: 14.5px; font-weight: 800; margin-bottom: 14px; }
#order_review_heading { grid-column: 2; margin: 0 0 10px; }
#order_review { grid-column: 2; position: sticky; top: 16px; }
#customer_details { grid-row: span 2; }
form.checkout.gg-moved #customer_details { grid-row: auto; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-row { margin: 0 0 14px; display: flex; flex-direction: column; gap: 6px; }
.form-row-wide, #billing_address_1_field, #billing_address_2_field, #order_comments_field { grid-column: 1 / -1; }
.form-row label .required { color: var(--red); text-decoration: none; }
.form-row label .optional { color: var(--muted-2); font-weight: 400; }
.form-row.woocommerce-invalid input, .form-row.woocommerce-invalid select { border-color: var(--red); }
.woocommerce-checkout-review-order-table thead { display: none; }
.woocommerce-checkout-review-order-table .product-name { color: var(--ink); font-weight: 600; }
.woocommerce-checkout-review-order-table .product-quantity { color: var(--muted); font-weight: 400; }
#payment { margin-top: 16px; }
#payment ul.payment_methods { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 10px; }
#payment li.wc_payment_method { border: 1px solid var(--border); border-radius: var(--r-md); padding: 14px 16px; }
#payment li.wc_payment_method:has(input:checked) { background: var(--accent-soft); border-color: var(--accent); }
#payment li.wc_payment_method > label { font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
#payment li.wc_payment_method label img { max-height: 24px; width: auto; display: inline; }
#payment .payment_box { font-size: 12.5px; color: var(--muted); margin-top: 8px; }
#payment .payment_box p:last-child { margin: 0; }
.woocommerce-terms-and-conditions-wrapper { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
#place_order { width: 100%; height: 52px; border-radius: var(--r-md); font-size: 14.5px; }
.woocommerce-form-coupon-toggle, .woocommerce-form-login-toggle { grid-column: 1 / -1; }
.co-footer { background: #fff; border-top: 1px solid var(--border); margin-top: 30px; }
.co-footer-row { min-height: 80px; display: flex; align-items: center; justify-content: center; gap: 22px; font-size: 11.5px; color: var(--muted-2); flex-wrap: wrap; }
.co-footer-sep { width: 1px; height: 14px; background: var(--border); }
.co-ssl { display: inline-flex; align-items: center; gap: 6px; }

/* Order received */
.woocommerce-order { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; margin-bottom: 30px; }
.woocommerce-thankyou-order-received { font-size: 17px; font-weight: 800; color: var(--green); }
ul.order_details { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 16px 0 24px; padding: 16px 0; border-block: 1px solid var(--border); font-size: 12.5px; color: var(--muted); }
ul.order_details strong { display: block; color: var(--ink); font-size: 14px; }
.woocommerce-order-details, .woocommerce-customer-details { margin-top: 24px; }
.woocommerce-table--order-details th, .woocommerce-table--order-details td { padding: 10px 0; border-bottom: 1px solid var(--border); text-align: right; font-size: 13px; }

/* My account */
.woocommerce-account .wc-article .entry-content > .woocommerce { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-account:not(.logged-in) .wc-article .entry-content > .woocommerce { display: block; }
.acc-user { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; margin-bottom: 16px; }
.acc-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--brand-grad); color: #fff; font-size: 19px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.acc-user-txt { display: flex; flex-direction: column; line-height: 1.6; min-width: 0; }
.acc-user-txt strong { font-size: 13.5px; }
.acc-user-txt small { font-size: 11.5px; color: var(--muted-2); overflow: hidden; text-overflow: ellipsis; }
.woocommerce-MyAccount-navigation { grid-column: 1; }
.woocommerce-MyAccount-navigation ul { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 10px; display: flex; flex-direction: column; gap: 2px; list-style: none; }
.woocommerce-MyAccount-navigation a { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='3' fill='%23000'/%3E%3C/svg%3E"); display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r); font-size: 13px; font-weight: 600; }
.woocommerce-MyAccount-navigation a::before { content: ""; width: 18px; height: 18px; flex-shrink: 0; background: currentColor; -webkit-mask: var(--m) center/contain no-repeat; mask: var(--m) center/contain no-repeat; opacity: .8; }
.woocommerce-MyAccount-navigation a:hover { background: var(--page); color: var(--ink); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.woocommerce-MyAccount-navigation-link--customer-logout { border-top: 1px solid var(--border); margin-top: 6px; padding-top: 6px; }
.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--red); }
.woocommerce-MyAccount-navigation-link--dashboard a { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='9' rx='1.5'/%3E%3Crect x='14' y='3' width='7' height='5' rx='1.5'/%3E%3Crect x='14' y='12' width='7' height='9' rx='1.5'/%3E%3Crect x='3' y='16' width='7' height='5' rx='1.5'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--orders a { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M21 8 12 3 3 8v8l9 5 9-5Z'/%3E%3Cpath d='m3 8 9 5 9-5M12 13v8'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-address a { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--gg-wishlist a { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M12 20.5s-7.5-4.6-9.8-9.3C.6 7.8 2 4.4 5.3 3.6c2-.5 3.9.3 5 1.9 1-1.6 3-2.4 5-1.9 3.3.8 4.7 4.2 3.1 7.6-2.3 4.7-9.8 9.3-9.8 9.3Z'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-account a { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3Ccircle cx='12' cy='8' r='4.5'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--customer-logout a { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4M16 17l5-5-5-5M21 12H9'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-content { grid-column: 2; grid-row: 1 / span 3; display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.woocommerce-MyAccount-content > form, .woocommerce-MyAccount-content > .woocommerce-orders-table, .woocommerce-MyAccount-content > .woocommerce-Addresses, .woocommerce-MyAccount-content > p:not(.empty-note), .woocommerce-MyAccount-content > .woocommerce-order-details, .woocommerce-MyAccount-content > .woocommerce-customer-details { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; margin: 0; }
.acc-hello { border-radius: 18px; background: linear-gradient(110deg, #0F1115 0%, #1E3A8A 100%); padding: 26px 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.acc-hello-title { margin: 0; font-size: 17px; font-weight: 800; color: #fff; }
.acc-hello-sub { margin: 4px 0 0; font-size: 12.5px; color: #B9C3DC; }
.acc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.acc-stats li { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; display: flex; align-items: center; gap: 14px; }
.acc-stats li > span:last-child { display: flex; flex-direction: column; line-height: 1.5; }
.acc-stats strong { font-size: 18px; font-weight: 800; }
.acc-stats small { font-size: 11.5px; color: var(--muted); }
.acc-stat-ic { width: 44px; height: 44px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.acc-stat-ic--blue { background: var(--accent-soft); color: var(--accent); }
.acc-stat-ic--gold { background: #FFF3E3; color: var(--gold); }
.acc-stat-ic--green { background: var(--green-soft); color: var(--green); }
.acc-box { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 24px; }
.acc-box-title { font-size: 14.5px; margin-bottom: 8px; }
.acc-tr { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; align-items: center; padding: 15px 6px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--border); }
.acc-th { font-size: 11.5px; font-weight: 700; color: var(--muted-2); border-top: 0; padding-block: 10px; }
a.acc-tr:hover { background: var(--page); color: var(--muted); }
.acc-strong { color: var(--ink); font-weight: 700; }
.pill { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; line-height: 1.6; }
.pill--gold { background: #FFF3E3; color: #B7770F; }
.pill--green { background: var(--green-soft); color: var(--green); }
.pill--red { background: var(--red-soft); color: var(--red); }
.acc-more { display: inline-block; margin-top: 12px; font-size: 12.5px; font-weight: 700; color: var(--accent); }
.woocommerce-orders-table { font-size: 12.5px; }
.woocommerce-orders-table th, .woocommerce-orders-table td { padding: 12px 8px; border-bottom: 1px solid var(--border); text-align: right; }
.woocommerce-orders-table .button { height: 34px; padding: 0 12px; font-size: 12px; }
.woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: center; }
.woocommerce-Address-title h2 { font-size: 15px; margin: 0; }
.woocommerce-Address-title .edit { font-size: 12px; color: var(--accent); font-weight: 700; }
.woocommerce-EditAccountForm fieldset { border: 1px solid var(--border); border-radius: var(--r-md); padding: 16px; margin: 16px 0; }
.woocommerce-EditAccountForm legend { font-weight: 700; padding: 0 6px; }
.woocommerce-form-row--first, .woocommerce-form-row--last { display: inline-flex; width: calc(50% - 8px); }
.woocommerce-form-row--first { margin-left: 16px; }

/* Auth (login / register) */
.auth { display: grid; grid-template-columns: minmax(0, 620px) minmax(0, 1fr); gap: 40px; align-items: center; padding: 20px 0 40px; }
.auth-promo { position: relative; min-height: 520px; border-radius: 26px; background: linear-gradient(150deg, #0F1115 0%, #12203F 50%, #1E3A8A 100%); padding: 46px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; isolation: isolate; }
.auth-glow { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(110,231,249,.25), transparent 70%); top: -80px; left: -60px; z-index: -1; }
.auth-promo-top { display: flex; flex-direction: column; gap: 20px; }
.auth-promo-title { margin: 0; font-size: 27px; font-weight: 800; color: #fff; line-height: 1.5; }
.auth-promo-text { margin: 0; font-size: 13.5px; color: #AEB8D4; line-height: 2; max-width: 440px; }
.auth-perks { display: flex; flex-direction: column; gap: 16px; }
.auth-perks li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #DCE6FF; }
.auth-perks .ic { width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: rgba(110,231,249,.18); color: var(--glass); }
.auth-card { display: flex; justify-content: center; }
.auth-card #customer_login, .auth-card > .woocommerce-form-login { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: 40px 36px; }
#customer_login { display: block; }
#customer_login .u-column1, #customer_login .u-column2 { width: 100%; float: none; }
#customer_login h2 { font-size: 21px; margin-bottom: 18px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--page); padding: 4px; border-radius: var(--r-md); margin-bottom: 22px; }
.auth-tab { height: 40px; border-radius: var(--r); font-size: 13px; font-weight: 700; color: var(--muted); }
.auth-tab.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(20,22,26,.08); }
.has-auth-tabs h2 { display: none; }
.woocommerce-form-login, .woocommerce-form-register { display: flex; flex-direction: column; gap: 4px; }
.woocommerce-form-login .form-row, .woocommerce-form-register .form-row { width: 100%; display: flex; }
.woocommerce-form__label-for-checkbox { display: inline-flex !important; align-items: center; gap: 8px; font-weight: 400; }
.woocommerce-form-login__submit, .woocommerce-form-register__submit { width: 100%; height: 50px; border-radius: var(--r-md); margin-top: 6px; }
.woocommerce-LostPassword { font-size: 12.5px; text-align: center; margin-top: 12px; }
.woocommerce-LostPassword a { color: var(--accent); font-weight: 600; }
.woocommerce-privacy-policy-text { font-size: 11.5px; color: var(--muted-2); line-height: 1.9; }
.password-input { position: relative; display: block; }
.show-password-input { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; opacity: .55; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314161A' stroke-width='2'%3E%3Cpath d='M2 12s3.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/18px no-repeat; }

/* Blog ------------------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-bottom: 20px; }
.post-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s; }
.post-card:hover { box-shadow: var(--shadow); }
.post-card-media { aspect-ratio: 16 / 9; background: linear-gradient(150deg, var(--accent-soft), var(--page) 75%); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card-title { font-size: 15px; margin: 0; line-height: 1.7; }
.post-card-excerpt { font-size: 12.5px; color: var(--muted); margin: 0; line-height: 1.9; }
.post-card-date { margin-top: auto; font-size: 11.5px; color: var(--muted-2); }
.post-head { padding: 4px 0 20px; }
.post-meta { margin: 8px 0 0; font-size: 12px; color: var(--muted-2); display: flex; flex-wrap: wrap; gap: 8px; }
.post-cover { margin: 0 0 24px; }
.post-cover img { width: 100%; border-radius: var(--r-xl); }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: -20px 0 30px; }
.post-tags a { display: inline-block; padding: 5px 12px; background: #fff; border: 1px solid var(--border); border-radius: 20px; font-size: 12px; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; justify-content: stretch; margin-bottom: 30px; }
.post-navigation a { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 16px 20px; height: 100%; }
.post-navigation .nav-next a { text-align: left; }
.nav-sub { font-size: 11.5px; color: var(--muted-2); }
.nav-title { font-size: 13.5px; font-weight: 700; }
.comments { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px 32px; margin-bottom: 40px; }
.comment-list { padding: 0; list-style: none; }
.comment-list .comment { border-bottom: 1px solid var(--border); padding: 16px 0; }
.comment-list .children { list-style: none; padding-right: 24px; }
.comment-meta { font-size: 12px; color: var(--muted); }
.search-form { display: flex; gap: 10px; max-width: 480px; }
.empty-box { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 32px; margin-bottom: 40px; }

/* 404 */
.nf { text-align: center; padding: 60px 0 80px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.nf-code { font-size: 96px; font-weight: 800; line-height: 1; margin: 0; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-title { font-size: 22px; margin: 0; }
.nf-text { color: var(--muted); margin: 0; }
.nf-search { width: 100%; max-width: 560px; margin: 12px 0; text-align: right; }

/* Wishlist page */
.wishlist { padding-bottom: 40px; }
.wl-remove { position: absolute; top: 12px; left: 12px; z-index: 3; width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(20,22,26,.12); display: inline-flex; align-items: center; justify-content: center; color: var(--red); }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--charcoal); color: var(--muted-2); margin-top: 0; }
.nl { background: linear-gradient(90deg, #1E3A8A 0%, #2F6FED 100%); }
.nl-row { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 18px; }
.nl-title { margin: 0; color: #fff; font-size: 17px; font-weight: 700; }
.nl-sub { margin: 2px 0 0; color: #DCE6FF; font-size: 12.5px; }
.nl-form { position: relative; display: flex; gap: 10px; flex-wrap: wrap; }
.nl-form input[type="email"] { width: 280px; height: 44px; min-height: 44px; border: 0; }
.nl-form .btn { height: 44px; }
.nl-msg { width: 100%; margin: 0; font-size: 12.5px; color: #fff; }
.hp { position: absolute; right: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ft-cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.3fr; gap: 40px; padding-block: 36px 24px; }
.ft-about p { margin: 14px 0 0; font-size: 12.5px; line-height: 2; max-width: 300px; }
.ft-social { display: flex; gap: 10px; margin-top: 16px; }
.ft-social a { width: 34px; height: 34px; border-radius: 9px; background: var(--charcoal-2); display: inline-flex; align-items: center; justify-content: center; color: var(--muted-2); }
.ft-social a:hover { color: #fff; background: var(--accent); }
.ft-h { margin: 0 0 14px; font-size: 14px; font-weight: 700; color: #fff; }
.ft-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; color: inherit; font-weight: inherit; cursor: default; text-align: right; }
.ft-toggle .ic { display: none; }
.ft-links { display: flex; flex-direction: column; gap: 12px; list-style: none; }
.ft-links a { font-size: 12.5px; }
.ft-links a:hover, .ft-contact a:hover { color: #fff; }
.ft-contact address { font-style: normal; display: flex; flex-direction: column; gap: 13px; font-size: 12.5px; }
.ft-contact a, .ft-addr { display: flex; align-items: flex-start; gap: 8px; line-height: 1.8; }
.ft-contact .ic { margin-top: 3px; }
.ft-bottom { border-top: 1px solid var(--border-dark); }
.ft-bottom-row { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 12px; }
.ft-copy { margin: 0; font-size: 12px; color: var(--muted); }
.ft-pay { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ft-pay-label { font-size: 11.5px; color: var(--muted); margin-left: 6px; }
.ft-pay-chip { min-width: 46px; height: 28px; padding: 0 8px; border-radius: 6px; background: var(--charcoal-2); display: inline-flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 600; color: var(--muted-2); }
.ft-badges { display: flex; gap: 8px; align-items: center; }
.ft-badges img { max-height: 64px; width: auto; background: #fff; border-radius: 8px; padding: 4px; }


/* v1.1 additions ---------------------------------------------------------- */
.shop-main { padding-bottom: 40px; }
.arch-title-wrap { align-items: center; }
.arch-thumb { width: 56px; height: 56px; object-fit: contain; border-radius: var(--r-md); background: #fff; border: 1px solid var(--border); padding: 4px; }
.hub-note { color: var(--muted); font-size: 13px; margin: 16px 0 0; }
.mega-cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 22px 26px; align-items: start; }
.mega-group .mega-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px 28px; }
.mega-group + .mega-group { padding-top: 6px; }
.mega-group .mega-links a { font-size: 13px; color: var(--ink); padding: 5px 0; }
.mega-group .mega-links a:hover { color: var(--accent); }
.mega-col--wide { grid-column: span 2; }
.mega-col--wide .mega-links { columns: 2; column-gap: 26px; }
.mega-col-title { display: block; padding-inline-start: 9px; border-inline-start: 2px solid var(--accent); margin-bottom: 6px; font-size: 13px; font-weight: 800; color: var(--ink); line-height: 1.5; }
a.mega-col-title:hover { color: var(--accent); }
.mega-links { list-style: none; }
.mega-links li { break-inside: avoid; }
.mega-links a { display: block; padding: 5px 0; font-size: 12.5px; font-weight: 500; color: var(--muted); line-height: 1.6; }
.mega-links a:hover { color: var(--accent); }
.mega-more { display: inline-block; margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--accent); }
.mega-empty a { color: var(--accent); font-weight: 700; font-size: 13px; }
.nav-menu .sub-menu { max-height: 70vh; overflow: auto; }
.nav-menu .menu-item-all a { color: var(--accent); font-weight: 700; }
.chip.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-current .chip-dot { background: #fff !important; }
.arch-head--sub { margin-top: 24px; }
.arch-head--sub .arch-title { font-size: 19px; }
.arch-body--empty { grid-template-columns: 1fr; }
.empty-state { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 48px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.empty-state-ic { width: 72px; height: 72px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.empty-state-title { margin: 0; font-size: 16px; font-weight: 800; }
.empty-state-text { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.cat-ic img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cat-card .cat-ic:has(img) { width: 72px; height: 72px; background: var(--page); padding: 6px; }
.dev-grid > li[hidden] { display: none; }
.dev-empty { grid-column: 1 / -1; color: var(--muted); text-align: center; padding: 20px; }
@media (max-width: 992px) {
	.cat-card .cat-ic:has(img) { width: 54px; height: 54px; }
	.arch-head--sub { margin-top: 12px; }
	.empty-state { padding: 32px 18px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1280px) {
	:root { --gutter: 32px; }
	.hdr-main { gap: 20px; }
	.hdr-actions { gap: 18px; }
	.nav-menu { gap: 18px; }
	.cat-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.dev-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.sp-top { grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 32px; }
	ul.products.columns-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	ul.products.columns-4 > li:nth-child(4) { display: none; }
	.related ul.products.columns-4 > li:nth-child(4), .upsells ul.products.columns-4 > li:nth-child(4), .cross-sells ul.products.columns-4 > li:nth-child(4), [data-wishlist-grid] > li:nth-child(4) { display: block; }
}

@media (max-width: 992px) {
	:root { --gutter: 18px; }
	body { font-size: 13.5px; }

	/* Header → mobile */
	.topbar-row { min-height: 28px; font-size: 10.5px; }
	.topbar-item:not(:first-of-type), .topbar-dot { display: none; }
	.hdr-main { height: 60px; gap: 10px; }
	.hdr-menu.icon-btn { display: inline-flex; }
	.brand--header { position: absolute; right: 50%; transform: translateX(50%); gap: 8px; }
	.brand--header .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
	.brand--header .brand-mark .ic { width: 17px; height: 17px; }
	.brand--header .brand-name { font-size: 16px; }
	.brand--header .brand-sub { display: none; }
	.brand--header .brand-logo { width: 38px; height: 38px; }
	.brand-img { max-height: 36px; }
	.hdr-search { display: none; }
	.hdr-search-m { display: block; padding-block: 4px 10px; border-bottom: 1px solid var(--border); }
	.hdr-search-m .hs { height: 40px; border-radius: var(--r); }
	.hdr-search-m .hs-btn { display: none; }
	.hdr-actions { gap: 16px; }
	.hdr-act-label, .hdr-act--wish { display: none; }
	.hdr-badge { top: -8px; right: -9px; min-width: 15px; height: 15px; font-size: 9px; line-height: 15px; }
	.hdr-nav, .mega { display: none !important; }

	/* Home */
	.sec { padding-block: 24px 8px; }
	.sec-head { margin-bottom: 16px; }
	.sec-title { font-size: 15px; }
	.sec-sub { display: none; }
	.sec-link { font-size: 11.5px; color: var(--accent); }
	.cat-cards { display: flex; overflow-x: auto; gap: 10px; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
	.cat-cards::-webkit-scrollbar { display: none; }
	.cat-cards li { flex: 0 0 104px; }
	.cat-card { height: 112px; padding: 12px 6px; gap: 8px; border-radius: 14px; }
	.cat-ic { width: 42px; height: 42px; border-radius: 12px; }
	.cat-name { font-size: 11.5px; }
	.brands-row { min-height: 0; flex-direction: column; align-items: flex-start; gap: 12px; }
	.brands-list { justify-content: flex-start; gap: 12px 28px; }
	.brands-list a { font-size: 15px; }
	.promos { grid-template-columns: 1fr; gap: 14px; padding-block: 12px; }
	.promo { min-height: 130px; padding: 22px; border-radius: var(--r-lg); }
	.promo-title { font-size: 16px; }
	.promo-title br { display: none; }
	.trust { margin-top: 12px; }
	.trust-row { grid-template-columns: repeat(2, 1fr); min-height: 0; gap: 18px 10px; }
	.trust-item { flex-direction: column; text-align: center; gap: 6px; }
	.trust-ic { width: 40px; height: 40px; }
	.trust-txt strong { font-size: 12px; }
	.trust-txt small { font-size: 10.5px; }

	/* Grid & card */
	ul.products, ul.products.columns-4, ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	ul.products.columns-4 > li:nth-child(4) { display: block; }
	.pc { border-radius: 14px; }
	.pc:hover { transform: none; }
	.pc-badge { top: 8px; right: 8px; font-size: 9.5px; padding: 2px 7px; border-radius: 6px; }
	.pc-off { top: 8px; left: 8px; font-size: 9.5px; padding: 2px 7px; border-radius: 6px; }
	.pc-wish { width: 28px; height: 28px; bottom: 8px; left: 8px; }
	.pc-body { padding: 10px; gap: 6px; }
	.pc-title { font-size: 11.5px; min-height: calc(11.5px * 1.6 * 2); }
	.pc-rating { font-size: 10px; }
	.pc-price { font-size: 13px; gap: 2px 6px; }
	.pc-price del { font-size: 10px; }
	.pc-price .woocommerce-Price-currencySymbol { font-size: 9.5px; }
	.pc-btn { height: 32px; border-radius: var(--r-sm); background: var(--ink); font-size: 11px; }
	.pc-btn .ic { display: none; }
	.products.is-list .pc-media { width: 120px; }

	/* Archive */
	.crumbs { min-height: 40px; font-size: 11px; }
	.chips-wrap { padding: 4px 0 12px; }
	.chips-label { display: none; }
	.chips { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); gap: 8px; }
	.chip { height: 34px; padding: 0 14px; font-size: 12px; }
	.arch-head { flex-direction: column; align-items: stretch; gap: 12px; min-height: 0; padding-block: 10px 0; border-bottom: 0; }
	.arch-title { font-size: 16.5px; }
	.arch-count { font-size: 11px; }
	.arch-tools { gap: 10px; background: #fff; margin-inline: calc(var(--gutter) * -1); padding: 10px var(--gutter); border-block: 1px solid var(--border); }
	.arch-filter-btn { display: inline-flex; flex: 1; height: 38px; font-size: 12px; padding: 0 10px; }
	.sort { flex: 1; height: 38px; padding: 0 10px; background: var(--page); }
	.sort-label { display: none; }
	.sort select { height: 36px; width: 100%; font-size: 12px; }
	.view-toggle { display: none; }
	.arch-body { grid-template-columns: 1fr; padding-block: 16px 24px; }
	.filters { position: fixed; top: 0; bottom: 0; right: 0; z-index: 210; width: min(340px, 88vw); max-height: none; border-radius: 0; border: 0; transform: translateX(105%); transition: transform .25s ease-out; }
	.filters.is-open { transform: none; box-shadow: -18px 0 40px rgba(0,0,0,.25); }
	.filters-form { padding: 18px 18px 90px; }
	.filters-form > .btn-block { position: fixed; bottom: 0; right: 0; width: min(340px, 88vw); border-radius: 0; height: 56px; }
	.filters-close { display: inline-flex; }
	.filters-overlay { display: block; position: fixed; inset: 0; z-index: 205; background: rgba(15,17,21,.6); }
	.woocommerce-pagination { display: none; }
	.load-more { display: flex; }
	.dev-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
	.hub-cards { grid-template-columns: 1fr 1fr; gap: 12px; padding-top: 12px; }
	.hub-card { padding: 14px; gap: 10px; }
	.hub-ic { width: 40px; height: 40px; }
	.hub-name { font-size: 13px; }
	.seo-text { padding: 20px; font-size: 12.5px; }

	/* Single */
	.sp-top { grid-template-columns: 1fr; gap: 0; padding: 0 0 16px; }
	.sp-gallery { margin-inline: calc(var(--gutter) * -1); background: #fff; }
	.sp-slides { border-radius: 0; }
	.sp-thumbs { display: none; }
	.sp-dots { display: flex; }
	.sp-zoom { display: none; }
	.sp-summary { background: #fff; margin-inline: calc(var(--gutter) * -1); padding: 18px var(--gutter); border-top: 1px solid var(--border); }
	.sp-title { font-size: 15.5px; margin-top: 6px; }
	.sp-kicker { font-size: 11px; }
	.sp-meta { margin-top: 8px; font-size: 11px; }
	.sp-sep { margin: 12px 0; }
	.sp-price .price, .woocommerce-variation-price .price { font-size: 19px; }
	.sp-summary form.cart { margin-top: 14px; }
	.quantity { height: 44px; }
	.single_add_to_cart_button { height: 44px; min-width: 0; background: var(--ink); font-size: 13.5px; }
	.sp-delivery { background: none; padding: 0; margin-top: 12px; font-size: 10.5px; color: var(--green); }
	.sp-delivery .ic { color: var(--green); width: 16px; height: 16px; }
	.sp-tabs { padding-top: 16px; }
	.sp-tablist { display: none; }
	.sp-panel { display: block; background: #fff; border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin-bottom: 14px; }
	.sp-acc { display: block; }
	.sp-acc button { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; font-size: 12.5px; font-weight: 700; text-align: right; }
	.sp-acc button[aria-expanded="true"] { color: var(--accent); border-bottom: 1px solid var(--accent); }
	.sp-acc button[aria-expanded="true"] .ic { transform: rotate(180deg); }
	.sp-acc .ic { transition: transform .2s; color: var(--muted-2); }
	.sp-panel-body { display: none; border: 0; border-radius: 0; padding: 18px; font-size: 12px; line-height: 1.9; }
	.sp-panel.is-open .sp-panel-body { display: block; }
	.woocommerce-product-attributes th { width: 40%; }
	.related, .upsells, .cross-sells { padding-block: 16px; }
	.related > h2, .upsells > h2, .cross-sells > h2 { font-size: 14px; margin-bottom: 14px; }

	/* Cart / checkout / account */
	.page-title { font-size: 17px; }
	.woocommerce-cart .wc-article .entry-content > .woocommerce, form.checkout, .woocommerce-account .wc-article .entry-content > .woocommerce { grid-template-columns: 1fr; }
	.woocommerce-cart-form { padding: 4px 16px; }
	table.shop_table.cart tr.cart_item { grid-template-columns: 72px minmax(0, 1fr) 32px; grid-template-areas: "thumb name remove" "thumb qty sub"; gap: 8px 12px; }
	table.shop_table.cart td.product-thumbnail img { width: 72px; height: 72px; }
	table.shop_table.cart td.product-name { font-size: 12.5px; }
	table.shop_table.cart td.product-subtotal { font-size: 13px; }
	.cart-collaterals, #order_review { position: static; }
	#customer_details, #order_review_heading, #order_review { grid-column: 1; grid-row: auto; }
	.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper { grid-template-columns: 1fr; }
	.co-header-row { height: 64px; }
	.co-secure { font-size: 10.5px; padding: 6px 10px; }
	.co-steps { padding: 16px 0 18px; }
	.co-steps li { width: 25%; font-size: 10px; }
	.co-dot { width: 28px; height: 28px; font-size: 11.5px; }
	.co-steps li + li::before { top: 14px; right: calc(50% + 18px); width: calc(100% - 36px); }
	.woocommerce-MyAccount-navigation, .woocommerce-MyAccount-content { grid-column: 1; grid-row: auto; }
	.woocommerce-MyAccount-navigation ul { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding: 6px; }
	.woocommerce-MyAccount-navigation li { flex-shrink: 0; }
	.woocommerce-MyAccount-navigation a { padding: 9px 12px; font-size: 12px; white-space: nowrap; }
	.woocommerce-MyAccount-navigation-link--customer-logout { border-top: 0; margin: 0; padding: 0; }
	.acc-user { padding: 16px; }
	.acc-stats { grid-template-columns: 1fr; gap: 10px; }
	.acc-tr { grid-template-columns: 1fr 1fr; row-gap: 4px; }
	.acc-th { display: none; }
	.woocommerce-Addresses { grid-template-columns: 1fr; }
	.woocommerce-form-row--first, .woocommerce-form-row--last { display: flex; width: 100%; margin-left: 0; }
	.auth { grid-template-columns: 1fr; gap: 20px; padding-top: 0; }
	.auth-promo { display: none; }
	.auth-card #customer_login, .auth-card > .woocommerce-form-login { padding: 28px 20px; border-radius: var(--r-lg); }
	.page-article .entry-content, .post-article .entry-content { padding: 20px; }

	/* Blog */
	.post-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
	.post-navigation .nav-links { grid-template-columns: 1fr; }
	.comments { padding: 20px; }

	/* Footer → accordion */
	.nl-row { flex-direction: column; align-items: stretch; text-align: center; gap: 12px; padding-block: 22px; }
	.nl-form { justify-content: center; }
	.nl-form input[type="email"] { width: auto; flex: 1; min-width: 0; }
	.ft-cols { grid-template-columns: 1fr; gap: 0; padding-block: 18px 6px; }
	.ft-about { order: 5; text-align: center; padding-top: 22px; display: flex; flex-direction: column; align-items: center; }
	.ft-about .brand { display: none; }
	.ft-about p { margin-top: 0; font-size: 11.5px; }
	.ft-col:not(.ft-about) { border-bottom: 1px solid rgba(255,255,255,.1); }
	.ft-h { margin: 0; }
	.ft-toggle { min-height: 50px; cursor: pointer; font-size: 13.5px; }
	.ft-toggle .ic { display: inline-block; transition: transform .2s; color: var(--muted); }
	.ft-toggle[aria-expanded="true"] .ic { transform: rotate(180deg); }
	.ft-body { display: none; padding: 4px 4px 16px; }
	.ft-col.is-open .ft-body { display: block; }
	.ft-bottom-row { flex-direction: column-reverse; justify-content: center; text-align: center; gap: 10px; }
	.ft-copy { font-size: 10.5px; }
	.ft-pay-label { display: none; }
}

@media (max-width: 640px) {
	.dev-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hub-cards { grid-template-columns: 1fr; }
	.post-grid { grid-template-columns: 1fr; }
	.lb { width: 100vw; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
	.topbar, .site-header, .site-footer, .filters, .sp-tablist, .load-more { display: none !important; }
	body { background: #fff; }
}
/* Home slider */
.sld { padding-block: 0 6px; }
.sld-viewport { position: relative; overflow: hidden; background: var(--page); isolation: isolate; }
.sld-track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
.sld-track::-webkit-scrollbar { display: none; }
.sld-slide { position: relative; flex: 0 0 100%; aspect-ratio: 4.8 / 1; scroll-snap-align: start; scroll-snap-stop: always; }
.sld-link, .sld-slide picture { display: block; width: 100%; height: 100%; }
.sld-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sld-arrow { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 6px 18px rgba(20,22,26,.18); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; opacity: 0; transition: opacity .2s, transform .2s; }
.sld-prev { right: max(18px, calc((100% - 1320px) / 2 - 22px)); transform: translateX(8px); }
.sld-next { left: max(18px, calc((100% - 1320px) / 2 - 22px)); transform: translateX(-8px); }
.sld-viewport:hover .sld-arrow, .sld-arrow:focus-visible { opacity: 1; transform: none; }
.sld-arrow:hover { background: #fff; color: var(--accent); }
.sld-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 20px; background: rgba(15,17,21,.22); backdrop-filter: blur(4px); }
.sld-dot { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 4px; background: rgba(255,255,255,.55); cursor: pointer; transition: width .25s, background .25s; }
.sld-dot[aria-current="true"] { width: 22px; background: #fff; }
/* Built-in designed banners (scale like an image via container units) */
.sld-design { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; color: #fff; }
.sld-inner { container-type: inline-size; position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; width: min(100%, 1440px); height: 100%; margin-inline: auto; padding-inline: var(--gutter); }
.sld-design::before { content: ""; position: absolute; inset: auto -6vw -26vw auto; width: 34vw; height: 34vw; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.16), transparent 70%); pointer-events: none; }
.sld-design--navy { background: linear-gradient(110deg, #0F1115 0%, #16234A 42%, #1E3A8A 75%, #2F6FED 100%); }
.sld-design--glass { background: linear-gradient(110deg, #0B3B5C 0%, #0E7490 45%, #22B8CF 80%, #6EE7F9 100%); }
.sld-design--gold { background: linear-gradient(110deg, #F5A623 0%, #FFC24D 55%, #FFE3A3 100%); color: var(--ink); }
.sld-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 1cqw; max-width: 52cqw; }
.sld-tag { padding: .35cqw 1.1cqw; border-radius: 3cqw; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); font-size: 1cqw; font-weight: 700; line-height: 1.6; }
.sld-design--gold .sld-tag { background: rgba(20,22,26,.08); border-color: rgba(20,22,26,.15); }
.sld-title { font-size: 3.2cqw; font-weight: 800; line-height: 1.35; }
.sld-text { font-size: 1.25cqw; line-height: 1.9; opacity: .85; }
.sld-cta { display: inline-flex; align-items: center; gap: .5cqw; margin-top: .6cqw; padding: .75cqw 1.8cqw; border-radius: 1cqw; background: #fff; color: var(--ink); font-size: 1.1cqw; font-weight: 800; transition: transform .2s; }
.sld-design--gold .sld-cta { background: var(--ink); color: #fff; }
.sld-design:hover .sld-cta { transform: translateX(-4px); }
.sld-cta .ic { width: 1.1cqw; height: 1.1cqw; }
.sld-art { position: relative; z-index: 1; width: 30cqw; height: 100%; flex-shrink: 0; filter: drop-shadow(0 2cqw 2.4cqw rgba(0,0,0,.28)); }
@media (max-width: 767px) {
	.sld { padding: 12px 16px 2px; }
	.sld-viewport { border-radius: 16px; }
	.sld-slide { aspect-ratio: 4 / 1; }
	.sld--m .sld-slide { aspect-ratio: 2 / 1; }
	.sld-arrow { display: none; }
	.sld-dots { bottom: 8px; padding: 4px 6px; }
	.sld-dot { width: 6px; height: 6px; }
	.sld-dot[aria-current="true"] { width: 16px; }
	.sld-inner { padding-inline: 5cqw; }
	.sld-copy { max-width: 60cqw; gap: 1.6cqw; }
	.sld-tag { font-size: 2.6cqw; padding: .6cqw 2.4cqw; }
	.sld-title { font-size: 5.8cqw; }
	.sld-text { font-size: 2.9cqw; line-height: 1.8; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.sld-cta { font-size: 3cqw; padding: 1.6cqw 3.6cqw; border-radius: 2.4cqw; }
	.sld-cta .ic { width: 3cqw; height: 3cqw; }
	.sld-art { width: 38cqw; }
}
@media (prefers-reduced-motion: reduce) { .sld-track { scroll-behavior: auto; } }

/* Category archives (farskala layout) */
.arch-hero { text-align: center; padding: 26px 0 6px; }
.arch-hero-title { display: inline; margin: 0; font-size: 22px; font-weight: 800; line-height: 1.8; background: linear-gradient(transparent 64%, rgba(245, 166, 35, .42) 64%, rgba(245, 166, 35, .42) 92%, transparent 92%); padding: 0 6px; }
.cat-tiles { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 34px 26px; padding: 28px 0 44px; margin: 0; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--ink); }
.cat-tile-media { width: 100%; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; border-radius: var(--r-lg); background: #fff; overflow: hidden; color: var(--accent); }
.cat-tile-media img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s; }
.cat-tile:hover .cat-tile-media img { transform: scale(1.04); }
.cat-tile-media .ic { opacity: .7; }
.cat-tile-media:not(:has(img)) { background: var(--page); }
.cat-tile-name { margin: 0; font-size: 14px; font-weight: 800; line-height: 1.7; text-align: center; }
.cat-tile:hover .cat-tile-name { color: var(--accent); }
.arch-head--grid { border-bottom: 0; min-height: 0; padding-block: 18px 20px; }
.arch-head--grid .dev-search { width: min(440px, 50%); margin: 0; }
.arch-head--tools { margin-top: 8px; }
.arch-sub { font-size: 17px; font-weight: 800; }
.dev-empty { text-align: center; color: var(--muted); padding: 30px 0 50px; }
@media (max-width: 992px) {
	.cat-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 18px; }
}
@media (max-width: 768px) {
	.arch-hero { padding: 16px 0 0; }
	.arch-hero-title { font-size: 17px; }
	.cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 12px; padding: 18px 0 28px; }
	.cat-tile { gap: 8px; }
	.cat-tile-name { font-size: 12px; }
	.arch-head--grid { flex-direction: column; align-items: stretch; gap: 12px; padding-block: 12px 14px; }
	.arch-head--grid .dev-search { width: 100%; }
	.dev-name { font-size: 12px; padding: 2px 8px 10px; }
}
@media (max-width: 420px) {
	.cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
