/* ==========================================================================
   NEXUS theme – WooCommerce (replaces the WooCommerce default styles)
   ========================================================================== */

.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button,
.woocommerce #respond input#submit, .wc-block-components-button, .woocommerce-page .button {
	display: inline-flex; align-items: center; justify-content: center; gap: .4em;
	min-height: 40px; padding: .55em 1.2em;
	border: 0; border-radius: 980px;
	background: var(--nx-btn, var(--nx-accent)); color: var(--nx-on-accent) !important;
	font-size: 15px; font-weight: 400; line-height: 1.2; letter-spacing: -.01em;
	text-decoration: none !important; cursor: pointer; white-space: nowrap;
	transition: background-color .2s ease, opacity .2s ease;
}
.woocommerce .button:hover, .woocommerce-page .button:hover { background: var(--nx-btn-hover, var(--nx-accent-hover)); }
.woocommerce .button.alt, .woocommerce-page .button.alt { min-height: 48px; padding: .7em 1.6em; font-size: 17px; }
.woocommerce .button:disabled, .woocommerce .button.disabled, .woocommerce .button[disabled] { opacity: .45; cursor: not-allowed; }
.woocommerce .button.loading { opacity: .6; pointer-events: none; }
.woocommerce .button.added::after { content: ""; width: 14px; height: 14px; 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='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%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='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.woocommerce a.added_to_cart { display: inline-block; margin-left: 10px; font-size: 14px; }

/* Secondary looking buttons */
.woocommerce-cart-form .button[name="update_cart"], .woocommerce .woocommerce-Button--previous, .woocommerce-orders-table .button:not(.view),
.woocommerce .coupon .button, .woocommerce-MyAccount-content .woocommerce-orders-table .button {
	background: var(--nx-surface-2); color: var(--nx-text) !important;
}
.woocommerce-cart-form .button[name="update_cart"]:hover, .woocommerce .coupon .button:hover { background: var(--nx-surface-3); }

/* ---------- Notices ---------- */
.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: 8px 16px;
	margin: 0 0 24px; padding: 14px 18px; list-style: none;
	border-radius: var(--nx-radius-sm);
	background: var(--nx-surface-2); color: var(--nx-text); font-size: 15px;
}
.woocommerce-message { background: color-mix(in srgb, var(--nx-success) 10%, var(--nx-surface-2)); }
.woocommerce-error { background: color-mix(in srgb, var(--nx-danger) 9%, var(--nx-surface-2)); color: var(--nx-text); flex-direction: column; align-items: flex-start; }
.woocommerce-error li { margin: 0; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; min-height: 32px; padding: .35em .95em; font-size: 14px; }
.woocommerce-message::before { content: ""; width: 18px; height: 18px; flex-shrink: 0; background: var(--nx-success); -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='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%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='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.woocommerce-store-notice, p.demo_store { position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; margin: 0; padding: 12px var(--nx-gutter); background: var(--nx-text); color: var(--nx-bg); font-size: 14px; text-align: center; }
.woocommerce-store-notice a { color: inherit; text-decoration: underline; }

/* ---------- Layout ---------- */
.nx-shop { max-width: var(--nx-max); margin: 0 auto; padding: clamp(32px, 6vw, 64px) var(--nx-gutter) clamp(64px, 8vw, 104px); }
.nx-shop-header { margin-bottom: 28px; }
.nx-shop-header__title { margin: 0 0 8px; font-size: clamp(40px, 7vw, 64px); font-weight: 700; letter-spacing: -.04em; line-height: 1.02; }
.nx-shop-header__text { margin: 0; max-width: 46ch; font-size: clamp(19px, 2vw, 21px); line-height: 1.38; color: var(--nx-muted); }
.nx-pills { margin-top: 24px; overflow-x: auto; scrollbar-width: none; -webkit-mask: linear-gradient(90deg, #000 92%, transparent); mask: linear-gradient(90deg, #000 92%, transparent); }
.nx-pills::-webkit-scrollbar { display: none; }
.nx-pills ul { display: flex; gap: 8px; margin: 0; padding: 0 32px 4px 0; list-style: none; }
.nx-pills a { display: block; padding: 8px 16px; border-radius: 980px; background: var(--nx-surface-2); color: var(--nx-text); font-size: 14px; white-space: nowrap; text-decoration: none !important; transition: background-color .2s ease; }
.nx-pills a:hover { background: var(--nx-surface-3); }
.nx-pills a[aria-current="page"] { background: var(--nx-text); color: var(--nx-bg); }

.woocommerce-result-count { margin: 0; font-size: 14px; color: var(--nx-muted); }
.woocommerce-ordering { margin: 0; }
.woocommerce-result-count + .woocommerce-ordering, .woocommerce-ordering { float: right; }
.woocommerce-result-count { float: left; line-height: 36px; }
.woocommerce-ordering select { min-height: 36px; padding: 0 34px 0 14px; border: 0; border-radius: 980px; background: var(--nx-surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") right 10px center / 16px no-repeat; appearance: none; font-size: 14px; color: var(--nx-text); cursor: pointer; }
.woocommerce-ordering::after, .woocommerce-result-count::after { content: ""; display: table; }
.nx-shop ul.products { clear: both; padding-top: 20px; }

/* ---------- Product grid ---------- */
ul.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 28px) clamp(12px, 2vw, 20px); margin: 0 0 32px; padding: 0; list-style: none; }
ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
ul.products::before, ul.products::after { display: none !important; }
@media (max-width: 900px) { ul.products, ul.products.columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

ul.products li.product { position: relative; display: flex; flex-direction: column; margin: 0; padding: 0; width: auto; float: none; }
ul.products li.product > a.woocommerce-LoopProduct-link { display: flex; flex-direction: column; gap: 4px; color: var(--nx-text); text-decoration: none !important; flex: 1; }
.nx-card-media { position: relative; display: block; margin-bottom: 12px; border-radius: var(--nx-radius); overflow: hidden; background: var(--nx-surface-2); aspect-ratio: 1; }
.nx-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--nx-ease); }
ul.products li.product:hover .nx-card-media img { transform: scale(1.03); }
ul.products li.product .woocommerce-loop-product__title { margin: 0; font-size: 17px; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
ul.products li.product .price { display: block; margin-top: 4px; font-size: 15px; color: var(--nx-text); }
ul.products li.product .star-rating { margin: 2px 0; }
ul.products li.product .button { align-self: flex-start; margin-top: 12px; min-height: 34px; padding: .4em 1em; font-size: 14px; }
ul.products li.product .onsale { position: absolute; top: 12px; left: 12px; z-index: 2; }
ul.products li.product .nx-wish--loop { top: 10px; right: 10px; }

.price del { color: var(--nx-muted); font-weight: 400; margin-right: 6px; }
.price ins { text-decoration: none; font-weight: 600; }
.onsale { display: inline-block; padding: 4px 10px; border-radius: 980px; background: #c2410c; color: #fff; font-size: 12px; font-weight: 600; }
.woocommerce-price-suffix { font-size: .8em; color: var(--nx-muted); }

/* Star rating (no icon font) */
.star-rating { position: relative; display: inline-block; width: 5.4em; height: 1.1em; font-size: 14px; line-height: 1; overflow: hidden; letter-spacing: .1em; }
.star-rating::before { content: "★★★★★"; position: absolute; inset: 0; color: var(--nx-line); }
.star-rating span { position: absolute; top: 0; left: 0; height: 100%; overflow: hidden; text-indent: -9999px; }
.star-rating span::before { content: "★★★★★"; position: absolute; top: 0; left: 0; text-indent: 0; color: var(--nx-text); }
p.stars { margin: 8px 0 16px; }
p.stars a { position: relative; display: inline-block; width: 1.3em; height: 1.3em; text-indent: -9999px; overflow: hidden; color: var(--nx-line); text-decoration: none !important; }
p.stars a::before { content: "★"; position: absolute; inset: 0; text-indent: 0; font-size: 22px; line-height: 1; }
p.stars:hover a::before, p.stars.selected a.active::before, p.stars.selected a:not(.active)::before { color: var(--nx-text); }
p.stars a:hover ~ a::before, p.stars.selected a.active ~ a::before { color: var(--nx-line); }

/* Pagination */
.woocommerce-pagination ul { display: flex; justify-content: center; gap: 6px; list-style: none; margin: 32px 0 0; padding: 0; }
.woocommerce-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 20px; color: var(--nx-text); text-decoration: none !important; }
.woocommerce-pagination .page-numbers.current { background: var(--nx-text); color: var(--nx-bg); }
.woocommerce-pagination a.page-numbers:hover { background: var(--nx-surface-2); }

/* ---------- Single product ---------- */
.nx-breadcrumb { margin: 0 0 20px; font-size: 13px; color: var(--nx-muted); }
.nx-breadcrumb a { color: var(--nx-muted); }
.nx-breadcrumb a:hover { color: var(--nx-text); }
.nx-crumb-sep { margin: 0 8px; opacity: .6; }

div.product { position: relative; }
.nx-product-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 64px); align-items: start; position: relative; margin-bottom: clamp(40px, 6vw, 72px); }
.nx-product-top > .onsale { position: absolute; top: 16px; left: 16px; z-index: 3; }
/* Sticky only inside .nx-product-top: stops before tabs and related products. */
.nx-product-top > .woocommerce-product-gallery { position: sticky; top: calc(var(--nx-header-h) + 20px); grid-column: 1; opacity: 1 !important; }
.nx-product-top > .summary { grid-column: 2; }
/* "View in 3D" sits below the gallery; the summary spans both rows. */
.nx-product-top > .nx-product-3d { grid-column: 1; grid-row: 2; margin-top: -12px; }
.nx-product-top:has(> .nx-product-3d) > .woocommerce-product-gallery { grid-row: 1; position: relative; top: auto; }
.nx-product-top:has(> .nx-product-3d) > .summary { grid-row: 1 / span 2; }
@media (max-width: 860px) {
	.nx-product-top { grid-template-columns: 1fr; }
	.nx-product-top > .woocommerce-product-gallery, .nx-product-top > .summary { grid-column: 1; position: static; }
	.nx-product-top > .nx-product-3d, .nx-product-top:has(> .nx-product-3d) > .summary, .nx-product-top:has(> .nx-product-3d) > .woocommerce-product-gallery { grid-row: auto; margin-top: 0; }
}

.woocommerce-product-gallery { position: relative; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image { border-radius: var(--nx-radius-lg); overflow: hidden; background: var(--nx-surface-2); }
.woocommerce-product-gallery__image img { display: block; width: 100%; height: auto; }
.woocommerce-product-gallery .flex-viewport { border-radius: var(--nx-radius-lg); }
.woocommerce-product-gallery .flex-control-thumbs { display: flex; gap: 10px; margin: 12px 0 0; padding: 0; list-style: none; }
.woocommerce-product-gallery .flex-control-thumbs li { width: 72px; }
.woocommerce-product-gallery .flex-control-thumbs img { border-radius: 12px; opacity: .55; cursor: pointer; transition: opacity .2s ease; }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active, .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 1; }
.woocommerce-product-gallery__trigger { position: absolute; top: 14px; right: 14px; z-index: 5; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: color-mix(in srgb, var(--nx-bg) 80%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 0; text-decoration: none !important; }
.woocommerce-product-gallery__trigger::before { content: ""; width: 18px; height: 18px; background: var(--nx-text); -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='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5M10.5 7.5v6M7.5 10.5h6'/%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='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center / contain no-repeat; }
.woocommerce-product-gallery__trigger img { display: none !important; }

.summary .product_title { margin: 0 0 10px; font-size: clamp(32px, 4.4vw, 48px); font-weight: 700; letter-spacing: -.035em; line-height: 1.06; }
.summary .woocommerce-product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 14px; }
.summary .woocommerce-review-link { color: var(--nx-muted); }
.summary > .price { margin: 0 0 6px; font-size: 24px; font-weight: 600; letter-spacing: -.02em; }
.summary .woocommerce-product-details__short-description { margin: 0 0 24px; font-size: 19px; line-height: 1.42; color: var(--nx-text); }
.summary .woocommerce-product-details__short-description p { margin: 0; }
.summary form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 4px; padding: 20px 0 0; border-top: 1px solid var(--nx-line); }
.summary form.cart.variations_form { display: block; }
.summary form.cart .single_add_to_cart_button { flex: 1 1 180px; min-height: 52px; font-size: 17px; }
.summary .stock { font-size: 14px; color: var(--nx-success); margin: 0 0 12px; }
.summary .stock.out-of-stock { color: var(--nx-danger); }
.summary .product_meta { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--nx-line); font-size: 13px; color: var(--nx-muted); display: flex; flex-direction: column; gap: 4px; }
.summary .product_meta a { color: var(--nx-muted); }

