/* WhappenStar Night Shift - main stylesheet. ASCII only. */

/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }

/* ---------- Tokens ----------
   Contrast on #222222: #FFFFFF 15.9:1, #DBDBDB 11.5:1, #ED1C24 3.6:1 (large text only).
   On #444444: #DBDBDB 7.0:1. White on #ED1C24 4.38:1 (large or bold 19px+ only). */
:root {
	--ws-red: #ED1C24;
	--ws-ink: #222222;
	--ws-char: #444444;
	--ws-grey: #888888;
	--ws-mist: #DBDBDB;
	--ws-paper: #F4F4F2;
	--ws-white: #FFFFFF;
	--ws-black: #000000;
	--ws-bg: var(--ws-ink);
	--ws-text: var(--ws-white);
	--ws-muted: var(--ws-mist);
	--ws-line: var(--ws-char);
	--ws-font-display: "Plus Jakarta Sans", "Avenir Next", Arial, sans-serif;
	--ws-font-body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
	--ws-wrap: 1320px;
	--ws-gutter: clamp(20px, 3vw, 32px);
	--ws-radius-s: 12px;
	--ws-radius: 20px;
	--ws-radius-l: 28px;
	--ws-space-section: clamp(64px, 8vw, 104px);
	--ws-focus: 3px solid var(--ws-white);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--ws-bg);
	color: var(--ws-text);
	font-family: var(--ws-font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ws-white); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ws-mist); }
h1, h2, h3, h4 { font-family: var(--ws-font-display); font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
button { font: inherit; }
:focus { outline: none; }
:focus-visible { outline: var(--ws-focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ws-red); color: var(--ws-white); }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.ws-skip {
	position: absolute; left: 16px; top: -100px; z-index: 1000;
	background: var(--ws-white); color: var(--ws-ink); padding: 12px 20px; border-radius: 999px;
	font-weight: 700; text-decoration: none;
}
.ws-skip:focus { top: 16px; }

.ws-wrap { width: 100%; max-width: calc(var(--ws-wrap) + 2 * var(--ws-gutter)); margin: 0 auto; padding-left: var(--ws-gutter); padding-right: var(--ws-gutter); }
.ws-main:focus { outline: none; }
.ws-accent { color: var(--ws-red); }
.ws-eyebrow, .ws-meta {
	font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ws-muted); margin: 0 0 16px;
}
.ws-lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ws-muted); font-weight: 500; max-width: 38em; }
.ws-display { font-size: clamp(48px, 7vw, 96px); line-height: 0.95; }
.ws-display--m { font-size: clamp(40px, 5vw, 64px); }

/* ---------- Buttons, tags, links ---------- */
.ws-btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ws-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 52px; padding: 14px 28px; border-radius: 999px;
	font-family: var(--ws-font-body); font-weight: 800; font-size: 19px; line-height: 1.1;
	text-decoration: none; border: 2px solid transparent; cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.ws-btn--primary { background: var(--ws-red); color: var(--ws-white); }
.ws-btn--primary:hover { background: #C8141B; color: var(--ws-white); }
.ws-btn--secondary { background: transparent; color: var(--ws-white); border-color: var(--ws-grey); }
.ws-btn--secondary:hover { border-color: var(--ws-white); color: var(--ws-white); }
.ws-btn--light { background: var(--ws-white); color: var(--ws-ink); }
.ws-btn--light:hover { background: var(--ws-mist); color: var(--ws-ink); }
.ws-btn--dark { background: var(--ws-ink); color: var(--ws-white); }
.ws-btn--dark:hover { background: var(--ws-black); color: var(--ws-white); }

.ws-tag {
	display: inline-flex; align-items: center; min-height: 30px; padding: 4px 14px; border-radius: 999px;
	font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2;
}
.ws-tag--solid { background: var(--ws-ink); color: var(--ws-white); }
.ws-tag--outline { border: 1px solid var(--ws-grey); color: var(--ws-white); }

.ws-link-arrow {
	display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
	font-weight: 800; font-size: 16px; text-decoration: none; color: var(--ws-white);
}
.ws-link-arrow:hover { color: var(--ws-mist); }
.ws-link-arrow:hover .ws-icon { transform: translateX(3px); }
.ws-link-arrow .ws-icon { transition: transform 0.15s ease; }

.ws-icon-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent;
	color: var(--ws-white); cursor: pointer; text-decoration: none;
}
.ws-icon-btn:hover { background: var(--ws-char); color: var(--ws-white); }
.ws-badge {
	position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px;
	border-radius: 999px; background: var(--ws-white); color: var(--ws-ink);
	font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
}

