/* Base: reset, typography scale (Figma "EU Web" styles), layout primitives, buttons, tags. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 16px/1.45 var(--font-text);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-d); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; text-wrap: balance; }
.t-hero { font: 400 clamp(42px, 6vw, 88px)/.94 var(--font-display); letter-spacing: -.05em; }
h1, .t-h1 { font-size: clamp(36px, 4.8vw, 64px); line-height: 1; letter-spacing: -.05em; }
h2, .t-h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1; letter-spacing: -.05em; }
h3, .t-h3 { font-size: 28px; line-height: .96; letter-spacing: -.03em; }
.t-title { font: 500 20px/24px var(--font-display); letter-spacing: -.03em; }
.t-body1 { font-size: 18px; line-height: 1.2; }
.t-body2 { font-size: 14px; line-height: 1.2; }
.t-body3 { font-size: 12px; line-height: 1.2; font-weight: 500; }
.t-caption { font-size: 12px; line-height: 1.3; }
.t-muted { color: var(--ink-70); }
.t-grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
p { margin: 0 0 1em; }

.wrap { width: var(--wrap); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--wash { background: var(--wash); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 16px;
	min-height: 45px; padding: 14px 32px; border: 0; border-radius: var(--r-pill);
	font: 500 14px/1.2 var(--font-text); text-decoration: none; cursor: pointer;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .2s;
}
.btn:hover { transform: translateY(-3px); }
.btn .btn__icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn--primary { background: var(--grad); color: #fff; box-shadow: var(--sh-btn); }
.btn--primary:hover { color: #fff; }
/* Flat fills carrying small white text use --accent-d (white on --accent is 3.3:1, below WCAG AA). */
.btn--flat { background: var(--accent-d); color: #fff; }
.btn--flat:hover { background: var(--accent-d); color: #fff; box-shadow: var(--sh-btn); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { color: var(--ink); }
.btn--ink { background: var(--ink); color: #fff; box-shadow: var(--sh-ink); }
.btn--ink:hover { color: #fff; }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--sm { min-height: 0; padding: 8px 16px; font-size: 12px; }
.btn--block { width: 100%; }

/* Tags & chips */
.tag {
	display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px;
	border-radius: var(--r-tag); font: 500 16px/16px var(--font-text); white-space: nowrap;
}
.tag--glass { background: rgba(255,255,255,.7); color: var(--ink); }
.tag--on-wash { background: var(--paper); color: var(--ink); } /* kicker sitting on a --wash band */
.tag--accent { background: var(--accent-d); color: #fff; }
.tag__icon { width: 14px; height: 14px; flex: none; color: var(--accent); }
/* Round icon badge (info strip, home trust tiles, form panels, cart shipping bar). */
.icon-circle {
	display: grid; place-items: center; width: 40px; height: 40px; flex: none;
	border-radius: 50%; background: var(--orange-100); color: var(--ink);
}
.icon-circle svg { width: 20px; height: 20px; }

/* Quantity stepper (product page, cart drawer). JS: product.js, header.js. */
.qty {
	display: inline-flex; align-items: center; height: 52px; padding: 0 4px;
	border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--paper);
}
.qty__btn {
	display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
	border: 0; border-radius: 50%; background: transparent; cursor: pointer;
}
.qty__btn:active { background: var(--wash); }
.qty__icon { width: 18px; height: 18px; }
.qty__input {
	width: 44px; height: 44px; padding: 0; border: 0; background: transparent;
	font: 500 16px/1 var(--font-text); text-align: center; -moz-appearance: textfield; appearance: textfield;
}
.qty__input::-webkit-inner-spin-button, .qty__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty__btn:disabled { opacity: .35; cursor: default; }
.qty--sm { height: 46px; padding: 0; }
.qty--sm .qty__input { width: 32px; }

/* Form field: the Woo checkout field as a component (cart.css restyles Woo's own markup with the same tokens).
   Markup: .field > .field__input[placeholder] + .field__label. The label comes after the control so it can float
   on :focus / filled; a real placeholder only shows on focus. Selects keep the label floated. */
.field { position: relative; min-width: 0; }
.field__input {
	display: block; width: 100%; min-height: var(--field-h); margin: 0; padding: 16px 12px;
	border: 1px solid var(--field-border); border-radius: var(--field-radius); background: var(--field-bg);
	font: 400 16px/20px var(--font-text); color: var(--ink); box-shadow: none;
	-webkit-appearance: none; appearance: none;
	transition: border-color .2s, box-shadow .2s, padding .2s;
}
.field__input::placeholder { color: transparent; opacity: 1; }
.field__input:focus::placeholder { color: var(--ink-70); }
.field__label {
	position: absolute; top: 14px; left: 13px; max-width: calc(100% - 26px);
	font: 400 16px/22px var(--font-text); color: var(--ink-70);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
	transform-origin: 0 0; transition: transform .2s; pointer-events: none;
}
.field__input:focus, .field__input:not(:placeholder-shown) { padding-block: 24px 8px; }
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label,
.field--select .field__label { max-width: calc((100% - 26px) / .82); transform: translateY(-8px) scale(.82); }
.field--select .field__label { max-width: calc((100% - 58px) / .82); } /* clear of the chevron */
.field__input:focus { outline: 0; border-color: var(--accent); box-shadow: var(--field-ring); }
.field__input[aria-invalid="true"] { border-color: var(--stock-out); }
textarea.field__input { min-height: 140px; resize: vertical; }
.field--select .field__input { padding: 24px 44px 8px 12px; cursor: pointer; }
.field__chev { position: absolute; top: 50%; right: 14px; width: 18px; height: 18px; translate: 0 -50%; color: var(--ink); pointer-events: none; }

/* Checkbox (same as the Woo checkout checkbox in cart.css) */
.checkbox {
	position: relative; flex: none; width: var(--check-size); height: var(--check-size); margin: 0;
	border: 1px solid var(--field-border); border-radius: var(--check-radius); background: var(--field-bg);
	-webkit-appearance: none; appearance: none; cursor: pointer;
}
.checkbox::before {
	content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px;
	border: solid var(--paper); border-width: 0 2px 2px 0; transform: rotate(45deg); opacity: 0;
}
.checkbox:checked { border-color: var(--accent); background: var(--accent); }
.checkbox:checked::before { opacity: 1; }
.checkbox:focus-visible { outline: 0; border-color: var(--accent); box-shadow: var(--field-ring); }
.checkbox[aria-invalid="true"] { border-color: var(--stock-out); }

/* Section heading with a looser display face (contact, verify): 42px/.86 → .8 from 860px. */
.t-sec { font: 500 42px/.86 var(--font-display); letter-spacing: -.05em; text-wrap: balance; }
@media (min-width: 860px) {
	.t-sec { font-size: clamp(42px, 4.2vw, 60px); line-height: .8; letter-spacing: -.06em; }
}

/* Page head (shop archive and other listing pages): tag, H1, lead. */
.page-head { padding-top: 32px; }
.page-head__tag { margin-bottom: 16px; }
.page-head__title { overflow-wrap: anywhere; }
.page-head__lead { max-width: 560px; margin: 16px 0 0; color: var(--ink-70); }
@media (min-width: 860px) {
	.page-head { padding-top: 56px; }
}

.chip { display: inline-flex; align-items: center; padding: 4px 8px; border-radius: var(--r-tag); background: var(--orange-100); font: 500 12px/1.2 var(--font-text); color: var(--ink); }

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

/* ---------- Review parts (product page, Home) ---------- */
.stars { display: inline-flex; gap: 2px; color: var(--line-2); }
.star { width: 16px; height: 16px; color: var(--line-2); }
.star--on { color: var(--accent); }
.pill-verified {
	display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: var(--r-tag);
	background: color-mix(in srgb, var(--mint) 13%, var(--paper)); color: var(--stock-in-t); font: 500 11px/1.2 var(--font-text);
}
.pill-verified__icon { width: 12px; height: 12px; }
