/* Master Scoped Wrapper */
.nhe-catalogue-wrapper {
  --nhe-espresso: #3E2B26;
  --nhe-espresso-dark: #2D1F1A;
  --nhe-espresso-light: #5A433B;
  --nhe-gold: var(--nhe-coffee-500);
  --nhe-gold-light: #D4B896;
  --nhe-gold-subtle: #F6F2EC;
  --nhe-cream: #FDFBF7;
  --nhe-card-bg: #FFFFFF;
  --nhe-text-main: #3E2B26;
  --nhe-text-sub: #7A6961;
  --nhe-border: rgba(122, 84, 64, 0.25);
  --nhe-radius-lg: 16px;
  --nhe-radius-md: 12px;
  --nhe-radius-sm: 8px;
  --nhe-font-title: var(--nhe-font-display);
  --nhe-font-body: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  --nhe-font-mono: 'JetBrains Mono', monospace;

  font-family: var(--nhe-font-body);
  color: var(--nhe-text-main);
  background-color: var(--nhe-cream);
  padding: 30px 16px;
  box-sizing: border-box;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.nhe-catalogue-wrapper *,
.nhe-catalogue-wrapper *::before,
.nhe-catalogue-wrapper *::after {
  box-sizing: border-box;
}

/* 1. HERO HEADER SECTION (Unified Editorial System v5.3.4 - Full Bleed 100vw) */
.nhe-cat-header {
  width: 100%;
  text-align: center;
  margin: 0 0 28px 0;
  padding: clamp(28px, 4.2vw, 48px) clamp(16px, 3vw, 32px) clamp(24px, 3.6vw, 40px);
  background:
    radial-gradient(110% 100% at 50% 0%, rgba(122, 84, 64, 0.16), transparent 72%),
    radial-gradient(60% 80% at 88% 20%, rgba(124, 140, 111, 0.08), transparent 70%),
    linear-gradient(180deg, #FAF8F5 0%, #F3ECE2 100%);
  border-bottom: 1px solid rgba(74, 59, 50, 0.11);
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.nhe-cat-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(260px, 60vw);
  height: 2.5px;
  background: linear-gradient(90deg, transparent, var(--nhe-accent), transparent);
}

.nhe-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 15px;
  background: rgba(122, 84, 64, 0.14);
  border: 1px solid rgba(122, 84, 64, 0.34);
  border-radius: 999px;
  color: #5C4433;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.nhe-cat-title {
  font-family: var(--nhe-font-title);
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 600;
  color: #2B211B;
  margin: 0 0 12px 0;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.nhe-cat-subtitle {
  font-size: clamp(14px, 1.3vw, 16px);
  color: #6B5B50;
  max-width: 680px;
  margin: 0 auto 18px auto;
  font-weight: 400;
  line-height: 1.62;
}

/* Header Social Media Channels Row */

.nhe-expand-item *,
.nhe-popover-link * {
  color: #FFFFFF !important;
}

/* Force All Buttons & Links inside dark buttons to White in Elementor */
.nhe-catalogue-wrapper .nhe-tab-btn.active,
.nhe-catalogue-wrapper .nhe-tab-btn.active *,
.nhe-catalogue-wrapper .nhe-overlay-btn-primary,
.nhe-catalogue-wrapper .nhe-overlay-btn-primary *,
.nhe-catalogue-wrapper .nhe-btn-view-more,
.nhe-catalogue-wrapper .nhe-btn-view-more *,
.nhe-catalogue-wrapper .nhe-empty-btn-builder,
.nhe-catalogue-wrapper .nhe-empty-btn-builder *,
.nhe-catalogue-wrapper .nhe-empty-btn-contact,
.nhe-catalogue-wrapper .nhe-empty-btn-contact *,
.nhe-catalogue-wrapper .nhe-modal-btn-primary,
.nhe-catalogue-wrapper .nhe-modal-btn-primary *,
.nhe-catalogue-wrapper .nhe-float-main-btn,
.nhe-catalogue-wrapper .nhe-float-main-btn *,
.nhe-catalogue-wrapper .nhe-expand-item,
.nhe-catalogue-wrapper .nhe-expand-item *,
.nhe-catalogue-wrapper .nhe-popover-link,
.nhe-catalogue-wrapper .nhe-popover-link * {
  color: #FFFFFF !important;
}

/* SVG Specific Icon Fixes for Elementor */

/* 2. FABRIC TABS */
.nhe-fabric-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding: 8px;
  background: #FFFFFF;
  border: 1px solid var(--nhe-border);
  border-radius: 35px;
}

.nhe-tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 25px;
  font-family: var(--nhe-font-body);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--nhe-espresso);
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, background 0.25s ease, color 0.2s ease !important;
  will-change: transform;
  white-space: nowrap;
}

