/* ================================================================
   NeutralHire Design System — site.css
   ================================================================ */

/* 1. Design Tokens */
:root {
    --nh-dark:          #041f1e;
    --nh-dark-2:        #0d3331;
    --nh-primary:       #f48721;
    --nh-primary-h:     #e07319;
    --nh-accent:        #f48721;
    --nh-accent-h:      #e07319;
    --nh-success:       #10b981;
    --nh-danger:        #ef4444;
    --nh-warning:       #f59e0b;
    --nh-bg:            #f8f8f8;
    --nh-surface:       #ffffff;
    --nh-border:        #e8e8e8;
    --nh-text:          #222831;
    --nh-muted:         #666666;
    --nh-radius:        0.75rem;
    --nh-radius-sm:     0.5rem;
    --nh-radius-lg:     1rem;
    --nh-shadow:        0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
    --nh-shadow-md:     0 4px 16px rgba(0,0,0,.10);
    --nh-shadow-lg:     0 10px 40px rgba(0,0,0,.14);
    --nh-transition:    0.2s cubic-bezier(.4,0,.2,1);
    --nh-nav-h:         64px;
}

/* 2. Base */
*, *::before, *::after { box-sizing: border-box; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--nh-bg);
    color: var(--nh-text);
    margin: 0;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--nh-primary); transition: color var(--nh-transition); }
a:hover { color: var(--nh-primary-h); }
img { max-width: 100%; }

/* 3. Announcement Bar */
.nh-announcement {
    background: var(--nh-dark);
    color: rgba(255,255,255,.88);
    text-align: center;
    padding: 9px 48px 9px 16px;
    font-size: .8125rem;
    letter-spacing: .01em;
    position: relative;
}
.nh-ann-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255,255,255,.5);
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
    line-height: 1;
    transition: color var(--nh-transition);
}
.nh-ann-close:hover { color: white; }

/* 4. Header */
.nh-header {
    background: var(--nh-surface);
    border-bottom: 1px solid var(--nh-border);
    top: 0;
    z-index: 1030;
    transition: box-shadow var(--nh-transition);
}
.nh-header.scrolled { box-shadow: var(--nh-shadow-md); }
.nh-header .navbar { padding: 0; min-height: var(--nh-nav-h); }

/* Brand */
.nh-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--nh-dark);
    letter-spacing: -.025em;
    white-space: nowrap;
    flex-shrink: 0;
}
.nh-brand:hover { color: var(--nh-primary); text-decoration: none; }
.nh-brand-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--nh-primary), var(--nh-accent));
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: .875rem;
    font-weight: 900;
    color: white;
    flex-shrink: 0;
    letter-spacing: 0;
}

/* Nav links */
.nh-nav-links { display: flex; }
.nh-nav-links .nav-link {
    color: var(--nh-text);
    font-weight: 500;
    font-size: .9375rem;
    padding: 6px 12px;
    border-radius: var(--nh-radius-sm);
    transition: all var(--nh-transition);
    white-space: nowrap;
}
.nh-nav-links .nav-link:hover { color: var(--nh-primary); background: rgba(79,70,229,.06); }
.nh-nav-links .nav-link.active { color: var(--nh-primary); font-weight: 600; }

/* Search */
.nh-search-form {
    display: flex;
    flex: 1;
    max-width: 420px;
    background: var(--nh-bg);
    border: 1.5px solid var(--nh-border);
    border-radius: 2rem;
    overflow: hidden;
    transition: border-color var(--nh-transition), box-shadow var(--nh-transition);
}
.nh-search-form:focus-within {
    border-color: var(--nh-primary);
    box-shadow: 0 0 0 3px rgba(79,70,229,.1);
    background: white;
}
.nh-search-form input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 16px;
    font-size: .9rem;
    outline: none;
    color: var(--nh-text);
    min-width: 0;
}
.nh-search-form input::placeholder { color: var(--nh-muted); }
.nh-search-form button {
    border: none;
    background: none;
    padding: 8px 16px;
    color: var(--nh-muted);
    cursor: pointer;
    transition: color var(--nh-transition);
    flex-shrink: 0;
}
.nh-search-form button:hover { color: var(--nh-primary); }

/* Nav actions */
.nh-nav-actions { display: flex; align-items: center; gap: 4px; }

.nh-icon-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    border-radius: var(--nh-radius-sm);
    display: grid;
    place-items: center;
    color: var(--nh-text);
    font-size: 1.15rem;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--nh-transition);
    position: relative;
    flex-shrink: 0;
}
.nh-icon-btn:hover { background: var(--nh-bg); color: var(--nh-primary); text-decoration: none; }

/* Cart count badge */
.nh-cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 9px;
    background: var(--nh-danger);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    pointer-events: none;
}

/* User dropdown */
.nh-user-dropdown .dropdown-toggle::after { display: none; }
.nh-user-dropdown .dropdown-menu {
    border: 1px solid var(--nh-border);
    box-shadow: var(--nh-shadow-lg);
    border-radius: var(--nh-radius);
    padding: 6px;
    min-width: 210px;
    margin-top: 6px;
}
.nh-user-dropdown .dropdown-item {
    border-radius: 6px;
    padding: 9px 12px;
    font-size: .875rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background var(--nh-transition);
    color: var(--nh-text);
}
.nh-user-dropdown .dropdown-item:hover { background: var(--nh-bg); color: var(--nh-text); }
.nh-user-dropdown .dropdown-item.text-danger:hover { background: rgba(239,68,68,.06); }
.nh-user-dropdown .dropdown-divider { margin: 4px 0; border-color: var(--nh-border); }
.nh-dropdown-user-header {
    padding: 10px 12px 8px;
    border-bottom: 1px solid var(--nh-border);
    margin-bottom: 4px;
}
.nh-dropdown-user-name { font-weight: 700; font-size: .875rem; color: var(--nh-text); }
.nh-dropdown-user-email { font-size: .75rem; color: var(--nh-muted); margin-top: 1px; }

