/**
 * New Wave Europe — WooCommerce block styling
 */

/* ── Header toolbar mini-cart (matches SPA search / account / cart row) ── */
.newave-header__actions .wc-block-mini-cart .wc-block-mini-cart__button,
.newave-header__actions .wc-block-mini-cart .newave-header__icon-btn--cart {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0.5rem !important;
	gap: 0 !important;
	background: transparent !important;
	border: none !important;
	border-radius: 0;
	cursor: pointer;
	color: rgba(8, 16, 63, 0.7);
	font: inherit;
	line-height: 1;
	box-sizing: border-box;
	transition: color 0.15s;
	position: relative;
	white-space: nowrap;
}

.newave-header__actions .wc-block-mini-cart .wc-block-mini-cart__button:hover,
.newave-header__actions .wc-block-mini-cart .newave-header__icon-btn--cart:hover {
	color: var(--newave-secondary, #1987f5);
	background: transparent !important;
}

.newave-header__actions .wc-block-mini-cart .wc-block-mini-cart__amount,
.newave-header__actions .wc-block-mini-cart .wc-block-mini-cart__tax-label {
	display: none !important;
}

/* Cart page: hide header mini-cart (user is already on cart). */
body.woocommerce-cart .newave-header__actions .wc-block-mini-cart {
	display: none !important;
}

/* Checkout: WC outputs a hidden placeholder — theme replaces it with a cart link. */
body.woocommerce-checkout .newave-header__actions .newave-header-mini-cart--checkout-link {
	display: flex !important;
	visibility: visible !important;
}

body.woocommerce-checkout .newave-header__actions .newave-header-mini-cart--checkout-link .wc-block-mini-cart__button {
	pointer-events: auto;
	cursor: pointer;
}

.newave-header__actions .wc-block-mini-cart .wc-block-mini-cart__quantity-badge {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: auto;
	height: auto;
	flex-shrink: 0;
	pointer-events: none;
}

.newave-header__actions .wc-block-mini-cart .wc-block-mini-cart__icon {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 1.25rem !important;
	height: 1.25rem !important;
	min-width: 1.25rem;
	min-height: 1.25rem;
	margin: 0 !important;
	flex-shrink: 0;
	line-height: 0;
	pointer-events: none;
}

.newave-header__actions .wc-block-mini-cart .wc-block-mini-cart__icon svg,
.newave-header__actions .wc-block-mini-cart svg.wc-block-mini-cart__icon {
	width: 1.25rem !important;
	height: 1.25rem !important;
	min-width: 1.25rem;
	min-height: 1.25rem;
	display: block;
	flex-shrink: 0;
}

.newave-header__actions .wc-block-mini-cart .wc-block-mini-cart__badge {
	position: absolute !important;
	top: 0.0625rem !important;
	right: 0.0625rem !important;
	left: auto !important;
	margin: 0 !important;
	transform: none !important;
	background: var(--newave-secondary, #1987f5) !important;
	color: #fff !important;
	font-size: 0.5625rem;
	font-weight: 700;
	min-width: 0.875rem;
	height: 0.875rem;
	line-height: 0.875rem;
	border-radius: 999px;
	padding: 0 0.125rem;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 1 !important;
	z-index: 1;
	pointer-events: none;
}

.newave-header__actions .wc-block-mini-cart :where(.wc-block-mini-cart__badge) {
	background-color: var(--newave-secondary, #1987f5) !important;
	color: #fff !important;
}

.wc-block-mini-cart .wc-block-mini-cart__button {
	background: transparent;
	border: none;
	padding: 0.5rem;
	cursor: pointer;
	color: var(--newave-contrast, #08103f);
	border-radius: 2px;
	transition: color 0.15s;
}

.wc-block-mini-cart .wc-block-mini-cart__button:hover {
	color: var(--newave-primary, #2256bc);
}

.wc-block-mini-cart .wc-block-mini-cart__badge {
	background: var(--newave-primary, #2256bc) !important;
	font-size: 0.6875rem;
	font-weight: 700;
	min-width: 1.125rem;
	height: 1.125rem;
	line-height: 1.125rem;
	border-radius: 999px;
}

.wc-block-mini-cart .wc-block-mini-cart__amount {
	font-weight: 600;
	font-size: 0.875rem;
	color: var(--newave-contrast, #08103f);
}

/* ── Mini-cart drawer ── */
.wc-block-mini-cart__drawer .wc-block-components-drawer__content {
	background: #fff;
	font-family: Inter, sans-serif;
}

.wc-block-mini-cart__drawer .wc-block-mini-cart__title {
	font-family: Barlow, sans-serif;
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--newave-contrast, #08103f);
	padding: 1.5rem;
	border-bottom: 1px solid var(--newave-border, #e2e8f0);
}

.wc-block-mini-cart-items .wc-block-cart-items__row {
	border-bottom: 1px solid var(--newave-border, #e2e8f0);
	padding: 1rem 1.5rem;
}

.wc-block-mini-cart__footer {
	border-top: 1px solid var(--newave-border, #e2e8f0);
	padding: 1.5rem;
}

.wc-block-mini-cart__footer .wc-block-components-button {
	background: var(--newave-primary, #2256bc);
	border-radius: 2px;
	font-weight: 600;
	width: 100%;
}

.wc-block-mini-cart__footer .wc-block-components-button:hover {
	background: var(--newave-secondary, #1987f5);
}

/* ── Product grid ── */
.newave-featured-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 2rem;
	margin: 0;
}

.newave-product-card.newave-product-card--featured {
	border: none;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	overflow: visible;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.newave-product-card.newave-product-card--featured:hover {
	box-shadow: none;
	border: none;
}

.newave-product-card__media-wrap {
	position: relative;
	margin-bottom: 1rem;
	aspect-ratio: 1;
	width: 100%;
}

.newave-product-card__media {
	display: grid;
	position: absolute;
	inset: 0;
	padding: 1.5rem;
	overflow: hidden;
	background: hsl(220, 30%, 96%);
	border-radius: var(--newave-radius, 2px);
	text-decoration: none;
	box-sizing: border-box;
}

.newave-product-card__badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 2;
	background: var(--newave-brand, hsl(220, 69%, 44%));
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.25rem 0.5rem;
	border-radius: var(--newave-radius, 2px);
	line-height: 1.2;
}

.newave-product-card__image {
	display: block;
	width: 100%;
	height: 100%;
	min-width: 0;
	min-height: 0;
	object-fit: cover !important;
	object-position: center;
	transition: transform 0.5s ease;
}

.newave-product-card--featured:hover .newave-product-card__image {
	transform: scale(1.05);
}

.newave-product-card__overlay {
	position: absolute;
	inset: 0;
	z-index: 3;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 1rem;
	background: hsla(231, 78%, 14%, 0.05);
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.newave-product-card:hover .newave-product-card__overlay {
	opacity: 1;
	pointer-events: auto;
}

.newave-product-card__quick-view {
	width: 100%;
	min-height: 2.25rem;
	padding: 0.5rem 1rem;
	border: 1px solid hsla(231, 78%, 14%, 0.15);
	border-radius: 0;
	background: var(--newave-brand-dark, hsl(231, 78%, 14%));
	color: #fff;
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.25;
	cursor: pointer;
	box-shadow: 0 10px 15px -3px rgba(7, 16, 63, 0.15), 0 4px 6px -4px rgba(7, 16, 63, 0.1);
	transform: translateY(1rem);
	opacity: 0;
	transition: transform 0.3s ease, opacity 0.3s ease, background 0.15s, color 0.15s;
}

.newave-product-card:hover .newave-product-card__quick-view {
	transform: translateY(0);
	opacity: 1;
}

.newave-product-card__quick-view:hover {
	background: var(--newave-brand, hsl(220, 69%, 44%));
	color: #fff;
}

.newave-product-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
}

.newave-product-card__meta {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
}

.newave-product-card--featured .newave-product-card__category {
	padding: 0;
	margin: 0;
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: hsla(220, 69%, 44%, 0.8);
	text-decoration: none;
	transition: color 0.15s;
}

.newave-product-card--featured .newave-product-card__category:hover {
	color: var(--newave-brand, hsl(220, 69%, 44%));
}

.newave-product-card__rating {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	color: var(--newave-accent-light, #93c5fd);
}

.newave-product-card__rating-value {
	margin-left: 0.25rem;
	font-size: 0.75rem;
	font-weight: 600;
	color: rgba(8, 16, 63, 0.7);
}

.newave-product-card__title-link {
	text-decoration: none;
	color: inherit;
}

.newave-product-card--featured .newave-product-card__title {
	margin: 0 0 0.5rem;
	padding: 0;
	font-family: var(--wp--preset--font-family--barlow), Barlow, sans-serif;
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.3;
	color: var(--newave-contrast, #08103f);
	transition: color 0.15s;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.newave-product-card--featured:hover .newave-product-card__title {
	color: var(--newave-brand, hsl(220, 69%, 44%));
}

.newave-product-card--featured .newave-product-card__price {
	margin: auto 0 0;
	padding: 0;
	font-family: var(--wp--preset--font-family--dm-sans), "DM Sans", sans-serif;
	font-size: 1.125rem;
	font-weight: 500;
	color: var(--newave-brand-dark, hsl(231, 78%, 14%));
}

.newave-product-card--featured .newave-product-card__price .woocommerce-Price-amount {
	font-weight: 500;
}

@media (max-width: 781px) {
	.newave-featured-grid {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 782px) and (max-width: 1024px) {
	.newave-featured-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.newave-product-grid .wc-block-product-template,
.wc-block-product-template {
	gap: 1.5rem !important;
	list-style: none;
	padding: 0;
	margin: 0;
}

.newave-product-card:not(.newave-product-card--featured):not(.newave-product-card--shop) {
	border: 1px solid var(--newave-border, #e2e8f0);
	border-radius: var(--newave-radius, 2px);
	overflow: hidden;
	background: #fff;
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s;
	position: relative;
}

.newave-product-card:not(.newave-product-card--featured):not(.newave-product-card--shop):hover {
	box-shadow: 0 4px 24px rgba(8, 16, 63, 0.08);
}

.newave-product-card .wc-block-components-product-image {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	position: relative;
	margin: 0;
}

.newave-product-card .wc-block-components-product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.newave-product-card:hover .wc-block-components-product-image img {
	transform: scale(1.03);
}

/* Sale / Featured badge → Bestseller style */
.newave-product-card .wc-block-components-product-sale-badge,
.newave-product-card .wc-block-components-product-image .wc-block-components-product-sale-badge {
	position: absolute;
	top: 1rem;
	left: 1rem;
	z-index: 2;
	background: var(--newave-secondary, #1987f5) !important;
	color: #fff !important;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 0.25rem 0.625rem;
	border-radius: var(--newave-radius, 2px);
}

.newave-product-card .wc-block-components-product-sale-badge span {
	font-size: inherit;
}

.newave-product-card__category,
.newave-product-card .wp-block-post-terms {
	padding: 0.75rem 1rem 0;
	margin: 0 !important;
}

.newave-product-card__category a,
.newave-product-card .wp-block-post-terms a {
	color: var(--newave-primary, #2256bc);
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
}

.newave-product-card .wc-block-components-product-rating-stars,
.newave-product-card .wc-block-components-product-rating {
	padding: 0.25rem 1rem 0;
	margin: 0 !important;
}

.newave-product-card .wc-block-components-product-rating-stars__stars {
	color: var(--newave-secondary, #1987f5);
}

.newave-product-card .wc-block-components-product-title,
.newave-product-card .wp-block-post-title {
	font-family: var(--wp--preset--font-family--barlow), Barlow, sans-serif;
	font-weight: 500;
	font-size: 1.0625rem;
	padding: 0.5rem 1rem 0;
	margin: 0 !important;
	line-height: 1.3;
}

.newave-product-card .wc-block-components-product-title a,
.newave-product-card .wp-block-post-title a {
	color: var(--newave-contrast, #08103f);
	text-decoration: none;
}

.newave-product-card .wc-block-components-product-title a:hover,
.newave-product-card .wp-block-post-title a:hover {
	color: var(--newave-secondary, #1987f5);
}

.newave-product-card__excerpt,
.newave-product-card .wp-block-post-excerpt {
	padding: 0.375rem 1rem 0;
	margin: 0 !important;
	color: #64748b;
	font-size: 0.875rem;
	line-height: 1.5;
	flex: 1;
}

.newave-product-card .wc-block-components-product-price {
	padding: 0.75rem 1rem 0;
	font-family: var(--wp--preset--font-family--dm-sans), "DM Sans", sans-serif;
	font-weight: 500;
	font-size: 1.125rem;
	color: var(--newave-brand-dark, #07103f);
	margin: 0 !important;
}

.newave-product-card .wp-block-button,
.newave-product-card .wc-block-components-product-button {
	margin: 0.75rem 1rem 1rem;
	width: calc(100% - 2rem);
}

.newave-product-card .wp-block-button__link,
.newave-product-card .wc-block-components-product-button .wp-block-button__link {
	background: var(--newave-primary, #2256bc);
	border-radius: 2px;
	font-weight: 600;
	width: 100%;
	text-align: center;
	padding: 0.75rem 1rem;
	font-size: 0.875rem;
}

.newave-product-card .wp-block-button__link:hover {
	background: var(--newave-secondary, #1987f5);
}

/* Compact cards (related products) */
.newave-product-card--compact .wc-block-components-product-image {
	aspect-ratio: 1 / 1;
}

.newave-product-card--compact .wp-block-post-title {
	font-size: 0.9375rem;
	padding-top: 0.75rem;
}

.newave-related-products .newave-section__header {
	max-width: 48rem;
	margin: 0 auto 4rem;
	text-align: center;
}

.newave-related-products .newave-section__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--barlow), Barlow, sans-serif;
	font-size: clamp(2.25rem, 5vw, 3rem);
	font-weight: 900;
	line-height: 1.1;
	color: var(--newave-brand-dark, #07103f);
}

.newave-section--featured .newave-related-products .newave-featured-grid {
	gap: 2rem;
}

body.single-product .newave-related-products .newave-product-card__media {
	display: grid;
	padding: 1.5rem;
}

body.single-product .newave-related-products .newave-product-card__media img,
body.single-product .newave-related-products img.newave-product-card__image {
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	object-position: center;
}

/* Legacy WC related grid (unused) */
.newave-related-grid .wc-block-product-template {
	display: grid !important;
	grid-template-columns: 1fr;
	gap: 1.5rem !important;
}

.newave-product-card--related {
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* ── Single product ── */
:root {
	--newave-destructive: hsl(0, 72%, 51%);
	--newave-destructive-hover: hsl(0, 72%, 46%);
}

.newave-product-breadcrumb-bar {
	background: hsla(220, 69%, 44%, 0.08);
	border-bottom: 1px solid var(--newave-border, #e2e8f0);
	padding-top: 0;
	padding-bottom: 1rem;
	margin-left: 0;
	margin-right: 0;
}

.newave-product-breadcrumb-bar > .wp-block-group.alignwide,
.newave-product-breadcrumb-bar > .alignwide {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--newave-container, 1280px);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

@media (min-width: 782px) {
	.newave-product-breadcrumb-bar > .wp-block-group.alignwide,
	.newave-product-breadcrumb-bar > .alignwide {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

.newave-product-breadcrumb-bar + .newave-search-results {
	padding-top: 2.5rem !important;
}

.newave-product-breadcrumb,
.woocommerce-breadcrumb.newave-product-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.125rem;
	margin: 0;
	font-size: 0.875rem;
	color: rgba(7, 16, 63, 0.65);
}

.newave-product-breadcrumb a {
	color: rgba(7, 16, 63, 0.65);
	text-decoration: none;
}

.newave-product-breadcrumb a:hover {
	color: var(--newave-brand-dark, #07103f);
}

.newave-product-breadcrumb .newave-product-breadcrumb__current,
.newave-product-breadcrumb .breadcrumb_last {
	color: var(--newave-brand-dark, #07103f);
	font-weight: 600;
}

.newave-product-breadcrumb__sep {
	display: inline-flex;
	align-items: center;
	margin: 0 0.5rem;
	color: rgba(7, 16, 63, 0.45);
}

.newave-product-breadcrumb-bar .wp-block-woocommerce-breadcrumbs {
	margin: 0;
}

.newave-product-breadcrumb-bar .wp-block-woocommerce-breadcrumbs .woocommerce-breadcrumb {
	margin: 0;
}

.newave-single-product {
	background: #fff;
	padding: 3rem 1rem 5rem;
}

@media (min-width: 782px) {
	.newave-single-product {
		padding: 5rem 1.5rem;
	}
}

.newave-single-product__container {
	max-width: var(--newave-container, 1280px);
	margin: 0 auto;
}

.newave-single-product__hero {
	gap: 3rem !important;
	margin-bottom: 0;
}

@media (min-width: 1024px) {
	.newave-single-product__hero {
		gap: 5rem !important;
	}
}

@media (max-width: 781px) {
	.newave-single-product__hero {
		flex-direction: column;
	}

	.newave-single-product__hero > .wp-block-column {
		flex-basis: 100% !important;
	}
}

.newave-single-product__gallery {
	aspect-ratio: 1 / 1;
	padding: 1.5rem;
	background: hsl(220, 30%, 96%);
	border-radius: var(--newave-radius, 2px);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

@media (min-width: 782px) {
	.newave-single-product__gallery {
		padding: 1.5rem;
	}
}

.newave-single-product__gallery .woocommerce-product-gallery,
.newave-single-product__gallery .wp-block-woocommerce-product-image-gallery {
	width: 100%;
	height: 100%;
}

.newave-single-product__gallery .woocommerce-product-gallery__wrapper,
.newave-single-product__gallery .woocommerce-product-gallery__image,
.newave-single-product__gallery .woocommerce-product-gallery__image a {
	height: 100%;
}

.newave-single-product__gallery .woocommerce-product-gallery__image img,
.newave-single-product__gallery .wp-post-image {
	width: 100%;
	height: 100%;
	object-fit: cover !important;
	object-position: center;
}

.newave-single-product__gallery .flex-control-thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.newave-single-product__gallery .flex-control-thumbs li {
	width: 4.5rem;
	aspect-ratio: 1 / 1;
}

.newave-single-product__gallery .flex-control-thumbs img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	border: 1px solid var(--newave-border, #e2e8f0);
	border-radius: var(--newave-radius, 2px);
	opacity: 0.7;
}

.newave-single-product__gallery .flex-control-thumbs img.flex-active {
	opacity: 1;
	border-color: var(--newave-brand, #2256bc);
}

.newave-single-product__summary {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.newave-single-product__category,
.newave-single-product .taxonomy-product_cat {
	margin: 0 0 0.5rem !important;
	font-size: 0.875rem !important;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(7, 16, 63, 0.65) !important;
}

.newave-single-product__category a,
.newave-single-product .taxonomy-product_cat a {
	color: inherit;
	text-decoration: none;
}

.newave-single-product__title,
.newave-single-product .wp-block-post-title,
.single-product .wp-block-post-title,
.woocommerce div.product .product_title {
	margin: 0 0 1rem !important;
	font-family: var(--wp--preset--font-family--barlow), Barlow, sans-serif;
	font-weight: 500 !important;
	font-size: clamp(2.25rem, 5vw, 3rem) !important;
	line-height: 1.15 !important;
	color: var(--newave-brand-dark, #07103f);
}

.newave-product-rating,
.newave-single-product .wc-block-components-product-rating,
.newave-single-product .woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin: 0 0 1.5rem;
}

.newave-product-rating__stars {
	display: inline-flex;
	align-items: center;
	gap: 0.125rem;
	color: var(--newave-accent-light, #93c5fd);
}

.newave-product-rating__stars .newave-product-rating-star.is-empty {
	color: rgba(7, 16, 63, 0.15);
}

.newave-product-rating__stars svg {
	width: 1.25rem;
	height: 1.25rem;
}

.newave-product-rating__reviews {
	font-size: 0.875rem;
	color: rgba(7, 16, 63, 0.65);
	text-decoration: underline;
	text-decoration-color: rgba(7, 16, 63, 0.25);
	text-underline-offset: 4px;
}

.newave-product-rating__reviews:hover {
	color: var(--newave-brand-dark, #07103f);
}

.newave-single-product__price,
.newave-single-product .wc-block-components-product-price {
	margin: 0 0 2rem !important;
	font-family: var(--wp--preset--font-family--dm-sans), "DM Sans", sans-serif;
	font-size: 1.875rem !important;
	font-weight: 500 !important;
	line-height: 1.2;
	color: var(--newave-brand-dark, #07103f) !important;
}

.newave-single-product__price del,
.newave-single-product .wc-block-components-product-price del {
	opacity: 0.55;
	font-size: 1.25rem;
	margin-right: 0.5rem;
}

.newave-single-product__price ins,
.newave-single-product .wc-block-components-product-price ins {
	text-decoration: none;
}

.newave-single-product__excerpt,
.newave-single-product .wp-block-post-excerpt__excerpt {
	margin: 0 0 2rem !important;
	font-size: 1.125rem;
	line-height: 1.625;
	color: rgba(7, 16, 63, 0.8);
}

.newave-single-product__cart,
.newave-single-product .wp-block-woocommerce-add-to-cart-form {
	margin: 0 0 2.5rem;
}

.newave-single-product__cart form.cart,
.newave-single-product .wp-block-woocommerce-add-to-cart-form form.cart {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 1rem;
}

.newave-single-product__cart .variations,
.newave-single-product__cart .woocommerce-variation-add-to-cart,
.newave-single-product__cart table.variations {
	width: 100%;
}

.newave-single-product__cart table.variations {
	margin-bottom: 0.5rem;
}

.newave-single-product__cart table.variations td,
.newave-single-product__cart table.variations th {
	padding: 0.5rem 0;
	border: none;
	vertical-align: middle;
}

.newave-single-product__cart .quantity,
.newave-single-product__cart .wc-block-components-quantity-selector {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	border: 1px solid var(--newave-border, #e2e8f0);
	border-radius: var(--newave-radius, 2px);
	background: #fff;
	margin: 0 !important;
	overflow: hidden;
}

.newave-single-product__cart .newave-qty-btn,
.newave-single-product__cart .wc-block-components-quantity-selector button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	padding: 1rem;
	margin: 0;
	border: none;
	background: transparent;
	color: rgba(7, 16, 63, 0.65);
	cursor: pointer;
	line-height: 1;
	transition: color 0.15s ease;
}

.newave-single-product__cart .newave-qty-btn:hover,
.newave-single-product__cart .wc-block-components-quantity-selector button:hover {
	color: var(--newave-brand-dark, #07103f);
}

.newave-single-product__cart .newave-qty-btn:focus-visible,
.newave-single-product__cart .wc-block-components-quantity-selector button:focus-visible {
	outline: none;
	color: var(--newave-brand-dark, #07103f);
}

.newave-single-product__cart .newave-qty-btn__icon {
	display: block;
	width: 1rem;
	height: 1rem;
}

.newave-single-product__cart .quantity .qty,
.newave-single-product__cart .wc-block-components-quantity-selector .input-text {
	width: 3rem;
	min-width: 3rem;
	min-height: 0;
	height: auto;
	padding: 0;
	border: none;
	border-radius: 0;
	background: transparent;
	text-align: center;
	font-weight: 500;
	font-size: 1rem;
	color: var(--newave-brand-dark, #07103f);
	box-shadow: none;
	-moz-appearance: textfield;
	appearance: textfield;
}

.newave-single-product__cart .quantity .qty::-webkit-outer-spin-button,
.newave-single-product__cart .quantity .qty::-webkit-inner-spin-button,
.newave-single-product__cart .wc-block-components-quantity-selector .input-text::-webkit-outer-spin-button,
.newave-single-product__cart .wc-block-components-quantity-selector .input-text::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.newave-single-product__cart .quantity .qty:focus,
.newave-single-product__cart .wc-block-components-quantity-selector .input-text:focus {
	outline: none;
	box-shadow: none;
}

.newave-single-product__cart .single_add_to_cart_button,
.newave-single-product__cart .wp-block-button__link {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	flex: 1 1 12rem;
	min-height: 3.5rem !important;
	padding: 0 2rem !important;
	border: 1px solid transparent !important;
	border-radius: 0 !important;
	background: var(--newave-destructive) !important;
	color: #fff !important;
	font-size: 1rem !important;
	font-weight: 700 !important;
	box-shadow: 0 10px 15px -3px hsla(0, 72%, 51%, 0.2);
	transition: background 0.15s;
}

.newave-single-product__cart .single_add_to_cart_button:hover,
.newave-single-product__cart .wp-block-button__link:hover {
	background: var(--newave-destructive-hover) !important;
	color: #fff !important;
}

.newave-single-product__cart .stock {
	width: 100%;
	margin: 0;
	font-size: 0.875rem;
}

.newave-product-trust {
	margin-top: 0;
	padding-top: 2rem;
	border-top: 1px solid var(--newave-border, #e2e8f0);
}

.newave-product-trust__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

@media (min-width: 782px) {
	.newave-product-trust__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.newave-product-trust__item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.newave-product-trust__icon {
	flex-shrink: 0;
	color: var(--newave-brand-dark, #07103f);
	margin-top: 0.125rem;
}

.newave-product-trust__title {
	margin: 0;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--newave-brand-dark, #07103f);
}

.newave-product-trust__text {
	margin: 0.25rem 0 0;
	font-size: 0.75rem;
	line-height: 1.4;
	color: rgba(7, 16, 63, 0.65);
}

.newave-single-product__meta,
.newave-single-product .wp-block-woocommerce-product-meta {
	margin-top: 1.5rem;
	font-size: 0.875rem;
	color: rgba(7, 16, 63, 0.65);
}

.newave-single-product__meta .sku_wrapper,
.newave-single-product__meta .posted_in,
.newave-single-product__meta .tagged_as {
	display: block;
	margin-top: 0.35rem;
}

.newave-product-details-card {
	max-width: 56rem;
	margin: 6rem auto 0;
	border: 1px solid var(--newave-border, #e2e8f0);
	border-radius: var(--newave-radius, 2px);
	background: #fff;
	box-shadow: 0 1px 2px rgba(7, 16, 63, 0.05);
	overflow: hidden;
}

.newave-product-details-card__section--benefits {
	padding: 2rem;
	background: hsla(220, 69%, 44%, 0.08);
	border-bottom: 1px solid var(--newave-border, #e2e8f0);
}

.newave-product-details-card__section--ingredients {
	padding: 2rem;
}

.newave-product-details-card__title {
	margin: 0 0 1.5rem;
	font-family: var(--wp--preset--font-family--barlow), Barlow, sans-serif;
	font-size: 1.5rem;
	font-weight: 500;
	color: var(--newave-brand-dark, #07103f);
}

.newave-product-details-card__intro {
	margin: 0 0 1rem;
	color: rgba(7, 16, 63, 0.65);
}

.newave-product-benefits-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 782px) {
	.newave-product-benefits-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

.newave-product-benefits-list__item {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	color: rgba(7, 16, 63, 0.8);
}

.newave-product-benefits-list__bullet {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 1.5rem;
	height: 1.5rem;
	margin-top: 0.125rem;
	border-radius: 9999px;
	background: hsla(220, 69%, 44%, 0.15);
}

.newave-product-benefits-list__bullet span {
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 9999px;
	background: var(--newave-accent-light, #93c5fd);
}

.newave-product-ingredients-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.newave-product-ingredients-tags__item {
	padding: 0.5rem 1rem;
	border-radius: var(--newave-radius, 2px);
	background: var(--newave-muted, #f4f6fb);
	font-size: 0.875rem;
	font-weight: 500;
	color: rgba(7, 16, 63, 0.8);
}

.newave-single-product__details,
.newave-single-product .wp-block-woocommerce-product-details {
	max-width: 56rem;
	margin: 6rem auto 0;
}

.newave-single-product__details .woocommerce-tabs,
.newave-single-product__details .wc-block-product-details {
	border: none;
	border-radius: var(--newave-radius, 2px);
	background: #fff;
	box-shadow: none;
	overflow: hidden;
}

.newave-single-product__details .wc-tabs-wrapper {
	margin: 0;
}

.newave-single-product__details .tabs,
.newave-single-product__details .wc-block-product-details__tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	margin: 0;
	padding: 0 1rem;
	list-style: none;
	border-bottom: 1px solid var(--newave-border, #e2e8f0);
	background: hsla(220, 69%, 44%, 0.08);
}

.newave-single-product__details .tabs::before,
.newave-single-product__details .tabs::after {
	display: none;
}

.newave-single-product__details .tabs li,
.newave-single-product__details .wc-block-product-details__tabs li {
	margin: 0;
	padding: 0;
	border: none;
	background: transparent;
}

.newave-single-product__details .tabs li a,
.newave-single-product__details .wc-block-product-details__tabs button {
	display: block;
	padding: 1rem 1.25rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: rgba(7, 16, 63, 0.65);
	text-decoration: none;
	border: none;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
	transition: color 0.15s ease, box-shadow 0.15s ease;
}

.newave-single-product__details .tabs li a:hover,
.newave-single-product__details .wc-block-product-details__tabs button:hover {
	color: var(--newave-brand-dark, #07103f);
}

.newave-single-product__details .tabs li.active a,
.newave-single-product__details .wc-block-product-details__tabs button[aria-selected="true"] {
	color: var(--newave-brand-dark, #07103f);
	box-shadow: inset 0 -2px 0 var(--newave-brand, #2256bc);
}

.newave-single-product__details .woocommerce-Tabs-panel,
.newave-single-product__details .wc-block-product-details__panel {
	padding: 2rem;
}

.newave-single-product__details .woocommerce-Tabs-panel > h2:first-child,
.newave-single-product__details .wc-block-product-details__panel > h2:first-child {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.newave-single-product__details .woocommerce-Tabs-panel--description,
.newave-single-product__details .woocommerce-Tabs-panel--description p {
	font-size: 1rem;
	line-height: 1.7;
	color: rgba(7, 16, 63, 0.8);
}

.newave-single-product__details .woocommerce-Tabs-panel--description p {
	margin: 0 0 1rem;
}

/* Reviews tab */
.newave-product-reviews {
	margin: 0;
}

.newave-product-reviews__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.5rem;
	margin-bottom: 2rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--newave-border, #e2e8f0);
}

.newave-product-reviews__summary-main {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.newave-product-reviews__score {
	font-family: var(--wp--preset--font-family--barlow), Barlow, sans-serif;
	font-size: 2.5rem;
	font-weight: 500;
	line-height: 1;
	color: var(--newave-brand-dark, #07103f);
}

.newave-product-rating-stars {
	display: inline-flex;
	align-items: center;
	gap: 0.125rem;
}

.newave-product-rating-star {
	display: inline-flex;
	color: var(--newave-accent-light, #93c5fd);
}

.newave-product-rating-star.is-empty {
	color: rgba(7, 16, 63, 0.15);
}

.newave-product-rating-star svg {
	width: 1.25rem;
	height: 1.25rem;
}

.newave-product-reviews__meta {
	margin: 0;
	font-size: 0.875rem;
	color: rgba(7, 16, 63, 0.65);
}

.newave-single-product__details .woocommerce-Reviews-title,
.newave-single-product__details .comment-reply-title {
	margin: 0 0 1.25rem;
	font-family: var(--wp--preset--font-family--barlow), Barlow, sans-serif;
	font-size: 1.25rem;
	font-weight: 500;
	color: var(--newave-brand-dark, #07103f);
}

.newave-single-product__details .comment-notes {
	margin: 0 0 1rem;
	font-size: 0.875rem;
	color: rgba(7, 16, 63, 0.65);
}

.newave-single-product__details .comment-form p {
	margin: 0 0 1rem;
}

.newave-single-product__details .comment-form label {
	display: block;
	margin-bottom: 0.375rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--newave-brand-dark, #07103f);
}

.newave-single-product__details .comment-form :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]), select, textarea) {
	width: 100%;
	border: 1px solid var(--newave-border, #e2e8f0);
	border-radius: var(--newave-radius, 2px);
	padding: 0.625rem 0.875rem;
	font: inherit;
	font-size: 0.875rem;
	color: var(--newave-brand-dark, #07103f);
	background: #fff;
	box-shadow: 0 1px 2px rgba(7, 16, 63, 0.05);
}

.newave-single-product__details .comment-form textarea {
	min-height: 9rem;
	resize: vertical;
}

.newave-single-product__details .comment-form :is(input, select, textarea):focus {
	outline: none;
	border-color: var(--newave-brand, #2256bc);
	box-shadow: 0 0 0 1px var(--newave-brand, #2256bc);
}

.newave-single-product__details .comment-form-rating .stars {
	margin: 0.25rem 0 0;
}

.newave-single-product__details .comment-form-rating .stars a {
	display: inline-block;
	width: 1.25rem;
	height: 1.25rem;
	margin-right: 0.125rem;
	text-indent: -9999px;
	overflow: hidden;
	position: relative;
	color: var(--newave-accent-light, #93c5fd);
	text-decoration: none;
}

.newave-single-product__details .comment-form-rating .stars a::before {
	content: "★";
	position: absolute;
	inset: 0;
	text-indent: 0;
	font-size: 1.125rem;
	line-height: 1.25rem;
	color: rgba(7, 16, 63, 0.15);
}

.newave-single-product__details .comment-form-rating .stars:hover a::before,
.newave-single-product__details .comment-form-rating .stars.selected a.active::before,
.newave-single-product__details .comment-form-rating .stars.selected a::before {
	color: var(--newave-accent-light, #93c5fd);
}

.newave-single-product__details .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: rgba(7, 16, 63, 0.65);
}

.newave-single-product__details .comment-form-cookies-consent input {
	margin-top: 0.2rem;
}

.newave-single-product__details .comment-form .form-submit {
	margin-top: 1.25rem;
}

.newave-single-product__details .comment-form .submit,
.newave-single-product__details .comment-form .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 3rem;
	padding: 0.75rem 2rem !important;
	border: 1px solid transparent !important;
	border-radius: 0 !important;
	background: var(--newave-brand-dark, #07103f) !important;
	color: #fff !important;
	font-size: 0.875rem !important;
	font-weight: 600 !important;
	cursor: pointer;
	transition: background 0.15s ease;
}

.newave-single-product__details .comment-form .submit:hover,
.newave-single-product__details .comment-form .wp-block-button__link:hover {
	background: var(--newave-brand, #2256bc) !important;
	color: #fff !important;
}

.newave-single-product__editor-content:empty {
	display: none;
}

/* ── Shop toolbar ── */
.wc-block-product-results-count,
.newave-shop-toolbar__count {
	font-size: 0.875rem;
	color: rgba(7, 16, 63, 0.65);
	margin: 0 !important;
}

.wc-block-catalog-sorting select,
.newave-shop-toolbar__sort .wc-block-catalog-sorting select {
	border: none;
	border-radius: 0;
	padding: 0;
	font-size: 0.875rem;
	font-weight: 500;
	background: transparent;
	color: var(--newave-brand-dark);
	cursor: pointer;
	box-shadow: none;
}

.newave-shop-toolbar__sort .wc-block-catalog-sorting {
	margin: 0;
}

/* ── Shop product grid ── */
.newave-product-grid--shop .wc-block-product-template,
.newave-product-grid--shop .newave-product-grid__list {
	display: grid !important;
	grid-template-columns: 1fr;
	gap: 2rem !important;
	list-style: none;
	margin: 0;
	padding: 0;
}

@media (min-width: 640px) {
	.newave-product-grid--shop .wc-block-product-template,
	.newave-product-grid--shop .newave-product-grid__list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1280px) {
	.newave-product-grid--shop .wc-block-product-template,
	.newave-product-grid--shop .newave-product-grid__list {
		grid-template-columns: repeat(3, 1fr);
	}
}

.newave-product-card--shop {
	border: 1px solid rgba(226, 232, 240, 0.5);
	border-radius: var(--newave-radius, 2px);
	overflow: hidden;
	background: #fff;
	height: 100%;
	display: flex;
	flex-direction: column;
	box-shadow: 0 1px 2px rgba(7, 16, 63, 0.05);
	transition: box-shadow 0.3s ease;
}

.newave-product-card--shop:hover {
	box-shadow: 0 4px 6px -1px rgba(7, 16, 63, 0.08), 0 2px 4px -2px rgba(7, 16, 63, 0.05);
}

.newave-product-card--shop .wc-block-components-product-image,
.newave-product-card--shop .newave-product-card__media {
	aspect-ratio: 1;
	overflow: hidden;
	position: relative;
	margin: 0 !important;
	background: hsla(220, 69%, 44%, 0.2);
	padding: 2rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.newave-product-card--shop .newave-product-card__media-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	text-decoration: none;
}

.newave-product-card--shop .wc-block-components-product-image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
	transition: transform 0.7s ease;
}

.newave-product-card--shop:hover .wc-block-components-product-image img {
	transform: scale(1.05);
}

.newave-product-grid--shop .wc-block-components-product-sale-badge,
.newave-product-grid--shop .newave-badge-featured,
.newave-product-grid--shop .newave-product-card__media .wc-block-components-product-sale-badge {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 2;
	background: var(--newave-brand-dark, hsl(231, 78%, 14%)) !important;
	color: #fff !important;
	font-size: 0.65rem !important;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 0.25rem 0.5rem !important;
	border-radius: var(--newave-radius, 2px);
	line-height: 1.2;
}

.newave-product-card--shop .newave-product-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1.5rem;
}

.newave-product-card--shop .newave-product-card__meta {
	display: flex !important;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.5rem;
	width: 100%;
}

.newave-product-card--shop .newave-product-card__category,
.newave-product-card--shop .wp-block-post-terms {
	padding: 0 !important;
	margin: 0 !important;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-size: 0.75rem !important;
	font-weight: 700;
	color: rgba(7, 16, 63, 0.65) !important;
}

.newave-product-card--shop .newave-product-card__category a,
.newave-product-card--shop .wp-block-post-terms a {
	color: inherit !important;
	text-decoration: none;
	pointer-events: none;
}

.newave-product-card--shop .newave-product-card__rating,
.newave-product-card--shop .wc-block-components-product-rating-stars,
.newave-product-card--shop .wc-block-components-product-rating {
	padding: 0 !important;
	margin: 0 !important;
	flex-shrink: 0;
	color: var(--newave-accent-light, #93c5fd);
}

.newave-product-card--shop .wc-block-components-product-rating-stars__stars {
	color: var(--newave-accent-light, #93c5fd);
}

.newave-product-card--shop .newave-product-card__title,
.newave-product-card--shop .wp-block-post-title {
	margin: 0 0 0.5rem !important;
	padding: 0 !important;
	font-family: var(--wp--preset--font-family--barlow), Barlow, sans-serif;
	font-size: 1.25rem !important;
	font-weight: 500 !important;
	line-height: 1.25;
	color: var(--newave-brand-dark);
	transition: color 0.15s;
}

.newave-product-card--shop:hover .newave-product-card__title a,
.newave-product-card--shop:hover .wp-block-post-title a {
	color: var(--newave-brand-dark);
}

.newave-product-card--shop .newave-product-card__excerpt,
.newave-product-card--shop .wp-block-post-excerpt {
	margin: 0 0 1.5rem !important;
	padding: 0 !important;
	color: rgba(7, 16, 63, 0.65);
	font-size: 0.875rem;
	line-height: 1.625;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	flex: 1;
}

.newave-product-card--shop .newave-product-card__footer {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: auto;
	width: 100%;
}

.newave-product-card--shop .newave-product-card__price,
.newave-product-card--shop .wc-block-components-product-price {
	padding: 0 !important;
	margin: 0 !important;
	font-family: var(--wp--preset--font-family--dm-sans), "DM Sans", sans-serif;
	font-size: 1.125rem !important;
	font-weight: 500 !important;
	color: var(--newave-brand-dark) !important;
}

.newave-product-card--shop .newave-product-card__add,
.newave-product-card--shop .wp-block-button,
.newave-product-card--shop .wc-block-components-product-button {
	margin: 0 !important;
	width: auto;
	flex-shrink: 0;
}

.newave-product-card--shop .wp-block-button__link,
.newave-product-card--shop .wc-block-components-product-button .wp-block-button__link {
	background: var(--newave-brand-dark) !important;
	color: #fff !important;
	border: 1px solid transparent !important;
	border-radius: 0 !important;
	min-height: 2.25rem;
	padding: 0.5rem 1.5rem !important;
	font-size: 0.875rem !important;
	font-weight: 500 !important;
	width: auto;
	transition: background 0.15s, color 0.15s;
}

.newave-product-card--shop .wp-block-button__link:hover,
.newave-product-card--shop .wc-block-components-product-button .wp-block-button__link:hover {
	background: var(--newave-brand) !important;
	color: #fff !important;
}

/* Search results — PHP-rendered shop cards */
.newave-product-grid--php .newave-product-card--shop a {
	text-decoration: none !important;
}

.newave-product-grid--php .newave-product-card--shop .newave-product-card__title a {
	color: inherit;
}

.newave-product-grid--php .newave-product-card--shop .newave-product-card__category {
	text-decoration: none;
}

.newave-product-grid--php .newave-product-card--shop .newave-product-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1.25rem;
	background: hsla(220, 69%, 44%, 0.08);
}

.newave-product-grid--php .newave-product-card--shop .newave-product-card__media-link {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: var(--newave-radius, 2px);
}

.newave-product-grid--php .newave-product-card--shop .newave-product-card__image {
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: cover;
	object-position: center;
	mix-blend-mode: normal;
	transition: transform 0.5s ease;
}

.newave-product-grid--php .newave-product-card--shop:hover .newave-product-card__image {
	transform: scale(1.05);
}

/* ── Shop toolbar (legacy) ── */
.wc-block-product-results-count {
	font-size: 0.875rem;
	color: #64748b;
}

.wc-block-catalog-sorting select {
	border: 1px solid var(--newave-border, #e2e8f0);
	border-radius: var(--newave-radius, 2px);
	padding: 0.5rem 2rem 0.5rem 0.75rem;
	font-size: 0.875rem;
	background: #fff;
}

/* ── Cart & Checkout ── */
.wc-block-cart,
.wc-block-checkout {
	font-family: Inter, sans-serif;
}

.wc-block-components-button:not(.is-link) {
	background: var(--newave-primary, #2256bc);
	border-radius: 2px;
	font-weight: 600;
}

.wc-block-components-button:not(.is-link):hover {
	background: var(--newave-secondary, #1987f5);
}

.wc-block-components-totals-item__value {
	font-weight: 700;
	color: var(--newave-contrast, #08103f);
}

/* Bestseller badge on featured grid */
.newave-product-grid--featured .wc-block-components-product-sale-badge,
.newave-product-grid--featured .wc-block-components-product-sale-badge span {
	font-size: 0 !important;
	line-height: 0;
}

.newave-product-grid--featured .wc-block-components-product-sale-badge::after,
.newave-product-grid--featured .wc-block-components-product-sale-badge span::after {
	content: 'Bestseller';
	font-size: 0.6875rem;
	line-height: 1.2;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.newave-badge-bestseller {
	background: var(--newave-secondary, #1987f5) !important;
	color: #fff !important;
	font-size: 0.6875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 0.25rem 0.625rem;
	border-radius: var(--newave-radius, 2px);
}

@media (max-width: 781px) {
	.newave-product-grid .wc-block-product-template {
		grid-template-columns: 1fr !important;
	}

	.newave-product-grid[data-wc-columns="4"] .wc-block-product-template,
	.newave-product-grid[data-wc-columns="3"] .wc-block-product-template {
		--wc-block-product-template-columns: 1 !important;
	}
}

@media (min-width: 782px) and (max-width: 1024px) {
	.newave-product-grid .wc-block-product-template {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

/* ── Quick View modal ── */
.newave-quick-view {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.2s;
}

.newave-quick-view.is-open {
	pointer-events: auto;
	opacity: 1;
}

.newave-quick-view__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8, 16, 63, 0.55);
}

.newave-quick-view__panel {
	position: relative;
	z-index: 1;
	background: #fff;
	border-radius: var(--newave-radius, 2px);
	max-width: 56rem;
	width: 100%;
	max-height: 90vh;
	overflow: auto;
	box-shadow: 0 24px 64px rgba(8, 16, 63, 0.2);
}

.newave-quick-view__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 2;
	background: transparent;
	border: none;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	color: var(--newave-contrast, #08103f);
	padding: 0.25rem 0.5rem;
}

.newave-quick-view__body {
	padding: 2rem;
}

.newave-quick-view__loader,
.newave-quick-view__error {
	text-align: center;
	padding: 3rem 1rem;
	color: #64748b;
}

.newave-quick-view__grid {
	display: grid;
	gap: 2rem;
}

@media (min-width: 782px) {
	.newave-quick-view__grid {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}
}

.newave-quick-view__image img {
	width: 100%;
	height: auto;
	border-radius: var(--newave-radius, 2px);
	object-fit: cover;
}

.newave-quick-view__title {
	font-family: Barlow, sans-serif;
	font-weight: 800;
	font-size: 1.5rem;
	margin: 0 0 0.75rem;
	color: var(--newave-contrast, #08103f);
}

.newave-quick-view__price {
	font-size: 1.375rem;
	font-weight: 700;
	color: var(--newave-primary, #2256bc);
	margin: 0 0 1rem;
}

.newave-quick-view__desc {
	color: #64748b;
	font-size: 0.9375rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

.newave-quick-view__desc p {
	margin: 0 0 0.75rem;
}

.newave-quick-view__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.newave-quick-view__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.5rem;
	font-weight: 600;
	font-size: 0.875rem;
	border-radius: var(--newave-radius, 2px);
	text-decoration: none;
	transition: background 0.15s, color 0.15s;
}

.newave-quick-view__btn--primary {
	background: var(--newave-primary, #2256bc);
	color: #fff;
}

.newave-quick-view__btn--primary:hover {
	background: var(--newave-secondary, #1987f5);
	color: #fff;
}

.newave-quick-view__btn--outline {
	background: transparent;
	color: var(--newave-contrast, #08103f);
	border: 1px solid var(--newave-border, #e2e8f0);
}

.newave-quick-view__btn--outline:hover {
	border-color: var(--newave-primary, #2256bc);
	color: var(--newave-primary, #2256bc);
}

body.newave-qv-open {
	overflow: hidden;
}

/* ── Cart & Checkout polish ── */
.wc-block-cart__main,
.wc-block-checkout__main {
	padding-top: 2rem;
	padding-bottom: 3rem;
}

.wc-block-cart .wc-block-components-title,
.wc-block-checkout .wc-block-components-title {
	font-family: Barlow, sans-serif;
	font-weight: 800;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	color: var(--newave-contrast, #08103f);
	margin-bottom: 1.5rem;
}

.wc-block-cart-item__product-name,
.wc-block-components-product-name {
	font-weight: 600;
	color: var(--newave-contrast, #08103f);
}

.wc-block-components-quantity-selector {
	border: 1px solid var(--newave-border, #e2e8f0);
	border-radius: var(--newave-radius, 2px);
}

.wc-block-components-sidebar,
.wc-block-checkout__sidebar {
	border: 1px solid var(--newave-border, #e2e8f0);
	border-radius: var(--newave-radius, 2px);
	padding: 1.5rem;
	background: #fff;
}

.wc-block-components-totals-wrapper {
	border-top: 1px solid var(--newave-border, #e2e8f0);
	padding-top: 1rem;
	margin-top: 1rem;
}

.wc-block-checkout__actions .wc-block-components-button,
.wc-block-cart__submit-button {
	width: 100%;
	min-height: 3rem;
	font-size: 1rem;
}

.wc-block-components-form .wc-block-components-text-input input,
.wc-block-components-form .wc-block-components-select select {
	border: 1px solid var(--newave-border, #e2e8f0);
	border-radius: var(--newave-radius, 2px);
	padding: 0.625rem 0.75rem;
}

.wc-block-components-form .wc-block-components-text-input label {
	font-weight: 500;
	font-size: 0.875rem;
}

/* ── Cart / Checkout pages ── */
.newave-page-header {
	background: var(--newave-muted, hsl(220, 30%, 96%));
	border-bottom: 1px solid var(--newave-border, #e2e8f0);
	padding: var(--newave-page-header-pt, clamp(2.5rem, 5vw, 3.5rem)) 0 var(--newave-page-header-pb, clamp(2rem, 4vw, 3rem));
}

.newave-page-header > .wp-block-group.alignwide,
.newave-page-header > .alignwide {
	box-sizing: border-box;
	width: 100%;
	max-width: var(--newave-container, 1280px);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

@media (min-width: 782px) {
	.newave-page-header > .wp-block-group.alignwide,
	.newave-page-header > .alignwide {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

.newave-page-header__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--barlow), Barlow, sans-serif;
	font-weight: 900;
	font-size: clamp(2rem, 4vw, 2.75rem);
	line-height: 1.1;
	color: var(--newave-brand-dark, #07103f);
}

.newave-page-header__intro,
.newave-page-header .newave-shipping-note {
	margin: 0.75rem 0 0;
	font-size: 1rem;
	line-height: 1.5;
	color: rgba(8, 16, 63, 0.65);
}

.newave-shipping-note {
	color: rgba(8, 16, 63, 0.65);
	margin: 0;
}

.newave-cart-page,
.newave-checkout-page {
	background: #fff;
}

body.woocommerce-cart .newave-trust-strip,
body.woocommerce-checkout .newave-trust-strip {
	margin-top: 0;
	border-top: 1px solid var(--newave-border, #e2e8f0);
}

.newave-cart-page .wc-block-cart,
.newave-checkout-page .wc-block-checkout {
	margin-top: 0;
}

.newave-cart-page .wc-block-cart__main,
.newave-checkout-page .wc-block-checkout__main {
	padding-top: 0;
}

.newave-cart-page .wc-block-components-sidebar .wc-block-components-title,
.newave-checkout-page .wc-block-components-checkout-order-summary__title {
	font-family: var(--wp--preset--font-family--barlow), Barlow, sans-serif;
	font-weight: 800;
	font-size: 1.125rem;
	color: var(--newave-brand-dark, #07103f);
}

.newave-product-rating-fallback__stars {
	color: var(--newave-secondary, #1987f5);
	letter-spacing: 0.05em;
}

.newave-product-rating-fallback__text {
	color: #64748b;
	font-size: 0.875rem;
	margin-left: 0.35rem;
}

/* ── My Account ── */
body.woocommerce-account .wp-site-blocks > main {
	margin-top: 0 !important;
	padding-top: var(--newave-header-offset) !important;
}

body.newave-guest-auth.woocommerce-account .wp-site-blocks > main {
	padding-top: calc(var(--newave-header-offset) + clamp(1.25rem, 3vw, 2rem)) !important;
}

body.newave-guest-auth.woocommerce-account .woocommerce {
	padding-top: 0;
}

.woocommerce-account .woocommerce {
	max-width: var(--newave-container, 1280px);
	margin: 0 auto;
	padding: 2rem 1rem 4rem;
}

@media (min-width: 782px) {
	.woocommerce-account .woocommerce {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

.woocommerce-account .woocommerce::before,
.woocommerce-account .woocommerce::after {
	content: none;
	display: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
	float: none;
	width: 100%;
	margin: 0 0 2rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	border-bottom: 1px solid var(--newave-border, #e2e8f0);
	padding-bottom: 0.75rem;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
	margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation a {
	display: inline-flex;
	align-items: center;
	min-height: 2.5rem;
	padding: 0.375rem 0.875rem;
	font-size: 0.875rem;
	font-weight: 600;
	text-decoration: none;
	color: rgba(8, 16, 63, 0.72);
	border-radius: var(--newave-radius, 2px);
	transition: background 0.15s ease, color 0.15s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
	background: var(--newave-muted, #f4f6fb);
	color: var(--newave-brand-dark, #08103f);
}

.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	width: 100%;
}

.woocommerce-account .woocommerce-MyAccount-content h2,
.woocommerce-account .woocommerce-MyAccount-content h3 {
	font-family: Barlow, sans-serif;
	font-weight: 800;
	color: var(--newave-brand-dark, #08103f);
	margin: 0 0 1rem;
}

.woocommerce-account .woocommerce-MyAccount-content p {
	color: rgba(8, 16, 63, 0.72);
	line-height: 1.6;
}

/* ── Guest auth: login / register / lost password ── */
body.newave-guest-auth .newave-page > .alignwide > .wp-block-post-title {
	display: none;
}

body.newave-guest-auth .newave-page > .alignwide {
	max-width: 52rem;
	margin-left: auto;
	margin-right: auto;
}

.newave-account-auth {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	border-radius: calc(var(--newave-radius, 2px) + 2px);
	overflow: hidden;
	background: #fff;
	box-shadow:
		0 24px 48px rgba(8, 16, 63, 0.08),
		0 0 0 1px rgba(8, 16, 63, 0.06);
}

.newave-account-auth__hero {
	position: relative;
	padding: 2rem 1.75rem;
	color: #fff;
	background:
		radial-gradient(circle at top right, rgba(147, 197, 253, 0.28), transparent 55%),
		linear-gradient(145deg, hsl(231, 78%, 14%) 0%, hsl(220, 69%, 44%) 100%);
}

.newave-account-auth__hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
	background-size: 18px 18px;
	opacity: 0.35;
	pointer-events: none;
}

.newave-account-auth__hero-inner {
	position: relative;
	z-index: 1;
}

.newave-account-auth__eyebrow {
	margin: 0 0 0.75rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.72);
}

.newave-account-auth__title {
	margin: 0 0 0.75rem;
	font-family: Barlow, sans-serif;
	font-size: clamp(1.75rem, 4vw, 2.25rem);
	font-weight: 900;
	line-height: 1.05;
	color: #fff;
}

.newave-account-auth__lead {
	margin: 0;
	max-width: 26rem;
	font-size: 0.9375rem;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.86);
}

.newave-account-auth__benefits {
	margin: 1.5rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.75rem;
}

.newave-account-auth__benefits li {
	position: relative;
	padding-left: 1.625rem;
	font-size: 0.875rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.92);
}

.newave-account-auth__benefits li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.35rem;
	width: 0.875rem;
	height: 0.875rem;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.18);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 0.55rem;
}

.newave-account-auth__content {
	padding: 1.5rem;
	background: #fff;
}

.newave-account-auth__tabs {
	display: flex;
	gap: 0.375rem;
	margin: 0 0 1.25rem;
	padding: 0.3125rem;
	background: var(--newave-muted, #f4f6fb);
	border-radius: var(--newave-radius, 2px);
}

.newave-account-auth__tab {
	flex: 1;
	margin: 0;
	padding: 0.6875rem 1rem;
	border: none;
	border-radius: calc(var(--newave-radius, 2px) - 1px);
	background: transparent;
	font: inherit;
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.2;
	color: rgba(8, 16, 63, 0.62);
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.newave-account-auth__tab:hover {
	color: var(--newave-brand-dark, #08103f);
}

.newave-account-auth__tab[aria-selected="true"] {
	background: #fff;
	color: var(--newave-brand-dark, #08103f);
	box-shadow: 0 1px 3px rgba(8, 16, 63, 0.08);
}

.newave-account-auth__panels {
	width: 100%;
}

.newave-account-auth__panel[hidden] {
	display: none !important;
}

.newave-account-auth #customer_login .u-column1,
.newave-account-auth #customer_login .u-column2,
.newave-account-auth #customer_login .col-1,
.newave-account-auth #customer_login .col-2 {
	float: none;
	width: 100%;
	max-width: none;
}

.newave-account-auth .woocommerce-form-login,
.newave-account-auth .woocommerce-form-register,
.newave-account-auth .woocommerce-ResetPassword {
	max-width: none;
	margin: 0;
	padding: 0;
	background: transparent;
	border: none;
	border-radius: 0;
	box-shadow: none;
}

.newave-auth-form__heading {
	margin: 0 0 0.375rem;
	text-align: left;
	font-family: Barlow, sans-serif;
	font-weight: 800;
	font-size: 1.375rem;
	color: var(--newave-brand-dark, #08103f);
}

.newave-auth-form__intro {
	margin: 0 0 1.25rem;
	font-size: 0.875rem;
	line-height: 1.6;
	color: rgba(8, 16, 63, 0.68);
}

.newave-auth-form__back {
	margin: 1rem 0 0;
	font-size: 0.875rem;
}

.newave-auth-form__back a {
	color: var(--newave-brand, #2256bc);
	font-weight: 600;
	text-decoration: none;
}

.newave-auth-form__back a:hover {
	text-decoration: underline;
}

.woocommerce-account .woocommerce-form-row,
.woocommerce-account .form-row {
	float: none;
	width: 100%;
	margin: 0 0 1rem;
}

.woocommerce-account .woocommerce-form-row--first,
.woocommerce-account .woocommerce-form-row--last,
.woocommerce-account .form-row-first,
.woocommerce-account .form-row-last,
.woocommerce-account .form-row-wide {
	float: none;
	width: 100%;
}

.woocommerce-account .clear {
	display: none;
}

.woocommerce-account .woocommerce-form-row label {
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--newave-brand-dark, #08103f);
}

.woocommerce-account .woocommerce-form-login .woocommerce-form-login__rememberme {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	margin: 0.25rem 0 1rem;
}

.woocommerce-account .woocommerce-form-login .woocommerce-form-login__rememberme input {
	width: auto;
}

.woocommerce-account .woocommerce-form-login .form-row:has(.woocommerce-form-login__submit),
.woocommerce-account .woocommerce-form-register .form-row:has(.woocommerce-form-register__submit),
.woocommerce-account .newave-auth-form__actions {
	margin-bottom: 0;
}

.woocommerce-account .woocommerce-form-login button:not(.show-password-input),
.woocommerce-account .woocommerce-form-register button:not(.show-password-input),
.woocommerce-account .woocommerce-ResetPassword button:not(.show-password-input) {
	width: 100%;
	margin-top: 0.25rem;
}

.woocommerce-account .woocommerce-LostPassword,
.woocommerce-account .woocommerce-privacy-policy-text {
	font-size: 0.8125rem;
	color: rgba(8, 16, 63, 0.65);
	margin-top: 0.75rem;
}

.woocommerce-account .woocommerce-LostPassword a {
	color: var(--newave-brand, #2256bc);
	font-weight: 600;
}

@media (min-width: 782px) {
	.newave-account-auth {
		grid-template-columns: minmax(12rem, 0.9fr) minmax(0, 1.1fr);
	}

	.newave-account-auth__hero {
		padding: 2rem 1.75rem;
		min-height: 100%;
		display: flex;
		align-items: center;
	}

	.newave-account-auth__content {
		padding: 1.75rem;
	}
}
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register,
.woocommerce-account .woocommerce-ResetPassword {
	max-width: 28rem;
	margin: 0 auto;
	padding: 2rem;
	background: #fff;
	border: 1px solid var(--newave-border, #e2e8f0);
	border-radius: var(--newave-radius, 2px);
	box-shadow: 0 8px 32px rgba(8, 16, 63, 0.06);
}

.woocommerce-account .newave-account-auth .woocommerce-form-login,
.woocommerce-account .newave-account-auth .woocommerce-form-register,
.woocommerce-account .newave-account-auth .woocommerce-ResetPassword {
	max-width: none;
}

/* Password visibility toggle — keep WC layout, undo theme button styles */
.woocommerce-account .password-input {
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	width: 100%;
}

.woocommerce-account .password-input input[type="password"],
.woocommerce-account .password-input input[type="text"] {
	padding-right: 2.75rem !important;
	width: 100%;
}

.woocommerce-account .show-password-input {
	position: absolute !important;
	right: 0.625rem !important;
	top: 50% !important;
	left: auto !important;
	transform: translateY(-50%) !important;
	width: 2rem !important;
	height: 2rem !important;
	min-width: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: rgba(8, 16, 63, 0.55) !important;
	cursor: pointer;
}

.woocommerce-account .show-password-input:hover {
	background: transparent !important;
	color: var(--newave-brand-dark, #08103f) !important;
}

.woocommerce-account .woocommerce-LostPassword,
.woocommerce-account .woocommerce-privacy-policy-text {
	font-size: 0.8125rem;
	color: rgba(8, 16, 63, 0.65);
}

.woocommerce-account .woocommerce-LostPassword a {
	color: var(--newave-brand, #2256bc);
	font-weight: 600;
}

.woocommerce-account .woocommerce-Addresses {
	display: grid;
	gap: 1.5rem;
}

@media (min-width: 782px) {
	.woocommerce-account .woocommerce-Addresses {
		grid-template-columns: repeat(2, 1fr);
	}
}

.woocommerce-account .woocommerce-Address {
	background: var(--newave-muted, #f4f6fb);
	border: 1px solid var(--newave-border, #e2e8f0);
	border-radius: var(--newave-radius, 2px);
	padding: 1.25rem;
}

.woocommerce-account .woocommerce-Address-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 0.75rem;
}

.woocommerce-account .woocommerce-Address-title h2,
.woocommerce-account .woocommerce-Address-title h3 {
	margin: 0;
	font-size: 1rem;
}

.woocommerce-account .woocommerce-Address address {
	font-style: normal;
	line-height: 1.6;
	color: rgba(8, 16, 63, 0.72);
}

.woocommerce-account .woocommerce-orders-table__cell-order-number a {
	font-weight: 700;
	color: var(--newave-brand, #2256bc);
	text-decoration: none;
}

.woocommerce-account .woocommerce-orders-table__cell-order-status {
	font-weight: 600;
}

.woocommerce-account .woocommerce-message,
.woocommerce-account .woocommerce-info,
.woocommerce-account .woocommerce-error {
	margin-bottom: 1.25rem;
	padding: 0.875rem 1rem;
}

.woocommerce-order-received .woocommerce-order {
	max-width: var(--newave-container, 1280px);
	margin: 0 auto;
	padding: 2rem 1rem 4rem;
}

.woocommerce-order-received .woocommerce-thankyou-order-received {
	font-family: Barlow, sans-serif;
	font-weight: 800;
	font-size: 1.5rem;
	color: var(--newave-brand-dark, #08103f);
	margin-bottom: 1.5rem;
}

.woocommerce-order-received .woocommerce-order-overview {
	display: grid;
	gap: 0.75rem;
	list-style: none;
	margin: 0 0 2rem;
	padding: 1.25rem;
	background: var(--newave-muted, #f4f6fb);
	border: 1px solid var(--newave-border, #e2e8f0);
	border-radius: var(--newave-radius, 2px);
}

@media (min-width: 782px) {
	.woocommerce-order-received .woocommerce-order-overview {
		grid-template-columns: repeat(2, 1fr);
	}
}

.woocommerce-order-received .woocommerce-order-overview li {
	margin: 0;
	font-size: 0.875rem;
	color: rgba(8, 16, 63, 0.72);
}

.woocommerce-order-received .woocommerce-order-overview strong {
	display: block;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--newave-brand-dark, #08103f);
	margin-bottom: 0.25rem;
}
