/* =========================================================================
   NOX Israel – store pages (archive, product, cart, checkout, account)
   ========================================================================= */
input[type="radio"], input[type="checkbox"] { accent-color: var(--nox-orange); }

/* ---------- Archive header band ---------- */
.nox-archive-head { position: relative; overflow: hidden; background: var(--nox-ink); color: rgba(255, 255, 255, .75); padding-block: 28px clamp(28px, 4vw, 44px); }
.nox-archive-head > .nox-container { position: relative; }
.nox-archive-head .nox-breadcrumb, .nox-archive-head .nox-breadcrumb a { color: rgba(255, 255, 255, .55); }
.nox-archive-head .nox-breadcrumb a:hover { color: var(--nox-white); }
.nox-archive-head__title { margin: 10px 0 8px; color: var(--nox-white); font-size: clamp(36px, 6vw, 76px); font-weight: 700; letter-spacing: -.02em; text-transform: uppercase; line-height: 1; }
.nox-archive-head__desc { max-width: 70ch; font-size: 16px; }
.nox-archive-head__desc p { margin: 0; }
.nox-chips {
	display: flex; gap: 8px; margin-top: 24px; overflow-x: auto; scrollbar-width: none;
	margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
}
.nox-chips::-webkit-scrollbar { display: none; }
.nox-chip {
	flex: none; padding: 9px 16px; border: 1px solid rgba(255, 255, 255, .25);
	color: var(--nox-white); font-size: 14px; text-decoration: none; transition: border-color .2s, background-color .2s, color .2s;
}
.nox-chip:hover { border-color: var(--nox-white); }
.nox-chip.is-on { background: var(--nox-orange); border-color: var(--nox-orange); color: var(--nox-ink); font-weight: 600; }
.post-type-archive-product .woocommerce-products-header:empty,
.tax-product_cat .woocommerce-products-header:empty { display: none; }
.nox-shop { padding-top: 28px; }

/* Quiz card inside the product grid */
ul.products li.nox-promo-card { background: var(--nox-orange); }
ul.products li.nox-promo-card::before { display: none; }
.nox-promo-card a {
	position: relative; display: flex; flex-direction: column; gap: 8px; height: 100%; min-height: 360px;
	padding: 20px; overflow: hidden; color: var(--nox-ink); text-decoration: none;
}
.nox-promo-card__title { font: 700 22px/1.15 var(--font-display); }
.nox-promo-card__text { font-size: 14px; }
.nox-promo-card__media { position: relative; flex: 1; min-height: 140px; display: grid; place-items: center; }
.nox-promo-card__media .nox-ring { inset: 6% 18%; }
ul.products li.nox-promo-card .nox-promo-card__media img {
	position: relative; z-index: 1; width: 46%; aspect-ratio: auto; padding: 0; background: none;
	transform: rotate(-16deg); filter: drop-shadow(0 18px 24px rgba(13, 12, 12, .3));
}
.nox-promo-card .nox-btn { align-self: stretch; }
.nox-promo-card a:hover .nox-btn { background: var(--nox-white); border-color: var(--nox-white); color: var(--nox-ink); }

/* ---------- Single product ---------- */
.single-product .nox-shop { padding-top: 20px; }
.nox-product-tag { margin-bottom: 10px; color: var(--nox-orange-ink); }
.single-product .woocommerce-product-gallery__image { position: relative; }
.single-product .woocommerce-product-gallery__wrapper::after {
	content: ""; position: absolute; top: 12px; inset-inline-end: 12px; width: 22px; height: 22px; pointer-events: none;
	border-top: 2px solid var(--nox-orange); border-inline-end: 2px solid var(--nox-orange);
}
.single-product .woocommerce-product-gallery { position: relative; }

.nox-spec-hud { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0 0 24px; padding: 1px 0 0 1px; }
@media (min-width: 600px) { .nox-spec-hud { grid-template-columns: repeat(3, 1fr); } }
.nox-spec-hud > div { margin: -1px 0 0 -1px; padding: 12px 14px; border: 1px solid var(--nox-line); background: var(--nox-white); }
.nox-spec-hud dt { display: grid; gap: 2px; font-size: 12px; color: var(--nox-muted); }
.nox-spec-hud dt .nox-mono-label { font-size: 10px; color: var(--nox-orange-ink); }
.nox-spec-hud dd { margin: 4px 0 0; font: 600 16px/1.2 var(--font-display); color: var(--nox-ink); }