/* Mobile menu */
.nh-mobile-menu {
    background: var(--nh-surface);
    border-top: 1px solid var(--nh-border);
    padding: 16px;
}
.nh-mobile-menu .nh-search-form { max-width: 100%; margin-bottom: 14px; }
.nh-mobile-menu .nav-link {
    padding: 10px 12px;
    font-weight: 500;
    font-size: .95rem;
    color: var(--nh-text);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 5. Toast Notifications */
.nh-toast-container {
    position: fixed;
    top: calc(var(--nh-nav-h) + 16px);
    right: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 360px;
    width: calc(100% - 32px);
    pointer-events: none;
}
.nh-toast {
    background: var(--nh-surface);
    border-radius: var(--nh-radius);
    box-shadow: var(--nh-shadow-lg);
    padding: 14px 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border-left: 4px solid transparent;
    pointer-events: all;
    animation: nhSlideIn .25s ease;
}
.nh-toast.nh-success { border-left-color: var(--nh-success); }
.nh-toast.nh-error   { border-left-color: var(--nh-danger); }
.nh-toast-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.nh-toast.nh-success .nh-toast-icon { color: var(--nh-success); }
.nh-toast.nh-error   .nh-toast-icon { color: var(--nh-danger); }
.nh-toast-body { flex: 1; font-size: .875rem; line-height: 1.5; }
.nh-toast-close {
    background: none;
    border: none;
    color: var(--nh-muted);
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
    flex-shrink: 0;
    line-height: 1;
    transition: color var(--nh-transition);
}
.nh-toast-close:hover { color: var(--nh-text); }

@keyframes nhSlideIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* 6. Main Content */
.nh-main { min-height: calc(100vh - var(--nh-nav-h) - 320px); }
.nh-page { padding: 2rem 0; }

/* 7. Buttons */
.btn {
    font-weight: 600;
    border-radius: var(--nh-radius-sm);
    transition: all var(--nh-transition);
    letter-spacing: -.01em;
}
.btn-primary {
    background: var(--nh-primary);
    border-color: var(--nh-primary);
    color: white;
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--nh-primary-h);
    border-color: var(--nh-primary-h);
    box-shadow: 0 4px 14px rgba(79,70,229,.35);
    transform: translateY(-1px);
    color: white;
}
.btn-primary:active { transform: none; }

.btn-accent {
    background: var(--nh-accent);
    border: none;
    color: white;
}
.btn-accent:hover {
    background: var(--nh-accent-h);
    color: white;
    box-shadow: 0 4px 14px rgba(249,115,22,.35);
    transform: translateY(-1px);
}

.btn-outline-primary { border: 1.5px solid var(--nh-primary); color: var(--nh-primary); }
.btn-outline-primary:hover { background: var(--nh-primary); border-color: var(--nh-primary); color: white; transform: translateY(-1px); }

.btn-outline-secondary { border: 1.5px solid var(--nh-border); color: var(--nh-text); }
.btn-outline-secondary:hover { background: var(--nh-bg); border-color: var(--nh-dark-2); color: var(--nh-text); }

.btn:focus-visible { box-shadow: 0 0 0 3px rgba(79,70,229,.2); outline: none; }

/* 8. Cards */
.nh-card {
    background: var(--nh-surface);
    border: 1px solid var(--nh-border);
    border-radius: var(--nh-radius);
    box-shadow: var(--nh-shadow);
    overflow: hidden;
    padding: 24px;
}
.nh-card-header {
    font-size: .9375rem;
    color: var(--nh-text);
    padding-bottom: 14px;
    border-bottom: 1px solid var(--nh-border);
}

/* 9. Product Cards */
.product-card {
    background: var(--nh-surface);
    border: 1px solid var(--nh-border);
    border-radius: var(--nh-radius);
    overflow: hidden;
    transition: box-shadow var(--nh-transition), transform var(--nh-transition);
    position: relative;
    text-decoration: none;
    color: var(--nh-text);
    display: block;
}
.product-card:hover { box-shadow: var(--nh-shadow-lg); transform: translateY(-4px); text-decoration: none; color: var(--nh-text); }

.product-card-media {
    position: relative;
    overflow: hidden;
    background: var(--nh-bg);
    aspect-ratio: 4/3;
}
.product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
    display: block;
}
.product-card:hover .product-card-media img { transform: scale(1.06); }
.product-card-media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nh-muted);
    font-size: 2.5rem;
}

.product-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    gap: 4px;
}
.nh-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 2rem;
    font-size: .6875rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.nh-badge-sale { background: var(--nh-danger); color: white; }
.nh-badge-new  { background: var(--nh-primary); color: white; }
.nh-badge-out  { background: var(--nh-dark-2); color: rgba(255,255,255,.8); }

.product-card-body { padding: 14px 16px 12px; }
.product-card-category {
    font-size: .7rem;
    font-weight: 700;
    color: var(--nh-primary);
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-bottom: 4px;
}
.product-card-name {
    font-size: .9375rem;
    font-weight: 600;
    color: var(--nh-text);
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
}
.product-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.product-card-price {
    font-size: 1rem;
    font-weight: 800;
    color: var(--nh-dark);
}
.product-card-price .original {
    font-size: .8rem;
    font-weight: 400;
    color: var(--nh-muted);
    text-decoration: line-through;
    margin-left: 5px;
}
.product-card-stars { color: #f59e0b; font-size: .75rem; letter-spacing: 1px; }

.product-card-footer { padding: 0 16px 14px; }
.product-card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 9px;
    background: var(--nh-primary);
    color: white;
    border: none;
    border-radius: var(--nh-radius-sm);
    font-size: .8125rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--nh-transition);
    opacity: 0;
    transform: translateY(8px);
}
.product-card:hover .product-card-cta {
    opacity: 1;
    transform: translateY(0);
}
.product-card-cta:hover {
    background: var(--nh-primary-h);
    color: white;
    box-shadow: 0 4px 12px rgba(79,70,229,.3);
    text-decoration: none;
}
@media (max-width: 767px) {
    .product-card-cta { opacity: 1; transform: none; }
}

/* 10. Hero */
.nh-hero {
    background: linear-gradient(135deg, var(--nh-dark) 0%, #1e1b4b 60%, #312e81 100%);
    color: white;
    padding: 80px 0 72px;
    position: relative;
    overflow: hidden;
}
.nh-hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 64px 64px;
    pointer-events: none;
}
.nh-hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(249,115,22,.18) 0%, transparent 70%);
    top: -150px;
    right: -150px;
    pointer-events: none;
}
.nh-hero .container-xl { position: relative; }
.nh-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(249,115,22,.15);
    border: 1px solid rgba(249,115,22,.3);
    color: #fdba74;
    border-radius: 2rem;
    padding: 5px 14px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.nh-hero-title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 18px;
    letter-spacing: -.03em;
}
.nh-hero-title .accent { color: var(--nh-accent); }
.nh-hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,.72);
    margin-bottom: 2rem;
    max-width: 460px;
    line-height: 1.7;
}
.nh-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.nh-btn-hero-primary {
    background: var(--nh-accent);
    color: white;
    border: none;
    padding: 14px 30px;
    font-size: .9375rem;
    font-weight: 700;
    border-radius: 2rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--nh-transition);
    letter-spacing: -.01em;
}
.nh-btn-hero-primary:hover {
    background: var(--nh-accent-h);
    color: white;
    box-shadow: 0 8px 28px rgba(249,115,22,.45);
    transform: translateY(-2px);
    text-decoration: none;
}
.nh-btn-hero-ghost {
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.9);
    border: 1.5px solid rgba(255,255,255,.25);
    padding: 13px 26px;
    font-size: .9375rem;
    font-weight: 600;
    border-radius: 2rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--nh-transition);
    backdrop-filter: blur(8px);
}
.nh-btn-hero-ghost:hover {
    border-color: rgba(255,255,255,.6);
    background: rgba(255,255,255,.16);
    color: white;
    text-decoration: none;
}
.nh-hero-stats {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.12);
}
.nh-stat-num { font-size: 1.625rem; font-weight: 900; color: var(--nh-accent); line-height: 1; }
.nh-stat-label { font-size: .75rem; color: rgba(255,255,255,.55); margin-top: 3px; letter-spacing: .02em; }

