/* =========================================================================
   Voley PLT — base
   Design tokens, scoped reset, container and shared primitives.
   Everything is namespaced under .voley-root so the theme is left alone.
   ========================================================================= */

.voley-root {
	/* Brand ------------------------------------------------------------- */
	--v-accent: #f6891e;
	--v-accent-ink: #d9741a;
	--v-accent-soft: rgba(246, 137, 30, 0.12);

	/* Neutrals ---------------------------------------------------------- */
	--v-black: #000;
	--v-ink: #111213;
	--v-ink-2: #1b1c1e;
	--v-ink-3: #26282a;
	--v-white: #fff;
	--v-grey-50: #f7f7f7;
	--v-grey-100: #f1f1f1;
	--v-grey-150: #e9e9ea;
	--v-grey-200: #e0e0e1;
	--v-grey-300: #c9cacb;
	--v-grey-500: #8d8f92;
	--v-grey-600: #6a6c6f;
	--v-grey-700: #4a4c4f;
	--v-line: rgba(17, 18, 19, 0.1);
	--v-line-soft: rgba(17, 18, 19, 0.06);
	--v-sale: #e02b27;

	/* Type -------------------------------------------------------------- */
	--v-font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--v-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--v-fs-h1: 29px;
	--v-fs-h2: 26px;
	--v-fs-h3: 18px;
	--v-fs-body: 15px;
	--v-fs-sm: 13.5px;
	--v-fs-xs: 12px;
	--v-fs-eyebrow: 11px;

	/* Layout ------------------------------------------------------------ */
	--v-max: 1340px;
	--v-gutter: 20px;
	--v-header-h: 60px;
	/*
	 * The promo bar above the header row. `--v-chrome-h` is the whole fixed
	 * block — bar plus row — and is what anything reserving space beneath the
	 * header, or pinning itself under it, should measure against;
	 * `--v-header-h` stays the row's own height. Pages without the bar set
	 * --v-topbar-h to 0 (see .voley-header:not(.has-promo) in header.css).
	 */
	--v-topbar-h: 36px;
	--v-chrome-h: calc(var(--v-topbar-h) + var(--v-header-h));
	--v-section: 84px;
	--v-gap: 20px;
	--v-r-card: 14px;
	--v-r-sm: 8px;
	--v-r-pill: 999px;
	--v-shadow: 0 1px 2px rgba(17, 18, 19, 0.04), 0 12px 28px -18px rgba(17, 18, 19, 0.28);
	--v-ease: cubic-bezier(0.22, 0.61, 0.36, 1);

	/* Always paint our own canvas: never inherit a dark theme background. */
	color-scheme: light;
	background: var(--v-white);
	font-family: var(--v-font-body);
	font-size: var(--v-fs-body);
	font-weight: 400;
	line-height: 1.65;
	color: var(--v-ink);
	text-align: left;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
}

/* Scoped reset ------------------------------------------------------------
   Element selectors are wrapped in :where() so they carry no specificity —
   a single class further down always wins, no !important needed. */
.voley-root *,
.voley-root *::before,
.voley-root *::after {
	box-sizing: border-box;
}

.voley-root :where(h1, h2, h3, h4, p, figure, ul, ol, dl) {
	margin: 0;
	padding: 0;
}

.voley-root :where(ul, ol) {
	list-style: none;
}

.voley-root :where(img, svg, video) {
	display: block;
	max-width: 100%;
}

.voley-root :where(img) {
	height: auto;
}

.voley-root :where(a) {
	color: inherit;
	text-decoration: none;
}

.voley-root :where(button, input, select) {
	font: inherit;
	color: inherit;
}

.voley-root :where(button) {
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
	line-height: inherit;
}

.voley-root :where(del) {
	text-decoration: line-through;
}

.voley-root :where(ins) {
	text-decoration: none;
}

.voley-root :focus-visible {
	outline: 2px solid var(--v-accent);
	outline-offset: 3px;
	border-radius: 2px;
}

/* The theme's Bootstrap puts the browser's focus ring on every a:focus, so a
   mouse click left a white and blue ring on the link. Rings are for the
   keyboard: anything focused without :focus-visible gets none. */
