/* ============================================
   Liora Diamond — Main Stylesheet
   Design: Navy + Gold luxury B2B/B2C
   Fonts: Cormorant Garamond (display) + Inter (body)
   ============================================ */

:root {
  --navy:    #0D1B2A;
  --navy-80: #1a2e42;
  --gold:    #C9973A;
  --gold-lt: #e8b96a;
  --cream:   #FAF8F4;
  --stone:   #8B7355;
  --charcoal:#2C3E50;
  --muted:   #6B7280;
  --border:  #E5E0D8;
  --white:   #FFFFFF;
  --red:     #C0392B;
  --green:   #27AE60;
  --radius:  4px;
  --radius-lg: 8px;
  --shadow:  0 2px 16px rgba(13,27,42,0.08);
  --shadow-lg: 0 8px 40px rgba(13,27,42,0.14);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;
  --max-w: 1280px;
  --transition: 0.22s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--charcoal); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; }
address { font-style: normal; }

/* === TYPOGRAPHY === */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--navy); }
h1 { font-size: clamp(2rem,5vw,3.5rem); }
h2 { font-size: clamp(1.6rem,3.5vw,2.6rem); }
h3 { font-size: clamp(1.2rem,2.5vw,1.7rem); }
h4 { font-size: 1.15rem; }
p { margin-bottom: 1rem; }
.eyebrow { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 0.6rem; }
.lead { font-size: 1.125rem; color: var(--muted); line-height: 1.8; }

/* === LAYOUT === */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { max-width: 600px; margin: 0.75rem auto 0; color: var(--muted); font-size: 1.05rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 1.5rem; }

/* === BUTTONS === */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.75rem; font-family: var(--font-body); font-size: 0.875rem; font-weight: 500; letter-spacing: 0.04em; border-radius: var(--radius); cursor: pointer; transition: all var(--transition); border: 1.5px solid transparent; text-decoration: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(13,27,42,0.15); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: var(--navy-80); border-color: var(--navy-80); }
.btn-gold { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover { background: #b5842e; border-color: #b5842e; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-gold { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--white); }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.8rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-whatsapp { display: inline-flex; align-items: center; justify-content: center; background: #25D366; color: var(--white); border: 1.5px solid #25D366; border-radius: 50%; width: 40px; height: 40px; min-width: 40px; padding: 0; flex-shrink: 0; transition: background var(--transition), transform var(--transition); }
.btn-whatsapp svg { display: block; }
.btn-whatsapp:hover { background: #1ebe59; transform: translateY(-2px); }
.btn-whatsapp-footer { background: #25D366; color: var(--white); border-color: #25D366; padding: 0.6rem 1.2rem; font-size: 0.85rem; border-radius: 2rem; display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1rem; }

/* === ANNOUNCEMENT BAR === */
.announcement-bar { background: var(--navy); color: rgba(255,255,255,0.85); font-size: 0.78rem; padding: 0.45rem 0; }
.announcement-bar .container { display: flex; align-items: center; justify-content: center; gap: 1.5rem; }
.announcement-bar .ann-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ann-cta { color: var(--gold-lt); font-weight: 600; display: flex; align-items: center; gap: 0.35rem; flex-shrink: 0; }
.ann-cta:hover { color: var(--gold); }
@media (max-width: 640px) {
  .announcement-bar .ann-text { display: none; }
  .announcement-bar .container { justify-content: center; }
}

/* === HEADER === */
.site-header { position: sticky; top: 0; background: var(--white); border-bottom: 1px solid var(--border); z-index: 1000; transition: box-shadow var(--transition); }
.site-header.scrolled { box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 2rem; }
.logo { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-display); font-size: 1.45rem; color: var(--navy); font-weight: 400; }
.logo-mark { color: var(--gold); font-size: 1.1rem; }
.logo-text strong { font-weight: 700; }
.logo-img { height: 42px; width: auto; max-width: 200px; display: block; object-fit: contain; }
@media (max-width: 480px) { .logo-img { height: 34px; max-width: 150px; } }

/* Highlighted nav item (Customize) — pill outline instead of plain gold text */
.main-nav > ul > li > a.nav-highlight {
  color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: 2rem;
  padding: 0.4rem 1rem;
  margin: 0 0.35rem;
  transition: background var(--transition), color var(--transition);
}
.main-nav > ul > li > a.nav-highlight:hover,
.main-nav > ul > li > a.nav-highlight.active {
  background: var(--gold);
  color: var(--white);
}
.main-nav > ul > li > a.nav-highlight.active::after { display: none; }
.main-nav ul { display: flex; gap: 0; align-items: center; }
.main-nav > ul > li > a { display: block; padding: 0.5rem 0.9rem; font-size: 0.875rem; font-weight: 500; color: var(--charcoal); position: relative; }
.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active { color: var(--navy); }
.main-nav > ul > li > a.active::after { content:''; position:absolute; bottom:0; left:0.9rem; right:0.9rem; height:2px; background:var(--gold); border-radius:1px; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; position: relative; z-index: 1300; }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: all var(--transition); }

/* === BREADCRUMB === */
.breadcrumb-nav { background: var(--cream); border-bottom: 1px solid var(--border); padding: 0.65rem 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.5rem; font-size: 0.8rem; color: var(--muted); }
.breadcrumb li:not(:last-child)::after { content: '›'; margin-left: 0.5rem; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb li[aria-current] { color: var(--charcoal); font-weight: 500; }

/* === HERO ACTIONS & STATS (shared by hero-50 and other page heroes) === */
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-actions .btn { padding: 1.05rem 2.4rem; font-size: 0.95rem; }
.hero-stats { display: flex; gap: 2.5rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.12); flex-wrap: wrap; }
.stat-item strong { display: block; font-family: var(--font-display); font-size: 2.35rem; font-weight: 700; color: var(--gold-lt); }
.stat-item span { font-size: 0.82rem; color: rgba(255,255,255,0.6); }

/* === HERO VISUAL BADGE (floating stat badge, reused in hero-50 and heritage section) === */
.hero-visual-badge { position: absolute; bottom: -1.25rem; left: -1.25rem; background: var(--gold); color: var(--white); padding: 1.1rem 1.4rem; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-lg); animation: liora-float 4s ease-in-out infinite; }
.hero-visual-badge strong { display: block; font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; }
.hero-visual-badge span { font-size: 0.72rem; }
@keyframes liora-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) {
  .hero-visual-badge { animation: none; }
}