.nhe-tab-btn:hover {
  background: var(--nhe-gold-subtle);
  color: var(--nhe-espresso);
  transform: translateY(-2px) scale(1.02);
}

.nhe-tab-btn:active {
  transform: scale(0.96) !important;
}

.nhe-tab-btn.active {
  background: linear-gradient(135deg, #4A3B32 0%, var(--nhe-ink-strong) 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(47, 36, 28, 0.28), inset 0 1px 1.5px rgba(255, 255, 255, 0.35) !important;
}

.nhe-overlay-btn,
.nhe-btn-view-more,
.nhe-modal-btn-primary,
.nhe-modal-btn-secondary,
.nhe-empty-btn-builder,
.nhe-empty-btn-contact,
.nhe-float-main-btn,
.nhe-expand-item,
.nhe-filter-tag {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, background 0.25s ease, color 0.2s ease !important;
  will-change: transform;
}
.nhe-overlay-btn:hover,
.nhe-btn-view-more:hover,
.nhe-modal-btn-primary:hover,
.nhe-modal-btn-secondary:hover,
.nhe-empty-btn-builder:hover,
.nhe-empty-btn-contact:hover,
.nhe-expand-item:hover,
.nhe-filter-tag:hover {
  transform: translateY(-2px) scale(1.02);
}
.nhe-overlay-btn:active,
.nhe-btn-view-more:active,
.nhe-modal-btn-primary:active,
.nhe-modal-btn-secondary:active,
.nhe-empty-btn-builder:active,
.nhe-empty-btn-contact:active,
.nhe-float-main-btn:active,
.nhe-expand-item:active,
.nhe-filter-tag:active {
  transform: scale(0.96) !important;
}

.nhe-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 8px;
  background: rgba(122, 84, 64, 0.18);
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  color: var(--nhe-gold);
}

.nhe-tab-btn.active .nhe-tab-badge {
  background: rgba(255, 255, 255, 0.25) !important;
  color: #FFFFFF !important;
}

/* 3. TOOLBAR */
    .sort-toggle-wrap { display: inline-flex; align-items: center; gap: 4px; background: #F3EEEA; padding: 4px; border-radius: 99px; border: 1px solid #E2D7CC; flex-shrink: 0; }
    .sort-btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; border: none; background: transparent; color: #6D5645; font-family: inherit; font-size: 12.5px; font-weight: 600; border-radius: 99px; cursor: pointer; transition: all 0.2s ease; white-space: nowrap; }
    .sort-btn:hover { color: var(--nhe-ink-strong); }
    .sort-btn.active { background: #3E2F28; color: #FFFFFF !important; box-shadow: 0 2px 6px rgba(47, 36, 28, 0.15); }
    @media (max-width: 768px) {
      .sort-toggle-wrap { width: 100%; justify-content: center; }
      .sort-btn { flex: 1; justify-content: center; font-size: 11.5px; padding: 6px 10px; }
    }
    .nhe-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
  padding: 14px 20px;
  background: #FFFFFF;
  border: 1px solid var(--nhe-border);
  border-radius: var(--nhe-radius-md);
}

.nhe-search-box {
  position: relative;
  flex: 1;
  min-width: 250px;
  max-width: 420px;
}

.nhe-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--nhe-gold);
  pointer-events: none;
}

