/**
 * NineSex 2026 Modern UI Stylesheet — v3.0.0 Soft Luxury Light Edition
 * Warm Ivory & Porcelain Palette, Burgundy Rose & Champagne Gold Accents,
 * Full Mobile & Tablet Responsive Architecture + Slide-Out Drawer
 */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body,
body.ns-luxury-light-theme,
body.ns-dark-theme {
  background-color: var(--ns-bg-main);
  color: var(--ns-text-main);
  font-family: var(--ns-font-sans);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

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

img.wp-smiley,
img.emoji {
  display: inline-block !important;
  border: none !important;
  box-shadow: none !important;
  height: 1.05em !important;
  width: 1.05em !important;
  margin: 0 0.15em 0 0 !important;
  vertical-align: -0.15em !important;
  background: none !important;
  padding: 0 !important;
  flex-shrink: 0;
}

.ns-container {
  width: 100%;
  max-width: var(--ns-container);
  margin: 0 auto;
  padding: 0 20px;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ==========================================================================
   Top Promo Bar (Velvet Burgundy & Warm Champagne)
   ========================================================================== */
.ns-topbar {
  background: linear-gradient(90deg, #131f47 0%, #223a82 50%, #2e1d6b 100%);
  color: #fdfbf7;
  font-size: 0.84rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(142, 104, 230, 0.3);
}

.ns-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ns-topbar-promo {
  font-weight: 500;
  letter-spacing: 0.1px;
}

.ns-topbar-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  white-space: nowrap;
}

.ns-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #f7efe2;
  font-size: 0.82rem;
}

.ns-topbar-item:hover {
  color: #ffffff;
}

.ns-line-pill {
  background: #06c755;
  color: #ffffff !important;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  box-shadow: 0 2px 8px rgba(6, 199, 85, 0.3);
}

/* ==========================================================================
   Sticky Header & Brand (Porcelain Glassmorphism)
   ========================================================================== */
.ns-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--ns-border);
  box-shadow: 0 4px 20px rgba(35, 31, 32, 0.05);
}

.ns-header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 20px;
}

.ns-header-brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.ns-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ns-logo-mark {
  background: linear-gradient(135deg, var(--ns-primary), var(--ns-accent));
  color: #ffffff;
  font-weight: 800;
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px var(--ns-primary-glow);
  flex-shrink: 0;
}

.ns-logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.ns-logo-title {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--ns-text-main);
  white-space: nowrap;
}

.ns-logo-title .ns-dot {
  color: var(--ns-primary);
}

.ns-logo-sub {
  font-size: 0.65rem;
  letter-spacing: 1.6px;
  color: var(--ns-gold);
  font-weight: 700;
  margin-top: 2px;
  white-space: nowrap;
}

/* Hamburger Toggle Button (Visible on Tablet & Mobile) */
.ns-mobile-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--ns-bg-main);
  border: 1px solid var(--ns-border);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.ns-mobile-toggle:hover {
  border-color: var(--ns-primary);
  background: var(--ns-bg-surface);
}

.ns-hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--ns-text-main);
  border-radius: 2px;
}

/* Search Form */
.ns-header-search {
  flex: 1;
  max-width: 540px;
  min-width: 0;
}

.ns-search-form {
  display: flex;
  align-items: stretch;
  background: var(--ns-bg-main);
  border: 1px solid var(--ns-border);
  border-radius: 999px;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.ns-search-form:focus-within {
  background: #ffffff;
  border-color: var(--ns-primary);
  box-shadow: 0 0 0 3px var(--ns-primary-glow);
}

.ns-search-field {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  color: var(--ns-text-main);
  padding: 10px 18px;
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
}

.ns-search-field::placeholder {
  color: var(--ns-text-muted);
  opacity: 0.8;
}

.ns-search-submit {
  background: linear-gradient(135deg, var(--ns-primary), var(--ns-accent));
  color: #ffffff;
  border: none;
  padding: 0 20px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-shrink: 0;
  white-space: nowrap;
}

.ns-search-submit:hover {
  background: var(--ns-primary-hover);
}

/* Header Action Buttons */
.ns-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.ns-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--ns-bg-main);
  border: 1px solid var(--ns-border);
  padding: 7px 14px;
  border-radius: 12px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(35, 31, 32, 0.03);
}

