/* Heftwell — shared styles: reset, layout, header, hero, catalogue, rails, footer, cart, cookie bar */

:root {
	--ink: #29241f;
	--ink-soft: #5b524a;
	--muted: #8a7f73;
	--oat: #f7f2e9;
	--oat-2: #eee5d5;
	--paper: #ffffff;
	--line: #e3d9c8;
	--sage: #5d7765;
	--sage-d: #3f5547;
	--clay: #b8683f;
	--gold: #e7c48e;
	--bad: #b3372a;
	--shadow: 0 10px 30px rgba(41, 36, 31, .09);
	--shadow-lg: 0 24px 60px rgba(41, 36, 31, .16);
	--r: 14px;
	--wrap: 1180px;
	--head-h: 76px;
	--serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
	--sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 12px); -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--oat);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

body.cart-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 700; line-height: 1.18; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: .55em; }
h3 { font-size: 1.28rem; margin-bottom: .45em; }
h4 { font-size: 1.05rem; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- buttons ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
	font-weight: 700; font-size: .95rem; line-height: 1.2; text-align: center;
	transition: background .22s, color .22s, border-color .22s, transform .22s, box-shadow .22s;
}
.btn:hover { transform: translateY(-2px); }
.btn-solid { background: var(--sage-d); color: #fff; border-color: var(--sage-d); }
.btn-solid:hover { background: var(--sage); border-color: var(--sage); box-shadow: 0 8px 20px rgba(63, 85, 71, .3); }
.btn-ghost { background: transparent; color: var(--sage-d); border-color: var(--sage-d); }
.btn-ghost:hover { background: var(--sage-d); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }

.arrow-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--sage-d); }
.arrow-btn i { transition: transform .22s; }
.arrow-btn:hover i { transform: translateX(5px); }

/* ---------- header ---------- */
.site-head {
	position: sticky; top: 0; z-index: 60;
	background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.head-inner { width: min(var(--wrap), 100% - 40px); margin: 0 auto; height: var(--head-h); display: flex; align-items: center; gap: 28px; }
.brand { display: block; flex: none; }
.brand img { width: 176px; height: 64px; object-fit: cover; object-position: center; }

.nav_links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav_links > a { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: .96rem; transition: background .2s, color .2s; }
.nav_links > a:hover { background: var(--oat-2); color: var(--sage-d); }
.nav-ico { color: var(--sage); font-size: 1.1rem; }
.nav-mob-actions { display: none; }

.head-actions { display: flex; align-items: center; gap: 10px; }
.head-actions .btn { padding: 9px 20px; }

.burger { display: none; width: 44px; height: 44px; margin-left: auto; padding: 0; background: transparent; border: 0; border-radius: 10px; position: relative; }
.burger span { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s, top .25s; }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 28px; }
.burger.on span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger.on span:nth-child(2) { opacity: 0; }
.burger.on span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(82vh, 760px); display: flex; align-items: center; color: #fff; overflow: hidden; background: #2d2822; }
.hero-media, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media img { object-fit: cover; }
.hero-ov { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(27, 22, 17, .82) 0%, rgba(27, 22, 17, .5) 55%, rgba(27, 22, 17, .2) 100%); }
.heroInner { position: relative; width: min(var(--wrap), 100% - 40px); margin: 0 auto; padding: 90px 0 110px; }
.hero h1 { max-width: 780px; margin-bottom: 28px; }
.hl-accent { color: var(--gold); font-style: italic; }