/* === HERO 50/50 (homepage: content left half, video/image right half, edge to edge) === */
.hero-50 { display: grid; grid-template-columns: 1fr 1fr; min-height: 88vh; background: var(--navy); }
.hero-50-left { display: flex; flex-direction: column; justify-content: center; padding: 4rem clamp(1.5rem, 5vw, 5rem); color: var(--white); }
.hero-50-left .eyebrow { color: var(--gold-lt); margin-bottom: 1.1rem; font-size: 0.8rem; }
.hero-50-left h1 { color: var(--white); margin-bottom: 1.5rem; font-size: clamp(2.1rem, 4.2vw, 3.6rem); }
.hero-50-left h1 em { color: var(--gold-lt); font-style: normal; }
.hero-50-left .lead { color: rgba(255,255,255,0.78); margin-bottom: 2.25rem; font-size: 1.1rem; max-width: 540px; }
.hero-50-right { position: relative; min-height: 340px; overflow: hidden; background: linear-gradient(135deg, #0D1B2A 0%, #1a2e42 100%); }
.hero-50-right video, .hero-50-right img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-50-right .media-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; background: linear-gradient(135deg, #0D1B2A 0%, #1a2e42 100%); border: none; display: flex; align-items: center; justify-content: center; }
.hero-50-fallback svg { width: 55%; max-width: 320px; height: auto; }
.hero-50-right .hero-visual-badge { position: absolute; bottom: 2rem; left: 2rem; z-index: 2; }
@media (max-width: 900px) {
  .hero-50 { grid-template-columns: 1fr; min-height: auto; }
  .hero-50-left { text-align: center; align-items: center; padding: 3.5rem 1.5rem 2.5rem; }
  .hero-50-left .lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-50-right { min-height: 320px; order: 2; }
  .hero-50-right .hero-visual-badge { left: 50%; margin-left: -70px; bottom: 1.25rem; }
}
@media (max-width: 480px) {
  .hero-50-right { min-height: 240px; }
}

/* === CONTINUOUS TRUST MARQUEE (B2B credibility strip) === */
.trust-marquee { background: var(--navy); overflow: hidden; padding: 0.9rem 0; white-space: nowrap; }
.trust-marquee-track { display: inline-flex; animation: liora-marquee 32s linear infinite; }
.trust-marquee:hover .trust-marquee-track { animation-play-state: paused; }
.trust-marquee-item { display: inline-flex; align-items: center; gap: 0.9rem; padding: 0 1.75rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; color: var(--gold-lt); flex-shrink: 0; transition: color 0.2s ease, text-shadow 0.2s ease; }
.trust-marquee-item:hover { color: var(--white); text-shadow: 0 0 12px rgba(201,151,58,0.6); }
.trust-marquee-item i { font-style: normal; color: rgba(255,255,255,0.3); font-size: 0.7rem; }
@keyframes liora-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .trust-marquee-track { animation: none; overflow-x: auto; }
}

/* === HERITAGE MEDIA FRAME (Why Liora section) === */
.heritage-media-wrap { position: relative; }
.heritage-media-frame { aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy); transition: transform 0.5s ease, box-shadow 0.5s ease; }
.heritage-media-wrap:hover .heritage-media-frame { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.heritage-media-frame .media-placeholder { width: 100%; height: 100%; border: none; border-radius: 0; background: var(--navy); }
.heritage-media-frame .media-block-video, .heritage-media-frame .media-block-image { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.heritage-media-frame video, .heritage-media-frame img { width: 100%; height: 100%; object-fit: cover; }
.heritage-badge { position: absolute; bottom: -1rem; right: -1rem; left: auto; }
@media (max-width: 480px) {
  .heritage-badge { right: 50%; margin-right: -70px; bottom: -1rem; }
}

/* === LIVE STOCK BANNER === */
.live-stock-banner { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem 2.5rem; }
.live-stock-stat { text-align: center; }
.live-stock-stat strong { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--navy); }
.live-stock-stat span { font-size: 0.78rem; color: var(--muted); }
.live-stock-banner .btn { margin-left: auto; }
@media (max-width: 768px) {
  .live-stock-banner { justify-content: center; text-align: center; padding: 1.75rem; }
  .live-stock-banner .btn { margin-left: 0; width: 100%; justify-content: center; }
}

/* === TESTIMONIALS === */
.testimonial-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2rem; position: relative; }
.testimonial-quote-mark { font-family: var(--font-display); font-size: 3rem; color: var(--gold); opacity: 0.3; line-height: 1; margin-bottom: 0.5rem; }
.testimonial-card p { font-size: 0.95rem; color: var(--charcoal); line-height: 1.7; font-style: italic; }
.testimonial-card strong { display: block; margin-top: 1rem; font-size: 0.82rem; color: var(--navy); font-weight: 600; }

/* === FAQ ACCORDION === */
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 1.4rem; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; color: var(--navy); }
.faq-toggle-icon { flex-shrink: 0; font-size: 1.2rem; color: var(--gold); transition: transform 0.2s ease; }
.faq-item.open .faq-toggle-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-answer p { padding: 0 1.4rem 1.1rem; font-size: 0.88rem; color: var(--muted); line-height: 1.7; margin: 0; }
.faq-item.open .faq-answer { max-height: 240px; }

