/*
Theme Name: Nord Haus Dark
Template: shopwell
Description: Premium dark child theme for Nord Haus
Version: 2.1.5
Author: Nord Haus
Text Domain: nord-haus-child
*/

/* ═══════════════════════════════════════════════════════════
   NORD HAUS — Premium Dark Theme
   Design System & Full Component Library
   ═══════════════════════════════════════════════════════════ */

/* Fonts are enqueued via wp_enqueue_style('nh-google-fonts') in functions.php.
   The @import used to live here — removed to avoid a duplicate render-blocking request. */

/* ─── Design Tokens ─────────────────────────────────────── */
:root {
    /* Backgrounds */
    --nh-bg-primary: #0a0a0a;
    --nh-bg-secondary: #111111;
    --nh-bg-tertiary: #1a1a1a;
    --nh-bg-card: rgba(20, 20, 20, 0.75);
    --nh-bg-elevated: rgba(30, 30, 30, 0.8);

    /* Gold Palette */
    --nh-gold: #d4af37;
    --nh-gold-light: #f0d060;
    --nh-gold-dark: #a08520;
    --nh-gold-gradient: linear-gradient(135deg, #a08520, #d4af37, #f0d060);
    --nh-gold-glow: rgba(212, 175, 55, 0.25);

    /* Text */
    --nh-text: #ffffff;
    --nh-text-secondary: #cccccc;
    --nh-text-muted: #777777;

    /* Borders & Glass */
    --nh-border: rgba(212, 175, 55, 0.15);
    --nh-border-subtle: rgba(255, 255, 255, 0.06);
    --nh-glass: rgba(255, 255, 255, 0.03);
    --nh-glass-hover: rgba(255, 255, 255, 0.06);

    /* Spacing */
    --nh-container: 1280px;
    --nh-gap: 24px;
    --nh-section-pad: 100px;
    --nh-radius: 16px;
    --nh-radius-sm: 8px;
    --nh-radius-lg: 24px;

    /* Transitions */
    --nh-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --nh-transition: all 0.4s var(--nh-ease);

    /* Shadows */
    --nh-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    --nh-shadow-gold: 0 8px 30px rgba(212, 175, 55, 0.15);
    --nh-shadow-hover: 0 20px 60px rgba(0, 0, 0, 0.7);
}

/* ─── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--nh-bg-primary) !important;
    color: var(--nh-text) !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.nh-container {
    max-width: var(--nh-container);
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
}

/* ─── Typography ────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--nh-text);
    font-weight: 600;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

a {
    color: var(--nh-gold);
    text-decoration: none;
    transition: var(--nh-transition);
}
a:hover {
    color: var(--nh-gold-light);
}

p {
    color: var(--nh-text-secondary);
    line-height: 1.8;
}

/* ─── Section Headers ───────────────────────────────────── */
.nh-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.nh-section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 16px;
}

.nh-section-header h2::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--nh-gold-gradient);
    border-radius: 3px;
}

.nh-section-header p {
    color: var(--nh-text-muted);
    font-size: 18px;
    max-width: 600px;
    margin: 24px auto 0;
}

.nh-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--nh-gold);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
}

.nh-section-label::before,
.nh-section-label::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--nh-gold);
    opacity: 0.5;
}

/* ═══════════════════════════════════════════════════════════
   PRELOADER — DISABLED (was causing splash between navigations).
   Hard-hidden in case any legacy markup leaks in.
   ═══════════════════════════════════════════════════════════ */
.nh-preloader { display: none !important; }

/* ═══════════════════════════════════════════════════════════
   LOGO (image-based)
   ═══════════════════════════════════════════════════════════ */
.nh-logo-img {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    text-decoration: none;
}
.nh-logo-img img {
    height: 44px;
    width: auto;
    max-width: 240px;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(212,175,55,0.15));
    transition: transform 0.3s var(--nh-ease), filter 0.3s ease;
}
.nh-logo-img:hover img {
    transform: translateY(-1px);
    filter: drop-shadow(0 4px 10px rgba(212,175,55,0.35));
}
@media (max-width: 600px) {
    .nh-logo-img img { height: 36px; }
}

/* ═══════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════ */
.nh-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--nh-transition);
    background: transparent;
}

.nh-header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-bottom: 1px solid var(--nh-border);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.nh-header-inner {
    max-width: var(--nh-container);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.nh-header-logo .nh-logo-text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 22px;
    font-weight: 700;
    text-decoration: none;
}

.nh-header-logo .custom-logo {
    max-height: 50px;
    width: auto;
    transition: var(--nh-transition);
}

.nh-header.scrolled .nh-header-logo .custom-logo {
    max-height: 40px;
}

/* Desktop Nav */
.nh-nav-desktop {
    display: flex;
    align-items: center;
}

.nh-nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.nh-nav-list li a {
    color: var(--nh-text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--nh-radius-sm);
    position: relative;
    letter-spacing: 0.3px;
    transition: var(--nh-transition);
}

.nh-nav-list li a:hover,
.nh-nav-list li.current-menu-item a {
    color: var(--nh-gold);
    background: rgba(212, 175, 55, 0.08);
}

.nh-nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--nh-gold);
    transform: scaleX(0);
    transition: transform 0.3s var(--nh-ease);
}

.nh-nav-list li a:hover::after,
.nh-nav-list li.current-menu-item a::after {
    transform: scaleX(1);
}

/* Submenu */
.nh-nav-list li ul.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--nh-border);
    border-radius: var(--nh-radius);
    padding: 12px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--nh-transition);
    box-shadow: var(--nh-shadow);
    list-style: none;
}

.nh-nav-list li:hover ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nh-nav-list li ul.sub-menu li a {
    padding: 10px 16px;
    display: block;
    border-radius: var(--nh-radius-sm);
    font-size: 14px;
}

.nh-nav-list li ul.sub-menu li a:hover {
    background: rgba(212, 175, 55, 0.1);
}

/* Header Actions */
.nh-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nh-header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--nh-text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--nh-radius-sm);
    transition: var(--nh-transition);
}

.nh-header-phone:hover {
    color: var(--nh-gold);
    background: rgba(212, 175, 55, 0.08);
}

.nh-header-phone svg {
    flex-shrink: 0;
}

/* Cart */
.nh-header-cart {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    color: var(--nh-text-secondary);
    transition: var(--nh-transition);
}

.nh-header-cart:hover {
    color: var(--nh-gold);
    background: rgba(212, 175, 55, 0.08);
}

.nh-cart-count {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nh-gold);
    color: #0a0a0a;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50%;
}

/* Burger Menu */
.nh-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.nh-burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--nh-text);
    border-radius: 2px;
    transition: var(--nh-transition);
}

.nh-burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nh-burger.active span:nth-child(2) {
    opacity: 0;
}

.nh-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Navigation */
.nh-mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: rgba(15, 15, 15, 0.98);
    backdrop-filter: blur(30px);
    z-index: 999;
    transition: right 0.5s var(--nh-ease);
    overflow-y: auto;
    border-left: 1px solid var(--nh-border);
}

.nh-mobile-nav.active {
    right: 0;
}

.nh-mobile-nav-inner {
    padding: 100px 30px 40px;
}

.nh-mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nh-mobile-nav-list li {
    border-bottom: 1px solid var(--nh-border-subtle);
}

.nh-mobile-nav-list li a {
    display: block;
    padding: 18px 0;
    font-size: 20px;
    font-weight: 500;
    color: var(--nh-text);
    transition: var(--nh-transition);
    font-family: 'Playfair Display', serif;
}

.nh-mobile-nav-list li a:hover {
    color: var(--nh-gold);
    padding-left: 12px;
}

.nh-mobile-nav-contact {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--nh-border);
}

.nh-mobile-nav-contact a {
    display: block;
    color: var(--nh-text-muted);
    font-size: 14px;
    padding: 8px 0;
}

.nh-mobile-nav-contact a:hover {
    color: var(--nh-gold);
}

/* Mobile overlay (behind mobile menu) */
.nh-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--nh-transition);
}

.nh-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* HERO SECTION — consolidated styles live at end of file (see "HERO — FINAL"). */
@keyframes nhScrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(8px); }
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.nh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--nh-radius-sm);
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: var(--nh-transition);
    border: none;
    text-decoration: none;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
}

.nh-btn-gold {
    background: var(--nh-gold-gradient);
    color: #0a0a0a;
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.2);
}

.nh-btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(212, 175, 55, 0.35);
    color: #0a0a0a;
}

.nh-btn-gold::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.nh-btn-gold:hover::after {
    left: 100%;
}

.nh-btn-outline {
    background: transparent;
    color: var(--nh-text);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.nh-btn-outline:hover {
    border-color: var(--nh-gold);
    color: var(--nh-gold);
    background: rgba(212, 175, 55, 0.06);
    transform: translateY(-3px);
}

.nh-btn-sm {
    padding: 10px 24px;
    font-size: 14px;
}

.nh-btn-lg {
    padding: 18px 40px;
    font-size: 16px;
}

/* ═══════════════════════════════════════════════════════════
   CARDS (Glass)
   ═══════════════════════════════════════════════════════════ */
.nh-card {
    background: var(--nh-bg-card);
    border: 1px solid var(--nh-border-subtle);
    border-radius: var(--nh-radius);
    overflow: hidden;
    transition: var(--nh-transition);
    backdrop-filter: blur(12px);
}

.nh-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: var(--nh-shadow-hover), 0 0 40px rgba(212, 175, 55, 0.05);
}

.nh-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.nh-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--nh-ease);
}

.nh-card:hover .nh-card-image img {
    transform: scale(1.08);
}

.nh-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.8) 0%, transparent 50%);
}

.nh-card-body {
    padding: 24px;
}

.nh-card-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
    color: var(--nh-text);
    font-family: 'Playfair Display', serif;
}

.nh-card-text {
    font-size: 14px;
    color: var(--nh-text-muted);
    margin: 0 0 20px;
    line-height: 1.7;
}

.nh-card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--nh-border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* ═══════════════════════════════════════════════════════════
   CATEGORIES SECTION
   ═══════════════════════════════════════════════════════════ */
.nh-categories {
    padding: var(--nh-section-pad) 0;
    background: var(--nh-bg-primary);
}

.nh-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--nh-gap);
}

.nh-category-card {
    position: relative;
    border-radius: var(--nh-radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    transition: var(--nh-transition);
}

.nh-category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--nh-shadow-hover);
}

.nh-category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--nh-ease);
}

.nh-category-card:hover img {
    transform: scale(1.1);
}

/* Catalog-style illustration (SVG): centered with padding, drop-shadow + gold glow */
.nh-category-card .nh-cat-illustration {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12%;
    transition: transform 0.6s var(--nh-ease), filter 0.6s var(--nh-ease);
    filter:
        drop-shadow(0 18px 30px rgba(0,0,0,0.55))
        drop-shadow(0 0 30px rgba(212,175,55,0.08));
    z-index: 0;
}

.nh-category-card:hover .nh-cat-illustration {
    transform: scale(1.06);
    filter:
        drop-shadow(0 24px 40px rgba(0,0,0,0.7))
        drop-shadow(0 0 40px rgba(212,175,55,0.18));
}

/* Featured card illustration gets a bit more breathing room */
.nh-categories-grid .nh-category-card:first-child .nh-cat-illustration {
    padding: 6%;
}

.nh-category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.9) 0%, rgba(10,10,10,0.1) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: var(--nh-transition);
}

.nh-category-card:hover .nh-category-overlay {
    background: linear-gradient(to top, rgba(10,10,10,0.95) 0%, rgba(10,10,10,0.3) 60%);
}

.nh-category-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    margin-bottom: 16px;
    color: var(--nh-gold);
    transition: var(--nh-transition);
}

.nh-category-card:hover .nh-category-icon {
    background: var(--nh-gold);
    color: #0a0a0a;
}

.nh-category-name {
    font-size: 22px;
    font-weight: 600;
    color: var(--nh-text);
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
}

.nh-category-desc {
    font-size: 14px;
    color: var(--nh-text-muted);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--nh-transition);
}

.nh-category-card:hover .nh-category-desc {
    opacity: 1;
    transform: translateY(0);
}

/* Featured large card */
.nh-categories-grid .nh-category-card:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 21/9;
}

/* ═══════════════════════════════════════════════════════════
   ADVANTAGES SECTION
   ═══════════════════════════════════════════════════════════ */
.nh-advantages {
    padding: var(--nh-section-pad) 0;
    background: var(--nh-bg-secondary);
}

.nh-advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--nh-gap);
}

.nh-advantage-item {
    background: var(--nh-bg-card);
    border: 1px solid var(--nh-border-subtle);
    border-radius: var(--nh-radius);
    padding: 36px 28px;
    text-align: center;
    transition: var(--nh-transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.nh-advantage-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--nh-gold-gradient);
    opacity: 0;
    transition: var(--nh-transition);
}

.nh-advantage-item:hover::before {
    opacity: 1;
}

.nh-advantage-item:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: var(--nh-shadow-gold);
}

.nh-advantage-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 16px;
    margin: 0 auto 20px;
    color: var(--nh-gold);
    font-size: 28px;
    transition: var(--nh-transition);
}

.nh-advantage-item:hover .nh-advantage-icon {
    background: rgba(212, 175, 55, 0.15);
    transform: scale(1.1);
}

.nh-advantage-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--nh-text);
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.nh-advantage-text {
    font-size: 14px;
    color: var(--nh-text-muted);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════════════════════
   PRODUCTS SECTION (Featured)
   ═══════════════════════════════════════════════════════════ */
.nh-products-featured {
    padding: var(--nh-section-pad) 0;
    background: var(--nh-bg-primary);
}

.nh-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--nh-gap);
}

/* ═══════════════════════════════════════════════════════════
   PROJECTS SECTION (House)
   ═══════════════════════════════════════════════════════════ */
.nh-projects {
    padding: var(--nh-section-pad) 0;
    background: var(--nh-bg-secondary);
}

.nh-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--nh-gap);
}

.nh-project-card {
    background: var(--nh-bg-card);
    border: 1px solid var(--nh-border-subtle);
    border-radius: var(--nh-radius);
    overflow: hidden;
    transition: var(--nh-transition);
}

.nh-project-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: var(--nh-shadow-hover);
}

.nh-project-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.nh-project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--nh-ease);
}

.nh-project-card:hover .nh-project-image img {
    transform: scale(1.06);
}

.nh-project-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(212, 175, 55, 0.9);
    color: #0a0a0a;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nh-project-body {
    padding: 24px;
}

.nh-project-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--nh-text);
    font-family: 'Playfair Display', serif;
}

.nh-project-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--nh-border-subtle);
}

.nh-project-spec {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--nh-text-muted);
}

.nh-project-spec svg {
    color: var(--nh-gold);
    flex-shrink: 0;
}

.nh-project-spec strong {
    color: var(--nh-text);
    font-weight: 600;
}

.nh-project-price {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--nh-border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nh-project-price-label {
    font-size: 13px;
    color: var(--nh-text-muted);
}

.nh-project-price-value {
    font-size: 24px;
    font-weight: 700;
    background: var(--nh-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════════════════════════════════════════════════════════
   CTA BANNER SECTION
   ═══════════════════════════════════════════════════════════ */
.nh-cta-banner {
    padding: 80px 0;
    background: var(--nh-bg-primary);
    position: relative;
    overflow: hidden;
}

.nh-cta-banner-inner {
    background: linear-gradient(135deg, rgba(160, 133, 32, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--nh-radius-lg);
    padding: 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.nh-cta-banner-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.nh-cta-banner h2 {
    margin-bottom: 16px;
}

.nh-cta-banner p {
    font-size: 18px;
    color: var(--nh-text-muted);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.nh-cta-banner .nh-btn-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

/* ═══════════════════════════════════════════════════════════
   CONTACT SECTION
   ═══════════════════════════════════════════════════════════ */
.nh-contact-section {
    padding: var(--nh-section-pad) 0;
    background: var(--nh-bg-secondary);
}

.nh-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.nh-contact-info {
    padding-right: 40px;
}

.nh-contact-info h2 {
    margin-bottom: 20px;
}

.nh-contact-info > p {
    margin-bottom: 40px;
}

.nh-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.nh-contact-item-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 12px;
    color: var(--nh-gold);
    flex-shrink: 0;
}

.nh-contact-item-text h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--nh-text);
    margin: 0 0 4px;
    font-family: 'Inter', sans-serif;
}

.nh-contact-item-text p,
.nh-contact-item-text a {
    font-size: 14px;
    color: var(--nh-text-muted);
    margin: 0;
}

/* Contact Form */
.nh-contact-form {
    background: var(--nh-bg-card);
    border: 1px solid var(--nh-border-subtle);
    border-radius: var(--nh-radius);
    padding: 40px;
    backdrop-filter: blur(12px);
}

.nh-contact-form h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: var(--nh-text);
}

.nh-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.nh-input-group {
    margin-bottom: 16px;
}

.nh-input-group label {
    display: block;
    font-size: 13px;
    color: var(--nh-text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}

.nh-input-group input,
.nh-input-group textarea,
.nh-input-group select {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--nh-text);
    padding: 14px 18px;
    border-radius: var(--nh-radius-sm);
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: var(--nh-transition);
    outline: none;
}

.nh-input-group input:focus,
.nh-input-group textarea:focus,
.nh-input-group select:focus {
    border-color: var(--nh-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.nh-input-group textarea {
    resize: vertical;
    min-height: 120px;
}

.nh-input-group input::placeholder,
.nh-input-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.25);
}

/* Footer mini form override */
.nh-footer-form input,
.nh-footer-form textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--nh-text);
    padding: 10px 14px;
    border-radius: var(--nh-radius-sm);
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    margin-bottom: 10px;
    transition: var(--nh-transition);
    outline: none;
}

.nh-footer-form input:focus,
.nh-footer-form textarea:focus {
    border-color: var(--nh-gold);
}

.nh-footer-form textarea {
    resize: vertical;
}

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.nh-footer {
    background: var(--nh-bg-primary) !important;
    color: var(--nh-text-muted);
}

.nh-footer-cta {
    padding: 60px 0;
    background: var(--nh-bg-secondary);
    border-top: 1px solid var(--nh-border-subtle);
}

.nh-footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.nh-footer-cta-text h3 {
    font-size: 28px;
    margin-bottom: 8px;
    color: var(--nh-text);
}

.nh-footer-cta-text p {
    font-size: 16px;
    color: var(--nh-text-muted);
    margin: 0;
}

.nh-footer-cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.nh-footer-main {
    padding: 60px 0 40px;
    border-top: 1px solid var(--nh-border-subtle);
}

.nh-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.nh-footer-about {
    font-size: 14px;
    color: var(--nh-text-muted);
    line-height: 1.7;
    margin: 16px 0;
}

.nh-footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.nh-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: var(--nh-text-muted);
    transition: var(--nh-transition);
}

.nh-social-link:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--nh-gold);
    transform: translateY(-3px);
}

.nh-footer-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--nh-text);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    font-family: 'Inter', sans-serif;
}

.nh-footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--nh-gold);
    border-radius: 2px;
}

.nh-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nh-footer-links li {
    margin-bottom: 10px;
}

