/* ==========================================================================
 * One Six Toolkit — base: tokens, type, buttons, utilities.
 *
 * Every widget renders inside `.os`. Component rules are written as
 * `.os .os-x` (0,2,0) so they beat Hello's resets (`a`, `button:hover` at
 * 0,1,1) and Elementor's `.elementor img { height: auto }` (0,1,1), while
 * Elementor's own control CSS ({{WRAPPER}} …, 0,3,0+) still wins over them.
 *
 * Token names are prefixed (--os-…): never reuse Elementor's container
 * variables (--display, --gap, --width, --padding-*, --content-width).
 * ======================================================================== */

:root {
	/* Palette (retune here). */
	--os-ink: #111111;      /* text, solid buttons */
	--os-paper: #ffffff;    /* page and cards */
	--os-mist: #f5f3ef;     /* warm grey panels (checkout summary, image wells) */
	--os-line: #e4e1dc;     /* hairlines, field borders */
	--os-mute: #6b6762;     /* secondary text */
	--os-accent: #a4532e;   /* clay: tape marker, focus, small details only */
	--os-stone: #eeeeec;    /* image wells — matches the studio photo backdrop */
	--os-deep: #1c1b1a;     /* dark sections, hover on solid buttons */
	--os-soft: #ebe8e3;     /* hover wells, chips */
	--os-grey: #4a4743;     /* dark grey accent */

	--os-font-sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--os-font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
	--os-pad: clamp(16px, 3.6vw, 56px);
	--os-max: 1440px;
	--os-ease: cubic-bezier(.16, 1, .3, 1);
	--os-r: 0px;            /* cards, images, fields */
	--os-r-btn: 0px;        /* buttons */

	--os-fs-display: clamp(44px, 6.6vw, 104px);
	--os-fs-h2: clamp(32px, 4vw, 60px);
	--os-fs-lead: clamp(16px, 1.3vw, 19px);
}

body.os-site {
	margin: 0;
	background: var(--os-paper);
	color: var(--os-ink);
	font: 400 16px/1.6 var(--os-font-sans);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}
/* iOS Safari doesn't take overflow-x from <body>: also on <html>. */
html:has(body.os-site) { overflow-x: hidden; }
body.os-site .site-main,
body.os-site .page-content { margin: 0; padding: 0; max-width: none; }

