/* ==========================================================================
   JakoStore — WooCommerce (Material 3 Expressive)
   Grid & cards · single product · tabs & reviews · cart · checkout ·
   account · notices · widgets · blocks
   ========================================================================== */

.jd-wc { padding-bottom: clamp(24px, 4vw, 48px); }
.woocommerce-products-header { display: none; }

/* Prices -------------------------------------------------------------- */
.price,
.jd-price { font: 800 1.25rem/1.1 var(--md-ref-typeface-brand); letter-spacing: -0.02em; color: var(--md-sys-color-on-surface); }
.price del,
.jd-price del { font-size: 0.8em; font-weight: 600; color: var(--md-sys-color-on-surface-variant); opacity: 0.7; margin-right: 6px; }
.price ins,
.jd-price ins { text-decoration: none; }
.price .woocommerce-price-suffix { font-size: 0.6em; font-weight: 600; color: var(--md-sys-color-on-surface-variant); }

/* Product grid -------------------------------------------------------- */
ul.products {
	--jd-cols: 3;
	display: grid;
	grid-template-columns: repeat(var(--jd-cols), minmax(0, 1fr));
	gap: clamp(14px, 1.8vw, 24px);
	margin: 0;
	padding: 0;
	list-style: none;
}
ul.products::before,
ul.products::after { display: none !important; }
ul.products.columns-1 { --jd-cols: 1; }
ul.products.columns-2 { --jd-cols: 2; }
ul.products.columns-4 { --jd-cols: 4; }
ul.products.columns-5,
ul.products.columns-6 { --jd-cols: 4; }
@media (max-width: 1200px) { ul.products.columns-4 { --jd-cols: 3; } }
@media (max-width: 900px) { ul.products { --jd-cols: 2 !important; } }
@media (max-width: 560px) { ul.products { --jd-cols: 1 !important; } }
ul.products li.product { margin: 0; padding: 0; width: auto; float: none; list-style: none; }

/* Product card -------------------------------------------------------- */
.jd-product-card {
	position: relative;
	display: flex;
	flex-direction: column;
	border-radius: var(--md-sys-shape-corner-extra-large);
	background: var(--md-sys-color-surface-container-low);
	transition: transform var(--jd-dur-3) var(--md-sys-motion-spring-default-spatial), box-shadow var(--jd-dur-3) ease, background-color var(--jd-dur-2) ease, border-radius var(--jd-dur-3) var(--md-sys-motion-spring-default-spatial);
	animation: jd-fade-up var(--jd-dur-4) var(--md-sys-motion-spring-default-spatial) both;
}
[data-theme="light"] .jd-product-card { background: var(--md-sys-color-surface-container-lowest); box-shadow: var(--md-sys-elevation-1); }
.jd-product-card:hover { transform: translateY(-6px); box-shadow: var(--md-sys-elevation-3); background: var(--md-sys-color-surface-container); }
[data-theme="light"] .jd-product-card:hover { background: var(--md-sys-color-surface-container-lowest); }
.jd-product-card__media { position: relative; z-index: 2; margin: 8px 8px 0; border-radius: calc(var(--md-sys-shape-corner-extra-large) - 6px); overflow: hidden; isolation: isolate; }
.jd-product-card__thumb { display: block; aspect-ratio: 16 / 10; background: var(--md-sys-color-surface-container-high); }
.jd-product-card__thumb img,
.jd-product-card__thumb .jd-cover,
.jd-product-card__thumb .jd-cover-wrap { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform var(--jd-dur-4) var(--md-sys-motion-spring-default-spatial), filter var(--jd-dur-3) ease; }
.jd-product-card:hover .jd-product-card__thumb img,
.jd-product-card:hover .jd-product-card__thumb .jd-cover { transform: scale(1.05); }
.jd-product-card__thumb--empty { background: linear-gradient(135deg, var(--jd-secondary), var(--jd-accent)); }
.jd-product-card__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 2; pointer-events: none; }
.jd-product-card__overlay {
	position: absolute;
	inset: auto 0 0 0;
	display: flex;
	justify-content: center;
	gap: 8px;
	padding: 40px 12px 14px;
	background: linear-gradient(to top, rgb(0 0 0 / 0.55), transparent);
	opacity: 0;
	transform: translateY(12px);
	transition: opacity var(--jd-dur-2) ease, transform var(--jd-dur-3) var(--md-sys-motion-spring-fast-spatial);
	z-index: 2;
}
.jd-product-card:hover .jd-product-card__overlay,
.jd-product-card:focus-within .jd-product-card__overlay { opacity: 1; transform: none; }
@media (hover: none) { .jd-product-card__overlay { display: none; } }
.jd-product-card__body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px 18px; flex: 1; }
.jd-product-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 650 0.75rem/1 var(--md-ref-typeface-brand); letter-spacing: 0.06em; text-transform: uppercase; color: var(--md-sys-color-on-surface-variant); }
.jd-product-card__meta a { position: relative; z-index: 2; color: inherit; text-decoration: none; }
.jd-product-card__meta a:hover { color: var(--md-sys-color-on-surface); }
.jd-product-card__meta span { padding: 3px 8px; border-radius: 6px; background: var(--md-sys-color-surface-container-highest); letter-spacing: 0.02em; text-transform: none; }
.jd-product-card__title { margin: 0; font: 750 1.125rem/1.3 var(--md-ref-typeface-brand); letter-spacing: -0.02em; }
.jd-product-card__title a { color: var(--md-sys-color-on-surface); text-decoration: none; }
.jd-product-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.jd-product-card__techs { gap: 6px; position: relative; z-index: 2; }
.jd-product-card__footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 6px; }
.jd-product-card__pricing { display: grid; gap: 6px; min-width: 0; }
.jd-product-card__stats { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 0.8125rem; font-weight: 600; color: var(--md-sys-color-on-surface-variant); }
.jd-product-card__stats:empty { display: none; }
.jd-product-card__cart { position: relative; z-index: 2; --jd-ib-size: 48px; border-radius: 16px; }
.jd-product-card__cart:hover { border-radius: 24px; }
.jd-product-card__cart.loading { opacity: 0.6; pointer-events: none; }
.jd-product-card__cart.loading .jd-icon { animation: jd-spin 1s linear infinite; }
.jd-product-card__cart.added { background: var(--jd-accent); color: var(--jd-on-accent); }
ul.products li.product .added_to_cart { display: none; }
.jd-product-card--mini .jd-product-card__footer { align-items: center; }

