/* =============================================================
   JV GROUP — COMPONENTS CSS
   Page-specific and reusable UI components
   ============================================================= */

/* ─── SECTION DIVIDERS ───────────────────────────────────────── */
.divider-gold {
  width: 60px; height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
  margin: 1.5rem 0;
  display: block;
}

.divider-center {
  width: 60px; height: 2px;
  background: var(--gold);
  margin: 0 auto 1.5rem;
  display: block;
}

.section-title-block {
  margin-bottom: 3.5rem;
}

.section-title-block.center { text-align: center; }
.section-title-block.center .divider-gold { margin: 1.5rem auto; }

/* ─── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb-luxury {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Mulish', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  list-style: none;
  padding: 0;
}
.breadcrumb-luxury li + li::before { content: '/'; opacity: 0.4; }
.breadcrumb-luxury a { color: var(--text-muted); }
.breadcrumb-luxury a:hover { color: var(--gold); }
.breadcrumb-luxury .active { color: var(--gold); }

/* ─── COLLECTION CATEGORY HERO CARDS (Home) ─────────────────── */
.hero-categories {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 1.5rem;
  height: 100%;
}

/* ─── COLLECTION GRID LAYOUTS ────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1199px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
@media (max-width: 479px)  { .products-grid { grid-template-columns: 1fr; } }

/* Collection section heading with side lines */
.collection-section-heading {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.collection-section-heading::before,
.collection-section-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-gold);
}
.collection-section-heading span {
  font-family: 'Marcellus', serif;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  color: var(--ivory);
  white-space: nowrap;
}

/* Subcategory pill tags */
.subcategory-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.subcategory-pill {
  font-family: 'Mulish', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.subcategory-pill:hover, .subcategory-pill.active {
  color: var(--primary);
  background: var(--gold);
  border-color: var(--gold);
}

/* Load More Button */
.btn-load-more {
  display: block;
  margin: 3rem auto 0;
  font-family: 'Mulish', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  background: transparent;
  border: 1px solid var(--border-gold);
  padding: 0.9rem 2.5rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-load-more:hover {
  background: var(--gold);
  color: var(--primary);
}
.btn-load-more:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ─── AT A GLANCE STATS (full width) ─────────────────────────── */
.glance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.glance-item {
  text-align: center;
  padding: 3rem 2rem;
  border-right: 1px solid var(--border-gold);
  position: relative;
  transition: background 0.3s ease;
}
.glance-item:last-child { border-right: none; }
.glance-item:hover { background: rgba(211,169,77,0.04); }

.glance-number {
  font-family: 'Marcellus', serif;
  font-size: clamp(2.5rem, 4vw, 4rem);
  color: var(--gold);
  display: block;
  line-height: 1;
}

.glance-suffix {
  font-family: 'Marcellus', serif;
  font-size: 2rem;
  color: var(--gold);
}

.glance-label {
  font-family: 'Mulish', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.75rem;
  display: block;
}

.glance-sublabel {
  font-family: 'Mulish', sans-serif;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  display: block;
  opacity: 0.6;
}

@media (max-width: 767px) {
  .glance-grid { grid-template-columns: repeat(2, 1fr); }
  .glance-item:nth-child(2) { border-right: none; }
  .glance-item:nth-child(1),
  .glance-item:nth-child(2) { border-bottom: 1px solid var(--border-gold); }
}

/* ─── PHILOSOPHY GRID ────────────────────────────────────────── */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 767px) { .philosophy-grid { grid-template-columns: 1fr; } }

/* ─── PROCESS STEPS GRID ─────────────────────────────────────── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.process-step {
  border-right: 1px solid var(--border-gold);
}
.process-step:nth-child(3n) { border-right: none; }
.process-step:nth-child(n+4) { border-top: 1px solid var(--border-gold); }
.process-step::after { display: none; } /* override parent style */

@media (max-width: 767px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: none !important; border-bottom: 1px solid var(--border-gold); }
  .process-step:last-child { border-bottom: none; }
}

/* ─── TESTIMONIAL SWIPER ─────────────────────────────────────── */
.testimonial-swiper .swiper-slide { height: auto; }
.testimonial-swiper .swiper-pagination { bottom: -1.5rem; }
.testimonial-swiper .swiper-pagination-bullet {
  width: 8px; height: 8px;
  background: var(--text-muted);
  opacity: 1;
  transition: all 0.3s;
}
.testimonial-swiper .swiper-pagination-bullet-active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}
.testimonial-swiper { padding-bottom: 3rem !important; }

/* Avatar fallback (SVG placeholder) */
.avatar-placeholder {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Marcellus', serif;
  font-size: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
}

/* ─── ENQUIRY FORM (Contact Page) ─────────────────────────────── */
.form-feedback {
  font-family: 'Mulish', sans-serif;
  font-size: 0.78rem;
  color: #ef9a9a;
  margin-top: 0.3rem;
  display: none;
}
.form-control-luxury.is-invalid { border-color: rgba(244,67,54,0.6) !important; }
.form-control-luxury.is-invalid + .form-feedback { display: block; }

/* ─── APPOINTMENT SECTION ────────────────────────────────────── */
.appointment-card {
  background: var(--primary);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 3rem;
}

/* ─── SWIPER PRODUCT ─────────────────────────────────────────── */
.product-swiper .swiper-button-next,
.product-swiper .swiper-button-prev {
  color: var(--gold);
  width: 40px; height: 40px;
  background: var(--surface);
  border: 1px solid var(--border-gold);
  border-radius: 50%;
  backdrop-filter: blur(8px);
}
.product-swiper .swiper-button-next::after,
.product-swiper .swiper-button-prev::after { font-size: 0.9rem; }

/* ─── PAGE SECTION TITLES (inline variant) ───────────────────── */
.inline-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Mulish', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.inline-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

/* ─── MOBILE MENU PARENT TOGGLE ──────────────────────────────── */
.mobile-nav-parent {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-nav-parent i { font-size: 0.75rem; transition: transform 0.3s; }
.has-sub.open .mobile-nav-parent i { transform: rotate(180deg); }

/* ─── BACK TO TOP ────────────────────────────────────────────── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Mulish', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}
.back-link:hover { color: var(--gold); }
.back-link i { font-size: 0.65rem; }

/* ─── LEGAL PAGES ────────────────────────────────────────────── */
.legal-content {
  font-family: 'Mulish', sans-serif;
  color: var(--text-secondary);
  line-height: 1.9;
  font-size: 0.95rem;
}
.legal-content h2 {
  font-family: 'Marcellus', serif;
  color: var(--ivory);
  font-size: 1.4rem;
  margin: 2.5rem 0 1rem;
}
.legal-content h3 {
  font-family: 'Marcellus', serif;
  color: var(--gold);
  font-size: 1.1rem;
  margin: 2rem 0 0.75rem;
}
.legal-content a { color: var(--gold); }
.legal-content a:hover { color: var(--gold-light); }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.legal-content li { margin-bottom: 0.5rem; }
.legal-content p { margin-bottom: 1.25rem; }
