/* ============================================================
   Nick Scali Storefront - Complete Redesign
   Design target: nickscali.com.au
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* ============================================================
   CSS Variables / Design Tokens
   ============================================================ */
:root {
    /* ── Dark Theme (Nick Scali Night Mode) ── */
    /* Primary text = light; Primary background = dark */
    --ns-black: #1a1a1a;
    --ns-white: #ffffff;
    --ns-offwhite: #f5f5f5;
    --ns-gray-50: #f9fafb;
    --ns-gray-100: #f3f4f6;
    --ns-gray-200: #e5e7eb;
    --ns-gray-300: #d1d5db;
    --ns-gray-400: #9ca3af;
    --ns-gray-500: #6b7280;
    --ns-gray-600: #4b5563;
    --ns-gray-700: #374151;
    --ns-red: #e8173d;
    --ns-red-dark: #c60f30;
    --ns-font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ns-header-height: 60px;
    --ns-max-width: 1440px;
    --ns-transition: 0.2s ease;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--ns-font);
    font-weight: 400;
    color: var(--ns-black);
    background: #f9f5ed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: var(--ns-font);
    cursor: pointer;
}

ul {
    list-style: none;
}

::selection {
    background-color: var(--ns-black);
    color: var(--ns-white);
}

/* ============================================================
   Top Bar (sitewide utility bar)
   ============================================================ */
.ns-topbar {
    background: #1a1a1a;
    color: #f1f4f6;
    text-align: center;
    padding: 8px 1rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.ns-topbar a {
    text-decoration: underline;
    text-underline-offset: 2px;
    color: var(--ns-white);
    transition: opacity var(--ns-transition);
}

.ns-topbar a:hover {
    opacity: 0.7;
}

/* ============================================================
   Header (2-row layout)
   ============================================================ */
.ns-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--ns-black);
}

/* ── Promo Bar (red, placed inside hero) ── */
.ns-hero-promo {
    background: #c6494a;
    color: var(--ns-white);
    text-align: center;
    padding: 12px 1rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    position: relative;
}
.ns-hero-promo-text {
    text-transform: uppercase;
}
.ns-hero-promo-countdown {
    font-variant-numeric: tabular-nums;
    background: rgba(255,255,255,0.18);
    color: var(--ns-white);
    padding: 3px 10px;
    border-radius: 3px;
    letter-spacing: 0.06em;
    font-size: 0.9rem;
}
.ns-promo-sep {
    color: rgba(255,255,255,0.45);
    font-weight: 400;
    user-select: none;
}
.ns-hero-promo-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--ns-white);
    opacity: 0.7;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--ns-transition, 0.25s);
}
.ns-hero-promo-close:hover {
    opacity: 1;
}
.ns-hero-promo-close:focus-visible {
    outline: 2px solid var(--ns-white);
    outline-offset: 2px;
    opacity: 1;
}

/* Row 1: Logo (left) + Search overlay (centered) + Right actions */
.ns-header-top-row {
    position: relative;
    max-width: var(--ns-max-width);
    margin: 0 auto;
    padding: 14px 1.5rem;
    display: flex;
    align-items: center;
    gap: 16px;
}

.ns-logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 128px;          /* 给 Logo 一个固定基准宽度，让搜索框可居中 */
    margin-left: -50px;          /* 让 Logo 标题整体再往左移一点（靠近视口边缘） */
}

.ns-logo-img {
    height: 36px;
    width: auto;
}

/* Search box absolutely centered over row 1, overlapping logo/right column visually */
.ns-top-search {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: clamp(280px, 46%, 540px);
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--ns-white);
    border-radius: 2px;
    padding: 10px 14px;
    color: var(--ns-gray-700, #555);
    transition: box-shadow 0.2s ease, width 0.2s ease;
}

.ns-top-search:focus-within {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
    width: clamp(320px, 50%, 600px);
}

.ns-top-search-icon {
    flex-shrink: 0;
    color: var(--ns-gray-500, #888);
}

.ns-top-search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--ns-font);
    font-size: 0.9rem;
    color: var(--ns-black, #111);
    min-width: 0;
}