/* Favorite button */
.jd-fav-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 0;
	border-radius: 50%;
	background: rgb(255 255 255 / 0.9);
	color: #16161D;
	cursor: pointer;
	box-shadow: 0 2px 10px rgb(0 0 0 / 0.12);
	transition: transform var(--jd-dur-3) var(--md-sys-motion-spring-fast-spatial), background-color var(--jd-dur-2) ease, border-radius var(--jd-dur-3) var(--md-sys-motion-spring-fast-spatial);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.jd-fav-btn:hover { transform: scale(1.1); }
.jd-fav-btn:active { transform: scale(0.9); }
.jd-fav-btn .jd-fav-btn__on { display: none; }
.jd-fav-btn[aria-pressed="true"] { background: #FF4D6D; color: #fff; border-radius: 14px; }
.jd-fav-btn[aria-pressed="true"] .jd-fav-btn__on { display: block; animation: jd-heart 500ms var(--md-sys-motion-spring-fast-spatial); }
.jd-fav-btn[aria-pressed="true"] .jd-fav-btn__off { display: none; }
@keyframes jd-heart { 0% { transform: scale(0.3); } 60% { transform: scale(1.3); } }
.jd-fav-btn--inline { position: static; box-shadow: none; background: var(--md-sys-color-surface-container-high); color: var(--md-sys-color-on-surface); width: 36px; height: 36px; }

/* Shop archive -------------------------------------------------------- */
.jd-shop-hero { padding-bottom: 8px; }
.jd-shop-hero .jd-page-hero__lead p { margin: 0; }
.jd-shop-cats { margin-top: 28px; }
.jd-chip__count { padding: 2px 7px; border-radius: 10px; background: var(--md-sys-color-surface-container-highest); font-size: 0.6875rem; font-weight: 750; color: var(--md-sys-color-on-surface-variant); }
.jd-chip[aria-current="page"] .jd-chip__count { background: rgb(0 0 0 / 0.08); color: inherit; }
.jd-shop-toolbar {
	position: sticky;
	top: calc(var(--jd-topbar-h) + var(--jd-admin-bar));
	z-index: 20;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 12px 0 16px;
	padding: 10px 0;
	background: var(--md-sys-color-surface);
}
.jd-shop-toolbar__right { display: flex; align-items: center; gap: 8px; }
.woocommerce-result-count { margin: 0; font-weight: 600; color: var(--md-sys-color-on-surface-variant); font-size: 0.9375rem; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { min-height: 40px; padding: 8px 40px 8px 16px; border-radius: var(--md-sys-shape-corner-full); font-size: 0.875rem; font-weight: 650; background-color: var(--md-sys-color-surface-container-high); border-color: transparent; }
.jd-shop-techs { margin-bottom: 24px; }
.jd-sheet .jd-drawer__sheet { inset: 0 0 0 auto; border-radius: var(--md-sys-shape-corner-extra-large) 0 0 var(--md-sys-shape-corner-extra-large); transform: translateX(104%); padding: 16px; }
.jd-sheet.is-open .jd-drawer__sheet { transform: none; }
.jd-sheet .jd-widget { background: var(--md-sys-color-surface-container); }

/* Notices ------------------------------------------------------------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0 0 20px;
	padding: 16px 20px 16px 56px;
	border-radius: var(--md-sys-shape-corner-large-increased);
	background: var(--md-sys-color-surface-container-high);
	color: var(--md-sys-color-on-surface);
	font-weight: 600;
	list-style: none;
	outline: 0;
}
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
	content: "";
	position: absolute;
	left: 18px;
	top: 18px;
	width: 24px;
	height: 24px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.woocommerce-message { background: var(--md-sys-color-success-container); color: var(--md-sys-color-on-success-container); }
.woocommerce-message::before {
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}
.woocommerce-error { background: var(--md-sys-color-error-container); color: var(--md-sys-color-on-error-container); flex-direction: column; align-items: flex-start; }
.woocommerce-error li { margin: 0; }
.woocommerce-message .button,
.woocommerce-info .button { order: 2; margin-left: auto; --jd-btn-h: 40px; padding: 0 18px; font-size: 0.875rem; }
.woocommerce-message a:not(.button),
.woocommerce-info a:not(.button),
.woocommerce-error a { color: inherit; font-weight: 800; }

/* Star rating (WooCommerce markup) */
.star-rating {
	position: relative;
	display: inline-block;
	width: 5.4em;
	height: 1.1em;
	font-size: 15px;
	line-height: 1;
	overflow: hidden;
	vertical-align: middle;
	background: var(--md-sys-color-outline-variant);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E") left center / 1.08em 1.08em repeat-x;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E") left center / 1.08em 1.08em repeat-x;
}
.star-rating span { position: absolute; inset: 0 auto 0 0; overflow: hidden; background: #FFB400; font-size: 0; color: transparent; }
.star-rating strong { font-size: 0; }

/* Single product ------------------------------------------------------ */
.jd-sp { padding-top: clamp(20px, 3vw, 40px); }
.jd-sp__head { display: grid; gap: 14px; margin-bottom: clamp(20px, 3vw, 32px); }
.jd-sp__cats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.jd-sp__title { margin: 0; font-size: clamp(2rem, 1.2rem + 2.8vw, 3.5rem); letter-spacing: -0.045em; font-weight: 800; max-width: 22ch; }
.jd-sp__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; color: var(--md-sys-color-on-surface-variant); font-weight: 600; font-size: 0.9375rem; }
.jd-sp__meta-item { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.jd-sp__meta-item .jd-icon { opacity: 0.8; }

.jd-sp__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 3vw, 44px); align-items: start; }
@media (max-width: 1024px) {
	/* Mobile order: preview → purchase card → tech → tabs */
	.jd-sp__grid { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
	.jd-sp__grid > .jd-sp__main { display: contents; }
	.jd-sp__grid > .jd-sp__aside { order: 2; position: static; }
	.jd-sp__main > * { order: 4; }
	.jd-sp__main > .jd-sp__gallery { order: 1; }
	.jd-sp__main > .jd-sp__techs { order: 3; }
}
.jd-sp__main { min-width: 0; display: grid; gap: 28px; }
.jd-sp__aside { display: grid; gap: 16px; position: sticky; top: calc(var(--jd-topbar-h) + var(--jd-admin-bar) + 20px); }
@media (max-width: 1024px) { .jd-sp__aside { position: static; } }

.jd-sp__gallery {
	position: relative;
	border-radius: var(--md-sys-shape-corner-extra-large);
	background: var(--md-sys-color-surface-container-low);
	overflow: hidden;
	box-shadow: var(--md-sys-elevation-2);
}
[data-theme="light"] .jd-sp__gallery { background: var(--md-sys-color-surface-container-lowest); }
.jd-sp__gallery .jd-window__bar { height: 38px; padding: 0 16px; }
.jd-sp__gallery .jd-window__bar i { width: 11px; height: 11px; }
.jd-sp__gallery-inner { position: relative; }
.jd-sp__cover { aspect-ratio: 16 / 10; }
.jd-sp__cover .jd-cover { width: 100%; height: 100%; display: block; }
.jd-sp__preview-fab { position: absolute; right: 16px; bottom: 16px; z-index: 5; box-shadow: var(--md-sys-elevation-3); }
.jd-sp__gallery .onsale { position: absolute; top: 52px; left: 16px; z-index: 5; }

.woocommerce-product-gallery { position: relative; margin: 0; opacity: 1 !important; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image img { width: 100%; height: auto; display: block; }
.woocommerce-product-gallery__trigger {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 5;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: rgb(255 255 255 / 0.9);
	font-size: 0;
	text-decoration: none;
}
.woocommerce-product-gallery__trigger::before {
	content: "";
	width: 22px;
	height: 22px;
	background: #16161D;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.47 6.47 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.flex-control-thumbs { display: flex; gap: 10px; margin: 0; padding: 12px; list-style: none; overflow-x: auto; }
.flex-control-thumbs li { flex: 0 0 120px; }
.flex-control-thumbs img { border-radius: 12px; cursor: pointer; opacity: 0.55; transition: opacity var(--jd-dur-2) ease, transform var(--jd-dur-3) var(--md-sys-motion-spring-fast-spatial); }
.flex-control-thumbs img:hover,
.flex-control-thumbs img.flex-active { opacity: 1; }
.flex-control-thumbs img.flex-active { outline: 3px solid var(--jd-accent); outline-offset: -3px; }
.flex-viewport { border-radius: 0; }

.jd-sp__techs { display: grid; gap: 10px; }

/* Buy card */
.jd-buy-card {
	display: grid;
	gap: 16px;
	padding: 24px;
	border-radius: var(--md-sys-shape-corner-extra-large);
	background: var(--md-sys-color-surface-container);
	box-shadow: inset 0 0 0 1px var(--md-sys-color-outline-variant);
}
[data-theme="light"] .jd-buy-card { background: var(--md-sys-color-surface-container-lowest); box-shadow: var(--md-sys-elevation-2); }
.jd-buy-card__price .price { margin: 0; font-size: clamp(2rem, 1.6rem + 1vw, 2.5rem); letter-spacing: -0.04em; }
.jd-buy-card__excerpt { color: var(--md-sys-color-on-surface-variant); font-size: 0.9375rem; }
.jd-buy-card__excerpt p:last-child { margin: 0; }
.jd-buy-card__perks { list-style: none; margin: 0; padding: 16px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--md-sys-color-outline-variant); }
.jd-buy-card__perks li { display: flex; align-items: center; gap: 12px; font-size: 0.9375rem; font-weight: 600; }
.jd-buy-card__perks .jd-icon { color: var(--md-sys-color-success); flex: none; }
[data-theme="dark"] .jd-buy-card__perks .jd-icon { color: var(--jd-accent); }
.jd-buy-card__secure { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 0.8125rem; color: var(--md-sys-color-on-surface-variant); font-weight: 600; }
.jd-buy-card .stock { margin: 0; font-weight: 700; font-size: 0.875rem; }
.jd-buy-card .stock.in-stock { color: var(--md-sys-color-success); }
.jd-buy-card .stock.out-of-stock { color: var(--md-sys-color-error); }

form.cart { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
form.cart .single_add_to_cart_button { flex: 1; --jd-btn-h: 56px; font-size: 1rem; }
form.cart .quantity { flex: none; }
form.cart.variations_form { display: block; }
form.cart .variations { width: 100%; margin-bottom: 12px; border-collapse: collapse; }
form.cart .variations th,
form.cart .variations td { display: block; padding: 0 0 8px; text-align: left; }
form.cart .reset_variations { font-size: 0.8125rem; font-weight: 700; }
.woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.woocommerce-variation-price { margin: 8px 0; }
form.cart .group_table { width: 100%; margin-bottom: 12px; }

.quantity { display: inline-flex; align-items: center; }
.quantity .qty {
	width: 76px;
	min-height: 56px;
	text-align: center;
	font-weight: 800;
	border-radius: var(--md-sys-shape-corner-large);
	-moz-appearance: textfield;
	appearance: textfield;
}
.quantity .qty::-webkit-inner-spin-button,
.quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.quantity input[type="hidden"] + * { display: none; }
form.cart .quantity:has(input[type="hidden"]) { display: none; }

/* Info card & share */
.jd-info-card,
.jd-share-card { padding: 22px 24px; border-radius: var(--md-sys-shape-corner-extra-large); background: var(--md-sys-color-surface-container-low); }
.jd-info-card h2 { font: 750 0.8125rem/1 var(--md-ref-typeface-brand); letter-spacing: 0.1em; text-transform: uppercase; color: var(--md-sys-color-on-surface-variant); margin: 0 0 14px; }
.jd-info-card dl { margin: 0 0 16px; display: grid; }
.jd-info-card dl > div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--md-sys-color-outline-variant); font-size: 0.9375rem; }
.jd-info-card dl > div:last-child { border-bottom: 0; }
.jd-info-card dt { color: var(--md-sys-color-on-surface-variant); font-weight: 600; }
.jd-info-card dd { margin: 0; font-weight: 700; }
.jd-info-card dd a { color: inherit; }
.jd-share-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* Mobile sticky buy bar */
.jd-buy-bar {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: calc(92px + env(safe-area-inset-bottom));
	z-index: 65;
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 10px 10px 18px;
	border-radius: var(--md-sys-shape-corner-extra-large);
	background: var(--md-sys-color-inverse-surface);
	color: var(--md-sys-color-inverse-on-surface);
	box-shadow: var(--md-sys-elevation-4);
	transform: translateY(160%);
	transition: transform var(--jd-dur-4) var(--md-sys-motion-spring-default-spatial);
}
.jd-buy-bar.is-visible { transform: none; }
.jd-buy-bar__info { display: grid; min-width: 0; }
.jd-buy-bar__info strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 0.875rem; }
.jd-buy-bar .price { color: inherit; font-size: 1rem; }
.jd-buy-bar .price del { color: inherit; }
@media (max-width: 1024px) { .jd-buy-bar { display: flex; } }
body:not(.jd-has-bottom-nav) .jd-buy-bar { bottom: calc(12px + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .jd-buy-bar { bottom: 16px; } }

/* Tabs */
.woocommerce-tabs { min-width: 0; }
.woocommerce-tabs ul.tabs {
	display: flex;
	gap: 4px;
	margin: 0 0 20px;
	padding: 4px;
	list-style: none;
	border-radius: var(--md-sys-shape-corner-full);
	background: var(--md-sys-color-surface-container-high);
	overflow-x: auto;
	scrollbar-width: none;
	width: max-content;
	max-width: 100%;
}
.woocommerce-tabs ul.tabs::-webkit-scrollbar { display: none; }
.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; background: none; border-radius: 0; }
.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce-tabs ul.tabs li a {
	display: inline-flex;
	align-items: center;
	height: 44px;
	padding: 0 20px;
	border-radius: var(--md-sys-shape-corner-full);
	color: var(--md-sys-color-on-surface-variant);
	font: 650 0.9375rem/1 var(--md-ref-typeface-brand);
	text-decoration: none;
	white-space: nowrap;
	transition: background-color var(--jd-dur-2) ease, color var(--jd-dur-2) ease, border-radius var(--jd-dur-3) var(--md-sys-motion-spring-fast-spatial);
}
.woocommerce-tabs ul.tabs li a:hover { color: var(--md-sys-color-on-surface); }
.woocommerce-tabs ul.tabs li.active a { background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); border-radius: var(--md-sys-shape-corner-large); }
.woocommerce-Tabs-panel {
	padding: clamp(20px, 3vw, 32px);
	border-radius: var(--md-sys-shape-corner-extra-large);
	background: var(--md-sys-color-surface-container-low);
	animation: jd-fade-up var(--jd-dur-4) var(--md-sys-motion-spring-default-spatial);
	font-size: 1.0625rem;
	line-height: 1.75;
}
.woocommerce-Tabs-panel > :first-child { margin-top: 0; }
.woocommerce-Tabs-panel > :last-child { margin-bottom: 0; }
.woocommerce-Tabs-panel img { border-radius: var(--md-sys-shape-corner-large); }
.woocommerce-Tabs-panel h2,
.woocommerce-Tabs-panel h3 { margin-top: 1.6em; }
.woocommerce-product-attributes { width: 100%; border-collapse: collapse; }
.woocommerce-product-attributes th,
.woocommerce-product-attributes td { padding: 12px 0; border-bottom: 1px solid var(--md-sys-color-outline-variant); text-align: left; font-size: 0.9375rem; }
.woocommerce-product-attributes th { width: 35%; color: var(--md-sys-color-on-surface-variant); font-weight: 600; }
.woocommerce-product-attributes td p { margin: 0; }

