/* ==========================================================================
   BAC-VIAL commerce: configurator, cart drawer, WooCommerce pages
   ========================================================================== */

/* ---------- Configurator ---------- */
.bv-config-section { position: relative; padding-block: var(--section); overflow: clip; }
.bv-config-section--product { padding-top: calc(var(--header-h) + 16px); }
.bv-config-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 6vw, 112px);
	align-items: center;
}
.bv-config-media { display: grid; place-items: center; }
.bv-config-media .bv-stage { width: min(100%, 440px); }
.bv-config-media .bv-stage__photo { max-height: 80svh; width: auto; margin-inline: auto; transition: opacity 0.35s; }
.bv-config-panel { max-width: 520px; }
.bv-config__title {
	font-size: clamp(2.8rem, 1.6rem + 4.4vw, 6rem);
	font-weight: 600;
	letter-spacing: -0.05em;
	line-height: 0.9;
	text-transform: uppercase;
	margin-bottom: 20px;
}
.bv-config__intro { color: var(--text-2); font-size: 1.05rem; margin-bottom: 36px; }
.bv-config__intro p:last-child { margin: 0; }

.bv-field { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.bv-field__legend {
	font-family: var(--mono);
	font-size: var(--fs-label);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--text-3);
	padding: 0;
	margin-bottom: 12px;
}

/* Segmented control (vial size) */
.bv-seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, 0.02); }
.bv-seg__opt { position: relative; }
.bv-seg__opt input, .bv-pack input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bv-seg__text {
	display: grid;
	place-items: center;
	min-width: 96px;
	min-height: 48px;
	padding: 0 22px;
	border-radius: 999px;
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--text-2);
	transition: color 0.25s, background-color 0.35s var(--ease-out), box-shadow 0.35s;
	pointer-events: none;
}
.bv-seg__text small { display: block; font-size: 0.65rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; }
.bv-seg__opt:hover .bv-seg__text { color: var(--text); }
.bv-seg__opt input:checked + .bv-seg__text {
	color: #fff;
	background: linear-gradient(180deg, rgba(40, 90, 240, 0.9), var(--blue));
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 6px 24px -8px var(--blue-glow);
}
.bv-seg__opt input:focus-visible + .bv-seg__text { outline: 2px solid var(--blue-ui); outline-offset: 2px; }
.bv-seg__opt input:disabled + .bv-seg__text { opacity: 0.4; text-decoration: line-through; }

