/**
 * Shilpi × WooCommerce storefront.
 *
 * Loaded only on shop, product, cart, checkout and account routes. Everything
 * uses the design-system variables first and resilient fallbacks second, so a
 * new store looks finished while an established Shilpi site keeps its voice.
 */

/*
 * Every value resolves through the site's own design tokens first.
 *
 * Two of these used to name tokens that are not in Shilpi's starter set --
 * `--color-primary-hover` and `--color-surface-2` -- so on a real store they
 * silently fell through to the demo's dark purple. Each now degrades to a
 * token the starter set does define before it reaches a literal, and the
 * literals themselves are light, because the starter palette is light. A store
 * that sets nothing should look plain, never look broken.
 */
:root {
	--sh-wc-bg: var(--color-bg, #ffffff);
	--sh-wc-surface: var(--color-surface, #ffffff);
	--sh-wc-surface-2: var(--color-surface-2, var(--color-bg, #f5f6f8));
	--sh-wc-text: var(--color-text, #1f2124);
	--sh-wc-muted: var(--color-muted, #5c6169);
	--sh-wc-line: var(--color-border, #e5e7eb);
	--sh-wc-accent: var(--color-primary, #1f2124);
	--sh-wc-accent-2: var(--color-primary-hover, var(--color-accent, var(--color-primary, #1f2124)));
	--sh-wc-success: var(--color-success, #1f9d55);
	--sh-wc-danger: var(--color-danger, #d93025);
	--sh-wc-radius: var(--radius, 12px);
	--sh-wc-shadow: var(--shadow, 0 14px 40px rgba(16, 24, 40, .10));
}

body.woocommerce,
body.woocommerce-page {
	background: var(--sh-wc-bg);
	color: var(--sh-wc-text);
}

.sh-woo {
	min-height: 65vh;
	padding: clamp(42px, 7vw, 96px) 20px;
	background:
		radial-gradient(circle at 8% 0%, color-mix(in srgb, var(--sh-wc-accent) 10%, transparent), transparent 34%),
		var(--sh-wc-bg);
}

.sh-woo__inner,
.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content,
.woocommerce-account .entry-content {
	width: min(1180px, 100%);
	margin-inline: auto;
}

.sh-woo-page {
	width: min(1180px, calc(100% - 40px));
	min-height: 65vh;
	margin-inline: auto;
	padding-block: clamp(42px, 7vw, 96px);
}

.sh-woo-page__header {
	max-width: 760px;
	margin-bottom: clamp(28px, 5vw, 52px);
}

.sh-woo-page__header h1 {
	margin: 0;
	color: var(--sh-wc-text);
	font-size: clamp(34px, 5vw, 62px);
	font-weight: 700;
	letter-spacing: -.045em;
	line-height: 1.02;
}

.sh-woo-page__header > p:not(.sh-woo-page__eyebrow) {
	max-width: 62ch;
	margin: 18px 0 0;
	color: var(--sh-wc-muted);
	font-size: 17px;
	line-height: 1.7;
}

.sh-woo-page__eyebrow {
	margin: 0 0 12px;
	color: var(--sh-wc-accent-2);
	font-size: 12px;
	font-weight: 750;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.woocommerce a { color: var(--sh-wc-text); }
.woocommerce a:hover { color: var(--sh-wc-accent-2); }

.woocommerce .woocommerce-breadcrumb {
	margin: 0 0 28px;
	color: var(--sh-wc-muted);
	font-size: 13px;
}

.woocommerce .woocommerce-breadcrumb a { color: var(--sh-wc-muted); }

.woocommerce .page-title,
.woocommerce div.product .product_title,
.woocommerce-account .entry-title,
.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title {
	margin: 0 0 26px;
	color: var(--sh-wc-text);
	font-size: clamp(32px, 5vw, 58px);
	font-weight: 700;
	letter-spacing: -.04em;
	line-height: 1.03;
}

/* Shop archive ------------------------------------------------------- */

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering { margin-bottom: 28px; }
.woocommerce .woocommerce-result-count { color: var(--sh-wc-muted); }

.woocommerce .woocommerce-ordering select,
.woocommerce select,
.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce .select2-container .select2-selection {
	min-height: 46px;
	border: 1px solid var(--sh-wc-line);
	border-radius: 9px;
	background: var(--sh-wc-surface);
	color: var(--sh-wc-text);
	box-shadow: none;
}

.woocommerce input.input-text,
.woocommerce textarea { padding: 10px 13px; }
.woocommerce textarea { min-height: 120px; }

.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(16px, 2.4vw, 28px);
	margin: 0;
}

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

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	position: relative;
	float: none;
	width: auto;
	margin: 0;
	padding: 12px 12px 16px;
	border: 1px solid var(--sh-wc-line);
	border-radius: calc(var(--sh-wc-radius) + 4px);
	background: var(--sh-wc-surface);
	box-shadow: 0 1px 0 rgba(255, 255, 255, .03);
	overflow: hidden;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.woocommerce ul.products li.product:hover {
	transform: translateY(-4px);
	border-color: color-mix(in srgb, var(--sh-wc-accent) 58%, var(--sh-wc-line));
	box-shadow: var(--sh-wc-shadow);
}

.woocommerce ul.products li.product a img {
	aspect-ratio: 4 / 3;
	margin: 0 0 16px;
	border-radius: var(--sh-wc-radius);
	background: var(--sh-wc-surface-2);
	object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0;
	color: var(--sh-wc-text);
	font-size: 17px;
	font-weight: 650;
	line-height: 1.3;
}

.woocommerce ul.products li.product .price {
	display: block;
	margin: 9px 0 14px;
	color: var(--sh-wc-success);
	font-size: 16px;
	font-weight: 650;
}

.woocommerce span.onsale {
	top: 22px;
	left: 22px;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--sh-wc-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
}

/* Buttons ------------------------------------------------------------ */

.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.wc-block-components-button:not(.is-link) {
	min-height: 44px;
	padding: 12px 18px;
	border: 1px solid transparent;
	border-radius: 9px;
	background: var(--sh-wc-accent);
	color: #fff;
	font-weight: 650;
	line-height: 1.15;
	transition: background .15s ease, transform .15s ease;
}

.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.wc-block-components-button:not(.is-link):hover {
	background: var(--sh-wc-accent-2);
	color: #fff;
	transform: translateY(-1px);
}

.woocommerce button.button:disabled,
.woocommerce button.button:disabled[disabled] {
	background: var(--sh-wc-surface-2);
	color: var(--sh-wc-muted);
}

/* Single product ----------------------------------------------------- */

.woocommerce div.product {
	display: flow-root;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary { margin-bottom: 56px; }

/*
 * Frame the gallery, not the slider track.
 *
 * With `wc-product-gallery-slider` declared, flexslider turns
 * `.woocommerce-product-gallery__wrapper` into a horizontal track and gives it
 * an inline width of every slide added together — 4534px on a four-image
 * product — then slides it under a `.flex-viewport` it inserts. A border and a
 * radius on the wrapper therefore frame something 4500px wide that is mostly
 * off-screen, and any padding there is multiplied across the track. The frame
 * belongs on the viewport; the wrapper keeps it only for the no-JS case, where
 * flexslider never runs and the images simply stack.
 */
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
	border: 1px solid var(--sh-wc-line);
	border-radius: calc(var(--sh-wc-radius) + 6px);
	background: var(--sh-wc-surface);
	overflow: hidden;
}

.woocommerce div.product div.images .flex-viewport,
.sh-woo-element--product-gallery .flex-viewport {
	border: 1px solid var(--sh-wc-line);
	border-radius: calc(var(--sh-wc-radius) + 6px);
	background: var(--sh-wc-surface);
	overflow: hidden;
}

/* Padding is deliberately absent above: flexslider sizes each slide from the
 * viewport, and padding added after it measures leaves a slide wider than the
 * frame that clips it. */
.woocommerce div.product div.images .flex-viewport .woocommerce-product-gallery__wrapper,
.sh-woo-element--product-gallery .flex-viewport .woocommerce-product-gallery__wrapper {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	overflow: visible;

	/*
	 * And it must stay a plain block. A page that styles the wrapper as a grid
	 * or a flex column — a reasonable thing to write for the no-JS stack, and a
	 * mistake that is invisible until you click the second thumbnail — collapses
	 * flexslider's row into one column, so the track slides to an empty space
	 * and only the first image is ever reachable. Three classes outrank the two
	 * a page rule usually carries, so this wins wherever it matters.
	 */
	display: block;
	gap: 0;
}

/* Before FlexSlider inserts .flex-viewport, keep the first image stable and
 * measurable. Design-pack CSS may otherwise turn the wrapper into a grid,
 * making the page jump through every gallery image while the slider boots. */
.sh-woo-element--product-gallery > .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper {
	display: block;
	gap: 0;
}

.sh-woo-element--product-gallery > .woocommerce-product-gallery > .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:nth-child(n+2) {
	display: none;
}

/* Imported design packs used a sticky media column with a fixed top offset.
 * In a grid this can become a normal relative offset on first paint and leave
 * a large blank block above the gallery. Keep the builder element aligned with
 * the product summary; sticky behaviour can still be applied to an outer box. */
.dp-pdp__media.sh-woo-element--product-gallery {
	position: relative;
	top: auto;
}

/* The image itself is the lightbox trigger. WooCommerce's separate magnifying
 * glass sits outside some imported gallery frames and duplicates that action. */
.sh-woo-element--product-gallery .woocommerce-product-gallery__trigger {
	display: none !important;
}

.sh-woo-element--product-gallery .woocommerce-product-gallery__image > a {
	display: block;
	cursor: zoom-in;
}

.sh-woo-element--product-gallery .woocommerce-product-gallery__image {
	position: relative;
}

.swk-image-lightbox__hit {
	position: absolute;
	inset: 0;
	z-index: 4;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: zoom-in;
}

html.swk-lightbox-open { overflow: hidden; }

.swk-image-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: grid;
	place-items: center;
	padding: clamp(18px, 4vw, 48px);
	background: rgba(12, 16, 24, .88);
	backdrop-filter: blur(8px);
}

.swk-image-lightbox[hidden] { display: none; }

.swk-image-lightbox__figure {
	position: relative;
	max-width: min(1100px, 94vw);
	max-height: 92vh;
	margin: 0;
}

.swk-image-lightbox__image {
	display: block;
	max-width: 100%;
	max-height: 88vh;
	width: auto;
	height: auto;
	border-radius: 12px;
	background: #fff;
	box-shadow: 0 28px 80px rgba(0, 0, 0, .35);
}

.swk-image-lightbox__close {
	position: absolute;
	top: -14px;
	right: -14px;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .35);
	border-radius: 50%;
	background: #fff;
	color: #16191f;
	font: 700 25px/1 sans-serif;
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .24);
}

.woocommerce div.product div.images img { background: var(--sh-wc-surface-2); }

.woocommerce div.product div.images .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 10px;
	margin-top: 12px;
}

.woocommerce div.product div.images .flex-control-thumbs li {
	float: none;
	width: auto;
}

.woocommerce div.product div.images .flex-control-thumbs img {
	border: 1px solid var(--sh-wc-line);
	border-radius: 8px;
}

.woocommerce div.product .summary {
	padding: clamp(22px, 3vw, 38px);
	border: 1px solid var(--sh-wc-line);
	border-radius: calc(var(--sh-wc-radius) + 6px);
	background: var(--sh-wc-surface);
	box-shadow: var(--sh-wc-shadow);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	margin: 0 0 20px;
	color: var(--sh-wc-success);
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 700;
}

.woocommerce div.product .woocommerce-product-details__short-description {
	color: var(--sh-wc-muted);
	font-size: 16px;
	line-height: 1.75;
}

.woocommerce div.product form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 28px 0;
}

.woocommerce .quantity .qty {
	min-height: 44px;
	border: 1px solid var(--sh-wc-line);
	border-radius: 9px;
	background: var(--sh-wc-bg);
	color: var(--sh-wc-text);
}

.woocommerce div.product .product_meta {
	padding-top: 20px;
	border-top: 1px solid var(--sh-wc-line);
	color: var(--sh-wc-muted);
	font-size: 13px;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: flex;
	gap: 6px;
	margin: 0;
	padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-color: var(--sh-wc-line); }

.woocommerce div.product .woocommerce-tabs ul.tabs li {
	margin: 0;
	border: 1px solid var(--sh-wc-line);
	border-radius: 9px 9px 0 0;
	background: var(--sh-wc-surface);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	border-color: var(--sh-wc-accent);
	background: var(--sh-wc-accent);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--sh-wc-text); }

.woocommerce div.product .woocommerce-tabs .panel {
	padding: 28px;
	border: 1px solid var(--sh-wc-line);
	border-top: 0;
	border-radius: 0 0 var(--sh-wc-radius) var(--sh-wc-radius);
	background: var(--sh-wc-surface);
	color: var(--sh-wc-muted);
}

.woocommerce .related.products,
.woocommerce .upsells.products { clear: both; padding-top: 32px; }

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

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
	border: 1px solid var(--sh-wc-line);
	border-top: 3px solid var(--sh-wc-accent);
	border-radius: var(--sh-wc-radius);
	background: var(--sh-wc-surface);
	color: var(--sh-wc-text);
}

.woocommerce-message { border-top-color: var(--sh-wc-success); }
.woocommerce-error { border-top-color: var(--sh-wc-danger); }

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

.woocommerce table.shop_table {
	border: 1px solid var(--sh-wc-line);
	border-collapse: separate;
	border-radius: var(--sh-wc-radius);
	background: var(--sh-wc-surface);
	color: var(--sh-wc-text);
	overflow: hidden;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
	padding: 16px;
	border-color: var(--sh-wc-line);
}

.woocommerce table.shop_table th {
	background: var(--sh-wc-surface-2);
	color: var(--sh-wc-text);
	font-size: 12px;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.woocommerce-cart table.cart img {
	width: 72px;
	border-radius: 8px;
}

.woocommerce-cart table.cart td.actions .coupon {
	display: flex;
	gap: 8px;
}

.woocommerce-cart .cart-collaterals .cart_totals {
	padding: 24px;
	border: 1px solid var(--sh-wc-line);
	border-radius: var(--sh-wc-radius);
	background: var(--sh-wc-surface);
}

.woocommerce-cart .wc-proceed-to-checkout { padding-bottom: 0; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button { margin-bottom: 0; }

/* Checkout ----------------------------------------------------------- */

.woocommerce-checkout form.checkout {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
	gap: clamp(24px, 4vw, 48px);
	align-items: start;
}

.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
	float: none;
	width: auto;
}

.woocommerce-checkout #customer_details {
	display: grid;
	gap: 24px;
}

.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
	float: none;
	width: auto;
	padding: 24px;
	border: 1px solid var(--sh-wc-line);
	border-radius: var(--sh-wc-radius);
	background: var(--sh-wc-surface);
}

.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review { grid-column: 2; }
.woocommerce-checkout #order_review_heading { margin: 0 0 -28px; padding: 0 24px; z-index: 1; }

.woocommerce-checkout #order_review {
	position: sticky;
	top: 24px;
	padding: 58px 24px 24px;
	border: 1px solid var(--sh-wc-line);
	border-radius: var(--sh-wc-radius);
	background: var(--sh-wc-surface);
	box-shadow: var(--sh-wc-shadow);
}

.woocommerce-checkout #payment {
	background: var(--sh-wc-surface-2);
	color: var(--sh-wc-text);
}

.woocommerce-checkout #payment div.payment_box {
	background: var(--sh-wc-bg);
	color: var(--sh-wc-muted);
}

.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--sh-wc-bg); }