/* ---------- Announcement + header ---------- */
.ws-announce { background: var(--ws-black); color: var(--ws-white); text-align: center; font-size: 14px; font-weight: 700; padding: 9px var(--ws-gutter); }
.ws-announce p { margin: 0; }
.ws-announce a { color: var(--ws-white); }

.ws-header { position: sticky; top: 0; z-index: 50; background: var(--ws-bg); border-bottom: 1px solid var(--ws-line); }
.admin-bar .ws-header { top: 32px; }
.ws-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 80px; }

.ws-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ws-white); }
.ws-brand__star { color: var(--ws-red); display: inline-flex; }
.ws-brand__name { font-family: var(--ws-font-display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; }
.ws-brand__logo { max-height: 48px; width: auto; }

.ws-nav__list, .ws-drawer__list, .ws-footer ul { list-style: none; margin: 0; padding: 0; }
.ws-nav__list { display: flex; gap: 8px; }
.ws-nav__list > li { position: relative; }
.ws-nav__list a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
	font-weight: 700; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; color: var(--ws-white);
}
.ws-nav__list a:hover, .ws-nav__list .current-menu-item > a, .ws-nav__list .current-menu-ancestor > a { background: var(--ws-char); }
.ws-nav__list .sub-menu {
	position: absolute; left: 0; top: 100%; min-width: 220px; padding: 8px; margin: 0; list-style: none;
	background: var(--ws-ink); border: 1px solid var(--ws-char); border-radius: var(--ws-radius-s);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.ws-nav__list li:hover > .sub-menu, .ws-nav__list li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ws-nav__list .sub-menu a { display: flex; text-transform: none; letter-spacing: 0; font-size: 16px; }

.ws-utility { display: flex; align-items: center; gap: 4px; }
.ws-cart-link {
	display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; margin-left: 6px;
	border: 1px solid var(--ws-grey); border-radius: 999px; text-decoration: none; color: var(--ws-white); font-weight: 800;
}
.ws-cart-link:hover { border-color: var(--ws-white); color: var(--ws-white); }
.ws-menu-toggle { display: none; }

.ws-search { border-top: 1px solid var(--ws-line); padding: 20px 0; }
.search-form { display: flex; gap: 10px; flex-wrap: wrap; max-width: 640px; }
.search-form label { flex: 1 1 260px; }
.search-form .search-field, .ws-input {
	width: 100%; min-height: 52px; padding: 12px 20px; border-radius: 999px; border: 2px solid var(--ws-grey);
	background: var(--ws-ink); color: var(--ws-white); font: inherit;
}
.search-form .search-field::placeholder { color: var(--ws-mist); opacity: 1; }
.search-form .search-field:focus { border-color: var(--ws-white); }
.search-form .search-submit {
	min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; background: var(--ws-white); color: var(--ws-ink);
	font-weight: 800; font-size: 17px; cursor: pointer;
}

/* Drawer (mobile menu). Lives outside the header so position: fixed is never trapped. */
.ws-drawer { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, 0.6); }
.ws-drawer[hidden] { display: none; }
.ws-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); overflow-y: auto;
	background: var(--ws-ink); padding: 20px var(--ws-gutter) 40px; border-left: 1px solid var(--ws-char);
}
.ws-drawer__close { margin-left: auto; display: flex; }
.ws-drawer__list { margin-top: 16px; }
.ws-drawer__list a {
	display: flex; min-height: 56px; align-items: center; border-bottom: 1px solid var(--ws-char);
	font-family: var(--ws-font-display); font-weight: 800; font-size: 28px; text-decoration: none; color: var(--ws-white);
}
.ws-drawer__list .sub-menu { list-style: none; padding: 0 0 8px 16px; margin: 0; }
.ws-drawer__list .sub-menu a { font-size: 20px; min-height: 48px; }
body.ws-locked { overflow: hidden; }
.ws-drawer__extra { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }

/* ---------- Sections ---------- */
.ws-section { padding: var(--ws-space-section) 0; }
.ws-section--tight { padding-top: 40px; }
.ws-section + .ws-section { padding-top: 0; }
.ws-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; }
.ws-section__head h2 { font-size: clamp(32px, 4vw, 56px); }
.ws-page-head { padding: clamp(48px, 6vw, 88px) 0 0; }

/* Hero */
.ws-hero { padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 6vw, 80px); }
.ws-hero__meta {
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px);
	font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ws-muted);
}
.ws-hero__title { font-size: clamp(56px, 9.6vw, 140px); line-height: 0.9; letter-spacing: -0.035em; max-width: 11em; }
.ws-hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-top: clamp(28px, 4vw, 48px); }
.ws-hero--404 .ws-hero__title { font-size: clamp(48px, 8vw, 112px); margin-bottom: 24px; }
.ws-404-search { margin: 28px 0; }

/* Drops bento */
.ws-bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(300px, auto); gap: 20px; }
.ws-tile {
	position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	grid-template-areas: "tags media" "info media"; grid-template-rows: auto 1fr;
	gap: 16px; padding: 24px; border-radius: var(--ws-radius-l); background: var(--ws-char); overflow: hidden;
	grid-column: span 2;
}
.ws-tile__body { display: contents; }
.ws-tile__tags { grid-area: tags; display: flex; flex-wrap: wrap; align-items: flex-start; align-self: start; gap: 8px; padding-right: 52px; }
.ws-tile__info { grid-area: info; align-self: end; display: flex; flex-direction: column; gap: 8px; }
.ws-tile__media {
	grid-area: media; display: flex; align-items: center; justify-content: center;
	background: var(--ws-paper); border-radius: var(--ws-radius); overflow: hidden; min-height: 220px;
}
.ws-tile__media img { width: auto; max-width: 100%; height: 100%; max-height: 300px; object-fit: contain; }
.ws-tile:not(.ws-tile--feature) .ws-tile__media { height: 252px; min-height: 0; }
.ws-tile__name { font-size: clamp(24px, 2.2vw, 30px); }
.ws-tile__name a { color: inherit; text-decoration: none; }
.ws-tile__name a:hover { text-decoration: underline; }
.ws-tile__price { margin: 0; color: var(--ws-muted); font-size: 18px; }
.ws-tile__wish { position: absolute; top: 34px; right: 34px; }
.ws-tile--feature {
	grid-column: span 2; grid-row: span 2; background: var(--ws-red);
	grid-template-columns: minmax(0, 1fr); grid-template-areas: "tags" "media" "info"; grid-template-rows: auto 1fr auto; padding: 32px;
}
.ws-tile--feature .ws-tile__media { min-height: 360px; }
.ws-tile--feature .ws-tile__media img { max-height: 480px; }
.ws-tile--feature .ws-tile__name { font-size: clamp(36px, 3.6vw, 48px); }
.ws-tile--feature .ws-tile__price { color: var(--ws-white); font-weight: 800; font-size: 20px; }
.ws-tile--feature .ws-tile__price del { opacity: 0.85; }
.ws-tile--wide { grid-column: span 4; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.ws-tile .ws-link-arrow { margin-top: 4px; }

/* Signature */
.ws-signature + .ws-section { padding-top: var(--ws-space-section); }
.ws-signature { border-top: 1px solid var(--ws-line); border-bottom: 1px solid var(--ws-line); }
.ws-section.ws-signature { padding-top: var(--ws-space-section); }
.ws-signature__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.ws-signature__copy .ws-lead { margin: 24px 0 28px; }
.ws-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.ws-swatch {
	display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: 999px;
	border: 2px solid var(--ws-grey); background: transparent; color: var(--ws-white); font-weight: 800; font-size: 16px; cursor: pointer;
}
.ws-swatch[aria-pressed="true"] { background: var(--ws-white); color: var(--ws-ink); border-color: var(--ws-white); }
.ws-swatch__dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ws-white); }
.ws-swatch[aria-pressed="true"] .ws-swatch__dot { border-color: var(--ws-ink); }
.ws-swatch__dot--grey { background: var(--ws-grey); }
.ws-swatch__dot--blue { background: #2F5D9E; }
.ws-swatch__dot--black { background: var(--ws-black); }
.ws-signature__set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.ws-signature__set + .ws-signature__set { margin-top: 20px; }
.ws-signature__set[hidden] { display: none; }
.ws-signature__set + .ws-signature__set[hidden] { margin-top: 0; }

/* Cards */
.ws-card { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 20px; border-radius: var(--ws-radius-l); background: var(--ws-char); }
.ws-card__media { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; border-radius: var(--ws-radius); background: var(--ws-paper); overflow: hidden; }
.ws-card__media img { width: 100%; height: 100%; object-fit: contain; }
.ws-card__wish { position: absolute; top: 30px; right: 30px; }
.ws-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.ws-card__name { font-size: 22px; }
.ws-card__name a { color: inherit; text-decoration: none; }
.ws-card__name a:hover { text-decoration: underline; }
.ws-card__price { margin: 0; font-size: 18px; white-space: nowrap; }

.ws-img-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 160px; color: var(--ws-grey); }

