/* =========================================================================
   D-Zigners - WooCommerce Shop Styling
   Minimal, brand-driven redesign: glass/blur panels, single-color rounded
   buttons with a shiny hover sweep, Dublin/Playfair/Articulat CF type.
   Relies on tokens defined in css/tokens.css.
   ========================================================================= */

/* ---------- Typography baseline on shop templates ---------- */
.woocommerce,
.woocommerce-page {
	color: var(--dz-text);
	font-family: var(--dz-font-body);
}

.woocommerce h1,
.woocommerce h2,
.woocommerce h3,
.woocommerce-page h1,
.woocommerce-page h2,
.woocommerce-page h3,
.page-title,
.entry-title {
	font-family: var(--dz-font-display);
	letter-spacing: -0.01em;
	color: var(--dz-text);
}

.woocommerce .price,
.woocommerce-page .price {
	font-family: var(--dz-font-body);
	font-weight: 600;
	color: var(--dz-accent);
}

.woocommerce del .amount {
	color: var(--dz-text-muted);
	opacity: 0.55;
	font-weight: 400;
}

.woocommerce ins {
	text-decoration: none;
}

/* =========================================================================
   Buttons - single-color rounded pills with a shiny diagonal hover sweep
   ========================================================================= */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button,
.woocommerce a.checkout-button,
.woocommerce #place_order,
.woocommerce .wc-proceed-to-checkout a.checkout-button {
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--dz-accent);
	color: var(--dz-white) !important;
	border: none;
	border-radius: 999px;
	padding: 15px 34px;
	font-family: var(--dz-font-body);
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(219, 77, 0, 0.28);
	transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
		box-shadow 0.35s ease, background-color 0.35s ease;
	z-index: 0;
}

/* shiny sweep pseudo-element */
.woocommerce a.button::before,
.woocommerce button.button::before,
.woocommerce input.button::before,
.woocommerce #respond input#submit::before,
.woocommerce-page a.button::before,
.woocommerce-page button.button::before,
.woocommerce-page input.button::before,
.woocommerce a.checkout-button::before,
.woocommerce #place_order::before {
	content: "";
	position: absolute;
	top: 0;
	left: -60%;
	width: 40%;
	height: 100%;
	background: linear-gradient(
		115deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.55) 50%,
		rgba(255, 255, 255, 0) 100%
	);
	transform: skewX(-20deg);
	transition: left 0.65s ease;
	z-index: 1;
	pointer-events: none;
}

.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,
.woocommerce-page input.button:hover,
.woocommerce a.checkout-button:hover,
.woocommerce #place_order:hover {
	background: var(--dz-accent);
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(219, 77, 0, 0.38);
	color: var(--dz-white) !important;
}

.woocommerce a.button:hover::before,
.woocommerce button.button:hover::before,
.woocommerce input.button:hover::before,
.woocommerce #respond input#submit:hover::before,
.woocommerce-page a.button:hover::before,
.woocommerce-page button.button:hover::before,
.woocommerce-page input.button:hover::before,
.woocommerce a.checkout-button:hover::before,
.woocommerce #place_order:hover::before {
	left: 130%;
}

/* Add to Cart buttons specifically (shop grid pill, related products,
   and the standalone button on the single product page) skip the
   orange glow shadow and Divi's built-in hover arrow icon that the
   shared button style above adds - scoped narrowly so checkout/place
   order buttons elsewhere keep both. */
.woocommerce .add_to_cart_button,
.woocommerce .single_add_to_cart_button {
	box-shadow: none !important;
}
.woocommerce .add_to_cart_button:hover,
.woocommerce .single_add_to_cart_button:hover {
	box-shadow: none !important;
}
.woocommerce .add_to_cart_button::after,
.woocommerce .single_add_to_cart_button::after {
	content: none !important;
	display: none !important;
}

/* Standalone Add to Cart button on the single product page - matches
   the same pill treatment used on the home/shop grid Add to Cart
   buttons exactly (white/dark-text default, black on hover, 999px
   pill radius, same type scale). A border is added since this button
   sits on plain white page background instead of over a product
   photo, so it needs its own edge to read as a button at rest. */
.woocommerce .single_add_to_cart_button {
	background: var(--dz-white) !important;
	background-color: var(--dz-white) !important;
	color: var(--dz-text) !important;
	border: 1.5px solid var(--dz-border) !important;
	border-radius: 999px !important;
	font-family: var(--dz-font-body) !important;
	font-weight: 700 !important;
	font-size: 14px !important;
	letter-spacing: 0.06em !important;
	text-transform: uppercase !important;
	padding: 13px 16px !important;
	line-height: normal !important;
	width: 100% !important;
	text-align: center !important;
	transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.woocommerce .single_add_to_cart_button:hover {
	background: var(--dz-black) !important;
	background-color: var(--dz-black) !important;
	color: var(--dz-white) !important;
	border-color: var(--dz-black) !important;
}

.woocommerce a.button:disabled,
.woocommerce button.button:disabled,
.woocommerce a.button.disabled {
	opacity: 0.5;
	box-shadow: none;
	cursor: not-allowed;
}

/* Outline / secondary variant (e.g. "Return to shop" style ghost buttons) */
.woocommerce a.button.dz-btn-outline {
	background: transparent;
	color: var(--dz-text) !important;
	border: 1.5px solid var(--dz-border);
	box-shadow: none;
}
.woocommerce a.button.dz-btn-outline:hover {
	border-color: var(--dz-accent);
	color: var(--dz-accent) !important;
	background: rgba(219, 77, 0, 0.06);
}

/* =========================================================================
   Glass / blur panel utility - used by sidebars, cart totals, order review
   ========================================================================= */
.dz-glass-panel,
.woocommerce .widget_shopping_cart,
.woocommerce ul.cart_list,
.woocommerce-page aside .widget,
.cart-collaterals .cart_totals,
.woocommerce-checkout-review-order,
.woocommerce-checkout #order_review,
.woocommerce-page table.shop_table {
	background: rgba(255, 255, 255, 0.6);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	backdrop-filter: blur(18px) saturate(140%);
	border: 1px solid rgba(17, 18, 17, 0.06);
	border-radius: 18px;
	box-shadow: var(--dz-shadow);
}

.cart-collaterals .cart_totals {
	padding: var(--dz-space-lg);
}

.woocommerce-checkout-review-order,
.woocommerce-checkout #order_review {
	padding: var(--dz-space-lg);
}