/* Quantity */
.quantity { display: inline-flex; align-items: center; border-radius: 980px; background: var(--nx-surface-2); }
.woocommerce .quantity input.qty, .quantity .qty { width: 48px; min-width: 0; padding: 0; border: 0 !important; box-shadow: none !important; border-radius: 0; min-height: 44px; border: 0; background: transparent; text-align: center; font-size: 17px; -moz-appearance: textfield; }
.quantity .qty::-webkit-outer-spin-button, .quantity .qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.nx-qty-btn { width: 40px; height: 44px; border: 0; background: transparent; font-size: 20px; line-height: 1; color: var(--nx-text); cursor: pointer; border-radius: 980px; }
.nx-qty-btn:hover { background: var(--nx-surface-3); }

/* Variations */
table.variations { margin: 0 0 16px; border: 0; }
table.variations th, table.variations td { display: block; padding: 0; text-align: left; border: 0; }
table.variations th label { display: block; margin: 0 0 8px; font-weight: 600; font-size: 15px; }
table.variations td { margin-bottom: 16px; }
table.variations select { width: 100%; min-height: 48px; padding: 0 40px 0 14px; border: 1px solid var(--nx-line); border-radius: var(--nx-radius-sm); background: var(--nx-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; appearance: none; font-size: 17px; }
.reset_variations { font-size: 14px; display: inline-block; margin-top: 8px; }
.single_variation_wrap .woocommerce-variation-price { margin-bottom: 12px; font-size: 21px; font-weight: 600; }
.woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Tabs */
.woocommerce-tabs { margin-top: clamp(48px, 7vw, 80px); }
.woocommerce-tabs ul.tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 0 0 28px; padding: 4px; list-style: none; border-radius: 12px; background: var(--nx-surface-2); }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce-tabs ul.tabs li { margin: 0; border: 0; background: none; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 8px 16px; border-radius: 9px; color: var(--nx-muted); font-size: 15px; font-weight: 500; text-decoration: none !important; }
.woocommerce-tabs ul.tabs li.active a { background: var(--nx-bg); color: var(--nx-text); box-shadow: 0 1px 4px rgba(0, 0, 0, .1); }
.woocommerce-tabs .panel { max-width: 760px; }
.woocommerce-tabs .panel > h2:first-child { font-size: 28px; font-weight: 700; letter-spacing: -.025em; }
.woocommerce-tabs table.shop_attributes { border-top: 1px solid var(--nx-line); }
.woocommerce-tabs table.shop_attributes th, .woocommerce-tabs table.shop_attributes td { padding: 12px 0; border-bottom: 1px solid var(--nx-line); text-align: left; vertical-align: top; }
.woocommerce-tabs table.shop_attributes th { width: 35%; color: var(--nx-muted); font-weight: 500; }
.woocommerce-tabs table.shop_attributes td p { margin: 0; }