.ns-action-btn:hover {
  background: #ffffff;
  border-color: var(--ns-border-hover);
}

.ns-line-header-btn:hover {
  border-color: #06c755;
  background: #f2fdf6;
}

.ns-action-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.ns-action-meta small {
  font-size: 0.68rem;
  color: var(--ns-text-muted);
}

.ns-action-meta strong {
  font-size: 0.86rem;
  color: #05a847;
}

.ns-cart-btn {
  position: relative;
  padding: 9px 14px;
}

.ns-cart-count {
  background: var(--ns-primary);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

/* ==========================================================================
   Navigation & Mega Menu Bar (Non-Clipping, Single-Line Swipeable)
   ========================================================================== */
.ns-nav-bar {
  background: var(--ns-bg-surface);
  border-top: 1px solid var(--ns-border);
}

.ns-nav-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  position: relative;
}

.ns-mega-wrapper {
  position: relative;
  flex-shrink: 0;
}

.ns-mega-trigger {
  background: linear-gradient(135deg, var(--ns-primary), var(--ns-accent));
  color: #ffffff;
  border: none;
  padding: 11px 18px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 0;
  transition: opacity 0.2s ease;
}

.ns-mega-trigger:hover {
  opacity: 0.94;
}

.ns-mega-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 680px;
  max-width: 92vw;
  background: #ffffff;
  border: 1px solid var(--ns-border);
  border-radius: 0 0 var(--ns-radius-md) var(--ns-radius-md);
  box-shadow: 0 24px 48px rgba(35, 31, 32, 0.14);
  padding: 20px;
  display: none;
  z-index: 1050;
}

@media (min-width: 1025px) {
  .ns-mega-wrapper:hover .ns-mega-dropdown {
    display: block;
  }
}

.ns-mega-wrapper.is-open .ns-mega-dropdown {
  display: block;
}

.ns-mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  max-height: 68vh;
  overflow-y: auto;
}

.ns-mega-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--ns-radius-sm);
  background: var(--ns-bg-main);
  border: 1px solid transparent;
}

.ns-mega-item:hover {
  border-color: var(--ns-border-hover);
  background: #f4f6fd;
}

.ns-mega-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.ns-mega-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--ns-text-main);
}

.ns-mega-item small {
  color: var(--ns-text-muted);
  font-size: 0.76rem;
}

/* Primary Horizontal Navigation */
.ns-primary-nav {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ns-primary-nav::-webkit-scrollbar {
  display: none;
}

.ns-nav-list {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  list-style: none;
  gap: 22px;
}

.ns-nav-list li {
  flex-shrink: 0;
  white-space: nowrap;
}

.ns-nav-list a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ns-text-main);
  padding: 11px 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.ns-nav-list a:hover {
  color: var(--ns-primary);
}

.ns-menu-badge {
  background: var(--ns-primary);
  color: #ffffff;
  font-size: 0.64rem;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
  line-height: 1.3;
}

.ns-nav-promo-tag {
  font-size: 0.82rem;
  color: var(--ns-gold);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
}

/* ==========================================================================
   Mobile & Tablet Slide-Out Navigation Drawer
   ========================================================================== */
.ns-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(35, 31, 32, 0.45);
  backdrop-filter: blur(4px);
  z-index: 9990;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.ns-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.ns-mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 330px;
  max-width: 86vw;
  background: #ffffff;
  z-index: 9995;
  box-shadow: 12px 0 36px rgba(35, 31, 32, 0.16);
  transform: translateX(-104%);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ns-mobile-drawer.is-open {
  transform: translateX(0);
}

.ns-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: var(--ns-bg-main);
  border-bottom: 1px solid var(--ns-border);
}

.ns-drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--ns-border);
  background: #ffffff;
  color: var(--ns-text-main);
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ns-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ns-drawer-cta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.ns-drawer-cta-row .ns-btn {
  padding: 10px 12px;
  font-size: 0.84rem;
  border-radius: 10px;
  white-space: nowrap;
}

.ns-drawer-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--ns-gold);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ns-border);
}

.ns-drawer-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ns-drawer-menu-list a {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ns-text-main);
  text-align: left !important;
  width: 100%;
}