.ns-top-search-input::placeholder {
    color: var(--ns-gray-400, #999);
}

.ns-top-search-btn {
    flex-shrink: 0;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ns-black, #111);
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.ns-top-search-btn:hover {
    opacity: 1;
}

.ns-header-top-links {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-left: auto;          /* 推到最右 */
    margin-right: -100px;        /* 整排按钮再往右延伸一点（贴近容器右边缘） */
    flex-shrink: 0;
}

.ns-top-link {
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: var(--ns-white);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ns-top-link:hover {
    color: var(--ns-white);
}

/* Pick Up hover popup */
.ns-pickup-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.ns-pickup-popup {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--ns-white, #fff);
    color: var(--ns-black, #111);
    padding: 14px 18px;
    min-width: 240px;
    max-width: 320px;
    border-radius: 2px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    z-index: 260;
    pointer-events: none;
    transition: opacity 0.18s ease, visibility 0.18s ease;
    text-align: center;
    line-height: 1.5;
}

.ns-pickup-popup.visible {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

/* Arrow above the popup */
.ns-pickup-popup::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-bottom-color: var(--ns-white, #fff);
}

.ns-pickup-popup-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ns-gray-500, #888);
    margin-bottom: 6px;
}

.ns-pickup-popup-text {
    font-size: 0.85rem;
    color: var(--ns-black, #111);
    white-space: pre-line;
}

/* Row 2: Category nav (centered) */
.ns-header-main-row {
    max-width: var(--ns-max-width);
    margin: 0 auto;
    padding: 6px 1.5rem 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.ns-header-icon-btn {
    background: none;
    border: none;
    padding: 10px;
    color: var(--ns-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 2px;
    flex-shrink: 0;
}

.ns-cart-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.ns-cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--ns-red);
    color: var(--ns-white);
    font-size: 0.55rem;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Mega panel: 固定定位，宽度填满整个视口 */
#ns-mega-panel {
    display: block;
    visibility: hidden;
    opacity: 0;
    position: fixed;
    top: auto;
    left: 0;
    width: 100vw;
    background: var(--ns-black);
    z-index: 199;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s;
}

#ns-mega-panel.visible {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

/* 子菜单容器：flex 行布局，relative 让内部列可绝对定位 */
.ns-mega-col {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 0 1.5rem 2.5rem;
    gap: 0;
}

/* 子菜单内部：单列竖排，无分隔线 */
.ns-mega-col-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
}

.ns-mega-col-inner a {
    display: block;
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(241, 244, 246, 0.55);
    text-decoration: none;
    transition: color 0.18s ease;
    line-height: 1.5;
    padding: 4px 0;
    white-space: nowrap;
}

.ns-mega-col-inner a:hover {
    color: var(--ns-white);
}

/* Nav wrapper */
.ns-nav-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

/* Category Navigation — position: static 让出定位上下文给 ns-nav-wrapper */
.ns-cat-nav {
    flex: 1;
    position: static;
}

/* ──────────────────────────────────────────────
   Nav items: equal-width columns
   Sub-menu panel uses fixed proportions — no JS math needed
   ────────────────────────────────────────────── */
.ns-cat-nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;                  /* 占满第二行，让分类之间有更多空间 */
    max-width: 1280px;            /* 上限，避免大屏拉得太散 */
    margin: 0 auto;
    gap: 0;
    list-style: none;
    flex-wrap: nowrap;
}

.ns-cat-nav-outer {
    position: relative;
    display: flex;
    justify-content: center;
}

/* 分类之间的间距，按内容尺寸自然排布 + 最小间距 */
.ns-cat-nav-outer + .ns-cat-nav-outer {
    margin-left: clamp(20px, 3vw, 48px);
}

.ns-cat-nav-link {
    display: flex;
    align-items: center;
    padding: 16px 4px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.55);
    white-space: nowrap;
    transition: color 0.2s ease;
    cursor: pointer;
    text-decoration: none;
}

.ns-cat-nav-outer:hover .ns-cat-nav-link {
    color: var(--ns-white);
}

/* ============================================================
   Mobile Header
   ============================================================ */
.ns-mobile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--ns-max-width);
    margin: 0 auto;
    padding: 12px 1.5rem;
    border-bottom: 1px solid var(--ns-gray-200);
    background: var(--ns-black);
}

.ns-mobile-logo-text {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ns-white);
}

.ns-mobile-header-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Mobile Menu Overlay */
.ns-mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 300;
    background: var(--ns-black);
    flex-direction: column;
    overflow-y: auto;
}

.ns-mobile-menu.open {
    display: flex;
}

.ns-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--ns-gray-200);
    flex-shrink: 0;
    background: var(--ns-black);
}

.ns-mobile-menu-title {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ns-white);
}

.ns-mobile-menu-close {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--ns-white);
}

.ns-mobile-menu-nav {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0;
    background: var(--ns-black);
}

.ns-mobile-menu-section {
    border-bottom: 1px solid var(--ns-gray-200);
}

.ns-mobile-menu-toggle {
    width: 100%;
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--ns-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.ns-mobile-menu-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform var(--ns-transition);
    color: var(--ns-white);
}

.ns-mobile-menu-toggle.open svg {
    transform: rotate(180deg);
}

.ns-mobile-submenu {
    display: none;
    padding: 0.5rem 0 1rem 1.5rem;
    background: var(--ns-white);
}

.ns-mobile-submenu.open {
    display: block;
}

.ns-mobile-submenu a {
    display: block;
    padding: 8px 0;
    font-size: 0.95rem;
    color: var(--ns-gray-600);
    border-bottom: 1px solid var(--ns-gray-100);
    transition: color var(--ns-transition);
}

.ns-mobile-submenu a:hover {
    color: var(--ns-white);
}

.ns-mobile-menu-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--ns-gray-200);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex-shrink: 0;
    background: var(--ns-black);
}

.ns-mobile-menu-footer a {
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ns-gray-500);
    padding: 4px 0;
    transition: color var(--ns-transition);
}

.ns-mobile-menu-footer a:hover {
    color: var(--ns-white);
}

/* ============================================================
   Hero Section
   ============================================================ */
.ns-hero {
    position: relative;
    width: 100%;
    background: var(--ns-black);
    overflow: hidden;
}

.ns-hero-media {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 */
    position: relative;
}

@media (min-width: 768px) {
    .ns-hero-media {
        padding-bottom: 50%;
    }
}

@media (min-width: 1024px) {
    .ns-hero-media {
        padding-bottom: 42.5%;
    }
}

.ns-hero-video,
.ns-hero-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ns-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ns-hero-content {
    width: 100%;
    max-width: calc(1312px + 80px);
    padding: 0 24px;
    text-align: center;
}

@media (min-width: 768px) {
    .ns-hero-content {
        padding: 0 64px;
    }
}

.ns-hero-eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ns-white);
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(20px);
    animation: ns-hero-in 0.6s ease forwards 0.3s;
}

.ns-hero-title {
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--ns-red);
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
    animation: ns-hero-in 0.6s ease forwards 0.5s;
    word-break: break-word;
}

.ns-hero-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.25rem);
    font-weight: 700;
    color: var(--ns-white);
    line-height: 1.4;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(20px);
    animation: ns-hero-in 0.6s ease forwards 0.7s;
}

.ns-hero-deadline {
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    font-weight: 600;
    color: var(--ns-white);
    opacity: 0.85;
    margin-bottom: 24px;
    opacity: 0;
    transform: translateY(20px);
    animation: ns-hero-in 0.6s ease forwards 0.8s;
}

.ns-hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ns-white);
    border: 1px solid rgba(255,255,255,0.4);
    background: transparent;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: ns-hero-in 0.6s ease forwards 1s;
    cursor: pointer;
}

.ns-hero-cta:hover {
    border-color: var(--ns-white);
    background: rgba(255,255,255,0.12);
}

.ns-hero-cta svg {
    width: 14px;
    height: 14px;
    transition: transform var(--ns-transition);
}

.ns-hero-cta:hover svg {
    transform: translateX(4px);
}

/* Hero scroll indicator */
.ns-hero-scroll {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    opacity: 0;
    animation: ns-hero-in 0.6s ease forwards 1.5s;
}

