/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root{
  --bg:          #17140F;
  --bg-soft:     #1F1B14;
  --surface:     #262019;
  --surface-2:   #2E271C;
  --amber:       #C98A3E;
  --amber-light: #E8B368;
  --sage:        #7C8B6F;
  --cream:       #F3ECE0;
  --muted:       #A79A85;
  --line:        rgba(243,236,224,0.12);

  --font-display: 'Fraunces', serif;
  --font-body:    'Sora', sans-serif;

  --radius: 14px;
  --shadow: 0 20px 50px -20px rgba(0,0,0,0.6);
}

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

html{ scroll-behavior:smooth; }

body{
  background:var(--bg);
  color:var(--cream);
  font-family:var(--font-body);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

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

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

.container{
  width:100%;
  max-width:1180px;
  margin:0 auto;
  padding:0 24px;
}

::selection{ background:var(--amber); color:var(--bg); }

@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; }
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(23,20,15,0.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.site-header .container{
  display:flex; align-items:center; justify-content:space-between;
  height:78px;
}
.logo{
  font-family:var(--font-display);
  font-size:1.5rem;
  font-weight:600;
  letter-spacing:0.5px;
  color:var(--cream);
  display:flex; align-items:center; gap:10px;
}
.logo span{ color:var(--amber); font-style:italic; }
.nav-links{ display:flex; gap:32px; font-size:0.92rem; color:var(--muted); }
.nav-links a:hover{ color:var(--amber-light); }
.header-cta{
  border:1px solid var(--amber);
  color:var(--amber-light);
  padding:9px 20px;
  border-radius:999px;
  font-size:0.85rem;
  letter-spacing:0.3px;
  transition:background .25s ease, color .25s ease;
}
.header-cta:hover{ background:var(--amber); color:var(--bg); }

/* =========================================================
   HERO — signature "resin pour" drop
   ========================================================= */
.hero{
  position:relative;
  overflow:hidden;
  padding:90px 0 70px;
  border-bottom:1px solid var(--line);
}
.hero::before{
  content:"";
  position:absolute;
  top:-180px; right:-160px;
  width:520px; height:520px;
  border-radius:50%;
  background:radial-gradient(circle at 35% 30%, var(--amber-light), var(--amber) 45%, transparent 72%);
  opacity:0.35;
  filter:blur(2px);
}
.hero .container{
  position:relative; z-index:2;
  display:grid;
  grid-template-columns:1.1fr 0.9fr;
  gap:48px;
  align-items:center;
}
.hero-eyebrow{
  font-size:0.78rem;
  letter-spacing:3px;
  text-transform:uppercase;
  color:var(--sage);
  margin-bottom:18px;
  display:block;
}
.hero h1{
  font-family:var(--font-display);
  font-size:clamp(2.4rem, 4vw, 3.4rem);
  font-weight:600;
  line-height:1.12;
  color:var(--cream);
}
.hero h1 em{ color:var(--amber-light); font-style:italic; }
.hero p{
  margin-top:20px;
  color:var(--muted);
  font-size:1.05rem;
  max-width:460px;
}
.hero-actions{ margin-top:34px; display:flex; gap:16px; flex-wrap:wrap; }
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:14px 28px;
  border-radius:999px;
  font-size:0.92rem;
  font-weight:600;
  letter-spacing:0.2px;
  cursor:pointer;
  border:none;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-primary{ background:var(--amber); color:var(--bg); }
.btn-primary:hover{ background:var(--amber-light); transform:translateY(-2px); box-shadow:var(--shadow); }
.btn-ghost{ background:transparent; border:1px solid var(--line); color:var(--cream); }
.btn-ghost:hover{ border-color:var(--amber); color:var(--amber-light); }

.hero-banner-wrap{
  position:relative;
  border-radius:22px;
  overflow:hidden;
  aspect-ratio:4/5;
  box-shadow:var(--shadow);
  border:1px solid var(--line);
  background:var(--surface);
}
.hero-banner-wrap img{
  width:100%; height:100%; object-fit:cover;
}
.hero-banner-tag{
  position:absolute; bottom:18px; left:18px;
  background:rgba(23,20,15,0.75);
  backdrop-filter:blur(6px);
  padding:10px 16px;
  border-radius:10px;
  font-size:0.8rem;
  color:var(--amber-light);
  border:1px solid var(--line);
}

/* =========================================================
   SECTION HEADINGS
   ========================================================= */
.section{ padding:80px 0; }
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  margin-bottom:44px; gap:20px; flex-wrap:wrap;
}
.section-head .eyebrow{
  font-size:0.78rem; letter-spacing:3px; text-transform:uppercase;
  color:var(--sage); display:block; margin-bottom:10px;
}
.section-head h2{
  font-family:var(--font-display);
  font-size:clamp(1.8rem, 3vw, 2.4rem);
  font-weight:600;
}
.section-head p{ color:var(--muted); max-width:420px; }