.voley-root :focus:not(:focus-visible) {
	outline: none;
}

.voley-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

/* Layout ------------------------------------------------------------------ */
.voley-container {
	width: 100%;
	max-width: var(--v-max);
	margin-inline: auto;
}

/* Escape a theme's constrained content width for full-bleed bands. */
.voley-bleed {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	width: 100vw;
	max-width: 100vw;
}

.voley-section {
	padding-block: var(--v-section);
}

/* Type -------------------------------------------------------------------- */
/*
 * Headings inherit color from .voley-root by default, which is only enough
 * specificity to lose to a theme/page-builder rule that targets h1-h6
 * directly (Elementor + some themes ship exactly that). Set color explicitly,
 * double-scoped to .voley-root so it wins regardless of load order.
 */
.voley-root.voley-root :where(h1, h2, h3, h4) {
	color: var(--v-ink);
}

.voley-root :where(h1, h2),
.voley-h1,
.voley-h2 {
	font-family: var(--v-font-display);
	font-weight: 800;
	font-style: italic;
	line-height: 1.12;
	letter-spacing: -0.004em;
	word-spacing: 0.06em;
	text-transform: uppercase;
}

.voley-root :where(h1),
.voley-h1 {
	font-size: var(--v-fs-h1);
}

.voley-root :where(h2),
.voley-h2 {
	font-size: var(--v-fs-h2);
}

.voley-root :where(h3) {
	font-family: var(--v-font-body);
	font-size: var(--v-fs-h3);
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.voley-eyebrow {
	display: block;
	margin-bottom: 10px;
	font-size: var(--v-fs-eyebrow);
	font-weight: 700;
	letter-spacing: 0.18em;
	line-height: 1;
	text-transform: uppercase;
	color: var(--v-accent);
}

.voley-sub {
	max-width: 52ch;
	font-size: var(--v-fs-body);
	color: var(--v-grey-600);
}

/* Section head ------------------------------------------------------------ */
.voley-shead {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	margin-bottom: 34px;
}

.voley-shead .voley-h2 {
	margin-bottom: 10px;
}

.voley-shead .voley-sub {
	max-width: 44ch;
}

/* Buttons ----------------------------------------------------------------- */
.voley-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 46px;
	padding: 0 26px;
	border-radius: var(--v-r-pill);
	background: var(--v-accent);
	color: var(--v-white);
	font-family: var(--v-font-display);
	font-size: var(--v-fs-sm);
	font-style: italic;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color 0.25s var(--v-ease), transform 0.25s var(--v-ease);
}

.voley-btn:hover {
	background: var(--v-accent-ink);
	transform: translateY(-1px);
}

.voley-btn--sm {
	height: 38px;
	padding: 0 20px;
	font-size: var(--v-fs-xs);
}

.voley-btn--dark {
	background: var(--v-ink);
}

.voley-btn--dark:hover {
	background: var(--v-black);
}

.voley-btn--block {
	display: flex;
	width: 100%;
}

/* Label + circular arrow pill */
.voley-pill {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	flex: none;
	height: 46px;
	padding: 0 6px 0 22px;
	border: 1px solid var(--v-line);
	border-radius: var(--v-r-pill);
	background: var(--v-white);
	font-size: var(--v-fs-sm);
	font-weight: 600;
	white-space: nowrap;
	transition: border-color 0.25s var(--v-ease), background-color 0.25s var(--v-ease), color 0.25s var(--v-ease);
}

.voley-pill i {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--v-ink);
	color: var(--v-white);
	transition: background-color 0.25s var(--v-ease), transform 0.35s var(--v-ease);
}

.voley-pill:hover {
	border-color: var(--v-ink);
	background: var(--v-ink);
	color: var(--v-white);
}

.voley-pill:hover i {
	background: var(--v-accent);
	transform: translateX(2px);
}

.voley-textlink {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: var(--v-fs-sm);
	font-weight: 600;
	color: var(--v-white);
	border-bottom: 1px solid rgba(255, 255, 255, 0.35);
	padding-bottom: 3px;
	transition: color 0.25s var(--v-ease), border-color 0.25s var(--v-ease);
}