/* === SCROLL REVEAL === */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* === STAGGERED GRID REVEAL (product cards, process steps) === */
.stagger-grid > * { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; transition-delay: calc(var(--stagger, 0) * 90ms); }
.stagger-grid.is-visible > * { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .stagger-grid > * { opacity: 1; transform: none; transition: none; }
}

/* === BUTTON GROUP + LIGHT OUTLINE VARIANT (for use on dark backgrounds) === */
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-outline-light { border-color: rgba(255,255,255,0.4); color: var(--white); }
.btn-outline-light:hover { border-color: var(--gold-lt); color: var(--gold-lt); background: rgba(255,255,255,0.06); }

/* === MEDIA PLACEHOLDER HINT (shows where to add real image/video) === */
.media-placeholder-hint { position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%); font-size: 0.68rem; line-height: 1.4; text-align: center; color: var(--stone); background: rgba(255,255,255,0.85); padding: 0.5rem 0.9rem; border-radius: var(--radius); white-space: nowrap; }
.media-placeholder-hint strong { color: var(--gold); font-weight: 700; }
.hero-50-fallback .media-placeholder-hint { background: rgba(13,27,42,0.55); color: rgba(255,255,255,0.75); bottom: 6.5rem; }
.hero-50-fallback .media-placeholder-hint strong { color: var(--gold-lt); }

/* === B2B / B2C SPLIT SECTION === */
.b2b-b2c-section { background: var(--navy); }
.b2b-b2c-col { padding: 3rem; }

/* === WHY LIORA POINTS (hover lift) === */
.why-liora-point { padding: 1.25rem; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition); }
.why-liora-point:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.why-liora-icon { color: var(--gold); font-size: 1.2rem; margin-bottom: 0.5rem; }
.why-liora-point strong { display: block; font-size: 0.9rem; color: var(--navy); margin-bottom: 0.25rem; }
.why-liora-point span { font-size: 0.82rem; color: var(--muted); line-height: 1.55; }

/* === PROCESS STEPS (How B2B Sourcing Works) === */
.process-step { text-align: center; padding: 1.5rem; transition: transform var(--transition); }
.process-step:hover { transform: translateY(-4px); }
.process-step-num { width: 52px; height: 52px; background: var(--navy); color: var(--gold-lt); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin: 0 auto 1rem; transition: background var(--transition), transform var(--transition); }
.process-step:hover .process-step-num { background: var(--gold); transform: scale(1.08); }
.process-step h4 { margin-bottom: 0.5rem; }
.process-step p { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* === PAGE HERO (larger variant used on catalog/detail pages) === */
.page-hero-lg { padding: 5.5rem 0 4.5rem; position: relative; overflow: hidden; }
.page-hero-lg h1 { font-size: clamp(2.2rem,4.5vw,3.2rem); }
.page-hero-lg .eyebrow { font-size: 0.8rem; }
.page-hero-lg p { max-width: 640px; font-size: 1.15rem; }
.hero-diamond-deco { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 320px; opacity: 0.06; z-index: 0; pointer-events: none; }
.page-hero-lg .container { position: relative; z-index: 1; }

/* === DIAMOND TYPE TABS === */
.dtype-tabs { background: var(--white); border-bottom: 1px solid var(--border); }
.dtype-tab-row { display: flex; gap: 0.5rem; overflow-x: auto; padding: 1rem 0; }
.dtype-tab { flex-shrink: 0; padding: 0.65rem 1.4rem; border-radius: 2rem; font-size: 0.85rem; font-weight: 600; color: var(--charcoal); border: 1.5px solid var(--border); transition: all var(--transition); white-space: nowrap; }
.dtype-tab:hover { border-color: var(--gold); color: var(--gold); }
.dtype-tab.active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* === EXPANDED FILTER GRID (loose diamonds catalog) === */
.catalog-filters-lg { position: static; padding: 1.75rem 0; }
.filter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; align-items: end; }
.filter-grid .filter-group { display: flex; flex-direction: column; align-items: stretch; gap: 0.35rem; }
.filter-range { flex-direction: row !important; align-items: center; gap: 0.4rem; }
.filter-range span { color: var(--muted); }
.filter-input { font-family: var(--font-body); font-size: 0.82rem; padding: 0.45rem 0.6rem; border: 1px solid var(--border); border-radius: var(--radius); width: 100%; min-width: 0; }
.filter-input:focus { outline: none; border-color: var(--gold); }
.filter-actions { display: flex; gap: 0.5rem; align-items: end; }
.filter-count-row { margin-top: 1rem; font-size: 0.85rem; color: var(--muted); font-weight: 500; }
/* Loose-diamond catalogue grid: fixed 4 across on desktop, 2 across on mobile.
   Explicit column counts (not auto-fill) so the layout is predictable at every width. */