/* Reviews */
#reviews .woocommerce-Reviews-title { font-size: 1.375rem; }
#reviews .commentlist { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 12px; }
#reviews .commentlist li .comment_container { display: flex; gap: 14px; padding: 18px; border-radius: var(--md-sys-shape-corner-large-increased); background: var(--md-sys-color-surface-container); }
#reviews .commentlist img.avatar { width: 44px; height: 44px; border-radius: 50%; flex: none; }
#reviews .comment-text { flex: 1; }
#reviews .comment-text .star-rating { float: right; }
#reviews .comment-text .meta { font-size: 0.875rem; color: var(--md-sys-color-on-surface-variant); margin: 0 0 6px; }
#reviews .comment-text .meta strong { color: var(--md-sys-color-on-surface); }
#reviews .comment-text .description p { margin: 0; font-size: 0.9375rem; }
#review_form_wrapper { margin-top: 20px; }
#review_form .comment-reply-title { font: 750 1.25rem/1.3 var(--md-ref-typeface-brand); display: block; margin-bottom: 12px; }
#review_form .comment-form { display: grid; gap: 14px; }
#review_form .comment-form p { margin: 0; display: grid; gap: 6px; }
p.stars { margin: 0; }
p.stars span { display: inline-flex; gap: 4px; }
p.stars a {
	display: inline-block;
	width: 32px;
	height: 32px;
	font-size: 0;
	background: var(--md-sys-color-outline-variant);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 17.27 18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E") center/contain no-repeat;
	transition: transform var(--jd-dur-2) var(--md-sys-motion-spring-fast-spatial), background-color var(--jd-dur-1) ease;
}
p.stars a:hover { transform: scale(1.2); }
p.stars:hover a,
p.stars.selected a { background: #FFB400; }
p.stars a:hover ~ a,
p.stars.selected a.active ~ a { background: var(--md-sys-color-outline-variant); }
.woocommerce-verification-required,
.woocommerce-noreviews { font-weight: 600; }

/* Related / upsells */
.related.products,
.upsells.products { margin-top: clamp(48px, 7vw, 96px); }
.related.products > h2,
.upsells.products > h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); letter-spacing: -0.04em; font-weight: 800; margin-bottom: 24px; }