/* Prices from WooCommerce */
.price del, .ws-tile__price del, .ws-card__price del { color: var(--ws-mist); margin-right: 6px; }
.price ins, .ws-tile__price ins, .ws-card__price ins { text-decoration: none; }

/* Blog cards */
.ws-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.ws-post-card { display: flex; flex-direction: column; }
.ws-post-card__media { display: block; aspect-ratio: 16 / 10; border-radius: var(--ws-radius); overflow: hidden; background: var(--ws-char); margin-bottom: 18px; }
.ws-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.ws-post-card:hover .ws-post-card__media img { transform: scale(1.03); }
.ws-post-card .ws-meta { margin-bottom: 8px; }
.ws-post-card__title { font-size: clamp(22px, 2vw, 28px); line-height: 1.15; }
.ws-post-card__title a { color: inherit; text-decoration: none; }
.ws-post-card__title a:hover { text-decoration: underline; }

/* Instagram */
.ws-insta__feed { border-radius: var(--ws-radius); overflow: hidden; }

/* Club */
.ws-club {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center;
	padding: clamp(32px, 5vw, 56px); border-radius: 32px; background: var(--ws-white); color: var(--ws-ink);
	--ws-focus: 3px solid var(--ws-ink);
}
.ws-club .ws-eyebrow { color: var(--ws-char); }
.ws-club p { color: var(--ws-char); font-size: 18px; }
.ws-club h2 { margin-bottom: 12px; }
.ws-club__form { justify-self: end; width: 100%; max-width: 520px; }
.ws-club a:not(.ws-btn) { color: var(--ws-ink); }

/* Pagelayer content and plain prose */
.ws-pl-content { min-height: 40vh; }
.ws-prose { max-width: 760px; }
.ws-prose > * + * { margin-top: 1.1em; }
.ws-prose h2 { font-size: 34px; margin-top: 1.6em; }
.ws-prose h3 { font-size: 26px; margin-top: 1.4em; }
.ws-prose a { color: var(--ws-white); text-decoration: underline; }
.ws-prose ul, .ws-prose ol { padding-left: 1.3em; }
.ws-prose img { border-radius: var(--ws-radius); }