/* Reviews */
#reviews .commentlist { list-style: none; margin: 0 0 32px; padding: 0; }
#reviews .commentlist li { padding: 20px 0; border-bottom: 1px solid var(--nx-line); }
#reviews .comment_container { display: flex; gap: 14px; }
#reviews .avatar { width: 40px; height: 40px; border-radius: 50%; }
#reviews .comment-text { flex: 1; }
#reviews .meta { font-size: 14px; color: var(--nx-muted); }
#review_form .comment-reply-title { display: block; font-size: 21px; font-weight: 600; margin-bottom: 12px; }
#review_form textarea, #review_form input[type="text"], #review_form input[type="email"] { width: 100%; padding: 12px 14px; border: 1px solid var(--nx-line); border-radius: var(--nx-radius-sm); background: var(--nx-surface); }

/* Related */
.related > h2, .upsells > h2, .cross-sells > h2 { margin: clamp(56px, 8vw, 96px) 0 24px; font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -.03em; }

/* ---------- Forms (shared) ---------- */
.woocommerce form .form-row { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; padding: 0; }
.woocommerce form .form-row label { font-size: 14px; font-weight: 500; color: var(--nx-text); }
.woocommerce form .form-row label.checkbox, .woocommerce form .form-row label.woocommerce-form__label-for-checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; }
.woocommerce form .form-row .required { color: var(--nx-danger); text-decoration: none; border: 0; }
.woocommerce form .form-row .optional { color: var(--nx-muted); font-weight: 400; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce-page form .input-text, .woocommerce .coupon .input-text {
	width: 100%; min-height: 48px; padding: 12px 14px;
	border: 1px solid var(--nx-line); border-radius: var(--nx-radius-sm);
	background: var(--nx-surface); color: var(--nx-text); font-size: 17px;
	transition: border-color .2s ease, box-shadow .2s ease;
}
.woocommerce form .form-row select { appearance: none; padding-right: 40px; background: var(--nx-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e73' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.woocommerce form .form-row textarea { min-height: 110px; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus, .woocommerce form .form-row select:focus, .woocommerce-page form .input-text:focus {
	outline: 0; border-color: var(--nx-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--nx-accent) 20%, transparent);
}
.woocommerce form .form-row.woocommerce-invalid input.input-text, .woocommerce form .form-row.woocommerce-invalid select { border-color: var(--nx-danger); }
.woocommerce form .form-row.woocommerce-validated input.input-text { border-color: color-mix(in srgb, var(--nx-success) 55%, var(--nx-line)); }
.woocommerce form .form-row input[type="checkbox"], .woocommerce input[type="radio"] { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--nx-accent); flex-shrink: 0; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: auto; }
.woocommerce .col2-set .woocommerce-billing-fields__field-wrapper, .woocommerce .col2-set .woocommerce-shipping-fields__field-wrapper,
.woocommerce-address-fields__field-wrapper, .woocommerce-EditAccountForm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 14px; }
.woocommerce .form-row-wide, .woocommerce-EditAccountForm > fieldset, .woocommerce-EditAccountForm > p:not(.form-row-first):not(.form-row-last), .woocommerce-EditAccountForm > div, .woocommerce-EditAccountForm .clear { grid-column: 1 / -1; }
@media (max-width: 560px) {
	.woocommerce .col2-set .woocommerce-billing-fields__field-wrapper, .woocommerce .col2-set .woocommerce-shipping-fields__field-wrapper, .woocommerce-address-fields__field-wrapper, .woocommerce-EditAccountForm { grid-template-columns: 1fr; }
}
.woocommerce form fieldset { margin: 24px 0 0; padding: 20px; border: 1px solid var(--nx-line); border-radius: var(--nx-radius); }
.woocommerce form legend { padding: 0 8px; font-weight: 600; }
.woocommerce .clear { clear: both; }
.woocommerce-password-strength { margin-top: 8px; padding: 8px 12px; border-radius: 10px; font-size: 13px; background: var(--nx-surface-2); }
.woocommerce-password-strength.strong { color: var(--nx-success); }
.woocommerce-password-strength.short, .woocommerce-password-strength.bad { color: var(--nx-danger); }
.woocommerce-password-hint { font-size: 13px; color: var(--nx-muted); }
.password-input { position: relative; display: block; }
.show-password-input { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; background: transparent; cursor: pointer; opacity: .6; }
.show-password-input::before { content: ""; display: block; width: 20px; height: 20px; margin: auto; background: var(--nx-text); -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.6-7 10-7 10 7 10 7-3.6 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.6-7 10-7 10 7 10 7-3.6 7-10 7S2 12 2 12Z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Select2 / SelectWoo (country selects) */
.select2-hidden-accessible { border: 0 !important; clip: rect(0 0 0 0) !important; height: 1px !important; margin: -1px !important; overflow: hidden !important; padding: 0 !important; position: absolute !important; width: 1px !important; }
.select2-container { box-sizing: border-box; display: inline-block; position: relative; vertical-align: middle; }
.select2-dropdown { position: absolute; z-index: 1051; display: block; }
.select2-results__options { list-style: none; margin: 0; padding: 0; max-height: 240px; overflow-y: auto; }
.select2-container--open .select2-dropdown--below { border-top: 0; }
.select2-container { width: 100% !important; font-size: 17px; }
.select2-container .select2-selection--single { height: 48px; border: 1px solid var(--nx-line); border-radius: var(--nx-radius-sm); background: var(--nx-surface); display: flex; align-items: center; }
.select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0 40px 0 14px; color: var(--nx-text); line-height: 46px; }
.select2-container--default .select2-selection--single .select2-selection__arrow { height: 46px; right: 10px; }
.select2-container--default .select2-selection--single .select2-selection__arrow b { border-color: var(--nx-muted) transparent transparent; }
.select2-dropdown { border: 1px solid var(--nx-line); border-radius: var(--nx-radius-sm); background: var(--nx-surface); color: var(--nx-text); overflow: hidden; }
.select2-search--dropdown .select2-search__field { border: 1px solid var(--nx-line) !important; border-radius: 8px; background: var(--nx-bg); color: var(--nx-text); padding: 8px; }
.select2-results__option { padding: 8px 14px; }
.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] { background: var(--nx-btn, var(--nx-accent)); color: #fff; }
.select2-container--default .select2-results__option[aria-selected="true"] { background: var(--nx-surface-2); }

/* ---------- Tables (cart, orders) ---------- */
table.shop_table { width: 100%; margin: 0 0 24px; border: 0; border-collapse: collapse; font-size: 15px; }
table.shop_table th { padding: 12px 10px; border-bottom: 1px solid var(--nx-line); text-align: left; font-size: 13px; font-weight: 500; color: var(--nx-muted); }
table.shop_table td { padding: 16px 10px; border-bottom: 1px solid var(--nx-line); vertical-align: middle; }
table.shop_table tfoot th, table.shop_table tfoot td { font-size: 15px; color: var(--nx-text); font-weight: 400; }
table.shop_table tfoot tr:last-child th, table.shop_table tfoot tr:last-child td, table.shop_table .order-total th, table.shop_table .order-total td { font-size: 19px; font-weight: 600; border-bottom: 0; }
table.shop_table .includes_tax, table.shop_table .tax_label { display: block; font-size: 13px; font-weight: 400; color: var(--nx-muted); }
table.shop_table .product-thumbnail img { width: 80px; border-radius: 14px; background: var(--nx-surface-2); }
table.shop_table .product-name a { color: var(--nx-text); font-weight: 600; }
table.shop_table .product-remove a.remove { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--nx-muted) !important; font-size: 20px; text-decoration: none !important; }
table.shop_table .product-remove a.remove:hover { background: var(--nx-surface-2); color: var(--nx-danger) !important; }
table.shop_table dl.variation { margin: 4px 0 0; font-size: 13px; color: var(--nx-muted); display: grid; grid-template-columns: auto 1fr; gap: 0 6px; }
table.shop_table dl.variation dd { margin: 0; }
table.shop_table dl.variation p { margin: 0; }
table.shop_table td.actions { padding-top: 20px; border-bottom: 0; }
.woocommerce-cart-form .actions { text-align: right; }
.woocommerce-cart-form .coupon { display: inline-flex; gap: 8px; float: left; align-items: center; }
.woocommerce-cart-form .coupon .input-text { width: 200px; min-height: 40px; padding: 8px 14px; font-size: 15px; border-radius: 980px; }
.woocommerce-cart-form .coupon label { display: none; }