/* Account ------------------------------------------------------------ */

.woocommerce-account .woocommerce {
	display: grid;
	grid-template-columns: 240px minmax(0, 1fr);
	gap: 28px;
}

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

.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-content {
	float: none;
	box-sizing: border-box;
	min-width: 0;
	width: auto;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	margin: 0;
	padding: 8px;
	border: 1px solid var(--sh-wc-line);
	border-radius: var(--sh-wc-radius);
	background: var(--sh-wc-surface);
	list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 11px 12px;
	border-radius: 8px;
	color: var(--sh-wc-muted);
	text-decoration: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
	background: var(--sh-wc-accent);
	color: #fff;
}

.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.checkout_coupon {
	padding: 26px;
	border: 1px solid var(--sh-wc-line);
	border-radius: var(--sh-wc-radius);
	background: var(--sh-wc-surface);
}

/* WooCommerce Blocks ------------------------------------------------- */

.wc-block-cart,
.wc-block-checkout,
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout {
	color: var(--sh-wc-text);
}

.wc-block-components-sidebar,
.wc-block-components-order-summary,
.wc-block-components-totals-wrapper,
.wc-block-components-address-form,
.wc-block-components-checkout-step {
	border-color: var(--sh-wc-line) !important;
}

.wc-block-components-sidebar {
	padding: 24px;
	border: 1px solid var(--sh-wc-line);
	border-radius: var(--sh-wc-radius);
	background: var(--sh-wc-surface);
}