.nh-footer-links a {
    color: var(--nh-text-muted);
    font-size: 14px;
    transition: var(--nh-transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nh-footer-links a:hover {
    color: var(--nh-gold);
    padding-left: 6px;
}

.nh-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--nh-text-muted);
}

.nh-footer-contact-item svg {
    color: var(--nh-gold);
    flex-shrink: 0;
}

.nh-footer-contact-item a {
    color: var(--nh-text-muted);
}

.nh-footer-contact-item a:hover {
    color: var(--nh-gold);
}

.nh-footer-bottom {
    border-top: 1px solid var(--nh-border-subtle);
    padding: 20px 0;
}

.nh-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nh-footer-bottom p {
    font-size: 13px;
    color: var(--nh-text-muted);
    margin: 0;
}

.nh-footer-payments {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--nh-text-muted);
}

.nh-payment-icon {
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════
   SCROLL TO TOP
   ═══════════════════════════════════════════════════════════ */
.nh-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nh-gold);
    color: #0a0a0a;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--nh-transition);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.nh-scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nh-scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

/* ═══════════════════════════════════════════════════════════
   BADGES
   ═══════════════════════════════════════════════════════════ */
.nh-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.nh-badge-new {
    background: var(--nh-gold);
    color: #0a0a0a;
}

.nh-badge-sale {
    background: #e74c3c;
    color: #fff;
}

.nh-badge-popular {
    background: rgba(212, 175, 55, 0.2);
    color: var(--nh-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* ═══════════════════════════════════════════════════════════
   CALCULATORS PAGE
   ═══════════════════════════════════════════════════════════ */
.nh-calculators-page {
    padding: 140px 0 var(--nh-section-pad);
    background: var(--nh-bg-primary);
}

.nh-calculators-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.nh-calc-tab {
    padding: 12px 28px;
    border-radius: 50px;
    background: var(--nh-bg-card);
    border: 1px solid var(--nh-border-subtle);
    color: var(--nh-text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--nh-transition);
    font-family: 'Inter', sans-serif;
}

.nh-calc-tab:hover,
.nh-calc-tab.active {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
    color: var(--nh-gold);
}

.nh-calc-tab.active {
    background: rgba(212, 175, 55, 0.15);
}

.nh-calc-panels {
    max-width: 600px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════════════════════
   WOOCOMMERCE OVERRIDES
   ═══════════════════════════════════════════════════════════ */

/* Product Grid */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--nh-gap);
}

.woocommerce ul.products li.product {
    background: var(--nh-bg-card) !important;
    border: 1px solid var(--nh-border-subtle);
    border-radius: var(--nh-radius) !important;
    overflow: hidden;
    transition: var(--nh-transition);
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    float: none !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-6px);
    border-color: rgba(212, 175, 55, 0.25);
    box-shadow: var(--nh-shadow-hover);
}

.woocommerce ul.products li.product a img {
    border-radius: 0 !important;
    margin: 0 !important;
    transition: transform 0.5s var(--nh-ease);
}

.woocommerce ul.products li.product:hover a img {
    transform: scale(1.05);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: var(--nh-text) !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 16px 20px 8px !important;
}

.woocommerce ul.products li.product .price {
    color: var(--nh-gold) !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    padding: 0 20px !important;
}

.woocommerce ul.products li.product a.button {
    margin: 16px 20px 20px !important;
    width: calc(100% - 40px) !important;
}

/* Buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.button,
.wp-block-button__link {
    background: var(--nh-gold-gradient) !important;
    color: #0a0a0a !important;
    border: none !important;
    border-radius: var(--nh-radius-sm) !important;
    font-weight: 600 !important;
    font-family: 'Inter', sans-serif !important;
    padding: 12px 24px !important;
    transition: var(--nh-transition) !important;
    text-transform: none !important;
    letter-spacing: 0.3px;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.button:hover,
.wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.3) !important;
}

/* Cart & Checkout */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
    background: transparent;
}

.woocommerce table.shop_table {
    background: var(--nh-bg-card) !important;
    border: 1px solid var(--nh-border-subtle) !important;
    border-radius: var(--nh-radius) !important;
    color: var(--nh-text) !important;
    overflow: hidden;
}

.woocommerce table.shop_table th {
    color: var(--nh-text) !important;
    border-color: var(--nh-border-subtle) !important;
}

.woocommerce table.shop_table td {
    color: var(--nh-text-secondary) !important;
    border-color: var(--nh-border-subtle) !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--nh-text) !important;
    border-radius: var(--nh-radius-sm) !important;
    padding: 12px 16px !important;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
    border-color: var(--nh-gold) !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1) !important;
}

/* Single Product */
.woocommerce div.product .product_title {
    color: var(--nh-text) !important;
    font-family: 'Playfair Display', serif;
}

.woocommerce div.product p.price {
    color: var(--nh-gold) !important;
    font-size: 28px !important;
    font-weight: 700 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    background: transparent !important;
    border-bottom: 1px solid var(--nh-border) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    background: transparent !important;
    border-color: transparent !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    border-bottom-color: var(--nh-gold) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    color: var(--nh-text-muted) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--nh-gold) !important;
}

.woocommerce div.product .woocommerce-tabs .panel {
    color: var(--nh-text-secondary);
}

/* ═══════════════════════════════════════════════════════════
   GSAP ANIMATION HELPERS
   ═══════════════════════════════════════════════════════════ */
.nh-reveal {
    opacity: 0;
    transform: translateY(40px);
}

.nh-reveal-left {
    opacity: 0;
    transform: translateX(-40px);
}

.nh-reveal-right {
    opacity: 0;
    transform: translateX(40px);
}

.nh-stagger-item {
    opacity: 0;
    transform: translateY(30px);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .nh-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nh-categories-grid .nh-category-card:first-child {
        grid-column: 1 / -1;
    }

    .nh-advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nh-projects-grid,
    .nh-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nh-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nh-contact-grid {
        grid-template-columns: 1fr;
    }

    .nh-contact-info {
        padding-right: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --nh-section-pad: 60px;
    }

    .nh-nav-desktop {
        display: none;
    }

    .nh-header-phone span {
        display: none;
    }

    .nh-burger {
        display: flex;
    }

    .nh-categories-grid {
        grid-template-columns: 1fr;
    }

    .nh-advantages-grid {
        grid-template-columns: 1fr;
    }

    .nh-projects-grid,
    .nh-products-grid {
        grid-template-columns: 1fr;
    }

    .nh-footer-grid {
        grid-template-columns: 1fr;
    }

    .nh-footer-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .nh-footer-bottom-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .nh-form-row {
        grid-template-columns: 1fr;
    }

    .nh-cta-banner-inner {
        padding: 40px 24px;
    }

    .nh-cta-banner .nh-btn-group {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .nh-header-inner {
        padding: 0 10px;
        gap: 6px;
    }

    .nh-logo-img img {
        height: 32px;
        max-width: 112px;
    }

    .nh-header-actions {
        gap: 2px;
        margin-left: auto;
        min-width: 0;
    }

    body.nh-dark-theme .nh-lang-switcher {
        margin-right: 0;
    }

    body.nh-dark-theme .nh-lang-current {
        gap: 3px;
        padding: 6px 7px;
    }

    body.nh-dark-theme .nh-lang-current svg {
        display: none;
    }

    .nh-header-phone {
        padding: 7px;
    }

    .nh-header-cart,
    .nh-burger {
        width: 38px;
        height: 38px;
    }

    .nh-burger {
        padding: 7px;
    }

    .nh-project-specs {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════
   PAGE & TEMPLATE SPECIFIC
   ═══════════════════════════════════════════════════════════ */
.nh-main {
    min-height: 60vh;
}

.nh-page-header {
    padding: 140px 0 60px;
    background: var(--nh-bg-secondary);
    text-align: center;
    border-bottom: 1px solid var(--nh-border-subtle);
}

.nh-page-header h1 {
    margin-bottom: 16px;
}

.nh-page-header p {
    font-size: 18px;
    color: var(--nh-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Archive: House Projects */
.nh-archive-projects {
    padding: var(--nh-section-pad) 0;
}

.nh-filter-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.nh-filter-btn {
    padding: 10px 24px;
    border-radius: 50px;
    background: var(--nh-bg-card);
    border: 1px solid var(--nh-border-subtle);
    color: var(--nh-text-muted);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--nh-transition);
    font-family: 'Inter', sans-serif;
}

.nh-filter-btn:hover,
.nh-filter-btn.active {
    background: rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--nh-gold);
}

/* Single House Project */
.nh-single-project {
    padding: 140px 0 var(--nh-section-pad);
}

.nh-single-project-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: start;
}

.nh-single-project-gallery {
    border-radius: var(--nh-radius);
    overflow: hidden;
}

.nh-single-project-gallery img {
    width: 100%;
    border-radius: var(--nh-radius);
}

.nh-single-project-details {
    position: sticky;
    top: 120px;
}

.nh-single-project-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 30px 0;
}

.nh-spec-card {
    background: var(--nh-bg-card);
    border: 1px solid var(--nh-border-subtle);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.nh-spec-card-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--nh-gold);
    font-family: 'Playfair Display', serif;
}

.nh-spec-card-label {
    font-size: 13px;
    color: var(--nh-text-muted);
    margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════
   UTILITY CLASSES
   ═══════════════════════════════════════════════════════════ */
.nh-text-gold {
    color: var(--nh-gold);
}

.nh-text-gradient {
    background: var(--nh-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nh-glass-card {
    background: var(--nh-bg-card);
    border: 1px solid var(--nh-border-subtle);
    backdrop-filter: blur(12px);
    border-radius: var(--nh-radius);
}

.nh-divider {
    border: none;
    border-top: 1px solid var(--nh-border-subtle);
    margin: 40px 0;
}

.nh-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Notification / Toast */
.nh-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--nh-bg-elevated);
    border: 1px solid var(--nh-border);
    color: var(--nh-text);
    padding: 16px 28px;
    border-radius: var(--nh-radius);
    font-size: 14px;
    z-index: 9999;
    opacity: 0;
    transition: var(--nh-transition);
    backdrop-filter: blur(20px);
    box-shadow: var(--nh-shadow);
}

.nh-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.nh-toast.success {
    border-color: rgba(46, 213, 115, 0.3);
}

.nh-toast.error {
    border-color: rgba(231, 76, 60, 0.3);
}

/* ═══════════════════════════════════════════════════════════════
   BLEND IMAGES ON BLACK — "painted on background" technique
   Applied via class .nh-blend (on <img>) inside .nh-blend-wrap.
   screen-blend drops pure blacks to transparent so the photo
   emerges from the void rather than sitting as a hard rectangle;
   radial mask fades the edges to black so there's no visible frame.
   ═══════════════════════════════════════════════════════════════ */
/* Images are pre-cut PNGs with transparent backgrounds.
   The subject sits directly on the dark theme — no hard rectangle,
   only a subtle gold rim-light so it feels drawn into the page. */
.nh-blend-wrap {
    position: relative;
    background: transparent;
    isolation: isolate;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nh-blend {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6)) drop-shadow(0 0 30px rgba(212,175,55,0.08));
    transition: transform 0.6s var(--nh-ease), filter 0.6s var(--nh-ease);
}

/* Hero — subject sits slightly right, fills the viewport; extra golden rim */
.nh-blend-hero {
    object-fit: cover;
    object-position: center;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.8)) drop-shadow(0 0 50px rgba(212,175,55,0.12)) contrast(1.05);
}

/* Category / project cards — subject floats, grows on hover */
.nh-category-card .nh-blend,
.nh-project-image .nh-blend {
    transform: scale(0.92);
}
.nh-category-card:hover .nh-blend,
.nh-project-card:hover .nh-project-image .nh-blend {
    transform: scale(1.0);
    filter: drop-shadow(0 25px 50px rgba(0,0,0,0.7)) drop-shadow(0 0 40px rgba(212,175,55,0.18));
}

/* About image — softer glow */
.nh-about-image .nh-blend {
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6)) drop-shadow(0 0 35px rgba(212,175,55,0.1));
}

/* Backward-compat: old blend helpers no-op so existing markup stays valid */
.nh-blend-fade-down, .nh-blend-gold { /* intentionally empty */ }

@media (prefers-reduced-motion: reduce) {
    .nh-blend { transition: none !important; }
}

/* v2 hero layer removed — see consolidated "HERO — FINAL" at end of file */

/* Category cards — product-shot style: transparent PNG floats on gradient tile */
.nh-category-card {
    background: radial-gradient(ellipse at 50% 70%, rgba(212,175,55,0.08) 0%, transparent 60%), linear-gradient(180deg, #141414 0%, #0a0a0a 100%);
    border: 1px solid rgba(255,255,255,0.06);
}
.nh-category-card .nh-blend {
    object-fit: contain;
    padding: 14% 10% 28%;  /* room around the subject + space under for the text overlay */
    transform: scale(0.95);
}
.nh-category-card:hover .nh-blend { transform: scale(1.02) translateY(-4px); }

/* Project card image area uses the same product-shot treatment */
.nh-project-image {
    background: radial-gradient(ellipse at 50% 75%, rgba(212,175,55,0.08) 0%, transparent 60%), #0a0a0a;
}
.nh-project-image .nh-blend {
    object-fit: contain;
    padding: 8%;
}

/* v3 hero layer removed — see consolidated "HERO — FINAL" at end of file */

/* Category cards — image blended into page bg (no frame, no haze) */
.nh-category-card {
    aspect-ratio: 4/5;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    position: relative;
    transition: transform 0.4s var(--nh-ease);
}
.nh-category-card .nh-blend {
    position: absolute !important;
    top: 4% !important;
    left: 50% !important;
    inset: auto !important;
    transform: translateX(-50%) scale(0.98);
    width: 92% !important;
    height: 70% !important;
    object-fit: contain !important;
    filter: none !important;
    transition: transform 0.5s var(--nh-ease);
    opacity: 1 !important;
}
.nh-category-card:hover { transform: translateY(-6px); }
.nh-category-card:hover .nh-blend { transform: translateX(-50%) scale(1.03) !important; }
.nh-category-overlay {
    position: relative;
    background: none;
    padding: 0 8px 8px;
    margin-top: auto;
    text-align: center;
}
/* Hide the small icon badge under each image */
.nh-category-card .nh-category-icon { display: none !important; }

/* Kill all drop-shadows on category-card images (they were creating dark halos) */
.nh-category-card .nh-blend,
body.nh-dark-theme .nh-category-card .nh-blend,
body.nh-dark-theme .nh-category-card .nh-cat-illustration {
    filter: none !important;
}
.nh-category-card:hover .nh-blend,
body.nh-dark-theme .nh-category-card:hover .nh-blend {
    filter: none !important;
}

/* Kill ALL dark overlays/gradients on category cards (was causing bottom tint) */
body.nh-dark-theme .nh-category-card,
.nh-category-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
}
body.nh-dark-theme .nh-category-overlay,
.nh-category-overlay {
    background: none !important;
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: auto !important;
    padding: 8px 8px 12px !important;
    height: auto !important;
    text-align: center !important;
}
.nh-category-name { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 500; color: #fff; margin-bottom: 8px; }
.nh-category-desc  { font-size: 13px; color: #999; line-height: 1.5; }

/* First card (main SIP houses) spans 2 — wide aspect */
.nh-categories-grid { grid-auto-rows: minmax(420px, auto); }
.nh-categories-grid .nh-category-card:first-child { grid-column: span 2; aspect-ratio: auto; }
.nh-categories-grid .nh-category-card:first-child .nh-blend { width: 70%; height: 70%; top: 8%; }
@media (max-width: 900px) {
    .nh-categories-grid .nh-category-card:first-child { grid-column: span 1; aspect-ratio: 4/5; }
}

/* ═══════════════════════════════════════════════════════════════
   SIP TECHNOLOGY SHOWCASE
   — ambient blurred video background + golden-framed card
   ═══════════════════════════════════════════════════════════════ */
.nh-sip-showcase {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    background: #0a0a0a;
    isolation: isolate;
}
.nh-sip-showcase::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(212,175,55,0.10) 0%, transparent 60%),
        linear-gradient(180deg, #0a0a0a 0%, #050505 100%);
    z-index: 1;
}
.nh-sip-bg {
    position: absolute; inset: 0;
    z-index: 0;
    overflow: hidden;
}
.nh-sip-bg-video {
    width: 110%; height: 110%;
    position: absolute; top: -5%; left: -5%;
    object-fit: cover;
    filter: blur(40px) brightness(0.28) saturate(1.3);
    opacity: 0.55;
    transform: scale(1.05);
}
.nh-sip-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
    gap: 80px;
    align-items: center;
}

