/* ==========================================================================
   Nova Wood — Premium Design System
   70% Minimal · 30% Premium
   ========================================================================== */

:root {
    /* Brand Colors */
    --nw-green:        #16a34a; /* CTA Green (Add to Cart ONLY) */
    --nw-green-dark:   #15803d;
    --nw-green-light:  #4ade80;
    --nw-navy:         #0f172a; /* Primary Dark */
    --nw-navy-dark:    #020617; /* Text Dark */
    --nw-bg:           #f8fafc; /* Background */
    --nw-wood:         #92400e; /* Wood Brown */
    --nw-wood-hover:   #d97706; /* Wood Light (Hover) */
    --nw-dark:         #020617; /* Text Dark */
    --nw-gray:         #64748b; /* Muted Text */
    --nw-gray-light:   #cbd5e1;
    --nw-white:        #ffffff; /* Card */
    --nw-gold:         #92400e; /* Wood Brown as gold/accent */
    --nw-gold-light:   rgba(146, 64, 14, 0.08);

    /* Semantic */
    --primary-color:   var(--nw-wood);
    --primary-hover:   var(--nw-wood-hover);
    --secondary-color: var(--nw-navy);
    --accent-color:    var(--nw-wood);
    --background-color: var(--nw-bg);
    --card-background: var(--nw-white);
    --text-color:      var(--nw-dark);
    --text-muted:      var(--nw-gray);
    --border-color:    rgba(15, 23, 42, 0.08);

    /* Radius */
    --radius-btn:   12px;
    --radius-card:  18px; /* Rounded corners (16-20px) */
    --radius-input: 12px;
    --radius-img:   18px;
    --radius-sm:    8px;
    --radius-md:    18px;
    --radius-lg:    24px;

    /* Shadows */
    --shadow-xs:  0 1px 3px rgba(15, 23, 42, 0.04);
    --shadow-sm:  0 4px 16px rgba(15, 23, 42, 0.06);
    --shadow-md:  0 8px 32px rgba(15, 23, 42, 0.08);
    --shadow-lg:  0 16px 48px rgba(15, 23, 42, 0.10);
    --shadow-xl:  0 24px 64px rgba(15, 23, 42, 0.12);

    /* Motion */
    --transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --header-height: 80px;
    --section-py:    clamp(4rem, 8vw, 7rem);
    --container-max: 1320px;
}

/* ==========================================================================
   Base & Typography
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Cairo', 'IBM Plex Sans Arabic', 'Poppins', sans-serif;
    background-color: var(--nw-bg);
    color: var(--nw-dark);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 15px;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Poppins', 'Cairo', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--nw-dark);
    line-height: 1.15;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--nw-green);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--nw-gray);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.text-primary { color: var(--nw-green) !important; }
.text-navy    { color: var(--nw-navy) !important; }
.text-gold    { color: var(--nw-gold) !important; }
.bg-wood      { background-color: var(--nw-wood) !important; }
.bg-surface   { background-color: var(--nw-bg) !important; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    border-radius: var(--radius-btn);
    padding: 0.75rem 1.75rem;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary,
.btn-nw-primary {
    background-color: var(--nw-green);
    border-color: var(--nw-green);
    color: var(--nw-white);
}

.btn-primary:hover,
.btn-nw-primary:hover,
.btn-primary:focus {
    background-color: var(--nw-navy);
    border-color: var(--nw-navy);
    color: var(--nw-white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary,
.btn-nw-outline {
    background: transparent;
    border: 1.5px solid var(--nw-green);
    color: var(--nw-green);
}

.btn-outline-primary:hover,
.btn-nw-outline:hover {
    background: var(--nw-green);
    color: var(--nw-white);
}

.btn-nw-secondary {
    background: var(--nw-white);
    color: var(--nw-dark);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xs);
}

.btn-nw-secondary:hover {
    background: var(--nw-wood);
    border-color: transparent;
    color: var(--nw-dark);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 0.95rem;
    border-radius: var(--radius-btn);
}

.btn-nw-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--nw-green);
    color: var(--nw-white);
    height: 48px;
    padding: 0 1.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 24px;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.28);
    transition: var(--transition);
}

.btn-nw-cta:hover {
    background: var(--nw-green-dark);
    color: var(--nw-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(22, 163, 74, 0.35);
}

/* Ripple effect */
.btn-ripple::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
}

.btn-ripple:active::after {
    transform: scale(2.5);
    opacity: 1;
    transition: 0s;
}

/* ==========================================================================
   Header
   ========================================================================== */

.nw-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    height: var(--header-height);
    transition: var(--transition);
    background: rgba(15, 23, 42, 0.92) !important; /* var(--nw-navy) with slight transparency for blur */
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nw-header.scrolled,
.nw-header--solid {
    background: rgba(2, 6, 23, 0.94) !important; /* var(--nw-navy-dark), darker for premium feel */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md);
}

.nw-header--solid .nw-logo-text,
.nw-header.scrolled .nw-logo-text { color: var(--nw-white) !important; }

.nw-header--solid .nw-nav-link,
.nw-header--solid .nw-icon-btn,
.nw-header--solid .nw-mobile-toggle {
    color: rgba(255, 255, 255, 0.85) !important;
}

.nw-header--solid .nw-search-input {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: var(--nw-white) !important;
}

.nw-header--solid .nw-search-input::placeholder { color: rgba(255, 255, 255, 0.45) !important; }
.nw-header--solid .nw-search-icon { color: rgba(255, 255, 255, 0.5) !important; }
.nw-header--solid .nw-icon-btn:hover { background: rgba(255, 255, 255, 0.08) !important; color: var(--nw-wood-hover) !important; }

.nw-header .nw-header-inner {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Logo */
.nw-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    padding-inline-end: 12px;
    margin-inline-end: 8px;
}

.nw-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.nw-logo-text {
    font-family: 'Cairo', 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.4rem; /* was 1.15rem */
    letter-spacing: 0.05em;
    color: var(--nw-white);
    transition: var(--transition);
}

.nw-header.scrolled .nw-logo-text { color: var(--nw-white) !important; }

/* Navigation */
.nw-nav {
    display: flex;
    align-items: center;
    gap: 36px; /* was 0.25rem — balanced spacing between nav items */
    list-style: none;
    margin: 0;
    padding: 0;
}

.nw-nav-link {
    position: relative;
    display: block;
    padding: 0.6rem 0.1rem; /* horizontal padding trimmed since gap now handles spacing */
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nw-header.scrolled .nw-nav-link { color: rgba(255, 255, 255, 0.85) !important; }
.nw-nav-link:hover { color: var(--nw-wood-hover) !important; }
.nw-header.scrolled .nw-nav-link:hover { color: var(--nw-wood-hover) !important; }

/* Active menu underline */
.nw-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    border-radius: 4px;
    background: var(--nw-wood-hover);
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nw-nav-link:hover::after {
    width: 60%;
}

.nw-nav-link.active {
    font-weight: 600;
    color: var(--nw-wood-hover) !important;
}

.nw-header.scrolled .nw-nav-link.active { color: var(--nw-wood-hover) !important; }

.nw-nav-link.active::after {
    width: 70%;
}

/* Search */
.nw-search {
    position: relative;
    flex: 0 1 260px; /* was 220px */
}

.nw-search-input {
    width: 100%;
    padding: 0.65rem 1.1rem 0.65rem 2.6rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    background: rgba(255,255,255,0.08);
    color: var(--nw-white);
    font-size: 0.85rem;
    transition: var(--transition);
}

.nw-header.scrolled .nw-search-input {
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(255,255,255,0.12) !important;
    color: var(--nw-white) !important;
}

.nw-search-input::placeholder { color: rgba(255,255,255,0.45); }
.nw-header.scrolled .nw-search-input::placeholder { color: rgba(255,255,255,0.45) !important; }

.nw-search-input:focus {
    outline: none;
    border-color: var(--nw-wood-hover);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.nw-search-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    pointer-events: none;
}

.nw-header.scrolled .nw-search-icon { color: rgba(255,255,255,0.5) !important; }

#search-results-dropdown {
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--border-color) !important;
}

#search-results-dropdown .list-group-item {
    padding: 0.75rem 1rem;
    border: none;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

#search-results-dropdown .list-group-item:hover {
    background: var(--nw-wood);
}

/* Header icons */
.nw-header-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nw-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    border: none;
    background: transparent;
    font-size: 1.35rem; /* was 1.1rem — icons now ~22-24px */
}

.nw-header.scrolled .nw-icon-btn { color: rgba(255, 255, 255, 0.85) !important; }
.nw-icon-btn:hover {
    background: rgba(255,255,255,0.12);
    color: var(--nw-wood-hover) !important;
    transform: scale(1.08);
}
.nw-header.scrolled .nw-icon-btn:hover {
    background: rgba(255,255,255,0.12) !important;
}

.nw-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 0.65rem;
    font-weight: 600;
    background: var(--nw-green); /* CTA Green Badge */
    color: var(--nw-white);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile toggle */
.nw-mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    color: var(--nw-white);
    font-size: 1.25rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.nw-header.scrolled .nw-mobile-toggle { color: var(--nw-navy); }

/* Mobile menu overlay */
.nw-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1039;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.nw-mobile-overlay.open {
    display: block;
    opacity: 1;
}

/* Mobile menu */
.nw-mobile-menu {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    width: min(320px, 88vw);
    background: var(--nw-white);
    z-index: 1040;
    padding: 1.5rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 32px rgba(0,0,0,0.12);
}

.nw-mobile-menu.open {
    transform: translateX(0);
}

.nw-mobile-menu .nw-nav-link {
    color: var(--nw-dark);
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.25s ease, padding-inline-start 0.25s ease;
}

.nw-mobile-menu .nw-nav-link::after { display: none; } /* uses border-bottom instead of underline in drawer */

.nw-mobile-menu .nw-nav-link:hover,
.nw-mobile-menu .nw-nav-link.active {
    color: var(--nw-wood-hover);
    padding-inline-start: 6px;
}

/* Dropdown */
.nw-dropdown-menu {
    border: none;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    margin-top: 0.5rem !important;
}

.nw-dropdown-menu .dropdown-item {
    border-radius: var(--radius-sm);
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    transition: var(--transition);
}

.nw-dropdown-menu .dropdown-item:hover {
    background: var(--nw-wood);
    color: var(--nw-green);
}

/* Page offset for fixed header */
body.has-fixed-header { padding-top: 0; }
main { min-height: 50vh; }

/* Flash alerts */
.nw-flash-container {
    position: fixed;
    top: calc(var(--header-height) + 1rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1060;
    width: min(600px, 92vw);
}

.nw-flash-container .alert {
    border-radius: var(--radius-card);
    border: none;
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.nw-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.nw-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: transform 8s ease-out;
}

.nw-hero:hover .nw-hero-bg { transform: scale(1.06); }

.nw-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(31, 60, 74, 0.72) 0%,
        rgba(31, 60, 74, 0.35) 45%,
        rgba(31, 60, 74, 0.15) 100%
    );
}

.nw-hero-content {
    position: relative;
    z-index: 2;
    padding: calc(var(--header-height) + 3rem) 0 4rem;
    max-width: 680px;
}

.nw-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    color: var(--nw-white);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.nw-hero-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--nw-gold);
    border-radius: 50%;
}

.nw-hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    font-weight: 600;
    color: var(--nw-white);
    line-height: 1.08;
    margin-bottom: 1.25rem;
}

.nw-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.88);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.nw-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.nw-hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: nwBounce 2s infinite;
}

@keyframes nwBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(6px); }
}

