/* ==========================================================================
   Sey Commerce Hub — base: fonts, design tokens, reset, primitives
   Tokens mirror the Figma "Sey Brand" / "Primitive" variable collections.
   ========================================================================== */

@font-face {
	font-family: "Geist";
	src: url("../fonts/Geist-Variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Geist Mono";
	src: url("../fonts/GeistMono-Variable.woff2") format("woff2");
	font-weight: 100 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Anton";
	src: url("../fonts/anton-latin-400-normal.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Anton";
	src: url("../fonts/anton-latin-ext-400-normal.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	/* Colour — Sey Brand */
	--c-accent: #ffd400;         /* color/accent · Sey Yellow */
	--c-accent-hover: #f0c800;
	--c-accent-soft: #fff8d6;    /* color/accent-soft */
	--c-ink: #0a0a0a;            /* color/ink · Sey Ink */
	--c-text: #1a1a1a;           /* Neutral-800 */
	--c-text-2: #3c3c3c;
	--c-text-3: #484848;
	--c-muted: #6b6b6b;
	--c-subtle: #6e6e6e;         /* darkened from #7a7a7a for WCAG AA small text */
	--c-faint: #c1c1c1;
	--c-line: #e2e2e2;
	--c-line-2: #eaeaea;
	--c-surface: #f2f2f2;        /* Gray-300 */
	--c-paper: #f7f7f7;          /* color/paper */
	--c-white: #ffffff;
	--c-dark: #1a1a1a;           /* footer / dark panels */
	--c-dark-2: #2a2a2a;
	--c-dark-line: #363636;
	--c-sale: #d92d20;
	--c-ok: #12805c;
	--c-ok-soft: #e6f4ee;
	--c-ok-text: #0f7253;         /* --c-ok darkened for text on tints (AA) */
	--c-sale-text: #c4271b;       /* --c-sale darkened for text on tints (AA) */
	--c-ok-tint: #f4fbf7;
	--c-info: #1f4fb8;
	--c-info-soft: #e8f0ff;
	--c-warn-soft: #fff8d6;
	--c-error-soft: #fdecea;

	/* Type */
	--f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	--f-display: "Anton", "Impact", "Arial Narrow", sans-serif;

	--fs-xxs: 11px;
	--fs-xs: 12px;
	--fs-sm: 14px;
	--fs-md: 16px;
	--fs-lg: 18px;
	--fs-xl: 20px;
	--fs-2xl: 24px;
	--fs-3xl: 32px;
	--fs-4xl: 40px;

	/* Spacing — space/* */
	--s-1: 4px;
	--s-2: 8px;
	--s-3: 12px;
	--s-4: 16px;
	--s-5: 20px;
	--s-6: 24px;
	--s-8: 32px;
	--s-10: 40px;
	--s-12: 48px;
	--s-14: 56px;
	--s-16: 64px;
	--s-20: 80px;
	--s-24: 96px;

	/* Radius — radius/* */
	--r-xs: 2px;
	--r-sm: 4px;
	--r-md: 8px;
	--r-lg: 12px;
	--r-xl: 16px;
	--r-2xl: 24px;
	--r-pill: 999px;

	/* Elevation */
	--sh-card: 0 1px 2px rgba(0, 0, 0, .04);
	--sh-pop: 0 18px 40px rgba(10, 10, 10, .25);
	--sh-soft: 0 2px 4px rgba(10, 10, 10, .04);
	--blur: blur(16px);

	/* Layout */
	--content: 1336px;
	--gutter: 52px;
	--header-h: 162px;
	--focus: 0 0 0 3px rgba(255, 212, 0, .65);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

@media (max-width: 1199px) { :root { --gutter: 32px; } }
@media (max-width: 767px)  { :root { --gutter: 16px; } }

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
	margin: 0;
	font-family: var(--f-sans);
	font-size: var(--fs-sm);
	line-height: 1.45;
	color: var(--c-text);
	background: var(--c-white);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; }
ul[role="list"], ol[role="list"], .list-reset { list-style: none; }
table { border-collapse: collapse; width: 100%; }
hr { border: 0; border-top: 1px solid var(--c-line); margin: var(--s-6) 0; }
:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 2px; box-shadow: var(--focus); border-radius: 2px; }
::selection { background: var(--c-accent); color: var(--c-ink); }

[hidden] { display: none !important; }
.screen-reader-text, .sr-only {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
	top: 0; left: 0; /* never stretch a scroll container or the page */
}
/* Horizontal scrollers contain their absolutely positioned children. */
.cat-tiles, .pbc__grid, .pbc__tabs, .subcats, .wizard__steps, .help__nav ul, .carousel__track, [data-carousel-track], .woocommerce-tabs ul.tabs, .pdp-gallery__track { position: relative; }
.screen-reader-text:focus {
	background: var(--c-white); clip: auto !important; clip-path: none; color: var(--c-ink);
	display: block; font-size: var(--fs-sm); font-weight: 600; height: auto; left: 8px; top: 8px;
	padding: 12px 20px; width: auto; z-index: 100000; box-shadow: var(--sh-pop);
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.container {
	width: 100%;
	max-width: calc(var(--content) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(760px + var(--gutter) * 2); }
.container--mid { max-width: calc(1024px + var(--gutter) * 2); }
.site-main { min-height: 50vh; }
.section { padding-block: var(--s-14) 0; }
.section--tight { padding-block: var(--s-8) 0; }
.section:last-child { padding-bottom: var(--s-16); }
.stack > * + * { margin-top: var(--stack, var(--s-4)); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, var(--s-3)); }
.grid { display: grid; gap: var(--gap, var(--s-6)); }
.hide-mobile { }
@media (max-width: 767px) { .hide-mobile { display: none !important; } }
@media (min-width: 768px) { .show-mobile { display: none !important; } }
@media (max-width: 1023px) { .hide-tablet { display: none !important; } }
@media (min-width: 1024px) { .show-tablet { display: none !important; } }

/* --------------------------------------------------------------------------
   Type
   -------------------------------------------------------------------------- */
.t-display {
	font-family: var(--f-display);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: -.01em;
	line-height: .92;
}
.t-headline { font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.t-eyebrow, .eyebrow {
	font-family: var(--f-mono);
	font-size: var(--fs-xxs);
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--c-muted);
	font-weight: 500;
}
.t-mono { font-family: var(--f-mono); }
.t-muted { color: var(--c-muted); }
.t-small { font-size: var(--fs-xs); }
.t-upper { text-transform: uppercase; }
.page-title { font-size: 34px; line-height: 1.5; font-weight: 800; letter-spacing: -1px; }
@media (max-width: 767px) { .page-title { font-size: 26px; line-height: 1.25; letter-spacing: -.6px; } }

.entry-content { font-size: 16px; line-height: 1.65; color: var(--c-text-2); max-width: 760px; }
.entry-content > * + * { margin-top: 1em; }
.entry-content h2 { font-size: 24px; font-weight: 800; letter-spacing: -.5px; color: var(--c-text); margin-top: 1.6em; }
.entry-content h3 { font-size: 18px; font-weight: 700; color: var(--c-text); margin-top: 1.4em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; color: var(--c-text); }

/* Section heading (Anton display, eyebrow, action link) */
.section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: var(--s-4);
	margin-bottom: var(--s-6);
}
.section-head__titles { display: grid; gap: var(--s-2); }
.section-head__title { font-family: var(--f-display); font-size: 40px; line-height: 1.1; text-transform: uppercase; font-weight: 400; letter-spacing: -.01em; }
.section-head__extra { display: flex; align-items: center; gap: var(--s-6); }
.link-arrow {
	display: inline-flex; align-items: center; gap: 6px;
	font-family: var(--f-mono); font-size: var(--fs-xs); font-weight: 500;
	text-transform: uppercase; letter-spacing: .06em; white-space: nowrap;
}
.link-arrow .icon { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.link-arrow:hover { text-decoration: none; }
.link-arrow:hover .icon { transform: translateX(3px); }
@media (max-width: 767px) {
	.section-head__title { font-size: 30px; }
	.section-head { align-items: flex-start; flex-direction: column; gap: var(--s-3); }
	.section-head > .link-arrow { align-self: flex-start; }
}

/* --------------------------------------------------------------------------
   Icons
   -------------------------------------------------------------------------- */
.icon {
	width: 20px; height: 20px; flex: none;
	fill: none; stroke: currentColor; stroke-width: 2;
	stroke-linecap: round; stroke-linejoin: round;
	display: inline-block; vertical-align: middle;
}
.icon--xs { width: 12px; height: 12px; }
.icon--sm { width: 16px; height: 16px; }
.icon--lg { width: 24px; height: 24px; }
.icon--fill { fill: currentColor; stroke: none; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn, .button, button.button, a.button, input[type="submit"].button,
.woocommerce .button, .woocommerce button.button, .woocommerce a.button {
	--btn-bg: var(--c-text);
	--btn-fg: var(--c-white);
	--btn-bd: var(--c-text);
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 28px;
	border: 1.5px solid var(--btn-bd); border-radius: var(--r-pill);
	background: var(--btn-bg); color: var(--btn-fg);
	font-family: var(--f-sans); font-size: 15px; font-weight: 700; line-height: 1;
	text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: background-color .15s var(--ease), color .15s var(--ease), border-color .15s var(--ease), transform .1s var(--ease), opacity .15s;
	-webkit-appearance: none; appearance: none;
}
.btn:hover, .button:hover { text-decoration: none; --btn-bg: #000; --btn-bd: #000; }
.btn:active, .button:active { transform: translateY(1px); }
.btn:focus-visible, .button:focus-visible { outline: 2px solid var(--c-ink); outline-offset: 2px; box-shadow: var(--focus); }
.btn .icon { width: 18px; height: 18px; }
.btn--accent, .button.alt, .woocommerce .button.alt, .woocommerce button.button.alt {
	--btn-bg: var(--c-accent); --btn-fg: var(--c-ink); --btn-bd: var(--c-accent);
}
.btn--accent:hover, .button.alt:hover { --btn-bg: var(--c-accent-hover); --btn-bd: var(--c-accent-hover); }
.btn--outline { --btn-bg: var(--c-white); --btn-fg: var(--c-text); --btn-bd: var(--c-line); }
.btn--outline:hover { --btn-bg: var(--c-white); --btn-fg: var(--c-ink); --btn-bd: var(--c-text); }
.btn--ghost-dark { --btn-bg: transparent; --btn-fg: var(--c-white); --btn-bd: rgba(255,255,255,.2); }
.btn--ghost-dark:hover { --btn-bg: rgba(255,255,255,.08); --btn-bd: rgba(255,255,255,.5); }
.btn--white { --btn-bg: var(--c-white); --btn-fg: var(--c-ink); --btn-bd: var(--c-white); }
.btn--white:hover { --btn-bg: var(--c-accent); --btn-bd: var(--c-accent); }
.btn--square { border-radius: var(--r-sm); }
.btn--mono { font-family: var(--f-mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.btn--sm { min-height: 36px; padding: 0 16px; font-size: 13px; }
.btn--lg { min-height: 52px; padding: 0 32px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--icon { width: 40px; min-height: 40px; padding: 0; border-radius: var(--r-pill); }
.btn[disabled], .btn.is-disabled, .button:disabled, .button.disabled {
	opacity: .45; cursor: not-allowed; pointer-events: none;
}
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
	content: ""; position: absolute; width: 18px; height: 18px; inset: 0; margin: auto;
	border: 2px solid var(--btn-fg); border-right-color: transparent; border-radius: 50%;
	animation: sey-spin .7s linear infinite;
}
@keyframes sey-spin { to { transform: rotate(360deg); } }

.text-link { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; background: none; border: 0; padding: 0; color: var(--c-text); cursor: pointer; }
.text-button {
	display: inline-flex; align-items: center; gap: 6px; padding: 4px 0;
	background: none; border: 0; color: var(--c-text-3); font-size: 13px; font-weight: 500; cursor: pointer;
}
.text-button:hover { color: var(--c-ink); text-decoration: underline; text-underline-offset: 3px; }
.text-button .icon { width: 16px; height: 16px; }

/* Square icon button (wishlist on cards, carousel arrows) */
.icon-btn {
	display: inline-grid; place-items: center;
	width: 32px; height: 32px; padding: 0;
	border: 0; border-radius: var(--r-sm);
	background: var(--c-white); color: var(--c-text);
	box-shadow: var(--sh-soft);
	transition: background-color .15s, color .15s, transform .15s;
}
.icon-btn:hover { background: var(--c-accent); }
.icon-btn .icon { width: 18px; height: 18px; }
.icon-btn--round { border-radius: 50%; width: 44px; height: 44px; box-shadow: 0 4px 14px rgba(0,0,0,.12); }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.field { display: grid; gap: 8px; }
.field + .field { margin-top: var(--s-4); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.field-row + .field-row, .field-row + .field, .field + .field-row { margin-top: var(--s-4); }
@media (max-width: 639px) { .field-row { grid-template-columns: minmax(0, 1fr); } }
label, .label { font-size: 14px; font-weight: 600; color: var(--c-text); }
.label .optional, label .optional { font-weight: 400; color: var(--c-muted); }
.required, abbr.required { color: var(--c-sale); text-decoration: none; border: 0; }
.hint, .description { font-size: 12px; color: var(--c-muted); line-height: 1.5; }

.input, input[type="text"], input[type="email"], input[type="tel"], input[type="password"],
input[type="number"], input[type="search"], input[type="url"], input[type="date"], select, textarea,
.select2-container--default .select2-selection--single {
	width: 100%; min-height: 44px; padding: 10px 14px;
	border: 1px solid var(--c-line); border-radius: var(--r-md);
	background: var(--c-white); color: var(--c-text);
	font-size: 15px; line-height: 1.4;
	transition: border-color .15s, box-shadow .15s;
	-webkit-appearance: none; appearance: none;
}
textarea { min-height: 96px; resize: vertical; }
select, .select {
	padding-right: 40px; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center;
}
.input::placeholder, input::placeholder, textarea::placeholder { color: #9a9a9a; }
.input:hover, input:hover, select:hover, textarea:hover { border-color: #c9c9c9; }
.input:focus, input:focus, select:focus, textarea:focus { outline: none; border-color: var(--c-text); box-shadow: 0 0 0 3px rgba(26,26,26,.08); }
input[type="checkbox"], input[type="radio"] {
	width: 18px; height: 18px; min-height: 0; padding: 0; margin: 0; flex: none;
	border: 1.5px solid #9a9a9a; background: var(--c-white); cursor: pointer;
	display: inline-grid; place-content: center; vertical-align: middle;
}
input[type="checkbox"] { border-radius: 4px; }
input[type="radio"] { border-radius: 50%; }
input[type="checkbox"]:checked { background: var(--c-text); border-color: var(--c-text); }
input[type="checkbox"]:checked::before {
	content: ""; width: 10px; height: 10px;
	background: var(--c-white);
	clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}
input[type="radio"]:checked { border-color: var(--c-text); }
input[type="radio"]:checked::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c-text); }
.check { display: flex; align-items: center; gap: 10px; font-weight: 400; cursor: pointer; }
.check > span { flex: 1; }

/* Validation states */
.field.has-error .input, .field.has-error input, .field.has-error select, .field.has-error textarea,
.woocommerce-invalid input.input-text, .woocommerce-invalid select, input[aria-invalid="true"] {
	border-color: var(--c-sale); box-shadow: 0 0 0 3px rgba(217,45,32,.08);
}
.field-error, .error-text { font-size: 12px; color: var(--c-sale); display: flex; gap: 6px; align-items: center; }
.field.has-success .input { border-color: var(--c-ok); }

/* Password field with reveal */
.password-input { position: relative; display: block; }
.password-input input { padding-right: 48px; }
.password-input .show-password-input, .password-toggle {
	position: absolute; top: 0; right: 4px; bottom: 0; width: 40px; border: 0; background: none;
	display: grid; place-items: center; color: var(--c-muted); cursor: pointer;
}
.show-password-input::after {
	content: ""; width: 18px; height: 18px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* Quantity stepper */
.qty-stepper {
	display: inline-flex; align-items: center; height: 40px;
	border: 1px solid var(--c-line); border-radius: var(--r-pill); background: var(--c-white);
}
.qty-stepper button {
	width: 40px; height: 100%; border: 0; background: none; display: grid; place-items: center; color: var(--c-text);
	border-radius: var(--r-pill);
}
.qty-stepper button:hover { background: var(--c-surface); }
.qty-stepper button:disabled { color: var(--c-faint); cursor: not-allowed; background: none; }
.qty-stepper button .icon { width: 18px; height: 18px; }
.qty-stepper input.qty, .qty-stepper input {
	width: 32px; min-height: 0; height: 100%; padding: 0; border: 0; text-align: center; font-weight: 600;
	-moz-appearance: textfield; box-shadow: none !important; background: none;
}
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-stepper--lg { height: 48px; }
.qty-stepper--lg button { width: 48px; }

/* --------------------------------------------------------------------------
   Badges, chips, pills
   -------------------------------------------------------------------------- */
.badge {
	display: inline-flex; align-items: center; gap: 4px;
	height: 16px; padding: 0 6px; border-radius: var(--r-xs);
	font-family: var(--f-mono); font-size: 10px; font-weight: 600; line-height: 1; letter-spacing: .02em;
	text-transform: uppercase; background: var(--c-accent); color: var(--c-ink); white-space: nowrap;
}
.badge--dark { background: var(--c-ink); color: var(--c-white); }
.badge--muted { background: var(--c-surface); color: var(--c-text-3); }
.badge--lg { height: 22px; padding: 0 8px; font-size: 11px; }

.status-pill {
	display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px;
	border-radius: var(--r-pill); font-size: 12px; font-weight: 600; white-space: nowrap;
	background: var(--c-surface); color: var(--c-text-3);
}
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-pill--pending, .status-pill--on-hold { background: #fff4d1; color: #8a6100; }
.status-pill--processing, .status-pill--confirmed { background: var(--c-info-soft); color: var(--c-info); }
.status-pill--preparing { background: #f1e9ff; color: #6a3fc8; }
.status-pill--out-for-delivery, .status-pill--shipped { background: #efe8ff; color: #5b34c5; }
.status-pill--completed, .status-pill--delivered, .status-pill--approved { background: var(--c-ok-soft); color: var(--c-ok-text); }
.status-pill--cancelled, .status-pill--failed, .status-pill--refunded, .status-pill--rejected { background: var(--c-error-soft); color: var(--c-sale-text); }
.status-pill--submitted, .status-pill--under-review { background: var(--c-info-soft); color: var(--c-info); }
.status-pill--changes-requested { background: #fff4d1; color: #8a6100; }

.chip {
	display: inline-flex; align-items: center; gap: 6px; min-height: 28px; padding: 4px 11px;
	border: 1px solid var(--c-line); border-radius: var(--r-pill); background: var(--c-white);
	font-size: 12px; font-weight: 500; color: var(--c-text); cursor: pointer; white-space: nowrap;
	transition: border-color .15s, background-color .15s;
}
.chip:hover { border-color: var(--c-text); text-decoration: none; }
.chip.is-active, .chip[aria-pressed="true"], .chip input:checked + span { border-color: var(--c-text); background: var(--c-text); color: var(--c-white); }
.chip__swatch { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); flex: none; }

.tabs-pills { display: flex; gap: 4px; flex-wrap: wrap; }
.tabs-pills button, .tabs-pills a {
	height: 32px; padding: 0 12px; border: 0; border-radius: var(--r-sm); background: none;
	font-family: var(--f-mono); font-size: 12px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: var(--c-text-3);
}
.tabs-pills [aria-selected="true"], .tabs-pills .is-active { background: var(--c-text); color: var(--c-white); }

/* Avatar initials */
.avatar {
	display: inline-grid; place-items: center; flex: none;
	width: 40px; height: 40px; border-radius: var(--r-md);
	background: var(--c-ink); color: var(--c-accent);
	font-weight: 700; font-size: 13px; letter-spacing: .02em; text-transform: uppercase;
	overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--sm { width: 28px; height: 28px; font-size: 10px; border-radius: 6px; }
.avatar--round { border-radius: 50%; background: var(--c-accent); color: var(--c-ink); }

/* Verified tick */
.verified { display: inline-flex; color: var(--c-text-3); }
.verified .icon { width: 12px; height: 12px; stroke-width: 2; }

/* --------------------------------------------------------------------------
   Cards / panels
   -------------------------------------------------------------------------- */
.card {
	background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-xl);
	padding: var(--s-6);
}
.card--active { border: 1.5px solid var(--c-text); }
.card--muted { background: var(--c-surface); border-color: transparent; }
.card--dark { background: var(--c-dark); color: var(--c-white); border-color: var(--c-dark); }
.card__title { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.card__title .icon { width: 20px; height: 20px; }
.panel-dark {
	display: flex; gap: 12px; padding: 16px 20px; border-radius: var(--r-lg);
	background: var(--c-dark); color: var(--c-white); font-size: 13px; line-height: 1.55;
}
.panel-dark .icon { color: var(--c-accent); width: 20px; height: 20px; margin-top: 1px; }
.panel-dark strong { display: block; font-weight: 700; }
.panel-dark p { color: rgba(255,255,255,.85); }
.callout {
	padding: 12px 16px; border-radius: var(--r-md); background: var(--c-warn-soft); font-size: 14px; color: var(--c-text);
}
.divider { border: 0; border-top: 1px solid var(--c-line); margin: var(--s-5) 0; }

/* --------------------------------------------------------------------------
   Notices (WooCommerce + theme)
   -------------------------------------------------------------------------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .sey-notice {
	position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px;
	margin: 0 0 var(--s-5); padding: 14px 18px 14px 48px; list-style: none;
	border-radius: var(--r-md); border: 1px solid transparent;
	font-size: 14px; line-height: 1.5; background: var(--c-ok-tint); border-color: #cfe9dc; color: var(--c-text);
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before, .sey-notice::before {
	content: ""; position: absolute; left: 18px; top: 16px; width: 18px; height: 18px; background: var(--c-ok);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") center/contain no-repeat;
}
.woocommerce-info, .sey-notice--info { background: var(--c-info-soft); border-color: #cddcff; }
.woocommerce-info::before, .sey-notice--info::before { background: var(--c-info); }
.woocommerce-error, .sey-notice--error { background: var(--c-error-soft); border-color: #f6c8c3; flex-direction: column; align-items: flex-start; }
.woocommerce-error::before, .sey-notice--error::before {
	background: var(--c-sale);
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8v4M12 16h.01'/%3E%3C/svg%3E");
}
.sey-notice--warning { background: var(--c-warn-soft); border-color: #f3e3a1; }
.sey-notice--warning::before { background: #8a6100; }
.woocommerce-error li { margin: 0; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; min-height: 36px; padding: 0 16px; font-size: 13px; }

/* --------------------------------------------------------------------------
   Empty, loading, error states
   -------------------------------------------------------------------------- */
.empty-state {
	display: grid; justify-items: center; text-align: center; gap: var(--s-3);
	padding: var(--s-16) var(--s-6); border-radius: var(--r-xl); background: var(--c-paper);
}
.empty-state__icon {
	display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%;
	background: var(--c-white); box-shadow: inset 0 0 0 1px var(--c-line); margin-bottom: var(--s-2);
}
.empty-state__icon .icon { width: 30px; height: 30px; stroke-width: 1.5; }
.empty-state__title { font-size: 22px; font-weight: 800; letter-spacing: -.4px; }
.empty-state__text { color: var(--c-muted); max-width: 420px; }
.empty-state .btn { margin-top: var(--s-3); }

.skeleton {
	background: linear-gradient(90deg, var(--c-surface) 25%, #e9e9e9 37%, var(--c-surface) 63%);
	background-size: 400% 100%; animation: sey-shimmer 1.3s ease infinite; border-radius: var(--r-sm);
}
@keyframes sey-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.is-busy { opacity: .55; pointer-events: none; transition: opacity .2s; }
.spinner {
	display: inline-block; width: 16px; height: 16px; border-radius: 50%;
	border: 2px solid currentColor; border-right-color: transparent; animation: sey-spin .7s linear infinite;
}

/* --------------------------------------------------------------------------
   Product card (Figma: Product Card / Regular · Sale)
   -------------------------------------------------------------------------- */
.products-grid {
	display: grid; grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr));
	gap: 28px 12px; margin: 0; padding: 0; list-style: none;
}
.products-grid--4 { --cols: 4; gap: 28px 8px; }
@media (max-width: 1279px) { .products-grid { --cols: 4; } }
@media (max-width: 1023px) { .products-grid, .products-grid--4 { --cols: 3; } }
@media (max-width: 767px)  { .products-grid, .products-grid--4 { --cols: 2; gap: 20px 10px; } }

.p-card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.p-card__media {
	position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden;
	border-radius: var(--r-sm); background: var(--c-surface);
}
.p-card__media > a[aria-hidden="true"] { display: block; height: 100%; }
.p-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.p-card:hover .p-card__media img { transform: scale(1.06); }
.p-card__badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 4px; flex-wrap: wrap; z-index: 2; pointer-events: none; }
.p-card__badges .badge { letter-spacing: .04em; }
.p-card__badges { right: 50px; } /* leave room for the wishlist button */
.p-card__wish { position: absolute; top: 10px; right: 10px; z-index: 10; }
.p-card__wish-btn {
	display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: var(--r-sm);
	background: rgba(255,255,255,.9); color: var(--c-text); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	transition: background-color .15s var(--ease), color .15s var(--ease);
}
.p-card__wish-btn:hover { background: var(--c-white); }
.p-card__wish-btn .icon { width: 16px; height: 16px; }
/* Add to cart: a full-width bar that slides up on hover (pointer devices), a small square button on touch. */
.p-card__cart {
	position: absolute; z-index: 10; left: 10px; right: 10px; bottom: 10px; display: none; align-items: center; justify-content: space-between;
	height: 40px; padding: 0 14px; border-radius: var(--r-sm); background: var(--c-dark); color: var(--c-white);
	font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
	transition: transform .5s cubic-bezier(.2,.7,.2,1), opacity .5s cubic-bezier(.2,.7,.2,1), background-color .5s cubic-bezier(.2,.7,.2,1), color .5s cubic-bezier(.2,.7,.2,1);
}
.p-card__cart:hover { text-decoration: none; background: var(--c-accent); color: var(--c-text); }
.p-card__cart .icon { width: 16px; height: 16px; }
.p-card__cart:focus-visible { transform: none; opacity: 1; }
.p-card__cart-sm {
	position: absolute; z-index: 10; right: 10px; bottom: 10px; display: grid; place-items: center; width: 36px; height: 36px;
	border-radius: var(--r-sm); background: var(--c-dark); color: var(--c-white); transition: transform .1s;
}
.p-card__cart-sm:active { transform: scale(.95); }
.p-card__cart-sm .icon { width: 16px; height: 16px; }
@media (hover: hover) {
	.p-card__cart { display: flex; opacity: 0; transform: translateY(130%); }
	.p-card:hover .p-card__cart, .p-card__cart:focus-visible { opacity: 1; transform: none; }
	.p-card__cart-sm { display: none; }
}
.p-card__cart.loading, .p-card__cart-sm.loading { pointer-events: none; }
.p-card__cart.loading .icon, .p-card__cart-sm.loading .icon { animation: sey-spin .8s linear infinite; }
.p-card__cart.added, .p-card__cart-sm.added { background: var(--c-ok); color: var(--c-white); }
.p-card__media .added_to_cart { display: none !important; }
.p-card.is-soldout .p-card__media img { opacity: .55; filter: grayscale(.4); }
.p-card__body { display: flex; flex: 1; flex-direction: column; padding: 12px 2px 0; }
.p-card__seller {
	display: flex; align-items: center; gap: 4px; min-width: 0;
	font-family: var(--f-mono); font-size: 10.5px; font-weight: 400; text-transform: uppercase; letter-spacing: .04em; color: var(--c-muted);
}
.p-card__seller .icon { width: 12px; height: 12px; flex-shrink: 0; }
.p-card__seller span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.p-card__seller a:hover { color: var(--c-text); }
.p-card__title {
	margin-top: 4px; font-family: var(--f-mono); font-size: 12.5px; font-weight: 500; line-height: 1.35; text-transform: uppercase; letter-spacing: -.01em;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--c-text);
}
.p-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.p-card__title a:hover { text-decoration: none; }
.p-card__meta { display: flex; align-items: center; gap: 4px; margin-top: 6px; font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .04em; color: var(--c-muted); text-transform: uppercase; }
.p-card__meta > [aria-hidden] { color: var(--c-line); }
.p-card__meta .rating { display: inline-flex; align-items: center; gap: 4px; color: var(--c-text); }
.p-card__meta .rating .icon { width: 12px; height: 12px; fill: var(--c-text); stroke: none; }
.p-card__meta .rating small { color: var(--c-muted); font-size: 10.5px; }
.p-card__price { margin-top: auto; padding-top: 8px; gap: 2px 8px; }
.p-card__price.price { font-size: 13.5px; letter-spacing: -.02em; }
.p-card__price.price del { font-size: 11.5px; letter-spacing: 0; }

.price, .sey-price {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 6px;
	font-family: var(--f-mono); font-size: 14px; font-weight: 500; color: var(--c-text);
}
.price ins, .sey-price ins { text-decoration: none; color: var(--c-sale); font-weight: 500; order: 1; }
.price del, .sey-price del { color: var(--c-muted); font-size: 12px; order: 2; opacity: 1; }
.price .woocommerce-Price-currencySymbol { margin-right: .3em; }
.price .screen-reader-text { position: absolute !important; }

/* Wishlist heart state */
.wish-toggle .icon { transition: fill .15s, transform .2s; }
.wish-toggle[aria-pressed="true"] { color: var(--c-sale); }
.wish-toggle[aria-pressed="true"] .icon { fill: currentColor; }
.wish-toggle.is-pulsing .icon { transform: scale(1.25); }

/* Rating stars */
.stars { display: inline-flex; gap: 1px; color: var(--c-text); }
.stars .icon { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.stars .icon.is-empty { fill: var(--c-faint); }

/* --------------------------------------------------------------------------
   Carousel (horizontal scroller)
   -------------------------------------------------------------------------- */
.carousel { position: relative; }
.carousel__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 12px * (var(--per, 5) - 1)) / var(--per, 5));
	gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
	margin: 0; padding: 0; list-style: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__nav { position: absolute; top: calc(var(--nav-top, 40%) - 22px); z-index: 4; }
.carousel__nav--prev { left: -22px; }
.carousel__nav--next { right: -22px; }
.carousel__nav[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 1279px) { .carousel__track { --per: 4; } }
@media (max-width: 1023px) { .carousel__track { --per: 3; } .carousel__nav { display: none; } }
@media (max-width: 767px)  { .carousel__track { --per: 2.2; gap: 10px; grid-auto-columns: calc((100% - 10px * 2) / 2.2); } }

/* --------------------------------------------------------------------------
   Modal / drawer
   -------------------------------------------------------------------------- */
.sey-modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; }
.sey-modal[hidden] { display: none; }
.sey-modal__backdrop { position: absolute; inset: 0; background: rgba(10,10,10,.55); backdrop-filter: blur(2px); animation: sey-fade .2s; }
.sey-modal__dialog {
	position: relative; width: min(480px, 100%); max-height: calc(100vh - 32px); overflow: auto;
	background: var(--c-white); border-radius: var(--r-2xl); padding: 32px; box-shadow: var(--sh-pop);
	animation: sey-pop .22s var(--ease);
}
.sey-modal__close { position: absolute; top: 14px; right: 14px; }
.sey-modal__title { font-size: 22px; font-weight: 800; letter-spacing: -.5px; margin-bottom: 8px; }
.sey-modal__actions { display: flex; gap: 12px; justify-content: flex-end; margin-top: 24px; flex-wrap: wrap; }
@keyframes sey-fade { from { opacity: 0; } }
@keyframes sey-pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
body.has-overlay { overflow: hidden; }

.drawer { position: fixed; inset: 0; z-index: 900; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(10,10,10,.5); animation: sey-fade .2s; }
.drawer__panel {
	position: absolute; top: 0; bottom: 0; left: 0; width: min(380px, 88vw); background: var(--c-white);
	display: flex; flex-direction: column; animation: sey-slide-in .25s var(--ease); overflow: hidden;
}
.drawer--right .drawer__panel { left: auto; right: 0; animation-name: sey-slide-in-r; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--c-line); }
.drawer__title { font-weight: 800; font-size: 17px; }
.drawer__body { flex: 1; overflow-y: auto; padding: 16px; overscroll-behavior: contain; }
.drawer__foot { padding: 12px 16px; border-top: 1px solid var(--c-line); display: flex; gap: 10px; }
@keyframes sey-slide-in { from { transform: translateX(-100%); } }
@keyframes sey-slide-in-r { from { transform: translateX(100%); } }

/* Toast (design preview: dark pill, bottom-right on desktop, fades up) */
.sey-toasts { position: fixed; z-index: 1100; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
@media (min-width: 640px) { .sey-toasts { left: 24px; right: 24px; bottom: 24px; align-items: flex-end; } }
.sey-toast {
	display: flex; align-items: center; gap: 12px; width: 100%; max-width: 24rem; padding: 12px 16px; border-radius: 16px;
	background: var(--c-dark); color: var(--c-white); font-size: 14px; pointer-events: auto;
	box-shadow: 0 2px 4px rgba(10,10,10,.04), 0 18px 40px -16px rgba(10,10,10,.25);
	animation: sey-fade-up .5s cubic-bezier(.2,.7,.2,1) both;
}
.sey-toast .icon { color: var(--c-accent); }
.sey-toast a { margin-left: auto; flex-shrink: 0; color: var(--c-accent); font-weight: 600; white-space: nowrap; }
.sey-toast--error .icon { color: #ff8a80; }
.sey-toast--product { padding: 10px 16px 10px 10px; }
.sey-toast__img { flex-shrink: 0; width: 48px; height: 48px; overflow: hidden; border-radius: 12px; background: var(--c-white); }
.sey-toast__img img { width: 100%; height: 100%; object-fit: cover; }
.sey-toast__body { flex: 1; min-width: 0; }
.sey-toast__title { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--c-accent); }
.sey-toast__title .icon { width: 14px; height: 14px; }
.sey-toast__name { overflow: hidden; font-size: 13px; white-space: nowrap; text-overflow: ellipsis; }
.sey-toast--product a { color: var(--c-white); font-size: 12.5px; text-decoration: underline; text-underline-offset: 2px; }

/* Breadcrumb */
.breadcrumb, .woocommerce-breadcrumb {
	display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
	font-size: 12px; color: var(--c-muted); padding-block: 20px 0;
}
.breadcrumb a:hover, .woocommerce-breadcrumb a:hover { color: var(--c-text); }
.breadcrumb .icon { width: 14px; height: 14px; color: var(--c-faint); }
.breadcrumb [aria-current="page"], .woocommerce-breadcrumb .is-current { color: var(--c-text); font-weight: 600; }

/* Pagination */
.pagination, .woocommerce-pagination { display: flex; justify-content: center; margin-top: var(--s-10); }
.pagination ul, .woocommerce-pagination ul.page-numbers { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; border: 0; }
.page-numbers li { border: 0 !important; }
.page-numbers a, .page-numbers span.page-numbers, .nav-links .page-numbers {
	display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: var(--r-pill);
	border: 1px solid var(--c-line); font-weight: 600; font-size: 14px;
}
.page-numbers .current, span.page-numbers.current { background: var(--c-text); color: var(--c-white); border-color: var(--c-text); }
.page-numbers a:hover { border-color: var(--c-text); text-decoration: none; }

/* Progress bar */
.progress { height: 4px; border-radius: 4px; background: var(--c-line); overflow: hidden; }
.progress__bar { height: 100%; background: var(--c-text); border-radius: 4px; transition: width .4s var(--ease); }

/* Accordion (details/summary) */
.accordion { border-top: 1px solid var(--c-line); }
.accordion > details { border-bottom: 1px solid var(--c-line); }
.accordion summary {
	display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0;
	cursor: pointer; list-style: none; font-weight: 700; font-size: 16px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { transition: transform .2s var(--ease); width: 18px; height: 18px; }
.accordion details[open] summary .icon { transform: rotate(180deg); }
.accordion details > div { padding: 0 0 18px; color: var(--c-text-3); line-height: 1.6; max-width: 760px; }