.voley-textlink svg {
	transition: transform 0.3s var(--v-ease);
}

.voley-textlink:hover {
	color: var(--v-accent);
	border-color: var(--v-accent);
}

.voley-textlink:hover svg {
	transform: translateX(3px);
}

.voley-textlink--dark {
	color: var(--v-ink);
	border-color: var(--v-line);
}

/* Circle nav buttons ------------------------------------------------------ */
.voley-navbtns {
	display: flex;
	gap: 10px;
	flex: none;
}

.voley-navbtn {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid var(--v-line);
	background: var(--v-white);
	color: var(--v-ink);
	transition: background-color 0.25s var(--v-ease), color 0.25s var(--v-ease), border-color 0.25s var(--v-ease), opacity 0.25s var(--v-ease);
}

.voley-navbtn:hover:not(:disabled) {
	background: var(--v-ink);
	border-color: var(--v-ink);
	color: var(--v-white);
}

.voley-navbtn--next {
	background: var(--v-accent);
	border-color: var(--v-accent);
	color: var(--v-white);
}

.voley-navbtn--next:hover:not(:disabled) {
	background: var(--v-accent-ink);
	border-color: var(--v-accent-ink);
}

.voley-navbtn:disabled {
	opacity: 0.32;
	cursor: default;
}

/* Stars ------------------------------------------------------------------- */
.voley-stars {
	position: relative;
	display: inline-block;
	line-height: 0;
}

.voley-stars__base,
.voley-stars__fill {
	display: flex;
	gap: 2px;
}

.voley-stars__base {
	color: var(--v-grey-200);
}

.voley-stars__fill {
	position: absolute;
	inset: 0;
	overflow: hidden;
	color: var(--v-accent);
}

.voley-stars svg {
	fill: currentColor;
	flex: none;
}

.voley-stars__score {
	margin-left: 7px;
	font-size: var(--v-fs-sm);
	font-weight: 700;
	color: var(--v-ink);
}

/* nowrap: squeezed into a narrow tile this would otherwise break between the
   number and the word, leaving a stray "(42" on its own line. */
.voley-stars__count {
	margin-left: 5px;
	font-size: var(--v-fs-sm);
	font-weight: 600;
	white-space: nowrap;
	color: var(--v-ink);
}

/* Post card ---------------------------------------------------------------
   Shared by the homepage "News & events" grid and the blog index, so both
   pages show the exact same card. */
.voley-post {
	display: flex;
	flex-direction: column;
	padding: 14px 14px 24px;
	border: 1px solid var(--v-line-soft);
	border-radius: var(--v-r-card);
	background: var(--v-white);
	text-align: center;
	transition: transform 0.35s var(--v-ease), box-shadow 0.35s var(--v-ease);
}

.voley-post:hover {
	transform: translateY(-3px);
	box-shadow: var(--v-shadow);
}

.voley-post__media {
	position: relative;
	aspect-ratio: 4 / 2.9;
	margin-bottom: 20px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--v-grey-100);
}

.voley-root .voley-post__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Blog / Event tag, top-left so it never collides with the meta pill. */
.voley-post__type {
	position: absolute;
	left: 12px;
	top: 12px;
	padding: 4px 10px;
	border-radius: var(--v-r-pill);
	background: var(--v-accent);
	font-size: var(--v-fs-eyebrow);
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--v-white);
}

.voley-post__meta {
	position: absolute;
	left: 12px;
	bottom: 12px;
	padding: 5px 11px;
	border-radius: var(--v-r-pill);
	background: rgba(255, 255, 255, 0.94);
	font-size: var(--v-fs-xs);
	font-weight: 600;
	color: var(--v-ink);
}

.voley-root.voley-root .voley-post__title {
	color: var(--v-ink);
	font-family: var(--v-font-display);
	font-size: var(--v-fs-h3);
	font-style: italic;
	font-weight: 800;
	letter-spacing: 0.005em;
	text-transform: uppercase;
	margin-bottom: 8px;
}