/* Pagination */
.navigation.pagination { margin-top: 48px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 0 16px;
	border-radius: 999px; border: 1px solid var(--ws-grey); text-decoration: none; color: var(--ws-white); font-weight: 800;
}
.page-numbers.current { background: var(--ws-white); color: var(--ws-ink); border-color: var(--ws-white); }

/* ---------- Blog post ---------- */
.ws-article { padding-bottom: var(--ws-space-section); }
.ws-article__col { max-width: calc(820px + 2 * var(--ws-gutter)); }
.ws-article__head { padding: clamp(48px, 6vw, 88px) 0 32px; }
.ws-article__head .ws-meta a { color: var(--ws-muted); }
.ws-article__head .ws-meta a:hover { color: var(--ws-white); }
.ws-article__hero { margin-top: 0; margin-bottom: 48px; }
.ws-article__hero img { width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--ws-radius-l); }
.ws-article__body { max-width: none; font-size: 19px; line-height: 1.7; }
.ws-article__cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 0; }
.ws-article__cats a { text-decoration: none; }
.ws-article__cats a:hover { border-color: var(--ws-white); }
.ws-feature-tee {
	display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 28px; align-items: center;
	margin-top: 56px; padding: 24px; border-radius: var(--ws-radius-l); background: var(--ws-char);
}
.ws-feature-tee__media { display: flex; aspect-ratio: 1 / 1; border-radius: var(--ws-radius); background: var(--ws-paper); overflow: hidden; }
.ws-feature-tee__media img { width: 100%; height: 100%; object-fit: contain; }
.ws-feature-tee__name { font-size: 28px; margin-bottom: 6px; }
.ws-feature-tee__name a { color: inherit; text-decoration: none; }
.ws-feature-tee__price { color: var(--ws-muted); font-size: 18px; margin-bottom: 16px; }
.ws-postnav { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--ws-line); }
.ws-postnav .nav-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ws-postnav a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ws-white); min-height: 44px; }
.ws-postnav .nav-next { text-align: right; }
.ws-postnav .ws-meta { margin: 0; }
.ws-postnav__title { font-family: var(--ws-font-display); font-weight: 800; font-size: 22px; line-height: 1.2; }
.ws-postnav a:hover .ws-postnav__title { text-decoration: underline; }