@media (max-width: 760px) {
	table.shop_table_responsive thead { display: none; }
	table.shop_table_responsive tr { display: block; padding: 12px 0; border-bottom: 1px solid var(--nx-line); }
	table.shop_table_responsive tbody tr:first-child td:first-child { border-top: 0; }
	table.shop_table_responsive tr td { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border: 0; text-align: right; }
	table.shop_table_responsive tr td::before { content: attr(data-title); font-weight: 500; color: var(--nx-muted); text-align: left; }
	table.shop_table_responsive tr td.product-remove, table.shop_table_responsive tr td.product-thumbnail, table.shop_table_responsive tr td.actions { display: block; text-align: left; }
	table.shop_table_responsive tr td.product-remove::before, table.shop_table_responsive tr td.product-thumbnail::before, table.shop_table_responsive tr td.actions::before { display: none; }
	.woocommerce-cart-form .coupon { float: none; display: flex; margin-bottom: 12px; }
	.woocommerce-cart-form .coupon .input-text { flex: 1; width: auto; }
	.woocommerce-cart-form .actions { text-align: left; }
}

/* ---------- Cart ---------- */
.woocommerce-cart .nx-article, .woocommerce-checkout .nx-article, .woocommerce-account .nx-article { max-width: var(--nx-max); }
.woocommerce-cart .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 360px); gap: 0 clamp(24px, 4vw, 48px); align-items: start; }
.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper, .woocommerce-cart .woocommerce > .woocommerce-message, .woocommerce-cart .woocommerce > .wc-empty-cart-message, .woocommerce-cart .woocommerce > .return-to-shop, .woocommerce-cart .woocommerce > .nx-custom-made-notice, .woocommerce-cart .woocommerce > .woocommerce-info { grid-column: 1 / -1; }
.woocommerce-cart .cart-collaterals { position: sticky; top: calc(var(--nx-header-h) + 20px); }
.woocommerce-cart .cart-collaterals .cross-sells { display: none; }
.cart_totals { padding: 24px; border-radius: var(--nx-radius); background: var(--nx-surface-2); }
.cart_totals > h2 { margin: 0 0 8px; font-size: 21px; font-weight: 600; }
.cart_totals table.shop_table th, .cart_totals table.shop_table td { padding: 12px 0; }
.cart_totals table.shop_table td { text-align: right; }
.cart_totals .woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; text-align: left; }
.cart_totals .woocommerce-shipping-destination { font-size: 13px; color: var(--nx-muted); }
.wc-proceed-to-checkout .checkout-button { width: 100%; }
.cart-empty.woocommerce-info { justify-content: center; padding: 48px 24px; font-size: 21px; font-weight: 600; background: transparent; }
.return-to-shop { text-align: center; }
@media (max-width: 900px) {
	.woocommerce-cart .woocommerce { grid-template-columns: minmax(0, 1fr); }
	.woocommerce-cart .cart-collaterals { position: static; }
}
.shipping-calculator-button { font-size: 14px; }
.shipping-calculator-form { margin-top: 12px; text-align: left; }