.ns-hero-scroll-text {
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ns-white);
    opacity: 0.7;
}

.ns-hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
}

@keyframes ns-hero-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   Main Content Area
   ============================================================ */
.ns-main {
    max-width: var(--ns-max-width);
    margin: 0 auto;
}

/* ============================================================
   Section Shared Styles
   ============================================================ */
.ns-section {
    padding: 4rem 0;
}

.ns-section-sm {
    padding: 2.5rem 0;
}

.ns-section-lg {
    padding: 6rem 0;
}

.ns-section-padded {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.ns-section-eyebrow {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ns-gray-400);
    margin-bottom: 8px;
}

.ns-section-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--ns-white);
    margin-bottom: 8px;
}

.ns-section-subtitle {
    font-size: 0.9rem;
    color: var(--ns-gray-500);
    line-height: 1.6;
}

.ns-section-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ns-white);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity var(--ns-transition);
}

.ns-section-link:hover {
    opacity: 0.65;
}

.ns-section-link svg {
    width: 12px;
    height: 12px;
    transition: transform var(--ns-transition);
}

.ns-section-link:hover svg {
    transform: translateX(3px);
}

/* ============================================================
   Trending / Product Horizontal Scroll
   ============================================================ */
.ns-trending {
    max-width: var(--ns-max-width);
    margin: 0 auto;
    padding: 3rem 0 0;
}

.ns-trending-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 0 1.5rem;
    margin-bottom: 1.5rem;
    max-width: var(--ns-max-width);
    margin-left: auto;
    margin-right: auto;
}

.ns-trending-header-left {
    flex: 1;
}

.ns-trending-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Trending list (shares .ns-room-list-wrap scroll container) ── */
.ns-trending-list {
    display: flex;
    flex-direction: row;
    padding-left: 1.5rem;
    gap: 12px;
}

/* Trending item card — taller with rich product info */
.ns-trending-item {
    flex-shrink: 0;
    min-width: 200px;
    width: 200px;
    margin-right: 4px;
}
@media (min-width: 1024px) {
    .ns-trending-item {
        min-width: 280px;
        width: 280px;
        margin-right: 6px;
    }
}

.ns-trending-item-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.ns-trending-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ns-gray-100);
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
}

.ns-trending-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ns-trending-img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ns-gray-100);
    color: var(--ns-gray-400);
    font-size: 2rem;
    font-weight: 700;
}

/* Sale badge */
.ns-trending-sale-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #c0392b;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 3px 7px;
    border-radius: 3px;
    text-transform: uppercase;
}

/* Product info below image */
.ns-trending-info {
    padding: 10px 4px 16px;
}

.ns-trending-series {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 3px;
}

.ns-trending-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ns-black);
    line-height: 1.3;
    margin-bottom: 4px;
}
@media (min-width: 1024px) {
    .ns-trending-name {
        font-size: 0.95rem;
    }
}

.ns-trending-spec {
    font-size: 0.72rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ns-trending-dims {
    font-size: 0.68rem;
    color: #999;
    margin-bottom: 6px;
}

.ns-trending-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 6px;
}

.ns-trending-sale-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ns-black);
}
@media (min-width: 1024px) {
    .ns-trending-sale-price {
        font-size: 1.1rem;
    }
}

.ns-trending-original-price {
    font-size: 0.78rem;
    color: #999;
    text-decoration: line-through;
}

.ns-scroll-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 1.5rem;
    padding-bottom: 1rem;
    gap: 1rem;
}

.ns-scroll-track::-webkit-scrollbar {
    display: none;
}

.ns-scroll-nav {
    display: flex;
    gap: 6px;
    margin-top: 1.25rem;
    padding: 0 1.5rem;
    justify-content: flex-end;
    max-width: var(--ns-max-width);
    margin-left: auto;
    margin-right: auto;
}

.ns-scroll-nav-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--ns-gray-300);
    background: var(--ns-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ns-white);
    transition: all var(--ns-transition);
    flex-shrink: 0;
}

.ns-scroll-nav-btn:hover {
    background: var(--ns-gray-50);
    border-color: var(--ns-gray-300);
    color: var(--ns-white);
}

.ns-scroll-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ============================================================
   Product Card
   ============================================================ */
.ns-product-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    text-decoration: none;
    color: var(--ns-white);
    display: block;
    background: var(--ns-white);
    border-radius: 4px;
    transition: background 0.2s, transform 0.2s;
    border: 1px solid var(--ns-gray-200);
}
.ns-product-card:hover {
    background: var(--ns-gray-50);
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .ns-product-card {
        flex: 0 0 220px;
    }
}

.ns-product-img-wrap {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--ns-gray-100);
    margin-bottom: 0.75rem;
    position: relative;
}

.ns-product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ns-product-card:hover .ns-product-img-wrap img {
    transform: scale(1.04);
}

.ns-product-tags {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 1;
}

.ns-product-tag {
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 7px;
    color: var(--ns-white);
}

.ns-product-tag.sale {
    background: var(--ns-red);
}

.ns-product-tag.quickship {
    background: var(--ns-black);
}

.ns-product-tag.m-collection {
    background: var(--ns-gray-500);
}

.ns-product-tag.new {
    background: var(--ns-gray-700);
}

.ns-product-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ns-white);
    margin-bottom: 3px;
    line-height: 1.3;
}

.ns-product-spec {
    font-size: 0.75rem;
    color: var(--ns-gray-500);
    margin-bottom: 3px;
    line-height: 1.4;
}

.ns-product-material {
    font-size: 0.7rem;
    color: var(--ns-gray-400);
    margin-bottom: 6px;
}

.ns-product-price {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--ns-white);
}

.ns-product-original {
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--ns-gray-400);
    margin-left: 6px;
}

.ns-product-price-note {
    font-size: 0.65rem;
    font-weight: 400;
    color: var(--ns-gray-500);
    margin-left: 4px;
}

/* ============================================================
   Category Grid (room icons)
   ============================================================ */
.ns-room-section {
    max-width: var(--ns-max-width);
    margin: 0 auto;
    padding: 3rem 1.5rem 0;
}