/* Hero carousel */
.nh-carousel { border-radius: var(--nh-radius-lg); overflow: hidden; box-shadow: var(--nh-shadow-lg); }
.nh-carousel .carousel-caption {
    background: rgba(15,23,42,.55);
    border-radius: var(--nh-radius-sm);
    backdrop-filter: blur(8px);
    padding: 16px 20px;
    bottom: 20px;
    left: 20px;
    right: 20px;
    text-align: left;
}

/* 11. Features Bar */
.nh-features {
    background: var(--nh-surface);
    border-bottom: 1px solid var(--nh-border);
    padding: 20px 0;
}
.nh-feature-item { display: flex; align-items: center; gap: 14px; padding: 4px 0; }
.nh-feature-icon {
    width: 46px;
    height: 46px;
    background: rgba(79,70,229,.07);
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 1.25rem;
    color: var(--nh-primary);
    flex-shrink: 0;
}
.nh-feature-text strong { display: block; font-size: .875rem; font-weight: 700; color: var(--nh-text); }
.nh-feature-text span  { font-size: .75rem; color: var(--nh-muted); }

/* 12. Section Headers */
.nh-section-hd {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
}
.nh-section-title {
    font-size: 1.375rem;
    font-weight: 800;
    color: var(--nh-dark);
    letter-spacing: -.025em;
    margin: 0;
    line-height: 1.2;
}
.nh-section-title::after {
    content: '';
    display: block;
    width: 36px;
    height: 3px;
    background: var(--nh-accent);
    border-radius: 2px;
    margin-top: 6px;
}
.nh-view-all {
    font-size: .8125rem;
    font-weight: 600;
    color: var(--nh-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all var(--nh-transition);
    white-space: nowrap;
}
.nh-view-all:hover { gap: 8px; color: var(--nh-primary-h); text-decoration: none; }

/* 13. Category Cards */
.category-card {
    background: var(--nh-surface);
    border: 1.5px solid var(--nh-border);
    border-radius: var(--nh-radius);
    padding: 22px 14px;
    text-align: center;
    text-decoration: none;
    color: var(--nh-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all var(--nh-transition);
}
.category-card:hover {
    background: var(--nh-primary);
    color: white;
    border-color: var(--nh-primary);
    box-shadow: 0 8px 24px rgba(79,70,229,.3);
    transform: translateY(-4px);
    text-decoration: none;
}
.category-card:hover .cat-count { color: rgba(255,255,255,.65); }
.cat-icon {
    width: 52px;
    height: 52px;
    background: rgba(79,70,229,.08);
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    margin-bottom: 10px;
    transition: background var(--nh-transition);
}
.category-card:hover .cat-icon { background: rgba(255,255,255,.18); }
.cat-name { font-weight: 700; font-size: .875rem; margin-bottom: 2px; }
.cat-count { font-size: .72rem; color: var(--nh-muted); }

/* 14. Shop Page */
.nh-shop-layout { display: flex; gap: 24px; align-items: flex-start; }
.nh-sidebar {
    background: var(--nh-surface);
    border: 1px solid var(--nh-border);
    border-radius: var(--nh-radius);
    padding: 20px;
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: calc(var(--nh-nav-h) + 16px);
}
.nh-sidebar-section { margin-bottom: 22px; }
.nh-sidebar-section:last-child { margin-bottom: 0; }
.nh-sidebar-label {
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--nh-muted);
    margin-bottom: 10px;
    display: block;
}
.nh-shop-content { flex: 1; min-width: 0; }
.nh-shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 12px;
    flex-wrap: wrap;
}
.nh-result-count { font-size: .875rem; color: var(--nh-muted); font-weight: 500; }
.nh-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* 15. Forms */
.form-control, .form-select {
    border: 1.5px solid var(--nh-border);
    border-radius: var(--nh-radius-sm);
    padding: 9px 13px;
    font-size: .9rem;
    color: var(--nh-text);
    background: white;
    transition: border-color var(--nh-transition), box-shadow var(--nh-transition);
}
.form-control:focus, .form-select:focus {
    border-color: var(--nh-primary);
    box-shadow: 0 0 0 3px rgba(79,70,229,.1);
    outline: none;
}
.form-control::placeholder { color: var(--nh-muted); }
.form-label { font-size: .875rem; font-weight: 600; color: var(--nh-text); margin-bottom: 6px; }

/* 16. Product Detail */
.product-gallery-wrap {
    position: sticky;
    top: calc(var(--nh-nav-h) + 16px);
}
.product-gallery-main {
    border-radius: var(--nh-radius);
    overflow: hidden;
    border: 1px solid var(--nh-border);
    background: var(--nh-bg);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-gallery-placeholder { font-size: 4rem; color: var(--nh-muted); }

.product-detail-category {
    font-size: .72rem;
    font-weight: 800;
    color: var(--nh-primary);
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 8px;
}
.product-detail-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    letter-spacing: -.025em;
    line-height: 1.15;
    margin-bottom: 10px;
    color: var(--nh-dark);
}
.product-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.product-stars { color: #f59e0b; font-size: .9rem; letter-spacing: 1px; }
.product-rating-count { font-size: .8125rem; color: var(--nh-muted); }

.product-price-block { margin: 16px 0 20px; }
.product-price-main {
    font-size: 2.125rem;
    font-weight: 900;
    color: var(--nh-dark);
    letter-spacing: -.03em;
    line-height: 1;
}
.product-price-original {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--nh-muted);
    text-decoration: line-through;
    margin-left: 10px;
    vertical-align: baseline;
}
.product-price-badge {
    display: inline-block;
    background: var(--nh-danger);
    color: white;
    font-size: .7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 2rem;
    margin-left: 8px;
    vertical-align: middle;
}

.nh-stock { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; font-weight: 600; }
.nh-stock-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.nh-stock.in-stock .nh-stock-dot { background: var(--nh-success); }
.nh-stock.in-stock { color: var(--nh-success); }
.nh-stock.out-stock .nh-stock-dot { background: var(--nh-muted); }
.nh-stock.out-stock { color: var(--nh-muted); }

.product-description { color: var(--nh-muted); line-height: 1.75; font-size: .9375rem; margin: 20px 0; }