/* Swiper hero overrides */
.hero-swiper { min-height: 100vh; }
.hero-swiper .swiper-pagination-bullet {
    background: rgba(255,255,255,0.5);
    opacity: 1;
    width: 8px;
    height: 8px;
    transition: var(--transition);
}
.hero-swiper .swiper-pagination-bullet-active {
    background: var(--nw-gold);
    width: 24px;
    border-radius: 4px;
}
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: var(--nw-white);
    opacity: 0.7;
    transition: var(--transition);
}
.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover { opacity: 1; }

.hero-slide {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(31,60,74,0.75) 0%, rgba(31,60,74,0.3) 60%, transparent 100%);
}

/* ==========================================================================
   Sections
   ========================================================================== */

.nw-section {
    padding: var(--section-py) 0;
}

.nw-section-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* ==========================================================================
   Category Cards
   ========================================================================== */

.category-luxury-card {
    height: 280px;
    border-radius: var(--radius-card);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.category-luxury-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.category-luxury-card:hover img { transform: scale(1.06); }

.category-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(31,60,74,0.85) 0%, rgba(31,60,74,0.2) 55%, transparent 100%);
    z-index: 1;
}

.category-luxury-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.category-content-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.75rem;
    z-index: 2;
}

.category-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nw-white);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.category-luxury-card:hover .category-icon {
    background: var(--nw-green);
}

.category-accent-line {
    width: 32px;
    height: 2px;
    background: var(--nw-gold);
    margin-bottom: 0.75rem;
    border-radius: 2px;
    transition: var(--transition);
}

.category-luxury-card:hover .category-accent-line { width: 56px; }

/* Static category grid (smaller) */
.nw-cat-grid .category-luxury-card { height: 220px; }

/* Secondary (smaller) category cards */
.nw-cat-secondary { height: 200px !important; }
.nw-cat-secondary .nw-cat-card-title { font-size: 1rem !important; }
.nw-cat-secondary .nw-cat-card-desc  { display: none; }
@media (max-width: 576px) { .nw-cat-secondary { height: 170px !important; } }

/* ==========================================================================
   Office Furniture NAV Highlight
   ========================================================================== */
.nw-nav-office-link {
    font-weight: 700 !important;
    color: var(--nw-wood) !important;
    position: relative;
}
.nw-nav-office-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0; right: 0;
    height: 2px;
    background: var(--nw-wood);
    border-radius: 2px;
    opacity: 0.6;
}
.nw-mobile-office-link {
    color: var(--nw-wood) !important;
    font-weight: 700 !important;
}

/* ==========================================================================
   Office Furniture Showcase Section
   ========================================================================== */

.nw-office-showcase {
    padding: 100px 0;
    background: #f8f6f2;
    position: relative;
}

/* Section header (title left + CTA right) */
.nw-office-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}
@media (max-width: 768px) {
    .nw-office-header { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
    .nw-office-showcase { padding: 60px 0; }
}

/* Main grid: large hero on left, 3x2 sub-grid on right */
.nw-office-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
}
@media (max-width: 991px) { .nw-office-grid { grid-template-columns: 1fr; } }

/* -----------------------------------------------
   Hero Card (big left card)
----------------------------------------------- */
.nw-office-hero-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    min-height: 560px;
    box-shadow: 0 8px 32px rgba(15,23,42,0.14);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nw-office-hero-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(15,23,42,0.22);
}
.nw-office-hero-card img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.nw-office-hero-card:hover img { transform: scale(1.04); }

.nw-office-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.45) 50%, rgba(15,23,42,0.08) 100%);
    transition: background 0.3s ease;
    z-index: 1;
}
.nw-office-hero-card:hover .nw-office-hero-overlay {
    background: linear-gradient(to top, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.55) 55%, rgba(15,23,42,0.12) 100%);
}

/* Badge */
.nw-office-hero-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #92400e, #d97706);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.04em;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(146,64,14,0.35);
}

/* Content at bottom */
.nw-office-hero-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 2.2rem 2rem;
    z-index: 2;
}
.nw-office-hero-content h2 {
    color: #fff;
    font-family: 'Outfit', 'Cairo', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}
.nw-office-hero-content p {
    color: rgba(255,255,255,0.72);
    font-size: 0.92rem;
    margin: 0 0 16px;
}
.nw-office-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #d97706;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.nw-office-hero-card:hover .nw-office-hero-cta {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 576px) { .nw-office-hero-cta { opacity: 1; transform: none; } }

@media (max-width: 991px) {
    .nw-office-hero-card { min-height: 360px; }
    .nw-office-hero-content h2 { font-size: 1.8rem; }
}

/* -----------------------------------------------
   Sub-Category Grid (3x2 on right)
----------------------------------------------- */
.nw-office-sub-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 12px;
    min-height: 560px;
}
@media (max-width: 991px) { .nw-office-sub-grid { min-height: auto; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr; } }
@media (max-width: 576px)  { .nw-office-sub-grid { grid-template-columns: 1fr; gap: 8px; } }


.nw-office-sub-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    box-shadow: 0 3px 14px rgba(15,23,42,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nw-office-sub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(15,23,42,0.18);
}
.nw-office-sub-card img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.nw-office-sub-card:hover img { transform: scale(1.06); }

.nw-office-sub-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.3) 60%, transparent 100%);
    z-index: 1;
}

.nw-office-sub-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1rem 1rem 0.9rem;
    z-index: 2;
}
.nw-office-sub-content h5 {
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    margin: 0 0 3px;
    font-family: 'Outfit', 'Cairo', sans-serif;
    line-height: 1.25;
}
.nw-office-sub-content p {
    color: rgba(255,255,255,0.65);
    font-size: 0.7rem;
    margin: 0;
    line-height: 1.4;
    display: none;
}
.nw-office-sub-card:hover .nw-office-sub-content p { display: block; }

/* -----------------------------------------------
   Office CTA Banner
----------------------------------------------- */
.nw-office-cta-banner {
    margin-top: 56px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 48px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-shadow: 0 8px 32px rgba(15,23,42,0.18);
}
.nw-office-cta-text h3 {
    color: #fff;
    font-family: 'Outfit', 'Cairo', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -0.015em;
}
.nw-office-cta-text p {
    color: rgba(255,255,255,0.6);
    font-size: 0.92rem;
    margin: 0;
}
.nw-office-cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .nw-office-cta-banner {
        flex-direction: column;
        padding: 36px 28px;
        text-align: center;
    }
    .nw-office-cta-actions { flex-direction: column; width: 100%; }
    .nw-office-cta-actions .btn { width: 100%; }
    .nw-office-cta-text h3 { font-size: 1.4rem; }
}



/* ==========================================================================
   Premium Category Section — Nova Wood
   ========================================================================== */

.nw-category-section {
    padding: 100px 0;
    background-color: #f8f6f2;
    position: relative;
    overflow: hidden;
}

/* Subtle wooden texture overlay on section */
.nw-category-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.nw-category-section .container { position: relative; z-index: 1; }

/* Card wrapper — the <a> tag */
.nw-cat-card-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    border-radius: 20px;
    outline: none;
}

.nw-cat-card-wrapper:focus-visible .nw-cat-premium-card {
    box-shadow: 0 0 0 3px #92400e, 0 20px 60px rgba(15,23,42,0.25);
}

/* The card itself */
.nw-cat-premium-card {
    position: relative;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nw-cat-premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
}

/* Full-bleed background image */
.nw-cat-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.nw-cat-premium-card:hover .nw-cat-card-img {
    transform: scale(1.05);
}

/* Dark gradient overlay — stronger on hover */
.nw-cat-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.88) 0%,
        rgba(15, 23, 42, 0.45) 50%,
        rgba(15, 23, 42, 0.12) 100%
    );
    transition: background 0.3s ease;
    z-index: 1;
}

.nw-cat-premium-card:hover .nw-cat-card-overlay {
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.93) 0%,
        rgba(15, 23, 42, 0.55) 55%,
        rgba(15, 23, 42, 0.18) 100%
    );
}

/* Product count badge — top right */
.nw-cat-count-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(15,23,42,0.12);
    letter-spacing: 0.03em;
    z-index: 2;
    white-space: nowrap;
}

/* Card body — content at bottom */
.nw-cat-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.8rem 1.6rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* SVG icon */
.nw-cat-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    color: #ffffff;
    margin-bottom: 4px;
    transition: transform 0.3s ease, background 0.3s ease;
    flex-shrink: 0;
}

.nw-cat-premium-card:hover .nw-cat-card-icon {
    transform: translateY(-4px);
    background: rgba(146, 64, 14, 0.75);
}

/* Category name */
.nw-cat-card-title {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.25;
    font-family: 'Outfit', 'Cairo', sans-serif;
    letter-spacing: -0.01em;
}

/* Short description */
.nw-cat-card-desc {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

/* Explore Collection label */
.nw-cat-explore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #d97706;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-top: 4px;
}

.nw-cat-premium-card:hover .nw-cat-explore {
    opacity: 1;
    transform: translateY(0);
}

.nw-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.nw-cat-premium-card:hover .nw-arrow {
    transform: translateX(4px);
}

/* Responsive sizes */
@media (max-width: 991px) {
    .nw-cat-premium-card { height: 260px; }
    .nw-cat-card-title { font-size: 1.1rem; }
    .nw-category-section { padding: 70px 0; }
}

@media (max-width: 576px) {
    .nw-cat-premium-card { height: 220px; }
    .nw-cat-card-title { font-size: 1rem; }
    .nw-cat-card-body { padding: 1.2rem 1.2rem; }
    .nw-category-section { padding: 50px 0; }
    .nw-cat-explore { opacity: 1; transform: none; }
}

/* ==========================================================================
   Product Cards
   ========================================================================== */

.luxury-card,
.nw-product-card {
    background: var(--nw-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card); /* Rounded corners (16-20px) */
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xs);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.luxury-card:hover,
.nw-product-card:hover {
    transform: translateY(-6px); /* lift up */
    box-shadow: var(--shadow-lg); /* soft shadow */
    border-color: transparent;
}

.nw-product-img-wrap {
    position: relative;
    height: 280px;
    background: var(--nw-bg); /* light background */
    overflow: hidden;
}

.nw-product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.luxury-card:hover .nw-product-img-wrap img,
.nw-product-card:hover .nw-product-img-wrap img {
    transform: scale(1.04);
}

.nw-product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    z-index: 2;
}

.nw-badge-sale {
    background: var(--nw-wood);
    color: var(--nw-white);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    letter-spacing: 0.04em;
}

.nw-badge-new {
    background: var(--nw-navy);
    color: var(--nw-white);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
}

/* Wishlist overlay button style */
.nw-wishlist-overlay-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nw-navy);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.nw-wishlist-overlay-btn:hover {
    background: var(--nw-white);
    color: #e11d48;
    transform: scale(1.08);
}

.nw-wishlist-overlay-btn.active {
    color: #e11d48;
}

.nw-product-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nw-product-wood-type {
    font-size: 0.8rem;
    color: var(--nw-gray);
    margin: 0;
}

.nw-product-wood-type i {
    color: var(--nw-wood);
}

.nw-product-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--nw-dark);
    margin-bottom: 0.35rem;
    text-decoration: none;
    transition: var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nw-product-name:hover { color: var(--nw-green); }

.nw-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
}

.nw-price-current {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--nw-dark);
}

.nw-price-old {
    font-size: 0.8rem;
    color: var(--nw-gray-light);
    text-decoration: line-through;
    margin-left: 0.35rem;
}

.nw-price-sale { color: var(--nw-green); }

/* Clickable Card Styling */
.nw-clickable-card-wrapper {
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    display: block;
    outline: none;
}
.nw-clickable-card-wrapper:focus-visible {
    outline: 2px solid var(--nw-wood);
    outline-offset: 4px;
}

/* Premium Gradient Add to Cart Button (Card version) */
.btn-add-to-cart,
.nw-premium-atc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
    color: var(--nw-white) !important;
    border: none !important;
    border-radius: 30px !important; /* Modern pill shape */
    padding: 10px 22px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
}