.ns-drawer-item-left {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  text-align: left;
}

.ns-drawer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  flex-shrink: 0;
}

.ns-drawer-menu-list a .ns-menu-badge {
  margin-left: auto !important;
  flex-shrink: 0;
}

.ns-drawer-menu-list a:hover {
  background: var(--ns-bg-main);
  color: var(--ns-primary);
}

.ns-drawer-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ns-drawer-cat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  background: var(--ns-bg-main);
  border: 1px solid var(--ns-border);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ns-text-main);
}

.ns-drawer-cat-item:hover {
  border-color: var(--ns-primary);
  color: var(--ns-primary);
}

.ns-drawer-cat-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
}

.ns-drawer-cat-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   Hero Banner (Soft Luxury Silk & Rose Gold Split Layout)
   ========================================================================== */
.ns-hero {
  position: relative;
  padding: 52px 0;
  overflow: hidden;
  background: radial-gradient(circle at 82% 22%, rgba(142, 104, 230, 0.15), transparent 55%),
              radial-gradient(circle at 15% 80%, rgba(166, 124, 46, 0.1), transparent 50%),
              linear-gradient(180deg, #ffffff 0%, var(--ns-bg-surface) 100%);
  border-bottom: 1px solid var(--ns-border);
}

.ns-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.ns-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f4f6fd;
  border: 1px solid rgba(158, 42, 71, 0.28);
  color: var(--ns-primary);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.ns-hero-title {
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--ns-text-main);
  margin-bottom: 16px;
}

.ns-hero-subtitle {
  color: var(--ns-text-muted);
  font-size: 1.02rem;
  margin-bottom: 24px;
  max-width: 640px;
}

.ns-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.ns-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.94rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.ns-btn-primary {
  background: linear-gradient(135deg, var(--ns-primary), var(--ns-accent));
  color: #ffffff !important;
  box-shadow: 0 8px 20px var(--ns-primary-glow);
}

.ns-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(158, 42, 71, 0.26);
}

.ns-btn-line, .ns-btn-line-full {
  background: #06c755;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(6, 199, 85, 0.22);
}

.ns-btn-line:hover, .ns-btn-line-full:hover {
  background: #05b04b;
  transform: translateY(-2px);
}

.ns-btn-line-full {
  width: 100%;
  margin-top: 14px;
}

.ns-btn-outline {
  border-color: var(--ns-border);
  background: #ffffff;
  color: var(--ns-text-main);
}

.ns-btn-outline:hover {
  border-color: var(--ns-primary);
  color: var(--ns-primary);
}

.ns-hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 0.84rem;
  color: var(--ns-text-muted);
  font-weight: 500;
}

.ns-hero-showcase-card {
  background: #ffffff;
  border: 1px solid var(--ns-border);
  border-top: 3px solid var(--ns-accent);
  border-radius: var(--ns-radius-lg);
  padding: 24px 22px;
  box-shadow: 0 14px 36px rgba(34, 58, 130, 0.08);
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ns-hero-showcase-card:hover {
  box-shadow: 0 18px 44px rgba(34, 58, 130, 0.12);
}

.ns-showcase-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ns-primary);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.ns-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #06c755;
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(6, 199, 85, 0.2);
  flex-shrink: 0;
}

.ns-showcase-brand-tag {
  color: var(--ns-primary);
  font-weight: 700;
}

.ns-discount-pill {
  background: linear-gradient(135deg, var(--ns-primary), var(--ns-accent));
  color: #ffffff;
  padding: 3px 11px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  margin-left: auto;
  box-shadow: 0 2px 8px rgba(142, 104, 230, 0.25);
}

.ns-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ns-mini-stat {
  background: var(--ns-bg-main);
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius-md);
  padding: 13px 14px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.ns-mini-stat:hover {
  border-color: var(--ns-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(142, 104, 230, 0.1);
}

.ns-stat-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.ns-stat-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.ns-stat-tag {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--ns-accent);
  background: rgba(142, 104, 230, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.ns-mini-stat strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ns-text-main);
  line-height: 1.3;
  margin-bottom: 3px;
}