.wc-block-components-text-input input,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input {
	border-color: var(--sh-wc-line) !important;
	background: var(--sh-wc-surface) !important;
	color: var(--sh-wc-text) !important;
}

/* Empty states and pagination --------------------------------------- */

.woocommerce-info,
.wc-block-cart__empty-cart__title { color: var(--sh-wc-text); }

.woocommerce nav.woocommerce-pagination ul {
	display: flex;
	gap: 6px;
	border: 0;
}

.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: grid;
	place-items: center;
	min-width: 38px;
	min-height: 38px;
	border: 1px solid var(--sh-wc-line);
	border-radius: 8px;
	background: var(--sh-wc-surface);
	color: var(--sh-wc-text);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
	border-color: var(--sh-wc-accent);
	background: var(--sh-wc-accent);
}

@media (max-width: 980px) {
	.woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.woocommerce-checkout form.checkout { display: block; }
	.woocommerce-checkout #order_review_heading { margin-top: 32px; }
	.woocommerce-checkout #order_review { position: static; }
	.woocommerce-account .woocommerce { grid-template-columns: 1fr; }
	.woocommerce-account .woocommerce-MyAccount-navigation ul {
		display: flex;
		gap: 4px;
		overflow-x: auto;
	}
	.woocommerce-account .woocommerce-MyAccount-navigation li { flex: 0 0 auto; }
}

@media (max-width: 620px) {
	.sh-woo { padding: 34px 14px 56px; }
	.sh-woo-page { width: min(100% - 28px, 1180px); padding-block: 34px 56px; }
	.woocommerce ul.products { grid-template-columns: 1fr; }
	.woocommerce .woocommerce-ordering,
	.woocommerce .woocommerce-result-count { float: none; }
	.woocommerce .woocommerce-ordering select { width: 100%; }
	.woocommerce div.product div.images,
	.woocommerce div.product div.summary { float: none; width: 100%; }
	.woocommerce div.product .summary { padding: 20px; }
	.woocommerce div.product .woocommerce-tabs ul.tabs { overflow-x: auto; }
	.woocommerce-cart table.cart td.actions .coupon { float: none; width: 100%; }
	.woocommerce-cart table.cart td.actions .coupon .input-text { width: 100%; }
	.woocommerce-cart .cart-collaterals .cart_totals { float: none; width: 100%; box-sizing: border-box; }
	.woocommerce table.shop_table_responsive tr { border-color: var(--sh-wc-line); }
}

@media (prefers-reduced-motion: reduce) {
	.woocommerce ul.products li.product,
	.woocommerce a.button,
	.woocommerce button.button,
	.wc-block-components-button { transition: none; }
}

/* Composable WooCommerce elements -----------------------------------
 *
 * These hosts are intentionally independent. AI-authored templates may move,
 * wrap or repeat them and add normal Shilpi classes without depending on the
 * rigid DOM emitted by [product_page]. Typography inherits from the host so a
 * builder class applied to the element controls the visible child as expected.
 */

.sh-woo-template--single .sh-woo-template__hero {
	display: grid;
	grid-template-columns: minmax(0, 1.12fr) minmax(340px, .88fr);
	gap: clamp(28px, 5vw, 72px);
	align-items: start;
}

.sh-woo-template--single .sh-woo-template__summary {
	position: sticky;
	top: 28px;
	padding: clamp(26px, 3.4vw, 44px);
	border: 1px solid color-mix(in srgb, var(--sh-wc-line) 72%, transparent);
	border-radius: calc(var(--sh-wc-radius) + 6px);
	background:
		linear-gradient(145deg, color-mix(in srgb, var(--sh-wc-accent) 8%, transparent), transparent 45%),
		var(--sh-wc-surface);
	box-shadow: var(--sh-wc-shadow);
}

.sh-woo-template__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
}

.sh-woo-element--product-title {
	color: var(--sh-wc-text);
	font-size: clamp(34px, 4.4vw, 58px);
	font-weight: 700;
	letter-spacing: -.05em;
	line-height: 1.03;
}

.sh-woo-element--product-title .product_title {
	margin: 0;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	line-height: inherit;
}

.sh-woo-element--product-price {
	color: var(--sh-wc-success);
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 700;
}

.sh-woo-element--product-price .price {
	margin: 0;
	color: inherit;
	font: inherit;
}

.sh-woo-element--product-price del {
	margin-right: 8px;
	color: var(--sh-wc-muted);
	font-size: .65em;
	opacity: .72;
}

.sh-woo-element--product-summary {
	color: var(--sh-wc-muted);
	font-size: 16px;
	line-height: 1.75;
}

.sh-woo-element--product-summary :first-child { margin-top: 0; }
.sh-woo-element--product-summary :last-child { margin-bottom: 0; }

.sh-woo-element--product-stock .stock {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	padding: 7px 11px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--sh-wc-success) 12%, transparent);
	color: var(--sh-wc-success);
	font-size: 12px;
	font-weight: 700;
}

.sh-woo-element--product-stock .stock::before {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	content: "";
}

.sh-woo-element--product-form form.cart {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

.sh-woo-element--product-form form.cart .single_add_to_cart_button {
	flex: 1 1 190px;
	min-height: 50px;
}

.sh-woo-element--product-meta .product_meta {
	padding-top: 18px;
	border-top: 1px solid var(--sh-wc-line);
	color: var(--sh-wc-muted);
	font-size: 13px;
}

.sh-woo-element--product-gallery > .woocommerce-product-gallery {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
}

.sh-woo-element--product-gallery .woocommerce-product-gallery__wrapper {
	padding: clamp(10px, 1.8vw, 18px);
	border: 1px solid var(--sh-wc-line);
	border-radius: calc(var(--sh-wc-radius) + 6px);
	background: var(--sh-wc-surface);
	overflow: hidden;
}

.sh-woo-element--product-gallery .flex-control-thumbs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 10px;
	margin-top: 12px;
}

.sh-woo-element--product-rating .woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0;
}