.btn-add-to-cart:hover,
.nw-premium-atc-btn:hover {
    background: linear-gradient(135deg, #15803d 0%, #166534 100%) !important;
    color: var(--nw-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.3);
}

.btn-add-to-cart:active,
.nw-premium-atc-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.15);
}

/* Premium Large Add to Cart Button (Product detail page version) */
.nw-premium-atc-btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
    color: var(--nw-white) !important;
    border: none !important;
    border-radius: 30px !important; /* Modern pill shape */
    padding: 14px 38px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.25);
}

.nw-premium-atc-btn-large:hover {
    background: linear-gradient(135deg, #15803d 0%, #166534 100%) !important;
    color: var(--nw-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.35);
}

.nw-premium-atc-btn-large:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(22, 163, 74, 0.15);
}

/* Add to Cart Status States */
.nw-atc--loading {
    background: var(--nw-navy) !important;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none !important;
}
.nw-atc--loading i {
    animation: nw-atc-spin 1s linear infinite;
}
.nw-atc--loading .nw-atc-text,
.nw-atc--loading .nw-atc-label {
    opacity: 0.8;
}

.nw-atc--success {
    background: #27ae60 !important;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3) !important;
}

@keyframes nw-atc-spin {
    to { transform: rotate(360deg); }
}

/* Cart badge transition adjustments */
.cart-count-badge {
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cart-count-badge.nw-badge--visible {
    opacity: 1;
    transform: scale(1);
}

.hover-overlay { transition: opacity 0.35s ease; }
.luxury-card:hover .hover-overlay { opacity: 1 !important; }

/* ==========================================================================
   Product Tabs
   ========================================================================== */

.premium-nav-tabs { gap: 0.75rem; }

.premium-nav-tabs .nav-link {
    border-radius: 50px !important;
    padding: 0.65rem 1.75rem !important;
    background: var(--nw-white) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--nw-gray) !important;
    font-weight: 500 !important;
    font-size: 0.875rem;
    transition: var(--transition) !important;
}

.premium-nav-tabs .nav-link::after { display: none; }

.premium-nav-tabs .nav-link:hover {
    border-color: var(--nw-green) !important;
    color: var(--nw-green) !important;
}

.premium-nav-tabs .nav-link.active {
    background: var(--nw-green) !important;
    color: var(--nw-white) !important;
    border-color: var(--nw-green) !important;
    box-shadow: var(--shadow-sm) !important;
}

/* ==========================================================================
   Why Nova Wood
   ========================================================================== */

.nw-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.nw-why-card {
    background: var(--nw-white);
    border-radius: var(--radius-card);
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.nw-why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.nw-why-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    border-radius: 14px;
    background: var(--nw-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nw-green);
    font-size: 1.35rem;
    transition: var(--transition);
}

.nw-why-card:hover .nw-why-icon {
    background: var(--nw-green);
    color: var(--nw-white);
}

.nw-why-card h5 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.nw-why-card p {
    font-size: 0.85rem;
    color: var(--nw-gray);
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   Process Timeline
   ========================================================================== */

.nw-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.nw-process::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--nw-green), var(--nw-gold), var(--nw-green));
    opacity: 0.3;
}

.nw-process-step {
    text-align: center;
    padding: 0 1rem;
    position: relative;
}

.nw-process-num {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--nw-white);
    border: 2px solid var(--nw-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--nw-green);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.nw-process-step:hover .nw-process-num {
    background: var(--nw-green);
    color: var(--nw-white);
    box-shadow: var(--shadow-md);
}

.nw-process-step h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.nw-process-step p {
    font-size: 0.85rem;
    color: var(--nw-gray);
    margin: 0;
}

/* ==========================================================================
   Custom Furniture CTA
   ========================================================================== */

.nw-custom-cta {
    background: var(--nw-navy);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.nw-custom-cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
}

.nw-custom-cta-content {
    position: relative;
    z-index: 1;
    padding: clamp(3rem, 6vw, 5rem);
    color: var(--nw-white);
}

.nw-custom-cta h2 {
    color: var(--nw-white);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.nw-custom-cta p {
    color: rgba(255,255,255,0.8);
    max-width: 480px;
    margin-bottom: 2rem;
}

/* ==========================================================================
   Projects Gallery
   ========================================================================== */

.nw-projects-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}

.nw-project-item {
    border-radius: var(--radius-img);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.nw-project-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.nw-project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.nw-project-item:hover img { transform: scale(1.05); }

.nw-project-item:nth-child(1) { grid-column: span 7; grid-row: span 2; min-height: 420px; }
.nw-project-item:nth-child(2) { grid-column: span 5; min-height: 200px; }
.nw-project-item:nth-child(3) { grid-column: span 5; min-height: 200px; }
.nw-project-item:nth-child(4) { grid-column: span 4; min-height: 260px; }
.nw-project-item:nth-child(5) { grid-column: span 4; min-height: 260px; }
.nw-project-item:nth-child(6) { grid-column: span 4; min-height: 260px; }

.nw-project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(31,60,74,0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.nw-project-item:hover .nw-project-overlay { opacity: 1; }

.nw-project-overlay span {
    color: var(--nw-white);
    font-weight: 500;
    font-size: 0.95rem;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.review-luxury-card,
.nw-testimonial-card {
    background: var(--nw-white);
    border-radius: var(--radius-card);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.review-luxury-card::before,
.nw-testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    line-height: 1;
    font-family: Georgia, serif;
    color: rgba(79, 111, 82, 0.08);
    pointer-events: none;
}

.review-luxury-card:hover,
.nw-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.nw-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--nw-wood);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--nw-green);
    font-size: 1rem;
}

.reviews-swiper .swiper-pagination-bullet-active { background: var(--nw-green); }

/* ==========================================================================
   Instagram Grid
   ========================================================================== */

.nw-instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
}

.nw-insta-item {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.nw-insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.nw-insta-item:hover img { transform: scale(1.08); }

.nw-insta-item::after {
    content: '\f16d';
    font-family: 'Font Awesome 6 Brands';
    position: absolute;
    inset: 0;
    background: rgba(31, 60, 74, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nw-white);
    font-size: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.nw-insta-item:hover::after { opacity: 1; }

/* ==========================================================================
   Newsletter
   ========================================================================== */

.nw-newsletter {
    background: var(--nw-white);
    border-radius: var(--radius-lg);
    padding: clamp(3rem, 6vw, 5rem);
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.nw-newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 520px;
    margin: 2rem auto 0;
}

.nw-newsletter-form input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-input);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--nw-bg);
}

.nw-newsletter-form input:focus {
    outline: none;
    border-color: var(--nw-green);
    box-shadow: 0 0 0 3px rgba(79, 111, 82, 0.12);
    background: var(--nw-white);
}

.nw-newsletter-form button {
    padding: 1rem 2rem;
    white-space: nowrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer,
.nw-footer {
    background-color: var(--nw-navy);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    padding-top: 4rem;
}

footer a,
.nw-footer a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover,
.nw-footer a:hover { color: var(--nw-gold); }

.nw-footer-logo img { height: 48px; margin-bottom: 1.25rem; }

.nw-footer-heading {
    color: var(--nw-white);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.04em;
}

.nw-footer-links li { margin-bottom: 0.65rem; }

.nw-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    text-decoration: none;
}

.nw-social-btn:hover {
    background: var(--nw-green);
    border-color: var(--nw-green);
    color: var(--nw-white);
}

.nw-footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 2.5rem 0 1.5rem;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-control,
.form-select {
    border-radius: var(--radius-input);
    border: 1px solid var(--border-color);
    padding: 0.85rem 1.15rem;
    font-size: 0.9rem;
    transition: var(--transition);
    background: var(--nw-white);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--nw-green);
    box-shadow: 0 0 0 3px rgba(79, 111, 82, 0.12);
}

.form-label {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--nw-dark);
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   WhatsApp Float
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: #25D366;
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 26px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #128C7E;
    color: #fff;
    transform: scale(1.08);
}

/* ==========================================================================
   Brand Showcase
   ========================================================================== */

.brand-showcase-slide {
    padding: 1.5rem;
    background: var(--nw-white);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.brand-showcase-slide:hover {
    border-color: var(--nw-green);
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Customer Account Panel (preserved)
   ========================================================================== */

.account-avatar-wrapper {
    background: linear-gradient(135deg, var(--nw-navy) 0%, var(--nw-green) 100%);
    padding: 24px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    position: relative;
    overflow: hidden;
}

.account-avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 3px solid rgba(255, 255, 255, 0.8);
    font-weight: 600;
    color: var(--nw-navy);
    font-size: 28px;
    transition: var(--transition);
}

.customer-sidebar { border: none !important; overflow: hidden; background: #ffffff; }

.customer-sidebar-menu .list-group-item {
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    margin-bottom: 4px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.customer-sidebar-menu .list-group-item:hover {
    background-color: var(--nw-wood);
    color: var(--nw-green);
    padding-left: 24px;
}

.customer-sidebar-menu .list-group-item.active {
    background: var(--nw-green) !important;
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.dash-welcome-card {
    background: linear-gradient(135deg, #ffffff 0%, #fcfdfd 100%);
    border-left: 4px solid var(--nw-green) !important;
}

.dash-stat-mini-card { border-radius: var(--radius-md); transition: var(--transition); }
.dash-stat-mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md) !important; }

/* ==========================================================================
   Utility & Legacy compat
   ========================================================================== */

.glass-panel {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.glass-navbar { /* legacy — overridden by .nw-header */ }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--nw-gold);
    transition: var(--transition);
    transform: translateX(-50%);
}

.transition { transition: var(--transition); }
.object-fit-cover { object-fit: cover; }

.badge-luxury {
    background-color: var(--nw-gold);
    color: #ffffff;
    padding: 6px 12px;
    font-weight: 500;
    border-radius: 50px;
}

/* Page transitions */
.page-enter { animation: nwFadeUp 0.6s ease forwards; }

@keyframes nwFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1199px) {
    .nw-nav-desktop { display: none !important; }
    .nw-mobile-toggle { display: flex; align-items: center; justify-content: center; }
    .nw-search-desktop { display: none !important; }
}

@media (min-width: 1200px) {
    .nw-mobile-menu { transform: translateX(100%) !important; pointer-events: none; }
    .nw-mobile-overlay { display: none !important; }
}

@media (max-width: 991px) {
    .nw-process {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .nw-process::before { display: none; }

    .nw-projects-grid { grid-template-columns: 1fr 1fr; }
    .nw-project-item:nth-child(n) {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: 200px !important;
    }
    .nw-project-item:nth-child(1) { grid-column: span 2 !important; min-height: 280px !important; }

    .nw-instagram-grid { grid-template-columns: repeat(3, 1fr); }

    /* Cart mobile table improvements */
    .cart-table-mobile th:nth-child(2),
    .cart-table-mobile td:nth-child(2) { display: none; } /* hide price col on small tablet */
}

@media (max-width: 767px) {
    :root { --header-height: 68px; }

    .nw-hero-actions { flex-direction: column; }
    .nw-hero-actions .btn { width: 100%; text-align: center; }

    .nw-newsletter-form { flex-direction: column; }

    .nw-process { grid-template-columns: 1fr; }

    .nw-instagram-grid { grid-template-columns: repeat(2, 1fr); }

    .nw-why-grid { grid-template-columns: 1fr 1fr; }

    .category-luxury-card { height: 200px; }

    .nw-product-img-wrap { height: 200px; }

    .nw-header-icons .btn-nw-cta { display: none; }

    /* Cart page mobile */
    .cart-product-name { font-size: 0.8rem; }
    .cart-product-img { width: 48px !important; height: 48px !important; }
    .input-group.input-group-sm { width: 90px !important; }

    /* Compare page mobile – stack as cards */
    .compare-table-wrap table,
    .compare-table-wrap thead,
    .compare-table-wrap tbody,
    .compare-table-wrap th,
    .compare-table-wrap td,
    .compare-table-wrap tr { display: block; width: 100%; }

    .compare-table-wrap tr { margin-bottom: 0.5rem; }
    .compare-table-wrap th {
        background: var(--nw-wood) !important;
        color: var(--nw-navy) !important;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    .compare-table-wrap td { padding: 0.75rem 1rem; text-align: left !important; }

    /* Mobile search in menu */
    .nw-mobile-menu .nw-search { flex: none; width: 100%; }

    /* Containers get more padding on mobile */
    .container { padding-left: 1rem; padding-right: 1rem; }
}

@media (max-width: 576px) {
    .nw-why-grid { grid-template-columns: 1fr; }

    /* Cart table – simplify columns */
    .table th:nth-child(2),
    .table td:nth-child(2) { display: none; } /* hide Price column, show via subtotal */

    /* Hero */
    .nw-hero h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); }

    /* Fix coupon form stacking */
    #coupon-form { flex-direction: column; }
    #coupon-form button { width: 100%; }

    /* WhatsApp float smaller on mobile */
    .whatsapp-float { width: 48px; height: 48px; font-size: 22px; bottom: 18px; right: 16px; }

    /* Footer columns stack properly */
    .nw-footer .col-md-6 { text-align: center !important; }

    /* Breadcrumb small */
    .breadcrumb { font-size: 0.78rem; }
}

@media (max-width: 400px) {
    :root { --header-height: 60px; }
    .nw-logo img { height: 36px; }
    .nw-icon-btn { width: 36px; height: 36px; font-size: 1rem; }
    .nw-badge { top: 2px; right: 2px; min-width: 15px; height: 15px; font-size: 0.58rem; }
}

/* Badge scale pop animation */
.cart-count-badge {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s ease !important;
}
.cart-count-badge.nw-badge--pop {
    transform: scale(1.4) !important;
}

/* Skeleton Loading Utilities */
.nw-skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: nw-skeleton-shine 1.6s infinite;
    border-radius: var(--radius-sm);
    display: block;
}
@keyframes nw-skeleton-shine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* RTL Global Support */
html[dir="rtl"] {
    text-align: right;
}
html[dir="rtl"] .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}
html[dir="rtl"] .me-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}
html[dir="rtl"] .me-1, html[dir="rtl"] .me-2, html[dir="rtl"] .me-3 {
    margin-left: 0.5rem !important;
    margin-right: 0 !important;
}
html[dir="rtl"] .text-start {
    text-align: right !important;
}
html[dir="rtl"] .text-end {
    text-align: left !important;
}
html[dir="rtl"] .nw-search-icon {
    left: auto;
    right: 0.9rem;
}
html[dir="rtl"] .nw-search-input {
    padding: 0.55rem 2.5rem 0.55rem 1rem;
}