/* =========================================================
   PRODUCT GRID
   ========================================================= */
.product-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(260px, 1fr));
  gap:28px;
}
.product-card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  display:flex; flex-direction:column;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.product-card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow);
  border-color:rgba(201,138,62,0.4);
}
.product-media{
  position:relative;
  aspect-ratio:1/1;
  background:var(--bg-soft);
  overflow:hidden;
}
.product-media img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.product-card:hover .product-media img{ transform:scale(1.06); }
.product-media .dots{
  position:absolute; bottom:10px; left:0; right:0;
  display:flex; justify-content:center; gap:6px;
}
.product-media .dots span{
  width:6px; height:6px; border-radius:50%;
  background:rgba(243,236,224,0.35);
  cursor:pointer;
}
.product-media .dots span.active{ background:var(--amber-light); }
.product-body{ padding:20px; display:flex; flex-direction:column; gap:10px; flex:1; }
.product-cat{
  font-size:0.72rem; letter-spacing:2px; text-transform:uppercase; color:var(--sage);
}
.product-body h3{
  font-family:var(--font-display);
  font-size:1.15rem; font-weight:600; color:var(--cream);
}
.product-desc{
  color:var(--muted); font-size:0.88rem; flex:1;
}
.product-footer{
  display:flex; align-items:center; justify-content:space-between;
  margin-top:8px;
}
/* signature hanging price tag */
.price-tag{
  position:relative;
  font-family:var(--font-display);
  font-size:1.05rem;
  font-weight:600;
  color:var(--amber-light);
  padding:6px 14px 6px 20px;
  background:var(--surface-2);
  border-radius:4px 10px 10px 4px;
  border:1px dashed rgba(232,179,104,0.5);
}
.price-tag::before{
  content:"";
  position:absolute; left:8px; top:50%;
  width:5px; height:5px; border-radius:50%;
  background:var(--bg);
  transform:translateY(-50%);
  box-shadow:0 0 0 1px rgba(232,179,104,0.5);
}
.buy-btn{
  background:var(--amber);
  color:var(--bg);
  border:none;
  padding:10px 18px;
  border-radius:999px;
  font-size:0.82rem;
  font-weight:700;
  cursor:pointer;
  display:inline-flex; align-items:center; gap:6px;
  transition:background .2s ease, transform .2s ease;
}
.buy-btn:hover{ background:var(--amber-light); transform:translateY(-2px); }

.empty-state{
  grid-column:1/-1;
  text-align:center;
  padding:60px 20px;
  color:var(--muted);
  border:1px dashed var(--line);
  border-radius:var(--radius);
}

/* =========================================================
   ABOUT / STRIP
   ========================================================= */
.strip{
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:var(--bg-soft);
}
.strip .container{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:32px;
  padding:48px 24px;
}
.strip-item{ text-align:center; }
.strip-item .num{
  font-family:var(--font-display);
  font-size:1.6rem;
  color:var(--amber-light);
  display:block;
  margin-bottom:6px;
}
.strip-item p{ color:var(--muted); font-size:0.88rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ padding:60px 0 30px; }
.footer-top{
  display:flex; justify-content:space-between; align-items:flex-start;
  flex-wrap:wrap; gap:24px; padding-bottom:32px;
  border-bottom:1px solid var(--line);
}
.footer-top h3{
  font-family:var(--font-display); font-size:1.6rem; margin-bottom:10px;
}
.footer-top p{ color:var(--muted); max-width:360px; }
.footer-bottom{
  padding-top:22px; display:flex; justify-content:space-between;
  color:var(--muted); font-size:0.82rem; flex-wrap:wrap; gap:10px;
}
.wa-float{
  position:fixed; bottom:24px; right:24px; z-index:60;
  width:58px; height:58px; border-radius:50%;
  background:#25D366;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 30px -8px rgba(0,0,0,0.6);
  transition:transform .2s ease;
}
.wa-float:hover{ transform:scale(1.08); }
.wa-float svg{ width:28px; height:28px; }

/* =========================================================
   MODAL (product quick view)
   ========================================================= */