/* ---------- Shop and category listings ---------- */
.ws-shop { padding-top: clamp(32px, 4vw, 56px); padding-bottom: var(--ws-space-section); }
.ws-shop .woocommerce-breadcrumb { margin: 0 0 24px; font-size: 14px; color: var(--ws-muted); }
.ws-shop .woocommerce-breadcrumb a { color: var(--ws-muted); }
.ws-shop .woocommerce-breadcrumb a:hover { color: var(--ws-white); }
.ws-shop .woocommerce-products-header { margin-bottom: 28px; }
.ws-shop .woocommerce-products-header__title { font-size: clamp(40px, 5vw, 64px); line-height: 1; margin: 0; }
.ws-shop .term-description { margin-top: 16px; color: var(--ws-muted); font-size: 18px; max-width: 40em; }
.ws-pills ul { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ws-pill {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px;
	border: 1px solid var(--ws-grey); color: var(--ws-white); text-decoration: none; font-weight: 700; font-size: 15px;
}
.ws-pill:hover { border-color: var(--ws-white); color: var(--ws-white); }
.ws-pill[aria-current="page"] { background: var(--ws-white); color: var(--ws-ink); border-color: var(--ws-white); }
.ws-shop__toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
body.ws-theme .ws-shop .woocommerce-result-count, body.ws-theme .ws-shop .woocommerce-ordering { float: none; margin: 0; }
.ws-shop .woocommerce-result-count { color: var(--ws-muted); font-size: 15px; }
.ws-shop .woocommerce-ordering select {
	min-height: 44px; padding: 0 44px 0 18px; border-radius: 999px; border: 1px solid var(--ws-grey);
	background-color: var(--ws-ink); color: var(--ws-white); font: inherit; font-size: 15px; appearance: none; -webkit-appearance: none; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 16px center;
}

/* Product grid: 4 across, 2 on tablets, 1 on phones. Overrides WooCommerce float layout. */
body.ws-theme ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0 0 48px; padding: 0; list-style: none; }
body.ws-theme ul.products::before, body.ws-theme ul.products::after { content: none; display: none; }
body.ws-theme ul.products[class*="columns-"] li.product, body.ws-theme ul.products li.product {
	position: relative; float: none; width: auto; margin: 0; padding: 20px; clear: none;
	display: flex; flex-direction: column; border-radius: var(--ws-radius-l); background: var(--ws-char); text-align: left;
}
body.ws-theme ul.products li.product a.woocommerce-loop-product__link { display: flex; flex-direction: column; flex: 1 1 auto; color: var(--ws-white); text-decoration: none; }
body.ws-theme ul.products li.product a img {
	width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; margin: 0 0 18px;
	border-radius: var(--ws-radius); background: var(--ws-paper); box-shadow: none;
}
body.ws-theme ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--ws-font-display); font-weight: 800; font-size: 20px; line-height: 1.2; letter-spacing: -0.02em; padding: 0; margin: 0 0 8px; color: var(--ws-white);
}
body.ws-theme ul.products li.product a:hover .woocommerce-loop-product__title { text-decoration: underline; }
body.ws-theme ul.products li.product .price { display: block; color: var(--ws-muted); font-size: 17px; margin: 0 0 16px; font-weight: 500; }
body.ws-theme ul.products li.product .button {
	align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; margin: auto 0 0; padding: 10px 20px;
	border-radius: 999px; border: 2px solid var(--ws-grey); background: transparent; color: var(--ws-white);
	font-family: var(--ws-font-body); font-weight: 800; font-size: 15px; line-height: 1.1;
}
body.ws-theme ul.products li.product .button:hover { border-color: var(--ws-white); background: transparent; color: var(--ws-white); }
body.ws-theme ul.products li.product .added_to_cart { display: inline-block; margin-top: 8px; color: var(--ws-white); font-weight: 700; }
body.ws-theme ul.products li.product .onsale, body.ws-theme span.onsale {
	position: absolute; top: 30px; left: 30px; right: auto; margin: 0; min-width: 0; min-height: 0; padding: 6px 14px; line-height: 1.2;
	border-radius: 999px; background: var(--ws-red); color: var(--ws-white); font-size: 13px; font-weight: 800; z-index: 2;
}
body.ws-theme ul.products li.product .ws-tag { position: absolute; top: 30px; left: 30px; z-index: 2; background: var(--ws-ink); }
/* YITH wishlist (until the custom wishlist plugin replaces it) */
body.ws-theme ul.products li.product .yith-wcwl-add-to-wishlist { margin: 10px 0 0; }
body.ws-theme ul.products li.product .yith-wcwl-add-to-wishlist a { color: var(--ws-muted); font-size: 14px; font-weight: 700; }

/* Pagination (WooCommerce) */
body.ws-theme .woocommerce-pagination ul.page-numbers { display: flex; gap: 8px; flex-wrap: wrap; border: 0; margin: 0; }
body.ws-theme .woocommerce-pagination ul.page-numbers li { border: 0; float: none; }
body.ws-theme .woocommerce-pagination ul.page-numbers li .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 48px; min-height: 48px; padding: 0 16px;
	border-radius: 999px; border: 1px solid var(--ws-grey); color: var(--ws-white); background: transparent; font-weight: 800;
}
body.ws-theme .woocommerce-pagination ul.page-numbers li .page-numbers.current,
body.ws-theme .woocommerce-pagination ul.page-numbers li a:hover { background: var(--ws-white); color: var(--ws-ink); border-color: var(--ws-white); }

