/**
 * WedaiSho — maroon / cream (inspired by editorial apparel storefronts)
 */

:root {
	--ws-maroon: #5c2434;
	--ws-maroon-deep: #3f1824;
	--ws-maroon-soft: #7a3a4d;
	--ws-cream: #f4efe8;
	--ws-cream-dark: #e8dfd3;
	--ws-sand: #d9cfc2;
	--ws-ink: #1a1416;
	--ws-ink-muted: #5c5358;
	--ws-white: #fdfcfa;
	--ws-radius: 2px;
	--ws-radius-lg: 6px;
	--ws-space: clamp(1rem, 3vw, 2.5rem);
	--ws-max: 1200px;
	--ws-font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
	--ws-font-display: "Cormorant Garamond", "Times New Roman", serif;
	--ws-transition: 0.22s ease;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--ws-font-sans);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--ws-ink);
	background: var(--ws-cream);
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: var(--ws-maroon);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
	transition: color var(--ws-transition), opacity var(--ws-transition);
}

a:hover {
	color: var(--ws-maroon-deep);
}

.ws-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;
}

/* ——— Site frame ——— */
.ws-site {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

body.ws-drawer-open {
	overflow: hidden;
}

/* ——— Mega header (layout: reference; fonts & colors: WedaiSho) ——— */
.ws-header--mega {
	position: sticky;
	top: 0;
	z-index: 200;
	font-family: var(--ws-font-sans);
	background: color-mix(in srgb, var(--ws-cream) 88%, var(--ws-white));
	backdrop-filter: blur(12px);
	border-bottom: 1px solid color-mix(in srgb, var(--ws-maroon) 12%, var(--ws-sand));
	box-shadow: 0 4px 24px color-mix(in srgb, var(--ws-maroon-deep) 6%, transparent);
}

.ws-header__bar {
	padding: 0.65rem clamp(0.75rem, 2vw, 1.5rem);
}

.ws-header__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 0.75rem 1.25rem;
	max-width: 1360px;
	margin: 0 auto;
}

.ws-header__left {
	display: flex;
	align-items: center;
	gap: clamp(0.75rem, 2vw, 1.75rem);
	justify-self: start;
	min-width: 0;
}

.ws-header__center {
	justify-self: center;
	text-align: center;
}

.ws-header__tail {
	grid-column: 3;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.5rem;
	min-width: 0;
}

.ws-header--mega a {
	text-decoration: none;
}

.ws-menu-toggle {
	border: none;
	background: transparent;
	padding: 0.35rem;
	margin: 0;
	cursor: pointer;
	color: var(--ws-maroon-deep);
	border-radius: var(--ws-radius-lg);
	line-height: 0;
	transition: background var(--ws-transition), color var(--ws-transition);
}

.ws-menu-toggle:hover,
.ws-menu-toggle:focus-visible {
	background: var(--ws-cream-dark);
	color: var(--ws-maroon);
	outline: none;
}

.ws-header-cats__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: clamp(0.65rem, 1.5vw, 1.35rem);
}

.ws-header-cats__list a {
	font-family: var(--ws-font-sans);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ws-maroon-deep);
	white-space: nowrap;
}

.ws-header-cats__list a:hover,
.ws-header-cats__list .current-menu-item > a {
	color: var(--ws-maroon);
}

.ws-logo {
	font-family: var(--ws-font-display);
	font-size: clamp(1.35rem, 3.5vw, 1.85rem);
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ws-maroon);
	text-decoration: none;
}

.ws-logo--header:hover {
	color: var(--ws-maroon-deep);
}

.ws-logo-wrap .custom-logo-link {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.ws-logo-wrap--header .custom-logo-link img,
.ws-logo-wrap .custom-logo-link img {
	display: block;
	max-height: 44px;
	width: auto;
}

/* Pill search */
.ws-header-search {
	display: flex;
	align-items: center;
	flex: 1 1 auto;
	max-width: min(420px, 32vw);
	min-width: 0;
	font-family: var(--ws-font-sans);
	background: var(--ws-white);
	border: 1px solid var(--ws-sand);
	border-radius: 999px;
	padding: 0.15rem 0.25rem 0.15rem 1rem;
	transition: border-color var(--ws-transition), box-shadow var(--ws-transition);
}

.ws-header-search:focus-within {
	border-color: color-mix(in srgb, var(--ws-maroon) 45%, var(--ws-sand));
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--ws-maroon) 14%, transparent);
}