/* Header: title left, nav right */
.ns-room-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.ns-room-section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ns-black);
    line-height: 1.2;
}

.ns-room-nav-btns {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.ns-room-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.15);
    background: rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.ns-room-btn:hover {
    background: #fff;
    border-color: rgba(0,0,0,0.25);
}
.ns-room-btn:disabled {
    opacity: 0.4;
    cursor: default;
}
.ns-room-btn:disabled:hover {
    background: rgba(0,0,0,0.04);
    border-color: rgba(0,0,0,0.15);
}

/* Scrollable list */
.ns-room-list-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    cursor: grab;
}
.ns-room-list-wrap::-webkit-scrollbar { display: none; }
.ns-room-list-wrap:active { cursor: grabbing; }
.ns-room-list-wrap.ns-dragging,
.ns-room-list-wrap.ns-dragging * {
    cursor: grabbing !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-user-drag: none !important;
}
.ns-room-list-wrap.ns-dragging img,
.ns-room-list-wrap.ns-dragging a {
    pointer-events: none;
}

.ns-room-list {
    display: flex;
    flex-direction: row;
    gap: 0;
    padding-left: 1.5rem;
}

/* Each item: rectangular card with image top + name bottom-left */
.ns-room-item {
    flex-shrink: 0;
    min-width: 152px;
    width: 152px;
    margin-right: 4px;
}
@media (min-width: 1024px) {
    .ns-room-item {
        min-width: 254px;
        width: 254px;
        margin-right: 6px;
    }
}

.ns-room-item-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.ns-room-item-img-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 152 / 112.94;
    user-select: none;
    -webkit-user-select: none;
    -webkit-touch-callout: none;
    touch-action: pan-x;
}
@media (min-width: 1024px) {
    .ns-room-item-img-wrap {
        aspect-ratio: 254 / 189.25;
    }
}

.ns-room-item-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.ns-room-item-img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ns-gray-100);
    color: var(--ns-gray-400);
    font-size: 2rem;
    font-weight: 700;
}

/* Name area: bottom-left aligned, padded */
.ns-room-item-name {
    padding: 8px 12px 24px;
}
@media (min-width: 1024px) {
    .ns-room-item-name {
        padding: 8px 24px 24px;
    }
}

.ns-room-item-name h6 {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ns-black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
@media (min-width: 1024px) {
    .ns-room-item-name h6 {
        font-size: 1rem;
    }
}

/* ============================================================
   Marketing Block (text + image two-column)
   Target: 40% text / 60% image
   ============================================================ */
.ns-content-block {
    max-width: var(--ns-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .ns-content-block {
        grid-template-columns: 40% 60%;
        gap: 3.5rem;
    }
}

.ns-content-block.reverse {
    direction: rtl;
}

.ns-content-block.reverse > * {
    direction: ltr;
}

.ns-content-text {
    max-width: 100%;
}

.ns-content-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #666;
    margin-bottom: 8px;
}

.ns-content-heading {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.6rem;
    color: #111;
}

.ns-content-body {
    font-size: 0.9rem;
    line-height: 1.75;
    color: #333;
    margin-bottom: 1.2rem;
}

.ns-content-body + .ns-content-body {
    margin-top: -0.25rem;
}

.ns-content-highlight {
    font-size: 0.9rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 1rem;
}

.ns-content-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #111;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #111;
    transition: all 0.25s ease;
}

.ns-content-cta:hover {
    background: #111;
    color: #fff;
    opacity: 1;
}

.ns-content-cta:hover svg {
    transform: translateX(4px);
}

.ns-content-cta svg {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.ns-content-img-wrap {
    overflow: hidden;
    min-height: 0;
}

.ns-content-img-wrap img,
.ns-content-img-wrap video {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ns-content-img-wrap:hover img,
.ns-content-img-wrap:hover video {
    transform: scale(1.03);
}

/* ============================================================
   Dark Promo Section
   ============================================================ */
.ns-promo-dark {
    background: var(--ns-black);
    color: var(--ns-white);
    padding: 5rem 1.5rem;
    text-align: center;
}

.ns-promo-dark-eyebrow {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 12px;
}

.ns-promo-dark-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 8px;
}

.ns-promo-dark-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.ns-promo-dark-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--ns-white);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: opacity var(--ns-transition);
}

.ns-promo-dark-cta:hover {
    opacity: 0.6;
}

/* ============================================================
   4-Column Image Grid
   ============================================================ */
.ns-grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    max-width: var(--ns-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 640px) {
    .ns-grid-4 {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
}

.ns-grid-4-item {
    position: relative;
    display: block;
    overflow: hidden;
    background: var(--ns-gray-100);
}

.ns-grid-4-item img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ns-grid-4-item:hover img {
    transform: scale(1.04);
}

.ns-grid-4-label {
    position: absolute;
    bottom: 14px;
    left: 14px;
    right: 14px;
}

.ns-grid-4-label span {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ns-white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ============================================================
   Comfort Level Section
   ============================================================ */
.ns-comfort-section {
    padding: 3rem 1.5rem;
    text-align: center;
    background: var(--ns-gray-50);
}

.ns-comfort-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 2rem auto 0;
}

@media (max-width: 640px) {
    .ns-comfort-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.ns-comfort-card {
    padding: 2rem 1.5rem;
    border: 1px solid var(--ns-gray-200);
    background: var(--ns-gray-50);
    cursor: pointer;
    transition: all var(--ns-transition);
}

.ns-comfort-card:hover {
    border-color: var(--ns-gray-400);
}

.ns-comfort-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.ns-comfort-name {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ns-white);
    margin-bottom: 6px;
}

.ns-comfort-desc {
    font-size: 0.8rem;
    color: var(--ns-gray-500);
    line-height: 1.5;
}

/* ============================================================
   Reviews Section
   ============================================================ */
.ns-reviews-section {
    background: var(--ns-gray-50);
    padding: 4rem 0;
}

.ns-reviews-inner {
    max-width: var(--ns-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.ns-reviews-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1rem;
}

.ns-reviews-title-group {
    flex: 1;
}

.ns-reviews-nav {
    display: flex;
    gap: 6px;
}

.ns-reviews-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 1rem;
}

.ns-reviews-track::-webkit-scrollbar {
    display: none;
}

.ns-review-card {
    flex: 0 0 340px;
    scroll-snap-align: start;
    background: var(--ns-gray-50);
    border: 1px solid var(--ns-gray-200);
    padding: 2rem;
}

@media (max-width: 480px) {
    .ns-review-card {
        flex: 0 0 280px;
        padding: 1.5rem;
    }
}

.ns-review-stars {
    color: var(--ns-white);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.ns-review-stars span {
    display: inline-block;
    width: 14px;
    height: 14px;
    background: var(--ns-gray-400);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    margin-right: 3px;
    vertical-align: middle;
}

.ns-review-text {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--ns-gray-600);
    margin-bottom: 1.25rem;
    font-style: italic;
}

.ns-review-author {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--ns-white);
    letter-spacing: 0.05em;
}

