/* =========================================================
   base.css — tokens, reset, typography, shared components
   ========================================================= */

:root {
	--ink:        #101013;
	--ink-soft:   #3A3A42;
	--muted:      #6E6E78;
	--paper:      #FFFFFF;
	--mist:       #F3F2EE;
	--line:       #E3E1DB;
	--accent:     #E23A1E;
	--accent-ink: #FFFFFF;

	--display: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--body:    "Inter", "Helvetica Neue", Arial, sans-serif;

	--wrap:   1240px;
	--gutter: 24px;
	--radius: 4px;

	--step:   clamp(56px, 7vw, 104px);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 {
	font-family: var(--display);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.05;
	margin: 0;
}

button, input { font: inherit; }

:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

/* ---------- eyebrow ---------- */

.eyebrow {
	font-family: var(--display);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--accent);
	margin: 0 0 18px;
}

.eyebrow--light { color: rgba(255, 255, 255, 0.7); }

/* ---------- buttons ---------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 15px 28px;
	border: 1px solid transparent;
	border-radius: var(--radius);
	font-family: var(--display);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	cursor: pointer;
	transition: transform .15s ease, background-color .15s ease, color .15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn--solid { background: var(--ink);   color: var(--paper); }
.btn--solid:hover { background: var(--accent); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }

.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--accent); color: var(--accent-ink); }

/* ---------- section shell ---------- */

.section { padding-block: var(--step); }
.section--mist { background: var(--mist); }

.section__head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 40px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--line);
}

.section__title {
	font-size: clamp(28px, 3.4vw, 44px);
	text-transform: uppercase;
}

.section__link {
	font-family: var(--display);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	border-bottom: 2px solid var(--accent);
	padding-bottom: 2px;
}

/* ---------- product grid + card ---------- */

.grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px 24px;
}

.card__media {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	/* aspect-ratio: 3 / 4; */
	overflow: hidden;
	background: var(--paper);
	border-radius: var(--radius);
}

.card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
	aspect-ratio: 1/1;
}

.card:hover .card__img { transform: scale(1.05); }

.card__placeholder {
	font-family: var(--display);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	text-align: center;
	padding: 16px;
}

.card__badge {
	position: absolute;
	top: 14px; left: 14px;
	padding: 5px 10px;
	border-radius: 2px;
	background: var(--ink);
	color: var(--paper);
	font-family: var(--display);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.card__badge--sale { background: var(--accent); }

.card__action {
	position: absolute;
	left: 12px; right: 12px; bottom: 12px;
	padding: 12px;
	background: var(--ink);
	color: var(--paper);
	text-align: center;
	border-radius: 2px;
	font-family: var(--display);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .2s ease, transform .2s ease;
}

.card:hover .card__action,
.card__media:focus-visible .card__action {
	opacity: 1;
	transform: none;
}

.card__body { padding-top: 16px; }

.card__cat {
	margin: 0 0 4px;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

/* Brand reads stronger than category — on a multi-brand store it's the
   first thing shoppers scan for. */
.card__brand {
	color: var(--ink);
	font-weight: 600;
}

.card__brand::after {
	content: "·";
	margin-inline: 5px;
	color: var(--muted);
	font-weight: 400;
}

.card__title {
	font-size: 17px;
	font-weight: 600;
	letter-spacing: -0.01em;
	margin-bottom: 6px;
}

.card__title a:hover { color: var(--accent); }

.card__price { margin: 0; font-size: 15px; }
.card__price del { color: var(--muted); margin-right: 8px; }
.card__price ins { text-decoration: none; font-weight: 600; }

.card__swatches { display: flex; gap: 6px; margin-top: 12px; }

.card__swatches li {
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--swatch);
	box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18);
}

/* ---------- services / icon bar ---------- */
/* Shared: services.php renders on both the homepage and the product page,
   so these rules live here rather than in a page-specific stylesheet. */

.services { border-block: 1px solid var(--line); }

.services__inner {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 32px;
	padding-block: 52px;
}

.service {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.service__icon {
	display: grid;
	place-items: center;
	flex-shrink: 0;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line);
	border-radius: 50%;
	color: var(--accent);
}

.icon { width: 20px; height: 20px; }

.service h3 {
	font-size: 15px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-bottom: 4px;
}

.service p { margin: 0; font-size: 14px; color: var(--muted); }

/* ---------- star rating ---------- */
/* Shared: used by the product page rating and the testimonials slider. */

.review__star .icon { width: 16px; height: 16px; }
.review__star.is-on { color: var(--accent); }
.review__star.is-on .icon { fill: currentColor; }