/* WhatsApp Floating Button */
.nw-whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFFFFF !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.nw-whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.nw-whatsapp-float:active {
    transform: scale(1) translateY(0);
}

@media (max-width: 576px) {
    .nw-whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
    .nw-whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

/* Responsive Cart Product Image */
.cart-product-img {
    width: 100px !important;
    height: 100px !important;
    border-radius: 12px !important;
    object-fit: cover;
}

@media (max-width: 576px) {
    .cart-product-img {
        width: 80px !important;
        height: 80px !important;
    }
}

/* ==========================================================================
   Language Switcher & RTL Styling Refinements
   ========================================================================== */

/* Language Switcher — Segmented Pill Button (used in nav header, on dark bg) */
.btn-nw-lang-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    padding: 0.4rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
}
.btn-nw-lang-pill:hover {
    background: var(--nw-wood-hover);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-1px);
}
.btn-nw-lang-pill i {
    font-size: 0.85rem;
}

/* Segmented variant — two options (AR | EN) side by side, use if markup has two buttons/links */
.nw-lang-segmented {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    padding: 3px;
    gap: 2px;
}
.nw-lang-segmented a,
.nw-lang-segmented button {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.35rem 0.7rem;
    border-radius: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}
.nw-lang-segmented a.active,
.nw-lang-segmented button.active {
    background: var(--nw-wood-hover);
    color: #ffffff;
}
.nw-lang-segmented a:not(.active):hover,
.nw-lang-segmented button:not(.active):hover {
    color: #ffffff;
}

/* RTL Additions */
html[dir="rtl"] body {
    text-align: right;
}
html[dir="rtl"] .me-1 { margin-left: 0.25rem !important; margin-right: 0 !important; }
html[dir="rtl"] .me-2 { margin-left: 0.5rem !important; margin-right: 0 !important; }
html[dir="rtl"] .me-3 { margin-left: 1rem !important; margin-right: 0 !important; }
html[dir="rtl"] .me-4 { margin-left: 1.5rem !important; margin-right: 0 !important; }
html[dir="rtl"] .ms-1 { margin-right: 0.25rem !important; margin-left: 0 !important; }
html[dir="rtl"] .ms-2 { margin-right: 0.5rem !important; margin-left: 0 !important; }
html[dir="rtl"] .ms-3 { margin-right: 1rem !important; margin-left: 0 !important; }
html[dir="rtl"] .ms-4 { margin-right: 1.5rem !important; margin-left: 0 !important; }
html[dir="rtl"] .text-end {
    text-align: left !important;
}
html[dir="rtl"] .text-start {
    text-align: right !important;
}
html[dir="rtl"] .dropdown-menu-end {
    left: 0 !important;
    right: auto !important;
}
html[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before {
    float: right;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
html[dir="rtl"] .vr {
    border-left: none;
    border-right: 1px solid var(--border-color);
}
html[dir="rtl"] .nw-order-list-card .card-header .d-flex {
    flex-direction: row-reverse;
}

/* Premium Card and Badge Refinement */
.nw-order-list-card {
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02) !important;
}
.nw-order-list-card:hover {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
    transform: translateY(-2px);
    border-color: rgba(146, 64, 14, 0.15) !important;
}
.bg-gold-light {
    background-color: rgba(146, 64, 14, 0.06) !important;
}

/* ==========================================================================
   Nova Wood — RTL Arabic Overrides
   ========================================================================== */
html[dir="rtl"] *,
html[dir="rtl"] body,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea,
html[dir="rtl"] button,
html[dir="rtl"] .section-title,
html[dir="rtl"] .section-label,
html[dir="rtl"] .nw-logo-text {
    font-family: 'Cairo', 'Tajawal', 'IBM Plex Sans Arabic', sans-serif !important;
    letter-spacing: 0 !important;
}

/* Swiper navigation flip in RTL */
html[dir="rtl"] .swiper-button-next {
    left: 20px !important;
    right: auto !important;
    transform: scaleX(-1);
}
html[dir="rtl"] .swiper-button-prev {
    right: 20px !important;
    left: auto !important;
    transform: scaleX(-1);
}

/* logical margin/padding helper fallbacks */
html[dir="rtl"] .me-1 { margin-left: 0.25rem !important; margin-right: 0 !important; }
html[dir="rtl"] .me-2 { margin-left: 0.5rem !important; margin-right: 0 !important; }
html[dir="rtl"] .me-3 { margin-left: 1rem !important; margin-right: 0 !important; }
html[dir="rtl"] .me-4 { margin-left: 1.5rem !important; margin-right: 0 !important; }
html[dir="rtl"] .ms-1 { margin-right: 0.25rem !important; margin-left: 0 !important; }
html[dir="rtl"] .ms-2 { margin-right: 0.5rem !important; margin-left: 0 !important; }
html[dir="rtl"] .ms-3 { margin-right: 1rem !important; margin-left: 0 !important; }
html[dir="rtl"] .ms-4 { margin-right: 1.5rem !important; margin-left: 0 !important; }
html[dir="rtl"] .pe-1 { padding-left: 0.25rem !important; padding-right: 0 !important; }
html[dir="rtl"] .pe-2 { padding-left: 0.5rem !important; padding-right: 0 !important; }
html[dir="rtl"] .pe-3 { padding-left: 1rem !important; padding-right: 0 !important; }
html[dir="rtl"] .pe-4 { padding-left: 1.5rem !important; padding-right: 0 !important; }
html[dir="rtl"] .ps-1 { padding-right: 0.25rem !important; padding-left: 0 !important; }
html[dir="rtl"] .ps-2 { padding-right: 0.5rem !important; padding-left: 0 !important; }
html[dir="rtl"] .ps-3 { padding-right: 1rem !important; padding-left: 0 !important; }
html[dir="rtl"] .ps-4 { padding-right: 1.5rem !important; padding-left: 0 !important; }

/* Flip gradient overlay to start dark on the right in RTL to match right-aligned Arabic text and ensure text contrast readability */
html[dir="rtl"] .hero-slide::before {
    background: linear-gradient(-105deg, rgba(31, 60, 74, 0.85) 0%, rgba(31, 60, 74, 0.45) 55%, transparent 100%) !important;
}

/* Fix office showcase header alignment in RTL and prevent text cut-off */
html[dir="rtl"] .nw-office-header {
    text-align: right !important;
}

html[dir="rtl"] .nw-office-header > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important; /* aligns to right edge in RTL */
}

html[dir="rtl"] .nw-office-header .section-subtitle {
    margin-right: 0 !important;
    margin-left: auto !important;
    text-align: right !important;
}

/* Flip badge position on the main hero office card in RTL */
html[dir="rtl"] .nw-office-hero-badge {
    left: auto !important;
    right: 20px !important;
}

/* Mobile viewport layout optimizations and overflow prevention */
@media (max-width: 767px) {
    html, body {
        overflow-x: hidden !important;
        width: 100%;
    }
    
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
    }
    
    .nw-mobile-menu .nw-search {
        padding: 0 4px;
    }
    
    .nw-hero-content h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
    
    .nw-hero-subtitle {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .nw-section {
        padding: 40px 0 !important;
    }
    
    .nw-office-showcase {
        padding: 40px 0 !important;
    }
}

/* Force FontAwesome font-family globally to prevent RTL overrides */
.fa, .fas, .far, .fab, .fa-solid, .fa-regular, .fa-brands {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", sans-serif !important;
}/* ==========================================================================
   Nova Wood — Premium Design System
   70% Minimal · 30% Premium
   ========================================================================== */

:root {
    /* Brand Colors */
    --nw-green:        #16a34a; /* CTA Green (Add to Cart ONLY) */
    --nw-green-dark:   #15803d;
    --nw-green-light:  #4ade80;
    --nw-navy:         #0f172a; /* Primary Dark */
    --nw-navy-dark:    #020617; /* Text Dark */
    --nw-bg:           #f8fafc; /* Background */
    --nw-wood:         #92400e; /* Wood Brown */
    --nw-wood-hover:   #d97706; /* Wood Light (Hover) */
    --nw-dark:         #020617; /* Text Dark */
    --nw-gray:         #64748b; /* Muted Text */
    --nw-gray-light:   #cbd5e1;
    --nw-white:        #ffffff; /* Card */
    --nw-gold:         #92400e; /* Wood Brown as gold/accent */
    --nw-gold-light:   rgba(146, 64, 14, 0.08);

    /* Semantic */
    --primary-color:   var(--nw-wood);
    --primary-hover:   var(--nw-wood-hover);
    --secondary-color: var(--nw-navy);
    --accent-color:    var(--nw-wood);
    --background-color: var(--nw-bg);
    --card-background: var(--nw-white);
    --text-color:      var(--nw-dark);
    --text-muted:      var(--nw-gray);
    --border-color:    rgba(15, 23, 42, 0.08);

    /* Radius */
    --radius-btn:   12px;
    --radius-card:  18px; /* Rounded corners (16-20px) */
    --radius-input: 12px;
    --radius-img:   18px;
    --radius-sm:    8px;
    --radius-md:    18px;
    --radius-lg:    24px;

    /* Shadows */
    --shadow-xs:  0 1px 3px rgba(15, 23, 42, 0.04);
    --shadow-sm:  0 4px 16px rgba(15, 23, 42, 0.06);
    --shadow-md:  0 8px 32px rgba(15, 23, 42, 0.08);
    --shadow-lg:  0 16px 48px rgba(15, 23, 42, 0.10);
    --shadow-xl:  0 24px 64px rgba(15, 23, 42, 0.12);

    /* Motion */
    --transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Layout */
    --header-height: 80px;
    --section-py:    clamp(4rem, 8vw, 7rem);
    --container-max: 1320px;
}