/* =========================================================================
   Shop archive - product grid
   ========================================================================= */
.woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

/* WooCommerce ships a classic float-era clearfix on ul.products:
   ul.products:before, ul.products:after { content:" "; display:table; }
   Generated content isn't skipped by CSS Grid auto-placement just
   because it's display:table - the grid blockifies it and still
   hands it a cell. That silently occupies row 1 / column 1 as an
   invisible item, shoving every real product over by one slot (the
   "first column is empty / cards shifted" bug on both the shop
   archive grid and the related-products grid, which reuses this same
   ul.products markup). A clearfix is meaningless on a grid container
   anyway, so just drop the generated content. */
.woocommerce ul.products::before,
.woocommerce ul.products::after {
	content: none !important;
	display: none !important;
}

/* Card structure comes from woocommerce/content-product.php (theme
   override) - .dz-product-card__media holds the photo + hover Add to
   Cart pill, .dz-product-card__body holds the centered brand/name/
   price text underneath. Same visual language as the homepage shop
   section's .dz-shop__card. */
.woocommerce ul.products li.product {
	/* Divi's core stylesheet still ships legacy float-column CSS for
	   ul.products li.product (float:left, width:22.05%/30.75% etc,
	   depending on the columns-N class WooCommerce adds) left over
	   from before we switched this listing to CSS Grid. Those percentage
	   widths resolve against the grid track instead of the old float
	   container, shrinking every card to a sliver and wrapping titles
	   letter-by-letter. Neutralize all of it with !important so each
	   li fills its grid cell normally. */
	position: relative;
	margin: 0 !important;
	background: transparent;
	border-radius: 0;
	overflow: visible;
	box-shadow: none;
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	display: block !important;
}

/* Scroll-reveal (paired with js/shop.js IntersectionObserver) */
.woocommerce ul.products li.product {
	opacity: 0;
	transform: translateY(16px);
}
.woocommerce ul.products li.product.dz-revealed {
	animation: dzProductReveal 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}