.sh-woo-element--product-rating .star-rating { color: #f6b94a; }

.sh-woo-element--product-tabs,
.sh-woo-element--related-products,
.sh-woo-element--upsells { margin-top: clamp(32px, 5vw, 72px); }

.sh-woo-element--product-tabs .woocommerce-tabs ul.tabs {
	display: flex;
	gap: 22px;
	margin: 0;
	padding: 0;
	border-bottom: 1px solid var(--sh-wc-line);
}

.sh-woo-element--product-tabs .woocommerce-tabs ul.tabs::before,
.sh-woo-element--product-tabs .woocommerce-tabs ul.tabs li::before,
.sh-woo-element--product-tabs .woocommerce-tabs ul.tabs li::after { display: none; }

.sh-woo-element--product-tabs .woocommerce-tabs ul.tabs li,
.sh-woo-element--product-tabs .woocommerce-tabs ul.tabs li.active {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.sh-woo-element--product-tabs .woocommerce-tabs ul.tabs li a {
	padding: 14px 2px;
	border-bottom: 2px solid transparent;
	color: var(--sh-wc-muted);
}

.sh-woo-element--product-tabs .woocommerce-tabs ul.tabs li.active a {
	border-color: var(--sh-wc-accent);
	color: var(--sh-wc-text);
}

.sh-woo-element--product-tabs .woocommerce-tabs .panel {
	padding: clamp(24px, 4vw, 44px);
	border: 1px solid var(--sh-wc-line);
	border-top: 0;
	border-radius: 0 0 calc(var(--sh-wc-radius) + 4px) calc(var(--sh-wc-radius) + 4px);
	background: var(--sh-wc-surface);
	color: var(--sh-wc-muted);
}

.sh-woo-element ul.products {
	display: grid;
	grid-template-columns: repeat(var(--sh-woo-columns, 4), minmax(0, 1fr));
	gap: clamp(16px, 2.4vw, 28px);
}

.sh-woo-element[data-woo-columns="1"] ul.products { --sh-woo-columns: 1; }
.sh-woo-element[data-woo-columns="2"] ul.products { --sh-woo-columns: 2; }
.sh-woo-element[data-woo-columns="3"] ul.products { --sh-woo-columns: 3; }
.sh-woo-element[data-woo-columns="4"] ul.products { --sh-woo-columns: 4; }
.sh-woo-element[data-woo-columns="5"] ul.products { --sh-woo-columns: 5; }
.sh-woo-element[data-woo-columns="6"] ul.products { --sh-woo-columns: 6; }

.sh-woo-cart-count {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 42px;
	padding: 0 14px;
	border: 1px solid var(--sh-wc-line);
	border-radius: 999px;
	color: var(--sh-wc-text);
	text-decoration: none;
}

.sh-woo-cart-count__number {
	display: grid;
	place-items: center;
	min-width: 24px;
	height: 24px;
	padding-inline: 6px;
	border-radius: 999px;
	background: var(--sh-wc-accent);
	/* The badge must remain readable when a header gives descendants its brand
	 * colour. The background already resolves from that same brand token. */
	color: #fff !important;
	font-size: 11px;
}

.sh-woo-cart-count__total { color: var(--sh-wc-muted); font-size: 12px; }

@media (max-width: 980px) {
	.sh-woo-template--single .sh-woo-template__hero { grid-template-columns: 1fr; }
	.sh-woo-template--single .sh-woo-template__summary { position: static; }
	.sh-woo-element ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
	.sh-woo-template__toolbar { align-items: stretch; flex-direction: column; }
	.sh-woo-element ul.products { grid-template-columns: 1fr; }
	.sh-woo-element--product-tabs .woocommerce-tabs ul.tabs { overflow-x: auto; }
	.sh-woo-cart-count__total { display: none; }
}

/* Commerce visual system 1.7 ----------------------------------------
 *
 * The storefront stays native WooCommerce markup, but presents it with the
 * clearer hierarchy found in modern catalogue, cart and checkout interfaces:
 * image-led cards, quiet metadata, decisive actions and contained summaries.
 */

.sh-woo-element,
.sh-woo-template {
	width: 100%;
}

/* Templates are full-width <main> elements. Keep their horizontal padding
 * inside the viewport even when the page design has no global border-box reset. */
.sh-woo-template {
	box-sizing: border-box;
}

.woocommerce .woocommerce-notices-wrapper:empty { display: none; }

.woocommerce .woocommerce-result-count {
	float: left;
	padding-top: 12px;
	font-size: 13px;
}

.woocommerce .woocommerce-ordering select {
	min-width: 220px;
	padding: 0 42px 0 14px;
	font-size: 13px;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	padding: 0 0 18px;
	border-color: color-mix(in srgb, var(--sh-wc-line) 78%, transparent);
	background: color-mix(in srgb, var(--sh-wc-surface) 92%, transparent);
	box-shadow: 0 10px 36px rgba(0, 0, 0, .12);
}

.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link {
	display: block;
	padding: 0 16px;
}

.woocommerce ul.products li.product > a.woocommerce-LoopProduct-link img {
	width: calc(100% + 32px);
	max-width: none;
	margin: 0 -16px 18px;
	border-radius: calc(var(--sh-wc-radius) + 3px) calc(var(--sh-wc-radius) + 3px) 0 0;
	transition: transform .35s ease, filter .35s ease;
}

.woocommerce ul.products li.product:hover > a.woocommerce-LoopProduct-link img {
	transform: scale(1.025);
	filter: saturate(1.08);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
	min-height: 2.6em;
	font-size: clamp(16px, 1.4vw, 19px);
	letter-spacing: -.018em;
}

.woocommerce ul.products li.product .star-rating {
	margin: 10px 16px 0;
	color: #f6b94a;
}

.woocommerce ul.products li.product .price {
	min-height: 1.4em;
	margin: 10px 0 0;
	font-size: 17px;
}

.woocommerce ul.products li.product .price del {
	margin-right: 5px;
	color: var(--sh-wc-muted);
	font-size: 13px;
	opacity: .72;
}

.woocommerce ul.products li.product > .button,
.woocommerce ul.products li.product > .added_to_cart {
	display: flex;
	align-items: center;
	justify-content: center;
	width: calc(100% - 32px);
	margin: 15px 16px 0;
}

.woocommerce span.onsale {
	top: 14px;
	left: 14px;
	padding: 7px 11px;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .22);
	letter-spacing: .055em;
	text-transform: uppercase;
	z-index: 2;
}

/* Category cards work automatically when Woo's product_categories shortcode
 * is used, even before Shilpi grows a dedicated category-query control. */
.woocommerce ul.products li.product-category a {
	position: relative;
	display: block;
	min-height: 100%;
}

.woocommerce ul.products li.product-category .woocommerce-loop-category__title {
	position: absolute;
	right: 14px;
	bottom: 14px;
	left: 14px;
	margin: 0;
	padding: 14px 16px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 10px;
	background: rgba(12, 12, 16, .76);
	color: #fff;
	backdrop-filter: blur(12px);
}

.woocommerce ul.products li.product-category .count {
	background: transparent;
	color: var(--sh-wc-accent-2);
}

/* Single product: large editorial gallery and a sticky buying panel. */
.woocommerce div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.16fr) minmax(330px, .84fr);
	column-gap: clamp(28px, 5vw, 72px);
	align-items: start;
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
	float: none;
	width: auto;
}

.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
	padding: clamp(10px, 1.8vw, 18px);
}

.woocommerce div.product div.images .woocommerce-product-gallery__image img {
	border-radius: var(--sh-wc-radius);
}

.woocommerce div.product .summary {
	position: sticky;
	top: 28px;
	padding: clamp(26px, 3.4vw, 44px);
	border-color: color-mix(in srgb, var(--sh-wc-line) 72%, transparent);
	background:
		linear-gradient(145deg, color-mix(in srgb, var(--sh-wc-accent) 8%, transparent), transparent 45%),
		var(--sh-wc-surface);
}

.woocommerce div.product .summary .product_title {
	font-size: clamp(34px, 4.4vw, 58px);
	letter-spacing: -.05em;
}

.woocommerce div.product .summary .woocommerce-product-rating {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-bottom: 18px;
	font-size: 13px;
}

.woocommerce div.product .summary .star-rating { color: #f6b94a; }

.woocommerce div.product p.stock {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 5px 0 0;
	padding: 7px 11px;
	border-radius: 999px;
	background: color-mix(in srgb, var(--sh-wc-success) 12%, transparent);
	color: var(--sh-wc-success);
	font-size: 12px;
	font-weight: 700;
}

.woocommerce div.product p.stock::before {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
	content: "";
}

.woocommerce div.product form.cart .single_add_to_cart_button {
	flex: 1 1 190px;
	min-height: 50px;
}

.woocommerce div.product form.cart .quantity .qty { min-height: 50px; }

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related.products,
.woocommerce div.product .upsells.products {
	grid-column: 1 / -1;
}

.woocommerce div.product .woocommerce-tabs { margin-top: 20px; }

.woocommerce div.product .woocommerce-tabs ul.tabs {
	gap: 22px;
	border-bottom: 1px solid var(--sh-wc-line);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after,
.woocommerce div.product .woocommerce-tabs ul.tabs::before { display: none; }

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
	padding: 14px 2px;
	border-bottom: 2px solid transparent;
	color: var(--sh-wc-muted);
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
	border-color: var(--sh-wc-accent);
	color: var(--sh-wc-text);
}

.woocommerce div.product .woocommerce-tabs .panel {
	padding: clamp(24px, 4vw, 44px);
	border-top: 0;
	border-radius: 0 0 calc(var(--sh-wc-radius) + 4px) calc(var(--sh-wc-radius) + 4px);
}

/* Cart and mini cart: merchandise on the left, decision summary on the right. */
.woocommerce-cart .woocommerce-cart-form {
	float: left;
	width: calc(68% - 18px);
}

.woocommerce-cart .cart-collaterals {
	float: right;
	width: calc(32% - 18px);
}

.woocommerce-cart .cart-collaterals .cart_totals {
	float: none;
	width: auto;
	padding: 28px;
	box-shadow: var(--sh-wc-shadow);
}

.woocommerce-cart table.cart .product-thumbnail { width: 100px; }
.woocommerce-cart table.cart img { width: 82px; }

.woocommerce-cart table.cart .product-name a {
	font-weight: 700;
	text-decoration: none;
}

.woocommerce-cart table.cart .product-remove a {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	border: 1px solid var(--sh-wc-line);
	background: transparent;
	color: var(--sh-wc-muted) !important;
}

.woocommerce-cart table.cart .product-remove a:hover {
	border-color: var(--sh-wc-danger);
	background: color-mix(in srgb, var(--sh-wc-danger) 12%, transparent);
	color: var(--sh-wc-danger) !important;
}

.widget_shopping_cart,
.woocommerce-mini-cart__empty-message {
	color: var(--sh-wc-text);
}

.widget_shopping_cart {
	min-width: min(360px, calc(100vw - 28px));
	padding: 20px;
	border: 1px solid var(--sh-wc-line);
	border-radius: calc(var(--sh-wc-radius) + 4px);
	background: var(--sh-wc-surface);
	box-shadow: var(--sh-wc-shadow);
}

.woocommerce-mini-cart {
	margin: 0;
	padding: 0;
	list-style: none;
}

.woocommerce-mini-cart-item {
	min-height: 72px;
	padding: 12px 28px 12px 82px !important;
	border-bottom: 1px solid var(--sh-wc-line);
}

.woocommerce-mini-cart-item img {
	position: absolute;
	left: 0;
	width: 64px !important;
	border-radius: 8px;
}

.woocommerce-mini-cart__buttons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
}