.pickform { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; max-width: 760px; padding: 8px; background: #fff; border-radius: 999px; box-shadow: var(--shadow-lg); color: var(--ink); }
.pick-pre { display: inline-flex; align-items: center; gap: 6px; padding: 0 12px 0 16px; color: var(--sage-d); font-weight: 700; }
.pick-sel, .pick-field { flex: 1 1 150px; min-width: 0; height: 48px; padding: 0 16px; border: 0; border-left: 1px solid var(--line); background: transparent; border-radius: 0; outline: none; }
.pick-sel:focus, .pick-field:focus { background: var(--oat); }
.pick-go { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 48px; padding: 0 26px; border: 0; border-radius: 999px; background: var(--sage-d); color: #fff; font-weight: 700; transition: background .2s; }
.pick-go:hover { background: var(--clay); }
.pick-out { min-height: 1.6em; margin: 16px 0 0; max-width: 760px; font-weight: 600; color: var(--gold); }
.pick-out.bad { color: #ffb4a6; }
.hero-note { max-width: 620px; margin: 8px 0 0; color: rgba(255, 255, 255, .86); font-size: .98rem; }
.hero-note .u { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.hero-note a { text-decoration: underline; text-underline-offset: 3px; }
.scrolldown { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; font-size: 1.5rem; animation: nudge 2.2s ease-in-out infinite; }
.heroInner .scrolldown { position: absolute; }

/* ---------- stats ---------- */
.statband { background: var(--sage-d); color: #fff; padding: 56px 0 60px; }
.stat-head { text-align: center; font-size: 1.25rem; font-weight: 400; opacity: .85; margin-bottom: 30px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px; text-align: center; }
.stat b { display: block; font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.05; color: var(--gold); }
.stat span { display: block; margin-top: 8px; font-size: .95rem; opacity: .86; }

/* ---------- generic sections ---------- */
.sec { padding: 92px 0; }
.sec-alt { background: var(--oat-2); }
.eyebrow { margin: 0 0 12px; color: var(--clay); font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sec-lead { max-width: 700px; margin: 0 0 40px; color: var(--ink-soft); font-size: 1.06rem; }

.fx { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.fx.in { opacity: 1; transform: none; }

/* ---------- product catalogue ---------- */
.products { padding: 92px 0; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 26px; }
.pcard { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.pcard-pic { position: relative; aspect-ratio: 520 / 380; overflow: hidden; background: var(--oat-2); }
.pcard-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pcard:hover .pcard-pic img { transform: scale(1.05); }
.pribon, .ribon { display: inline-block; padding: 5px 12px; background: var(--sage-d); color: #fff; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .03em; }
.pcard-pic .pribon { position: absolute; top: 14px; left: 14px; }
.pcard-body { display: flex; flex: 1; flex-direction: column; padding: 22px 22px 24px; }
.pcard-cat { margin-bottom: 8px; color: var(--clay); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pcard-body h3 { font-size: 1.22rem; }
.pcard-specs { margin: 8px 0 14px; display: grid; gap: 7px; font-size: .92rem; color: var(--ink-soft); }
.pcard-specs li { display: flex; gap: 9px; line-height: 1.45; }
.pcard-specs i { flex: none; color: var(--sage); font-size: 1.1rem; line-height: 1.3; }
.pcard-desc { color: var(--ink-soft); font-size: .93rem; }
.pcard-foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.pcard-price { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; }
.pcard-add { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border: 0; border-radius: 999px; background: var(--sage-d); color: #fff; font-weight: 700; font-size: .9rem; transition: background .2s, transform .2s; }
.pcard-add:hover { background: var(--clay); }
.pcard-add.added { background: var(--clay); transform: scale(.96); }

/* ---------- rails (horizontal scrollers) ---------- */
.rail-box { position: relative; }
.rail { display: flex; gap: 22px; overflow-x: auto; padding: 6px 4px 22px; scroll-snap-type: x proximity; scrollbar-width: none; cursor: grab; }
.rail::-webkit-scrollbar { display: none; }
.rail-arr { position: absolute; top: calc(50% - 22px); z-index: 3; width: 46px; height: 46px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: #fff; color: var(--sage-d); font-size: 1.5rem; box-shadow: var(--shadow); transition: background .2s, color .2s; }
.rail-arr:hover { background: var(--sage-d); color: #fff; }
.rail-arr.left { left: -22px; }
.rail-arr.right { right: -22px; }

.r-card, .rev-card { flex: 0 0 min(340px, 82vw); scroll-snap-align: start; display: flex; flex-direction: column; padding: 26px; background: var(--paper); border-radius: var(--r); box-shadow: var(--shadow); user-select: none; }
.r-card p { color: var(--ink-soft); font-size: .95rem; }
.r-card .ribon { align-self: flex-start; margin-bottom: 14px; }
.r-loc { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; color: var(--ink-soft); font-size: .9rem; font-weight: 600; }
.r-loc i { color: var(--clay); }
.r-price { margin-top: 6px; font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: var(--sage-d); }
.stars { display: flex; gap: 3px; margin-bottom: 14px; color: #e0a526; font-size: 1.1rem; }
.rev-card p { font-family: var(--serif); font-style: italic; color: var(--ink-soft); }
.rev-card b { margin-top: auto; }
.rev-meta { color: var(--muted); font-size: .86rem; }

/* ---------- materials tiles ---------- */
.tilegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 30px 14px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); text-align: center; transition: transform .25s, border-color .25s, box-shadow .25s; }
.tile:hover { transform: translateY(-4px); border-color: var(--sage); box-shadow: var(--shadow); }
.tile > i { font-size: 2.1rem; color: var(--sage); }
.tile b { font-family: var(--serif); font-size: 1.02rem; line-height: 1.25; }
.tag { position: absolute; top: 10px; right: 10px; padding: 3px 9px; background: var(--oat-2); border-radius: 999px; color: var(--sage-d); font-size: .72rem; font-weight: 800; }

/* ---------- step blocks (text + picture) ---------- */
.step { padding: 84px 0; }
.step-tint { background: var(--oat-2); }
.step-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.step-text p { color: var(--ink-soft); }
.step-text .btn { margin: 12px 12px 0 0; }
.step-img img { width: 100%; aspect-ratio: 760 / 560; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-lg); }

/* ---------- services ---------- */
.svc-grd { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 26px; }
.svc { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.svc-pic { aspect-ratio: 520 / 360; overflow: hidden; }
.svc-pic img { width: 100%; height: 100%; object-fit: cover; }
.svc-body { position: relative; display: flex; flex: 1; flex-direction: column; padding: 26px 24px 26px; }
.px { align-self: flex-start; margin-bottom: 12px; padding: 5px 14px; background: var(--clay); color: #fff; border-radius: 999px; font-size: .85rem; font-weight: 800; }
.svc-body p { color: var(--ink-soft); font-size: .96rem; }
.svc-list { display: grid; gap: 7px; margin-bottom: 20px; font-size: .92rem; color: var(--ink-soft); }
.svc-list li { display: flex; gap: 9px; }
.svc-list i { flex: none; color: var(--sage); font-size: 1.1rem; line-height: 1.4; }
.svc-body .arrow-btn { margin-top: auto; }

/* ---------- articles ---------- */
.artgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 26px; }
.art { display: flex; flex-direction: column; }
.art img { width: 100%; aspect-ratio: 420 / 260; object-fit: cover; border-radius: var(--r); margin-bottom: 16px; }
.art h3 { font-size: 1.15rem; }
.meta { display: block; margin-bottom: 10px; color: var(--muted); font-size: .84rem; }
.art p { color: var(--ink-soft); font-size: .94rem; }
.art .arrow-btn { margin-top: auto; }

/* ---------- FAQ (shared with about / contact) ---------- */
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.faq { padding: 26px 28px; background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--sage); border-radius: var(--r); }
.faq h3 { font-size: 1.1rem; }
.faq p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* ---------- call-to-action band ---------- */
.ctaband { padding: 60px 0; background: var(--clay); text-align: center; }
.ctaband a { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-family: var(--serif); font-size: clamp(1.25rem, 2.8vw, 1.9rem); font-weight: 700; }
.ctaband a i { transition: transform .25s; }
.ctaband a:hover i { transform: translateX(8px); }

/* ---------- page head / breadcrumbs / legal ---------- */
.pagehead { padding: 64px 0 58px; background: var(--oat-2); border-bottom: 1px solid var(--line); }
.pagehead h1 { max-width: 860px; font-size: clamp(2rem, 4.2vw, 3.1rem); margin-bottom: 18px; }
.pagehead p { max-width: 720px; margin: 0; color: var(--ink-soft); font-size: 1.08rem; }
.crumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; font-size: .88rem; color: var(--muted); }
.crumbs a { color: var(--sage-d); font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }

.legal-main { padding: 72px 0 96px; }
.legal-head, .legal-body { max-width: 820px; margin-left: auto; margin-right: auto; }
.legal-head { margin-bottom: 36px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
.legal-head h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 14px; }
.legal-head p { margin: 0; color: var(--ink-soft); }
.legal-body h2 { margin: 1.9em 0 .5em; font-size: 1.4rem; }
.legal-body p, .legal-body li { color: var(--ink-soft); }
.legal-body a { color: var(--sage-d); text-decoration: underline; text-underline-offset: 3px; }
.legal-list { display: grid; gap: 10px; margin: 0 0 1.2em; }
.legal-list li { display: flex; gap: 10px; }
.legal-list i { flex: none; color: var(--sage); font-size: 1.15rem; line-height: 1.55; }

/* ---------- footer ---------- */
.foot { padding: 72px 0 0; background: #231f1b; color: rgba(255, 255, 255, .78); }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 36px; padding-bottom: 52px; }
.f-logo { width: 190px; height: 66px; object-fit: cover; margin-bottom: 18px; filter: brightness(0) invert(1); }
.f-brand p { font-size: .94rem; max-width: 380px; }
.f-col h4 { margin-bottom: 16px; color: #fff; font-family: var(--sans); font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.f-col li { margin-bottom: 9px; font-size: .94rem; }
.f-col a:hover { color: var(--gold); }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.f-contact i { flex: none; color: var(--gold); font-size: 1.1rem; line-height: 1.5; }

.sub-form { display: flex; gap: 8px; max-width: 400px; margin-top: 18px; }
.sub-form input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .07); color: #fff; outline: none; }
.sub-form input::placeholder { color: rgba(255, 255, 255, .5); }
.sub-form input:focus { border-color: var(--gold); }
.sub-form button { flex: none; height: 46px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--gold); color: var(--ink); font-weight: 800; transition: background .2s; }
.sub-form button:hover { background: #fff; }
.sub-msg { min-height: 1.4em; margin: 8px 0 0; font-size: .86rem; color: var(--gold); }

.legalbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 22px 0 26px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .86rem; color: rgba(255, 255, 255, .55); }
.legal-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.legal-links a:hover { color: var(--gold); }

/* ---------- cart ---------- */
.cart-floating-btn { position: fixed; right: 22px; bottom: 22px; z-index: 70; }
.cart-fab { position: relative; width: 60px; height: 60px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--sage-d); color: #fff; font-size: 1.55rem; box-shadow: var(--shadow-lg); transition: transform .2s, background .2s; }
.cart-fab:hover { background: var(--clay); }
.cart-fab.bump { animation: bump .4s ease; }
.cart-badge { position: absolute; top: -4px; right: -4px; min-width: 24px; height: 24px; padding: 0 6px; display: none; place-items: center; border-radius: 12px; background: var(--clay); border: 2px solid var(--oat); color: #fff; font-size: .75rem; font-weight: 800; line-height: 1; }
.cart-badge.on { display: grid; }

.cart-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(27, 22, 17, .5); opacity: 0; pointer-events: none; transition: opacity .3s; }
.cart-backdrop.show { opacity: 1; pointer-events: auto; }
.cart-sidebar { position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: min(430px, 100%); display: flex; flex-direction: column; background: #fff; box-shadow: var(--shadow-lg); transform: translateX(105%); transition: transform .35s ease; }
.cart-sidebar.open { transform: none; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.cart-head h3 { margin: 0; }
.cart-close { width: 40px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--oat); font-size: 1.3rem; }
.cart-close:hover { background: var(--oat-2); }
.cart-empty { margin: 0; padding: 30px 24px; color: var(--ink-soft); }
.cart-empty.hide { display: none; }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.citem { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.citem-pic { width: 76px; height: 76px; overflow: hidden; border-radius: 10px; background: var(--oat-2); }
.citem-pic img { width: 100%; height: 100%; object-fit: cover; }
.citem-name { margin: 0 0 2px; font-weight: 700; font-size: .95rem; line-height: 1.3; }
.citem-price { margin: 0 0 8px; color: var(--muted); font-size: .84rem; }
.citem-row { display: flex; align-items: center; justify-content: space-between; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 34px; height: 32px; padding: 0; border: 0; background: transparent; font-size: 1.1rem; }
.qty button:hover { background: var(--oat-2); }
.qty span { min-width: 28px; text-align: center; font-weight: 700; font-size: .92rem; }
.citem-del { width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--bad); font-size: 1.15rem; }
.citem-del:hover { background: #fbe9e6; }
.cart-foot { padding: 20px 24px 26px; border-top: 1px solid var(--line); background: var(--oat); }
.cart-sum { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.cart-sum b { font-family: var(--serif); font-size: 1.6rem; }
.cart-hint { color: var(--muted); font-size: .82rem; }
.cart-checkout { display: block; padding: 14px 20px; border-radius: 999px; background: var(--sage-d); color: #fff; text-align: center; font-weight: 800; transition: background .2s; }
.cart-checkout:hover { background: var(--clay); }
.cart-checkout.off { opacity: .45; pointer-events: none; }

/* ---------- cookie bar ---------- */
.cookiebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; background: #231f1b; color: #fff; box-shadow: 0 -10px 30px rgba(0, 0, 0, .25); }
.cb-inner { width: min(var(--wrap), 100% - 40px); margin: 0 auto; padding: 18px 0; display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap; }
.cb-text { flex: 1 1 420px; margin: 0; font-size: .92rem; color: rgba(255, 255, 255, .85); }
.cb-text a { color: var(--gold); text-decoration: underline; }
.cb-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.cb-acts .btn { padding: 10px 20px; font-size: .9rem; }
.cb-panel { width: min(var(--wrap), 100% - 40px); margin: 0 auto; padding: 4px 0 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.cb-panel label { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; }
.cb-panel input { width: 18px; height: 18px; accent-color: var(--gold); }

/* ---------- motion ---------- */
@keyframes nudge { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
@keyframes bump { 0%, 100% { transform: scale(1); } 45% { transform: scale(1.18); } }

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

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
	.rail-arr.left { left: 4px; }
	.rail-arr.right { right: 4px; }
}

@media (max-width: 960px) {
	:root { --head-h: 68px; }
	.burger { display: block; }
	.head-actions { display: none; }
	.nav_links {
		position: absolute; top: 100%; left: 0; right: 0; margin: 0;
		flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 20px 22px;
		background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
		visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none;
		transition: opacity .22s, transform .22s, visibility .22s;
	}
	.nav_links.open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; }
	.nav_links > a { padding: 13px 14px; border-radius: 10px; }
	.nav-mob-actions { display: grid; gap: 10px; margin-top: 10px; }
	.step-grid { grid-template-columns: 1fr; gap: 34px; }
	.step-grid.rev .step-img { order: -1; }
	.foot-grid { grid-template-columns: 1fr 1fr; }
	.f-brand { grid-column: 1 / -1; }
	.faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	body { font-size: 16px; }
	.sec, .products, .step { padding: 64px 0; }
	.heroInner { padding: 64px 0 100px; }
	.pickform { border-radius: 22px; padding: 12px; }
	.pick-pre { width: 100%; padding: 0 4px 6px; }
	.pick-sel, .pick-field { flex-basis: 100%; border-left: 0; border-top: 1px solid var(--line); }
	.pick-go { width: 100%; justify-content: center; margin-top: 6px; }
	.foot-grid { grid-template-columns: 1fr; gap: 32px; }
	.pgrid { grid-template-columns: 1fr; }
	.rail-arr { display: none; }
	.cart-floating-btn { right: 14px; bottom: 14px; }
	.cb-acts { width: 100%; }
	.cb-acts .btn { flex: 1 1 auto; }
}