/* Left column — text / steps / CTA */
.nh-sip-text .nh-section-label {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #d4af37;
    margin-bottom: 18px;
}
.nh-sip-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(34px, 4vw, 56px);
    font-weight: 500;
    line-height: 1.08;
    color: #fff;
    margin: 0 0 22px;
}
.nh-sip-lead {
    color: #aaa;
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 36px;
    max-width: 520px;
}
.nh-sip-steps {
    list-style: none;
    padding: 0; margin: 0 0 40px;
    display: grid;
    gap: 14px;
    counter-reset: nhsip;
}
.nh-sip-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: center;
    gap: 18px;
    padding: 14px 18px;
    border: 1px solid rgba(212,175,55,0.08);
    border-radius: 12px;
    background: rgba(255,255,255,0.015);
    color: #888;
    font-size: 14px;
    transition: all 0.4s var(--nh-ease, cubic-bezier(.2,.8,.2,1));
}
.nh-sip-step b {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 500;
    color: rgba(212,175,55,0.35);
    transition: color 0.4s ease;
}
.nh-sip-step.is-active {
    border-color: rgba(212,175,55,0.45);
    background: linear-gradient(90deg, rgba(212,175,55,0.10), rgba(212,175,55,0.00));
    color: #fff;
    transform: translateX(4px);
}
.nh-sip-step.is-active b { color: #f0d060; }
.nh-sip-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}
.nh-sip-actions .nh-btn-ghost {
    background: transparent;
    border: 1px solid rgba(212,175,55,0.35);
    color: #d4af37;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}
.nh-sip-actions .nh-btn-ghost:hover {
    border-color: #d4af37;
    background: rgba(212,175,55,0.08);
    color: #f0d060;
}

/* Right column — video card with animated golden frame */
.nh-sip-card-wrap {
    position: relative;
    width: 100%;
    max-width: 720px;
    justify-self: end;
}
.nh-sip-card {
    position: relative;
    border-radius: 18px;
    padding: 3px;
    background: conic-gradient(from var(--ring-angle, 0deg),
        #d4af37 0%, rgba(212,175,55,0.10) 25%, #f0d060 50%,
        rgba(212,175,55,0.10) 75%, #d4af37 100%);
    filter: drop-shadow(0 30px 70px rgba(212,175,55,0.18))
            drop-shadow(0 10px 30px rgba(0,0,0,0.6));
    animation: nh-sip-ring 9s linear infinite;
}
@property --ring-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
@keyframes nh-sip-ring {
    to { --ring-angle: 360deg; }
}
/* Fallback for browsers without @property support — rotate the whole frame */
@supports not (background: conic-gradient(from 0deg, red, red)) {
    .nh-sip-card {
        background: linear-gradient(135deg, #d4af37, rgba(212,175,55,0.15), #f0d060);
        animation: none;
    }
}
.nh-sip-card-frame {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #0a0a0a;
    aspect-ratio: 16/10; /* matches source video 576x360 */
}
.nh-sip-card-video {
    width: 100%; height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #0a0a0a;
}
.nh-sip-progress {
    margin: 18px auto 10px;
    height: 2px;
    width: 100%;
    background: rgba(212,175,55,0.12);
    border-radius: 2px;
    overflow: hidden;
}
.nh-sip-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #d4af37, #f0d060);
    transition: width 0.15s linear;
}
.nh-sip-caption {
    text-align: center;
    font-size: 12px;
    color: #666;
    letter-spacing: 0.06em;
    margin: 0;
}

@media (max-width: 900px) {
    .nh-sip-showcase { padding: 80px 0; }
    .nh-sip-inner { grid-template-columns: 1fr; gap: 48px; }
    .nh-sip-card-wrap { justify-self: stretch; }
}

/* ═══════════════════════════════════════════════════════════════
   SIP FULL-VIDEO MODAL
   ═══════════════════════════════════════════════════════════════ */
.nh-sip-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(5,5,5,0.92);
    backdrop-filter: blur(18px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.nh-sip-modal[hidden] { display: none; }
.nh-sip-modal.is-open { opacity: 1; }
.nh-sip-modal-frame {
    position: relative;
    width: min(1080px, 95vw);
    aspect-ratio: 16/10;
    border-radius: 16px;
    overflow: hidden;
    padding: 2px;
    background: conic-gradient(from 0deg, #d4af37, rgba(212,175,55,0.15), #f0d060, rgba(212,175,55,0.15), #d4af37);
    box-shadow: 0 40px 120px rgba(212,175,55,0.25), 0 20px 60px rgba(0,0,0,0.8);
}
.nh-sip-modal-video {
    width: 100%; height: 100%;
    background: #000;
    border-radius: 14px;
    object-fit: contain;
    display: block;
}
.nh-sip-modal-close {
    position: absolute;
    top: 20px; right: 24px;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(212,175,55,0.1);
    border: 1px solid rgba(212,175,55,0.35);
    color: #d4af37;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.nh-sip-modal-close:hover {
    background: rgba(212,175,55,0.25);
    color: #f0d060;
    transform: rotate(90deg);
}

/* Project cards — same product-shot style for transparent PNGs */
.nh-project-image {
    aspect-ratio: 4/3;
    background: radial-gradient(ellipse at 50% 65%, rgba(212,175,55,0.08) 0%, transparent 60%), #0c0c0c;
    display: flex; align-items: center; justify-content: center;
    padding: 8%;
}
.nh-project-image .nh-blend {
    width: 100%; height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.65));
    transition: transform 0.5s var(--nh-ease);
}
.nh-project-card:hover .nh-project-image .nh-blend { transform: scale(1.05); }


/* ═══════════════════════════════════════════════════════════
   SINGLE PROJECT PAGE (Villa 210 template)
   ═══════════════════════════════════════════════════════════ */
.nh-project-single { background: #0a0a0a; color: #e8e8e8; }

/* Hero */
.nh-project-hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    padding: 140px 0 80px;
    background: #000;
}
.nh-project-hero-bg {
    position: absolute; inset: 0;
    z-index: 0;
}
.nh-project-hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: nhHeroKen 18s ease-in-out infinite alternate;
}
@keyframes nhHeroKen {
    to { transform: scale(1.12) translateY(-1%); }
}
.nh-project-hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.55) 50%, rgba(10,10,10,0.96) 100%),
        radial-gradient(ellipse at 70% 20%, rgba(212,175,55,0.12) 0%, transparent 60%);
    z-index: 1;
}
.nh-project-hero-cont
/* ═══════════════════════════════════════════════════════════════
   OVERRIDES v2.1 — hard reset visibility against parent shopwell
   ═══════════════════════════════════════════════════════════════ */

/* Base */
body.nh-dark-theme,
body.nh-dark-theme .site-content,
body.nh-dark-theme .site-main {
    background: #0a0a0a !important;
    color: #e8e8e8 !important;
}

/* Shopwell/Elementor wrappers force white backgrounds — blank them */
body.nh-dark-theme #page,
body.nh-dark-theme .shopwell-content,
body.nh-dark-theme .elementor-element,
body.nh-dark-theme .site,
body.nh-dark-theme main,
body.nh-dark-theme #primary,
body.nh-dark-theme #content {
    background: transparent !important;
    color: inherit !important;
}

/* Headings — force white so they read on dark bg */
body.nh-dark-theme h1,
body.nh-dark-theme h2,
body.nh-dark-theme h3,
body.nh-dark-theme h4,
body.nh-dark-theme h5,
body.nh-dark-theme h6 {
    color: #ffffff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Keep the gold-gradient span inside headings (Nord Haus, 14 дней, etc) */
body.nh-dark-theme .nh-gold-text,
body.nh-dark-theme h1 .nh-gold-text,
body.nh-dark-theme h2 .nh-gold-text {
    color: transparent !important;
    -webkit-text-fill-color: transparent !important;
    background: linear-gradient(135deg, #d4af37 0%, #f0d060 50%, #d4af37 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    text-shadow: none !important;
}

/* Paragraphs, lists, general body copy — light gray so it reads */
body.nh-dark-theme p,
body.nh-dark-theme li,
body.nh-dark-theme span,
body.nh-dark-theme label,
body.nh-dark-theme small,
body.nh-dark-theme .nh-hero-subtitle,
body.nh-dark-theme .nh-section-header p {
    color: #c8c8c8;
}
body.nh-dark-theme .nh-section-label {
    color: #d4af37 !important;
    letter-spacing: 0.25em;
}

/* Link colors */
body.nh-dark-theme a { color: #d4af37; }
body.nh-dark-theme a:hover { color: #f0d060; }
body.nh-dark-theme .nh-nav-list a,
body.nh-dark-theme .nh-header a,
body.nh-dark-theme .nh-footer a {
    color: #e8e8e8;
}
body.nh-dark-theme .nh-nav-list a:hover,
body.nh-dark-theme .nh-header a:hover {
    color: #f0d060;
}

/* Category cards — make them VISIBLY cards with strong border */
body.nh-dark-theme .nh-category-card,
body.nh-dark-theme .nh-project-card {
    background:
        radial-gradient(ellipse at 50% 30%, rgba(212,175,55,0.08) 0%, transparent 60%),
        linear-gradient(180deg, #151515 0%, #0a0a0a 100%) !important;
    border: 1px solid rgba(212,175,55,0.18) !important;
    box-shadow: 0 12px 28px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.03) !important;
}
body.nh-dark-theme .nh-category-card:hover,
body.nh-dark-theme .nh-project-card:hover {
    border-color: rgba(212,175,55,0.5) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.7), 0 0 40px rgba(212,175,55,0.15) !important;
}

/* Category image must be fully visible (not tiny) */
body.nh-dark-theme .nh-category-card .nh-blend,
body.nh-dark-theme .nh-category-card .nh-cat-illustration {
    position: absolute !important;
    inset: 10% 10% 35% 10% !important;
    width: 80% !important;
    height: 55% !important;
    object-fit: contain !important;
    opacity: 1 !important;
    transform: scale(1) !important;
    filter: drop-shadow(0 18px 28px rgba(0,0,0,0.7)) drop-shadow(0 0 24px rgba(212,175,55,0.10)) !important;
}
body.nh-dark-theme .nh-categories-grid .nh-category-card:first-child .nh-blend {
    inset: 8% 8% 30% 8% !important;
    width: 84% !important;
    height: 62% !important;
}

/* Project card image */
body.nh-dark-theme .nh-project-image {
    aspect-ratio: 16/10;
    background:
        radial-gradient(ellipse at 50% 75%, rgba(212,175,55,0.06) 0%, transparent 60%),
        #0a0a0a !important;
    overflow: hidden;
    position: relative;
}
body.nh-dark-theme .nh-project-image .nh-blend,
body.nh-dark-theme .nh-project-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 1 !important;
    transform: scale(1) !important;
    position: absolute !important;
    inset: 0 !important;
    padding: 0 !important;
}

/* Category text overlay — make it readable */
body.nh-dark-theme .nh-category-overlay {
    background: linear-gradient(to top,
        rgba(10,10,10,0.98) 0%,
        rgba(10,10,10,0.9) 50%,
        rgba(10,10,10,0.0) 100%) !important;
    padding: 28px 22px 22px !important;
}
body.nh-dark-theme .nh-category-name {
    color: #ffffff !important;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 500;
}
body.nh-dark-theme .nh-category-desc {
    color: #b0b0b0 !important;
    font-size: 13px;
    line-height: 1.5;
}
body.nh-dark-theme .nh-category-icon {
    color: #d4af37 !important;
}

/* Hero title/subtitle — see consolidated "HERO — FINAL" */

/* Section headers (Наша продукция etc.) */
body.nh-dark-theme .nh-section-header h2 {
    color: #ffffff !important;
    font-family: 'Playfair Display', serif;
}
body.nh-dark-theme .nh-section-header p {
    color: #aaa !important;
}

/* Gold buttons */
body.nh-dark-theme .nh-btn-gold,
body.nh-dark-theme .nh-btn.nh-btn-gold {
    background: linear-gradient(135deg, #d4af37, #f0d060) !important;
    color: #0a0a0a !important;
    border: none !important;
    padding: 14px 26px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
body.nh-dark-theme .nh-btn-outline,
body.nh-dark-theme .nh-btn.nh-btn-outline {
    background: transparent !important;
    color: #d4af37 !important;
    border: 1px solid rgba(212,175,55,0.5) !important;
    padding: 13px 26px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
}

/* Hero stats — see consolidated "HERO — FINAL" */

/* Hide shopwell blog breadcrumbs / sidebar if they leak in */
body.nh-dark-theme .site-breadcrumbs,
body.nh-dark-theme .breadcrumbs-wrapper,
body.nh-dark-theme #secondary,
body.nh-dark-theme .widget-area,
body.nh-dark-theme .no-sidebar,
body.nh-dark-theme .shopwell-blog-page .post-navigation {
    display: none !important;
}

/* Remove top padding introduced by shopwell on home */
body.nh-dark-theme.home > #content,
body.nh-dark-theme.home #page {
    padding-top: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════
   OVERRIDES v2.2 — un-hide stagger items if GSAP fails to fire
   ═══════════════════════════════════════════════════════════════ */
/* Previously: stagger items started at opacity:0 waiting for GSAP.
   If GSAP/ScrollTrigger doesn't fire (ScriptError, mobile, SG cache),
   the whole grid stays invisible. Start them visible and use @media
   animations as a progressive enhancement. */
body.nh-dark-theme .nh-stagger-item,
body.nh-dark-theme [data-nh-stagger] > *,
body.nh-dark-theme .nh-reveal,
body.nh-dark-theme .nh-reveal-left,
body.nh-dark-theme .nh-reveal-right,
body.nh-dark-theme .nh-fade-up,
body.nh-dark-theme .nh-fade-in {
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

/* Cards specifically — make opacity truly forced */
body.nh-dark-theme .nh-category-card,
body.nh-dark-theme .nh-project-card,
body.nh-dark-theme .nh-advantage-item,
body.nh-dark-theme .nh-sip-step {
    opacity: 1 !important;
}

/* Nicer in-view entrance using CSS only (no JS) */
@keyframes nh-fade-up-css {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0);    }
}
@media (prefers-reduced-motion: no-preference) {
    body.nh-dark-theme .nh-category-card,
    body.nh-dark-theme .nh-project-card,
    body.nh-dark-theme .nh-advantage-item {
        animation: nh-fade-up-css 0.6s ease-out both;
    }
    body.nh-dark-theme .nh-category-card:nth-child(2)  { animation-delay: 0.08s; }
    body.nh-dark-theme .nh-category-card:nth-child(3)  { animation-delay: 0.16s; }
    body.nh-dark-theme .nh-category-card:nth-child(4)  { animation-delay: 0.24s; }
    body.nh-dark-theme .nh-category-card:nth-child(5)  { animation-delay: 0.32s; }
}

/* ═══════════════════════════════════════════════════════════════
   OVERRIDES v2.3 — bigger product shots in category cards
   ═══════════════════════════════════════════════════════════════ */

/* Category card — give images most of the card, reserve bottom 28% for text */
body.nh-dark-theme .nh-category-card {
    aspect-ratio: 4/5 !important;
    min-height: 360px !important;
    padding: 0 !important;
}

body.nh-dark-theme .nh-category-card .nh-blend,
body.nh-dark-theme .nh-category-card img {
    position: absolute !important;
    top: 8% !important;
    left: 8% !important;
    right: 8% !important;
    bottom: 30% !important;
    width: 84% !important;
    height: 62% !important;
    inset: auto !important;  /* kill any previous inset */
    object-fit: contain !important;
    object-position: center !important;
    opacity: 1 !important;
    transform: scale(1) !important;
    filter:
        drop-shadow(0 18px 30px rgba(0,0,0,0.6))
        drop-shadow(0 0 40px rgba(212,175,55,0.15)) !important;
    z-index: 1;
}
body.nh-dark-theme .nh-category-card:hover .nh-blend,
body.nh-dark-theme .nh-category-card:hover img {
    transform: scale(1.04) !important;
    filter:
        drop-shadow(0 24px 40px rgba(0,0,0,0.75))
        drop-shadow(0 0 55px rgba(212,175,55,0.28)) !important;
}

/* First (big) card — wide. Keep image centered, bigger */
body.nh-dark-theme .nh-categories-grid .nh-category-card:first-child {
    grid-column: span 2;
    aspect-ratio: auto !important;
    min-height: 420px !important;
}
body.nh-dark-theme .nh-categories-grid .nh-category-card:first-child .nh-blend {
    top: 6% !important;
    left: 10% !important;
    right: 10% !important;
    bottom: 24% !important;
    width: 80% !important;
    height: 70% !important;
}

/* Overlay text should not eat the image */
body.nh-dark-theme .nh-category-overlay {
    position: absolute !important;
    bottom: 0; left: 0; right: 0;
    z-index: 2;
    padding: 20px 22px !important;
    height: auto !important;
    background: linear-gradient(to top,
        rgba(10,10,10,0.98) 0%,
        rgba(10,10,10,0.85) 60%,
        rgba(10,10,10,0) 100%) !important;
}
body.nh-dark-theme .nh-category-name {
    font-size: 20px !important;
    margin-bottom: 4px !important;
}
body.nh-dark-theme .nh-category-desc {
    font-size: 12px !important;
    line-height: 1.45 !important;
}

/* Project card — show exterior image at full bleed, 16:10 */
body.nh-dark-theme .nh-project-image {
    aspect-ratio: 16/10 !important;
    min-height: 240px !important;
}
body.nh-dark-theme .nh-project-image img,
body.nh-dark-theme .nh-project-image .nh-blend {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    padding: 0 !important;
    transform: scale(1) !important;
    opacity: 1 !important;
}

/* Mobile: big card becomes single column */
@media (max-width: 900px) {
    body.nh-dark-theme .nh-categories-grid .nh-category-card:first-child {
        grid-column: span 1;
        aspect-ratio: 4/5 !important;
    }
}

/* SECTION SPACING — less empty black void between sections */
body.nh-dark-theme .nh-categories,
body.nh-dark-theme .nh-advantages,
body.nh-dark-theme .nh-projects {
    padding: 80px 0 !important;
}
body.nh-dark-theme .nh-section-header {
    margin-bottom: 48px !important;
    text-align: center;
}
body.nh-dark-theme .nh-section-header h2 {
    font-size: clamp(32px, 4.5vw, 52px) !important;
    margin: 12px 0 12px !important;
}
body.nh-dark-theme .nh-section-header p {
    font-size: 16px !important;
    max-width: 640px;
    margin: 0 auto !important;
}

/* ═══════════════════════════════════════════════════════════════
   OVERRIDES v2.4 — final layout for product shots inside cards
   ═══════════════════════════════════════════════════════════════ */

/* Reset: simple positioning, single source of truth.
   All previous .nh-blend/image rules lose to these via !important. */

body.nh-dark-theme .nh-category-card {
    position: relative;
    aspect-ratio: 4/5 !important;
    min-height: 380px !important;
    overflow: hidden;
    display: block !important;
}

/* Image fills most of the card with ~30% bottom reserved for text overlay */
body.nh-dark-theme .nh-category-card > img,
body.nh-dark-theme .nh-category-card .nh-blend {
    position: absolute !important;
    top: 5% !important;
    left: 5% !important;
    right: 5% !important;
    bottom: 28% !important;
    width: 90% !important;
    height: 67% !important;
    max-width: 90% !important;
    max-height: 67% !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    object-position: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: scale(1) !important;
    filter:
        drop-shadow(0 16px 28px rgba(0,0,0,0.7))
        drop-shadow(0 0 40px rgba(212,175,55,0.15)) !important;
    z-index: 1 !important;
}
body.nh-dark-theme .nh-category-card:hover > img,
body.nh-dark-theme .nh-category-card:hover .nh-blend {
    transform: scale(1.04) !important;
}

/* First (big) card */
body.nh-dark-theme .nh-categories-grid .nh-category-card:first-child {
    grid-column: span 2;
    aspect-ratio: 16/9 !important;
    min-height: 440px !important;
}
body.nh-dark-theme .nh-categories-grid .nh-category-card:first-child > img,
body.nh-dark-theme .nh-categories-grid .nh-category-card:first-child .nh-blend {
    top: 6% !important;
    left: 8% !important;
    right: 8% !important;
    bottom: 22% !important;
    width: 84% !important;
    height: 72% !important;
    max-width: 84% !important;
    max-height: 72% !important;
}

@media (max-width: 900px) {
    body.nh-dark-theme .nh-categories-grid .nh-category-card:first-child {
        grid-column: span 1;
        aspect-ratio: 4/5 !important;
    }
    body.nh-dark-theme .nh-categories-grid .nh-category-card:first-child > img,
    body.nh-dark-theme .nh-categories-grid .nh-category-card:first-child .nh-blend {
        top: 5% !important; left: 5% !important; right: 5% !important; bottom: 28% !important;
        width: 90% !important; height: 67% !important;
    }
}

/* Project image — full-bleed cover, NOT inset */
body.nh-dark-theme .nh-project-card {
    display: flex;
    flex-direction: column;
}
body.nh-dark-theme .nh-project-image {
    position: relative;
    aspect-ratio: 16/10 !important;
    overflow: hidden;
    min-height: 260px !important;
}
body.nh-dark-theme .nh-project-image > img,
body.nh-dark-theme .nh-project-image .nh-blend {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: scale(1) !important;
    filter: none !important;
    opacity: 1 !important;
}
body.nh-dark-theme .nh-project-card:hover .nh-project-image > img,
body.nh-dark-theme .nh-project-card:hover .nh-project-image .nh-blend {
    transform: scale(1.05) !important;
}

/* ═══════════════════════════════════════════════════════════════
   OVERRIDES v2.5 — final pass based on user's real screenshot
   ═══════════════════════════════════════════════════════════════ */

/* 1) FIXED HEADER — stable at top, no layout jump between pages */
body.nh-dark-theme .nh-header {
    position: fixed !important;
    top: 0; left: 0; right: 0;
    width: 100% !important;
    z-index: 1000 !important;
    background: rgba(10, 10, 10, 0.85) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(212,175,55,0.08);
    padding: 14px 0 !important;
    transition: background 0.3s ease, padding 0.3s ease;
}
body.nh-dark-theme .nh-header.scrolled {
    padding: 10px 0 !important;
    background: rgba(10,10,10,0.95) !important;
}
/* Always reserve space so content doesn't slide under fixed header */
body.nh-dark-theme:not(.home) {
    padding-top: 88px !important;
}

/* Hero padding/h1 — see consolidated "HERO — FINAL" */

/* 3) CATEGORIES — equal 5 cards, no span-2 */
body.nh-dark-theme .nh-categories-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px !important;
    grid-auto-rows: auto !important;
}
body.nh-dark-theme .nh-categories-grid .nh-category-card,
body.nh-dark-theme .nh-categories-grid .nh-category-card:first-child {
    grid-column: span 1 !important;
    aspect-ratio: 3/4 !important;
    min-height: 360px !important;
}
body.nh-dark-theme .nh-categories-grid .nh-category-card:first-child > img,
body.nh-dark-theme .nh-categories-grid .nh-category-card:first-child .nh-blend {
    top: 5% !important;
    left: 5% !important;
    right: 5% !important;
    bottom: 28% !important;
    width: 90% !important;
    height: 67% !important;
}
@media (max-width: 1100px) {
    body.nh-dark-theme .nh-categories-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 720px) {
    body.nh-dark-theme .nh-categories-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
    body.nh-dark-theme .nh-categories-grid { grid-template-columns: 1fr !important; }
}

/* 4) KILL the empty-void: force normal padding on all sections, reveal content */
body.nh-dark-theme section {
    padding-top: 70px !important;
    padding-bottom: 70px !important;
}
body.nh-dark-theme .nh-categories { padding: 70px 0 !important; }
body.nh-dark-theme .nh-advantages { padding: 70px 0 !important; }
body.nh-dark-theme .nh-projects   { padding: 70px 0 !important; }
body.nh-dark-theme .nh-sip-showcase { padding: 80px 0 !important; }
body.nh-dark-theme .nh-cta-banner { padding: 80px 0 !important; }
body.nh-dark-theme .nh-contact    { padding: 70px 0 !important; }

/* Advantages — make sure the 4 cards render (same opacity fix + visible styles) */
body.nh-dark-theme .nh-advantages-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
}
body.nh-dark-theme .nh-advantage-item {
    padding: 30px 24px !important;
    background: linear-gradient(180deg, #141414 0%, #0a0a0a 100%) !important;
    border: 1px solid rgba(212,175,55,0.1) !important;
    border-radius: 14px !important;
    text-align: center !important;
    min-height: 220px !important;
    opacity: 1 !important;
}
body.nh-dark-theme .nh-advantage-icon {
    width: 56px; height: 56px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212,175,55,0.15), rgba(212,175,55,0.05));
    display: flex; align-items: center; justify-content: center;
    color: #d4af37 !important;
}
body.nh-dark-theme .nh-advantage-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px !important;
    color: #fff !important;
    margin-bottom: 10px;
}
body.nh-dark-theme .nh-advantage-text {
    font-size: 13px !important;
    color: #aaa !important;
    line-height: 1.6;
}
@media (max-width: 900px) {
    body.nh-dark-theme .nh-advantages-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 520px) {
    body.nh-dark-theme .nh-advantages-grid { grid-template-columns: 1fr !important; }
}

