/* =====================================================================
   WooCommerce — shop, single product, cart, checkout
   Built to override Woo's default float/flex layout with a clean grid.
   ===================================================================== */

/* ---------- Beat WC's default button rules (.woocommerce a.button, etc.) ---------- */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-page a.button,
.woocommerce-page button.button {
	display: inline-flex ;
	align-items: center ;
	gap: .5em ;
	padding: var(--btn-padding, .7em 1.2em) ;
	border-radius: var(--btn-radius) ;
	background: var(--c-btn-bg) ;
	color: var(--c-btn-text) ;
	border: 1px solid var(--c-btn-bg) ;
	font-weight: 500 ;
	line-height: 1.2 ;
	text-shadow: none ;
	box-shadow: none ;
	text-decoration: none ;
	transition: background-color .15s ease, border-color .15s ease, color .15s ease ;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce-page a.button:hover,
.woocommerce-page button.button:hover {
	background: var(--c-btn-hover-bg) ;
	border-color: var(--c-btn-hover-bg) ;
	color: var(--c-btn-text) ;
}
.woocommerce a.button.alt,
.woocommerce button.button.alt {
	background: var(--c-btn-bg) ;
	color: var(--c-btn-text) ;
}

/* WC button — Outline variant. */
body.btn-style-outline .woocommerce a.button,
body.btn-style-outline .woocommerce button.button,
body.btn-style-outline .woocommerce input.button,
body.btn-style-outline .woocommerce #respond input#submit {
	background: transparent ;
	color: var(--c-btn-bg) ;
	border-color: var(--c-btn-bg) ;
}
body.btn-style-outline .woocommerce a.button:hover,
body.btn-style-outline .woocommerce button.button:hover,
body.btn-style-outline .woocommerce input.button:hover,
body.btn-style-outline .woocommerce #respond input#submit:hover {
	background: var(--c-btn-bg) ;
	color: var(--c-btn-text) ;
	border-color: var(--c-btn-bg) ;
}

/* WC button — Soft variant. */
body.btn-style-soft .woocommerce a.button,
body.btn-style-soft .woocommerce button.button,
body.btn-style-soft .woocommerce input.button,
body.btn-style-soft .woocommerce #respond input#submit {
	background: color-mix(in srgb, var(--c-btn-bg) 14%, var(--c-bg)) ;
	color: var(--c-btn-bg) ;
	border-color: transparent ;
}
body.btn-style-soft .woocommerce a.button:hover,
body.btn-style-soft .woocommerce button.button:hover,
body.btn-style-soft .woocommerce input.button:hover,
body.btn-style-soft .woocommerce #respond input#submit:hover {
	background: var(--c-btn-bg) ;
	color: var(--c-btn-text) ;
	border-color: var(--c-btn-bg) ;
}

/* ---------- Shop archive container ---------- */
.shop-archive { padding: 1.5rem 0 3rem; }
.woocommerce-products-header {
	margin: 0 0 1.5rem;
	text-align: left;
}
.woocommerce-products-header__title {
	font-size: var(--fs-h2);
	margin: 0 0 .25em;
}
.term-description, .woocommerce-archive-description {
	color: var(--c-muted);
	max-width: 70ch;
	margin: 0;
}

/* ---------- Shop layout (filters + grid) ---------- */
.shop-layout {
	display: grid;
	gap: var(--gap);
}
.shop-layout--sidebar { grid-template-columns: 260px 1fr; }
.shop-layout--top,
.shop-layout--drawer,
.shop-layout--none { grid-template-columns: 1fr; }
@media (max-width: 900px) {
	.shop-layout--sidebar { grid-template-columns: 1fr; }
	.shop-layout--sidebar .shop-filters--sidebar { display: none; }
}
.shop-main { min-width: 0; }

/* ---------- Filters ---------- */
.filters { display: grid; gap: 1rem; }
.shop-filters--top .filters {
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* Non-collapsible: filters are <div>, not <details>; show heading inline. */
.filter > .filter__title {
	font-weight: 600;
	margin: 0 0 .5em;
	padding: .9em 1em 0;
	font-size: .95rem;
}

/* ---------- Pills display style ---------- */
.filters--pills .filter__list {
	display: flex ;
	flex-wrap: wrap;
	gap: .4rem;
	max-height: none ;
}
.filters--pills .filter__list li { list-style: none; }
.filters--pills .filter__list label {
	display: inline-flex;
	align-items: center;
	gap: 0;
	padding: .35em .75em;
	border: 1px solid var(--c-border);
	border-radius: 999px;
	background: var(--c-bg);
	font-size: .85rem;
	cursor: pointer;
	transition: background-color .12s ease, border-color .12s ease, color .12s ease;
	white-space: nowrap;
}
.filters--pills .filter__list label:hover { border-color: var(--c-text); }
.filters--pills .filter__list input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	width: 0; height: 0;
	pointer-events: none;
}
.filters--pills .filter__list input[type="checkbox"]:checked + span {
	color: var(--c-btn-text);
}
.filters--pills .filter__list label:has(input:checked) {
	background: var(--c-btn-bg);
	border-color: var(--c-btn-bg);
	color: var(--c-btn-text);
}
/* Fallback for browsers without :has() — give the parent label a
   .is-checked class via header.js if needed. Modern browsers handle :has(). */