/* Checkout and account surfaces use fewer boxes, stronger headings and a
 * sticky order summary, matching the same hierarchy as the product panel. */
.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2,
.woocommerce-checkout #order_review,
.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce form.login,
.woocommerce form.register {
	border-color: color-mix(in srgb, var(--sh-wc-line) 76%, transparent);
	border-radius: calc(var(--sh-wc-radius) + 4px);
}

.woocommerce-checkout #customer_details h3,
.woocommerce-checkout #order_review_heading,
.woocommerce-account .woocommerce-MyAccount-content h2 {
	font-size: clamp(22px, 2.4vw, 30px);
	letter-spacing: -.03em;
}

.woocommerce-checkout .form-row label {
	margin-bottom: 7px;
	color: var(--sh-wc-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .035em;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea {
	background: var(--sh-wc-bg);
}

.woocommerce-checkout #place_order { width: 100%; min-height: 52px; }

.woocommerce-account .woocommerce-MyAccount-navigation ul { padding: 10px; }

.woocommerce-account .woocommerce-MyAccount-navigation li a {
	position: relative;
	padding: 13px 14px;
	font-weight: 650;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a::after {
	position: absolute;
	top: 50%;
	right: 13px;
	content: "→";
	transform: translateY(-50%);
}

/* Builder-only representative UI. This is editor chrome and is never saved. */
.sh-woo-demo {
	width: 100%;
	color: var(--sh-wc-text);
}

.sh-woo-demo .card {
	padding: clamp(18px, 3vw, 28px);
	border: 1px solid var(--sh-wc-line);
	border-radius: calc(var(--sh-wc-radius) + 4px);
	background: var(--sh-wc-surface);
	box-shadow: 0 12px 36px rgba(0, 0, 0, .14);
}

.sh-woo-demo article.card { padding: 12px 12px 18px; }

.sh-woo-demo article.card img,
.sh-woo-demo article.card:not(:has(img))::before {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	border-radius: var(--sh-wc-radius);
	background:
		linear-gradient(145deg, color-mix(in srgb, var(--sh-wc-accent) 22%, transparent), transparent),
		var(--sh-wc-surface-2);
	object-fit: cover;
}

.sh-woo-demo article.card:not(:has(img))::before { content: ""; }

.sh-woo-demo small {
	color: var(--sh-wc-accent-2);
	font-size: 11px;
	font-weight: 750;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.sh-woo-demo h2,
.sh-woo-demo h3,
.sh-woo-demo p { margin-block: 0; }

.sh-woo-demo .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 11px 17px;
	border-radius: 9px;
	background: var(--sh-wc-accent);
	color: #fff;
	font-weight: 700;
}

.sh-woo-demo input {
	width: 100%;
	min-height: 46px;
	margin-top: 7px;
	padding: 10px 12px;
	border: 1px solid var(--sh-wc-line);
	border-radius: 9px;
	background: var(--sh-wc-bg);
	color: var(--sh-wc-text);
}

.sh-woo-demo__single { align-items: center; }
.sh-woo-demo__single > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sh-woo-demo__buy { justify-content: space-between; }
.sh-woo-demo__cart-row { grid-template-columns: auto minmax(0, 1fr) auto; }
.sh-woo-demo__cart-row img { border-radius: 9px; object-fit: cover; }
.sh-woo-demo__summary { max-width: 420px; margin-left: auto; }
.sh-woo-demo__account { grid-template-columns: minmax(180px, .32fr) minmax(0, 1fr); }

@media (max-width: 980px) {
	.woocommerce div.product { grid-template-columns: 1fr; }
	.woocommerce div.product .summary { position: static; }
	.woocommerce-cart .woocommerce-cart-form,
	.woocommerce-cart .cart-collaterals { float: none; width: 100%; }
	.woocommerce-cart .cart-collaterals { margin-top: 24px; }
}

@media (max-width: 620px) {
	.woocommerce ul.products li.product .woocommerce-loop-product__title { min-height: 0; }
	.woocommerce div.product .summary .product_title { font-size: clamp(32px, 10vw, 46px); }
	.woocommerce div.product .woocommerce-tabs .panel { padding: 22px 18px; }
	.woocommerce-cart table.cart .product-thumbnail { display: none; }
	.woocommerce-mini-cart__buttons { grid-template-columns: 1fr; }
	.sh-woo-demo__account { grid-template-columns: 1fr; }
}

/* Catalogue cards: strong defaults, but defaults.
 *
 * This block used to carry !important on nearly every declaration, which made
 * the card design unoverridable — and Shilpi's whole contract is that a page's
 * own CSS prints last and wins. The hammer was there because two of these
 * selectors sat one class below WooCommerce core's; naming the list item fixes
 * that on merit, and the theme stylesheet loads after WooCommerce's anyway, so
 * a tie already goes to the theme. Authors get their cards back.
 */

/* Premium storefront redesign 1.7 -----------------------------------
 *
 * These rules intentionally sit last. WooCommerce still ships float-based
 * catalogue and cart layouts for broad theme compatibility; Shilpi owns these
 * three surfaces, so the storefront can use predictable grid geometry instead.
 */

body.woocommerce-page .site-header .site-brand,
body.woocommerce-page .site-header .site-brand__text,
body.woocommerce-page .site-header .site-cart {
	color: #fff !important;
}

body.woocommerce-page .site-header .site-cart {
	border-color: rgba(255, 255, 255, .22) !important;
	background: rgba(255, 255, 255, .06) !important;
}

body.woocommerce-page .site-header .current-menu-item > a,
body.woocommerce-page .site-header .current_page_item > a {
	color: #a9c8ff !important;
}

.sh-woo-template--archive {
	padding: clamp(36px, 5vw, 72px) 20px clamp(72px, 8vw, 120px);
	background:
		radial-gradient(circle at 8% 4%, rgba(18, 100, 232, .09), transparent 28%),
		radial-gradient(circle at 92% 18%, rgba(146, 137, 255, .11), transparent 26%),
		var(--sh-wc-bg);
}

.sh-woo-archive {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.sh-woo-archive > .sh-woo-element--breadcrumbs { margin-bottom: 18px; }

.sh-woo-archive-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr);
	gap: clamp(32px, 6vw, 84px);
	align-items: end;
	margin-bottom: clamp(34px, 5vw, 58px);
	padding: clamp(36px, 6vw, 78px);
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, .09);
	border-radius: 32px;
	background:
		radial-gradient(circle at 86% 18%, rgba(146, 137, 255, .32), transparent 28%),
		linear-gradient(135deg, #101826 0%, #172540 58%, #111827 100%);
	box-shadow: 0 32px 80px rgba(20, 35, 60, .22);
	color: #fff;
}

.sh-woo-archive-hero::after {
	position: absolute;
	right: -70px;
	bottom: -120px;
	width: 340px;
	height: 340px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 50%;
	box-shadow: 0 0 0 46px rgba(255, 255, 255, .025), 0 0 0 92px rgba(255, 255, 255, .018);
	content: "";
	pointer-events: none;
}

.sh-woo-archive-hero__copy { position: relative; z-index: 1; }

.sh-woo-archive-hero .sh-woo-page__eyebrow { color: #a9c8ff; }

.sh-woo-archive-hero h1 {
	max-width: 820px;
	margin: 0;
	color: #fff;
	font-size: clamp(42px, 6vw, 78px);
	font-weight: 750;
	letter-spacing: -.055em;
	line-height: .98;
}

.sh-woo-archive-hero p {
	max-width: 680px;
	margin: 24px 0 0;
	color: rgba(236, 243, 255, .74);
	font-size: clamp(16px, 1.7vw, 19px);
	line-height: 1.7;
}

.sh-woo-archive-hero__features {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 10px;
}

.sh-woo-archive-hero__features span {
	display: flex;
	gap: 10px;
	align-items: center;
	padding: 12px 14px;
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 12px;
	background: rgba(255, 255, 255, .055);
	color: rgba(255, 255, 255, .88);
	font-size: 13px;
	font-weight: 650;
	backdrop-filter: blur(10px);
}

.sh-woo-archive-hero__features span::before,
.sh-woo-trust-strip span::before {
	width: 8px;
	height: 8px;
	flex: 0 0 8px;
	border-radius: 50%;
	background: var(--sh-wc-accent-2);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--sh-wc-accent-2) 18%, transparent);
	content: "";
}

.sh-woo-section-heading {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	align-items: end;
	margin-bottom: 20px;
}

.sh-woo-section-heading span {
	color: var(--sh-wc-accent);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.sh-woo-section-heading h2 {
	margin: 5px 0 0;
	color: var(--sh-wc-text);
	font-size: clamp(27px, 3vw, 40px);
	letter-spacing: -.04em;
	line-height: 1.08;
}

.sh-woo-category-panel { margin-bottom: clamp(32px, 5vw, 54px); }

.sh-woo-element--product-categories ul.products,
.sh-woo-element--products ul.products {
	display: grid;
	gap: clamp(18px, 2.4vw, 28px);
	margin: 0;
	padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after,
.sh-woo-element--cart::before,
.sh-woo-element--cart::after { display: none; }

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products li.product-category {
	float: none;
	width: 100%;
	min-width: 0;
	margin: 0;
}

.sh-woo-element--product-categories li.product-category {
	padding: 0;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--sh-wc-line) 84%, transparent);
	border-radius: 18px;
	background: var(--sh-wc-surface);
	box-shadow: 0 12px 35px rgba(32, 48, 76, .07);
}

.sh-woo-element--product-categories li.product-category a {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	gap: 16px;
	align-items: center;
	padding: 12px;
	text-decoration: none;
}

.sh-woo-element--product-categories li.product-category img {
	width: 76px;
	height: 76px;
	margin: 0;
	border-radius: 12px;
	background: var(--sh-wc-surface-2);
	object-fit: cover;
}

.sh-woo-element--product-categories li.product-category .woocommerce-loop-category__title {
	margin: 0;
	padding: 0;
	color: var(--sh-wc-text);
	font-size: 16px;
	font-weight: 720;
	letter-spacing: -.02em;
}

.sh-woo-element--product-categories mark {
	margin-left: 5px;
	background: transparent;
	color: var(--sh-wc-muted);
	font-size: 12px;
}

/* A category filter is navigation, not a second product gallery. Present its
 * category links as a compact checkbox list and leave imagery to category
 * cards used in the main page content. */
.dpf-filters .sh-woo-element--product-categories ul.products {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
	margin: 0;
	padding: 0;
}

.dpf-filters .sh-woo-element--product-categories li.product-category {
	width: 100%;
	margin: 0;
	padding: 0;
	overflow: visible;
	border: 0;
	border-bottom: 1px solid color-mix(in srgb, var(--sh-wc-line) 72%, transparent);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.dpf-filters .sh-woo-element--product-categories li.product-category:last-child {
	border-bottom: 0;
}

.dpf-filters .sh-woo-element--product-categories li.product-category a {
	display: flex;
	grid-template-columns: none;
	align-items: center;
	gap: 10px;
	min-height: 40px;
	padding: 8px 0 !important;
	border-radius: 0;
	color: var(--sh-wc-text);
}

.dpf-filters .sh-woo-element--product-categories li.product-category img {
	display: none !important;
}

.dpf-filters .sh-woo-element--product-categories li.product-category a::before {
	content: "";
	box-sizing: border-box;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	border: 1.5px solid var(--sh-wc-line);
	border-radius: 4px;
	background: var(--sh-wc-surface);
	transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.dpf-filters .sh-woo-element--product-categories li.product-category a:hover::before {
	border-color: var(--sh-wc-accent);
}

.dpf-filters .sh-woo-element--product-categories li.product-category a.is-current::before,
.dpf-filters .sh-woo-element--product-categories li.product-category a[aria-current="page"]::before {
	border-color: var(--sh-wc-accent);
	background: var(--sh-wc-accent);
	box-shadow: inset 0 0 0 4px var(--sh-wc-surface);
}

.dpf-filters .sh-woo-element--product-categories .woocommerce-loop-category__title {
	position: static !important;
	inset: auto !important;
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: auto !important;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0;
	transform: none !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--sh-wc-text) !important;
}

.sh-woo-template__toolbar {
	min-height: 72px;
	margin-bottom: 34px;
	padding: 12px 14px 12px 20px;
	border: 1px solid var(--sh-wc-line);
	border-radius: 16px;
	background: rgba(255, 255, 255, .78);
	box-shadow: 0 12px 32px rgba(34, 52, 82, .06);
	backdrop-filter: blur(14px);
}

.sh-woo-template__toolbar .woocommerce-result-count { margin: 0; padding: 0; }
.sh-woo-template__toolbar .woocommerce-ordering { margin: 0; }

.sh-woo-template__toolbar select {
	min-height: 46px;
	border-color: color-mix(in srgb, var(--sh-wc-line) 82%, transparent);
	border-radius: 11px;
	background-color: var(--sh-wc-surface);
}

.sh-woo-section-heading--catalogue { margin-bottom: 24px; }

.sh-woo-element--products li.product {
	display: flex;
	flex-direction: column;
	padding: 0 0 20px;
	overflow: hidden;
	border: 1px solid color-mix(in srgb, var(--sh-wc-line) 82%, transparent);
	border-radius: 22px;
	background: var(--sh-wc-surface);
	box-shadow: 0 18px 48px rgba(28, 44, 73, .1);
	transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

.sh-woo-element--products li.product:hover {
	border-color: color-mix(in srgb, var(--sh-wc-accent) 30%, var(--sh-wc-line));
	box-shadow: 0 26px 64px rgba(28, 44, 73, .16);
	transform: translateY(-5px);
}

.sh-woo-element--products li.product > a.woocommerce-LoopProduct-link {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 0;
}

.sh-woo-element--products li.product img {
	width: 100%;
	max-width: none;
	aspect-ratio: 4 / 3;
	margin: 0;
	border-radius: 0;
	background: var(--sh-wc-surface-2);
	object-fit: cover;
	transition: transform .35s ease;
}

.sh-woo-element--products li.product:hover img { transform: scale(1.025); }

.sh-woo-element--products li.product .woocommerce-loop-product__title {
	min-height: 0;
	margin: 0;
	padding: 22px 22px 8px;
	color: var(--sh-wc-text);
	font-size: clamp(18px, 1.8vw, 22px);
	font-weight: 730;
	letter-spacing: -.03em;
	line-height: 1.24;
}

.sh-woo-element--products li.product .price {
	margin: auto 0 0;
	padding: 0 22px;
	color: var(--sh-wc-accent);
	font-size: 17px;
	font-weight: 760;
}

.sh-woo-element--products li.product .button {
	box-sizing: border-box;
	width: auto;
	min-height: 48px;
	margin: 20px 22px 0;
	padding: 13px 18px;
	border: 0;
	border-radius: 12px;
	/* The accent, not the text colour: a store that has set a brand colour was
	   still getting a black Add to cart button on every card. */
	background: var(--sh-wc-accent);
	color: #fff;
	font-size: 13px;
	font-weight: 740;
	text-align: center;
}

.sh-woo-element--products li.product .button:hover { filter: brightness(.92); }

.sh-woo-element--products li.product .onsale {
	top: 14px;
	right: 14px;
	left: auto;
	min-width: 0;
	min-height: 0;
	padding: 7px 10px;
	border-radius: 999px;
	background: #ff5b5f;
	box-shadow: 0 8px 22px rgba(255, 91, 95, .3);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .08em;
	line-height: 1;
	text-transform: uppercase;
}

/* Shared page composition. */
.sh-woo-page--cart,
.sh-woo-page--checkout {
	min-height: 0;
	padding-block: clamp(42px, 6vw, 82px) clamp(80px, 9vw, 130px);
}

.sh-woo-page__topline,
.sh-woo-checkout-progress {
	display: flex;
	justify-content: space-between;
	gap: 18px;
	align-items: center;
	margin-bottom: clamp(34px, 5vw, 60px);
	padding-bottom: 16px;
	border-bottom: 1px solid var(--sh-wc-line);
	color: var(--sh-wc-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.sh-woo-page__topline a,
.sh-woo-checkout-progress a { color: var(--sh-wc-accent); text-decoration: none; }

.sh-woo-checkout-progress { justify-content: flex-start; }

.sh-woo-checkout-progress > * {
	display: inline-flex;
	gap: 10px;
	align-items: center;
}

.sh-woo-checkout-progress > * + *::before {
	width: 38px;
	height: 1px;
	margin-right: 4px;
	background: var(--sh-wc-line);
	content: "";
}

.sh-woo-checkout-progress .is-current { color: var(--sh-wc-text); }

.sh-woo-page--cart .sh-woo-page__header,
.sh-woo-page--checkout .sh-woo-page__header {
	max-width: 820px;
	margin-bottom: 30px;
}

.sh-woo-page--cart .sh-woo-page__header h1,
.sh-woo-page--checkout .sh-woo-page__header h1 {
	font-size: clamp(42px, 6vw, 70px);
}

.sh-woo-trust-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	margin: 0 0 clamp(32px, 5vw, 52px);
	padding: 16px 20px;
	border: 1px solid color-mix(in srgb, var(--sh-wc-accent) 14%, var(--sh-wc-line));
	border-radius: 14px;
	background: color-mix(in srgb, var(--sh-wc-accent) 4%, var(--sh-wc-surface));
}

.sh-woo-trust-strip span {
	display: inline-flex;
	gap: 10px;
	align-items: center;
	color: var(--sh-wc-muted);
	font-size: 12px;
	font-weight: 650;
}

/* Cart: replace WooCommerce floats with a contained two-column workspace. */
.sh-woo-element--cart { display: block; }

.sh-woo-element--cart > .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1.65fr) minmax(310px, .75fr);
	gap: clamp(24px, 3vw, 38px);
	align-items: start;
}

.sh-woo-element--cart > .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }

.sh-woo-element--cart .woocommerce-cart-form,
.sh-woo-element--cart .cart-collaterals,
.sh-woo-element--cart .cart_totals {
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
}

.sh-woo-element--cart table.shop_table {
	margin: 0 !important;
	overflow: hidden;
	border: 1px solid var(--sh-wc-line) !important;
	border-collapse: separate !important;
	border-radius: 18px !important;
	background: var(--sh-wc-surface);
	box-shadow: 0 20px 52px rgba(27, 43, 69, .09);
}

.sh-woo-element--cart table.shop_table th {
	padding: 16px 18px !important;
	border: 0 !important;
	background: #f0f4fa;
	color: var(--sh-wc-muted);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.sh-woo-element--cart table.shop_table td {
	padding: 18px !important;
	border-color: color-mix(in srgb, var(--sh-wc-line) 80%, transparent) !important;
	vertical-align: middle;
}

.sh-woo-element--cart .product-thumbnail img {
	width: 88px !important;
	height: 72px !important;
	border-radius: 11px;
	object-fit: cover;
}

.sh-woo-element--cart .product-name a {
	color: var(--sh-wc-text);
	font-size: 14px;
	font-weight: 720;
	line-height: 1.35;
	text-decoration: none;
}

.sh-woo-element--cart .product-remove a {
	display: inline-grid;
	width: 30px;
	height: 30px;
	place-items: center;
	border-radius: 50%;
	background: #fff1f1;
	color: #d64646 !important;
	font-size: 19px;
}

.sh-woo-element--cart .quantity .qty {
	width: 66px;
	min-height: 42px;
	border-radius: 9px;
	background: var(--sh-wc-bg);
}

.sh-woo-element--cart td.actions { padding: 16px !important; }

.sh-woo-element--cart td.actions .coupon {
	display: flex;
	gap: 8px;
	width: auto;
}

.sh-woo-element--cart td.actions .coupon .input-text {
	width: min(220px, 42vw) !important;
	min-height: 44px;
	border-radius: 9px;
}

.sh-woo-element--cart td.actions .button { min-height: 44px; border-radius: 9px; }

.sh-woo-element--cart .cart_totals {
	position: sticky;
	top: 110px;
	box-sizing: border-box;
	padding: 28px !important;
	border: 1px solid var(--sh-wc-line) !important;
	border-radius: 18px !important;
	background: var(--sh-wc-surface) !important;
	box-shadow: 0 20px 52px rgba(27, 43, 69, .11);
}

.sh-woo-element--cart .cart_totals h2 {
	margin: 0 0 20px;
	font-size: 25px;
	letter-spacing: -.035em;
}

.sh-woo-element--cart .cart_totals table { border: 0 !important; }
.sh-woo-element--cart .cart_totals th,
.sh-woo-element--cart .cart_totals td { padding: 14px 0 !important; background: transparent; }

.sh-woo-element--cart .wc-proceed-to-checkout { padding: 20px 0 0; }

.sh-woo-element--cart .checkout-button {
	min-height: 54px;
	margin: 0 !important;
	border-radius: 12px !important;
	background: var(--sh-wc-accent) !important;
	font-size: 14px !important;
	font-weight: 760 !important;
}

/* Checkout: keep the order review beside the customer details. */
.sh-woo-page--checkout .woocommerce-form-coupon-toggle { margin-bottom: 20px; }

.sh-woo-page--checkout .woocommerce-info {
	border: 1px solid color-mix(in srgb, var(--sh-wc-accent) 18%, var(--sh-wc-line));
	border-radius: 12px;
	background: color-mix(in srgb, var(--sh-wc-accent) 5%, var(--sh-wc-surface));
}

.sh-woo-page--checkout form.checkout {
	display: grid !important;
	grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
	grid-template-areas:
		"customer title"
		"customer order";
	grid-template-rows: auto 1fr;
	gap: 18px clamp(28px, 4vw, 48px);
	align-items: start;
}

.sh-woo-page--checkout #customer_details {
	display: grid;
	grid-area: customer;
	grid-template-columns: 1fr;
	gap: 22px;
}

.sh-woo-page--checkout #order_review_heading {
	grid-area: title;
	margin: 0;
	padding: 0 4px 4px;
}

