/* ─── Nivoda Premium — Luxury Jewellery CSS v5.0 ─── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Raleway:wght@300;400;500;600&display=swap');

:root {
    --niv-dark:       #1a1a1a;
    --niv-gold:       #c9a96e;
    --niv-gold-light: #e8d5b0;
    --niv-light-bg:   #f8f7f5;
    --niv-white:      #ffffff;
    --niv-border:     #e0ddd8;
    --niv-text-muted: #6b6b6b;
    --niv-serif:      'Montserrat', Sans-serif;
    --niv-sans:       'Montserrat', Sans-serif;
    --niv-ease:       all 0.3s ease;
}

/* ═══════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════ */
.niv-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.niv-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
}
.niv-hero-content {
    position: relative;
    z-index: 2;
    color: var(--niv-white);
    max-width: 820px;
    padding: 40px 24px;
}
.niv-hero-eyebrow {
    display: block;
    font-family: var(--niv-sans);
    font-size: 11px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--niv-gold);
    margin-bottom: 20px;
}
.niv-hero-content h1 {
    font-family: var(--niv-serif);
    font-size: clamp(40px, 6vw, 78px);
    font-weight: 300;
    line-height: 1.08;
    margin: 0 0 24px;
    color: var(--niv-white);
}
.niv-hero-content p {
    font-family: var(--niv-sans);
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: rgba(255,255,255,0.82);
    margin: 0 0 44px;
    line-height: 1.7;
}
.niv-hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════════════ */
.niv-btn {
    display: inline-block;
    padding: 14px 38px;
    font-family: var(--niv-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--niv-ease);
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}
.niv-btn-primary  { background: var(--niv-gold);  color: var(--niv-dark);  border-color: var(--niv-gold); }
.niv-btn-primary:hover { background: var(--niv-dark); color: var(--niv-white); border-color: var(--niv-dark); }
.niv-btn-outline  { background: transparent; color: var(--niv-white); border-color: var(--niv-white); }
.niv-btn-outline:hover { background: var(--niv-white); color: var(--niv-dark); }
.niv-btn-dark     { background: var(--niv-dark);  color: var(--niv-white); border-color: var(--niv-dark); }
.niv-btn-dark:hover { background: var(--niv-gold); color: var(--niv-dark); border-color: var(--niv-gold); }

/* ═══════════════════════════════════════════════════
   BENEFITS BAR
═══════════════════════════════════════════════════ */
.niv-benefits-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    background: var(--niv-dark);
    padding: 0;
}
.niv-benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 28px;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.niv-benefit-item:last-child { border-right: none; }
.niv-benefit-icon {
    color: var(--niv-gold);
    font-size: 14px;
}
.niv-benefit-label {
    font-family: var(--niv-sans);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    font-weight: 400;
    white-space: nowrap;
}

/* ═══════════════════════════════════════════════════
   SECTION HEADER (shared)
═══════════════════════════════════════════════════ */
.niv-section-header {
    max-width: 640px;
    margin: 0 auto 60px;
}
.niv-section-eyebrow {
    display: block;
    font-family: var(--niv-sans);
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--niv-gold);
    margin-bottom: 16px;
}
.niv-section-header h2 {
    font-family: var(--niv-serif);
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 300;
    color: var(--niv-dark);
    margin: 0 0 16px;
    line-height: 1.15;
}
.niv-section-header p {
    font-family: var(--niv-sans);
    font-size: 15px;
    color: var(--niv-text-muted);
    font-weight: 300;
    line-height: 1.75;
    margin: 0;
}

/* ═══════════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════════ */
.niv-how-it-works {
    padding: 100px 24px;
    background: var(--niv-light-bg);
    text-align: center;
}
.niv-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 1040px;
    margin: 0 auto;
}
.niv-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.niv-step-number {
    width: 58px;
    height: 58px;
    border: 1px solid var(--niv-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--niv-serif);
    font-size: 20px;
    font-weight: 300;
    color: var(--niv-gold);
    flex-shrink: 0;
}
.niv-step-title {
    font-family: var(--niv-serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--niv-dark);
    margin: 0;
}
.niv-step-desc {
    font-family: var(--niv-sans);
    font-size: 14px;
    color: var(--niv-text-muted);
    font-weight: 300;
    line-height: 1.75;
    margin: 0;
}
@media (max-width: 768px) {
    .niv-steps-grid { grid-template-columns: 1fr; gap: 40px; max-width: 420px; }
}