.filters--pills .filter__list small { display: none; }
.filter {
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	padding: 0;
	background: var(--c-bg);
}
.filter > summary {
	cursor: pointer;
	padding: .9em 1em;
	font-weight: 600;
	list-style: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.filter > summary::-webkit-details-marker { display: none; }
.filter > summary::after {
	content: "+";
	font-size: 1.2em;
	color: var(--c-muted);
}
.filter[open] > summary::after { content: "−"; }
.filter__list, .filter__price { padding: 0 1em 1em; }
.filter__list { display: grid; gap: .35em; max-height: 240px; overflow-y: auto; }
.filter__list label {
	display: flex; align-items: center; gap: .5em;
	cursor: pointer; font-size: .95rem;
}

/* Custom checkbox — replaces browser default with theme-matched styling */
.filter__list input[type="checkbox"] {
	-webkit-appearance: none;
	appearance: none;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	border: 1.5px solid var(--c-border);
	border-radius: calc(var(--radius, 8px) * .35);
	background: var(--c-bg, #fff);
	cursor: pointer;
	position: relative;
	transition: background-color .15s ease, border-color .15s ease;
}
.filter__list input[type="checkbox"]:hover {
	border-color: var(--c-muted);
}
.filter__list input[type="checkbox"]:checked {
	background: var(--c-btn-bg, var(--c-primary));
	border-color: var(--c-btn-bg, var(--c-primary));
}
.filter__list input[type="checkbox"]:checked::after {
	content: '';
	position: absolute;
	top: 2px;
	left: 5px;
	width: 5px;
	height: 9px;
	border: solid var(--c-btn-text, #fff);
	border-width: 0 2px 2px 0;
	transform: rotate(45deg);
}
.filter__list input[type="checkbox"]:focus-visible {
	outline: 2px solid var(--c-primary);
	outline-offset: 2px;
}

.filter__list small { color: var(--c-muted); margin-left: auto; }

/* ── Inline layout — single horizontal scrollable row ────────────────── */
.filter__list--inline {
	display: flex;
	flex-wrap: nowrap;
	gap: .5rem;
	max-height: none;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.filter__list--inline::-webkit-scrollbar { display: none; }
.filter__list--inline li { flex-shrink: 0; list-style: none; white-space: nowrap; }

/* ── Show-more layout ────────────────────────────────────────────────── */
.filter__list--show-more {
	max-height: none;
	overflow-y: visible;
}
.filter__hidden { display: none; }
.filter--expanded .filter__hidden { display: list-item; }

/* Show-more toggle button */
.filter__show-more {
	display: block;
	background: none;
	border: none;
	padding: .35em 1em .75em;
	font-size: .85rem;
	font-weight: 500;
	color: var(--c-primary);
	cursor: pointer;
	transition: color .15s ease;
}
.filter__show-more:hover { color: var(--c-text); }
.filter__show-less-text { display: none; }
.filter--expanded .filter__show-more-text { display: none; }
.filter--expanded .filter__show-less-text { display: inline; }

.filter__price { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.filter__price label { display: grid; gap: .25em; font-size: .85rem; color: var(--c-muted); }
.filter__actions {
	display: flex; gap: .5rem;
	padding-top: .5rem;
	border-top: 1px solid var(--c-border);
}
.filter__actions .button { flex: 1; justify-content: center; }

/* ---------- Active filters bar ---------- */
.active-filters {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .4rem;
	padding-bottom: .75rem;
	margin-bottom: .25rem;
	border-bottom: 1px solid var(--c-border);
}
.active-filters__label {
	font-size: .8rem;
	font-weight: 600;
	color: var(--c-muted);
	margin-right: .15rem;
}
.active-filters__chip {
	display: inline-flex;
	align-items: center;
	gap: .3em;
	padding: .25em .6em;
	font-size: .8rem;
	line-height: 1.3;
	border: 1px solid var(--c-border);
	border-radius: 999px;
	background: var(--c-surface, #f5f5f5);
	color: var(--c-text);
	cursor: pointer;
	transition: background-color .12s ease, border-color .12s ease;
}
.active-filters__chip:hover {
	border-color: var(--c-text);
	background: var(--c-bg);
}
.active-filters__chip-group {
	font-weight: 600;
	color: var(--c-muted);
}
.active-filters__chip-x {
	flex-shrink: 0;
	opacity: .5;
	transition: opacity .12s ease;
}
.active-filters__chip:hover .active-filters__chip-x { opacity: 1; }
.active-filters__clear {
	font-size: .8rem;
	color: var(--c-primary);
	text-decoration: none;
	margin-left: auto;
	white-space: nowrap;
}
.active-filters__clear:hover { text-decoration: underline; }

.shop-filters--drawer {
	position: fixed;
	inset: 0 0 0 auto;
	width: min(100%, 360px);
	background: var(--c-bg);
	box-shadow: -10px 0 40px rgba(0,0,0,.1);
	padding: 4rem 1.5rem 2rem;
	overflow-y: auto;
	z-index: 200;
	transform: translateX(100%);
	transition: transform .25s ease;
}
@media (max-width: 480px) {
	.shop-filters--drawer {
		width: min(100%, 280px);
		padding: 3.5rem 1rem 1.5rem;
	}
}
.shop-filters--drawer[data-open] { transform: translateX(0); }
.shop-filters__close {
	position: absolute; top: 1rem; right: 1rem;
	width: 2.5rem; height: 2.5rem; font-size: 1.5rem;
	border-radius: var(--radius);
}
/* ---------- Shop toolbar: filter toggle + ordering on same row ---------- */
.shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1rem;
}
.shop-toolbar__spacer { flex: 1; }
.shop-filters-toggle {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
}
/* When position=sidebar, the desktop sidebar is on screen — hide the toggle. */
@media (min-width: 901px) {
	.shop-layout--sidebar .shop-filters-toggle { display: none; }
}
.shop-toolbar .woocommerce-ordering {
	margin: 0;
	float: none;
}

/* ---------- Shop result count + ordering bar ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-result-count {
	color: var(--c-muted);
	font-size: .9rem;
	margin: 0 0 1rem ;
	float: none ;
}
.woocommerce-ordering {
	margin: 0 0 1rem;
	float: none;
}
.woocommerce-ordering select {
	display: inline-block;
	width: 100%;
	padding: var(--btn-padding, .7em 1.2em);
}

/* ---------- Product grid ---------- */
ul.products {
	display: grid ;
	grid-template-columns: repeat(var(--shop-cols, 4), minmax(0, 1fr)) ;
	gap: var(--gap) ;
	margin: 0 ;
	padding: 0 ;
	list-style: none ;
	clear: both;
}
ul.products::before, ul.products::after { content: none ; }
ul.products li.product {
	width: auto ;
	max-width: none ;
	margin: 0 ;
	padding: 0 ;
	float: none ;
	clear: none ;
	list-style: none ;
}
@media (max-width: 1100px) { ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)) ; } }
@media (max-width: 800px)  { ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) ; } }
@media (max-width: 480px)  { ul.products { grid-template-columns: 1fr ; } }

/* ---------- Product card ---------- */
:root { --card-ratio: 1 / 1; }
.card-ratio-1-1  { --card-ratio: 1 / 1; }
.card-ratio-4-5  { --card-ratio: 4 / 5; }
.card-ratio-3-4  { --card-ratio: 3 / 4; }
.card-ratio-4-3  { --card-ratio: 4 / 3; }
.card-ratio-3-2  { --card-ratio: 3 / 2; }
.card-ratio-16-9 { --card-ratio: 16 / 9; }

.product-card {
	position: relative;
	display: flex ;
	flex-direction: column;
	border-radius: var(--radius);
	transition: transform .15s ease;
}


/* Alignment variants */
.product-card--align-left   { text-align: left; }
.product-card--align-center { text-align: center; }
.product-card--align-right  { text-align: right; }
.product-card--align-center > .button,
.product-card--align-center .add_to_cart_button,
.product-card--align-center .added_to_cart { align-self: center; }
.product-card--align-right  > .button,
.product-card--align-right  .add_to_cart_button,
.product-card--align-right  .added_to_cart  { align-self: flex-end; }

/* Category eyebrow */
.product-card__cat {
	display: block;
	font-size: .72rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--c-muted);
	margin-bottom: .25em;
}

/* Star rating */
.product-card .star-rating {
	margin: .25em 0 ;
}
.product-card--align-center .star-rating { margin-inline: auto ; }

/* Loop swatches (attribute values on product cards) */
.loop-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: .25rem;
	margin-top: .35rem;
}
.product-card--align-center .loop-swatches { justify-content: center; }
.product-card--align-right  .loop-swatches { justify-content: flex-end; }
.loop-swatch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.8rem;
	height: 1.6rem;
	padding: .15rem .45rem;
	font-size: .7rem;
	font-weight: 500;
	line-height: 1;
	color: var(--c-text);
	border: 1px solid var(--c-border);
	border-radius: calc(var(--radius, 6px) * .6);
	background: var(--c-bg);
}
.loop-swatch--oos {
	opacity: .35;
	text-decoration: line-through;
}

/* The first <a> in a Woo loop item wraps image + title + price. */
.product-card > a:first-of-type {
	display: block;
	color: inherit;
	text-decoration: none;
}
.product-card > a:first-of-type:hover { text-decoration: none; }

.product-card > a:first-of-type {
	position: relative;
}
.product-card img,
.product-card .attachment-woocommerce_thumbnail,
.product-card .wp-post-image,
.product-card__hover-image {
	display: block;
	width: 100%;
	aspect-ratio: var(--card-ratio);
	object-fit: cover;
	border-radius: var(--radius);
	margin: 0 0 .9rem ;
	background: var(--c-surface);
}

/* Hover-swap to second gallery image */
.product-card__hover-image {
	position: absolute;
	inset: 0 0 .9rem 0; /* matches the image margin-bottom */
	margin: 0 ;
	opacity: 0;
	transition: opacity .25s ease;
	pointer-events: none;
}
.product-card--hover-swap:hover .product-card__hover-image { opacity: 1; }

.product-card .woocommerce-loop-product__title,
.product-card h2,
.product-card h3 {
	font-size: .95rem ;
	font-weight: 500 ;
	line-height: 1.3 ;
	margin: 0 0 .25em ;
	padding: 0 ;
	color: var(--c-text) ;
	font-family: var(--font-body) ;
	letter-spacing: 0;
}
.product-card .woocommerce-loop-product__title:hover,
.product-card a:hover .woocommerce-loop-product__title {
	color: var(--c-primary) ;
}

.product-card .price {
	display: block;
	color: var(--c-text);
	font-weight: 600;
	font-size: 1rem;
	margin: 0;
}
a.added_to_cart.wc-forward
{
	display:none;
}
.product-card .price del {
	color: var(--c-muted); font-weight: 400;
	margin-right: .35em;
	text-decoration: line-through;
}
.product-card .price del .amount { color: var(--c-muted); }
.product-card .price ins { text-decoration: none; color: var(--c-accent); background: none; }

/* Star rating */
.product-card .star-rating {
	font-size: .85em;
	margin: .25em 0;
}

/* The "Add to cart" / "View product" button (sits as a sibling of the link). */
/* Specific enough to beat WooCommerce's `.woocommerce a.button` and
   forced with  on properties WC also marks visually. */