/* Cart & checkout (classic) ------------------------------------------ */
.jd-page-hero--compact { padding-bottom: 12px; }
.jd-page-hero--compact .jd-page-hero__title { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); }
.jd-wc-content { padding-bottom: 32px; }
.woocommerce table.shop_table,
table.shop_table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: var(--md-sys-shape-corner-extra-large);
	background: var(--md-sys-color-surface-container-low);
	overflow: hidden;
	font-size: 0.9375rem;
	margin: 0 0 24px;
}
table.shop_table th,
table.shop_table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--md-sys-color-outline-variant); vertical-align: middle; }
table.shop_table thead th { font: 750 0.75rem/1 var(--md-ref-typeface-brand); letter-spacing: 0.08em; text-transform: uppercase; color: var(--md-sys-color-on-surface-variant); background: var(--md-sys-color-surface-container); }
table.shop_table tr:last-child td,
table.shop_table tfoot tr:last-child th { border-bottom: 0; }
table.shop_table .product-thumbnail { width: 110px; }
table.shop_table .product-thumbnail img,
table.shop_table .product-thumbnail .jd-cover-wrap,
table.shop_table .product-thumbnail .jd-cover { width: 96px; height: 60px; border-radius: 12px; object-fit: cover; display: block; overflow: hidden; }
table.shop_table .product-name a { color: var(--md-sys-color-on-surface); font-weight: 750; text-decoration: none; }
table.shop_table .product-remove a.remove {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--md-sys-color-surface-container-highest);
	color: var(--md-sys-color-on-surface) !important;
	font-size: 1.25rem;
	text-decoration: none;
	transition: background-color var(--jd-dur-2) ease;
}
table.shop_table .product-remove a.remove:hover { background: var(--md-sys-color-error-container); color: var(--md-sys-color-on-error-container) !important; }
table.shop_table td.actions { background: var(--md-sys-color-surface-container); }
table.shop_table td.actions .coupon { display: inline-flex; gap: 8px; align-items: center; flex-wrap: wrap; }
table.shop_table td.actions .coupon input { width: 200px; min-height: 48px; }
table.shop_table td.actions > .button { float: right; }
table.shop_table .variation { margin: 6px 0 0; font-size: 0.8125rem; color: var(--md-sys-color-on-surface-variant); display: grid; grid-template-columns: auto 1fr; gap: 2px 6px; }
table.shop_table .variation dt,
table.shop_table .variation dd { margin: 0; }
table.shop_table .variation dd p { margin: 0; }
@media (max-width: 768px) {
	table.shop_table_responsive thead { display: none; }
	table.shop_table_responsive tr { display: grid; padding: 12px 0; border-bottom: 1px solid var(--md-sys-color-outline-variant); }
	table.shop_table_responsive td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 8px 18px; text-align: right; }
	table.shop_table_responsive td::before { content: attr(data-title); font-weight: 700; color: var(--md-sys-color-on-surface-variant); text-align: left; }
	table.shop_table_responsive td.product-remove::before,
	table.shop_table_responsive td.product-thumbnail::before,
	table.shop_table_responsive td.actions::before { display: none; }
	table.shop_table td.actions > .button { float: none; width: 100%; margin-top: 8px; }
}
.cart-collaterals { display: grid; grid-template-columns: 1fr minmax(0, 420px); gap: 24px; }
.cart-collaterals .cart_totals { grid-column: 2; padding: 24px; border-radius: var(--md-sys-shape-corner-extra-large); background: var(--md-sys-color-surface-container-low); }
.cart-collaterals .cart_totals h2 { font-size: 1.375rem; }
.cart-collaterals .cart_totals table.shop_table { background: transparent; }
.cart-collaterals .cart_totals table.shop_table th,
.cart-collaterals .cart_totals table.shop_table td { padding-inline: 0; }
@media (max-width: 900px) { .cart-collaterals { grid-template-columns: 1fr; } .cart-collaterals .cart_totals { grid-column: 1; } }
.wc-proceed-to-checkout .checkout-button { width: 100%; --jd-btn-h: 56px; --jd-btn-bg: var(--jd-accent); --jd-btn-fg: var(--jd-on-accent); font-size: 1rem; }
.cart-empty.woocommerce-info { font-size: 1.125rem; }
.return-to-shop .button { --jd-btn-h: 52px; }