.sh-woo-page--checkout #order_review {
	position: sticky;
	top: 110px;
	grid-area: order;
	align-self: start;
	margin: 0;
	padding: 28px;
	border: 1px solid var(--sh-wc-line);
	border-radius: 18px;
	background: var(--sh-wc-surface);
	box-shadow: 0 22px 56px rgba(27, 43, 69, .11);
}

.sh-woo-page--checkout #customer_details .col-1,
.sh-woo-page--checkout #customer_details .col-2 {
	float: none;
	width: 100%;
	margin: 0;
	padding: clamp(24px, 3vw, 34px);
	border: 1px solid var(--sh-wc-line);
	border-radius: 18px;
	background: var(--sh-wc-surface);
	box-shadow: 0 18px 46px rgba(27, 43, 69, .075);
	box-sizing: border-box;
}

.sh-woo-page--checkout .woocommerce-billing-fields__field-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 14px;
}

.sh-woo-page--checkout .woocommerce-billing-fields__field-wrapper .form-row {
	float: none;
	width: auto;
	grid-column: 1 / -1;
}

.sh-woo-page--checkout .woocommerce-billing-fields__field-wrapper .form-row-first { grid-column: 1; }
.sh-woo-page--checkout .woocommerce-billing-fields__field-wrapper .form-row-last { grid-column: 2; }