/* ============================================================
   Value Props Section
   ============================================================ */
.ns-values-section {
    padding: 4rem 0;
}

.ns-values-inner {
    max-width: var(--ns-max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    gap: 3rem;
}

@media (min-width: 768px) {
    .ns-values-inner {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.ns-value-card {
    text-align: center;
    padding: 1rem;
}

.ns-value-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ns-black);
}

.ns-value-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: var(--ns-white);
}

.ns-value-desc {
    font-size: 0.82rem;
    line-height: 1.65;
    color: var(--ns-gray-500);
}

/* ============================================================
   FAQ Section
   ============================================================ */
.ns-faq-section {
    background: var(--ns-gray-50);
    padding: 4rem 1.5rem;
}

.ns-faq-inner {
    max-width: 720px;
    margin: 0 auto;
}

.ns-faq-title {
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--ns-white);
}

.ns-faq-item {
    border-bottom: 1px solid var(--ns-gray-200);
    background: var(--ns-gray-50);
}

.ns-faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ns-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: opacity var(--ns-transition);
}

.ns-faq-question:hover {
    opacity: 0.75;
}

.ns-faq-question .ns-faq-num {
    font-weight: 700;
    margin-right: 8px;
    color: var(--ns-gray-400);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.ns-faq-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    transition: transform 0.25s ease;
}

.ns-faq-item.open .ns-faq-icon {
    transform: rotate(180deg);
}

.ns-faq-answer {
    display: none;
    padding: 0 1.5rem 1.5rem;
    font-size: 0.875rem;
    line-height: 1.75;
    color: var(--ns-gray-500);
}

.ns-faq-item.open .ns-faq-answer {
    display: block;
}

/* ============================================================
   Pricing Note
   ============================================================ */
.ns-pricing-note {
    padding: 1rem 1.5rem;
    font-size: 0.68rem;
    color: var(--ns-gray-500);
    line-height: 1.7;
    max-width: var(--ns-max-width);
    margin: 0 auto;
    border-top: 1px solid var(--ns-gray-200);
}

/* ============================================================
   Footer
   ============================================================ */
.ns-footer {
    background: var(--ns-black);
    color: var(--ns-white);
}

/* Footer Links */
.ns-footer-links {
    max-width: var(--ns-max-width);
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .ns-footer-links {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
}

.ns-footer-col-title {
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
}

@media (min-width: 768px) {
    .ns-footer-col-title .ns-footer-toggle {
        display: none;
    }
}

.ns-footer-col-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.ns-footer-col-links a {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    transition: color var(--ns-transition);
    line-height: 1.4;
}

.ns-footer-col-links a:hover {
    color: var(--ns-white);
}

/* Footer Bottom */
.ns-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    max-width: var(--ns-max-width);
    margin: 0 auto;
    padding: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ns-footer-country {
    display: flex;
    gap: 1.25rem;
}

.ns-footer-country a {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,0.3);
    transition: color var(--ns-transition);
}

.ns-footer-country a.active,
.ns-footer-country a:hover {
    color: var(--ns-white);
}

.ns-footer-legal {
    display: flex;
    gap: 1.5rem;
}

.ns-footer-legal a {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.3);
    transition: color var(--ns-transition);
}

.ns-footer-legal a:hover {
    color: var(--ns-white);
}

.ns-footer-copyright {
    font-size: 0.68rem;
    color: rgba(255,255,255,0.25);
    width: 100%;
    text-align: center;
}

/* ============================================================
   Floating Chat Button
   ============================================================ */
.ns-chat-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 150;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #2a2a2a;
    color: #f1f4f6;
    border: 1px solid #3c3c3c;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ns-chat-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(0,0,0,0.35);
}

.ns-chat-btn svg {
    width: 24px;
    height: 24px;
}

/* Chat Popup */
.ns-chat-popup {
    position: fixed;
    bottom: 96px;
    right: 28px;
    z-index: 150;
    width: 360px;
    max-width: calc(100vw - 32px);
    background: var(--ns-gray-50);
    border: 1px solid var(--ns-gray-200);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    display: none;
    flex-direction: column;
    max-height: 480px;
}

.ns-chat-popup.open {
    display: flex;
}

.ns-chat-popup-header {
    background: #1a1a1a;
    color: #f1f4f6;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.ns-chat-popup-title {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.ns-chat-popup-subtitle {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    margin-top: 2px;
}

.ns-chat-popup-close {
    background: none;
    border: none;
    color: var(--ns-white);
    cursor: pointer;
    padding: 4px;
    opacity: 0.7;
    transition: opacity var(--ns-transition);
}

.ns-chat-popup-close:hover {
    opacity: 1;
}

.ns-chat-popup-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ns-chat-popup-welcome {
    font-size: 0.8rem;
    color: var(--ns-gray-400);
    line-height: 1.6;
    padding: 1rem;
    background: var(--ns-gray-50);
    border-radius: 4px;
}

.ns-chat-popup-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--ns-gray-100);
    flex-shrink: 0;
}

.ns-chat-popup-input-row {
    display: flex;
    gap: 8px;
}

.ns-chat-popup-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--ns-gray-200);
    font-size: 0.82rem;
    font-family: var(--ns-font);
    outline: none;
    transition: border-color var(--ns-transition);
}

.ns-chat-popup-input:focus {
    border-color: var(--ns-gray-400);
}