.nox-match-link {
	display: flex; align-items: center; gap: 12px; margin: 0 0 20px; padding: 14px 16px;
	background: var(--nox-ink); color: rgba(255, 255, 255, .8); font-size: 14px; text-decoration: none;
	transition: background-color .2s;
}
.nox-match-link b { display: block; color: var(--nox-white); font-weight: 600; }
.nox-match-link > span:nth-child(2) { flex: 1; }
.nox-match-link__icon { display: grid; place-items: center; width: 40px; height: 40px; background: var(--nox-orange); color: var(--nox-ink); }
.nox-match-link > .nox-icon { color: var(--nox-orange); transition: transform .25s var(--ease); }
.nox-match-link:hover > .nox-icon { transform: translateX(-4px); }
.nox-mini-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0 0 24px; padding: 0; list-style: none; font-size: 13px; color: var(--nox-text); }
.nox-mini-trust li { display: inline-flex; align-items: center; gap: 6px; }
.nox-mini-trust .nox-icon { width: 18px; height: 18px; color: var(--nox-orange); }

.single-product .summary .product_title { letter-spacing: -.01em; }
.single-product .summary .stock.out-of-stock:not(.nox-coming-soon-stock) { color: var(--nox-error); }
.single-product .woocommerce-tabs ul.tabs a { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }

.nox-related { margin-top: var(--section); }
.nox-related .related.products { margin: 0; }
.nox-related .related.products > h2 { display: flex; align-items: center; gap: 12px; }
.nox-related .related.products > h2::before { content: "SIMILAR"; font: 500 11px var(--font-mono); letter-spacing: .14em; color: var(--nox-orange-ink); padding-inline-end: 12px; border-inline-end: 1px solid currentColor; }

/* Mobile buy bar */
.nox-buybar {
	position: fixed; z-index: 90; inset-inline: 0; bottom: 0;
	display: flex; align-items: center; gap: 12px; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
	background: rgba(13, 12, 12, .96); color: var(--nox-white); backdrop-filter: blur(8px);
	transform: translateY(100%); transition: transform .3s var(--ease);
}
.nox-buybar.is-on { transform: none; }
.nox-buybar__info { flex: 1; min-width: 0; display: grid; }
.nox-buybar__name { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 600 13px var(--font-display); text-transform: uppercase; }
.nox-buybar__price { font-size: 15px; font-weight: 600; color: var(--nox-orange); }
.nox-buybar__price del { color: rgba(255, 255, 255, .5); font-weight: 400; }
.nox-buybar .nox-btn { min-height: 44px; padding: 10px 18px; }
@media (min-width: 900px) { .nox-buybar { display: none; } }

/* ---------- Cart / checkout ---------- */
.nox-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; max-width: 640px; margin: 0 0 28px; padding: 0; list-style: none; }
.nox-steps li { position: relative; padding-top: 12px; font-size: 13px; color: var(--nox-muted); }
.nox-steps li::before { content: ""; position: absolute; inset-inline: 0; top: 0; height: 3px; background: var(--nox-line); }
.nox-steps li.is-done::before, .nox-steps li.is-now::before { background: var(--nox-orange); }
.nox-steps li.is-now { color: var(--nox-ink); font-weight: 600; }
.nox-steps .nox-mono-label { display: block; color: inherit; font-size: 10px; }

.nox-ship-meter { max-width: 640px; margin: -8px 0 28px; padding: 14px 16px; background: var(--nox-ink); color: rgba(255, 255, 255, .8); }
.nox-ship-meter p { margin: 0 0 10px; font-size: 14px; }
.nox-ship-meter b { color: var(--nox-white); }
.nox-ship-meter__bar { display: block; height: 4px; background: rgba(255, 255, 255, .15); }
.nox-ship-meter__bar span { display: block; width: var(--pct); height: 100%; background: var(--nox-orange); transition: width .6s var(--ease); }