.ns-mini-stat span {
  display: block;
  font-size: 0.76rem;
  color: var(--ns-text-muted);
  line-height: 1.4;
}

.ns-showcase-footer {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--ns-border);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--ns-text-muted);
}

.ns-sc-shield {
  color: var(--ns-accent);
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* ==========================================================================
   Trust Bar & Section Grids
   ========================================================================== */
.ns-trust-section {
  padding: 26px 0;
  background: var(--ns-bg-main);
  border-bottom: 1px solid var(--ns-border);
}

.ns-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ns-trust-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #ffffff;
  border: 1px solid var(--ns-border);
  padding: 16px 18px;
  border-radius: var(--ns-radius-md);
  box-shadow: var(--ns-shadow-sm);
}

.ns-trust-icon {
  font-size: 1.7rem;
  flex-shrink: 0;
}

.ns-trust-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ns-text-main);
  margin-bottom: 3px;
}

.ns-trust-desc {
  font-size: 0.8rem;
  color: var(--ns-text-muted);
  line-height: 1.45;
}

.ns-section {
  padding: 52px 0;
}

.ns-surface-alt {
  background: var(--ns-bg-surface);
}

.ns-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.ns-eyebrow {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--ns-gold);
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.ns-section-title {
  font-size: clamp(1.3rem, 2.3vw, 1.8rem);
  font-weight: 800;
  color: var(--ns-text-main);
  line-height: 1.3;
}

.ns-link-arrow {
  color: var(--ns-primary);
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.ns-link-arrow:hover {
  color: var(--ns-primary-hover);
  text-decoration: underline;
}

/* Category Bento Grid */
.ns-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.ns-cat-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  border: 1px solid var(--ns-border);
  padding: 16px;
  border-radius: var(--ns-radius-md);
  box-shadow: var(--ns-shadow-sm);
}

.ns-cat-card:hover {
  border-color: var(--ns-border-hover);
  transform: translateY(-3px);
  box-shadow: var(--ns-shadow-md);
}

.ns-cat-icon {
  font-size: 1.75rem;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #f4f6fd;
  border: 1px solid rgba(158, 42, 71, 0.14);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ns-cat-info {
  min-width: 0;
}

.ns-cat-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ns-text-main);
  line-height: 1.3;
}

.ns-cat-desc {
  font-size: 0.78rem;
  color: var(--ns-text-muted);
  margin-top: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Blog & Video Review Cards */
.ns-blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.ns-blog-card {
  background: #ffffff;
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius-md);
  overflow: hidden;
  box-shadow: var(--ns-shadow-sm);
  display: flex;
  flex-direction: column;
}

.ns-blog-card:hover {
  border-color: var(--ns-border-hover);
  box-shadow: var(--ns-shadow-md);
  transform: translateY(-3px);
}

.ns-blog-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.ns-blog-placeholder {
  height: 170px;
  background: linear-gradient(135deg, #edf0fb, #e4e8fa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--ns-primary);
}

.ns-blog-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ns-blog-cat {
  font-size: 0.74rem;
  color: var(--ns-gold);
  font-weight: 700;
}

.ns-blog-title {
  font-size: 0.98rem;
  margin-top: 6px;
  line-height: 1.42;
  color: var(--ns-text-main);
}

.ns-blog-excerpt {
  font-size: 0.84rem;
  color: var(--ns-text-muted);
  margin-top: 8px;
}

/* ==========================================================================
   Single Post, Page Card & Rich Article Content Styling
   ========================================================================== */
.ns-content-sidebar-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 32px;
  align-items: start;
}

.ns-single-article,
.ns-page-card {
  background: #ffffff;
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius-lg);
  padding: 36px;
  box-shadow: var(--ns-shadow-sm);
}

.ns-single-header,
.ns-page-header,
.ns-shop-header {
  margin-bottom: 24px;
}

.ns-single-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.84rem;
  color: var(--ns-text-muted);
  margin-bottom: 10px;
}

.ns-single-title,
.ns-page-title {
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  font-weight: 800;
  color: var(--ns-text-main);
  line-height: 1.3;
}

.ns-single-featured {
  margin-bottom: 24px;
  border-radius: var(--ns-radius-md);
  overflow: hidden;
}