.ns-chat-popup-send {
    padding: 8px 16px;
    background: #2a2a2a;
    color: #f1f4f6;
    border: none;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background var(--ns-transition);
}

.ns-chat-popup-send:hover {
    background: var(--ns-gray-700);
}

/* ============================================================
   Utility Classes
   ============================================================ */
.text-center { text-align: center; }
.text-red { color: var(--ns-red); }
.bg-white { background: var(--ns-white); }
.bg-offwhite { background: var(--ns-gray-50); }
.bg-black { background: var(--ns-black); color: var(--ns-white); }
.bg-gray-50 { background: var(--ns-gray-50); }

.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

/* ============================================================
   Responsive Helpers
   ============================================================ */
@media (max-width: 767px) {
    .ns-desktop-only { display: none !important; }
}

@media (min-width: 768px) {
    .ns-mobile-only { display: none !important; }
}

/* ============================================================
   Category Page
   ============================================================ */
.ns-category-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f9f5ed;
    display: flex;
    flex-direction: column-reverse;
}

.ns-category-hero.text-left {
    flex-direction: row-reverse;
}

.ns-category-hero__content {
    width: 100%;
    padding: 1.5rem 1rem;
    display: flex;
    align-items: center;
    background: #f9f5ed;
}

.ns-category-hero__inner {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    padding: 1rem 0;
}

.ns-category-hero__eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ns-gray-500, #666);
    margin-bottom: 0.5rem;
}

.ns-category-hero__title-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    margin-bottom: 0.75rem;
}

.ns-category-hero__title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--ns-black, #111);
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.ns-category-hero__sub {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--ns-gray-500, #666);
    display: flex;
    gap: 4px;
}

.ns-category-hero__desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ns-gray-600, #555);
    margin: 0 0 0.5rem;
}

.ns-category-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ns-black, #111);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border-bottom: 1.5px solid var(--ns-black, #111);
    padding-bottom: 2px;
}

.ns-category-hero__cta:hover { opacity: 0.7; }
.ns-category-hero__cta i { transition: transform 0.2s; }
.ns-category-hero__cta:hover i { transform: translateX(4px); }

.ns-category-hero__media {
    position: relative;
    aspect-ratio: 376 / 200;
    width: 100%;
    overflow: hidden;
    background: var(--ns-gray-100);
}

.ns-category-hero__media img,
.ns-category-hero__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (min-width: 1024px) {
    .ns-category-hero {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        min-height: 520px;
    }
    .ns-category-hero.text-right {
        flex-direction: row;
    }
    .ns-category-hero.text-left {
        flex-direction: row-reverse;
    }
    .ns-category-hero__content {
        width: 36.4%;
        max-width: 680px;
        padding: 2.5rem;
        display: flex;
        align-items: center;
    }
    .ns-category-hero__inner { padding: 0; }
    .ns-category-hero__title { font-size: 2.25rem; }
    .ns-category-hero__media {
        position: absolute;
        aspect-ratio: auto;
        width: 63.6%;
        height: 100%;
        inset: 0;
        left: auto;
        right: 0;
    }
    .ns-category-hero.text-left .ns-category-hero__media {
        right: auto;
        left: 0;
    }
}

/* ============================================================
   Series Grid
   ============================================================ */
.ns-series-section {
    max-width: var(--ns-max-width);
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.ns-series-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.ns-series-heading {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--ns-black);
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.ns-series-sub {
    font-size: 0.9rem;
    color: var(--ns-gray-400);
    margin: 0;
}

.ns-series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.ns-series-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 4px;
    overflow: hidden;
    background: var(--ns-white);
    transition: box-shadow var(--ns-transition);
}

.ns-series-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.ns-series-img-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ns-gray-100);
}

.ns-series-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ns-series-card:hover .ns-series-img {
    transform: scale(1.04);
}

.ns-series-info {
    padding: 1.25rem;
}

.ns-series-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ns-black);
    margin: 0 0 0.5rem;
}

.ns-series-desc {
    font-size: 0.82rem;
    color: var(--ns-gray-500);
    margin: 0 0 0.75rem;
    line-height: 1.5;
}

.ns-series-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ns-black);
    transition: gap 0.2s;
}

.ns-series-card:hover .ns-series-cta {
    gap: 10px;
}

/* ============================================================
   Category Products Section
   ============================================================ */
.ns-category-products-section {
    max-width: var(--ns-max-width);
    margin: 2.5rem auto 0;
    padding: 0 1.5rem 4rem;
}

.ns-section-header {
    min-height: 1px;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
}

.ns-section-heading {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ns-black);
    margin: 0 0 0.25rem;
}

.ns-section-sub {
    font-size: 0.82rem;
    color: var(--ns-gray-400);
    margin: 0;
}

.ns-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
}

/* ============================================================
   Empty State
   ============================================================ */
.ns-empty-section {
    max-width: var(--ns-max-width);
    margin: 0 auto;
    padding: 6rem 1.5rem;
    text-align: center;
}

.ns-empty-heading {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ns-black);
    margin: 0 0 0.75rem;
}

.ns-empty-sub {
    font-size: 0.9rem;
    color: var(--ns-gray-400);
    margin: 0 0 2rem;
}

.ns-empty-cta {
    display: inline-block;
    padding: 12px 28px;
    background: var(--ns-black);
    color: var(--ns-white);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background var(--ns-transition);
}

.ns-empty-cta:hover {
    background: var(--ns-gray-700);
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1023px) {
    .ns-series-section {
        padding: 2.5rem 1rem;
    }
    .ns-series-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .ns-category-products-section {
        padding: 0 1rem 3rem;
    }
}

/* ============================================================
   Series Block Section (热销系列板块)
   ============================================================ */
.ns-series-block-section {
    max-width: var(--ns-max-width);
    margin: 0 auto;
    padding: 3rem 1.5rem 0;
}

.ns-series-block-header {
    margin-bottom: 1.5rem;
}

.ns-series-block-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ns-black);
    line-height: 1.2;
}

.ns-series-block-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .ns-series-block-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    .ns-series-block-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