/* ═══════════════════════════════════════════════════
   DIAMOND SHAPES
═══════════════════════════════════════════════════ */
.niv-shapes-section {
    padding: 90px 24px;
    background: var(--niv-white);
    text-align: center;
}
.niv-shapes-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}
.niv-shape-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 12px;
    cursor: pointer;
    transition: var(--niv-ease);
    border: 1px solid transparent;
    text-decoration: none;
}
.niv-shape-item:hover, .niv-shape-item.active {
    border-color: var(--niv-gold);
    background: var(--niv-light-bg);
}
.niv-shape-icon svg {
    width: 52px;
    height: 52px;
    fill: none;
    stroke: var(--niv-dark);
    stroke-width: 2;
    transition: var(--niv-ease);
}
.niv-shape-item:hover .niv-shape-icon svg,
.niv-shape-item.active .niv-shape-icon svg {
    stroke: var(--niv-gold);
}
.niv-shape-label {
    font-family: var(--niv-sans);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--niv-dark);
    font-weight: 500;
}
@media (max-width: 768px) { .niv-shapes-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 480px) { .niv-shapes-grid { grid-template-columns: repeat(3, 1fr); } }

/* ═══════════════════════════════════════════════════
   SHAPE BAR (top of diamond browser — icon chips)
═══════════════════════════════════════════════════ */
.niv-shape-bar {
    background: transparent;
    padding: 22px 24px;
}
.niv-shape-bar-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.niv-shape-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: var(--niv-ease);
}
.niv-shape-chip:hover,
.niv-shape-chip.selected {
    background: transparent;
    border-color: transparent;
}
.niv-shape-chip-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 50px;
}
.niv-shape-chip-icon svg {
    height: 50px;
    width: auto;
    display: block;
    stroke: currentColor;
    color: #555555;
    transition: var(--niv-ease);
}
.niv-shape-chip-label {
    font-family: var(--niv-sans);
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #555555;
    font-weight: 400;
    transition: var(--niv-ease);
}
.niv-shape-chip:hover .niv-shape-chip-icon svg,
.niv-shape-chip.selected .niv-shape-chip-icon svg {
    color: #002e28;
}
.niv-shape-chip:hover .niv-shape-chip-label,
.niv-shape-chip.selected .niv-shape-chip-label {
    color: #002e28;
	font-weight: 600;
}
@media (max-width: 768px) {
    .niv-shape-bar-inner { gap: 2px; }
    .niv-shape-chip { padding: 6px 10px; }
}

/* ═══════════════════════════════════════════════════
   NATURAL / LAB GROWN TOGGLE BAR
═══════════════════════════════════════════════════ */
.niv-type-bar {
    background: transparent;
    padding: 18px 0;
}
.niv-type-toggle {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}
.niv-type-btn {
    padding: 11px 28px;
    border: 1px solid var(--niv-border);
    background: var(--niv-white);
    font-family: var(--niv-sans);
    font-size: 13px;
    letter-spacing: 0.5px;
    color: var(--niv-dark);
    cursor: pointer;
    transition: var(--niv-ease);
}
.niv-type-btn:hover {
    border-color: var(--niv-gold);
}
.niv-type-btn.selected {
    background: var(--niv-gold);
    border-color: var(--niv-gold);
    color: var(--niv-white);
}
@media (max-width: 480px) {
    .niv-type-btn { flex: 1; padding: 11px 12px; text-align: center; }
}

/* ═══════════════════════════════════════════════════
   DIAMOND BROWSER (filter + grid)
═══════════════════════════════════════════════════ */
#nivoda-app {
    display: flex;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 0;
    align-items: flex-start;
}
.niv-filters-panel {
    width: 270px;
    flex-shrink: 0;
    background: var(--niv-white);
    border: 1px solid var(--niv-border);
    padding: 32px 28px;
    position: sticky;
    top: 100px;
}
.niv-filters-panel h3 {
    font-family: var(--niv-serif);
    font-size: 24px;
    font-weight: 400;
    color: var(--niv-dark);
    margin: 0 0 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--niv-border);
}
.niv-filter-group {
    margin-bottom: 26px;
}
.niv-filter-group > label {
    display: block;
    font-family: var(--niv-sans);
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--niv-dark);
    font-weight: 600;
    margin-bottom: 10px;
}

/* Chip buttons */
.niv-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.niv-chip {
    padding: 5px 11px;
    font-family: var(--niv-sans);
    font-size: 12px;
    color: #555555;
    cursor: pointer;
    transition: var(--niv-ease);
    line-height: 1.4;
}
.niv-chip:hover, .niv-chip.selected {
    background: transparent;
    color: #002e28;
}