.voley-post__text {
	max-width: 34ch;
	margin: 0 auto 20px;
	font-size: var(--v-fs-sm);
	line-height: 1.6;
	color: var(--v-grey-600);
}

/* Keep the CTA on one baseline no matter how long the copy runs. */
.voley-post .voley-textlink {
	margin-top: auto;
	align-self: center;
}

/* Product card ------------------------------------------------------------
   Rendered by voley_product_card() on the homepage slider and by the
   WooCommerce shop archive, so the two always match. Slider-only behaviour
   stays in home.css. */
/* The tile is a bordered card: the border is what separates one product from
   the next now that the copy is centred and no longer forms its own left edge. */
.voley-product {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--v-grey-200);
	border-radius: var(--v-r-card);
	background: var(--v-white);
	overflow: hidden;
	transition: border-color 0.25s var(--v-ease), box-shadow 0.25s var(--v-ease);
}

.voley-product:hover {
	border-color: var(--v-grey-300);
	box-shadow: var(--v-shadow);
}

.voley-product__media {
	position: relative;
	aspect-ratio: 1;
	background: var(--v-white);
	overflow: hidden;
}

/* `contain`, not `cover`: a paddle shot is a cut-out that has to stay whole —
   cropping one to fill the box would slice the handle or the face off. */
.voley-root .voley-product__media img {
	width: 100%;
	height: 100%;
	padding: 18px;
	object-fit: contain;
	transition: transform 0.6s var(--v-ease);
}

.voley-product:hover .voley-root .voley-product__media img {
	transform: scale(1.04);
}

.voley-product__link {
	position: absolute;
	inset: 0;
	z-index: 1;
}

.voley-product__badge {
	position: absolute;
	top: 13px;
	left: 13px;
	z-index: 2;
	padding: 5px 10px 4px;
	border-radius: var(--v-r-pill);
	background: var(--v-ink);
	color: var(--v-white);
	font-family: var(--v-font-display);
	font-size: 10px;
	font-style: italic;
	font-weight: 800;
	letter-spacing: 0.1em;
	line-height: 1.2;
	text-transform: uppercase;
}

.voley-product__badge.is-sale {
	background: var(--v-accent);
}

.voley-product__add {
	position: absolute;
	right: 13px;
	bottom: 13px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--v-white);
	color: var(--v-ink);
	box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.4);
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.25s var(--v-ease), transform 0.25s var(--v-ease), background-color 0.25s var(--v-ease), color 0.25s var(--v-ease);
}

.voley-product:hover .voley-product__add,
.voley-product__add:focus-visible {
	opacity: 1;
	transform: none;
}

.voley-product__add:hover {
	background: var(--v-accent);
	color: var(--v-white);
}

.voley-product__add.loading {
	opacity: 1;
	transform: none;
}

.voley-product__add.added::after {
	display: none;
}

.voley-product__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 16px 16px 20px;
	border-top: 1px solid var(--v-grey-150);
	text-align: center;
}

/* The homepage renders this as an h3, WooCommerce's loop as an h2 — and h2
   picks up the italic uppercase display treatment. Every inherited property is
   therefore restated, so the tile looks the same whichever tag it lands on. */
.voley-root.voley-root .voley-product__title {
	color: var(--v-ink);
	font-family: var(--v-font-display);
	font-size: var(--v-fs-h3);
	font-style: normal;
	font-weight: 800;
	letter-spacing: 0.01em;
	line-height: 1.25;
	word-spacing: normal;
	text-transform: uppercase;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.voley-product__title a:hover {
	color: var(--v-accent-ink);
}

/* Variation name under the title (one tile per variation). */
.voley-root.voley-root .voley-product__variant {
	margin: 6px 0 0;
	font-size: var(--v-fs-sm);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--v-accent-ink);
}

/* Category and brand pills ------------------------------------------------
   What the product is and whose it is, in the place the short description used
   to sit. A description was written for the product page and ran to whatever
   length it ran to; these are two or three fixed words, so every tile in a row
   now has copy of the same shape. */