/* ---------- Checkout ---------- */
form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); grid-template-rows: auto auto 1fr; gap: 0 clamp(24px, 4vw, 56px); align-items: start; }
form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; grid-row: 1; }
form.checkout > .col2-set { grid-column: 1; grid-row: 2 / span 3; }
form.checkout > #order_review_heading { grid-column: 2; grid-row: 2; margin: 0 0 12px; font-size: 21px; font-weight: 600; }
form.checkout > #order_review { grid-column: 2; grid-row: 3; position: sticky; top: calc(var(--nx-header-h) + 20px); padding: 24px; border-radius: var(--nx-radius); background: var(--nx-surface-2); }
form.checkout .col2-set { display: flex; flex-direction: column; gap: 8px; }
form.checkout h3 { margin: 0 0 16px; font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
#ship-to-different-address { font-size: 17px; margin-top: 16px; }
#ship-to-different-address label { display: flex; gap: 10px; align-items: center; font-weight: 600; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 12px 0 !important; }
.woocommerce-checkout-review-order-table td:last-child, .woocommerce-checkout-review-order-table th:last-child { text-align: right; }
.woocommerce-checkout-review-order-table .product-name { font-weight: 600; }
.woocommerce-checkout-review-order-table .product-quantity { font-weight: 400; color: var(--nx-muted); }
.woocommerce-checkout-review-order-table .woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; text-align: left; font-weight: 400; }
#payment { margin-top: 8px; }
#payment ul.payment_methods { list-style: none; margin: 0 0 16px; padding: 0; border-radius: var(--nx-radius-sm); background: var(--nx-bg); overflow: hidden; }
#payment ul.payment_methods li { padding: 14px 16px; border-bottom: 1px solid var(--nx-line); }
#payment ul.payment_methods li:last-child { border-bottom: 0; }
#payment ul.payment_methods li > label { font-weight: 600; cursor: pointer; margin-left: 6px; }
#payment ul.payment_methods li img { max-height: 22px; vertical-align: middle; margin-left: 6px; }
#payment .payment_box { margin-top: 10px; font-size: 14px; color: var(--nx-muted); }
#payment .payment_box p:last-child { margin: 0; }
#payment .place-order { margin: 0; padding: 0; display: block; }
#payment #place_order { width: 100%; min-height: 54px; font-size: 17px; font-weight: 500; }
.woocommerce-terms-and-conditions-wrapper { margin: 8px 0 16px; font-size: 14px; }
.woocommerce-privacy-policy-text { font-size: 13px; color: var(--nx-muted); }
.woocommerce-terms-and-conditions { max-height: 260px; overflow: auto; padding: 16px; border-radius: var(--nx-radius-sm); background: var(--nx-bg); font-size: 13px; }
.woocommerce-form-coupon-toggle .woocommerce-info, .woocommerce-form-login-toggle .woocommerce-info { background: transparent; padding: 0; font-size: 15px; }
form.checkout_coupon, form.woocommerce-form-login { margin: 0 0 24px; padding: 20px; border-radius: var(--nx-radius); background: var(--nx-surface-2); }
form.checkout_coupon { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
form.checkout_coupon .form-row { margin: 0; }
@media (max-width: 900px) {
	form.checkout { grid-template-columns: minmax(0, 1fr); }
	form.checkout > #order_review_heading, form.checkout > #order_review { grid-column: 1; grid-row: auto; position: static; }
	form.checkout > #order_review_heading { margin-top: 24px; }
}
.blockUI.blockOverlay { background: color-mix(in srgb, var(--nx-bg) 60%, transparent) !important; opacity: 1 !important; }

/* Thank-you page */
.woocommerce-order { max-width: 760px; }
.woocommerce-thankyou-order-received { font-size: clamp(24px, 3.5vw, 32px); font-weight: 700; letter-spacing: -.025em; margin-bottom: 24px; }
ul.woocommerce-order-overview { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 0 0 32px; padding: 0; list-style: none; }
ul.woocommerce-order-overview li { padding: 14px 16px; border-radius: var(--nx-radius-sm); background: var(--nx-surface-2); font-size: 13px; color: var(--nx-muted); }
ul.woocommerce-order-overview li strong { display: block; margin-top: 2px; font-size: 16px; color: var(--nx-text); }
.woocommerce-bacs-bank-details { padding: 20px; border-radius: var(--nx-radius); background: var(--nx-surface-2); margin-bottom: 24px; }
.wc-bacs-bank-details { list-style: none; padding: 0; }
.woocommerce-order-details__title, .woocommerce-column__title, .wc-bacs-bank-details-heading { font-size: 21px; font-weight: 600; margin-top: 32px; }
.woocommerce-customer-details address { padding: 20px; border-radius: var(--nx-radius); background: var(--nx-surface-2); font-style: normal; line-height: 1.6; }
.woocommerce-columns--addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.woocommerce-customer-details--phone, .woocommerce-customer-details--email { margin: 6px 0 0; }

/* ---------- My account ---------- */
.woocommerce-account .woocommerce { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: start; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.woocommerce-MyAccount-navigation { position: sticky; top: calc(var(--nx-header-h) + 20px); }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; }
.woocommerce-MyAccount-navigation li a {
	display: flex; align-items: center; gap: 12px;
	padding: 10px 12px; border-radius: 10px;
	color: var(--nx-text); font-size: 15px; text-decoration: none !important;
	transition: background-color .15s ease;
}
.woocommerce-MyAccount-navigation li a::before {
	content: ""; width: 20px; height: 20px; flex-shrink: 0; background: var(--nx-muted);
	-webkit-mask: var(--nx-nav-icon) center / contain no-repeat; mask: var(--nx-nav-icon) center / contain no-repeat;
}
.woocommerce-MyAccount-navigation li a:hover { background: var(--nx-surface-2); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--nx-surface-2); font-weight: 600; }
.woocommerce-MyAccount-navigation li.is-active a::before { background: var(--nx-accent); }
.woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--nx-line); }
.woocommerce-MyAccount-navigation-link--customer-logout a { color: var(--nx-muted) !important; }