/* Dual range slider */
.niv-range-wrapper {
    padding: 4px 0;
}
.niv-range-track {
    position: relative;
    height: 2px;
    background: var(--niv-border);
    margin: 22px 6px 8px;
}
.niv-range-fill {
    position: absolute;
    height: 100%;
    background: var(--niv-gold);
    pointer-events: none;
}
.niv-range-track input[type="range"] {
    position: absolute;
    top: -9px;
    left: -6px;
    right: -6px;
    width: calc(100% + 12px);
    height: 20px;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
}
.niv-range-track input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--niv-white);
    border: 2px solid var(--niv-gold);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.niv-range-track input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--niv-white);
    border: 2px solid var(--niv-gold);
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
}
.niv-range-values {
    display: flex;
    justify-content: space-between;
    font-family: var(--niv-sans);
    font-size: 12px;
    color: var(--niv-text-muted);
    margin-top: 6px;
}

/* Toggle */
.niv-toggle-label {
    display: flex !important;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: var(--niv-sans);
    font-size: 13px;
    color: var(--niv-dark);
    font-weight: 400 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    margin-bottom: 0 !important;
}
.niv-toggle-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--niv-gold);
    cursor: pointer;
}

.niv-apply-btn {
    display: none;
}

/* Results pane */
.niv-results { flex: 1; min-width: 0; }
.niv-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--niv-border);
}
.niv-results-count {
    font-family: var(--niv-sans);
    font-size: 13px;
    color: var(--niv-text-muted);
}
.niv-sort-select {
    padding: 8px 32px 8px 12px;
    border: 1px solid var(--niv-border);
    background: var(--niv-white);
    font-family: var(--niv-sans);
    font-size: 12px;
    color: var(--niv-dark);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    cursor: pointer;
    outline: none;
	line-height: 1;
}

#diamond-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

/* Diamond card */
.niv-diamond-card {
    background: var(--niv-white);
    border: 1px solid var(--niv-border);
    transition: var(--niv-ease);
    overflow: hidden;
}
.niv-diamond-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.09);
    transform: translateY(-2px);
}
.niv-diamond-card-image {
    background: var(--niv-light-bg);
    position: relative;
    overflow: hidden;
}

/* Real photo (from Nivoda API) */
.niv-diamond-photo {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.niv-diamond-card:hover .niv-diamond-photo {
    transform: scale(1.05);
}

/* SVG fallback / demo display */
.niv-diamond-svg-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    aspect-ratio: 1 / 1;
}
.niv-diamond-svg-fallback svg {
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 4px 12px rgba(120,180,220,0.35));
}
.niv-diamond-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--niv-dark);
    color: var(--niv-white);
    font-family: var(--niv-sans);
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 9px;
}
.niv-diamond-badge.lab {
    background: var(--niv-gold);
    color: var(--niv-dark);
}
.niv-diamond-card-body {
    padding: 20px;
}
.niv-diamond-card-title {
    font-family: var(--niv-serif);
    font-size: 19px;
    font-weight: 400;
    color: var(--niv-dark);
    margin: 0 0 14px;
}
.niv-diamond-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}
.niv-spec-item { display: flex; flex-direction: column; gap: 2px; }
.niv-spec-label {
    font-family: var(--niv-sans);
    font-size: 9px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--niv-text-muted);
}
.niv-spec-value {
    font-family: var(--niv-sans);
    font-size: 13px;
    color: var(--niv-dark);
    font-weight: 500;
}
.niv-diamond-price {
    font-family: var(--niv-serif);
    font-size: 26px;
    font-weight: 400;
    color: var(--niv-dark);
    margin-bottom: 16px;
}
.add-to-ring-btn {
    width: 100%;
    padding: 12px;
    background: var(--niv-dark);
    color: var(--niv-white);
    border: 1px solid var(--niv-dark);
    font-family: var(--niv-sans);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--niv-ease);
}
.add-to-ring-btn:hover {
    background: var(--niv-gold);
    border-color: var(--niv-gold);
    color: var(--niv-dark);
}
.add-to-ring-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Load More */
.niv-load-more-wrap {
    grid-column: 1 / -1;
    text-align: center;
    padding: 32px 0 8px;
}
.niv-load-more-btn {
    padding: 14px 48px;
    background: transparent;
    border: 1px solid var(--niv-dark);
    color: var(--niv-dark);
    font-family: var(--niv-sans);
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--niv-ease);
}
.niv-load-more-btn:hover {
    background: var(--niv-dark);
    color: var(--niv-white);
}