.nhe-search-input {
  width: 100%;
  padding: 10px 38px 10px 40px;
  background: var(--nhe-cream);
  border: 1px solid var(--nhe-border);
  border-radius: 22px;
  font-family: var(--nhe-font-body);
  font-size: 13.5px;
  color: var(--nhe-espresso);
  outline: none;
  transition: border-color 0.15s ease;
}

.nhe-search-input:focus {
  border-color: var(--nhe-gold);
  background: #FFFFFF;
}

.nhe-search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--nhe-text-sub);
  cursor: pointer;
  font-size: 16px;
  display: none;
  padding: 4px;
}

.nhe-search-clear.active {
  display: block;
}

.nhe-status-info {
  font-size: 13.5px;
  color: var(--nhe-text-sub);
  font-weight: 600;
}

.nhe-status-info strong {
  color: var(--nhe-espresso);
  font-weight: 700;
}

/* 4. PATTERN CATALOGUE GRID */
.nhe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 25px;
  min-height: 350px;
  contain: layout style;
}

.nhe-card {
  background: linear-gradient(145deg, rgba(255, 253, 249, 0.96) 0%, rgba(248, 242, 234, 0.90) 100%) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
  outline: 1px solid rgba(122, 84, 64, 0.18) !important;
  border-radius: var(--nhe-radius-md);
  box-shadow: inset 0 1.5px 2px #FFFFFF, 0 6px 20px rgba(61, 48, 39, 0.06) !important;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: outline-color 0.2s ease, transform 0.25s ease, box-shadow 0.25s ease;
  content-visibility: auto;
  contain-intrinsic-size: 300px;
}

.nhe-card:hover {
  outline-color: rgba(122, 84, 64, 0.5) !important;
  box-shadow: inset 0 1.5px 2px #FFFFFF, 0 16px 36px rgba(61, 48, 39, 0.12) !important;
  transform: translateY(-4px);
}

.nhe-card-img-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%;
  overflow: hidden;
  background: var(--nhe-gold-subtle);
  cursor: pointer;
}

.nhe-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nhe-card-img.loaded {
  opacity: 1;
}

.nhe-card-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 12px;
  background: rgba(45, 31, 26, 0.9);
  color: #FFFFFF;
  font-family: var(--nhe-font-mono, monospace);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 16px;
  z-index: 2;
  pointer-events: none;
}

.nhe-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 31, 26, 0.75);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
  z-index: 3;
  padding: 16px;
}

.nhe-card:hover .nhe-card-overlay,
.nhe-card:focus-within .nhe-card-overlay {
  opacity: 1;
  pointer-events: auto;
}

.nhe-overlay-btn {
  width: 90%;
  padding: 10px 14px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  cursor: pointer;
  border: none;
  transition: background-color 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  pointer-events: auto;
}

.nhe-overlay-btn * {
  pointer-events: none;
}

.nhe-overlay-btn-primary {
  background: var(--nhe-gold);
  color: #FFFFFF;
}

.nhe-overlay-btn-primary:hover {
  background: var(--nhe-gold-light);
}

.nhe-overlay-btn-secondary {
  background: #FFFFFF;
  color: var(--nhe-espresso);
}

.nhe-overlay-btn-secondary:hover {
  background: var(--nhe-cream);
}

.nhe-card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
  background: #FFFFFF;
}

.nhe-card-header-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nhe-card-code {
  font-family: var(--nhe-font-body);
  font-size: 16px;
  font-weight: 700;
  color: var(--nhe-espresso);
}