/* WooCommerce Blocks (cart + checkout) */
.wc-block-cart, .wc-block-checkout { font-family: var(--font-body); }
.wc-block-components-sidebar-layout .wc-block-components-sidebar { padding: 24px; background: var(--nox-surface); }
.wc-block-components-sidebar-layout .wc-block-components-sidebar .wc-block-components-panel,
.wc-block-components-totals-wrapper { border-color: var(--nox-line) !important; }
.wc-block-components-text-input input, .wc-block-components-text-input textarea,
.wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-form .wc-block-components-text-input input {
	border-radius: 0 !important; border-color: #CFCFCF !important; min-height: 52px;
}
.wc-block-components-text-input.is-active input, .wc-block-components-text-input input:focus { border-color: var(--nox-ink) !important; box-shadow: 0 0 0 1px var(--nox-ink) !important; }
.wc-block-components-checkout-step__title, .wc-block-components-title.wc-block-components-title, .wc-block-cart__totals-title {
	font: 600 18px var(--font-display) !important; text-transform: none; color: var(--nox-ink);
}
.wc-block-components-checkout-step__heading::before {
	font: 500 11px var(--font-mono); letter-spacing: .1em; color: var(--nox-orange-ink);
}
.wc-block-components-radio-control__option, .wc-block-components-radio-control-accordion-option { border-radius: 0 !important; }
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted { box-shadow: inset 0 0 0 2px var(--nox-orange) !important; }
.wc-block-components-radio-control .wc-block-components-radio-control__input:checked { border-color: var(--nox-orange) !important; }
.wc-block-components-radio-control .wc-block-components-radio-control__input:checked::before { background: var(--nox-orange) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--nox-ink) !important; border-color: var(--nox-ink) !important; }
.wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--nox-white) !important; }
.wc-block-components-order-summary-item__image img, .wc-block-cart-item__image img { background: var(--nox-white); }
.wc-block-components-order-summary-item__quantity { background: var(--nox-ink) !important; color: var(--nox-white) !important; border: 0 !important; }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font: 700 20px var(--font-display) !important; }
.wc-block-components-product-name { font: 600 15px var(--font-display); color: var(--nox-ink) !important; text-transform: uppercase; text-decoration: none; }
.wc-block-components-quantity-selector { border-radius: 0 !important; }
.wc-block-components-notice-banner { border-radius: 0 !important; }
.wc-block-components-checkout-place-order-button, .wc-block-cart__submit-button { min-height: 56px; width: 100%; }

/* Classic cart/checkout extras */
.woocommerce-cart table.shop_table .product-name a { color: var(--nox-ink); font: 600 15px var(--font-display); text-transform: uppercase; text-decoration: none; }

/* ---------- My account ---------- */
.woocommerce-account .woocommerce-MyAccount-navigation a { position: relative; padding-inline-start: 14px; }
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a::before { content: ""; position: absolute; inset-inline-start: 0; top: 50%; width: 4px; height: 18px; transform: translateY(-50%); background: var(--nox-orange); }
.woocommerce-account .woocommerce-form-login, .woocommerce-account .woocommerce-form-register {
	max-width: 480px; padding: 28px; border: 1px solid var(--nox-line); background: var(--nox-white);
}

/* Login / register (logged out): two even boxes on desktop, stacked on phones */
.woocommerce-account:not(.logged-in) #customer_login { gap: 24px; }
.woocommerce-account:not(.logged-in) #customer_login h2 { font-size: 22px; margin-bottom: 14px; }
.woocommerce-account .woocommerce-form-login, .woocommerce-account .woocommerce-form-register { max-width: none; height: 100%; }
.woocommerce-account .woocommerce-form-login .button, .woocommerce-account .woocommerce-form-register .button { width: 100%; }
.woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.woocommerce-LostPassword { margin-top: 12px; font-size: 14px; }

/* Show/hide password button (WooCommerce's own markup, styled here because its CSS is not loaded) */
.woocommerce form .password-input { position: relative; display: block; }
.woocommerce form .password-input input { padding-inline-end: 48px; }
.show-password-input {
	position: absolute; top: 50%; inset-inline-end: 6px; transform: translateY(-50%);
	width: 36px; height: 36px; padding: 0; border: 0; background: none; cursor: pointer; color: var(--nox-muted);
}
.show-password-input::after {
	content: ""; position: absolute; inset: 8px; 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(--nox-orange); }
.show-password-input:hover { color: var(--nox-ink); }
