/* Kyrex Store — site CSS (moved from Customizer Additional CSS 2026-09-21). Edit via Appearance → Theme File Editor; run tools/css-guard.js before/after. */
/* KYREX — minimal tune (inspired by FOG) */
ul.nasa-main-menu > li > a.nasa-title-menu, .nasa-menu-inline a { text-transform: uppercase !important; letter-spacing: .1em; font-size: 12px !important; font-weight: 500; }
.product-item .name, .product-item h3, .product-title a, .nasa-product-title { font-size: 13px; font-weight: 500; letter-spacing: .01em; }
.product-item .price, .products .price { font-size: 12px; font-weight: 400; color: #555; }
.product-item .nasa-product-categories, .product-item .product-cats, .product-item .cats-list { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #777; }
.product-item, .product-item .product-inner { box-shadow: none !important; border: 0 !important; }
.product-item:hover { box-shadow: none !important; }
.button, .btn, button.single_add_to_cart_button, .nasa-buy-now { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; border-radius: 0 !important; }
.nasa-topbar-wrap, .topbar { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
h1, h2, h3, h4 { letter-spacing: .02em; }

.header-nav > li > a.nasa-title-menu { text-transform: uppercase !important; letter-spacing: .1em; font-size: 12px !important; }

/* FOG hover: no card box, no icons, image swap only */
.products .product-item, .products .product-item:hover, .products .product-item .product-img-wrap, .products .product-item:hover .product-img-wrap, .products .product-item .product-info-wrap { box-shadow: none !important; background: transparent !important; border: 0 !important; }
.products .product-item .btn-wishlist, .products .product-item .quick-view, .products .product-item .add_to_cart_button, .products .product-item .nasa-group-btn-loop, .products .product-item .nasa-actions-loop { display: none !important; }
/* no "Shop" page title */
header.woocommerce-products-header { display: none !important; }
.products .product-item::after, .products .product-item:hover::after, .products .product-item::before { display: none !important; box-shadow: none !important; background: transparent !important; }

/* logo: same size at top and when sticky */
.header-wrapper .logo img.header_logo { max-width: 164px !important; width: 164px !important; height: auto !important; }

/* my account notices: tidy layout */
.woocommerce-MyAccount-content .woocommerce-info, .woocommerce-MyAccount-content .woocommerce-message { display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 16px 20px; margin: 0 0 20px; background: #f7f7f7; border: 0; border-left: 2px solid #111; font-size: 13px; line-height: 1.5; }
.woocommerce-MyAccount-content .woocommerce-info .button, .woocommerce-MyAccount-content .woocommerce-message .button { margin: 0 0 0 auto !important; order: 2; white-space: nowrap; font-size: 11px; padding: 10px 16px; line-height: 1.2; float: none !important; }
.woocommerce-MyAccount-content .woocommerce-info::before { display: none; }
/* Coming Soon page (Elementor, id 871): hide Elessi floating buttons */
body.page-id-871 .nasa-static-group-btn, body.page-id-871 .nasa-static-sidebar, body.page-id-871 .nasa-bottom-bar, body.page-id-871 .nasa-mobile-app-menu { display: none !important; }
body.page-id-871 { padding-bottom: 0 !important; }

/* Header: same compact 50px at top as when sticky (FOG-style thin bar) */
#masthead { padding: 0 !important; }

/* Homepage heroes (.kx-hero = Elementor CSS class on nasa-banner-v1 widgets): FOG-style — collection title + black block button centred at bottom. Elessi JS sets inline height from image ratio, so heights are forced here. */
.home .kx-hero .ns-banner-bg { height: 100% !important; background-size: cover !important; background-position: center center !important; }
.home .kx-hero .nasa-banner-content { top: auto !important; bottom: 0 !important; left: 0 !important; right: 0 !important; width: 100% !important; transform: none !important; padding: 0 20px 36px; text-align: center; }
.home .kx-hero .banner-inner { visibility: visible !important; animation: none !important; }
.home .kx-hero .banner-inner p { margin: 0; }
.home .kx-hero .kx-hero-title { margin: 0 0 14px; color: #fff; font-size: 34px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; line-height: 1.1; text-shadow: 0 1px 2px rgba(0,0,0,.45), 0 2px 16px rgba(0,0,0,.45); }
.home .kx-hero .nasa-button { display: inline-block; width: 310px; max-width: 100%; height: 56px; line-height: 56px; padding: 0 24px !important; background: #000 !important; border: 0 !important; border-radius: 0 !important; color: #fff !important; font-size: 13px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; }
.home .kx-hero .nasa-button:hover { background: #222 !important; color: #fff !important; }
/* --full: full-viewport hero (both heroes) */
.home .kx-hero--full .nasa-banner, .home .kx-hero--full .banner-content-warper { height: calc(100vh - 50px) !important; min-height: 480px; }
/* --dark: dark photo → white title (Collectiva 26, media 905 = 3-up portrait strip; mobile swaps to single portrait) */
/* (2026-09-20: both titles are white + shadow now; --dark only still swaps the mobile image) */
@media (max-width: 767px) {
  .home .kx-hero .kx-hero-title { font-size: 22px; }
  .home .kx-hero .nasa-button { width: 220px; height: 48px; line-height: 48px; font-size: 12px; }
  .home .kx-hero .nasa-banner-content { padding-bottom: 28px; }
  .home .kx-hero--full .nasa-banner, .home .kx-hero--full .banner-content-warper { height: 75vh !important; }
  .home .kx-hero--dark .ns-banner-bg { background-image: url(https://www.kyrexstore.com/wp-content/uploads/2026/09/collectiva-mobile.webp) !important; }
}

/* Product page: hide SKU / Category / Tag meta + floating side-sidebar toggle (FOG-style) */
.single-product .nasa-toggle-layout-side-sidebar { display: none !important; }
.single-product .product_meta { display: none !important; }
/* Product page mobile: gallery becomes horizontal swipe (scroll-snap), instead of a 3000px tall stack before price/Add to cart */
@media (max-width: 767px) {
  .single-product .nasa-main-image-default { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .single-product .nasa-main-image-default::-webkit-scrollbar { display: none; }
  .single-product .nasa-main-image-default > .item-wrap { flex: 0 0 92%; width: 92%; scroll-snap-align: start; margin: 0 8px 0 0 !important; } /* 92% so the next image peeks = swipe hint */
}

/* Product page: Details block under Add to cart (output by child functions.php hook) */
.single-product .kx-product-desc { margin-top: 28px; padding-top: 24px; border-top: 1px solid #e5e5e5; }
.single-product .kx-product-desc-title { margin: 0 0 12px; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #111; }
.single-product .kx-product-desc p { font-size: 13px; line-height: 1.7; color: #333; }
.single-product .kx-product-desc table { font-size: 12px; margin-top: 16px; }

/* Product page desktop: right column (title/price/cart/details) sticks while the gallery scrolls (FOG-style) */
@media (min-width: 1024px) {
  .single-product .focus-info { display: flex; align-items: flex-start; }
  .single-product .focus-info .product-info.summary { position: sticky; top: 70px; }
}

/* Product page: variation swatches (Size/Color, type Label) = square 42px pills matching Add to cart height; selected = black */
.single-product .nasa-attr-ux_wrap.type-nasa_label .nasa-attr-ux { width: auto !important; min-width: 42px; height: 42px !important; line-height: 40px !important; padding: 0 12px !important; border-radius: 0 !important; border: 1px solid #d9d9d9 !important; font-size: 12px !important; font-weight: 500 !important; letter-spacing: .06em; text-transform: uppercase; color: #111 !important; background: #fff !important; margin: 0 8px 8px 0 !important; box-shadow: none !important; transition: border-color .15s; }
.single-product .nasa-attr-ux_wrap.type-nasa_label .nasa-attr-ux:hover { border-color: #111 !important; }
.single-product .nasa-attr-ux_wrap.type-nasa_label .nasa-attr-ux.selected { background: #000 !important; border-color: #000 !important; color: #fff !important; }
.single-product .nasa-attr-ux_wrap.type-nasa_label .nasa-attr-ux.nasa-disable, .single-product .nasa-attr-ux_wrap.type-nasa_label .nasa-attr-ux.disabled { color: #bbb !important; border-color: #e5e5e5 !important; text-decoration: line-through; }
.single-product .nasa-attr-ux_wrap.type-nasa_label .nasa-attr-ux:before, .single-product .nasa-attr-ux_wrap.type-nasa_label .nasa-attr-ux:after { display: none !important; }
.single-product .reset_variations { display: none !important; }

/* Mini cart (side canvas): small uppercase title, product name normal weight, hide unit price (subtotal already shown) */
.nasa-static-sidebar .nasa-tit-mycart { font-size: 12px !important; font-weight: 500 !important; letter-spacing: .12em; text-transform: uppercase; }
.nasa-static-sidebar .mini_cart_item .product-name { font-weight: 400 !important; font-size: 13px; line-height: 1.4; }
.nasa-static-sidebar .mini_cart_item .cart_list_product_quantity { display: none !important; }
.nasa-static-sidebar .mini_cart_item .nasa-image-cart-item { width: 66px !important; min-width: 66px !important; flex: 0 0 66px !important; } /* theme only sets this <=600px; 601-1023px got 227px images */
.nasa-static-sidebar .mini_cart_item .mini-cart-item-subtotal { font-weight: 500 !important; }
/* Cart page: breathing room under header, flat totals box (no card border) */
.woocommerce-cart .woocommerce-cart-form, .woocommerce-cart .cart-collaterals { margin-top: 30px; }
.woocommerce-cart .cart_totals, .woocommerce-cart .cart-collaterals .cart_totals { border: 0 !important; box-shadow: none !important; padding: 0 0 0 30px !important; }
.woocommerce-cart .cart_totals h2, .woocommerce-cart .cart_totals .nasa-cart-totals-title { font-size: 12px; font-weight: 500; letter-spacing: .12em; }
@media (max-width: 767px) { .woocommerce-cart .cart_totals { padding: 24px 0 0 !important; border-top: 1px solid #e5e5e5 !important; } }

/* Checkout: no 01/02/03 steps banner, flat columns (no card borders / grey box), small uppercase headings, black Complete Payment button (HitPay ships a purple gradient pill) */
.woocommerce-checkout .checkout-breadcrumb { display: none !important; }
.woocommerce-checkout form.checkout { margin-top: 30px; }
.woocommerce-checkout .checkout-group.woo-billing { border: 0 !important; padding: 0 !important; }
.woocommerce-checkout .order-review { background: none !important; border: 0 !important; padding: 0 0 0 30px !important; }
.woocommerce-checkout .woocommerce-checkout-review-order-table { border: 0 !important; }
.woocommerce-checkout #customer_details h3, .woocommerce-checkout h3.order_review-heading { font-size: 12px !important; font-weight: 500 !important; letter-spacing: .12em; text-transform: uppercase; text-align: left !important; margin-bottom: 20px; }
.woocommerce-checkout .hitpay-own-payment-button, .woocommerce-checkout #place_order { background: #000 !important; background-image: none !important; border-radius: 0 !important; height: 48px !important; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; }
.woocommerce-checkout .hitpay-own-payment-button:hover, .woocommerce-checkout #place_order:hover { background: #222 !important; opacity: 1 !important; }
@media (max-width: 767px) { .woocommerce-checkout .order-review { padding: 24px 0 0 !important; border-top: 1px solid #e5e5e5 !important; margin-top: 24px; } }

/* My Account: no avatar/welcome box, flat text nav (small uppercase, no icons), no duplicate icon-grid nav in dashboard */
.woocommerce-account .account-user { display: none !important; }
.woocommerce-account .woocommerce-MyAccount-content > nav.woocommerce-MyAccount-navigation { display: none !important; }
.woocommerce-account .account-nav-wrap .woocommerce-MyAccount-navigation li { border: 0 !important; border-bottom: 1px solid #eee !important; }
.woocommerce-account .account-nav-wrap .woocommerce-MyAccount-navigation li a { font-size: 11px !important; letter-spacing: .12em; padding: 14px 0 !important; background: none !important; color: #777 !important; }
.woocommerce-account .account-nav-wrap .woocommerce-MyAccount-navigation li.is-active a { color: #111 !important; font-weight: 500; }
.woocommerce-account .account-nav-wrap .woocommerce-MyAccount-navigation li a .ns-svg-wrap { display: none !important; }
.woocommerce-account .woocommerce-MyAccount-content { font-size: 13px; }
.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
/* My Account mobile: Elessi hides the nav in an off-canvas behind the burger → render it inline as a horizontal scrolling tab strip instead */
@media (max-width: 767px) {
  .woocommerce-account .account-nav-wrap { position: static !important; transform: none !important; width: 100% !important; height: auto !important; top: auto !important; margin: 0 0 24px !important; box-shadow: none !important; }
  .woocommerce-account .account-nav-wrap .woocommerce-MyAccount-navigation { height: auto !important; overflow: visible !important; }
  .woocommerce-account .account-nav-wrap .woocommerce-MyAccount-navigation ul { display: flex; gap: 24px; overflow-x: auto; margin: 0 !important; padding: 0 0 2px; scrollbar-width: none; border-bottom: 1px solid #eee; }
  .woocommerce-account .account-nav-wrap .woocommerce-MyAccount-navigation ul::-webkit-scrollbar { display: none; }
  .woocommerce-account .account-nav-wrap .woocommerce-MyAccount-navigation li { border: 0 !important; white-space: nowrap; flex: 0 0 auto; width: auto !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important; }
  .woocommerce-account .account-nav-wrap .woocommerce-MyAccount-navigation li a { width: auto !important; padding: 12px 0 !important; }
  .woocommerce-account .account-nav-wrap .woocommerce-MyAccount-navigation li.is-active a { box-shadow: inset 0 -1px 0 #111; }
  .woocommerce-account .toggle-sidebar-my-account { display: none !important; }
}

/* My Account: WC "Confirm email address" (link past guest orders) notice kept, styled flat; no yellow <mark> highlights in order view */
.woocommerce-account .woocommerce-info:has(a[href*="wc_send_verification"]) { background: none !important; border: 1px solid #e5e5e5 !important; border-left-width: 1px !important; font-size: 12px; padding: 14px 16px !important; }
.woocommerce-account .woocommerce-info:has(a[href*="wc_send_verification"]) a.button { font-size: 11px; padding: 8px 14px; }
.woocommerce-account mark, .woocommerce-order-received mark { background: none !important; color: inherit; font-weight: 500; }

/* Thank-you page + My Account view-order (FOG-style, all Inter, small uppercase labels). HitPay "Enable Status Display" is OFF in plugin settings, so WC default template renders. Pending-payment text + auto-refresh handled in child functions.php. */
.woocommerce-order-received .woocommerce-order { max-width: 680px; margin: 0 auto; font-size: 13px; }
.woocommerce-order-received .woocommerce-thankyou-order-received { font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-align: center; margin: 40px 0 28px; color: #111 !important; }
.woocommerce-order-received ul.order_details { border: 0 !important; display: flex; flex-wrap: nowrap; justify-content: center; gap: 12px 56px; list-style: none; margin: 0 0 48px; padding: 0 0 32px; border-bottom: 1px solid #e5e5e5 !important; font-size: 11px; }
.woocommerce-order-received ul.order_details li { border: 0 !important; padding: 0 !important; margin: 0 !important; text-transform: uppercase; letter-spacing: .1em; color: #888; text-align: center; width: auto !important; flex: 0 0 auto; }
.woocommerce-order-received ul.order_details li strong { display: block; color: #111; font-weight: 500; margin-top: 6px; text-transform: none; letter-spacing: 0; font-size: 13px; }
.woocommerce-order-received .woocommerce-order-details__title, .woocommerce-order-received .woocommerce-column__title, .woocommerce-view-order .woocommerce-order-details__title, .woocommerce-view-order .woocommerce-column__title { font-size: 11px !important; font-weight: 500 !important; letter-spacing: .12em; text-transform: uppercase; text-align: left !important; margin: 0 0 16px !important; color: #111; }
.woocommerce-view-order .woocommerce-table--order-details, .woocommerce-order-received .woocommerce-table--order-details { border: 0 !important; margin-bottom: 40px; }
.woocommerce-view-order .woocommerce-table--order-details, .woocommerce-order-received .woocommerce-table--order-details th, .woocommerce-view-order .woocommerce-table--order-details, .woocommerce-order-received .woocommerce-table--order-details td { font-size: 13px !important; font-weight: 400 !important; text-transform: none !important; letter-spacing: 0 !important; padding: 12px 0 !important; border: 0 !important; border-bottom: 1px solid #eee !important; background: none !important; color: #111; }
.woocommerce-view-order .woocommerce-table--order-details, .woocommerce-order-received .woocommerce-table--order-details thead th { font-size: 11px !important; letter-spacing: .1em !important; text-transform: uppercase !important; color: #888; }
.woocommerce-view-order .woocommerce-table--order-details, .woocommerce-order-received .woocommerce-table--order-details tfoot { background: none !important; }
.woocommerce-view-order .woocommerce-table--order-details, .woocommerce-order-received .woocommerce-table--order-details tfoot th { color: #888; }
.woocommerce-view-order .woocommerce-table--order-details, .woocommerce-order-received .woocommerce-table--order-details tfoot tr:last-child th, .woocommerce-view-order .woocommerce-table--order-details, .woocommerce-order-received .woocommerce-table--order-details tfoot tr:last-child td { border-bottom: 0 !important; }
.woocommerce-view-order .woocommerce-table--order-details, .woocommerce-order-received .woocommerce-table--order-details tfoot tr.order-total th, .woocommerce-view-order .woocommerce-table--order-details, .woocommerce-order-received .woocommerce-table--order-details tfoot tr.order-total td { font-weight: 500 !important; color: #111; }
.woocommerce-view-order .woocommerce-table--order-details, .woocommerce-order-received .woocommerce-table--order-details td.woocommerce-table__product-total, .woocommerce-view-order .woocommerce-table--order-details, .woocommerce-order-received .woocommerce-table--order-details tfoot td { text-align: right; }
.woocommerce-view-order .woocommerce-table--order-details, .woocommerce-order-received .woocommerce-table--order-details tfoot small { font-size: 11px; color: #888; }
.woocommerce-view-order .woocommerce-customer-details, .woocommerce-order-received .woocommerce-customer-details address { font-size: 13px; line-height: 1.7; color: #333; font-style: normal; border: 0; padding: 0; }
.woocommerce-view-order .woocommerce-customer-details, .woocommerce-order-received .woocommerce-customer-details .woocommerce-columns { display: flex; gap: 40px; }
.woocommerce-view-order .woocommerce-customer-details, .woocommerce-order-received .woocommerce-customer-details .woocommerce-column { flex: 1; }
.woocommerce-order-received tr:has(a.button.pay), .woocommerce-order-received tr:has(a.button.cancel) { display: none !important; }
.woocommerce-view-order .woocommerce-MyAccount-content > p:first-of-type { margin-bottom: 28px; }
.woocommerce-view-order .woocommerce-MyAccount-content > p:first-of-type mark { font-weight: 500; }
.kx-order-item { display: flex; align-items: center; gap: 14px; }
.kx-order-item .kx-order-thumb { width: 56px; height: 56px; object-fit: cover; flex: 0 0 56px; border: 1px solid #eee; }
.woocommerce-table--order-details td.woocommerce-table__product-name { vertical-align: middle; display: flex; align-items: center; flex-wrap: nowrap; }
.woocommerce-table--order-details td.woocommerce-table__product-name .kx-order-item { display: inline-flex; }
.woocommerce-table--order-details td.woocommerce-table__product-total { vertical-align: middle !important; }
.woocommerce-table--order-details td.woocommerce-table__product-name .product-quantity { color: #888; font-weight: 400 !important; white-space: nowrap; margin-left: 8px; }
/* Elessi forces uppercase/tiny text + grey tfoot in the account order table; make it identical to the thank-you table */
.woocommerce-view-order .woocommerce-table--order-details, .woocommerce-view-order .woocommerce-table--order-details * { text-transform: none !important; letter-spacing: 0 !important; }
.woocommerce-view-order .woocommerce-table--order-details th, .woocommerce-view-order .woocommerce-table--order-details td { font-size: 13px !important; padding: 12px 0 !important; background: none !important; }
.woocommerce-view-order .woocommerce-table--order-details tfoot, .woocommerce-view-order .woocommerce-table--order-details tfoot tr, .woocommerce-view-order .woocommerce-table--order-details tfoot th, .woocommerce-view-order .woocommerce-table--order-details tfoot td { background: none !important; }
.woocommerce-view-order .woocommerce-table--order-details tfoot th { font-weight: 400 !important; color: #888; }
.woocommerce-view-order .woocommerce-table--order-details tfoot tr.order-total th, .woocommerce-view-order .woocommerce-table--order-details tfoot tr.order-total td { font-weight: 500 !important; color: #111; }
.woocommerce-view-order .woocommerce-table--order-details thead th { font-size: 11px !important; text-transform: uppercase !important; letter-spacing: .1em !important; color: #888; }
.woocommerce-view-order .woocommerce-order-details { margin-bottom: 40px; }
.woocommerce-view-order .woocommerce-table--order-details td.woocommerce-table__product-total { vertical-align: middle; }
@media (max-width: 767px) { .woocommerce-order-received ul.order_details { flex-wrap: wrap; gap: 16px 28px; } }
.woocommerce-order-received .kx-pending-note { text-align: center; font-size: 12px; color: #888; margin: -16px 0 32px; }
@media (max-width: 767px) { .woocommerce-view-order .woocommerce-customer-details .woocommerce-columns, .woocommerce-order-received .woocommerce-customer-details .woocommerce-columns { flex-direction: column; gap: 24px; } }
/* Addresses (thank-you + My Account view-order): one line each, label left, muted — separator ', ' comes from child functions.php */
.woocommerce-order-received .woocommerce-customer-details, .woocommerce-view-order .woocommerce-customer-details { margin-top: 4px; }
.woocommerce-order-received .woocommerce-customer-details .woocommerce-columns, .woocommerce-view-order .woocommerce-customer-details .woocommerce-columns { display: flex !important; flex-direction: column; gap: 10px; }
.woocommerce-order-received .woocommerce-customer-details .woocommerce-column, .woocommerce-view-order .woocommerce-customer-details .woocommerce-column { display: flex; gap: 24px; align-items: baseline; width: 100% !important; max-width: none !important; float: none !important; margin: 0 !important; padding: 0 !important; }
.woocommerce-order-received .woocommerce-column__title, .woocommerce-view-order .woocommerce-column__title { margin: 0 !important; flex: 0 0 110px; font-size: 10px !important; color: #888 !important; white-space: nowrap; }
/* Payment method row in the totals table is redundant on the thank-you page (already in the header strip) */
.woocommerce-order-received .woocommerce-table--order-details tfoot tr:has(th:first-child):not(.order-total):not(:has(.woocommerce-Price-amount)) { display: none; }
.woocommerce-order-received .woocommerce-customer-details { margin-top: 12px; }
.woocommerce-order-received .woocommerce-customer-details address, .woocommerce-view-order .woocommerce-customer-details address { font-size: 12px; color: #666; line-height: 1.6; }
.woocommerce-order-received .woocommerce-customer-details address br, .woocommerce-view-order .woocommerce-customer-details address br { display: none; }
.woocommerce-customer-details address .woocommerce-customer-details--phone, .woocommerce-customer-details address .woocommerce-customer-details--email { display: inline; margin: 0; }
.woocommerce-customer-details address .woocommerce-customer-details--phone::before, .woocommerce-customer-details address .woocommerce-customer-details--email::before { content: "\00a0\00b7\00a0"; }
.woocommerce-customer-details address .woocommerce-customer-details--phone::after, .woocommerce-customer-details address .woocommerce-customer-details--email::after { display: none !important; content: none !important; }
@media (max-width: 767px) { .woocommerce-order-received .woocommerce-customer-details .woocommerce-column, .woocommerce-view-order .woocommerce-customer-details .woocommerce-column { flex-direction: column; gap: 4px; } .woocommerce-order-received .woocommerce-column__title, .woocommerce-view-order .woocommerce-column__title { flex: none !important; } .woocommerce-order-received .woocommerce-customer-details .woocommerce-columns, .woocommerce-view-order .woocommerce-customer-details .woocommerce-columns { gap: 16px; } }

/* Footer (HFE post 280) — 2026-09-20 "E2" layout: 4 columns (brand+social · HELP · POLICIES · WE ACCEPT payment icons from the HitPay plugin) + bottom line © / Penang. Markup = HTML widget #222dc0d (.kx-footer--cols). Old single line (2026-09-19) replaced. */
.footer-wrapper .kx-footer-section { border-top: 1px solid #e5e5e5; padding: 34px 0 0 !important; }
.footer-wrapper .kx-footer-section .elementor-column, .footer-wrapper .kx-footer-section .elementor-widget-wrap { padding: 0 !important; width: 100% !important; }
.kx-footer { max-width: 1200px; margin: 0 auto; padding: 0 20px; text-align: left; }
.kx-footer-grid { display: grid; grid-template-columns: 1.4fr .9fr .9fr 1.4fr; gap: 28px; padding-bottom: 26px; align-items: start; }
.kx-fcol h4 { margin: 0 0 14px; font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #888; line-height: 1; }
.kx-fcol ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.kx-fcol ul li { margin: 0 !important; padding: 0 !important; line-height: 1; font-size: 10px; }
.kx-fcol a { color: #111; text-decoration: none; }
.kx-fcol ul a { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; line-height: 1; }
.kx-fcol a:hover { opacity: .6; }
.kx-flogo img { height: 15px; width: auto; display: block; margin: 0 0 12px; }
.kx-ftag { margin: 0 0 14px; font-size: 11px; letter-spacing: .02em; color: #111; }
.kx-fsoc { display: flex; align-items: center; gap: 14px; }
.kx-fsoc a { display: block; color: #111; }
.kx-fsoc svg { width: 15px; height: 15px; display: block; }
.kx-fpay { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.kx-fpay img { height: 19px; width: auto; display: block; }
.kx-footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid #e5e5e5; }
.kx-footer-left { font-size: 11px; letter-spacing: .02em; text-transform: none; color: #111; }
.kx-fplace { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #888; }
@media (max-width: 767px) {
  .footer-wrapper .kx-footer-section { padding-top: 26px !important; }
  .kx-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; padding-bottom: 22px; }
  .kx-fcol--brand, .kx-fcol--pay { grid-column: 1 / -1; }
  .kx-footer-bottom { flex-wrap: wrap; }
}

/* Sticky footer: short pages (My Account, cart empty, etc.) keep the footer at the bottom of the viewport instead of mid-screen */
#wrapper { min-height: 100vh; display: flex; flex-direction: column; }
body.admin-bar #wrapper { min-height: calc(100vh - 32px); }
#main-content { flex: 1 0 auto; }
#nasa-footer { margin-top: auto; }

/* Plain content pages (Refund, Privacy, FAQ, About, Contact — default template, non-Elementor): Elessi prints the_content bare, so give it a FOG-style narrow legal layout. Title comes from child functions.php (.kx-page-title). */
body.page-template-default:not(.woocommerce-page):not(.elementor-page):not(.home) #main-content { max-width: 680px; margin: 0 auto; padding: 56px 20px 80px; font-size: 13px; line-height: 1.75; color: #333; }
body.page-template-default:not(.woocommerce-page):not(.elementor-page) .kx-page-title { font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 6px; color: #111; }
body.page-template-default:not(.woocommerce-page):not(.elementor-page) #main-content h2.wp-block-heading, body.page-template-default:not(.woocommerce-page):not(.elementor-page) #main-content h2 { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #111; margin: 36px 0 10px; }
body.page-template-default:not(.woocommerce-page):not(.elementor-page) #main-content h3 { font-size: 12px; font-weight: 500; margin: 20px 0 6px; color: #111; }
body.page-template-default:not(.woocommerce-page):not(.elementor-page) #main-content p, body.page-template-default:not(.woocommerce-page):not(.elementor-page) #main-content li { font-size: 13px; line-height: 1.75; }
body.page-template-default:not(.woocommerce-page):not(.elementor-page) #main-content ul, body.page-template-default:not(.woocommerce-page):not(.elementor-page) #main-content ol { padding-left: 18px; margin: 0 0 12px; }
body.page-template-default:not(.woocommerce-page):not(.elementor-page) #main-content em { color: #888; font-size: 12px; }
body.page-template-default:not(.woocommerce-page):not(.elementor-page) #main-content a { color: #111; text-decoration: underline; text-underline-offset: 3px; }

/* Elementor pages rebuilt as plain text (Contact 315, About 316, FAQ 317): one section + HTML widget; same FOG legal layout as policy pages. Targeted by page ID because Elementor element cache drops custom section classes. */
body.page-id-315 #main-content .elementor-top-section > .elementor-container, body.page-id-316 #main-content .elementor-top-section > .elementor-container, body.page-id-317 #main-content .elementor-top-section > .elementor-container { max-width: 680px !important; }
body.page-id-315 #main-content .elementor-widget-html, body.page-id-316 #main-content .elementor-widget-html, body.page-id-317 #main-content .elementor-widget-html { padding: 56px 0 80px; font-size: 13px; line-height: 1.75; color: #333; }
body.page-id-315 #main-content .kx-page-title, body.page-id-316 #main-content .kx-page-title, body.page-id-317 #main-content .kx-page-title { font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px; color: #111; }
body.page-id-315 #main-content .kx-lead, body.page-id-316 #main-content .kx-lead, body.page-id-317 #main-content .kx-lead { font-size: 15px; color: #111; margin-bottom: 8px; }
body.page-id-315 #main-content .elementor-widget-html h2, body.page-id-316 #main-content .elementor-widget-html h2, body.page-id-317 #main-content .elementor-widget-html h2 { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #111; margin: 36px 0 10px; }
body.page-id-315 #main-content .elementor-widget-html h3, body.page-id-316 #main-content .elementor-widget-html h3, body.page-id-317 #main-content .elementor-widget-html h3 { font-size: 13px; font-weight: 500; color: #111; margin: 20px 0 4px; }
body.page-id-315 #main-content .elementor-widget-html p, body.page-id-316 #main-content .elementor-widget-html p, body.page-id-317 #main-content .elementor-widget-html p { font-size: 13px; line-height: 1.75; margin: 0 0 12px; }
body.page-id-315 #main-content .elementor-widget-html a, body.page-id-316 #main-content .elementor-widget-html a, body.page-id-317 #main-content .elementor-widget-html a { color: #111; text-decoration: underline; text-underline-offset: 3px; }
body.page-id-315 #main-content .elementor-widget-html a:hover, body.page-id-316 #main-content .elementor-widget-html a:hover, body.page-id-317 #main-content .elementor-widget-html a:hover { opacity: .6; }
@media (max-width: 767px) { body.page-id-315 #main-content .elementor-widget-html, body.page-id-316 #main-content .elementor-widget-html, body.page-id-317 #main-content .elementor-widget-html { padding: 32px 0 56px; } }

/* Magic link login (plugin "Magic Login" shortcode, output by child functions.php "KYREX — Magic link login"): My Account logged-out view = one email field, FOG-style. Also the checkout "Returning customer? Sign in" line. */
.kx-login { max-width: 360px; margin: 0 auto; padding: 72px 20px 96px; text-align: center; }
.kx-login .kx-page-title { font-size: 14px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #111; margin: 0 0 10px; }
.kx-login-intro { font-size: 13px; line-height: 1.7; color: #666; margin: 0 0 28px; }
.kx-login-note { font-size: 11px; color: #888; margin: 20px 0 0; }
.kx-login-error { font-size: 13px; line-height: 1.6; color: #b00020; margin: -12px 0 24px; }
body:not(.logged-in) .nasa-title-my-account-page { display: none; } /* Elessi "Login/Register" heading; our own SIGN IN title is inside .kx-login */
#magic-login-shortcode .message:not(.magic_login_block_login_success) { display: none; } /* plugin default hint, redundant with .kx-login-intro */
#magic-login-shortcode { width: 100%; display: block; margin: 0; }
#magic-login-shortcode label { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #111; text-align: left; margin: 0 0 8px; }
#magic-login-shortcode .input { height: 46px; padding: 0 14px; border: 1px solid #111; border-radius: 0; font-size: 13px; color: #111; background: #fff; box-shadow: none; }
#magic-login-shortcode .input:focus { outline: none; border-color: #111; }
#magic-login-shortcode .magic-login-submit { height: 46px; margin-top: 12px; padding: 0; border: 1px solid #111; border-radius: 0; background: #111; color: #fff; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
#magic-login-shortcode .magic-login-submit:hover { background: #333; border-color: #333; color: #fff; }
#magic-login-shortcode #login_error, #magic-login-shortcode .message { border: 0 !important; background: none !important; padding: 0 !important; margin: 0 0 16px !important; font-size: 13px; line-height: 1.6; color: #111; text-align: center; } /* plugin CSS loads after custom CSS (enqueued by the shortcode) */
.kx-login:has(.magic_login_block_login_success) .kx-login-note { display: none; }
#magic-login-shortcode #login_error { color: #b00020; }
.magic-login-spinner-container { text-align: center; font-size: 12px; color: #666; }
.kx-checkout-login { margin: 0 0 28px; font-size: 14px; color: #111; }
.kx-checkout-login summary { cursor: pointer; list-style: none; display: inline; }
.kx-checkout-login summary::-webkit-details-marker { display: none; }
.kx-checkout-login summary::after { content: " Sign in"; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.kx-checkout-login .kx-checkout-login-form { max-width: 360px; margin: 16px 0 0; }
.kx-checkout-login #magic-login-shortcode { margin: 0; }
/* My Account as a passwordless customer: no "Password change" box, no Display name (username shows nowhere customers care about), address headings small uppercase like the rest. */
.woocommerce-account form.edit-account fieldset, .woocommerce-account form.edit-account p.form-row:has(#account_display_name) { display: none; }
.woocommerce-account .woocommerce-MyAccount-content h2, .woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title h2 { font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #111; margin: 0 0 14px; }
/* Code step (plugin .magic-login-code-form; the AJAX script REPLACES #magic-login-shortcode with this form, so scope by our wrappers): big centred 6-digit input, same black button, Cancel as small link. */
.kx-login .magic-login-code-form, .kx-checkout-login-form .magic-login-code-form { min-width: 0; width: 100%; }
.kx-login .magic-login-code-form label, .kx-checkout-login-form .magic-login-code-form label { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #111; text-align: left; margin: 0 0 8px; }
.kx-login #magic_login_token, .kx-checkout-login-form #magic_login_token { height: 52px; width: 100%; box-sizing: border-box; border: 1px solid #111; border-radius: 0; background: #fff; box-shadow: none; font-size: 22px; letter-spacing: .4em; text-align: center; color: #111; padding: 0 0 0 .4em; }
.kx-login #magic_login_token:focus, .kx-checkout-login-form #magic_login_token:focus { outline: none; border-color: #111; }
.kx-login .magic-login-code-form p.submit, .kx-checkout-login-form .magic-login-code-form p.submit { margin: 12px 0 0; padding: 0; }
.kx-login .magic-login-code-submit, .kx-checkout-login-form .magic-login-code-submit { height: 46px; border: 1px solid #111; border-radius: 0; background: #111; color: #fff; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; padding: 0; }
.kx-login .magic-login-code-cancel, .kx-checkout-login-form .magic-login-code-cancel { display: block; background: none !important; border: 0 !important; color: #888 !important; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; text-decoration: underline; text-underline-offset: 3px; padding: 0 !important; margin: 16px 0 0 !important; height: auto; line-height: 1.6; }
.magic-login-code-form .info, .magic-login-code-form .ajax-result, .magic-login-code-form .error, .magic-login-code-form .success { border: 0 !important; background: none !important; padding: 0 !important; margin: 0 0 16px !important; font-size: 13px; line-height: 1.6; color: #111; text-align: center; }
.magic-login-code-form .error, .magic-login-code-form .ajax-result.error { color: #b00020; }
.kx-login:has(.magic-login-code-form) .kx-login-intro, .kx-login:has(.magic-login-code-form) .kx-login-note { display: none; }
.kx-login .magic-login-code-form, .kx-checkout-login-form .magic-login-code-form { display: flex; flex-direction: column; } /* so the Start over link can sit under the button */
.kx-code-restart { order: 10; display: block; margin: 18px 0 0; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #888; text-decoration: underline; text-underline-offset: 3px; text-align: center; }
/* Empty cart (Elessi cart-empty.php): no icon, no filler text; one small uppercase line + black SHOP block button (same 310x56 as the hero button). Wording via gettext in child functions.php. */
.nasa-empty-shopping-cart { padding: 120px 20px 0; }
.nasa-empty-shopping-cart .cart-empty { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #111; font-weight: 500; background: none !important; border: 0 !important; padding: 0 !important; margin: 0 0 28px !important; text-align: center; line-height: 1.6; }
.nasa-empty-shopping-cart .cart-empty::before, .nasa-empty-shopping-cart .cart-empty::after, .nasa-empty-shopping-cart .cart-empty svg, .nasa-empty-shopping-cart .nasa-extra-empty { display: none !important; }
.woocommerce-cart p.return-to-shop { text-align: center; margin: 0 0 140px !important; }
.woocommerce-cart p.return-to-shop .button { display: inline-flex; align-items: center; justify-content: center; width: 310px; max-width: 100%; height: 56px; background: #111 !important; color: #fff !important; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; border: 0; border-radius: 0; padding: 0; }
.woocommerce-cart p.return-to-shop .button:hover { background: #333 !important; }
.nasa-empty-cart-recommend-product:empty { display: none; }
/* Visitor sweep 2026-09-19 — FOG polish of Elessi defaults. */
/* Product names: Elessi clips to one line ("Essential Daily Wear T-shirt White…" ×8 looked identical) → allow two lines. */
.product-item a.name.nasa-show-one-line, .woocommerce-loop-product__title.nasa-show-one-line { white-space: normal !important; text-overflow: clip !important; overflow: visible !important; display: block !important; line-height: 1.4; } /* 2026-09-19: was -webkit-line-clamp:2 with overflow visible → a 3-line name (narrow mobile columns, Related Products) spilled over the price. Names now wrap fully. */
/* Homepage product tabs: plain uppercase text, active = underline (was dashed pill). */
ul.nasa-tabs .nasa-tab a.nasa-a-tab { border: 0 !important; border-radius: 0 !important; padding: 0 0 6px !important; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #888; background: none !important; box-shadow: none !important; }
ul.nasa-tabs .nasa-tab.active a.nasa-a-tab { color: #111; border-bottom: 1px solid #111 !important; }
ul.nasa-tabs .nasa-tab { margin: 0 18px !important; }
/* Product tabs: empty panel (Sale with nothing on sale) keeps the container height + shows a line instead of collapsing (2026-09-20; re-applied 2026-09-21 after a stale-Customizer overwrite) */
.nasa-panels .nasa-panel.active:empty { display: flex !important; align-items: center; justify-content: center; min-height: 320px; }
.nasa-panels .nasa-panel.active:empty::before { content: "NO PRODUCTS YET"; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #888; }
.nasa-panels .nasa-panel.active:last-child:empty::before { content: "NOTHING ON SALE RIGHT NOW"; }
/* Load more: no pill. */
a.load-more-btn.load-more { border: 0 !important; border-radius: 0 !important; background: none !important; padding: 0 0 6px !important; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #111 !important; border-bottom: 1px solid #111 !important; width: auto !important; min-width: 0 !important; }
a.load-more-btn.load-more:hover { color: #111 !important; }
/* Back-to-top button and grid-column switchers: gone. */
#nasa-back-to-top, .nasa-change-view, .nasa-topbar-change-view-wrap { display: none !important; }
/* Shop filter bar ("Filter by: Categories Color Size Price More +" + "Sort by"): small uppercase, one line. */
.nasa-filter-action, .nasa-labels-filter-top { min-height: 0 !important; }
ul.nasa-top-row-filter li, ul.nasa-top-row-filter .nasa-labels-filter-text, ul.nasa-top-row-filter a.nasa-tab-filter-topbar, ul.sort-bar .woocommerce-ordering, ul.sort-bar .woocommerce-ordering .sort-text, ul.sort-bar .woocommerce-ordering .nasa-orderby-text, ul.sort-bar .woocommerce-ordering a { font-size: 11px !important; font-weight: 500 !important; letter-spacing: .12em; text-transform: uppercase; color: #111; }
ul.nasa-top-row-filter .nasa-labels-filter-text { color: #888; }
ul.nasa-top-row-filter a.nasa-tab-filter-topbar svg { display: none; }
ul.nasa-top-row-filter li { margin-right: 22px !important; }
/* 404 page: no sad face, small uppercase line + search + black SHOP button. */
.error404 article.error404 .entry-header img { display: none; }
.error404 article.error404 { padding: 100px 20px 120px; }
.error404 article.error404 h1.entry-title { font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: #111; margin: 0 0 12px; }
.error404 article.error404 .entry-content > p { font-size: 13px; color: #666; margin: 0 0 28px; }
.error404 article.error404 .nasa-search-form-container { max-width: 360px; margin: 0 auto 24px; }
.error404 article.error404 .search-field { height: 46px; border: 1px solid #111; border-radius: 0; font-size: 13px; }
.error404 article.error404 a.button { display: inline-flex; align-items: center; justify-content: center; width: 310px; max-width: 100%; height: 56px; background: #111 !important; color: #fff !important; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; border: 0; border-radius: 0; padding: 0; }
/* Footer: copyright line in normal case ("© 2026 Kyrex Store — forthelocals"), links stay uppercase. */
.kx-footer .kx-footer-left { text-transform: none; letter-spacing: .02em; }


/* ===== Shop filter bar: hide "N RESULTS" count (FOG has no count) 2026-09-19 ===== */
.nasa-filter-wrap .showing_info_top,
.nasa-filter-wrap .woocommerce-result-count { display: none !important; }


/* ===== Ninja Van "Shipping Information" table (My Account view-order + thank-you) 2026-09-19: plugin prints h2 + 2-row table (Shipping Provider / Tracking Number). Restyled as ONE line matching the address rows: TRACKING NUMBER  Ninja Van · NVMY… (table is Ninja Van-only, so the prefix is safe). ===== */
h2.woocommerce-order-details__title:has(+ table.shipping_information) { display: none !important; }
table.shipping_information { display: block !important; width: auto !important; border: 0 !important; margin: 10px 0 0 !important; padding: 0 !important; background: none !important; }
table.shipping_information tbody { display: block; }
table.shipping_information tr { display: flex; gap: 24px; align-items: baseline; flex-wrap: wrap; }
table.shipping_information tr:first-child { display: none; }
table.shipping_information th, table.shipping_information td { padding: 0 !important; border: 0 !important; background: none !important; line-height: 1.7; }
table.shipping_information th { flex: 0 0 auto; min-width: 110px; white-space: nowrap; font-size: 10px !important; font-weight: 500 !important; letter-spacing: 1.2px !important; text-transform: uppercase; color: #888 !important; }
table.shipping_information td { font-size: 12px !important; color: #666 !important; letter-spacing: 0 !important; }
table.shipping_information td::before { content: "Ninja Van · "; }
table.shipping_information td a { color: #111 !important; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 767px) { table.shipping_information tr { flex-direction: column; gap: 2px; } }


/* ===== Single-table view-order (My Account) 2026-09-19: the whole order is ONE table. Rows Date / Status / Billing / Shipping / Tracking come from child functions.php ("KYREX — Ninja Van status names + single-table order page"). Hide the "was placed on…" sentence, the addresses block and the Ninja Van table; tfoot rows become flex label/value rows (label 136px small uppercase, values left), Actions row last with a hairline above. ===== */
.woocommerce-view-order .woocommerce-MyAccount-content > p:has(> mark.order-status),
.woocommerce-view-order .woocommerce-customer-details,
.woocommerce-view-order table.shipping_information { display: none !important; }
.woocommerce-view-order .woocommerce-table--order-details tfoot { display: block; padding-top: 6px; }
.woocommerce-view-order .woocommerce-table--order-details tfoot tr { display: flex; align-items: baseline; gap: 24px; }
.woocommerce-view-order .woocommerce-table--order-details tfoot th { flex: 0 0 136px; width: 136px; font-size: 10px !important; font-weight: 500 !important; letter-spacing: 1.2px !important; text-transform: uppercase !important; color: #888 !important; text-align: left; padding: 8px 0 !important; line-height: 1.6; white-space: nowrap; }
.woocommerce-view-order .woocommerce-table--order-details tfoot td { flex: 1; min-width: 0; font-size: 12px !important; font-weight: 400 !important; text-align: left !important; color: #333 !important; padding: 8px 0 !important; line-height: 1.6; overflow-wrap: anywhere; }
.woocommerce-view-order .woocommerce-table--order-details tfoot td a:not(.button) { color: #111; text-decoration: underline; text-underline-offset: 2px; }
.woocommerce-view-order .woocommerce-table--order-details tfoot tr:has(a.button) { margin-top: 12px; padding-top: 16px; border-top: 1px solid #e5e5e5; align-items: center; }
.woocommerce-view-order .woocommerce-table--order-details tfoot tr:has(a.button) td .button { margin: 0; }
.woocommerce-view-order .woocommerce-table--order-details tfoot th.order-actions--heading { font-size: 0 !important; } /* WC hardcodes "Actions:" with the colon outside the i18n string; redraw the label without it */
.woocommerce-view-order .woocommerce-table--order-details tfoot th.order-actions--heading::after { content: "Actions"; display: inline; font-size: 10px; }
.woocommerce-view-order .woocommerce-table--order-details tfoot th::before, .woocommerce-view-order .woocommerce-table--order-details tfoot td::before { display: none !important; } /* Elessi absolute 1px leader lines, misaligned once rows are flex */
.woocommerce-view-order .woocommerce-table--order-details tfoot a.button { font-size: 11px !important; font-weight: 500 !important; letter-spacing: .12em !important; text-transform: uppercase !important; height: 44px; line-height: 44px; padding: 0 28px; }
@media (max-width: 767px) {
  .woocommerce-view-order .woocommerce-table--order-details tfoot tr { flex-direction: column; gap: 0; align-items: flex-start; padding: 6px 0; }
  .woocommerce-view-order .woocommerce-table--order-details tfoot th, .woocommerce-view-order .woocommerce-table--order-details tfoot td { padding: 0 !important; width: auto; flex: none; }
  .woocommerce-view-order .woocommerce-table--order-details tfoot th { margin-bottom: 2px; }
  .woocommerce-view-order .woocommerce-table--order-details tfoot tr:has(a.button) { align-items: flex-start; }
  .woocommerce-view-order .woocommerce-table--order-details tfoot tr:has(a.button) td { padding-top: 6px !important; }
}


/* ===== Wallet (TeraWallet) 2026-09-19 — dashboard block, product-page line, checkout row, view-order muted note. PHP in child functions.php "KYREX — Wallet". ===== */
.kx-wallet { margin: 28px 0 0; max-width: 560px; }
.kx-wallet-label { font-size: 10px !important; letter-spacing: 1.2px; text-transform: uppercase; color: #888 !important; margin: 0 0 6px !important; }
.kx-wallet-balance { font-size: 26px !important; font-weight: 500 !important; color: #111 !important; letter-spacing: 0; margin: 0 0 10px !important; line-height: 1.2; }
.kx-wallet-note { font-size: 12px !important; color: #666 !important; line-height: 1.6; margin: 0 0 28px !important; }
.kx-wallet-history { list-style: none; margin: 0; padding: 0; border-top: 1px solid #e5e5e5; }
.kx-wallet-history li { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 10px 0; border-bottom: 1px solid #e5e5e5; font-size: 12px; color: #333; }
.kx-wallet-history .kx-wh-desc time { display: block; font-size: 11px; color: #999; margin-top: 2px; }
.kx-wallet-history .kx-wh-amt { white-space: nowrap; font-weight: 500; color: #111; }
.kx-wallet-history .kx-wh-debit { color: #888; }
.kx-wallet-history .kx-wh-amt .amount, .kx-wallet-balance .amount { font-weight: inherit; color: inherit; }
.kx-cashback-line { font-size: 10px !important; letter-spacing: 1.2px; text-transform: uppercase; color: #888 !important; margin: 14px 0 0 !important; }
.kx-cashback-line .amount { color: #111; font-weight: 500; }
.kx-cashback-line a { color: #888; text-decoration: underline; text-underline-offset: 2px; }
.kx-cashback-line a:hover { color: #111; }
.kx-muted { color: #888; }
#wallet { scroll-margin-top: 70px; } /* FAQ anchor under the 50px sticky header */
/* checkout: plugin row "Use wallet balance [i] [x]" inside the order review totals */
tr.wallet-pay-partial th, tr.wallet-pay-partial td { font-size: 11px !important; font-weight: 500 !important; text-transform: uppercase !important; letter-spacing: .08em !important; color: #111 !important; border-top: 1px solid #e5e5e5; padding: 16px 0 !important; vertical-align: middle; }
tr.wallet-pay-partial .woo-wallet-tooltip-wrapper .dashicons { display: none; }
tr.wallet-pay-partial input.partial_pay_through_wallet { width: 16px; height: 16px; accent-color: #111; margin: 0; vertical-align: middle; }
tr.wallet-pay-partial td { text-align: right; }
.woocommerce-checkout-review-order-table tr.fee .amount, .woocommerce-checkout-review-order-table tr.fee th, .woocommerce-checkout-review-order-table tr.fee td, .cart_totals tr.fee .amount { color: #111 !important; }
/* plugin notices reworded as flat lines */
.woocommerce-notices-wrapper .woocommerce-info:has(.woocommerce-Price-amount), .woocommerce-checkout .woocommerce-info:has(.woocommerce-Price-amount), .woocommerce-cart .woocommerce-info:has(.woocommerce-Price-amount) { font-size: 10px !important; line-height: 1.7 !important; letter-spacing: 1.2px; text-transform: uppercase; color: #888 !important; background: none !important; border: 0 !important; padding: 0 0 18px !important; margin: 0 !important; }
.woocommerce-info:has(.woocommerce-Price-amount) .amount { color: #111; font-weight: 500; }
.woocommerce-checkout .woocommerce-info:has(.woocommerce-Price-amount)::before { display: none; }


/* ===== Related Products heading (product page) 2026-09-19: Elessi 23px/800 centred → small uppercase like DETAILS ===== */
h3.nasa-title-relate { font-size: 11px !important; font-weight: 500 !important; letter-spacing: .12em; text-transform: uppercase; color: #111; margin: 0 0 18px !important; }


/* ===== Wallet v2 (2026-09-19) — dashboard header + avatar, addresses cards, account-details copy, cashback note under totals, product popover. PHP: child functions.php "KYREX — Wallet v2" + block (e). ===== */
/* dashboard: hide WC's "Hello … (not …? Log out)" and "From your account dashboard…" paragraphs (our header replaces them) */
.woocommerce-account .woocommerce-MyAccount-content > p:has(> a[href*="customer-logout"]), .woocommerce-account .woocommerce-MyAccount-content > p:has(> a[href*="action=logout"]),
.woocommerce-account .woocommerce-MyAccount-content > p:has(a[href*="/orders/"]):has(a[href*="edit-address"]) { display: none !important; }
.kx-acct-head { display: flex; align-items: center; gap: 16px; margin: 0 0 28px; }
.kx-av { position: relative; width: 52px; height: 52px; border-radius: 50%; background: #111; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 500; letter-spacing: .02em; flex: none; overflow: hidden; }
.kx-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kx-acct-name { font-size: 15px; font-weight: 500; color: #111; line-height: 1.3; }
.kx-acct-mail { font-size: 12px; color: #666; margin-top: 2px; }
.kx-acct-mail a { color: #111; text-decoration: underline; text-underline-offset: 2px; }
.kx-wallet { margin-top: 0; }
.kx-wallet-card, .kx-wallet > .kx-wallet-label:first-child { }
/* wallet card: wrap label+balance+note in a bordered box using the existing markup order (label, balance, note) */
.kx-wallet > .kx-wallet-label:first-child { border: 1px solid #e5e5e5; border-bottom: 0; padding: 18px 20px 0; margin: 0 !important; }
.kx-wallet > .kx-wallet-balance { border-left: 1px solid #e5e5e5; border-right: 1px solid #e5e5e5; padding: 4px 20px 0; margin: 0 !important; }
.kx-wallet > .kx-wallet-note { border: 1px solid #e5e5e5; border-top: 0; padding: 6px 20px 18px; margin: 0 0 26px !important; }
.kx-wallet-history li .kx-wh-amt { font-weight: 500; }
/* addresses */
.woocommerce-account .woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 640px; }
.woocommerce-account .woocommerce-Addresses .woocommerce-Address { width: auto !important; max-width: none !important; float: none !important; border: 1px solid #e5e5e5; padding: 18px 20px; margin: 0 !important; }
.woocommerce-account .woocommerce-Address-title { display: block; }
.woocommerce-account .woocommerce-Address-title h2, .woocommerce-account .woocommerce-Address-title h3 { font-size: 10px !important; letter-spacing: 1.2px; text-transform: uppercase; color: #888 !important; font-weight: 500 !important; margin: 0 0 10px !important; float: none !important; }
.woocommerce-account .woocommerce-Address address { font-size: 13px; line-height: 1.65; color: #111; font-style: normal; border: 0; padding: 0; margin: 0; }
.woocommerce-account .woocommerce-Address-title a.edit { float: none !important; display: inline-block; margin-top: 12px; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: #111; text-decoration: underline; text-underline-offset: 3px; order: 3; }
.woocommerce-account .woocommerce-Address { display: flex; flex-direction: column; }
.woocommerce-account .woocommerce-Address .woocommerce-Address-title { display: contents; }
.woocommerce-account .woocommerce-Address address { order: 2; }
.woocommerce-account .woocommerce-Address address:empty::before, .woocommerce-account .woocommerce-Address address:not(:has(*)):not(:empty) { color: #999; }
.woocommerce-account .my_account_my_addresses_description, .woocommerce-account .woocommerce-MyAccount-content > p:has(+ .woocommerce-Addresses) { font-size: 12px !important; color: #999 !important; margin: 0 0 16px !important; text-transform: none !important; letter-spacing: 0 !important; }
@media (max-width: 767px) { .woocommerce-account .woocommerce-Addresses { grid-template-columns: 1fr; } }
/* account details */
.kx-form-title { font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: #888; margin: 0 0 16px; }
.kx-form-hint { font-size: 12px; color: #999; margin: 0 0 20px; line-height: 1.6; }
/* cashback note under totals (cart, checkout, mini cart) */
.kx-cbnote { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; background: #f6f6f6; font-size: 11px; color: #666; margin: 10px 0 0; }
.kx-cbnote-k { font-size: 10px; letter-spacing: 1px; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; text-align: left; line-height: 1.4; }
@media (min-width: 480px) { .kx-cbnote-k { white-space: nowrap; } }
.kx-cbnote-k svg { flex: none; width: 14px; height: 14px; stroke: #666; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.kx-cbnote-v, .kx-cbnote-v .amount { color: #111 !important; font-weight: 500 !important; font-size: 12px; }
tr.kx-cbnote-row td { padding: 0 !important; border: 0 !important; background: none !important; }
.cart_totals tr.kx-cbnote-row td .kx-cbnote { margin: 4px 0 18px; }
.woocommerce-checkout-review-order-table tr.kx-cbnote-row td .kx-cbnote { margin: 14px 20px 0; }
.nasa-static-sidebar .kx-cbnote { margin: 0 0 14px; }
/* checkout: "Use wallet balance (RMx)" row — keep it a normal table row so it lines up with the other totals rows (a flex tr only spanned half the table) */
tr.wallet-pay-partial th, tr.wallet-pay-partial td { border: 0 !important; border-top: 1px solid #e5e5e5 !important; padding: 16px 0 16px 20px !important; background: none !important; vertical-align: middle !important; }
tr.wallet-pay-partial td { padding: 16px 20px 16px 0 !important; }
tr.wallet-pay-partial th { font-size: 11px !important; letter-spacing: .08em !important; text-transform: uppercase !important; font-weight: 500 !important; color: #111 !important; line-height: 1.4; white-space: nowrap; text-align: left !important; }
tr.wallet-pay-partial th::before, tr.wallet-pay-partial td::before, tr.wallet-pay-partial th::after, tr.wallet-pay-partial td::after { display: none !important; }
tr.wallet-pay-partial td { text-align: right !important; }
tr.wallet-pay-partial input.partial_pay_through_wallet { width: 16px; height: 16px; margin: 0; accent-color: #111; cursor: pointer; vertical-align: middle; }
tr.wallet-pay-partial .woo-wallet-tooltip-wrapper { display: none !important; }
/* product page popover */
.kx-cashback-line { position: relative; }
.kx-cbpop { position: absolute; left: 0; top: calc(100% + 10px); width: min(360px, 100%); background: #fff; border: 1px solid #111; padding: 18px 18px 14px; z-index: 30; text-transform: none; letter-spacing: 0; color: #111; }
.kx-cbpop::before { content: ""; position: absolute; top: -6px; left: 118px; width: 10px; height: 10px; background: #fff; border-left: 1px solid #111; border-top: 1px solid #111; transform: rotate(45deg); }
.kx-cbpop-steps { display: grid; grid-template-columns: 1fr 18px 1fr 18px 1fr; gap: 4px; text-align: center; align-items: start; }
.kx-cbpop-steps svg { width: 26px; height: 26px; stroke: #111; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.kx-cbpop-steps span { display: block; font-size: 11.5px; line-height: 1.45; margin-top: 8px; }
.kx-cbpop-steps i { font-style: normal; color: #bbb; font-size: 16px; padding-top: 6px; }
.kx-cbpop-ft { margin-top: 14px; padding-top: 12px; border-top: 1px solid #eee; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: #888; display: flex; justify-content: space-between; }
.kx-cbpop-ft a { color: #111 !important; text-decoration: underline; text-underline-offset: 2px; }
.kx-cashback-line::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; } /* keep hover alive over the gap */

/* ===== Sold out (2026-09-20) — stock managed per variation; PHP in child functions.php "KYREX — Stock / sold out" (greys unavailable sizes, "Sold out" wording, Add to cart → Sold out). ===== */
/* product page: sold-out size = grey + strikethrough (Elessi just fades it to .2) */
.single-product .nasa-attr-ux_wrap.type-nasa_label .nasa-attr-ux.nasa-unavailable { opacity: 1 !important; color: #aaa !important; background: #f2f2f2 !important; border-color: #f2f2f2 !important; text-decoration: line-through; cursor: not-allowed; pointer-events: none; }
.single-product .nasa-attr-ux_wrap.type-nasa_label .nasa-attr-ux.nasa-unavailable:hover { border-color: #eee !important; }
/* product page fully sold out: grey SOLD OUT block instead of Add to cart; no qty / Buy now / cashback line */
.single-product .product.outofstock .quantity, .single-product .product.outofstock .nasa-buy-now, .single-product .product.outofstock .kx-cashback-line { display: none !important; }
.single-product .product.outofstock .single_add_to_cart_button { background: #f2f2f2 !important; color: #999 !important; border-color: #f2f2f2 !important; pointer-events: none; opacity: 1 !important; width: 100% !important; }
/* "Sold out" line after a sold-out variation is picked: muted uppercase, not red */
.single-product p.stock.out-of-stock { color: #888 !important; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
/* shop cards: no grey pill badge; "Sold out" muted after the price, image dimmed */
.product.outofstock .nasa-badges-wrap .out-of-stock-label { display: none !important; }
.product.outofstock .product-info-wrap .price .amount { text-decoration: line-through; color: #999; }
.product.outofstock .product-info-wrap .price::after { content: "Sold out"; margin-left: 10px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #999; font-weight: 400; }
.product.outofstock .product-img { opacity: .6; }

/* ===== Magic Login resend countdown (2026-09-21): "Didn't get it? Resend code in 0:59" under the code field; PHP in child functions.php (Hybrid sign-in block). ===== */
.kx-login .kx-resend, .kx-checkout-login-form .kx-resend { margin: 10px 0 0; font-size: 11px; letter-spacing: .02em; color: #888; text-align: center; }
.kx-login .kx-resend a, .kx-checkout-login-form .kx-resend a { color: #111; text-decoration: underline; text-underline-offset: 2px; }
