/* Gadget Canada - main stylesheet */

:root {
	--c-bg: #f5f5f6;
	--c-card: #ffffff;
	--c-text: #16161a;
	--c-muted: #62626b;
	--c-line: #e6e6ea;
	--c-accent: #d52b1e;
	--c-accent-ink: #b0231a;
	--c-accent-soft: #fdeceb;
	--c-dark: #111114;
	--c-ok: #1a7f37;
	--radius: 22px;
	--radius-sm: 14px;
	--shadow: 0 10px 30px rgba(17, 17, 20, .08);
	--header-h: 68px;
	--container: 1320px;
	--gutter: clamp(16px, 3vw, 32px);
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--c-text); background: var(--c-bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; text-underline-offset: 3px; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--c-dark); color: #fff; padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip-link:focus { top: 12px; }
.icon { flex: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 960px; }
.section { margin-block: clamp(36px, 6vw, 72px); }

/* ---------- Buttons & links ---------- */
.btn,
.button,
button.button,
a.button,
input.button,
#respond input#submit,
.woocommerce-form-login__submit,
.single_add_to_cart_button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent;
	background: var(--c-dark); color: #fff; font-weight: 600; font-size: 1rem; line-height: 1;
	text-decoration: none; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover, .button:hover, .single_add_to_cart_button:hover, #respond input#submit:hover { background: #2c2c33; }
.btn--light { background: #fff; color: var(--c-dark); }
.btn--light:hover { background: #f0f0f2; }
.btn--lg { min-height: 54px; padding: 0 34px; font-size: 1.05rem; }
.button.alt, .button:disabled, .button.disabled { opacity: 1; }
.button:disabled, .button.disabled { opacity: .5; cursor: not-allowed; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; }
.link-arrow:hover { color: var(--c-accent); }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; border: 0; background: transparent; color: var(--c-text); text-decoration: none; position: relative; }
.icon-btn:hover { background: #f0f0f2; }

/* ---------- Top bar ---------- */
.topbar { background: var(--c-dark); color: #fff; font-size: .88rem; }
.topbar__in { display: flex; align-items: center; justify-content: center; position: relative; min-height: 40px; }
.topbar p { margin: 0; display: flex; align-items: center; gap: 8px; text-align: center; padding: 8px 36px; }
.topbar__close { position: absolute; right: var(--gutter); background: none; border: 0; color: #fff; opacity: .7; padding: 6px; display: grid; }
.topbar__close:hover { opacity: 1; }
.no-topbar .topbar { display: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--c-line); }
.header__in { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--c-accent); text-decoration: none; flex: none; }
.logo__text { color: var(--c-text); font-weight: 800; font-size: 1.18rem; letter-spacing: -.03em; }
.logo__text b { color: var(--c-accent); font-weight: 800; margin-left: 2px; }
.nav { flex: 1; min-width: 0; }
.nav__head { display: none; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item--end { margin-left: auto; }
.nav__link { display: block; padding: 10px 14px; border-radius: 999px; font-size: 1.02rem; text-decoration: none; transition: color .2s; }
.nav__link:hover, .nav__link.is-current { color: var(--c-accent); }
.nav__expand { display: none; }
.header__actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-toggle { display: none; }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--c-accent); color: #fff; font-size: .7rem; font-weight: 700; line-height: 18px; text-align: center; }
.cart-count[data-count="0"] { display: none; }

/* Mega menu (desktop) */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--c-line); box-shadow: 0 24px 40px rgba(17, 17, 20, .08); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.has-mega:hover > .mega, .has-mega:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.mega__in { padding-block: 22px 26px; }
.mega__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; list-style: none; margin: 0 0 14px; padding: 0; }
.mega__tile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 10px; border-radius: var(--radius-sm); text-align: center; text-decoration: none; font-size: .92rem; font-weight: 500; transition: background .2s; }
.mega__tile:hover { background: var(--c-bg); color: var(--c-accent); }
.mega__img { display: grid; place-items: center; width: 100px; height: 100px; }
.mega__img img { max-width: 100px; max-height: 100px; object-fit: contain; }
.mega__all { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; text-decoration: none; color: var(--c-accent); }