/* Loader */
.niv-loader { display: none; text-align: center; padding: 80px 20px; }
.niv-loader.active { display: block; }
.niv-spinner {
    width: 30px;
    height: 30px;
    border: 2px solid var(--niv-border);
    border-top-color: var(--niv-gold);
    border-radius: 50%;
    animation: niv-spin 0.75s linear infinite;
    margin: 0 auto;
}
@keyframes niv-spin { to { transform: rotate(360deg); } }

@media (max-width: 960px) {
    #nivoda-app { flex-direction: column; }
    .niv-filters-panel { width: 100%; position: static; }
}

/* ═══════════════════════════════════════════════════
   RING SHOWCASE
═══════════════════════════════════════════════════ */
.niv-ring-showcase {
    padding: 100px 24px;
    background: var(--niv-light-bg);
}
.niv-ring-showcase .niv-section-header { text-align: center; }
.niv-rings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}
.niv-ring-card {
    background: var(--niv-white);
    border: 1px solid var(--niv-border);
    overflow: hidden;
    transition: var(--niv-ease);
}
.niv-ring-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.09);
    transform: translateY(-3px);
}
.niv-ring-card-image {
    position: relative;
    padding-top: 100%;
    background: var(--niv-light-bg);
    overflow: hidden;
}
.niv-ring-card-image img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.niv-ring-card:hover .niv-ring-card-image img { transform: scale(1.05); }
.niv-ring-card-body { padding: 20px; }
.niv-ring-card-name {
    font-family: var(--niv-serif);
    font-size: 18px;
    font-weight: 400;
    color: var(--niv-dark);
    margin: 0 0 6px;
}
.niv-ring-card-price {
    font-family: var(--niv-sans);
    font-size: 13px;
    color: var(--niv-text-muted);
    margin-bottom: 14px;
}
.niv-metal-selector {
    display: flex;
    gap: 7px;
    margin-bottom: 16px;
}
.niv-metal-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--niv-ease);
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12);
}
.niv-metal-dot.active, .niv-metal-dot:hover {
    border-color: var(--niv-dark);
}
.niv-ring-select-btn {
    display: block;
    width: 100%;
    padding: 11px;
    text-align: center;
    background: transparent;
    border: 1px solid var(--niv-dark);
    color: var(--niv-dark);
    font-family: var(--niv-sans);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--niv-ease);
}
.niv-ring-select-btn:hover {
    background: var(--niv-dark);
    color: var(--niv-white);
}
@media (max-width: 1100px) { .niv-rings-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .niv-rings-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .niv-rings-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════
   STATS BANNER
═══════════════════════════════════════════════════ */
.niv-stats-banner {
    padding: 64px 24px;
    background: var(--niv-dark);
}
.niv-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}
.niv-stat-number {
    font-family: var(--niv-serif);
    font-size: 52px;
    font-weight: 300;
    color: var(--niv-gold);
    line-height: 1;
    margin-bottom: 8px;
}
.niv-stat-label {
    font-family: var(--niv-sans);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}
@media (max-width: 768px) { .niv-stats-grid { grid-template-columns: repeat(2, 1fr); } }

/* ═══════════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════════ */
.niv-faq-section {
    padding: 100px 24px;
    max-width: 820px;
    margin: 0 auto;
}
.niv-faq-list { margin-top: 0; }
.niv-faq-item { border-bottom: 1px solid var(--niv-border); }
.niv-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    cursor: pointer;
    font-family: var(--niv-serif);
    font-size: 19px;
    font-weight: 400;
    color: var(--niv-dark);
    user-select: none;
    transition: color 0.2s;
}
.niv-faq-question:hover { color: var(--niv-gold); }
.niv-faq-icon {
    font-size: 22px;
    color: var(--niv-gold);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 24px;
    line-height: 1;
    font-style: normal;
}
.niv-faq-item.open .niv-faq-icon { transform: rotate(45deg); }
.niv-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.niv-faq-item.open .niv-faq-answer {
    max-height: 500px;
    padding-bottom: 24px;
}
.niv-faq-answer p {
    font-family: var(--niv-sans);
    font-size: 15px;
    color: var(--niv-text-muted);
    line-height: 1.8;
    font-weight: 300;
    margin: 0;
}