.os {
	position: relative;
	font-family: var(--os-font-sans);
	color: var(--os-ink);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
.os *, .os *::before, .os *::after { box-sizing: border-box; }
.os img, .os video, .os svg { display: block; max-width: 100%; }
.os a { color: inherit; }
.os h1, .os h2, .os h3, .os h4, .os p, .os figure, .os ul, .os ol, .os dl, .os dd, .os blockquote { margin: 0; }
.os ul, .os ol { padding: 0; list-style: none; }
.os h1, .os h2 { font-family: var(--os-font-serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.05; color: inherit; }
.os h3, .os h4 { font-family: var(--os-font-sans); font-weight: 500; letter-spacing: 0; line-height: 1.25; color: inherit; }
.os button, .os input, .os select, .os textarea { font-family: var(--os-font-sans); }
.os :focus-visible { outline: 2px solid var(--os-accent); outline-offset: 3px; }

.os .os-wrap { max-width: var(--os-max); margin: 0 auto; padding: 0 var(--os-pad); }
.os .os-sr, .os-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.os .os-lead { font-size: var(--os-fs-lead); color: var(--os-mute); max-width: 44ch; }
.os .os-link { font-weight: 500; text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
.os .os-link:hover { text-decoration-thickness: 2px; }

/* Sections sit above anything a hero layers under them. */
.elementor .os { z-index: 2; }

/* ---------------------------------------------------------------- buttons */
.os .os-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 52px; padding: 0 30px;
	border-radius: var(--os-r-btn); border: 1px solid currentColor;
	font-family: var(--os-font-sans); font-size: 13px; font-weight: 500; line-height: 1;
	letter-spacing: .14em; text-transform: uppercase;
	text-decoration: none; cursor: pointer; white-space: nowrap;
	transition: background-color .25s, color .25s, border-color .25s, transform .3s var(--os-ease);
}
.os .os-btn--solid { background-color: var(--os-ink); border-color: var(--os-ink); color: var(--os-paper); }
.os .os-btn--solid:hover, .os .os-btn--solid:focus-visible { background-color: var(--os-deep); border-color: var(--os-deep); color: var(--os-paper); }
.os .os-btn--line { background-color: transparent; color: var(--os-ink); }
.os .os-btn--line:hover, .os .os-btn--line:focus-visible { background-color: var(--os-ink); color: var(--os-paper); border-color: var(--os-ink); }
.os .os-btn--text { min-height: 0; padding: 0 0 4px; border: 0; border-bottom: 1px solid currentColor; background: none; color: var(--os-ink); font-size: 11px; letter-spacing: .18em; }
.os .os-btn--text:hover { color: var(--os-mute); }
.os .os-btn--sm { min-height: 42px; padding: 0 20px; font-size: 12px; }
.os .os-btn[disabled], .os .os-btn.is-busy { opacity: .6; pointer-events: none; }

.os.os-dark, .os .os-dark { color: var(--os-paper); }
.os.os-dark .os-btn--solid, .os .os-dark .os-btn--solid { background-color: var(--os-paper); border-color: var(--os-paper); color: var(--os-ink); }
.os.os-dark .os-btn--solid:hover, .os .os-dark .os-btn--solid:hover { background-color: var(--os-soft); border-color: var(--os-soft); color: var(--os-ink); }
.os.os-dark .os-btn--line, .os .os-dark .os-btn--line { color: var(--os-paper); }
.os.os-dark .os-btn--line:hover, .os .os-dark .os-btn--line:hover { background-color: var(--os-paper); color: var(--os-ink); border-color: var(--os-paper); }

/* Plain reset for <button>s the widgets use as controls (beats Hello's pink hover). */
.os .os-plain { background-color: transparent; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.os .os-plain:hover, .os .os-plain:focus { background-color: transparent; color: inherit; }

/* ---------------------------------------------------------------- page hero + first section
   The hero's bottom padding and the next section's top padding would stack into a big gap. */
.e-con:has(.os.os-ph) + .e-con .os.os-rt,
.e-con:has(.os.os-ph) + .e-con .os.os-shop-a,
.e-con:has(.os.os-ph) + .e-con .os.os-pg { padding-top: clamp(8px, 1.6vw, 24px); }
.e-con:has(.os.os-ph:not(.is-split):not(.is-image)) + .e-con .os.os-cat { padding-top: 0; }

/* ---------------------------------------------------------------- other plugins' forms inside One Six text
   WPForms (contact, returns) and WooCommerce order tracking. */
.os.os-rt .wpforms-container { margin: 24px 0 0; }
.os.os-rt input[type="text"], .os.os-rt input[type="email"], .os.os-rt input[type="tel"], .os.os-rt input[type="number"], .os.os-rt textarea, .os.os-rt select,
.os.os-rt .wpforms-form input.wpforms-field-medium, .os.os-rt .wpforms-form textarea.wpforms-field-medium { max-width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--os-line); border-radius: var(--os-r); background: #fff; box-shadow: none; font-family: var(--os-font-sans); font-size: 15px; color: var(--os-ink); }
.os.os-rt textarea, .os.os-rt .wpforms-form textarea.wpforms-field-medium { min-height: 140px; }
.os.os-rt input:focus, .os.os-rt textarea:focus, .os.os-rt select:focus { border-color: var(--os-ink); outline: none; box-shadow: none; }
.os.os-rt .wpforms-form .wpforms-field-label, .os.os-rt label { font-family: var(--os-font-sans); font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--os-ink); }
.os.os-rt .wpforms-form button[type="submit"], .os.os-rt .wpforms-form .wpforms-submit, .os.os-rt button[type="submit"], .os.os-rt input[type="submit"], .os.os-rt .track_order .button {
	display: inline-flex !important; align-items: center; justify-content: center; min-height: 52px !important; padding: 0 30px !important;
	border: 1px solid var(--os-ink) !important; border-radius: var(--os-r-btn) !important; background: var(--os-ink) !important; color: var(--os-paper) !important;
	font-family: var(--os-font-sans) !important; font-size: 13px !important; font-weight: 500 !important; letter-spacing: .14em; text-transform: uppercase; line-height: 1 !important; cursor: pointer;
}
.os.os-rt .wpforms-form button[type="submit"]:hover, .os.os-rt button[type="submit"]:hover, .os.os-rt input[type="submit"]:hover, .os.os-rt .track_order .button:hover { background: var(--os-deep) !important; }
.os.os-rt .os-rt-kicker { margin: 40px 0 -8px; font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--os-mute); }

/* ---------------------------------------------------------------- section heading row */
.os .os-sec-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.6vw, 48px); }
.os .os-sec-head .os-h2 { font-size: var(--os-fs-h2); max-width: 16ch; }