/* ==========================================================================
   Base & Typography
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Cairo', 'IBM Plex Sans Arabic', 'Poppins', sans-serif;
    background-color: var(--nw-bg);
    color: var(--nw-dark);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 15px;
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Poppins', 'Cairo', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--nw-dark);
    line-height: 1.15;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--nw-green);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--nw-gray);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.text-primary { color: var(--nw-green) !important; }
.text-navy    { color: var(--nw-navy) !important; }
.text-gold    { color: var(--nw-gold) !important; }
.bg-wood      { background-color: var(--nw-wood) !important; }
.bg-surface   { background-color: var(--nw-bg) !important; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.02em;
    border-radius: var(--radius-btn);
    padding: 0.75rem 1.75rem;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary,
.btn-nw-primary {
    background-color: var(--nw-green);
    border-color: var(--nw-green);
    color: var(--nw-white);
}

.btn-primary:hover,
.btn-nw-primary:hover,
.btn-primary:focus {
    background-color: var(--nw-navy);
    border-color: var(--nw-navy);
    color: var(--nw-white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-primary,
.btn-nw-outline {
    background: transparent;
    border: 1.5px solid var(--nw-green);
    color: var(--nw-green);
}

.btn-outline-primary:hover,
.btn-nw-outline:hover {
    background: var(--nw-green);
    color: var(--nw-white);
}

.btn-nw-secondary {
    background: var(--nw-white);
    color: var(--nw-dark);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-xs);
}

.btn-nw-secondary:hover {
    background: var(--nw-wood);
    border-color: transparent;
    color: var(--nw-dark);
}

.btn-lg {
    padding: 1rem 2.25rem;
    font-size: 0.95rem;
    border-radius: var(--radius-btn);
}

.btn-nw-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--nw-green);
    color: var(--nw-white);
    height: 48px;
    padding: 0 1.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 24px;
    box-shadow: 0 4px 14px rgba(22, 163, 74, 0.28);
    transition: var(--transition);
}

.btn-nw-cta:hover {
    background: var(--nw-green-dark);
    color: var(--nw-white);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(22, 163, 74, 0.35);
}

/* Ripple effect */
.btn-ripple::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
}

.btn-ripple:active::after {
    transform: scale(2.5);
    opacity: 1;
    transition: 0s;
}

/* ==========================================================================
   Header
   ========================================================================== */

.nw-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    height: var(--header-height);
    transition: var(--transition);
    background: rgba(15, 23, 42, 0.92) !important; /* var(--nw-navy) with slight transparency for blur */
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nw-header.scrolled,
.nw-header--solid {
    background: rgba(2, 6, 23, 0.94) !important; /* var(--nw-navy-dark), darker for premium feel */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-md);
}

.nw-header--solid .nw-logo-text,
.nw-header.scrolled .nw-logo-text { color: var(--nw-white) !important; }

.nw-header--solid .nw-nav-link,
.nw-header--solid .nw-icon-btn,
.nw-header--solid .nw-mobile-toggle {
    color: rgba(255, 255, 255, 0.85) !important;
}

.nw-header--solid .nw-search-input {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: var(--nw-white) !important;
}

.nw-header--solid .nw-search-input::placeholder { color: rgba(255, 255, 255, 0.45) !important; }
.nw-header--solid .nw-search-icon { color: rgba(255, 255, 255, 0.5) !important; }
.nw-header--solid .nw-icon-btn:hover { background: rgba(255, 255, 255, 0.08) !important; color: var(--nw-wood-hover) !important; }

.nw-header .nw-header-inner {
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Logo */
.nw-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
    padding-inline-end: 12px;
    margin-inline-end: 8px;
}

.nw-logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.nw-logo-text {
    font-family: 'Cairo', 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.4rem; /* was 1.15rem */
    letter-spacing: 0.05em;
    color: var(--nw-white);
    transition: var(--transition);
}

.nw-header.scrolled .nw-logo-text { color: var(--nw-white) !important; }

/* Navigation */
.nw-nav {
    display: flex;
    align-items: center;
    gap: 36px; /* was 0.25rem — balanced spacing between nav items */
    list-style: none;
    margin: 0;
    padding: 0;
}

.nw-nav-link {
    position: relative;
    display: block;
    padding: 0.6rem 0.1rem; /* horizontal padding trimmed since gap now handles spacing */
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: color 0.3s ease;
    white-space: nowrap;
}

.nw-header.scrolled .nw-nav-link { color: rgba(255, 255, 255, 0.85) !important; }
.nw-nav-link:hover { color: var(--nw-wood-hover) !important; }
.nw-header.scrolled .nw-nav-link:hover { color: var(--nw-wood-hover) !important; }

/* Active menu underline */
.nw-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    border-radius: 4px;
    background: var(--nw-wood-hover);
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nw-nav-link:hover::after {
    width: 60%;
}

.nw-nav-link.active {
    font-weight: 600;
    color: var(--nw-wood-hover) !important;
}

.nw-header.scrolled .nw-nav-link.active { color: var(--nw-wood-hover) !important; }

.nw-nav-link.active::after {
    width: 70%;
}

/* Search */
.nw-search {
    position: relative;
    flex: 0 1 260px; /* was 220px */
}

.nw-search-input {
    width: 100%;
    padding: 0.65rem 1.1rem 0.65rem 2.6rem;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    background: rgba(255,255,255,0.08);
    color: var(--nw-white);
    font-size: 0.85rem;
    transition: var(--transition);
}

.nw-header.scrolled .nw-search-input {
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(255,255,255,0.12) !important;
    color: var(--nw-white) !important;
}

.nw-search-input::placeholder { color: rgba(255,255,255,0.45); }
.nw-header.scrolled .nw-search-input::placeholder { color: rgba(255,255,255,0.45) !important; }

.nw-search-input:focus {
    outline: none;
    border-color: var(--nw-wood-hover);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.15);
}

.nw-search-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    pointer-events: none;
}

.nw-header.scrolled .nw-search-icon { color: rgba(255,255,255,0.5) !important; }

#search-results-dropdown {
    border-radius: var(--radius-card);
    overflow: hidden;
    border: 1px solid var(--border-color) !important;
}

#search-results-dropdown .list-group-item {
    padding: 0.75rem 1rem;
    border: none;
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

#search-results-dropdown .list-group-item:hover {
    background: var(--nw-wood);
}

/* Header icons */
.nw-header-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nw-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    border: none;
    background: transparent;
    font-size: 1.35rem; /* was 1.1rem — icons now ~22-24px */
}

.nw-header.scrolled .nw-icon-btn { color: rgba(255, 255, 255, 0.85) !important; }
.nw-icon-btn:hover {
    background: rgba(255,255,255,0.12);
    color: var(--nw-wood-hover) !important;
    transform: scale(1.08);
}
.nw-header.scrolled .nw-icon-btn:hover {
    background: rgba(255,255,255,0.12) !important;
}

.nw-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 0.65rem;
    font-weight: 600;
    background: var(--nw-green); /* CTA Green Badge */
    color: var(--nw-white);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile toggle */
.nw-mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: none;
    background: transparent;
    color: var(--nw-white);
    font-size: 1.25rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
}

.nw-header.scrolled .nw-mobile-toggle { color: var(--nw-navy); }

/* Mobile menu overlay */
.nw-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 1039;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.nw-mobile-overlay.open {
    display: block;
    opacity: 1;
}

/* Mobile menu */
.nw-mobile-menu {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    width: min(320px, 88vw);
    background: var(--nw-white);
    z-index: 1040;
    padding: 1.5rem;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -8px 0 32px rgba(0,0,0,0.12);
}

.nw-mobile-menu.open {
    transform: translateX(0);
}

.nw-mobile-menu .nw-nav-link {
    color: var(--nw-dark);
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.25s ease, padding-inline-start 0.25s ease;
}

.nw-mobile-menu .nw-nav-link::after { display: none; } /* uses border-bottom instead of underline in drawer */

.nw-mobile-menu .nw-nav-link:hover,
.nw-mobile-menu .nw-nav-link.active {
    color: var(--nw-wood-hover);
    padding-inline-start: 6px;
}

/* Dropdown */
.nw-dropdown-menu {
    border: none;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    margin-top: 0.5rem !important;
}

.nw-dropdown-menu .dropdown-item {
    border-radius: var(--radius-sm);
    padding: 0.6rem 1rem;
    font-size: 0.875rem;
    transition: var(--transition);
}

.nw-dropdown-menu .dropdown-item:hover {
    background: var(--nw-wood);
    color: var(--nw-green);
}

/* Page offset for fixed header */
body.has-fixed-header { padding-top: 0; }
main { min-height: 50vh; }

/* Flash alerts */
.nw-flash-container {
    position: fixed;
    top: calc(var(--header-height) + 1rem);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1060;
    width: min(600px, 92vw);
}

.nw-flash-container .alert {
    border-radius: var(--radius-card);
    border: none;
    box-shadow: var(--shadow-md);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.nw-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.nw-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
    transition: transform 8s ease-out;
}

.nw-hero:hover .nw-hero-bg { transform: scale(1.06); }

.nw-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        rgba(31, 60, 74, 0.72) 0%,
        rgba(31, 60, 74, 0.35) 45%,
        rgba(31, 60, 74, 0.15) 100%
    );
}

.nw-hero-content {
    position: relative;
    z-index: 2;
    padding: calc(var(--header-height) + 3rem) 0 4rem;
    max-width: 680px;
}

.nw-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    color: var(--nw-white);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.nw-hero-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--nw-gold);
    border-radius: 50%;
}

.nw-hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    font-weight: 600;
    color: var(--nw-white);
    line-height: 1.08;
    margin-bottom: 1.25rem;
}

.nw-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.88);
    line-height: 1.75;
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.nw-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.nw-hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: nwBounce 2s infinite;
}

@keyframes nwBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(6px); }
}

/* Swiper hero overrides */
.hero-swiper { min-height: 100vh; }
.hero-swiper .swiper-pagination-bullet {
    background: rgba(255,255,255,0.5);
    opacity: 1;
    width: 8px;
    height: 8px;
    transition: var(--transition);
}
.hero-swiper .swiper-pagination-bullet-active {
    background: var(--nw-gold);
    width: 24px;
    border-radius: 4px;
}
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: var(--nw-white);
    opacity: 0.7;
    transition: var(--transition);
}
.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover { opacity: 1; }

.hero-slide {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(31,60,74,0.75) 0%, rgba(31,60,74,0.3) 60%, transparent 100%);
}

/* ==========================================================================
   Sections
   ========================================================================== */

.nw-section {
    padding: var(--section-py) 0;
}

.nw-section-header {
    text-align: center;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* ==========================================================================
   Category Cards
   ========================================================================== */

.category-luxury-card {
    height: 280px;
    border-radius: var(--radius-card);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.category-luxury-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.category-luxury-card:hover img { transform: scale(1.06); }

.category-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(31,60,74,0.85) 0%, rgba(31,60,74,0.2) 55%, transparent 100%);
    z-index: 1;
}

