/*
Theme Name: Multitech
Theme URI: https://getmultitech.com
Author: Naveed Ul Islam
Author URI: https://getmultitech.com
Description: A light, fast, fully responsive laptop store theme for Pakistan. Laptop listings with brand → model dropdowns, spec filters (processor, generation, RAM, storage, screen, GPU, condition, city, price), WhatsApp ordering per laptop, an order/inquiry form with a built-in Messages inbox (reply by email or WhatsApp), and a restricted "Store Owner" role.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: multitech
Tags: e-commerce, custom-logo, custom-menu, featured-images, responsive-layout, two-columns, right-sidebar
*/

/* ============ Tokens ============ */
:root {
	--red: #d71920;
	--red-600: #c0151b;
	--red-700: #a51217;
	--red-50: #fff2f2;
	--red-100: #ffe1e1;
	--ink: #121214;
	--ink-2: #2f3137;
	--muted: #6a6e78;
	--line: #e7e8ec;
	--line-2: #d6d8de;
	--bg: #ffffff;
	--bg-2: #f6f6f8;
	--bg-3: #eeeff2;
	--wa: #1fa855;
	--wa-700: #178a45;
	--ok: #127a3b;
	--warn: #a15c00;
	--radius: 14px;
	--radius-sm: 9px;
	--shadow-sm: 0 1px 2px rgba(18, 18, 20, .06), 0 1px 3px rgba(18, 18, 20, .05);
	--shadow: 0 6px 24px -8px rgba(18, 18, 20, .18);
	--shadow-lg: 0 24px 60px -20px rgba(18, 18, 20, .28);
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-display: "Barlow Semi Condensed", "Inter", system-ui, sans-serif;
	--container: 1280px;
	--gutter: 16px;
	--header-h: 64px;
}
@media (min-width: 768px) { :root { --gutter: 24px; } }

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.has-panel { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 800; }
h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid rgba(215, 25, 32, .45); outline-offset: 2px; border-radius: 4px; }
.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 { position: absolute; left: 8px; top: -60px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 8px; color: #fff; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 860px; }
.center { text-align: center; }
.icon { flex: none; }
[hidden] { display: none !important; }

/* ============ Buttons & chips ============ */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 10px; border: 1.5px solid transparent; font-weight: 600; font-size: 15px; line-height: 1.2; text-align: center; transition: background .15s, border-color .15s, color .15s, transform .1s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 52px; padding: 12px 22px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-700); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-700); color: #fff; }
.btn--ghost { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--bg-3); color: var(--ink); }
.btn.is-loading { opacity: .7; pointer-events: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; border: 0; background: transparent; color: var(--ink); }
.icon-btn:hover { background: var(--bg-2); }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--line-2); background: #fff; font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.is-on { background: var(--red-50); border-color: var(--red); color: var(--red-700); font-weight: 600; }
.chip--lg { min-height: 42px; padding: 8px 16px; font-size: 14.5px; }
.chip .icon { color: var(--red); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 6px; font-size: 12px; font-weight: 700; letter-spacing: .01em; line-height: 1.4; background: var(--bg-3); color: var(--ink-2); }
.badge--new { background: var(--ink); color: #fff; }
.badge--used { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.badge--off { background: var(--red); color: #fff; }
.badge--feat { background: #fff1c2; color: #6b4b00; }
.badge--available { background: #e3f5ea; color: var(--ok); }
.badge--reserved { background: #fff1db; color: var(--warn); }
.badge--sold { background: var(--red-100); color: var(--red-700); }

/* ============ Top bar ============ */
.topbar { background: var(--ink); color: #e9e9ec; font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__msg { margin: 0; display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__msg .icon { color: var(--red); }
.topbar__links { display: flex; gap: 20px; }
.topbar__links a { display: inline-flex; align-items: center; gap: 6px; color: #e9e9ec; white-space: nowrap; }
.topbar__links a:hover { color: #fff; }
@media (max-width: 1100px) { .hide-sm { display: none; } }
@media (max-width: 860px) { .hide-md { display: none; } }
@media (max-width: 600px) { .topbar__inner { justify-content: center; } .topbar__links { display: none; } .topbar__msg { font-size: 12.5px; } }

/* ============ Header ============ */
.header { position: sticky; top: 0; z-index: 60; background: #fff; transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 4px 18px -10px rgba(0, 0, 0, .3); }
.header__inner { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "menu logo actions" "search search search"; align-items: center; gap: 8px 10px; padding-top: 8px; padding-bottom: 10px; }
.header__menu-btn { grid-area: menu; margin-left: -8px; }
.header__logo { grid-area: logo; }
.logo { display: inline-flex; align-items: center; }
.logo__img { height: 46px; width: auto; }
.search { grid-area: search; display: flex; align-items: stretch; height: 46px; border: 2px solid var(--red); border-radius: 12px; overflow: hidden; background: #fff; }
.search input { flex: 1; min-width: 0; border: 0; padding: 0 14px; font-size: 15px; outline: none; background: transparent; }
.search input::placeholder { color: #8b8e96; }
.search button { border: 0; background: var(--red); color: #fff; width: 54px; display: grid; place-items: center; }
.search button:hover { background: var(--red-700); }
.header__actions { grid-area: actions; display: flex; gap: 6px; align-items: center; }
.hcta { display: inline-flex; align-items: center; gap: 10px; padding: 6px; border-radius: 12px; }
.hcta--wa { color: var(--wa); }
.hcta--call { color: var(--red); }
.hcta__txt { display: none; flex-direction: column; line-height: 1.2; color: var(--ink); }
.hcta__txt small { font-size: 12px; color: var(--muted); }
.hcta__txt b { font-size: 15px; }
.hcta:hover { background: var(--bg-2); }
@media (min-width: 1024px) {
	.header__inner { grid-template-columns: auto minmax(300px, 1fr) auto; grid-template-areas: "logo search actions"; gap: 28px; padding-top: 12px; padding-bottom: 12px; }
	.header__menu-btn { display: none; }
	.logo__img { height: 62px; }
	.hcta__txt { display: flex; }
	.search { height: 50px; max-width: 640px; width: 100%; justify-self: center; }
}

/* ============ Navigation ============ */
.nav { background: var(--red); color: #fff; }
.nav__head, .nav__foot { display: none; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__list > li { position: relative; }
.nav__list > li > a { display: flex; align-items: center; min-height: 48px; padding: 0 16px; font-weight: 600; font-size: 15px; color: #fff; letter-spacing: .01em; }
.nav__list > li > a:hover, .nav__list > li.current-menu-item > a { background: rgba(0, 0, 0, .14); color: #fff; }
.nav__toggle { display: none; }
.nav .sub-menu { position: absolute; top: 100%; left: 0; min-width: 220px; background: #fff; color: var(--ink); border-radius: 0 0 12px 12px; box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; z-index: 50; }
.nav .sub-menu a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 14.5px; }
.nav .sub-menu a:hover { background: var(--red-50); color: var(--red); }
.nav li:hover > .sub-menu, .nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.mega { position: absolute; top: 100%; left: 0; width: min(920px, 92vw); background: #fff; color: var(--ink); border-radius: 0 0 16px 16px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .15s; z-index: 50; }
.has-mega:hover > .mega, .has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.mega__inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 24px; padding: 22px 26px; }
.mega__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--red); margin-bottom: 6px; }
.mega__col li a { display: block; padding: 3px 0; font-size: 14px; color: var(--ink-2); }
.mega__col li a:hover { color: var(--red); }

@media (max-width: 1023px) {
	.nav { position: fixed; inset: 0 auto 0 0; width: min(86vw, 360px); background: #fff; color: var(--ink); z-index: 100; transform: translateX(-102%); transition: transform .25s ease; display: flex; flex-direction: column; box-shadow: var(--shadow-lg); }
	.nav.is-open { transform: none; }
	.nav__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 10px 10px 16px; border-bottom: 1px solid var(--line); }
	.nav__head .logo__img { height: 40px; }
	.nav__inner { flex: 1; overflow-y: auto; padding: 8px 0; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__list > li { display: grid; grid-template-columns: 1fr auto; border-bottom: 1px solid var(--line); }
	.nav__list > li > a { color: var(--ink); min-height: 52px; padding: 0 4px; font-size: 16px; }
	.nav__list > li > a:hover { background: none; color: var(--red); }
	.nav__toggle { display: grid; place-items: center; width: 48px; height: 52px; border: 0; background: none; color: var(--ink); }
	.nav__toggle::after { content: ""; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-top: -4px; transition: transform .2s; }
	.is-open > .nav__toggle::after { transform: rotate(-135deg); margin-top: 4px; }
	.mega, .nav .sub-menu { position: static; grid-column: 1 / -1; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-radius: 0; display: none; padding: 0 0 12px 8px; }
	.is-open > .mega, .is-open > .sub-menu { display: block; }
	.mega__inner { grid-template-columns: 1fr 1fr; padding: 0; gap: 12px; }
	.mega__title { font-size: 16px; }
	.nav__foot { display: grid; gap: 8px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
}
.scrim { position: fixed; inset: 0; background: rgba(18, 18, 20, .5); z-index: 90; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }

/* ============ Hero ============ */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 500px at 85% 20%, #ffe7e7 0%, rgba(255, 231, 231, 0) 60%), linear-gradient(180deg, #fff 0%, #fbf7f7 100%); border-bottom: 1px solid var(--line); }
.hero__inner { display: grid; gap: 24px; padding-top: 32px; padding-bottom: 36px; align-items: center; }
.eyebrow { display: inline-block; font-family: var(--font-display); font-weight: 700; font-style: italic; letter-spacing: .08em; text-transform: uppercase; color: var(--red); font-size: 14px; margin-bottom: 10px; }
.hero h1 { font-style: italic; text-transform: uppercase; letter-spacing: -.01em; max-width: 14ch; }
.hero__lead { font-size: 17px; color: var(--ink-2); max-width: 54ch; }
.finder { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; background: #fff; padding: 14px; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); margin-top: 18px; }
.finder__fld label { display: block; font-size: 12px; font-weight: 600; color: var(--muted); margin: 0 0 4px 2px; text-transform: uppercase; letter-spacing: .04em; }
.finder select { width: 100%; height: 46px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 34px 0 12px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23121214' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center; appearance: none; font-weight: 500; }
.finder select:focus { border-color: var(--red); outline: none; }
.finder__go { grid-column: 1 / -1; height: 50px; }
.hero__art { position: relative; display: none; justify-self: center; width: min(420px, 100%); aspect-ratio: 1; }
.hero__art img { position: relative; width: 82%; margin: 9%; filter: drop-shadow(0 30px 40px rgba(215, 25, 32, .25)); animation: float 6s ease-in-out infinite; }
.hero__ring { position: absolute; inset: 4%; border-radius: 50%; background: conic-gradient(from 200deg, var(--red), #ff6a6f, #fff 60%, var(--red)); opacity: .14; }
.hero__stat { position: absolute; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); font-size: 13px; font-weight: 600; }
.hero__stat b { font-family: var(--font-display); font-size: 26px; color: var(--red); line-height: 1; }
.hero__stat span { max-width: 9ch; line-height: 1.2; }
.hero__stat--a { left: -4%; top: 14%; }
.hero__stat--b { right: -2%; bottom: 12%; }
.hero__stat--b span { max-width: 12ch; }
.hero__stat--b .icon { color: var(--red); }
@keyframes float { 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero__art img { animation: none; } html { scroll-behavior: auto; } }
@media (min-width: 768px) { .finder { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) {
	.hero__inner { grid-template-columns: 1.45fr .8fr; padding-top: 56px; padding-bottom: 64px; gap: 40px; }
	.hero__art { display: block; }
	.finder { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; }
	.finder__go { grid-column: 1 / -1; height: 48px; }
}

/* ============ Trust bar ============ */
.trust { background: #fff; border-bottom: 1px solid var(--line); }
.trust__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding-top: 18px; padding-bottom: 18px; }
.trust__item { display: flex; align-items: center; gap: 12px; }
.trust__item .icon { color: var(--red); width: 26px; height: 26px; }
.trust__item b { display: block; font-size: 14px; line-height: 1.25; }
.trust__item span { font-size: 12.5px; color: var(--muted); }
@media (min-width: 900px) { .trust__grid { grid-template-columns: repeat(4, 1fr); padding-top: 22px; padding-bottom: 22px; } .trust__item .icon { width: 32px; height: 32px; } .trust__item b { font-size: 15px; } }

/* ============ Sections ============ */
.section { padding: 36px 0; }
.section--tint { background: var(--bg-2); }
@media (min-width: 900px) { .section { padding: 56px 0; } }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.section__head h2 { margin: 0; }
.h-sport { font-style: italic; text-transform: uppercase; font-weight: 800; position: relative; padding-left: 14px; }
.h-sport::before { content: ""; position: absolute; left: 0; top: .12em; bottom: .12em; width: 5px; background: var(--red); border-radius: 3px; transform: skewX(-12deg); }
.h-sport.center { padding-left: 0; }
.h-sport.center::before { display: none; }
.more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--red); white-space: nowrap; font-size: 14.5px; }

/* Brands */
.brands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.brand { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
.brand::after { content: ""; position: absolute; right: -18px; bottom: -18px; width: 70px; height: 70px; border-radius: 50%; border: 10px solid var(--red-50); transition: border-color .15s; }
.brand:hover { border-color: var(--red); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.brand:hover::after { border-color: var(--red-100); }
.brand__name { font-family: var(--font-display); font-weight: 800; font-size: 24px; font-style: italic; text-transform: uppercase; }
.brand__count { font-size: 13px; color: var(--muted); }
@media (min-width: 640px) { .brands { grid-template-columns: repeat(4, 1fr); } }

/* Budgets */
.budgets { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.budget { display: flex; flex-direction: column; padding: 18px; border-radius: var(--radius); background: linear-gradient(135deg, var(--ink) 0%, #2b2c31 100%); color: #fff; position: relative; overflow: hidden; }
.budget::before { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; background: var(--red); transform: skewX(-18deg); opacity: .9; transition: right .2s; }
.budget:hover { color: #fff; }
.budget:hover::before { right: -10px; }
.budget small, .budget b { position: relative; }
.budget small { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }
.budget b { font-family: var(--font-display); font-size: clamp(20px, 5.4vw, 26px); font-style: italic; white-space: nowrap; }
.budget:last-child { grid-column: 1 / -1; }
@media (min-width: 768px) { .budgets { grid-template-columns: repeat(5, 1fr); } .budget:last-child { grid-column: auto; } }

/* ============ Cards ============ */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } .grid--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1360px) { .grid--shop { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .18s, border-color .18s, transform .18s; min-width: 0; }
.card:hover { box-shadow: var(--shadow); border-color: var(--line-2); transform: translateY(-2px); }
.card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--bg-2); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__badges { position: absolute; left: 8px; top: 8px; display: flex; flex-wrap: wrap; gap: 4px; max-width: calc(100% - 44px); }
.card__star { position: absolute; right: 8px; top: 8px; width: 28px; height: 28px; border-radius: 50%; background: #ffcc33; color: #5b3d00; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.card__star .icon { fill: currentColor; }
.card__sold { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-10deg); background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: .1em; padding: 6px 22px; border-radius: 6px; box-shadow: var(--shadow); }
.card__sold--res { background: var(--warn); font-size: 17px; }
.card--sold .card__media img { filter: grayscale(.8); opacity: .65; }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 12px; flex: 1; }
.card__brand { margin: 0; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--red); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__title { font-family: var(--font); font-size: 14px; font-weight: 600; line-height: 1.35; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.specs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.specs li { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; padding: 3px 7px; background: var(--bg-2); border-radius: 6px; color: var(--ink-2); max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.specs .icon { color: var(--red); width: 12px; height: 12px; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.price { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.price strong { font-family: var(--font-display); font-size: 21px; font-weight: 800; color: var(--red); white-space: nowrap; }
.price del { font-size: 12.5px; color: var(--muted); }
.card__wa { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--wa); color: #fff; transition: background .15s, transform .15s; }
.card__wa:hover { background: var(--wa-700); color: #fff; transform: scale(1.06); }
@media (max-width: 480px) {
	.card__body { padding: 10px; gap: 5px; }
	.card__title { font-size: 13px; }
	.specs li:nth-child(n+4) { display: none; }
	.price strong { font-size: 18px; }
	.card__wa { width: 36px; height: 36px; }
	.badge { font-size: 10.5px; padding: 2px 6px; }
}
.ph { display: grid; place-items: center; width: 100%; height: 100%; color: var(--line-2); background: repeating-linear-gradient(135deg, var(--bg-2) 0 12px, #f0f0f3 12px 24px); }

/* ============ Page head ============ */
.page-head { background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 18px 0 22px; }
.page-head--slim { padding: 12px 0; background: #fff; border: 0; }
.page-head h1 { margin: 6px 0 0; font-style: italic; text-transform: uppercase; }
.page-head__desc { color: var(--muted); max-width: 70ch; margin-top: 8px; }
.page-head__desc p:last-child { margin: 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--muted); }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; color: var(--line-2); }
.crumbs a:hover { color: var(--red); }
.crumbs [aria-current] { color: var(--ink-2); max-width: 40ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; vertical-align: bottom; }

/* ============ Shop ============ */
.shop { display: grid; gap: 24px; padding-top: 20px; padding-bottom: 48px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar__count { margin: 0; font-weight: 600; color: var(--ink-2); }
.toolbar__right { display: flex; gap: 8px; }
.toolbar__filter { min-height: 42px; }
.sort select { height: 42px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 34px 0 12px; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23121214' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center; font-weight: 500; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; align-items: center; }
.chip-clear { font-size: 13.5px; font-weight: 600; color: var(--red); text-decoration: underline; }
.fgroup__n { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--red); color: #fff; font-size: 11.5px; font-family: var(--font); }

.filters { display: flex; flex-direction: column; background: #fff; }
.filters__head { display: flex; align-items: center; justify-content: space-between; padding: 0 0 10px; }
.filters__head h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 20px; font-style: italic; text-transform: uppercase; }
.filters__head .icon { color: var(--red); }
.fgroup { border-top: 1px solid var(--line); padding: 4px 0; }
.fgroup summary { display: flex; align-items: center; gap: 8px; min-height: 46px; cursor: pointer; list-style: none; font-weight: 700; font-size: 14.5px; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s; }
.fgroup[open] summary::after { transform: rotate(-135deg); }
.flist { display: grid; gap: 2px; padding-bottom: 10px; }
.flist--more:not(.is-all) > li:nth-child(n+9) { display: none; }
.flist--sub { padding: 2px 0 6px 26px; }
.flist__more { border: 0; background: none; color: var(--red); font-weight: 600; font-size: 13.5px; padding: 0 0 10px; }
.fcheck { display: flex; align-items: center; gap: 10px; min-height: 34px; cursor: pointer; font-size: 14px; color: var(--ink-2); border-radius: 6px; }
.fcheck input { width: 18px; height: 18px; accent-color: var(--red); flex: none; margin: 0; }
.fcheck span { flex: 1; }
.fcheck em { font-style: normal; font-size: 12px; color: var(--muted); background: var(--bg-2); border-radius: 99px; padding: 0 7px; }
.fcheck:hover span { color: var(--red); }
.fcheck--switch { padding: 6px 0 10px; font-weight: 600; }
.fprice { display: flex; align-items: center; gap: 8px; }
.fprice input { width: 100%; min-width: 0; height: 42px; border: 1px solid var(--line-2); border-radius: 10px; padding: 0 10px; }
.fprice input:focus { border-color: var(--red); outline: none; }
.fbudget { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 0 12px; }
.fbudget .chip { min-height: 30px; padding: 4px 10px; font-size: 12.5px; }
.filters__actions { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; padding-top: 12px; }

@media (min-width: 1024px) {
	.shop { grid-template-columns: 270px minmax(0, 1fr); gap: 32px; padding-top: 28px; }
	.shop__side { position: sticky; top: 100px; align-self: start; max-height: calc(100vh - 116px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; }
	.filters__close, .toolbar__filter { display: none !important; }
	.filters__actions { position: sticky; bottom: 0; background: #fff; padding-bottom: 6px; }
	.shop > .scrim { display: none !important; }
}
@media (max-width: 1023px) {
	.shop__side { position: fixed; inset: 0 0 0 auto; width: min(92vw, 400px); z-index: 100; background: #fff; transform: translateX(102%); transition: transform .25s ease; box-shadow: var(--shadow-lg); }
	.shop__side.is-open { transform: none; }
	.filters { height: 100%; }
	.filters__head { padding: 10px 10px 10px 18px; border-bottom: 1px solid var(--line); }
	.filters__scroll { flex: 1; overflow-y: auto; padding: 8px 18px; }
	.filters__actions { padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
}

/* Pagination */
.pagination { margin-top: 32px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); font-weight: 600; background: #fff; }
.page-numbers.current { background: var(--red); border-color: var(--red); color: #fff; }
a.page-numbers:hover { border-color: var(--red); color: var(--red); }

.empty { text-align: center; padding: 40px 20px; border: 2px dashed var(--line-2); border-radius: var(--radius); background: #fff; }
.empty__btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ============ Product ============ */
.product { display: grid; gap: 22px; padding-bottom: 28px; }
@media (min-width: 960px) { .product { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; padding-bottom: 40px; } }
.gallery__main { position: relative; aspect-ratio: 4 / 3; background: var(--bg-2); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.gallery__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .25s; }
.gallery__slide.is-active { opacity: 1; z-index: 1; }
.gallery__slide a, .gallery__slide img { display: block; width: 100%; height: 100%; }
.gallery__slide img { object-fit: contain; background: #fff; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); box-shadow: var(--shadow); font-size: 28px; line-height: 1; color: var(--ink); display: grid; place-items: center; padding-bottom: 4px; }
.gallery__nav:hover { background: var(--red); color: #fff; }
.gallery__nav--prev { left: 10px; }
.gallery__nav--next { right: 10px; }
.gallery__main .card__sold { z-index: 3; font-size: 30px; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.gallery__thumb { flex: none; width: 74px; height: 74px; padding: 0; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--bg-2); opacity: .7; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--red); opacity: 1; }

.buybox__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.buybox__title { font-family: var(--font-display); font-size: clamp(24px, 3.2vw, 34px); font-weight: 700; margin-bottom: 6px; }
.buybox__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; color: var(--muted); font-size: 14px; }
.buybox__meta a { color: var(--red); font-weight: 600; }
.buybox__price { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 16px; background: var(--red-50); border-radius: var(--radius); margin: 4px 0 16px; }
.buybox__price strong { font-family: var(--font-display); font-size: 36px; font-weight: 800; color: var(--red); line-height: 1; }
.buybox__price del { color: var(--muted); font-size: 16px; }
.keyspecs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 18px; }
.keyspecs li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.keyspecs .icon { color: var(--red); }
.keyspecs span { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.keyspecs small { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.keyspecs b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.buybox__ctas { display: grid; grid-template-columns: 1fr; gap: 8px; }
@media (min-width: 560px) { .buybox__ctas { grid-template-columns: 1fr 1fr; } .buybox__ctas .btn--wa { grid-column: 1 / -1; } }
.buybox__ctas .btn { white-space: normal; }
.buybox__ctas [data-order] { grid-column: 1 / -1; }
.assure { display: grid; gap: 8px; margin: 18px 0 10px; padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: var(--radius); font-size: 14px; }
.assure li { display: flex; align-items: center; gap: 10px; }
.assure .icon { color: var(--ok); }
.share { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--muted); font-weight: 600; font-size: 14px; padding: 6px 0; }
.share:hover { color: var(--red); }

.product-info { display: grid; gap: 22px; padding-bottom: 48px; }
@media (min-width: 960px) { .product-info { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: start; } .panel--form { position: sticky; top: 100px; } }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.panel h2 { font-size: 22px; font-style: italic; text-transform: uppercase; }
.panel h2:not(:first-child) { margin-top: 26px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.spec-table th, .spec-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 38%; color: var(--muted); font-weight: 500; background: var(--bg-2); }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table td { font-weight: 600; }
.prose { font-size: 15.5px; color: var(--ink-2); }
.prose a { color: var(--red); text-decoration: underline; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
.prose img { border-radius: 10px; }

.stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: flex; align-items: center; gap: 8px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -6px 20px -8px rgba(0, 0, 0, .2); }
.stickybar__price { flex: 1; display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.stickybar__price small { color: var(--muted); font-size: 12px; }
.stickybar__price b { font-family: var(--font-display); font-size: 22px; color: var(--red); white-space: nowrap; }
.stickybar .btn--ghost { padding: 10px; width: 46px; }
.single-laptop .wa-float { display: none; }
.single-laptop .footer { padding-bottom: 70px; }
@media (min-width: 960px) { .stickybar { display: none; } .single-laptop .wa-float { display: grid; } .single-laptop .footer { padding-bottom: 0; } }

/* ============ Forms ============ */
.mform__grid { display: grid; gap: 12px; }
@media (min-width: 560px) { .mform__grid { grid-template-columns: 1fr 1fr; } .fld--full { grid-column: 1 / -1; } }
.fld label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 5px; }
.fld label b { color: var(--red); }
.fld input, .fld select, .fld textarea { width: 100%; min-height: 46px; border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; background: #fff; font-size: 16px; }
.fld select { appearance: none; padding-right: 34px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23121214' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center; }
.fld textarea { resize: vertical; min-height: 84px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { border-color: var(--red); outline: none; box-shadow: 0 0 0 3px rgba(215, 25, 32, .12); }
.fld input:user-invalid, .fld select:user-invalid, .fld textarea:user-invalid { border-color: var(--red); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--bg-2); border-radius: 12px; margin-bottom: 14px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; text-align: center; padding: 10px 8px; border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--muted); }
.seg input:checked + span { background: #fff; color: var(--red); box-shadow: var(--shadow-sm); }
.seg input:focus-visible + span { outline: 3px solid rgba(215, 25, 32, .4); }
.mform__submit { margin-top: 14px; }
.mform__note { font-size: 12.5px; color: var(--muted); text-align: center; margin: 10px 0 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.alert { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; margin-bottom: 14px; font-size: 14px; }
.alert p { margin: 2px 0 0; }
.alert--ok { background: #e3f5ea; color: #0d5c2d; }
.alert--err { background: var(--red-50); color: var(--red-700); }

/* ============ Contact / visit ============ */
.contact { display: grid; gap: 24px; }
@media (min-width: 960px) { .contact { grid-template-columns: .9fr 1.1fr; gap: 40px; align-items: start; } }
.contact__info { display: grid; gap: 10px; align-content: start; }
.ccard { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .15s, box-shadow .15s; }
.ccard:hover { border-color: var(--red); box-shadow: var(--shadow); color: var(--ink); }
.ccard .icon { color: var(--red); }
.ccard--wa { background: #eaf8f0; border-color: #c6ead5; }
.ccard--wa .icon { color: var(--wa); }
.ccard span { display: flex; flex-direction: column; line-height: 1.3; }
.ccard small { color: var(--muted); font-size: 12.5px; }
.ccard b { font-size: 17px; }
.ccard em { font-style: normal; font-size: 13px; color: var(--muted); }

.visit { display: grid; gap: 24px; }
@media (min-width: 900px) { .visit { grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; } }
.ticks { display: grid; gap: 12px; margin-top: 16px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; }
.ticks .icon { color: #fff; background: var(--red); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 1px; }
.visit__card { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); border-top: 4px solid var(--red); }
.visit__btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }

/* FAQ */
.faq { display: grid; gap: 10px; margin-top: 18px; }
.faq__item { border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; cursor: pointer; font-weight: 600; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { transition: transform .2s; color: var(--red); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item p { padding: 0 18px 16px; margin: 0; color: var(--ink-2); }

/* ============ CTA band & footer ============ */
.cta-band { background: var(--red); color: #fff; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; right: -60px; top: -40px; width: 340px; height: 200%; background: rgba(0, 0, 0, .12); transform: skewX(-20deg); }
.cta-band__inner { position: relative; display: grid; gap: 18px; padding-top: 32px; padding-bottom: 32px; align-items: center; }
.cta-band h2 { font-style: italic; text-transform: uppercase; margin-bottom: 4px; }
.cta-band p { margin: 0; opacity: .92; }
.cta-band__btns { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1fr auto; } }

.footer { background: #0f0f11; color: #c9cad0; font-size: 14.5px; }
.footer__grid { display: grid; gap: 28px; padding-top: 44px; padding-bottom: 32px; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; } }
.footer h3 { color: #fff; font-size: 17px; text-transform: uppercase; font-style: italic; letter-spacing: .02em; margin-bottom: 14px; }
.footer__logo .logo { background: #fff; border-radius: 12px; padding: 8px 12px; margin-bottom: 14px; }
.footer__logo .logo__img { height: 54px; }
.footer__links { display: grid; gap: 8px; }
.footer__links a:hover, .footer__contact a:hover { color: #fff; }
.footer__contact { display: grid; gap: 10px; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { color: var(--red); margin-top: 2px; }
.visit__card .footer__contact { color: var(--ink-2); }
.visit__card .footer__contact a:hover { color: var(--red); }
.social { display: flex; gap: 8px; margin-top: 14px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #1d1e22; color: #fff; }
.social a:hover { background: var(--red); color: #fff; }
.footer__bottom { border-top: 1px solid #222328; font-size: 13px; }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; padding-top: 16px; padding-bottom: 16px; }
.footer__bottom p { margin: 0; }

.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 56; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px -6px rgba(31, 168, 85, .6); transition: transform .15s; }
.wa-float:hover { color: #fff; transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: pulse 2.4s infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; } }

/* ============ Blog / misc ============ */
.posts { display: grid; gap: 20px; }
@media (min-width: 768px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.post-card__img img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-card__body { padding: 16px; }
.post-card__body h2 { font-size: 20px; }
.post-card__date { color: var(--muted); font-size: 13px; }
.post-hero img { border-radius: var(--radius); margin-bottom: 24px; }
.notfound__code { font-family: var(--font-display); font-weight: 800; font-style: italic; font-size: 120px; line-height: 1; color: var(--red); margin: 0; }
.alignwide, .alignfull { max-width: 100%; }
.wp-caption, .gallery-caption { font-size: 13px; color: var(--muted); }
.sticky, .bypostauthor { display: block; }

/* ============ Condition report & policy ============ */
.report { margin: 18px 0 12px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line); }
.report--has { background: #fff8eb; border-color: #f3d9a4; }
.report--clean { background: #f1faf4; border-color: #cfe9d8; }
.report__title { display: flex; align-items: center; gap: 8px; font-family: var(--font); font-size: 15px; margin: 0 0 6px; }
.report__title .icon { color: var(--red); }
.report__lead { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font-size: 14px; color: var(--ink-2); }
.report--clean .report__lead .icon { color: var(--ok); }
.report__list { list-style: disc; padding-left: 20px; margin: 0 0 8px; font-weight: 600; font-size: 14.5px; color: #6b3d00; }
.report__list li { margin: 2px 0; }
.report__note { margin: 0; font-size: 12.5px; color: var(--muted); }
.policy { margin: 12px 0; padding: 16px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.policy__title { display: flex; align-items: center; gap: 8px; font-family: var(--font); font-size: 15px; margin: 0 0 10px; }
.policy__title .icon { color: var(--red); }
.policy__list { display: grid; gap: 8px; font-size: 14px; }
@media (min-width: 560px) { .policy__list { grid-template-columns: 1fr 1fr; } }
.policy__list li { display: flex; gap: 8px; align-items: flex-start; line-height: 1.35; }
.policy__list .icon { color: var(--ok); flex: none; margin-top: 1px; }
.policy__more { display: inline-block; margin-top: 10px; font-weight: 600; font-size: 14px; color: var(--red); }
.contact__info .policy { margin-top: 6px; }
.footer__credit strong { color: #fff; }
