/* ==========================================================================
   Wartood — WooCommerce (product, cart, checkout, account, notices)
   The default WooCommerce stylesheet is disabled: everything is here.
   ========================================================================== */

/* Shared ---------------------------------------------------------------- */
.shop-page { min-height: 70vh; padding: 48px 0 var(--section-y); }
@media (min-width: 1024px) { .shop-page { padding-top: 70px; } }
.shop-head { margin-bottom: 40px; }
.shop-head__title { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 20px; }
.shop-head__title .marker { margin-bottom: 10px; font-size: clamp(22px, 2.4vw, 28px); }
.checkout-steps {
	display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 32px;
	font-family: var(--f-mono); font-size: 12px; color: var(--muted);
}
.checkout-steps .sep { color: var(--muted-2); }
.checkout-steps .is-active { color: var(--gold); }
.checkout-steps .is-done { color: var(--paper); }
@media (min-width: 760px) { .checkout-steps { gap: 28px; font-size: 13px; margin-bottom: 48px; } .shop-head { margin-bottom: 56px; } }
@media (max-width: 479px) { .checkout-steps .sep { display: none; } .checkout-steps li:not(.is-active) { opacity: .7; } }

.panel-dark { background: var(--ink); padding: 28px 22px; }
@media (min-width: 760px) { .panel-dark { padding: 36px 34px; } }