/* ---------------------------------------------------------------- toast */
.os-toast {
	position: fixed; z-index: 9990; right: 20px; bottom: 20px;
	display: flex; align-items: center;
	width: 420px; max-width: calc(100vw - 40px);
	background: var(--os-ink); color: #fff; border-radius: var(--os-r);
	box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .55);
	font: 400 15px/1.4 var(--os-font-sans);
	transform: translateY(calc(100% + 40px)); visibility: hidden;
	transition: transform .5s var(--os-ease), visibility 0s .5s;
}
.os-toast.is-on { transform: none; visibility: visible; transition: transform .5s var(--os-ease); }
.os-toast.is-error { background: #6b1d1d; }
.os-toast .os-toast__main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; padding: 12px 6px 12px 12px; color: #fff; text-decoration: none; }
.os-toast a.os-toast__main:hover .os-toast__go, .os-toast a.os-toast__main:focus-visible .os-toast__go { background: #fff; color: var(--os-ink); }
.os-toast a.os-toast__main:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.os-toast img { flex: none; width: 46px; height: 58px; object-fit: cover; background: var(--os-mist); }
.os-toast img[src=""], .os-toast img[hidden] { display: none; }
.os-toast .os-toast__txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.os-toast b { display: block; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.os-toast .os-toast__txt span { font-size: 14px; color: rgba(255, 255, 255, .72); }
.os-toast .os-toast__go { flex: none; display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .5); border-radius: var(--os-r-btn); font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; transition: background-color .2s, color .2s; }
.os-toast .os-toast__go[hidden] { display: none; }
.os-toast .os-toast__x { flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin-right: 6px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: rgba(255, 255, 255, .7); cursor: pointer; }
.os-toast .os-toast__x:hover, .os-toast .os-toast__x:focus-visible { background: rgba(255, 255, 255, .12); color: #fff; }
.os-toast .os-toast__x svg { width: 18px; height: 18px; }
@media (max-width: 600px) {
	/* Phones: a full-width bar above the home indicator; the whole bar opens the bag. */
	.os-toast { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); width: auto; max-width: none; }
	.os-toast .os-toast__main { gap: 12px; padding: 10px 4px 10px 10px; }
	.os-toast img { width: 42px; height: 52px; }
	.os-toast .os-toast__go { min-height: 36px; padding: 0 14px; }
	.os-toast .os-toast__x { width: 36px; height: 36px; margin-right: 4px; }
}

@media (prefers-reduced-motion: reduce) {
	/* transition: none (not a tiny duration): a near-zero transition on font-size breaks fit scripts. */
	.os *, .os *::before, .os *::after, .os-toast { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