.product-card > .button,
.product-card a.button,
.product-card .add_to_cart_button,
.product-card .added_to_cart,
.woocommerce ul.products li.product .button {
	margin-top: .75rem ;
	display: inline-flex ;
	align-items: center ;
	gap: .35em ;
	font-size: .9rem ;
	font-weight: 500 ;
	padding: .55em 1em ;
	line-height: 1.2 ;
	border-radius: var(--btn-radius) ;
	background: var(--c-btn-bg) ;
	color: var(--c-btn-text) ;
	border: 1px solid var(--c-btn-bg) ;
	text-shadow: none ;
	box-shadow: none ;
	text-decoration: none ;
}

.product-card--align-center form.cart {
align-self:center;
}
.product-card > .button:hover,
.product-card a.button:hover,
.product-card .add_to_cart_button:hover,
.woocommerce ul.products li.product .button:hover {
	background: var(--c-btn-hover-bg) ;
	border-color: var(--c-btn-hover-bg) ;
	color: var(--c-btn-text) ;
	text-decoration: none ;
}
.product-card .added_to_cart {
	background: transparent ;
	color: var(--c-text) ;
	border-color: var(--c-border) ;
	margin-left: .5rem ;
}

/* Alignment overrides for centered/right cards must win too. */
.product-card--align-center > .button,
.product-card--align-center .add_to_cart_button,
.product-card--align-center a.button { align-self: center ; }
.product-card--align-right > .button,
.product-card--align-right .add_to_cart_button,
.product-card--align-right a.button { align-self: flex-end ; }

/* On-sale badge */
.product-card .onsale,
ul.products .onsale {
	position: absolute ;
	top: .75rem ; left: .75rem ;
	right: auto ;
	margin: 0 ;
	min-height: 0 ;
	min-width: 0 ;
	background: var(--c-accent) ;
	color: #fff ;
	font-size: .72rem ;
	font-weight: 600 ;
	padding: .3em .65em ;
	border-radius: var(--radius) ;
	z-index: 3 ;
	text-transform: uppercase;
	letter-spacing: .04em;
	line-height: 1.2;
}

/* ---------- Card style variants ---------- */
.product-card--boxed {
	background: var(--c-surface);
	padding: 1rem;
	border: 1px solid var(--c-border);
}
.product-card--boxed img { background: var(--c-bg); }

.product-card--bordered {
	padding: 1rem;
	border: 1px solid var(--c-border);
	background: var(--c-bg);
}

.product-card--compact .woocommerce-loop-product__title {
	font-size: .85rem ;
}
.product-card--compact .price { font-size: .9rem; }
.product-card--compact .product-card__cat { font-size: .65rem; }
.product-card--compact img { margin-bottom: .5rem ; }

.product-card--overlay { overflow: hidden; }
.product-card--overlay > a:first-of-type { position: relative; }
.product-card--overlay img { aspect-ratio: 4/5 ; margin: 0 ; }
.product-card--overlay .woocommerce-loop-product__title,
.product-card--overlay .price {
	position: absolute;
	left: 1rem; right: 1rem;
	color: #fff ;
	z-index: 2;
}
.product-card--overlay .woocommerce-loop-product__title { bottom: 2.25rem; }
.product-card--overlay .price { bottom: 1rem; }
.product-card--overlay > a:first-of-type::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(to top, rgba(0,0,0,.7), transparent 50%);
	border-radius: var(--radius);
	z-index: 1;
	pointer-events: none;
}

/* ---------- Single product ---------- */
/* Force a 2-col grid; WC's default float layout (width:48%, float:left/right)
   is overridden via  on the container display + child width. */
.woocommerce.single-product div.product,
.single-product div.product {
	display: grid ;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) ;
	column-gap: clamp(1.5rem, 4vw, 4rem) ;
	row-gap: 2rem ;
	padding: 2rem 0 ;
	float: none ;
	width: 100% ;
}
.single-product div.product::before,
.single-product div.product::after { content: none ; }

@media (max-width: 900px) {
	.single-product div.product,
	.woocommerce.single-product div.product {
		grid-template-columns: 1fr ;
	}
}

/* Children that should always span the full row (below gallery + summary). */
.single-product .woocommerce-tabs,
.single-product .related,
.single-product .upsells,
.single-product .cross-sells,
.single-product .product_meta + *,
.single-product div.product > .clear { grid-column: 1 / -1; }

/* WC sometimes outputs a .clear div between rows — hide it; grid handles flow. */
.single-product div.product > .clear { display: none; }

.single-product .woocommerce-product-gallery {
	width: 100% ;
	max-width: 100% ;
	float: none ;
	margin: 0 ;
	min-width: 0;
	position: relative;
}

/* Hide the lightbox / zoom trigger icon */
.single-product .woocommerce-product-gallery__trigger { display: none !important; }

.single-product .woocommerce-product-gallery__image img {
	border-radius: var(--radius);
	background: var(--c-surface);
}

/* ---------- Flexslider navigation arrows ---------- */
.single-product .woocommerce-product-gallery .flex-direction-nav {
	list-style: none;
	padding: 0;
	margin: 0;
}
.single-product .woocommerce-product-gallery .flex-direction-nav a {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 2.5rem;
	height: 2.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, .85);
	border-radius: 50%;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
	color: var(--c-text);
	font-size: 0;
	text-decoration: none;
	opacity: 0;
	transition: opacity .2s ease, background .15s ease;
	cursor: pointer;
}
.single-product .woocommerce-product-gallery:hover .flex-direction-nav a,
.single-product .woocommerce-product-gallery .flex-direction-nav a:focus {
	opacity: 1;
}
.single-product .woocommerce-product-gallery .flex-direction-nav a:hover {
	background: #fff;
}
.single-product .woocommerce-product-gallery .flex-direction-nav a::after {
	content: '';
	display: block;
	width: .55rem;
	height: .55rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
}
.single-product .woocommerce-product-gallery .flex-direction-nav .flex-prev {
	left: .75rem;
}
.single-product .woocommerce-product-gallery .flex-direction-nav .flex-prev a {
	left: .75rem;
}
.single-product .woocommerce-product-gallery .flex-direction-nav .flex-prev a::after,
.single-product .woocommerce-product-gallery .flex-direction-nav a.flex-prev::after {
	transform: rotate(135deg);
	margin-left: 2px;
}
.single-product .woocommerce-product-gallery .flex-direction-nav .flex-next {
	right: .75rem;
}
.single-product .woocommerce-product-gallery .flex-direction-nav .flex-next a {
	right: .75rem;
}
.single-product .woocommerce-product-gallery .flex-direction-nav .flex-next a::after,
.single-product .woocommerce-product-gallery .flex-direction-nav a.flex-next::after {
	transform: rotate(-45deg);
	margin-right: 2px;
}

/* On touch devices keep arrows always visible */
@media (hover: none) and (pointer: coarse) {
	.single-product .woocommerce-product-gallery .flex-direction-nav a { opacity: 1; }
}

.single-product .flex-control-thumbs {
	display: grid ;
	grid-template-columns: repeat(5, 1fr);
	gap: .5rem;
	margin-top: .75rem ;
	padding: 0 ;
}
.single-product .flex-control-thumbs li { width: auto ; margin: 0 ; }
.single-product .flex-control-thumbs img {
	border-radius: calc(var(--radius) * .6);
	cursor: pointer;
	opacity: .7;
	transition: opacity .15s ease;
}
.single-product .flex-control-thumbs img:hover,
.single-product .flex-control-thumbs img.flex-active { opacity: 1; }

.single-product .summary,
.woocommerce.single-product div.product .summary {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin: 0 ;
	padding: 0 ;
	float: none ;
	width: 100% ;
	max-width: 100% ;
	min-width: 0;
	text-align:left;
}
.single-product .product_title {
	font-size: var(--fs-h2) ;
	margin: 0 ;
	padding: 0 ;
}
.single-product .summary .price {
	font-size: var(--fs-h3);
	font-weight: 700;
	color: var(--c-text);
	margin: 0;
}
.single-product .summary .price del { color: var(--c-muted); font-weight: 400; }
.single-product .summary .price ins { text-decoration: none; color: var(--c-accent); }
.single-product .woocommerce-product-rating { margin: 0 ; }

.single-product form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: .75rem;
	margin: .5rem 0 1rem;
	padding: 0;
	justify-content: flex-start;
	width: auto;
	align-items: stretch;
	align-self: flex-start;
}
.single_variation_wrap
{
	display: flex;
    flex: 1;
    width: 100%;
    justify-content: space-around;
    flex-direction: column;

}
table.variations {
    display: flex;
    flex: 1;
    width: 100%;
}

