:root {
  --bg: #0d0c0b;
  --surface: #171411;
  --surface2: #211d18;
  --gold: #d4af37;
  --gold2: #f2d675;
  --olive: #556b2f;
  --text: #f6f0e6;
  --muted: #b9ad9e;
  --radius: 18px;
  --container: 1240px;
  --gap: 20px;
  --desk: 4;
  --mob: 2;
  --hero: 680px;
  --logo: 155px;
  --header: 78px;
  --section: 78px;
  --cardpad: 18px;
  --btnradius: 999px;
  --ratio: 1/1;
  --heading: Georgia, serif;
  --body: Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: radial-gradient(circle at 15% 0, #251e14 0, #0d0c0b 34%), var(--bg);
  color: var(--text);
  font: 15px var(--body);
  line-height: 1.5;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
  background-image:
    linear-gradient(135deg, transparent 0 48%, var(--gold) 49%, transparent 51%),
    linear-gradient(45deg, transparent 0 48%, var(--gold) 49%, transparent 51%);
  background-size: 80px 80px;
  mix-blend-mode: screen;
  z-index: 0;
}

#app { position: relative; z-index: 1; }

/* Loading */
.loading-screen {
  display: grid;
  place-items: center;
  min-height: 100vh;
  text-align: center;
}
.loading-logo {
  font: 700 42px var(--heading);
  color: var(--gold);
  letter-spacing: 6px;
  margin-bottom: 30px;
}
.loading-spinner {
  width: 40px;
  height: 40px;
  border: 2px solid var(--surface2);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { color: var(--muted); font-size: 13px; }

/* Container */
.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

/* Announce */
.announce {
  background: var(--gold);
  color: #17120b;
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 12, 11, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid #3b3022;
  min-height: var(--header);
}
.nav {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  min-width: max-content;
}
.brand img { width: var(--logo); height: 50px; object-fit: contain; }
.brand span { display: flex; flex-direction: column; }
.brand b { font: 700 20px var(--heading); letter-spacing: 1px; }
.brand small { font-size: 9px; letter-spacing: 3px; color: var(--gold); }
nav { display: flex; gap: 22px; margin-left: auto; }
nav a {
  color: #d5ccc0;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}
nav a:hover { color: var(--gold2); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.iconbtn, .menuBtn {
  border: 1px solid #3b3022;
  background: #15120f;
  color: var(--text);
  padding: 9px 12px;
  border-radius: var(--btnradius);
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
}
.iconbtn:hover, .menuBtn:hover { border-color: var(--gold); color: var(--gold); }
.menuBtn { display: none; }

/* Buttons */
.goldbtn, .ghostbtn, .chip {
  display: inline-block;
  border-radius: var(--btnradius);
  padding: 11px 20px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 800;
  border: 0;
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.5px;
  transition: all 0.25s;
  text-align: center;
}
.goldbtn {
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #17120b;
}
.goldbtn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3); }
.ghostbtn {
  border: 1px solid #5b4a31;
  background: #17130f;
  color: #eee7dc;
}
.ghostbtn:hover { border-color: var(--gold); color: var(--gold); }

.admin-btn {
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  padding: 8px 14px;
  border-radius: var(--btnradius);
  cursor: pointer;
  font-weight: 800;
  font-size: 12px;
  text-decoration: none;
  transition: all 0.2s;
}
.admin-btn:hover { background: var(--gold); color: #17120b; }

/* Hero */
.hero {
  min-height: var(--hero);
  display: grid;
  place-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid #3c2e1f;
  position: relative;
}
.hero-copy {
  width: min(100% - 40px, 820px);
  text-align: center;
  padding: 80px 0;
  position: relative;
  z-index: 1;
}
.kicker {
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--gold2);
  font-weight: 800;
  text-transform: uppercase;
}
.hero h1 {
  font: 700 clamp(44px, 7vw, 86px) / 0.98 var(--heading);
  margin: 18px 0;
  color: var(--text);
}
.hero p {
  max-width: 650px;
  margin: 0 auto 30px;
  color: #d0c5b8;
  line-height: 1.8;
  font-size: 16px;
}

/* Sections */
.section { padding-top: var(--section); padding-bottom: var(--section); }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}
.section h2 {
  font: 700 clamp(30px, 4vw, 48px) / 1.05 var(--heading);
  margin: 8px 0 20px;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(var(--desk), minmax(0, 1fr));
  gap: var(--gap);
}

/* Card */
.card {
  background: linear-gradient(150deg, var(--surface), #100e0c);
  border: 1px solid #3a2e22;
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); border-color: #79632b; box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.product-img {
  display: block;
  aspect-ratio: var(--ratio);
  background: #0b0a09;
  overflow: hidden;
  position: relative;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}
.card:hover .product-img img { transform: scale(1.05); }
.card-body { padding: var(--cardpad); flex: 1; display: flex; flex-direction: column; }
.card h3 {
  margin: 7px 0;
  font: 700 22px var(--heading);
  color: var(--text);
}
.tiny {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.muted { color: var(--muted); }
.desc { min-height: 43px; line-height: 1.5; font-size: 13px; }
.price {
  font-size: 19px;
  color: var(--gold2);
  font-weight: 900;
  margin: 12px 0;
}
.large { font-size: 30px; }
.card-actions { display: flex; gap: 8px; margin-top: auto; }
.card-actions > * { flex: 1; text-align: center; }

/* Story */
.story {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.story img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid #3a2e22;
  max-height: 600px;
  object-fit: cover;
}
.story.second { margin-top: 50px; }
.bigline { line-height: 1.9; font-size: 16px; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review {
  padding: 22px;
  background: var(--surface);
  border: 1px solid #3a2e22;
  border-radius: var(--radius);
}
.stars { color: var(--gold2); letter-spacing: 2px; margin-bottom: 8px; font-size: 18px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.features > div {
  padding: 25px;
  background: var(--surface);
  border: 1px solid #3a2e22;
  border-radius: var(--radius);
}
.features b { color: var(--gold2); display: block; margin-bottom: 8px; font-size: 15px; }

/* Footer */
footer { border-top: 1px solid #3a2e22; background: #0a0908; margin-top: 40px; }
.footergrid {
  padding: 55px 0 35px;
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 35px;
}
.footergrid a { color: #cfc4b7; text-decoration: none; transition: color 0.2s; }
.footergrid a:hover { color: var(--gold); }
.legal { color: var(--muted); line-height: 1.8; font-size: 13px; }
.copyright {
  border-top: 1px solid #2a221b;
  padding: 18px 0;
  color: #81786e;
  font-size: 12px;
  text-align: center;
}

/* Filters */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.chip {
  background: #16120f;
  border: 1px solid #4a3a28;
  color: #cfc3b6;
  padding: 9px 16px;
}
.chip:hover { border-color: var(--gold); }
.chip.active { background: var(--gold); color: #17120b; border-color: var(--gold); }

/* Empty/Notice */
.empty, .notice, .panel {
  padding: 25px;
  border: 1px solid #3a2e22;
  background: var(--surface);
  border-radius: var(--radius);
}
.empty { text-align: center; color: var(--muted); }

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.product-detail > img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid #3a2e22;
}

/* Page body */
.pagebody { max-width: 850px; line-height: 1.9; color: #d1c6b9; }
.pagebody a { color: var(--gold2); }
.pagebody p { margin-bottom: 15px; }

/* Drawer */
.drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 500;
  display: flex;
  justify-content: flex-end;
  animation: fadeIn 0.2s;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.drawer-panel {
  width: min(520px, 100%);
  height: 100%;
  background: #11100e;
  border-left: 1px solid #3c3022;
  padding: 25px;
  overflow: auto;
  animation: slideIn 0.3s;
}
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }

/* Cart */
.cartline {
  display: grid;
  grid-template-columns: 65px 1fr auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid #2f271f;
  padding: 12px 0;
}
.cartline img { width: 65px; height: 65px; object-fit: cover; border-radius: 10px; }
.full { width: 100%; text-align: center; display: block; }
.center { text-align: center; }

/* Ask Aroma FAB */
.aroma-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid #806b32;
  background: linear-gradient(135deg, var(--gold2), var(--gold));
  color: #17120b;
  font: 700 25px var(--heading);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
  cursor: pointer;
  transition: transform 0.2s;
}
.aroma-fab:hover { transform: scale(1.1); }

/* Chat */
.chatrow { display: flex; gap: 8px; margin-top: 20px; }
.chatrow input {
  flex: 1;
  background: #0b0a09;
  color: #fff;
  border: 1px solid #3b3025;
  border-radius: 10px;
  padding: 12px;
  font-family: inherit;
  font-size: 14px;
}
.bubble {
  padding: 11px 14px;
  border-radius: 12px;
  margin: 8px 0;
  max-width: 85%;
  line-height: 1.5;
  font-size: 14px;
}
.bubble.user { margin-left: auto; background: #4a3a20; }
.bubble.bot { background: #1d1915; }

/* Popup */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 600;
  display: grid;
  place-items: center;
  padding: 20px;
}
.popup > div {
  position: relative;
  width: min(520px, 100%);
  padding: 35px;
  background: linear-gradient(145deg, #211a12, #0f0d0b);
  border: 1px solid #65532c;
  border-radius: 20px;
  text-align: center;
}
.close {
  position: absolute;
  right: 15px;
  top: 10px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  line-height: 1;
}

/* Order */
.order { padding: 14px 0; border-bottom: 1px solid #332a22; }
.accountpanel { max-width: 800px; margin: auto; }

/* FAQ */
.faq-item { border-bottom: 1px solid #332a22; padding: 16px 0; }
.faq-item b { display: block; margin-bottom: 8px; color: var(--gold2); font-size: 15px; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card {
  background: var(--surface);
  border: 1px solid #3a2e22;
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.3s;
  color: inherit;
  text-decoration: none;
}
.blog-card:hover { transform: translateY(-4px); border-color: var(--gold); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 18px; }
.blog-card-body h3 { font: 700 20px var(--heading); margin-bottom: 8px; }

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card {
  text-align: center;
  background: var(--surface);
  border: 1px solid #3a2e22;
  border-radius: var(--radius);
  padding: 20px;
}
.team-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}
.team-card h3 { font: 700 18px var(--heading); margin-bottom: 4px; }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gallery-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s;
}
.gallery-grid img:hover { transform: scale(1.05); }

/* Newsletter */
.newsletter-box {
  background: linear-gradient(145deg, #211a12, #0f0d0b);
  border: 1px solid #65532c;
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
}
.newsletter-box input {
  background: #0b0a09;
  color: #fff;
  border: 1px solid #3b3025;
  border-radius: 10px;
  padding: 12px;
  min-width: 250px;
  font-family: inherit;
  font-size: 14px;
}

/* Toast */
#toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: var(--gold);
  color: #17120b;
  padding: 12px 20px;
  border-radius: 99px;
  font-weight: 800;
  font-size: 13px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* Responsive */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(var(--mob), minmax(0, 1fr)); }
  .reviews { grid-template-columns: 1fr; }
  .story, .product-detail { grid-template-columns: 1fr; gap: 30px; }
  .features { grid-template-columns: 1fr; }
  .footergrid { grid-template-columns: 1fr 1fr; }
  nav { display: none; }
  nav.open {
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    background: #0f0d0b;
    padding: 20px;
    border-bottom: 1px solid #3b3022;
  }
  .menuBtn { display: block; }
  .brand img { width: min(115px, var(--logo)); }
  .blog-grid, .team-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 24px), var(--container)); }
  .hero h1 { font-size: 46px; }
  .section { padding-top: 50px; padding-bottom: 50px; }
  .footergrid { grid-template-columns: 1fr; }
  .grid { gap: 12px; }
  .card-body { padding: 12px; }
  .card h3 { font-size: 18px; }
  .card-actions { flex-direction: column; }
  .brand b { font-size: 16px; }
  .brand small { font-size: 7px; letter-spacing: 2px; }
  .nav { gap: 10px; }
  .nav-actions { margin-left: auto; }
  .blog-grid, .team-grid, .gallery-grid { grid-template-columns: 1fr; }
  .newsletter-box input { min-width: 100%; margin-bottom: 10px; }
    }