/* Pack options */
.bv-packs { display: grid; gap: 10px; }
.bv-pack {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 64px;
	padding: 0 22px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.015);
	cursor: pointer;
	transition: border-color 0.25s, background-color 0.25s, box-shadow 0.35s, opacity 0.3s, transform 0.4s var(--ease-out);
}
.bv-pack:hover { border-color: rgba(236, 240, 246, 0.28); }
.bv-pack__name { font-weight: 600; font-size: 1.02rem; text-transform: uppercase; letter-spacing: 0.04em; }
.bv-pack__price { font-variant-numeric: tabular-nums; color: var(--text-2); font-size: 1.02rem; }
.bv-pack::before {
	content: "";
	flex: none;
	order: -1;
	width: 18px; height: 18px;
	border-radius: 999px;
	border: 1.5px solid var(--line-2);
	transition: border-color 0.2s, box-shadow 0.3s;
}
.bv-pack__name { margin-right: auto; }
.bv-pack:has(input:checked) {
	border-color: rgba(77, 127, 255, 0.7);
	background: linear-gradient(90deg, rgba(38, 92, 255, 0.1), rgba(184, 44, 255, 0.04));
	box-shadow: 0 0 0 1px rgba(77, 127, 255, 0.25), 0 10px 40px -18px var(--violet-glow);
}
.bv-pack:has(input:checked)::before { border: 5px solid var(--blue-ui); box-shadow: 0 0 12px var(--blue-glow); }
.bv-pack:has(input:checked) .bv-pack__price { color: var(--text); }
.bv-pack:has(input:focus-visible) { outline: 2px solid var(--blue-ui); outline-offset: 3px; }
.bv-pack:has(input:disabled) { opacity: 0.45; cursor: not-allowed; }
.js .bv-pack[data-bv-off], .js .bv-config__facts [data-bv-off] { display: none; }
.js .bv-pack__prefix { display: none; }
.no-js .bv-field--primary { display: none; }
.bv-pack.is-entering { animation: bv-pack-in 0.45s var(--ease-out) both; }
@keyframes bv-pack-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Quantity + add to cart */
.bv-config__buy { display: flex; gap: 12px; align-items: stretch; margin-top: 8px; }
.bv-qty {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--line-2);
	border-radius: 999px;
	padding: 4px;
	flex: none;
}
.bv-qty__btn {
	display: grid;
	place-items: center;
	width: 44px; height: 44px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: var(--text);
	cursor: pointer;
	transition: background-color 0.2s;
}
.bv-qty__btn:hover { background: rgba(255, 255, 255, 0.06); }
.bv-qty__btn:disabled { opacity: 0.3; cursor: not-allowed; }
.bv-qty__btn .bv-icon { width: 16px; height: 16px; }
.bv-qty__input {
	width: 40px;
	border: 0;
	background: transparent;
	text-align: center;
	font-weight: 600;
	font-variant-numeric: tabular-nums;
	-moz-appearance: textfield;
	appearance: textfield;
}
.bv-qty__input::-webkit-outer-spin-button, .bv-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bv-atc { flex: 1; min-height: 60px; }
.bv-atc__price { font-variant-numeric: tabular-nums; display: inline-block; }
.bv-atc__price.is-changing { animation: bv-tick 0.35s var(--ease-out); }
.bv-atc.is-loading { pointer-events: none; }
.bv-atc.is-done { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 0 0 1px rgba(123, 227, 176, 0.5), 0 12px 40px -14px rgba(123, 227, 176, 0.4); }
@keyframes bv-tick { from { opacity: 0.2; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes bv-spin { to { transform: rotate(360deg); } }

.bv-config__status { min-height: 1.5em; margin: 12px 0 0; font-size: var(--fs-small); color: var(--text-2); }
.bv-config__status.is-error { color: #ff9b9b; }
.bv-config__facts { list-style: none; margin: 20px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: var(--fs-small); color: var(--text-2); }
.bv-config__facts li { display: flex; align-items: center; gap: 10px; }
.bv-config__facts .bv-icon { width: 16px; height: 16px; color: var(--blue-ui); }
.bv-config__facts a { color: var(--text-2); }
.bv-config__facts a:hover { color: var(--text); }

@media (max-width: 900px) {
	.bv-config-grid { grid-template-columns: 1fr; }
	.bv-config-media .bv-stage { width: min(50vw, 230px); }
	.bv-config-media .bv-stage__photo { max-height: 56svh; }
	.bv-config-panel { max-width: none; }
	.bv-seg { display: grid; width: 100%; }
}
@media (max-width: 420px) {
	.bv-config__buy { flex-direction: column; }
	.bv-qty { justify-content: space-between; }
	.bv-qty__input { flex: 1; }
}

/* ---------- Product page extras ---------- */
.bv-product-page .bv-crumbs { padding-top: calc(var(--header-h) + 24px); }
.bv-product-page .bv-crumbs + .bv-config-section--product,
.bv-product-page .bv-config-section--product { padding-top: clamp(24px, 4vw, 48px); }
.bv-crumbs { font-size: 0.78rem; color: var(--text-3); letter-spacing: 0.06em; }
.bv-crumbs a { color: var(--text-2); text-decoration: none; }
.bv-crumbs a:hover { color: var(--text); }
.bv-crumbs__sep { margin: 0 10px; opacity: 0.5; }
.bv-product-details .bv-prose { max-width: 64ch; }
.bv-product-fallback { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding-block: 48px; }

/* Review form */
.bv-reviews-form { max-width: 640px; }
.bv-reviews-form .comment-form p { margin-bottom: 18px; }
.bv-reviews-form p.stars a { color: var(--text-2); }

/* ---------- Cart drawer ---------- */
.bv-drawer {
	position: fixed;
	inset: 0 0 0 auto;
	width: min(460px, 100vw);
	height: 100%;
	max-width: none; max-height: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-left: 1px solid var(--line-2);
	background: var(--glass-strong);
	-webkit-backdrop-filter: blur(24px) saturate(140%);
	backdrop-filter: blur(24px) saturate(140%);
	color: var(--text);
	box-shadow: -40px 0 120px -30px rgba(0, 0, 0, 0.9);
	transform: translateX(100%);
	transition: transform 0.5s var(--ease-out), overlay 0.5s allow-discrete, display 0.5s allow-discrete;
}
.bv-drawer::before {
	content: "";
	position: absolute;
	top: 0; bottom: 0; left: -1px;
	width: 1px;
	background: linear-gradient(180deg, transparent, rgba(192, 58, 255, 0.6) 30%, rgba(77, 127, 255, 0.5) 70%, transparent);
	pointer-events: none;
}
.bv-drawer[open] { transform: none; }
@starting-style { .bv-drawer[open] { transform: translateX(100%); } }
.bv-drawer::backdrop { background: rgba(4, 5, 8, 0); transition: background-color 0.5s, overlay 0.5s allow-discrete, display 0.5s allow-discrete; }
.bv-drawer[open]::backdrop { background: rgba(4, 5, 8, 0.6); }
@starting-style { .bv-drawer[open]::backdrop { background: rgba(4, 5, 8, 0); } }

.bv-drawer__panel { display: flex; flex-direction: column; height: 100%; padding-bottom: env(safe-area-inset-bottom); }
.bv-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 20px 20px 28px; border-bottom: 1px solid var(--line); }
.bv-drawer__title { font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; }
.bv-drawer__count { color: var(--text-3); }
.bv-drawer__body { flex: 1; overflow-y: auto; padding: 8px 28px; overscroll-behavior: contain; }
.bv-drawer__body[aria-busy="true"] .bv-cart-items { opacity: 0.55; transition: opacity 0.2s; }
.bv-cart-items { list-style: none; margin: 0; padding: 0; }
.bv-cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); animation: bv-fade-up 0.4s var(--ease-out) both; }
.bv-cart-item__img { width: 72px; height: 96px; border-radius: 10px; background: #0d0f15; object-fit: cover; border: 1px solid var(--line); }
.bv-cart-item__name { font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.95rem; margin: 0 0 4px; }
.bv-cart-item__meta { margin: 0 0 12px; font-size: 0.82rem; color: var(--text-2); }
.bv-cart-item__price { text-align: right; font-variant-numeric: tabular-nums; font-weight: 500; }
.bv-cart-item__unit { display: block; font-size: 0.75rem; color: var(--text-3); font-weight: 400; }
.bv-cart-item__row { display: flex; align-items: center; gap: 14px; }
.bv-cart-item .bv-qty { padding: 2px; }
.bv-cart-item .bv-qty__btn { width: 36px; height: 36px; }
.bv-cart-item .bv-qty__val { min-width: 24px; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.bv-cart-item__remove { border: 0; background: none; padding: 8px 0; color: var(--text-3); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; text-decoration: underline; text-underline-offset: 0.25em; min-height: 36px; }
.bv-cart-item__remove:hover { color: var(--text); }
.bv-cart-empty { padding: 48px 0; text-align: center; color: var(--text-2); }
.bv-cart-empty p { margin-bottom: 24px; }
.bv-drawer__foot { padding: 20px 28px 28px; border-top: 1px solid var(--line); background: rgba(7, 8, 12, 0.5); }
.bv-drawer__row { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; margin-bottom: 8px; }
.bv-drawer__row strong { font-size: 1.3rem; font-variant-numeric: tabular-nums; }
.bv-drawer__note { font-size: 0.8rem; color: var(--text-3); margin-bottom: 20px; }
.bv-drawer__link { display: block; text-align: center; margin-top: 14px; font-size: 0.8rem; color: var(--text-2); letter-spacing: 0.08em; text-transform: uppercase; }
.bv-drawer__error { color: #ff9b9b; font-size: var(--fs-small); padding: 12px 0; margin: 0; }

/* ---------- WooCommerce notices ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin: 0 0 24px;
	padding: 16px 20px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius-sm);
	background: var(--glass);
	color: var(--text);
	font-size: 0.95rem;
}
.woocommerce-message { border-color: rgba(123, 227, 176, 0.35); }
.woocommerce-error { border-color: rgba(255, 120, 120, 0.4); flex-direction: column; align-items: flex-start; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; }
.wc-block-components-notice-banner > svg { fill: currentColor; }
.wc-block-components-notice-banner.is-error { border-color: rgba(255, 120, 120, 0.4); background: rgba(255, 80, 80, 0.06); }
.wc-block-components-notice-banner.is-success { border-color: rgba(123, 227, 176, 0.35); }

/* Classic buttons (account, notices, order pages) */
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce-page .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 0 22px;
	border: 1px solid var(--line-2);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
	color: var(--text);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s, box-shadow 0.3s;
}
.woocommerce .button:hover { border-color: rgba(192, 58, 255, 0.45); background: var(--violet-faint); }
.woocommerce .button.alt, .woocommerce button[type="submit"].button { background: linear-gradient(180deg, #1a52e6, var(--blue)); border-color: rgba(120, 160, 255, 0.35); color: #fff; }

/* ---------- Forms (classic) ---------- */
.woocommerce form .form-row, .bv-reviews-form p { margin: 0 0 18px; }
.woocommerce form .form-row label, .bv-reviews-form label { display: block; margin-bottom: 6px; font-size: 0.85rem; color: var(--text-2); }
.woocommerce input[type="text"], .woocommerce input[type="email"], .woocommerce input[type="tel"], .woocommerce input[type="password"], .woocommerce input[type="number"], .woocommerce textarea, .woocommerce select,
.bv-reviews-form input[type="text"], .bv-reviews-form input[type="email"], .bv-reviews-form textarea, .bv-reviews-form select {
	width: 100%;
	min-height: 50px;
	padding: 12px 16px;
	border: 1px solid var(--line-2);
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, 0.03);
	color: var(--text);
	transition: border-color 0.2s, box-shadow 0.2s;
}
.woocommerce input:focus, .woocommerce textarea:focus, .woocommerce select:focus, .bv-reviews-form :is(input, textarea, select):focus { outline: none; border-color: var(--blue-ui); box-shadow: 0 0 0 3px rgba(77, 127, 255, 0.2); }
.woocommerce .required { color: #ff9b9b; text-decoration: none; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; }
@media (min-width: 640px) {
	.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: calc(50% - 10px); display: inline-block; vertical-align: top; }
	.woocommerce form .form-row-first { margin-right: 16px; }
}

/* ---------- Shop archive ---------- */
.woocommerce ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.woocommerce ul.products li.product { position: relative; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--glass); }
.woocommerce ul.products li.product a { text-decoration: none; }
.woocommerce ul.products li.product img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 20px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 1.2rem; text-transform: uppercase; letter-spacing: 0.02em; margin-bottom: 8px; }
.woocommerce ul.products li.product .price { display: block; color: var(--text-2); margin-bottom: 16px; }
.woocommerce-result-count, .woocommerce-ordering { color: var(--text-3); font-size: var(--fs-small); margin-bottom: 24px; }
.woocommerce-ordering select { min-height: 40px; width: auto; }
.woocommerce .star-rating { display: none; }

/* ---------- Classic tables (account, order received) ---------- */
.woocommerce table.shop_table, .woocommerce-table, .woocommerce-orders-table { width: 100%; border-collapse: collapse; margin-bottom: 32px; font-size: 0.95rem; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); }
.woocommerce table.shop_table thead th { font-family: var(--mono); font-size: var(--fs-label); letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-3); font-weight: 500; }
.woocommerce-order-overview { list-style: none; padding: 0; margin: 0 0 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.woocommerce-order-overview li { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--glass); font-size: 0.8rem; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.08em; }
.woocommerce-order-overview li strong { display: block; margin-top: 6px; color: var(--text); font-size: 1rem; text-transform: none; letter-spacing: 0; }
.woocommerce-thankyou-order-received { font-size: var(--fs-h3); color: var(--text); }
.woocommerce-customer-details address { font-style: normal; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); }