.grid-auto-lg { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* === REAL-TIME FILTER RESULTS === */
#diamond-results { position: relative; min-height: 200px; transition: opacity 0.2s ease; }
#diamond-results.is-loading { opacity: 0.45; pointer-events: none; }
#diamond-results.is-loading::after {
  content: ''; position: absolute; top: 2.5rem; left: 50%; width: 34px; height: 34px; margin-left: -17px;
  border: 3px solid var(--border); border-top-color: var(--gold); border-radius: 50%;
  animation: liora-spin 0.7s linear infinite; z-index: 5;
}
@keyframes liora-spin { to { transform: rotate(360deg); } }
.grid-auto-lg .product-card { animation: liora-fade-in 0.35s ease; }
@keyframes liora-fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* === MEDIA SPLIT (image/video + story, alternating, used across pages) === */
.media-split { padding: 5rem 0; overflow: hidden; }
.media-split-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.media-split.reverse .media-split-inner { direction: rtl; }
.media-split.reverse .media-split-inner > * { direction: ltr; }
.media-split-media { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.media-block-video, .media-block-image { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); display: block; box-shadow: var(--shadow-lg); transition: transform 0.6s ease; }
.media-split:hover .media-block-video, .media-split:hover .media-block-image { transform: scale(1.035); }
.media-placeholder { aspect-ratio: 4/3; background: linear-gradient(135deg, var(--cream) 0%, #F0EBE1 100%); border: 1px solid var(--border); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; transition: transform 0.6s ease; }
.media-split:hover .media-placeholder { transform: scale(1.02); }
.media-placeholder svg { width: 55%; height: 55%; transition: transform 0.6s ease; }
.media-split:hover .media-placeholder svg { transform: rotate(4deg) scale(1.05); }
.media-placeholder img, .media-placeholder video { width: 100%; height: 100%; object-fit: cover; }
.media-split-text .eyebrow { font-size: 0.78rem; }
.media-split-text h2 { margin-bottom: 1rem; }
.media-split-text .btn { margin-top: 1.5rem; }
@media (max-width: 900px) {
  .media-split-inner { grid-template-columns: 1fr; }
  .media-split.reverse .media-split-inner { direction: ltr; }
}

/* === CUSTOMIZE CTA (jewelry.php) === */
.customize-cta-section { background: var(--navy); padding: 5rem 0; }
.customize-cta-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3.5rem; align-items: center; }
.customize-cta-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.65rem; }
.customize-cta-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.customize-cta-list li span { color: var(--gold-lt); flex-shrink: 0; margin-top: 0.1rem; }
@media (max-width: 900px) {
  .customize-cta-grid { grid-template-columns: 1fr; }
  .customize-cta-media { display: none; }
}

/* === PRODUCT CARDS === */
.product-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); display: flex; flex-direction: column; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--gold); }
.product-card-img { aspect-ratio: 1; overflow: hidden; background: var(--cream); position: relative; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-card-img img { transform: scale(1.04); }
.product-img-fallback { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; background: linear-gradient(135deg, var(--cream) 0%, #F0EBE1 100%); color: var(--gold); }
.product-img-fallback svg { width: 42%; height: 42%; }
.product-img-fallback span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--stone); }
.product-img-fallback-lg svg { width: 34%; height: 34%; }
.product-img-fallback-lg span { font-size: 0.85rem; }
.product-badge { position: absolute; top: 0.75rem; left: 0.75rem; background: var(--gold); color: var(--white); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 2px; }
.product-badge.b2b { background: var(--navy); }
.product-badge.limited { background: #E67E22; }
.product-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.product-card-body h3 { font-size: 1rem; font-family: var(--font-display); font-weight: 600; color: var(--navy); margin-bottom: 0.4rem; line-height: 1.3; }
.product-specs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0.6rem 0; }
.spec-tag { background: var(--cream); color: var(--stone); font-size: 0.7rem; font-weight: 500; padding: 0.2rem 0.5rem; border-radius: 2px; }
.product-price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--navy); margin: auto 0 0.75rem; }
.product-price small { font-size: 0.75rem; font-weight: 400; color: var(--muted); font-family: var(--font-body); }
.product-card-actions { display: flex; gap: 0.5rem; }
.product-card-actions .btn { flex: 1; justify-content: center; font-size: 0.78rem; padding: 0.55rem 0.75rem; }

/* === PAGE HERO === */
.page-hero { background: var(--navy); color: var(--white); padding: 4rem 0 3.5rem; }
.page-hero h1 { color: var(--white); }
.page-hero p { color: rgba(255,255,255,0.72); margin-top: 0.75rem; font-size: 1.1rem; }

/* === FILTERS === */
.catalog-filters { background: var(--cream); border-bottom: 1px solid var(--border); padding: 1.25rem 0; position: sticky; top: 68px; z-index: 90; }
.filter-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.filter-group { display: flex; align-items: center; gap: 0.5rem; }
.filter-group label { font-size: 0.78rem; font-weight: 600; color: var(--stone); white-space: nowrap; }
select.filter-select { font-family: var(--font-body); font-size: 0.82rem; padding: 0.45rem 2rem 0.45rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); color: var(--charcoal); cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23888'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.6rem center; }
select.filter-select:focus { outline: none; border-color: var(--gold); }
.filter-count { margin-left: auto; font-size: 0.8rem; color: var(--muted); }

/* === BLOG CARDS === */
.blog-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: all var(--transition); }
.blog-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.blog-card-img { aspect-ratio: 16/9; overflow: hidden; background: var(--cream); }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 1.4rem; }
.blog-meta { display: flex; gap: 1rem; align-items: center; font-size: 0.75rem; color: var(--muted); margin-bottom: 0.75rem; }
.blog-meta .category { background: var(--cream); color: var(--stone); padding: 0.2rem 0.6rem; border-radius: 2px; font-weight: 500; }
.blog-card h3 { font-size: 1.15rem; font-family: var(--font-display); color: var(--navy); margin-bottom: 0.5rem; line-height: 1.35; }
.blog-card p { font-size: 0.875rem; color: var(--muted); line-height: 1.65; }
.blog-card .read-more { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1rem; font-size: 0.82rem; font-weight: 600; color: var(--gold); }
.blog-card .read-more:hover { gap: 0.7rem; }