.ws-header-search__input {
	flex: 1 1 auto;
	min-width: 0;
	border: none;
	background: transparent;
	font-family: var(--ws-font-sans);
	font-size: 0.875rem;
	font-weight: 400;
	color: var(--ws-ink);
	padding: 0.55rem 0.35rem 0.55rem 0;
	outline: none;
}

.ws-header-search__input::placeholder {
	color: var(--ws-ink-muted);
	opacity: 0.85;
}

.ws-header-search__trailing {
	display: flex;
	align-items: center;
	gap: 0.15rem;
	padding-right: 0.15rem;
}

.ws-header-search__voice,
.ws-header-search__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	border: none;
	border-radius: 999px;
	background: transparent;
	color: var(--ws-maroon-soft);
	cursor: pointer;
	line-height: 0;
	transition: background var(--ws-transition), color var(--ws-transition);
}

.ws-header-search__voice:hover:not(:disabled),
.ws-header-search__submit:hover {
	background: var(--ws-cream-dark);
	color: var(--ws-maroon);
}

.ws-header-search__voice:disabled {
	opacity: 0.35;
	cursor: not-allowed;
}

.ws-header-search__voice.is-listening {
	color: var(--ws-maroon);
	background: color-mix(in srgb, var(--ws-maroon) 14%, var(--ws-cream));
}

.ws-header-utils {
	display: flex;
	align-items: center;
	gap: 0.15rem;
	flex-shrink: 0;
}

.ws-icon-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.65rem;
	height: 2.65rem;
	border-radius: var(--ws-radius-lg);
	color: var(--ws-maroon-deep);
	text-decoration: none;
	background: transparent;
	border: none;
	padding: 0;
	cursor: pointer;
	line-height: 0;
	transition: background var(--ws-transition), color var(--ws-transition);
}

.ws-icon-btn:hover,
.ws-icon-btn:focus-visible {
	background: color-mix(in srgb, var(--ws-cream-dark) 75%, var(--ws-white));
	color: var(--ws-maroon);
	outline: none;
}

.ws-icon-cart .ws-cart-count {
	position: absolute;
	top: 0.2rem;
	right: 0.15rem;
	min-width: 1.1rem;
	height: 1.1rem;
	padding: 0 0.2rem;
	font-family: var(--ws-font-sans);
	font-size: 0.62rem;
	font-weight: 700;
	line-height: 1.1rem;
	text-align: center;
	background: var(--ws-maroon);
	color: var(--ws-white);
	border-radius: 999px;
}

/* Legacy nav (if used elsewhere) */
.ws-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 1.25rem;
	flex-wrap: wrap;
	align-items: center;
}

.ws-nav__list a {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--ws-ink);
}

/* ——— Mobile drawer ——— */
.ws-drawer {
	position: fixed;
	inset: 0;
	z-index: 300;
	pointer-events: none;
}

.ws-drawer:not([hidden]) {
	pointer-events: auto;
}

.ws-drawer__backdrop {
	position: absolute;
	inset: 0;
	background: color-mix(in srgb, var(--ws-maroon-deep) 42%, transparent);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.ws-drawer:not([hidden]) .ws-drawer__backdrop {
	opacity: 1;
}

.ws-drawer__panel {
	position: absolute;
	top: 0;
	left: 0;
	width: min(22rem, 92vw);
	height: 100%;
	font-family: var(--ws-font-sans);
	background: color-mix(in srgb, var(--ws-cream) 94%, var(--ws-white));
	border-right: 1px solid color-mix(in srgb, var(--ws-maroon) 10%, var(--ws-sand));
	box-shadow: 8px 0 36px color-mix(in srgb, var(--ws-maroon-deep) 18%, transparent);
	transform: translateX(-100%);
	transition: transform 0.28s ease;
	display: flex;
	flex-direction: column;
}

.ws-drawer:not([hidden]) .ws-drawer__panel {
	transform: translateX(0);
}

.ws-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1rem 1.1rem;
	border-bottom: 1px solid color-mix(in srgb, var(--ws-maroon) 8%, var(--ws-sand));
}