.ns-entry-content {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--ns-text-main);
}

.ns-entry-content h2 {
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--ns-primary);
  margin: 28px 0 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--ns-bg-surface);
}

.ns-entry-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ns-text-main);
  margin: 22px 0 10px;
}

.ns-entry-content p {
  margin-bottom: 16px;
}

.ns-entry-content ul,
.ns-entry-content ol {
  margin: 0 0 18px 22px;
}

.ns-entry-content li {
  margin-bottom: 8px;
}

.ns-entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.92rem;
  background: #ffffff;
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius-sm);
  overflow: hidden;
  display: block;
  overflow-x: auto;
}

.ns-entry-content th {
  background: var(--ns-bg-surface);
  color: var(--ns-text-main);
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 2px solid var(--ns-border);
  white-space: nowrap;
}

.ns-entry-content td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--ns-border);
  color: var(--ns-text-main);
}

.ns-entry-content tr:nth-child(even) td {
  background: var(--ns-bg-main);
}

/* ==========================================================================
   SEO Box & Breadcrumbs
   ========================================================================== */
.ns-seo-box {
  background: #ffffff;
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius-md);
  padding: 28px;
  box-shadow: var(--ns-shadow-sm);
}

.ns-seo-box h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--ns-primary);
}

.ns-seo-box p {
  color: var(--ns-text-muted);
  font-size: 0.94rem;
}

.ns-breadcrumbs {
  background: var(--ns-bg-surface);
  padding: 10px 0;
  border-bottom: 1px solid var(--ns-border);
  font-size: 0.82rem;
}

.ns-breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 6px;
  color: var(--ns-text-muted);
}

.ns-breadcrumb-list li + li::before {
  content: "/";
  margin-right: 6px;
  color: var(--ns-gold);
}

/* ==========================================================================
   Footer (Warm Luxury Cashmere & Charcoal)
   ========================================================================== */
.ns-footer {
  background: var(--ns-bg-surface);
  border-top: 1px solid var(--ns-border);
  padding: 52px 0 28px;
  margin-top: 40px;
}

.ns-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 30px;
  margin-bottom: 34px;
}

.ns-footer-about {
  color: var(--ns-text-muted);
  font-size: 0.88rem;
  margin: 14px 0;
}

.ns-footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.86rem;
  color: var(--ns-text-main);
}

.ns-footer-heading {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--ns-text-main);
}

.ns-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--ns-text-muted);
}

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

.ns-footer-cta-card {
  background: #ffffff;
  border: 1px solid var(--ns-border);
  padding: 20px;
  border-radius: var(--ns-radius-md);
  font-size: 0.86rem;
  box-shadow: var(--ns-shadow-sm);
}

.ns-footer-cta-card p {
  margin-bottom: 12px;
  color: var(--ns-text-muted);
}

.ns-payment-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.76rem;
  color: var(--ns-text-muted);
}

.ns-footer-bottom {
  border-top: 1px solid var(--ns-border);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--ns-text-muted);
}

/* ==========================================================================
   Floating LINE + WhatsApp + Age Modal (Positioned cleanly above chat icon)
   ========================================================================== */
.ns-floating-stack {
  position: fixed;
  right: 18px;
  bottom: 94px;
  z-index: 980;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
}

.ns-float-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.84rem;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(35, 31, 32, 0.18);
  border: none;
  cursor: pointer;
}

.ns-float-line {
  background: #06c755;
}

.ns-float-wa {
  background: #25d366;
}

.ns-float-top {
  background: #ffffff;
  color: var(--ns-text-main);
  border: 1px solid var(--ns-border);
  padding: 8px 13px;
}

.ns-age-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(35, 31, 32, 0.65);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ns-age-card {
  background: #ffffff;
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius-lg);
  max-width: 460px;
  width: 100%;
  padding: 34px 26px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(35, 31, 32, 0.25);
}

.ns-age-badge {
  display: inline-block;
  background: var(--ns-primary);
  color: #ffffff;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  font-size: 0.82rem;
}

.ns-age-card h2 {
  color: var(--ns-text-main);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.ns-age-card p {
  color: var(--ns-text-muted);
  font-size: 0.92rem;
}

.ns-age-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 22px 0 14px;
}

