/*
Theme Name: NEX Hobby Child
Template: astra
Description: Child theme of Astra for the NEX Hobby FPV / RC shop.
Version: 3.4.52
Text Domain: nexhobby-child
*/

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700;800&family=Roboto+Condensed:wght@700&display=swap');

:root {
	--nx-red: #df453e;
	--nx-red-dark: #b62d25;
	--nx-dark: #161616;
	--nx-gray: #4B4F58;
	--nx-light: #f5f5f5;
	--nx-light2: #F2F5F7;
	--nx-border: #e8e8e8;
	--nx-width: 1140px;
}

body {
	font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
	color: var(--nx-gray);
	background: #fff;
}

/* Safety: keep Astra content container stacked */
.site-content .ast-container { display: block; }
#main { width: 100%; }

/* ---------- Header (Astra builder: logo | menu | search/account/cart) ---------- */
.site-header .main-header-menu > li > a {
	font-weight: 500;
	color: var(--nx-dark);
	font-size: 15px;
}
.site-header .main-header-menu > li > a:hover,
.site-header .main-header-menu > li.current-menu-item > a,
.site-header .main-header-menu > li.menu-item-has-children:hover > a { color: var(--nx-red); }
.site-header .sub-menu > li > a { display: flex !important; align-items: center; gap: 10px; }
.nx-menu-icon { width: 30px; height: 30px; object-fit: contain; flex: 0 0 30px; }
.ast-header-search .search-field { min-width: 220px; }

/* no duplicate "site title" text next to the logo */
.ast-site-identity .site-title,
header .site-title { display: none !important; }

/* keep the header logo proportional to the page (like the reference, ~160px wide) */
.custom-logo-link img.custom-logo { max-height: 58px; width: auto; }

/* plain cart icon (no bordered box), like the reference */
.ast-site-header-cart .ast-addon-cart-wrap {
	border: none !important; padding: 0 !important;
	background: transparent !important; box-shadow: none !important; line-height: 1;
}
.ast-woo-header-cart-info-wrap { display: none !important; }
.ast-site-header-cart a.ast-cart-menu-wrap,
.ast-site-header-cart .ast-icon-shopping-cart,
.ast-site-header-cart i.astra-icon { color: var(--nx-dark); }
.ast-site-header-cart a:hover .ast-icon-shopping-cart,
.ast-site-header-cart a:hover i.astra-icon { color: var(--nx-red); }
.ast-site-header-cart .count { background: var(--nx-red); border-radius: 999px; }