/* PROJECTS grid — normal 3 columns, equal sizing */
body.nh-dark-theme .nh-projects-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
}
@media (max-width: 900px) {
    body.nh-dark-theme .nh-projects-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 520px) {
    body.nh-dark-theme .nh-projects-grid { grid-template-columns: 1fr !important; }
}

/* Container */
body.nh-dark-theme .nh-container {
    max-width: 1320px !important;
    margin: 0 auto !important;
    padding: 0 24px !important;
}

/* ═══════════════════════════════════════════════════════════════
   OVERRIDES v2.6 — premium sharp look (user: "как в дымке")
   Rationale:
     - drop-shadow glow + radial gold gradient blurred subjects
     - too-dark background sank them into black
   Fix:
     - clean solid card background
     - NO gold glow under images
     - subtle contrast/saturate bump on PNGs
     - stronger border for the card outline
   ═══════════════════════════════════════════════════════════════ */

body.nh-dark-theme .nh-category-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
}
body.nh-dark-theme .nh-project-card {
    background: #141414 !important;
    border: 1px solid rgba(212, 175, 55, 0.28) !important;
    box-shadow:
        0 14px 30px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
    overflow: hidden !important;
}
body.nh-dark-theme .nh-category-card:hover,
body.nh-dark-theme .nh-project-card:hover {
    border-color: rgba(212, 175, 55, 0.65) !important;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(212, 175, 55, 0.3) !important;
    transform: translateY(-4px);
}

/* CLEAN IMAGES — no blur glow. Just a hard drop-shadow for depth, plus
   contrast/saturate bump so the photo reads as sharp product-shot. */
body.nh-dark-theme .nh-category-card > img,
body.nh-dark-theme .nh-category-card .nh-blend,
body.nh-dark-theme .nh-category-card .nh-cat-illustration {
    filter:
        contrast(1.1)
        saturate(1.15)
        drop-shadow(0 14px 20px rgba(0, 0, 0, 0.55)) !important;
}
body.nh-dark-theme .nh-category-card:hover > img,
body.nh-dark-theme .nh-category-card:hover .nh-blend,
body.nh-dark-theme .nh-category-card:hover .nh-cat-illustration {
    filter:
        contrast(1.15)
        saturate(1.25)
        drop-shadow(0 18px 26px rgba(0, 0, 0, 0.7)) !important;
    transform: scale(1.04) !important;
}

body.nh-dark-theme .nh-project-image {
    background: #0a0a0a !important;
}
body.nh-dark-theme .nh-project-image > img,
body.nh-dark-theme .nh-project-image .nh-blend {
    filter:
        contrast(1.08)
        saturate(1.1) !important;
}

/* Category overlay — less heavy dark gradient so text sits cleaner */
body.nh-dark-theme .nh-category-overlay {
    background: linear-gradient(to top,
        rgba(12, 12, 12, 0.98) 0%,
        rgba(12, 12, 12, 0.82) 55%,
        rgba(12, 12, 12, 0.0)  100%) !important;
    padding: 24px 20px 20px !important;
}
body.nh-dark-theme .nh-category-name {
    font-size: 18px !important;
    font-weight: 500 !important;
    letter-spacing: 0.01em !important;
}
body.nh-dark-theme .nh-category-desc {
    font-size: 12px !important;
    color: #a8a8a8 !important;
    line-height: 1.5 !important;
}

/* Hero filter reset — consolidated in "HERO — FINAL" */

/* Advantage cards — same sharp treatment */
body.nh-dark-theme .nh-advantage-item {
    background: #141414 !important;
    border: 1px solid rgba(212, 175, 55, 0.18) !important;
    filter: none !important;
}
body.nh-dark-theme .nh-advantage-icon svg {
    filter: none !important;
}

/* All section backgrounds — solid dark (no extra gradient haze) */
body.nh-dark-theme .nh-categories,
body.nh-dark-theme .nh-projects,
body.nh-dark-theme .nh-contact,
body.nh-dark-theme .nh-cta-banner {
    background: #0a0a0a !important;
}
body.nh-dark-theme .nh-advantages {
    background: #0e0e0e !important;
}

/* ═══════════════════════════════════════════════════════════════
   HERO — FINAL (single source of truth)
   Scoped under body.nh-dark-theme to override parent shopwell theme.
   Two-column grid on desktop, stacked on mobile with faded house bg.
   ═══════════════════════════════════════════════════════════════ */

/* Neutralize legacy layers that markup still references */
body.nh-dark-theme .nh-hero-bg,
body.nh-dark-theme .nh-hero-overlay,
body.nh-dark-theme .nh-hero-product { display: none !important; }

/* Section shell — house is absolute-positioned; content overlays it with a left vignette */
body.nh-dark-theme .nh-hero {
    position: relative !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    min-height: min(88vh, 760px) !important;
    padding: clamp(100px, 12vh, 140px) calc(max(24px, (100vw - 1280px) / 2)) clamp(60px, 8vh, 100px) !important;
    filter: none !important;
    background:
        linear-gradient(rgba(212,175,55,0.045) 1px, transparent 1px) 0 0 / 80px 80px,
        linear-gradient(90deg, rgba(212,175,55,0.045) 1px, transparent 1px) 0 0 / 80px 80px,
        radial-gradient(ellipse 55% 45% at 78% 35%, rgba(212,175,55,0.13) 0%, transparent 60%),
        linear-gradient(180deg, #0a0a0a 0%, #0e0e0e 55%, #060606 100%) !important;
}

/* Left vignette — darkens the house on the left side so text stays readable */
body.nh-dark-theme .nh-hero::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(100deg,
        rgba(10,10,10,0.95) 0%,
        rgba(10,10,10,0.82) 30%,
        rgba(10,10,10,0.45) 50%,
        rgba(10,10,10,0.0)  72%) !important;
    z-index: 2 !important;
    pointer-events: none !important;
}
body.nh-dark-theme .nh-hero::before { content: none !important; }

/* Text content — overlays the house, wins via z-index */
body.nh-dark-theme .nh-hero > .nh-hero-content {
    position: relative !important;
    z-index: 3 !important;
    width: 100% !important;
    max-width: 720px !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Gold label chip */
body.nh-dark-theme .nh-hero-label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 18px !important;
    margin: 0 0 28px !important;
    background: rgba(212,175,55,0.10) !important;
    border: 1px solid rgba(212,175,55,0.30) !important;
    border-radius: 999px !important;
    color: var(--nh-gold, #d4af37) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
}
body.nh-dark-theme .nh-hero-label svg { width: 14px !important; height: 14px !important; }

/* Title */
body.nh-dark-theme .nh-hero h1 {
    font-family: 'Playfair Display', Georgia, serif !important;
    color: #fff !important;
    font-size: clamp(32px, 3.4vw, 52px) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.01em !important;
    margin: 0 0 22px !important;
    max-width: 100% !important;
    word-break: normal !important;
    hyphens: none !important;
}
body.nh-dark-theme .nh-hero h1 .nh-gold-text {
    display: inline-block !important;
    white-space: nowrap !important;
    background: linear-gradient(135deg, #a08520 0%, #d4af37 40%, #f0d060 60%, #d4af37 100%) !important;
    -webkit-background-clip: text !important;
            background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}

/* Subtitle */
body.nh-dark-theme .nh-hero-subtitle {
    color: #c8c8c8 !important;
    font-size: clamp(15px, 1.2vw, 18px) !important;
    line-height: 1.7 !important;
    max-width: 560px !important;
    margin: 0 0 36px !important;
}

/* Action buttons — side-by-side, wrap on narrow */
body.nh-dark-theme .nh-hero-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    margin: 0 !important;
}

/* Stats — 2x2 grid so "100%" never jumps to a lonely 3rd row */
body.nh-dark-theme .nh-hero-stats {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, auto)) !important;
    gap: 20px 40px !important;
    margin: 48px 0 0 !important;
    padding: 28px 0 0 !important;
    border-top: 1px solid rgba(212,175,55,0.14) !important;
}
body.nh-dark-theme .nh-hero-stat { text-align: left !important; min-width: 0 !important; }
body.nh-dark-theme .nh-hero-stat-number {
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: clamp(26px, 2.4vw, 36px) !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    margin: 0 0 6px !important;
    background: linear-gradient(135deg, #d4af37, #f0d060) !important;
    -webkit-background-clip: text !important;
            background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
}
body.nh-dark-theme .nh-hero-stat-label {
    color: #8f8f8f !important;
    font-size: 11px !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    line-height: 1.3 !important;
}

/* House image — absolute, anchored to container right edge, overlaps behind text */
body.nh-dark-theme .nh-hero-house {
    position: absolute !important;
    right: calc(max(0px, (100vw - 1280px) / 2)) !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: clamp(420px, 48vw, 680px) !important;
    height: auto !important;
    max-height: 82% !important;
    z-index: 1 !important;
    object-fit: contain !important;
    pointer-events: none !important;
    animation: nh-hero-house-float 8s ease-in-out infinite !important;
    filter:
        contrast(1.06)
        saturate(1.1)
        drop-shadow(0 28px 45px rgba(0,0,0,0.85))
        drop-shadow(0 0 80px rgba(212,175,55,0.18)) !important;
}
@keyframes nh-hero-house-float {
    0%, 100% { transform: translateY(-50%); }
    50%      { transform: translateY(calc(-50% - 12px)); }
}

/* Scroll indicator — hidden (was overlapping stats) */
body.nh-dark-theme .nh-hero-scroll { display: none !important; }

/* ─── Intermediate (≤1100px): house shrinks, stats wrap early ─── */
@media (max-width: 1100px) {
    body.nh-dark-theme .nh-hero-house {
        width: 62vw !important;
        max-height: 70% !important;
        right: -4% !important;
    }
    body.nh-dark-theme .nh-hero::after {
        background: linear-gradient(100deg,
            rgba(10,10,10,0.97) 0%,
            rgba(10,10,10,0.88) 35%,
            rgba(10,10,10,0.55) 55%,
            rgba(10,10,10,0.0)  78%) !important;
    }
}

/* ─── Stats wrap to 2 columns early (text column gets tight before the whole layout does) ─── */
@media (max-width: 900px) {
    body.nh-dark-theme .nh-hero-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 18px 28px !important;
    }
}

/* ─── Mobile (≤768px): house becomes faded backdrop, text full-width ─── */
@media (max-width: 768px) {
    body.nh-dark-theme .nh-hero {
        min-height: auto !important;
        padding: 100px 20px 64px !important;
    }
    body.nh-dark-theme .nh-hero > .nh-hero-content {
        max-width: 100% !important;
    }
    body.nh-dark-theme .nh-hero-house {
        right: -20% !important;
        top: 55% !important;
        width: 135% !important;
        max-height: 55% !important;
        opacity: 0.22 !important;
        animation: none !important;
        transform: translateY(-50%) !important;
    }
    body.nh-dark-theme .nh-hero::after {
        background: linear-gradient(180deg,
            rgba(10,10,10,0.75) 0%,
            rgba(10,10,10,0.55) 40%,
            rgba(10,10,10,0.85) 100%) !important;
    }
    body.nh-dark-theme .nh-hero-scroll { display: none !important; }
    body.nh-dark-theme .nh-hero-label { margin: 0 0 20px !important; padding: 6px 14px !important; font-size: 11px !important; }
    body.nh-dark-theme .nh-hero h1 { font-size: clamp(26px, 8vw, 38px) !important; margin: 0 0 16px !important; }
    body.nh-dark-theme .nh-hero-subtitle { font-size: 14px !important; margin: 0 0 24px !important; }
    body.nh-dark-theme .nh-hero-actions .nh-btn { flex: 1 1 auto !important; justify-content: center !important; }
    body.nh-dark-theme .nh-hero-stats {
        margin: 28px 0 0 !important;
        padding: 20px 0 0 !important;
        gap: 14px 20px !important;
    }
    body.nh-dark-theme .nh-hero-stat-number { font-size: 26px !important; }
    body.nh-dark-theme .nh-hero-stat-label  { font-size: 10px !important; }
}

@media (prefers-reduced-motion: reduce) {
    body.nh-dark-theme .nh-hero-house,
    body.nh-dark-theme .nh-hero-scroll { animation: none !important; }
}
/* END HERO — FINAL */

/* ═══════════════════════════════════════════════════════════════
   PHOTO CARDS (category cards that use a real photo, not a cutout PNG)
   ═══════════════════════════════════════════════════════════════ */
body.nh-dark-theme .nh-category-card.nh-card-photo {
    position: relative !important;
    overflow: hidden !important;
    aspect-ratio: 3/4 !important;
    padding: 0 !important;
}
body.nh-dark-theme .nh-card-photo .nh-cat-photo {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    transform: scale(1) !important;
    transition: transform 0.6s var(--nh-ease, ease) !important;
    filter: brightness(0.82) saturate(1.05) !important;
    z-index: 1 !important;
}
body.nh-dark-theme .nh-card-photo:hover .nh-cat-photo {
    transform: scale(1.06) !important;
    filter: brightness(0.95) saturate(1.15) !important;
}
body.nh-dark-theme .nh-card-photo .nh-category-overlay {
    position: absolute !important;
    inset: auto 0 0 0 !important;
    background: linear-gradient(180deg,
        rgba(10,10,10,0)   0%,
        rgba(10,10,10,0.55) 40%,
        rgba(10,10,10,0.92) 100%) !important;
    padding: 48px 24px 24px !important;
    z-index: 2 !important;
}

/* ═══════════════════════════════════════════════════════════════
   PAGE HEADER BANNER (archive pages + WooCommerce category overrides)
   ═══════════════════════════════════════════════════════════════ */
body.nh-dark-theme .nh-page-header--banner {
    position: relative !important;
    padding: 180px 0 100px !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    isolation: isolate !important;
}
body.nh-dark-theme .nh-page-header--banner .nh-container {
    position: relative !important;
    z-index: 2 !important;
}
body.nh-dark-theme .nh-page-header-overlay {
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg,
        rgba(10,10,10,0.85) 0%,
        rgba(10,10,10,0.55) 45%,
        rgba(10,10,10,0.88) 100%),
        linear-gradient(100deg,
        rgba(10,10,10,0.65) 0%,
        rgba(10,10,10,0.25) 55%,
        rgba(10,10,10,0.0) 100%) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}
body.nh-dark-theme .nh-page-header--banner h1 {
    color: #fff !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: clamp(32px, 4vw, 56px) !important;
    line-height: 1.1 !important;
    margin: 12px 0 16px !important;
    text-shadow: 0 2px 20px rgba(0,0,0,0.6) !important;
}
body.nh-dark-theme .nh-page-header--banner p {
    color: #d0d0d0 !important;
    font-size: clamp(15px, 1.2vw, 18px) !important;
    max-width: 680px !important;
    text-shadow: 0 1px 10px rgba(0,0,0,0.6) !important;
}

/* ─── WooCommerce category: Stairs ─── */
body.nh-dark-theme.term-stairs .woocommerce-products-header,
body.nh-dark-theme.tax-product_cat.term-stairs .woocommerce-products-header,
body.nh-dark-theme.term-stairs .page-header,
body.nh-dark-theme.term-stairs .shopwell-page-title {
    position: relative !important;
    padding: 180px 0 100px !important;
    margin: 0 0 40px !important;
    background: linear-gradient(180deg,
            rgba(10,10,10,0.82) 0%,
            rgba(10,10,10,0.5) 45%,
            rgba(10,10,10,0.9) 100%),
        url('../assets/images/stairs-hero.jpg') center/cover no-repeat !important;
    text-align: center !important;
}
body.nh-dark-theme.term-stairs .woocommerce-products-header h1,
body.nh-dark-theme.term-stairs .page-header h1,
body.nh-dark-theme.term-stairs .shopwell-page-title h1 {
    color: #fff !important;
    font-family: 'Playfair Display', Georgia, serif !important;
    font-size: clamp(32px, 4vw, 56px) !important;
    text-shadow: 0 2px 20px rgba(0,0,0,0.6) !important;
    margin: 0 !important;
}