.category-luxury-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.category-content-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.75rem;
    z-index: 2;
}

.category-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nw-white);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    transition: var(--transition);
}

.category-luxury-card:hover .category-icon {
    background: var(--nw-green);
}

.category-accent-line {
    width: 32px;
    height: 2px;
    background: var(--nw-gold);
    margin-bottom: 0.75rem;
    border-radius: 2px;
    transition: var(--transition);
}

.category-luxury-card:hover .category-accent-line { width: 56px; }

/* Static category grid (smaller) */
.nw-cat-grid .category-luxury-card { height: 220px; }

/* Secondary (smaller) category cards */
.nw-cat-secondary { height: 200px !important; }
.nw-cat-secondary .nw-cat-card-title { font-size: 1rem !important; }
.nw-cat-secondary .nw-cat-card-desc  { display: none; }
@media (max-width: 576px) { .nw-cat-secondary { height: 170px !important; } }

/* ==========================================================================
   Office Furniture NAV Highlight
   ========================================================================== */
.nw-nav-office-link {
    font-weight: 700 !important;
    color: var(--nw-wood) !important;
    position: relative;
}
.nw-nav-office-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0; right: 0;
    height: 2px;
    background: var(--nw-wood);
    border-radius: 2px;
    opacity: 0.6;
}
.nw-mobile-office-link {
    color: var(--nw-wood) !important;
    font-weight: 700 !important;
}

/* ==========================================================================
   Office Furniture Showcase Section
   ========================================================================== */

.nw-office-showcase {
    padding: 100px 0;
    background: #f8f6f2;
    position: relative;
}

/* Section header (title left + CTA right) */
.nw-office-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
}
@media (max-width: 768px) {
    .nw-office-header { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
    .nw-office-showcase { padding: 60px 0; }
}

/* Main grid: large hero on left, 3x2 sub-grid on right */
.nw-office-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
}
@media (max-width: 991px) { .nw-office-grid { grid-template-columns: 1fr; } }

/* -----------------------------------------------
   Hero Card (big left card)
----------------------------------------------- */
.nw-office-hero-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    min-height: 560px;
    box-shadow: 0 8px 32px rgba(15,23,42,0.14);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nw-office-hero-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(15,23,42,0.22);
}
.nw-office-hero-card img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.nw-office-hero-card:hover img { transform: scale(1.04); }

.nw-office-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.45) 50%, rgba(15,23,42,0.08) 100%);
    transition: background 0.3s ease;
    z-index: 1;
}
.nw-office-hero-card:hover .nw-office-hero-overlay {
    background: linear-gradient(to top, rgba(15,23,42,0.95) 0%, rgba(15,23,42,0.55) 55%, rgba(15,23,42,0.12) 100%);
}

/* Badge */
.nw-office-hero-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #92400e, #d97706);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    letter-spacing: 0.04em;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(146,64,14,0.35);
}

/* Content at bottom */
.nw-office-hero-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 2.2rem 2rem;
    z-index: 2;
}
.nw-office-hero-content h2 {
    color: #fff;
    font-family: 'Outfit', 'Cairo', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}
.nw-office-hero-content p {
    color: rgba(255,255,255,0.72);
    font-size: 0.92rem;
    margin: 0 0 16px;
}
.nw-office-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #d97706;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.nw-office-hero-card:hover .nw-office-hero-cta {
    opacity: 1;
    transform: translateY(0);
}
@media (max-width: 576px) { .nw-office-hero-cta { opacity: 1; transform: none; } }

@media (max-width: 991px) {
    .nw-office-hero-card { min-height: 360px; }
    .nw-office-hero-content h2 { font-size: 1.8rem; }
}

/* -----------------------------------------------
   Sub-Category Grid (3x2 on right)
----------------------------------------------- */
.nw-office-sub-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 12px;
    min-height: 560px;
}
@media (max-width: 991px) { .nw-office-sub-grid { min-height: auto; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr; } }
@media (max-width: 576px)  { .nw-office-sub-grid { grid-template-columns: 1fr; gap: 8px; } }


.nw-office-sub-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    box-shadow: 0 3px 14px rgba(15,23,42,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.nw-office-sub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(15,23,42,0.18);
}
.nw-office-sub-card img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.nw-office-sub-card:hover img { transform: scale(1.06); }

.nw-office-sub-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.3) 60%, transparent 100%);
    z-index: 1;
}

.nw-office-sub-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1rem 1rem 0.9rem;
    z-index: 2;
}
.nw-office-sub-content h5 {
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    margin: 0 0 3px;
    font-family: 'Outfit', 'Cairo', sans-serif;
    line-height: 1.25;
}
.nw-office-sub-content p {
    color: rgba(255,255,255,0.65);
    font-size: 0.7rem;
    margin: 0;
    line-height: 1.4;
    display: none;
}
.nw-office-sub-card:hover .nw-office-sub-content p { display: block; }

/* -----------------------------------------------
   Office CTA Banner
----------------------------------------------- */
.nw-office-cta-banner {
    margin-top: 56px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    padding: 48px 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    box-shadow: 0 8px 32px rgba(15,23,42,0.18);
}
.nw-office-cta-text h3 {
    color: #fff;
    font-family: 'Outfit', 'Cairo', sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    margin: 0 0 8px;
    letter-spacing: -0.015em;
}
.nw-office-cta-text p {
    color: rgba(255,255,255,0.6);
    font-size: 0.92rem;
    margin: 0;
}
.nw-office-cta-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
@media (max-width: 768px) {
    .nw-office-cta-banner {
        flex-direction: column;
        padding: 36px 28px;
        text-align: center;
    }
    .nw-office-cta-actions { flex-direction: column; width: 100%; }
    .nw-office-cta-actions .btn { width: 100%; }
    .nw-office-cta-text h3 { font-size: 1.4rem; }
}



/* ==========================================================================
   Premium Category Section — Nova Wood
   ========================================================================== */

.nw-category-section {
    padding: 100px 0;
    background-color: #f8f6f2;
    position: relative;
    overflow: hidden;
}

/* Subtle wooden texture overlay on section */
.nw-category-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.nw-category-section .container { position: relative; z-index: 1; }

/* Card wrapper — the <a> tag */
.nw-cat-card-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    border-radius: 20px;
    outline: none;
}

.nw-cat-card-wrapper:focus-visible .nw-cat-premium-card {
    box-shadow: 0 0 0 3px #92400e, 0 20px 60px rgba(15,23,42,0.25);
}

/* The card itself */
.nw-cat-premium-card {
    position: relative;
    height: 320px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nw-cat-premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.22);
}

/* Full-bleed background image */
.nw-cat-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.nw-cat-premium-card:hover .nw-cat-card-img {
    transform: scale(1.05);
}

/* Dark gradient overlay — stronger on hover */
.nw-cat-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.88) 0%,
        rgba(15, 23, 42, 0.45) 50%,
        rgba(15, 23, 42, 0.12) 100%
    );
    transition: background 0.3s ease;
    z-index: 1;
}

.nw-cat-premium-card:hover .nw-cat-card-overlay {
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.93) 0%,
        rgba(15, 23, 42, 0.55) 55%,
        rgba(15, 23, 42, 0.18) 100%
    );
}

/* Product count badge — top right */
.nw-cat-count-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.95);
    color: #0f172a;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(15,23,42,0.12);
    letter-spacing: 0.03em;
    z-index: 2;
    white-space: nowrap;
}

/* Card body — content at bottom */
.nw-cat-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.8rem 1.6rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* SVG icon */
.nw-cat-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    color: #ffffff;
    margin-bottom: 4px;
    transition: transform 0.3s ease, background 0.3s ease;
    flex-shrink: 0;
}

.nw-cat-premium-card:hover .nw-cat-card-icon {
    transform: translateY(-4px);
    background: rgba(146, 64, 14, 0.75);
}

/* Category name */
.nw-cat-card-title {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.25;
    font-family: 'Outfit', 'Cairo', sans-serif;
    letter-spacing: -0.01em;
}

/* Short description */
.nw-cat-card-desc {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

/* Explore Collection label */
.nw-cat-explore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #d97706;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-top: 4px;
}

.nw-cat-premium-card:hover .nw-cat-explore {
    opacity: 1;
    transform: translateY(0);
}

.nw-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.nw-cat-premium-card:hover .nw-arrow {
    transform: translateX(4px);
}

/* Responsive sizes */
@media (max-width: 991px) {
    .nw-cat-premium-card { height: 260px; }
    .nw-cat-card-title { font-size: 1.1rem; }
    .nw-category-section { padding: 70px 0; }
}

@media (max-width: 576px) {
    .nw-cat-premium-card { height: 220px; }
    .nw-cat-card-title { font-size: 1rem; }
    .nw-cat-card-body { padding: 1.2rem 1.2rem; }
    .nw-category-section { padding: 50px 0; }
    .nw-cat-explore { opacity: 1; transform: none; }
}

/* ==========================================================================
   Product Cards
   ========================================================================== */

.luxury-card,
.nw-product-card {
    background: var(--nw-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-card); /* Rounded corners (16-20px) */
    overflow: hidden;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-xs);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.luxury-card:hover,
.nw-product-card:hover {
    transform: translateY(-6px); /* lift up */
    box-shadow: var(--shadow-lg); /* soft shadow */
    border-color: transparent;
}

.nw-product-img-wrap {
    position: relative;
    height: 280px;
    background: var(--nw-bg); /* light background */
    overflow: hidden;
}

.nw-product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.luxury-card:hover .nw-product-img-wrap img,
.nw-product-card:hover .nw-product-img-wrap img {
    transform: scale(1.04);
}

.nw-product-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    z-index: 2;
}

.nw-badge-sale {
    background: var(--nw-wood);
    color: var(--nw-white);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
    letter-spacing: 0.04em;
}

.nw-badge-new {
    background: var(--nw-navy);
    color: var(--nw-white);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.35rem 0.7rem;
    border-radius: 6px;
}

/* Wishlist overlay button style */
.nw-wishlist-overlay-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 5;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nw-navy);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    cursor: pointer;
}

.nw-wishlist-overlay-btn:hover {
    background: var(--nw-white);
    color: #e11d48;
    transform: scale(1.08);
}

.nw-wishlist-overlay-btn.active {
    color: #e11d48;
}

.nw-product-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nw-product-wood-type {
    font-size: 0.8rem;
    color: var(--nw-gray);
    margin: 0;
}

.nw-product-wood-type i {
    color: var(--nw-wood);
}

.nw-product-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--nw-dark);
    margin-bottom: 0.35rem;
    text-decoration: none;
    transition: var(--transition);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.nw-product-name:hover { color: var(--nw-green); }

.nw-product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
}

.nw-price-current {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--nw-dark);
}

.nw-price-old {
    font-size: 0.8rem;
    color: var(--nw-gray-light);
    text-decoration: line-through;
    margin-left: 0.35rem;
}

.nw-price-sale { color: var(--nw-green); }

/* Clickable Card Styling */
.nw-clickable-card-wrapper {
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    display: block;
    outline: none;
}
.nw-clickable-card-wrapper:focus-visible {
    outline: 2px solid var(--nw-wood);
    outline-offset: 4px;
}

/* Premium Gradient Add to Cart Button (Card version) */
.btn-add-to-cart,
.nw-premium-atc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
    color: var(--nw-white) !important;
    border: none !important;
    border-radius: 30px !important; /* Modern pill shape */
    padding: 10px 22px !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 12px rgba(22, 163, 74, 0.2);
}

.btn-add-to-cart:hover,
.nw-premium-atc-btn:hover {
    background: linear-gradient(135deg, #15803d 0%, #166534 100%) !important;
    color: var(--nw-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.3);
}

.btn-add-to-cart:active,
.nw-premium-atc-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(22, 163, 74, 0.15);
}

