/* ==========================================================================
   Certifiedplugz — WooCommerce styles (WooCommerce's own CSS is not loaded)
   ========================================================================== */

/* ---------------------------------------------------------------- Shared */

.button, button.button, a.button, input.button, .wc-forward, #place_order {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 50px;
	padding: 10px 26px;
	border: 0;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font-size: .86rem;
	font-weight: 600;
	letter-spacing: .03em;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background .35s var(--ease), transform .35s var(--ease), opacity .3s;
}
.button:hover, .wc-forward:hover, #place_order:hover { background: var(--accent); }
.button:active, #place_order:active { transform: scale(.97); }
.button:disabled, .button.disabled, .button[disabled] { opacity: .45; cursor: not-allowed; }
.button.loading { opacity: .7; pointer-events: none; }

.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews, p.no-comments {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	margin: 0 0 24px;
	padding: 16px 20px;
	border-radius: 18px 18px 18px 4px;
	background: var(--mist);
	font-size: .95rem;
	list-style: none;
}
.woocommerce-message { background: var(--accent-soft); color: #143d2e; }
.woocommerce-error { display: block; background: #fdecea; color: #7a1b13; }
.woocommerce-error li + li { margin-top: 4px; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 40px; padding: 6px 18px; margin-left: auto; }
.woocommerce-message::before, .woocommerce-info::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.woocommerce-info::before { background: var(--ink); }

.star-rating { position: relative; display: inline-block; width: 5.5em; height: 1.1em; font-size: .9rem; line-height: 1.1; overflow: hidden; vertical-align: middle; }
.star-rating::before, .star-rating span::before { content: "★★★★★"; position: absolute; top: 0; left: 0; letter-spacing: .1em; }
.star-rating::before { color: #d9d5ce; }
.star-rating span { position: absolute; top: 0; left: 0; height: 100%; overflow: hidden; padding-top: 1.6em; }
.star-rating span::before { color: var(--gold); }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 22px 0 6px; font-size: .8rem; color: var(--muted); }
.crumbs a { text-decoration: none; color: var(--ink-2); }
.crumbs a:hover { text-decoration: underline; }
.crumbs__sep { opacity: .5; }

abbr.required, .required { color: var(--sale); text-decoration: none; border: 0; }
.woocommerce-form__label-for-checkbox { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; cursor: pointer; }

/* ---------------------------------------------------------------- Archive */

.shop-page { padding-bottom: clamp(40px, 6vw, 80px); }
.shop-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin: 18px 0 clamp(24px, 3vw, 40px); }
.chips { display: flex; gap: 8px; min-width: 0; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
	display: inline-flex; align-items: center; gap: 4px;
	min-height: 42px; padding: 0 18px;
	border-radius: 999px;
	background: var(--mist);
	font-size: .82rem; font-weight: 600;
	text-decoration: none; white-space: nowrap;
	transition: background .3s, color .3s;
}
.chip sup { font-size: .62rem; opacity: .6; }
.chip:hover { background: var(--sand); }
.chip[aria-current] { background: var(--ink); color: #fff; }
.shop-bar__meta { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.woocommerce-result-count { margin: 0; font-size: .85rem; color: var(--muted); white-space: nowrap; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { width: auto; min-width: 210px; min-height: 46px; border-radius: 999px; font-size: .88rem; }

.shop-page ul.products, .related ul.products, .upsells ul.products, .cross-sells ul.products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(28px, 3.4vw, 48px) var(--gap);
	margin: 0;
}
.woocommerce-pagination { margin-top: clamp(40px, 5vw, 64px); }
.woocommerce-pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; min-width: 0; height: auto; padding: 0; background: none; }
.woocommerce-pagination li .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 999px; background: var(--mist); font-weight: 600; font-size: .9rem; text-decoration: none; transition: background .3s, color .3s; }
.woocommerce-pagination a.page-numbers:hover { background: var(--sand); }
.woocommerce-pagination li .page-numbers.current { background: var(--ink); color: #fff; }
.woocommerce-no-products-found .woocommerce-info { justify-content: center; padding: 32px; }

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

.single-product .shop-page { padding-bottom: 0; }
.single-product div.product {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 0 clamp(32px, 5vw, 80px);
	padding-top: 16px;
}
div.product > .pgallery { grid-column: 1; min-width: 0; }
div.product > .summary { grid-column: 2; min-width: 0; padding-bottom: 24px; }
div.product > .woocommerce-tabs, div.product > .related, div.product > .upsells { grid-column: 1 / -1; min-width: 0; }

.pgallery { position: sticky; top: calc(var(--hh) + 16px); align-self: start; display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; }
.pgallery__stage { position: relative; grid-column: 2; min-width: 0; }
.pgallery__thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: 10px; }
.pgallery__track {
	display: flex;
	aspect-ratio: 4 / 5;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	overscroll-behavior-x: contain;
	scrollbar-width: none;
	border-radius: var(--leaf);
	background: var(--mist);
	transform: translateZ(0);
}
.pgallery__track::-webkit-scrollbar { display: none; }
.pgallery__item { position: relative; flex: 0 0 100%; min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
.pgallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pgallery__item.is-zoom img { transform: scale(1.8); cursor: zoom-out; }
@media (hover: hover) { .pgallery__item img { cursor: zoom-in; } }
.pgallery__nav { position: absolute; top: 50%; z-index: 2; margin-top: -23px; opacity: 0; transition: opacity .35s, background .3s, color .3s, transform .4s var(--ease); }
.pgallery__nav--prev { left: 14px; transform: translateX(-8px); }
.pgallery__nav--next { right: 14px; transform: translateX(8px); }
.pgallery__stage:hover .pgallery__nav, .pgallery__nav:focus-visible { opacity: 1; transform: none; }
.pgallery__count { position: absolute; left: 16px; bottom: 16px; z-index: 2; margin: 0; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .9); font-size: .76rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.pgallery__thumb { position: relative; width: 84px; aspect-ratio: 4 / 5; padding: 0; border: 0; border-radius: 16px 4px 16px 4px; overflow: hidden; background: var(--mist); opacity: .55; transition: opacity .3s, box-shadow .3s; }
.pgallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pgallery__thumb:hover { opacity: .9; }
.pgallery__thumb.is-on { opacity: 1; box-shadow: inset 0 0 0 2px var(--ink); }
.pgallery__thumb.is-on img { border-radius: 14px 3px 14px 3px; transform: scale(.9); }
.pgallery__thumb img { transition: transform .4s var(--ease), border-radius .4s; }
.pgallery:not(:has(.pgallery__thumbs)) { grid-template-columns: minmax(0, 1fr); }
.pgallery:not(:has(.pgallery__thumbs)) .pgallery__stage { grid-column: 1; }

.summary .product-kicker { margin-bottom: .8em; }
.summary .product_title { margin: 0 0 .35em; font-size: clamp(1.8rem, 3vw, 2.6rem); letter-spacing: -.03em; overflow-wrap: anywhere; }
.summary .woocommerce-product-rating { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: .85rem; }
.summary .woocommerce-review-link { color: var(--muted); }
.summary > .price { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 12px 18px 0; font-size: 1.55rem; vertical-align: middle; }
.summary > .price del { font-size: 1.1rem; }
.product-badge { vertical-align: middle; margin-bottom: 18px; }
.woocommerce-product-details__short-description { margin-bottom: 22px; color: var(--ink-2); }
.woocommerce-product-details__short-description p:last-child { margin: 0; }
p.stock { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; font-size: .88rem; font-weight: 600; }
p.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
p.stock.in-stock { color: var(--accent); }
p.stock.out-of-stock { color: var(--sale); }
p.stock.available-on-backorder { color: #8a5a00; }

form.cart { margin: 0 0 28px; padding-top: 22px; border-top: 1px solid var(--line); }
form.cart:not(.variations_form), .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.single_add_to_cart_button { flex: 1 1 220px; min-height: 56px !important; font-size: .92rem !important; }
.single_add_to_cart_button.disabled { opacity: 1; background: #4d4d4d; cursor: pointer; }

table.variations { display: block; margin: 0 0 8px; }
table.variations tbody, table.variations tr, table.variations th, table.variations td { display: block; padding: 0; text-align: left; }
table.variations tr { margin-bottom: 20px; }
table.variations th.label { margin-bottom: 10px; }
table.variations th.label label { margin: 0; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; }
.swatch-chosen { margin-left: 6px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); }
table.variations td.value { position: relative; }
.has-swatches > select { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; opacity: 0; pointer-events: none; overflow: hidden; clip-path: inset(50%); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-width: 52px; min-height: 46px; padding: 0 16px;
	border: 0; border-radius: 16px 6px 16px 6px;
	background: var(--paper);
	box-shadow: inset 0 0 0 1.5px var(--line);
	font-size: .88rem; font-weight: 600;
	transition: background .3s, color .3s, box-shadow .3s, border-radius .45s var(--ease);
}
.swatch:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.swatch[aria-checked="true"] { background: var(--ink); color: #fff; box-shadow: none; border-radius: 6px 16px 6px 16px; }
.swatch.is-off { color: var(--muted); background: var(--mist); box-shadow: none; text-decoration: line-through; opacity: .7; }
.swatch__dot { width: 16px; height: 16px; border-radius: 50%; background: var(--sw, #ccc); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.swatch-hint { margin: -6px 0 16px; font-size: .86rem; font-weight: 600; color: var(--sale); }
.swatches.is-shake { animation: shake .5s var(--ease); }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.reset_variations { display: inline-block; margin-top: -4px; font-size: .8rem; color: var(--muted); }
.single_variation_wrap { width: 100%; }
.woocommerce-variation { margin-bottom: 14px; }
.woocommerce-variation:empty { display: none; }
.woocommerce-variation-price .price { font-size: 1.2rem; }
.woocommerce-variation-availability p.stock { margin: 6px 0 0; }
.woocommerce-variation-description p { margin: 0 0 8px; }

.quantity { display: inline-flex; align-items: center; flex: none; min-height: 56px; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); background: var(--paper); }
.quantity .qty { width: 46px; min-height: 0; height: 46px; padding: 0; border: 0; background: transparent; text-align: center; font-weight: 600; -moz-appearance: textfield; }
.quantity .qty:focus { box-shadow: none; }
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { display: grid; place-items: center; width: 44px; height: 46px; padding: 0; border: 0; border-radius: 50%; background: transparent; transition: background .3s; }
.qty-btn:hover { background: var(--mist); }
.quantity.hidden { display: none; }

.assurance { display: grid; gap: 10px; margin: 0 0 24px; }
.assurance__item {
	--notch: 9px;
	display: flex; gap: 14px; align-items: flex-start;
	padding: 16px 18px 16px 20px;
	border-radius: 18px 18px 18px 6px;
	background: var(--mist);
	-webkit-mask: radial-gradient(circle var(--notch) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
	mask: radial-gradient(circle var(--notch) at 0 50%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 50%, #0000 98%, #000) right / 51% 100% no-repeat;
}
.assurance__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 42% 58% 62% 38% / 44% 40% 60% 56%; background: var(--paper); color: var(--accent); }
.assurance__item > div { min-width: 0; }
.assurance strong { display: block; font-size: .9rem; }
.assurance p { margin: 0 0 2px; font-size: .86rem; color: var(--ink-2); }
.assurance a { font-size: .8rem; color: var(--accent); }

.product-facts { display: grid; gap: 0; margin: 0; font-size: .86rem; }
.product-facts > div { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.product-facts dt { width: 90px; flex: none; color: var(--muted); }
.product-facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.product-facts a { color: inherit; }

.woocommerce-tabs { margin-top: clamp(56px, 7vw, 96px); }
.woocommerce-tabs ul.tabs { display: flex; gap: 6px; width: max-content; max-width: 100%; margin: 0 auto 32px; padding: 5px; overflow-x: auto; scrollbar-width: none; border-radius: 999px; background: var(--mist); }
.woocommerce-tabs ul.tabs::-webkit-scrollbar { display: none; }
.woocommerce-tabs ul.tabs li a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px; border-radius: 999px; font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; text-decoration: none; color: var(--muted); transition: background .35s var(--ease), color .35s; }
.woocommerce-tabs ul.tabs li.active a { background: var(--ink); color: #fff; }
.woocommerce-tabs .panel { max-width: 820px; margin: 0 auto; animation: rise .6s var(--ease); }
.woocommerce-tabs .panel ul { padding-left: 1.2em; margin-bottom: 1em; }
.woocommerce-tabs .panel li { margin-bottom: .35em; }
.woocommerce-product-attributes { border-radius: var(--r-m); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.woocommerce-product-attributes th, .woocommerce-product-attributes td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.woocommerce-product-attributes th { width: 34%; background: var(--mist); font-weight: 600; }
.woocommerce-product-attributes td p { margin: 0; }
.woocommerce-product-attributes tr:last-child > * { border-bottom: 0; }

#reviews .woocommerce-Reviews-title { font-size: 1.3rem; }
#reviews .commentlist { margin: 0 0 32px; padding: 0; list-style: none; }
#reviews .commentlist li .comment_container { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
#reviews .commentlist img.avatar { width: 48px; height: 48px; border-radius: 50% 50% 50% 12%; }
#reviews .comment-text { flex: 1; min-width: 0; }
#reviews .comment-text .meta { margin: 6px 0; font-size: .85rem; color: var(--muted); }
#review_form_wrapper { padding: clamp(20px, 3vw, 36px); border-radius: var(--leaf); background: var(--mist); }
#reply-title { display: block; margin-bottom: 12px; font-size: 1.15rem; font-weight: 600; }
#review_form .comment-form-rating label, #review_form label { display: block; }
#review_form p { margin-bottom: 16px; }
#review_form textarea, #review_form input:not([type=checkbox]):not([type=submit]) { background: var(--paper); }
p.stars { margin: 4px 0 0; }
p.stars span { display: inline-flex; gap: 2px; }
p.stars a { position: relative; display: inline-block; width: 32px; height: 32px; overflow: hidden; text-indent: -999em; text-decoration: none; }
p.stars a::before { content: "★"; position: absolute; inset: 0; display: grid; place-items: center; text-indent: 0; font-size: 1.6rem; color: #d3cec6; transition: color .2s, transform .3s var(--ease); }
p.stars:hover a::before, p.stars.selected a::before { color: var(--gold); }
p.stars a:hover ~ a::before, p.stars.selected a.active ~ a::before { color: #d3cec6; }
p.stars a:hover::before { transform: scale(1.2); }
#review_form .form-submit input { min-height: 50px; }

.related, .upsells { margin-top: clamp(56px, 7vw, 96px); }
.related > h2, .upsells > h2, .cross-sells > h2 { margin-bottom: clamp(24px, 3vw, 40px); font-size: clamp(1.7rem, 3vw, 2.4rem); text-transform: uppercase; letter-spacing: -.03em; }

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

.page-body--shop { max-width: calc(var(--maxw) + var(--gutter) * 2); }
.woocommerce-cart .page-body--shop > .woocommerce {
	display: grid;
	grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
	gap: 32px clamp(24px, 4vw, 56px);
	align-items: start;
}
.woocommerce-cart .page-body--shop > .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-cart .page-body--shop > .woocommerce > :only-child,
.woocommerce-cart .wc-empty-cart-message, .woocommerce-cart .return-to-shop { grid-column: 1 / -1; }
.woocommerce-cart-form { min-width: 0; }
table.shop_table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .94rem; }
table.shop_table th { padding: 12px 14px; font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); text-align: left; border-bottom: 1px solid var(--line); }
table.shop_table td { padding: 18px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.cart .product-thumbnail { width: 104px; }
table.cart .product-thumbnail img { width: 84px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 18px 5px 18px 5px; background: var(--mist); }
table.cart .product-name a { font-weight: 600; text-decoration: none; }
table.cart .product-name a:hover { text-decoration: underline; }
table.cart .product-name .variation { display: flex; flex-wrap: wrap; gap: 2px 8px; margin: 6px 0 0; font-size: .82rem; color: var(--muted); }
table.cart .product-name .variation dt, table.cart .product-name .variation dd { margin: 0; }
table.cart .product-name .variation dd p { margin: 0; }
table.cart .product-remove { width: 48px; }
table.cart a.remove { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--mist); font-size: 1.2rem; line-height: 1; text-decoration: none; color: var(--ink); transition: background .3s, color .3s, transform .4s var(--ease); }
table.cart a.remove:hover { background: var(--sale); color: #fff; transform: rotate(90deg); }
table.cart .quantity { min-height: 48px; }
table.cart .quantity .qty, table.cart .qty-btn { height: 38px; }
table.cart td.actions { padding-top: 20px; border-bottom: 0; text-align: right; }
table.cart td.actions .coupon { display: none; }
.cart-collaterals { min-width: 0; position: sticky; top: calc(var(--hh) + 20px); }
.cart_totals, .woocommerce-checkout-review-order {
	padding: clamp(22px, 3vw, 34px);
	border-radius: var(--leaf);
	background: var(--mist);
}
.cart_totals h2 { font-size: 1.25rem; }
.cart_totals table.shop_table th { width: 40%; padding-left: 0; vertical-align: top; }
.cart_totals table.shop_table td { padding-right: 0; text-align: right; }
.cart_totals .order-total td, .cart_totals .order-total th { font-size: 1.1rem; color: var(--ink); border-bottom: 0; }
.woocommerce-shipping-methods { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.woocommerce-shipping-methods li { display: flex; justify-content: flex-end; align-items: center; gap: 8px; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { margin: 8px 0 0; font-size: .82rem; color: var(--muted); }
.shipping-calculator-button { display: inline-flex; align-items: center; min-height: 26px; color: var(--accent); }
.shipping-calculator-form { margin-top: 12px; text-align: left; }
.wc-proceed-to-checkout { padding-top: 16px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 58px; font-size: .95rem; }
.cart-empty.woocommerce-info { flex-direction: column; justify-content: center; padding: clamp(40px, 6vw, 72px) 24px 20px; margin: 0; background: transparent; font-size: 1.2rem; font-weight: 500; text-align: center; }
.cart-empty.woocommerce-info::before { width: 96px; height: 96px; margin-bottom: 12px; border-radius: 42% 58% 62% 38% / 44% 40% 60% 56%; background: var(--mist) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 8h13l1 12.5h-15L5.5 8Z'/%3E%3Cpath d='M9 10.5V7a3 3 0 0 1 6 0v3.5'/%3E%3C/svg%3E") no-repeat center; animation: morph 8s ease-in-out infinite alternate; }
.return-to-shop { text-align: center; margin: 0 0 24px; }
.cross-sells { grid-column: 1 / -1; margin-top: 24px; }

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

.woocommerce-form-login-toggle .woocommerce-info, .woocommerce-form-coupon-toggle .woocommerce-info { margin-bottom: 18px; }
.woocommerce-checkout form.woocommerce-form-login { max-width: 560px; margin-bottom: 28px; background: var(--mist); box-shadow: none; }
form.checkout {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	grid-template-rows: auto 1fr;
	gap: 0 clamp(24px, 4vw, 64px);
	align-items: start;
}
form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; min-width: 0; }
form.checkout #order_review_heading { grid-column: 2; grid-row: 1; margin: 0 0 16px; font-size: 1.3rem; }
form.checkout #order_review { grid-column: 2; grid-row: 2; position: sticky; top: calc(var(--hh) + 20px); min-width: 0; }
.col2-set .col-1, .col2-set .col-2 { min-width: 0; }
#customer_details .col-2 { margin-top: 28px; }
.woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, .woocommerce-additional-fields h3 { font-size: 1.3rem; margin-bottom: 18px; }
#ship-to-different-address { font-size: 1rem; }
#ship-to-different-address label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 0 16px;
}
.form-row { width: 100%; margin: 0 0 16px; }
.form-row-first, .form-row-last { width: calc(50% - 8px); }
.form-row label { display: block; }
.form-row label.checkbox, .form-row .woocommerce-form__label-for-checkbox { display: inline-flex; }
.form-row .optional { font-weight: 400; color: var(--muted); }
.form-row.woocommerce-invalid input, .form-row.woocommerce-invalid select { border-color: var(--sale); }
.form-row.woocommerce-validated input { border-color: #9cc8b2; }
.woocommerce-input-wrapper { display: block; }
.woocommerce-input-wrapper .description { display: block; margin-top: 6px; font-size: .82rem; color: var(--muted); }
#order_review table.shop_table th, #order_review table.shop_table td { padding-inline: 0; }
#order_review table.shop_table td:last-child, #order_review table.shop_table th:last-child { text-align: right; }
#order_review .product-name { overflow-wrap: anywhere; }
#order_review .product-quantity { font-weight: 600; color: var(--muted); }
#order_review .order-total th, #order_review .order-total td { font-size: 1.1rem; color: var(--ink); }
#payment { margin-top: 18px; }
#payment ul.payment_methods { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
#payment ul.payment_methods > li { padding: 14px 16px; border-radius: 16px; background: var(--paper); }
#payment ul.payment_methods > li > label { display: inline; margin-left: 8px; }
#payment .payment_box { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: var(--mist); font-size: .88rem; color: var(--ink-2); }
#payment .payment_box p { margin: 0; }
.woocommerce-privacy-policy-text { font-size: .82rem; color: var(--muted); }
.woocommerce-privacy-policy-text a, .woocommerce-terms-and-conditions-link { color: var(--accent); }
.woocommerce-terms-and-conditions-wrapper { margin-bottom: 14px; }
#place_order { width: 100%; min-height: 58px; font-size: .95rem; }
.woocommerce-terms-and-conditions { max-height: 200px; overflow: auto; padding: 14px; margin-bottom: 12px; border-radius: 12px; background: var(--paper); font-size: .85rem; }

/* Thank-you page */
.woocommerce-order { display: grid; gap: 28px; }
.woocommerce-thankyou-order-received { margin: 0; padding: 22px 24px; border-radius: 22px 22px 22px 6px; background: var(--accent-soft); color: #143d2e; font-size: 1.1rem; font-weight: 600; }
ul.woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
ul.woocommerce-order-overview li { padding: 16px 18px; border-radius: 18px 18px 18px 6px; background: var(--mist); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); overflow-wrap: anywhere; }
ul.woocommerce-order-overview li strong { display: block; margin-top: 4px; font-size: 1rem; letter-spacing: 0; text-transform: none; color: var(--ink); }
.woocommerce-order-details, .woocommerce-customer-details { min-width: 0; }
.woocommerce-order-details__title, .woocommerce-column__title { font-size: 1.3rem; }
.woocommerce-table--order-details td:last-child, .woocommerce-table--order-details th:last-child { text-align: right; }
.woocommerce-customer-details .col2-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.woocommerce-customer-details address { padding: 20px; border-radius: 18px; background: var(--mist); font-style: normal; line-height: 1.7; overflow-wrap: anywhere; }
.woocommerce-customer-details address p { margin: 6px 0 0; }

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

#customer_login.col2-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
#customer_login h2 { font-size: 1.5rem; }
.woocommerce-form-login, .woocommerce-form-register, .woocommerce-ResetPassword {
	padding: clamp(22px, 3vw, 36px);
	border-radius: var(--leaf);
	box-shadow: 0 0 0 1px var(--line);
}
.woocommerce-form-login__rememberme { margin: 0 0 14px; }
.woocommerce-form-login .button, .woocommerce-form-register .button { width: 100%; }
.lost_password { margin: 14px 0 0; font-size: .88rem; }
.lost_password a { color: var(--accent); }
.password-input { position: relative; display: block; }
.show-password-input { position: absolute; top: 50%; right: 6px; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 50%; background: transparent; }
.show-password-input::before { content: ""; display: block; width: 20px; height: 20px; margin: auto; background: currentColor; opacity: .7; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%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' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat; }
.show-password-input.display-password::before { opacity: 1; color: var(--accent); }
.woocommerce-MyAccount-navigation { position: sticky; top: calc(var(--hh) + 20px); }
.woocommerce-account.logged-in .page-body--shop > .woocommerce { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.woocommerce-MyAccount-navigation ul { display: grid; gap: 4px; padding: 10px; list-style: none; border-radius: var(--r-l) var(--r-l) var(--r-l) 8px; background: var(--mist); }
.woocommerce-MyAccount-navigation a { display: flex; align-items: center; min-height: 46px; padding: 8px 16px; border-radius: 999px; font-size: .9rem; font-weight: 500; text-decoration: none; transition: background .3s, color .3s; }
.woocommerce-MyAccount-navigation a:hover { background: var(--paper); }
.woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: #fff; }
.woocommerce-MyAccount-content { min-width: 0; }
.woocommerce-MyAccount-content a:not(.button) { color: var(--accent); }
.woocommerce-orders-table { font-size: .9rem; }
.woocommerce-Addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.woocommerce-Address { padding: 22px; border-radius: 22px; background: var(--mist); }
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.woocommerce-Address-title h2 { margin: 0; font-size: 1.1rem; }
.woocommerce-Address address { font-style: normal; }
.woocommerce-EditAccountForm fieldset { margin: 24px 0; padding: 20px; border: 1px solid var(--line); border-radius: 20px; }
.woocommerce-EditAccountForm legend { padding: 0 8px; font-weight: 600; }

/* ---------------------------------------------------------------- Order tracking form */

.woocommerce-form-track-order { display: flex; flex-wrap: wrap; gap: 0 16px; }
.woocommerce-form-track-order > p:first-child { width: 100%; color: var(--ink-2); }
.woocommerce-form-track-order .form-row:last-of-type { width: 100%; margin-top: 4px; }
.woocommerce-form-track-order .button { width: 100%; min-height: 56px; }
.track .woocommerce-order-details, .track .woocommerce-customer-details { margin-top: 28px; }
.track p.order-info { padding: 16px 18px; border-radius: 16px; background: var(--mist); }
.track mark { background: transparent; font-weight: 700; color: var(--ink); }

/* ---------------------------------------------------------------- Added-to-cart toast */

.toast {
	position: fixed;
	left: 50%;
	bottom: clamp(16px, 3vw, 32px);
	z-index: 90;
	display: flex; align-items: center; gap: 14px;
	max-width: calc(100vw - 32px);
	padding: 10px 10px 10px 20px;
	border-radius: 999px;
	background: var(--ink);
	color: #fff;
	font-size: .9rem;
	box-shadow: var(--shadow);
	transform: translate(-50%, 140%);
	transition: transform .6s var(--ease);
}
.toast.is-on { transform: translate(-50%, 0); }
.toast__text { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.toast a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; text-decoration: none; }

/* ---------------------------------------------------------------- Responsive */

@media (max-width: 1100px) {
	.shop-page ul.products, .related ul.products, .upsells ul.products, .cross-sells ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
	.single-product div.product { grid-template-columns: minmax(0, 1fr); }
	div.product > .pgallery, div.product > .summary { grid-column: 1; }
	div.product > .summary { padding-top: 28px; }
	.pgallery { position: relative; top: 0; grid-template-columns: minmax(0, 1fr); }
	.pgallery__stage { grid-column: 1; }
	.pgallery__thumbs { grid-column: 1; grid-row: 2; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
	.pgallery__thumbs::-webkit-scrollbar { display: none; }
	.pgallery__thumb { flex: none; width: 64px; }
	.pgallery__nav { display: none; }
	.woocommerce-cart .page-body--shop > .woocommerce { grid-template-columns: minmax(0, 1fr); }
	.cart-collaterals { position: static; }
	form.checkout { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
	form.checkout #customer_details, form.checkout #order_review_heading, form.checkout #order_review { grid-column: 1; grid-row: auto; position: static; }
	form.checkout #order_review_heading { margin-top: 32px; }
	.woocommerce-account.logged-in .page-body--shop > .woocommerce { grid-template-columns: minmax(0, 1fr); }
	.woocommerce-MyAccount-navigation { position: static; }
	.woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; scrollbar-width: none; border-radius: 999px; padding: 6px; }
	.woocommerce-MyAccount-navigation a { white-space: nowrap; }
}

@media (min-width: 561px) and (max-width: 900px) {
	.pgallery { width: min(100%, 600px); margin-inline: auto; }
}

@media (max-width: 760px) {
	.shop-page ul.products, .related ul.products, .upsells ul.products, .cross-sells ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
	.shop-bar__meta { width: 100%; justify-content: space-between; margin-left: 0; }
	.woocommerce-ordering select { min-width: 0; max-width: 200px; }
	.card__body { padding-top: 12px; }
	.card__title { font-size: .9rem; }
	.card__action { width: 40px; height: 40px; right: 10px; bottom: 10px; }
	.card__badge { top: 10px; right: 10px; }

	/* Cart table becomes stacked cards. */
	table.cart thead { display: none; }
	table.cart tr.cart_item {
		position: relative;
		display: grid;
		grid-template-columns: 88px minmax(0, 1fr);
		grid-template-areas: "thumb name" "thumb price" "thumb qty" "thumb sub";
		column-gap: 16px;
		padding: 16px 0;
		border-bottom: 1px solid var(--line);
	}
	table.cart tr.cart_item td { display: block; padding: 2px 0; border: 0; }
	table.cart td.product-thumbnail { grid-area: thumb; width: auto; }
	table.cart tr.cart_item td.product-name { grid-area: name; padding-right: 44px; }
	table.cart td.product-price { grid-area: price; font-size: .88rem; color: var(--muted); }
	table.cart tr.cart_item td.product-quantity { grid-area: qty; padding-top: 8px; }
	table.cart td.product-subtotal { grid-area: sub; font-weight: 600; }
	table.cart td.product-subtotal::before { content: attr(data-title) ": "; font-weight: 400; color: var(--muted); }
	table.cart td.product-remove { position: absolute; top: 14px; right: 0; width: auto; }
	table.cart tr:last-child { display: block; }
	table.cart td.actions { display: block; padding: 16px 0 0; }
	table.cart td.actions .button { width: 100%; }
	.form-row-first, .form-row-last { width: 100%; }
	#customer_login.col2-set, .woocommerce-customer-details .col2-set, .woocommerce-Addresses { grid-template-columns: minmax(0, 1fr); }
	.woocommerce-message .button, .woocommerce-info .button { margin-left: 0; }
	table.woocommerce-orders-table thead { display: none; }
	table.woocommerce-orders-table tr { display: grid; padding: 12px 0; border-bottom: 1px solid var(--line); }
	table.woocommerce-orders-table td, table.woocommerce-orders-table th { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border: 0; text-align: right; }
	table.woocommerce-orders-table td::before, table.woocommerce-orders-table th::before { content: attr(data-title); font-weight: 600; color: var(--muted); text-align: left; }
}

@media (max-width: 400px) {
	.shop-page ul.products, .related ul.products { gap: 24px 10px; }
	.woocommerce-result-count { display: none; }
	.woocommerce-ordering, .woocommerce-ordering select { width: 100%; max-width: none; }
}