.nh-qty-stepper {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--nh-border);
    border-radius: var(--nh-radius-sm);
    overflow: hidden;
    width: fit-content;
}
.nh-qty-btn {
    width: 40px;
    height: 44px;
    background: none;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    color: var(--nh-text);
    transition: background var(--nh-transition);
    display: grid;
    place-items: center;
    flex-shrink: 0;
}
.nh-qty-btn:hover:not(:disabled) { background: var(--nh-bg); }
.nh-qty-btn:disabled { opacity: .4; cursor: not-allowed; }
.nh-qty-input {
    width: 52px;
    height: 44px;
    border: none;
    border-left: 1.5px solid var(--nh-border);
    border-right: 1.5px solid var(--nh-border);
    text-align: center;
    font-weight: 700;
    font-size: .9375rem;
    outline: none;
    color: var(--nh-text);
}

.nh-cart-add-btn {
    flex: 1;
    padding: 12px 24px;
    background: var(--nh-accent);
    color: white;
    border: none;
    border-radius: var(--nh-radius-sm);
    font-size: .9375rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--nh-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.nh-cart-add-btn:hover:not(:disabled) {
    background: var(--nh-accent-h);
    box-shadow: 0 6px 20px rgba(249,115,22,.35);
    transform: translateY(-1px);
}
.nh-cart-add-btn:disabled { background: var(--nh-muted); cursor: not-allowed; transform: none; }

.nh-wishlist-btn {
    padding: 12px 18px;
    background: var(--nh-surface);
    color: var(--nh-text);
    border: 1.5px solid var(--nh-border);
    border-radius: var(--nh-radius-sm);
    font-size: .875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--nh-transition);
    display: flex;
    align-items: center;
    gap: 8px;
}
.nh-wishlist-btn:hover { border-color: var(--nh-danger); color: var(--nh-danger); }
.nh-wishlist-btn.active { border-color: var(--nh-danger); color: var(--nh-danger); background: rgba(239,68,68,.04); }

.nh-trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--nh-border);
}
.nh-trust-item { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--nh-muted); }
.nh-trust-item i { color: var(--nh-success); font-size: .9rem; }

/* 17. Reviews */
.nh-write-review-box {
    background: linear-gradient(135deg, rgba(79,70,229,.04), rgba(249,115,22,.02));
    border: 1.5px dashed rgba(79,70,229,.2);
    border-radius: var(--nh-radius);
    padding: 24px;
    margin-bottom: 24px;
}
.nh-write-review-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nh-review-card {
    background: var(--nh-surface);
    border: 1px solid var(--nh-border);
    border-radius: var(--nh-radius);
    padding: 20px;
    margin-bottom: 14px;
    transition: border-color var(--nh-transition);
}
.nh-review-card.own { border-left: 3px solid var(--nh-primary); }
.nh-review-card:hover { border-color: rgba(79,70,229,.25); }
.nh-review-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 8px; }
.nh-review-author { font-weight: 700; font-size: .9rem; color: var(--nh-text); }
.nh-review-stars { color: #f59e0b; font-size: .85rem; letter-spacing: 1px; }
.nh-review-date { font-size: .75rem; color: var(--nh-muted); white-space: nowrap; }
.nh-review-title { font-weight: 600; font-size: .9rem; margin-bottom: 4px; }
.nh-review-body { color: var(--nh-muted); font-size: .875rem; line-height: 1.65; }

/* 18. Cart */
.nh-cart-table { width: 100%; border-collapse: collapse; }
.nh-cart-table th {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--nh-muted);
    padding: 12px 16px;
    border-bottom: 1px solid var(--nh-border);
    white-space: nowrap;
}
.nh-cart-table td { padding: 16px; border-bottom: 1px solid var(--nh-border); vertical-align: middle; }
.nh-cart-table tr:last-child td { border-bottom: none; }
.nh-cart-img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: var(--nh-radius-sm);
    border: 1px solid var(--nh-border);
    flex-shrink: 0;
}
.nh-cart-img-placeholder {
    width: 76px;
    height: 76px;
    background: var(--nh-bg);
    border-radius: var(--nh-radius-sm);
    border: 1px solid var(--nh-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nh-muted);
    font-size: 1.4rem;
    flex-shrink: 0;
}
.nh-cart-product-name {
    font-weight: 600;
    font-size: .9rem;
    color: var(--nh-text);
    text-decoration: none;
    transition: color var(--nh-transition);
}
.nh-cart-product-name:hover { color: var(--nh-primary); }
.nh-cart-remove {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--nh-muted);
    padding: 6px;
    border-radius: 6px;
    transition: all var(--nh-transition);
    display: grid;
    place-items: center;
    font-size: 1rem;
}
.nh-cart-remove:hover { color: var(--nh-danger); background: rgba(239,68,68,.06); }

.nh-order-summary {
    background: var(--nh-surface);
    border: 1px solid var(--nh-border);
    border-radius: var(--nh-radius);
    overflow: hidden;
    position: sticky;
    top: calc(var(--nh-nav-h) + 16px);
}
.nh-summary-head {
    background: var(--nh-dark);
    color: white;
    padding: 16px 20px;
    font-weight: 700;
    font-size: .9375rem;
    letter-spacing: -.01em;
}
.nh-summary-body { padding: 20px; }
.nh-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: .875rem;
    margin-bottom: 10px;
}
.nh-summary-discount { color: var(--nh-success); }
.nh-summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.0625rem;
    font-weight: 800;
    color: var(--nh-dark);
    padding: 14px 0 0;
    border-top: 1px solid var(--nh-border);
    margin-top: 6px;
}
.nh-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    margin-top: 18px;
    background: var(--nh-accent);
    color: white;
    border: none;
    border-radius: var(--nh-radius-sm);
    font-size: .9375rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--nh-transition);
}
.nh-checkout-btn:hover {
    background: var(--nh-accent-h);
    color: white;
    box-shadow: 0 6px 20px rgba(249,115,22,.35);
    transform: translateY(-1px);
    text-decoration: none;
}
.nh-coupon-form {
    display: flex;
    border: 1.5px solid var(--nh-border);
    border-radius: var(--nh-radius-sm);
    overflow: hidden;
    margin-top: 16px;
}
.nh-coupon-form input {
    flex: 1;
    border: none;
    padding: 9px 13px;
    font-size: .8125rem;
    outline: none;
    color: var(--nh-text);
    background: none;
    min-width: 0;
}
.nh-coupon-form button {
    padding: 9px 16px;
    background: var(--nh-dark);
    color: white;
    border: none;
    font-size: .8rem;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--nh-transition);
    white-space: nowrap;
    flex-shrink: 0;
}
.nh-coupon-form button:hover { background: var(--nh-dark-2); }