.single_variation_wrap {
    display: flex;
    flex: 1;
    width: 100%;
    justify-content: space-around;
    flex-direction: column;
}
.single-product .quantity .qty {
	width: 4.5rem;
	text-align: center;
	padding: .65em .5em;
}
.single-product .single_add_to_cart_button,
.woocommerce .single_add_to_cart_button.button {
	padding: .8em 1.5em ;
	background: var(--c-btn-bg) ;
	color: var(--c-btn-text) ;
	border-radius: var(--btn-radius) ;
	border: 1px solid var(--c-btn-bg) ;
	font-weight: 500 ;
	text-shadow: none ;
	box-shadow: none ;
}
.single-product .single_add_to_cart_button:hover,
.woocommerce .single_add_to_cart_button.button:hover {
	background: var(--c-btn-hover-bg) ;
	border-color: var(--c-btn-hover-bg) ;
	color: var(--c-btn-text) ;
}

/* ---------- Attribute swatches (single product) ---------- */
.swatch-group {
	display: flex;
	flex-wrap: wrap;
	gap: .4rem;
	margin-top: .35rem;
}
button.swatch-btn,
.swatch-group .swatch-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.5rem;
	height: 2.5rem;
	padding: .25rem .65rem;
	font-size: .82rem;
	font-weight: 500;
	line-height: 1;
	letter-spacing: normal;
	text-transform: none;
	text-decoration: none;
	color: var(--c-text, #111);
	background: var(--c-bg, #fff);
	border: 1.5px solid var(--c-border, #e5e7eb);
	border-radius: var(--radius, 6px);
	cursor: pointer;
	transition: border-color .15s ease, background .15s ease, color .15s ease;
	user-select: none;
	box-sizing: border-box;
	box-shadow: none;
	-webkit-appearance: none;
	appearance: none;
	font-family: inherit;
	outline: none;
	margin: 0;
}
button.swatch-btn:hover,
.swatch-group .swatch-btn:hover {
	border-color: var(--c-text, #111);
	background: var(--c-bg, #fff);
	color: var(--c-text, #111);
}
button.swatch-btn.swatch-btn--active,
.swatch-group .swatch-btn--active {
	border-color: var(--c-primary, #111);
	color: var(--c-primary, #111);
	background: color-mix(in srgb, var(--c-primary, #111) 8%, var(--c-bg, #fff));
	font-weight: 600;
}
@supports not (background: color-mix(in srgb, red 8%, white)) {
	button.swatch-btn.swatch-btn--active,
	.swatch-group .swatch-btn--active {
		background: var(--c-bg, #fff);
		box-shadow: inset 0 0 0 1px var(--c-primary, #111);
	}
}
button.swatch-btn.swatch-btn--disabled,
.swatch-group .swatch-btn--disabled {
	opacity: .35;
	cursor: not-allowed;
	text-decoration: line-through;
}

.single-product .variations { border: 0; border-collapse: collapse; }
.single-product .variations td.label { padding: .5rem 1rem .5rem 0; vertical-align: top; font-weight: 600; font-size: .85rem; }
.single-product .variations td.value { padding: .5rem 0; }
.single-product .variations td.value .swatch-group { margin-top: 0; }
.single-product .variations select + .swatch-group { margin-top: .35rem; }
.single-product .reset_variations { font-size: .8rem; margin-top: .25rem; }

.single-product .product_meta {
	color: var(--c-muted);
	font-size: .9rem;
	padding-top: 1rem;
	border-top: 1px solid var(--c-border);
	text-align:left;
}
.single-product .product_meta > span { display: block; padding: .15em 0; }

.single-product .woocommerce-product-details__short-description {
	color: var(--c-text);
	margin: 0 ;
}
.single-product .woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }

/* Variations */
.single-product .variations {
	margin: 0 ;
	border: 0 ;
}
.single-product .variations td { padding: .5rem 0 ; border: 0 ; justify-content: center; display:flex; }
.single-product .variations td.label { padding-right: 1rem ; font-weight: 500; }
.single-product .reset_variations { margin-left: 1rem; color: var(--c-muted); }


/* Make the whole form stack nicely */
.variations_form.cart {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Variation table → flatten it */
.variations {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Each row (label + select) */
.variations tr {
    display: flex;
    align-items: center;
    gap: 10px;
	flex-direction: column;
    align-items: flex-start;
}

/* Label */
.variations .label {
    min-width: 60px;
}
a.add_to_wishlist.single_add_to_wishlist{
	display: flex;
    flex-direction: row;
}

/* Select full width */
.variations select {
    flex: 1;
}

/* Bottom section (qty + button) */
.woocommerce-variation-add-to-cart {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* Quantity input */
.quantity {
    display: flex;
    align-items: center;
}

.quantity input.qty {
    width: 70px;
    text-align: center;
}

/* Button grows nicely */
.single_add_to_cart_button {
    flex: 1;
    min-width: 150px;
}

/* ---------- Tabs ---------- */
.woocommerce-tabs {
	clear: both;
	padding-top: 2rem;
}
.woocommerce-tabs ul.tabs {
	display: flex ;
	gap: 1.5rem;
	border-bottom: 1px solid var(--c-border) ;
	margin: 0 0 1.5rem ;
	padding: 0 ;
}
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs::after { content: none ; }
.woocommerce-tabs ul.tabs li {
	padding: 0 ;
	background: none ;
	border: 0 ;
	border-radius: 0 ;
	margin: 0 ;
}
.woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { content: none ; }
.woocommerce-tabs ul.tabs li a {
	display: block ;
	padding: 1em 0 ;
	border-bottom: 2px solid transparent ;
	font-weight: 500 ;
	text-shadow: none ;
	color: var(--c-muted) ;
}
.woocommerce-tabs ul.tabs li.active a {
	border-bottom-color: var(--c-primary) ;
	color: var(--c-text) ;
}
.woocommerce-tabs .panel {
	padding: 0 ;
	margin: 0 ;
	box-shadow: none ;
	background: none ;
}

/* Related / upsell sections */
.related, .upsells, .cross-sells {
	clear: both;
	padding-top: 3rem;
	margin-top: 3rem;
	border-top: 1px solid var(--c-border);
}
.related > h2, .upsells > h2, .cross-sells > h2 {
	font-size: var(--fs-h3);
	margin-bottom: 1.5rem;
}

/* ---------- Sticky add-to-cart bar ---------- */
.sticky-atc {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 100;
	background: var(--c-bg);
	border-top: 1px solid var(--c-border);
	box-shadow: 0 -2px 16px rgba(0,0,0,.06);
	transform: translateY(100%);
	transition: transform .3s ease;
}
.sticky-atc[data-visible] {
	transform: translateY(0);
}

/* Row 1: image + title/price + button — always one line */
.sticky-atc__inner {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-top: .6rem;
	padding-bottom: .6rem;
}
.sticky-atc__product {
	display: flex;
	align-items: center;
	gap: .65rem;
	min-width: 0;
	flex: 1;
}
.sticky-atc__img {
	width: 44px;
	height: 44px;
	object-fit: cover;
	border-radius: calc(var(--radius) * .5);
	flex-shrink: 0;
}
.sticky-atc__info {
	display: flex;
	align-items: baseline;
	gap: .6rem;
	min-width: 0;
}
.sticky-atc__title {
	font-weight: 600;
	font-size: .88rem;
	line-height: 1.3;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.sticky-atc__price {
	font-size: .88rem;
	font-weight: 600;
	color: var(--c-text);
	white-space: nowrap;
	flex-shrink: 0;
}
.sticky-atc__price del {
	font-weight: 400;
	color: var(--c-muted);
	font-size: .8rem;
}
.sticky-atc__price ins {
	text-decoration: none;
	color: var(--c-accent, var(--c-primary));
}
.sticky-atc__action {
	flex-shrink: 0;
}
.sticky-atc__btn {
	white-space: nowrap;
	padding: .6em 1.4em;
}
.sticky-atc__btn:disabled {
	opacity: .5;
	cursor: not-allowed;
}

/* Row 2: variation selectors — single row below */
.sticky-atc__variations {
	display: flex;
	align-items: center;
	gap: .75rem;
	padding-top: 0;
	padding-bottom: .6rem;
	overflow-x: auto;
	scrollbar-width: none;
}
.sticky-atc__variations::-webkit-scrollbar { display: none; }
.sticky-atc__var-group {
	display: flex;
	align-items: center;
	gap: .35rem;
	flex-shrink: 0;
}
.sticky-atc__var-label {
	font-size: .75rem;
	font-weight: 600;
	color: var(--c-muted);
	white-space: nowrap;
}
.sticky-atc__var-select {
	padding: .3em .45em;
	font-size: .8rem;
	border: 1px solid var(--c-border);
	border-radius: calc(var(--radius) * .4);
	background: var(--c-bg);
	min-width: 0;
	max-width: 130px;
}
.sticky-atc__swatches {
	display: flex;
	gap: .25rem;
	flex-wrap: nowrap;
}
.sticky-atc__swatch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 30px;
	height: 30px;
	padding: 0 .4em;
	font-size: .72rem;
	font-weight: 500;
	border: 1.5px solid var(--c-border);
	border-radius: calc(var(--radius) * .35);
	background: var(--c-bg);
	cursor: pointer;
	white-space: nowrap;
	transition: border-color .12s ease, background .12s ease;
}
.sticky-atc__swatch:hover { border-color: var(--c-text); }
.sticky-atc__swatch--active {
	border-color: var(--c-primary, var(--c-btn-bg));
	background: var(--c-primary, var(--c-btn-bg));
	color: var(--c-btn-text, #fff);
}
.sticky-atc__swatch:disabled {
	opacity: .3;
	cursor: not-allowed;
	text-decoration: line-through;
}

@media (max-width: 480px) {
	.sticky-atc__img { width: 36px; height: 36px; }
	.sticky-atc__title { font-size: .8rem; }
	.sticky-atc__price { font-size: .8rem; }
	.sticky-atc__btn { padding: .55em 1em; font-size: .82rem; }
	.sticky-atc__var-select { max-width: 100px; font-size: .75rem; }
	.sticky-atc__swatch { min-width: 26px; height: 26px; font-size: .68rem; }
	.sticky-atc__inner { gap: .65rem; }
}

/* ---------- Cart page ---------- */

.shop-flow { padding: 2rem 0 4rem; }

/* The cart/checkout pages are regular WP pages rendered via page.php which
   wraps content in .container--narrow (760px). That's too tight for a 6-col
   table. Widen the container when it holds WooCommerce cart/checkout content. */
.woocommerce-cart .container--narrow,
.woocommerce-checkout .container--narrow,
.woocommerce-account .container--narrow {
	width: min(100% - 2rem, var(--container-max));
}
.woocommerce-cart .page-content .alignwide,
.woocommerce-checkout .page-content .alignwide,
.woocommerce-account .page-content .alignwide {
	width: auto;
	max-width: none;
	margin-left: 0;
	margin-right: 0;
}

/* Page title — WC doesn't output one by default but some setups add it. */
.woocommerce-cart .page-title,
.woocommerce-checkout .page-title { margin-bottom: 1.5rem; }

/* Two-column layout: cart form on left, totals on right */
.woocommerce-cart .woocommerce.wp-block-group {
	display: grid;
	grid-template-columns: 1fr 380px;
	gap: 2rem;
	align-items: start;
}
.woocommerce-cart .woocommerce.wp-block-group > .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
}
@media (max-width: 960px) {
	.woocommerce-cart .woocommerce.wp-block-group {
		grid-template-columns: 1fr;
	}
}

/* Checkout: the inner form.checkout handles its own two-column grid,
   so the outer wrapper just flows normally. */

.woocommerce-cart-form {
	padding-top: .5rem;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.woocommerce-cart-form > table.shop_table {
	min-width: 650px;
}

/* --- Shop table (shared by cart + totals + checkout review) --- */
table.shop_table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	overflow: hidden;
	margin-bottom: 1.5rem;
	font-size: .95rem;
}
table.shop_table th,
table.shop_table td {
	padding: 1rem 1.25rem;
	border-bottom: 1px solid var(--c-border);
	text-align: left;
	vertical-align: middle;
}
table.shop_table tr:last-child td { border-bottom: 0; }
table.shop_table thead {
	background: var(--c-surface);
	font-size: .85rem;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--c-muted);
	font-weight: 600;
}
table.shop_table thead th { font-weight: 600; }

/* --- Cart item row --- */
.cart_item { transition: background-color .12s ease; }
.cart_item:hover { background: var(--c-surface); }

/* Remove button */
.cart_item .product-remove {
	width: 3rem;
	text-align: center;
}
.cart_item .product-remove a.remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	border-radius: 999px;
	color: var(--c-muted) !important;
	background: transparent;
	font-size: 1.25rem;
	line-height: 1;
	text-decoration: none;
	transition: background-color .12s ease, color .12s ease;
}
.cart_item .product-remove a.remove:hover {
	background: var(--c-accent, #e74c3c);
	color: #fff !important;
}

/* Thumbnail */
.cart_item .product-thumbnail { width: 80px; padding: .75rem; }
.cart_item .product-thumbnail img {
	width: 64px;
	min-width: 64px;
	height: 64px;
	object-fit: cover;
	border-radius: calc(var(--radius) * .5);
	background: var(--c-surface);
}
.cart_item .product-thumbnail a { display: block; line-height: 0; }

/* Product name */
.cart_item .product-name a {
	color: var(--c-text);
	font-weight: 500;
	text-decoration: none;
}
.cart_item .product-name a:hover { color: var(--c-primary); text-decoration: none; }
.cart_item .product-name .variation { display: block; font-size: .85rem; color: var(--c-muted); margin-top: .25em; }
.cart_item .product-name dl.variation { margin: .25em 0 0; }
.cart_item .product-name dl.variation dt { float: left; clear: left; margin-right: .4em; font-weight: 500; }
.cart_item .product-name dl.variation dd { margin: 0 0 .15em; color: var(--c-muted); }
.cart_item .product-name p { margin: 0; }

/* Price + subtotal columns */
.cart_item .product-price,
.cart_item .product-subtotal {
	font-weight: 600;
	white-space: nowrap;
}
.cart_item .product-subtotal { color: var(--c-text); }

/* Quantity input */
.cart_item .product-quantity { width: 120px; }
.quantity {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	overflow: hidden;
}
.quantity input.qty {
	width: 3.5em;
	text-align: center;
	border: 0;
	padding: .5em .25em;
	-moz-appearance: textfield;
	background: transparent;
}
.quantity input.qty::-webkit-inner-spin-button,
.quantity input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }

/* --- Actions row (coupon + update cart) --- */
table.cart td.actions {
	padding: 1.25rem;
}
table.cart td.actions::after { content: ""; display: table; clear: both; }

table.cart .coupon {
	display: inline-flex;
	gap: .5rem;
	align-items: center;
	float: left;
}
table.cart .coupon label { display: none; }
table.cart .coupon .input-text {
	width: auto;
	min-width: 180px;
	padding: .6em .9em;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	font-size: .9rem;
}
table.cart .coupon .button {
	font-size: .9rem;
	padding: .6em 1em;
	white-space: nowrap;
}
table.cart td.actions > .button {
	float: right;
	font-size: .9rem;
}

/* --- Cart collaterals (sits in the right grid column) --- */
.cart-collaterals {
	margin-top: 0;
	position: sticky;
	top: calc(var(--header-h, 70px) + 1rem);
}

/* --- Cross-sells --- */
.cross-sells { margin-top: 0; }
.cross-sells > h2 {
	font-size: var(--fs-h4, 1.2rem);
	margin-bottom: 1rem;
}
.cross-sells ul.products {
	grid-template-columns: repeat(2, 1fr) !important;
}

/* --- Cart totals --- */
.cart_totals {
	margin-top: 0;
	background: var(--c-surface);
	border-radius: var(--radius);
	padding: 1.5rem;
}
.cart_totals > h2 {
	font-size: var(--fs-h4, 1.2rem);
	margin: 0 0 1rem;
}
.cart_totals table.shop_table {
	border: 0;
	margin-bottom: 0;
	background: transparent;
}
.cart_totals table.shop_table th {
	font-weight: 500;
	color: var(--c-muted);
	font-size: .9rem;
	text-transform: none;
	letter-spacing: 0;
	padding: .75rem 0;
	background: transparent;
}
.cart_totals table.shop_table td {
	text-align: right;
	font-weight: 600;
	padding: .75rem 0;
}
.cart_totals table.shop_table tr:not(:last-child) th,
.cart_totals table.shop_table tr:not(:last-child) td {
	border-bottom: 1px solid var(--c-border);
}
.cart_totals table.shop_table tr:last-child td { border-bottom: 0; }
.cart_totals .order-total th,
.cart_totals .order-total td {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--c-text);
	padding-top: 1rem;
}
.cart_totals .order-total th { color: var(--c-text); }

/* Shipping row inside totals */
.cart_totals .shipping th { vertical-align: top; }
.cart_totals .shipping td { text-align: right; }
.cart_totals .shipping ul { list-style: none; margin: 0; padding: 0; }
.cart_totals .shipping ul li { margin-bottom: .25em; }
.cart_totals .shipping ul li label { display: inline-flex; gap: .5em; align-items: center; cursor: pointer; font-weight: 400; }
.cart_totals .shipping ul li input[type="radio"] { accent-color: var(--c-primary); }
.cart_totals .woocommerce-shipping-calculator { margin-top: .5rem; }
.cart_totals .shipping-calculator-button {
	display: inline-block;
	font-size: .85rem;
	color: var(--c-primary);
	text-decoration: underline;
}

/* Proceed to checkout */
.wc-proceed-to-checkout {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--c-border);
}
.wc-proceed-to-checkout .button,
.wc-proceed-to-checkout .checkout-button {
	display: block;
	width: 100%;
	text-align: center;
	justify-content: center;
	padding: .9em 1.5em;
	font-size: 1rem;
	font-weight: 600;
}

/* --- Empty cart --- */
.cart-empty {
	text-align: center;
	padding: 3rem 0;
	color: var(--c-muted);
	font-size: 1.1rem;
}
.return-to-shop {
	text-align: center;
	margin-top: 1rem;
}
.return-to-shop .button {
	padding: .8em 1.5em;
}

/* --- Responsive cart table --- */
@media (max-width: 700px) {
	.single-product .summary .price {
		font-size: var(--fs-h4);
	}
	.single-product .product_title{
		font-size: var(--fs-h4);
	}
	.single-product form.cart {
		
			align-items: left;
		}
	.woocommerce-cart-form > table.shop_table { min-width: 0; }
	table.cart thead { display: none; }
	table.cart tr {
		display: grid;
		grid-template-columns: auto 1fr;
		grid-template-rows: auto auto;
		gap: 0 1rem;
		padding: 1rem;
		border-bottom: 1px solid var(--c-border);
		position: relative;
	}
	table.cart td {
		padding: .25rem 0;
		border: 0;
	}
	table.cart .product-remove {
		position: absolute;
		top: .75rem;
		right: .5rem;
		width: auto;
	}
	table.cart .product-thumbnail {
		grid-row: 1 / 3;
		width: 72px;
	}
	table.cart .product-thumbnail img { width: 56px; height: 56px; }
	table.cart .product-name { grid-column: 2; font-size: .95rem; }
	table.cart .product-price {
		grid-column: 2;
		font-size: .85rem;
		color: var(--c-muted);
		font-weight: 500;
	}
	table.cart .product-quantity {
		grid-column: 1 / -1;
		width: auto;
		margin-top: .5rem;
	}
	table.cart .product-subtotal {
		grid-column: 1 / -1;
		text-align: right;
		font-size: .95rem;
		margin-top: .25rem;
	}
	table.cart .product-subtotal::before {
		content: attr(data-title) ": ";
		font-weight: 400;
		color: var(--c-muted);
	}
	table.cart td.actions {
		grid-column: 1 / -1;
		display: flex;
		flex-direction: column;
		gap: .75rem;
	}
	table.cart .coupon { float: none; width: 100%; }
	table.cart .coupon .input-text { min-width: 0; flex: 1; }
	table.cart td.actions > .button { float: none; width: 100%; justify-content: center; }
}
/* ---------- Checkout ---------- */

/* form.checkout two-column grid: fields left, order review right */
form.checkout.woocommerce-checkout {
	display: grid;
	grid-template-columns: 1fr 400px;
	gap: 2rem;
	align-items: start;
}
@media (max-width: 960px) {
	form.checkout.woocommerce-checkout {
		grid-template-columns: 1fr;
	}
}

/* Left column: customer details (billing + additional info stacked) */
.checkout #customer_details {
	grid-column: 1;
	display: block;
}
.checkout .col-1, .checkout .col-2 { width: auto; float: none; }
.checkout .col-2 { margin-top: 1.5rem; }

/* Hide the "Your order" heading — the review panel is self-evident */
#order_review_heading { display: none; }

/* Right column: order review + payment, sticky */
#order_review.woocommerce-checkout-review-order {
	grid-column: 2;
	grid-row: 1 / 999;
	position: sticky;
	top: calc(var(--header-h, 70px) + 1rem);
	padding: 1.5rem;
	background: var(--c-surface);
	border-radius: var(--radius);
}
@media (max-width: 960px) {
	#order_review.woocommerce-checkout-review-order {
		grid-column: 1;
		grid-row: auto;
		position: static;
	}
}

/* Form fields */
.woocommerce-checkout .form-row {
	margin-bottom: 1rem;
}
.woocommerce-checkout .form-row label {
	display: block;
	font-weight: 500;
	font-size: .9rem;
	margin-bottom: .35em;
	color: var(--c-text);
}
.woocommerce-checkout .form-row .required { color: var(--c-accent); }
.woocommerce-checkout .form-row .optional { font-weight: 400; color: var(--c-muted); font-size: .85rem; }
.woocommerce-checkout .form-row .input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
	width: 100%;
}

/* WooCommerce form-row-first / form-row-last inline pairing */
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
	display: inline-block;
	width: calc(50% - .5rem);
	vertical-align: top;
}
.woocommerce-checkout .form-row-first { margin-right: .5rem; }
@media (max-width: 500px) {
	.woocommerce-checkout .form-row-first,
	.woocommerce-checkout .form-row-last {
		display: block;
		width: 100%;
		margin-right: 0;
	}
}

/* Payment box (sits inside the review-order panel which already has bg) */
#payment {
	background: transparent;
	padding: 0;
	border-radius: 0;
	margin-top: 1.5rem;
}
#payment ul.payment_methods {
	padding: 0 ;
	margin: 0 0 1rem ;
	border: 0 ;
	list-style: none ;
}
#payment ul.payment_methods li {
	padding: .75rem 0;
	border-bottom: 1px solid var(--c-border);
}
#payment ul.payment_methods li:last-child { border-bottom: 0; }
#payment ul.payment_methods li label {
	display: inline-flex;
	align-items: center;
	gap: .5em;
	cursor: pointer;
	font-weight: 500;
}
#payment ul.payment_methods li input[type="radio"] { accent-color: var(--c-primary); }
#payment ul.payment_methods li label img { max-height: 17px; margin-left: 18px; }
#payment .payment_box {
	padding: .75rem 0 0 1.5rem;
	color: var(--c-muted);
	font-size: .9rem;
}
#payment .place-order {
	padding-top: 1rem;
}
#payment #place_order {
	display: block;
	width: 100%;
	text-align: center;
	justify-content: center;
	padding: .9em 1.5em;
	font-size: 1rem;
	font-weight: 600;
}