/* Premium Large Add to Cart Button (Product detail page version) */
.nw-premium-atc-btn-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%) !important;
    color: var(--nw-white) !important;
    border: none !important;
    border-radius: 30px !important; /* Modern pill shape */
    padding: 14px 38px !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 6px 20px rgba(22, 163, 74, 0.25);
}

.nw-premium-atc-btn-large:hover {
    background: linear-gradient(135deg, #15803d 0%, #166534 100%) !important;
    color: var(--nw-white) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(22, 163, 74, 0.35);
}

.nw-premium-atc-btn-large:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(22, 163, 74, 0.15);
}

/* Add to Cart Status States */
.nw-atc--loading {
    background: var(--nw-navy) !important;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none !important;
}
.nw-atc--loading i {
    animation: nw-atc-spin 1s linear infinite;
}
.nw-atc--loading .nw-atc-text,
.nw-atc--loading .nw-atc-label {
    opacity: 0.8;
}

.nw-atc--success {
    background: #27ae60 !important;
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.3) !important;
}

@keyframes nw-atc-spin {
    to { transform: rotate(360deg); }
}

/* Cart badge transition adjustments */
.cart-count-badge {
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cart-count-badge.nw-badge--visible {
    opacity: 1;
    transform: scale(1);
}

.hover-overlay { transition: opacity 0.35s ease; }
.luxury-card:hover .hover-overlay { opacity: 1 !important; }

/* ==========================================================================
   Product Tabs
   ========================================================================== */

.premium-nav-tabs { gap: 0.75rem; }

.premium-nav-tabs .nav-link {
    border-radius: 50px !important;
    padding: 0.65rem 1.75rem !important;
    background: var(--nw-white) !important;
    border: 1px solid var(--border-color) !important;
    color: var(--nw-gray) !important;
    font-weight: 500 !important;
    font-size: 0.875rem;
    transition: var(--transition) !important;
}

.premium-nav-tabs .nav-link::after { display: none; }

.premium-nav-tabs .nav-link:hover {
    border-color: var(--nw-green) !important;
    color: var(--nw-green) !important;
}

.premium-nav-tabs .nav-link.active {
    background: var(--nw-green) !important;
    color: var(--nw-white) !important;
    border-color: var(--nw-green) !important;
    box-shadow: var(--shadow-sm) !important;
}

/* ==========================================================================
   Why Nova Wood
   ========================================================================== */

.nw-why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

.nw-why-card {
    background: var(--nw-white);
    border-radius: var(--radius-card);
    padding: 2rem 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.nw-why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.nw-why-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    border-radius: 14px;
    background: var(--nw-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nw-green);
    font-size: 1.35rem;
    transition: var(--transition);
}

.nw-why-card:hover .nw-why-icon {
    background: var(--nw-green);
    color: var(--nw-white);
}

.nw-why-card h5 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.nw-why-card p {
    font-size: 0.85rem;
    color: var(--nw-gray);
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   Process Timeline
   ========================================================================== */

.nw-process {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
}

.nw-process::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--nw-green), var(--nw-gold), var(--nw-green));
    opacity: 0.3;
}

.nw-process-step {
    text-align: center;
    padding: 0 1rem;
    position: relative;
}

.nw-process-num {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: var(--nw-white);
    border: 2px solid var(--nw-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--nw-green);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.nw-process-step:hover .nw-process-num {
    background: var(--nw-green);
    color: var(--nw-white);
    box-shadow: var(--shadow-md);
}

.nw-process-step h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.nw-process-step p {
    font-size: 0.85rem;
    color: var(--nw-gray);
    margin: 0;
}

/* ==========================================================================
   Custom Furniture CTA
   ========================================================================== */

.nw-custom-cta {
    background: var(--nw-navy);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.nw-custom-cta-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
}

.nw-custom-cta-content {
    position: relative;
    z-index: 1;
    padding: clamp(3rem, 6vw, 5rem);
    color: var(--nw-white);
}

.nw-custom-cta h2 {
    color: var(--nw-white);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 1rem;
}

.nw-custom-cta p {
    color: rgba(255,255,255,0.8);
    max-width: 480px;
    margin-bottom: 2rem;
}

/* ==========================================================================
   Projects Gallery
   ========================================================================== */

.nw-projects-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1rem;
}

.nw-project-item {
    border-radius: var(--radius-img);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.nw-project-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.nw-project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.nw-project-item:hover img { transform: scale(1.05); }

.nw-project-item:nth-child(1) { grid-column: span 7; grid-row: span 2; min-height: 420px; }
.nw-project-item:nth-child(2) { grid-column: span 5; min-height: 200px; }
.nw-project-item:nth-child(3) { grid-column: span 5; min-height: 200px; }
.nw-project-item:nth-child(4) { grid-column: span 4; min-height: 260px; }
.nw-project-item:nth-child(5) { grid-column: span 4; min-height: 260px; }
.nw-project-item:nth-child(6) { grid-column: span 4; min-height: 260px; }

.nw-project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(31,60,74,0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.nw-project-item:hover .nw-project-overlay { opacity: 1; }

.nw-project-overlay span {
    color: var(--nw-white);
    font-weight: 500;
    font-size: 0.95rem;
}

/* ==========================================================================
   Testimonials
   ========================================================================== */

.review-luxury-card,
.nw-testimonial-card {
    background: var(--nw-white);
    border-radius: var(--radius-card);
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.review-luxury-card::before,
.nw-testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 4rem;
    line-height: 1;
    font-family: Georgia, serif;
    color: rgba(79, 111, 82, 0.08);
    pointer-events: none;
}

.review-luxury-card:hover,
.nw-testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.nw-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--nw-wood);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--nw-green);
    font-size: 1rem;
}

.reviews-swiper .swiper-pagination-bullet-active { background: var(--nw-green); }

/* ==========================================================================
   Instagram Grid
   ========================================================================== */

.nw-instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.5rem;
}

.nw-insta-item {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.nw-insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.nw-insta-item:hover img { transform: scale(1.08); }

.nw-insta-item::after {
    content: '\f16d';
    font-family: 'Font Awesome 6 Brands';
    position: absolute;
    inset: 0;
    background: rgba(31, 60, 74, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nw-white);
    font-size: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

.nw-insta-item:hover::after { opacity: 1; }

/* ==========================================================================
   Newsletter
   ========================================================================== */

.nw-newsletter {
    background: var(--nw-white);
    border-radius: var(--radius-lg);
    padding: clamp(3rem, 6vw, 5rem);
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.nw-newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 520px;
    margin: 2rem auto 0;
}

.nw-newsletter-form input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-input);
    font-size: 0.95rem;
    transition: var(--transition);
    background: var(--nw-bg);
}

.nw-newsletter-form input:focus {
    outline: none;
    border-color: var(--nw-green);
    box-shadow: 0 0 0 3px rgba(79, 111, 82, 0.12);
    background: var(--nw-white);
}

.nw-newsletter-form button {
    padding: 1rem 2rem;
    white-space: nowrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer,
.nw-footer {
    background-color: var(--nw-navy);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    padding-top: 4rem;
}

footer a,
.nw-footer a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover,
.nw-footer a:hover { color: var(--nw-gold); }

.nw-footer-logo img { height: 48px; margin-bottom: 1.25rem; }

.nw-footer-heading {
    color: var(--nw-white);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    letter-spacing: 0.04em;
}

.nw-footer-links li { margin-bottom: 0.65rem; }

.nw-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    text-decoration: none;
}

.nw-social-btn:hover {
    background: var(--nw-green);
    border-color: var(--nw-green);
    color: var(--nw-white);
}

.nw-footer-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 2.5rem 0 1.5rem;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-control,
.form-select {
    border-radius: var(--radius-input);
    border: 1px solid var(--border-color);
    padding: 0.85rem 1.15rem;
    font-size: 0.9rem;
    transition: var(--transition);
    background: var(--nw-white);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--nw-green);
    box-shadow: 0 0 0 3px rgba(79, 111, 82, 0.12);
}

.form-label {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--nw-dark);
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   WhatsApp Float
   ========================================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: #25D366;
    color: #fff;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 26px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #128C7E;
    color: #fff;
    transform: scale(1.08);
}

/* ==========================================================================
   Brand Showcase
   ========================================================================== */