/* 19. Auth Pages */
.nh-auth-wrap {
    min-height: calc(100vh - var(--nh-nav-h) - 40px);
    display: flex;
    align-items: center;
    padding: 40px 0;
}
.nh-auth-card {
    background: var(--nh-surface);
    border: 1px solid var(--nh-border);
    border-radius: var(--nh-radius-lg);
    padding: 44px 40px;
    box-shadow: var(--nh-shadow-lg);
    width: 100%;
}
.nh-auth-logo { margin-bottom: 28px; }
.nh-auth-title { font-size: 1.625rem; font-weight: 900; letter-spacing: -.025em; margin-bottom: 4px; }
.nh-auth-sub { color: var(--nh-muted); font-size: .9rem; margin-bottom: 28px; }
.nh-auth-footer {
    text-align: center;
    margin-top: 24px;
    font-size: .875rem;
    color: var(--nh-muted);
}
.nh-auth-footer a { color: var(--nh-primary); font-weight: 600; text-decoration: none; }
.nh-auth-footer a:hover { text-decoration: underline; }
.nh-auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--nh-muted);
    font-size: .8rem;
    margin: 20px 0;
}
.nh-auth-divider::before, .nh-auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--nh-border);
}

/* 20. Profile */
.nh-profile-banner {
    background: linear-gradient(135deg, var(--nh-dark) 0%, #1e1b4b 100%);
    border-radius: var(--nh-radius-lg);
    padding: 28px 32px;
    color: white;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}
.nh-profile-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 40px 40px;
}
.nh-profile-banner .container-content { position: relative; }
.nh-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--nh-primary), var(--nh-accent));
    display: grid;
    place-items: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    flex-shrink: 0;
    border: 3px solid rgba(255,255,255,.2);
}
.nh-profile-name { font-size: 1.2rem; font-weight: 800; margin: 0 0 3px; letter-spacing: -.02em; }
.nh-profile-email { color: rgba(255,255,255,.65); font-size: .85rem; }

.nh-info-card {
    background: var(--nh-surface);
    border: 1px solid var(--nh-border);
    border-radius: var(--nh-radius);
    overflow: hidden;
}
.nh-info-card-header {
    background: var(--nh-bg);
    border-bottom: 1px solid var(--nh-border);
    padding: 14px 22px;
    font-weight: 700;
    font-size: .9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--nh-text);
}
.nh-info-card-body { padding: 22px; }

.nh-address-card {
    background: var(--nh-bg);
    border: 1.5px solid var(--nh-border);
    border-radius: var(--nh-radius-sm);
    padding: 16px;
    margin-bottom: 12px;
    position: relative;
    transition: all var(--nh-transition);
}
.nh-address-card:hover { border-color: var(--nh-primary); background: rgba(79,70,229,.02); }
.nh-address-default {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--nh-primary);
    color: white;
    font-size: .65rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 2rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.nh-address-label { font-weight: 700; font-size: .85rem; margin-bottom: 4px; }
.nh-address-line { font-size: .8125rem; color: var(--nh-muted); line-height: 1.6; }

/* 21. Breadcrumb */
.nh-breadcrumb { background: none; padding: 0 0 20px; margin: 0; }
.nh-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: var(--nh-muted); }
.nh-breadcrumb .breadcrumb-item a { color: var(--nh-muted); text-decoration: none; font-size: .8125rem; }
.nh-breadcrumb .breadcrumb-item a:hover { color: var(--nh-primary); }
.nh-breadcrumb .breadcrumb-item.active { color: var(--nh-text); font-weight: 600; font-size: .8125rem; }

/* 22. Pagination */
.nh-pagination { display: flex; gap: 4px; justify-content: center; flex-wrap: wrap; margin-top: 32px; }
.nh-page-btn {
    width: 38px;
    height: 38px;
    border: 1.5px solid var(--nh-border);
    border-radius: var(--nh-radius-sm);
    display: grid;
    place-items: center;
    font-size: .875rem;
    font-weight: 500;
    color: var(--nh-text);
    text-decoration: none;
    transition: all var(--nh-transition);
    background: white;
}
.nh-page-btn:hover { border-color: var(--nh-primary); color: var(--nh-primary); text-decoration: none; }
.nh-page-btn.active { background: var(--nh-primary); border-color: var(--nh-primary); color: white; }
.nh-page-btn.wide { width: auto; padding: 0 14px; }

/* 23. Footer */
.nh-footer {
    background: var(--nh-dark);
    color: rgba(255,255,255,.65);
    padding: 56px 0 0;
    margin-top: 80px;
}
.nh-footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    margin-bottom: 14px;
}
.nh-footer-brand:hover { text-decoration: none; }
.nh-footer-tagline { font-size: .85rem; line-height: 1.65; max-width: 240px; }
.nh-footer-col-title {
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255,255,255,.45);
    margin-bottom: 16px;
}
.nh-footer-links { list-style: none; padding: 0; margin: 0; }
.nh-footer-links li { margin-bottom: 10px; }
.nh-footer-links a {
    color: rgba(255,255,255,.6);
    text-decoration: none;
    font-size: .875rem;
    transition: color var(--nh-transition);
}
.nh-footer-links a:hover { color: white; }
.nh-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    margin-top: 48px;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.nh-footer-copy { font-size: .8rem; }
.nh-social-links { display: flex; gap: 8px; }
.nh-social-btn {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.07);
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: rgba(255,255,255,.55);
    text-decoration: none;
    transition: all var(--nh-transition);
    font-size: .95rem;
}
.nh-social-btn:hover { background: var(--nh-primary); color: white; }