.voley-product__terms {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-top: 9px;
}

.voley-product__term {
	display: inline-block;
	padding: 4px 10px;
	border: 1px solid var(--v-line);
	border-radius: 999px;
	background: var(--v-white);
	font-size: var(--v-fs-xs);
	font-weight: 600;
	line-height: 1.45;
	color: var(--v-grey-600);
	transition: border-color 0.2s var(--v-ease), color 0.2s var(--v-ease);
}

a.voley-product__term:hover {
	border-color: var(--v-accent);
	color: var(--v-accent);
}

/* No gap — the score and count carry their own margins so they space the same
   way here as on the single product page, where the row is not a flex parent. */
.voley-product__rating {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 9px;
}

/* Pushed to the bottom so tiles with a one-line and a two-line name still line
   their prices up across the row. */
/* `margin-top: auto` used to sit here to line the prices up across a row. What
   it actually did was hand every tile's spare height to this one margin, so a
   product with no reviews yet showed a gap exactly the height of the star row
   it was missing — the alignment was bought with a hole in the tiles that
   needed it least. The price follows the copy now. */
.voley-product__price {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 4px 8px;
	padding-top: 12px;
}

.voley-product__price ins {
	order: 1;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: -0.01em;
	text-decoration: none;
}

.voley-product__off {
	order: 2;
	padding: 3px 6px;
	border-radius: var(--v-r-sm);
	background: var(--v-sale);
	color: var(--v-white);
	font-size: var(--v-fs-xs);
	font-weight: 700;
	line-height: 1.2;
}

/* Full-width so it wraps onto its own line under the current price, the way the
   old price reads on the product photography. */
.voley-product__price del {
	order: 3;
	flex-basis: 100%;
	font-size: var(--v-fs-sm);
	color: var(--v-sale);
}

/* Checklist --------------------------------------------------------------- */
.voley-checks {
	display: grid;
	gap: 12px;
}

.voley-checks li {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-size: var(--v-fs-body);
	font-weight: 500;
}

.voley-checks i {
	display: grid;
	place-items: center;
	flex: none;
	width: 22px;
	height: 22px;
	margin-top: 2px;
	border-radius: var(--v-r-sm);
	background: var(--v-accent-soft);
	color: var(--v-accent);
}

/* Reveal on scroll -------------------------------------------------------- */
[data-voley-reveal] {
	opacity: 1;
}

.voley-root.js [data-voley-reveal] {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.6s var(--v-ease), transform 0.6s var(--v-ease);
}