/* ═══════════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════════ */
.niv-testimonials-section {
    padding: 100px 24px;
    background: var(--niv-white);
    text-align: center;
}
.niv-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}
.niv-testimonial-card {
    padding: 36px 28px;
    border: 1px solid var(--niv-border);
    text-align: left;
    transition: var(--niv-ease);
}
.niv-testimonial-card:hover { border-color: var(--niv-gold); }
.niv-stars {
    color: var(--niv-gold);
    font-size: 14px;
    letter-spacing: 3px;
    margin-bottom: 18px;
}
.niv-testimonial-text {
    font-family: var(--niv-serif);
    font-size: 17px;
    font-weight: 300;
    font-style: italic;
    color: var(--niv-dark);
    line-height: 1.65;
    margin: 0 0 20px;
}
.niv-testimonial-author {
    font-family: var(--niv-sans);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--niv-dark);
    font-weight: 500;
}
.niv-testimonial-meta {
    font-family: var(--niv-sans);
    font-size: 12px;
    color: var(--niv-text-muted);
    margin-top: 4px;
}
@media (max-width: 900px) { .niv-testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .niv-testimonials-grid { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════
   APPOINTMENT BOOKING
═══════════════════════════════════════════════════ */
.niv-appointment-section {
    padding: 100px 24px;
    background: var(--niv-dark);
}
.niv-appointment-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}
.niv-appointment-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    text-align: left;
    margin-top: 48px;
}
.niv-form-full { grid-column: 1 / -1; }
.niv-form-group { display: flex; flex-direction: column; gap: 8px; }
.niv-form-group label {
    font-family: var(--niv-sans);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
}
.niv-form-group input,
.niv-form-group select,
.niv-form-group textarea {
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--niv-white);
    font-family: var(--niv-sans);
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    border-radius: 0;
    -webkit-appearance: none;
}
.niv-form-group input::placeholder,
.niv-form-group textarea::placeholder { color: rgba(255,255,255,0.25); }
.niv-form-group input:focus,
.niv-form-group select:focus,
.niv-form-group textarea:focus { border-color: var(--niv-gold); }
.niv-form-group select option { background: var(--niv-dark); }
.niv-form-submit {
    padding: 15px 52px;
    background: var(--niv-gold);
    color: var(--niv-dark);
    border: none;
    font-family: var(--niv-sans);
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--niv-ease);
    font-weight: 600;
}
.niv-form-submit:hover { background: var(--niv-white); }
.niv-form-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.niv-form-message {
    margin-top: 16px;
    padding: 12px 20px;
    font-family: var(--niv-sans);
    font-size: 14px;
    display: none;
}
.niv-form-message.success {
    background: rgba(201,169,110,0.1);
    border: 1px solid var(--niv-gold);
    color: var(--niv-gold);
    display: block;
}
.niv-form-message.error {
    background: rgba(200,50,50,0.1);
    border: 1px solid #e74c3c;
    color: #e74c3c;
    display: block;
}
@media (max-width: 600px) { .niv-appointment-form { grid-template-columns: 1fr; } }

/* ═══════════════════════════════════════════════════
   NEWSLETTER
═══════════════════════════════════════════════════ */
.niv-newsletter-section {
    padding: 72px 24px;
    background: var(--niv-light-bg);
    text-align: center;
    border-top: 1px solid var(--niv-border);
}
.niv-newsletter-inner { max-width: 600px; margin: 0 auto; }
.niv-newsletter-inner h3 {
    font-family: var(--niv-serif);
    font-size: 28px;
    font-weight: 300;
    color: var(--niv-dark);
    margin: 0 0 12px;
}
.niv-newsletter-inner p {
    font-family: var(--niv-sans);
    font-size: 14px;
    color: var(--niv-text-muted);
    font-weight: 300;
    margin: 0 0 32px;
}
.niv-newsletter-form {
    display: flex;
    gap: 0;
    max-width: 480px;
    margin: 0 auto;
}
.niv-newsletter-form input {
    flex: 1;
    padding: 13px 16px;
    border: 1px solid var(--niv-border);
    background: var(--niv-white);
    font-family: var(--niv-sans);
    font-size: 14px;
    color: var(--niv-dark);
    outline: none;
    border-right: none;
}
.niv-newsletter-form input:focus { border-color: var(--niv-gold); }
.niv-newsletter-form button {
    padding: 13px 28px;
    background: var(--niv-dark);
    color: var(--niv-white);
    border: 1px solid var(--niv-dark);
    font-family: var(--niv-sans);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--niv-ease);
    white-space: nowrap;
}
.niv-newsletter-form button:hover {
    background: var(--niv-gold);
    border-color: var(--niv-gold);
    color: var(--niv-dark);
}
@media (max-width: 480px) {
    .niv-newsletter-form { flex-direction: column; }
    .niv-newsletter-form input { border-right: 1px solid var(--niv-border); }
}