@keyframes dzProductReveal {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Percentage heights on absolutely-positioned children only resolve
   against a containing block with a genuinely DEFINITE height - an
   aspect-ratio-only box doesn't reliably count as "definite" for that
   calculation in combination with Divi/WooCommerce's own `img {
   height: auto }` reset fighting for the cascade, so height:100% here
   was collapsing to 0 and every product photo was invisible. The
   classic padding-top percentage trick sidesteps that entirely -
   padding percentages always resolve against the element's own WIDTH,
   which is always definite, so this guarantees a real pixel height. */
.dz-product-card__media {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	border-radius: 4px;
	background: var(--dz-white);
	border: 1px solid var(--dz-border);
}

.dz-product-card__media-link {
	/* Non-replaced element (an <a>, not an img) - top/right/bottom/
	   left: 0 reliably stretches this to cover the whole card
	   regardless of the parent's aspect-ratio quirks. */
	position: absolute;
	inset: 0;
	z-index: 1;
	text-decoration: none;
}

/* Divi's own theme replaces WooCommerce's default thumbnail output
   with its own <span class="et_shop_image"><img>...</span> wrapper
   (Divi hooks woocommerce_before_shop_loop_item_title itself). That
   span is sized square (matching the classic 300x300 WooCommerce
   thumbnail crop) in normal flow, not stretched to fill this card's
   3:4 portrait frame - which left a gap of empty space below every
   photo. Stretch the span to fill the frame via inset (reliable for
   a non-replaced element, unlike percentage height), then size the
   image to fill the span the same way. */
.dz-product-card__media .et_shop_image {
	position: absolute !important;
	inset: 0 !important;
	width: auto !important;
	height: auto !important;
	display: block !important;
}

.dz-product-card__media img {
	/* Deliberately NOT position: absolute. A percentage height on an
	   *absolutely positioned* child of an aspect-ratio box is
	   unreliable (browsers can resolve it against the box's explicit
	   "0" content height instead of its aspect-ratio-inflated
	   rendered height, silently collapsing the image to nothing).
	   Keeping the image in normal flow and letting it fill its
	   parent via width/height: 100% + object-fit avoids that
	   pitfall entirely and is the standard, reliable pattern.
	   object-fit: contain (not cover) so the full product photo is
	   always visible, uncropped - the soft background shows as
	   letterboxing where the aspect ratio doesn't match. */
	display: block !important;
	position: static !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	max-height: none !important;
	object-fit: contain;
	transition: opacity 0.5s ease;
}

.woocommerce ul.products li.product:hover .dz-product-card__media img {
	opacity: 0.88;
}

/* Clean on-brand placeholder for products with no photo yet, instead
   of WooCommerce's stock graphic (which reads as a tiny floating icon
   when stretched to fill this card's frame). */
.dz-product-card__placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	color: var(--dz-border);
}

.dz-product-card__placeholder svg {
	width: 40px;
	height: 40px;
}

.dz-product-card__placeholder span {
	font-family: var(--dz-font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--dz-text-muted);
}

.dz-product-card__body {
	padding: 14px 8px 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
	text-align: center;
}

.dz-product-card__brand {
	font-family: var(--dz-font-body);
	font-weight: 700;
	font-size: 10px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--dz-text-muted);
	line-height: 1.4;
}

/* Fixed-height title (reserves space for exactly 2 lines, clamps
   anything longer) and fixed-height price row so the brand/title/
   price stack lines up card-to-card regardless of how long each
   product's name is - matters most in 4-across rows where a 1-line
   title next to a 2-line title used to knock the price rows out of
   alignment. Applies wherever content-product.php renders: the shop
   archive grid and the related-products grid on single product pages. */
/* Titles are pre-truncated server-side to a safe ~2-line character
   budget (see dzigners_trim_title() in functions.php) rather than
   relying on -webkit-line-clamp, which doesn't clip reliably in every
   browser/rendering context and was leaving a stray partial 3rd line
   under a truncated 2nd line. min-height still reserves the full
   2-line height so short 1-line titles don't throw off row alignment. */
.woocommerce ul.products li.product h2.woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-weight: 700;
	font-size: 15px;
	line-height: 1.3;
	letter-spacing: 0;
	margin: 0;
	color: var(--dz-text);
	overflow: hidden;
	height: 3.6em;
}

.woocommerce ul.products li.product .price {
	margin: 0;
	min-height: 1.4em;
	font-size: 14px;
	font-weight: 500;
	color: var(--dz-text-muted);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px;
}

/* Add to Cart pill - hidden until the card is hovered, then fades in
   over the bottom of the photo (matches the homepage shop cards). */
.woocommerce ul.products li.product .dz-product-card__media .button {
	position: absolute !important;
	left: 14px;
	right: 14px;
	bottom: 14px;
	z-index: 2 !important;
	display: block;
	width: auto;
	text-align: center;
	background: var(--dz-white) !important;
	background-color: var(--dz-white) !important;
	color: var(--dz-text) !important;
	font-family: var(--dz-font-body);
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border: 2px solid var(--dz-black) !important;
	border-radius: 999px;
	padding: 13px 16px;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.woocommerce ul.products li.product:hover .dz-product-card__media .button {
	opacity: 1 !important;
	transform: translateY(0) !important;
}

/* Touch devices have no :hover state, so the pill would otherwise
   never appear and there'd be no way to add to cart from the grid
   without tapping through to the product page first. */
@media (hover: none) {
	.woocommerce ul.products li.product .dz-product-card__media .button {
		opacity: 1 !important;
		transform: translateY(0) !important;
	}
}

.woocommerce ul.products li.product .dz-product-card__media .button:hover {
	background: var(--dz-black) !important;
	background-color: var(--dz-black) !important;
	color: var(--dz-white) !important;
	border-color: var(--dz-black) !important;
}

/* Add to Cart button on the shop page deliberately does NOT change
   appearance on success (no color/text swap) - the confirmation is a
   toast under the header cart icon instead (see js/header.js +
   .dz-cart-toast in css/header.css). */

/* WooCommerce prints its own "View cart" link after a successful AJAX
   add - hide it here since there's no room for it in the overlay pill;
   the header cart drawer already reflects the updated count/total. */
.dz-product-card__media .added_to_cart {
	display: none !important;
}

/* Sale / stock badges: small plain text tag instead of a filled pill */
.woocommerce span.onsale {
	position: absolute;
	top: 10px;
	left: 10px;
	min-height: auto;
	min-width: auto;
	background: var(--dz-white);
	color: var(--dz-accent);
	border: 1px solid var(--dz-accent);
	border-radius: 3px;
	padding: 3px 9px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	line-height: 1.4;
	z-index: 3;
}

.woocommerce ul.products li.product.outofstock .dz-product-card__media::after {
	content: "Out of stock";
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--dz-white);
	color: var(--dz-text-muted);
	border: 1px solid var(--dz-border);
	border-radius: 3px;
	padding: 3px 9px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	z-index: 3;
}

/* Sorting / result count bar */
.woocommerce .woocommerce-result-count {
	color: var(--dz-text-muted);
	font-size: 14px;
}

.woocommerce .woocommerce-ordering select {
	border-radius: 999px;
	border: 1px solid var(--dz-border);
	padding: 10px 18px;
	background: var(--dz-white);
	font-family: var(--dz-font-body);
	font-size: 13px;
}

/* Sidebar widgets (categories, search, tags) */
.woocommerce-page aside .widget {
	padding: var(--dz-space-md);
	margin-bottom: var(--dz-space-md);
}

.woocommerce-page aside .widget-title,
.woocommerce-page aside .widgettitle {
	font-family: var(--dz-font-display);
	font-size: 16px;
	margin-bottom: var(--dz-space-sm);
}

.woocommerce-page aside .widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.woocommerce-page aside .widget ul li {
	padding: 8px 0;
	border-bottom: 1px solid rgba(17, 18, 17, 0.06);
	font-size: 14px;
}

.woocommerce-page aside .widget ul li a {
	color: var(--dz-text-muted);
	text-decoration: none;
	transition: color 0.25s ease;
}

.woocommerce-page aside .widget ul li a:hover {
	color: var(--dz-accent);
}

.woocommerce-page aside .widget input[type="search"],
.woocommerce-page aside .widget input[type="text"] {
	border-radius: 999px;
	border: 1px solid var(--dz-border);
	padding: 12px 18px;
	width: 100%;
	font-family: var(--dz-font-body);
}

/* =========================================================================
   Single product page
   ========================================================================= */
/* Two-column layout: vertically stacked gallery (left) + sticky info
   column (right). Markup comes from woocommerce/content-single-product.php
   (theme override) rather than WooCommerce's default template, so the
   selectors below target that custom markup (.dz-product__*) instead
   of the stock .images/.summary classes. */
.woocommerce div.product.dz-product {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	gap: 40px;
	align-items: start;
}

.dz-product__gallery {
	display: flex;
	flex-direction: column;
	gap: var(--dz-space-md);
}

.dz-product__gallery-img {
	border-radius: 16px;
	overflow: hidden;
	background: var(--dz-bg-soft);
}

.dz-product__gallery-img img {
	display: block;
	width: 100%;
	height: auto;
}

.dz-product__info {
	position: sticky;
	top: 110px;
}

.dz-product__breadcrumb {
	font-family: var(--dz-font-body);
	font-size: 12px;
	color: var(--dz-text-muted);
	margin-bottom: var(--dz-space-sm);
}

.dz-product__breadcrumb a {
	color: var(--dz-text-muted);
	text-decoration: none;
}

.dz-product__breadcrumb a:hover {
	color: var(--dz-accent);
}

.woocommerce div.product .product_title {
	font-size: 34px;
	margin-bottom: 8px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
	font-size: 24px;
	margin-bottom: var(--dz-space-sm);
	display: block;
}

.dz-product__short-desc {
	color: var(--dz-text-muted);
	line-height: 1.7;
	margin-bottom: var(--dz-space-md);
}

.woocommerce div.product form.cart {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--dz-space-sm);
	margin-bottom: var(--dz-space-lg);
}

.woocommerce div.product form.cart .button {
	vertical-align: middle;
	float: left;
	width: 100%;
}

/* Trust badge row (secure checkout / made-to-order / origin note) */
.dz-product__trust {
	list-style: none;
	margin: 0 0 var(--dz-space-xl);
	padding: var(--dz-space-md) 0;
	border-top: 1px solid var(--dz-border);
	border-bottom: 1px solid var(--dz-border);
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.dz-product__trust li {
	font-family: var(--dz-font-body);
	font-size: 13px;
	color: var(--dz-text-muted);
	padding-left: 20px;
	position: relative;
}

.dz-product__trust li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--dz-accent);
}

/* Accordion (Description / Additional Information / Reviews) */
.dz-product__accordion {
	border-top: 1px solid var(--dz-border);
}

.dz-accordion-item {
	border-bottom: 1px solid var(--dz-border);
}

.dz-accordion-item summary {
	list-style: none;
	cursor: pointer;
	padding: 16px 0;
	font-family: var(--dz-font-display);
	font-weight: 700;
	font-size: 15px;
	color: var(--dz-text);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.dz-accordion-item summary::-webkit-details-marker {
	display: none;
}

.dz-accordion-item summary::after {
	content: "+";
	font-family: var(--dz-font-body);
	font-size: 18px;
	color: var(--dz-text-muted);
	transition: transform 0.25s ease;
}

.dz-accordion-item[open] summary::after {
	content: "\2212";
}

.dz-accordion-item__body {
	padding: 0 0 var(--dz-space-md);
	color: var(--dz-text-muted);
	line-height: 1.7;
	font-size: 14px;
}

.dz-accordion-item__body table.woocommerce-product-attributes {
	width: 100%;
	border-collapse: collapse;
}

.dz-accordion-item__body table.woocommerce-product-attributes th,
.dz-accordion-item__body table.woocommerce-product-attributes td {
	padding: 8px 0;
	border-bottom: 1px solid var(--dz-border);
	text-align: left;
	font-size: 13px;
}

/* Care / maintenance guide band */
.dz-product__care {
	grid-column: 1 / -1;
	background: var(--dz-bg-soft);
	padding: var(--dz-space-2xl) 0;
	margin-top: 60px;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.dz-product__care-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 32px;
	box-sizing: border-box;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--dz-space-lg);
	text-align: center;
}

.dz-product__care-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--dz-white);
	font-size: 20px;
	margin-bottom: var(--dz-space-sm);
}

.dz-product__care-item h3 {
	font-family: var(--dz-font-display);
	font-weight: 700;
	font-size: 14px;
	margin: 0 0 6px;
	color: var(--dz-text);
}

.dz-product__care-item p {
	font-family: var(--dz-font-body);
	font-size: 13px;
	color: var(--dz-text-muted);
	line-height: 1.6;
	margin: 0;
}

/* Quantity stepper (single product form AND cart/checkout tables share
   the same .dz-qty-btn markup injected by shop.js, so this must not be
   scoped only to div.product form.cart) */
.woocommerce div.product form.cart .quantity,
.woocommerce table.cart .quantity,
.woocommerce-cart .quantity,
.woocommerce-checkout .quantity,
.woocommerce .quantity {
	display: flex;
	align-items: center;
	border: 1.5px solid var(--dz-border);
	border-radius: 8px;
	overflow: hidden;
	background: var(--dz-white);
	width: max-content;
}

.woocommerce .quantity .qty {
	width: 52px;
	border: none;
	text-align: center;
	font-family: var(--dz-font-body);
	font-weight: 600;
	padding: 12px 0;
}

.woocommerce .quantity .dz-qty-btn {
	width: 40px;
	height: 44px;
	border: none;
	background: transparent;
	color: var(--dz-text);
	font-size: 16px;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease;
}

.woocommerce .quantity .dz-qty-btn:hover {
	background: var(--dz-cream);
	color: var(--dz-accent);
}

/* Related products - a separate <section class="related products">
   rendered by woocommerce_output_related_products() below the main
   .dz-product grid (not inside it), reusing the same minimal card
   design (woocommerce/content-product.php) as the shop archive and
   homepage. */
.related.products {
	padding: var(--dz-space-2xl) 0;
	border-top: 1px solid var(--dz-border);
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	box-sizing: border-box;
}

.related.products > h2 {
	font-family: var(--dz-font-display);
	font-weight: 700;
	font-size: clamp(24px, 2.6vw, 32px);
	text-align: center;
	max-width: 1200px;
	margin: 0 auto var(--dz-space-xl);
	padding: 0 32px;
	box-sizing: border-box;
}

.related.products > ul.products {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 32px;
	padding-right: 32px;
	box-sizing: border-box;
}

/* =========================================================================
   Cart page
   ========================================================================= */
.woocommerce table.shop_table {
	border-collapse: separate;
	border-spacing: 0;
	width: 100%;
	padding: var(--dz-space-md);
}

.woocommerce table.shop_table thead th {
	font-family: var(--dz-font-body);
	font-size: 12px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--dz-text-muted);
	border-bottom: 1px solid var(--dz-border);
	padding: 12px;
	text-align: left;
}

.woocommerce table.shop_table td {
	padding: 16px 12px;
	border-bottom: 1px solid rgba(17, 18, 17, 0.05);
	vertical-align: middle;
}

.woocommerce table.shop_table td.product-thumbnail img {
	border-radius: 12px;
	width: 72px;
	aspect-ratio: 1;
	object-fit: cover;
}

.woocommerce table.shop_table td.product-remove a.remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--dz-cream);
	color: var(--dz-text) !important;
	transition: background 0.25s ease, color 0.25s ease;
}

.woocommerce table.shop_table td.product-remove a.remove:hover {
	background: var(--dz-accent);
	color: var(--dz-white) !important;
}

/* True 2-column cart layout: items table + coupon row on the left,
   cart totals/checkout box on the right, sitting side by side instead
   of the totals box floating below the table with a big empty gap
   next to it. */
.woocommerce-cart .woocommerce {
	display: grid;
	grid-template-columns: 1fr 360px;
	gap: var(--dz-space-xl);
	align-items: start;
}
.woocommerce-cart .woocommerce-notices-wrapper {
	grid-column: 1 / -1;
}
.woocommerce-cart .woocommerce-cart-form {
	grid-column: 1;
}
.woocommerce-cart .cart-collaterals {
	grid-column: 2;
	margin-top: 0;
	width: 100%;
}
.woocommerce-cart .cart-collaterals .cart_totals {
	width: 100% !important;
	float: none !important;
}
@media (max-width: 900px) {
	.woocommerce-cart .woocommerce {
		display: block;
	}
	.woocommerce-cart .cart-collaterals {
		margin-top: var(--dz-space-xl);
	}
}

.woocommerce-cart .cart_totals h2 {
	font-size: 22px;
	margin-bottom: var(--dz-space-sm);
}

.woocommerce-cart .cart_totals table.shop_table {
	background: transparent;
	backdrop-filter: none;
	box-shadow: none;
	border: none;
}

.woocommerce-cart .wc-proceed-to-checkout {
	margin-top: var(--dz-space-md);
}

/* Coupon field */
.woocommerce form .coupon {
	display: flex;
	gap: 10px;
}

.woocommerce form .coupon input#coupon_code {
	border-radius: 999px;
	border: 1px solid var(--dz-border);
	padding: 12px 20px;
	font-family: var(--dz-font-body);
}

/* Empty cart */
.woocommerce-cart .cart-empty {
	background: var(--dz-cream);
	border-radius: 18px;
	padding: var(--dz-space-lg);
	color: var(--dz-text-muted);
	font-size: 16px;
}

.woocommerce-cart .return-to-shop {
	margin-top: var(--dz-space-md);
}

/* =========================================================================
   Checkout page
   ========================================================================= */
/* True 2-column checkout layout: billing/shipping form on the left,
   order review + payment on the right, side by side. Uses floats
   instead of CSS grid on purpose - #customer_details and
   #order_review_heading/#order_review are separate sibling elements
   (not wrapped in a shared container), so a row-based grid forces the
   right column's row height to match the (much taller) left billing
   column, which pushed the order review box far down the page below
   a big empty gap instead of sitting right under the "Your order"
   heading. Floating both sides lets the right column flow top-to-
   bottom on its own, independent of how tall the billing form is. */
.woocommerce-checkout form.checkout::after {
	content: "";
	display: table;
	clear: both;
}
.woocommerce-checkout form.checkout .woocommerce-form-login,
.woocommerce-checkout form.checkout .woocommerce-form-coupon-toggle,
.woocommerce-checkout form.checkout .checkout_coupon {
	clear: both;
}
.woocommerce-checkout form.checkout #customer_details {
	float: left;
	width: calc(100% - 472px);
}
.woocommerce-checkout form.checkout #order_review_heading {
	float: right;
	clear: right;
	width: 400px;
	margin-top: 0;
}
.woocommerce-checkout form.checkout #order_review {
	float: right;
	clear: right;
	width: 400px;
}
@media (max-width: 900px) {
	.woocommerce-checkout form.checkout #customer_details,
	.woocommerce-checkout form.checkout #order_review_heading,
	.woocommerce-checkout form.checkout #order_review {
		float: none;
		width: 100%;
	}
}

/* WooCommerce's own default width:48% on .col-1/.col-2 (for billing
   vs. "ship to a different address" side by side) was leaving the
   billing form stuck at just under half of #customer_details' own
   width, with dead space next to it - #customer_details is already
   a single narrow column in this layout, so its .col-1 should fill
   it completely. Exact fix verified in DevTools. */
.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1 {
	float: left;
	width: 100%;
}

.woocommerce-checkout .col2-set {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--dz-space-md);
}

.woocommerce-checkout #customer_details {
	background: var(--dz-white);
	border-radius: 18px;
	padding: var(--dz-space-lg);
	box-shadow: 0 2px 10px rgba(17, 18, 17, 0.05);
}

.woocommerce form .form-row label {
	font-size: 13px;
	font-weight: 600;
	color: var(--dz-text-muted);
	margin-bottom: 6px;
	display: block;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	width: 100%;
	border: 1.5px solid var(--dz-border);
	border-radius: 12px;
	padding: 13px 16px;
	font-family: var(--dz-font-body);
	background: var(--dz-white);
	transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
	outline: none;
	border-color: var(--dz-accent);
	box-shadow: 0 0 0 4px rgba(219, 77, 0, 0.12);
}

.woocommerce-checkout-review-order-table thead th {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: var(--dz-text-muted);
	border-bottom: 1px solid var(--dz-border);
	padding-bottom: 10px;
}

.woocommerce-checkout-review-order-table td {
	padding: 12px 0;
	border-bottom: 1px solid rgba(17, 18, 17, 0.05);
}

.woocommerce-checkout-review-order-table tfoot .order-total .amount {
	color: var(--dz-accent);
	font-size: 18px;
	font-weight: 700;
}

/* Payment methods box */
.woocommerce-checkout #payment {
	background: rgba(244, 243, 241, 0.6);
	border-radius: 14px;
	padding: var(--dz-space-md);
	margin-top: var(--dz-space-md);
}

.woocommerce-checkout #payment ul.payment_methods {
	border: none;
	padding: 0;
}

.woocommerce-checkout #payment div.payment_box {
	border-radius: 12px;
	background: var(--dz-white);
}

/* =========================================================================
   My Account page
   ========================================================================= */
.woocommerce-account .woocommerce-MyAccount-navigation {
	background: var(--dz-white);
	border-radius: 16px;
	padding: var(--dz-space-sm);
	box-shadow: 0 2px 10px rgba(17, 18, 17, 0.05);
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
	border-bottom: 1px solid rgba(17, 18, 17, 0.05);
}

.woocommerce-account .woocommerce-MyAccount-navigation li:last-child {
	border-bottom: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 12px 14px;
	border-radius: 10px;
	color: var(--dz-text-muted);
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: background 0.25s ease, color 0.25s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
	background: var(--dz-cream);
	color: var(--dz-accent);
}

.woocommerce form.login,
.woocommerce form.register {
	background: var(--dz-white);
	border-radius: 18px;
	padding: var(--dz-space-lg);
	box-shadow: 0 2px 10px rgba(17, 18, 17, 0.05);
	max-width: 460px;
}

.woocommerce form.login .form-row,
.woocommerce form.register .form-row {
	margin-bottom: var(--dz-space-sm);
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 992px) {
	.woocommerce div.product {
		grid-template-columns: 1fr;
		gap: var(--dz-space-lg);
	}
	.dz-product__info {
		position: static;
	}
	.dz-product__care-inner {
		grid-template-columns: repeat(2, 1fr);
		gap: var(--dz-space-md);
	}
	.woocommerce ul.products {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 760px) {
	.woocommerce ul.products {
		grid-template-columns: repeat(2, 1fr);
		gap: var(--dz-space-md) var(--dz-space-sm);
	}
}

@media (max-width: 600px) {
	.woocommerce div.product .product_title {
		font-size: 26px;
	}
	.woocommerce a.button,
	.woocommerce button.button,
	.woocommerce input.button {
		padding: 13px 24px;
		font-size: 12px;
	}
}

/* ---------- WooCommerce notices (info / success / error) ---------- */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews {
	list-style: none;
	margin: 0 0 var(--dz-space-md);
	padding: 16px 20px;
	border-radius: 14px;
	font-family: var(--dz-font-body);
	font-size: 15px;
	background: var(--dz-bg-soft);
	color: var(--dz-text);
	border-left: 4px solid var(--dz-text-muted);
}

.woocommerce-message {
	border-left-color: var(--dz-accent);
	background: rgba(219, 77, 0, 0.08);
}

.woocommerce-error {
	border-left-color: #c0392b;
	background: rgba(192, 57, 43, 0.08);
}

.woocommerce-message a.button,
.woocommerce-error a.button {
	margin-left: 12px;
}

/* ---------------------------------------------------------------
   Divi core theme override guard
   Divi's own theme stylesheet ships default WooCommerce styling
   (bright blue accents on price/buttons/notices/tabs/star-ratings)
   using selector lists where some variants are qualified with the
   #content ID, giving them higher CSS specificity than our plain
   class-based rules above -- even though our stylesheet loads
   later. Rather than chase specificity, force our brand colors
   with !important on just the color-related properties Divi
   contests, since Divi's own rules do not use !important.
   ------------------------------------------------------------- */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price,
.woocommerce .price {
	color: var(--dz-text) !important;
}
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins,
.woocommerce ul.products li.product .price ins,
.woocommerce .price ins {
	color: var(--dz-accent) !important;
	text-decoration: none !important;
}
.woocommerce div.product p.price del,
.woocommerce .price del {
	color: var(--dz-text-muted) !important;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.checkout-button,
.woocommerce #place_order,
.woocommerce ul.products li.product .button:not(.ajax_add_to_cart) {
	background-color: var(--dz-black) !important;
	color: var(--dz-white) !important;
	border-color: var(--dz-black) !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.checkout-button:hover,
.woocommerce #place_order:hover {
	background-color: var(--dz-accent) !important;
	color: var(--dz-white) !important;
	border-color: var(--dz-accent) !important;
}

/* Cart + Checkout page buttons (Apply Coupon, Update Cart, Proceed to
   Checkout, checkout's own coupon toggle form, Place Order) - match
   the same white/black hover-swap pill used everywhere else on the
   site (home Add to Cart pill, single product Add to Cart button)
   instead of the generic shiny-sweep/orange-glow Woo button style
   defined above. Every property that style sets is re-declared here
   with !important (including border-radius and overflow, which were
   being won on :hover by WooCommerce/Divi's own button CSS, turning
   the pill square and orange on hover) so nothing from the shared
   block above can leak through. Scoped to .woocommerce-cart /
   .woocommerce-checkout so no other page/button is touched. */
.woocommerce-cart .woocommerce-cart-form button.button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout .checkout_coupon button.button,
.woocommerce-checkout #place_order {
	position: relative !important;
	overflow: visible !important;
	background: var(--dz-white) !important;
	background-color: var(--dz-white) !important;
	background-image: none !important;
	color: var(--dz-text) !important;
	border: 1.5px solid var(--dz-border) !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	transform: none !important;
}
.woocommerce-cart .woocommerce-cart-form button.button::before,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button::before,
.woocommerce-checkout .checkout_coupon button.button::before,
.woocommerce-checkout #place_order::before {
	content: none !important;
	display: none !important;
}
/* Divi's own global "button icon" setting adds a hover arrow via
   ::after (icon-font content) to every button/input.button/a.button
   sitewide - already suppressed on the Add to Cart buttons above,
   doing the same here for the cart/checkout pill buttons so no arrow
   flies in on hover. */
.woocommerce-cart .woocommerce-cart-form button.button::after,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button::after,
.woocommerce-checkout .checkout_coupon button.button::after,
.woocommerce-checkout #place_order::after {
	content: none !important;
	display: none !important;
}
.woocommerce-cart .woocommerce-cart-form button.button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout .checkout_coupon button.button:hover,
.woocommerce-checkout #place_order:hover {
	background: var(--dz-black) !important;
	background-color: var(--dz-black) !important;
	background-image: none !important;
	color: var(--dz-white) !important;
	border-color: var(--dz-black) !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	transform: none !important;
}

.woocommerce .star-rating span,
.woocommerce .star-rating::before {
	color: var(--dz-accent) !important;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews {
	background: var(--dz-bg-soft) !important;
	color: var(--dz-text) !important;
	border-left-color: var(--dz-text-muted) !important;
}
.woocommerce-message { border-left-color: var(--dz-accent) !important; }
.woocommerce-error { border-left-color: #c0392b !important; }

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
	color: var(--dz-accent) !important;
	border-color: var(--dz-accent) !important;
}

.woocommerce a,
.woocommerce-page a {
	color: inherit;
}

/* The blanket "color: inherit" above (added to stop Divi's default
   blue link color bleeding onto breadcrumbs/text links) was also
   winning - via higher specificity - over the header cart/menu
   buttons' own white icon color on every WooCommerce page, making
   the cart icon render black-on-black and effectively invisible.
   Explicitly restore it here. */
.woocommerce a.dz-icon-btn,
.woocommerce-page a.dz-icon-btn {
	color: var(--dz-white) !important;
}
.woocommerce a.dz-icon-btn:hover,
.woocommerce-page a.dz-icon-btn:hover {
	color: var(--dz-white) !important;
}
.woocommerce .woocommerce-breadcrumb a,
.woocommerce a.woocommerce-review-link,
.woocommerce-checkout .woocommerce-form-login-toggle a,
.woocommerce-checkout .showcoupon,
.lost_password a {
	color: var(--dz-accent) !important;
}

.woocommerce form .form-row .required,
.select2-results__option.select2-results__option--highlighted {
	color: var(--dz-accent) !important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
	background-color: var(--dz-accent) !important;
}
.woocommerce-checkout #payment div.payment_box {
	background-color: var(--dz-bg-soft) !important;
	color: var(--dz-text) !important;
}
.woocommerce-checkout #payment div.payment_box::before {
	border-bottom-color: var(--dz-bg-soft) !important;
}

/* ---------- Shop archive: sidebar + full-width layout ----------
   Wider container just for the shop archive (other pages keep the
   narrower 1200px .dz-page-body__inner reading width), split into a
   fixed-width filter sidebar and a product grid that fills the rest
   of the row edge to edge. */
.dz-page-body__inner--shop {
	max-width: 1560px;
}

.dz-shop-layout {
	display: grid;
	grid-template-columns: 300px 1fr;
	align-items: start;
}

.dz-shop-sidebar {
	position: sticky;
	top: 110px;
}

.dz-shop-sidebar__block {
	margin-bottom: var(--dz-space-xl);
}

.dz-shop-sidebar__title {
	font-family: var(--dz-font-display);
	font-weight: 700;
	font-size: 15px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: var(--dz-text);
	margin: 0 0 var(--dz-space-sm);
	padding-bottom: 10px;
	border-bottom: 2px solid var(--dz-text);
}

.dz-shop-sidebar__cats {
	list-style: none;
	margin: 0;
	padding: 0;
}

.dz-shop-sidebar__cats > li {
	margin-bottom: 2px;
}

.dz-shop-sidebar__cats a {
	display: block;
	font-family: var(--dz-font-body);
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.01em;
	color: var(--dz-text);
	text-decoration: none;
	padding: 7px 0;
	transition: color 0.25s ease;
}

.dz-shop-sidebar__cats a:hover {
	color: var(--dz-accent);
}

.dz-shop-sidebar__cats a.is-active {
	color: var(--dz-accent);
	font-weight: 700;
}

/* Collapsible parent categories - the category name stays a plain
   link, the chevron button (a separate click target) shows/hides the
   sub-category list via js/shop.js toggling data-open. */
.dz-shop-sidebar__parent-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 6px;
}

.dz-shop-sidebar__parent-row a {
	flex: 1;
}

.dz-shop-sidebar__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border: none;
	background: transparent;
	color: var(--dz-text-muted);
	cursor: pointer;
	flex-shrink: 0;
	border-radius: 50%;
	transition: background 0.2s ease, color 0.2s ease;
}

.dz-shop-sidebar__toggle:hover {
	background: var(--dz-bg-soft);
	color: var(--dz-text);
}

.dz-shop-sidebar__toggle svg {
	width: 16px;
	height: 16px;
	transition: transform 0.25s ease;
}

.dz-shop-sidebar__toggle[aria-expanded="true"] svg {
	transform: rotate(180deg);
}

.dz-shop-sidebar__subcats {
	list-style: none;
	margin: 0 0 4px;
	padding: 0 0 0 14px;
	border-left: 1px solid var(--dz-border);
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

.dz-shop-sidebar__subcats[data-open="true"] {
	max-height: 400px;
}

.dz-shop-sidebar__subcats a {
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0;
	color: var(--dz-text-muted);
	padding: 5px 0;
}

.dz-shop-sidebar__subcats a:hover {
	color: var(--dz-text);
}

.dz-shop-sidebar__subcats a.is-active {
	color: var(--dz-accent);
	font-weight: 700;
}

/* WooCommerce's own Price Filter widget markup (.price_slider,
   .price_slider_amount, #min_price/#max_price, the jQuery UI slider
   handles) skinned to the brand instead of WooCommerce's defaults. */
/* Divi applies its own generic "frosted glass" widget-box treatment
   (translucent background + a large, heavily blurred drop shadow) to
   any sidebar widget by default, which made the price filter look
   like a separate floating card with a lot of dead space around it
   rather than sitting flush in the sidebar like the category list
   above it. Strip that back to plain/flush. */
.dz-shop-sidebar__price .widget,
.dz-shop-sidebar__price .widget_price_filter {
	background: transparent !important;
	box-shadow: none !important;
	-webkit-backdrop-filter: none !important;
	backdrop-filter: none !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 0 !important;
}

.dz-shop-sidebar__price .price_slider {
	margin-bottom: var(--dz-space-md) !important;
	height: 4px;
	border: none !important;
	box-shadow: none !important;
}

/* jQuery UI's default theme CSS puts a 1px border + padding + box-
   shadow on .ui-widget-content, which was rendering as a thin stray
   line above the actual (shorter) 4px track once background/border
   were overridden below - box-sizing/padding/box-shadow are zeroed
   out explicitly here so the track's rendered box is exactly the 4px
   this CSS asks for, with nothing left over from jQuery UI's base
   theme. The handle's vertical centering (top: 50%) is calculated
   against this same 4px box, so fixing the track height also fixes
   the handle-to-track alignment. */
.dz-shop-sidebar__price .ui-slider,
.dz-shop-sidebar__price .ui-slider.ui-widget-content {
	position: relative;
	box-sizing: border-box;
	height: 4px;
	padding: 0 !important;
	margin: 0 !important;
	background: var(--dz-border) !important;
	background-image: none !important;
	border: none !important;
	box-shadow: none !important;
	border-radius: 999px;
}

.dz-shop-sidebar__price .ui-slider-range,
.dz-shop-sidebar__price .ui-slider-range.ui-widget-header {
	position: absolute;
	top: 0;
	box-sizing: border-box;
	height: 4px;
	margin: 0 !important;
	padding: 0 !important;
	background: var(--dz-accent) !important;
	background-image: none !important;
	border: none !important;
	box-shadow: none !important;
	border-radius: 999px;
}

.dz-shop-sidebar__price .ui-slider-handle,
.dz-shop-sidebar__price .ui-slider-handle.ui-state-default {
	position: absolute !important;
	top: 50% !important;
	box-sizing: border-box;
	width: 14px !important;
	height: 14px !important;
	margin-left: -7px !important;
	margin-top: 0 !important;
	transform: translateY(-50%) !important;
	background: var(--dz-white) !important;
	background-image: none !important;
	border: 2px solid var(--dz-accent) !important;
	box-shadow: none !important;
	border-radius: 50%;
	cursor: pointer;
	outline: none;
}

.dz-shop-sidebar__price .ui-slider-handle.ui-state-hover,
.dz-shop-sidebar__price .ui-slider-handle.ui-state-active,
.dz-shop-sidebar__price .ui-slider-handle:hover,
.dz-shop-sidebar__price .ui-slider-handle:focus {
	background: var(--dz-accent) !important;
	background-image: none !important;
	border-color: var(--dz-accent) !important;
}

.dz-shop-sidebar__price .price_slider_amount {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	font-family: var(--dz-font-body);
	font-size: 13px;
	color: var(--dz-text-muted);
}

.woocommerce .widget_price_filter .price_slider_amount {
	text-align: right;
	line-height: 2.4;
	font-size: .8751em;
	margin-top: 15px !important;
	border: 0px solid transparent;
}

.dz-shop-sidebar__price .price_slider_amount .button {
	order: 3;
	position: relative !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	overflow: visible !important;
	background: var(--dz-black) !important;
	background-color: var(--dz-black) !important;
	background-image: none !important;
	color: var(--dz-white) !important;
	border: none !important;
	border-radius: 999px !important;
	padding: 8px 16px !important;
	margin: 0 !important;
	font-family: var(--dz-font-body) !important;
	font-weight: 700 !important;
	font-size: 11px !important;
	letter-spacing: 0.04em !important;
	text-transform: uppercase !important;
	line-height: normal !important;
	cursor: pointer !important;
	box-shadow: none !important;
	transform: none !important;
	outline: none !important;
	transition: background 0.25s ease !important;
}

.dz-shop-sidebar__price .price_slider_amount .button:hover,
.dz-shop-sidebar__price .price_slider_amount .button:focus,
.dz-shop-sidebar__price .price_slider_amount .button:active {
	background: var(--dz-accent) !important;
	background-color: var(--dz-accent) !important;
	background-image: none !important;
	color: var(--dz-white) !important;
	border: none !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	transform: none !important;
	outline: none !important;
}

.dz-shop-sidebar__price .price_slider_amount .button::before,
.dz-shop-sidebar__price .price_slider_amount .button::after,
.dz-shop-sidebar__price .price_slider_amount .button:hover::before,
.dz-shop-sidebar__price .price_slider_amount .button:hover::after {
	content: none !important;
	display: none !important;
}

@media (max-width: 900px) {
	.dz-shop-layout {
		grid-template-columns: 1fr;
	}
	.dz-shop-sidebar {
		position: static;
		border-bottom: 1px solid var(--dz-border);
		padding-bottom: var(--dz-space-lg);
		margin-bottom: var(--dz-space-lg);
	}
}

/* Single product page: no hero band leads into it, so the generic
   .dz-page-body top padding (120px) reads as an oversized empty gap.
   Trim it down for a tighter, more minimal top spacing. Bottom padding
   is zeroed here too - .related.products (the last thing on this
   page) already carries its own var(--dz-space-2xl) top+bottom
   padding as a full-bleed section, so the generic .dz-page-body
   bottom padding would otherwise stack on top of it and double the
   gap before the footer. */
.dz-page-body--product {
	padding-top: var(--dz-space-lg);
	padding-bottom: 0;
}

@media (max-width: 600px) {
	.dz-page-body--product {
		padding-top: var(--dz-space-md);
	}
}