.ns-series-block-card {
    background: var(--ns-white);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.ns-series-block-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.ns-series-block-img-wrap {
    cursor: default;
}

.ns-series-block-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ns-gray-100);
}

.ns-series-block-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.ns-series-block-card:hover .ns-series-block-img {
    transform: scale(1.04);
}

.ns-series-block-img-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--ns-gray-200);
    color: var(--ns-gray-500);
    font-size: 2rem;
    font-weight: 700;
}

.ns-series-block-info {
    padding: 1rem;
    background: var(--ns-white);
    border-top: none;
}

.ns-series-block-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--ns-black);
    margin: 0 0 0.25rem;
    line-height: 1.3;
}

.ns-series-block-category {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--ns-gray-500);
    margin: 0 0 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ns-series-block-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ns-black);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: gap 0.2s ease;
}

.ns-series-block-card:hover .ns-series-block-cta {
    gap: 10px;
}

.ns-series-block-cta svg {
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .ns-series-block-section {
        padding: 2rem 1rem 0;
    }
    .ns-series-block-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    .ns-series-block-info {
        padding: 0.75rem;
    }
    .ns-series-block-name {
        font-size: 0.875rem;
    }
}

/* ============================================================
   USP Block Section（4 图说明板块，Why Mocka 风格）
   ============================================================ */
.ns-usp-section {
    background: #f6f6f6;
}
.ns-usp-container {
    max-width: var(--ns-max-width, 1440px);
    margin: 0 auto;
    padding: 0 1.5rem;
}
.ns-usp-heading {
    text-align: center;
    margin: 0 0 1.5rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ns-black, #0f1115);
}
@media (min-width: 1024px) {
    .ns-usp-heading {
        font-size: 1.5rem;
        margin-bottom: 2.5rem;
    }
}
.ns-usp-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1rem;
    max-width: 720px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .ns-usp-grid {
        grid-template-columns: repeat(4, minmax(164px, 1fr));
        gap: 1.5rem 3rem;
        max-width: 100%;
    }
}
.ns-usp-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-align: center;
    min-width: 164px;
    max-width: 264px;
    margin: 0 auto;
}
.ns-usp-img-wrap {
    width: 5rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
}
@media (min-width: 1024px) {
    .ns-usp-img-wrap {
        width: 6rem;
        height: 6rem;
    }
}
.ns-usp-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}
.ns-usp-img-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.04);
    border-radius: 50%;
}
.ns-usp-title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ns-black, #0f1115);
}
@media (min-width: 1024px) {
    .ns-usp-title {
        font-size: 1rem;
    }
}
.ns-usp-desc {
    margin: 0;
    font-size: 0.75rem;
    color: var(--ns-gray-500, #6b7280);
    line-height: 1.4;
}
@media (min-width: 1024px) {
    .ns-usp-desc {
        font-size: 0.875rem;
    }
}

/* ============================================================
   Review Block Section (热门评论板块) — 深色卡片风格
   ============================================================ */
.ns-review-block-section {
    max-width: var(--ns-max-width);
    margin: 0 auto;
    padding: 3rem 1.5rem 2rem;
}

.ns-review-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.ns-review-block-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ns-black);
    line-height: 1.2;
}

.ns-review-block-nav-btns {
    display: flex;
    gap: 8px;
}

.ns-review-block-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--ns-gray-300);
    background: var(--ns-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ns-gray-700);
    cursor: pointer;
    transition: all var(--ns-transition);
    flex-shrink: 0;
}

.ns-review-block-btn:hover {
    background: var(--ns-gray-50);
    border-color: var(--ns-gray-300);
    color: var(--ns-black);
}

.ns-review-block-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.ns-review-block-btn:disabled:hover {
    background: var(--ns-white);
    border-color: var(--ns-gray-300);
    color: var(--ns-gray-700);
}

.ns-review-block-list-wrap {
    position: relative;
    margin: 0 -1.5rem;
    padding: 0 1.5rem;
}

.ns-review-block-list {
    display: flex;
    gap: 0.875rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 0.75rem;
}

.ns-review-block-list::-webkit-scrollbar {
    display: none;
}

/* ── 白色评论卡片 ── */
.ns-review-block-card {
    flex-shrink: 0;
    width: 320px;
    scroll-snap-align: start;
}

@media (min-width: 768px) {
    .ns-review-block-card {
        width: 380px;
    }
}

@media (min-width: 1024px) {
    .ns-review-block-card {
        width: 420px;
    }
}

.ns-review-block-card-inner {
    background: var(--ns-white);
    border: 1px solid var(--ns-gray-200);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-height: 220px;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.ns-review-block-card-inner:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

/* ── 顶部行：客户名(左) + 日期(右) ── */
.ns-review-block-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.15rem;
}

.ns-review-block-customer-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--ns-black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ns-review-block-date {
    font-size: 0.7rem;
    color: var(--ns-gray-500);
    font-weight: 500;
    white-space: nowrap;
}

/* ── 星级 ── */
.ns-review-block-stars {
    font-size: 1rem;
    letter-spacing: 3px;
    line-height: 1;
}

.ns-review-block-stars-filled {
    color: #f59e0b;
}

/* ── 标题 ── */
.ns-review-block-card-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--ns-black);
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── 正文 ── */
.ns-review-block-card-body {
    font-size: 0.8rem;
    color: var(--ns-gray-600);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

/* ── 底部行：商品 ── */
.ns-review-block-card-bottom {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--ns-gray-100);
}

/* ── 商品信息 ── */
.ns-review-block-product {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: default;
    max-width: 100%;
}

.ns-review-block-product-img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--ns-gray-100);
}

.ns-review-block-product-img-placeholder {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: var(--ns-gray-200);
    color: var(--ns-gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.ns-review-block-product-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ns-gray-700);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

/* ── 响应式 ── */
@media (max-width: 767px) {
    .ns-review-block-section {
        padding: 2rem 1rem 1.5rem;
    }
    .ns-review-block-title {
        font-size: 1.25rem;
    }
    .ns-review-block-card {
        width: 280px;
    }
    .ns-review-block-card-inner {
        padding: 1rem 1.125rem 0.875rem;
    }
    .ns-review-block-list-wrap {
        margin: 0 -1rem;
        padding: 0 1rem;
    }
}

/* ============================================================
   PLP CARD (商品列表卡片 - Mocka 风格)
   ============================================================ */
.plp-card-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-bottom: 3rem;
}