/* Search */
.search-panel { border-top: 1px solid var(--c-line); background: #fff; padding-block: 16px; }
.search-form { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--c-line); border-radius: 999px; padding: 6px 6px 6px 18px; }
.search-form input[type="search"] { flex: 1; border: 0; outline: 0; background: transparent; padding: 10px 4px; font-size: 1rem; min-width: 0; }
.search-form .btn { min-height: 42px; }

.nav-overlay { position: fixed; inset: 0; background: rgba(10, 10, 12, .45); z-index: 55; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; }
.hero__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide { flex: 0 0 100%; scroll-snap-align: start; }
.hero__slide--0 { background: linear-gradient(120deg, #f4f2ee 0%, #e8e5df 100%); }
.hero__slide--1 { background: linear-gradient(120deg, #eef3f1 0%, #dfeae6 100%); }
.hero__slide--2 { background: linear-gradient(120deg, #eef2f8 0%, #dde6f3 100%); }
.hero__slide--3 { background: linear-gradient(120deg, #f6f1f0 0%, #ece1df 100%); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 24px; min-height: clamp(440px, 46vw, 600px); padding-block: 40px 64px; }
.hero__eyebrow { color: var(--c-accent); font-weight: 600; margin-bottom: 10px; }
.hero__title { font-size: clamp(2.2rem, 5vw, 3.9rem); letter-spacing: -.035em; margin-bottom: 14px; }
.hero__tagline { font-size: clamp(1.1rem, 1.7vw, 1.4rem); color: #33333a; max-width: 30ch; }
.hero__price { font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 22px 0 26px; }
.hero__price del { font-size: .7em; color: var(--c-muted); font-weight: 400; }
.hero__price ins { text-decoration: none; }
.hero__cta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.hero__media img { width: 100%; max-width: 560px; margin-inline: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .12)); }
.hero__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .8); display: grid; place-items: center; box-shadow: var(--shadow); opacity: .85; }
.hero__nav:hover { opacity: 1; background: #fff; }
.hero__nav--prev { left: 20px; }
.hero__nav--next { right: 20px; }
.hero__dots { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 10px; }
.hero__dots button { border: 0; background: none; padding: 8px 0; }
.hero__dots span { display: block; width: 44px; height: 3px; border-radius: 3px; background: rgba(17, 17, 20, .18); overflow: hidden; }
.hero__dots [aria-current="true"] span { background: var(--c-accent); }

/* ---------- Home intro & category row ---------- */
.home-intro { text-align: center; padding-top: clamp(32px, 5vw, 56px); }
.home-intro__h1 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); max-width: 26ch; margin-inline: auto; }
.home-intro__lead { color: var(--c-muted); max-width: 62ch; margin: 0 auto 28px; }
.cat-row { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; font-size: .92rem; font-weight: 500; text-align: center; }
.cat-tile__img { display: grid; place-items: center; width: 100%; aspect-ratio: 1; max-width: 116px; background: #fff; border-radius: 26px; transition: transform .2s, box-shadow .2s; }
.cat-tile__img img { width: 72%; height: 72%; object-fit: contain; }
.cat-tile:hover .cat-tile__img { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-tile:hover { color: var(--c-accent); }

/* ---------- Sections ---------- */
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section__head--center { justify-content: center; text-align: center; }
.section-title { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.section-title--lg { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin: 0; }
.eyebrow { color: var(--c-accent); font-weight: 600; font-size: .9rem; margin-bottom: 8px; display: block; }

/* ---------- Product grid & cards ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.pgrid > .pcard--wide { grid-column: span 2; }
.pgrid__item { display: flex; min-width: 0; }
.pgrid__item > .pcard { flex: 1; }
.pcard { position: relative; background: var(--c-card); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, transform .25s; min-width: 0; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pcard__link {
	display: grid; height: 100%; min-height: 350px; padding: 24px; gap: 10px 12px; color: inherit; text-decoration: none;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
	grid-template-rows: auto 1fr auto;
	grid-template-areas: "text text" "sw media" "price media";
}
.pcard__text { grid-area: text; }
.pcard__badge { display: block; color: #c26b00; font-size: .88rem; font-weight: 600; margin-bottom: 6px; }
.pcard__title { font-size: 1.28rem; margin: 0 0 6px; }
.pcard__tagline { color: var(--c-muted); font-size: .93rem; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__media { grid-area: media; align-self: end; justify-self: end; display: flex; align-items: flex-end; justify-content: flex-end; }
.pcard__img { width: 100%; max-width: 210px; max-height: 220px; object-fit: contain; transition: transform .35s; }
.pcard:hover .pcard__img { transform: scale(1.04); }
.pcard__swatches { grid-area: sw; align-self: start; display: flex; gap: 7px; list-style: none; margin: 6px 0 0; padding: 0; flex-wrap: wrap; }
.pcard__swatches li { width: 14px; height: 14px; border-radius: 999px; background: var(--sw); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.pcard__price { grid-area: price; align-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font-size: 1.28rem; font-weight: 700; }
.pcard__price del, .pd__summary .price del { color: var(--c-muted); font-weight: 400; font-size: .72em; }
.pcard__price ins, .pd__summary .price ins, .buybar__price ins { text-decoration: none; }
.save-pill { display: inline-block; background: var(--c-accent-soft); color: var(--c-accent-ink); font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }

.pcard--wide .pcard__link { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-areas: "text media" "sw media" "price media"; min-height: 380px; padding: 32px; background: linear-gradient(135deg, #f7f7f8 0%, #ececef 100%); }
.pcard--wide .pcard__title { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.pcard--wide .pcard__tagline { font-size: 1.02rem; }
.pcard--wide .pcard__media { align-self: center; justify-self: center; }
.pcard--wide .pcard__img { max-width: 380px; max-height: 330px; }

.pcard--all { display: flex; flex-direction: column; justify-content: space-between; padding: 28px; min-height: 350px; background: #e9ebef; text-decoration: none; }
.pcard--all__label { display: inline-flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 700; letter-spacing: -.02em; }
.pcard--all__img { align-self: center; }
.pcard--all__img img { max-width: 190px; max-height: 190px; object-fit: contain; }
.pcard--all:hover .pcard--all__label { color: var(--c-accent); }

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
.benefit { display: flex; gap: 12px; align-items: flex-start; }
.benefit strong { display: block; font-size: 1rem; margin-bottom: 2px; }
.benefit span { color: var(--c-muted); font-size: .9rem; }
.benefit--card { flex-direction: column; background: #fff; border-radius: var(--radius); padding: 26px; text-align: center; align-items: center; }
.benefit--card strong { font-size: 1.15rem; }
.benefit__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 999px; background: var(--c-accent-soft); color: var(--c-accent); margin-bottom: 6px; }
.benefit .icon { color: var(--c-accent); }

/* ---------- Tabs ---------- */
.tabs__list { display: flex; justify-content: center; gap: clamp(16px, 3vw, 36px); margin: 0 0 24px; overflow-x: auto; scrollbar-width: none; }
.tabs__list::-webkit-scrollbar { display: none; }
.tabs__tab { flex: none; background: none; border: 0; padding: 8px 2px 10px; font-size: 1.05rem; font-weight: 500; color: #3a3a41; border-bottom: 3px solid transparent; }
.tabs__tab[aria-selected="true"] { color: var(--c-accent); border-bottom-color: var(--c-accent); font-weight: 600; }
.tabs__tab:hover { color: var(--c-accent); }

/* ---------- Banners ---------- */
.banners { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 520px), 1fr)); gap: 20px; margin-top: 20px; }
.banner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 16px; min-height: 250px; padding: clamp(26px, 4vw, 48px); border-radius: var(--radius); text-decoration: none; overflow: hidden; background: #efeff2; }
.banner__title { font-size: clamp(1.4rem, 2.5vw, 2.05rem); margin-bottom: 8px; }
.banner p { color: #44444c; margin-bottom: 18px; }
.banner__media img, .banner__img { max-height: 230px; width: auto; max-width: 100%; margin-left: auto; object-fit: contain; transition: transform .35s; }
.banner:hover .banner__img { transform: scale(1.04); }
.banner--mist { background: linear-gradient(135deg, #eef1f6, #e2e8f1); }
.banner--sky { background: linear-gradient(135deg, #dce8f6, #c7d9ee); }
.banner--dark { background: linear-gradient(135deg, #151a28, #232a3d); color: #fff; }
.banner--dark p { color: rgba(255, 255, 255, .75); }

/* ---------- Content blocks ---------- */
.seo-card, .card-box { background: #fff; border-radius: var(--radius); padding: clamp(24px, 4.5vw, 52px); }
.card-box { margin-top: 24px; }
.prose { font-size: 1.02rem; line-height: 1.72; color: #2b2b31; }
.prose > * { max-width: 78ch; }
.prose--wide > * { max-width: none; }
.prose h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 1.6em 0 .55em; color: var(--c-text); }
.prose h3 { font-size: 1.2rem; margin: 1.4em 0 .45em; color: var(--c-text); }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--c-accent-ink); font-weight: 500; }
.prose a:hover { color: var(--c-accent); }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .35em; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.prose thead th { background: var(--c-bg); font-weight: 600; }
.prose em { color: var(--c-muted); }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: 10px; }
.faq__item { background: #fff; border-radius: var(--radius-sm); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 600; font-size: 1.02rem; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { transition: transform .2s; color: var(--c-muted); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__a { padding: 0 22px 18px; color: #3d3d44; line-height: 1.65; }
.faq__a p:last-child { margin-bottom: 0; }
.faq__a a { color: var(--c-accent-ink); }
.page-article .faq, .pd-body .faq { margin-top: 32px; }
.page-article .faq__item, .pd-body .faq__item { background: var(--c-bg); }

/* ---------- Breadcrumbs, category head, chips, toolbar ---------- */
.crumbs { font-size: .86rem; color: var(--c-muted); margin: 18px 0; }
.crumbs p, .crumbs nav { margin: 0; }
.crumbs a { color: var(--c-muted); text-decoration: none; }
.crumbs a:hover { color: var(--c-accent); }
.crumbs .separator, .crumbs__sep { margin: 0 6px; opacity: .6; }
.cat-head { background: #fff; border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); margin-bottom: 20px; }
.cat-head__title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.cat-head__intro { color: var(--c-muted); margin-bottom: 18px; }
.cat-head__intro p:last-child { margin-bottom: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 0; padding: 0; }
.chip { display: inline-block; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--c-line); font-size: .92rem; font-weight: 500; text-decoration: none; transition: border-color .2s, color .2s; }
.chip:hover { border-color: var(--c-accent); color: var(--c-accent); }
.chip.is-current { background: var(--c-dark); border-color: var(--c-dark); color: #fff; }
.cat-head .chip { background: var(--c-bg); border-color: transparent; }
.cat-head .chip.is-current { background: var(--c-dark); }
.explore { margin-block: 40px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.toolbar .woocommerce-notices-wrapper { flex-basis: 100%; }
.woocommerce-result-count { margin: 0; color: var(--c-muted); font-size: .92rem; }
.woocommerce-ordering { margin: 0; }
select, .woocommerce-ordering select { appearance: none; -webkit-appearance: none; padding: 10px 40px 10px 16px; border: 1px solid var(--c-line); border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2316161a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; }
.empty-note { background: #fff; border-radius: var(--radius); padding: 28px; }

.woocommerce-pagination ul, .nav-links { display: flex; justify-content: center; gap: 8px; list-style: none; padding: 0; margin: 32px 0; flex-wrap: wrap; }
.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; background: #fff; text-decoration: none; font-weight: 600; }
.page-numbers.current { background: var(--c-dark); color: #fff; }
a.page-numbers:hover { color: var(--c-accent); }

/* ---------- Single product ---------- */
.pd__top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(20px, 3.5vw, 48px); align-items: start; margin-bottom: 28px; }
.pd__gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.pd__gallery, .pd__summary { min-width: 0; }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; background: #fff; border-radius: var(--radius); scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; display: grid; place-items: center; padding: clamp(16px, 4vw, 48px); }
.gallery__slide img { width: 100%; max-width: 620px; aspect-ratio: 1; object-fit: contain; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery__thumbs button { flex: none; width: 74px; height: 74px; padding: 6px; border-radius: 14px; border: 2px solid transparent; background: #fff; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--c-dark); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }

.pd__summary { background: #fff; border-radius: var(--radius); padding: clamp(22px, 3vw, 40px); }
.pd__badge { display: inline-block; color: #c26b00; font-weight: 600; margin-bottom: 6px; }
.pd__summary .product_title { font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -.03em; margin-bottom: 8px; }
.pd__tagline { font-size: 1.12rem; color: #3b3b42; }
.pd__summary .price { font-size: 1.9rem; font-weight: 700; margin: 16px 0 8px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pd__summary .save-pill { margin-bottom: 6px; }
.pd__taxnote { font-size: .86rem; color: var(--c-muted); margin: 6px 0 16px; }
.woocommerce-product-rating { display: flex; align-items: center; gap: 10px; font-size: .9rem; }
.stock { font-weight: 600; font-size: .95rem; }
.stock.in-stock { color: var(--c-ok); }
.stock.out-of-stock { color: var(--c-accent); }
form.cart { display: flex; gap: 12px; align-items: stretch; margin: 18px 0 20px; flex-wrap: wrap; }
.quantity .qty { width: 84px; height: 54px; border: 1px solid var(--c-line); border-radius: 999px; text-align: center; font-weight: 600; background: #fff; }
.single_add_to_cart_button { flex: 1; min-height: 54px; font-size: 1.05rem; }
.woocommerce-product-details__short-description ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.woocommerce-product-details__short-description li { position: relative; padding-left: 22px; }
.woocommerce-product-details__short-description li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 8px; height: 8px; border-radius: 999px; background: var(--c-accent); }
.trust { list-style: none; padding: 18px 0 0; margin: 18px 0 0; border-top: 1px solid var(--c-line); display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: .9rem; }
.trust li { display: flex; align-items: center; gap: 10px; }
.trust .icon { color: var(--c-accent); }
.trust a { text-decoration: none; }
.trust a:hover { text-decoration: underline; }

.pd-subnav { position: sticky; top: calc(var(--header-h) + 10px); z-index: 5; display: flex; gap: 6px; width: fit-content; max-width: 100%; overflow-x: auto; margin: 0 auto 18px; padding: 6px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-radius: 999px; box-shadow: 0 4px 20px rgba(0, 0, 0, .06); }
.pd-subnav a { flex: none; padding: 9px 18px; border-radius: 999px; text-decoration: none; font-weight: 500; font-size: .95rem; }
.pd-subnav a:hover { background: var(--c-bg); color: var(--c-accent); }
.pd-section { background: #fff; border-radius: var(--radius); padding: clamp(24px, 4.5vw, 52px); margin-bottom: 20px; }
.pd-body .faq { background: #fff; border-radius: var(--radius); padding: clamp(24px, 4.5vw, 52px); margin: 0 0 20px; }
.woocommerce-product-attributes { width: 100%; border-collapse: collapse; }
.woocommerce-product-attributes th, .woocommerce-product-attributes td { text-align: left; padding: 13px 12px; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.woocommerce-product-attributes th { width: 34%; color: var(--c-muted); font-weight: 500; }
.woocommerce-product-attributes td p { margin: 0; }
.related, .upsells { margin-top: 40px; }
.related > h2, .upsells > h2 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); margin-bottom: 18px; }

/* Reviews & stars */
.star-rating { position: relative; display: inline-block; width: 5.6em; height: 1.1em; line-height: 1; font-size: 1rem; overflow: hidden; }
.star-rating::before { content: "★★★★★"; position: absolute; top: 0; left: 0; color: #d9d9de; letter-spacing: .12em; }
.star-rating span { position: absolute; top: 0; left: 0; height: 100%; overflow: hidden; padding-top: 1.6em; }
.star-rating span::before { content: "★★★★★"; position: absolute; top: 0; left: 0; color: #f0a020; letter-spacing: .12em; }
p.stars { margin: 6px 0 14px; }
p.stars span { display: inline-flex; gap: 4px; }
p.stars a { font-size: 0; text-decoration: none; }
p.stars a::before { content: "★"; font-size: 1.6rem; color: #d9d9de; }
p.stars:hover a::before, p.stars.selected a:not(.active)::before, p.stars.selected a.active::before { color: #f0a020; }
p.stars a:hover ~ a::before, p.stars.selected a.active ~ a::before { color: #d9d9de; }
#reviews .commentlist { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
#reviews .comment_container { background: var(--c-bg); border-radius: var(--radius-sm); padding: 18px; }
#reviews .avatar { display: none; }
#reviews .woocommerce-noreviews { color: var(--c-muted); }

/* Buy bar */
.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--c-line); box-shadow: 0 -8px 24px rgba(0, 0, 0, .05); }
.buybar__in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.buybar__name { font-weight: 700; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar__price { font-weight: 700; display: flex; gap: 8px; align-items: baseline; }
.buybar__price del { font-weight: 400; color: var(--c-muted); font-size: .85em; }

/* ---------- WooCommerce notices & forms ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice { list-style: none; background: #fff; border-radius: var(--radius-sm); padding: 14px 18px; margin: 0 0 16px; border-left: 4px solid var(--c-ok); display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.woocommerce-info { border-left-color: #2f6fed; }
.woocommerce-error { border-left-color: var(--c-accent); display: block; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 40px; }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input[type="url"], input[type="search"], textarea, .input-text {
	width: 100%; padding: 12px 14px; border: 1px solid #d8d8de; border-radius: 12px; background: #fff; transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus, select:focus, .input-text:focus { outline: 0; border-color: var(--c-dark); box-shadow: 0 0 0 3px rgba(213, 43, 30, .14); }
.form-row { margin: 0 0 14px; }
.form-row label, .comment-form label { display: block; font-weight: 500; margin-bottom: 6px; font-size: .95rem; }
.required { color: var(--c-accent); text-decoration: none; }
.woocommerce-form-login, .woocommerce-form-register, .track_order { max-width: 520px; }
.u-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 8px 16px; border-radius: 999px; background: var(--c-bg); text-decoration: none; font-weight: 500; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--c-dark); color: #fff; }
.shop_table { width: 100%; border-collapse: collapse; }
.shop_table th, .shop_table td { padding: 12px; border-bottom: 1px solid var(--c-line); text-align: left; }

/* ---------- Pages & blog ---------- */
.page-article { background: #fff; border-radius: var(--radius); padding: clamp(24px, 5vw, 56px); margin-bottom: 48px; }
.page-title { font-size: clamp(1.9rem, 4vw, 2.8rem); letter-spacing: -.03em; }
.post-meta { color: var(--c-muted); font-size: .92rem; }
.post-hero { margin: 0 0 28px; border-radius: var(--radius-sm); overflow: hidden; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0 0 32px; }
.post-card { display: flex; flex-direction: column; height: 100%; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: box-shadow .25s, transform .25s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card__body { display: flex; flex-direction: column; gap: 6px; padding: 24px; }
.post-card__title { font-size: 1.25rem; margin: 0; }
.post-card__excerpt { color: var(--c-muted); font-size: .95rem; }
.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.post-list a { display: block; background: #fff; border-radius: var(--radius-sm); padding: 16px 20px; text-decoration: none; font-weight: 600; }
.post-list a:hover { color: var(--c-accent); }
.page-404 { text-align: center; padding-block: 56px; }
.page-404 .search-form { max-width: 620px; margin: 24px auto; }
.page-404 .chips { justify-content: center; }
.sitemap ul ul { margin-top: 6px; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; margin-top: clamp(40px, 6vw, 80px); padding: 40px 0 24px; font-size: .94rem; }
.benefits--footer { padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--c-line); }
.footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 28px; }
.footer__col summary, .footer__title { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 1rem; margin-bottom: 14px; list-style: none; }
.footer__col summary::-webkit-details-marker { display: none; }
.footer__col summary .icon { display: none; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer__col a { color: var(--c-muted); text-decoration: none; }
.footer__col a:hover { color: var(--c-accent); }
.footer__contact p { display: flex; align-items: center; gap: 8px; color: var(--c-muted); margin-bottom: 10px; }
.footer__region { font-weight: 500; color: var(--c-text) !important; }
.flag { display: inline-block; width: 20px; height: 13px; border-radius: 2px; background: linear-gradient(90deg, var(--c-accent) 0 26%, #fff 26% 74%, var(--c-accent) 74%); box-shadow: 0 0 0 1px var(--c-line); }
.footer__bottom { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--c-line); color: var(--c-muted); font-size: .84rem; }
.footer__bottom p { margin: 0; }
.footer__note { max-width: 70ch; }


/* ---------- New vs used ---------- */
.cond-pill { display: inline-block; background: #e5f4ec; color: #0e6a42; font-size: .8rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.cond-pill--lg { font-size: .9rem; padding: 6px 13px; }
.cond-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 4px 0 36px; text-align: left; }
.cond-card { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: 12px; min-height: 230px; padding: clamp(22px, 3.5vw, 40px); border-radius: var(--radius); background: #fff; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.cond-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cond-card--used { background: linear-gradient(135deg, #0f3d2e 0%, #1a5a43 100%); color: #fff; }
.cond-card--used .eyebrow { color: #86e2b5; }
.cond-card__title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 2px 0 8px; }
.cond-card__desc { display: block; color: var(--c-muted); margin-bottom: 18px; max-width: 34ch; }
.cond-card--used .cond-card__desc { color: rgba(255, 255, 255, .8); }
.cond-card__img img { max-height: 190px; width: auto; margin-left: auto; object-fit: contain; }
.section__head--stack { flex-direction: column; align-items: center; gap: 4px; }
.section__head--stack .eyebrow { margin: 0; }

.cond-report { background: #f2faf5; border: 1px solid #d5eee0; border-radius: 16px; padding: 16px 18px; margin: 18px 0 14px; }
.cond-report__title { display: flex; align-items: center; gap: 8px; font-weight: 700; color: #0e6a42; margin: 0 0 8px; }
.cond-report dl { margin: 0; }
.cond-report dl > div { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-top: 1px solid #e0f1e7; }
.cond-report dl > div:first-child { border-top: 0; }
.cond-report dt { color: var(--c-muted); font-size: .88rem; }
.cond-report dd { margin: 0; font-size: .93rem; }
.cond-report__link { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-weight: 600; font-size: .92rem; color: #0e6a42; text-decoration: none; }
.cond-report__link:hover { text-decoration: underline; }
.alt-offer { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; margin: 0 0 12px; padding: 12px 16px; border: 1px solid var(--c-line); border-radius: 14px; background: var(--c-bg); font-size: .93rem; text-decoration: none; transition: border-color .2s; }
.alt-offer:hover { border-color: var(--c-accent); }
.alt-offer--used { background: #f2faf5; border-color: #d5eee0; }
.alt-offer .save-pill { margin-left: auto; }

.grade-legend { background: #fff; border-radius: var(--radius); padding: 18px 24px; margin-bottom: 16px; }
.grade-legend p { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; }
.grade-legend p .icon { color: #0e6a42; }
.grade-legend p a { color: var(--c-accent-ink); font-weight: 600; }
.grade-legend ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.grade-legend li { font-size: .88rem; color: var(--c-muted); }
.grade-legend li strong { color: var(--c-text); margin-right: 2px; }
.grade-dot { display: inline-block; width: 10px; height: 10px; border-radius: 999px; margin-right: 6px; vertical-align: 1px; }
.grade-dot--like-new { background: #16965a; }
.grade-dot--excellent { background: #4cc28a; }
.grade-dot--good { background: #f0a020; }
.grade-dot--fair { background: #e0662b; }
.xsell { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; padding: 14px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--c-line); font-weight: 600; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.xsell:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.xsell--used { background: linear-gradient(135deg, #0f3d2e, #1a5a43); color: #fff; border-color: transparent; }
.mega__foot { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.mega__all--muted { color: var(--c-text); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.cat-row { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 20px; }
	.pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
	:root { --header-h: 60px; }
	.nav-toggle { display: inline-grid; }
	.header__in { gap: 8px; }
	.nav { position: fixed; top: 0; bottom: 0; left: 0; width: min(88vw, 400px); z-index: 60; background: #fff; transform: translateX(-102%); transition: transform .28s ease; overflow-y: auto; padding: 0 20px 32px; box-shadow: 20px 0 40px rgba(0, 0, 0, .12); }
	.nav.is-open { transform: none; }
	.nav__head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); border-bottom: 1px solid var(--c-line); margin-bottom: 8px; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__item { border-bottom: 1px solid var(--c-line); }
	.nav__item.has-mega { display: grid; grid-template-columns: 1fr auto; align-items: center; }
	.nav__item--end { margin-left: 0; }
	.nav__link { padding: 16px 4px; font-size: 1.1rem; font-weight: 600; border-radius: 0; }
	.nav__expand { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; }
	.nav__expand[aria-expanded="true"] .icon { transform: rotate(180deg); }
	.mega { position: static; grid-column: 1 / -1; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; }
	.has-mega:hover > .mega, .has-mega:focus-within > .mega { display: none; }
	.nav__item.is-expanded > .mega { display: block; }
	.mega__in { padding: 0 0 16px; }
	.mega__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
	.mega__tile { padding: 8px 4px; font-size: .82rem; }
	.mega__img { width: 64px; height: 64px; }
	.mega__img img { max-width: 64px; max-height: 64px; }
	.logo__text { font-size: 1.05rem; }
	.logo__mark { width: 32px; height: 32px; }

	.hero__in { grid-template-columns: 1fr; text-align: center; padding-block: 32px 70px; min-height: 0; }
	.hero__tagline { margin-inline: auto; }
	.hero__price, .hero__cta { justify-content: center; }
	.hero__media { order: -1; }
	.hero__media img { max-width: min(78vw, 380px); }
	.hero__nav { display: none; }

	.pgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.pd__top { grid-template-columns: minmax(0, 1fr); }
	.pd__gallery { position: static; }
	.grade-legend ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.footer__contact { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
	.hide-sm { display: none !important; }
	.section-title--lg { font-size: 1.75rem; }
	.cat-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; padding-bottom: 6px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
	.cat-row::-webkit-scrollbar { display: none; }
	.cat-row li { flex: 0 0 84px; scroll-snap-align: start; }
	.cat-tile { font-size: .8rem; }
	.cat-tile__img { border-radius: 20px; }
	.pgrid { gap: 12px; }
	.pcard { border-radius: 18px; }
	.pcard__link, .pcard--wide .pcard__link { min-height: 0; padding: 16px; grid-template-columns: 1fr; grid-template-rows: auto; grid-template-areas: "text" "media" "sw" "price"; }
	.pcard__title { font-size: 1.02rem; }
	.pcard--wide .pcard__title { font-size: 1.3rem; }
	.pcard__tagline { font-size: .84rem; }
	.pcard__media, .pcard--wide .pcard__media { justify-self: center; margin-block: 8px; }
	.pcard__img { max-width: 150px; max-height: 150px; }
	.pcard--wide .pcard__img { max-width: 240px; max-height: 220px; }
	.pcard__price { font-size: 1.05rem; }
	.pcard--all { min-height: 0; padding: 18px; }
	.pcard--all__label { font-size: 1.1rem; }
	.pcard--all__img img { max-width: 110px; }
	.banner { grid-template-columns: 1fr; text-align: left; min-height: 0; }
	.cond-split { grid-template-columns: 1fr; gap: 12px; margin-bottom: 28px; }
	.cond-card { min-height: 0; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); }
	.cond-card__img img { max-height: 120px; }
	.cond-report dl > div { grid-template-columns: 1fr; gap: 2px; }
	.grade-legend ul { grid-template-columns: 1fr; }
	.banner__media img, .banner__img { max-height: 170px; margin: 0 auto; }
	.benefits { gap: 12px; }
	.benefit--card { padding: 18px 14px; }
	.trust { grid-template-columns: 1fr; }
	.u-columns { grid-template-columns: 1fr; }
	.footer__grid { grid-template-columns: 1fr; gap: 0; }
	.footer__col { border-bottom: 1px solid var(--c-line); }
	.footer__col summary { margin: 0; padding: 14px 0; cursor: pointer; }
	.footer__col summary .icon { display: block; transition: transform .2s; }
	.footer__col[open] summary .icon { transform: rotate(180deg); }
	.footer__col ul { padding-bottom: 14px; }
	.footer__contact { padding-top: 16px; border: 0; }
	.benefits--footer { grid-template-columns: 1fr; }
	.buybar__price { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