.voley-root.js [data-voley-reveal].is-in {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: reduce) {
	.voley-root.js [data-voley-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.voley-root *,
	.voley-root *::before,
	.voley-root *::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1379px) {
	.voley-container {
		padding-inline: var(--v-gutter);
	}
}

@media (max-width: 900px) {
	/* No hover on touch, so the add-to-cart button is always visible there.
	   Lives here rather than home.css because the shop archive uses the same
	   card and never loads home.css. */
	.voley-product__add {
		opacity: 1;
		transform: none;
	}

	.voley-root {
		--v-section: 60px;
		--v-header-h: 52px;
		--v-topbar-h: 32px;
		--v-gap: 16px;
	}

	.voley-shead {
		flex-direction: column;
		align-items: flex-start;
		gap: 20px;
		margin-bottom: 26px;
	}
}

/* Two tiles across a phone leaves each about 160px wide. The desktop type scale
   does not survive that — the name truncates after two words and the review
   count breaks mid-bracket — so the whole card steps down together. */
@media (max-width: 640px) {
	.voley-product__body {
		padding: 12px 10px 15px;
	}

	.voley-root.voley-root .voley-product__title {
		font-size: var(--v-fs-body);
		letter-spacing: 0;
	}

	.voley-product__terms {
		margin-top: 7px;
		gap: 5px;
	}

	.voley-product__term {
		padding: 3px 8px;
	}

	.voley-product__rating {
		flex-wrap: wrap;
		margin-top: 7px;
	}

	.voley-product__price {
		padding-top: 10px;
	}

	.voley-product__price ins {
		font-size: var(--v-fs-body);
	}

	.voley-product__media img {
		padding: 10px;
	}
}

/* Empty paragraphs the editor's auto-paragraphing leaves around the block
   shortcodes would otherwise open a white gap under the fixed header. */
p:empty:has(+ .voley-root),
.voley-root + p:empty {
	display: none;
}


/* Dark title bands (shop, info pages) with an optional photo behind them. */
.voley-root .has-image.voley-infohero,
.voley-root .has-image.voley-shophero {
	background-color: var(--v-ink);
	background-image: linear-gradient(90deg, rgba(10, 10, 11, 0.88) 0%, rgba(10, 10, 11, 0.6) 55%, rgba(10, 10, 11, 0.35) 100%), var(--v-band-img);
	background-size: cover;
	background-position: center;
}

@media (max-width: 767px) {
	.voley-root .has-image.voley-infohero,
	.voley-root .has-image.voley-shophero {
		background-image: linear-gradient(180deg, rgba(10, 10, 11, 0.55), rgba(10, 10, 11, 0.85)), var(--v-band-img-m, var(--v-band-img));
	}
}

/* Optional text under the About / Blog photo hero titles. */
.voley-root .voley-hero-text {
	position: relative;
	max-width: 58ch;
	margin: 12px 0 0;
	font-size: var(--v-fs-body);
	color: rgba(255, 255, 255, 0.78);
}

.voley-hero__link {
	display: block;
	width: 100%;
	height: 100%;
}

/* WooCommerce block cart/checkout: the Hub theme's script turns every <select>
   into a jQuery UI "selectmenu" (hiding the real one with an inline
   display:none). Inside the React checkout that widget sits outside the field
   box — "Malaysia" floating above Street address — and its option list opens
   unstyled at the very bottom of the page. Show the real select, hide the widget. */
.wc-block-components-address-form .ui-selectmenu-button,
.wc-block-checkout .ui-selectmenu-button,
.wc-block-cart .ui-selectmenu-button,
.wp-block-woocommerce-checkout .ui-selectmenu-button,
.wp-block-woocommerce-cart .ui-selectmenu-button {
	display: none !important;
}

.wc-block-components-address-form select.wc-blocks-components-select__select,
.wc-block-checkout select.wc-blocks-components-select__select,
.wc-block-cart select.wc-blocks-components-select__select,
.wp-block-woocommerce-checkout select,
.wp-block-woocommerce-cart select {
	display: block !important;
}

/* The menus the widget appends to <body> for those selects. */
.woocommerce-checkout .ui-selectmenu-menu,
.woocommerce-cart .ui-selectmenu-menu {
	display: none !important;
}


/* =========================================================================
   Voley PLT — WooCommerce block Checkout and Cart
   The blocks render outside .voley-root, so the brand values are written out
   here rather than read from the --v-* tokens.
   ========================================================================= */

body.woocommerce-checkout,
body.woocommerce-cart {
	--vc-accent: #f6891e;
	--vc-accent-ink: #d9741a;
	--vc-ink: #111213;
	--vc-grey-50: #f7f7f7;
	--vc-grey-500: #8d8f92;
	--vc-grey-600: #6a6c6f;
	--vc-line: rgba(17, 18, 19, 0.14);
	--vc-line-soft: rgba(17, 18, 19, 0.07);
	--vc-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--vc-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Page width and rhythm -------------------------------------------------- */
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-cart .wp-block-woocommerce-cart {
	max-width: 1340px;
	margin: 0 auto;
	padding: 48px 20px 90px;
	font-family: var(--vc-body);
	color: var(--vc-ink);
}

body.woocommerce-checkout .elementor .e-con.e-con-boxed,
body.woocommerce-cart .elementor .e-con.e-con-boxed {
	padding-inline: 0;
}

/* Page heading, drawn from the step structure. */
body.woocommerce-checkout .wp-block-woocommerce-checkout::before {
	display: block;
	margin: 0 0 34px;
	font-family: var(--vc-display);
	font-size: 34px;
	font-style: italic;
	font-weight: 800;
	line-height: 1.05;
	text-transform: uppercase;
	color: var(--vc-ink);
}

body.woocommerce-checkout .wp-block-woocommerce-checkout::before {
	content: "Checkout";
}

/* Section titles --------------------------------------------------------- */
body.woocommerce-checkout .wc-block-components-checkout-step__title,
body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-cart .wc-block-components-title,
body.woocommerce-cart .wc-block-cart__totals-title {
	font-family: var(--vc-display) !important;
	font-size: 19px !important;
	font-style: italic;
	font-weight: 800 !important;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--vc-ink);
}

body.woocommerce-checkout .wc-block-components-checkout-step {
	padding-bottom: 8px;
}

body.woocommerce-checkout .wc-block-components-checkout-step__description,
body.woocommerce-checkout .wc-block-checkout__guest-checkout-notice {
	font-size: 13px;
	color: var(--vc-grey-600);
}

/* Fields ------------------------------------------------------------------ */
body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-textarea,
body.woocommerce-checkout select.wc-blocks-components-select__select,
body.woocommerce-cart .wc-block-components-text-input input,
body.woocommerce-cart select.wc-blocks-components-select__select {
	min-height: 54px;
	border: 1px solid var(--vc-line) !important;
	border-radius: 10px !important;
	background-color: #fff;
	box-shadow: none !important;
	font-family: var(--vc-body);
	font-size: 15px !important;
	color: var(--vc-ink);
	transition: border-color 0.2s ease;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-textarea:focus,
body.woocommerce-checkout select.wc-blocks-components-select__select:focus,
body.woocommerce-cart .wc-block-components-text-input input:focus,
body.woocommerce-cart select.wc-blocks-components-select__select:focus {
	outline: none !important;
	border-color: var(--vc-accent) !important;
	box-shadow: 0 0 0 3px rgba(246, 137, 30, 0.16) !important;
}

body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-blocks-components-select__label {
	color: var(--vc-grey-500);
	font-weight: 500;
}

/* The select keeps WooCommerce's own label-inside layout; give it room. */
body.woocommerce-checkout .wc-blocks-components-select__container {
	position: relative;
}

body.woocommerce-checkout select.wc-blocks-components-select__select {
	width: 100%;
	height: 54px;
	padding: 20px 40px 4px 14px !important;
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
}

body.woocommerce-checkout .wc-blocks-components-select__label {
	position: absolute;
	top: 8px;
	left: 15px;
	margin: 0;
	font-size: 12px;
	line-height: 1;
	pointer-events: none;
}

body.woocommerce-checkout .wc-blocks-components-select__expand {
	position: absolute;
	top: 50%;
	right: 14px;
	transform: translateY(-50%);
	pointer-events: none;
}

body.woocommerce-checkout .wc-block-components-address-form__address_2-toggle,
body.woocommerce-checkout .wc-block-components-checkbox label,
body.woocommerce-checkout .wc-block-checkout__add-note .wc-block-components-checkbox__label {
	font-size: 13.5px;
	color: var(--vc-grey-600);
}

body.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked,
body.woocommerce-cart .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked {
	border-color: var(--vc-accent);
	background: var(--vc-accent);
}

body.woocommerce-checkout .wc-block-components-checkbox .wc-block-components-checkbox__mark {
	fill: #fff;
}

body.woocommerce-checkout .wc-block-components-radio-control__option--checked-option-highlighted,
body.woocommerce-checkout .wc-block-components-radio-control-accordion-option--checked-option-highlighted {
	box-shadow: inset 0 0 0 2px var(--vc-accent) !important;
	border-radius: 10px;
}

/* Order summary / cart totals card ---------------------------------------- */
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-checkout-order-summary__content,
body.woocommerce-checkout .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-cart .wc-block-cart__sidebar .wp-block-woocommerce-cart-order-summary-block {
	border: 1px solid var(--vc-line-soft) !important;
	border-radius: 14px;
	background: var(--vc-grey-50);
	overflow: hidden;
}

body.woocommerce-checkout .wc-block-components-checkout-order-summary__title {
	padding: 18px 20px !important;
}

body.woocommerce-checkout .wc-block-components-totals-wrapper,
body.woocommerce-cart .wc-block-components-totals-wrapper {
	border-color: var(--vc-line-soft) !important;
}

body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-family: var(--vc-display);
	font-size: 20px;
	font-weight: 800;
	color: var(--vc-ink);
}

body.woocommerce-checkout .wc-block-components-order-summary-item__image img,
body.woocommerce-cart .wc-block-cart-item__image img {
	border-radius: 8px;
	background: #fff;
}

body.woocommerce-checkout .wc-block-components-order-summary-item__quantity {
	border: 0;
	background: var(--vc-ink);
	color: #fff;
	box-shadow: none;
}

body.woocommerce-checkout .wc-block-components-product-name,
body.woocommerce-cart .wc-block-components-product-name {
	font-weight: 600;
	color: var(--vc-ink) !important;
	text-decoration: none;
}

body.woocommerce-checkout .wc-block-components-sale-badge,
body.woocommerce-cart .wc-block-components-sale-badge {
	border: 0;
	border-radius: 999px;
	background: #e02b27;
	color: #fff;
	font-weight: 700;
}

/* Buttons ------------------------------------------------------------------ */
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-cart .wc-block-cart__submit-button,
body.woocommerce-cart .wp-block-button__link,
body.woocommerce-checkout .wc-block-components-totals-coupon__button,
body.woocommerce-cart .wc-block-components-totals-coupon__button {
	min-height: 56px;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--vc-accent) !important;
	font-family: var(--vc-display) !important;
	font-size: 15px !important;
	font-style: italic;
	font-weight: 800 !important;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #fff !important;
	box-shadow: none !important;
	transition: background-color 0.2s ease;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-cart .wc-block-cart__submit-button:hover,
body.woocommerce-cart .wp-block-button__link:hover {
	background: var(--vc-ink) !important;
}

body.woocommerce-checkout .wc-block-components-totals-coupon__button {
	min-height: 48px;
	font-size: 13px !important;
}

body.woocommerce-checkout .wc-block-components-checkout-return-to-cart-button {
	font-weight: 600;
	color: var(--vc-ink);
}

/* Notices -------------------------------------------------------------------- */
body.woocommerce-checkout .wc-block-components-notice-banner,
body.woocommerce-cart .wc-block-components-notice-banner {
	border-radius: 10px;
	font-size: 14px;
}

/* Empty cart ---------------------------------------------------------------- */
body.woocommerce-cart .wp-block-woocommerce-empty-cart-block {
	text-align: center;
}

body.woocommerce-cart .wp-block-woocommerce-empty-cart-block h2 {
	font-family: var(--vc-display);
	font-style: italic;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--vc-ink);
}