.woocommerce-MyAccount-navigation-link--dashboard { --nx-nav-icon: 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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3.5 11 8.5-7 8.5 7'/%3E%3Cpath d='M5.5 9.5V20h13V9.5'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--orders { --nx-nav-icon: 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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8 12 3 3 8v8l9 5 9-5V8Z'/%3E%3Cpath d='m3 8 9 5 9-5'/%3E%3Cpath d='M12 13v8'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--merkliste { --nx-nav-icon: 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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-9.2-8.6C1.3 8.5 3 5 6.4 5c2.1 0 3.6 1.3 4.6 2.8C12 6.3 13.5 5 15.6 5 19 5 20.7 8.5 19.2 11.4 17 15.6 12 20 12 20Z'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--druckanfragen { --nx-nav-icon: 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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12 2.5 8.5 4.75v9.5L12 21.5l-8.5-4.75v-9.5L12 2.5Z'/%3E%3Cpath d='M12 12v9.5M12 12 3.5 7.25M12 12l8.5-4.75'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--downloads { --nx-nav-icon: 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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v12M7 11l5 5 5-5'/%3E%3Cpath d='M4 20h16'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-address { --nx-nav-icon: 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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.1 7-11.5A7 7 0 0 0 5 9.5C5 14.9 12 21 12 21Z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--payment-methods { --nx-nav-icon: 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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5.5' width='19' height='13' rx='2'/%3E%3Cpath d='M2.5 10h19'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--edit-account { --nx-nav-icon: 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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21c1.5-4 4.5-6 8-6s6.5 2 8 6'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--meine-daten { --nx-nav-icon: 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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4.5 6v5.5c0 4.6 3.1 8.3 7.5 9.5 4.4-1.2 7.5-4.9 7.5-9.5V6L12 3Z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.woocommerce-MyAccount-navigation-link--customer-logout { --nx-nav-icon: 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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 4h3a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-3'/%3E%3Cpath d='M10 17l5-5-5-5M15 12H4'/%3E%3C/svg%3E"); }

@media (max-width: 860px) {
	.woocommerce-account .woocommerce { grid-template-columns: minmax(0, 1fr); }
	.woocommerce-MyAccount-navigation { position: static; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--nx-gutter)); padding: 0 var(--nx-gutter); }
	.woocommerce-MyAccount-navigation::-webkit-scrollbar { display: none; }
	.woocommerce-MyAccount-navigation ul { display: flex; gap: 6px; }
	.woocommerce-MyAccount-navigation li a { white-space: nowrap; padding: 8px 14px; border-radius: 980px; background: var(--nx-surface-2); font-size: 14px; }
	.woocommerce-MyAccount-navigation li a::before { width: 16px; height: 16px; }
	.woocommerce-MyAccount-navigation li.is-active a { background: var(--nx-text); color: var(--nx-bg); }
	.woocommerce-MyAccount-navigation li.is-active a::before { background: var(--nx-bg); }
	.woocommerce-MyAccount-navigation-link--customer-logout { margin: 0; padding: 0; border: 0; }
}

.woocommerce-MyAccount-content > h2, .woocommerce-MyAccount-content > h3 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.woocommerce-MyAccount-content .woocommerce-orders-table .button { min-height: 30px; padding: .3em .85em; font-size: 13px; margin: 2px 4px 2px 0; }
.woocommerce-MyAccount-content .woocommerce-orders-table .button.view { background: var(--nx-btn, var(--nx-accent)); color: #fff !important; }
.woocommerce-orders-table__cell-order-status { font-weight: 500; }
.woocommerce-orders-table__cell-order-number a { font-weight: 600; color: var(--nx-text); }
.woocommerce-MyAccount-content > p:first-child:empty { display: none; }
.woocommerce-MyAccount-content .woocommerce-Addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 16px; }
.woocommerce-MyAccount-content .woocommerce-Address { padding: 20px; border-radius: var(--nx-radius); background: var(--nx-surface-2); }
.woocommerce-Address-title { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 8px; }
.woocommerce-Address-title > * { min-width: 0; }
.woocommerce-Address-title h2, .woocommerce-Address-title h3 { margin: 0 0 8px; font-size: 19px; }
.woocommerce-Address address { font-style: normal; line-height: 1.6; color: var(--nx-muted); }
.woocommerce-MyAccount-content .woocommerce-OrderUpdates { list-style: none; padding: 0; margin: 0 0 24px; }
.woocommerce-OrderUpdate { padding: 14px 16px; border-radius: var(--nx-radius-sm); background: var(--nx-surface-2); margin-bottom: 8px; }
.woocommerce-OrderUpdate-meta { font-size: 13px; color: var(--nx-muted); margin: 0 0 4px; }
.woocommerce-OrderUpdate-description p { margin: 0; }
.order-again { margin-top: 16px; }
.woocommerce-MyAccount-content > p:has(> .nx-order-status) { margin: 0; }

/* Login / register */
.woocommerce-account:not(.logged-in) .nx-article__head { text-align: center; }
#customer_login.col2-set, .u-columns.col2-set { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 880px; margin: 0 auto; }
#customer_login .u-column1, #customer_login .u-column2 { padding: clamp(24px, 4vw, 36px); border-radius: var(--nx-radius-lg); background: var(--nx-surface-2); }
#customer_login h2 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
#customer_login form { margin: 0; padding: 0; border: 0; background: none; }
.woocommerce-form-login__rememberme { display: flex !important; gap: 8px; align-items: center; margin: 0 0 12px; font-weight: 400 !important; }
.woocommerce-form-login .button, .woocommerce-form-register .button { width: 100%; min-height: 48px; font-size: 17px; }
.woocommerce-LostPassword { margin: 12px 0 0; font-size: 14px; text-align: center; }
.woocommerce-account:not(.logged-in) .woocommerce > form.woocommerce-form-login { max-width: 440px; margin: 0 auto; padding: 32px; border-radius: var(--nx-radius-lg); }
@media (max-width: 720px) { #customer_login.col2-set { grid-template-columns: 1fr; } }

/* Order tracking form (guests) */
form.woocommerce-form-track-order { max-width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
form.woocommerce-form-track-order > p:first-child, form.woocommerce-form-track-order > .clear, form.woocommerce-form-track-order > p:last-child { grid-column: 1 / -1; }

/* Downloads */
.woocommerce-table--order-downloads .download-file a { font-weight: 600; }

/* Mini details */
.woocommerce-table--order-details td.product-name .wc-item-meta { list-style: none; margin: 4px 0 0; padding: 0; font-size: 13px; color: var(--nx-muted); }
.woocommerce-table--order-details .wc-item-meta p { display: inline; margin: 0; }

/* ---------- Mobile fixes ---------- */
.woocommerce-message .button, .woocommerce-info .button, .woocommerce-error .button { white-space: normal; text-align: center; }
.woocommerce-cart-form .coupon .input-text, form.checkout_coupon .input-text { min-width: 0; }
@media (max-width: 760px) {
	.woocommerce-cart-form .coupon { flex-wrap: wrap; }
	.woocommerce-cart-form .coupon .button, .woocommerce-cart-form .button[name="update_cart"] { white-space: normal; }
	.woocommerce-cart-form .button[name="update_cart"] { width: 100%; }
	table.shop_table_responsive tr td { flex-wrap: wrap; min-width: 0; }
	table.shop_table_responsive tr td.product-name { flex-direction: column; align-items: flex-end; }
	table.shop_table_responsive td.woocommerce-orders-table__cell-order-actions { justify-content: flex-start; gap: 6px; }
	table.shop_table_responsive td.woocommerce-orders-table__cell-order-actions::before { width: 100%; }
	.woocommerce-MyAccount-content .woocommerce-orders-table .button { white-space: normal; }
	table.shop_table td, table.shop_table th { overflow-wrap: anywhere; }
}
@media (max-width: 560px) {
	form.woocommerce-form-track-order { grid-template-columns: 1fr; }
	form.woocommerce-form-track-order .form-row input { min-width: 0; }
}

/* ==========================================================================
   Shop comfort (1.3)
   ========================================================================== */

/* Image placeholders */
.js .nx-skel { background: linear-gradient(100deg, var(--nx-surface-2) 30%, var(--nx-surface-3) 50%, var(--nx-surface-2) 70%) 0 0 / 300% 100%; animation: nx-shimmer 1.4s linear infinite; }
.js .nx-skel img { opacity: 0; transition: opacity .4s ease; }
.js .nx-skel.is-loaded { animation: none; background: var(--nx-surface-2); }
.js .nx-skel.is-loaded img { opacity: 1; }
@keyframes nx-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }
@media (prefers-reduced-motion: reduce) { .js .nx-skel { animation: none; } }

/* Free shipping progress */
.nx-freeship { margin: 0 0 18px; padding: 12px 14px; border-radius: var(--nx-radius-sm); background: var(--nx-surface-2); }
.nx-freeship__text { margin: 0 0 8px; font-size: 14px; }
.nx-freeship__track { height: 6px; border-radius: 6px; background: var(--nx-surface-3); overflow: hidden; }
.nx-freeship__track span { display: block; height: 100%; border-radius: inherit; background: var(--nx-accent); transition: width .5s var(--nx-ease); }
.nx-freeship.is-done .nx-freeship__track span { background: var(--nx-success); }

/* Mini cart in the drawer */
.nx-drawer .woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; }
.nx-drawer .woocommerce-mini-cart-item { position: relative; display: grid; grid-template-columns: 64px 1fr; column-gap: 14px; padding: 12px 34px 12px 0; border-bottom: 1px solid var(--nx-line); font-size: 15px; }
.nx-drawer .woocommerce-mini-cart-item > a:not(.remove) { display: contents; color: var(--nx-text); text-decoration: none; font-weight: 600; }
.nx-drawer .woocommerce-mini-cart-item img { grid-row: span 3; width: 64px; height: 64px; object-fit: cover; border-radius: 12px; background: var(--nx-surface-2); }
.nx-drawer .woocommerce-mini-cart-item .remove { position: absolute; top: 10px; right: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--nx-muted) !important; font-size: 20px; text-decoration: none; }
.nx-drawer .woocommerce-mini-cart-item .remove:hover { background: var(--nx-surface-2); color: var(--nx-danger) !important; }
.nx-drawer .woocommerce-mini-cart-item dl.variation { grid-column: 2; margin: 2px 0; font-size: 13px; color: var(--nx-muted); }
.nx-drawer .woocommerce-mini-cart-item dl.variation dt, .nx-drawer .woocommerce-mini-cart-item dl.variation dd { display: inline; margin: 0; }
.nx-drawer .woocommerce-mini-cart-item dl.variation dd p { display: inline; margin: 0; }
.nx-drawer .woocommerce-mini-cart-item .quantity { grid-column: 2; font-size: 14px; color: var(--nx-muted); }
.nx-drawer .woocommerce-mini-cart__total { display: flex; justify-content: space-between; margin: 18px 0 4px; font-size: 17px; }
.nx-drawer .woocommerce-mini-cart__buttons { display: grid; gap: 10px; margin: 16px 0 0; }
.nx-drawer .woocommerce-mini-cart__buttons .button { width: 100%; min-height: 48px; }
.nx-drawer .woocommerce-mini-cart__buttons .button:not(.checkout) { background: var(--nx-surface-2); color: var(--nx-text) !important; }
.nx-drawer .woocommerce-mini-cart__empty-message { margin: 40px 0; text-align: center; color: var(--nx-muted); }

/* Sticky add-to-cart (phones) */
.nx-sticky-atc { display: none; }
@media (max-width: 900px) {
	.nx-sticky-atc:not([hidden]) {
		position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 120;
		display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 10px;
		border-radius: 20px; background: var(--nx-nav-bg); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
		box-shadow: 0 10px 40px rgba(0, 0, 0, .18); border: 1px solid var(--nx-line);
		animation: nx-rise .35s var(--nx-ease);
	}
	.nx-sticky-atc img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
	.nx-sticky-atc__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
	.nx-sticky-atc__name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; font-weight: 600; }
	.nx-sticky-atc__price { font-size: 13px; color: var(--nx-muted); }
	.nx-sticky-atc__price del { opacity: .7; }
	.nx-sticky-atc .nx-btn { flex: 0 0 auto; min-height: 40px; padding: .5em 1.1em; font-size: 15px; }
}
@keyframes nx-rise { from { transform: translateY(120%); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .nx-sticky-atc { animation: none !important; } }

/* Filters */
.nx-filters { margin-top: 16px; }
.nx-filters__toggle { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 980px; border: 1px solid var(--nx-line); font-size: 14px; cursor: pointer; list-style: none; }
.nx-filters__toggle::-webkit-details-marker { display: none; }
.nx-filters__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--nx-accent); }
.nx-filters__panel { display: flex; flex-wrap: wrap; gap: 14px 32px; margin-top: 14px; padding: 18px; border-radius: var(--nx-radius); background: var(--nx-surface-2); }
.nx-filters__group ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nx-filters__label { margin: 0 0 8px; font-size: 12px; color: var(--nx-muted); }
.nx-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 6px 14px; border: 1px solid var(--nx-line); border-radius: 980px; background: var(--nx-bg); color: var(--nx-text); font: inherit; font-size: 14px; text-decoration: none !important; cursor: pointer; }
.nx-chip:hover { border-color: var(--nx-muted); }
.nx-chip[aria-pressed="true"] { background: var(--nx-text); border-color: var(--nx-text); color: var(--nx-bg); }
.nx-chip__dot { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(128, 128, 128, .35); }
.nx-filters__price { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.nx-filters__price .nx-filters__label { flex-basis: 100%; }
.nx-filters__price input { width: 84px; min-height: 34px; padding: 4px 10px; border: 1px solid var(--nx-line); border-radius: 10px; background: var(--nx-bg); color: var(--nx-text); font-size: 14px; }
.nx-filters__reset { flex-basis: 100%; margin: 0; font-size: 14px; }
.nx-results { transition: opacity .2s ease; }
.nx-results.is-loading { opacity: .4; pointer-events: none; }
@media (pointer: coarse) { .nx-chip { min-height: 40px; } .nx-filters__price input { min-height: 40px; } }

/* Recently viewed */
.nx-recent { margin: clamp(40px, 6vw, 72px) 0 0; }
.nx-recent__note { margin: 4px 0 0; font-size: 12px; color: var(--nx-muted); }
.nx-recent .nx-textlink { background: none; border: 0; padding: 0; font: inherit; font-size: 15px; cursor: pointer; }
.nx-drawer .woocommerce-mini-cart-item .quantity { display: block; width: auto; min-height: 0; margin: 2px 0 0; padding: 0; border: 0; background: none; }
.summary form.cart .nx-buy-now { background: var(--nx-text); color: var(--nx-bg) !important; }
.summary form.cart .nx-buy-now:hover { background: color-mix(in srgb, var(--nx-text) 85%, var(--nx-bg)); }