/* 24. Error Pages */
.nh-error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}
.nh-error-code {
    font-size: clamp(5rem, 15vw, 9rem);
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--nh-primary), var(--nh-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nh-error-title { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.nh-error-msg { color: var(--nh-muted); font-size: .9375rem; margin-bottom: 32px; max-width: 420px; }

/* 25. Transaction Card */
.nh-txn-card {
    background: var(--nh-surface);
    border: 1px solid var(--nh-border);
    border-radius: var(--nh-radius-lg);
    padding: 48px 40px;
    text-align: center;
    box-shadow: var(--nh-shadow-lg);
}
.nh-txn-icon-ring {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}
.nh-txn-icon-ring.success { background: rgba(16,185,129,.1); color: var(--nh-success); }
.nh-txn-icon-ring.danger  { background: rgba(239,68,68,.1); color: var(--nh-danger); }
.nh-txn-icon-ring.warning { background: rgba(245,158,11,.1); color: var(--nh-warning); }

/* 26. Validation */
.text-danger { color: var(--nh-danger) !important; font-size: .8rem; }
.alert-danger {
    background: rgba(239,68,68,.06);
    border: 1.5px solid rgba(239,68,68,.2);
    border-radius: var(--nh-radius-sm);
    color: #b91c1c;
    font-size: .875rem;
    padding: 12px 16px;
}
.alert-danger:empty { display: none; }

/* 27. Utilities */
.nh-divider { height: 1px; background: var(--nh-border); margin: 20px 0; }
.text-accent { color: var(--nh-accent) !important; }

/* 28. Responsive */
@media (max-width: 991px) {
    .nh-sidebar,
    .gb-sidebar {
        width: 100%;
        position: static;
    }
    .nh-shop-layout { flex-direction: column; }
    .product-gallery-wrap,
    .nh-order-summary {
        position: static;
    }
}

@media (max-width: 767px) {
    .nh-hero { padding: 52px 0 44px; }
    .nh-hero-stats { gap: 20px; }
    .nh-auth-card { padding: 28px 20px; }
    .nh-profile-banner { flex-direction: column; text-align: center; padding: 24px 20px; }
    .nh-footer-bottom { flex-direction: column; text-align: center; }
    .nh-txn-card { padding: 36px 24px; }
    .nh-product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    /* Cart table -> stacked cards */
    .nh-cart-table thead { display: none; }
    .nh-cart-table, .nh-cart-table tbody, .nh-cart-table tr, .nh-cart-table td {
        display: block;
        width: 100%;
    }
    .nh-cart-table tr {
        position: relative;
        border: 1px solid var(--nh-border);
        border-radius: var(--nh-radius);
        margin-bottom: 12px;
        padding: 14px 44px 14px 14px;
    }
    .nh-cart-table td {
        border: none;
        padding: 0;
        text-align: left;
    }
    .nh-cart-table td:nth-child(2) { display: none; }
    .nh-cart-table td:nth-child(3) {
        margin-top: 14px;
        display: flex;
        justify-content: flex-start;
    }
    .nh-cart-table td:nth-child(3) .nh-qty-stepper { margin: 0; }
    .nh-cart-table td:nth-child(4) {
        margin-top: 10px;
        font-size: 1rem;
    }
    .nh-cart-table td:nth-child(4)::before {
        content: "Total: ";
        color: var(--nh-muted);
        font-weight: 500;
        font-size: .8rem;
    }
    .nh-cart-table td:last-child {
        position: absolute;
        top: 12px;
        right: 10px;
    }

    /* Orders list table -> stacked cards */
    .nh-orders-list-table thead { display: none; }
    .nh-orders-list-table, .nh-orders-list-table tbody, .nh-orders-list-table tr, .nh-orders-list-table td {
        display: block;
        width: 100%;
    }
    .nh-orders-list-table tr {
        border: 1px solid var(--nh-border);
        border-radius: var(--nh-radius);
        margin-bottom: 12px;
        padding: 14px;
    }
    .nh-orders-list-table td {
        border: none !important;
        padding: 4px 0 !important;
        text-align: left !important;
    }
    .nh-orders-list-table td.ps-4 { padding-left: 0 !important; }
    .nh-orders-list-table td.pe-4 { padding-right: 0 !important; margin-top: 10px; }
    .nh-orders-list-table td:nth-child(1) { font-weight: 700; font-size: 1rem; }
    .nh-orders-list-table td:nth-child(2)::before { content: "Placed: "; color: var(--nh-muted); font-size: .8rem; }
    .nh-orders-list-table td:nth-child(5) { font-size: 1.05rem; }
    .nh-orders-list-table td:nth-child(5)::before { content: "Total: "; color: var(--nh-muted); font-weight: 500; font-size: .8rem; }
    .nh-orders-list-table td:last-child a { display: flex; width: 100%; justify-content: center; }

    /* Order items table (detail / confirmation) -> stacked cards */
    .nh-order-items-table thead { display: none; }
    .nh-order-items-table, .nh-order-items-table tbody, .nh-order-items-table tr, .nh-order-items-table td {
        display: block;
        width: 100%;
    }
    .nh-order-items-table tr {
        border-bottom: 1px solid var(--nh-border);
        padding: 12px 0;
    }
    .nh-order-items-table tr:first-child { padding-top: 0; }
    .nh-order-items-table td {
        padding: 2px 0 !important;
        text-align: left !important;
    }
    .nh-order-items-table td:nth-child(2)::before { content: "Qty: "; color: var(--nh-muted); font-size: .8rem; }
    .nh-order-items-table td:nth-child(3)::before { content: "Unit Price: "; color: var(--nh-muted); font-size: .8rem; }
    .nh-order-items-table td:nth-child(4) { margin-top: 2px; font-size: 1rem; }
    .nh-order-items-table td:nth-child(4)::before { content: "Total: "; color: var(--nh-muted); font-weight: 500; font-size: .8rem; }

    /* Checkout shipping method rows */
    .nh-card .form-check-label.d-flex { flex-wrap: wrap; row-gap: 4px; }
}

@media (max-width: 479px) {
    .nh-product-grid { grid-template-columns: 1fr; }
    .nh-hero-actions { flex-direction: column; }
}

@media (max-width: 380px) {
    .nh-brand { font-size: 1.05rem; gap: 6px; }
    .nh-brand-icon { width: 30px; height: 30px; font-size: .75rem; }
    .nh-header-top .navbar { min-height: 56px; }
}

/* 29. Hero Visual (no-banner fallback) */
.nh-hero-visual {
    position: relative;
    width: 340px;
    height: 380px;
    flex-shrink: 0;
}
.nh-hero-card {
    position: absolute;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    padding: 14px;
    width: 186px;
    box-shadow: 0 24px 64px rgba(0,0,0,.38);
}
.nh-hero-card-img {
    background: linear-gradient(135deg, rgba(79,70,229,.35), rgba(249,115,22,.22));
    border-radius: 10px;
    height: 108px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.55);
    font-size: 1.75rem;
}
.nh-hero-card-line {
    height: 8px;
    border-radius: 4px;
    background: rgba(255,255,255,.18);
    margin-bottom: 6px;
}
.nh-hero-card--back  { top: 0;   left: 0;   animation: nhFloat1 5s ease-in-out infinite; }
.nh-hero-card--mid   { top: 55px; right: 0; animation: nhFloat2 5s ease-in-out infinite 1.8s; }
.nh-hero-card--front { bottom: 0; left: 54px; animation: nhFloat3 5s ease-in-out infinite 0.9s; }

@keyframes nhFloat1 { 0%,100% { transform: rotate(-8deg) translateY(0); }  50% { transform: rotate(-8deg) translateY(-12px); } }
@keyframes nhFloat2 { 0%,100% { transform: rotate(5deg)  translateY(0); }  50% { transform: rotate(5deg)  translateY(-10px); } }
@keyframes nhFloat3 { 0%,100% { transform: rotate(-3deg) translateY(0); }  50% { transform: rotate(-3deg) translateY(-14px); } }

.nh-hero-float-badge {
    position: absolute;
    background: white;
    border-radius: 2rem;
    padding: 7px 14px;
    font-size: .75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,.22);
    white-space: nowrap;
    z-index: 3;
}
.nh-hero-float-badge--rating { top: 6px;   right: 2px; color: #f59e0b; animation: nhBadgeFloat 4s ease-in-out infinite .4s; }
.nh-hero-float-badge--ship   { bottom: 70px; right: 0;   color: var(--nh-success); animation: nhBadgeFloat 4s ease-in-out infinite 1.2s; }
@keyframes nhBadgeFloat { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-6px) scale(1.03); } }

/* 30. Product Card Quick Actions */
.product-card-link-body { display: block; text-decoration: none; color: inherit; }
.product-card-link-body:hover { text-decoration: none; color: inherit; }