.brand-showcase-slide {
    padding: 1.5rem;
    background: var(--nw-white);
    border-radius: var(--radius-card);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.brand-showcase-slide:hover {
    border-color: var(--nw-green);
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Customer Account Panel (preserved)
   ========================================================================== */

.account-avatar-wrapper {
    background: linear-gradient(135deg, var(--nw-navy) 0%, var(--nw-green) 100%);
    padding: 24px;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    position: relative;
    overflow: hidden;
}

.account-avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 3px solid rgba(255, 255, 255, 0.8);
    font-weight: 600;
    color: var(--nw-navy);
    font-size: 28px;
    transition: var(--transition);
}

.customer-sidebar { border: none !important; overflow: hidden; background: #ffffff; }

.customer-sidebar-menu .list-group-item {
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #495057;
    margin-bottom: 4px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.customer-sidebar-menu .list-group-item:hover {
    background-color: var(--nw-wood);
    color: var(--nw-green);
    padding-left: 24px;
}

.customer-sidebar-menu .list-group-item.active {
    background: var(--nw-green) !important;
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.dash-welcome-card {
    background: linear-gradient(135deg, #ffffff 0%, #fcfdfd 100%);
    border-left: 4px solid var(--nw-green) !important;
}

.dash-stat-mini-card { border-radius: var(--radius-md); transition: var(--transition); }
.dash-stat-mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md) !important; }

/* ==========================================================================
   Utility & Legacy compat
   ========================================================================== */

.glass-panel {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.glass-navbar { /* legacy — overridden by .nw-header */ }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--nw-gold);
    transition: var(--transition);
    transform: translateX(-50%);
}

.transition { transition: var(--transition); }
.object-fit-cover { object-fit: cover; }

.badge-luxury {
    background-color: var(--nw-gold);
    color: #ffffff;
    padding: 6px 12px;
    font-weight: 500;
    border-radius: 50px;
}

/* Page transitions */
.page-enter { animation: nwFadeUp 0.6s ease forwards; }

@keyframes nwFadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1199px) {
    .nw-nav-desktop { display: none !important; }
    .nw-mobile-toggle { display: flex; align-items: center; justify-content: center; }
    .nw-search-desktop { display: none !important; }
}

@media (min-width: 1200px) {
    .nw-mobile-menu { transform: translateX(100%) !important; pointer-events: none; }
    .nw-mobile-overlay { display: none !important; }
}

@media (max-width: 991px) {
    .nw-process {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .nw-process::before { display: none; }

    .nw-projects-grid { grid-template-columns: 1fr 1fr; }
    .nw-project-item:nth-child(n) {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        min-height: 200px !important;
    }
    .nw-project-item:nth-child(1) { grid-column: span 2 !important; min-height: 280px !important; }

    .nw-instagram-grid { grid-template-columns: repeat(3, 1fr); }

    /* Cart mobile table improvements */
    .cart-table-mobile th:nth-child(2),
    .cart-table-mobile td:nth-child(2) { display: none; } /* hide price col on small tablet */
}

@media (max-width: 767px) {
    :root { --header-height: 68px; }

    .nw-hero-actions { flex-direction: column; }
    .nw-hero-actions .btn { width: 100%; text-align: center; }

    .nw-newsletter-form { flex-direction: column; }

    .nw-process { grid-template-columns: 1fr; }

    .nw-instagram-grid { grid-template-columns: repeat(2, 1fr); }

    .nw-why-grid { grid-template-columns: 1fr 1fr; }

    .category-luxury-card { height: 200px; }

    .nw-product-img-wrap { height: 200px; }

    .nw-header-icons .btn-nw-cta { display: none; }

    /* Cart page mobile */
    .cart-product-name { font-size: 0.8rem; }
    .cart-product-img { width: 48px !important; height: 48px !important; }
    .input-group.input-group-sm { width: 90px !important; }

    /* Compare page mobile – stack as cards */
    .compare-table-wrap table,
    .compare-table-wrap thead,
    .compare-table-wrap tbody,
    .compare-table-wrap th,
    .compare-table-wrap td,
    .compare-table-wrap tr { display: block; width: 100%; }

    .compare-table-wrap tr { margin-bottom: 0.5rem; }
    .compare-table-wrap th {
        background: var(--nw-wood) !important;
        color: var(--nw-navy) !important;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    .compare-table-wrap td { padding: 0.75rem 1rem; text-align: left !important; }

    /* Mobile search in menu */
    .nw-mobile-menu .nw-search { flex: none; width: 100%; }

    /* Containers get more padding on mobile */
    .container { padding-left: 1rem; padding-right: 1rem; }
}

@media (max-width: 576px) {
    .nw-why-grid { grid-template-columns: 1fr; }

    /* Cart table – simplify columns */
    .table th:nth-child(2),
    .table td:nth-child(2) { display: none; } /* hide Price column, show via subtotal */

    /* Hero */
    .nw-hero h1 { font-size: clamp(1.9rem, 7vw, 2.8rem); }

    /* Fix coupon form stacking */
    #coupon-form { flex-direction: column; }
    #coupon-form button { width: 100%; }

    /* WhatsApp float smaller on mobile */
    .whatsapp-float { width: 48px; height: 48px; font-size: 22px; bottom: 18px; right: 16px; }

    /* Footer columns stack properly */
    .nw-footer .col-md-6 { text-align: center !important; }

    /* Breadcrumb small */
    .breadcrumb { font-size: 0.78rem; }
}

@media (max-width: 400px) {
    :root { --header-height: 60px; }
    .nw-logo img { height: 36px; }
    .nw-icon-btn { width: 36px; height: 36px; font-size: 1rem; }
    .nw-badge { top: 2px; right: 2px; min-width: 15px; height: 15px; font-size: 0.58rem; }
}

/* Badge scale pop animation */
.cart-count-badge {
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.2s ease !important;
}
.cart-count-badge.nw-badge--pop {
    transform: scale(1.4) !important;
}

/* Skeleton Loading Utilities */
.nw-skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: nw-skeleton-shine 1.6s infinite;
    border-radius: var(--radius-sm);
    display: block;
}
@keyframes nw-skeleton-shine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* RTL Global Support */
html[dir="rtl"] {
    text-align: right;
}
html[dir="rtl"] .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}
html[dir="rtl"] .me-auto {
    margin-left: auto !important;
    margin-right: 0 !important;
}
html[dir="rtl"] .me-1, html[dir="rtl"] .me-2, html[dir="rtl"] .me-3 {
    margin-left: 0.5rem !important;
    margin-right: 0 !important;
}
html[dir="rtl"] .text-start {
    text-align: right !important;
}
html[dir="rtl"] .text-end {
    text-align: left !important;
}
html[dir="rtl"] .nw-search-icon {
    left: auto;
    right: 0.9rem;
}
html[dir="rtl"] .nw-search-input {
    padding: 0.55rem 2.5rem 0.55rem 1rem;
}

/* WhatsApp Floating Button */
.nw-whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFFFFF !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    z-index: 9999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.nw-whatsapp-float:hover {
    background-color: #128C7E;
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.nw-whatsapp-float:active {
    transform: scale(1) translateY(0);
}

@media (max-width: 576px) {
    .nw-whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }
    .nw-whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

/* Responsive Cart Product Image */
.cart-product-img {
    width: 100px !important;
    height: 100px !important;
    border-radius: 12px !important;
    object-fit: cover;
}

@media (max-width: 576px) {
    .cart-product-img {
        width: 80px !important;
        height: 80px !important;
    }
}

/* ==========================================================================
   Language Switcher & RTL Styling Refinements
   ========================================================================== */

/* Language Switcher — Segmented Pill Button (used in nav header, on dark bg) */
.btn-nw-lang-pill {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.85);
    border-radius: 20px;
    padding: 0.4rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    cursor: pointer;
}
.btn-nw-lang-pill:hover {
    background: var(--nw-wood-hover);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-1px);
}
.btn-nw-lang-pill i {
    font-size: 0.85rem;
}

/* Segmented variant — two options (AR | EN) side by side, use if markup has two buttons/links */
.nw-lang-segmented {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    padding: 3px;
    gap: 2px;
}
.nw-lang-segmented a,
.nw-lang-segmented button {
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.35rem 0.7rem;
    border-radius: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
}
.nw-lang-segmented a.active,
.nw-lang-segmented button.active {
    background: var(--nw-wood-hover);
    color: #ffffff;
}
.nw-lang-segmented a:not(.active):hover,
.nw-lang-segmented button:not(.active):hover {
    color: #ffffff;
}

/* RTL Additions */
html[dir="rtl"] body {
    text-align: right;
}
html[dir="rtl"] .me-1 { margin-left: 0.25rem !important; margin-right: 0 !important; }
html[dir="rtl"] .me-2 { margin-left: 0.5rem !important; margin-right: 0 !important; }
html[dir="rtl"] .me-3 { margin-left: 1rem !important; margin-right: 0 !important; }
html[dir="rtl"] .me-4 { margin-left: 1.5rem !important; margin-right: 0 !important; }
html[dir="rtl"] .ms-1 { margin-right: 0.25rem !important; margin-left: 0 !important; }
html[dir="rtl"] .ms-2 { margin-right: 0.5rem !important; margin-left: 0 !important; }
html[dir="rtl"] .ms-3 { margin-right: 1rem !important; margin-left: 0 !important; }
html[dir="rtl"] .ms-4 { margin-right: 1.5rem !important; margin-left: 0 !important; }
html[dir="rtl"] .text-end {
    text-align: left !important;
}
html[dir="rtl"] .text-start {
    text-align: right !important;
}
html[dir="rtl"] .dropdown-menu-end {
    left: 0 !important;
    right: auto !important;
}
html[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before {
    float: right;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}
html[dir="rtl"] .vr {
    border-left: none;
    border-right: 1px solid var(--border-color);
}
html[dir="rtl"] .nw-order-list-card .card-header .d-flex {
    flex-direction: row-reverse;
}

/* Premium Card and Badge Refinement */
.nw-order-list-card {
    border: 1px solid rgba(15, 23, 42, 0.06) !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.02) !important;
}
.nw-order-list-card:hover {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06) !important;
    transform: translateY(-2px);
    border-color: rgba(146, 64, 14, 0.15) !important;
}
.bg-gold-light {
    background-color: rgba(146, 64, 14, 0.06) !important;
}

/* ==========================================================================
   Nova Wood — RTL Arabic Overrides
   ========================================================================== */
html[dir="rtl"] *,
html[dir="rtl"] body,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h4,
html[dir="rtl"] h5,
html[dir="rtl"] h6,
html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea,
html[dir="rtl"] button,
html[dir="rtl"] .section-title,
html[dir="rtl"] .section-label,
html[dir="rtl"] .nw-logo-text {
    font-family: 'Cairo', 'Tajawal', 'IBM Plex Sans Arabic', sans-serif !important;
    letter-spacing: 0 !important;
}

/* Swiper navigation flip in RTL */
html[dir="rtl"] .swiper-button-next {
    left: 20px !important;
    right: auto !important;
    transform: scaleX(-1);
}
html[dir="rtl"] .swiper-button-prev {
    right: 20px !important;
    left: auto !important;
    transform: scaleX(-1);
}

/* logical margin/padding helper fallbacks */
html[dir="rtl"] .me-1 { margin-left: 0.25rem !important; margin-right: 0 !important; }
html[dir="rtl"] .me-2 { margin-left: 0.5rem !important; margin-right: 0 !important; }
html[dir="rtl"] .me-3 { margin-left: 1rem !important; margin-right: 0 !important; }
html[dir="rtl"] .me-4 { margin-left: 1.5rem !important; margin-right: 0 !important; }
html[dir="rtl"] .ms-1 { margin-right: 0.25rem !important; margin-left: 0 !important; }
html[dir="rtl"] .ms-2 { margin-right: 0.5rem !important; margin-left: 0 !important; }
html[dir="rtl"] .ms-3 { margin-right: 1rem !important; margin-left: 0 !important; }
html[dir="rtl"] .ms-4 { margin-right: 1.5rem !important; margin-left: 0 !important; }
html[dir="rtl"] .pe-1 { padding-left: 0.25rem !important; padding-right: 0 !important; }
html[dir="rtl"] .pe-2 { padding-left: 0.5rem !important; padding-right: 0 !important; }
html[dir="rtl"] .pe-3 { padding-left: 1rem !important; padding-right: 0 !important; }
html[dir="rtl"] .pe-4 { padding-left: 1.5rem !important; padding-right: 0 !important; }
html[dir="rtl"] .ps-1 { padding-right: 0.25rem !important; padding-left: 0 !important; }
html[dir="rtl"] .ps-2 { padding-right: 0.5rem !important; padding-left: 0 !important; }
html[dir="rtl"] .ps-3 { padding-right: 1rem !important; padding-left: 0 !important; }
html[dir="rtl"] .ps-4 { padding-right: 1.5rem !important; padding-left: 0 !important; }

/* Flip gradient overlay to start dark on the right in RTL to match right-aligned Arabic text and ensure text contrast readability */
html[dir="rtl"] .hero-slide::before {
    background: linear-gradient(-105deg, rgba(31, 60, 74, 0.85) 0%, rgba(31, 60, 74, 0.45) 55%, transparent 100%) !important;
}

/* Fix office showcase header alignment in RTL and prevent text cut-off */
html[dir="rtl"] .nw-office-header {
    text-align: right !important;
}

html[dir="rtl"] .nw-office-header > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start !important; /* aligns to right edge in RTL */
}

html[dir="rtl"] .nw-office-header .section-subtitle {
    margin-right: 0 !important;
    margin-left: auto !important;
    text-align: right !important;
}

/* Flip badge position on the main hero office card in RTL */
html[dir="rtl"] .nw-office-hero-badge {
    left: auto !important;
    right: 20px !important;
}

/* Mobile viewport layout optimizations and overflow prevention */
@media (max-width: 767px) {
    html, body {
        overflow-x: hidden !important;
        width: 100%;
    }
    
    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
    }
    
    .nw-mobile-menu .nw-search {
        padding: 0 4px;
    }
    
    .nw-hero-content h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
    }
    
    .nw-hero-subtitle {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .nw-section {
        padding: 40px 0 !important;
    }
    
    .nw-office-showcase {
        padding: 40px 0 !important;
    }
}

/* Force FontAwesome font-family & weights globally to prevent Cairo/RTL overrides */
.fa, .fas, .fa-solid,
.fa-regular, .far,
.fa-brands, .fab,
[class^="fa-"], [class*=" fa-"] {
    font-family: "Font Awesome 6 Free" !important;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.fa, .fas, .fa-solid,
[class^="fa-"]:not(.fa-brands):not(.fab):not(.fa-regular):not(.far) {
    font-weight: 900 !important;
}

.far, .fa-regular {
    font-weight: 400 !important;
}

.fab, .fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

/* Extra: ensure RTL body doesn't override icon font */
html[dir="rtl"] .fa,
html[dir="rtl"] .fas,
html[dir="rtl"] .fa-solid,
html[dir="rtl"] [class^="fa-"],
html[dir="rtl"] [class*=" fa-"],
html[dir="rtl"] i[class*="fa"] {
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
}

html[dir="rtl"] .fab,
html[dir="rtl"] .fa-brands {
    font-family: "Font Awesome 6 Brands" !important;
    font-weight: 400 !important;
}