/* === Horizontal blog cards (banner left, content right) === */
.blog-list { display: flex; flex-direction: column; gap: 1.5rem; }
.blog-row {
  display: grid; grid-template-columns: 300px 1fr;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.blog-row:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.blog-row-img {
  position: relative; overflow: hidden; background: var(--cream);
  display: flex; align-items: center; justify-content: center; min-height: 220px;
}
.blog-row-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.blog-row:hover .blog-row-img img { transform: scale(1.04); }
.blog-row-noimg { font-size: 3rem; color: var(--gold); opacity: 0.35; }
.blog-row-badge {
  position: absolute; top: 0.85rem; left: 0.85rem;
  background: var(--gold); color: var(--white);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 0.28rem 0.6rem; border-radius: 3px;
}

.blog-row-body { padding: 1.75rem 2rem; display: flex; flex-direction: column; }
.blog-row-title { font-size: 1.4rem; line-height: 1.3; margin: 0.5rem 0 0.75rem; font-family: var(--font-display); }
.blog-row-title a { color: var(--navy); transition: color var(--transition); }
.blog-row-title a:hover { color: var(--gold); }
.blog-row-excerpt { font-size: 0.92rem; color: var(--muted); line-height: 1.7; margin: 0 0 1.25rem; flex-grow: 1; }
.blog-row-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.blog-row-author { font-size: 0.8rem; color: var(--stone); font-weight: 500; }
.blog-row-btn { flex-shrink: 0; }

/* Featured (first, wider banner) */
.blog-row-feature { grid-template-columns: 420px 1fr; }
.blog-row-feature .blog-row-title { font-size: 1.7rem; }
@media (max-width: 1100px) {
  .blog-row-feature { grid-template-columns: 300px 1fr; }
  .blog-row-feature .blog-row-title { font-size: 1.4rem; }
}

/* Stack on tablet/mobile so the banner spans full width and is fully visible */
@media (max-width: 760px) {
  .blog-row, .blog-row-feature { grid-template-columns: 1fr; }
  .blog-row-img { min-height: 0; aspect-ratio: 16 / 9; }
  .blog-row-body { padding: 1.4rem; }
  .blog-row-title, .blog-row-feature .blog-row-title { font-size: 1.25rem; }
  .blog-row-foot { flex-direction: column; align-items: stretch; }
  .blog-row-btn { width: 100%; justify-content: center; }
}

/* === TRUST BADGES === */
.trust-strip { background: var(--cream); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 2rem 0; }
.trust-items { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 1.5rem; }
.trust-item { display: flex; align-items: center; gap: 0.75rem; }
.trust-icon { width: 44px; height: 44px; background: var(--white); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 1.1rem; flex-shrink: 0; }
.trust-icon svg { width: 20px; height: 20px; }
.trust-item strong { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.trust-item span { font-size: 0.75rem; color: var(--muted); }

/* === QUOTE FORM === */
.quote-section { background: var(--navy); color: var(--white); padding: 5rem 0; }
.quote-inner { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
.quote-info h2 { color: var(--white); }
.quote-info p { color: rgba(255,255,255,0.72); margin-top: 1rem; }
.quote-options { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.quote-option { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); transition: all var(--transition); }
.quote-option:hover { background: rgba(255,255,255,0.1); transform: translateX(4px); border-color: rgba(201,151,58,0.4); }
.quote-option:hover .quote-option-icon { transform: scale(1.1); }
.quote-option-icon { width: 42px; height: 42px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--white); font-size: 1rem; transition: transform var(--transition); }
.quote-option-text strong { display: block; font-size: 0.9rem; color: var(--white); margin-bottom: 0.15rem; }
.quote-option-text span { font-size: 0.8rem; color: rgba(255,255,255,0.55); }
.quote-option a { color: var(--gold-lt); text-decoration: underline; font-size: 0.85rem; }
.quote-form-wrap { background: var(--white); padding: 2.5rem; border-radius: var(--radius-lg); }
.quote-form-wrap h3 { color: var(--navy); margin-bottom: 0.25rem; font-size: 1.4rem; }
.quote-form-wrap p { color: var(--muted); font-size: 0.875rem; margin-bottom: 1.75rem; }

/* === FORMS === */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.8rem; font-weight: 600; color: var(--charcoal); }
.form-group label span { color: var(--red); }
.form-group input,
.form-group select,
.form-group textarea { font-family: var(--font-body); font-size: 0.875rem; padding: 0.7rem 0.9rem; border: 1.5px solid var(--border); border-radius: var(--radius); color: var(--charcoal); background: var(--white); transition: border-color var(--transition); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,151,58,0.12); }
.form-group textarea { resize: vertical; min-height: 110px; }
.client-type-toggle { display: flex; gap: 0; background: var(--cream); border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; grid-column: 1 / -1; }
.type-option { flex: 1; position: relative; }
.type-option input { position: absolute; opacity: 0; }
.type-option label { display: block; padding: 0.75rem; text-align: center; font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: all var(--transition); }
.type-option input:checked + label { background: var(--navy); color: var(--white); }
.form-alert { display: none; padding: 0.85rem 1rem; border-radius: var(--radius); font-size: 0.875rem; margin-bottom: 1rem; }
.form-alert.success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; display: block; }
.form-alert.error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; display: block; }
.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.25rem; flex-wrap: wrap; }
.form-privacy { font-size: 0.75rem; color: var(--muted); }

/* === ABOUT TIMELINE === */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before { content:''; position:absolute; left:0; top:0; bottom:0; width:2px; background: linear-gradient(to bottom, var(--gold), transparent); }
.timeline-item { position: relative; padding: 0 0 2.5rem 1.75rem; }
.timeline-dot { position: absolute; left: -2rem; top: 0.25rem; width: 12px; height: 12px; background: var(--gold); border-radius: 50%; border: 2px solid var(--white); box-shadow: 0 0 0 2px var(--gold); transform: translateX(-5px); }
.timeline-year { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; color: var(--gold); text-transform: uppercase; margin-bottom: 0.25rem; }
.timeline-item h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.timeline-item p { font-size: 0.9rem; color: var(--muted); }