/* ═══════════════════════════════════════════════════
   CASE 1 — Shop page selected-diamond banner
═══════════════════════════════════════════════════ */
.niv-shop-diamond-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
    background: var(--niv-dark);
    color: var(--niv-white);
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.niv-sdb-icon {
    color: var(--niv-gold);
    font-size: 18px;
    flex-shrink: 0;
}
.niv-sdb-text {
    font-family: var(--niv-sans);
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    flex: 1;
    min-width: 200px;
}
.niv-sdb-text strong {
    color: var(--niv-white);
    margin-right: 6px;
}
.niv-sdb-cta {
    font-family: var(--niv-sans);
    font-size: 12px;
    letter-spacing: 1.5px;
    color: var(--niv-gold);
    white-space: nowrap;
}
.niv-sdb-clear {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.5);
    font-family: var(--niv-sans);
    font-size: 11px;
    padding: 5px 12px;
    cursor: pointer;
    transition: var(--niv-ease);
    white-space: nowrap;
}
.niv-sdb-clear:hover {
    border-color: rgba(255,255,255,0.6);
    color: var(--niv-white);
}

/* ═══════════════════════════════════════════════════
   PRODUCT PAGE — diamond panel (near Add to Cart)
═══════════════════════════════════════════════════ */
.niv-diamond-panel {
    margin-top: 16px;
    border: 1px solid var(--niv-border);
    background: var(--niv-light-bg);
    padding: 14px 18px;
    transition: border-color 0.3s;
}
.niv-diamond-panel--selected {
    border-color: var(--niv-gold);
    background: var(--niv-white);
}
.niv-dp-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.niv-dp-icon {
    font-size: 18px;
    color: var(--niv-gold);
    flex-shrink: 0;
}
.niv-dp-info { flex: 1; min-width: 0; }
.niv-dp-info strong {
    display: block;
    font-family: var(--niv-sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--niv-dark);
    margin-bottom: 3px;
}
.niv-dp-info p {
    font-family: var(--niv-sans);
    font-size: 12px;
    color: var(--niv-text-muted);
    margin: 0;
    line-height: 1.5;
}
.niv-diamond-panel-empty {
    display: flex;
    align-items: center;
    gap: 12px;
}
.niv-diamond-panel-empty .niv-dp-icon { color: var(--niv-border); }
.niv-diamond-panel-empty strong {
    display: block;
    font-family: var(--niv-sans);
    font-size: 13px;
    font-weight: 600;
    color: var(--niv-dark);
    margin-bottom: 3px;
}
.niv-diamond-panel-empty p {
    font-family: var(--niv-sans);
    font-size: 12px;
    color: var(--niv-text-muted);
    margin: 0;
}
.niv-dp-scroll-link,
.niv-dp-change {
    margin-left: auto;
    font-family: var(--niv-sans);
    font-size: 10px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--niv-dark);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.2s;
}
.niv-dp-scroll-link:hover, .niv-dp-change:hover { color: var(--niv-gold); }

.niv-dp-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
    margin-left: auto;
}
.niv-dp-deselect {
    background: none;
    border: none;
    font-family: var(--niv-sans);
    font-size: 10px;
    letter-spacing: 1px;
    color: #b12704;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
    transition: color 0.2s;
}
.niv-dp-deselect:hover { color: #8b1a01; }

/* Price breakdown */
.niv-price-box {
    margin-top: 12px;
    border: 1px solid var(--niv-border);
    padding: 16px 18px;
    background: var(--niv-white);
}
.niv-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--niv-sans);
    font-size: 13px;
    color: var(--niv-text-muted);
    padding: 3px 0;
}
.niv-price-diamond { color: var(--niv-dark); }
.niv-price-total {
    border-top: 1px solid var(--niv-border);
    padding-top: 10px;
    margin-top: 8px;
    color: var(--niv-dark);
    font-weight: 600;
}
.niv-price-total span:last-child {
    font-family: var(--niv-serif);
    font-size: 24px;
    font-weight: 300;
    color: var(--niv-dark);
}

/* Product page diamond browser section */
.niv-product-diamond-section {
    padding: 80px 24px;
    background: var(--niv-light-bg);
    border-top: 1px solid var(--niv-border);
}
.niv-product-diamond-header {
    text-align: center;
    margin-bottom: 40px;
}
.niv-product-diamond-header h2 {
    font-family: var(--niv-serif);
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 300;
    color: var(--niv-dark);
    margin: 8px 0 10px;
    line-height: 1.2;
}
.niv-product-diamond-header p {
    font-family: var(--niv-sans);
    font-size: 14px;
    color: var(--niv-text-muted);
    font-weight: 300;
    margin: 0;
}
/* Embedded browser: remove sticky filter pane */
.niv-product-diamond-section .niv-filters-panel {
    position: static !important;
    top: auto !important;
}
.niv-product-diamond-section #nivoda-app {
    padding: 0;
}

