:root{
  --bg: #faf7f2;
  --bg-alt: #f1ece3;
  --ink: #2a2622;
  --ink-soft: #6b6258;
  --line: #e2dad0;
  --gold: #a8895c;
  --gold-deep: #8a6d44;
  --white: #ffffff;
  --radius: 2px;
  --maxw: 1200px;
}

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

html,body{
  background: var(--bg);
  color: var(--ink);
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

h1,h2{
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  letter-spacing: .02em;
}

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

a{ color: inherit; text-decoration:none; }

button{ font-family: inherit; background:none; border:none; cursor:pointer; color: inherit; }

/* ---------- Topbar ---------- */
.topbar{
  position: sticky; top:0; z-index: 40;
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 18px;
  background: rgba(250,247,242,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand{
  font-family:'Cormorant Garamond', serif;
  font-size: 22px;
  letter-spacing: .18em;
  font-weight: 600;
}
.icon-btn{
  width: 36px; height:36px;
  display:flex; align-items:center; justify-content:center;
  color: var(--ink);
}
.icon-btn .bar{
  display:block; width:18px; height:1px; background: var(--ink);
  margin: 3px 0;
}

/* ---------- Search ---------- */
.search-bar{
  max-height:0; overflow:hidden;
  background: var(--bg-alt);
  transition: max-height .25s ease;
}
.search-bar.open{ max-height: 64px; }
.search-bar input{
  width:100%; padding: 16px 18px;
  border:none; background:transparent;
  font-family: inherit; font-size: 15px; color: var(--ink);
  outline:none;
}
.search-bar input::placeholder{ color: var(--ink-soft); }

/* ---------- Drawer ---------- */
.drawer{
  position: fixed; top:0; left:-300px; width: 280px; height:100%;
  background: var(--white); z-index: 60;
  transition: left .3s ease;
  box-shadow: 2px 0 20px rgba(0,0,0,0.08);
}
.drawer.open{ left:0; }
.drawer-head{
  display:flex; align-items:center; justify-content:space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--line);
  font-family:'Cormorant Garamond', serif;
  font-size: 20px;
}
.drawer-head .icon-btn{ font-size: 24px; }
.drawer-list{ list-style:none; padding: 8px 0; }
.drawer-list li{
  padding: 14px 20px;
  font-size: 15px;
  letter-spacing: .03em;
  border-bottom: 1px solid var(--bg-alt);
  cursor:pointer;
  color: var(--ink-soft);
}
.drawer-list li.active{ color: var(--gold-deep); font-weight: 500; }

.overlay{
  position: fixed; inset:0; background: rgba(20,16,12,0.4);
  z-index: 50; opacity:0; pointer-events:none;
  transition: opacity .3s ease;
}
.overlay.open{ opacity:1; pointer-events:auto; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  padding: 56px 24px 40px;
  text-align:center;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
  border-bottom: 1px solid var(--line);
}
.hero-eyebrow{
  font-size: 12px; letter-spacing: .25em; text-transform: uppercase;
  color: var(--gold-deep); margin-bottom: 14px;
}
.hero h1{
  font-size: 34px; line-height: 1.15; color: var(--ink);
}
.hero-sub{
  margin-top: 14px; font-size: 14px; color: var(--ink-soft);
}

/* ---------- Chips ---------- */
.chips{
  display:flex; gap:10px; overflow-x:auto;
  padding: 18px 18px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar{ display:none; }
.chip{
  flex: 0 0 auto;
  padding: 8px 18px;
  font-size: 13px; letter-spacing: .04em;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: all .2s ease;
}
.chip.active{
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* ---------- Grid ---------- */
.grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 14px;
  padding: 6px 18px 40px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.card{
  cursor:pointer;
}
.card-img{
  position: relative;
  aspect-ratio: 3/4;
  overflow:hidden;
  background: var(--bg-alt);
}
.card-img img{
  width:100%; height:100%; object-fit:cover;
  transition: transform .5s ease;
}
.card:hover .card-img img{ transform: scale(1.04); }
.card-cat{
  margin-top: 10px;
  font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-deep);
}
.card-name{
  margin-top: 4px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px; color: var(--ink);
}
.no-results{
  grid-column: 1/-1;
  text-align:center;
  padding: 60px 20px;
  color: var(--ink-soft);
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
}

/* ---------- Footer ---------- */
.site-footer{
  text-align:center;
  padding: 50px 24px 40px;
  background: var(--ink);
  color: #d9d2c6;
}
.footer-brand{
  font-family:'Cormorant Garamond', serif;
  font-size: 22px; letter-spacing: .18em;
  margin-bottom: 14px;
  color: var(--white);
}
.site-footer p{ font-size: 13px; line-height:1.6; color: #b8b0a2; max-width: 320px; margin: 0 auto; }
.wa-link{
  display:inline-block; margin-top: 18px;
  padding: 12px 28px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 13px; letter-spacing: .08em;
}
.footer-copy{ margin-top: 26px; font-size: 11px; color: #756d5f; }

/* ---------- Modal ---------- */
.modal{
  position: fixed; inset:0; z-index: 100;
  background: rgba(20,16,12,0.55);
  display:flex; align-items:flex-end;
  opacity:0; pointer-events:none;
  transition: opacity .25s ease;
}
.modal.open{ opacity:1; pointer-events:auto; }
.modal-inner{
  width:100%; max-height: 92vh;
  background: var(--bg);
  border-radius: 18px 18px 0 0;
  overflow-y:auto;
  transform: translateY(30px);
  transition: transform .3s ease;
}
.modal.open .modal-inner{ transform: translateY(0); }
.modal-close{
  position:absolute; top:14px; right:14px; z-index: 5;
  width:34px; height:34px; border-radius:50%;
  background: rgba(255,255,255,0.85);
  font-size: 22px;
}
.modal-gallery{
  position: relative;
  aspect-ratio: 3/4;
  background: var(--bg-alt);
  overflow:hidden;
}
.modal-gallery img{ width:100%; height:100%; object-fit:cover; }
.modal-dots{
  position:absolute; bottom:14px; left:0; right:0;
  display:flex; justify-content:center; gap:6px;
}
.modal-dots span{
  width:6px; height:6px; border-radius:50%;
  background: rgba(255,255,255,0.55);
}
.modal-dots span.active{ background: #fff; }
.gal-nav{
  position:absolute; top:50%; transform: translateY(-50%);
  width:34px; height:34px; border-radius:50%;
  background: rgba(255,255,255,0.8);
  font-size: 13px;
}
.gal-nav.prev{ left:10px; }
.gal-nav.next{ right:10px; }
.modal-info{ padding: 24px 22px 36px; }
.modal-cat{
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-deep);
}
.modal-info h2{
  margin-top: 6px; font-size: 26px;
}
.modal-desc{
  margin-top: 12px; font-size: 14px; line-height:1.7; color: var(--ink-soft);
}
.modal-meta{
  margin-top: 16px; list-style:none;
  border-top: 1px solid var(--line);
}
.modal-meta li{
  padding: 10px 0; font-size: 13px; color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.modal-wa{
  display:block; text-align:center;
  margin-top: 22px; padding: 14px;
  background: var(--ink); color: var(--bg);
  font-size: 13px; letter-spacing: .08em;
}

/* ---------- Desktop ---------- */
@media (min-width: 720px){
  .grid{ grid-template-columns: repeat(3, 1fr); }
  .hero h1{ font-size: 44px; }
  .modal{ align-items:center; justify-content:center; }
  .modal-inner{
    max-width: 760px; width: 90%;
    border-radius: 4px;
    display:flex;
    max-height: 80vh;
  }
  .modal-gallery{ flex: 1 1 50%; aspect-ratio: unset; }
  .modal-info{ flex: 1 1 50%; overflow-y:auto; }
}
@media (min-width: 1020px){
  .grid{ grid-template-columns: repeat(4, 1fr); }
}