/* === ARTICLE CONTENT === */
.article-content { max-width: 780px; }
.article-content h2 { font-size: 1.6rem; margin: 2rem 0 0.75rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.article-content h3 { font-size: 1.25rem; margin: 1.5rem 0 0.5rem; }
.article-content p { font-size: 1.025rem; line-height: 1.85; color: var(--charcoal); margin-bottom: 1.25rem; }
.article-content ul, .article-content ol { margin: 0 0 1.25rem 1.5rem; }
.article-content li { font-size: 1rem; line-height: 1.75; color: var(--charcoal); margin-bottom: 0.4rem; }
.article-content blockquote { border-left: 4px solid var(--gold); padding: 1rem 1.5rem; margin: 1.5rem 0; background: var(--cream); border-radius: 0 var(--radius-lg) var(--radius-lg) 0; font-family: var(--font-display); font-size: 1.15rem; font-style: italic; color: var(--navy); }

/* === FOOTER === */
.footer-newsletter { background: var(--gold); padding: 2.5rem 0; }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.newsletter-inner h3 { color: var(--white); font-size: 1.35rem; margin-bottom: 0.25rem; }
.newsletter-inner p { color: rgba(255,255,255,0.85); font-size: 0.9rem; margin: 0; }
.newsletter-form { display: flex; gap: 0; min-width: 360px; flex: 1; max-width: 500px; }
.newsletter-form input { flex: 1; padding: 0.8rem 1rem; border: none; border-radius: var(--radius) 0 0 var(--radius); font-family: var(--font-body); font-size: 0.875rem; }
.newsletter-form input:focus { outline: 2px solid var(--navy); }
.newsletter-form .btn { border-radius: 0 var(--radius) var(--radius) 0; white-space: nowrap; background: var(--navy); border-color: var(--navy); }
.footer-main { background: var(--navy); color: rgba(255,255,255,0.75); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1.4fr; gap: 3rem; }
.footer-brand .logo { color: var(--white); margin-bottom: 1rem; }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.65); transition: all var(--transition); }
.footer-social a:hover { background: var(--gold); color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-body); margin-bottom: 1.1rem; }
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul a { font-size: 0.85rem; color: rgba(255,255,255,0.65); }
.footer-col ul a:hover { color: var(--gold-lt); }
.footer-col address p { font-size: 0.85rem; margin-bottom: 0.5rem; }
.footer-col address a { color: rgba(255,255,255,0.65); }
.footer-col address a:hover { color: var(--gold-lt); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 3rem; padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.78rem; color: rgba(255,255,255,0.45); }
.footer-bottom nav { display: flex; gap: 1.5rem; }
.footer-bottom a { color: rgba(255,255,255,0.45); }
.footer-bottom a:hover { color: var(--gold-lt); }
.whatsapp-float { position: fixed; bottom: 1.75rem; right: 1.75rem; width: 54px; height: 54px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); box-shadow: 0 4px 20px rgba(37,211,102,0.4); z-index: 999; transition: all var(--transition); }
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 28px rgba(37,211,102,0.55); }

/* === ADMIN === */
.admin-body { font-family: var(--font-body); background: #F1F3F4; min-height: 100vh; }
.admin-sidebar { width: 240px; background: var(--navy); position: fixed; top: 0; left: 0; height: 100vh; display: flex; flex-direction: column; z-index: 200; }
.admin-sidebar .logo { padding: 1.5rem 1.25rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.admin-nav { padding: 1rem 0; flex: 1; overflow-y: auto; }
.admin-nav a { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 1.25rem; font-size: 0.875rem; color: rgba(255,255,255,0.65); transition: all var(--transition); }
.admin-nav a:hover, .admin-nav a.active { color: var(--white); background: rgba(255,255,255,0.07); border-left: 3px solid var(--gold); padding-left: calc(1.25rem - 3px); }
.admin-nav .nav-section { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.3); padding: 1rem 1.25rem 0.4rem; margin-top: 0.5rem; }
.admin-main { margin-left: 240px; padding: 2rem; }
.admin-topbar { background: var(--white); border-bottom: 1px solid var(--border); padding: 0.85rem 2rem; display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 100; margin: -2rem -2rem 2rem; }
.admin-topbar h1 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 600; color: var(--navy); }
.admin-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 1.5rem; margin-bottom: 1.5rem; }
.stat-card { text-align: center; }
.stat-card .stat-num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--navy); }
.stat-card .stat-label { font-size: 0.8rem; color: var(--muted); }