@media (max-width: 768px) {
    body.nh-dark-theme .nh-page-header--banner,
    body.nh-dark-theme.term-stairs .woocommerce-products-header,
    body.nh-dark-theme.term-stairs .page-header { padding: 140px 0 70px !important; }
}
/* END PHOTO CARDS + BANNERS */

/* ═══════════════════════════════════════════════════════════════
   SINGLE PROJECT PAGE (Murator catalog / Supabase-driven)
   Design: A+B — cinematic hero 100vh + sticky two-column
   ═══════════════════════════════════════════════════════════════ */
/* Escape Shopwell parent wrappers that cap content to ~1200px */
body.nh-dark-theme .nh-project-single,
body.nh-dark-theme .nh-project-main,
body.nh-dark-theme .nh-project-hero,
body.nh-dark-theme .nh-project-similar {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}
/* Also blow out any parent that wraps our article with a narrow container */
body.single-project .site-content,
body.single-project .site-main,
body.single-project #primary,
body.single-project #content,
body.single-project .shopwell-content,
body.nh-dark-theme:has(.nh-project-single) .site-content,
body.nh-dark-theme:has(.nh-project-single) .site-main,
body.nh-dark-theme:has(.nh-project-single) #primary,
body.nh-dark-theme:has(.nh-project-single) #content {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.nh-dark-theme .nh-project-single { background: #0a0a0a; color: #e8e8e8; }

/* ─── HERO 100vh ─────────────────────────────────────────────── */
body.nh-dark-theme .nh-project-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 160px clamp(24px, 6vw, 96px) 120px;
    box-sizing: border-box;
    background-size: cover;
    background-position: center 30%;
    background-color: #0a0a0a;
    overflow: hidden;
    isolation: isolate;
}
body.nh-dark-theme .nh-project-hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg,
            rgba(10,10,10,0.55) 0%,
            rgba(10,10,10,0.15) 35%,
            rgba(10,10,10,0.82) 85%,
            rgba(10,10,10,0.95) 100%),
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(10,10,10,0.7) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}
body.nh-dark-theme .nh-project-hero-inner {
    position: relative; z-index: 2;
    width: 100%;
    max-width: 860px;
}
body.nh-dark-theme .nh-project-hero-crumbs {
    margin-bottom: 32px;
}
body.nh-dark-theme .nh-project-hero-crumbs a {
    display: inline-flex; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}