.ws-drawer__title {
	margin: 0;
	font-family: var(--ws-font-display);
	font-size: 1.1rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ws-maroon);
}

.ws-drawer__close {
	border: none;
	background: transparent;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	color: var(--ws-maroon-soft);
	padding: 0.25rem 0.5rem;
	border-radius: var(--ws-radius-lg);
}

.ws-drawer__close:hover {
	background: var(--ws-cream-dark);
	color: var(--ws-maroon-deep);
}

.ws-drawer__nav {
	padding: 0.75rem 0;
	overflow-y: auto;
}

.ws-drawer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ws-drawer__list > li > a {
	display: block;
	padding: 0.85rem 1.25rem;
	font-family: var(--ws-font-sans);
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--ws-maroon-deep);
	border-bottom: 1px solid color-mix(in srgb, var(--ws-maroon) 6%, var(--ws-cream-dark));
}

.ws-drawer__list > li > a:hover {
	background: var(--ws-white);
	color: var(--ws-maroon);
}

@media (max-width: 1024px) {
	.ws-header-search {
		max-width: min(280px, 42vw);
	}
}

@media (max-width: 880px) {
	.ws-header-cats {
		display: none;
	}

	.ws-header__grid {
		grid-template-columns: auto 1fr auto;
		grid-template-areas:
			"menu logo utils"
			"search search search";
		row-gap: 0.65rem;
	}

	.ws-header__left {
		grid-area: menu;
	}

	.ws-header__center {
		grid-area: logo;
	}

	.ws-header__tail {
		display: contents;
	}

	.ws-header-search {
		grid-area: search;
		max-width: none;
		width: 100%;
	}

	.ws-header-utils {
		grid-area: utils;
		justify-self: end;
	}
}

@media (max-width: 480px) {
	.ws-header-search__input {
		font-size: 0.8125rem;
	}

	.ws-header-utils .ws-icon-btn {
		width: 2.45rem;
		height: 2.45rem;
	}
}

/* ——— Main ——— */
.ws-main {
	flex: 1;
	width: 100%;
}

.ws-main--padded {
	padding-bottom: 3rem;
}

.ws-container {
	max-width: var(--ws-max);
	margin: 0 auto;
	padding-left: var(--ws-space);
	padding-right: var(--ws-space);
}

/* ——— Front page ——— */
.ws-hero {
	background: linear-gradient(
		145deg,
		var(--ws-maroon-deep) 0%,
		var(--ws-maroon) 45%,
		var(--ws-maroon-soft) 100%
	);
	color: var(--ws-cream);
	padding: clamp(3rem, 12vw, 7rem) var(--ws-space);
	text-align: center;
	position: relative;
	overflow: hidden;
}

.ws-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(
		ellipse 80% 50% at 50% 100%,
		color-mix(in srgb, var(--ws-cream) 15%, transparent),
		transparent 70%
	);
	pointer-events: none;
}

.ws-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 42rem;
	margin: 0 auto;
}

.ws-hero__kicker {
	font-size: 0.75rem;
	letter-spacing: 0.28em;
	text-transform: uppercase;
	opacity: 0.85;
	margin-bottom: 1rem;
}

.ws-hero__title {
	font-family: var(--ws-font-display);
	font-size: clamp(2.25rem, 7vw, 3.75rem);
	font-weight: 500;
	line-height: 1.08;
	margin: 0 0 1rem;
	letter-spacing: 0.02em;
}

.ws-hero__title em {
	font-style: italic;
	font-weight: 400;
	opacity: 0.95;
}

.ws-hero__lead {
	font-size: 1.05rem;
	opacity: 0.9;
	margin: 0 0 1.75rem;
	max-width: 32ch;
	margin-left: auto;
	margin-right: auto;
}