/* ---------- Transparent header over full-screen hero (homepage, desktop) ---------- */
@media (min-width: 922px) {
	body.home #masthead {
		position: absolute; top: 0; left: 0; right: 0; z-index: 999;
		background: transparent; border-bottom: none; box-shadow: none;
	}
	body.home .site-primary-header-wrap,
	body.home .main-header-bar { background: transparent; border: none; box-shadow: none; }
	body.home .custom-logo { filter: brightness(0) invert(1); }
	body.home .main-header-menu > li > a,
	body.home .ast-header-search .astra-search-icon svg,
	body.home .ast-site-header-cart .ast-icon-shopping-cart,
	body.home .ast-site-header-cart i.astra-icon,
	body.home .ast-header-account-wrap { color: #fff; fill: #fff; }
	body.home .ast-site-header-cart .count { color: #fff; }
	body.home .main-header-menu > li > a:hover,
	body.home .main-header-menu > li.current-menu-item > a { color: var(--nx-red); }
	body.home .site-content,
	body.home .site-content > .ast-container { padding-top: 0 !important; margin-top: 0 !important; }
}

/* ---------- Sections ---------- */
.nx-section { padding: 55px 20px; }
.nx-section.nx-alt { background: var(--nx-light2); }
.nx-h2 {
	display: flex; align-items: center; gap: 24px;
	max-width: var(--nx-width); margin: 0 auto 38px;
	font-size: 27px; font-weight: 600; letter-spacing: 1px;
	color: var(--nx-dark); text-transform: uppercase; text-align: center;
}
.nx-h2::before, .nx-h2::after { content: ""; flex: 1; height: 1px; background: #d9d9d9; }
.nx-empty { text-align: center; color: #9aa0a6; padding: 20px 0; }
.nx-head-row { max-width: var(--nx-width); margin: 0 auto 26px; display: flex; justify-content: space-between; align-items: center; }
.nx-head-row .nx-h2 { margin: 0; max-width: none; flex: 1; }

/* ---------- Hero swiper (full screen) ---------- */
.nx-hero { position: relative; background: var(--nx-dark); overflow: hidden; }
.nx-hero-swiper { height: 100vh; }
@supports (height: 100svh) {
	.nx-hero-swiper { height: 100svh; }
}
@media (max-width: 768px) {
	.nx-hero-swiper { height: 72svh; min-height: 420px; }
}
.nx-hero-swiper .swiper-slide { position: relative; overflow: hidden; }
.nx-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; background-repeat: no-repeat; }
.nx-hero .swiper-slide-inner {
	position: absolute; inset: 0; display: flex; align-items: center;
	text-decoration: none;
}
.swiper-slide-contents {
	position: relative;
	width: 100%; max-width: var(--nx-width); margin: 0 auto; padding: 0 20px;
	color: #fff;
}
.nx-slide-heading {
	font-size: clamp(30px, 4vw, 50px); font-weight: 700; letter-spacing: 3px;
	margin: 0 0 14px; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.4);
	max-width: 560px;
}
.nx-slide-desc {
	font-size: clamp(14px, 1.5vw, 19px); line-height: 1.55; color: #f2f2f2;
	margin: 0 0 26px; max-width: 520px; text-shadow: 0 1px 8px rgba(0,0,0,.45);
}
.nx-slide-btn {
	display: inline-block; background: var(--nx-red); color: #fff;
	padding: 12px 32px; border-radius: 3px; font-weight: 500;
	font-size: 14px; letter-spacing: 1px; transition: background .2s;
}
.nx-slide-btn:hover { background: var(--nx-red-dark); }
/* text slide-in animation on active slide (reference: fadeInRight) */
@keyframes nxFadeInRight {
	from { opacity: 0; transform: translate3d(80px, 0, 0); }
	to   { opacity: 1; transform: none; }
}
.nx-hero-swiper .swiper-slide-active .swiper-slide-contents {
	animation: nxFadeInRight 1s both;
}
/* arrows */
.nx-swiper-arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
	width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
	cursor: pointer; color: #fff;
}
.nx-swiper-arrow svg { width: 26px; height: 26px; fill: #fff; filter: drop-shadow(0 1px 4px rgba(0,0,0,.5)); transition: fill .2s; }
.nx-swiper-arrow:hover svg { fill: var(--nx-red); }
.nx-swiper-arrow.prev { left: 12px; }
.nx-swiper-arrow.next { right: 12px; }
.nx-hero-dots { bottom: 16px !important; }
.nx-hero-dots .swiper-pagination-bullet { width: 10px; height: 10px; background: rgba(255,255,255,.5); opacity: 1; }
.nx-hero-dots .swiper-pagination-bullet-active { background: var(--nx-red); }

/* ---------- Head-row arrows (boxed carousels) ---------- */
.nx-car-arrows { display: flex; gap: 8px; }
.nx-car-arrows .nx-swiper-arrow {
	position: static; transform: none;
	width: 40px; height: 40px; border: 1px solid #d9d9d9; border-radius: 50%;
	background: #fff; color: var(--nx-dark);
}
.nx-car-arrows .nx-swiper-arrow svg { width: 14px; height: 14px; fill: currentColor; filter: none; }
.nx-car-arrows .nx-swiper-arrow:hover { background: var(--nx-red); border-color: var(--nx-red); color: #fff; }

/* ---------- Categories swiper (center mode: only the center tile lit) ---------- */
.nx-cats-wrap { position: relative; max-width: var(--nx-width); margin: 0 auto; }
.nx-cats-wrap .nx-swiper-arrow.prev { left: -8px; color: var(--nx-dark); }
.nx-cats-wrap .nx-swiper-arrow.next { right: -8px; color: var(--nx-dark); }
.nx-cats-wrap .nx-swiper-arrow svg { fill: currentColor; filter: none; }
.nx-cats-wrap .nx-swiper-arrow:hover svg { fill: var(--nx-red); }
.nx-cats-swiper { padding: 10px 0 6px; overflow: hidden; }
.nx-cats-swiper .swiper-slide {
	opacity: .35;
	transform: scale3d(.85, .85, 1);
	transition: all .3s ease-in-out;
	display: flex; justify-content: center;
}
.nx-cats-swiper .swiper-slide-active { opacity: 1; transform: scale3d(1, 1, 1); }
.nx-cat {
	display: flex; flex-direction: column; align-items: center; gap: 12px;
	width: 210px; background: #fff; border: 1px solid var(--nx-border);
	border-radius: 6px; padding: 24px 12px 16px; text-decoration: none;
	transition: box-shadow .2s, transform .2s;
}
.nx-cat:hover { box-shadow: 0 10px 26px rgba(22,22,22,.12); transform: translateY(-3px); border-color: transparent; }
.nx-cat-icon { width: 130px; height: 130px; display: flex; align-items: center; justify-content: center; }
.nx-cat-icon img { max-width: 130px; max-height: 130px; object-fit: contain; }
.nx-cat-name { font-weight: 600; color: var(--nx-dark); font-size: 16px; text-align: center; }
.nx-cat-more { color: var(--nx-red); font-size: 12px; font-weight: 600; letter-spacing: 1px; }

/* ---------- Product grid ---------- */
.nx-grid { max-width: var(--nx-width); margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.nx-p-card {
	background: #fff; border: 1px solid var(--nx-border); border-radius: 6px;
	padding: 20px 16px; text-align: center; display: flex; flex-direction: column; gap: 10px;
	transition: box-shadow .2s;
}
.nx-p-card:hover { box-shadow: 0 10px 26px rgba(22,22,22,.12); }
.nx-p-thumb { position: relative; display: flex; align-items: center; justify-content: center; height: 210px; margin-bottom: 6px; }
.nx-p-thumb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.nx-p-sale { position: absolute; top: 6px; left: 6px; background: var(--nx-red); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 3px; letter-spacing: 1px; }
.nx-p-title { font-size: 15px; font-weight: 500; line-height: 1.4; margin: 0; min-height: 42px; }
.nx-p-title a { color: var(--nx-dark); text-decoration: none; }
.nx-p-title a:hover { color: var(--nx-red); }
.nx-p-price { color: var(--nx-red); font-weight: 700; font-size: 16px; }
.nx-p-price del { color: #9aa0a6; font-weight: 400; font-size: 13px; margin-right: 6px; }
.nx-p-price ins { text-decoration: none; }

/* ---------- Product swiper (center mode: only center slide lit) ---------- */
.nx-prod-wrap { position: relative; max-width: var(--nx-width); margin: 0 auto; }
.nx-prod-wrap .nx-swiper-arrow.prev { left: -8px; color: var(--nx-dark); }
.nx-prod-wrap .nx-swiper-arrow.next { right: -8px; color: var(--nx-dark); }
.nx-prod-wrap .nx-swiper-arrow svg { fill: currentColor; filter: none; }
.nx-prod-wrap .nx-swiper-arrow:hover svg { fill: var(--nx-red); }
.nx-prod-swiper { padding: 4px 4px 10px; overflow: hidden; }
.nx-prod-swiper .swiper-slide {
	height: auto; display: flex; justify-content: center;
	opacity: .35;
	transform: scale3d(.85, .85, 1);
	transition: all .3s ease-in-out;
}
.nx-prod-swiper .swiper-slide-active { opacity: 1; transform: scale3d(1, 1, 1); }
.nx-prod-swiper .nx-p-card { width: 100%; max-width: 250px; }

/* ---------- Contact list with icons ---------- */
.nx-contact-list { max-width: var(--nx-width); margin: 0 auto; display: grid; grid-template-columns: repeat(7, 1fr); gap: 12px; }
.nx-contact-item {
	display: flex; flex-direction: column; align-items: center; gap: 7px;
	border: 1px solid var(--nx-border); border-radius: 6px; padding: 16px 6px;
	text-decoration: none; color: var(--nx-gray); font-size: 12px; text-align: center; transition: all .2s;
}
.nx-contact-item:hover { border-color: var(--nx-red); color: var(--nx-red); }
.nx-contact-item b { color: var(--nx-dark); font-size: 12px; letter-spacing: 1px; }
.nx-ci { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; flex: 0 0 36px; }
.nx-ci svg { width: 18px; height: 18px; }
.nx-ci-mail, .nx-ci-support, .nx-ci-service { background: var(--nx-red); }
.nx-ci-wa { background: #25d366; }
.nx-ci-tg { background: #229ed9; }
.nx-ci-fb { background: #1877f2; }
.nx-ci-wx { background: #2dc100; }
.nx-inquiry-form { background: #fff; border: 1px solid var(--nx-border); border-radius: 6px; padding: 26px; }
.nx-inquiry-form h3 { margin: 0 0 16px; color: var(--nx-dark); font-size: 20px; }
.nx-inquiry-form input, .nx-inquiry-form textarea {
	width: 100%; border: 1px solid #d9d9d9; border-radius: 4px; padding: 10px 12px;
	font-size: 14px; margin-bottom: 12px; font-family: inherit;
}
.nx-inquiry-form button {
	background: var(--nx-red); color: #fff; border: none; border-radius: 4px;
	padding: 10px 34px; font-weight: 600; cursor: pointer; font-size: 14px;
}
.nx-inquiry-form button:hover { background: var(--nx-red-dark); }

/* ---------- Info strip ---------- */
.nx-strip-wrap { padding-top: 30px; padding-bottom: 70px; }
.nx-strip { max-width: var(--nx-width); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.nx-strip-card {
	display: flex; align-items: center; gap: 18px;
	background: #fff; border: 1px solid var(--nx-border); border-radius: 6px;
	padding: 24px 28px; text-decoration: none; transition: box-shadow .2s, transform .2s;
}
.nx-strip-card:hover { box-shadow: 0 10px 26px rgba(22,22,22,.12); transform: translateY(-2px); }
.nx-si { width: 46px; height: 46px; flex: 0 0 46px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--nx-light2); color: var(--nx-red); }
.nx-si svg { width: 26px; height: 26px; }
.nx-st { display: flex; flex-direction: column; gap: 4px; }
.nx-strip-card h4 { margin: 0; font-size: 18px; font-weight: 700; color: var(--nx-dark); }
.nx-learn { color: var(--nx-red); font-weight: 600; font-size: 13px; letter-spacing: 1px; }

/* ---------- Footer ---------- */
.nx-footer { background: var(--nx-dark); color: #b9b9b9; font-size: 14px; }
.nx-footer-main { max-width: var(--nx-width); margin: 0 auto; padding: 54px 20px 40px; display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.nx-footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; letter-spacing: 2px; margin: 0 0 18px; }
.nx-footer-col ul { list-style: none; margin: 0; padding: 0; }
.nx-footer-col ul li { margin-bottom: 10px; }
.nx-footer-col ul a { color: #b9b9b9; text-decoration: none; }
.nx-footer-col ul a:hover { color: var(--nx-red); }
.nx-footer-logo-link { display: inline-block; }
.nx-footer-logo-chip { display: inline-block; background: #f5f5f5; border-radius: 10px; padding: 10px 16px; }
.nx-footer-logo { max-width: 170px; height: auto; display: block; }
.nx-footer-logo-text { color: #fff; font-size: 26px; font-weight: 800; letter-spacing: 1px; }
.nx-footer-logo-text span { color: var(--nx-red); }
.nx-footer-tag { margin: 14px 0 18px; line-height: 1.7; }
.nx-socials { display: flex; flex-wrap: wrap; gap: 10px; }
.nx-socials a {
	color: #d9d9d9; text-decoration: none; border: 1px solid rgba(255,255,255,.25);
	padding: 5px 12px; border-radius: 999px; font-size: 12px;
}
.nx-socials a:hover { border-color: var(--nx-red); color: #fff; }
.nx-subscribe { display: flex; gap: 8px; }
.nx-subscribe input { flex: 1; min-width: 0; padding: 10px 12px; border: none; border-radius: 4px; font-size: 13px; }
.nx-subscribe button { background: var(--nx-red); color: #fff; border: none; padding: 10px 18px; border-radius: 4px; font-weight: 600; cursor: pointer; }
.nx-subscribe button:hover { background: var(--nx-red-dark); }
.nx-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.nx-footer-bottom-inner { max-width: var(--nx-width); margin: 0 auto; padding: 18px 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; }
.nx-pay { display: flex; gap: 8px; align-items: center; }
.nx-pay img { height: 26px; width: auto; background: #fff; border-radius: 3px; padding: 2px 4px; }

/* ---------- Floating contact ---------- */
.nx-float { position: fixed; right: 14px; bottom: 90px; z-index: 90; display: flex; flex-direction: column; gap: 8px; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
.nx-float.nx-float--hidden { opacity: 0; visibility: hidden; pointer-events: none; transform: translateX(18px); }
#ast-scroll-top { transition: opacity .2s ease, visibility .2s; }
#ast-scroll-top.nx-float--hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.nx-float a {
	width: 42px; height: 42px; border-radius: 50%; background: var(--nx-red); color: #fff;
	display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700;
	text-decoration: none; box-shadow: 0 4px 12px rgba(223,69,62,.4);
}
.nx-float a:hover { background: var(--nx-red-dark); }
.nx-float a svg, .nx-float-mail > svg, .nx-float-wx svg { width: 20px; height: 20px; }
.nx-float-wa { background: #25d366 !important; }
.nx-float-wa:hover { background: #1db657 !important; }
.nx-float-tg { background: #229ed9 !important; }
.nx-float-tg:hover { background: #1b86b8 !important; }
.nx-float-fb { background: #1877f2 !important; }
.nx-float-fb:hover { background: #1263d1 !important; }
.nx-float-wx {
	position: relative; width: 42px; height: 42px; border-radius: 50%; background: #2dc100 !important; color: #fff;
	display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px rgba(45,193,0,.4);
}
.nx-float-wx:hover { background: #26a600 !important; }
.nx-float-wx:hover { background: #26a600 !important; }
.nx-float-chat {
	position: relative; width: 42px; height: 42px; border-radius: 50%; background: var(--nx-red); color: #fff;
	display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px rgba(223,69,62,.4);
}
.nx-float-chat:hover { background: var(--nx-red-dark); }
.nx-float-chat svg { width: 20px; height: 20px; }

/* ---------- Support chat panel ---------- */
.nx-chat-panel {
	position: fixed; right: 70px; bottom: 90px; width: 340px; height: 470px;
	background: #fff; border-radius: 14px; box-shadow: 0 16px 48px rgba(0,0,0,.3);
	display: none; flex-direction: column; overflow: hidden; z-index: 97;
}
.nx-chat-panel.open { display: flex; }
.nx-chat-head { background: var(--nx-red); color: #fff; padding: 14px 16px; display: flex; align-items: center; gap: 10px; }
.nx-chat-avatar { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; flex: 0 0 38px; }
.nx-chat-avatar svg { width: 22px; height: 22px; }
.nx-chat-title { flex: 1; font-weight: 700; font-size: 14px; }
.nx-chat-status { font-weight: 400; font-size: 11.5px; opacity: .92; display: flex; align-items: center; gap: 5px; }
.nx-chat-status i { width: 8px; height: 8px; border-radius: 50%; background: #7cfc9a; display: inline-block; }
.nx-chat-close { background: none; border: none; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; padding: 0; }
.nx-chat-msgs { flex: 1; overflow-y: auto; padding: 14px; background: #f5f6f8; display: flex; flex-direction: column; gap: 8px; }
.nx-chat-msg { max-width: 80%; padding: 9px 12px; border-radius: 10px; font-size: 13px; line-height: 1.5; overflow-wrap: break-word; }
.nx-chat-msg.user { align-self: flex-end; background: var(--nx-red); color: #fff; border-bottom-right-radius: 3px; }
.nx-chat-msg.support { align-self: flex-start; background: #fff; border: 1px solid var(--nx-border); color: var(--nx-gray); border-bottom-left-radius: 3px; }
.nx-chat-input { display: flex; gap: 8px; padding: 10px; border-top: 1px solid var(--nx-border); background: #fff; }
.nx-chat-input input { flex: 1; border: 1px solid var(--nx-border); border-radius: 20px; padding: 9px 14px; font-size: 13px; outline: none; font-family: inherit; }
.nx-chat-input input:focus { border-color: var(--nx-red); }
.nx-chat-input button { background: var(--nx-red); color: #fff; border: none; border-radius: 50%; width: 38px; height: 38px; padding: 0; box-sizing: border-box; cursor: pointer; display: flex; align-items: center; justify-content: center; flex: 0 0 38px; }
.nx-chat-input button svg { width: 17px; height: 17px; display: block; fill: #fff; }
.nx-chat-input button:hover { background: var(--nx-red-dark); }
.nx-chat-extra { padding: 0 10px 10px; background: #fff; border-top: 1px dashed var(--nx-border); }
.nx-chat-extra input[type="email"] { width: 100%; box-sizing: border-box; margin-top: 8px; border: 1px solid var(--nx-border); border-radius: 16px; padding: 7px 12px; font-size: 12.5px; outline: none; font-family: inherit; }
.nx-chat-extra input[type="email"]:focus { border-color: var(--nx-red); }
.nx-chat-resume { display: inline-block; margin-top: 6px; background: none; border: none; color: var(--nx-red); font-size: 11.5px; cursor: pointer; text-decoration: underline; padding: 0; font-family: inherit; }
.nx-chat-resume-hint { font-size: 11px; color: var(--nx-gray); margin-top: 4px; min-height: 14px; }
.nx-float-wx {
	position: relative; width: 42px; height: 42px; border-radius: 50%; background: var(--nx-red); color: #fff;
	display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700;
	cursor: pointer; box-shadow: 0 4px 12px rgba(223,69,62,.4);
}
.nx-float-wx:hover { background: var(--nx-red-dark); }
.nx-float-mail {
	position: relative; width: 42px; height: 42px; border-radius: 50%; background: var(--nx-red); color: #fff;
	display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700;
	cursor: pointer; box-shadow: 0 4px 12px rgba(223,69,62,.4);
}
.nx-float-mail:hover { background: var(--nx-red-dark); }
.nx-mail-pop {
	position: absolute; right: 54px; bottom: 0; width: 300px;
	background: #fff; border-radius: 10px; box-shadow: 0 10px 32px rgba(0,0,0,.3);
	padding: 14px; display: none; z-index: 96; text-align: left;
}
.nx-float-mail.open .nx-mail-pop { display: block; }
.nx-mail-head { display: flex; justify-content: space-between; align-items: center; color: var(--nx-dark); font-weight: 600; font-size: 14px; margin-bottom: 10px; }
.nx-mail-close { background: none; border: none; font-size: 20px; line-height: 1; cursor: pointer; color: #8a8a8a; padding: 0; }
.nx-mail-close:hover { color: var(--nx-red); }
.nx-mail-form input, .nx-mail-form textarea {
	width: 100%; border: 1px solid var(--nx-border); border-radius: 6px; padding: 9px 10px;
	font-size: 13px; margin-bottom: 10px; font-family: inherit; resize: vertical;
}
.nx-mail-form button { background: var(--nx-red); color: #fff; border: none; border-radius: 6px; padding: 9px 22px; font-weight: 700; cursor: pointer; font-size: 13px; }
.nx-mail-form button:disabled { opacity: .6; cursor: default; }
.nx-mail-status { display: inline-block; font-size: 12px; color: #2e9e5b; margin-left: 10px; }
.nx-qr-modal {
	position: fixed; inset: 0; background: rgba(0,0,0,.82);
	display: none; align-items: center; justify-content: center; z-index: 99999;
}
.nx-qr-modal.open { display: flex; }
.nx-qr-modal-inner {
	position: relative; background: #fff; padding: 18px; border-radius: 12px;
	max-width: min(600px, 88vw);
}
.nx-qr-modal-inner img { width: 100%; height: auto; display: block; border-radius: 4px; }

/* ---------- Single product page (improved layout, light theme) ---------- */
body.single-product { background: #fff; }
.nx-pdp { max-width: 1140px; margin: 0 auto; padding: 40px 20px 60px; }
.nx-card { background: #fff; border: 1px solid var(--nx-border); border-radius: 12px; }

.nx-pdp-top { display: grid; grid-template-columns: 1.05fr 1fr; gap: 26px; align-items: start; }
.nx-pdp-gallery { padding: 18px; display: flex; flex-direction: column; gap: 14px; }
.nx-pdp-main { background: var(--nx-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; min-height: 380px; }
.nx-pdp-main img { max-width: 100%; max-height: 470px; object-fit: contain; }
.nx-pdp-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.nx-pdp-thumb { width: 76px; height: 76px; background: #fff; border: 2px solid var(--nx-border); border-radius: 8px; padding: 4px; cursor: pointer; overflow: hidden; }
.nx-pdp-thumb img { width: 100%; height: 100%; object-fit: contain; }
.nx-pdp-thumb.active { border-color: var(--nx-red); }

.nx-pdp-title { color: var(--nx-dark); font-size: 32px; font-weight: 700; line-height: 1.2; margin: 0 0 8px; }
.nx-pdp-sub { color: var(--nx-gray); font-size: 17px; margin: 0 0 24px; }
.nx-pdp-feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; }
.nx-pdp-feat { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.nx-pdp-feat-icon svg { width: 34px; height: 34px; color: var(--nx-red); }
.nx-pdp-feat-value { color: var(--nx-dark); font-weight: 600; font-size: 14px; }
.nx-pdp-feat-label { color: #8a8a8a; font-size: 12px; }

.nx-pdp-buy { padding: 20px; }
.nx-pdp-price-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 8px; }
.nx-pdp-price { color: var(--nx-red); font-size: 30px; font-weight: 800; }
.nx-pdp-price del { color: #9aa0a6; font-size: 17px; font-weight: 400; }
.nx-pdp-price ins { text-decoration: none; }
.nx-pdp-stock { display: inline-flex; gap: 7px; align-items: center; color: #2e9e5b; font-size: 14px; }
.nx-pdp-stock svg { width: 15px; height: 15px; }
.nx-pdp-stock.out { color: #e05252; }
.nx-pdp-cart form.cart { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 0; }
.nx-pdp-cart .quantity input,
.nx-pdp-cart .quantity .qty { background: #fff; border: 1px solid var(--nx-border); color: var(--nx-dark); width: 64px; height: 44px; text-align: center; border-radius: 6px; }
.nx-pdp-cart button.single_add_to_cart_button {
	background: var(--nx-red); color: #fff; border: none; border-radius: 6px;
	height: 44px; padding: 0 30px; font-weight: 700; cursor: pointer; font-size: 15px;
}
.nx-pdp-cart button.single_add_to_cart_button:hover { background: var(--nx-red-dark); }
.nx-pdp-cart .nx-buy-now-btn {
	background: #fff; color: var(--nx-dark); border: 1.5px solid var(--nx-dark);
	height: 44px; padding: 0 26px; border-radius: 6px; font-weight: 700; cursor: pointer; font-size: 15px;
}
.nx-pdp-cart .nx-buy-now-btn:hover { background: var(--nx-dark); color: #fff; }
.nx-pdp-cart .variations_form .reset_variations { display: none !important; }
.nx-pdp-cart .variations_form select { background: #fff; color: var(--nx-dark); border: 1px solid var(--nx-border); border-radius: 6px; padding: 9px; }
.nx-pdp-cart .variations_form .label { color: var(--nx-gray); }
.nx-pdp-cart .variations_form .reset_variations { color: var(--nx-red); }
.nx-pdp-meta { margin-top: 18px; border-top: 1px solid var(--nx-border); padding-top: 12px; }
.nx-pdp-meta-row { display: flex; gap: 10px; padding: 4px 0; font-size: 14px; }
.nx-pdp-meta-row span { color: #8a8a8a; width: 84px; flex: 0 0 84px; }
.nx-pdp-meta-row b, .nx-pdp-meta-row a { color: var(--nx-dark); font-weight: 500; }
.nx-pdp-meta-row a:hover { color: var(--nx-red); }

.nx-pdp-specs { margin-top: 26px; padding: 26px; }
.nx-pdp-h2 { color: var(--nx-dark); font-size: 24px; font-weight: 700; letter-spacing: 1px; margin: 0 0 14px; }
.nx-pdp-intro { color: var(--nx-gray); font-size: 14px; line-height: 1.7; margin-bottom: 18px; }
.nx-pdp-desc-html { font-size: 14px; color: var(--nx-gray); line-height: 1.9; }
.nx-pdp-desc-html h5 { color: var(--nx-dark); font-size: 16px; font-weight: 700; margin: 22px 0 8px; }
.nx-pdp-desc-html p { margin: 0 0 14px; }
.nx-pdp-desc-html ul { margin: 0 0 14px; padding-left: 20px; list-style: disc; }
.nx-pdp-desc-html li { margin-bottom: 5px; }
.nx-pdp-desc-html img { max-width: 100%; height: auto; }
.nx-pdp-desc-html table { width: 100%; border-collapse: collapse; margin: 14px 0; }
.nx-pdp-desc-html td, .nx-pdp-desc-html th { border: 1px solid var(--nx-border); padding: 6px 10px; font-size: 13px; text-align: center; }
.nx-pdp-desc-html strong { color: var(--nx-dark); }
.nx-pdp-tables { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.nx-pdp-table { padding: 18px; }
.nx-pdp-table h3 { color: var(--nx-dark); font-size: 15px; margin: 0 0 10px; }
.nx-pdp-table table { width: 100%; border-collapse: collapse; }
.nx-pdp-table td { padding: 9px 10px; border-bottom: 1px solid var(--nx-border); font-size: 13.5px; color: var(--nx-gray); vertical-align: top; }
.nx-pdp-table td:first-child { color: #8a8a8a; width: 42%; }

.nx-pdp-cards { margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.nx-pdp-card { display: flex; gap: 12px; align-items: flex-start; background: var(--nx-light); border: 1px solid var(--nx-border); border-radius: 10px; padding: 16px; }
.nx-pdp-card-icon svg { width: 28px; height: 28px; color: var(--nx-red); flex: 0 0 28px; }
.nx-pdp-card h4 { color: var(--nx-dark); font-size: 14.5px; margin: 0 0 4px; }
.nx-pdp-card p { color: var(--nx-gray); font-size: 12.5px; margin: 0; line-height: 1.5; }

.nx-pdp .related.products, .nx-pdp .upsells.products { margin-top: 34px; }
.nx-pdp .related.products > h2, .nx-pdp .upsells.products > h2 { color: var(--nx-dark); font-size: 22px; }
.nx-pdp .products li.product .woocommerce-loop-product__title { color: var(--nx-dark); }
.nx-pdp .products li.product .price { color: var(--nx-red); }
.nx-pdp .products li.product .button { background: var(--nx-red); color: #fff; border-radius: 4px; }

@media (max-width: 921px) {
	.nx-pdp-top { grid-template-columns: 1fr; }
	.nx-pdp-tables { grid-template-columns: 1fr; }
	.nx-pdp-cards { grid-template-columns: 1fr 1fr; }
	.nx-pdp-feats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1000px) {
	.nx-grid { grid-template-columns: repeat(2, 1fr); }
	.nx-footer-main { grid-template-columns: 1fr 1fr; }
	.nx-strip { grid-template-columns: 1fr; }
	.nx-contact-list { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 560px) {
	.nx-grid { grid-template-columns: 1fr; }
	.nx-footer-main { grid-template-columns: 1fr; }
	.nx-section { padding: 40px 14px; }
	.nx-contact-list { grid-template-columns: repeat(2, 1fr); }
}

/* v3.4.22: mobile guards for the custom PDP layout 鈥?grid children shrink,
   and stored long-description spec tables scroll inside their cell instead of
   widening the page (375px viewport measured 579px scroll-width before). */
@media (max-width: 921px) {
	.nx-pdp-top > * { min-width: 0; }
	.nx-pdp-desc-html table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; width: 100% !important; max-width: 100%; table-layout: fixed; }
	.nx-spec-table td, .nx-spec-table th, .nx-pdp-desc-html table td, .nx-pdp-desc-html table th { overflow-wrap: anywhere; word-break: break-word; padding: 6px 8px; font-size: 13px; }
	.nx-pdp-table table { table-layout: fixed; }
	.nx-pdp-table td { overflow-wrap: anywhere; }
	html, body.single-product { overflow-x: clip; }
}

/* Cart: item selection column */
.woocommerce-cart-form .nx-sel-col { width: 36px; text-align: center; }
.woocommerce-cart-form .nx-item-sel,
.woocommerce-cart-form #nx-sel-all { width: 16px; height: 16px; accent-color: var(--nx-red, #e02b20); cursor: pointer; vertical-align: middle; }

/* Front page: hide the page title so the transparent header overlays the hero as before */
body.home .entry-title,
body.page-id-156 .entry-title { display: none !important; }
/* Astra keeps a 32px top margin on .entry-header even with the title hidden,
   which pushes the hero down and exposes the white body background above it
   (the white logo then becomes invisible on that strip). Collapse it. */
body.home .entry-header,
body.page-id-156 .entry-header { margin-top: 0 !important; }
/* Block margin collapse still pushes the hero down 24px; contain it. */
body.home .site-content > .ast-container,
body.page-id-156 .site-content > .ast-container { display: flow-root; padding-top: 0 !important; margin-top: 0 !important; }
/* Astra still leaves a 24px gap above .entry-content on the static front
   page (not padding/margin/pseudo 鈥?probed in DevTools); pull the content
   back up so the hero starts at y=0 under the transparent header. */
body.home .entry-content,
body.page-id-156 .entry-content { margin-top: -24px !important; }

/* Cart: Taobao-style selection bar + qty steppers */
#nx-sel-bar { display: flex; justify-content: space-between; align-items: center; margin: 0 0 16px; padding: 12px 18px; background: #fff5f4; border: 1px solid #ffd9d5; border-radius: 6px; }
#nx-sel-bar .nx-sel-count b { color: var(--nx-red, #e02b20); }
#nx-sel-bar .nx-sel-total b { font-size: 18px; color: var(--nx-red, #e02b20); }
.checkout-button.nx-btn-off { opacity: 0.45; pointer-events: auto; }
.quantity { display: inline-flex; align-items: center; gap: 4px; }
.quantity .nx-step { width: 28px; height: 30px; min-height: 30px; line-height: 28px; padding: 0; border: 1px solid #d9d9d9; background: #fafafa; border-radius: 4px; font-size: 16px; font-weight: 700; color: #333; cursor: pointer; }
.quantity .nx-step:hover { border-color: var(--nx-red, #e02b20); color: var(--nx-red, #e02b20); background: #fff; }

/* Search results heading (rendered by nexhobby_search_title). */
.nx-search-header { margin: 28px 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--nx-border, #e8e8e8); }
.nx-search-header .page-title { margin: 0 0 6px; }
.nx-search-count { margin: 0; color: var(--nx-gray, #4B4F58); }
/* Mobile header: some mobile-only rule leaves the cart link pointer-events:none
   (desktop wrap keeps auto), so tapping the cart icon on phones does nothing.
   Force it clickable inside the mobile header only (desktop untouched). */
@media (max-width: 921px) {
  .ast-mobile-header-wrap .ast-site-header-cart-li a.cart-container { pointer-events: auto !important; }
}
/* ======================================================================
   v3.4.27 鈥?Mobile cart & checkout layout (reference: GleeHobby mobile)
   Scope: <=921px only. Desktop layout untouched.
   ====================================================================== */
@media (max-width: 921px) {

	/* ---------- Cart: card-ify items ---------- */
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart {
		display: block;
		background: transparent;
		border: 0 !important;
		padding: 0 !important;
		margin: 0 !important;
	}
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart thead { display: none !important; }
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tbody { display: block; }

	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tr.cart_item {
		display: block;
		position: relative;
		background: #fff;
		border: 1px solid var(--nx-border, #e8e8e8);
		border-radius: 12px;
		margin: 0 0 12px;
		padding: 12px 12px 14px;
	}
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tr.cart_item::after {
		content: ""; display: table; clear: both;
	}

	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart td {
		display: block;
		width: 100% !important;
		text-align: left !important;
		border: 0 !important;
		padding: 0 !important;
		background: none !important;
	}
	/* Kill Astra's responsive "Label:" pseudo-elements (source of the stray ":") */
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart td::before { content: none !important; }

	/* selection checkbox (feature kept) pinned top-right of the card */
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart td.nx-sel-col {
		display: block !important;
		position: absolute !important;
		top: 14px; right: 14px;
		width: auto !important;
		text-align: right !important;
	}
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart td.product-remove {
		display: block !important;
		position: absolute !important;
		top: 12px; right: 46px;
		width: auto !important;
	}
	body.woocommerce-cart td.product-remove a.remove {
		display: inline-flex !important;
		align-items: center; justify-content: center;
		width: 26px !important; height: 26px !important;
		line-height: 25px !important;
		margin: 0 !important;
		font-size: 15px !important;
		color: #9aa0a6 !important;
		border: 1px solid #e5e7eb !important;
		border-radius: 50% !important;
		background: #fff !important;
	}

	body.woocommerce-cart td.product-thumbnail {
		float: left;
		width: 76px !important;
		margin: 2px 14px 6px 0 !important;
	}
	body.woocommerce-cart td.product-thumbnail img {
		width: 76px !important; height: auto !important;
		border-radius: 8px;
		border: 1px solid var(--nx-border, #e8e8e8);
	}

	body.woocommerce-cart td.product-name {
		overflow: hidden;
		margin: 0 0 4px !important;
		font-size: 15px; line-height: 1.35;
		padding-right: 78px !important; /* clear the pinned checkbox/remove row */
	}
	body.woocommerce-cart td.product-name a { color: var(--nx-dark, #161616); font-weight: 600; }
	body.woocommerce-cart td.product-name .variation {
		margin: 4px 0 0 !important; font-size: 13px; color: var(--nx-gray, #4B4F58);
	}
	body.woocommerce-cart td.product-name .variation p { margin: 0; }

	/* price + subtotal share one row */
	body.woocommerce-cart td.product-price {
		display: block !important;
		width: 46% !important; float: left;
		font-size: 13px; color: var(--nx-gray, #4B4F58);
	}
	body.woocommerce-cart td.product-subtotal {
		display: block !important;
		width: 54% !important; float: right;
		text-align: right !important;
		font-size: 15px; font-weight: 700; color: var(--nx-dark, #161616);
	}
	body.woocommerce-cart td.product-quantity {
		clear: both;
		padding-top: 8px !important;
	}
	body.woocommerce-cart td.product-quantity .quantity {
		display: inline-flex; align-items: center; gap: 6px; margin: 0;
	}
	body.woocommerce-cart .quantity .qty {
		width: 46px !important; height: 34px !important;
		padding: 0 4px !important; text-align: center;
		border: 1px solid var(--nx-border, #e8e8e8) !important;
		border-radius: 8px !important;
	}
	body.woocommerce-cart .quantity .nx-step {
		width: 32px; height: 34px; min-height: 34px; line-height: 32px;
		border-radius: 8px;
	}

	/* ---------- Actions (coupon / update) as its own card ---------- */
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart td.actions {
		background: #fff;
		border: 1px solid var(--nx-border, #e8e8e8) !important;
		border-radius: 12px;
		padding: 12px !important;
		margin: 0 0 16px;
		position: relative;
	}
	body.woocommerce-cart td.actions::before { content: none !important; }
	body.woocommerce-cart td.actions .coupon { display: block; }
	body.woocommerce-cart td.actions .coupon .input-text {
		width: 100% !important; margin: 0 0 8px !important;
	}
	body.woocommerce-cart td.actions .coupon button[name="apply_coupon"] {
		width: 100%;
	}
	/* JS-injected "Add coupons" toggle (cart only) */
	.nx-coupon-toggle {
		display: flex; align-items: center; justify-content: space-between;
		width: 100%;
		margin: 0; padding: 12px 2px;
		background: none; border: 0;
		font-size: 14px; font-weight: 600; color: var(--nx-dark, #161616);
		cursor: pointer;
	}
	.nx-coupon-toggle .nx-chev { transition: transform .2s ease; }
	.nx-coupon-toggle.nx-open .nx-chev { transform: rotate(180deg); }
	body.woocommerce-cart td.actions .coupon.nx-coupon-hidden { display: none; }
	body.woocommerce-cart td.actions .nx-update-cart-row {
		margin-top: 10px; text-align: right;
	}
	body.woocommerce-cart td.actions [name="update_cart"] { width: 100%; }
	body.woocommerce-cart td.actions .nx-update-cart-row > [name="update_cart"] { width: auto; display: inline-block; }

	/* ---------- Totals card ---------- */
	body.woocommerce-cart .cart_totals h2 { display: none; }
	body.woocommerce-cart .cart_totals .shop_table {
		display: block;
		background: #fff;
		border: 1px solid var(--nx-border, #e8e8e8) !important;
		border-radius: 12px;
		padding: 4px 14px 10px;
	}
	body.woocommerce-cart .cart_totals tbody { display: block; }
	body.woocommerce-cart .cart_totals tr {
		display: flex; align-items: center; justify-content: space-between;
		padding: 10px 0 0; margin: 0;
		border: 0 !important;
	}
	body.woocommerce-cart .cart_totals th,
	body.woocommerce-cart .cart_totals td {
		display: inline-block; width: auto !important;
		border: 0 !important; padding: 0 !important;
		background: none !important;
	}
	body.woocommerce-cart .cart_totals th {
		font-weight: 500; color: var(--nx-gray, #4B4F58);
		font-size: 14px;
	}
	body.woocommerce-cart .cart_totals td { text-align: right !important; padding: 0 !important; }
	body.woocommerce-cart .cart_totals tr.order-total th {
		color: var(--nx-dark, #161616); font-weight: 700; font-size: 15px;
	}
	/* WooCommerce pulse on the updating row */
	body.woocommerce-cart .cart_totals tr.order-total td strong { font-size: 16px; }
	body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals { display: block; }
	body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals th {
		padding: 8px 0 4px !important;
	}
	body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals td {
		display: block;
		text-align: left !important;
		width: 100% !important;
		padding: 0 0 4px !important;
	}
	body.woocommerce-cart .cart_totals .woocommerce-shipping-methods li { list-style: none; margin: 0; }
	body.woocommerce-cart .cart_totals .woocommerce-shipping-destination { font-size: 13px; color: var(--nx-gray, #4B4F58); margin: 4px 0 6px !important; }
	body.woocommerce-cart .cart_totals .shipping-calculator-button { font-size: 13px; }
	body.woocommerce-cart .cart_totals .shipping-calculator-form { display: none !important; } /* opened only after user taps (JS re-shows if requested) */
	body.woocommerce-cart .cart_totals .checkout-button,
	body.woocommerce-cart .checkout-button {
		width: 100%;
	}

	/* ---------- Checkout top "Order summary" pill ---------- */
	#nx-co-summary { display: block; margin: 0 0 14px; }
	.nx-co-summary-btn {
		display: flex; align-items: center; justify-content: space-between;
		width: 100%;
		padding: 12px 16px;
		background: #fff;
		border: 1px solid var(--nx-border, #e8e8e8);
		border-radius: 10px;
		font-size: 14px; font-weight: 600; color: var(--nx-dark, #161616);
		cursor: pointer;
	}
	.nx-co-summary-btn b { font-weight: 700; }

	/* ---------- Checkout: calmer section cards ---------- */
	body.woocommerce-checkout .woocommerce-billing-fields,
	body.woocommerce-checkout .woocommerce-additional-fields,
	body.woocommerce-checkout #order_review_heading {
		margin: 18px 0 10px !important;
		font-size: 16px; letter-spacing: .04em; text-transform: uppercase;
		color: var(--nx-dark, #161616);
	}
	body.woocommerce-checkout #order_review table.shop_table {
		background: #fff;
		border: 1px solid var(--nx-border, #e8e8e8) !important;
		border-radius: 12px;
		padding: 6px 14px;
	}
	body.woocommerce-checkout #order_review table.shop_table tr,
	body.woocommerce-checkout #order_review table.shop_table tbody {
		display: block;
	}
	body.woocommerce-checkout #order_review table.shop_table tr {
		display: flex; align-items: center; justify-content: space-between;
		padding: 10px 0;
		border: 0 !important;
	}
	body.woocommerce-checkout #order_review table.shop_table th,
	body.woocommerce-checkout #order_review table.shop_table td {
		display: inline-block; width: auto !important;
		border: 0 !important; padding: 0 !important;
		background: none !important;
	}
	body.woocommerce-checkout #order_review table.shop_table td { text-align: right !important; }
	/* hide per-cell labels rendered by Astra's responsive rules */
	body.woocommerce-checkout #order_review table.shop_table td::before { content: none !important; }
	body.woocommerce-checkout #order_review .woocommerce-checkout-review-order table,
	body.woocommerce-checkout .woocommerce-checkout-payment {
		background: #fff !important;
		border: 1px solid var(--nx-border, #e8e8e8) !important;
		border-radius: 12px !important;
	}
	body.woocommerce-checkout .woocommerce-checkout-payment { padding: 6px 14px 14px; }
	body.woocommerce-checkout #place_order { width: 100%; }
}

/* Desktop: keep everything as-is */
@media (min-width: 922px) {
	#nx-co-summary { display: none !important; }
	.nx-coupon-toggle { display: none !important; }
	body.woocommerce-cart td.actions .coupon { display: block !important; }
	.nx-coupon-toggle.nx-open .nx-chev { transform: none; }
}
/* Desktop coupon always visible even if toggle state was left closed on mobile */
@media (min-width: 922px) {
	body.woocommerce-cart td.actions .coupon.nx-coupon-hidden { display: block !important; }
}
/* ======================================================================
   v3.4.27 鈥?Mobile cart refinements v2 (grid card layout, closer to Glee)
   Overrides the first-pass block layout above.
   ====================================================================== */
@media (max-width: 921px) {

	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart tr.cart_item {
		display: grid !important;
		grid-template-columns: 76px minmax(0, 1fr);
		grid-template-rows: auto auto auto auto;
		grid-template-areas:
			"img name"
			"img price"
			"img qty"
			"img sub";
		gap: 6px 12px;
		align-content: start;
		padding-bottom: 6px;
	}
	body.woocommerce-cart td.product-thumbnail {
		grid-area: img !important;
		float: none !important;
		position: relative !important;
		width: auto !important;
		margin: 0 !important;
		align-self: start;
	}
	body.woocommerce-cart td.product-name {
		grid-area: name !important;
		padding: 4px 6px 0 0 !important;
		margin: 0 !important;
		font-size: 14.5px;
	}
	body.woocommerce-cart td.product-price {
		grid-area: price !important;
		display: block !important;
		width: auto !important;
		float: none !important;
		font-size: 12.5px;
		margin: 0 !important;
	}
	body.woocommerce-cart td.product-quantity {
		grid-area: qty !important;
		padding-top: 2px !important;
		clear: none !important;
	}
	body.woocommerce-cart td.product-subtotal {
		grid-area: sub !important;
		display: block !important;
		width: auto !important;
		float: none !important;
		text-align: left !important;
		font-size: 14px;
		font-weight: 700;
		margin: 0 !important;
	}

	/* hide the big inline "Update cart" band on phones (qty auto-updates via JS) */
	body.woocommerce-cart td.actions [name="update_cart"] {
		display: none !important;
	}
	body.woocommerce-cart .nx-update-cart-row { display: none; }

	/* coupon toggle must actually hide the input row when collapsed */
	body.woocommerce-cart td.actions .coupon.nx-coupon-hidden,
	body.woocommerce-cart td.actions .coupon.nx-coupon-hidden .input-text,
	body.woocommerce-cart td.actions .coupon.nx-coupon-hidden button[name="apply_coupon"] {
		display: none !important;
	}
	body.woocommerce-cart td.actions .coupon {
		display: none;
	}
	body.woocommerce-cart td.actions .coupon.nx-coupon-open {
		display: block !important;
	}

	/* totals rows: label left / value right with space */
	body.woocommerce-cart .cart_totals tr {
		display: flex !important;
		align-items: flex-start;
		justify-content: space-between;
		gap: 10px;
	}
	body.woocommerce-cart .cart_totals th { flex: 1 0 auto; text-align: left; margin: 0; }
	body.woocommerce-cart .cart_totals td {
		flex: 0 1 auto;
		text-align: right !important;
		max-width: 62%;
	}
	body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals { display: block !important; }
	body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals th {
		display: block; width: 100%; padding: 6px 0 0 !important;
	}
	body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals td {
		display: block !important;
		width: 100% !important;
		max-width: 100%;
		text-align: left !important;
	}
	body.woocommerce-cart .cart_totals tr.order-total {
		border-top: 1px solid var(--nx-border, #e8e8e8) !important;
		margin-top: 6px !important;
		padding-top: 10px !important;
	}
}
/* ======================================================================
   v3.4.27 鈥?cart totals polish (mobile)
   ====================================================================== */
@media (max-width: 921px) {

	/* item name must clear the pinned checkbox / remove button */
	body.woocommerce-cart .woocommerce-cart-form .shop_table.cart td.product-name {
		padding-right: 72px !important;
	}

	/* totals: hard flex rows with real gaps */
	body.woocommerce-cart .cart_totals table.shop_table > tbody > tr {
		display: flex !important;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		padding: 6px 0 !important;
		border-bottom: 0 !important;
	}
	body.woocommerce-cart .cart_totals table.shop_table > tbody > tr th,
	body.woocommerce-cart .cart_totals table.shop_table > tbody > tr td {
		display: block !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		background: none !important;
	}
	body.woocommerce-cart .cart_totals table.shop_table > tbody > tr th {
		flex: 1 1 auto;
		text-align: left;
		font-size: 13.5px;
		font-weight: 500;
		color: var(--nx-gray, #4B4F58);
	}
	body.woocommerce-cart .cart_totals table.shop_table > tbody > tr td {
		flex: 0 1 auto;
		text-align: right !important;
	}

	/* shipping block stacks vertically */
	body.woocommerce-cart .cart_totals table.shop_table > tbody > tr.woocommerce-shipping-totals {
		display: block !important;
	}
	body.woocommerce-cart .cart_totals table.shop_table > tbody > tr.woocommerce-shipping-totals th,
	body.woocommerce-cart .cart_totals table.shop_table > tbody > tr.woocommerce-shipping-totals td {
		width: 100% !important;
		text-align: left !important;
	}
	body.woocommerce-cart .cart_totals table.shop_table > tbody > tr.woocommerce-shipping-totals td {
		padding: 2px 0 2px 0 !important;
	}
	body.woocommerce-cart .cart_totals .woocommerce-shipping-methods li {
		list-style: none;
		margin: 0 0 2px;
		padding: 0;
	}
	body.woocommerce-cart .cart_totals .woocommerce-shipping-destination,
	body.woocommerce-cart .cart_totals .shipping-calculator-button {
		display: block;
		font-size: 12.5px;
		color: var(--nx-gray, #4B4F58);
		padding: 2px 0;
	}

	/* grand total renamed to "Estimated total" (Glee wording) */
	body.woocommerce-cart .cart_totals table.shop_table > tbody > tr.order-total {
		border-top: 1px solid var(--nx-border, #e8e8e8) !important;
		margin-top: 4px !important;
		padding-top: 12px !important;
	}
	body.woocommerce-cart .cart_totals table.shop_table > tbody > tr.order-total th {
		font-size: 0;
		color: var(--nx-dark, #161616);
		font-weight: 700;
	}
	body.woocommerce-cart .cart_totals table.shop_table > tbody > tr.order-total th::after {
		content: "Estimated total";
		font-size: 15px;
	}
	body.woocommerce-cart .cart_totals table.shop_table > tbody > tr.order-total td strong {
		font-size: 16px;
		color: var(--nx-dark, #161616);
	}
}
/* v3.4.27 鈥?kill Astra data-title pseudo-labels inside cart totals (mobile) */
@media (max-width: 921px) {
	body.woocommerce-cart .cart_totals td::before { content: none !important; }
	body.woocommerce-checkout #order_review td::before { content: none !important; }
	body.woocommerce-checkout #order_review tr.cart-subtotal td::before { content: none !important; }
}

/* == NEX checkout mobile alignment 3.4.32 == */
@media (max-width: 921px) {
	body.woocommerce-checkout form.checkout .woocommerce-checkout-review-order-table > thead { display: none !important; }
	body.woocommerce-checkout form.checkout .woocommerce-checkout-review-order-table tbody tr.cart_item { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; border-bottom: 1px solid rgba(0,0,0,.08); padding: 0 14px; margin: 0; }
	body.woocommerce-checkout form.checkout .woocommerce-checkout-review-order-table tbody tr.cart_item > td.product-name { flex: 1 1 auto; min-width: 0; padding: 12px 0; font-size: 13px; line-height: 1.5; background: transparent; border: 0; }
	body.woocommerce-checkout form.checkout .woocommerce-checkout-review-order-table tbody tr.cart_item > td.product-name .product-quantity { font-size: 11px; font-weight: 600; color: #757575; white-space: nowrap; margin-left: 6px; }
	body.woocommerce-checkout form.checkout .woocommerce-checkout-review-order-table tbody tr.cart_item > td.product-total { flex: 0 0 auto; margin-left: auto; padding: 12px 0 12px 12px; text-align: right; font-weight: 700; background: transparent; border: 0; }
	#nx-co-summary.nx-sticky-on { position: sticky; top: var(--nx-summary-sticky-top, 0px); z-index: 20; }
}

/* == NEX PDP mobile glee alignment 3.4.33 == */
@media (max-width: 921px) {
	.nx-pdp-buy .nx-pdp-price-row { align-items: baseline; gap: 0 10px; }
	.nx-pdp-buy .nx-pdp-price { font-size: 18px; font-weight: 600; color: #161616; }
	.nx-pdp-buy .nx-pdp-price del { font-size: 14px; font-weight: 400; color: #7a7a7a; margin-right: 8px; }
	.nx-pdp-buy .nx-pdp-price ins { text-decoration: none; font-style: normal; }
	.nx-pdp-buy .nx-pdp-stock { font-size: 13px; font-weight: 500; margin-left: auto; }
	.nx-pdp-cart table.variations,
	.nx-pdp-cart table.variations tbody,
	.nx-pdp-cart table.variations tr { display: block; border: 0; }
	.nx-pdp-cart table.variations th { display: block; width: 100%; padding: 0 0 6px; border: 0; background: none; font-size: 14px; font-weight: 600; color: #4B4F58; text-align: left; }
	.nx-pdp-cart table.variations td { display: block; width: 100%; padding: 0; border: 0; background: none; }
	.nx-pdp-cart table.variations label { font-size: 14px; font-weight: 600; color: #4B4F58; }
	.nx-pdp-cart table.variations select { width: 100%; height: 46px; font-size: 15px; background: #fff; border: 1px solid #ddd; border-radius: 4px; padding: 0 12px; color: #161616; }
	.nx-pdp-cart .woocommerce-variation-add-to-cart { display: flex; gap: 10px; align-items: stretch; }
	.nx-pdp-cart .woocommerce-variation-add-to-cart .quantity { gap: 0; flex: 0 0 104px; height: 52px; border: 1px solid #ddd; border-radius: 4px; background: #fff; padding: 0; }
	.nx-pdp-cart .quantity input.qty { flex: 1 1 auto; width: auto; height: 100%; min-height: 100%; border: 0; background: transparent; text-align: center; border-radius: 0; padding: 0; font-size: 15px; color: #161616; -moz-appearance: textfield; }
	.nx-pdp-cart .quantity input.qty::-webkit-outer-spin-button,
	.nx-pdp-cart .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
	.nx-pdp-cart .quantity .nx-step { width: 34px; height: 100%; min-height: 100%; line-height: normal; padding: 0; border: 0; background: transparent; border-radius: 0; font-size: 20px; color: #161616; }
	.nx-pdp-cart button.single_add_to_cart_button { flex: 1 1 auto; min-width: 0; height: 52px; margin: 0; background: var(--nx-red, #DF453E); color: #fff; border: 0; border-radius: 4px; font-size: 14px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; padding: 0 14px; }
	.nx-pdp-cart button.single_add_to_cart_button.disabled,
	.nx-pdp-cart button.single_add_to_cart_button:disabled { background: #B8B8B8; color: #fff; cursor: not-allowed; }
	.nx-pdp-cart .nx-buy-now-btn { display: block; width: 100%; height: 48px; margin: 10px 0 0; border: 1px solid #161616; border-radius: 4px; background: #fff; color: #161616; font-size: 14px; font-weight: 700; }
	.nx-pdp-buy .nx-pdp-meta { margin-top: 16px; border-top: 0; padding-top: 0; }
	.nx-pdp-buy .nx-pdp-meta-row { font-size: 14px; line-height: 1.5; }
	.nx-pdp-buy .nx-pdp-meta-row span { width: auto; flex: 0 0 auto; color: #4B4F58; }
	.nx-pdp-buy .nx-pdp-meta-row b,
	.nx-pdp-buy .nx-pdp-meta-row a { color: #161616; }
}

/* == NEX PDP mobile glee alignment 3.4.33 fix2 == */
@media (max-width: 921px) {
	.nx-pdp-cart .woocommerce-variation-add-to-cart { flex-wrap: wrap; }
	.nx-pdp-cart .woocommerce-variation-add-to-cart .quantity { flex: 0 0 104px; }
	.nx-pdp-cart button.single_add_to_cart_button { flex: 1 1 0; }
	.nx-pdp-cart button.single_add_to_cart_button.disabled,
	.nx-pdp-cart button.single_add_to_cart_button:disabled { background: #B8B8B8 !important; color: #fff !important; opacity: 1; }
	.nx-pdp-cart .nx-buy-now-btn { flex: 1 1 100%; width: 100%; }
}

/* == NEX PDP mobile glee alignment 3.4.35 fix3 == */
@media (max-width: 921px) {
	.nx-pdp-cart .quantity input.qty { flex: 1 1 0; min-width: 0; width: 0; }
}

/* == NEX mobile site glee alignment 3.4.36 == */
@media (max-width: 921px) {
	/* ---------- Glee-style red header bar 60px ---------- */
	#masthead, .site-primary-header-wrap, .main-header-bar, .ast-primary-header-bar { background: #df453e !important; box-shadow: none; border-bottom: none; }
	#masthead { height: 60px; min-height: 60px; }
	.ast-primary-header-bar { height: 60px; min-height: 60px; }
	.ast-builder-grid-row { height: 60px; align-items: center; }
	.site-header-primary-section-left, .site-header-primary-section-right { height: 60px; }
	.site-branding { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 5; margin: 0; }
	.custom-logo { display: none !important; }
	.nx-logo-white-mobile { display: block !important; height: 30px; width: auto; max-width: 132px; }
	.ast-search-menu-icon.slide-search, .ast-header-account-wrap { display: none !important; }
	.ast-site-header-cart { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); margin: 0; }
	.ast-site-header-cart a.ast-cart-menu-wrap, .ast-site-header-cart .ast-icon-shopping-cart, .ast-site-header-cart i.astra-icon { color: #fff !important; fill: #fff; }
	.ast-site-header-cart .count { background: #fff; color: #df453e !important; font-size: 11px; font-weight: 700; }
	.menu-toggle.main-header-menu-toggle { position: absolute; left: 0; top: 0; width: 60px; height: 60px; margin: 0; padding: 0; background: rgba(255,255,255,.10); border-radius: 0; color: #fff; }
	.menu-toggle.main-header-menu-toggle .mobile-menu-toggle-icon { color: #fff; }
	.menu-toggle.main-header-menu-toggle .ast-icon svg, .menu-toggle.main-header-menu-toggle svg { color: #fff; fill: #fff; stroke: #fff; width: 24px; height: 24px; }
	.ast-mobile-header-content { display: none !important; }

	/* ---------- Overlay drawer (Glee-style) ---------- */
	.nx-drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 2147482900; opacity: 0; transition: opacity .25s ease; }
	.nx-drawer-overlay.nx-open { opacity: 1; }
	.nx-drawer { position: fixed; top: 0; left: 0; bottom: 0; width: 285px; max-width: 88vw; background: #fff; z-index: 2147483000; transform: translateX(-105%); transition: transform .25s ease; overflow-y: auto; padding: 48px 0 26px; }
	.nx-drawer.nx-open { transform: none; }
	.nx-drawer-close { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border: none; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.18); border-radius: 6px; font-size: 22px; line-height: 1; color: #161616; cursor: pointer; }
	.nx-drawer-search { position: relative; margin: 6px 18px 14px; }
	.nx-drawer-search input[type="search"] { width: 100%; height: 42px; border: 1px solid #d9d9d9; border-radius: 8px; padding: 0 42px 0 14px; font-size: 15px; color: #161616; background: #fff; outline: none; }
	.nx-drawer-search button { position: absolute; right: 4px; top: 4px; width: 34px; height: 34px; border: none; background: transparent; color: #161616; cursor: pointer; }
	.nx-drawer-search button svg { width: 18px; height: 18px; }
	.nx-drawer-menu ul, .nx-drawer-menu ul ul { list-style: none; margin: 0; padding: 0; }
	.nx-drawer-menu > ul > li { border-bottom: 1px solid #ededed; }
	.nx-drawer-menu a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 20px; font-size: 14px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: #161616; text-decoration: none; }
	.nx-drawer-menu .ast-menu-toggle { position: static; width: 40px; height: 40px; margin: 0; padding: 0; background: transparent; border: none; }
	.nx-drawer-menu .ast-menu-toggle svg { width: 16px; height: 16px; color: #161616; fill: none; }
	.nx-drawer-menu > ul > li li a { padding-left: 34px; font-size: 13px; font-weight: 500; color: #4B4F58; text-transform: none; }
	.nx-drawer-menu .sub-menu { display: none; }
	.nx-drawer-menu li.ast-submenu-expanded > .sub-menu { display: block; }
	.nx-drawer-menu .nx-meta-icon { display: none; }
	.nx-drawer-social { display: flex; align-items: center; gap: 14px; padding: 18px 20px 0; }
	.nx-ds { width: 22px; height: 22px; display: inline-flex; }
	.nx-ds svg { width: 22px; height: 22px; }
	.nx-ds-wa { color: #25d366; }
	.nx-ds-tg { color: #229ed9; }
	.nx-ds-fb { color: #1877f2; }
	.nx-ds-mail { color: #df453e; }
	body.nx-drawer-lock { overflow: hidden; }

	/* ---------- Full floating contact stack ---------- */
	.nx-float { right: 14px; bottom: 90px; gap: 8px; }
	.nx-float-mail, .nx-float-wa, .nx-float-tg, .nx-float-fb, .nx-float-wx { display: flex !important; }
	.nx-float a, .nx-float-mail, .nx-float-wx, .nx-float-chat { width: 44px; height: 44px; }
	.nx-mail-pop { position: fixed; left: 12px; right: 12px; bottom: 12px; width: auto; max-height: calc(100vh - 24px); overflow-y: auto; z-index: 98; }
	.nx-chat-panel { right: 10px; left: 10px; width: auto; bottom: 100px; height: min(70vh, 470px); }

	/* ---------- Footer: two columns + red copyright bar ---------- */
	.nx-footer-main { grid-template-columns: 1fr 1fr; gap: 24px; padding: 40px 20px 28px; }
	.nx-footer-brand { grid-column: 1 / -1; }
	.nx-footer-col h4 { font-size: 14px; margin-bottom: 14px; }
	.nx-footer-col ul li { margin-bottom: 8px; }
	.nx-footer-bottom { background: #df453e; border-top: none; }
	.nx-footer-bottom-inner { justify-content: center; flex-direction: column; gap: 10px; padding: 12px 16px; color: #fff; }
	.nx-footer-bottom-inner .nx-pay { display: flex; gap: 6px; }
	.nx-footer-bottom-inner .nx-pay img { background: #fff; border-radius: 4px; padding: 2px 5px; max-height: 20px; }

	/* ---------- Home sections ---------- */
	.nx-hero-swiper { height: 340px; }
	.nx-hero-dots, .nx-swiper-arrow { display: none !important; }
	.nx-h2 { font-size: 20px; }
	.nx-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
	.nx-p-card { background: transparent; border: none; box-shadow: none; border-radius: 0; padding: 0 15px; max-width: none; min-height: 0; }
	.nx-p-card:hover { box-shadow: none; }
	.nx-p-title { font-size: 18px; font-weight: 700; text-transform: uppercase; text-align: center; color: #000; margin: 14px 0 8px; }
	.nx-p-title a { color: #000; }
	.nx-p-price { text-align: center; font-size: 15px; color: #161616; }
	.nx-p-price del { color: #7A7A7A; }
	.nx-p-sale { display: none; }
	.nx-cats-swiper .nx-cat { text-align: center; }
	.nx-cats-swiper .nx-cat-icon { margin: 0 auto; }

	/* ---------- Category / search archives ---------- */
	.woocommerce-products-header__title.page-title { display: none; }
	body.search-results .nx-search-header { display: none; }
	.woocommerce-result-count, .woocommerce-ordering { display: none !important; }
	.woocommerce-breadcrumb { font-size: 18px; color: #7A7A7A; }
	.site-main ul.products { row-gap: 0; }
	.woocommerce ul.products li.product { background: transparent; border: none; box-shadow: none; padding: 0 15px; margin-bottom: 0; }
	.woocommerce ul.products li.product .astra-shop-summary-wrap { padding: 0 !important; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14.59px; font-weight: 700; text-transform: uppercase; color: #161616; line-height: 18.97px; margin-bottom: 7.3px; }
	.woocommerce ul.products li.product .price { font-size: 13.13px; }
	.woocommerce ul.products li.product .price ins { font-weight: 700; text-decoration: none; color: #4B4F58; }
	.woocommerce ul.products li.product .price del { color: #4B4F58; }
	.woocommerce ul.products li.product .button.add_to_cart_button { display: none !important; }
	.woocommerce ul.products li.product .onsale { display: none !important; }
	.woocommerce ul.products li.product .nx-archive-cat, .woocommerce ul.products li.product .ast-woo-product-category { color: #7A7A7A; font-size: 12.4px; }
	.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { border: 1px solid #c9c9c9; border-radius: 0; background: #fff; color: #161616; min-width: 40px; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; }
	.woocommerce nav.woocommerce-pagination ul li span.current { background: #161616; color: #fff; border-color: #161616; }
	.woocommerce nav.woocommerce-pagination ul li { margin-right: 6px; }
}
/* == NEX mobile 3.4.37 fixes == */
@media (max-width: 921px) {
	.nx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.menu-toggle.main-header-menu-toggle { position: absolute !important; left: 0 !important; top: 0 !important; width: 60px !important; height: 60px !important; margin: 0 !important; padding: 0 !important; background: rgba(255,255,255,.10) !important; border-radius: 0 !important; min-width: 0 !important; min-height: 0 !important; }
	.menu-toggle.main-header-menu-toggle .ast-icon, .menu-toggle.main-header-menu-toggle .mobile-menu-toggle-icon, .menu-toggle.main-header-menu-toggle svg { display: none !important; }
	.menu-toggle.main-header-menu-toggle::before { content: ''; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 22px; height: 14px; background: linear-gradient(#fff,#fff) 0 0/22px 2px no-repeat, linear-gradient(#fff,#fff) 0 6px/22px 2px no-repeat, linear-gradient(#fff,#fff) 0 12px/22px 2px no-repeat; }
	.ast-site-header-cart { position: absolute !important; right: 12px !important; top: 50% !important; transform: translateY(-50%) !important; margin: 0 !important; }
	.ast-site-header-cart, .ast-site-header-cart * { color: #fff !important; }
	.ast-site-header-cart svg, .ast-site-header-cart svg path, .ast-site-header-cart .ast-icon, .ast-site-header-cart i.astra-icon { fill: #fff !important; stroke: #fff !important; color: #fff !important; }
	.ast-site-header-cart .count { background: #fff !important; color: #df453e !important; }
	.site-branding { position: absolute !important; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 5; }
	.site-branding > * { display: none !important; }
	.site-branding::after { content: ''; display: block; width: 120px; height: 30px; background: url('https://nexhobby.shop/wp-content/uploads/2026/08/nx-logo-color-6.png') center/contain no-repeat; }
}
/* == NEX mobile header rebuild 3.4.38 == */
.nx-m-brand, .nx-m-cart { display: none; }
@media (max-width: 921px) {
	#masthead.nx-mobile .site-branding, #masthead.nx-mobile .ast-site-header-cart, #masthead.nx-mobile .ast-mobile-header-content { display: none !important; }
	.nx-m-brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); z-index: 6; display: block; }
	.nx-m-brand img { display: block; height: 30px; width: auto; }
	.nx-m-cart { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); z-index: 6; display: inline-flex; align-items: center; gap: 3px; }
	.nx-m-cart, .nx-m-cart svg { color: #fff !important; }
	.nx-m-cart svg { fill: #fff !important; stroke: #fff !important; }
	.nx-m-cart-count { background: #fff; color: #df453e !important; font-size: 11px; font-weight: 700; min-width: 15px; height: 15px; border-radius: 8px; display: none; align-items: center; justify-content: center; padding: 0 2px; line-height: 1; }
	.nx-m-cart-count[style*="flex"] { display: flex; }
	.nx-cats-swiper .nx-cat { background: #fff; border: none; box-shadow: none; border-radius: 0; }
	.nx-cats-swiper .nx-cat-more { display: none !important; }
}
/* == NEX drawer polish 3.4.39 == */
@media (max-width: 921px) {
	.nx-drawer .nx-drawer-close { background: #fff !important; color: #161616 !important; box-shadow: 0 2px 8px rgba(0,0,0,.18); font-weight: 400; }
	.nx-drawer-menu ul > li { border-bottom: 1px solid #ededed; }
	.nx-drawer-menu ul > li:last-child { border-bottom: none; }
}
/* == NEX 3.4.40 archive polish == */
@media (max-width: 921px) {
	.woocommerce ul.products li.product .ast-onsale-card, .woocommerce .ast-onsale-card { display: none !important; }
	.woocommerce-breadcrumb { font-size: 18px !important; color: #7A7A7A !important; }
	.nx-drawer-menu ul > li { border-bottom: 2px solid #ededed; }
}
/* == NEX 3.4.41 logo inject hide on desktop == */
.nx-logo-white-mobile { display: none; }
@media (max-width: 921px) {
	.nx-logo-white-mobile { display: block; }
}
/* == NEX 3.4.43 mobile footer Glee align + resize guards == */
.nx-footer-sub { display: none; }
@media (min-width: 922px) {
	.nx-drawer, .nx-drawer-overlay { display: none !important; }
}
@media (max-width: 921px) {
	.nx-footer { background: #374a5e; }
	.nx-footer-main { grid-template-columns: 1fr; gap: 0; padding: 40px 20px 26px; }
	.nx-footer-logo-link { display: none; }
	.nx-footer-tag { margin: 0 0 16px; color: #d6dde5; }
	.nx-footer-col { margin-bottom: 26px; }
	.nx-footer-col h4 { font-size: 18px; margin-bottom: 14px; }
	.nx-footer-col ul li { margin-bottom: 14px; }
	.nx-footer-col ul a { color: #fff; font-size: 16px; }
	.nx-footer-sub { display: block; }
	.nx-sub-note { color: #cfd6de; font-size: 14px; line-height: 1.6; margin: 0 0 14px; }
	.nx-footer-sub .nx-subscribe { flex-direction: column; align-items: flex-start; gap: 14px; }
	.nx-footer-sub .nx-subscribe input { width: 100%; flex: none; background: transparent; border: 1px solid #fff; border-radius: 5px; color: #fff; padding: 12px 14px; font-size: 14px; }
	.nx-footer-sub .nx-subscribe input::placeholder { color: rgba(255,255,255,.9); }
	.nx-footer-sub .nx-subscribe button { height: 47px; padding: 0 24px; border-radius: 3px; background: var(--nx-red); font-size: 13px; letter-spacing: .5px; }
	.nx-footer-sub .nx-subscribe button:disabled { opacity: .7; }
	.nx-sub-msg { font-size: 13px; margin-top: 10px; color: #ffd9d6; }
	.nx-sub-ok { color: #b7f5c1; }
	.nx-sub-err { color: #ffd9d6; }
}
/* == NEX 3.4.44-46 Glee grid metrics (home + archive) == */
@media (max-width: 921px) {
	.nx-section { padding-left: 10px; padding-right: 10px; }
	.nx-grid { margin-left: -10px !important; margin-right: -10px !important; }
	.nx-grid .nx-p-card { padding-left: 10px; padding-right: 10px; }
	.site-main ul.products { column-gap: 0 !important; margin-left: -15px !important; margin-right: -15px !important; }
	.woocommerce ul.products li.product { margin-bottom: 30px; }
	.woocommerce ul.products li.product .ast-woo-product-category { display: none !important; }
	.woocommerce ul.products li.product a img { margin-bottom: 0 !important; }
	.woocommerce ul.products li.product .astra-shop-summary-wrap { padding-top: 14.592px !important; padding-bottom: 14.592px !important; }
}
/* == NEX 3.4.48 mobile header back to original color scheme (white bar + color logo) == */
@media (max-width: 921px) {
	#masthead, .site-primary-header-wrap, .main-header-bar, .ast-primary-header-bar { background: #fff !important; }
	#masthead { border-bottom: .8px solid #D1D5DB !important; }
	.menu-toggle.main-header-menu-toggle { background: transparent !important; }
	.menu-toggle.main-header-menu-toggle::before { background: linear-gradient(#161616,#161616) 0 0/22px 2px no-repeat, linear-gradient(#161616,#161616) 0 6px/22px 2px no-repeat, linear-gradient(#161616,#161616) 0 12px/22px 2px no-repeat !important; }
	.ast-site-header-cart, .ast-site-header-cart * { color: #161616 !important; }
	.ast-site-header-cart svg, .ast-site-header-cart svg path, .ast-site-header-cart .ast-icon, .ast-site-header-cart i.astra-icon { fill: #161616 !important; stroke: #161616 !important; color: #161616 !important; }
	.ast-site-header-cart .count { background: var(--nx-red) !important; color: #fff !important; }
	.nx-m-cart, .nx-m-cart svg { color: #161616 !important; }
	.nx-m-cart svg { fill: #161616 !important; stroke: #161616 !important; }
	.nx-m-cart-count { background: var(--nx-red) !important; color: #fff !important; }
}
/* == NEX 3.4.49 PDP simple-product qty card fix (qty input was collapsed on simple products; mirror the variable-product card) == */
@media (max-width: 921px) {
	.nx-pdp-cart form.cart .quantity { gap: 0; flex: 0 0 104px; height: 52px; border: 1px solid #ddd; border-radius: 4px; background: #fff; padding: 0; }
}
/* == NEX 3.4.50 drawer menu bullet fix (bare top-level li children were cloned without a wrapping ul, so the ul-only list-style reset missed them and UA disc markers rendered above the flex links) == */
@media (max-width: 921px) {
	.nx-drawer-menu li { list-style: none; }
}
/* == NEX 3.4.51-53 my-account login/register card (Glee-style: centered card, big condensed heading, red buttons; switcher JS lives in nex.js, links come from functions.php) == */
body.woocommerce-account:not(.logged-in) .entry-title { font-size: 20px; font-weight: 700; text-transform: uppercase; text-align: left; letter-spacing: .3px; }
body.woocommerce-account:not(.logged-in) .entry-content > .woocommerce { max-width: 540px; margin: 32px auto 56px; padding: 40px; border: 1px solid #ddd; }
body.woocommerce-account #customer_login .u-column2 { display: none; }
body.woocommerce-account #customer_login .u-column1,
body.woocommerce-account #customer_login .u-column2 { float: none !important; width: 100% !important; border: 0 !important; padding: 0 !important; margin: 0 !important; }
body.woocommerce-account #customer_login h2 { font-family: 'Roboto Condensed', Roboto, sans-serif; font-size: 58px; line-height: 1.1; font-weight: 700; text-transform: uppercase; text-align: center; color: #161616; margin: 0 0 87px; }
body.woocommerce-account #customer_login form.woocommerce-form { padding: 0; margin: 0; border: 0; border-radius: 0; } /* 3.4.53: kill WC core inner box so fields/buttons span the card content width */
body.woocommerce-account #customer_login .form-row { margin: 0 0 30px; padding: 0; }
body.woocommerce-account #customer_login .woocommerce-form-row > label:not(.woocommerce-form__label-for-checkbox) { display: none; }
body.woocommerce-account #customer_login input.input-text { width: 100%; padding: 14.4px 12.8px; border: 1px solid #ddd; border-radius: 4px; font-size: 16px; color: #666; background: #fff; }
body.woocommerce-account #customer_login input.input-text::placeholder { color: #666; opacity: 1; }
body.woocommerce-account #customer_login .password-input { display: block; width: 100%; }
body.woocommerce-account #customer_login .show-password-input { top: 50%; }
body.woocommerce-account #customer_login .woocommerce-form-login__rememberme { display: flex; align-items: center; gap: 7px; font-size: 14.4px; color: #4B4F58; margin: 0 0 30px; }
body.woocommerce-account #customer_login button.button { display: block; width: 100%; background: var(--nx-red); color: #fff; border: 0; border-radius: 0; padding: 15px 25px; font-size: 16px; line-height: 1; font-weight: 400; letter-spacing: 0; text-transform: uppercase; }
body.woocommerce-account #customer_login button.button:hover { background: #c93a34; }
body.woocommerce-account #customer_login .woocommerce-form > p { font-size: 16px; color: #4B4F58; }
body.woocommerce-account #customer_login .woocommerce-LostPassword { text-align: center; margin: 12px 0 26px; }
body.woocommerce-account #customer_login .woocommerce-LostPassword a,
body.woocommerce-account #customer_login .nx-account-form-link { color: var(--nx-red); text-decoration: none; }
body.woocommerce-account #customer_login .nx-account-form-actions { text-align: center; color: #161616; margin: 22px 0 0; }
body.woocommerce-account #customer_login .woocommerce-privacy-policy-text { font-size: 16px; color: #4B4F58; }
body.woocommerce-account #customer_login .woocommerce-privacy-policy-link { color: var(--nx-red); text-decoration: none; }
@media (max-width: 921px) {
	body.woocommerce-account:not(.logged-in) .entry-content > .woocommerce { margin: 16px 0 40px; padding: 30px 20px; }
	body.woocommerce-account #customer_login h2 { font-size: 40px; margin: 6px 0 44px; }
}
/* == NEX mobile header height fix 2026-10-20 == */
@media (max-width: 921px) {
	#masthead,
	#masthead .ast-mobile-header-wrap,
	#masthead .ast-primary-header-bar {
		height: 60px !important;
		min-height: 60px !important;
	}
}


/* == NEX checkout sticky summary fix 2026-10-20 == */
@media (max-width: 921px) {
	body.woocommerce-checkout { overflow-x: clip !important; }
}

/* == NEX 3.4.59 mobile account icon (login/account entry) == */
@media (max-width: 921px) {
	#masthead .ast-mobile-header-wrap .ast-header-account-wrap {
		display: flex !important;
		position: absolute !important;
		top: 50% !important;
		right: 56px !important;
		z-index: 8 !important;
		width: 40px;
		height: 40px;
		margin: 0 !important;
		padding: 0 !important;
		align-items: center;
		justify-content: center;
		transform: translateY(-50%) !important;
		pointer-events: auto !important;
	}
	#masthead .ast-mobile-header-wrap .ast-header-account-inner-wrap,
	#masthead .ast-mobile-header-wrap .ast-header-account-link {
		display: flex !important;
		width: 40px;
		height: 40px;
		align-items: center;
		justify-content: center;
		text-decoration: none;
	}
	#masthead .ast-mobile-header-wrap .ast-header-account-wrap,
	#masthead .ast-mobile-header-wrap .ast-header-account-wrap a,
	#masthead .ast-mobile-header-wrap .ast-header-account-wrap svg {
		color: #161616 !important;
		fill: #161616 !important;
		stroke: none !important;
	}
	#masthead .ast-mobile-header-wrap .account-icon {
		width: 22px;
		height: 22px;
		display: block;
	}
	#masthead .ast-mobile-header-wrap .ast-header-account-wrap:hover,
	#masthead .ast-mobile-header-wrap .ast-header-account-wrap:hover a,
	#masthead .ast-mobile-header-wrap .ast-header-account-wrap:hover svg {
		color: var(--nx-red) !important;
		fill: var(--nx-red) !important;
	}
}

/* == NEX 3.4.61 account details: first/last name optional (asterisk removed) == */
label[for="account_first_name"] .required { display: none; }
label[for="account_last_name"] .required { display: none; }