.nhe-card-fabric-type {
  font-size: 11px;
  font-weight: 700;
  color: var(--nhe-gold);
  background: rgba(122, 84, 64, 0.12);
  padding: 2px 7px;
  border-radius: 5px;
  text-transform: uppercase;
}

.nhe-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.nhe-btn-copy {
  flex: 1;
  padding: 9px 12px;
  background: #FDFBF7;
  border: 1px solid var(--nhe-gold);
  border-radius: var(--nhe-radius-sm);
  font-family: var(--nhe-font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--nhe-espresso);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background-color 0.15s ease, color 0.15s ease;
  pointer-events: auto;
}

.nhe-btn-copy * {
  pointer-events: none;
}

.nhe-btn-copy:hover {
  background: var(--nhe-gold);
  color: #FFFFFF;
}

.nhe-btn-copy.copied {
  background: var(--nhe-success);
  color: #FFFFFF;
  border-color: var(--nhe-success);
}

.nhe-btn-view-more {
  padding: 9px 14px;
  background: var(--nhe-espresso);
  color: #FFFFFF;
  border: none;
  border-radius: var(--nhe-radius-sm);
  font-family: var(--nhe-font-body);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: background-color 0.15s ease;
  pointer-events: auto;
}

.nhe-btn-view-more * {
  pointer-events: none;
}

.nhe-btn-view-more:hover {
  background: var(--nhe-gold);
  color: #FFFFFF;
}

/* 4B. FABRIC INVENTORY STOCK BADGES (V5.1.0) */
.nhe-card.is-out-of-stock {
  border-color: #E2D5C8;
  background: #FAF8F5;
}

.nhe-card.is-out-of-stock .nhe-card-img {
  filter: grayscale(0.35) opacity(0.82);
}

.nhe-card-stock-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  top: auto;
  z-index: 2;
  padding: 4px 10px;
  border-radius: 20px;
  font-family: var(--nhe-font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  pointer-events: none;
}

.nhe-card-stock-badge.badge-out {
  background: rgba(183, 28, 28, 0.92);
  color: #FFFFFF;
}

.nhe-card-stock-badge.badge-low {
  background: rgba(230, 81, 0, 0.92);
  color: #FFFFFF;
}

.nhe-card-stock-note {
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1.35;
}

.nhe-card-stock-note.note-out {
  background: #FFEBEE;
  color: #B71C1C;
  border: 1px solid rgba(183, 28, 28, 0.2);
}

.nhe-card-stock-note.note-low {
  background: #FFF3E0;
  color: #E65100;
  border: 1px solid rgba(230, 81, 0, 0.22);
}

.nhe-modal-stock-alert {
  margin: 0 0 14px 0;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
}

.nhe-modal-stock-alert.alert-out {
  background: #FFEBEE;
  color: #B71C1C;
  border: 1px solid rgba(183, 28, 28, 0.28);
}

.nhe-modal-stock-alert.alert-low {
  background: #FFF3E0;
  color: #E65100;
  border: 1px solid rgba(230, 81, 0, 0.3);
}

/* 5. PAGINATION CONTROLS */
.nhe-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-bottom: 35px;
  flex-wrap: wrap;
}

.nhe-page-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 19px;
  background: #FFFFFF;
  border: 1px solid var(--nhe-border);
  color: var(--nhe-espresso);
  font-family: var(--nhe-font-body);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease;
}

.nhe-page-btn:hover:not(:disabled) {
  background: var(--nhe-gold-subtle);
  border-color: var(--nhe-gold);
}

.nhe-page-btn.active {
  background: var(--nhe-espresso);
  color: #FFFFFF;
  border-color: var(--nhe-espresso);
}

.nhe-page-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* 6. EMPTY STATE BANNER */
.nhe-empty-state {
  display: none;
  text-align: center;
  padding: 50px 20px;
  background: #FFFFFF;
  border: 1px dashed var(--nhe-gold);
  border-radius: var(--nhe-radius-lg);
  margin: 15px 0 35px 0;
}

