:root {
  --ink: #1B1815;
  --ink-soft: #2A2521;
  --parchment: #F1E9D8;
  --parchment-deep: #E7DCC4;
  --amber: #C97A2B;
  --ember: #7A3B2E;
  --moss: #3E4A3B;
  --ash: #948C7E;
  --line: #C9BB9C;

  --font-display: "Fraunces", serif;
  --font-body: "Work Sans", sans-serif;
  --font-mono: "Space Mono", monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--parchment);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

h1, h2 { font-family: var(--font-display); font-weight: 600; margin: 0; }

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--amber);
  color: var(--ink);
  padding: 0.75rem 1rem;
  z-index: 100;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

/* Page header (compact band replacing the old full hero) */
.page-header {
  position: relative;
  background: var(--ink);
  color: var(--parchment);
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 3.5rem) clamp(1.25rem, 4vw, 3rem);
}
.page-header-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 25% 30%, rgba(201, 122, 43, 0.32), transparent 55%),
              radial-gradient(circle at 80% 70%, rgba(122, 59, 46, 0.22), transparent 50%);
  animation: flicker 6s ease-in-out infinite;
}
@keyframes flicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.85; }
}
@media (prefers-reduced-motion: reduce) {
  .page-header-glow { animation: none; }
}
.page-header-inner {
  position: relative;
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
}
.brand-seal { border-radius: 50%; }
.page-header-tagline {
  margin: 0;
  color: rgba(241, 233, 216, 0.8);
  font-size: 1rem;
  max-width: 30rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: #d98a3d; }
.btn-whatsapp { background: #25D366; color: #0b2b16; }
.btn-outline {
  border: 1px solid var(--ink);
  background: transparent;
}

/* Catalogue */
.catalogue {
  background: var(--parchment-deep);
  padding: clamp(3rem, 7vw, 4rem) clamp(1.25rem, 4vw, 3rem);
  min-height: 60vh;
}
.catalogue-controls {
  max-width: 60rem;
  margin: 0 auto 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
#search-input {
  width: 100%;
  max-width: 26rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--parchment);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
#search-input:focus { outline: 2px solid var(--amber); }

.filter-chips { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.chip {
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--ink);
  transition: background 0.15s, color 0.15s;
}
.chip.is-active, .chip:hover { background: var(--ink); color: var(--parchment); border-color: var(--ink); }

.product-grid {
  max-width: 72rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  gap: 1.75rem;
}
.loading-note, .empty-note {
  text-align: center;
  color: var(--ash);
  grid-column: 1 / -1;
}
.empty-note { max-width: 60rem; margin: 0 auto; }

.product-card {
  background: var(--parchment);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.product-card img { aspect-ratio: 1 / 1; object-fit: cover; }
.product-card .card-body { padding: 1.1rem 1.2rem 1.35rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; }
.product-card .card-category {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--moss);
}
.product-card h3 { font-family: var(--font-display); font-size: 1.25rem; margin: 0; font-weight: 600; }
.product-card .card-fragrance { font-family: var(--font-mono); font-size: 0.8rem; color: var(--ember); }
.product-card .card-desc { font-size: 0.9rem; color: #4a443c; flex: 1; }
.product-card .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}
.product-card .card-price { font-family: var(--font-mono); font-weight: 700; }
.product-card .card-burn { font-size: 0.75rem; color: var(--ash); }
.product-card .card-enquire {
  display: inline-block;
  margin-top: 0.75rem;
  text-align: center;
  padding: 0.55rem 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--parchment);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}
.product-card .card-enquire:hover { background: var(--ember); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--parchment);
  text-align: center;
  padding: 3rem 1.25rem 2.5rem;
}
.footer-brand { font-family: var(--font-display); font-size: 1.2rem; margin: 0.75rem 0 0.15rem; }
.footer-line { color: var(--ash); font-size: 0.85rem; margin: 0 0 1.25rem; }
.footer-links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 1.5rem; }
.footer-links a { text-decoration: none; font-size: 0.85rem; opacity: 0.85; }
.footer-links a:hover { opacity: 1; }
.footer-fine { font-size: 0.75rem; color: var(--ash); }

/* WhatsApp floating button */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #0b2b16;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  z-index: 30;
}

@media (max-width: 640px) {
  .page-header-inner { gap: 0.85rem; }
}