/* Forms */
.woocommerce form .form-row { display: grid; gap: 6px; margin: 0 0 16px; padding: 0; }
.woocommerce form .form-row-first,
.woocommerce form .form-row-last { width: calc(50% - 8px); display: inline-grid; }
.woocommerce form .form-row-first { margin-right: 12px; }
@media (max-width: 560px) { .woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; margin-right: 0; } }
.woocommerce form .form-row .required { color: var(--md-sys-color-error); text-decoration: none; }
.woocommerce form .form-row .optional { color: var(--md-sys-color-on-surface-variant); font-weight: 500; }
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: var(--md-sys-color-error); }
.woocommerce form .form-row.woocommerce-validated input.input-text { border-color: var(--md-sys-color-success); }
.woocommerce-input-wrapper { display: block; }
.woocommerce form .password-input { position: relative; display: block; }
.woocommerce form .show-password-input { position: absolute; right: 12px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border: 0; background: transparent; cursor: pointer; }
.woocommerce form .show-password-input::after { content: "👁"; font-size: 16px; }
.woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.woocommerce-privacy-policy-text { font-size: 0.8125rem; color: var(--md-sys-color-on-surface-variant); }

/* Select2 / selectWoo (classic checkout country fields) */
.select2-container .select2-selection--single { height: 52px; border: 1px solid var(--md-sys-color-outline); border-radius: var(--md-sys-shape-corner-medium); background: var(--md-sys-color-surface-container-lowest); }
.select2-container .select2-selection--single .select2-selection__rendered { line-height: 50px; padding-left: 16px; color: var(--md-sys-color-on-surface); }
.select2-container .select2-selection--single .select2-selection__arrow { height: 50px; right: 10px; }
.select2-dropdown { border-color: var(--md-sys-color-outline-variant); border-radius: var(--md-sys-shape-corner-medium); background: var(--md-sys-color-surface-container); color: var(--md-sys-color-on-surface); overflow: hidden; }
.select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[aria-selected] { background: var(--md-sys-color-secondary-container); color: var(--md-sys-color-on-secondary-container); }
.select2-search--dropdown .select2-search__field { min-height: 40px; }