/* My account */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 220px 1fr; gap: 48px; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.woocommerce-MyAccount-navigation a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text-2); }
.woocommerce-MyAccount-navigation .is-active a, .woocommerce-MyAccount-navigation a:hover { color: var(--text); }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; max-width: 480px; }
@media (max-width: 760px) { .woocommerce-account .woocommerce { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Cart & Checkout blocks ---------- */
.bv-page--commerce .bv-page__head { margin-bottom: 32px; }
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { color: var(--text); }
.bv-page--commerce .wc-block-components-sidebar-layout { gap: 0; }
.wc-block-components-sidebar,
.wp-block-woocommerce-checkout-order-summary-block,
.wc-block-cart__sidebar .wc-block-components-panel {
	border-radius: var(--radius);
}
.wp-block-woocommerce-checkout-order-summary-block,
.wc-block-cart .wc-block-cart__totals-title + * {
	border: 1px solid var(--line) !important;
	background: var(--glass);
}
.wc-block-components-title.wc-block-components-title,
.wc-block-cart__totals-title,
.wc-block-components-checkout-step__title {
	font-family: var(--mono);
	font-size: var(--fs-label) !important;
	font-weight: 500 !important;
	letter-spacing: 0.18em;
	text-transform: uppercase !important;
	color: var(--text-2);
}
.wc-block-components-checkout-step__description,
.wc-block-components-product-metadata,
.wc-block-components-totals-item__description { color: var(--text-2); }

.wc-block-components-text-input input,
.wc-block-components-text-input textarea,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.wc-block-components-textarea {
	background: rgba(255, 255, 255, 0.03) !important;
	border: 1px solid var(--line-2) !important;
	border-radius: var(--radius-sm) !important;
	color: var(--text) !important;
	box-shadow: none !important;
}
.wc-block-components-text-input input:focus,
.wc-blocks-components-select .wc-blocks-components-select__select:focus,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input:focus,
.wc-block-components-textarea:focus {
	border-color: var(--blue-ui) !important;
	box-shadow: 0 0 0 3px rgba(77, 127, 255, 0.2) !important;
}
.wc-block-components-text-input label,
.wc-blocks-components-select .wc-blocks-components-select__label,
.wc-block-components-combobox .wc-block-components-combobox-control label { color: var(--text-3) !important; }
.wc-blocks-components-select .wc-blocks-components-select__expand { fill: var(--text-2); }
.wc-blocks-components-select__select option { background: var(--bg-2); color: var(--text); }
.wc-block-components-validation-error { color: #ff9b9b; }

.wc-block-components-radio-control__option,
.wc-block-components-radio-control-accordion-option,
.wc-block-checkout__shipping-method-option {
	border-color: var(--line-2) !important;
	box-shadow: none !important;
}
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-checkout__shipping-method-option--selected {
	box-shadow: inset 0 0 0 1.5px var(--blue-ui) !important;
	background: rgba(38, 92, 255, 0.06);
}
.wc-block-components-radio-control__input,
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] {
	background: transparent !important;
	border-color: var(--line-2) !important;
}
.wc-block-components-radio-control__input:checked::before { background: var(--blue-ui) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #fff; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--blue) !important; border-color: var(--blue) !important; }

.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	min-height: 56px;
	border-radius: 999px !important;
	background: linear-gradient(180deg, #1a52e6, var(--blue)) !important;
	color: #fff !important;
	border: 1px solid rgba(120, 160, 255, 0.35) !important;
	font-weight: 600 !important;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	font-size: 0.85rem !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 30px -12px var(--blue-glow);
	transition: box-shadow 0.3s;
}
.wc-block-components-button:not(.is-link):hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 12px 44px -10px var(--violet-glow), 0 0 0 1px rgba(192, 58, 255, 0.35); }
.wc-block-components-button.is-link, .wc-block-components-checkout-return-to-cart-button { color: var(--text-2) !important; }
.wc-block-components-quantity-selector { border-color: var(--line-2) !important; border-radius: 999px !important; }
.wc-block-components-quantity-selector::after { border-color: var(--line-2) !important; border-radius: 999px !important; }
.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input { color: var(--text) !important; background: transparent !important; }
.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button { color: var(--text) !important; }
.wc-block-cart-items, .wc-block-cart-items th, .wc-block-cart-items td, .wc-block-components-totals-wrapper, .wc-block-components-order-summary-item, .wc-block-cart-items__header { border-color: var(--line) !important; }
.wc-block-cart-items__header { color: var(--text-3); }
.wc-block-components-product-name { color: var(--text) !important; text-decoration: none; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.wc-block-cart-item__remove-link { color: var(--text-3) !important; }
.wc-block-components-order-summary-item__quantity { background: var(--bg-3) !important; color: var(--text) !important; border-color: var(--line-2) !important; box-shadow: none !important; }
.wc-block-components-order-summary-item__image img, .wc-block-cart-item__image img { border-radius: 10px; background: #0d0f15; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-size: 1.15rem !important; font-weight: 600 !important; }
.wc-block-components-panel__button, .wc-block-components-totals-coupon__button { color: var(--text) !important; }
.wc-block-components-checkout-step { border-color: var(--line) !important; }
.wc-block-components-checkout-step::after { background: var(--line) !important; }
.wc-block-components-checkout-step__container::after { border-color: var(--line) !important; }
.wc-block-checkout__terms { color: var(--text-2); }
.wc-block-checkout__terms a, .wc-block-components-checkout-step a, .wp-block-woocommerce-checkout a { color: var(--text); }
.wc-block-components-address-card { border-color: var(--line-2) !important; }
.wc-block-components-spinner::after { border-color: var(--text) transparent; }
.wc-block-components-skeleton__element, .wc-block-components-skeleton__element--static { background: var(--bg-3) !important; }
.wc-block-cart__empty-cart__title { color: var(--text); }
.wc-block-components-express-payment__title-container::before, .wc-block-components-express-payment__title-container::after { border-color: var(--line-2) !important; }
.wc-block-components-sale-badge { background: transparent !important; border-color: var(--line-2) !important; color: var(--text-2) !important; }
.wc-block-components-formatted-money-amount { font-variant-numeric: tabular-nums; }
.with-scroll-to-top__scroll-point { scroll-margin-top: var(--header-h); }
.wc-blocks-components-select .wc-blocks-components-select__container { background: transparent !important; border-radius: var(--radius-sm); }
.wc-blocks-components-select .wc-blocks-components-select__select { color: var(--text) !important; }

/* Keep the configurator quantity field compact inside WooCommerce pages. */
.bv-qty .bv-qty__input,
.woocommerce .bv-qty .bv-qty__input {
	width: 40px;
	min-height: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}
.woocommerce .bv-qty .bv-qty__input:focus-visible { outline: 2px solid var(--blue-ui); outline-offset: 2px; box-shadow: none; }
.bv-atc .bv-atc__label { white-space: nowrap; }
.bv-product-page .bv-coa-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 560px)); }
ul.woocommerce-order-overview { margin-left: 0; padding-left: 0; }
.woocommerce-order-details .wc-item-meta { list-style: none; padding: 0; margin: 8px 0 0; font-size: 0.85rem; color: var(--text-2); }
.woocommerce-order-details .wc-item-meta li { display: flex; gap: 6px; }
.woocommerce-order-details .wc-item-meta p { margin: 0; }