/* ---------- Notices ---------- */

.woocommerce-notices-wrapper {
    display: flex;
    width: 100%;
    flex-direction: column;
}
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	padding: 1em 1.25em ;
	border-radius: var(--radius) ;
	margin: 0 0 1rem ;
	background: var(--c-surface) ;
	border-left: 3px solid var(--c-primary) ;
	list-style: none ;
	display: flex;
	justify-content: space-between;
}
.woocommerce-error { border-left-color: var(--c-accent) ; }

/* ---------- Trust badges (product page) ---------- */
.trust-badges--product {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: .75rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--c-border);
}
.trust-badge--full { grid-column: 1 / -1; }
@media (max-width: 480px) {
	.trust-badges--product {grid-template-columns: max-content;
	justify-content: center;}
}

.trust-badge {
	display: flex;
	align-items: flex-start;
	gap: .6rem;
	justify-content: flex-start;
}
a.trust-badge {
	color: inherit;
	text-decoration: none;
}
a.trust-badge:hover { opacity: .75; }
.trust-badge--align-center { justify-content: center; text-align: center; }
.trust-badge--align-end    { justify-content: flex-end; text-align: right; }
.trust-badge__icon {
	flex-shrink: 0;
	color: var(--c-primary);
	margin-top: .1em;
}
.trust-badge__icon svg { display: block; }
.trust-badge__text {
	display: flex;
	flex-direction: column;
}
.trust-badge__title {
	font-size: .85rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--c-text);
}
.trust-badge__subtitle {
	font-size: .78rem;
	color: var(--c-muted);
	line-height: 1.35;
	margin-top: .1em;
}

