/* ==========================================================================
   Auto Prime Store — main stylesheet
   ========================================================================== */

/* Auto Prime brand tokens (AutoPrime ERP Design.md §6). */
:root {
	--ink: #101828;
	--ink-2: #1a2333;
	--ink-3: #2a3446;
	--text: #344054;
	--muted: #667085;
	--line: #e4e7ec;
	--bg: #f5f7fa;
	--card: #ffffff;
	--brand: #d71920;
	--brand-600: #b3131a;
	--brand-50: #fef3f2;
	--brand-ink: #ffffff;
	--ok: #15803d;
	--err: #b42318;
	/* Grade colours: non-hybrid 5W-30 = brand red, hybrid 0W-20 = green (Success token). */
	--nh: #d71920;
	--nh-600: #b3131a;
	--nh-50: #fef3f2;
	--nh-line: #f6c9cb;
	--hy: #15803d;
	--hy-600: #116932;
	--hy-50: #ecfdf3;
	--hy-line: #abefc6;
	--radius: 14px;
	--radius-sm: 10px;
	--shadow-sm: 0 1px 2px rgba(16, 24, 40, .06);
	--shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 10px 30px rgba(16, 24, 40, .07);
	--maxw: 1200px;
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font-head: "Poppins", "Inter", system-ui, sans-serif;
}

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

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

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-600); }

h1, h2, h3, h4 {
	text-wrap: balance;
	font-family: var(--font-head);
	font-weight: 600;
	line-height: 1.18;
	letter-spacing: -.01em;
	color: var(--ink);
	margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 860px; }

.sr-only, .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 {
	clip: auto; width: auto; height: auto; margin: 0; padding: 10px 16px; z-index: 1000;
	top: 8px; left: 8px; background: #fff; color: var(--ink); border-radius: 8px; box-shadow: var(--shadow);
}

:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }

/* Buttons ---------------------------------------------------------------- */

.btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wp-block-button__link,
.wc-block-components-button:not(.is-link) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 22px;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	font-family: var(--font);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-lg { padding: 15px 26px; font-size: 16px; }