/* Selected diamond summary card (shown in place of browser when diamond is chosen) */
.niv-section-chosen-diamond {
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--niv-white);
    border: 1px solid var(--niv-gold);
    padding: 40px 52px;
    max-width: 760px;
    margin: 0 auto;
}
.niv-scd-gem {
    font-size: 52px;
    color: var(--niv-gold);
    flex-shrink: 0;
    line-height: 1;
}
.niv-scd-details {
    flex: 1;
    min-width: 0;
}
.niv-scd-eyebrow {
    font-family: var(--niv-sans);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--niv-gold);
    margin-bottom: 10px;
}
.niv-scd-title {
    font-family: var(--niv-serif);
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 300;
    color: var(--niv-dark);
    margin-bottom: 10px;
    line-height: 1.2;
}
.niv-scd-specs {
    font-family: var(--niv-sans);
    font-size: 13px;
    color: var(--niv-text-muted);
    margin-bottom: 14px;
    line-height: 1.7;
}
.niv-scd-price {
    font-family: var(--niv-serif);
    font-size: 30px;
    font-weight: 300;
    color: var(--niv-dark);
}
.niv-scd-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    flex-shrink: 0;
    min-width: 160px;
}
.niv-scd-change-btn {
    text-align: center;
}
.niv-scd-remove-btn {
    background: none;
    border: none;
    font-family: var(--niv-sans);
    font-size: 11px;
    letter-spacing: 1px;
    color: #b12704;
    cursor: pointer;
    padding: 4px 0;
    text-align: center;
    text-decoration: underline;
    transition: color 0.2s;
}
.niv-scd-remove-btn:hover { color: #8b1a01; }
@media (max-width: 600px) {
    .niv-section-chosen-diamond {
        flex-direction: column;
        padding: 28px 24px;
        gap: 24px;
        text-align: center;
    }
    .niv-scd-gem { font-size: 36px; }
    .niv-scd-actions { width: 100%; }
}

/* Selected card highlight */
.niv-diamond-card.niv-card-selected {
    border-color: var(--niv-gold) !important;
    box-shadow: 0 0 0 1px var(--niv-gold);
}
.niv-diamond-card.niv-card-selected .add-to-ring-btn {
    background: var(--niv-gold) !important;
    border-color: var(--niv-gold) !important;
    color: var(--niv-dark) !important;
}

/* Cart diamond detail */
.niv-cart-diamond-detail {
    font-family: var(--niv-sans);
    font-size: 13px;
    color: var(--niv-text-muted);
    margin-top: 8px;
}

/* ═══════════════════════════════════════════════════
   DIAMOND CARD — two-button action row
═══════════════════════════════════════════════════ */
.niv-card-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
/* "Add to Ring" fills full width (already styled via .add-to-ring-btn) */

/* "View Details" — outlined, lighter weight */
.niv-view-details-btn {
    width: 100%;
    padding: 10px 12px;
    background: transparent;
    color: var(--niv-dark);
    border: 1px solid var(--niv-border);
    font-family: var(--niv-sans);
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--niv-ease);
}
.niv-view-details-btn:hover {
    border-color: var(--niv-dark);
    background: var(--niv-light-bg);
}

/* ═══════════════════════════════════════════════════
   DIAMOND LISTING PAGE — "Your Selected Diamond" section
═══════════════════════════════════════════════════ */
.niv-btn-gold {
    background: var(--niv-gold);
    color: var(--niv-dark);
    border-color: var(--niv-gold);
}
.niv-btn-gold:hover {
    background: var(--niv-white);
    border-color: var(--niv-white);
    color: var(--niv-dark);
}