.ws-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-family: var(--ws-font-sans);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 0.85rem 1.6rem;
	border-radius: var(--ws-radius-lg);
	border: none;
	cursor: pointer;
	transition: transform var(--ws-transition), background var(--ws-transition),
		color var(--ws-transition), box-shadow var(--ws-transition);
}

.ws-btn:focus-visible {
	outline: 2px solid var(--ws-maroon);
	outline-offset: 3px;
}

.ws-btn--cream {
	background: var(--ws-cream);
	color: var(--ws-maroon-deep);
}

.ws-btn--cream:hover {
	background: var(--ws-white);
	color: var(--ws-maroon-deep);
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ws-btn--outline {
	background: transparent;
	color: var(--ws-cream);
	border: 1px solid color-mix(in srgb, var(--ws-cream) 55%, transparent);
}

.ws-btn--outline:hover {
	background: color-mix(in srgb, var(--ws-cream) 12%, transparent);
}

.ws-section {
	padding: clamp(2.5rem, 8vw, 5rem) 0;
}

.ws-section--cream {
	background: var(--ws-cream);
}

.ws-section--sand {
	background: var(--ws-cream-dark);
}

.ws-section__head {
	text-align: center;
	max-width: 36rem;
	margin: 0 auto 2.5rem;
}

.ws-section__label {
	font-size: 0.7rem;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--ws-maroon);
	margin: 0 0 0.5rem;
}

.ws-section__title {
	font-family: var(--ws-font-display);
	font-size: clamp(1.75rem, 4vw, 2.5rem);
	font-weight: 500;
	margin: 0;
	color: var(--ws-ink);
}

/* ——— Brand story ——— */
.ws-story {
	display: grid;
	gap: 2rem;
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.ws-story {
		grid-template-columns: 1fr 1fr;
		align-items: start;
		gap: 3rem;
	}
}

.ws-story__block {
	background: var(--ws-white);
	padding: clamp(1.5rem, 4vw, 2.25rem);
	border-radius: var(--ws-radius-lg);
	border: 1px solid color-mix(in srgb, var(--ws-maroon) 8%, transparent);
	box-shadow: 0 12px 40px rgba(28, 18, 22, 0.06);
}

.ws-story__block p {
	margin: 0 0 1rem;
	color: var(--ws-ink-muted);
	font-size: 0.98rem;
}

.ws-story__block p:last-child {
	margin-bottom: 0;
}

.ws-story__signoff {
	font-family: var(--ws-font-display);
	font-size: 1.25rem;
	color: var(--ws-maroon);
	margin-top: 1rem;
}

/* ——— Newsletter strip ——— */
.ws-newsletter {
	background: var(--ws-maroon);
	color: var(--ws-cream);
	padding: clamp(2rem, 5vw, 3rem) var(--ws-space);
	text-align: center;
}

.ws-newsletter h2 {
	font-family: var(--ws-font-display);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 500;
	margin: 0 0 0.5rem;
}

.ws-newsletter p {
	margin: 0 0 1.25rem;
	opacity: 0.88;
	font-size: 0.95rem;
}

.ws-newsletter__form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	justify-content: center;
	max-width: 28rem;
	margin: 0 auto;
}

.ws-newsletter__form input[type="email"] {
	flex: 1 1 12rem;
	padding: 0.75rem 1rem;
	border: 1px solid color-mix(in srgb, var(--ws-cream) 35%, transparent);
	border-radius: var(--ws-radius-lg);
	background: color-mix(in srgb, var(--ws-maroon-deep) 40%, var(--ws-cream) 8%);
	color: var(--ws-cream);
	font: inherit;
}

.ws-newsletter__form input::placeholder {
	color: color-mix(in srgb, var(--ws-cream) 55%, transparent);
}

.ws-newsletter__form .ws-btn--cream {
	min-height: 2.75rem;
}

/* ——— Footer ——— */
.ws-footer {
	background: var(--ws-ink);
	color: color-mix(in srgb, var(--ws-cream) 75%, transparent);
	padding: 2rem var(--ws-space);
	margin-top: auto;
	font-size: 0.875rem;
}