.btn-primary,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.wp-block-button__link,
.wc-block-components-button:not(.is-link) {
	background: var(--brand);
	color: var(--brand-ink);
}
.btn-primary:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.wp-block-button__link:hover,
.wc-block-components-button:not(.is-link):hover {
	background: var(--brand-600);
	color: var(--brand-ink);
	box-shadow: 0 6px 18px rgba(215, 25, 32, .22);
}
.btn-ghost { border-color: rgba(255, 255, 255, .28); color: #fff; background: rgba(255, 255, 255, .04); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .1); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }

/* Top bar ------------------------------------------------------------------ */

.topbar { background: var(--ink); color: #c6cfdb; font-size: 13px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar p { margin: 0; }
.topbar-note, .topbar-contact a { display: inline-flex; align-items: center; gap: 7px; }
.topbar-note .icon { color: var(--brand); }
.topbar-contact { display: flex; gap: 20px; }
.topbar-contact a { text-decoration: none; }
.topbar-contact a:hover { color: #fff; }
.topbar .icon { width: 15px; height: 15px; }

/* Header ------------------------------------------------------------------- */

.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .94);
	backdrop-filter: saturate(160%) blur(10px);
	-webkit-backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid var(--line);
	transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(16, 24, 40, .06); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 72px; }

.brand { flex: none; }
.brand .custom-logo { max-height: 40px; width: auto; display: block; }
.brand-logo { display: block; line-height: 0; }
.brand-logo img { display: block; height: 36px; width: auto; }
.brand-logo--footer img { height: 32px; }

.main-nav { flex: 1; }
.main-nav .menu { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.main-nav a {
	display: block; padding: 8px 14px; border-radius: 8px;
	font-weight: 500; font-size: 15px; color: var(--text); text-decoration: none;
}
.main-nav a:hover { background: var(--bg); color: var(--ink); }
.main-nav .current-menu-item > a, .main-nav .current_page_item > a { color: var(--ink); background: var(--brand-50); }

.header-actions { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.icon-btn {
	position: relative; display: grid; place-items: center; width: 42px; height: 42px;
	border-radius: 10px; border: 0; background: transparent; color: var(--ink); cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: var(--bg); color: var(--ink); }
.header-actions .btn { margin-left: 8px; }
.cart-count {
	position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 999px; background: var(--brand); color: var(--brand-ink);
	font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.cart-count.is-empty { background: var(--line); color: var(--muted); }
.nav-toggle { display: none; }

/* Hero --------------------------------------------------------------------- */

.hero {
	position: relative; overflow: hidden; color: #d7dde7;
	background:
		radial-gradient(900px 500px at 85% 20%, rgba(215, 25, 32, .16), transparent 60%),
		radial-gradient(700px 500px at 10% 110%, rgba(102, 112, 133, .16), transparent 60%),
		linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
	padding: 72px 0 120px;
}
.hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
	background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: linear-gradient(180deg, #000, transparent 85%);
	-webkit-mask-image: linear-gradient(180deg, #000, transparent 85%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; max-width: 17ch; }
.hero-text { font-size: 1.1rem; max-width: 52ch; color: #b8c2d1; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 26px; }
.hero-ctas--center { justify-content: center; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 22px; list-style: none; margin: 0; padding: 0; font-size: 14px; color: #c6cfdb; }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points .icon { color: var(--brand); width: 18px; height: 18px; stroke-width: 2.4; }

.eyebrow {
	display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
	font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-600);
}
.eyebrow .icon { width: 16px; height: 16px; }
.eyebrow--dark {
	padding: 6px 12px; border-radius: 999px; color: var(--brand);
	background: rgba(215, 25, 32, .1); border: 1px solid rgba(215, 25, 32, .25); letter-spacing: .05em;
}

.hero-visual { position: relative; min-height: 440px; display: grid; place-items: center; }
.hero-glow {
	position: absolute; width: 380px; height: 380px; border-radius: 50%;
	background: radial-gradient(circle, rgba(215, 25, 32, .22), rgba(215, 25, 32, 0) 70%);
	filter: blur(10px);
}
.hero-img { position: relative; max-height: 460px; width: auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }
.hero-bottle { position: absolute; width: 270px; filter: drop-shadow(0 28px 36px rgba(0,0,0,.5)); }
.hero-bottle--front { left: 50%; transform: translateX(-86%); bottom: 18px; z-index: 2; }
.hero-bottle--back { left: 50%; transform: translateX(4%); bottom: 58px; width: 240px; }
.hero-chip {
	position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
	padding: 10px 14px; border-radius: 12px; font-size: 13px; color: var(--muted);
	background: rgba(255, 255, 255, .96); box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
}
.hero-chip strong { display: block; color: var(--ink); font-size: 14px; }
.hero-chip .icon { width: 34px; height: 34px; padding: 7px; border-radius: 9px; background: var(--brand-50); color: var(--brand-600); }
.hero-chip--a { bottom: 8px; right: 0; }
.hero-chip--b { top: 36px; left: 0; }
.hero-chip--b .icon { background: #eef1f5; color: var(--ink); }

/* Trust strip -------------------------------------------------------------- */

.trust { position: relative; z-index: 2; margin-top: -64px; }
.trust-grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; list-style: none; margin: 0; padding: 0;
	background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.trust-grid li { display: flex; gap: 14px; align-items: flex-start; padding: 24px 22px; }
.trust-grid li + li { border-left: 1px solid var(--line); }
.trust-grid .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--brand-50); color: var(--brand-600); }
.trust-grid strong { display: block; color: var(--ink); font-size: 15px; }
.trust-grid span { font-size: 13.5px; color: var(--muted); }

/* Sections ----------------------------------------------------------------- */

.section { padding: 88px 0; }
.section--alt { background: var(--bg); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 44px; }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; margin: 0; }
.section-more { text-align: center; margin: 36px 0 0; }
.admin-hint { text-align: center; padding: 18px; border: 1px dashed var(--brand); border-radius: var(--radius); background: var(--brand-50); }

/* Product cards ------------------------------------------------------------ */

.p-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }
.p-card {
	display: flex; flex-direction: column; overflow: hidden;
	background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.p-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #d5dbe4; }
.p-media {
	position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; padding: 26px;
	background: radial-gradient(circle at 50% 60%, #fff 0%, #eef1f5 70%);
}
.grade-5w30, .guide-answer--no { --g: var(--nh); --g-600: var(--nh-600); --g-50: var(--nh-50); --g-line: var(--nh-line); --g-tint: #fbe7e8; }
.grade-0w20, .guide-answer--yes { --g: var(--hy); --g-600: var(--hy-600); --g-50: var(--hy-50); --g-line: var(--hy-line); --g-tint: #dcf5e6; }
.p-card .p-media { background: radial-gradient(circle at 50% 62%, #fff 0%, var(--g-tint) 75%); }
.p-media img {
	position: absolute; top: var(--media-pad, 20px); left: var(--media-pad, 20px);
	width: calc(100% - 2 * var(--media-pad, 20px)); height: calc(100% - 2 * var(--media-pad, 20px));
	max-height: none; object-fit: contain; transition: transform .3s ease;
}
.p-card:hover .p-media img { transform: scale(1.04); }
.p-grade, .p-badge {
	position: absolute; top: 14px; padding: 4px 10px; border-radius: 999px;
	font-size: 12px; font-weight: 700; letter-spacing: .03em;
}
.p-grade { left: 14px; background: var(--ink); color: #fff; }
.p-card .p-grade { background: var(--g); color: #fff; }
.p-badge--sale { right: 14px; top: 48px; background: var(--err); color: #fff; }
.p-use {
	position: absolute; top: 14px; right: 14px; padding: 4px 10px; border-radius: 999px;
	font-size: 12px; font-weight: 600; background: #fff; color: var(--ink); border: 1px solid var(--line);
}
.p-card .p-use { color: var(--g-600); border-color: var(--g-line); }
.p-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.p-title { font-size: 1.15rem; margin: 0 0 6px; }
.p-title a { text-decoration: none; color: var(--ink); }
.p-specs { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 12px; padding: 0; }
.p-specs li { padding: 3px 9px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--ink); }
.p-card .p-specs li:first-child { background: var(--g-50); border-color: var(--g-line); color: var(--g-600); }
.p-card { border-top: 3px solid var(--g); }
.p-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; flex-wrap: wrap; }
.p-price { font-size: 1.25rem; font-weight: 700; color: var(--ink); }
.p-price del { color: var(--muted); font-size: .85em; font-weight: 500; margin-right: 4px; }
.p-price ins { text-decoration: none; }
/* Homepage cards are outside .woocommerce, so style the loop button here too. */
.p-foot .button {
	display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: var(--radius-sm);
	background: var(--brand); color: var(--brand-ink); font-size: 14px; font-weight: 600; line-height: 1.2;
	text-decoration: none; border: 0; cursor: pointer; transition: background-color .15s ease, box-shadow .15s ease;
}
.p-foot .button:hover { background: var(--brand-600); color: var(--brand-ink); box-shadow: 0 6px 18px rgba(215, 25, 32, .22); }
.p-card .p-foot .button { background: var(--g); color: #fff; }
.p-card .p-foot .button:hover { background: var(--g-600); color: #fff; box-shadow: none; }
.p-foot .button.loading { opacity: .6; }
.p-foot .button.added { background: var(--ok); color: #fff; }
.p-foot .added_to_cart { font-size: 13px; font-weight: 600; }
.p-stock-out { font-size: 13px; color: var(--err); font-weight: 600; }
.p-feats { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 7px; font-size: 14px; color: var(--text); }
.p-feats li { display: flex; gap: 8px; align-items: flex-start; }
.p-feats .icon { width: 17px; height: 17px; margin-top: 2px; color: var(--ok); stroke-width: 2.4; }

/* Two-product layout: large side-by-side cards with image on the left. */
.p-grid--duo { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.p-grid--duo .p-media { aspect-ratio: 16 / 9; --media-pad: 10px; }
.p-grid--duo .p-body { padding: 22px 26px 24px; }
.p-grid--duo .p-title { font-size: 1.2rem; margin-bottom: 10px; }
.p-grid--duo .p-price { font-size: 1.55rem; }
.p-grid--duo .p-foot { padding-top: 18px; border-top: 1px solid var(--line); }
.p-grid--duo .p-foot .button { padding: 12px 20px; font-size: 15px; }

/* Buying guide (one question → one oil) ----------------------------------- */

.guide-flow { margin: 0 auto; }
.guide-q {
	position: relative; max-width: 420px; margin: 0 auto; padding: 18px 24px; text-align: center;
	background: var(--ink); color: #fff; border-radius: var(--radius);
}
.guide-q-label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #f39a9e; }
.guide-q p { margin: 4px 0 0; font-family: var(--font-head); font-size: 1.45rem; font-weight: 600; line-height: 1.25; }
/* Connector: stem down from the question, a bar across, and a drop into each answer. */
.guide-q::after { content: ""; position: absolute; left: 50%; bottom: -28px; width: 2px; height: 28px; background: #c9cfd8; }
.guide-answers { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 56px; }
.guide-answers::before { content: ""; position: absolute; top: 28px; left: 25%; right: 25%; height: 2px; background: #c9cfd8; }
.guide-answer {
	position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
	padding: 34px 28px 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.guide-answer::before { content: ""; position: absolute; top: -28px; left: 50%; width: 2px; height: 28px; background: #c9cfd8; }
.guide-pill {
	position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
	min-width: 56px; padding: 5px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff; background: var(--ink);
}
.guide-answer .guide-pill { background: var(--g); }
.guide-answer { border-top: 3px solid var(--g); }
.guide-case { margin: 0 0 14px; font-weight: 600; color: var(--ink); }
.guide-pick { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 0 0 16px; }
.guide-pick-label { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.guide-grade { font-family: var(--font-head); font-size: 2.3rem; font-weight: 600; line-height: 1.1; color: var(--ink); }
.guide-answer .guide-grade { color: var(--g); }
.guide-line { font-size: 14px; color: var(--muted); }
.guide-icon {
	display: grid; place-items: center; width: 48px; height: 48px; margin: 4px 0 12px; border-radius: 14px;
	background: #eef1f5; color: var(--ink);
}
.guide-icon .icon { width: 26px; height: 26px; }
.guide-answer .guide-icon { background: var(--g-50); color: var(--g); }
.guide-cars { width: 100%; margin: 0 0 22px; padding-top: 16px; border-top: 1px dashed var(--line); }
.guide-cars-label { margin: 0 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.guide-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.guide-chips li {
	padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 500; line-height: 1.3;
	background: var(--bg); border: 1px solid var(--line); color: var(--ink);
}
.guide-answer .guide-chips li { background: var(--g-50); border-color: var(--g-line); }
.guide-btn { background: var(--g) !important; color: #fff !important; border-color: var(--g) !important; }
.guide-btn:hover { background: var(--g-600) !important; box-shadow: none !important; }
.guide-chips .guide-chip-more { background: transparent !important; border-color: transparent !important; color: var(--muted); }
.guide-btn { margin-top: auto; }

.guide-help { margin: 48px auto 0; padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.guide-help h3 { margin: 0 0 18px; font-size: 1.1rem; text-align: center; }
.guide-tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.guide-tips li { display: flex; gap: 12px; align-items: flex-start; }
.guide-tips p { margin: 0; font-size: 14px; color: var(--muted); }
.guide-tips strong { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }
.guide-tip-num {
	flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px;
	background: var(--brand-50); color: var(--brand); font-weight: 700; font-size: 14px;
}
.guide-ask { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); text-align: center; font-size: 14px; color: var(--muted); }
.guide-ask a { display: inline-flex; align-items: center; gap: 6px; margin: 0 8px; font-weight: 600; color: var(--ink); text-decoration: none; }
.guide-ask a:hover { color: var(--brand); }
.guide-ask .icon { width: 16px; height: 16px; color: var(--brand); }

/* Steps -------------------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; margin: 0; padding: 0; }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 28px 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step-icon {
	position: relative; z-index: 1; display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 14px; border-radius: 50%;
	background: var(--ink); color: #fff; box-shadow: 0 0 0 6px var(--bg);
}
.step-icon .icon { width: 26px; height: 26px; }
.steps li:nth-child(2) .step-icon { background: var(--brand); }
.step-num { margin-bottom: 6px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); margin: 0; font-size: 15px; }
/* Dashed connector between the step icons on wide screens. */
.steps li:not(:last-child)::after {
	content: ""; position: absolute; top: 61px; left: calc(50% + 44px); width: calc(100% - 64px); height: 0;
	border-top: 2px dashed #c9cfd8; z-index: 2;
}

/* FAQ ---------------------------------------------------------------------- */

.faq-layout { display: grid; grid-template-columns: 1fr 1.75fr; gap: 56px; align-items: start; }
.faq-intro { position: sticky; top: 110px; }
.faq-intro h2 { margin-bottom: 12px; }
.faq-intro p:not(.eyebrow) { color: var(--muted); }
.faq-more { display: inline-flex; gap: 6px; font-weight: 600; color: var(--brand); text-decoration: none; }
.faq-more:hover { color: var(--brand-600); }

.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq summary {
	cursor: pointer; list-style: none; padding: 18px 54px 18px 20px; position: relative;
	font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
	content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
	border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* CTA ---------------------------------------------------------------------- */

.cta { background: var(--ink-2); padding: 56px 0; border-top: 3px solid var(--brand); }
.cta h2 { color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta h2 { margin-bottom: 6px; }
.cta p { margin: 0; color: #c3cad6; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Footer ------------------------------------------------------------------- */

.site-footer { background: var(--ink); color: #aab4c3; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1.3fr; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.site-footer h3 { color: #fff; font-family: var(--font); font-size: 15px; font-weight: 600; letter-spacing: .02em; margin: 6px 0 18px; }
.footer-about p { margin: 16px 0 18px; max-width: 34ch; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { color: var(--brand); width: 18px; height: 18px; margin-top: 3px; }
/* Copyright + social bar */
.footer-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; position: relative; }
.footer-bar::before { content: ""; position: absolute; top: 0; left: 20px; right: 20px; border-top: 1px solid var(--ink-3); }
.footer-copy { margin: 0; font-size: 13.5px; }
.footer-social { display: flex; align-items: center; gap: 14px; }
.footer-social-label { font-size: 13px; font-weight: 600; color: #d7dde7; }
.footer-social ul { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.footer-social a {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
	background: var(--ink-2); border: 1px solid var(--ink-3); color: #fff; transition: background-color .15s, border-color .15s, transform .15s;
}
.footer-social a:hover { transform: translateY(-2px); color: #fff; }
.footer-social .social-facebook:hover { background: #1877f2; border-color: #1877f2; }
.footer-social .social-instagram:hover { background: #e1306c; border-color: #e1306c; }
.footer-social .social-youtube:hover { background: #ff0000; border-color: #ff0000; }
.footer-social .social-tiktok:hover { background: #000; border-color: #444; }
.footer-social .social-twitter:hover { background: #000; border-color: #444; }
.footer-social .social-linkedin:hover { background: #0a66c2; border-color: #0a66c2; }
.footer-social .social-whatsapp:hover { background: #25d366; border-color: #25d366; }
.footer-social .icon { width: 18px; height: 18px; }

/* Payment strip: the official SSLCommerz logos on a white band at the very bottom */
.footer-pay { background: #fff; border-top: 3px solid var(--brand); padding: 18px 0; }
.pay-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.pay-track { display: flex; width: max-content; animation: pay-scroll 70s linear infinite; }
.pay-marquee:hover .pay-track { animation-play-state: paused; }
/* .pay-track img.pay-banner outranks WooCommerce's ".woocommerce img { height: auto; max-width: 100% }". */
.pay-track img.pay-banner { display: block; flex: none; height: 56px; width: auto; max-width: none; padding-right: 48px; }
@keyframes pay-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.pay-track { animation: none; }
	.pay-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	.pay-track img + img { display: none; }
}

/* Inner pages -------------------------------------------------------------- */

.page-hero { background: var(--bg); border-bottom: 1px solid var(--line); padding: 36px 0 34px; }
.page-hero h1 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 6px 0 0; }
.page-hero p { color: var(--muted); margin: 8px 0 0; max-width: 60ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.product-crumbs { padding-top: 22px; }
.page-body { padding-top: 48px; padding-bottom: 88px; }

.prose { max-width: 780px; font-size: 16.5px; }
.prose h2 { font-size: 1.35rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--brand); }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); }
.prose th { background: var(--bg); }
.prose .note { padding: 14px 16px; border-left: 4px solid var(--brand); background: var(--brand-50); border-radius: 6px; }
.policy-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 56px; align-items: start; }
.policy-side { position: sticky; top: 104px; display: grid; gap: 16px; }
.policy-nav { padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.policy-nav-title { margin: 6px 10px 8px; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.policy-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.policy-nav a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14.5px; font-weight: 500; color: var(--text); text-decoration: none; border-left: 3px solid transparent; }
.policy-nav a:hover { background: var(--bg); color: var(--ink); }
.policy-nav a.is-active { background: var(--brand-50); color: var(--brand-600); border-left-color: var(--brand); font-weight: 600; }
.policy-help { padding: 18px; border-radius: var(--radius); background: var(--ink); color: #c3cad6; font-size: 14px; }
.policy-help p { margin: 0 0 12px; }
.policy-help-title { color: #fff; font-weight: 600; font-size: 15px; margin-bottom: 4px !important; }
.policy-help a { display: flex; align-items: center; gap: 8px; margin-top: 8px; color: #fff; text-decoration: none; font-weight: 500; word-break: break-all; }
.policy-help a:hover { color: #f39a9e; }
.policy-help .icon { width: 16px; height: 16px; color: #f39a9e; flex: none; }
.policy-body { max-width: 760px; }
.policy-body > p:first-child { font-size: 1.08rem; color: var(--ink); }
.policy-updated { margin-top: 2.4em; padding-top: 1em; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

.post-list { display: grid; gap: 28px; max-width: 780px; }
.post-meta { font-size: 13px; color: var(--muted); }

.notfound { text-align: center; }
.notfound-code { font-family: var(--font-head); font-size: 5.5rem; font-weight: 700; line-height: 1; color: var(--brand); margin: 0; }

/* Contact ------------------------------------------------------------------ */

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: start; }
.contact-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-cards li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.contact-cards .icon { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--brand-50); color: var(--brand-600); }
.contact-cards strong { display: block; color: var(--ink); }
.contact-cards a, .contact-cards span { color: var(--muted); text-decoration: none; }
.contact-legal { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
.contact-form-wrap { padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.contact-form-wrap h2 { font-size: 1.35rem; }
.contact-form { display: grid; gap: 16px; }
.form-row--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.req { color: var(--err); }
.hp-field { position: absolute; left: -9999px; }
.form-notice { padding: 12px 14px; border-radius: 8px; font-size: 14px; }
.form-notice--ok { background: #e7f6ee; color: #0b6a40; }
.form-notice--err { background: #fdecea; color: #9b2a22; }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], input[type="url"], textarea, select,
.woocommerce form .form-row .input-text, .woocommerce form .form-row select {
	width: 100%; padding: 12px 14px; font: inherit; font-size: 15px; font-weight: 400; color: var(--text);
	background: #fff; border: 1px solid #d3d9e2; border-radius: var(--radius-sm); transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand-600); box-shadow: 0 0 0 4px rgba(215, 25, 32, .18); }

/* WooCommerce ------------------------------------------------------------- */

/* Shop toolbar */
.woocommerce .woocommerce-result-count { margin: 0 0 24px; color: var(--muted); font-size: 14px; line-height: 44px; }
.woocommerce .woocommerce-ordering { margin: 0 0 24px; }
.woocommerce .woocommerce-ordering select { width: auto; min-width: 210px; padding: 10px 14px; }

/* Shop / category / related loops use the homepage card (.p-grid--duo is added to ul.products).
   These rules only undo WooCommerce's own loop styles. */
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products.p-grid { margin: 0 0 8px; padding: 0; clear: both; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product,
.woocommerce ul.products[class*="columns-"] li.product, .woocommerce-page ul.products[class*="columns-"] li.product {
	display: flex; width: auto !important; float: none !important; clear: none !important; margin: 0 !important; padding: 0;
}
.woocommerce ul.products li.product .p-card { width: 100%; }
.woocommerce ul.products li.product .p-media img {
	margin: 0; box-shadow: none;
	position: absolute; top: var(--media-pad, 20px); left: var(--media-pad, 20px);
	width: calc(100% - 2 * var(--media-pad, 20px)); height: calc(100% - 2 * var(--media-pad, 20px));
}
.woocommerce ul.products li.product .p-title { padding: 0; margin: 0 0 10px; font-size: 1.2rem; }
.woocommerce ul.products li.product .p-foot .button { margin: 0; }
/* WooCommerce adds clearfix pseudo-elements and 1em margins to every list inside .products. */
.woocommerce .products .p-card ul::before, .woocommerce .products .p-card ul::after { display: none; }
.woocommerce .products .p-card .p-specs { margin: 0 0 12px; }
.woocommerce .products .p-card .p-feats { margin: 0 0 20px; }
.woocommerce span.onsale { background: var(--err); min-height: 0; min-width: 0; line-height: 1; padding: 6px 10px; border-radius: 999px; top: 12px; left: 12px; font-size: 12px; }

/* Single product ------------------------------------------------------------ */
.woocommerce div.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.woocommerce div.product div.images, .woocommerce div.product div.summary { width: auto !important; float: none !important; margin: 0 !important; }
.woocommerce div.product div.images {
	padding: 28px; border: 1px solid var(--line); border-top: 4px solid var(--g, var(--brand)); border-radius: var(--radius);
	background: radial-gradient(circle at 50% 60%, #fff 0%, var(--g-tint, #eef1f5) 78%);
}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { top: 18px; right: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.woocommerce div.product .product_title { font-size: clamp(1.6rem, 2.6vw, 2.15rem); margin: 0 0 14px; }

.pp-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 10px; }
.pp-tags .p-grade, .pp-tags .p-use { position: static; }
.pp .p-grade { background: var(--g); color: #fff; }
.pp .p-use { color: var(--g-600); border-color: var(--g-line); }
.pp-save { padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--ink); color: #fff; }
.pp-save .woocommerce-Price-amount { color: #fff; }
.pp .pp-specs { margin: 0 0 20px; }
.pp .pp-specs li:first-child { background: var(--g-50); border-color: var(--g-line); color: var(--g-600); }

.woocommerce div.product p.price, .woocommerce div.product span.price {
	display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin: 0 0 16px;
	font-size: 2rem; font-weight: 700; line-height: 1.1; color: var(--ink);
}
.woocommerce div.product p.price ins { text-decoration: none; font-weight: 700; }
.woocommerce div.product p.price del { font-size: 1.1rem; font-weight: 500; color: var(--muted); opacity: 1; }
.woocommerce div.product .woocommerce-product-details__short-description { margin: 0 0 16px; color: var(--muted); font-size: 15.5px; }
.woocommerce div.product .woocommerce-product-details__short-description p { margin: 0; }
.woocommerce div.product p.stock { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 600; color: var(--ok); }
.woocommerce div.product p.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.woocommerce div.product p.stock.out-of-stock { color: var(--err); }

.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin: 18px 0 20px; }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { display: none; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce div.product form.cart .variations { margin-bottom: 8px; width: 100%; }
.woocommerce div.product form.cart .variations select { min-width: 200px; }
.woocommerce .quantity .qty { width: 88px; height: 52px; padding: 0 8px; text-align: center; font-size: 16px; font-weight: 600; }
.woocommerce div.product form.cart .button { float: none; flex: 1 1 auto; min-height: 52px; padding: 0 28px; font-size: 16px; }
.woocommerce div.product.pp form.cart .single_add_to_cart_button { background: var(--g); color: #fff; }
.woocommerce div.product.pp form.cart .single_add_to_cart_button:hover { background: var(--g-600); color: #fff; box-shadow: none; }

.product-assurance { list-style: none; margin: 0 0 20px; padding: 18px; display: grid; gap: 10px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); font-size: 14px; }
.product-assurance li { display: flex; gap: 10px; align-items: flex-start; }
.product-assurance .icon { color: var(--ok); width: 20px; height: 20px; flex: none; }
.woocommerce div.product .product_meta { display: flex; flex-wrap: wrap; gap: 6px 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.woocommerce div.product .product_meta a { color: var(--ink); font-weight: 500; }

.woocommerce div.product .woocommerce-tabs, .woocommerce div.product .related, .woocommerce div.product .upsells { grid-column: 1 / -1; }
.woocommerce div.product .woocommerce-tabs { margin-top: 16px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 24px; border-bottom: 1px solid var(--line); }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; border-radius: 0; margin: 0; padding: 0 22px 0 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 12px 0; font-weight: 600; color: var(--muted); }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ink); box-shadow: inset 0 -3px 0 var(--g, var(--brand)); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 820px; margin: 0 0 8px; font-size: 16px; }
.woocommerce div.product .woocommerce-Tabs-panel--description > h2:first-child { display: none; }
.woocommerce div.product .woocommerce-tabs .panel h3 { font-size: 1.15rem; margin: 1.4em 0 .5em; }
.woocommerce div.product .woocommerce-tabs .panel ul { padding-left: 1.2em; }
.woocommerce div.product .woocommerce-tabs .panel li { margin-bottom: .35em; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { padding: 10px 12px; border-color: var(--line); font-style: normal; }
.woocommerce div.product .related { margin-top: 24px; padding-top: 40px; border-top: 1px solid var(--line); }
.woocommerce div.product .related > h2 { font-size: 1.6rem; margin: 0 0 22px; }

.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-top: 0 !important; border-left: 4px solid var(--brand); border-radius: 8px; background: var(--brand-50) !important; color: var(--ink) !important;
}
.woocommerce-error { border-left-color: var(--err); background: #fdecea !important; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--brand-600) !important; }

.woocommerce table.shop_table { border-radius: var(--radius-sm); border-color: var(--line); }
.woocommerce table.shop_table th { color: var(--ink); }

.page-body--wide .wc-page { max-width: none; }
/* SSLCommerz on the Checkout block (inc/sslcommerz-blocks.php) */
.ap-sslcz-label { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.ap-sslcz-label img.ap-sslcz-icon { display: block; height: 30px; width: auto; max-width: none; }
.ap-sslcz-desc { margin: 0; }
.wc-block-components-totals-item__value, .wc-block-formatted-money-amount { font-weight: 600; }

/* Checkout (woocommerce/checkout/*.php). ".ap-checkout.checkout" outranks WooCommerce's own form and #payment rules. */
.ck { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.ck-steps, #customer_details.woocommerce-billing-fields { display: grid; gap: 18px; }
#customer_details.woocommerce-billing-fields::before, #customer_details.woocommerce-billing-fields::after { display: none; }
.ck-card { padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.ck-card h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 1.15rem; }
.ck-num { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font); font-size: 13px; font-weight: 700; }
.ck-hidden { display: none; }

.ck-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.ap-checkout.checkout .ck-fields .form-row { grid-column: 1 / -1; width: auto; float: none; margin: 0; padding: 0; }
.ap-checkout.checkout #billing_first_name_field, .ap-checkout.checkout #billing_phone_field,
.ap-checkout.checkout #billing_state_field, .ap-checkout.checkout #billing_city_field { grid-column: auto; }
.ap-checkout.checkout .form-row label { margin: 0 0 6px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.ap-checkout.checkout .form-row .required { visibility: visible; color: var(--brand); text-decoration: none; }
.ap-checkout.checkout .form-row .optional { font-weight: 400; color: var(--muted); }
.ap-checkout.checkout .form-row .input-text, .ap-checkout.checkout .form-row select { height: 48px; }
.ap-checkout.checkout .form-row textarea.input-text { height: 84px; resize: vertical; }
.ap-checkout.checkout .form-row .woocommerce-input-wrapper .description {
	display: block !important; height: auto !important; opacity: 1 !important; margin: 6px 0 0 !important; padding: 0 !important;
	background: none; border-radius: 0; color: var(--muted); font-size: 12.5px; line-height: 1.4;
}
.ap-checkout.checkout .form-row .woocommerce-input-wrapper .description::before { display: none; }
.ap-checkout.checkout .form-row.woocommerce-invalid label { color: var(--err); }
.ap-checkout.checkout .form-row.woocommerce-invalid .input-text,
.ap-checkout.checkout .form-row.woocommerce-invalid .select2-selection { border-color: var(--err); }
.ap-checkout.checkout .form-row.woocommerce-validated .input-text,
.ap-checkout.checkout .form-row.woocommerce-validated .select2-selection { border-color: #d3d9e2; }

/* Mobile number with a fixed +880 in front */
.ap-checkout.checkout #billing_phone_field .woocommerce-input-wrapper { display: flex; flex-wrap: wrap; }
.ap-checkout.checkout #billing_phone_field .woocommerce-input-wrapper::before {
	content: "+880"; display: grid; place-items: center; height: 48px; padding: 0 14px;
	border: 1px solid #d3d9e2; border-right: 0; border-radius: var(--radius-sm) 0 0 var(--radius-sm);
	background: var(--bg); font-weight: 600; color: var(--ink);
}
.ap-checkout.checkout #billing_phone_field .input-text { flex: 1; width: auto; min-width: 0; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.ap-checkout.checkout #billing_phone_field .description { flex-basis: 100%; }

/* District dropdown (selectWoo) */
.ap-checkout.checkout .select2-container .select2-selection--single { height: 48px; border: 1px solid #d3d9e2; border-radius: var(--radius-sm); }
.ap-checkout.checkout .select2-container .select2-selection--single .select2-selection__rendered { padding: 0 40px 0 14px; line-height: 46px; font-size: 15px; color: var(--text); }
.ap-checkout.checkout .select2-container .select2-selection--single .select2-selection__arrow { top: 0; right: 10px; height: 46px; }
.ap-checkout.checkout .select2-container--focus .select2-selection--single,
.ap-checkout.checkout .select2-container--open .select2-selection--single { border-color: var(--brand-600); box-shadow: 0 0 0 4px rgba(215, 25, 32, .18); }
.woocommerce-checkout .select2-dropdown { border-color: #d3d9e2; border-radius: var(--radius-sm); overflow: hidden; }
.woocommerce-checkout .select2-search--dropdown .select2-search__field { height: 40px; padding: 8px 12px; border-radius: 8px; }
.woocommerce-checkout .select2-results__option { padding: 8px 14px; font-size: 15px; }
.woocommerce-checkout .select2-container--default .select2-results__option--highlighted[aria-selected],
.woocommerce-checkout .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--brand); color: #fff; }

/* Delivery note */
.ck-note-toggle { display: inline-flex; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--brand); text-decoration: none; }
.ck-note-toggle span { font-weight: 400; color: var(--muted); }
.ck-note { margin-top: 14px; }
.ck-note[hidden] { display: none; }
.ap-checkout.checkout .ck-note .form-row { margin: 0; padding: 0; }

/* Delivery method for the chosen district */
.ck-delivery { display: grid; gap: 10px; margin-top: 16px; }
.ck-ship { display: flex; align-items: center; gap: 12px; margin: 0; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; }
.ck-ship.is-on { border-color: var(--hy-line); background: var(--hy-50); }
.ck-ship input[type="radio"] { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--hy); }
.ck-ship .icon { flex: none; width: 22px; height: 22px; color: var(--hy); }
.ck-ship-l { flex: 1; min-width: 0; line-height: 1.4; }
.ck-ship-l strong { display: block; font-size: 15px; color: var(--ink); }
.ck-ship-l small { font-size: 13px; color: var(--muted); }
.ck-ship-price { font-weight: 700; color: var(--ink); white-space: nowrap; }
.ck-ship--empty { display: block; border-style: dashed; background: var(--bg); font-size: 14px; color: var(--muted); cursor: default; }

/* Payment: each gateway prints its own title, logo and description */
.ap-checkout.checkout #payment { background: none; border-radius: 0; }
.ap-checkout.checkout #payment ul.payment_methods { display: grid; gap: 12px; margin: 0; padding: 0; border: 0; }
.ap-checkout.checkout #payment ul.payment_methods::before, .ap-checkout.checkout #payment ul.payment_methods::after { display: none; }
.ap-checkout.checkout #payment ul.payment_methods li.wc_payment_method {
	position: relative; margin: 0; padding: 16px 16px 16px 50px; line-height: 1.5;
	border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff; transition: border-color .15s, background-color .15s;
}
.ap-checkout.checkout #payment ul.payment_methods li.wc_payment_method:has(> input:checked) { border-color: var(--brand); background: var(--brand-50); }
.ap-checkout.checkout #payment ul.payment_methods li.wc_payment_method > input.input-radio {
	position: absolute; top: 18px; left: 16px; width: 20px; height: 20px; margin: 0;
	appearance: none; -webkit-appearance: none; border: 2px solid #b9c1cc; border-radius: 50%; background: #fff; cursor: pointer;
}
.ap-checkout.checkout #payment ul.payment_methods li.wc_payment_method > input.input-radio:checked { border: 6px solid var(--brand); }
.ap-checkout.checkout #payment ul.payment_methods li.wc_payment_method > input.input-radio:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.ap-checkout.checkout #payment ul.payment_methods li.wc_payment_method > label {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0; font-weight: 700; color: var(--ink); cursor: pointer;
}
/* The whole card picks the method */
.ap-checkout.checkout #payment ul.payment_methods li.wc_payment_method > label::after { content: ""; position: absolute; inset: 0; }
.ap-checkout.checkout #payment ul.payment_methods li.wc_payment_method > label img { display: block; width: auto; height: 32px; max-width: none; margin: 0; }
.ap-checkout.checkout #payment div.payment_box {
	/* Always shown in full: WooCommerce's slide animation would otherwise clip it while switching method. */
	display: block !important; height: auto !important; overflow: visible !important; opacity: 1 !important;
	margin: 2px 0 0 !important; padding: 0 !important; background: none; border-radius: 0; font-size: 13.5px; color: var(--muted);
}
.ap-checkout.checkout #payment div.payment_box::before { display: none; }
.ap-checkout.checkout #payment div.payment_box p { margin: 0; }
.ap-checkout.checkout #payment div.payment_box:has(:is(input, select, textarea)) { position: relative; z-index: 1; }
.ap-checkout.checkout #payment div.form-row.place-order { margin: 20px 0 0; padding: 0; }

/* Terms tick box + Place order */
.ap-checkout.checkout .woocommerce-terms-and-conditions-wrapper { margin: 0 0 16px; }
.ap-checkout.checkout .woocommerce-terms-and-conditions-wrapper .form-row { margin: 0; padding: 0; }
.ap-checkout.checkout .woocommerce-terms-and-conditions-wrapper label.checkbox {
	display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; margin: 0;
	border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg);
	font-size: 14px; font-weight: 400; line-height: 1.5; color: var(--text); cursor: pointer;
}
.ap-checkout.checkout .woocommerce-terms-and-conditions-wrapper .input-checkbox { flex: none; width: 20px; height: 20px; margin: 1px 2px 0 0; accent-color: var(--brand); }
.ap-checkout.checkout .woocommerce-terms-and-conditions-wrapper a { font-weight: 600; color: var(--ink); }
.ap-checkout.checkout .woocommerce-terms-and-conditions-wrapper label.checkbox > .required { display: none; }
.ap-checkout.checkout .woocommerce-terms-and-conditions-checkbox-text::after { content: " *"; font-weight: 700; color: var(--brand); }
.ap-checkout.checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-invalid label.checkbox { border-color: var(--err); background: #fdecea; }
.ap-checkout.checkout #payment #place_order {
	display: flex; align-items: center; justify-content: center; gap: 10px; float: none; width: 100%; min-height: 56px; margin: 0;
	border-radius: var(--radius-sm); background: var(--brand); color: #fff; font-size: 17px; font-weight: 600;
}
.ap-checkout.checkout #payment #place_order:hover { background: var(--brand-600); }
.ap-checkout.checkout #payment #place_order::before {
	content: ""; flex: none; width: 18px; height: 18px; background: currentColor;
	-webkit-mask: 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' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 018 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: 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' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 018 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ck-safe { display: flex; justify-content: center; align-items: center; gap: 8px; margin: 12px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); text-align: center; }
.ck-safe .icon { flex: none; width: 16px; height: 16px; color: var(--ok); }

/* Order summary */
.ck-sum { position: sticky; top: 96px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.ck-sum-body { padding: 22px; }
.ck-sum-body > h2 { margin: 0 0 16px; font-size: 1.15rem; }
.ck-mobile-bar { display: none; }
.ck-items { display: grid; gap: 16px; margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px solid var(--line); }
.ck-item { display: flex; gap: 14px; align-items: flex-start; }
.ck-thumb { position: relative; flex: none; width: 72px; height: 72px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.ap-checkout .ck-thumb img { display: block; width: 100%; height: 100%; padding: 6px; object-fit: contain; }
.ck-qtyb { position: absolute; top: -8px; left: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; line-height: 22px; text-align: center; }
.ck-item-info { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.ck-item-name { font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.ck-item-info dl.variation { margin: 0; font-size: 12.5px; color: var(--muted); }
.ck-grade { padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 600; line-height: 1.6; color: #fff; }
.ck-grade.is-nh { background: var(--nh); }
.ck-grade.is-hy { background: var(--hy); }
.ck-step { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.ck-step span { min-width: 26px; font-size: 13px; font-weight: 700; color: var(--ink); text-align: center; }
.ck-qty-btn { width: 30px; height: 28px; padding: 0; border: 0; background: none; font: inherit; font-size: 16px; line-height: 1; color: var(--muted); cursor: pointer; }
.ck-qty-btn:hover:not(:disabled) { background: var(--bg); color: var(--ink); }
.ck-qty-btn:disabled { opacity: .4; cursor: default; }
.ck-item-price { font-weight: 700; color: var(--ink); white-space: nowrap; }
.ck-rows { display: grid; gap: 10px; margin: 0; font-size: 14.5px; }
.ck-rows > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ck-rows dt { color: var(--text); }
.ck-rows dd { margin: 0; font-weight: 600; color: var(--ink); text-align: right; }
.ck-rows .woocommerce-remove-coupon { margin-left: 6px; font-size: 12px; font-weight: 400; color: var(--brand); }
.ck-rows .ck-total { margin-top: 6px; padding-top: 14px; border-top: 2px solid var(--ink); }
.ck-total dt { font-size: 16px; font-weight: 700; color: var(--ink); }
.ck-total dd { font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.ck-total dd small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.ck-coupon { display: flex; gap: 8px; margin: 16px 0 0; }
.ap-checkout .ck-coupon input { height: 44px; }
.ck-coupon .btn { flex: none; padding: 0 16px; }
.ck-coupon-msg:not(:empty) { margin-top: 10px; font-size: 13px; }
.ck-coupon-msg .woocommerce-message, .ck-coupon-msg .woocommerce-error, .ck-coupon-msg .woocommerce-info { margin: 0; padding: 10px 12px; }
.ck-coupon-msg .woocommerce-message::before, .ck-coupon-msg .woocommerce-error::before, .ck-coupon-msg .woocommerce-info::before { display: none; }
.ck-trust { display: grid; gap: 10px; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 13px; color: var(--text); }
.ck-trust li { display: flex; gap: 10px; align-items: center; }
.ck-trust .icon { flex: none; width: 18px; height: 18px; color: var(--ok); }
.ck-trust a { font-weight: 600; color: var(--ink); text-decoration: none; }

@media (max-width: 900px) {
	.ck { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.ck-sum { position: static; order: -1; }
	.ck-mobile-bar {
		display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 14px 18px;
		border: 0; background: none; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer;
	}
	.ck-mobile-total { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); }
	.ck-mobile-total::after { content: ""; width: 8px; height: 8px; margin-top: -4px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
	.ck-sum.is-open .ck-mobile-total::after { margin-top: 4px; transform: rotate(-135deg); }
	.ck-sum-body { display: none; padding: 0 18px 18px; }
	.ck-sum.is-open .ck-sum-body { display: block; }
	.ck-sum-body > h2 { display: none; }
	.ck-card { padding: 18px; }
	.ck-fields { grid-template-columns: minmax(0, 1fr); }
}

/* Responsive --------------------------------------------------------------- */

@media (max-width: 1024px) {
	.hero-grid { grid-template-columns: 1fr; text-align: left; }
	.hero-visual { min-height: 380px; }
	.trust-grid { grid-template-columns: 1fr 1fr; }
	.trust-grid li:nth-child(3) { border-left: 0; }
	.trust-grid li:nth-child(n+3) { border-top: 1px solid var(--line); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
	.nav-toggle { display: grid; }
	.main-nav {
		position: absolute; top: 100%; left: 0; right: 0; display: none;
		background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(16, 24, 40, .08);
	}
	.main-nav.is-open { display: block; }
	.main-nav .menu { flex-direction: column; padding: 10px 16px 16px; gap: 2px; }
	.main-nav a { padding: 12px 12px; }
	.hide-sm { display: none !important; }
	.steps, .contact-grid { grid-template-columns: 1fr; }
	.steps li::after { display: none; }
	.faq-layout { grid-template-columns: 1fr; gap: 28px; }
	.faq-intro { position: static; text-align: center; }
	.policy-layout { grid-template-columns: 1fr; gap: 28px; }
	.policy-side { position: static; }
	.policy-nav ul { display: flex; flex-wrap: wrap; gap: 6px; }
	.policy-nav a { border-left: 0; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; }
	.policy-nav a.is-active { border-color: var(--nh-line); }
	.policy-help { display: none; }
	.p-grid--duo { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
	.woocommerce div.product { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 600px) {
	.guide-answers { grid-template-columns: 1fr; gap: 36px; padding-top: 44px; }
	.guide-answers::before { display: none; }
	.guide-answer::before { top: -44px; height: 30px; }
	.guide-answer + .guide-answer::before { display: none; }
	.guide-help { padding: 22px; }
	.guide-tips { grid-template-columns: 1fr; gap: 14px; }
	.guide-ask a { margin: 6px 6px 0; }
	body { font-size: 15.5px; }
	.container { padding-left: 16px; padding-right: 16px; }
	.footer-bar { flex-direction: column-reverse; text-align: center; gap: 14px; }
	.footer-social { flex-direction: column; gap: 10px; }
	.pay-track img.pay-banner { height: 44px; }
	.topbar-inner { justify-content: center; padding-top: 7px; padding-bottom: 7px; }
	.topbar-note { font-size: 12px; text-align: center; }
	.topbar-note .icon { display: none; }
	.topbar-contact { display: none; }
	.header-inner { min-height: 64px; gap: 12px; }
	.brand-logo img { height: 24px; }
	.header-actions { gap: 2px; }
	.hero { padding: 48px 0 100px; }
	.hero-visual { min-height: 320px; }
	.hero-bottle { width: 190px; }
	.hero-bottle--back { width: 168px; }
	.hero-chip { font-size: 12px; padding: 8px 10px; }
	.hero-chip .icon { width: 28px; height: 28px; padding: 6px; }
	.hero-ctas .btn { flex: 1 1 100%; }
	.trust-grid { grid-template-columns: 1fr; }
	.trust-grid li + li { border-left: 0; border-top: 1px solid var(--line); }
	.section { padding: 64px 0; }
	.footer-grid { grid-template-columns: 1fr; gap: 28px; }
	.form-row--2 { grid-template-columns: 1fr; }
	.contact-form-wrap { padding: 22px; }
	.woocommerce ul.products li.product .p-title { font-size: 1.12rem; }
	.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { float: none; width: 100%; margin: 0 0 12px; line-height: 1.4; }
	.woocommerce .woocommerce-ordering select { width: 100%; }
	.wc-wrap--listing { padding-top: 28px; }
	.cta-actions .btn { flex: 1 1 100%; }
	.p-grid--duo .p-media { aspect-ratio: 4 / 3; --media-pad: 12px; }
	.p-grid--duo .p-body { padding: 18px 18px 20px; }
	.p-grid--duo .p-title { font-size: 1.12rem; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