.nhe-empty-state.active {
  display: block;
}

.nhe-empty-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 16px auto;
  background: rgba(122, 84, 64, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nhe-gold);
  font-size: 30px;
}

.nhe-empty-title {
  font-family: var(--nhe-font-title);
  font-size: 22px;
  font-weight: 600;
  color: var(--nhe-espresso);
  margin: 0 0 12px 0;
}

.nhe-empty-desc {
  font-size: 14.5px;
  color: var(--nhe-text-sub);
  max-width: 660px;
  margin: 0 auto 25px auto;
  line-height: 1.65;
}

.nhe-empty-cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nhe-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  font-family: var(--nhe-font-body);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  border-radius: 25px;
  cursor: pointer;
  transition: opacity 0.15s ease;
  border: 1px solid transparent;
}

.nhe-empty-btn-builder {
  background: var(--nhe-gold);
  color: #FFFFFF;
}

.nhe-empty-btn-builder:hover {
  opacity: 0.92;
}

.nhe-empty-btn-contact {
  background: var(--nhe-espresso);
  color: #FFFFFF;
}

.nhe-empty-btn-contact:hover {
  opacity: 0.92;
}

.nhe-empty-btn-home {
  background: var(--nhe-cream);
  color: var(--nhe-espresso);
  border-color: var(--nhe-border);
}

.nhe-empty-btn-home:hover {
  background: var(--nhe-gold-subtle);
}

/* 7. LIGHTBOX PREVIEW MODAL */
.nhe-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 10, 8, 0.85);
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.nhe-modal.active {
  opacity: 1;
  visibility: visible;
}

.nhe-modal-content {
  background: #FFFFFF;
  border-radius: var(--nhe-radius-lg);
  max-width: 920px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  position: relative;
  transform: scale(0.96);
  transition: transform 0.2s ease;
}

.nhe-modal.active .nhe-modal-content {
  transform: scale(1);
}

.nhe-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--nhe-espresso);
  color: var(--nhe-espresso);
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: background-color 0.15s ease, color 0.15s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.nhe-modal-close:hover {
  background: var(--nhe-espresso);
  color: #FFFFFF;
}

.nhe-modal-img-col {
  flex: 1.2;
  background: var(--nhe-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  max-height: 90vh;
}

.nhe-modal-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 90vh;
}