/* WooCommerce 11 gives first/last rows width:47% with a selector that can beat
 * imported page CSS. These elements are grid items here, so that second 47%
 * calculation makes each field about one quarter of its intended width. */
.sh-woo-element--checkout .woocommerce-billing-fields__field-wrapper .form-row {
	float: none !important;
	width: 100% !important;
	min-width: 0;
}

.sh-woo-element--checkout .woocommerce-input-wrapper {
	display: block;
	min-width: 0;
}

.sh-woo-element--checkout .woocommerce-form-coupon-toggle .woocommerce-info::before {
	display: none;
}

.sh-woo-element--checkout .woocommerce-form-coupon-toggle .woocommerce-info {
	padding-inline: 18px;
}

.sh-woo-element--checkout .woocommerce-checkout-review-order-table .product-name {
	overflow-wrap: anywhere;
}

.sh-woo-element--checkout .woocommerce-checkout-review-order-table .product-total {
	white-space: nowrap;
}

.sh-woo-page--checkout .form-row input.input-text,
.sh-woo-page--checkout .form-row textarea,
.sh-woo-page--checkout .select2-container .select2-selection--single {
	min-height: 50px;
	border-color: var(--sh-wc-line);
	border-radius: 10px;
	background: #f8faff;
	box-shadow: none;
}