/* ==========================================================================
   Multi-Mode Hero & Promo Banners
   ========================================================================== */
.ns-hero-full-image {
  padding: 20px 0;
  background: var(--ns-bg-main);
}

.ns-full-banner-link {
  display: block;
  border-radius: var(--ns-radius-lg);
  overflow: hidden;
  border: 1px solid var(--ns-border);
  box-shadow: var(--ns-shadow-md);
}

.ns-full-banner-img,
.ns-hero-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--ns-radius-lg);
  object-fit: cover;
}

.ns-mid-banner-section {
  padding: 12px 0 32px;
}

/* ==========================================================================
   SEO Internal Link Silo Pills, Inline Links & FAQ Accordion
   ========================================================================== */
.ns-inline-seo-link {
  color: var(--ns-primary);
  text-decoration: underline;
  text-decoration-color: rgba(158, 42, 71, 0.35);
  text-underline-offset: 3px;
  font-weight: 600;
}

.ns-inline-seo-link:hover {
  color: var(--ns-gold);
  text-decoration-color: var(--ns-gold);
}

.ns-seo-internal-links {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--ns-border);
}

.ns-seo-links-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ns-text-main);
  margin-bottom: 12px;
}

.ns-seo-pill-cloud,
.ns-subcat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.ns-subcat-pills {
  margin-top: 14px;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius-md);
}

.ns-subcat-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--ns-gold);
  margin-right: 4px;
}

.ns-seo-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ns-bg-main);
  border: 1px solid var(--ns-border);
  color: var(--ns-text-main);
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
}

.ns-seo-pill:hover,
.ns-seo-pill.is-active {
  background: var(--ns-primary);
  border-color: var(--ns-primary);
  color: #ffffff;
}

.ns-seo-pill small {
  color: inherit;
  opacity: 0.8;
  font-size: 0.74rem;
}

.ns-faq-grid {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.ns-faq-item {
  background: var(--ns-bg-main);
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius-sm);
  padding: 14px 18px;
}

.ns-faq-item summary {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ns-text-main);
  cursor: pointer;
}

.ns-faq-item p {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--ns-text-muted);
}

.ns-product-internal-links {
  margin-top: 20px;
  padding: 16px;
  background: var(--ns-bg-main);
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius-md);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
}

.ns-pil-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.ns-archive-seo-footer {
  margin-top: 32px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid var(--ns-border);
  border-radius: var(--ns-radius-md);
  box-shadow: var(--ns-shadow-sm);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Tablet: <= 1024px | Mobile: <= 767px | Small: <= 480px)
   ========================================================================== */

/* 1. Tablet View (768px to 1024px) */
@media (max-width: 1024px) {
  .ns-mobile-toggle {
    display: inline-flex;
  }

  .ns-header-main {
    gap: 14px;
    padding: 12px 16px;
  }

  .ns-nav-promo-tag {
    display: none;
  }

  .ns-hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ns-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .ns-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .ns-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .ns-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .ns-content-sidebar-wrap {
    grid-template-columns: 1fr;
  }

  .ns-mega-dropdown {
    position: fixed;
    top: auto;
    left: 16px;
    right: 16px;
    width: auto;
    max-width: none;
    border-radius: var(--ns-radius-md);
  }
}