body.nh-dark-theme .nh-project-hero-crumbs a:hover { color: var(--nh-gold, #d4af37); }

body.nh-dark-theme .nh-project-hero-label {
    display: inline-block;
    padding: 7px 16px;
    background: rgba(212,175,55,0.15);
    border: 1px solid rgba(212,175,55,0.35);
    border-radius: 999px;
    color: var(--nh-gold, #d4af37);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

body.nh-dark-theme .nh-project-hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(40px, 6vw, 88px);
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: #fff;
    margin: 0 0 24px;
    text-shadow: 0 4px 30px rgba(0,0,0,0.6);
}

body.nh-dark-theme .nh-project-hero-tagline {
    font-size: clamp(16px, 1.4vw, 20px);
    line-height: 1.6;
    color: #d8d8d8;
    max-width: 680px;
    margin: 0 0 36px;
    text-shadow: 0 2px 15px rgba(0,0,0,0.6);
}

body.nh-dark-theme .nh-project-hero-chips {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin: 0 0 40px;
}
body.nh-dark-theme .nh-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 999px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}
body.nh-dark-theme .nh-chip strong {
    color: var(--nh-gold, #d4af37);
    font-weight: 700;
    margin-right: 2px;
}
body.nh-dark-theme .nh-chip-gold {
    background: rgba(212,175,55,0.18);
    border-color: rgba(212,175,55,0.4);
    color: var(--nh-gold, #f0d060);
    font-weight: 600;
    letter-spacing: 0.05em;
}

body.nh-dark-theme .nh-project-hero-actions {
    display: flex; flex-wrap: wrap; gap: 14px;
}
body.nh-dark-theme .nh-btn-ghost {
    background: rgba(255,255,255,0.06);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
}
body.nh-dark-theme .nh-btn-ghost:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(212,175,55,0.5);
}

/* Scroll indicator - 3 dots */
body.nh-dark-theme .nh-project-hero-scroll {
    position: absolute;
    bottom: 32px; left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex; flex-direction: column; gap: 5px;
    opacity: 0.6;
}
body.nh-dark-theme .nh-project-hero-scroll span {
    width: 4px; height: 4px; border-radius: 50%;
    background: var(--nh-gold, #d4af37);
    animation: nh-scroll-pulse 1.6s ease-in-out infinite;
}
body.nh-dark-theme .nh-project-hero-scroll span:nth-child(2) { animation-delay: 0.2s; }
body.nh-dark-theme .nh-project-hero-scroll span:nth-child(3) { animation-delay: 0.4s; }
@keyframes nh-scroll-pulse {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50%      { opacity: 1;   transform: scale(1.2); }
}


/* ─── STICKY TWO-COLUMN ───────────────────────────────────────── */
body.nh-dark-theme .nh-project-main {
    padding: 56px 0 72px;
    background: #0a0a0a;
}
body.nh-dark-theme .nh-project-split {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 40px);
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);  /* 42/58 — content wider than gallery */
    gap: clamp(28px, 3.5vw, 60px);
    align-items: start;
}

/* Left: sticky gallery */
body.nh-dark-theme .nh-project-gallery { position: relative; }
body.nh-dark-theme .nh-project-gallery-sticky {
    position: sticky;
    top: 120px;
}

body.nh-dark-theme .nh-project-tabs {
    display: inline-flex;
    gap: 2px;
    padding: 4px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: 999px;
    margin-bottom: 20px;
}
body.nh-dark-theme .nh-project-tab {
    padding: 9px 22px;
    background: transparent;
    color: #b0b0b0;
    border: none;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.25s ease;
}
body.nh-dark-theme .nh-project-tab.is-active {
    background: var(--nh-gold, #d4af37);
    color: #0a0a0a;
    box-shadow: 0 4px 16px rgba(212,175,55,0.3);
}
body.nh-dark-theme .nh-project-tab:hover:not(.is-active) { color: #fff; }

body.nh-dark-theme .nh-project-pane { display: none; }
body.nh-dark-theme .nh-project-pane.is-active { display: block; }

body.nh-dark-theme .nh-project-main-image {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 18px;
    overflow: hidden;
    background: #141414;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
body.nh-dark-theme .nh-project-main-image img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 0.4s var(--nh-ease, ease);
}
body.nh-dark-theme .nh-project-main-image--placeholder {
    display: flex; align-items: center; justify-content: center;
    color: rgba(212,175,55,0.3);
}

body.nh-dark-theme .nh-project-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 10px;
    margin-top: 14px;
}
body.nh-dark-theme .nh-project-thumb {
    padding: 0;
    aspect-ratio: 1;
    background: #141414;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s ease;
}
body.nh-dark-theme .nh-project-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.nh-dark-theme .nh-project-thumb:hover { border-color: rgba(212,175,55,0.4); }
body.nh-dark-theme .nh-project-thumb.is-active { border-color: var(--nh-gold, #d4af37); }

/* Plan pane */
body.nh-dark-theme .nh-project-plan {
    margin: 0 0 24px;
}
body.nh-dark-theme .nh-project-plan-label {
    font-size: 13px;
    color: var(--nh-gold, #d4af37);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 600;
}
body.nh-dark-theme .nh-project-plan img {
    width: 100%;
    border-radius: 14px;
    background: #fff; /* plans are usually white-bg drawings */
    display: block;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* Right: scrollable content — tight spacing, full width inside grid cell */
body.nh-dark-theme .nh-project-content { min-width: 0; width: 100%; }
body.nh-dark-theme .nh-project-block { margin-bottom: 36px; }
body.nh-dark-theme .nh-project-block:last-child { margin-bottom: 0; }

body.nh-dark-theme .nh-project-h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1.15;
    color: #fff;
    margin: 0 0 18px;
    position: relative;
    padding-left: 18px;
}
body.nh-dark-theme .nh-project-h2::before {
    content: '';
    position: absolute;
    left: 0; top: 0.25em; bottom: 0.25em;
    width: 3px;
    background: linear-gradient(180deg, #d4af37 0%, rgba(212,175,55,0.3) 100%);
    border-radius: 2px;
}

body.nh-dark-theme .nh-project-description p {
    color: #cfcfcf;
    font-size: 15.5px;
    line-height: 1.75;
    margin: 0 0 14px;
}
body.nh-dark-theme .nh-project-description p:last-child { margin-bottom: 0; }
body.nh-dark-theme .nh-project-description p:first-of-type::first-letter {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.4em;
    line-height: 1;
    float: left;
    margin: 0.05em 0.1em 0 0;
    color: var(--nh-gold, #d4af37);
    font-weight: 700;
}

/* Specs grid — tighter, always fills width, 2→3 cols by space */
body.nh-dark-theme .nh-project-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1px;
    background: rgba(212,175,55,0.15);
    border: 1px solid rgba(212,175,55,0.18);
    border-radius: 12px;
    overflow: hidden;
    margin: 0;
    width: 100%;
}
body.nh-dark-theme .nh-project-spec {
    background: #0f0f0f;
    padding: 14px 16px;
    display: flex; flex-direction: column; gap: 3px;
    min-width: 0;
}
body.nh-dark-theme .nh-project-spec dt {
    font-size: 10px;
    color: #8a8a8a;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
}
body.nh-dark-theme .nh-project-spec dd {
    margin: 0;
    font-size: 15px;
    color: #fff;
    line-height: 1.25;
}
body.nh-dark-theme .nh-project-spec dd strong {
    color: var(--nh-gold, #f0d060);
    font-weight: 700;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 19px;
    margin-right: 3px;
}
body.nh-dark-theme .nh-project-spec .nh-unit { color: #888; font-size: 13px; font-weight: 400; }

/* ─── FULL-WIDTH SECTIONS (plans, pricing, form) ─────────────── */
body.nh-dark-theme .nh-project-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 40px);
    width: 100%;
    box-sizing: border-box;
}
body.nh-dark-theme .nh-section-h2-center {
    text-align: center;
    padding-left: 0 !important;
    margin-bottom: 36px !important;
}
body.nh-dark-theme .nh-section-h2-center::before { display: none; }

/* Plans section — 2-col per floor: plan image + rooms list */
body.nh-dark-theme .nh-project-plans-section {
    padding: 56px 0 40px;
    background: #0c0c0c;
    border-top: 1px solid rgba(212,175,55,0.08);
}
body.nh-dark-theme .nh-floor-block {
    margin-bottom: 36px;
    background: #0f0f0f;
    border: 1px solid rgba(212,175,55,0.14);
    border-radius: 14px;
    overflow: hidden;
}
body.nh-dark-theme .nh-floor-block:last-child { margin-bottom: 0; }
body.nh-dark-theme .nh-floor-block-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 16px 22px;
    background: rgba(212,175,55,0.06);
    border-bottom: 1px solid rgba(212,175,55,0.12);
}
body.nh-dark-theme .nh-floor-block-header h3 {
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    color: #fff;
    font-weight: 600;
}
body.nh-dark-theme .nh-floor-block-total {
    font-size: 14px;
    color: var(--nh-gold, #d4af37);
    font-weight: 700;
    letter-spacing: 0.02em;
}
body.nh-dark-theme .nh-floor-block-body {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
}
body.nh-dark-theme .nh-floor-plan-image {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-right: 1px solid rgba(212,175,55,0.12);
    min-height: 300px;
}
body.nh-dark-theme .nh-floor-plan-image img {
    max-width: 100%;
    max-height: 520px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
body.nh-dark-theme .nh-floor-block-body .nh-rooms-list {
    padding: 20px 24px;
    background: #0f0f0f;
}

/* Sections (cross-section drawings) — separate subsection after floor plans */
body.nh-dark-theme .nh-project-sections {
    margin-top: 40px;
    padding: 28px 24px;
    background: #0f0f0f;
    border: 1px solid rgba(212,175,55,0.12);
    border-radius: 14px;
}
body.nh-dark-theme .nh-project-sections-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 6px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    color: var(--nh-gold, #d4af37);
}
body.nh-dark-theme .nh-project-sections-title svg { color: var(--nh-gold, #d4af37); }
body.nh-dark-theme .nh-project-sections-desc {
    margin: 0 0 16px;
    font-size: 13px;
    color: #9a9a9a;
}
body.nh-dark-theme .nh-project-sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 14px;
}
body.nh-dark-theme .nh-project-section-item {
    margin: 0;
    background: #fff;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
}
body.nh-dark-theme .nh-project-section-item img {
    max-width: 100%;
    max-height: 420px;
    height: auto;
    display: block;
}

/* Pricing section — full width */
body.nh-dark-theme .nh-project-pricing-section {
    padding: 56px 0 60px;
    background: #0a0a0a;
    border-top: 1px solid rgba(212,175,55,0.08);
}
body.nh-dark-theme .nh-project-pricing-section .nh-pricing-tiers {
    max-width: 1100px;
    margin: 0 auto;
}
body.nh-dark-theme .nh-project-pricing-section .nh-project-pricing-lead {
    text-align: center;
    max-width: 780px;
    margin: -20px auto 28px;
}

/* Form section — full width, 2-col (benefits | form) */
body.nh-dark-theme .nh-project-form-section {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, #0a0a0a 0%, #080808 100%);
    border-top: 1px solid rgba(212,175,55,0.1);
}
body.nh-dark-theme .nh-project-form-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 80px);
    align-items: center;
    max-width: 1100px;
}
body.nh-dark-theme .nh-project-form-info .nh-project-h2 { margin-bottom: 14px; }
body.nh-dark-theme .nh-project-form-lead {
    color: #b8b8b8;
    font-size: 16px;
    line-height: 1.65;
    margin: 0 0 24px;
}
body.nh-dark-theme .nh-project-form-benefits {
    list-style: none; padding: 0; margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
body.nh-dark-theme .nh-project-form-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d0d0d0;
    font-size: 14.5px;
}
body.nh-dark-theme .nh-project-form-benefits svg {
    flex-shrink: 0;
    color: var(--nh-gold, #d4af37);
    padding: 4px;
    background: rgba(212,175,55,0.12);
    border-radius: 50%;
    box-sizing: content-box;
}
body.nh-dark-theme .nh-project-form-section .nh-project-form {
    background:
        radial-gradient(ellipse 60% 80% at 100% 0%, rgba(212,175,55,0.14) 0%, transparent 60%),
        linear-gradient(135deg, #121212 0%, #0a0a0a 100%);
    border: 1px solid rgba(212,175,55,0.28);
    border-radius: 16px;
    padding: 28px 26px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

/* Gallery "jump to plans" link */
body.nh-dark-theme .nh-gallery-jump {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 14px;
    background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 10px;
    color: var(--nh-gold, #d4af37);
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
}
body.nh-dark-theme .nh-gallery-jump:hover {
    background: rgba(212,175,55,0.15);
    border-color: rgba(212,175,55,0.5);
}

/* Responsive for new full-width sections */
@media (max-width: 900px) {
    body.nh-dark-theme .nh-floor-block-body {
        grid-template-columns: 1fr;
    }
    body.nh-dark-theme .nh-floor-plan-image {
        border-right: none;
        border-bottom: 1px solid rgba(212,175,55,0.12);
        min-height: 260px;
    }
    body.nh-dark-theme .nh-project-form-wrap {
        grid-template-columns: 1fr;
    }
}

/* Rooms breakdown by floor */
body.nh-dark-theme .nh-project-rooms {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
body.nh-dark-theme .nh-rooms-floor {
    background: #0f0f0f;
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: 12px;
    padding: 16px 18px;
}
body.nh-dark-theme .nh-rooms-floor-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid rgba(212,175,55,0.12);
    padding-bottom: 10px;
    margin-bottom: 10px;
}
body.nh-dark-theme .nh-rooms-floor-header h3 {
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 16px;
    color: #fff;
    font-weight: 600;
}
body.nh-dark-theme .nh-rooms-floor-total {
    font-size: 13px;
    color: var(--nh-gold, #d4af37);
    font-weight: 700;
}
body.nh-dark-theme .nh-rooms-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
body.nh-dark-theme .nh-rooms-item {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 6px 0;
    font-size: 13.5px;
    color: #cfcfcf;
    border-bottom: 1px dashed rgba(255,255,255,0.06);
}
body.nh-dark-theme .nh-rooms-item:last-child { border-bottom: none; }
body.nh-dark-theme .nh-rooms-num {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(212,175,55,0.12);
    color: var(--nh-gold, #d4af37);
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
}
body.nh-dark-theme .nh-rooms-name { flex: 1; }
body.nh-dark-theme .nh-rooms-area {
    flex-shrink: 0;
    font-weight: 600;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
body.nh-dark-theme .nh-rooms-area span { font-weight: 400; color: #888; font-size: 11px; }

/* Pricing 3-tier block */
body.nh-dark-theme .nh-project-pricing-lead {
    color: #b0b0b0;
    font-size: 14px;
    line-height: 1.6;
    margin: -6px 0 22px;
}
body.nh-dark-theme .nh-pricing-tiers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 0 0 18px;
}
body.nh-dark-theme .nh-tier {
    position: relative;
    background: #0f0f0f;
    border: 1px solid rgba(212,175,55,0.16);
    border-radius: 14px;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
body.nh-dark-theme .nh-tier:hover {
    border-color: rgba(212,175,55,0.45);
    transform: translateY(-3px);
}
body.nh-dark-theme .nh-tier--popular {
    background: linear-gradient(180deg, rgba(212,175,55,0.09) 0%, #0f0f0f 100%);
    border-color: rgba(212,175,55,0.45);
    box-shadow: 0 0 40px rgba(212,175,55,0.08);
}
body.nh-dark-theme .nh-tier-badge {
    position: absolute;
    top: -10px; left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #d4af37, #f0d060);
    color: #0a0a0a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(212,175,55,0.35);
}
body.nh-dark-theme .nh-tier-header {
    display: flex;
    align-items: center;
    gap: 12px;
}
body.nh-dark-theme .nh-tier-icon {
    width: 42px; height: 42px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #d4af37, #a08520);
    color: #0a0a0a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    font-weight: 700;
}
body.nh-dark-theme .nh-tier-title {
    margin: 0;
    font-size: 17px;
    color: #fff;
    font-weight: 600;
    font-family: 'Playfair Display', Georgia, serif;
}
body.nh-dark-theme .nh-tier-desc {
    margin: 2px 0 0;
    font-size: 12px;
    color: #9a9a9a;
    line-height: 1.4;
}
body.nh-dark-theme .nh-tier-price {
    padding: 12px 0;
    border-top: 1px solid rgba(212,175,55,0.1);
    border-bottom: 1px solid rgba(212,175,55,0.1);
}
body.nh-dark-theme .nh-tier-price-pln {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px;
    color: var(--nh-gold, #f0d060);
    font-weight: 700;
    line-height: 1;
}
body.nh-dark-theme .nh-tier-price-pln span,
body.nh-dark-theme .nh-tier-price-eur span { font-size: 14px; color: #bbb; font-weight: 400; margin-left: 3px; }
body.nh-dark-theme .nh-tier-price-eur {
    font-size: 15px;
    color: #ddd;
    margin-top: 3px;
}
body.nh-dark-theme .nh-tier-price-m2 {
    font-size: 11px;
    color: #888;
    margin-top: 4px;
    letter-spacing: 0.05em;
}
body.nh-dark-theme .nh-tier-items {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
body.nh-dark-theme .nh-tier-items li {
    font-size: 13px;
    color: #d0d0d0;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 7px;
}
body.nh-dark-theme .nh-tier-items svg {
    flex-shrink: 0;
    color: var(--nh-gold, #d4af37);
    margin-top: 3px;
}
body.nh-dark-theme .nh-tier-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 16px;
    background: transparent;
    border: 1px solid rgba(212,175,55,0.35);
    color: var(--nh-gold, #d4af37);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 9px;
    transition: all 0.2s ease;
}
body.nh-dark-theme .nh-tier-cta:hover {
    background: var(--nh-gold, #d4af37);
    color: #0a0a0a;
    border-color: transparent;
}
body.nh-dark-theme .nh-tier--popular .nh-tier-cta {
    background: linear-gradient(135deg, #d4af37, #f0d060);
    color: #0a0a0a;
    border-color: transparent;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(212,175,55,0.25);
}
body.nh-dark-theme .nh-tier--popular .nh-tier-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(212,175,55,0.4); }

body.nh-dark-theme .nh-pricing-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin: 14px 0 0;
    padding: 12px 14px;
    background: rgba(212,175,55,0.05);
    border-left: 2px solid rgba(212,175,55,0.35);
    border-radius: 4px;
    font-size: 12px;
    color: #a8a8a8;
    line-height: 1.5;
}
body.nh-dark-theme .nh-pricing-note svg { flex-shrink: 0; color: var(--nh-gold, #d4af37); margin-top: 2px; }

@media (max-width: 700px) {
    body.nh-dark-theme .nh-pricing-tiers { grid-template-columns: 1fr; }
}

/* CTA form — tighter, with trust badges */
body.nh-dark-theme .nh-project-cta-block {
    background:
        radial-gradient(ellipse 60% 80% at 100% 0%, rgba(212,175,55,0.16) 0%, transparent 60%),
        linear-gradient(135deg, #121212 0%, #0a0a0a 100%);
    border: 1px solid rgba(212,175,55,0.28);
    border-radius: 16px;
    padding: 28px 26px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}
body.nh-dark-theme .nh-project-cta-block > p {
    color: #b8b8b8; margin: -8px 0 20px; font-size: 14px;
}
body.nh-dark-theme .nh-project-cta-block .nh-project-h2 { margin-bottom: 10px; }
body.nh-dark-theme .nh-project-form label {
    display: block;
    margin-bottom: 16px;
}
body.nh-dark-theme .nh-project-form label > span {
    display: block;
    font-size: 12px;
    color: #999;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
    font-weight: 600;
}
body.nh-dark-theme .nh-project-form input,
body.nh-dark-theme .nh-project-form textarea {
    width: 100%;
    padding: 12px 14px;
    background: rgba(10,10,10,0.6);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s ease, background 0.2s ease;
    box-sizing: border-box;
}
body.nh-dark-theme .nh-project-form input:focus,
body.nh-dark-theme .nh-project-form textarea:focus {
    outline: none;
    border-color: var(--nh-gold, #d4af37);
    background: rgba(10,10,10,0.9);
}
body.nh-dark-theme .nh-project-form .nh-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
body.nh-dark-theme .nh-project-form button[type="submit"] {
    width: 100%;
    margin-top: 8px;
}
body.nh-dark-theme .nh-form-notice {
    font-size: 12px;
    color: #888;
    margin: 12px 0 0;
    text-align: center;
}

/* ─── SIMILAR PROJECTS ───────────────────────────────────────── */
body.nh-dark-theme .nh-project-similar {
    padding: 80px 0 100px;
    background: #0c0c0c;
    border-top: 1px solid rgba(212,175,55,0.1);
}
body.nh-dark-theme .nh-project-similar .nh-section-h2 {
    text-align: center;
    margin-bottom: 40px;
}
body.nh-dark-theme .nh-project-similar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 clamp(24px, 4vw, 48px);
}
body.nh-dark-theme .nh-project-similar .nh-project-card {
    background: #141414;
    border: 1px solid rgba(212,175,55,0.1);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s var(--nh-ease, ease), border-color 0.3s ease;
    display: block;
}
body.nh-dark-theme .nh-project-similar .nh-project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212,175,55,0.35);
}
body.nh-dark-theme .nh-project-card-image {
    aspect-ratio: 4/3;
    background: #0a0a0a;
    overflow: hidden;
}
body.nh-dark-theme .nh-project-card-image img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s var(--nh-ease, ease);
}
body.nh-dark-theme .nh-project-similar .nh-project-card:hover .nh-project-card-image img {
    transform: scale(1.05);
}
body.nh-dark-theme .nh-project-card-body {
    padding: 18px 20px;
}
body.nh-dark-theme .nh-project-card-body h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 19px;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.3;
}
body.nh-dark-theme .nh-project-card-meta {
    display: flex; align-items: center; gap: 8px;
    color: #8a8a8a;
    font-size: 14px;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 960px) {
    body.nh-dark-theme .nh-project-split {
        grid-template-columns: 1fr;
    }
    body.nh-dark-theme .nh-project-gallery-sticky {
        position: relative;
        top: 0;
    }
}

@media (max-width: 960px) {
    body.nh-dark-theme .nh-project-main { padding: 36px 0 48px; }
    body.nh-dark-theme .nh-project-block { margin-bottom: 28px; }
}

@media (max-width: 768px) {
    body.nh-dark-theme .nh-project-hero {
        padding: 110px 18px 50px;
        min-height: 80vh;
    }
    body.nh-dark-theme .nh-project-hero-title { font-size: clamp(30px, 9vw, 48px); margin-bottom: 16px; }
    body.nh-dark-theme .nh-project-hero-tagline { font-size: 15px; margin-bottom: 22px; }
    body.nh-dark-theme .nh-project-hero-chips { margin-bottom: 24px; }
    body.nh-dark-theme .nh-project-hero-scroll { display: none; }
    body.nh-dark-theme .nh-project-main { padding: 28px 0 40px; }
    body.nh-dark-theme .nh-project-split { padding: 0 16px; gap: 24px; }
    body.nh-dark-theme .nh-project-form .nh-form-row { grid-template-columns: 1fr; }
    body.nh-dark-theme .nh-project-cta-block { padding: 22px 18px; }
    body.nh-dark-theme .nh-project-specs-grid { grid-template-columns: 1fr 1fr; }
    body.nh-dark-theme .nh-project-main-image { aspect-ratio: 3/2; border-radius: 14px; }
    body.nh-dark-theme .nh-project-thumbs { grid-template-columns: repeat(6, 1fr); gap: 6px; }
    body.nh-dark-theme .nh-project-h2 { padding-left: 14px; font-size: 22px; }
}

@media (max-width: 480px) {
    body.nh-dark-theme .nh-project-hero-chips { gap: 6px; }
    body.nh-dark-theme .nh-chip { padding: 6px 12px; font-size: 12px; }
    body.nh-dark-theme .nh-project-description p:first-of-type::first-letter {
        font-size: 2.8em;
    }
}
/* END SINGLE PROJECT PAGE */


/* ═══════════════════════════════════════════════════════════════
   CATALOG PAGE (/projects/) — Supabase-driven filters + grid
   ═══════════════════════════════════════════════════════════════ */
body.nh-dark-theme .nh-catalog {
    width: 100% !important;
    max-width: none !important;
    background: #0a0a0a;
    color: #e8e8e8;
}

/* Banner */
body.nh-dark-theme .nh-catalog-banner {
    position: relative;
    padding: 160px clamp(20px, 4vw, 80px) 90px;
    min-height: 44vh;
    background-size: cover;
    background-position: center 35%;
    background-color: #0a0a0a;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
}
body.nh-dark-theme .nh-catalog-banner-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.2) 40%, rgba(10,10,10,0.92) 100%),
        radial-gradient(ellipse 80% 70% at 15% 80%, rgba(10,10,10,0.75) 0%, transparent 60%);
    z-index: 1;
    pointer-events: none;
}
body.nh-dark-theme .nh-catalog-banner-inner {
    position: relative; z-index: 2;
    max-width: 800px;
}
body.nh-dark-theme .nh-catalog-label {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(212,175,55,0.16);
    border: 1px solid rgba(212,175,55,0.4);
    border-radius: 999px;
    color: var(--nh-gold, #d4af37);
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 20px;
}
body.nh-dark-theme .nh-catalog-banner h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(36px, 5vw, 64px);
    color: #fff;
    line-height: 1.05;
    margin: 0 0 14px;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 30px rgba(0,0,0,0.6);
}
body.nh-dark-theme .nh-catalog-banner p {
    color: #d0d0d0;
    font-size: clamp(15px, 1.2vw, 18px);
    margin: 0;
    max-width: 600px;
    text-shadow: 0 1px 10px rgba(0,0,0,0.6);
}
body.nh-dark-theme .nh-catalog-banner strong { color: var(--nh-gold, #d4af37); }

/* Main layout */
body.nh-dark-theme .nh-catalog-main {
    padding: 40px 0 80px;
    background: #0a0a0a;
}
body.nh-dark-theme .nh-catalog-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 40px);
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 36px;
    align-items: flex-start;
}

/* Filters column */
body.nh-dark-theme .nh-catalog-filters {
    position: sticky;
    top: 100px;
    padding: 22px 20px;
    background: #0f0f0f;
    border: 1px solid rgba(212,175,55,0.14);
    border-radius: 14px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}
body.nh-dark-theme .nh-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(212,175,55,0.15);
}
body.nh-dark-theme .nh-filter-header h2 {
    margin: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 20px;
    color: #fff;
    font-weight: 600;
}
body.nh-dark-theme .nh-filter-reset {
    background: transparent;
    border: none;
    color: var(--nh-gold, #d4af37);
    font-size: 12px;
    cursor: pointer;
    padding: 4px 8px;
    transition: color 0.2s ease;
}
body.nh-dark-theme .nh-filter-reset:hover { color: #f0d060; text-decoration: underline; }

body.nh-dark-theme .nh-filter-group {
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px dashed rgba(255,255,255,0.06);
}
body.nh-dark-theme .nh-filter-group:last-child { border-bottom: none; padding-bottom: 0; }
body.nh-dark-theme .nh-filter-label {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #aaa;
}

body.nh-dark-theme .nh-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    margin: 0 5px 6px 0;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 999px;
    cursor: pointer;
    font-size: 13px;
    color: #d0d0d0;
    transition: all 0.2s ease;
    user-select: none;
}
body.nh-dark-theme .nh-filter-chip:hover {
    border-color: rgba(212,175,55,0.4);
    color: #fff;
}
body.nh-dark-theme .nh-filter-chip input[type=checkbox] {
    position: absolute; opacity: 0; pointer-events: none;
}
body.nh-dark-theme .nh-filter-chip:has(input:checked) {
    background: rgba(212,175,55,0.2);
    border-color: var(--nh-gold, #d4af37);
    color: var(--nh-gold, #f0d060);
    font-weight: 600;
}

body.nh-dark-theme .nh-filter-range {
    display: flex;
    align-items: center;
    gap: 8px;
}
body.nh-dark-theme .nh-filter-range input {
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    background: #0a0a0a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    font-family: inherit;
}
body.nh-dark-theme .nh-filter-range input:focus {
    outline: none;
    border-color: var(--nh-gold, #d4af37);
}
body.nh-dark-theme .nh-filter-range span { color: #777; font-size: 12px; }
body.nh-dark-theme .nh-filter-range-hint {
    display: flex; justify-content: space-between;
    margin-top: 6px;
    font-size: 10px;
    color: #666;
}

/* Results column */
body.nh-dark-theme .nh-catalog-results { min-width: 0; }
body.nh-dark-theme .nh-catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(212,175,55,0.12);
}
body.nh-dark-theme .nh-catalog-count {
    font-size: 14px;
    color: #d0d0d0;
}
body.nh-dark-theme .nh-catalog-count [data-nh-count] {
    color: var(--nh-gold, #d4af37);
    font-weight: 700;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22px;
    margin-right: 4px;
}
body.nh-dark-theme .nh-catalog-sort label {
    font-size: 13px;
    color: #aaa;
}
body.nh-dark-theme .nh-catalog-sort select {
    margin-left: 8px;
    padding: 6px 10px;
    background: #0f0f0f;
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
}

/* Grid */
body.nh-dark-theme .nh-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
body.nh-dark-theme .nh-catalog-grid .nh-project-card {
    background: #141414;
    border: 1px solid rgba(212,175,55,0.12);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s var(--nh-ease, ease), border-color 0.3s ease;
    display: flex;
    flex-direction: column;
}
body.nh-dark-theme .nh-catalog-grid .nh-project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212,175,55,0.45);
}
body.nh-dark-theme .nh-catalog-grid .nh-project-card-image {
    position: relative;
    aspect-ratio: 4/3;
    background: #0a0a0a;
    overflow: hidden;
}
body.nh-dark-theme .nh-catalog-grid .nh-project-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--nh-ease, ease);
}
body.nh-dark-theme .nh-catalog-grid .nh-project-card:hover .nh-project-card-image img {
    transform: scale(1.06);
}
body.nh-dark-theme .nh-catalog-grid .nh-project-card-area {
    position: absolute;
    top: 10px; right: 10px;
    padding: 4px 12px;
    background: rgba(10,10,10,0.85);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: var(--nh-gold, #f0d060);
    border: 1px solid rgba(212,175,55,0.3);
}
body.nh-dark-theme .nh-catalog-grid .nh-project-card-body {
    padding: 14px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
body.nh-dark-theme .nh-catalog-grid .nh-project-card-body h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 17px;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.3;
}
body.nh-dark-theme .nh-catalog-grid .nh-project-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    color: #888;
    font-size: 13px;
    margin-top: auto;
}

/* Load more */
body.nh-dark-theme .nh-catalog-load {
    text-align: center;
    margin-top: 36px;
}

/* Loading spinner + empty */
body.nh-dark-theme .nh-catalog-loading {
    display: flex; justify-content: center;
    padding: 40px 0;
}
body.nh-dark-theme .nh-spinner {
    width: 36px; height: 36px;
    border: 3px solid rgba(212,175,55,0.2);
    border-top-color: var(--nh-gold, #d4af37);
    border-radius: 50%;
    animation: nh-spin 0.8s linear infinite;
}
@keyframes nh-spin { to { transform: rotate(360deg); } }
body.nh-dark-theme .nh-catalog-empty {
    padding: 48px 20px;
    text-align: center;
    color: #999;
}
body.nh-dark-theme .nh-catalog-empty p { margin: 0 0 16px; }

/* Responsive */
@media (max-width: 1024px) {
    body.nh-dark-theme .nh-catalog-container {
        grid-template-columns: 1fr;
    }
    body.nh-dark-theme .nh-catalog-filters {
        position: static;
        max-height: none;
    }
}
@media (max-width: 640px) {
    body.nh-dark-theme .nh-catalog-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    body.nh-dark-theme .nh-catalog-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
/* END CATALOG */

/* ═══════════════════════════════════════════════════════════════
   LANGUAGE SWITCHER (header dropdown, no plugins)
   ═══════════════════════════════════════════════════════════════ */
body.nh-dark-theme .nh-lang-switcher {
    position: relative;
    margin-right: 10px;
}
body.nh-dark-theme .nh-lang-current {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}
body.nh-dark-theme .nh-lang-current:hover {
    background: rgba(212,175,55,0.12);
    border-color: rgba(212,175,55,0.35);
}
body.nh-dark-theme .nh-lang-switcher.is-open .nh-lang-current {
    background: rgba(212,175,55,0.15);
    border-color: var(--nh-gold, #d4af37);
}
body.nh-dark-theme .nh-lang-current svg {
    transition: transform 0.2s ease;
    color: #999;
}
body.nh-dark-theme .nh-lang-switcher.is-open .nh-lang-current svg {
    transform: rotate(180deg);
}
body.nh-dark-theme .nh-lang-flag {
    font-size: 15px;
    line-height: 1;
}
body.nh-dark-theme .nh-lang-code {
    letter-spacing: 0.06em;
    font-size: 12px;
}

body.nh-dark-theme .nh-lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 130px;
    padding: 6px;
    background: #141414;
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 10px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.7);
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all 0.2s ease;
    z-index: 100;
}
body.nh-dark-theme .nh-lang-switcher.is-open .nh-lang-menu,
body.nh-dark-theme .nh-lang-switcher:focus-within .nh-lang-menu,
body.nh-dark-theme .nh-lang-switcher:hover .nh-lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
body.nh-dark-theme .nh-lang-switcher:hover .nh-lang-current,
body.nh-dark-theme .nh-lang-switcher:focus-within .nh-lang-current {
    background: rgba(212,175,55,0.15);
    border-color: var(--nh-gold, #d4af37);
}
body.nh-dark-theme .nh-lang-switcher:hover .nh-lang-current svg,
body.nh-dark-theme .nh-lang-switcher:focus-within .nh-lang-current svg {
    transform: rotate(180deg);
}
body.nh-dark-theme .nh-lang-menu li {
    margin: 0;
    padding: 0;
    list-style: none;
}
body.nh-dark-theme .nh-lang-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: #d0d0d0;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s ease;
}
body.nh-dark-theme .nh-lang-menu a:hover {
    background: rgba(212,175,55,0.1);
    color: #fff;
}
body.nh-dark-theme .nh-lang-menu a.is-current {
    background: rgba(212,175,55,0.2);
    color: var(--nh-gold, #f0d060);
    font-weight: 700;
    pointer-events: none;
}
/* END LANGUAGE SWITCHER */

/* ═══════════════════════════════════════════════════════════════
   I18N ADJUSTMENTS — make layout resilient to translations of varying length
   Polish/German can be 30-50% longer than Russian
   ═══════════════════════════════════════════════════════════════ */

/* Section headers — cap width so long descriptions don't stretch full page */
body.nh-dark-theme .nh-section-header p,
body.nh-dark-theme .nh-footer-cta-text p,
body.nh-dark-theme .nh-cta-banner-inner p {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* H2 in section headers — bound so very long titles don't wrap awkwardly */
body.nh-dark-theme .nh-section-header h2 {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero title — reduced universally so all languages fit nicely */
body.nh-dark-theme .nh-hero h1 {
    font-size: clamp(28px, 3vw, 48px) !important;
    line-height: 1.12 !important;
}

/* Contact-section: title should not stretch across all column */
body.nh-dark-theme .nh-contact-info h2,
body.nh-dark-theme .nh-contact-section h2,
body.nh-dark-theme .nh-contact h2 {
    max-width: 460px;
    word-break: normal;
    hyphens: auto;
}

/* Keep contact-info column's description from eating vertical space */
body.nh-dark-theme .nh-contact-info p,
body.nh-dark-theme .nh-contact-section > p {
    max-width: 440px;
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.55;
}

/* Project card title — max 2 lines in catalog & similar */
body.nh-dark-theme .nh-project-card-body h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;   /* 2 lines worth of space, keeps cards aligned */
}

/* Description short — cap at 3 lines for catalog cards */
body.nh-dark-theme .nh-project-card-meta,
body.nh-dark-theme .nh-category-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Advantages/feature blocks — keep bullet text to max 4 lines */
body.nh-dark-theme .nh-advantage-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
}

/* Buttons — keep them from growing too wide on longer languages */
body.nh-dark-theme .nh-btn {
    white-space: nowrap;
    max-width: 100%;
}
body.nh-dark-theme .nh-btn-lg {
    padding: 12px 22px;  /* tighter than before */
}

/* Pricing tier items — text wrap, consistent list spacing */
body.nh-dark-theme .nh-tier-items li {
    min-height: 1.4em;
}

/* Hero-chips — slightly smaller universally */
body.nh-dark-theme .nh-chip {
    font-size: 12.5px;
    padding: 6px 12px;
}

/* Navigation menu — tighter for all languages */
body.nh-dark-theme .nh-nav-list a {
    font-size: 14px;
    padding: 8px 12px;
}

/* Text overflow protection — all block text gets soft-hyphens support */
body.nh-dark-theme p,
body.nh-dark-theme li,
body.nh-dark-theme dd,
body.nh-dark-theme .nh-tier-items li,
body.nh-dark-theme .nh-advantage-text {
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
    -webkit-hyphens: auto;
}
body.nh-dark-theme h1,
body.nh-dark-theme h2,
body.nh-dark-theme h3,
body.nh-dark-theme h4 {
    hyphens: none;   /* Don't hyphenate headings */
}

/* CTA banner heading — smaller + max-width */
body.nh-dark-theme .nh-cta-banner-inner h2 {
    font-size: clamp(24px, 2.2vw, 38px) !important;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* Project hero title (single project page) — adapt to long titles */
body.nh-dark-theme .nh-project-hero-title {
    font-size: clamp(32px, 4.5vw, 72px) !important;
    line-height: 1.05;
    max-width: 900px;
}

/* Project tagline — cap at 3 lines universally */
body.nh-dark-theme .nh-project-hero-tagline {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Tier cards — equal heights via grid so long descriptions don't mess 3-col alignment */
body.nh-dark-theme .nh-pricing-tiers {
    align-items: stretch;
}
body.nh-dark-theme .nh-tier {
    display: flex;
    flex-direction: column;
}
body.nh-dark-theme .nh-tier-items {
    flex: 1;   /* pushes CTA button to bottom in all cards */
}

/* Catalog card — consistent card height (body takes flex so spec line sits at bottom) */
body.nh-dark-theme .nh-catalog-grid .nh-project-card {
    display: flex;
    flex-direction: column;
}
body.nh-dark-theme .nh-catalog-grid .nh-project-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}
body.nh-dark-theme .nh-catalog-grid .nh-project-card-meta {
    margin-top: auto;
}

/* Contact form labels — keep consistent spacing even with long translations */
body.nh-dark-theme .nh-input-group label,
body.nh-dark-theme .nh-project-form label span {
    min-height: 1.4em;
}

/* Front-page SIP showcase — cap lead paragraph */
body.nh-dark-theme .nh-sip-lead {
    max-width: 580px;
    font-size: clamp(14px, 1.1vw, 17px);
    line-height: 1.6;
}

/* Calculators tabs — wrap gracefully on long labels */
body.nh-dark-theme .nh-calc-tabs {
    flex-wrap: wrap;
    gap: 8px;
}
/* END I18N ADJUSTMENTS */

/* ═══════════════════════════════════════════════════════════════
   CALCULATORS PAGE — full-width, section-per-calc, sticky anchor nav
   ═══════════════════════════════════════════════════════════════ */
body.nh-dark-theme .nh-calc-page {
    background: #0a0a0a;
    color: #e8e8e8;
}

/* Hero */
body.nh-dark-theme .nh-calc-hero {
    padding: 140px clamp(20px, 5vw, 80px) 80px;
    background:
        radial-gradient(ellipse 50% 40% at 75% 30%, rgba(212,175,55,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(212,175,55,0.06) 0%, transparent 60%),
        linear-gradient(180deg, #0a0a0a 0%, #0c0c0c 100%);
    text-align: center;
    border-bottom: 1px solid rgba(212,175,55,0.12);
}
body.nh-dark-theme .nh-calc-hero-inner { max-width: 760px; margin: 0 auto; }
body.nh-dark-theme .nh-calc-hero-label {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(212,175,55,0.12);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 999px;
    color: var(--nh-gold, #d4af37);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 18px;
}
body.nh-dark-theme .nh-calc-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(34px, 4.5vw, 60px);
    line-height: 1.05;
    color: #fff;
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}
body.nh-dark-theme .nh-calc-hero p {
    color: #c0c0c0;
    font-size: clamp(15px, 1.2vw, 18px);
    line-height: 1.6;
    margin: 0;
}

/* Sticky anchor nav */
body.nh-dark-theme .nh-calc-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(10,10,10,0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212,175,55,0.15);
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
body.nh-dark-theme .nh-calc-nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 12px clamp(16px, 3vw, 40px);
    display: flex;
    gap: 6px;
    overflow-x: auto;
    justify-content: center;
}
body.nh-dark-theme .nh-calc-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #b0b0b0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}
body.nh-dark-theme .nh-calc-nav-item:hover {
    background: rgba(212,175,55,0.08);
    color: #fff;
}
body.nh-dark-theme .nh-calc-nav-item.is-active {
    background: rgba(212,175,55,0.18);
    border-color: rgba(212,175,55,0.4);
    color: var(--nh-gold, #f0d060);
    font-weight: 600;
}
body.nh-dark-theme .nh-calc-nav-item svg { flex-shrink: 0; }

/* Sections */
body.nh-dark-theme .nh-calc-section {
    padding: 72px 0;
    border-bottom: 1px solid rgba(212,175,55,0.06);
}
body.nh-dark-theme .nh-calc-section:nth-child(odd) {
    background: #0c0c0c;
}
body.nh-dark-theme .nh-calc-section-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 40px);
}
body.nh-dark-theme .nh-calc-section--wide .nh-calc-section-inner {
    max-width: 1400px;
}
body.nh-dark-theme .nh-calc-section-head {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 32px;
}
body.nh-dark-theme .nh-calc-section-num {
    flex-shrink: 0;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(44px, 4vw, 64px);
    line-height: 0.9;
    color: transparent;
    background: linear-gradient(135deg, #a08520 0%, #d4af37 40%, #f0d060 60%, #d4af37 100%);
    -webkit-background-clip: text;
    background-clip: text;
    font-weight: 700;
    letter-spacing: -0.02em;
    min-width: 80px;
}
body.nh-dark-theme .nh-calc-section-head h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(26px, 2.6vw, 40px);
    line-height: 1.1;
    color: #fff;
    margin: 0 0 8px;
}
body.nh-dark-theme .nh-calc-section-head p {
    color: #b0b0b0;
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.6;
    margin: 0;
    max-width: 720px;
}

body.nh-dark-theme .nh-calc-card {
    background: linear-gradient(135deg, #111 0%, #0c0c0c 100%);
    border: 1px solid rgba(212,175,55,0.18);
    border-radius: 18px;
    padding: 28px 24px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
body.nh-dark-theme .nh-calc-card--wide {
    padding: 28px 24px;
}
body.nh-dark-theme .nh-calc-card .nh-calculator { background: transparent; padding: 0; border: none; box-shadow: none; }
body.nh-dark-theme .nh-calc-card .nh-calculator h3 { display: none; /* title already in section head */ }

body.nh-dark-theme .nh-calc-cta-row {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Disclaimer */
body.nh-dark-theme .nh-calc-disclaimer {
    padding: 40px clamp(16px, 3vw, 40px);
    background: #080808;
}
body.nh-dark-theme .nh-calc-disclaimer-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 24px;
    background: rgba(212,175,55,0.05);
    border-left: 3px solid var(--nh-gold, #d4af37);
    border-radius: 8px;
}
body.nh-dark-theme .nh-calc-disclaimer-inner svg { flex-shrink: 0; color: var(--nh-gold, #d4af37); margin-top: 2px; }
body.nh-dark-theme .nh-calc-disclaimer-inner p {
    margin: 0;
    color: #c0c0c0;
    font-size: 14px;
    line-height: 1.6;
}

/* Hide legacy tabs on this page */
body.nh-dark-theme .nh-calc-page .nh-calculators-tabs,
body.nh-dark-theme .nh-calc-page .nh-calc-tab { display: none !important; }

/* Mobile */
@media (max-width: 680px) {
    body.nh-dark-theme .nh-calc-section-head {
        flex-direction: column;
        gap: 10px;
    }
    body.nh-dark-theme .nh-calc-section { padding: 50px 0; }
    body.nh-dark-theme .nh-calc-hero { padding: 110px 20px 56px; }
    body.nh-dark-theme .nh-calc-nav-item { font-size: 13px; padding: 7px 12px; }
}
/* END CALCULATORS PAGE */

/* ═══════════════════════════════════════════════════════════════
   CALCULATORS — premium hub + child pages (fenetre24-inspired)
   ═══════════════════════════════════════════════════════════════ */
body.nh-dark-theme .nh-calc-page--hub,
body.nh-dark-theme .nh-calc-page--child { background: #0a0a0a; color: #e8e8e8; }

/* ─── HUB HERO ─── */
body.nh-dark-theme .nh-calc-hub-hero {
    padding: 120px clamp(20px, 5vw, 80px) 60px;
    background:
        radial-gradient(ellipse 60% 50% at 75% 30%, rgba(212,175,55,0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 20% 80%, rgba(212,175,55,0.07) 0%, transparent 60%),
        linear-gradient(180deg, #0a0a0a 0%, #0e0e0e 100%);
    text-align: center;
    border-bottom: 1px solid rgba(212,175,55,0.1);
}
body.nh-dark-theme .nh-calc-hub-hero-inner { max-width: 780px; margin: 0 auto; }
body.nh-dark-theme .nh-calc-hub-label {
    display: inline-block; padding: 6px 16px;
    background: rgba(212,175,55,0.15); border: 1px solid rgba(212,175,55,0.4);
    border-radius: 999px; color: var(--nh-gold, #d4af37);
    font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase;
    margin-bottom: 20px;
}
body.nh-dark-theme .nh-calc-hub-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(34px, 4.5vw, 60px); line-height: 1.05;
    color: #fff; margin: 0 0 18px; letter-spacing: -0.02em;
}
body.nh-dark-theme .nh-calc-hub-hero p {
    color: #c0c0c0; font-size: clamp(15px, 1.2vw, 18px); line-height: 1.65; margin: 0;
}

/* ─── HUB GRID (4 cards) ─── */
body.nh-dark-theme .nh-calc-hub-grid {
    padding: 60px clamp(16px, 3vw, 48px) 80px;
}
body.nh-dark-theme .nh-calc-hub-grid-inner {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}
body.nh-dark-theme .nh-calc-hub-card {
    position: relative;
    display: flex; flex-direction: column; gap: 14px;
    padding: 32px 28px 28px;
    background: linear-gradient(160deg, #141414 0%, #0a0a0a 100%);
    border: 1px solid rgba(212,175,55,0.18);
    border-radius: 18px;
    text-decoration: none;
    transition: transform 0.35s var(--nh-ease, ease), border-color 0.35s ease, box-shadow 0.35s ease;
    overflow: hidden;
}
body.nh-dark-theme .nh-calc-hub-card::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle 280px at 90% -10%, rgba(212,175,55,0.12) 0%, transparent 60%);
    opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
body.nh-dark-theme .nh-calc-hub-card:hover {
    transform: translateY(-6px);
    border-color: rgba(212,175,55,0.5);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 50px rgba(212,175,55,0.08);
}
body.nh-dark-theme .nh-calc-hub-card:hover::before { opacity: 1; }
body.nh-dark-theme .nh-calc-hub-card--featured {
    border-color: rgba(212,175,55,0.5);
    background: linear-gradient(160deg, rgba(212,175,55,0.08) 0%, #0a0a0a 60%);
}
body.nh-dark-theme .nh-calc-hub-featured-tag {
    position: absolute; top: 16px; right: 16px;
    padding: 4px 12px; font-size: 10px; font-weight: 700; letter-spacing: 0.15em;
    background: linear-gradient(135deg, #d4af37, #f0d060); color: #0a0a0a;
    border-radius: 999px; text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(212,175,55,0.35);
}
body.nh-dark-theme .nh-calc-hub-icon {
    width: 64px; height: 64px; display: flex; align-items: center; justify-content: center;
    background: rgba(212,175,55,0.08); border: 1px solid rgba(212,175,55,0.18);
    border-radius: 14px; transition: all 0.3s ease;
}
body.nh-dark-theme .nh-calc-hub-card:hover .nh-calc-hub-icon {
    background: rgba(212,175,55,0.16); transform: scale(1.05);
}
body.nh-dark-theme .nh-calc-hub-card h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px; color: #fff; margin: 0; line-height: 1.15;
}
body.nh-dark-theme .nh-calc-hub-sub {
    margin: 0; font-size: 13px; color: var(--nh-gold, #d4af37);
    letter-spacing: 0.04em; font-weight: 500;
}
body.nh-dark-theme .nh-calc-hub-desc {
    margin: 0; font-size: 14px; color: #b8b8b8; line-height: 1.6; flex: 1;
}
body.nh-dark-theme .nh-calc-hub-bullets {
    list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px;
    padding-top: 12px; border-top: 1px dashed rgba(212,175,55,0.12);
}
body.nh-dark-theme .nh-calc-hub-bullets li {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: #d0d0d0;
}
body.nh-dark-theme .nh-calc-hub-bullets svg { color: var(--nh-gold, #d4af37); flex-shrink: 0; }
body.nh-dark-theme .nh-calc-hub-cta {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 6px; padding: 12px 16px;
    background: rgba(212,175,55,0.08); border: 1px solid rgba(212,175,55,0.3);
    border-radius: 10px; color: var(--nh-gold, #d4af37);
    font-size: 13px; font-weight: 600;
    transition: all 0.2s ease;
}
body.nh-dark-theme .nh-calc-hub-card:hover .nh-calc-hub-cta {
    background: linear-gradient(135deg, #d4af37, #f0d060); color: #0a0a0a;
    border-color: transparent;
}
body.nh-dark-theme .nh-calc-hub-card--featured .nh-calc-hub-cta {
    background: linear-gradient(135deg, #d4af37, #f0d060); color: #0a0a0a; border-color: transparent;
    box-shadow: 0 4px 16px rgba(212,175,55,0.25);
}

body.nh-dark-theme .nh-calc-hub-disclaimer {
    padding: 0 clamp(16px, 3vw, 48px) 80px;
}
body.nh-dark-theme .nh-calc-hub-disclaimer-inner {
    max-width: 1000px; margin: 0 auto; padding: 22px 28px;
    background: rgba(212,175,55,0.06); border-left: 3px solid var(--nh-gold, #d4af37);
    border-radius: 8px; display: flex; gap: 14px; align-items: flex-start;
    color: #c0c0c0; font-size: 14px; line-height: 1.65;
}
body.nh-dark-theme .nh-calc-hub-disclaimer-inner svg { flex-shrink: 0; color: var(--nh-gold, #d4af37); margin-top: 2px; }
body.nh-dark-theme .nh-calc-hub-disclaimer-inner strong { color: #fff; }

/* ─── CHILD PAGE ─── */
body.nh-dark-theme .nh-calc-child-crumb {
    padding: 18px clamp(16px, 3vw, 48px) 0;
    background: #0a0a0a;
    margin-bottom: -28px;           /* pull header up so breadcrumb overlays it */
    position: relative;
    z-index: 2;
}
body.nh-dark-theme .nh-calc-child-crumb-inner {
    max-width: 1280px; margin: 0 auto;
}
body.nh-dark-theme .nh-calc-child-crumb a {
    display: inline-flex; align-items: center; gap: 6px;
    color: #888; text-decoration: none; font-size: 13px;
    letter-spacing: 0.04em; transition: color 0.2s ease;
}
body.nh-dark-theme .nh-calc-child-crumb a:hover { color: var(--nh-gold, #d4af37); }

body.nh-dark-theme .nh-calc-child-header {
    padding: 40px clamp(16px, 3vw, 48px) 50px;
    background: #0a0a0a;
    border-bottom: 1px solid rgba(212,175,55,0.1);
}
body.nh-dark-theme .nh-calc-child-header-inner {
    max-width: 1280px; margin: 0 auto;
    display: flex; gap: 28px; align-items: flex-start;
}
body.nh-dark-theme .nh-calc-child-icon {
    width: 72px; height: 72px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(212,175,55,0.08); border: 1px solid rgba(212,175,55,0.2);
    border-radius: 16px;
}
body.nh-dark-theme .nh-calc-child-label {
    display: inline-block; padding: 5px 12px;
    background: rgba(212,175,55,0.15); border: 1px solid rgba(212,175,55,0.35);
    border-radius: 999px; color: var(--nh-gold, #d4af37);
    font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
    margin-bottom: 12px;
}
body.nh-dark-theme .nh-calc-child-header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(22px, 2.4vw, 32px); line-height: 1.1;
    color: #fff; margin: 0 0 8px; font-weight: 500;
}
body.nh-dark-theme .nh-calc-child-header p {
    color: #a8a8a8; font-size: 13px; line-height: 1.5; margin: 0 0 10px; max-width: 640px;
}

body.nh-dark-theme .nh-calc-child-body {
    padding: 50px clamp(16px, 3vw, 48px);
    background: #0c0c0c;
}
body.nh-dark-theme .nh-calc-child-body .nh-calculator {
    max-width: 1280px; margin: 0 auto;
    background: linear-gradient(135deg, #141414 0%, #0a0a0a 100%);
    border: 1px solid rgba(212,175,55,0.18);
    border-radius: 20px; padding: 32px; box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
body.nh-dark-theme .nh-calc-child-body .nh-calculator h3 { display: none; }

/* ─── TRUST BAR ─── */
body.nh-dark-theme .nh-calc-trust {
    padding: 50px clamp(16px, 3vw, 48px);
    background: #0a0a0a; border-top: 1px solid rgba(212,175,55,0.08);
}
body.nh-dark-theme .nh-calc-trust-inner {
    max-width: 1280px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
body.nh-dark-theme .nh-calc-trust-item {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 18px; background: rgba(255,255,255,0.03);
    border: 1px solid rgba(212,175,55,0.12); border-radius: 12px;
}
body.nh-dark-theme .nh-calc-trust-item svg { color: var(--nh-gold, #d4af37); flex-shrink: 0; margin-top: 2px; }
body.nh-dark-theme .nh-calc-trust-item strong {
    display: block; color: #fff; font-size: 14px; margin-bottom: 3px;
}
body.nh-dark-theme .nh-calc-trust-item span { color: #888; font-size: 12px; line-height: 1.4; }

/* ─── RELATED ─── */
body.nh-dark-theme .nh-calc-related {
    padding: 50px clamp(16px, 3vw, 48px) 80px;
    max-width: 1280px; margin: 0 auto;
}
body.nh-dark-theme .nh-calc-related h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 24px; color: #fff; margin: 0 0 20px;
}
body.nh-dark-theme .nh-calc-related-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px;
}
body.nh-dark-theme .nh-calc-related-card {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 18px;
    background: #141414; border: 1px solid rgba(212,175,55,0.14);
    border-radius: 12px; text-decoration: none; color: inherit;
    transition: all 0.2s ease;
}
body.nh-dark-theme .nh-calc-related-card:hover {
    border-color: rgba(212,175,55,0.4); background: #181818;
    transform: translateX(4px);
}
body.nh-dark-theme .nh-calc-related-icon {
    width: 42px; height: 42px; flex-shrink: 0;
    background: rgba(212,175,55,0.08); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
}
body.nh-dark-theme .nh-calc-related-icon svg { width: 22px; height: 22px; }
body.nh-dark-theme .nh-calc-related-card strong { display: block; color: #fff; font-size: 14px; }
body.nh-dark-theme .nh-calc-related-card span { color: #888; font-size: 12px; }
body.nh-dark-theme .nh-calc-related-card > svg { color: #666; margin-left: auto; }

/* Responsive */
@media (max-width: 700px) {
    body.nh-dark-theme .nh-calc-child-header-inner { flex-direction: column; gap: 16px; }
    body.nh-dark-theme .nh-calc-child-icon { width: 56px; height: 56px; }
    body.nh-dark-theme .nh-calc-child-body .nh-calculator { padding: 20px 16px; }
}
/* END PREMIUM CALC PAGES */

/* ═══════════════════════════════════════════════════════════════
   CALC HUB CARDS v2 — large illustrations, gold accents, premium feel
   ═══════════════════════════════════════════════════════════════ */

/* Override old styles */
body.nh-dark-theme .nh-calc-hub-grid {
    padding: 40px clamp(16px, 3vw, 48px) 80px;
}
body.nh-dark-theme .nh-calc-hub-grid-inner {
    max-width: 1320px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* Premium card — illust top, body bottom */
body.nh-dark-theme .nh-calc-hub-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0;
    background: linear-gradient(180deg, #0f0f0f 0%, #0a0a0a 100%);
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: 20px;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.4s var(--nh-ease, cubic-bezier(0.16, 1, 0.3, 1)),
                border-color 0.4s ease,
                box-shadow 0.4s ease;
    min-height: 520px;
    gap: 0;
}
body.nh-dark-theme .nh-calc-hub-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, rgba(212,175,55,0.4) 20%, rgba(212,175,55,0.9) 50%, rgba(212,175,55,0.4) 80%, transparent 100%);
    opacity: 0.6;
    transition: opacity 0.4s ease;
}
body.nh-dark-theme .nh-calc-hub-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212,175,55,0.55);
    box-shadow:
        0 25px 70px rgba(0,0,0,0.6),
        0 0 80px rgba(212,175,55,0.12);
}
body.nh-dark-theme .nh-calc-hub-card:hover::before { opacity: 1; }

/* Featured badge */
body.nh-dark-theme .nh-calc-hub-featured-tag {
    position: absolute;
    top: 20px; right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: linear-gradient(135deg, #d4af37, #f0d060);
    color: #0a0a0a;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(212,175,55,0.4);
    z-index: 3;
}
body.nh-dark-theme .nh-calc-hub-featured-tag svg { fill: #0a0a0a; }

body.nh-dark-theme .nh-calc-hub-card--featured {
    border-color: rgba(212,175,55,0.35);
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(212,175,55,0.12) 0%, transparent 70%),
        linear-gradient(180deg, #121212 0%, #0a0a0a 100%);
}

/* Big number "01" "02" etc */
body.nh-dark-theme .nh-calc-hub-num {
    position: absolute;
    top: 24px; left: 28px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 42px;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(212,175,55,0.35);
    background: linear-gradient(135deg, rgba(212,175,55,0.2) 0%, rgba(212,175,55,0) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    line-height: 1;
    z-index: 2;
    pointer-events: none;
    transition: all 0.4s ease;
}
body.nh-dark-theme .nh-calc-hub-card:hover .nh-calc-hub-num {
    -webkit-text-stroke: 1px rgba(212,175,55,0.65);
    transform: scale(1.08);
}

/* Illustration area */
body.nh-dark-theme .nh-calc-hub-illust {
    position: relative;
    aspect-ratio: 16 / 10;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(212,175,55,0.12) 0%, transparent 70%),
        linear-gradient(180deg, #151515 0%, #0d0d0d 100%);
    border-bottom: 1px solid rgba(212,175,55,0.14);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    transition: background 0.5s ease;
}
body.nh-dark-theme .nh-calc-hub-illust::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(212,175,55,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212,175,55,0.04) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.5;
}
body.nh-dark-theme .nh-calc-hub-illust-svg {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: 200px;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
    transition: transform 0.5s var(--nh-ease, cubic-bezier(0.16, 1, 0.3, 1));
}
body.nh-dark-theme .nh-calc-hub-card:hover .nh-calc-hub-illust-svg {
    transform: scale(1.06);
}

/* Body */
body.nh-dark-theme .nh-calc-hub-body {
    padding: 26px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
body.nh-dark-theme .nh-calc-hub-sub {
    display: inline-block;
    color: var(--nh-gold, #d4af37);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0;
}
body.nh-dark-theme .nh-calc-hub-card h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 26px;
    line-height: 1.1;
    color: #fff;
    margin: 0;
    letter-spacing: -0.01em;
}
body.nh-dark-theme .nh-calc-hub-desc {
    color: #a8a8a8;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

/* Stat pill */
body.nh-dark-theme .nh-calc-hub-stat {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(212,175,55,0.06);
    border: 1px solid rgba(212,175,55,0.18);
    border-radius: 10px;
    margin: 4px 0 8px;
}
body.nh-dark-theme .nh-calc-hub-stat-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
    color: transparent;
    background: linear-gradient(135deg, #a08520 0%, #d4af37 40%, #f0d060 70%, #d4af37 100%);
    -webkit-background-clip: text;
    background-clip: text;
}
body.nh-dark-theme .nh-calc-hub-stat-label {
    color: #888;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* CTA arrow */
body.nh-dark-theme .nh-calc-hub-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 20px;
    margin-top: 8px;
    background: transparent;
    border: 1px solid rgba(212,175,55,0.3);
    color: var(--nh-gold, #d4af37);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: 10px;
    transition: all 0.3s ease;
}
body.nh-dark-theme .nh-calc-hub-cta svg {
    transition: transform 0.3s ease;
}
body.nh-dark-theme .nh-calc-hub-card:hover .nh-calc-hub-cta {
    background: linear-gradient(135deg, #d4af37 0%, #f0d060 100%);
    color: #0a0a0a;
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(212,175,55,0.3);
}
body.nh-dark-theme .nh-calc-hub-card:hover .nh-calc-hub-cta svg {
    transform: translateX(4px);
}
body.nh-dark-theme .nh-calc-hub-card--featured .nh-calc-hub-cta {
    background: linear-gradient(135deg, #d4af37 0%, #f0d060 100%);
    color: #0a0a0a;
    border-color: transparent;
    box-shadow: 0 4px 18px rgba(212,175,55,0.25);
}

/* ─── CHILD PAGE HEADER v5 — big image, tight height ─── */
body.nh-dark-theme .nh-calc-child-header {
    padding: 6px clamp(16px, 3vw, 40px) 10px;
}
body.nh-dark-theme .nh-calc-child-header-inner {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}
body.nh-dark-theme .nh-calc-child-illust {
    position: relative;
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    aspect-ratio: auto;
    max-height: 220px;
}
body.nh-dark-theme .nh-calc-child-illust::before { display: none; }
body.nh-dark-theme .nh-calc-child-illust .nh-hub-illust-svg,
body.nh-dark-theme .nh-calc-child-illust svg,
body.nh-dark-theme .nh-calc-child-illust img {
    position: relative;
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
    filter: drop-shadow(0 14px 24px rgba(0,0,0,0.55)) drop-shadow(0 0 20px rgba(212,175,55,0.08));
    margin: 0;
}

body.nh-dark-theme .nh-calc-child-headtext {
    min-width: 0;
}
body.nh-dark-theme .nh-calc-child-stat {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 8px;
    padding: 6px 14px;
    background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 999px;
}
body.nh-dark-theme .nh-calc-child-stat-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 18px;
    color: var(--nh-gold, #f0d060);
    font-weight: 700;
}
body.nh-dark-theme .nh-calc-child-stat-label {
    color: #a0a0a0;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Related card with mini-illust */
body.nh-dark-theme .nh-calc-related-illust {
    width: 72px;
    height: 46px;
    flex-shrink: 0;
    background:
        radial-gradient(ellipse at 50% 100%, rgba(212,175,55,0.1) 0%, transparent 70%),
        linear-gradient(135deg, #151515 0%, #0d0d0d 100%);
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: 8px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
body.nh-dark-theme .nh-calc-related-illust .nh-hub-illust-svg { width: 100%; height: 100%; }
body.nh-dark-theme .nh-calc-related-text { min-width: 0; flex: 1; }

/* Mobile tweaks */
@media (max-width: 600px) {
    body.nh-dark-theme .nh-calc-hub-card { min-height: 480px; }
    body.nh-dark-theme .nh-calc-hub-illust { aspect-ratio: 16 / 9; }
    body.nh-dark-theme .nh-calc-hub-body { padding: 22px 20px 22px; }
    body.nh-dark-theme .nh-calc-hub-card h2 { font-size: 22px; }
    body.nh-dark-theme .nh-calc-hub-num { font-size: 34px; top: 18px; left: 22px; }
    body.nh-dark-theme .nh-calc-child-header-inner { grid-template-columns: 1fr; }
    body.nh-dark-theme .nh-calc-child-illust { max-width: 360px; }
}
/* END CALC HUB v2 */

/* ═══════════════════════════════════════════════════════════════════════
   MY ACCOUNT  —  clean dark+gold, real DOM selectors, no crutches
   Actual WC structure (verified 2026-04-22):
     body.woocommerce-account
       main#nh-main
         .nh-page-header        (our site wrapper with H1)
         article.page
           .entry-content        (parent theme wrapper; needs max-width lift)
             div.woocommerce     (WC shortcode root)
               nav.woocommerce-MyAccount-navigation  (contains <ul> <li> <a>)
               div.woocommerce-MyAccount-content     (greeting/dashboard/forms)
   ═══════════════════════════════════════════════════════════════════════ */

/* 1. Widen the page wrapper so we have room for a 2-column layout */
body.woocommerce-account .entry-content,
body.woocommerce-account article.page,
body.woocommerce-account .nh-main > article,
body.woocommerce-cart .entry-content,
body.woocommerce-checkout .entry-content {
    max-width: 1200px !important;
    width: auto !important;
    margin: 0 auto !important;
    padding: 40px 24px !important;
    box-sizing: border-box;
}

/* 2. WC wrapper becomes the flex container (nav + content siblings) */
body.woocommerce-account .entry-content > .woocommerce,
body.woocommerce-account article .woocommerce {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 24px;
    align-items: flex-start;
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
    background: transparent;
}

/* 3. LEFT NAV — fixed 260px, readable, gold-accented */
body.woocommerce-account .woocommerce-MyAccount-navigation {
    flex: 0 0 260px !important;
    width: 260px !important;
    max-width: 260px;
    min-width: 260px;
    float: none !important;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(212,175,55,0.18);
    border-radius: 12px;
    padding: 12px 0;
    box-sizing: border-box;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block !important;
    padding: 12px 22px !important;
    color: #d0d0d0 !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    border-left: 3px solid transparent !important;
    transition: color .2s, background .2s, border-color .2s;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    color: #fff !important;
    background: rgba(212,175,55,0.06) !important;
    border-left-color: rgba(212,175,55,0.4) !important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
    color: #d4af37 !important;
    background: rgba(212,175,55,0.10) !important;
    border-left-color: #d4af37 !important;
    font-weight: 600 !important;
}
body.woocommerce-account .woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--customer-logout a {
    border-top: 1px solid rgba(255,255,255,0.06) !important;
    margin-top: 6px !important;
    color: #b0b0b0 !important;
}

/* 4. RIGHT CONTENT — fills remaining width */
body.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    float: none !important;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(212,175,55,0.18);
    border-radius: 12px;
    padding: 30px 36px;
    color: #e8e8e8;
    box-sizing: border-box;
}
body.woocommerce-account .woocommerce-MyAccount-content h2,
body.woocommerce-account .woocommerce-MyAccount-content h3,
body.woocommerce-account .woocommerce-MyAccount-content .greeting {
    color: #fff !important;
    font-family: 'Playfair Display', serif !important;
    margin: 0 0 18px !important;
    font-size: 26px !important;
    font-weight: 500 !important;
    letter-spacing: 0 !important;
}
body.woocommerce-account .woocommerce-MyAccount-content p {
    color: #cfcfcf !important;
    line-height: 1.7;
    margin: 0 0 12px;
}
body.woocommerce-account .woocommerce-MyAccount-content a {
    color: #d4af37 !important;
    text-decoration: none;
}
body.woocommerce-account .woocommerce-MyAccount-content a:hover {
    text-decoration: underline;
}

/* 5. NOTICES — gold accent instead of blue default */
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-info,
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-message {
    background: rgba(212,175,55,0.08) !important;
    border-left: 4px solid #d4af37 !important;
    color: #f0f0f0 !important;
    padding: 14px 18px !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    margin: 0 0 20px !important;
}
body.woocommerce-account .woocommerce-notices-wrapper .woocommerce-error {
    background: rgba(200, 60, 60, 0.12) !important;
    border-left: 4px solid #e05050 !important;
    color: #f0f0f0 !important;
    padding: 14px 18px !important;
    border-radius: 8px !important;
}

/* 6. FORM INPUTS — dark, readable */
body.woocommerce-account input[type="text"],
body.woocommerce-account input[type="email"],
body.woocommerce-account input[type="password"],
body.woocommerce-account input[type="tel"],
body.woocommerce-account input[type="number"],
body.woocommerce-account input[type="url"],
body.woocommerce-account select,
body.woocommerce-account textarea,
body.woocommerce-checkout input[type="text"],
body.woocommerce-checkout input[type="email"],
body.woocommerce-checkout input[type="tel"],
body.woocommerce-checkout select {
    background: rgba(0,0,0,0.40) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    padding: 11px 14px !important;
    width: 100% !important;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 14px;
}
body.woocommerce-account input:focus,
body.woocommerce-account select:focus,
body.woocommerce-account textarea:focus {
    border-color: #d4af37 !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(212,175,55,0.18) !important;
}
body.woocommerce-account label,
body.woocommerce-account form .form-row label {
    color: #e0e0e0 !important;
    font-size: 13px !important;
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}
body.woocommerce-account .form-row {
    margin-bottom: 16px;
}

/* 7. BUTTONS — gold gradient */
body.woocommerce-account .button,
body.woocommerce-account button.button,
body.woocommerce-account a.button,
body.woocommerce-account input[type="submit"],
body.woocommerce-account button[type="submit"],
body.woocommerce-checkout .button,
body.woocommerce-checkout button[type="submit"] {
    background: linear-gradient(135deg, #d4af37 0%, #f0d060 100%) !important;
    color: #0A0A0A !important;
    border: none !important;
    border-radius: 30px !important;
    padding: 11px 26px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
    text-shadow: none !important;
}
body.woocommerce-account .button:hover,
body.woocommerce-account button[type="submit"]:hover,
body.woocommerce-account input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(212,175,55,0.3);
    color: #0A0A0A !important;
}

/* 8. TABLES (orders / downloads / payment methods) */
body.woocommerce-account .shop_table,
body.woocommerce-account .woocommerce-orders-table {
    width: 100%;
    background: transparent !important;
    border: 1px solid rgba(212,175,55,0.14) !important;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 10px;
    overflow: hidden;
}
body.woocommerce-account .shop_table th {
    background: rgba(212,175,55,0.08) !important;
    color: #ffffff !important;
    border: 0 !important;
    padding: 12px 14px !important;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
}
body.woocommerce-account .shop_table td {
    border-top: 1px solid rgba(255,255,255,0.06) !important;
    color: #d8d8d8 !important;
    padding: 12px 14px !important;
    background: transparent !important;
}

/* 9. ADDRESS BOXES */
body.woocommerce-account .woocommerce-Addresses,
body.woocommerce-account .woocommerce-Address {
    margin: 0 !important;
}
body.woocommerce-account .woocommerce-Address {
    background: rgba(0,0,0,0.30);
    border: 1px solid rgba(212,175,55,0.15);
    border-radius: 10px;
    padding: 20px 22px;
    margin-bottom: 14px;
}
body.woocommerce-account .woocommerce-Address-title h2,
body.woocommerce-account .woocommerce-Address-title h3 {
    font-size: 18px !important;
    margin: 0 0 10px !important;
}
body.woocommerce-account address {
    color: #d0d0d0;
    font-style: normal;
    line-height: 1.6;
}

/* 10. Login/register form (guest state) */
body.woocommerce-account .u-columns,
body.woocommerce-account .u-column1,
body.woocommerce-account .u-column2 {
    width: 100% !important;
    float: none !important;
    max-width: 520px !important;
    margin: 0 auto !important;
}
body.woocommerce-account form.woocommerce-form-login,
body.woocommerce-account form.woocommerce-form-register {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(212,175,55,0.18);
    border-radius: 12px;
    padding: 28px 32px !important;
}

/* 11. Google (Nextend) button container */
body.woocommerce-account .nsl-container,
body.woocommerce-login .nsl-container,
.nsl-container {
    margin: 16px 0 !important;
}
body.woocommerce-account .nsl-button {
    border-radius: 30px !important;
}

/* 12. Hide Dokan vendor injections (already disabled, belt-and-suspenders) */
body.woocommerce-account [class*="dokan-become"],
body.woocommerce-account [id*="dokan-become"],
body.woocommerce-account [class*="become-vendor"],
body.woocommerce-account [id*="become-vendor"] {
    display: none !important;
}

/* 13. Mobile */
@media (max-width: 860px) {
    body.woocommerce-account .entry-content > .woocommerce,
    body.woocommerce-account article .woocommerce {
        flex-direction: column;
        gap: 16px;
    }
    body.woocommerce-account .woocommerce-MyAccount-navigation {
        flex: 1 1 auto !important;
        width: 100% !important;
        max-width: none;
        min-width: 0;
    }
    body.woocommerce-account .woocommerce-MyAccount-content {
        padding: 22px 20px;
    }
}