@media (min-width: 1024px) {
    .plp-card-grid-wrapper {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem 1rem;
    }
}

.plp-card-grid {
    display: flex;
    flex-direction: column;
    background: transparent;
    color: var(--ns-gray-700);
    transition: opacity 0.2s ease;
}

.plp-card-grid:hover {
    opacity: 0.92;
}

/* ── 图片区 ── */
.plp-card-image {
    position: relative;
    margin-bottom: 1rem;
    overflow: hidden;
}

.plp-card-figure {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--ns-gray-100);
    border-radius: 4px;
}

.plp-card-image-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
}

.plp-card-img-stage {
    position: absolute;
    inset: 0;
}

.plp-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.5s ease;
    pointer-events: none;
}

.plp-card-img.is-active {
    opacity: 1;
    z-index: 1;
}

.plp-card-grid:hover .plp-card-img.is-active {
    transform: scale(1.04);
}

/* ── 左右切换按钮（hover 时显示；多图才有意义） ── */
.plp-card-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ns-white);
    background: rgba(0, 0, 0, 0.45);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
    transition: opacity 0.2s ease, background 0.2s ease;
}

.plp-card-figure:hover .plp-card-arrow,
.plp-card-arrow:focus-visible {
    opacity: 1;
}

.plp-card-arrow:hover {
    background: rgba(0, 0, 0, 0.65);
}

.plp-card-arrow-prev { left: 0.5rem; }
.plp-card-arrow-next { right: 0.5rem; }

@media (min-width: 1024px) {
    .plp-card-arrow-prev { left: 0.75rem; }
    .plp-card-arrow-next { right: 0.75rem; }
}

/* ── 白点指示器（hover 时显示；多图才有意义） ── */
.plp-card-dots {
    position: absolute;
    left: 50%;
    bottom: 0.5rem;
    transform: translateX(-50%);
    z-index: 9;
    display: inline-flex;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.plp-card-figure:hover .plp-card-dots,
.plp-card-dots:focus-within {
    opacity: 1;
}

.plp-card-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transition: transform 0.2s ease, background 0.2s ease;
    cursor: pointer;
}

.plp-card-dot.is-active {
    background: var(--ns-white);
    transform: scale(1.4);
}

.plp-card-image-link {
    display: block;
    pointer-events: auto;
}

.plp-card-img.is-swapping {
    opacity: 0.4;
}

/* wishlist heart */
.plp-card-wishlist {
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
    z-index: 10;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    color: var(--ns-gray-700);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.plp-card-grid:hover .plp-card-wishlist,
.plp-card-wishlist:focus-visible {
    opacity: 1;
}

.plp-card-wishlist:hover svg path {
    fill: var(--ns-red);
    stroke: var(--ns-red);
}

/* ── 标签（左上角） ── */
.plp-card-badge-wrapper {
    position: absolute;
    left: 0.5rem;
    top: 0.5rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

@media (min-width: 1024px) {
    .plp-card-badge-wrapper {
        left: 1rem;
        top: 1rem;
    }
}

.plp-card-badge {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.plp-badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
    text-align: center;
    border-radius: 2px;
    line-height: 1.2;
}

.plp-badge-sale {
    background: var(--ns-red);
    color: var(--ns-white);
}

.plp-badge-rts {
    background: var(--ns-gray-700);
    color: var(--ns-white);
}

.plp-badge-new {
    background: var(--ns-gray-200);
    color: var(--ns-gray-700);
}

/* 自定义角标（颜色由内联 style 渲染） */
.plp-badge-custom {
    text-transform: uppercase;
}

/* ── 信息区 ── */
.plp-card-info {
    display: flex;
    flex: 1;
    flex-direction: column;
}

/* 色块 + Quick View */
.plp-card-swatches-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.plp-swatches {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-height: 28px;
}

.plp-swatch {
    width: 28px;
    height: 28px;
    max-width: 28px;
    max-height: 28px;
    padding: 2px;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.15s ease;
}

.plp-swatch:hover {
    border-color: var(--ns-gray-300);
}

.plp-swatch.is-active {
    border-color: var(--ns-gray-700);
}

.plp-swatch-inner {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-size: cover;
    background-position: center;
}

.plp-card-quick-view-link {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--ns-gray-700);
    background: var(--ns-gray-100);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.2s ease;
}

@media (min-width: 768px) {
    .plp-card-quick-view-link {
        display: inline-flex;
    }
}

.plp-card-quick-view-link:hover {
    background: var(--ns-gray-200);
}

/* 标题 + 价格 */
.plp-card-wrapper {
    display: flex;
    flex: 1;
    flex-direction: column;
    margin-top: auto;
}

.plp-card-title {
    display: flex;
    flex: 1;
    flex-direction: column;
    margin-bottom: 0.375rem;
}

.plp-card-title-link {
    flex: 1;
    word-break: break-word;
    font-size: 0.875rem;
    color: var(--ns-gray-700);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.plp-card-title-link:hover {
    color: var(--ns-black);
}

.plp-card-subtitle {
    flex: 1;
    font-size: 0.875rem;
    color: var(--ns-gray-500);
    margin-top: 2px;
}
.plp-card-subtitle:empty {
    display: none;
}

.plp-card-price-wrapper {
    margin-top: auto;
}

.plp-card-price {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.5rem;
    color: var(--ns-gray-700);
}

.plp-card-price-now {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--ns-gray-700);
    white-space: nowrap;
    letter-spacing: 0.03em;
}

.plp-card-price-line {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--ns-gray-300);
    text-decoration: line-through;
    white-space: nowrap;
    letter-spacing: 0.03em;
}

.plp-card-price.is-sale .plp-card-price-now {
    color: var(--ns-red);
}

.plp-card-promo {
    margin-top: 0.375rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--ns-red);
    line-height: 1.4;
}

/* 移动端微调 */
@media (max-width: 767px) {
    .plp-card-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .plp-card-swatches-wrapper {
        min-height: 28px;
    }
}
