:root{
  --black:#0E0D0C;
  --black-2:#1A1815;
  --black-3:#242019;
  --copper:#B8732F;
  --copper-light:#D89257;
  --copper-dark:#8C5623;
  --cream:#F3ECE2;
  --ink-soft:#C7BDAF;
  --line:rgba(184,115,47,0.28);
  --white:#FFFDFB;
}

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

body{
  background:var(--black);
  color:var(--cream);
  font-family:'Inter', sans-serif;
  -webkit-font-smoothing:antialiased;
  display:flex;
  justify-content:center;
}

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

.page{
  width:100%;
  max-width:480px;
  min-height:100vh;
  background:var(--black);
}

.topbar{
  display:flex;
  align-items:center;
  gap:10px;
  padding:20px 20px 0;
}
.back-link{
  display:inline-flex;
  align-items:center;
  gap:7px;
  font-size:13px;
  font-weight:600;
  color:var(--copper-light);
  padding:8px 4px;
}
.back-link:hover{ color:var(--white); }

header{
  text-align:center;
  padding:20px 24px 28px;
  border-bottom:3px solid var(--copper);
  background:linear-gradient(180deg, var(--black-2) 0%, var(--black) 100%);
}

.cat-icon{
  width:56px; height:56px;
  border-radius:50%;
  border:2px solid var(--copper);
  display:flex; align-items:center; justify-content:center;
  margin:0 auto 16px;
  font-size:22px;
  color:var(--copper-light);
}
.cat-icon .svg-icon{
  width:26px; height:26px;
  display:flex;
  color:var(--copper-light);
}
.cat-icon .svg-icon svg{ width:100%; height:100%; }

h1{
  font-family:'Playfair Display', serif;
  font-weight:700;
  font-size:23px;
  color:var(--white);
  margin-bottom:10px;
  line-height:1.25;
}

.desc{
  font-size:14px;
  line-height:1.65;
  color:var(--ink-soft);
  max-width:360px;
  margin:0 auto;
}

/* ===== Carousel ===== */
.carousel-wrap{
  padding:24px 20px 0;
}
.carousel{
  position:relative;
  width:100%;
  aspect-ratio:1/1;
  background:var(--black-2);
  border:1px solid var(--line);
  border-radius:14px;
  overflow:hidden;
}
.carousel-track{
  display:flex;
  height:100%;
  transition:transform 0.35s ease;
}
.carousel-track img{
  width:100%;
  height:100%;
  object-fit:cover;
  flex-shrink:0;
}
.carousel-arrow{
  position:absolute;
  top:50%; transform:translateY(-50%);
  width:36px; height:36px;
  border-radius:50%;
  background:rgba(14,13,12,0.65);
  border:1px solid var(--copper);
  color:var(--copper-light);
  display:flex; align-items:center; justify-content:center;
  font-size:14px;
  cursor:pointer;
  z-index:2;
}
.carousel-arrow.prev{ left:10px; }
.carousel-arrow.next{ right:10px; }
.carousel-dots{
  display:flex;
  justify-content:center;
  gap:6px;
  margin-top:12px;
}
.carousel-dots span{
  width:6px; height:6px;
  border-radius:50%;
  background:var(--line);
  transition:background 0.2s ease;
}
.carousel-dots span.active{ background:var(--copper); }

.carousel-empty{
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:var(--ink-soft);
  text-align:center;
  padding:20px;
}
.carousel-empty i{ font-size:26px; color:var(--copper); opacity:0.7; }
.carousel-empty .path{
  font-family:'IBM Plex Mono', monospace;
  font-size:10.5px;
  color:var(--copper-light);
  background:var(--black-3);
  padding:6px 10px;
  border-radius:6px;
  word-break:break-all;
}

/* ===== CTA ===== */
.cta-list{
  padding:26px 20px 0;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.cta-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:14px;
  border-radius:9px;
  font-weight:700;
  font-size:13.5px;
  text-align:center;
}
.cta-btn.primary{
  background:var(--copper);
  color:var(--black);
}
.cta-btn.primary:hover{ background:var(--copper-light); }
.cta-btn.secondary{
  background:var(--black-2);
  border:1.5px solid var(--line);
  color:var(--cream);
}
.cta-btn.secondary:hover{ border-color:var(--copper); }

footer{
  text-align:center;
  padding:40px 24px 44px;
  color:var(--ink-soft);
  font-size:11px;
  line-height:1.6;
}
footer .fname{
  font-family:'Playfair Display', serif;
  font-weight:700;
  font-size:13px;
  color:var(--copper-light);
  display:block;
  margin-bottom:4px;
}