.nhe-modal-info-col {
  flex: 1.1;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.nhe-modal-header-tag {
  display: inline-block;
  padding: 3px 12px;
  background: rgba(122, 84, 64, 0.15);
  color: var(--nhe-gold);
  font-size: 11.5px;
  font-weight: 700;
  border-radius: 16px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.nhe-modal-title {
  font-family: var(--nhe-font-title);
  font-size: 24px;
  font-weight: 600;
  color: var(--nhe-espresso);
  margin: 0 0 12px 0;
}

.nhe-modal-prop-box {
  background: var(--nhe-cream);
  border: 1px solid var(--nhe-border);
  border-radius: var(--nhe-radius-md);
  padding: 14px;
  margin-bottom: 16px;
}

.nhe-modal-prop-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--nhe-espresso);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nhe-modal-prop-desc {
  font-size: 12.5px;
  color: var(--nhe-espresso-light);
  line-height: 1.5;
  margin: 0 0 8px 0;
}

.nhe-modal-notice {
  font-size: 11.5px;
  font-style: italic;
  color: var(--nhe-gold);
  border-top: 1px dashed rgba(122, 84, 64, 0.3);
  padding-top: 6px;
  margin-top: 6px;
}

.nhe-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nhe-modal-btn-secondary {
  width: 100%;
  padding: 12px 16px;
  background: #FDFBF7;
  border: 1px solid var(--nhe-border);
  color: var(--nhe-espresso);
  border-radius: var(--nhe-radius-md);
  font-family: var(--nhe-font-body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nhe-modal-btn-secondary:hover {
  background: var(--nhe-gold-subtle);
  border-color: var(--nhe-gold);
}

.nhe-modal-btn-primary {
  width: 100%;
  padding: 13px 16px;
  background: var(--nhe-espresso);
  color: #FFFFFF;
  border: none;
  border-radius: var(--nhe-radius-md);
  font-family: var(--nhe-font-body);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nhe-modal-btn-primary:hover {
  background: var(--nhe-gold);
  color: #FFFFFF;
}

.nhe-expand-channels {
  display: none;
  flex-direction: column;
  gap: 8px;
  background: #F9F6F0;
  border: 1px solid var(--nhe-border);
  border-radius: var(--nhe-radius-md);
  padding: 12px;
}

.nhe-expand-channels.active {
  display: flex;
}

.nhe-expand-title {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--nhe-espresso);
  text-align: center;
  margin-bottom: 2px;
}

.nhe-expand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.nhe-expand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: var(--nhe-radius-sm);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  color: #FFFFFF;
  transition: opacity 0.15s ease;
  text-align: center;
}

.nhe-expand-item svg {
  margin-bottom: 3px;
}

.nhe-expand-item:hover {
  opacity: 0.9;
}

/* 9. TOAST NOTIFICATION */
.nhe-toast {
  position: fixed;
  bottom: 25px;
  left: 25px;
  background: var(--nhe-espresso-dark);
  color: #FFFFFF;
  padding: 12px 20px;
  border-radius: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1000000;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.25s ease;
}

.nhe-toast.active {
  transform: translateY(0);
  opacity: 1;
}

.nhe-toast-icon {
  color: var(--nhe-gold);
  font-size: 16px;
}

/* 10. RESPONSIVE DESIGN */
@media (max-width: 900px) {
  .nhe-modal-content {
    flex-direction: column;
    max-height: 95vh;
    overflow-y: auto;
  }

  .nhe-modal-img-col {
    max-height: 280px;
  }

  .nhe-modal-info-col {
    padding: 20px 16px;
  }
}

@media (max-width: 768px) {
  .nhe-catalogue-wrapper {
    padding: 16px 10px;
  }

  .nhe-cat-header {
    padding: 20px 14px;
  }

.nhe-fabric-tabs {
    border-radius: 25px;
    padding: 6px;
    gap: 5px;
  }

  .nhe-tab-btn {
    padding: 8px 14px;
    font-size: 12.5px;
  }

  .nhe-toolbar {
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
  }

  .nhe-search-box {
    max-width: 100%;
  }

  .nhe-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .nhe-card-body {
    padding: 10px;
  }

  .nhe-card-code {
    font-size: 14.5px;
  }

  .nhe-overlay-btn {
    font-size: 10.5px;
    padding: 8px 10px;
  }

  .nhe-empty-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .nhe-empty-btn {
    justify-content: center;
  }

}

@media (max-width: 480px) {
  .nhe-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .nhe-card-tag {
    font-size: 10.5px;
    padding: 3px 8px;
    top: 6px;
    right: 6px;
  }

  .nhe-card-actions {
    flex-direction: column;
    gap: 5px;
  }

  .nhe-btn-view-more {
    width: 100%;
  }

  .nhe-expand-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .nhe-toast {
    left: 10px;
    right: 10px;
    bottom: 15px;
    justify-content: center;
  }
}

/* CAT ZOOM LIGHTBOX & HOVER ZOOM STYLES (v7.79.0 HD ZOOM ENGINE) */
.nhe-modal-img-col {
  position: relative !important;
  cursor: zoom-in !important;
}

.nhe-modal-img {
  cursor: zoom-in !important;
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  display: block;
}

.nhe-modal-img-col:hover .nhe-modal-img {
  transform: scale(1.035);
}

.nhe-modal-zoom-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  background: rgba(45, 31, 26, 0.88);
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
  z-index: 10;
}

.nhe-modal-zoom-btn:hover {
  background: var(--nhe-gold);
  color: #FFFFFF !important;
  border-color: var(--nhe-gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(122, 84, 64, 0.45);
}

.nhe-modal-zoom-hint {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(45, 31, 26, 0.75);
  color: #FFFFFF;
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  pointer-events: none;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  z-index: 5;
}

/* 8. FULLSCREEN HIGH-RES ZOOM LIGHTBOX (Z-INDEX 10,000,005) */
.cat-zoom-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(12, 8, 6, 0.96);
  backdrop-filter: blur(12px);
  z-index: 10000005 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px 80px 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
}

.cat-zoom-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.cat-zoom-lightbox__body {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  cursor: zoom-out;
}

.cat-zoom-lightbox__img {
  max-width: 95vw;
  max-height: 84vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
  cursor: zoom-in;
  transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(.96);
}

.cat-zoom-lightbox.active .cat-zoom-lightbox__img {
  transform: scale(1);
}

.cat-zoom-lightbox__img.is-zoomed-2x {
  cursor: zoom-out;
  transform: scale(2.2);
  max-width: none;
  max-height: none;
}

.cat-zoom-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  font-size: 26px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: background .2s, transform .2s;
}