/* ---------- My Account ---------- */
body.woocommerce-account .page-content > .woocommerce {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 2.5rem;
	align-items: start;
}

/* Navigation sidebar */
.woocommerce-MyAccount-navigation {
	background: var(--c-surface);
	border-radius: var(--radius);
	border: 1px solid var(--c-border);
	overflow: hidden;
}
.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: .5rem 0;
}
.woocommerce-MyAccount-navigation ul li {
	margin: 0;
}
.woocommerce-MyAccount-navigation ul li a {
	display: flex;
	align-items: center;
	gap: .65rem;
	padding: .7rem 1.25rem;
	color: var(--c-text);
	text-decoration: none;
	font-size: .9rem;
	font-weight: 450;
	transition: background .15s ease, color .15s ease;
	border-left: 3px solid transparent;
}
.woocommerce-MyAccount-navigation ul li a::before {
	content: '';
	display: block;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	opacity: .55;
	background: currentColor;
	-webkit-mask-size: contain;
	mask-size: contain;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	transition: opacity .15s ease;
}
.woocommerce-MyAccount-navigation ul li a:hover::before,
.woocommerce-MyAccount-navigation ul li.is-active a::before { opacity: 1; }

/* Icon masks per endpoint */
.woocommerce-MyAccount-navigation-link--dashboard a::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E");
}
.woocommerce-MyAccount-navigation-link--orders a::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16.5 9.4l-9-5.19'/%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3Cpath d='M3.27 6.96L12 12.01l8.73-5.05'/%3E%3Cpath d='M12 22.08V12'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16.5 9.4l-9-5.19'/%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3Cpath d='M3.27 6.96L12 12.01l8.73-5.05'/%3E%3Cpath d='M12 22.08V12'/%3E%3C/svg%3E");
}
.woocommerce-MyAccount-navigation-link--downloads a::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4'/%3E%3Cpolyline points='7 10 12 15 17 10'/%3E%3Cline x1='12' y1='15' x2='12' y2='3'/%3E%3C/svg%3E");
}
.woocommerce-MyAccount-navigation-link--edit-address a::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}
.woocommerce-MyAccount-navigation-link--edit-account a::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-8 8-8s8 3.6 8 8'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c0-4.4 3.6-8 8-8s8 3.6 8 8'/%3E%3C/svg%3E");
}
.woocommerce-MyAccount-navigation-link--customer-logout a::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E");
}