/* Classic checkout */
form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); gap: 28px; align-items: start; }
form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
form.checkout #customer_details { grid-column: 1; }
form.checkout #order_review_heading { grid-column: 2; grid-row: 1; margin: 0; font-size: 1.375rem; }
form.checkout #order_review { grid-column: 2; grid-row: 2 / span 2; position: sticky; top: calc(var(--jd-topbar-h) + var(--jd-admin-bar) + 20px); padding: 24px; border-radius: var(--md-sys-shape-corner-extra-large); background: var(--md-sys-color-surface-container-low); }
@media (max-width: 960px) {
	form.checkout { grid-template-columns: 1fr; }
	form.checkout #order_review_heading,
	form.checkout #order_review { grid-column: 1; grid-row: auto; position: static; }
}
form.checkout .col2-set { display: grid; gap: 24px; }
form.checkout .col2-set .col-1,
form.checkout .col2-set .col-2 { width: 100%; float: none; padding: clamp(20px, 3vw, 28px); border-radius: var(--md-sys-shape-corner-extra-large); background: var(--md-sys-color-surface-container-low); }
form.checkout h3 { font-size: 1.25rem; }
#order_review table.shop_table { background: transparent; }
#order_review table.shop_table th,
#order_review table.shop_table td { padding-inline: 0; }
#order_review .order-total .amount { font-size: 1.375rem; font-weight: 800; }
#payment { margin-top: 12px; }
#payment ul.payment_methods { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
#payment ul.payment_methods li { padding: 14px 16px; border-radius: var(--md-sys-shape-corner-large); background: var(--md-sys-color-surface-container); }
#payment ul.payment_methods li label { font-weight: 700; cursor: pointer; }
#payment ul.payment_methods li img { display: inline; max-height: 24px; vertical-align: middle; margin-left: 6px; }
#payment .payment_box { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--md-sys-color-surface-container-high); font-size: 0.875rem; }
#payment .payment_box p:last-child { margin: 0; }
#payment #place_order { width: 100%; --jd-btn-h: 60px; --jd-btn-bg: var(--jd-accent); --jd-btn-fg: var(--jd-on-accent); font-size: 1.0625rem; }
.woocommerce-terms-and-conditions-wrapper { margin: 12px 0; font-size: 0.875rem; }
.woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-form-login-toggle .woocommerce-info { margin-bottom: 16px; }
form.checkout_coupon,
form.woocommerce-form-login { margin: 0 0 24px; padding: 20px; border-radius: var(--md-sys-shape-corner-extra-large); background: var(--md-sys-color-surface-container-low); }