.product-card-media-link { position: absolute; inset: 0; z-index: 1; }

.product-card-qa {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
    opacity: 0;
    transform: translateX(10px);
    transition: opacity var(--nh-transition), transform var(--nh-transition);
}
.product-card:hover .product-card-qa { opacity: 1; transform: translateX(0); }

.product-qa-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: none;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,.14);
    color: var(--nh-text);
    font-size: 1rem;
    transition: all var(--nh-transition);
    flex-shrink: 0;
}
.product-qa-btn:hover { background: var(--nh-primary); color: white; transform: scale(1.1); box-shadow: 0 4px 14px rgba(79,70,229,.3); }

@media (max-width: 767px) {
    .product-card-qa { opacity: 1; transform: translateX(0); }
}

/* ================================================================
   GhorerBazar Style Design — Additional Components
   ================================================================ */

/* GB Section Head */
.gb-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--nh-border);
}
.gb-section-head h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--nh-text);
    margin: 0;
    position: relative;
    padding-left: 14px;
}
.gb-section-head h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 22px;
    background: var(--nh-primary);
    border-radius: 2px;
}
.gb-section-head .sec-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: .8125rem;
    font-weight: 600;
    color: var(--nh-primary);
    text-decoration: none;
    transition: gap .2s;
    white-space: nowrap;
}
.gb-section-head .sec-btn:hover { gap: 9px; color: var(--nh-primary-h); text-decoration: none; }

/* GB Category Cards (image-based) */
.gb-category-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}
.gb-category-row::-webkit-scrollbar { display: none; }
.gb-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
    width: 100px;
    transition: transform .2s;
}
.gb-cat-card:hover { transform: translateY(-4px); text-decoration: none; }
.gb-cat-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(244,135,33,.12), rgba(244,135,33,.06));
    border: 2px solid rgba(244,135,33,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--nh-primary);
    overflow: hidden;
    transition: border-color .2s, background .2s;
}
.gb-cat-card:hover .gb-cat-img {
    border-color: var(--nh-primary);
    background: linear-gradient(135deg, rgba(244,135,33,.2), rgba(244,135,33,.1));
}
.gb-cat-img img { width: 100%; height: 100%; object-fit: cover; }
.gb-cat-label {
    font-size: .78rem;
    font-weight: 600;
    color: var(--nh-text);
    text-align: center;
    line-height: 1.3;
}
.gb-cat-card:hover .gb-cat-label { color: var(--nh-primary); }

/* GB Product Card (style-6) */
.gb-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.gb-product-item { display: block; }
.gb-product {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.gb-product:hover { box-shadow: 0 8px 24px rgba(0,0,0,.12); transform: translateY(-3px); }

.gb-product-media {
    position: relative;
    overflow: hidden;
    background: #f8f8f8;
    aspect-ratio: 1;
}
.gb-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
    display: block;
}
.gb-product:hover .gb-product-media img { transform: scale(1.05); }
.gb-product-media-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 3rem;
}

.gb-save-label {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #f48721;
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 2;
}
.gb-out-label {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #6c757d;
    color: #fff;
    font-size: .65rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    z-index: 2;
}

.gb-product-body {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.gb-product-name {
    font-size: .9rem;
    font-weight: 600;
    color: #222831;
    margin: 0 0 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    transition: color .2s;
}
.gb-product-name:hover { color: var(--nh-primary); text-decoration: none; }

.gb-product-price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.gb-product-price ins {
    font-size: 1rem;
    font-weight: 800;
    color: #041f1e;
    text-decoration: none;
}
.gb-product-price del {
    font-size: .8rem;
    color: #999;
    font-weight: 400;
}

.gb-product-action { margin-top: auto; }
.gb-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    padding: 9px 12px;
    background: var(--nh-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s, box-shadow .2s;
}
.gb-add-btn:hover { background: var(--nh-primary-h); box-shadow: 0 4px 14px rgba(244,135,33,.35); color: #fff; text-decoration: none; }
.gb-add-btn:disabled { background: #aaa; cursor: not-allowed; }

/* Top Selling Products */
.gb-tp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}
.tp-product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    display: flex;
    gap: 0;
    padding: 0;
    align-items: stretch;
    height: 300px;
    overflow: hidden;
    transition: box-shadow .2s;
}
.tp-product-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.tp-product-img {
    width: 44%;
    flex-shrink: 0;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 2.5rem;
    overflow: hidden;
    padding: 0;
}
.tp-product-img img { width: 100%; height: 100%; object-fit: cover; }
.tp-product-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 52px 28px 76px 24px;
    gap: 10px;
}
.tp-product-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #222831;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
    transition: color .2s;
}
.tp-product-title:hover { color: var(--nh-primary); }
.tp-product-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}
.tp-product-price .disct-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--nh-primary);
}
.tp-product-price .main-price {
    font-size: .85rem;
    color: #aaa;
    text-decoration: line-through;
}
.tp-product-price .save-price {
    display: inline-block;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 20px;
    padding: 2px 10px;
    font-size: .72rem;
    font-weight: 600;
    flex-basis: 100%;
}
.tp-product-action {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap;
    align-items: center;
    margin-top: auto;
}
.tp-product-action form { display: contents; }