.woocommerce-MyAccount-navigation ul li a:hover {
	background: color-mix(in srgb, var(--c-primary) 6%, var(--c-surface));
	color: var(--c-primary);
}
.woocommerce-MyAccount-navigation ul li.is-active a {
	background: color-mix(in srgb, var(--c-primary) 8%, var(--c-surface));
	color: var(--c-primary);
	font-weight: 600;
	border-left-color: var(--c-primary);
}
.woocommerce-MyAccount-navigation ul li:last-child a {
	color: var(--c-muted);
}
.woocommerce-MyAccount-navigation ul li:last-child a:hover {
	color: #c00;
}

/* Content area */
.woocommerce-MyAccount-content {
	min-width: 0;
}
.woocommerce-MyAccount-content > p:first-of-type {
	font-size: .95rem;
	line-height: 1.65;
	color: var(--c-text);
}
.woocommerce-MyAccount-content a {
	color: var(--c-primary);
}

/* Orders table */
.woocommerce-MyAccount-content .woocommerce-orders-table {
	width: 100%;
	border-collapse: collapse;
	font-size: .88rem;
}
.woocommerce-orders-table th {
	text-align: left;
	font-weight: 600;
	font-size: .78rem;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--c-muted);
	padding: .75rem .5rem;
	border-bottom: 2px solid var(--c-border);
}
.woocommerce-orders-table td {
	padding: .85rem .5rem;
	border-bottom: 1px solid var(--c-border);
	vertical-align: middle;
}
.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a {
	display: inline-block;
	padding: .4em .8em;
	font-size: .8rem;
	font-weight: 500;
	background: var(--c-primary);
	color: #fff;
	border-radius: var(--btn-radius, var(--radius));
	text-decoration: none;
	transition: opacity .15s ease;
}
.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a:hover {
	opacity: .85;
}

/* Address cards */
.woocommerce-MyAccount-content .woocommerce-Addresses {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
}
.woocommerce-MyAccount-content .woocommerce-Address {
	background: var(--c-surface);
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	padding: 1.25rem;
}
.woocommerce-MyAccount-content .woocommerce-Address header h3 {
	font-size: .95rem;
	font-weight: 600;
	margin: 0 0 .75rem;
}
.woocommerce-MyAccount-content .woocommerce-Address address {
	font-style: normal;
	font-size: .88rem;
	line-height: 1.6;
	color: var(--c-muted);
}

/* Forms (edit account, edit address) */
.woocommerce-MyAccount-content .woocommerce-EditAccountForm,
.woocommerce-MyAccount-content .woocommerce-address-fields {
	max-width: 560px;
}
.woocommerce-MyAccount-content .woocommerce-EditAccountForm .form-row,
.woocommerce-MyAccount-content .woocommerce-address-fields .form-row {
	margin-bottom: 1rem;
}
.woocommerce-MyAccount-content label {
	display: block;
	font-size: .82rem;
	font-weight: 600;
	margin-bottom: .3rem;
	color: var(--c-text);
}
.woocommerce-MyAccount-content input[type="text"],
.woocommerce-MyAccount-content input[type="email"],
.woocommerce-MyAccount-content input[type="password"],
.woocommerce-MyAccount-content input[type="tel"],
.woocommerce-MyAccount-content select {
	width: 100%;
	padding: .6rem .75rem;
	font-size: .9rem;
	border: 1px solid var(--c-border);
	border-radius: var(--radius);
	background: var(--c-bg);
	transition: border-color .15s ease;
}
.woocommerce-MyAccount-content input:focus,
.woocommerce-MyAccount-content select:focus {
	outline: none;
	border-color: var(--c-primary);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--c-primary) 15%, transparent);
}

