:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --surface-alt: #f3ede3;
  --forest: #132a21;
  --forest-light: #1f4a38;
  --amber: #d97706;
  --amber-soft: #fef3c7;
  --lavender: #7c3aed;
  --text: #1c2420;
  --muted: #5c6660;
  --border: #e6dfd3;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(19, 42, 33, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3, .brand-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--forest);
  margin: 0;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-logo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 1.45rem; font-weight: 700; line-height: 1.05; }
.brand-name em { font-style: italic; font-weight: 600; color: var(--forest-light); }
.brand-tag { font-size: 0.65rem; letter-spacing: 0.16em; color: var(--muted); font-weight: 600; }

.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--amber); }
.pill-count {
  background: var(--forest);
  color: #fff;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 4px;
}
.nav-actions { display: flex; gap: 10px; align-items: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.btn-lg { padding: 13px 26px; font-size: 0.95rem; }
.btn-primary { background: var(--forest); color: #fff; }
.btn-primary:hover { background: var(--forest-light); transform: translateY(-1px); }
.btn-outline { border-color: var(--forest); color: var(--forest); background: transparent; }
.btn-outline:hover { background: var(--forest); color: #fff; }
.btn-ghost { background: var(--surface-alt); color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: var(--border); }
.full-width { width: 100%; }

/* Hero */
.hero {
  padding: 64px 0 56px;
  background: radial-gradient(circle at 85% 20%, rgba(217, 119, 6, 0.08), transparent 45%),
              radial-gradient(circle at 15% 80%, rgba(124, 58, 237, 0.06), transparent 45%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 12px;
}
.hero h1 {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  line-height: 1.05;
  margin-bottom: 18px;
}
.hero h1 em { font-style: italic; color: var(--forest-light); }
.hero-subtitle {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 28px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
}
.stat-box strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  color: var(--forest);
  line-height: 1.1;
}
.stat-box span { font-size: 0.78rem; color: var(--muted); }

.emblem-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  text-align: center;
  box-shadow: var(--shadow);
}
.emblem-img {
  width: 100%;
  max-width: 320px;
  border-radius: 50%;
  display: block;
  margin: 0 auto 18px;
}
.emblem-caption span { display: block; font-weight: 600; color: var(--forest); }
.emblem-caption small { color: var(--muted); font-size: 0.82rem; }

/* Sections */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(2rem, 3.5vw, 2.9rem); margin-bottom: 10px; }
.section-head p { color: var(--muted); margin: 0; }

/* Collections */
.collections { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.collection-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.collection-card {
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  transition: all 0.22s ease;
  font-family: inherit;
}
.collection-card:hover {
  transform: translateY(-4px);
  border-color: var(--forest);
  box-shadow: var(--shadow);
}
.cc-badge {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 10px;
}
.collection-card h3 { font-size: 1.4rem; margin-bottom: 8px; }
.collection-card p { font-size: 0.88rem; color: var(--muted); margin: 0 0 16px; }
.cc-link { font-size: 0.85rem; font-weight: 600; color: var(--forest); }

/* Catalogue Toolbar */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 16px;
  border-radius: var(--radius);
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(19, 42, 33, 0.04);
}
.search-wrap { flex: 1 1 260px; }
.toolbar input[type="search"],
.toolbar select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.88rem;
  background: var(--bg);
  color: var(--text);
}
.toolbar select { flex: 0 1 170px; }
.toggle-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.85rem;
  background: var(--bg);
  cursor: pointer;
}

.results-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 0.88rem;
  color: var(--muted);
}
.bottom-meta { margin-top: 28px; margin-bottom: 0; }