/* 2. Mobile View (<= 767px) */
@media (max-width: 767px) {
  .ns-container {
    padding: 0 14px;
  }

  /* Compact Single-Line Top Promo Bar */
  .ns-topbar {
    padding: 6px 0;
    font-size: 0.75rem;
  }

  .ns-topbar-inner {
    justify-content: center;
  }

  .ns-topbar-promo {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    text-align: center;
  }

  .ns-topbar-links {
    display: none;
  }

  /* Compact 2-Row Sticky Header */
  .ns-header-main {
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px 14px;
  }

  .ns-header-brand-group {
    gap: 8px;
  }

  .ns-mobile-toggle {
    width: 36px;
    height: 36px;
  }

  .ns-logo-mark {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
    border-radius: 9px;
  }

  .ns-logo-title {
    font-size: 1.1rem;
  }

  .ns-logo-sub {
    font-size: 0.56rem;
    letter-spacing: 1.1px;
  }

  .ns-header-actions {
    gap: 6px;
  }

  .ns-action-btn {
    padding: 6px 10px;
    border-radius: 10px;
    gap: 5px;
  }

  .ns-action-meta small {
    display: none;
  }

  .ns-action-meta strong {
    font-size: 0.78rem;
  }

  .ns-cart-btn {
    padding: 6px 10px;
  }

  .ns-header-search {
    order: 3;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  .ns-search-field {
    padding: 8px 14px;
    font-size: 16px;
  }

  .ns-search-submit {
    padding: 0 14px;
    font-size: 0.82rem;
  }

  /* Sleek Single-Line Swipeable Navigation Bar */
  .ns-nav-bar {
    padding: 6px 0;
  }

  .ns-nav-inner {
    gap: 10px;
  }

  .ns-mega-trigger {
    padding: 7px 12px;
    font-size: 0.8rem;
    border-radius: 999px;
    gap: 6px;
  }

  .ns-nav-list {
    gap: 14px;
  }

  .ns-nav-list a {
    padding: 6px 2px;
    font-size: 0.84rem;
  }

  /* Hero Section Mobile Polish */
  .ns-hero {
    padding: 26px 0;
  }

  .ns-hero-badge {
    font-size: 0.74rem;
    padding: 5px 12px;
    margin-bottom: 12px;
  }

  .ns-hero-title {
    font-size: 1.48rem;
    line-height: 1.3;
    margin-bottom: 12px;
  }

  .ns-hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 18px;
  }

  .ns-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 18px;
  }

  .ns-hero-actions .ns-btn {
    width: 100%;
    padding: 11px 16px;
    font-size: 0.9rem;
  }

  .ns-hero-pills {
    font-size: 0.78rem;
    gap: 8px 12px;
  }

  .ns-hero-showcase-card {
    padding: 18px;
  }

  .ns-showcase-grid {
    gap: 10px;
  }

  .ns-mini-stat {
    padding: 12px;
  }

  .ns-mini-stat strong {
    font-size: 1.25rem;
  }

  /* 2-Column Compact Grids on Mobile */
  .ns-trust-section {
    padding: 18px 0;
  }

  .ns-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ns-trust-card {
    flex-direction: column;
    gap: 6px;
    padding: 12px;
  }

  .ns-trust-icon {
    font-size: 1.4rem;
  }

  .ns-trust-title {
    font-size: 0.85rem;
  }

  .ns-trust-desc {
    font-size: 0.74rem;
  }

  .ns-section {
    padding: 34px 0;
  }

  .ns-section-header {
    margin-bottom: 18px;
  }

  .ns-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ns-cat-card {
    padding: 12px;
    gap: 10px;
  }

  .ns-cat-icon {
    width: 40px;
    height: 40px;
    font-size: 1.35rem;
    border-radius: 10px;
  }

  .ns-cat-title {
    font-size: 0.85rem;
  }

  .ns-cat-desc {
    font-size: 0.72rem;
    -webkit-line-clamp: 1;
  }

  .ns-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .ns-single-article,
  .ns-page-card,
  .ns-seo-box {
    padding: 20px 16px;
  }

  .ns-footer {
    padding: 36px 0 24px;
  }

  .ns-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Floating buttons raised above 3rd-party chat widget */
  .ns-floating-stack {
    right: 12px;
    bottom: 88px;
    gap: 6px;
  }

  .ns-float-btn {
    padding: 8px 13px;
    font-size: 0.78rem;
  }
}

/* 3. Small Phones (<= 480px) */
@media (max-width: 480px) {
  .ns-blog-grid {
    grid-template-columns: 1fr;
  }

  .ns-search-text {
    display: none;
  }

  .ns-search-submit {
    padding: 0 14px;
  }
}


/* Ensure decorative glow and closed backdrop never block button clicks */
.ns-hero-glow {
  pointer-events: none !important;
}

.ns-drawer-backdrop {
  pointer-events: none;
}

.ns-drawer-backdrop.is-open {
  pointer-events: auto;
}

.ns-floating-stack,
.ns-float-btn,
.js-ns-line-btn {
  pointer-events: auto !important;
  cursor: pointer !important;
}