.modal-overlay{
  position:fixed; inset:0; background:rgba(10,9,6,0.75);
  backdrop-filter:blur(4px);
  display:none; align-items:center; justify-content:center;
  z-index:100; padding:20px;
}
.modal-overlay.open{ display:flex; }
.modal-box{
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius); max-width:760px; width:100%;
  display:grid; grid-template-columns:1fr 1fr; overflow:hidden;
  max-height:88vh;
}
.modal-media{ background:var(--bg-soft); position:relative; }
.modal-media img{ width:100%; height:100%; object-fit:cover; }
.modal-info{ padding:32px; overflow-y:auto; }
.modal-info h3{ font-family:var(--font-display); font-size:1.5rem; margin-bottom:10px; }
.modal-info .price-tag{ margin:14px 0 18px; display:inline-block; }
.modal-close{
  position:absolute; top:14px; right:14px;
  width:34px; height:34px; border-radius:50%;
  background:rgba(23,20,15,0.7); color:var(--cream);
  border:1px solid var(--line);
  cursor:pointer; font-size:1.1rem;
  display:flex; align-items:center; justify-content:center;
  z-index:5;
}
@media (max-width:640px){
  .modal-box{ grid-template-columns:1fr; }
  .modal-media{ aspect-ratio:1/1; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width:900px){
  .hero .container{ grid-template-columns:1fr; }
  .hero-banner-wrap{ aspect-ratio:16/10; }
  .nav-links{ display:none; }
  .strip .container{ grid-template-columns:1fr; }
}

/* =========================================================
   ADMIN PANEL
   ========================================================= */
.admin-body{ background:var(--bg); min-height:100vh; }
.admin-shell{ display:none; }
.admin-shell.open{ display:block; }
.admin-header{
  border-bottom:1px solid var(--line);
  padding:22px 0;
}
.admin-header .container{ display:flex; justify-content:space-between; align-items:center; }
.admin-wrap{ max-width:980px; margin:0 auto; padding:40px 24px 100px; }
.admin-card{
  background:var(--surface); border:1px solid var(--line);
  border-radius:var(--radius); padding:28px; margin-bottom:32px;
}
.admin-card h2{ font-family:var(--font-display); font-size:1.3rem; margin-bottom:6px; }
.admin-card .sub{ color:var(--muted); font-size:0.85rem; margin-bottom:22px; }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-grid .full{ grid-column:1/-1; }
label{ display:block; font-size:0.8rem; color:var(--muted); margin-bottom:6px; }
input[type="text"], input[type="number"], input[type="password"], textarea, select{
  width:100%; background:var(--bg-soft); border:1px solid var(--line);
  color:var(--cream); padding:12px 14px; border-radius:10px; font-family:var(--font-body);
  font-size:0.92rem;
}
textarea{ resize:vertical; min-height:90px; }
input:focus, textarea:focus, select:focus{ outline:2px solid var(--amber); outline-offset:1px; }
.img-upload-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; }
.img-slot{
  aspect-ratio:1/1; border:1px dashed var(--line); border-radius:10px;
  display:flex; align-items:center; justify-content:center;
  position:relative; overflow:hidden; cursor:pointer; background:var(--bg-soft);
  font-size:0.75rem; color:var(--muted); text-align:center; padding:6px;
}
.img-slot img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.img-slot input{ position:absolute; inset:0; opacity:0; cursor:pointer; }
.admin-actions{ margin-top:24px; display:flex; gap:12px; }
.product-row{
  display:flex; gap:16px; align-items:center; padding:14px 0;
  border-bottom:1px solid var(--line);
}
.product-row img{ width:56px; height:56px; border-radius:8px; object-fit:cover; }
.product-row .info{ flex:1; }
.product-row .info h4{ font-size:0.95rem; font-family:var(--font-display); }
.product-row .info span{ color:var(--muted); font-size:0.8rem; }
.icon-btn{
  background:transparent; border:1px solid var(--line); color:var(--muted);
  padding:8px 14px; border-radius:8px; cursor:pointer; font-size:0.78rem;
}
.icon-btn:hover{ border-color:var(--amber); color:var(--amber-light); }
.icon-btn.danger:hover{ border-color:#c65b4a; color:#e08472; }
.login-shell{
  min-height:100vh; display:flex; align-items:center; justify-content:center;
  padding:20px;
}
.login-box{
  background:var(--surface); border:1px solid var(--line); border-radius:var(--radius);
  padding:40px; width:100%; max-width:380px;
}
.login-box h1{ font-family:var(--font-display); font-size:1.6rem; margin-bottom:8px; }
.login-box p{ color:var(--muted); font-size:0.88rem; margin-bottom:24px; }
.toast{
  position:fixed; bottom:24px; left:50%; transform:translateX(-50%) translateY(20px);
  background:var(--amber); color:var(--bg); padding:14px 24px; border-radius:999px;
  font-size:0.88rem; font-weight:600; opacity:0; pointer-events:none;
  transition:opacity .25s ease, transform .25s ease; z-index:200;
}
.toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }
.banner-preview{
  width:100%; aspect-ratio:16/7; border-radius:12px; overflow:hidden;
  border:1px solid var(--line); background:var(--bg-soft); margin-bottom:16px;
}
.banner-preview img{ width:100%; height:100%; object-fit:cover; }
.error-msg{ color:#e08472; font-size:0.82rem; margin-top:10px; min-height:18px; }