.pagination { display: flex; gap: 6px; flex-wrap: wrap; }
.page-btn {
  padding: 6px 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
}
.page-btn.active { background: var(--forest); color: #fff; border-color: var(--forest); }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface-alt);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.product-card:hover .card-media img { transform: scale(1.04); }
.card-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.78rem;
  padding: 16px;
  text-align: center;
}
.card-fallback img { width: 56px; height: 56px; border-radius: 50%; opacity: 0.6; margin-bottom: 6px; object-fit: cover; }
.card-id {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(19, 42, 33, 0.85);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
}
.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.tag {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--forest);
}
.tag-amber { background: var(--amber-soft); color: #92400e; }
.card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-specs {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 12px;
}
.card-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.84rem;
}
.price-text { font-weight: 700; color: var(--forest); }
.moq-text { font-size: 0.75rem; color: var(--muted); }

/* Reviews */
.reviews { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
}
.stars { color: var(--amber); font-size: 1.05rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-card p { font-size: 0.92rem; color: var(--text); margin: 0 0 18px; flex: 1; }
.reviewer strong { display: block; font-size: 0.9rem; color: var(--forest); }
.reviewer span { font-size: 0.78rem; color: var(--muted); }

/* FAQ */
.faq { background: var(--bg); }
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.faq-item h3 { font-size: 1.3rem; margin-bottom: 8px; }
.faq-item p { margin: 0; font-size: 0.9rem; color: var(--muted); }
.faq-item a { color: var(--forest); font-weight: 600; }

/* Enquiry */
.enquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.enquiry-info h2 { font-size: 2.5rem; margin-bottom: 14px; }
.capability-list { padding-left: 18px; color: var(--muted); margin: 20px 0 24px; }
.capability-list li { margin-bottom: 10px; }
.social-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.social-box span { display: block; font-size: 0.82rem; color: var(--muted); margin-bottom: 4px; }
.ig-link { font-weight: 700; color: var(--forest); text-decoration: none; }

.enquiry-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.enquiry-form h3 { font-size: 1.7rem; margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.enquiry-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 14px;
}
.enquiry-form input, .enquiry-form textarea {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  background: var(--bg);
}
.enquiry-status {
  margin-top: 14px;
  padding: 12px;
  border-radius: 10px;
  background: #ecfdf5;
  color: #065f46;
  font-size: 0.88rem;
  font-weight: 600;
}

/* Footer */
.footer {
  background: var(--forest);
  color: #e5e7eb;
  padding: 36px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.footer-brand strong { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: #fff; }
.footer-brand p { margin: 2px 0 0; font-size: 0.8rem; color: #cbd5e1; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: #e5e7eb; text-decoration: none; font-size: 0.88rem; }
.footer-links a:hover { color: #fbbf24; }

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(19, 42, 33, 0.65); backdrop-filter: blur(4px); }
.modal-dialog {
  position: relative;
  background: var(--surface);
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  z-index: 1;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: var(--surface-alt);
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
}
.modal-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.modal-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  background: var(--surface-alt);
}
.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
  margin: 14px 0;
  font-size: 0.86rem;
}
.spec-item span { color: var(--muted); }
.spec-item strong { color: var(--forest); }
.listings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.83rem;
  margin-top: 10px;
}
.listings-table th, .listings-table td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.listings-table th { background: var(--surface-alt); color: var(--forest); }

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .collection-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hero-grid, .enquiry-grid, .modal-top { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid, .faq-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* View-Only Lookbook Modal */
.lookbook-dialog {
  max-width: 960px;
  padding: 18px 22px;
  background: #132a21;
  color: #fff;
  user-select: none;
  -webkit-user-select: none;
}
.lookbook-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 14px;
}
.lookbook-header strong {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  color: #fff;
}
.lookbook-note {
  display: inline-block;
  margin-left: 10px;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  color: #fde68a;
}
.lookbook-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lb-indicator { font-size: 0.85rem; color: #e5e7eb; min-width: 90px; text-align: center; }
.lb-close { position: static; background: rgba(255,255,255,0.15); color: #fff; }
.lookbook-stage {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-height: 76vh;
  overflow-y: auto;
  background: #0d1e17;
  border-radius: 12px;
  padding: 14px;
}
#lookbook-canvas {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
  pointer-events: none;
}

@media print {
  html, body { display: none !important; }
}