@media (max-width: 1024px) {
	body.ws-theme ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 600px) {
	body.ws-theme ul.products { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.ws-feature-tee { grid-template-columns: minmax(0, 1fr); }
	.ws-postnav .nav-links { grid-template-columns: minmax(0, 1fr); }
	.ws-postnav .nav-next { text-align: left; }
	.ws-article__body { font-size: 17px; }
}

/* ---------- Footer ---------- */
.ws-footer { border-top: 1px solid var(--ws-line); padding-top: 64px; }
.ws-footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.ws-footer__brand p { color: var(--ws-muted); margin: 16px 0; max-width: 28em; }
.ws-social { display: flex; gap: 6px; margin-left: -10px; }
.ws-footer__col summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 44px; }
.ws-footer__col summary::-webkit-details-marker { display: none; }
.ws-footer__col summary h2 { font-family: var(--ws-font-body); font-size: 14px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.ws-footer__col summary .ws-icon { display: none; }
.ws-footer__col a { display: inline-flex; min-height: 40px; align-items: center; color: var(--ws-muted); text-decoration: none; }
.ws-footer__col a:hover { color: var(--ws-white); text-decoration: underline; }
.ws-footer__base {
	display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
	margin-top: 48px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--ws-line);
	font-size: 14px; color: var(--ws-muted);
}
.ws-footer__base p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.ws-nav { display: none; }
	.ws-menu-toggle { display: inline-flex; }
	.ws-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ws-tile, .ws-tile--wide { grid-column: span 2; }
	.ws-tile--feature { grid-row: auto; }
	.ws-signature__grid { grid-template-columns: minmax(0, 1fr); }
	.ws-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ws-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 782px) {
	.admin-bar .ws-header { top: 46px; }
	.ws-post-grid { grid-template-columns: minmax(0, 1fr); }
	.ws-club { grid-template-columns: minmax(0, 1fr); }
	.ws-club__form { justify-self: stretch; max-width: none; }
	.ws-club__form .ws-btn { width: 100%; }
	.ws-hero__foot .ws-btn-row, .ws-hero__foot .ws-btn { width: 100%; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.ws-header__inner { min-height: 64px; gap: 8px; }
	.ws-brand__name { font-size: 20px; }
	.ws-utility .ws-search-toggle, .ws-utility > a.ws-icon-btn:not(.ws-wishlist-link) { display: none; }
	.ws-cart-link { padding: 0 12px; margin-left: 0; }
	.ws-tile:not(.ws-tile--feature) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "tags tags" "info media"; grid-template-rows: auto auto; padding: 16px; }
	.ws-tile__name { font-size: 22px; }
	.ws-tag { font-size: 12px; letter-spacing: 0.04em; padding: 4px 12px; }
	.ws-tile--feature .ws-tile__name { font-size: 34px; }
	.ws-tile--feature { padding: 20px; }
	.ws-tile--feature .ws-tile__media { min-height: 260px; }
	.ws-tile:not(.ws-tile--feature) .ws-tile__media { height: 160px; }
	.ws-tile__wish { top: 22px; right: 22px; }
	.ws-signature__set { gap: 12px; }
	.ws-card { padding: 12px; gap: 10px; }
	.ws-card__row { flex-direction: column; gap: 2px; }
	.ws-card__name { font-size: 17px; }
	.ws-card__wish { top: 18px; right: 18px; }
	.ws-footer__grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
	.ws-footer__brand { margin-bottom: 24px; }
	.ws-footer__col { border-top: 1px solid var(--ws-line); }
	.ws-footer__col summary { cursor: pointer; min-height: 56px; }
	.ws-footer__col summary .ws-icon { display: block; transition: transform 0.15s ease; }
	.ws-footer__col[open] summary .ws-icon { transform: rotate(45deg); }
	.ws-footer__col ul { padding-bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; scroll-behavior: auto !important; }
	.ws-post-card:hover .ws-post-card__media img, .ws-link-arrow:hover .ws-icon { transform: none; }
}