/* GB Features */
.gb-features {
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 18px 0;
}
.gb-feature-item { display: flex; align-items: center; gap: 12px; }
.gb-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(244,135,33,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--nh-primary);
    flex-shrink: 0;
}
.gb-feature-text strong { display: block; font-size: .82rem; font-weight: 700; color: #222831; }
.gb-feature-text span { font-size: .72rem; color: #777; }

/* GB Hero */
.gb-hero { background: #fff; padding: 0; }
.gb-hero .carousel-item img { height: 420px; object-fit: cover; }
.gb-hero-fallback {
    background: linear-gradient(135deg, #041f1e 0%, #0d3331 60%, #f48721 200%);
    color: #fff;
    padding: 70px 0 60px;
}
.gb-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(244,135,33,.18);
    border: 1px solid rgba(244,135,33,.35);
    color: #ffd5a8;
    border-radius: 2rem;
    padding: 5px 14px;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .05em;
    margin-bottom: 18px;
}
.gb-hero-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 14px;
    letter-spacing: -.02em;
}
.gb-hero-title .accent { color: #f48721; }
.gb-hero-sub {
    font-size: 1rem;
    color: rgba(255,255,255,.72);
    margin-bottom: 28px;
    max-width: 440px;
    line-height: 1.7;
}
.gb-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    background: #f48721;
    color: #fff;
    border: none;
    border-radius: 2rem;
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, box-shadow .2s, transform .2s;
}
.gb-hero-btn:hover { background: #e07319; color: #fff; box-shadow: 0 8px 24px rgba(244,135,33,.4); transform: translateY(-2px); text-decoration: none; }
.gb-hero-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255,255,255,.1);
    color: rgba(255,255,255,.9);
    border: 1.5px solid rgba(255,255,255,.25);
    border-radius: 2rem;
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .2s;
    backdrop-filter: blur(8px);
}
.gb-hero-btn-outline:hover { border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.16); color: #fff; text-decoration: none; }

/* Shop page toolbar */
.gb-shop-toolbar {
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 12px;
    flex-wrap: wrap;
}
.gb-result-count { font-size: .85rem; color: #666; font-weight: 500; }
.gb-sort-select {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: .82rem;
    color: #333;
    background: #fff;
    cursor: pointer;
    outline: none;
}
.gb-sort-select:focus { border-color: var(--nh-primary); }

/* Sidebar (GhorerBazar style) */
.gb-sidebar {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 18px;
    width: 248px;
    flex-shrink: 0;
    position: sticky;
    top: calc(var(--nh-nav-h) + 16px);
}
.gb-sidebar-title {
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #555;
    margin-bottom: 10px;
    display: block;
}
.gb-sidebar-section { margin-bottom: 20px; }

/* Header two-row */
.nh-header-top {
    border-bottom: 1px solid var(--nh-border);
}
.nh-header-top .navbar { min-height: 60px; padding: 0; }

.nh-header-nav {
    background: var(--nh-dark);
    display: none;
}
.nh-header-nav .container-xl {
    display: flex;
    align-items: center;
    height: 40px;
    gap: 0;
}
.nh-header-nav .nav-link {
    color: rgba(255,255,255,.82);
    font-size: .82rem;
    font-weight: 500;
    padding: 0 14px;
    height: 40px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: color .2s, background .2s;
    border-right: 1px solid rgba(255,255,255,.08);
}
.nh-header-nav .nav-link:first-child { border-left: 1px solid rgba(255,255,255,.08); }
.nh-header-nav .nav-link:hover { color: #fff; background: rgba(255,255,255,.08); text-decoration: none; }
.nh-flash-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 0 14px;
    height: 40px;
    background: #f48721;
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    margin-left: auto;
    transition: background .2s;
}
.nh-flash-btn:hover { background: #e07319; color: #fff; text-decoration: none; }

@media (min-width: 768px) {
    .nh-header-nav { display: block; }
    .gb-hero .carousel-item img { height: 420px; }
}
@media (max-width: 767px) {
    .gb-hero .carousel-item img { height: 220px; }
    .gb-product-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .gb-tp-grid { grid-template-columns: 1fr; }
    .gb-cat-img { width: 64px; height: 64px; font-size: 1.3rem; }
    .gb-cat-card { width: 80px; }
}
@media (max-width: 479px) {
    .gb-product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
}

/* ================================================================
   GhorerBazar Home – Hero Split / Section Titles / Product Row
   ================================================================ */

/* Hero split (8-col slider + 4-col side banner) */
.gb-hero-area { background: #f8f8f8; padding: 16px 0; }
.gb-hero-area .container-xl,
.gb-section .container-xl { padding-left: 2.975rem; padding-right: 2.975rem; max-width: 1400px; }
.gb-hero-split { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; align-items: stretch; }
.gb-hero-main { border-radius: 8px; overflow: hidden; }
.gb-hero-main .carousel, .gb-hero-main .carousel-inner, .gb-hero-main .carousel-item { height: 100%; }
.gb-hero-main .carousel-item img { width: 100%; aspect-ratio: 2.5/1; object-fit: cover; border-radius: 8px; display: block; }
.gb-hero-side { border-radius: 8px; overflow: hidden; }
.gb-hero-side img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; display: block; }
@media (max-width: 991px) {
    .gb-hero-split { grid-template-columns: 1fr; }
    .gb-hero-side { display: none !important; }
    .gb-hero-main .carousel-item img { aspect-ratio: 2/1; }
}

/* Section head with bottom border (matches .section-head in reference) */
.gb-section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}
.gb-section-title h3 { font-size: 1.15rem; font-weight: 700; color: #222831; margin: 0; }
.gb-section-title .sec-btn {
    display: flex; align-items: center; gap: 5px;
    font-size: .82rem; font-weight: 600; color: var(--nh-primary);
    text-decoration: none; white-space: nowrap;
}
.gb-section-title .sec-btn:hover { color: var(--nh-primary-h); text-decoration: none; }

/* Category section head (centered, no view-all) */
.gb-cat-section-head { text-align: center; margin-bottom: 20px; }
.gb-cat-section-head h3 { font-size: 1.15rem; font-weight: 700; color: #222831; margin: 0; }

/* Horizontal product row (swiper replacement) */
.gb-product-row {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.gb-product-row::-webkit-scrollbar { display: none; }
.gb-product-row .gb-product-item { flex: 0 0 200px; width: 200px; }

/* Top-selling horizontal scroll wrapper */
.gb-tp-wrapper {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: none;
}
.gb-tp-wrapper::-webkit-scrollbar { display: none; }
.gb-tp-wrapper .tp-product-card { flex: 0 0 260px; width: 260px; }

/* Section vertical padding */
.gb-section { padding: 24px 0; }

/* Top Selling action buttons */
.tp-add-cart-btn {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .875rem; font-weight: 600; padding: 9px 18px;
    border: 1.5px solid var(--nh-primary); color: var(--nh-primary); background: #fff;
    border-radius: 6px; cursor: pointer; text-decoration: none;
    transition: all .2s; white-space: nowrap;
}
.tp-add-cart-btn:hover { background: var(--nh-primary); color: #fff; text-decoration: none; }
.tp-buy-now-btn {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: .875rem; font-weight: 600; padding: 9px 18px;
    background: var(--nh-primary); color: #fff; border: none;
    border-radius: 6px; cursor: pointer; text-decoration: none;
    transition: background .2s; white-space: nowrap;
}
.tp-buy-now-btn:hover { background: var(--nh-primary-h); color: #fff; text-decoration: none; }
.tp-buy-now-btn:disabled { background: #aaa; cursor: not-allowed; }

/* Product rating stars */
.gb-product-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: .75rem;
    color: #f48721;
    margin-bottom: 4px;
}
.gb-product-rating .bi-star,
.gb-product-rating .bi-star-half,
.gb-product-rating .bi-star-fill { font-size: .75rem; }
.gb-product-rating .text-muted { color: #aaa !important; }

/* Centered section head (Top Selling style) */
.gb-section-center {
    text-align: center;
    padding-bottom: 14px;
    margin-bottom: 20px;
}
.gb-section-center h3 { font-size: 1.15rem; font-weight: 700; color: #222831; margin: 0; }

/* Top Selling grid — 2 cols desktop, 1 col mobile */
.tp-product-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (max-width: 767px) {
    .tp-product-wrapper { grid-template-columns: 1fr; }
    .tp-product-card { height: auto; flex-direction: column; }
    .tp-product-img { width: 100%; height: 200px; padding: 16px; }
    .tp-product-content { padding: 16px; gap: 8px; }
}