.ws-footer__inner {
	max-width: var(--ws-max);
	margin: 0 auto;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
}

.ws-footer a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
}

.ws-footer a:hover {
	color: var(--ws-white);
}

/* ——— Generic content pages ——— */
.ws-page-header {
	padding: 2.5rem var(--ws-space) 1.5rem;
	background: linear-gradient(
		180deg,
		var(--ws-cream-dark) 0%,
		var(--ws-cream) 100%
	);
	border-bottom: 1px solid color-mix(in srgb, var(--ws-maroon) 6%, transparent);
}

.ws-page-header h1 {
	font-family: var(--ws-font-display);
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 500;
	margin: 0;
	color: var(--ws-maroon-deep);
}

.ws-prose {
	max-width: 42rem;
	margin: 0 auto;
	padding: 2rem var(--ws-space) 3rem;
}

.ws-prose > *:first-child {
	margin-top: 0;
}

/* ——— WooCommerce: shop loop ——— */
.woocommerce .ws-woo-wrap,
.woocommerce-page .ws-woo-wrap {
	padding-top: 1.5rem;
	padding-bottom: 3rem;
}

.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1.5rem !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
	display: none !important;
}

.woocommerce ul.products li.product {
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
	background: var(--ws-white);
	border-radius: var(--ws-radius-lg);
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--ws-maroon) 7%, transparent);
	transition: box-shadow var(--ws-transition), transform var(--ws-transition);
}

.woocommerce ul.products li.product:hover {
	box-shadow: 0 16px 40px rgba(28, 18, 22, 0.08);
	transform: translateY(-2px);
}

.woocommerce ul.products li.product a.woocommerce-LoopProduct-link {
	text-decoration: none;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--ws-font-display);
	font-size: 1.2rem;
	padding: 0.75rem 1rem 0;
	color: var(--ws-ink);
}

.woocommerce ul.products li.product .price {
	padding: 0 1rem 1rem;
	color: var(--ws-maroon);
	font-weight: 600;
	font-size: 0.95rem;
}

.woocommerce ul.products li.product .button {
	margin: 0 1rem 1rem;
	border-radius: var(--ws-radius-lg);
	background: var(--ws-maroon);
	color: var(--ws-white) !important;
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.65rem 1rem;
	text-decoration: none;
	border: none;
	transition: background var(--ws-transition), transform var(--ws-transition);
}

.woocommerce ul.products li.product .button:hover {
	background: var(--ws-maroon-deep);
	transform: translateY(-1px);
}

.woocommerce .woocommerce-ordering select {
	border-radius: var(--ws-radius-lg);
	border: 1px solid var(--ws-sand);
	padding: 0.45rem 0.75rem;
	font: inherit;
	background: var(--ws-white);
}

.woocommerce nav.woocommerce-pagination {
	margin-top: 2rem;
}

.woocommerce nav.woocommerce-pagination ul {
	border: none;
	display: flex;
	gap: 0.35rem;
	flex-wrap: wrap;
	justify-content: center;
}

.woocommerce nav.woocommerce-pagination ul li {
	border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	border-radius: var(--ws-radius-lg);
	border: 1px solid var(--ws-sand);
	min-width: 2.25rem;
	padding: 0.35rem 0.65rem;
	color: var(--ws-ink);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--ws-maroon);
	color: var(--ws-white);
	border-color: var(--ws-maroon);
}

/* ——— Single product ——— */
.woocommerce div.product {
	display: grid;
	gap: 2rem;
}

@media (min-width: 768px) {
	.woocommerce div.product {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}
}

.woocommerce div.product .product_title {
	font-family: var(--ws-font-display);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	color: var(--ws-maroon-deep);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: var(--ws-maroon);
	font-size: 1.25rem;
	font-weight: 600;
}

.woocommerce div.product form.cart .button {
	background: var(--ws-maroon);
	color: var(--ws-white);
	border-radius: var(--ws-radius-lg);
	padding: 0.85rem 1.75rem;
	font-size: 0.8125rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border: none;
	transition: background var(--ws-transition), transform var(--ws-transition);
}