.cat-zoom-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.08);
}

.cat-zoom-lightbox__toolbar {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(30, 20, 16, 0.94);
  border: 1px solid rgba(122, 84, 64, 0.45);
  padding: 8px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 20;
  max-width: 95vw;
  white-space: nowrap;
}

.cat-zoom-lightbox__badge {
  color: #D4B896;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding-right: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
}

.cat-zoom-lightbox__tool-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cat-zoom-lightbox__tool-btn:hover {
  background: var(--nhe-gold, var(--nhe-coffee-500));
  color: #FFFFFF;
  border-color: var(--nhe-gold, var(--nhe-coffee-500));
  transform: translateY(-1px);
}

.cat-zoom-lightbox__tool-close {
  background: rgba(220, 53, 69, 0.25);
  border-color: rgba(220, 53, 69, 0.45);
}

.cat-zoom-lightbox__tool-close:hover {
  background: #DC3545;
  border-color: #DC3545;
}

@media (max-width: 680px) {
  .cat-zoom-lightbox {
    padding: 16px 12px 115px 12px;
  }
  .cat-zoom-lightbox__hint {
    font-size: 11px;
    padding: 5px 12px;
    top: 14px;
    max-width: 85vw;
    text-align: center;
    white-space: normal;
  }
  .cat-zoom-lightbox__toolbar {
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    right: 12px;
    transform: none;
    width: auto;
    max-width: none;
    border-radius: 14px;
    padding: 10px 12px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 8px 10px;
    white-space: normal;
    background: rgba(24, 16, 12, 0.96);
  }
  .cat-zoom-lightbox__badge {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    border-right: none;
    padding-right: 0;
    font-size: 12.5px;
    align-self: center;
  }
  .cat-zoom-lightbox__tool-close {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    justify-self: end;
    padding: 5px 12px;
    font-size: 11px;
    border-radius: 8px;
  }
  #nheZoom2xToggle {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    width: 100%;
    padding: 7px 10px;
    font-size: 11.5px;
    border-radius: 8px;
  }
  #nheZoomCopyBtn {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    width: 100%;
    padding: 7px 10px;
    font-size: 11.5px;
    border-radius: 8px;
  }
}

.cat-zoom-lightbox__hint {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.65);
  color: rgba(255, 255, 255, 0.88);
  font-size: 12px;
  padding: 6px 16px;
  border-radius: 20px;
  pointer-events: none;
  backdrop-filter: blur(4px);
  z-index: 15;
}

@media (max-width: 900px) {
  .nhe-modal-img-col {
    min-height: 360px !important;
    max-height: 52vh !important;
    width: 100% !important;
  }
}