/* ==========================================================================
   Guardian Dental Supply — main stylesheet
   Sections: 1 tokens · 2 base · 3 buttons · 4 header · 5 drawers · 6 home
   7 cards & grids · 8 footer · 9 page shells · 10 shop · 11 product
   12 cart & checkout · 13 WooCommerce generic · 14 account · 15 content pages
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--blue: #0072bc;
	--blue-d: #0066a9;
	--blue-dd: #005491;
	--navy: #0b3a5c;
	--amber: #eba701;
	--amber-d: #d49500;
	--ink: #14212b;
	--ink-2: #42525e;
	--muted: #5a6b78;
	--faint: #8a97a3;
	--line: #dde5ec;
	--bg-1: #f4f7fa;
	--bg-2: #f8fafc;
	--bg-3: #eef2f6;
	--tint: #e8f3fb;
	--ok: #1a7a3c;
	--ok-bg: #e3f3e8;
	--err: #a03030;
	--err-bg: #fde8e8;
	--red: #e03030;
	--r-sm: 4px;
	--r-md: 6px;
	--r-lg: 10px;
	--wrap: 1320px;
	--shadow: 0 6px 18px rgba(20, 33, 43, 0.08);
	--overlay: 0.55;
	--mint: linear-gradient(90deg, #d5f8df, #b9f0d1, #c8f7db);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: #fff;
	color: var(--ink);
	font-family: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
body.drawer-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-d); text-decoration: none; }
a:hover { color: var(--blue); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
::selection { background: #cfe6f5; }
[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--amber); color: var(--ink); padding: 10px 16px; z-index: 1000; font-weight: 700; }
.skip-link:focus { left: 8px; top: 8px; }
.hp { position: absolute !important; left: -9999px; height: 0; width: 0; opacity: 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.empty { padding: 48px 16px; text-align: center; color: var(--muted); background: var(--bg-2); border: 1px dashed var(--line); border-radius: var(--r-md); }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* 3. Buttons --------------------------------------------------------------- */
.btn, .button, button.button, a.button, input.button, .woocommerce-Button, #place_order, .checkout-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	background: var(--blue); color: #fff; border: 1px solid var(--blue);
	border-radius: var(--r-sm); font-size: 14px; font-weight: 700; line-height: 1.2;
	padding: 11px 16px; cursor: pointer; text-align: center; transition: background .15s, border-color .15s, color .15s;
}
.btn:hover, .button:hover, a.button:hover, #place_order:hover, .checkout-button:hover { background: var(--blue-d); border-color: var(--blue-d); color: #fff; }
.btn--primary { background: var(--blue); }
.btn--amber { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn--amber:hover { background: var(--amber-d); border-color: var(--amber-d); color: var(--ink); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.7); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--outline, .cart-actions .btn--outline { background: #fff; color: var(--blue-d); border-color: var(--line); }
.btn--outline:hover { background: var(--tint); border-color: var(--blue); color: var(--blue-d); }
.btn--lg { font-size: 16px; padding: 15px 30px; }
.btn--sm { padding: 8px 12px; font-size: 13px; }
.btn--block { display: flex; width: 100%; }
.btn--disabled, .btn[disabled], .button[disabled], .button.disabled { background: var(--bg-3); color: var(--faint); border-color: var(--line); cursor: not-allowed; pointer-events: none; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; background: none; border: 0; cursor: pointer; color: inherit; border-radius: 50%; }
.link-btn { background: none; border: 0; padding: 0; color: var(--blue-d); font-weight: 700; cursor: pointer; }
.more { font-size: 14px; font-weight: 700; color: var(--blue-d); }
.arrows { display: flex; gap: 8px; }
.arrow { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid var(--line); color: var(--blue); background: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.arrow:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.added_to_cart { display: block; margin-top: 8px; font-size: 13px; font-weight: 700; text-align: center; }

/* 4. Header ---------------------------------------------------------------- */
.topbar { background: var(--blue-d); color: #fff; font-size: 13px; }
.topbar a { color: #fff; }
.topbar__in { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 9px; padding-bottom: 9px; }
.topbar__right { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar__phone { font-weight: 600; }

.site-header { background: var(--blue); color: #fff; position: relative; z-index: 20; }
.site-header__in { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.site-header__burger, .site-header__cart-m { display: none; color: #fff; }
.site-header__logo { flex: none; display: block; }
.site-header__logo img { height: 50px; width: auto; }
.search { position: relative; flex: 1 1 280px; min-width: 0; }
.search__box { display: flex; align-items: center; background: #fff; color: var(--ink); border-radius: var(--r-sm); overflow: hidden; height: 46px; }
.search__scope, .search__input { color: var(--ink); }
.search__input::placeholder { color: var(--faint); }
.search__icon { display: none; padding: 0 4px 0 14px; color: var(--ink); }
.search__scope { order: 0; border: 0; border-right: 1px solid var(--line); background: var(--bg-1); padding: 0 14px; height: 100%; font-size: 14px; cursor: pointer; max-width: 170px; }
.search__input { order: 1; flex: 1; min-width: 0; border: 0; padding: 0 14px; height: 100%; font-size: 15px; background: #fff; outline-offset: -2px; }
.search__btn { order: 2; border: 0; background: var(--amber); color: var(--ink); font-weight: 700; font-size: 14px; padding: 0 24px; height: 100%; cursor: pointer; }
.search__btn:hover { background: var(--amber-d); }
.search__drop { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: 0 14px 34px rgba(20, 33, 43, .18); overflow: hidden; }
.sres { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 14px; color: var(--ink); border-bottom: 1px solid var(--bg-3); }
.sres:hover, .sres.is-active { background: var(--tint); color: var(--ink); }
.sres img { width: 52px; height: 52px; object-fit: contain; background: var(--bg-2); border-radius: var(--r-sm); }
.sres__t { display: flex; flex-direction: column; min-width: 0; }
.sres__t b { font-size: 14px; line-height: 1.3; }
.sres__t small { font-size: 12px; color: var(--muted); }
.sres__p { font-weight: 800; color: var(--blue-d); font-size: 14px; white-space: nowrap; }
.sres__p em { display: block; font-style: normal; font-size: 11px; color: var(--err); font-weight: 600; text-align: right; }
.sres-all, .sres-msg { display: block; padding: 12px 14px; font-size: 14px; font-weight: 700; text-align: center; }
.sres-msg { color: var(--muted); font-weight: 500; }
.sres-all { background: var(--bg-1); color: var(--blue-d); }
.site-header__right { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.greet { display: flex; flex-direction: column; line-height: 1.25; color: #fff; }
.greet:hover { color: #fff; }
.greet__top { font-size: 12px; color: #cfe6f5; }
.greet__bot { font-size: 14px; font-weight: 700; }
.cart-pill { display: flex; align-items: center; gap: 9px; background: var(--blue-d); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); font-size: 14px; font-weight: 700; }
.cart-pill:hover { background: var(--blue-dd); color: #fff; }
.cart-count { background: var(--amber); color: var(--ink); font-size: 13px; border-radius: 20px; padding: 1px 9px; font-variant-numeric: tabular-nums; }
.cart-badge { position: absolute; top: -6px; right: -8px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; border-radius: 20px; padding: 1px 6px; }

.main-nav { border-top: 1px solid rgba(255,255,255,.2); }
.main-nav__in { display: flex; gap: 30px; flex-wrap: wrap; align-items: center; font-size: 14px; font-weight: 600; }
@media (min-width: 900px) { .main-nav__in { gap: 52px; } }
.main-nav a { color: #fff; padding: 13px 0; border-bottom: 3px solid transparent; }
.main-nav a:hover { border-bottom-color: rgba(255,255,255,.5); }
.main-nav a.is-active { border-bottom-color: var(--amber); }
.recent-btn { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.55); border-radius: 20px; padding: 6px 14px; font-size: 13px; font-weight: 600; cursor: pointer; }
.recent-btn:hover { background: rgba(255,255,255,.12); }
.recent-btn__n { background: #fff; color: var(--blue); border-radius: 20px; font-size: 11px; padding: 1px 7px; }

@media (max-width: 899px) {
	.topbar { display: none; }
	.site-header__in { gap: 10px; padding-top: 12px; padding-bottom: 14px; }
	.site-header__burger { display: inline-flex; order: 0; }
	.site-header__logo { order: 1; margin: 0 auto; }
	.site-header__logo img { height: 42px; }
	.site-header__cart-m { display: inline-flex; position: relative; order: 2; width: 38px; height: 38px; align-items: center; justify-content: center; }
	.search { order: 3; flex-basis: 100%; }
	.search__box { border-radius: 0; height: 46px; }
	.search__icon { display: block; }
	.search__input { order: 1; }
	.search__scope { order: 2; border-right: 0; border-left: 1px solid var(--line); background: #fff; font-weight: 600; max-width: 110px; padding: 0 12px; }
	.search__btn { display: none; }
	.site-header__right, .main-nav { display: none; }
}

/* 5. Drawers --------------------------------------------------------------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(11, 58, 92, .5); z-index: 90; }
.drawer { position: fixed; top: 0; bottom: 0; width: min(340px, 88vw); background: #fff; z-index: 100; display: flex; flex-direction: column; box-shadow: 0 0 30px rgba(0,0,0,.2); transition: transform .2s ease; }
.drawer--left { left: 0; transform: translateX(-100%); }
.drawer--right { right: 0; transform: translateX(100%); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.drawer__links { display: flex; flex-direction: column; padding: 8px 0; overflow: auto; flex: 1; }
.drawer__links a, .drawer__links button { text-align: left; background: none; border: 0; padding: 14px 20px; font-size: 16px; font-weight: 600; color: var(--ink); cursor: pointer; border-left: 3px solid transparent; }
.drawer__links a.is-active { border-left-color: var(--blue); color: var(--blue-d); background: var(--tint); }
.drawer__body { flex: 1; overflow: auto; padding: 8px 16px; }
.drawer__foot { padding: 14px 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.recent-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.recent-item__link { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: center; min-width: 0; color: inherit; }
.recent-item__add { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--blue-d); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; transition: background .15s, color .15s, border-color .15s; }
.recent-item__add:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.recent-item__add:disabled { opacity: .6; cursor: default; }
.recent-item__add.is-done { background: var(--ok-bg); border-color: var(--ok); color: var(--ok); }
.drawer__foot-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.recent-msg { margin: 0 0 8px; font-size: 13px; font-weight: 600; }
.recent-msg.is-ok { color: var(--ok); }
.recent-msg.is-err { color: var(--err); }
.recent-msg a { text-decoration: underline; }
.recent-item img { width: 56px; height: 56px; object-fit: contain; background: var(--bg-2); border-radius: var(--r-sm); }
.recent-item strong { display: block; font-size: 14px; line-height: 1.3; color: var(--ink); }
.recent-item span { font-size: 13px; color: var(--blue-d); font-weight: 700; }
.drawer__body .empty-msg { color: var(--muted); padding: 24px 4px; font-size: 14px; }

/* Mobile menu, as in the design */
.drawer--menu { width: min(320px, 84vw); }
.dmenu__head { background: var(--blue); padding: 18px; display: flex; justify-content: space-between; align-items: center; flex: none; }
.dmenu__user { display: flex; align-items: center; gap: 12px; color: #fff; }
.dmenu__user:hover { color: #fff; }
.dmenu__avatar { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; flex: none; }
.dmenu__who { display: flex; flex-direction: column; line-height: 1.25; }
.dmenu__who span { font-size: 12px; color: #cfe6f5; }
.dmenu__who strong { font-size: 16px; }
.dmenu__x { background: none; border: 0; color: #fff; font-size: 28px; line-height: 1; cursor: pointer; padding: 0 6px; }
.dmenu__links { display: flex; flex-direction: column; padding: 8px; overflow-y: auto; }
.dmenu__links a { padding: 15px 14px; font-size: 16px; font-weight: 500; color: var(--ink); border-bottom: 1px solid var(--bg-3); }
.dmenu__links a.is-active { font-weight: 700; }
.dmenu__recent { margin-top: auto; padding: 16px 20px 0; flex: none; }
.dmenu__recent .btn { padding: 14px; font-size: 15px; }
.dmenu__support { padding: 20px; border-top: 1px solid var(--line); margin-top: 16px; flex: none; }
.dmenu__support p { margin: 0 0 4px; font-size: 13px; color: var(--muted); }
.dmenu__support a { font-size: 17px; font-weight: 700; color: var(--blue-d); }
.drawer-backdrop { background: rgba(20, 33, 43, .45); }

/* Mobile bottom navigation */
.bottom-nav { display: none; }
@media (max-width: 759px) {
	.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(20, 33, 43, .08); display: grid; grid-template-columns: repeat(5, 1fr); }
	.bottom-nav a { padding: 10px 4px 12px; display: flex; flex-direction: column; align-items: center; gap: 5px; color: var(--muted); border-top: 3px solid transparent; font-size: 11px; font-weight: 600; }
	.bottom-nav a.is-active { color: var(--blue); border-top-color: var(--blue); }
	.bottom-nav__ic { position: relative; display: flex; }
	.bottom-nav__ic b { position: absolute; top: -7px; right: -11px; background: var(--red); color: #fff; font-size: 10px; border-radius: 20px; padding: 1px 5px; }
	body { padding-bottom: 64px; }
}

/* 6. Home ------------------------------------------------------------------ */
.hero { position: relative; background: var(--blue-d); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero__shade, .page-hero__shade { position: absolute; inset: 0; background: rgba(0, 0, 0, var(--overlay)); }
.hero__in { position: relative; max-width: 860px; margin: 0 auto; padding: clamp(56px, 9vw, 120px) 24px; display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; }
.hero h1 { margin: 0 0 18px; font-size: clamp(36px, 5.4vw, 68px); line-height: 1.02; font-weight: 700; letter-spacing: -0.03em; text-wrap: balance; }
.hero h1 span { color: var(--amber); }
.hero p { margin: 0 0 32px; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.6; color: #e1eef8; max-width: 56ch; text-wrap: pretty; }
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.section { padding-top: 48px; }
.section--tight { padding-top: 32px; }
.section__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.section__head h2 { margin: 0; font-size: 24px; font-weight: 800; }

.cat-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(120px, 150px); gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 4px 8px; }
.cat-track::-webkit-scrollbar { display: none; }
.cat-card { scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; color: var(--ink); }
.cat-card__img { width: 100%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); background: repeating-linear-gradient(45deg, var(--bg-3) 0 7px, var(--bg-2) 7px 14px); overflow: hidden; display: flex; align-items: center; justify-content: center; transition: border-color .15s, box-shadow .15s; }
.cat-card__img img { width: 100%; height: 100%; object-fit: cover; }
.cat-card:hover .cat-card__img { border-color: var(--blue); box-shadow: 0 0 0 3px var(--tint); }
.cat-card__name { font-size: 15px; font-weight: 700; line-height: 1.2; }

.banner { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 260px; background: var(--navy) center/cover no-repeat; display: flex; align-items: center; }
.banner__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,58,92,.95), rgba(11,58,92,.55)); }
.banner__in { position: relative; padding: clamp(28px, 5vw, 64px); max-width: 560px; color: #fff; }
.banner h2 { margin: 0 0 14px; font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
.banner p { margin: 0 0 26px; font-size: 17px; line-height: 1.55; color: #e6f1f9; }

.reviews { position: relative; z-index: 2; margin-top: 64px; padding: 44px 0 0; background: radial-gradient(circle at 15% 50%, rgba(255,255,255,.28), transparent 28%), radial-gradient(circle at 80% 20%, rgba(255,255,255,.25), transparent 25%), var(--mint); }
.reviews__q { position: absolute; top: -26px; left: max(8px, calc((100% - var(--wrap)) / 2 + 8px)); width: 62px; height: 62px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; }
.reviews__in { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px 32px; align-items: center; }
.reviews__quote { display: flex; align-items: center; gap: 14px; min-width: 0; max-width: none; }
.reviews__slides { flex: 1 1 0; width: 0; min-width: 0; } /* width comes from the box, never from the text */
.reviews figure, .testi figure { margin: 0; }
.reviews blockquote { margin: 0 0 12px; font-size: clamp(16px, 1.6vw, 18px); line-height: 1.6; color: var(--ink); }
.reviews figcaption { font-weight: 700; color: #2b2b2b; }
.chev { flex: none; background: none; border: 0; color: var(--blue); cursor: pointer; padding: 6px; display: inline-flex; }
.chev:hover { color: var(--blue-dd); }
.reviews__side { width: 100%; align-self: end; display: flex; flex-direction: column; align-items: center; gap: 16px; } /* always a column; centred on mobile; sits on the band's bottom edge so the card always hangs 35px below it */
.pill { display: inline-flex; background: var(--blue); color: #fff; font-weight: 600; padding: 14px 26px; border-radius: 30px; font-size: 15px; }
.pill:hover { background: var(--blue-d); color: #fff; }
.gcard { background: #fff; border-radius: 12px; padding: 12px; }
.gcard__in { display: flex; align-items: center; gap: 16px; background: #f4ebdf; border-radius: 10px; padding: 14px 26px 14px 20px; }
.gcard__in img { width: 46px; height: 46px; object-fit: contain; }
.gcard__score { font-size: 22px; font-weight: 700; color: #f59a00; line-height: 1.1; }
.gcard__label { font-size: 15px; color: var(--ink-2); }

/* 7. Cards & grids ---------------------------------------------------------- */
.pgrid { display: grid; gap: 18px; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); }
.pgrid--5 { --cols: 5; }
.pgrid--4 { --cols: 4; }
@media (max-width: 1200px) { .pgrid--5 { --cols: 4; } .pgrid--4 { --cols: 3; } }
@media (max-width: 900px) { .pgrid--5, .pgrid--4 { --cols: 3; } }
@media (max-width: 640px) { .pgrid { gap: 12px; } .pgrid--5, .pgrid--4 { --cols: 2; } }

.pcard { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.pcard:hover { border-color: var(--blue); box-shadow: var(--shadow); }
/* Every product card photo sits in the same 1:1 square. The <img> is taken out of the flow (absolute),
   so a tall or wide photo can never stretch the square; --pcard-fit decides crop (cover) or whole product (contain). */
.pcard__img { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--bg-2); padding: 0; }
.pcard__img img { position: absolute; inset: 0; width: 100%; height: 100%; box-sizing: border-box; padding: var(--pcard-pad, 0px); object-fit: var(--pcard-fit, cover); object-position: center; display: block; }
.badge { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--amber); color: var(--ink); font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 20px; }
.heart { position: absolute; top: 8px; right: 8px; z-index: 3; width: 30px; height: 30px; border-radius: 50%; border: 0; background: #fff; color: var(--blue); display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 4px rgba(20,33,43,.12); cursor: pointer; }
.heart:hover { background: var(--tint); }
.heart.is-on { background: var(--blue); color: #fff; }
.heart.is-on svg { fill: currentColor; }
.pcard__body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; border-top: 1px solid var(--line); }
.pcard__name { font-size: 14px; font-weight: 700; line-height: 1.3; color: var(--ink); min-height: 36px; }
.pcard__name:hover { color: var(--blue); }
.pcard__meta { font-size: 12px; color: var(--muted); }
.pcard__price { font-size: 19px; font-weight: 800; color: var(--blue-d); font-variant-numeric: tabular-nums; margin-top: 4px; }
.pcard__price del { font-size: 14px; font-weight: 500; color: var(--faint); }
.pcard__price ins { text-decoration: none; }
.pcard__bulk { font-size: 12px; color: var(--muted); min-height: 18px; margin-bottom: 6px; }
.pcard .btn { margin-top: auto; }

.bgrid { display: grid; gap: 22px; }
.bgrid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bgrid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .bgrid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bgrid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .bgrid--4, .bgrid--3 { grid-template-columns: minmax(0, 1fr); } }
.bcard { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; display: flex; flex-direction: column; }
.bcard:hover { box-shadow: var(--shadow); }
.bcard__img { display: block; aspect-ratio: 16 / 10; background: repeating-linear-gradient(45deg, var(--bg-3) 0 7px, var(--bg-2) 7px 14px); }
.bcard__img img { width: 100%; height: 100%; object-fit: cover; }
.bcard__body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.bcard__meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.tag { background: var(--tint); color: var(--blue-d); font-weight: 700; padding: 2px 9px; border-radius: 20px; }
.bcard h2, .bcard h3 { margin: 0; font-size: 17px; line-height: 1.3; }
.bcard h2 a, .bcard h3 a { color: var(--ink); }
.bcard h2 a:hover, .bcard h3 a:hover { color: var(--blue); }
.bcard p { margin: 0; font-size: 14px; color: var(--ink-2); }
.bcard .more { margin-top: auto; }

/* 8. Footer ---------------------------------------------------------------- */
.site-footer { margin-top: 56px; }
.newsletter { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; min-height: 240px; background: radial-gradient(ellipse at 20% 100%, rgba(255,255,255,.22), transparent 45%), radial-gradient(ellipse at 75% 0%, rgba(255,255,255,.2), transparent 40%), linear-gradient(135deg, #c9edff, #b9e8fa 45%, #c7effb); }
.newsletter__in { position: relative; width: 100%; max-width: 900px; padding: 40px 24px; text-align: center; }
.newsletter h2 { margin: 0 0 8px; color: #111; font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: -1px; }
.newsletter p { margin: 0 auto 26px; color: #414141; max-width: 650px; }
.newsletter__form { width: 590px; max-width: 100%; height: 56px; margin: 0 auto; display: flex; background: #fff; border-radius: 32px; overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,.04); }
.newsletter__form input[type="email"] { flex: 1; min-width: 0; border: 0; padding: 0 22px; background: transparent; }
.newsletter__form button { flex: none; width: 130px; border: 0; background: var(--blue); color: #fff; font-weight: 700; cursor: pointer; }
.newsletter__form button:hover { background: var(--blue-d); }
.newsletter__msg { font-weight: 700; color: var(--ok); }
.newsletter__msg--err { color: var(--err); }

.footer-main { background: #fff; border-top: 1px solid var(--line); padding-top: 100px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr .8fr .9fr; gap: 32px; }
.footer-col h3 { font-size: 16px; color: var(--blue); margin-bottom: 14px; }
.footer-col p { margin: 0 0 10px; font-size: 14px; color: var(--ink-2); }
.footer-col li { margin-bottom: 8px; font-size: 14px; }
.footer-col a { color: var(--ink-2); }
.footer-col a:hover { color: var(--blue); }
.footer-col a.footer-phone { color: var(--blue-d); }
.footer-brand img { height: 52px; width: auto; margin-bottom: 14px; }
.footer-brand address { font-style: normal; font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.footer-link-icon { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.footer-phone { font-size: 18px; font-weight: 800; }
.footer-hours { line-height: 1.7; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-top: 32px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer-bottom__copy { margin: 0; }
.footer-bottom__by { white-space: nowrap; }
.footer-bottom a { color: var(--ink-2); font-weight: 600; }
.footer-bottom a:hover { color: var(--blue); }
.footer-pay { width: 226px; max-width: 100%; height: auto; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 899px) {
	.footer-main { padding-top: 50px; }
	.footer-col--desk { display: none; }
	.footer-grid { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; gap: 28px; }
	.footer-brand { display: flex; flex-direction: column; align-items: center; }
	.footer-bottom { flex-direction: column; justify-content: center; text-align: center; }
}
@media (max-width: 560px) { .newsletter__form { height: 50px; } .newsletter__form button { width: 100px; } }

/* Page banner (Shop, About Us, Blog) */
.page-hero { position: relative; min-height: clamp(210px, 26vw, 320px); display: flex; align-items: center; overflow: hidden; background: #000; color: #fff; }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-hero__in { position: relative; width: 100%; max-width: 1160px; padding-top: 40px; padding-bottom: 40px; }
.page-hero h1 { margin: 6px 0 0; max-width: 650px; color: #fff; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; font-weight: 700; letter-spacing: -0.025em; }
.page-hero__lede { margin: 12px 0 0; max-width: 60ch; color: #e6eef5; font-size: 17px; line-height: 1.6; }
.page-hero .crumbs, .page-hero .crumbs a { color: #dbe7f1; }
.page-hero .crumbs a:hover { color: #fff; }
.page-hero .crumbs .sep { color: #9fb3c4; }

/* 9. Page shells ------------------------------------------------------------ */
.page-shell { padding-top: 24px; padding-bottom: 8px; }
.page-title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; margin: 6px 0 20px; }
.page-head { background: var(--bg-1); border-bottom: 1px solid var(--line); padding: 28px 0 24px; }
.page-head h1 { font-size: clamp(30px, 4vw, 44px); margin: 4px 0 8px; }
.lede { color: var(--ink-2); max-width: 60ch; margin: 0; }
.crumbs { font-size: 13px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue); }
.crumbs .sep { margin: 0 4px; color: var(--faint); }
.prose { line-height: 1.7; color: var(--ink-2); max-width: 75ch; }
.prose h2, .prose h3 { color: var(--ink); margin-top: 1.4em; }
.prose img { border-radius: var(--r-md); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.pagination, .woocommerce-pagination { margin: 32px 0 8px; }
.nav-links, .page-numbers { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.page-numbers { list-style: none; padding: 0; margin: 0; }
.nav-links .page-numbers, ul.page-numbers li .page-numbers { display: inline-flex; min-width: 38px; height: 38px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink-2); font-weight: 600; padding: 0 10px; }
.page-numbers.current { background: var(--blue); border-color: var(--blue); color: #fff; }
a.page-numbers:hover { border-color: var(--blue); color: var(--blue); }
.notfound { text-align: center; padding: 80px 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip-link { padding: 7px 16px; border-radius: 20px; border: 1px solid var(--line); color: var(--ink-2); font-size: 14px; font-weight: 600; background: #fff; }
.chip-link.is-on, .chip-link:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.post { padding-top: 24px; max-width: 860px; }
.post__head h1 { font-size: clamp(28px, 3.6vw, 42px); margin: 10px 0; }
.post__by { color: var(--muted); }
.post__img { margin: 20px 0; border-radius: var(--r-lg); overflow: hidden; }
.post__nav { display: flex; justify-content: space-between; gap: 16px; margin: 40px 0 8px; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 700; }

/* 10. Shop ------------------------------------------------------------------ */
.shop__layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 32px; align-items: start; }
.filters { position: sticky; top: 16px; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; background: #fff; }
.filters__head { display: none; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.fgroup { padding: 14px 0; border-top: 1px solid var(--line); }
.fgroup:first-of-type { border-top: 0; padding-top: 0; }
.fgroup__title { display: block; font-size: 13px; font-weight: 800; margin-bottom: 8px; text-transform: none; }
.fgroup__row { display: flex; justify-content: space-between; align-items: baseline; }
.fgroup__clear { font-size: 12px; font-weight: 700; }
.fgroup select, .fsearch input, .frange input { width: 100%; height: 40px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 10px; background: #fff; }
.fsearch { position: relative; display: flex; align-items: center; margin-bottom: 8px; color: var(--faint); }
.fsearch svg { position: absolute; left: 10px; }
.fsearch input { padding-left: 32px; }
.fchecks { max-height: 260px; overflow: auto; padding-right: 4px; }
.fcheck { display: flex; align-items: center; gap: 9px; padding: 6px 0; font-size: 14px; cursor: pointer; }
.fcheck input { width: 16px; height: 16px; accent-color: var(--blue); }
.fcheck__name { flex: 1; }
.fcheck__n { font-size: 12px; color: var(--faint); font-variant-numeric: tabular-nums; }
.fchecks__none { font-size: 13px; color: var(--muted); }
.frange { display: flex; align-items: center; gap: 8px; }
.filters__apply { display: none; margin-top: 8px; }
.filters-backdrop { display: none; }
.shop__bar { display: none; }
.js-open-filters { display: none; }
.results { transition: opacity .15s; }
.results.is-loading { opacity: .45; pointer-events: none; }
/* Price range slider */
.prange { position: relative; height: 26px; margin: 4px 8px 0; }
.prange__track { position: absolute; left: 0; right: 0; top: 11px; height: 4px; background: var(--line); border-radius: 4px; }
.prange__fill { position: absolute; top: 0; bottom: 0; background: var(--blue); border-radius: 4px; }
.prange__in { position: absolute; left: -8px; width: calc(100% + 16px); top: 0; height: 26px; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; }
.prange__in::-webkit-slider-runnable-track { background: transparent; height: 26px; }
.prange__in::-moz-range-track { background: transparent; height: 26px; }
.prange__in::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); box-shadow: 0 1px 4px rgba(20,33,43,.25); cursor: grab; }
.prange__in::-moz-range-thumb { pointer-events: auto; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); box-shadow: 0 1px 4px rgba(20,33,43,.25); cursor: grab; }
.prange__in:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--blue); outline-offset: 2px; }
.prange__vals { display: flex; justify-content: space-between; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 899px) {
	.shop__bar { display: block; margin-bottom: 14px; }
	.shop__layout { grid-template-columns: minmax(0, 1fr); }
	.js-open-filters { display: inline-flex; }
	.filters { position: fixed; top: 0; bottom: 0; left: 0; width: min(340px, 90vw); z-index: 100; overflow: auto; border-radius: 0; transform: translateX(-100%); transition: transform .2s; visibility: hidden; }
	.filters.is-open { transform: none; visibility: visible; }
	.filters__head { display: flex; }
	.filters__apply { display: flex; }
	.filters-backdrop { position: fixed; inset: 0; z-index: 90; background: rgba(11,58,92,.5); }
	.filters-backdrop:not([hidden]) { display: block; }
}

/* 11. Product --------------------------------------------------------------- */
.product__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; margin-top: 12px; }
.gallery__main { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-2); aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 24px; }
.gallery__main img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery__thumb { width: 72px; height: 72px; padding: 6px; background: var(--bg-2); border: 2px solid var(--line); border-radius: var(--r-sm); cursor: pointer; }
.gallery__thumb.is-on, .gallery__thumb:hover { border-color: var(--blue); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.summary__cat { color: var(--muted); font-size: 14px; margin-bottom: 4px; }
.summary__title { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin-bottom: 10px; }
.summary__rating { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.stars { position: relative; display: inline-block; letter-spacing: 2px; color: var(--line); line-height: 1; }
.stars::before { content: "★★★★★"; position: absolute; left: 0; top: 0; width: var(--r, 0%); overflow: hidden; color: var(--amber); }
.summary__short { color: var(--ink-2); margin-bottom: 16px; }
.summary__price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.price-now { font-size: 32px; font-weight: 800; color: var(--blue-d); font-variant-numeric: tabular-nums; }
.price-now del { font-size: 18px; color: var(--faint); font-weight: 500; }
.price-now ins { text-decoration: none; }
.price-unit { color: var(--muted); font-size: 14px; }
.tiers { border-collapse: collapse; margin-bottom: 14px; font-size: 14px; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; min-width: 240px; }
.tiers caption { text-align: left; font-size: 13px; font-weight: 800; padding-bottom: 6px; }
.tiers th, .tiers td { padding: 8px 14px; text-align: left; border-top: 1px solid var(--line); background: var(--bg-2); }
.tiers th { font-weight: 700; width: 90px; }
.stock { font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.stock--in { color: var(--ok); }
.stock--out { color: var(--err); }
.buy { display: flex; gap: 12px; flex-wrap: wrap; align-items: flex-start; margin-bottom: 18px; }
.buy form.cart { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; margin: 0; }
.buy form.variations_form { display: block; width: 100%; }
.buy .single_add_to_cart_button { padding: 13px 28px; font-size: 15px; }
.buy .btn--outline { padding: 13px 20px; font-size: 15px; }
.buy table.variations { border-collapse: collapse; margin-bottom: 14px; width: 100%; }
.buy table.variations th, .buy table.variations td { text-align: left; padding: 6px 0; vertical-align: middle; }
.buy table.variations th { font-weight: 700; font-size: 14px; padding-right: 14px; width: 1%; white-space: nowrap; }
.buy table.variations select { height: 42px; min-width: 200px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 10px; background: #fff; }
.buy .reset_variations { display: inline-block; margin-left: 12px; font-size: 13px; }
.buy .woocommerce-variation-add-to-cart { display: flex; gap: 12px; flex-wrap: wrap; }
.buy .woocommerce-variation-price { font-size: 20px; font-weight: 800; color: var(--blue-d); margin-bottom: 10px; }
/* The add to cart area must always be visible (greyed while waiting for a choice, never hidden). */
.buy .single_variation_wrap, .buy .woocommerce-variation-add-to-cart { display: flex !important; flex-wrap: wrap; gap: 12px; visibility: visible !important; opacity: 1 !important; height: auto !important; }
.buy .single_variation_wrap { flex-direction: column; align-items: flex-start; }
.buy .single_add_to_cart_button { display: inline-flex !important; visibility: visible !important; opacity: 1 !important; }
.buy .single_add_to_cart_button.disabled, .buy .single_add_to_cart_button:disabled, .buy .single_add_to_cart_button.wc-variation-selection-needed, .buy .single_add_to_cart_button.wc-variation-is-unavailable { background: #dbe9f5; border-color: #b9d4ea; color: var(--blue-d); cursor: not-allowed; pointer-events: none; }
/* variable products: pill selectors */
.buy .vopts { display: grid; gap: 16px; margin-bottom: 16px; width: 100%; }
.vopt__head { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; flex-wrap: wrap; }
.vopt__label { font-weight: 700; font-size: 14px; color: var(--ink); }
.vopt__chosen { font-size: 14px; color: var(--muted); }
.vopt .reset_variations { margin-left: auto; font-size: 13px; }
.vpills { display: flex; flex-wrap: wrap; gap: 8px; }
.vpill { min-width: 46px; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; cursor: pointer; transition: border-color .15s, background .15s, color .15s, box-shadow .15s; }
.vpill:hover { border-color: var(--blue); color: var(--blue-d); }
.vpill:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.vpill.is-on { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.vpill:disabled, .vpill[disabled], .vpill.is-na, .vpill.is-na:hover { opacity: .38; border-style: dashed; background: var(--bg-1); color: var(--muted); border-color: var(--line); cursor: not-allowed; text-decoration: line-through; }
.vopt__select { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.quantity { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.quantity .qty { width: 56px; border: 0; text-align: center; font-size: 15px; font-weight: 700; padding: 0; -moz-appearance: textfield; background: transparent; }
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 40px; border: 0; background: var(--bg-1); font-size: 18px; font-weight: 700; cursor: pointer; color: var(--ink-2); }
.qty-btn:hover { background: var(--tint); color: var(--blue); }
.assure { display: grid; gap: 8px; font-size: 14px; color: var(--ink-2); }
.assure li { display: flex; align-items: center; gap: 8px; }
.assure svg { color: var(--blue); }

.ptabs { margin-top: 48px; border: 1px solid #dde5ec; border-radius: 8px; overflow: hidden; background: #fff; }
.ptabs__nav { display: flex; gap: 0; border-bottom: 1px solid #dde5ec; background: #f4f7fa; overflow-x: auto; }
.ptab { background: transparent; border: 0; padding: 16px 24px; font: inherit; font-size: 15px; font-weight: 700; color: #5a6b78; cursor: pointer; white-space: nowrap; border-bottom: 3px solid transparent; margin: 0; }
.ptab.is-on { color: #0066a9; background: #fff; border-bottom-color: #0072bc; }
.ptabs__panel { padding: clamp(20px, 3vw, 32px); }
.ptabs__cols { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; }
.ptabs h2, .ptabs h3 { font-size: 18px; margin-bottom: 12px; }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; text-align: right; }
@media (max-width: 900px) { .product__top { grid-template-columns: minmax(0, 1fr); gap: 24px; } .ptabs__cols { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* 12. Cart & checkout -------------------------------------------------------- */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.cline { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto 100px 32px; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cline__img img { width: 84px; height: 84px; object-fit: contain; background: var(--bg-2); border-radius: var(--r-sm); }
.cline__name, .cline__name a { font-weight: 700; color: var(--ink); }
.cline__price { font-size: 14px; color: var(--blue-d); font-weight: 700; margin-top: 4px; }
.cline__total { font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.cline__remove .remove { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; color: var(--muted); font-size: 20px; }
.cline__remove .remove:hover { background: var(--err-bg); color: var(--err); }
.cart-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: space-between; align-items: center; padding: 18px 0; }
.coupon { display: flex; gap: 8px; flex-wrap: wrap; }
.coupon input, .input-text, input.input-text, select, textarea.input-text { height: 42px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 12px; background: #fff; }
textarea.input-text, textarea { height: auto; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); width: 100%; }
.cart_totals { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; background: var(--bg-2); position: sticky; top: 16px; }
.cart_totals h2 { font-size: 20px; }
.shop_table { width: 100%; border-collapse: collapse; font-size: 14px; }
.shop_table th, .shop_table td { padding: 10px 0; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.shop_table td { text-align: right; }
.shop_table .order-total th, .shop_table .order-total td { font-size: 18px; font-weight: 800; border-bottom: 0; }
.shop_table ul#shipping_method { text-align: right; }
.shop_table ul#shipping_method li { margin-bottom: 4px; }
.wc-proceed-to-checkout { margin-top: 16px; }
.wc-proceed-to-checkout .checkout-button { display: flex; width: 100%; background: var(--amber); border-color: var(--amber); color: var(--ink); font-size: 16px; padding: 15px; }
.wc-proceed-to-checkout .checkout-button:hover { background: var(--amber-d); border-color: var(--amber-d); color: var(--ink); }
.cart-empty-panel { text-align: center; padding: 64px 16px; border: 1px dashed var(--line); border-radius: var(--r-lg); background: var(--bg-2); }
.cart-empty-panel__ic { color: var(--blue); }
.cart-empty-panel .btn { margin: 4px; }

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 32px; align-items: start; }
.step__title { display: flex; align-items: center; gap: 10px; font-size: 20px; margin-bottom: 18px; }
.step__n { width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.step--summary { position: sticky; top: 16px; background: var(--bg-2); }
.woocommerce-checkout-review-order-table .product-name { display: flex; gap: 10px; align-items: center; text-align: left; }
.ro-thumb img { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: var(--r-sm); border: 1px solid var(--line); }
.ro-name { font-weight: 600; }
.woocommerce-checkout-payment { margin-top: 18px; }
.wc_payment_methods { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.wc_payment_method { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.wc_payment_method:last-child { border-bottom: 0; }
.wc_payment_method > label { font-weight: 700; cursor: pointer; }
.wc_payment_method input[type="radio"] { accent-color: var(--blue); margin-right: 8px; }
.payment_box { margin-top: 12px; padding: 12px; background: var(--bg-1); border-radius: var(--r-sm); font-size: 14px; }
.payment_box fieldset { border: 0; margin: 0; padding: 0; }
.form-row-place-order { margin-top: 16px; }
#place_order { display: flex; width: 100%; background: var(--amber); border-color: var(--amber); color: var(--ink); font-size: 16px; padding: 15px; }
#place_order:hover { background: var(--amber-d); border-color: var(--amber-d); color: var(--ink); }
.woocommerce-terms-and-conditions-wrapper { font-size: 13px; color: var(--muted); margin-top: 12px; }
@media (max-width: 1000px) {
	.cart-layout, .checkout-layout { grid-template-columns: minmax(0, 1fr); }
	.cart_totals, .step--summary { position: static; }
}
@media (max-width: 640px) {
	.cline { grid-template-columns: 64px minmax(0, 1fr) 28px; grid-template-areas: "img info rm" "img qty total"; row-gap: 10px; }
	.cline__img { grid-area: img; } .cline__img img { width: 64px; height: 64px; }
	.cline__info { grid-area: info; } .cline__remove { grid-area: rm; } .cline__qty { grid-area: qty; } .cline__total { grid-area: total; }
}

/* 13. WooCommerce generic ---------------------------------------------------- */
.woocommerce-notices-wrapper { margin-bottom: 16px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .notice { list-style: none; margin: 0 0 16px; padding: 14px 18px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--tint); color: var(--ink); font-size: 14px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.woocommerce-message { background: var(--ok-bg); border-color: #bfe3c9; }
.woocommerce-error, .notice--err { background: var(--err-bg); border-color: #f2c4c4; color: var(--err); display: block; }
.woocommerce-error li { margin-bottom: 4px; }
.notice--ok { display: block; background: var(--ok-bg); border-color: #bfe3c9; }
.notice h2 { margin-bottom: 4px; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; }
.form-row { margin-bottom: 14px; }
.form-row label, label { font-size: 14px; font-weight: 600; }
.form-row label { display: block; margin-bottom: 5px; }
.form-row .input-text, .form-row select, .form-row textarea { width: 100%; }
.form-row-first, .form-row-last { width: calc(50% - 8px); float: left; }
.form-row-last { margin-left: 16px; }
.form-row-wide, .form-row-first + .form-row-last + .form-row { clear: both; }
#customer_details::after, .woocommerce-billing-fields__field-wrapper::after, .woocommerce-shipping-fields__field-wrapper::after { content: ""; display: table; clear: both; }
.required { color: var(--err); text-decoration: none; }
.woocommerce-invalid .input-text, .woocommerce-invalid select { border-color: var(--err); }
.woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, .woocommerce-additional-fields h3 { font-size: 17px; margin: 18px 0 12px; }
.select2-container .select2-selection--single { height: 42px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 40px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 40px; }
.woocommerce-form-coupon, .woocommerce-form-login { border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; margin-bottom: 18px; background: var(--bg-2); }
.star-rating { position: relative; overflow: hidden; height: 1em; width: 5.4em; line-height: 1; letter-spacing: 2px; font-size: 16px; }
.star-rating::before { content: "★★★★★"; position: absolute; left: 0; top: 0; color: var(--line); }
.star-rating span { position: absolute; left: 0; top: 0; overflow: hidden; padding-top: 2em; height: 1em; }
.star-rating span::before { content: "★★★★★"; position: absolute; left: 0; top: 0; color: var(--amber); }
p.stars a { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; margin-right: 4px; border: 1px solid var(--line); border-radius: var(--r-sm); color: var(--ink-2); font-weight: 700; }
p.stars a.active, p.stars a:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
#reviews ol.commentlist { list-style: none; padding: 0; }
#reviews .comment_container { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
#reviews img.avatar { border-radius: 50%; width: 48px; height: 48px; }
#reviews .meta { color: var(--muted); font-size: 13px; }
#reviews .comment-reply-title { font-size: 18px; font-weight: 800; display: block; margin-bottom: 12px; }
#review_form input[type="text"], #review_form input[type="email"], #review_form textarea { width: 100%; }
#review_form .form-submit input { background: var(--blue); color: #fff; border: 0; border-radius: var(--r-sm); font-weight: 700; padding: 12px 22px; cursor: pointer; }

/* 14. Account ---------------------------------------------------------------- */
.acct-side { grid-column: 1; min-width: 0; align-self: start; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; background: #fff; }
.acct-side .acct-card { width: 100%; }
.woocommerce-MyAccount-navigation { background: #fff; min-width: 0; }
.woocommerce-MyAccount-navigation ul { display: flex; flex-direction: column; padding: 8px; margin: 0; }
.woocommerce-MyAccount-navigation li { list-style: none; }
.woocommerce-MyAccount-navigation li a { display: block; padding: 12px 14px; border-radius: var(--r-sm); font-size: 14px; font-weight: 400; color: var(--ink-2); }
.woocommerce-MyAccount-navigation li a:hover { background: var(--bg-1); color: var(--ink); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--tint); color: var(--blue-d); font-weight: 700; }
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--err); }
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:hover { background: var(--err-bg); }
.account-shell { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
.account-shell > .woocommerce { display: contents; } /* dissolve WC's wrapper div so nav + content become direct grid items */
.woocommerce-MyAccount-content { grid-column: 2; min-width: 0; }
.woocommerce-orders-table, .woocommerce-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.woocommerce-orders-table th, .woocommerce-orders-table td, .woocommerce-table th, .woocommerce-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.woocommerce-orders-table thead th { background: var(--bg-1); font-size: 13px; }
.u-columns.col2-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.u-columns .col-1, .u-columns .col-2, .woocommerce-form-login, .woocommerce-form-register { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; background: #fff; }
.woocommerce-form-login, .woocommerce-form-register { margin: 0; }
.woocommerce-form-login__rememberme { display: inline-flex; gap: 8px; align-items: center; font-weight: 500; }
.lost_password { margin-top: 12px; }
.woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 16px 36px; margin: 16px 0 24px; padding: 18px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); }
.woocommerce-order-overview li { font-size: 13px; color: var(--muted); }
.woocommerce-order-overview li strong { display: block; color: var(--ink); font-size: 15px; }
.woocommerce-thankyou-order-received { font-size: 20px; font-weight: 800; color: var(--ok); }
@media (max-width: 899px) {
	.account-shell { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	.acct-side, .woocommerce-MyAccount-content { grid-column: 1; width: 100%; }
	.acct-side .acct-card { width: 100%; }
	.u-columns.col2-set { grid-template-columns: minmax(0, 1fr); }
	.woocommerce-MyAccount-navigation ul { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; gap: 4px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; }
	.woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
	.woocommerce-MyAccount-navigation li { flex: 0 0 auto; scroll-snap-align: start; }
	.woocommerce-MyAccount-navigation li a { white-space: nowrap; border-left: 0; border-bottom: 3px solid transparent; }
	.woocommerce-MyAccount-navigation li.is-active a { border-bottom-color: var(--blue); }
}

/* 15. Content pages ----------------------------------------------------------- */
.duo { color: var(--amber); font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.duo span { color: var(--blue); }
.about-intro { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 68px 24px; color: #424242; }
.about-intro h2 { margin: 0 0 20px; }
.about-intro p { max-width: 500px; margin: 0 0 18px; font-size: 15px; line-height: 1.65; }
.about-intro__img { width: 100%; max-width: 540px; aspect-ratio: 4 / 3; justify-self: center; display: flex; align-items: center; justify-content: center; }
.about-intro__img img { width: 100%; height: 100%; object-fit: contain; }
.about-intro__img .about-intro__logo { width: 60%; }
.stats { position: relative; overflow: hidden; padding: 60px 0; background: radial-gradient(circle at 15% 50%, rgba(255,255,255,.28), transparent 28%), radial-gradient(circle at 80% 20%, rgba(255,255,255,.25), transparent 25%), var(--mint); }
.stats::before { content: ""; position: absolute; inset: 0; opacity: .35; background: repeating-linear-gradient(110deg, transparent 0 42px, rgba(255,255,255,.35) 42px 45px, transparent 45px 90px); }
.stats__in { position: relative; max-width: 1160px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; text-align: center; }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat__n { color: var(--blue); font-size: clamp(34px, 3.6vw, 44px); line-height: 1; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat__l { margin-top: 8px; color: #4e6258; font-size: 15px; }
.about-benefits { max-width: 1160px; margin: 0 auto; padding: 68px 24px 90px; color: #424242; }
.about-benefits-head { max-width: 800px; margin: 0 auto 48px; text-align: center; }
.about-benefits-head h2 { margin: 0 0 12px; }
.about-benefits-head p { max-width: 760px; margin: 0 auto; font-size: 15px; line-height: 1.65; }
.benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; }
.benefit { min-height: 282px; padding: 38px 28px 30px; background: #fff; text-align: center; display: flex; flex-direction: column; align-items: center; transition: box-shadow .3s ease; }
.benefit:hover { box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.benefit--mid { padding: 30px 20px 22px; border: 2px solid #e5e5e5; outline: 2px solid #e5e5e5; outline-offset: 5px; box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.benefit__ic svg { width: 44px; height: 44px; }
.benefit__ic { height: 70px; display: flex; align-items: center; justify-content: center; color: var(--blue); }
.benefit h3 { margin: 13px 0 12px; color: #151515; font-size: 17px; font-weight: 700; }
.benefit p { margin: 0; max-width: 265px; font-size: 14px; line-height: 1.65; color: #424242; }
.testimonials { max-width: 1160px; margin: 0 auto; padding: 0 24px 100px; }
.testimonials h2 { margin: 0 0 50px; text-align: center; }
.testi { position: relative; max-width: 1000px; margin: 0 auto; padding: 0 65px; display: block; }
.testi blockquote { margin: 0 0 36px; color: #292929; font-size: 17px; line-height: 1.65; }
.testi figcaption { display: flex; align-items: center; gap: 13px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--tint); color: var(--blue); font-size: 14px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.testi figcaption strong { display: block; color: #202020; font-size: 14px; }
.testi figcaption small { display: block; color: #777; font-size: 12px; }
.counter { margin-left: auto; color: #333; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.arrow--grey { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; background: #eee; border-color: #eee; color: #888; z-index: 2; }
.arrow--grey:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.testi .arrow--grey:first-child { left: 0; }
.testi .arrow--grey:last-child { right: 0; }
@media (max-width: 900px) {
	.about-intro { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 44px 24px; text-align: center; }
	.about-intro p { margin-left: auto; margin-right: auto; }
	.stats__in { grid-template-columns: minmax(0, 1fr); }
	.benefits { grid-template-columns: minmax(0, 1fr); gap: 24px; max-width: 460px; margin: 0 auto; }
	.testi { padding: 0 36px; }
	.arrow--grey:first-child { left: -6px; } .testi .arrow--grey:last-child { right: -6px; }
}

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form select, .form textarea { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 12px; background: #fff; font-weight: 400; }
.form textarea { height: auto; padding: 10px 12px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form .btn { justify-self: start; }
.contact-info h2 { font-size: 20px; }
.contact-info li { display: flex; gap: 14px; margin-bottom: 18px; color: var(--ink-2); font-size: 15px; }
.contact-info svg { color: var(--blue); flex: none; margin-top: 3px; }
.contact-info .contact-info__map { display: block; margin: 4px 0 0; }
.contact-info__map iframe { display: block; width: 100%; height: 280px; border: 0; border-radius: var(--r-md); background: var(--bg-1); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } .form__row { grid-template-columns: minmax(0, 1fr); } }

.legal { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; margin-top: 16px; }
.legal__toc { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 2px; }
.legal__toc a { padding: 8px 12px; border-left: 3px solid var(--line); color: var(--ink-2); font-size: 14px; font-weight: 600; }
.legal__toc a:hover { border-left-color: var(--blue); color: var(--blue); background: var(--tint); }
.legal__body section { margin-bottom: 26px; }
.legal__body h2 { font-size: 20px; }
.legal__body p { color: var(--ink-2); line-height: 1.7; max-width: 75ch; }
.legal__body ul, .legal__body ol { color: var(--ink-2); line-height: 1.7; max-width: 75ch; margin: 0 0 14px; padding-left: 22px; }
.legal__body ul { list-style: disc; }
.legal__body ol { list-style: decimal; }
.legal__body li { margin-bottom: 6px; }
.legal__body li a, .legal__body p a { color: var(--blue); }
@media (max-width: 980px) { .legal { grid-template-columns: minmax(0, 1fr); } .legal__toc { display: none; } }

.map-embed { margin-top: 28px; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--bg-1); }
.map-embed iframe { display: block; width: 100%; height: 420px; border: 0; }
@media (max-width: 640px) { .map-embed iframe { height: 320px; } }


/* 16. Account area ------------------------------------------------------------ */
.acct-card { padding: 20px; background: var(--bg-1); border-bottom: 1px solid var(--line); }
.acct-card__name { margin: 0; font-size: 16px; font-weight: 700; }
.acct-card__meta { margin: 4px 0 0; font-size: 13px; color: var(--muted); }

.dash { display: flex; flex-direction: column; gap: 16px; }
.dash__kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.kpi { border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; background: #fff; }
.kpi__l { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.kpi__v { margin: 0; font-size: 24px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.dash__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.panel { border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; background: #fff; }
.panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.panel__head h3 { margin: 0; font-size: 16px; }
.bars { height: 190px; display: flex; align-items: flex-end; gap: 8px; border-bottom: 1px solid var(--line); }
.bars__col { flex: 1; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.bars__val { font-size: 10px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.bars__col.is-now .bars__val { color: var(--ink); font-weight: 700; }
.bars__bar { width: 100%; max-width: 34px; margin: 0 auto; border-radius: 4px 4px 0 0; background: var(--blue); min-height: 4px; }
.bars__bar.bars__bar--now { background: var(--amber); }
.bars__labels span.is-now { color: var(--ink); font-weight: 700; }
.bars__labels { display: flex; gap: 8px; margin-top: 8px; }
.bars__labels span { flex: 1; min-width: 0; text-align: center; font-size: 12px; color: var(--muted); }
.deptbars { display: flex; flex-direction: column; gap: 14px; }
.deptbar__row { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; margin-bottom: 6px; }
.deptbar__row span:first-child { font-weight: 600; }
.deptbar__row span:last-child { color: var(--muted); font-variant-numeric: tabular-nums; }
.deptbar__track { height: 8px; border-radius: 4px; background: var(--bg-3); overflow: hidden; }
.deptbar__fill { height: 100%; border-radius: 4px; background: var(--blue); }
.topline { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--bg-3); }
.topline:first-of-type { border-top: 0; }
.topline--order { grid-template-columns: 1fr 0.8fr auto; }
.topline__img { width: 44px; height: 44px; border-radius: 6px; overflow: hidden; background: var(--bg-2); }
.topline__img img { width: 100%; height: 100%; object-fit: contain; }
.topline__name { min-width: 0; font-size: 14px; font-weight: 600; display: flex; flex-direction: column; gap: 2px; }
.topline__name a { color: var(--ink); }
.topline__name small { font-weight: 400; font-size: 12px; color: var(--muted); }
.status-pill { display: inline-block; justify-self: start; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; background: var(--bg-3); color: var(--ink-2); white-space: nowrap; }
.status-pill--completed, .status-pill--delivered { background: var(--ok-bg); color: var(--ok); }
.status-pill--processing { background: var(--tint); color: var(--blue-d); }
.status-pill--on-hold, .status-pill--pending { background: #fdf0d8; color: #8a6400; }
.status-pill--cancelled, .status-pill--failed, .status-pill--refunded { background: var(--err-bg); color: var(--err); }
@media (max-width: 640px) { .dash__kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Orders + reorder */
.orders-list { display: flex; flex-direction: column; gap: 14px; }
.order-row { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.order-row__top { padding: 16px 18px; display: grid; grid-template-columns: 1fr auto auto auto; gap: 14px; align-items: center; }
.order-row__id { margin: 0; font-size: 15px; font-weight: 700; }
.order-row__meta { margin: 3px 0 0; font-size: 13px; color: var(--muted); }
.order-row__total p:first-child { margin: 0; }
.order-row__total p:last-child { margin: 2px 0 0; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.order-row__actions { display: flex; gap: 8px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.order-row__note { font-size: 13px; color: var(--muted); text-align: right; max-width: 170px; }
.order-row__reorder { border-top: 1px solid var(--line); background: var(--bg-2); padding: 18px; }
.reorder-lines { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.reorder-line { display: flex; justify-content: space-between; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 10px 14px; }
.reorder-line__name { font-size: 14px; font-weight: 600; display: flex; flex-direction: column; gap: 2px; }
.reorder-line__name small { font-weight: 400; color: var(--muted); font-size: 12px; }
.reorder-line .quantity .qty { width: 64px; }
.reorder-msg { margin-left: 10px; font-size: 13px; font-weight: 600; }
.reorder-msg.is-ok { color: var(--ok); }
.reorder-msg.is-err { color: var(--err); }
@media (max-width: 700px) {
	.order-row__top { grid-template-columns: 1fr auto; grid-template-areas: "id status" "total actions"; row-gap: 10px; }
	.order-row__top > div:nth-child(1) { grid-area: id; } .order-row__top > div:nth-child(2) { grid-area: status; justify-self: end; }
	.order-row__total { grid-area: total; } .order-row__actions { grid-area: actions; justify-self: end; }
}

/* Messages */
.msgs__pick { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.msgs__pick select { height: 40px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 10px; font-weight: 400; }
.msgs__layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; align-items: start; }
.thread { border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.thread__head { padding: 16px 20px; border-bottom: 1px solid var(--line); background: var(--bg-1); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 15px; font-weight: 700; }
.thread__body { padding: 20px; display: flex; flex-direction: column; gap: 14px; max-height: 460px; overflow: auto; background: var(--bg-2); }
.bubble { max-width: 78%; border-radius: 8px; border: 1px solid var(--line); background: #fff; padding: 12px 15px; }
.bubble--support { align-self: flex-start; }
.bubble--customer { align-self: flex-end; background: var(--blue); border-color: var(--blue); color: #fff; }
.bubble__who { margin: 0 0 6px; font-size: 11px; font-weight: 700; opacity: .75; }
.bubble__text { margin: 0; font-size: 14px; line-height: 1.5; }
.bubble__file { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12px; font-weight: 700; color: inherit; text-decoration: underline; }
.thread__form { padding: 16px 20px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; border-top: 1px solid var(--line); }
.thread__form input[type="text"] { flex: 1; min-width: 200px; height: 44px; }
.thread__attach { border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 16px; font-size: 14px; font-weight: 700; cursor: pointer; color: var(--blue-d); max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thread__attach:hover { background: var(--bg-1); }
.files-panel { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; overflow: hidden; }
.files-panel__head { padding: 16px; border-bottom: 1px solid var(--line); background: var(--bg-1); }
.files-panel__head p { margin: 0; }
.files-panel__head p:first-child { font-size: 15px; font-weight: 700; }
.files-panel__head p:last-child { margin-top: 3px; }
.files-panel__list { max-height: 400px; overflow: auto; }
.file-row { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--bg-3); font-size: 13px; color: var(--ink); }
.file-row:hover { background: var(--bg-2); }
.file-row__ic { color: var(--blue); flex: none; }
.file-row__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-row__who { color: var(--muted); font-size: 12px; flex: none; }
.files-panel__empty { padding: 16px; margin: 0; }
@media (max-width: 900px) { .msgs__layout { grid-template-columns: minmax(0, 1fr); } }

/* Messages: order tag + shared-files filters */
.bubble__order { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 20px; background: var(--tint); color: var(--blue-d); font-size: 11px; font-weight: 700; }
.files-panel__filters { padding: 12px 16px; display: flex; flex-direction: column; gap: 10px; border-bottom: 1px solid var(--bg-3); }
.files-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 10px; background: var(--bg-2); color: var(--faint); }
.files-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 13px; padding: 9px 0; color: var(--ink); height: auto; box-shadow: none; }
.files-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.files-chip { padding: 5px 11px; border-radius: 20px; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; border: 1px solid var(--line); background: #fff; color: var(--ink-2); }
.files-chip.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.file-item { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--bg-3); color: var(--ink); }
.file-item:hover { background: var(--bg-2); }
.file-item[hidden] { display: none; }
.file-item__badge { width: 38px; height: 38px; border-radius: var(--r-md); font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; background: var(--ok-bg); color: var(--ok); }
.file-item__badge--image { background: var(--tint); color: var(--blue-d); }
.file-item__badge--pdf { background: var(--err-bg); color: var(--err); }
.file-item__main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.file-item__name { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item__meta { font-size: 11px; color: var(--muted); }
.file-item__dl { color: var(--blue-d); display: flex; }

/* Orders: filter bar */
.orders-lead { margin: 0 0 12px; font-size: 15px; color: var(--ink-2); }
.orders-filter { display: flex; flex-wrap: wrap; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-2); margin-bottom: 12px; }
.orders-filter__search { flex: 1 1 220px; min-width: 0; display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 12px; color: var(--faint); }
.orders-filter__search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font: inherit; font-size: 14px; padding: 10px 0; color: var(--ink); height: auto; box-shadow: none; }
.orders-filter select { flex: 0 1 auto; font: inherit; font-size: 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; color: var(--ink); cursor: pointer; }
.orders-count { margin: 0 0 12px; }
.order-row[hidden] { display: none; }
.js-oempty .link-btn { margin-left: 6px; }

/* Payment info: saved cards */
.pay-lead { margin: 0 0 16px; font-size: 15px; color: var(--ink-2); }
.pay-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: 20px; }
.pay-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px; display: flex; flex-direction: column; gap: 7px; background: #fff; }
.pay-card__brand { font-size: 12px; font-weight: 700; color: var(--blue-d); }
.pay-card__num { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pay-card__exp { font-size: 13px; color: var(--muted); }
.pay-card__note { font-size: 13px; font-weight: 700; color: var(--ok); margin-top: 6px; }
.pay-card__actions { display: flex; gap: 14px; margin-top: 6px; }
.pay-card__act { font-size: 13px; font-weight: 700; color: var(--blue-d); }
.pay-card__act--delete { color: var(--err); }


/* Sign in / register split screen — one form per view, matching the design */
body.gds-auth { margin: 0; }
.auth { min-height: 100vh; display: grid; grid-template-columns: 0.9fr 1.1fr; background: #fff; }
.auth__side { position: relative; overflow: hidden; background: var(--blue-d); color: #fff; }
.auth__side > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth__side-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,62,104,.9), rgba(0,102,169,.85)); }
.auth__side-in { position: relative; padding: 56px clamp(40px, 5vw, 72px); display: flex; flex-direction: column; height: 100%; box-sizing: border-box; }
.auth__side-in > a { align-self: flex-start; margin-bottom: auto; }
.auth__side-in > a img, .auth__logo-m { display: block; width: auto; height: auto; max-height: 100px; max-width: 100%; }
.auth__side-in h2 { margin: 40px 0 18px; font-size: clamp(28px, 3vw, 38px); max-width: 16ch; font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: #fff; }
.auth__points { display: flex; flex-direction: column; gap: 12px; }
.auth__points li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: #e1eef8; }
.auth__points .tick { width: 20px; height: 20px; border-radius: 50%; background: var(--amber); color: var(--ink); display: flex; align-items: center; justify-content: center; flex: none; margin-top: 1px; }
.auth__main { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 5vw, 64px) max(20px, calc((100% - 460px) / 2)); box-sizing: border-box; }
.auth__main-in { width: 100%; max-width: 460px; }
.auth__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.auth__logo-m { display: none; }
.auth__back { font-size: 14px; font-weight: 700; color: var(--blue-d); }
.auth h1 { margin: 0 0 6px; font-size: 28px; letter-spacing: -0.02em; }
.auth__lede { margin: 0 0 26px; color: var(--muted); font-size: 15px; }
.auth__form { display: flex; flex-direction: column; gap: 16px; }
.auth__form .form-row { margin: 0; }
.auth__form label { display: block; margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.auth__form label .required { display: inline; margin-left: 2px; color: var(--err); font-weight: 700; text-decoration: none; border: 0; }
.auth__form input[type="text"], .auth__form input[type="email"], .auth__form input[type="tel"], .auth__form input[type="password"] { font-size: 15px; font-weight: 400; color: var(--ink); padding: 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; width: 100%; }
.auth__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.auth__note { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--muted); }
.auth__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0; }
.auth__forgot { font-size: 14px; font-weight: 700; color: var(--blue-d); }
.auth__agree { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; color: var(--ink-2); line-height: 1.5; margin: 4px 0 0; }
.auth__agree input { width: 16px; height: 16px; accent-color: var(--blue); margin: 2px 0 0; flex: none; }
.auth__agree label { display: inline; font-size: 14px; font-weight: 400; color: var(--ink-2); }
.auth__switch { margin: 22px 0 0; font-size: 15px; color: var(--muted); text-align: center; }
.auth .woocommerce-form-login, .auth .woocommerce-form-register { border: 0; padding: 0; margin: 0; background: transparent; }
@media (max-width: 900px) {
	.auth { grid-template-columns: minmax(0, 1fr); }
	.auth__side { display: none; }
	.auth__logo-m { display: block; }
	.auth__main { padding: clamp(28px, 5vw, 64px) 20px; }
}

/* Password fields: show / hide icon sits inside the input */
.pw, .password-input { position: relative; display: block; }
.pw input, .password-input input { width: 100%; padding-right: 46px; }
.pw-eye, .show-password-input { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; margin: 0; padding: 0; border: 0; border-radius: var(--r-sm); background: transparent; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.pw .show-password-input, .pw .password-input > .show-password-input { display: none !important; }
.pw-eye:hover, .show-password-input:hover { color: var(--blue-d); background: var(--bg-1); }
.pw-eye svg:last-of-type { display: none; }
.pw-eye.is-on svg:first-of-type { display: none; }
.pw-eye.is-on svg:last-of-type { display: block; }
/* WooCommerce's own toggle (e.g. checkout account password): draw the same icon with a mask */
.show-password-input::before { content: ""; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%223%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12z%22/%3E%3Ccircle cx=%2212%22 cy=%2212%22 r=%223%22/%3E%3C/svg%3E") center / contain no-repeat; }
.show-password-input.display-password::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M9.9 4.2A10 10 0 0 1 12 5c6.5 0 10 7 10 7a17 17 0 0 1-3.2 4.2%22/%3E%3Cpath d=%22M6.6 6.6A17 17 0 0 0 2 12s3.5 7 10 7a10 10 0 0 0 5.4-1.6%22/%3E%3Cpath d=%22M14.1 14.1a3 3 0 1 1-4.2-4.2%22/%3E%3Cpath d=%22m2 2 20 20%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23000%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M9.9 4.2A10 10 0 0 1 12 5c6.5 0 10 7 10 7a17 17 0 0 1-3.2 4.2%22/%3E%3Cpath d=%22M6.6 6.6A17 17 0 0 0 2 12s3.5 7 10 7a10 10 0 0 0 5.4-1.6%22/%3E%3Cpath d=%22M14.1 14.1a3 3 0 1 1-4.2-4.2%22/%3E%3Cpath d=%22m2 2 20 20%22/%3E%3C/svg%3E"); }


/* Account details (design layout). Scoped to .acct-details so plugin / browser input styles cannot override it. */
.acct-details { border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; max-width: 760px; width: 100%; background: #fff; box-sizing: border-box; }
.acct-details *, .acct-details *::before, .acct-details *::after { box-sizing: border-box; }
.acct-details .field, .field { display: flex; flex-direction: column; gap: 6px; margin: 0; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.acct-details .field > span:first-child, .field > span:first-child { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.acct-details .field input, .acct-details .field select, .acct-details .field textarea,
.field input, .field select, .field textarea { display: block; width: 100%; min-height: 46px; margin: 0; padding: 12px; font-family: inherit; font-size: 15px; font-weight: 400; line-height: 1.3; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); box-shadow: none; -webkit-appearance: none; appearance: none; height: auto; }
.acct-details .field input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: var(--blue); }
.field select { padding-right: 34px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6b78' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px; }
.field textarea { min-height: 120px; resize: vertical; }
.acct-details .field input:disabled, .field input.is-locked { color: var(--muted); background: var(--bg-1); cursor: not-allowed; opacity: 1; -webkit-text-fill-color: var(--muted); }
.acct-details .field small, .field small { font-size: 12px; font-weight: 400; color: var(--faint); }
.acct-details .pw input { padding-right: 46px; }
.acct-details__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.acct-details__save { margin-top: 22px; padding: 13px 24px; font-size: 15px; }
.acct-details__pw { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.acct-details__pw-title { margin: 0 0 4px; font-size: 16px; font-weight: 700; }
.acct-details__pw .muted { margin: 0 0 14px; font-size: 14px; }
.acct-details .acct-details__reset { padding: 12px 22px; font-size: 15px; color: var(--blue-d); border-color: var(--blue); background: #fff; }
.acct-details .acct-details__reset:hover { background: var(--tint); }
.acct-details__pw .notice { margin: 12px 0 0; }
.acct-details__change { margin-top: 20px; }
.acct-details__change summary { cursor: pointer; font-size: 14px; font-weight: 700; color: var(--blue-d); }
.acct-details__change form { margin-top: 16px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.acct-details__grid--pw { width: 100%; }

/* Return orders */
.ret-lead { margin: 0 0 18px; font-size: 15px; color: var(--ink-2); max-width: 70ch; }
.ret-h { margin: 22px 0 12px; font-size: 16px; }
.ret-sum { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-1); margin-bottom: 16px; }
.ret-sum p { margin: 0; }
.ret-sum__t { font-size: 16px; font-weight: 700; }
.ret-sum .small { margin-top: 3px; }
.ret-form { display: flex; flex-direction: column; gap: 18px; max-width: 720px; }
.ret-form__items { border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.ret-form__items legend { padding: 0 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.ret-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; cursor: pointer; }
.ret-item input { width: 17px; height: 17px; accent-color: var(--blue); flex: none; }
.ret-item span { flex: 1; min-width: 0; }
.ret-item small { color: var(--muted); }
.ret-drop { display: flex; flex-direction: column; gap: 4px; align-items: center; text-align: center; padding: 22px 16px; border: 2px dashed var(--line); border-radius: var(--r-md); background: var(--bg-2); cursor: pointer; color: var(--ink-2); font-weight: 400; }
.ret-drop:hover { border-color: var(--blue); background: var(--tint); }
.ret-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ret-drop strong { color: var(--blue-d); font-size: 15px; }
.ret-drop small { font-size: 12px; color: var(--muted); }
.ret-thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.ret-thumbs:empty { display: none; }
.ret-thumb { width: 84px; font-size: 11px; font-weight: 400; color: var(--muted); text-align: center; }
.ret-thumb img, .ret-thumb .ret-thumb__doc { width: 84px; height: 84px; object-fit: cover; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--bg-2); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--err); }
.ret-thumb span { display: block; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ret-form__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.status-pill--approved { background: var(--ok-bg); color: var(--ok); }
.status-pill--declined { background: var(--err-bg); color: var(--err); }
.bubble__img { display: block; margin-top: 8px; }
.bubble__img img { display: block; max-width: 220px; width: 100%; height: auto; border-radius: var(--r-sm); border: 1px solid rgba(0,0,0,.12); }
@media (max-width: 700px) {
	.acct-details { padding: 18px; }
}

.status-pill--resolved { background: var(--bg-3); color: var(--ink-2); }
.bubble__gone { margin: 6px 0 0; font-size: 12px; font-style: italic; opacity: .8; }


/* Auth screens: errors, confirmations */
.auth__alert { display: block; margin: 0 0 18px; padding: 14px 16px 14px 44px; position: relative; border: 1px solid #f2c4c4; border-radius: var(--r-md); background: var(--err-bg); color: var(--err); font-size: 14px; line-height: 1.5; }
.auth__alert::before { content: "!"; position: absolute; left: 14px; top: 14px; width: 20px; height: 20px; border-radius: 50%; background: var(--err); color: #fff; font-size: 13px; font-weight: 800; line-height: 20px; text-align: center; }
.auth__alert strong { display: block; margin-bottom: 4px; }
.auth__alert ul { margin: 0; padding-left: 18px; list-style: disc; }
.auth__alert li { margin: 2px 0; }
.auth__alert a { color: var(--err); text-decoration: underline; font-weight: 700; }
.auth .woocommerce-error, .auth .woocommerce-message, .auth .woocommerce-info { display: block; margin: 0 0 18px; padding: 14px 16px; border-radius: var(--r-md); font-size: 14px; line-height: 1.5; }
.auth .woocommerce-error { list-style: none; background: var(--err-bg); border: 1px solid #f2c4c4; color: var(--err); }
.auth .woocommerce-error li { margin: 2px 0; }
.auth .woocommerce-error a { color: var(--err); text-decoration: underline; font-weight: 700; }
.auth .woocommerce-message, .auth .woocommerce-info { background: var(--ok-bg); border: 1px solid #bfe3c9; color: var(--ink); }
.auth .notice { margin: 0 0 18px; }
.auth__form .is-invalid, .auth__form input.is-invalid { border-color: var(--err); box-shadow: 0 0 0 1px var(--err); }
.field-error { display: block; margin-top: 5px; font-size: 13px; font-weight: 600; color: var(--err); }
.field-error:empty { display: none; }
.field-error a { color: var(--err); text-decoration: underline; }
.auth__agree-wrap .field-error { margin: -2px 0 6px 25px; }
.auth__agree input.is-invalid { outline: 2px solid var(--err); outline-offset: 1px; }
.auth__done { text-align: left; }
.auth__done h1 { margin: 18px 0 8px; }
.auth__done .auth__lede { margin: 0 0 12px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.auth__done-ic { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--tint); color: var(--blue-d); }
.auth__done-actions { margin-top: 24px; }
.auth__done-actions .auth__switch { margin-top: 18px; text-align: left; }


/* Single blog post: article + sticky sidebar (design) */
.post-page { padding-top: 24px; padding-bottom: 40px; }
.post-page .crumbs { margin-bottom: 20px; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: start; }
@media (min-width: 980px) { .post-layout { grid-template-columns: minmax(0, 1fr) 320px; } .post-aside { position: sticky; top: 20px; } }
.post-layout .post { max-width: 760px; padding-top: 0; min-width: 0; }
.tag--lg { display: inline-block; padding: 4px 12px; font-size: 13px; margin-bottom: 14px; }
.post__head h1 { font-size: clamp(30px, 3.8vw, 44px); line-height: 1.08; letter-spacing: -0.025em; margin: 0 0 18px; }
.post__author { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.post__avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; flex: none; }
.post__author p { margin: 0; }
.post__by { font-size: 15px; font-weight: 700; color: var(--ink); }
.post__when { margin-top: 2px !important; font-size: 13px; color: var(--muted); }
.post__img { margin: 0 0 30px; border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg-1); }
.post__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post__lead { margin: 0 0 22px; font-size: 19px; line-height: 1.65; font-weight: 500; color: var(--ink-2); }
.post-layout .prose { max-width: none; font-size: 17px; line-height: 1.75; color: #42525e; }
.post-layout .prose p { margin: 0 0 16px; }
.post-layout .prose h2 { font-size: 24px; margin: 30px 0 12px; letter-spacing: -0.01em; }
.post-layout .prose ul { list-style: none; padding: 0; margin: 0 0 16px; }
.post-layout .prose ul li { position: relative; padding-left: 19px; margin: 0 0 10px; }
.post-layout .prose ul li::before { content: ""; position: absolute; left: 0; top: 0.7em; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.post__nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--line); font-weight: 400; }
.post__navcard { display: block; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; color: var(--ink); }
.post__navcard:hover { border-color: var(--blue); }
.post__navcard span { display: block; margin-bottom: 4px; font-size: 12px; color: var(--muted); }
.post__navcard strong { font-size: 15px; line-height: 1.3; }
.post__navcard--next { text-align: right; }
.post-aside { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.side-card { border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; padding: 20px; }
.side-card h3 { margin: 0 0 6px; font-size: 16px; font-weight: 700; }
.side-prod { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--bg-3); }
.side-card h3 + .side-prod { margin-top: 8px; }
.side-prod__img { width: 52px; height: 52px; border-radius: 6px; overflow: hidden; background: var(--bg-1); display: block; }
.side-prod__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.side-prod__name { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.side-prod__name:hover { color: var(--blue-d); }
.side-prod__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 6px; }
.side-prod__price { font-size: 15px; font-weight: 700; color: var(--blue-d); }
.side-prod__add { font-size: 13px; font-weight: 700; color: var(--blue-d); white-space: nowrap; }
.side-prod__add:hover { text-decoration: underline; }
.side-prod__add.added { color: var(--ok); }
.side-prod__off { font-size: 12px; color: var(--muted); }
.side-prod .added_to_cart { display: none; }
.side-post { display: block; padding: 12px 0; border-top: 1px solid var(--bg-3); color: var(--ink); }
.side-card h3 + .side-post { margin-top: 8px; }
.side-post:hover .side-post__title { color: var(--blue-d); }
.side-post__tag { display: block; margin-bottom: 4px; font-size: 12px; font-weight: 600; color: var(--blue-d); }
.side-post__title { display: block; font-size: 14px; font-weight: 600; line-height: 1.35; }


/* Sections whose background photo the owner can change (Guardian Settings > Site images) */
/* Reviews band, footer newsletter and About counters with a chosen photo: shown as it is, NO overlay.
   The text keeps the design's dark colours; "White" text (chosen in Guardian Settings) adds .has-bg--light. */
.reviews.has-bg, .newsletter.has-bg, .stats.has-bg { background-size: cover; background-position: center; background-repeat: no-repeat; }
.stats.has-bg::before { display: none; } /* the design's faint diagonal stripes are part of the default band only, not drawn over a chosen photo */
.reviews.has-bg--light blockquote, .reviews.has-bg--light figcaption { color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.reviews.has-bg--light .chev { color: #fff; }
.reviews.has-bg--light .chev:hover { color: var(--amber); }
.newsletter.has-bg--light h2 { color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.newsletter.has-bg--light p { color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.newsletter.has-bg .newsletter__msg { display: inline-block; padding: 8px 16px; border-radius: 10px; background: #fff; color: var(--ink); text-shadow: none; }
.stats.has-bg--light .stat__n { color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .35); }
.stats.has-bg--light .stat__l { color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .35); }


/* Sliders (home reviews, About Us testimonials): every slide sits in the SAME grid cell,
   so the box is always as tall as its tallest slide and nothing moves when you switch
   between a short and a long testimonial. Hidden slides keep their space but are invisible. */
.reviews__slides, .testi__slides { display: grid; width: 100%; }
.reviews__slides { width: 0; flex: 1 1 0; }
.reviews__slides > .slide, .testi__slides > .slide { grid-area: 1 / 1; display: flex; flex-direction: column; min-width: 0; }
.reviews__slides > .slide, .testi__slides > .slide { visibility: hidden; pointer-events: none; }
.reviews__slides > .slide.is-active, .testi__slides > .slide.is-active { visibility: visible; pointer-events: auto; }
.reviews__slides > .slide blockquote, .testi__slides > .slide blockquote { flex: 1 1 auto; }
.reviews__slides > .slide figcaption { margin-top: auto; }
.testi__slides > .slide figcaption { margin-top: auto; }
.testi__slides > .slide blockquote { margin-bottom: 28px; }
img.avatar, .avatar--photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; background: var(--tint); }
.testi figcaption .avatar { width: 48px; height: 48px; font-size: 15px; }


/* Home reviews band: the Google card hangs 35px below the band; the slides pull 20px toward the right arrow on desktop */
.reviews .gcard { margin-bottom: -35px; }
@media (min-width: 900px) { .reviews__slides { margin-right: -20px; } }


/* Product reviews (design): summary left, reviews right */
.rv { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 36px; }
@media (max-width: 899px) { .rv { grid-template-columns: minmax(0, 1fr); } }
.rv p { margin: 0; }
.rv__avg { font-size: 48px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; }
.rv__stars { margin: 8px 0 4px !important; font-size: 18px; color: #eba701; letter-spacing: 2px; }
.rv__based { margin-bottom: 18px !important; font-size: 14px; color: #5a6b78; }
.rv__bars { display: flex; flex-direction: column; gap: 8px; margin-bottom: 22px; }
.rv__bar { display: grid; grid-template-columns: 28px minmax(0, 1fr) 24px; gap: 10px; align-items: center; font-size: 13px; color: #42525e; }
.rv__track { display: block; height: 8px; border-radius: 4px; background: #eef2f6; overflow: hidden; }
.rv__fill { display: block; height: 100%; background: #eba701; }
.rv__n { text-align: right; }
.rv__write { width: 100%; background: #0072bc; color: #fff; border: 0; border-radius: 4px; font: inherit; font-size: 15px; font-weight: 700; padding: 13px; cursor: pointer; }
.rv__write:hover { background: #0066a9; }
.rv__why { font-size: 14px; line-height: 1.55; color: #5a6b78; }
.rv__main { min-width: 0; }
.rv__list { display: flex; flex-direction: column; }
.rv-item { padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid #eef2f6; }
.rv-item__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.rv-item__who { font-size: 15px; font-weight: 700; }
.rv-item__clinic { font-weight: 400; color: #5a6b78; }
.rv-item__date { font-size: 13px; color: #8a97a3; }
.rv-item__rate { margin-bottom: 8px !important; font-size: 14px; color: #eba701; letter-spacing: 1px; }
.rv-item__ver { margin-left: 6px; font-size: 12px; font-weight: 600; color: #1a7a3c; letter-spacing: 0; }
.rv-item__title { margin-bottom: 4px !important; font-size: 15px; font-weight: 700; }
.rv-item__text, .rv-item__text p { margin: 0; font-size: 14px; line-height: 1.65; color: #42525e; }
.rv-item__note { font-size: 14px; font-style: italic; color: #5a6b78; }
.rv-item--reply { margin-left: 20px; padding-left: 16px; border-left: 3px solid #dde5ec; }
.rv .children { margin-top: 16px; }
.rv__empty { font-size: 15px; color: #5a6b78; }
.rv__formwrap { margin-bottom: 26px; padding: 20px; border: 1px solid #dde5ec; border-radius: 8px; background: #f8fafc; }
.rv__formwrap[hidden] { display: none; }
.rv .comment-reply-title { margin: 0 0 14px; font-size: 18px; }
.rv .comment-form p { margin: 0 0 14px; }
.rv .comment-form label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: #42525e; }
.rv .comment-form .required { color: var(--err); }
.rv .comment-form input[type="text"], .rv .comment-form input[type="email"], .rv .comment-form textarea { width: 100%; padding: 11px 12px; font: inherit; font-size: 15px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); box-sizing: border-box; }
.rv .comment-form textarea { min-height: 120px; resize: vertical; }
.rv .comment-form input.is-invalid { border-color: var(--err); }
.rv .comment-form .form-submit { margin: 0; }
.rv .comment-form-rating { margin-bottom: 14px; }
.rv__rate { position: relative; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rv__rate input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.rv__rate label { margin: 0 !important; font-size: 30px !important; line-height: 1; font-weight: 400 !important; color: #cbd5de !important; cursor: pointer; }
.rv__rate input:checked ~ label, .rv__rate label:hover, .rv__rate label:hover ~ label { color: #eba701 !important; }
.rv__rate input:focus-visible + label { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.rv .field-error { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: var(--err); }

/* Match the design's tight line spacing (it uses the browser's normal line height here, 1.65 only for review text) */
.ptab { line-height: normal; }
.rv p, .rv__bar, .rv-item__head, .rv-item__who, .rv-item__date, .rv-item__rate, .rv-item__title, .rv__based, .rv__write, .rv__why { line-height: normal; }
.rv__why { line-height: 1.55; }
.rv-item__text, .rv-item__text p { line-height: 1.65; }

.invoice-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0 0 18px; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--bg-1); font-size: 14px; }

/* Description tab: both column headings start on the same line (as in the design) */
.ptabs h2, .ptabs h3 { margin-top: 0; }
.ptabs .prose > :first-child { margin-top: 0; }

/* Home reviews band, desktop: two columns (quote | button + Google card), side aligned to the right */
@media (min-width: 900px) {
	.reviews__in { grid-template-columns: minmax(0, 1fr) auto; }
	.reviews__side { align-items: flex-end; }
}

.contact-captcha { margin: 4px 0 14px; }
.contact-captcha-note { margin: 0 0 14px; font-size: 12px; color: var(--muted); }
.form .contact-captcha-err { margin: 0 0 12px; }

.rv__thanks { margin: 0 0 18px; padding: 14px 16px; border: 1px solid #bfe3c9; border-radius: var(--r-md); background: var(--ok-bg); color: var(--ink); font-size: 14px; line-height: 1.5; }
.rv__moderated { margin: 4px 0 14px !important; font-size: 13px; color: var(--muted); }

.ret-note { margin: 0; padding: 12px 14px; border-left: 4px solid var(--amber); border-radius: 0 var(--r-sm) var(--r-sm) 0; background: #fff8e5; color: var(--ink); font-size: 14px; line-height: 1.5; }
.ret-lead strong { font-weight: 600; }
.ret-sum + .ret-note, .ret-note + .thread { margin-top: 14px; }
.ret-sum + .ret-note { margin-bottom: 14px; }

.kpi__save { margin: 6px 0 0; font-weight: 700; color: var(--ok); font-size: 11px; line-height: 1.3; }

.fgroup--sale { padding-bottom: 14px; }
.fcheck--sale .fcheck__name { font-weight: 700; color: var(--ink); }
.fcheck--sale input:checked ~ .fcheck__name { color: var(--err); }
.fcheck--sale.is-off { opacity: .55; cursor: not-allowed; }


/* ---------------------------------------------------------------------------------------------
   Blog articles: contents list and the boxes used inside articles (see inc/blog-structure.php)
   ------------------------------------------------------------------------------------------ */
.post-layout .prose h2 { scroll-margin-top: 110px; margin-top: 38px; padding-top: 26px; border-top: 1px solid var(--line); }
.post-layout .prose > h2:first-child, .post-layout .prose .toc + h2, .post-layout .prose .gds-keypoints + h2 { border-top: 0; padding-top: 0; }
.post-layout .prose h3 { font-size: 19px; margin: 24px 0 8px; }
.post-layout .prose ol { margin: 0 0 16px; padding-left: 22px; }
.post-layout .prose ol li { margin: 0 0 8px; }
.post-layout .prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.post-layout .prose a:hover { color: var(--blue-d); }
.post-layout .prose strong { color: var(--ink); }

.toc { margin: 8px 0 8px; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-2); }
.toc__title { margin: 0 0 8px !important; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-d); }
.post-layout .prose .toc__list { margin: 0; padding: 0; list-style: none; }
.post-layout .prose .toc__list li { margin: 0; padding: 4px 0; }
.post-layout .prose .toc__list li::before { display: none; }
.post-layout .prose .toc__list a { color: var(--ink-2); text-decoration: none; font-size: 15px; line-height: 1.4; }
.post-layout .prose .toc__list a:hover { color: var(--blue); text-decoration: underline; }
@media (min-width: 700px) { .toc__list--cols { column-count: 2; column-gap: 32px; } .toc__list--cols li { break-inside: avoid; } }

.post-layout .prose .gds-checklist li { padding-left: 30px; }
.post-layout .prose .gds-checklist li::before { content: "✓"; left: 0; top: 0.2em; width: 21px; height: 21px; border-radius: 50%; background: var(--tint); color: var(--blue-d); font-size: 14px; font-weight: 900; line-height: 21px; text-align: center; }

.post-layout .prose .gds-keypoints, .post-layout .prose .gds-tip, .post-layout .prose .gds-note, .post-layout .prose .gds-formula { margin: 0 0 22px; border-radius: var(--r-md); }
.post-layout .prose .gds-keypoints p, .post-layout .prose .gds-tip p, .post-layout .prose .gds-note p, .post-layout .prose .gds-formula p { margin: 0; }
.post-layout .prose .gds-keypoints { margin-top: 26px; padding: 20px 24px; background: var(--tint); border: 1px solid #cfe3f3; border-radius: var(--r-lg); }
.post-layout .prose .gds-keypoints__title { margin: 0 0 12px !important; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-d); }
.post-layout .prose .gds-keypoints .gds-checklist { margin: 0; }
.post-layout .prose .gds-keypoints .gds-checklist li { margin: 0 0 8px; color: var(--ink); }
.post-layout .prose .gds-keypoints .gds-checklist li:last-child { margin-bottom: 0; }
.post-layout .prose .gds-keypoints .gds-checklist li::before { background: #fff; }
.post-layout .prose .gds-tip { padding: 14px 18px; background: var(--bg-2); border-left: 4px solid var(--blue); border-radius: 0 var(--r-md) var(--r-md) 0; }
.post-layout .prose .gds-note { padding: 14px 18px; background: #fff8e5; border-left: 4px solid var(--amber); border-radius: 0 var(--r-md) var(--r-md) 0; }
.post-layout .prose .gds-tip p, .post-layout .prose .gds-note p { font-size: 16px; line-height: 1.6; color: var(--ink); }
.post-layout .prose .gds-formula { padding: 16px 20px; text-align: center; background: #fff; border: 2px dashed #b9d4ea; }
.post-layout .prose .gds-formula p { font-size: 18px; font-weight: 700; color: var(--navy); }

.post-layout .prose .gds-cta { margin: 40px 0 8px; padding: 30px 32px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; }
.post-layout .prose .gds-cta p { margin: 0 0 12px; color: #e6f1fa; }
.post-layout .prose .gds-cta .gds-cta__title { margin: 0 0 8px; font-size: 26px; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; color: #fff; }
.post-layout .prose .gds-cta .wp-block-buttons { margin: 18px 0 14px; }
.post-layout .prose .wp-block-button__link { display: inline-block; padding: 13px 26px; border-radius: 30px; background: var(--amber); color: var(--ink); font-weight: 700; font-size: 16px; line-height: 1.2; text-decoration: none; }
.post-layout .prose .wp-block-button__link:hover { background: var(--amber-d); color: var(--ink); }
.post-layout .prose .gds-cta .gds-cta__links { margin: 0; font-size: 14px; }
.post-layout .prose .gds-cta a:not(.wp-block-button__link) { color: #fff; text-decoration: underline; }

/* Category page: about text and related categories */
.cat-about { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.cat-about h2, .cat-links h2 { font-size: 22px; font-weight: 800; margin: 0 0 12px; }
.cat-links { margin-top: 28px; }
.cat-links ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.cat-links a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.cat-links a:hover { border-color: var(--blue); color: var(--blue-d); }
.section__head .more { font-size: 14px; font-weight: 700; }
.specs dd a { color: var(--blue-d); }

/* Home page product rows: 6 products are loaded. Phones (2 columns) and tablets (3 columns) show all 6, so the last row is full;
   4-column screens show 4, and wide screens (5 columns) show 5. */
@media (min-width: 901px) and (max-width: 1200px) { .pgrid--home > :nth-child(n+5) { display: none; } }
@media (min-width: 1201px) { .pgrid--home > :nth-child(n+6) { display: none; } }