.woocommerce div.product form.cart .button:hover {
	background: var(--ws-maroon-deep);
	transform: translateY(-1px);
}

/* ——— Cart ——— */
.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce table.shop_table {
	border-radius: var(--ws-radius-lg);
	border-color: color-mix(in srgb, var(--ws-maroon) 10%, transparent) !important;
	overflow: hidden;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	border-color: color-mix(in srgb, var(--ws-maroon) 8%, transparent) !important;
}

.woocommerce .wc-proceed-to-checkout .checkout-button {
	background: var(--ws-maroon) !important;
	border-radius: var(--ws-radius-lg) !important;
	font-size: 0.8125rem !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 0.9rem 1.5rem !important;
}

.woocommerce .wc-proceed-to-checkout .checkout-button:hover {
	background: var(--ws-maroon-deep) !important;
}

/* ——— Classic shortcode checkout ——— */
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
	width: 100%;
	float: none;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
	display: grid;
	gap: 0.75rem;
}

@media (min-width: 640px) {
	.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
		grid-template-columns: 1fr 1fr;
	}

	.woocommerce-checkout .woocommerce-billing-fields__field-wrapper .form-row-wide,
	.woocommerce-checkout .woocommerce-billing-fields__field-wrapper #billing_address_1_field,
	.woocommerce-checkout .woocommerce-billing-fields__field-wrapper #billing_address_2_field {
		grid-column: 1 / -1;
	}
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	border-radius: var(--ws-radius-lg);
	border: 1px solid var(--ws-sand);
	padding: 0.65rem 0.85rem;
	font: inherit;
	background: var(--ws-white);
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
	border-color: var(--ws-maroon-soft);
	outline: none;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--ws-maroon) 18%, transparent);
}

#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
	border-radius: var(--ws-radius-lg);
	background: var(--ws-white);
	border: 1px solid color-mix(in srgb, var(--ws-maroon) 10%, transparent);
}

.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
	float: none;
	width: 100%;
	max-width: 24rem;
	margin: 1rem auto 0;
	display: block;
	background: var(--ws-maroon);
	border-radius: var(--ws-radius-lg);
	font-size: 0.875rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 1rem;
	border: none;
	transition: background var(--ws-transition), transform var(--ws-transition);
}

.woocommerce #payment #place_order:hover {
	background: var(--ws-maroon-deep);
	transform: translateY(-1px);
}

/* ——— WooCommerce Blocks (cart / checkout block) ——— */
.wc-block-cart,
.wc-block-checkout {
	font-family: var(--ws-font-sans);
}

.wc-block-components-button:not(.is-link) {
	border-radius: var(--ws-radius-lg) !important;
	background: var(--ws-maroon) !important;
	color: var(--ws-white) !important;
	font-size: 0.8125rem !important;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 0.75rem 1.25rem !important;
	border: none !important;
}

.wc-block-components-button:not(.is-link):hover {
	background: var(--ws-maroon-deep) !important;
}

.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-block-components-form .wc-block-components-text-input input {
	border-radius: var(--ws-radius-lg) !important;
	border-color: var(--ws-sand) !important;
}

.wc-block-checkout .wc-block-components-checkout-place-order-button {
	width: 100%;
	padding: 1rem !important;
	font-size: 0.875rem !important;
}

.wp-block-woocommerce-checkout-order-summary-block,
.wc-block-components-sidebar {
	border-radius: var(--ws-radius-lg);
}

/* ——— Notices ——— */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
	border-radius: var(--ws-radius-lg);
	border-left-width: 4px !important;
	border-left-color: var(--ws-maroon) !important;
	background: var(--ws-white) !important;
}

/* ——— Breadcrumbs ——— */
.woocommerce .woocommerce-breadcrumb {
	font-size: 0.8125rem;
	color: var(--ws-ink-muted);
	padding: 0.5rem 0 1rem;
}

.woocommerce .woocommerce-breadcrumb a {
	color: var(--ws-maroon);
}

.woocommerce-products-header h1.page-title {
	font-family: var(--ws-font-display);
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	color: var(--ws-maroon-deep);
	margin: 0 0 1rem;
}