.sh-woo-page--checkout .select2-container .select2-selection--single .select2-selection__rendered {
	padding: 10px 42px 10px 14px;
	line-height: 28px;
}

.sh-woo-page--checkout .woocommerce-checkout-review-order-table {
	margin: 0 0 22px !important;
	border: 0 !important;
}

.sh-woo-page--checkout .woocommerce-checkout-review-order-table th,
.sh-woo-page--checkout .woocommerce-checkout-review-order-table td {
	padding: 14px 0 !important;
	border-color: color-mix(in srgb, var(--sh-wc-line) 80%, transparent) !important;
}

.sh-woo-page--checkout #payment {
	margin-top: 8px;
	border: 1px solid var(--sh-wc-line);
	border-radius: 14px;
	background: #f4f7fc;
}

.sh-woo-page--checkout #place_order {
	min-height: 56px;
	border-radius: 12px;
	background: var(--sh-wc-accent);
	font-weight: 780;
}

@media (max-width: 980px) {
	.sh-woo-archive-hero { grid-template-columns: 1fr; }
	.sh-woo-archive-hero__features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.sh-woo-element--cart > .woocommerce { grid-template-columns: 1fr; }
	.sh-woo-element--cart .cart_totals { position: static; }
	.sh-woo-page--checkout form.checkout {
		grid-template-columns: 1fr;
		grid-template-areas: "customer" "title" "order";
		grid-template-rows: auto;
	}
	.sh-woo-page--checkout #order_review { position: static; }
}

@media (max-width: 620px) {
	.sh-woo-template--archive { padding-inline: 14px; }
	.sh-woo-archive-hero { padding: 30px 24px; border-radius: 22px; }
	.sh-woo-archive-hero h1 { font-size: clamp(38px, 12vw, 52px); }
	.sh-woo-archive-hero__features { grid-template-columns: 1fr; }
	.sh-woo-section-heading { display: block; }
	.sh-woo-template__toolbar { align-items: stretch; padding: 14px; }
	.sh-woo-page__topline { align-items: flex-start; }
	.sh-woo-checkout-progress { gap: 8px; overflow-x: auto; white-space: nowrap; }
	.sh-woo-checkout-progress > * + *::before { width: 18px; }
	.sh-woo-trust-strip { display: grid; gap: 12px; }
	.sh-woo-element--cart { gap: 22px; }
	.sh-woo-element--cart table.shop_table_responsive tr { padding: 14px; }
	.sh-woo-element--cart table.shop_table_responsive td { padding: 12px 8px !important; }
	.sh-woo-element--cart td.actions .coupon { display: grid; width: 100%; }
	.sh-woo-element--cart td.actions .coupon .input-text { width: 100% !important; }
	.sh-woo-element--cart td.actions .button { width: 100% !important; margin-top: 8px; }
	.sh-woo-page--checkout .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; }
	.sh-woo-page--checkout .woocommerce-billing-fields__field-wrapper .form-row-first,
	.sh-woo-page--checkout .woocommerce-billing-fields__field-wrapper .form-row-last { grid-column: 1; }
	.sh-woo-page--checkout #customer_details .col-1,
	.sh-woo-page--checkout #customer_details .col-2,
	.sh-woo-page--checkout #order_review { padding: 22px 18px; }
}

@media (prefers-reduced-motion: reduce) {
	.sh-woo-element--products li.product,
	.sh-woo-element--products li.product img { transition: none; }
	.sh-woo-element--products li.product:hover { transform: none; }
}

/* Quantity stepper -----------------------------------------------------
 *
 * WooCommerce ships a bare number input. On a phone that means the OS spinner
 * arrows -- two 8px targets -- or no control at all, which is why nearly every
 * real store bolts a minus/plus pair onto it. Shilpi now does it in the theme,
 * for the product form, the cart and the mini cart at once, so no site has to
 * add a plugin for the single most-used control in the whole checkout flow.
 */

.quantity[data-sh-qty="1"] {
	align-items: center;
	display: inline-flex;
	gap: 0;
	overflow: hidden;
}

.sh-qty-btn {
	align-items: center;
	appearance: none;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	flex: none;
	font: inherit;
	font-size: 17px;
	font-weight: 700;
	height: 100%;
	justify-content: center;
	line-height: 1;
	min-height: 40px;
	min-width: 40px;
	padding: 0;
	transition: background .15s ease, color .15s ease;
	user-select: none;
}

.sh-qty-btn:hover {
	background: color-mix(in srgb, var(--sh-wc-accent) 12%, transparent);
	color: var(--sh-wc-accent);
}

.sh-qty-btn:focus-visible {
	outline: 2px solid var(--sh-wc-accent);
	outline-offset: -2px;
}

.quantity[data-sh-qty="1"] input.qty {
	-moz-appearance: textfield;
	text-align: center;
}

.quantity[data-sh-qty="1"] input.qty::-webkit-outer-spin-button,
.quantity[data-sh-qty="1"] input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Empty states the elements now render ---------------------------------
 *
 * A Product Rating on an unrated product and a Product Stock on a product that
 * does not manage stock used to draw nothing at all, which makes both elements
 * impossible to lay out around. They now say what is true instead.
 */

.sh-woo-rating--empty {
	align-items: center;
	display: flex;
	gap: 8px;
}

.sh-woo-rating__stars {
	align-items: center;
	color: var(--sh-wc-line);
	display: inline-flex;
	gap: 2px;
}

.sh-woo-rating__stars svg {
	fill: currentColor;
	height: 15px;
	width: 15px;
}

.sh-woo-rating__label {
	color: var(--sh-wc-muted);
	font-size: 13px;
}

.sh-woo-element--product-stock .stock,
.sh-woo-element--product-form .stock {
	align-items: center;
	display: inline-flex;
	font-size: 14px;
	font-weight: 600;
	gap: 7px;
	margin: 0;
}

.sh-woo-element--product-stock .stock::before,
.sh-woo-element--product-form .stock::before {
	border-radius: 50%;
	content: "";
	height: 7px;
	width: 7px;
}

.sh-woo-element--product-stock .in-stock,
.sh-woo-element--product-form .in-stock { color: var(--sh-wc-success); }

.sh-woo-element--product-stock .in-stock::before,
.sh-woo-element--product-form .in-stock::before { background: var(--sh-wc-success); }

.sh-woo-element--product-stock .out-of-stock,
.sh-woo-element--product-form .out-of-stock { color: var(--sh-wc-danger); }

.sh-woo-element--product-stock .out-of-stock::before,
.sh-woo-element--product-form .out-of-stock::before { background: var(--sh-wc-danger); }

/* WooCommerce's own column widths ------------------------------------
 *
 * WooCommerce ships `.woocommerce ul.products.columns-3 li.product { width:
 * 30.75% }` — four class-level parts, one more than the reset above it, so it
 * wins on specificity no matter how late this file loads. The card then sits
 * at 30.75% of a grid track that was already sized for one card, which is how
 * a 280px column ends up holding an 86px card with a three-line Add to cart
 * button. Matching the column class with an attribute selector ties the
 * specificity and lets load order decide, which it does in our favour.
 */
.woocommerce ul.products[class*="columns-"] li.product,
.woocommerce-page ul.products[class*="columns-"] li.product,
.woocommerce ul.products[class*="columns-"] li.product-category,
.woocommerce[class*="columns-"] ul.products li.product,
.woocommerce-page[class*="columns-"] ul.products li.product,
.woocommerce[class*="columns-"] ul.products li.product-category {
	float: none;
	width: auto;
	min-width: 0;
	max-width: none;
	margin: 0;
}