.niv-selected-diamond-section {
    background: var(--niv-dark);
    border-bottom: 2px solid var(--niv-gold);
}
.niv-sel-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 380px 1fr;
    min-height: 360px;
}
.niv-sel-image-col {
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    min-height: 280px;
}
.niv-sel-diamond-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-height: 380px;
}
.niv-sel-diamond-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    color: var(--niv-gold);
    opacity: 0.4;
    width: 100%;
    height: 100%;
    min-height: 280px;
}
.niv-sel-specs-col {
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}
.niv-sel-eyebrow {
    font-family: var(--niv-sans);
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--niv-gold);
}
.niv-sel-title {
    font-family: var(--niv-serif);
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 300;
    color: var(--niv-white);
    margin: 0;
    line-height: 1.1;
}
.niv-sel-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 24px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.niv-sel-spec-label {
    font-family: var(--niv-sans);
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 4px;
}
.niv-sel-spec-value {
    font-family: var(--niv-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--niv-white);
}
.niv-sel-price {
    font-family: var(--niv-serif);
    font-size: 40px;
    font-weight: 300;
    color: var(--niv-gold);
    line-height: 1;
}
.niv-sel-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}
.niv-sel-deselect-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.25);
    color: rgba(255,255,255,0.65);
    font-family: var(--niv-sans);
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 12px 24px;
    cursor: pointer;
    transition: var(--niv-ease);
    white-space: nowrap;
}
.niv-sel-deselect-btn:hover {
    border-color: rgba(255,255,255,0.7);
    color: var(--niv-white);
}

@media (max-width: 960px) {
    .niv-sel-inner { grid-template-columns: 1fr; }
    .niv-sel-image-col { min-height: 240px; max-height: 300px; }
    .niv-sel-specs-col { padding: 36px 28px; }
    .niv-sel-specs-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .niv-sel-specs-grid { grid-template-columns: repeat(2, 1fr); }
    .niv-sel-specs-col { padding: 28px 20px; }
}

/* ═══════════════════════════════════════════════════
   DIAMOND DETAIL MODAL
═══════════════════════════════════════════════════ */
.niv-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.72);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.niv-modal {
    background: var(--niv-white);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.niv-modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--niv-dark);
    line-height: 1;
    z-index: 2;
    padding: 6px 10px;
    transition: color 0.2s;
}
.niv-modal-close:hover { color: var(--niv-gold); }
.niv-modal-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.niv-modal-image {
    background: var(--niv-light-bg);
    min-height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.niv-modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.niv-modal-body {
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
}
.niv-modal-eyebrow {
    font-family: var(--niv-sans);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--niv-gold);
    margin-bottom: 6px;
}
.niv-modal-title {
    font-family: var(--niv-serif);
    font-size: 28px;
    font-weight: 300;
    color: var(--niv-dark);
    margin: 0 0 10px;
    line-height: 1.15;
}
.niv-modal-badge {
    display: inline-block;
    font-family: var(--niv-sans);
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 10px;
    background: var(--niv-dark);
    color: var(--niv-white);
    margin-bottom: 20px;
}
.niv-modal-badge.lab { background: var(--niv-gold); color: var(--niv-dark); }
.niv-modal-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
    margin-bottom: 20px;
}
.niv-modal-spec-label {
    font-family: var(--niv-sans);
    font-size: 9px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--niv-text-muted);
    margin-bottom: 2px;
}
.niv-modal-spec-value {
    font-family: var(--niv-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--niv-dark);
}
.niv-modal-price {
    font-family: var(--niv-serif);
    font-size: 34px;
    font-weight: 300;
    color: var(--niv-dark);
    border-top: 1px solid var(--niv-border);
    padding-top: 16px;
    margin-bottom: 4px;
}
.niv-modal-add-btn {
    width: 100%;
    padding: 15px;
    background: var(--niv-dark);
    color: var(--niv-white);
    border: 1px solid var(--niv-dark);
    font-family: var(--niv-sans);
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--niv-ease);
}
.niv-modal-add-btn:hover {
    background: var(--niv-gold);
    border-color: var(--niv-gold);
    color: var(--niv-dark);
}
.niv-modal-add-btn:disabled { opacity: 0.5; cursor: not-allowed; }
@media (max-width: 600px) {
    .niv-modal-inner { grid-template-columns: 1fr; }
    .niv-modal-image { min-height: 200px; }
    .niv-modal-body { padding: 24px 20px; }
    .niv-modal-title { font-size: 22px; }
}

/* ═══════════════════════════════════════════════════
   Legacy selected diamond box (kept for backwards compat)
═══════════════════════════════════════════════════ */
/* Legacy selected diamond box (kept for backwards compat) */
.selected-diamond-box {
    border: 1px solid var(--niv-border) !important;
    padding: 20px !important;
    margin-top: 24px !important;
    background: var(--niv-light-bg);
}
.selected-diamond-box p {
    font-family: var(--niv-sans);
    font-size: 14px;
    color: var(--niv-dark);
    margin-bottom: 14px !important;
    line-height: 1.6;
}