.crumbs { padding-top: 24px; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs [aria-current] { color: var(--paper); }

.price del { opacity: .55; font-size: .7em; margin-right: 10px; }
.price ins { text-decoration: none; }
.woocommerce-Price-currencySymbol { margin-right: .04em; }

ul.products { margin: 0; padding: 0; list-style: none; }
ul.products li.product-li { list-style: none; margin: 0; }
ul.products::before, ul.products::after { display: none; }

/* Pagination */
.woocommerce-pagination { margin-top: 72px; }
.woocommerce-pagination ul { display: flex; flex-wrap: wrap; gap: 8px; }
.woocommerce-pagination a, .woocommerce-pagination span {
	display: inline-flex; min-width: 48px; height: 48px; align-items: center; justify-content: center;
	border: 1px solid var(--line-2); font-family: var(--f-mono); font-weight: 700;
}
.woocommerce-pagination .current { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.woocommerce-info.woocommerce-no-products-found, .woocommerce-no-products-found .woocommerce-info { color: var(--paper); }

/* Notices ------------------------------------------------------------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	list-style: none; margin: 0 0 24px; padding: 16px 18px; border-left: 4px solid var(--gold);
	background: var(--ink); color: var(--paper); font-size: 15px; line-height: 1.5;
	display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
}
.woocommerce-message:focus, .woocommerce-info:focus, .woocommerce-error:focus { outline: none; }
.woocommerce-error { border-left-color: #E0664A; flex-direction: column; align-items: flex-start; }
.woocommerce-error li + li { margin-top: 4px; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 44px; padding: 10px 16px; font-size: 12px; background: var(--gold); color: var(--ink); }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button) { text-decoration: underline; }
.wall-l .woocommerce-message, .wall-l .woocommerce-info { background: var(--ink); color: var(--paper); }
.product-page > .woocommerce-notices-wrapper { max-width: var(--max); margin: 0 auto; padding: 16px var(--gutter) 0; }

/* Product page --------------------------------------------------------- */
.product-page { overflow: clip; }
.product-main { display: grid; gap: 48px; padding-top: 28px; padding-bottom: var(--section-y); align-items: start; }
@media (min-width: 1024px) {
	.product-main { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 72px; padding-top: 40px; }
	.product-gallery { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* Gallery (scroll-snap: swipe on mobile, thumbs on all sizes) */
.product-gallery { min-width: 0; margin: 0 calc(var(--gutter) * -1); }
@media (min-width: 760px) { .product-gallery { margin: 0; } }
.product-gallery__frame { position: relative; background: var(--ink); padding: 12px; }
@media (min-width: 760px) { .product-gallery__frame { padding: 18px; } }
.product-gallery__track {
	display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
	scrollbar-width: none; overscroll-behavior-x: contain;
}
.product-gallery__track::-webkit-scrollbar { display: none; }
.product-gallery__slide { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; background: var(--mid); }
.product-gallery__frame .tag { left: 28px; }
.product-gallery__count {
	position: absolute; right: 22px; top: 22px; z-index: 2;
	background: rgba(11,11,10,.75); padding: 4px 8px; font-size: 12px; color: var(--muted);
}
.product-gallery__count b { color: var(--paper); font-weight: 700; }
.product-gallery__marker { position: absolute; bottom: -22px; right: 6px; transform: rotate(-4deg); z-index: 2; font-size: clamp(24px, 2.4vw, 30px); text-shadow: 0 2px 10px rgba(11,11,10,.6); }
.product-gallery__thumbs {
	display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 10px; margin-top: 30px; padding: 0 var(--gutter);
}
@media (min-width: 760px) { .product-gallery__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; padding: 0; } }
.thumb {
	aspect-ratio: 1; padding: 0; border: 3px solid transparent; background: var(--mid); cursor: pointer; overflow: hidden;
	font-family: var(--f-mono); font-size: 11px; color: var(--paper);
	display: flex; gap: 8px; align-items: center; justify-content: center; transition: border-color .2s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .7; transition: opacity .2s; }
.thumb.is-active { border-color: var(--gold); }
.thumb.is-active img, .thumb:hover img { opacity: 1; }
.thumb--video { background: var(--ink); }
.thumb--video:hover { color: var(--gold); }

/* Summary */
.product-info { display: flex; flex-direction: column; gap: 26px; min-width: 0; }
.product-info .eyebrow { margin-bottom: 14px; font-size: 12px; }
.product-info__artist { margin-top: 12px; font-size: 18px; color: var(--muted); }
.product-info__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; }
.product-info__price .price { font-family: var(--f-display); font-size: clamp(44px, 4vw, 52px); line-height: 1; }
.product-info__excerpt { font-size: 17px; line-height: 1.7; color: var(--soft); }
.product-info__excerpt p + p { margin-top: 10px; }

.availability { background: var(--ink); padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.availability__row { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; }
.availability__bar { height: 6px; background: var(--mid); }
.availability__bar span { display: block; height: 100%; background: var(--gold); transition: width 1s var(--ease); }

.specs { border-top: 1px solid var(--line-2); font-size: 15px; }
.specs > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.specs dt { font-size: 12px; color: var(--muted); }
.specs dd { margin: 0; text-align: right; }

/* Add to cart */
.product-buy form.cart { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.product-buy form.cart .quantity { flex: 0 0 auto; }
@media (max-width: 479px) {
	.product-buy form.cart .quantity { flex: 1 1 100%; justify-content: space-between; height: 56px; }
	.product-buy form.cart .quantity .qty { flex: 1; }
	.product-buy .single_add_to_cart_button { flex-basis: 100%; }
}
.product-buy .single_add_to_cart_button { flex: 1 1 220px; min-height: 64px; font-size: 16px; background: var(--gold); color: var(--ink); }
.product-buy .single_add_to_cart_button:hover { background: var(--paper); }
.product-buy .single_add_to_cart_button.loading { opacity: .6; pointer-events: none; }
.product-buy .stock { font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; margin: 0 0 12px; color: var(--muted); width: 100%; }
.product-buy .stock.out-of-stock {
	font-family: var(--f-display); font-size: 32px; color: var(--gold); border: 2px solid var(--gold); padding: 14px 18px; text-align: center;
}
.product-buy .variations { width: 100%; margin-bottom: 12px; border-collapse: collapse; }
.product-buy .variations th, .product-buy .variations td { display: block; text-align: left; padding: 4px 0; }
.product-buy .variations label { font-family: var(--f-mono); font-size: 12px; color: var(--muted); text-transform: uppercase; }
.product-buy .reset_variations { font-family: var(--f-mono); font-size: 12px; text-decoration: underline; }
.product-buy .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; width: 100%; }

.trust { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; color: var(--muted); }

/* Quantity stepper (product + cart) */
.quantity { display: inline-flex; align-items: stretch; border: 1px solid var(--paper); height: 64px; }
.quantity .qty {
	width: 44px; border: 0; background: transparent; color: inherit; text-align: center;
	font-family: var(--f-mono); font-size: 16px; -moz-appearance: textfield; appearance: textfield; padding: 0;
}
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 48px; border: 0; background: transparent; color: inherit; font-size: 20px; cursor: pointer; transition: color .2s; }
.qty-btn:hover { color: var(--gold); }
.quantity.hidden, .quantity input[type="hidden"] + .qty-btn { display: none; }

/* Accordion */
.accordion { border-top: 1px solid var(--paper); }
.accordion details { border-bottom: 1px solid var(--line-2); }
.accordion summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 20px 0; font-family: var(--f-display); font-size: 24px; text-transform: uppercase; min-height: 44px;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion .pm { color: var(--gold); font-family: var(--f-body); font-size: 28px; line-height: 1; }
.accordion__list { list-style: disc; padding: 0 0 20px 18px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; color: var(--soft); }
.accordion__body { padding: 0 0 20px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.accordion__body > * + * { margin-top: 10px; }

.more-grid { display: grid; gap: 40px; }
@media (min-width: 640px) { .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
@media (min-width: 1024px) { .more-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }

/* Sticky add to cart (mobile) */
.sticky-buy {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
	display: flex; align-items: center; gap: 12px; justify-content: space-between;
	padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
	background: var(--ink); border-top: 1px solid var(--line-2);
	transform: translateY(110%); transition: transform .35s var(--ease);
}
.sticky-buy.is-visible { transform: none; }
.sticky-buy__info { display: flex; flex-direction: column; min-width: 0; }
.sticky-buy__name { font-family: var(--f-display); font-size: 20px; text-transform: uppercase; line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-buy__price { font-family: var(--f-mono); font-weight: 700; font-size: 15px; }
.sticky-buy__price del { opacity: .5; font-weight: 400; }
.sticky-buy__btn { flex: 0 0 auto; min-height: 50px; padding: 12px 20px; font-size: 14px; }
@media (min-width: 1024px) { .sticky-buy { display: none; } }

/* Cart ------------------------------------------------------------------ */
.cart-layout { display: grid; gap: 48px; align-items: start; }
@media (min-width: 1024px) { .cart-layout { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; } .cart-collaterals { position: sticky; top: calc(var(--header-h) + 24px); } }
.cart-items { min-width: 0; }
.woocommerce-cart-form__contents { border-top: 1px solid var(--paper); }
.cart-item {
	display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px 18px;
	padding: 24px 0; border-bottom: 1px solid var(--line-2); align-items: start;
}
.cart-item__thumb a, .cart-item__thumb > span { display: block; background: var(--ink); padding: 6px; }
.cart-item__thumb img, .cart-item__thumb .wood { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.cart-item__info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cart-item__name { font-family: var(--f-display); font-size: clamp(28px, 3vw, 40px); line-height: 1; text-transform: uppercase; }
.cart-item__sub { font-size: 15px; color: var(--muted); }
.cart-item__incl { font-size: 13px; color: var(--muted); }
.link-remove { align-self: flex-start; display: inline-block; padding: 10px 0; background: none; border: 0; color: var(--muted); font-family: var(--f-mono); font-size: 12px; text-decoration: underline; cursor: pointer; }
.link-remove:hover { color: var(--gold); }
.cart-item__side {
	grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
}
.cart-item__total { order: 3; font-family: var(--f-mono); font-weight: 700; font-size: 20px; margin-left: auto; }
.cart-item__side .product-price { order: 2; }
.cart-item__side .quantity { height: 48px; }
.cart-item__side .qty-btn { width: 44px; }
.cart-item .variation { font-size: 13px; color: var(--muted); display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; }
.cart-item .variation dd p { margin: 0; }
@media (min-width: 760px) {
	.cart-item { grid-template-columns: 150px minmax(0, 1fr) auto; gap: 28px; padding: 28px 0; }
	.cart-item__thumb a, .cart-item__thumb > span { padding: 8px; }
	.cart-item__side { grid-column: auto; flex-direction: column; align-items: flex-end; gap: 16px; }
	.cart-item__total { order: 0; margin-left: 0; }
	.cart-item__side .product-price { order: 0; }
}
.back-link { display: inline-block; margin-top: 28px; font-size: 13px; text-transform: uppercase; border-bottom: 1px solid var(--gold); padding-bottom: 3px; }

.cart_totals { display: flex; flex-direction: column; gap: 22px; }
.cart_totals .display-s { font-size: clamp(32px, 3vw, 40px); }
.totals-table, .woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; font-size: 16px; }
.totals-table th, .totals-table td { padding: 7px 0; vertical-align: top; }
.totals-table th { text-align: left; font-weight: 400; color: var(--muted); }
.totals-table td { text-align: right; font-family: var(--f-mono); }
.totals-table .small { font-size: 13px; }
.cart-discount td a { font-size: 12px; color: var(--muted); text-decoration: underline; }
.coupon label { display: block; margin-bottom: 8px; }
.coupon__row { display: flex; }
.coupon__row .input-text { flex: 1; min-width: 0; border-right: 0; }
.coupon__row .button { background: transparent; color: var(--paper); border: 1px solid var(--dash); min-height: 50px; padding: 0 18px; font-size: 13px; }
.coupon__row .button:hover { background: var(--paper); color: var(--ink); }
.grand-total { border-top: 1px solid var(--line-2); padding-top: 20px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.grand-total__label { font-family: var(--f-display); font-size: 28px; text-transform: uppercase; }
.grand-total__value { font-family: var(--f-display); font-size: clamp(36px, 3.4vw, 44px); line-height: 1; text-align: right; }
.grand-total__value small { display: block; font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.grand-total__note { margin-top: -14px; font-size: 11px; color: var(--muted); text-align: right; }
.wc-proceed-to-checkout { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; }
.wc-proceed-to-checkout > * { margin: 0 !important; }
.wc-proceed-to-checkout .wcpay-express-checkout-wrapper:not(:has(iframe)) { display: none; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 64px; font-size: 16px; }
.pay-note { margin: -6px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.trust-list { border-top: 1px solid var(--line-2); padding-top: 18px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; color: var(--soft); }
.trust-list li { display: flex; gap: 12px; align-items: flex-start; }
.trust-list svg { color: var(--gold); flex: 0 0 auto; margin-top: 1px; }

.cart-empty-box { border: 1px dashed var(--dash); padding: 48px 24px; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
@media (min-width: 760px) { .cart-empty-box { padding: 64px 40px; } }

/* Mobile: totals panel goes full bleed */
@media (max-width: 759px) {
	.cart-collaterals { margin: 0 calc(var(--gutter) * -1); }
}

/* Forms ---------------------------------------------------------------- */
.input-text, input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], textarea, select, .select2-container .select2-selection--single {
	width: 100%; min-height: 50px; padding: 13px 14px; border: 1px solid var(--dash); border-radius: 0;
	background: transparent; color: var(--paper); font-family: var(--f-body); font-size: 16px; line-height: 1.4;
	-webkit-appearance: none; appearance: none;
}
.input-text:focus, input:focus, textarea:focus, select:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 1px var(--gold); }
::placeholder { color: var(--muted-2); opacity: 1; }
select { background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
select option { background: var(--ink); color: var(--paper); }
textarea { min-height: 120px; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--gold); width: 18px; height: 18px; margin: 0 8px 0 0; vertical-align: -3px; }

.form-row { margin: 0 0 16px; padding: 0; }
.form-row label { display: block; margin-bottom: 6px; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; color: var(--muted); letter-spacing: .3px; }
.form-row label.checkbox, .form-row label.woocommerce-form__label-for-checkbox { text-transform: none; font-family: var(--f-body); font-size: 15px; color: var(--soft); display: flex; align-items: flex-start; gap: 0; letter-spacing: 0; }
.form-row .required { color: var(--gold); text-decoration: none; border: 0; }
.form-row .optional { text-transform: none; }
.form-row.woocommerce-invalid input.input-text, .form-row.woocommerce-invalid select { border-color: #E0664A; }
.woocommerce-input-wrapper { display: block; }
.form-row .description { font-size: 13px; color: var(--muted); margin-top: 6px; }
@media (min-width: 760px) {
	.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
	.form-row-wide, .woocommerce-address-fields__field-wrapper .form-row-wide { grid-column: 1 / -1; }
}

/* select2 (country/state) */
.select2-container { width: 100% !important; }
.select2-container--default .select2-selection--single { display: flex; align-items: center; }
.select2-container--default .select2-selection--single .select2-selection__rendered { color: var(--paper); padding: 0; line-height: 1.4; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 48px; right: 10px; }
.select2-container--default .select2-selection--single .select2-selection__arrow b { border-color: var(--gold) transparent transparent; }
.select2-dropdown { background: var(--ink); color: var(--paper); border: 1px solid var(--gold); border-radius: 0; }
.select2-search--dropdown .select2-search__field { background: var(--bg); color: var(--paper); border: 1px solid var(--dash); min-height: 44px; }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--gold); color: var(--ink); }
.select2-container--default .select2-results__option[aria-selected="true"], .select2-container--default .select2-results__option[data-selected="true"] { background: var(--mid); }
.select2-results__option { padding: 10px 12px; }

/* Checkout ------------------------------------------------------------- */
.woocommerce-checkout .shop-page .woocommerce { min-width: 0; }
/*
 * Two columns: everything in the left column, summary on the right.
 * Payment plugins (e.g. WooPayments express buttons) inject extra blocks into
 * the form: "dense" packing keeps them in the left column above the details.
 */
form.checkout { display: grid; row-gap: 40px; align-items: start; }
form.checkout > * { min-width: 0; }
@media (min-width: 1024px) {
	form.checkout { grid-template-columns: minmax(0, 1fr) 440px; column-gap: 56px; row-gap: 0; grid-auto-flow: row dense; }
	form.checkout > * { grid-column: 1; }
	form.checkout > :not(.checkout-summary) + :not(.checkout-summary) { margin-top: 40px; }
	form.checkout > .checkout-summary { grid-column: 2; grid-row: 1 / span 6; position: sticky; top: calc(var(--header-h) + 24px); }
}

/* WooPayments express checkout (Apple Pay / Google Pay / Link) */
.wcpay-express-checkout-wrapper { display: flex; flex-direction: column; gap: 0; margin: 0 !important; padding: 0; }
form.checkout > .wcpay-express-checkout-wrapper::before {
	content: "Pagamento rapido"; display: block; margin-bottom: 12px;
	font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--gold);
}
#wcpay-express-checkout-element { margin: 0 !important; }
#wcpay-express-checkout-button-separator {
	margin: 24px 0 0 !important; padding: 0; font-size: 0; line-height: 1; text-align: center;
	background:
		linear-gradient( var(--line-2), var(--line-2) ) left center / calc(50% - 110px) 1px no-repeat,
		linear-gradient( var(--line-2), var(--line-2) ) right center / calc(50% - 110px) 1px no-repeat;
}
#wcpay-express-checkout-button-separator::before {
	content: "oppure compila i dati"; font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--muted);
}
#customer_details { min-width: 0; display: flex; flex-direction: column; gap: 40px; }
#customer_details h3, .checkout-summary h3, .woocommerce-account h2, .woocommerce-account h3 {
	font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(30px, 3vw, 40px); line-height: 1; margin: 0 0 20px;
}
#customer_details h3#ship-to-different-address { margin: 0 0 20px; font-family: var(--f-body); font-size: 17px; font-weight: 700; line-height: 1.3; text-transform: none; }
#ship-to-different-address label { display: flex; align-items: center; gap: 10px; cursor: pointer; }
#ship-to-different-address input { margin: 0; }
.woocommerce-shipping-fields { margin-bottom: 32px; }
.woocommerce-additional-fields > h3 { margin-top: 0; }
.checkout-summary { min-width: 0; }
@media (max-width: 759px) { .checkout-summary { margin: 0 calc(var(--gutter) * -1); } }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 10px 0; border-bottom: 1px solid var(--line-2); vertical-align: top; text-align: left; }
.woocommerce-checkout-review-order-table td:last-child, .woocommerce-checkout-review-order-table th:last-child { text-align: right; font-family: var(--f-mono); }
.woocommerce-checkout-review-order-table thead th { font-family: var(--f-mono); font-size: 12px; color: var(--muted); font-weight: 400; text-transform: uppercase; }
.woocommerce-checkout-review-order-table .product-name { font-family: var(--f-body); }
.woocommerce-checkout-review-order-table .product-quantity { color: var(--gold); font-weight: 400; }
.woocommerce-checkout-review-order-table tfoot th { font-weight: 400; color: var(--muted); }
.woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { border-bottom: 0; padding-top: 18px; }
.woocommerce-checkout-review-order-table .order-total th { font-family: var(--f-display); font-size: 26px; color: var(--paper); text-transform: uppercase; }
.woocommerce-checkout-review-order-table .order-total td { font-family: var(--f-display) !important; font-size: 36px; line-height: 1; }
.woocommerce-checkout-review-order-table .order-total td small { display: block; font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
#shipping_method { list-style: none; margin: 0; padding: 0; text-align: left; display: flex; flex-direction: column; gap: 8px; font-family: var(--f-body); }
#shipping_method li { display: flex; align-items: center; gap: 4px; justify-content: flex-end; flex-wrap: wrap; }
#shipping_method label { font-size: 14px; }

/* Payment */
#payment { margin-top: 28px; }
#payment .wc_payment_methods { border-top: 1px solid var(--line-2); margin: 0; padding: 0; }
#payment .wc_payment_method { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; border-bottom: 1px solid var(--line-2); padding: 16px 0; margin: 0; }
#payment .wc_payment_method > label { flex: 1 1 0; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0; font-weight: 700; font-size: 16px; line-height: 1.3; cursor: pointer; }
#payment .wc_payment_method > label img { display: inline-block; max-height: 24px; width: auto; margin: 0; }
#payment .payment-methods--logos { margin-left: auto; }
#payment .payment_box { flex: 1 1 100%; margin: 14px 0 0; padding: 16px; background: var(--panel); font-size: 14px; line-height: 1.6; color: var(--soft); }
#payment .payment_box::before { display: none; }
#payment .payment_box p { margin: 0; }
#payment .payment_box .testmode-info { margin: 0 0 12px; }
#payment .payment_box fieldset { margin: 0; padding: 0; border: 0; }
#payment input[type="radio"].input-radio {
	-webkit-appearance: none; appearance: none; flex: 0 0 auto; width: 20px; height: 20px; margin: 0; border: 2px solid var(--muted-2); border-radius: 50%;
	display: inline-grid; place-content: center; cursor: pointer; background: transparent; transition: border-color .2s;
}
#payment input[type="radio"].input-radio::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); transform: scale(0); transition: transform .15s; }
#payment input[type="radio"].input-radio:checked { border-color: var(--gold); }
#payment input[type="radio"].input-radio:checked::before { transform: scale(1); }
#payment .place-order { margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }

/* PayPal (buttons + Pay Later message) */
[id^="ppc-button-ppcp-gateway"] { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.ppc-button-wrapper { margin: 0 !important; }
.ppcp-messages { margin: 0; color: var(--paper); }
.ppcp-messages:empty { display: none; }
.woocommerce-checkout-review-order .ppcp-messages { margin: 16px 0 0; }
#payment-method-message { margin: 0 !important; }
#place_order { width: 100%; min-height: 64px; font-size: 16px; background: var(--gold); color: var(--ink); }
#place_order:hover { background: var(--paper); }
.woocommerce-terms-and-conditions-wrapper { font-size: 13px; color: var(--muted); }
.woocommerce-terms-and-conditions-wrapper a { text-decoration: underline; }
.woocommerce-privacy-policy-text p { margin: 0; }
.woocommerce-form-coupon-toggle .woocommerce-info, .woocommerce-form-login-toggle .woocommerce-info { justify-content: flex-start; }
.checkout_coupon, .woocommerce-form-login { border: 1px dashed var(--dash); padding: 20px; margin-bottom: 32px; }
.checkout_coupon { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.checkout_coupon p { margin: 0; }
.checkout_coupon .form-row-first { flex: 1 1 200px; }

/* Thank you */
.woocommerce-order { display: flex; flex-direction: column; gap: 32px; }
.woocommerce-thankyou-order-received { font-family: var(--f-display); font-size: clamp(40px, 6vw, 80px); line-height: .95; text-transform: uppercase; color: var(--paper); }
.woocommerce-order-overview { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); background: var(--ink); padding: 22px; }
.woocommerce-order-overview li { font-family: var(--f-mono); font-size: 12px; color: var(--muted); text-transform: uppercase; }
.woocommerce-order-overview strong { display: block; margin-top: 4px; font-family: var(--f-body); font-size: 16px; color: var(--paper); text-transform: none; }
.woocommerce-order-details, .woocommerce-customer-details { background: var(--ink); padding: 24px; }
.woocommerce-order-details h2, .woocommerce-customer-details h2, .woocommerce-column__title { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: 32px; line-height: 1; margin-bottom: 16px; }
.woocommerce-table--order-details { width: 100%; border-collapse: collapse; }
.woocommerce-table--order-details th, .woocommerce-table--order-details td { padding: 10px 0; border-bottom: 1px solid var(--line-2); text-align: left; }
.woocommerce-table--order-details td:last-child, .woocommerce-table--order-details th:last-child { text-align: right; }
address { font-style: normal; line-height: 1.7; color: var(--soft); }
.woocommerce-columns--addresses { display: grid; gap: 24px; }
@media (min-width: 760px) { .woocommerce-columns--addresses { grid-template-columns: 1fr 1fr; } }

/* My account ----------------------------------------------------------- */
.woocommerce-account .shop-page .woocommerce { display: grid; gap: 40px; align-items: start; }
@media (min-width: 1024px) { .woocommerce-account.logged-in .shop-page .woocommerce { grid-template-columns: 260px minmax(0, 1fr); gap: 56px; } }
.woocommerce-MyAccount-navigation ul { display: flex; flex-direction: column; gap: 8px; }
@media (max-width: 1023px) {
	.woocommerce-MyAccount-navigation ul { flex-direction: row; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); }
	.woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
	.woocommerce-MyAccount-navigation li { flex: 0 0 auto; }
}
.woocommerce-MyAccount-navigation a {
	display: block; padding: 12px 16px; border: 1px solid var(--line-2); font-family: var(--f-mono); font-size: 13px; text-transform: uppercase; white-space: nowrap;
}
.woocommerce-MyAccount-navigation .is-active a { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.woocommerce-MyAccount-content { min-width: 0; font-size: 16px; line-height: 1.7; color: var(--soft); }
.woocommerce-MyAccount-content > p + p { margin-top: 12px; }
.woocommerce-MyAccount-content a:not(.button) { text-decoration: underline; color: var(--paper); }
.woocommerce-orders-table, .shop_table.my_account_orders { width: 100%; border-collapse: collapse; font-size: 15px; }
.woocommerce-orders-table th, .woocommerce-orders-table td { padding: 12px 8px 12px 0; border-bottom: 1px solid var(--line-2); text-align: left; }
.woocommerce-orders-table .button { min-height: 40px; padding: 8px 14px; font-size: 12px; background: var(--gold); color: var(--ink); }
@media (max-width: 759px) {
	.woocommerce-orders-table thead { display: none; }
	.woocommerce-orders-table tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
	.woocommerce-orders-table td { display: flex; justify-content: space-between; border: 0; padding: 4px 0; }
	.woocommerce-orders-table td::before { content: attr(data-title); font-family: var(--f-mono); font-size: 12px; color: var(--muted); text-transform: uppercase; }
}
.u-columns.col2-set, #customer_login { display: grid; gap: 40px; }
@media (min-width: 900px) { #customer_login { grid-template-columns: 1fr 1fr; gap: 56px; } }
.woocommerce-form-login, .woocommerce-form-register, .woocommerce-ResetPassword, .woocommerce-EditAccountForm, .woocommerce-address-fields { background: var(--ink); padding: 28px 22px; border: 0; }
@media (min-width: 760px) { .woocommerce-form-login, .woocommerce-form-register, .woocommerce-ResetPassword, .woocommerce-EditAccountForm, .woocommerce-address-fields { padding: 36px 34px; } }
.woocommerce-form-login .button, .woocommerce-form-register .button, .woocommerce-ResetPassword .button, .woocommerce-EditAccountForm .button, .woocommerce-address-fields .button { background: var(--gold); color: var(--ink); width: 100%; margin-top: 8px; }
.woocommerce-form-login__rememberme { margin: 8px 0; display: flex !important; }
.lost_password a { font-family: var(--f-mono); font-size: 12px; text-decoration: underline; color: var(--muted); }
.woocommerce-Addresses { display: grid; gap: 24px; }
@media (min-width: 760px) { .woocommerce-Addresses { grid-template-columns: 1fr 1fr; } }
.woocommerce-Address { background: var(--ink); padding: 22px; }
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.woocommerce-Address-title a { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; }
fieldset { border: 1px solid var(--line-2); padding: 20px; margin: 24px 0; }
legend { font-family: var(--f-mono); font-size: 12px; text-transform: uppercase; color: var(--gold); padding: 0 8px; }
.password-input { position: relative; display: block; }
.show-password-input { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); cursor: pointer; width: 36px; height: 36px; }
.show-password-input::after {
	content: ""; display: block; width: 20px; height: 20px; margin: auto; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8'%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='black' stroke-width='1.8'%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 { color: var(--gold); }
.woocommerce-password-strength { font-size: 13px; margin-top: 8px; padding: 6px 10px; background: var(--mid); }

/* Woo AJAX overlay */
.blockUI.blockOverlay { background: rgba(11,11,10,.55) !important; opacity: 1 !important; }
.blockUI.blockOverlay::after {
	content: ""; position: absolute; top: 50%; left: 50%; width: 32px; height: 32px; margin: -16px 0 0 -16px;
	border: 3px solid var(--gold); border-right-color: transparent; border-radius: 50%; animation: wt-spin .8s linear infinite;
}
@keyframes wt-spin { to { transform: rotate(360deg); } }

/* Hide default bits we don't use */
.woocommerce-product-rating, .woocommerce-breadcrumb, .onsale { display: none; }
.screen-reader-text.actions { position: absolute !important; }

/* Coupon error (WooCommerce prints it under the field) */
.coupon-error-notice { margin: 8px 0 0; font-family: var(--f-mono); font-size: 12px; color: #F08A72; }
.coupon .input-text.has-error, .coupon .input-text[aria-invalid="true"] { border-color: #E0664A; }