body.woocommerce-cart .wc-block-grid__product-title,
body.woocommerce-cart .wc-block-grid__product-link {
	font-family: var(--vc-display);
	font-weight: 800;
	text-transform: uppercase;
	color: var(--vc-ink) !important;
}

body.woocommerce-cart .wc-block-grid__product-image img {
	border-radius: 14px;
	background: var(--vc-grey-50);
}

body.woocommerce-cart .wc-block-grid__product-price {
	font-weight: 700;
	color: var(--vc-ink);
}

body.woocommerce-cart .wc-block-grid__product-price del {
	color: var(--vc-grey-500);
}

body.woocommerce-cart .wc-block-grid__product-onsale {
	border: 0;
	border-radius: 999px;
	background: var(--vc-accent);
	color: #fff;
	font-weight: 700;
}

body.woocommerce-cart .wc-block-grid__product-add-to-cart .wp-block-button__link {
	min-height: 44px;
	padding: 0 22px;
	font-size: 12px !important;
}

@media (max-width: 700px) {
	body.woocommerce-checkout .wp-block-woocommerce-checkout,
	body.woocommerce-cart .wp-block-woocommerce-cart {
		padding: 28px 16px 60px;
	}

	body.woocommerce-checkout .wp-block-woocommerce-checkout::before {
		font-size: 26px;
		margin-bottom: 22px;
	}
}