/* === RESPONSIVE UTILITY GRIDS (product detail / about / blog / homepage) === */
.pd-main-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.pd-desc-grid { margin-top: 3rem; display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; }
.pd-related-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }
.about-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; text-align: center; }
.blog-article-grid { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: start; }
.why-liora-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2rem; }
.split-cta-col { border-right: 1px solid rgba(255,255,255,0.1); }
.split-cta-col:last-child { border-right: none; }
@media (max-width: 1024px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); }
  .pd-related-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 900px) {
  .pd-main-grid, .pd-desc-grid, .blog-article-grid { grid-template-columns: 1fr; gap: 2rem; }
  .split-cta-col { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .split-cta-col:last-child { border-bottom: none; }
}
@media (max-width: 480px) {
  .about-stats-grid, .why-liora-grid, .pd-related-grid { grid-template-columns: 1fr; }
}
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.admin-table th { text-align: left; padding: 0.75rem 1rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--border); }
.admin-table td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--border); color: var(--charcoal); vertical-align: middle; }
.admin-table tr:hover td { background: var(--cream); }
.badge { display: inline-flex; align-items: center; padding: 0.25rem 0.6rem; border-radius: 2px; font-size: 0.7rem; font-weight: 600; }
.badge-green { background: #d4edda; color: #155724; }
.badge-blue { background: #cce5ff; color: #004085; }
.badge-amber { background: #fff3cd; color: #856404; }
.badge-red { background: #f8d7da; color: #721c24; }
.badge-gray { background: #e2e3e5; color: #383d41; }
.notice { padding: 1rem 1.25rem; border-radius: var(--radius); margin-bottom: 1rem; font-size: 0.875rem; }
.notice-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.notice-error { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* === UTILS === */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.divider { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.bg-cream { background: var(--cream); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 3rem; flex-wrap: wrap; }
.pagination a, .pagination span { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.875rem; transition: all var(--transition); }
.pagination a:hover { border-color: var(--gold); color: var(--gold); }
.pagination .current { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .quote-inner { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 900px) {
  /* Mobile slide-in drawer — full viewport, no JS variable dependency */
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; left: 0;
    width: 100%; height: 100vh; height: 100dvh;
    background: var(--white);
    padding: 88px 0 2rem; overflow-y: auto; -webkit-overflow-scrolling: touch;
    transform: translateX(100%); transition: transform 0.3s ease; visibility: hidden;
    z-index: 1200;
  }
  .main-nav.open { transform: translateX(0); visibility: visible; }
  .main-nav > ul { flex-direction: column; gap: 0; }
  .main-nav > ul > li { width: 100%; }
  .main-nav > ul > li > a { display: block; padding: 1rem 1.5rem; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .main-nav > ul > li > a.active::after { display: none; }
  /* Highlighted item stretches to a full-width bar in the drawer */
  .main-nav > ul > li > a.nav-highlight { margin: 0.75rem 1.5rem; text-align: center; border-radius: var(--radius); padding: 0.85rem; }
  .hamburger { display: flex; }
  /* Keep the "Get a Quote" button but tuck the WhatsApp icon into the drawer footer feel */
  .header-actions .btn.btn-primary { display: none; }
  /* Prevent background scroll while the drawer is open */
  body.nav-open { overflow: hidden; }
}
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-auto { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-form { min-width: unset; }
  .form-grid { grid-template-columns: 1fr; }
  .admin-sidebar { transform: translateX(-100%); }
  .admin-main { margin-left: 0; }
  .filter-grid { grid-template-columns: 1fr 1fr; }
  .hero-diamond-deco { display: none; }
}
@media (max-width: 480px) {
  .grid-auto { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
  .filter-grid { grid-template-columns: 1fr; }
  .media-split { padding: 3rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}


.media-split-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
}
/* === Shape-accurate placeholder for stones with no supplier photo === */
.product-img-fallback-shape svg { width: 46%; height: 46%; opacity: 0.85; }
.product-img-fallback-shape span { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; text-align: center; line-height: 1.3; }
.product-img-fallback-shape span em {
  font-style: normal; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; color: var(--gold); text-transform: uppercase;
}
.product-img-fallback-shape span { font-size: 0.68rem; letter-spacing: 0.04em; text-transform: none; color: var(--muted); }
.product-img-fallback-lg.product-img-fallback-shape svg { width: 38%; height: 38%; }
.product-img-fallback-lg.product-img-fallback-shape span em { font-size: 1rem; }
.product-img-fallback-lg.product-img-fallback-shape span { font-size: 0.82rem; }

/* === Pagination: ellipsis gaps + "Page X of Y" label === */
.pagination-gap { border: none !important; width: auto !important; min-width: 20px; color: var(--muted); }
.pagination-info {
  border: none !important; width: auto !important; height: auto !important;
  padding: 0 0.75rem; font-size: 0.8rem; color: var(--muted); white-space: nowrap;
}
@media (max-width: 600px) {
  .pagination { gap: 0.35rem; }
  .pagination a, .pagination .current { width: 36px; height: 36px; font-size: 0.8rem; }
  .pagination-info { flex-basis: 100%; justify-content: center; margin-top: 0.6rem; padding: 0; }
}

/* =====================================================================
   LOOSE DIAMOND CATALOGUE — filter accordion, responsive grid, pagination
   ===================================================================== */

/* --- Filter accordion toggle — available on ALL devices --- */
.filter-toggle {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 0.9rem 0.25rem;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 600;
  color: var(--navy); letter-spacing: 0.02em;
  transition: color var(--transition);
}
.filter-toggle:hover { color: var(--gold); }

.filter-toggle-label { display: inline-flex; align-items: center; gap: 0.55rem; }
.filter-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 20px; height: 20px; padding: 0 6px;
  background: var(--gold); color: var(--white);
  border-radius: 10px; font-size: 0.7rem; font-weight: 700;
}
.filter-toggle-chevron {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; font-weight: 500; color: var(--muted);
}
.filter-toggle-chevron svg { transition: transform 0.25s ease; }
.filter-toggle.is-open .filter-toggle-chevron svg { transform: rotate(180deg); }

/* Collapse/expand — applies at every width, but only once JS is available
   (.js-filters on <html>), so the panel is never permanently hidden. */
.js-filters .filter-grid {
  max-height: 0; overflow: hidden; opacity: 0; padding-top: 0; padding-bottom: 0;
  transition: max-height 0.32s ease, opacity 0.25s ease, padding 0.32s ease;
}
.js-filters .filter-grid.is-open {
  max-height: 800px; opacity: 1;
  padding-top: 0.25rem; padding-bottom: 1.5rem;
}

/* --- Grid tiers: 4 desktop -> 3 laptop -> 2 tablet/mobile --- */
@media (max-width: 1200px) {
  .grid-auto-lg { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .grid-auto-lg { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

  .catalog-filters-lg { padding: 0; }
  .filter-toggle { padding: 0.95rem 0.25rem; font-size: 0.9rem; }
  .filter-grid { grid-template-columns: 1fr 1fr; padding-left: 0.25rem; padding-right: 0.25rem; }
  .js-filters .filter-grid.is-open { max-height: 900px; }
  .filter-grid .filter-actions { grid-column: 1 / -1; }
  .filter-grid .filter-actions .btn { flex: 1; justify-content: center; }
}

/* --- Compact product cards on small screens so 2-up still reads well --- */
@media (max-width: 600px) {
  .grid-auto-lg { gap: 0.75rem; }
  .grid-auto-lg .product-card-body { padding: 0.85rem; }
  .grid-auto-lg .product-card-body h3 { font-size: 0.82rem; line-height: 1.35; }
  .grid-auto-lg .product-price { font-size: 1rem; }
  .grid-auto-lg .product-specs { gap: 0.25rem; }
  .grid-auto-lg .spec-tag { font-size: 0.62rem; padding: 0.15rem 0.4rem; }
  .grid-auto-lg .product-card-actions { flex-direction: column; gap: 0.4rem; }
  .grid-auto-lg .product-card-actions .btn { width: 100%; justify-content: center; padding: 0.5rem; font-size: 0.75rem; }
  .grid-auto-lg .product-badge { font-size: 0.6rem; padding: 0.2rem 0.45rem; }
  .product-img-fallback-shape span em { font-size: 0.68rem; }
  .product-img-fallback-shape span { font-size: 0.6rem; }
}

/* --- Pagination: keep it tidy and readable at every width --- */
.pagination { align-items: center; }
.pagination-info {
  order: 99; flex-basis: 100%; display: flex; justify-content: center;
  margin-top: 0.85rem; padding: 0;
}
@media (max-width: 600px) {
  .pagination { gap: 0.3rem; }
  .pagination a, .pagination .current { width: 34px; height: 34px; font-size: 0.78rem; }
  /* Hide the numbered links on very small screens — prev/next + the
     "Page X of Y" label are clearer than a cramped row of numbers. */
  .pagination a:not([aria-label]), .pagination .pagination-gap { display: none; }
  .pagination .current { display: flex; min-width: 34px; }
  .pagination a[aria-label] { width: 44px; height: 40px; font-size: 1.1rem; }
  .pagination-info { font-size: 0.82rem; font-weight: 600; color: var(--navy); margin-top: 0.6rem; }
}

/* === "Price on Request" (shown when SHOW_DIAMOND_PRICES is false) === */
.price-on-request {
  font-family: var(--font-body);
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.03em;
  color: var(--gold); text-transform: uppercase;
}
.product-price .price-on-request { display: inline-block; }
@media (max-width: 600px) {
  .grid-auto-lg .price-on-request { font-size: 0.68rem; }
}

/* ============================================
   PPC Landing Pages — CTA trio + 3-step short form
   ============================================ */

/* --- Three-tier CTA band --- */
.cta-trio { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.cta-trio .btn-lg { padding: 1rem 1.75rem; font-size: 0.95rem; }
.cta-tertiary-link { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.85); border-bottom: 1px solid rgba(255,255,255,0.35); padding-bottom: 2px; }
.cta-tertiary-link:hover { color: var(--gold-lt); border-color: var(--gold-lt); }
.cta-tertiary-link.on-light { color: var(--navy); border-color: var(--border); }
.cta-tertiary-link.on-light:hover { color: var(--gold); border-color: var(--gold); }

/* --- Hero trust bullets (checkmark row) --- */
.hero-bullet-list { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; margin: 1.5rem 0 2rem; padding: 0; }
.hero-bullet-list li { list-style: none; display: flex; align-items: center; gap: 0.45rem; font-size: 0.85rem; color: rgba(255,255,255,0.82); }
.hero-bullet-list li::before { content: '✓'; color: var(--gold-lt); font-weight: 700; }

/* --- Feature grid (used on landing pages) --- */
.feature-mini { padding: 1.5rem 1.25rem; border: 1px solid var(--border); border-radius: var(--radius-lg); text-align: center; background: var(--white); transition: box-shadow var(--transition), transform var(--transition); }
.feature-mini:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.feature-mini .feature-mini-icon { font-size: 1.5rem; color: var(--gold); margin-bottom: 0.6rem; }
.feature-mini strong { display: block; font-size: 0.88rem; color: var(--navy); font-weight: 600; }

/* --- PPC 3-step form card --- */
.ppc-form-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-lg); }
.ppc-step-indicator { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.ppc-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--cream); border: 1.5px solid var(--border); color: var(--muted); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; transition: all var(--transition); }
.ppc-dot.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.ppc-dot.is-done { background: var(--gold); border-color: var(--gold); color: var(--white); }
.ppc-dot-line { width: 34px; height: 2px; background: var(--border); }
.ppc-step-labels { display: flex; justify-content: space-between; max-width: 300px; margin: 0 auto; font-size: 0.68rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; text-align: center; }
.ppc-step-labels span { flex: 1; }
.ppc-step-labels span.is-active { color: var(--navy); font-weight: 700; }
.ppc-intro { text-align: center; color: var(--muted); font-size: 0.88rem; margin: 1rem 0 1.5rem; }

.radio-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.radio-card { position: relative; display: block; }
.radio-card input { position: absolute; opacity: 0; }
.radio-card span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 68px; padding: 0.85rem 1rem; border: 1.5px solid var(--border); border-radius: var(--radius-lg); font-size: 0.88rem; font-weight: 600; color: var(--charcoal); cursor: pointer; transition: all var(--transition); }
.radio-card input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.radio-card input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.ppc-step-nav { display: flex; gap: 0.75rem; margin-top: 1.75rem; }
.ppc-step-nav .ppc-next,
.ppc-step-nav .ppc-submit { flex: 1; }
.ppc-step-nav .ppc-back { flex: 0 0 auto; }

@media (max-width: 560px) {
  .ppc-form-card { padding: 1.5rem 1.1rem; }
  .radio-card-grid { grid-template-columns: 1fr 1fr; }
  .cta-trio { flex-direction: column; align-items: stretch; }
  .cta-trio .btn { width: 100%; justify-content: center; }
}