/* Order received */
.woocommerce-order-overview { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.woocommerce-order-overview li { padding: 16px 18px; border-radius: var(--md-sys-shape-corner-large-increased); background: var(--md-sys-color-surface-container-low); font-size: 0.8125rem; color: var(--md-sys-color-on-surface-variant); font-weight: 600; }
.woocommerce-order-overview li strong { display: block; margin-top: 6px; font-size: 1rem; color: var(--md-sys-color-on-surface); }
.woocommerce-thankyou-order-received { font: 800 clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem)/1.2 var(--md-ref-typeface-brand); letter-spacing: -0.03em; padding: 24px 28px; border-radius: var(--md-sys-shape-corner-extra-large); background: var(--jd-accent); color: var(--jd-on-accent); }
.woocommerce-order-details,
.woocommerce-customer-details { margin-top: 32px; }
.woocommerce-customer-details address { padding: 20px; border-radius: var(--md-sys-shape-corner-extra-large); background: var(--md-sys-color-surface-container-low); font-style: normal; line-height: 1.8; }

/* My account ---------------------------------------------------------- */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
@media (max-width: 900px) { .woocommerce-account .woocommerce { grid-template-columns: 1fr; } }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.woocommerce-MyAccount-navigation { position: sticky; top: calc(var(--jd-topbar-h) + var(--jd-admin-bar) + 20px); padding: 10px; border-radius: var(--md-sys-shape-corner-extra-large); background: var(--md-sys-color-surface-container-low); }
@media (max-width: 900px) { .woocommerce-MyAccount-navigation { position: static; } }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
@media (max-width: 900px) { .woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; scrollbar-width: none; } }
.woocommerce-MyAccount-navigation a {
	--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 13h8V3H3v10zm0 8h8v-6H3v6zm10 0h8V11h-8v10zm0-18v6h8V3h-8z'/%3E%3C/svg%3E");
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
	height: 52px;
	padding: 0 18px;
	border-radius: var(--md-sys-shape-corner-full);
	color: var(--md-sys-color-on-surface-variant);
	font-weight: 650;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color var(--jd-dur-2) ease, color var(--jd-dur-2) ease;
}
.woocommerce-MyAccount-navigation a::before { content: ""; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--icon) center/contain no-repeat; mask: var(--icon) center/contain no-repeat; flex: none; }
.woocommerce-MyAccount-navigation a:hover { background: var(--md-sys-color-surface-container-high); color: var(--md-sys-color-on-surface); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--md-sys-color-secondary-container); color: var(--md-sys-color-on-secondary-container); }
.woocommerce-MyAccount-navigation-link--orders a { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18 17H6v-2h12v2zm0-4H6v-2h12v2zm0-4H6V7h12v2zM3 22l1.5-1.5L6 22l1.5-1.5L9 22l1.5-1.5L12 22l1.5-1.5L15 22l1.5-1.5L18 22l1.5-1.5L21 22V2l-1.5 1.5L18 2l-1.5 1.5L15 2l-1.5 1.5L12 2l-1.5 1.5L9 2 7.5 3.5 6 2 4.5 3.5 3 2v20z'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--downloads a { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--licenses a { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12.65 10A5.99 5.99 0 0 0 7 6c-3.31 0-6 2.69-6 6s2.69 6 6 6a5.99 5.99 0 0 0 5.65-4H17v4h4v-4h2v-4H12.65zM7 14c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-address a { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5a2.5 2.5 0 0 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--payment-methods a { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 4H4c-1.11 0-1.99.89-1.99 2L2 18c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V6c0-1.11-.89-2-2-2zm0 14H4v-6h16v6zm0-10H4V6h16v2z'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-account a { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--customer-logout a { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4V5z'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-MyAccount-content > p:first-child { padding: 22px 24px; border-radius: var(--md-sys-shape-corner-extra-large); background: var(--md-sys-color-surface-container-low); font-size: 1.0625rem; }
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 { font-size: 1.375rem; }
.woocommerce-MyAccount-content .woocommerce-Addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.woocommerce-MyAccount-content .woocommerce-Address { padding: 20px; border-radius: var(--md-sys-shape-corner-extra-large); background: var(--md-sys-color-surface-container-low); }
.woocommerce-MyAccount-content .woocommerce-Address address { font-style: normal; line-height: 1.8; }
.woocommerce-orders-table .button,
.woocommerce-table--order-downloads .button,
.woocommerce-MyAccount-downloads .button { --jd-btn-h: 36px; padding: 0 14px; font-size: 0.8125rem; margin: 2px; }
.woocommerce-account .u-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.woocommerce-account .u-column1,
.woocommerce-account .u-column2,
.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.lost_reset_password { padding: clamp(20px, 3vw, 32px); border-radius: var(--md-sys-shape-corner-extra-large); background: var(--md-sys-color-surface-container-low); }
.woocommerce-account .u-column1 form.login,
.woocommerce-account .u-column2 form.register { padding: 0; background: none; }
.woocommerce form.login .button,
.woocommerce form.register .button { width: 100%; --jd-btn-h: 52px; margin-top: 8px; }
.woocommerce-LostPassword { margin-top: 12px; font-weight: 600; }
fieldset { border: 1px solid var(--md-sys-color-outline-variant); border-radius: var(--md-sys-shape-corner-large); padding: 16px 20px; margin: 20px 0; }
legend { padding: 0 8px; font-weight: 750; }

/* Widgets -------------------------------------------------------------- */
.widget_price_filter .price_slider { position: relative; height: 6px; margin: 16px 8px 22px; border-radius: 3px; background: var(--md-sys-color-surface-container-highest); }
.widget_price_filter .ui-slider-range { position: absolute; height: 100%; border-radius: 3px; background: var(--md-sys-color-primary); }
.widget_price_filter .ui-slider-handle { position: absolute; top: 50%; width: 22px; height: 22px; margin-left: -11px; translate: 0 -50%; border-radius: 50%; background: var(--md-sys-color-primary); box-shadow: 0 0 0 4px var(--md-sys-color-surface); cursor: grab; outline: 0; }
.widget_price_filter .price_slider_amount { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; font-size: 0.875rem; font-weight: 700; }
.widget_price_filter .price_slider_amount input { display: none; }
.widget_price_filter .price_slider_amount .button { --jd-btn-h: 38px; padding: 0 16px; font-size: 0.8125rem; }
.widget_product_categories .count,
.woocommerce-widget-layered-nav-list .count { color: var(--md-sys-color-on-surface-variant); font-size: 0.8125rem; }
.product_list_widget { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.product_list_widget li { display: grid; grid-template-columns: 72px 1fr; gap: 4px 12px; align-items: center; font-size: 0.875rem; }
.product_list_widget li a { display: contents; font-weight: 700; color: var(--md-sys-color-on-surface); text-decoration: none; }
.product_list_widget li img,
.product_list_widget li .jd-cover-wrap { grid-row: span 2; width: 72px; height: 46px; border-radius: 10px; object-fit: cover; overflow: hidden; }
.product_list_widget .jd-cover { width: 100%; height: 100%; }

/* Store notice */
.woocommerce-store-notice,
p.demo_store { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 130; margin: 0; padding: 14px 20px; border-radius: var(--md-sys-shape-corner-large); background: var(--md-sys-color-inverse-surface); color: var(--md-sys-color-inverse-on-surface); font-weight: 600; text-align: center; box-shadow: var(--md-sys-elevation-3); }
.woocommerce-store-notice a { color: var(--md-sys-color-inverse-primary); font-weight: 800; margin-left: 8px; }

/* Blocks (cart, checkout, product grids) ------------------------------ */
.wc-block-components-button:not(.is-link),
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
	min-height: 56px;
	border-radius: var(--md-sys-shape-corner-full) !important;
	background: var(--jd-accent) !important;
	color: var(--jd-on-accent) !important;
	font: 750 1rem/1 var(--md-ref-typeface-brand) !important;
	border: 0 !important;
	transition: border-radius var(--jd-dur-2) var(--md-sys-motion-spring-fast-spatial), transform var(--jd-dur-2) var(--md-sys-motion-spring-fast-spatial);
}
.wc-block-components-button:not(.is-link):active { border-radius: var(--md-sys-shape-corner-medium) !important; transform: scale(0.98); }
.wc-block-components-button:not(.is-link) .wc-block-components-button__text { color: inherit; }
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout { font-family: var(--md-ref-typeface-plain); }
.wc-block-components-sidebar-layout .wc-block-components-main { padding-right: 0; }
.wc-block-cart .wc-block-components-sidebar,
.wc-block-checkout__sidebar,
.wp-block-woocommerce-checkout-order-summary-block {
	padding: 20px !important;
	border-radius: var(--md-sys-shape-corner-extra-large) !important;
	background: var(--md-sys-color-surface-container-low);
	border: 0 !important;
}
.wc-block-components-totals-wrapper { border-color: var(--md-sys-color-outline-variant) !important; }
.wc-block-components-text-input input,
.wc-block-components-text-input.is-active input,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-combobox .wc-block-components-combobox-control input {
	border-radius: var(--md-sys-shape-corner-medium) !important;
	background: var(--md-sys-color-surface-container-lowest) !important;
	color: var(--md-sys-color-on-surface) !important;
	border-color: var(--md-sys-color-outline) !important;
}
.wc-block-components-text-input label,
.wc-blocks-components-select__label { color: var(--md-sys-color-on-surface-variant) !important; }
.wc-block-components-radio-control__option,
.wc-block-components-radio-control-accordion-option { border-radius: var(--md-sys-shape-corner-large) !important; }
.wc-block-components-checkout-step__title,
.wc-block-cart__totals-title { font-family: var(--md-ref-typeface-brand) !important; font-weight: 750 !important; letter-spacing: -0.01em; }
.wc-block-components-product-name { color: var(--md-sys-color-on-surface) !important; font-weight: 750; text-decoration: none; }
.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img { border-radius: 12px; }
.wc-block-components-notice-banner { border-radius: var(--md-sys-shape-corner-large) !important; }
.wc-block-components-totals-item__value,
.wc-block-components-formatted-money-amount { font-weight: 750; }
.wc-block-cart-items { border-collapse: separate; }
.wp-block-woocommerce-empty-cart-block .wp-block-heading { font-size: 1.5rem; }
.wc-block-grid__products { gap: 20px; margin: 0 !important; }
.wc-block-grid__product { padding: 12px !important; border-radius: var(--md-sys-shape-corner-extra-large); background: var(--md-sys-color-surface-container-low); border: 0 !important; }
.wc-block-grid__product-image img { border-radius: var(--md-sys-shape-corner-large); }
.wc-block-grid__product-title { font-weight: 750; color: var(--md-sys-color-on-surface); }
.wc-block-mini-cart__drawer .components-modal__content { background: var(--md-sys-color-surface-container-low); }