/* No orders / no downloads message */
.woocommerce-MyAccount-content .woocommerce-message,
.woocommerce-MyAccount-content .woocommerce-info {
	padding: 1rem 1.25rem;
	border-radius: var(--radius);
	background: color-mix(in srgb, var(--c-primary) 6%, var(--c-bg));
	border: 1px solid color-mix(in srgb, var(--c-primary) 20%, var(--c-border));
	color: var(--c-text);
	font-size: .9rem;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
	body.woocommerce-account .page-content > .woocommerce {
		grid-template-columns: 1fr;
		gap: 1.25rem;
	}
	.woocommerce-MyAccount-navigation ul {
		display: flex;
		overflow-x: auto;
		gap: 0;
		padding: 0;
		-webkit-overflow-scrolling: touch;
	}
	.woocommerce-MyAccount-navigation ul li a {
		white-space: nowrap;
		padding: .6rem 1rem;
		font-size: .82rem;
		border-left: none;
		border-bottom: 3px solid transparent;
	}
	.woocommerce-MyAccount-navigation ul li.is-active a {
		border-left-color: transparent;
		border-bottom-color: var(--c-primary);
	}
	.woocommerce-MyAccount-content .woocommerce-Addresses {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Product reviews & star ratings
   ========================================================================== */

/* ── WooCommerce star-rating widget (display) ─────────────────────────── */
.star-rating {
	position: relative;
	display: inline-block;
	font-size: 1em;
	width: 5.4em;
	height: 1.1em;
	line-height: 1;
	overflow: hidden;
	font-family: star;
	vertical-align: middle;
}
.star-rating::before {
	content: '\73\73\73\73\73';
	color: var(--c-border, #ddd);
	float: left;
	top: 0;
	left: 0;
	position: absolute;
	letter-spacing: .1em;
}
.star-rating span {
	overflow: hidden;
	float: left;
	top: 0;
	left: 0;
	position: absolute;
	padding-top: 1.5em;
}
.star-rating span::before {
	content: '\53\53\53\53\53';
	top: 0;
	position: absolute;
	left: 0;
	color: #f5a623;
	letter-spacing: .1em;
}

/* ── Review form rating stars (interactive) ───────────────────────────── */
.comment-form-rating {
	margin-bottom: 1.25rem;
}
.comment-form-rating label {
	display: block;
	font-weight: 500;
	margin-bottom: .5rem;
}
p.stars {
	display: inline-block;
	margin: 0;
	padding: 0;
	line-height: 1;
}
p.stars a {
	display: inline-block;
	position: relative;
	width: 1.5em;
	height: 1.5em;
	text-indent: -999em;
	text-decoration: none;
	font-size: 1.25rem;
	cursor: pointer;
}
p.stars a::before {
	content: '\2606';
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	text-indent: 0;
	text-align: center;
	color: var(--c-border, #ccc);
	font-size: 1.5rem;
	line-height: 1;
	transition: color .1s ease;
}
p.stars a:hover ~ a::before { color: var(--c-border, #ccc); }
p.stars:hover a::before { color: #f5a623; content: '\2605'; }
p.stars a:hover ~ a::before { content: '\2606'; color: var(--c-border, #ccc); }
p.stars.selected a.active ~ a::before { content: '\2606'; color: var(--c-border, #ccc); }
p.stars.selected a.active::before,
p.stars.selected a:not(.active)::before { content: '\2605'; color: #f5a623; }

/* ── Review form ──────────────────────────────────────────────────────── */
#review_form_wrapper {
	margin-top: 2rem;
}
.comment-reply-title {
	font-size: 1.15rem;
	font-weight: 600;
	margin-bottom: 1rem;
	display: block;
}
.comment-reply-title small a {
	font-size: .85rem;
	font-weight: 400;
	margin-left: .5rem;
	color: var(--c-muted);
}
.comment-form .comment-form-comment label {
	display: block;
	font-weight: 500;
	margin-bottom: .4rem;
}
.comment-form .comment-form-comment textarea {
	width: 100%;
	min-height: 120px;
	padding: .75rem 1rem;
	border: 1px solid var(--c-border);
	border-radius: var(--radius, 8px);
	font-family: inherit;
	font-size: .95rem;
	resize: vertical;
	background: var(--c-bg, #fff);
	color: var(--c-text);
	transition: border-color .15s ease;
}
.comment-form .comment-form-comment textarea:focus {
	outline: none;
	border-color: var(--c-primary);
}
.comment-form .form-submit {
	margin-top: 1rem;
}
.comment-form .form-submit .submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: .65rem 1.75rem;
	font-size: .95rem;
	font-weight: 600;
	border: none;
	border-radius: var(--btn-radius, var(--radius, 8px));
	background: var(--c-btn-bg, var(--c-primary));
	color: var(--c-btn-text, #fff);
	cursor: pointer;
	transition: background-color .15s ease, transform .1s ease;
}
.comment-form .form-submit .submit:hover {
	background: var(--c-btn-hover-bg, var(--c-primary));
	transform: translateY(-1px);
}

/* ── Reviews tab content (existing reviews list) ─────────────────────── */
.woocommerce-Reviews {
	max-width: 720px;
}
#comments {
	margin-bottom: 2rem;
}
.woocommerce-Reviews-title {
	font-size: 1.15rem;
	font-weight: 600;
	margin-bottom: 1.25rem;
}
ol.commentlist {
	list-style: none;
	margin: 0;
	padding: 0;
}
ol.commentlist li.review {
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--c-border, #eee);
}
ol.commentlist li.review:last-child {
	border-bottom: none;
}
ol.commentlist .comment_container {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 1rem;
}
ol.commentlist .comment_container img.avatar {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}
ol.commentlist .comment-text {
	min-width: 0;
}
ol.commentlist .comment-text .meta {
	display: flex;
	align-items: center;
	gap: .5rem;
	flex-wrap: wrap;
	margin-bottom: .4rem;
}
ol.commentlist .comment-text .meta strong.woocommerce-review__author {
	font-weight: 600;
}
ol.commentlist .comment-text .meta .woocommerce-review__dash {
	display: none;
}
ol.commentlist .comment-text .meta time.woocommerce-review__published-date {
	font-size: .85rem;
	color: var(--c-muted);
}
ol.commentlist .comment-text .star-rating {
	margin-bottom: .35rem;
}
ol.commentlist .comment-text .description p {
	margin: 0;
	font-size: .95rem;
	line-height: 1.6;
	color: var(--c-text);
}

/* ── Product tabs (Reviews tab) ──────────────────────────────────────── */

.woocommerce-tabs ul.tabs {
	list-style: none;
	display: flex;
	gap: 0;
	margin: 0 0 1.5rem;
	padding: 0;
	border-bottom: 2px solid var(--c-border, #eee);
}
.woocommerce-tabs ul.tabs li {
	margin: 0;
	padding: 0;
}
.woocommerce-tabs ul.tabs li a {
	display: block;
	padding: .75rem 1.25rem;
	font-weight: 500;
	font-size: .95rem;
	color: var(--c-muted);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	margin-bottom: -2px;
	transition: color .15s ease, border-color .15s ease;
}
.woocommerce-tabs ul.tabs li a:hover {
	color: var(--c-text);
}
.woocommerce-tabs ul.tabs li.active a {
	color: var(--c-text);
	border-bottom-color: var(--c-primary);
	font-weight: 600;
}
.woocommerce-tabs .woocommerce-Tabs-panel {
	padding: 0;
	text-align:left;
}
.woocommerce-tabs .woocommerce-Tabs-panel h2:first-child {
	display: none;
}

/* ── Product attributes table (Additional information tab) ────────────── */
.woocommerce-product-attributes {
	width: 100%;
	border-collapse: collapse;
	font-size: .95rem;
}
.woocommerce-product-attributes tr {
	border-bottom: 1px solid var(--c-border, #eee);
}
.woocommerce-product-attributes tr:last-child {
	border-bottom: none;
}
.woocommerce-product-attributes th {
	text-align: left;
	font-weight: 600;
	padding: .75rem .75rem .75rem 0;
	color: var(--c-text);
	width: 30%;
	vertical-align: top;
	text-transform: capitalize;
}
.woocommerce-product-attributes td {
	padding: .75rem 0;
	color: var(--c-muted);
}
.woocommerce-product-attributes td p {
	margin: 0;
}
.woocommerce-product-attributes td a {
	color: var(--c-primary);
	text-decoration: none;
}
.woocommerce-product-attributes td a:hover {
	text-decoration: underline;
}

/* ---------- Single product: hide breadcrumbs ---------- */
.single-product .breadcrumb,
.single-product .woocommerce-breadcrumb { display: none; }

/* ---------- Single product: mobile tweaks ---------- */
@media (max-width: 768px) {
	.shop-single { padding-top: 0; }
	.single-product .product_title { font-size: 1.25rem; }
	.single-product .woocommerce-product-details__short-description { text-align: left; }
}

/* ---------- Loading state for AJAX filters ---------- */
body.is-filtering .shop-main { opacity: .55; pointer-events: none; transition: opacity .15s ease; }

/* ---------- Brands page grid ---------- */
.brands-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 1.5rem;
	margin-top: 1.5rem;
}
.brands-grid__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 1.5rem 1rem;
	border: 1px solid var(--clr-border, #e5e5e5);
	border-radius: var(--radius, 8px);
	text-decoration: none;
	color: inherit;
	transition: box-shadow .2s ease, border-color .2s ease;
}
.brands-grid__card:hover {
	border-color: var(--clr-primary, #222);
	box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.brands-grid__img-wrap {
	width: 100px;
	height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 1rem;
}
.brands-grid__img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}
.brands-grid__placeholder {
	background: var(--clr-surface, #f5f5f5);
	border-radius: 50%;
}
.brands-grid__placeholder span {
	font-size: 2rem;
	font-weight: 700;
	color: var(--clr-muted, #999);
	text-transform: uppercase;
}
.brands-grid__info {
	display: flex;
	flex-direction: column;
	gap: .25rem;
}
.brands-grid__name {
	font-weight: 600;
	font-size: .95rem;
}
.brands-grid__count {
	font-size: .8rem;
	color: var(--clr-muted, #888);
}

@media (max-width: 480px) {
	.brands-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}
	.brands-grid__card {
		padding: 1rem .75rem;
	}
	.brands-grid__img-wrap {
		width: 70px;
		height: 70px;
	}
}
