/* ===========================
   HOTH MOCK — SIMPLE FRAME
   - Fixed honeycomb background
   - No panels
   - No image overlays
   - Clean, handcrafted feel
   =========================== */

:root{
  --bg:#fbf3e6;
  --ink:#2a241c;
  --muted:rgba(42,36,28,.7);

  --frame:#d9b86f;          /* warm honey-gold */
  --frame-soft:#efe3c2;     /* light parchment */
  --shadow:0 10px 22px rgba(0,0,0,.12);
}

/* Reset */
*{ box-sizing:border-box }
html,body{ margin:0 }
img{ display:block; max-width:100% }

body{
  font-family: ui-serif, Georgia, serif;
  color:var(--ink);
  background:var(--bg);
  overflow-x:hidden;
}

/* Fixed honeycomb background */
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-2;
  background:url("hcomb-bg.PNG") repeat;
  background-size:520px auto;
  opacity:.22;
  filter:saturate(1.15);
  pointer-events:none;
}

/* Header seal — truly centered to viewport */
.site-header{
  position: relative;
  width: 100%;
  padding: 24px 0 10px;
  display: flex;
  justify-content: center;
}

.site-seal{
  width: clamp(170px, 38vw, 280px);
  height: auto;
  margin: 0 auto;
}

/* Hero */
.hero{ padding-top:10px }

.hero-image{
  width:100%;
  height:clamp(180px, 32vw, 300px);
  object-fit:cover;
  border-radius:26px;
  box-shadow:var(--shadow);
}

/* Intro */
.intro{
  text-align:center;
  padding:18px 8px;
  font-size:clamp(18px, 4vw, 26px);
}

.intro p{
  margin:0 auto;
  max-width:34ch;
  padding:14px 16px;
  background:rgba(255,255,255,.55);
  border-radius:18px;
  box-shadow:0 8px 18px rgba(0,0,0,.08);
}

/* Products grid */
.products{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:22px;
  padding:26px 0 40px;
}

@media (min-width:820px){
  .products{
    grid-template-columns:repeat(3,1fr);
  }
}

/* Product unit */
.product-card{
  text-align:center;
}

/* Simple handcrafted frame */
.imgframe{
  padding:8px;
  border-radius:20px;
  background:linear-gradient(
    180deg,
    var(--frame-soft),
    #fff
  );
  border:2px solid var(--frame);
  box-shadow:var(--shadow);
}

/* Product image */
.imgframe img{
  border-radius:14px;
  background:#fff;
}

/* Titles */
.product-card h3{
  margin:10px 0 0;
  font-size:20px;
}

/* Footer */
.site-footer{
  text-align:center;
  padding:18px 0 30px;
  font-size:14px;
  color:var(--muted);
}
/* ===========================
   MOCK CART UI
   =========================== */

.cart-fab{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(168,140,78,.35);
  background: rgba(255,255,255,.86);
  box-shadow: 0 14px 28px rgba(0,0,0,.18);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.cart-badge{
  min-width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  padding: 0 8px;
  background: rgba(217,184,111,.95);
  border: 1px solid rgba(140,110,55,.35);
  font-weight: 700;
}

.modal-backdrop{
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0,0,0,.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal-backdrop.open{ display: flex; }

.modal{
  width: min(560px, 100%);
  border-radius: 22px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(168,140,78,.28);
  box-shadow: 0 22px 60px rgba(0,0,0,.25);
  overflow: hidden;
}

.modal-header{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(255,248,236,.9);
  border-bottom: 1px solid rgba(168,140,78,.18);
}

.modal-title{
  margin: 0;
  font-size: 18px;
}

.modal-close{
  appearance: none;
  border: 1px solid rgba(168,140,78,.25);
  background: rgba(255,255,255,.85);
  border-radius: 999px;
  padding: 8px 10px;
  cursor: pointer;
  font: inherit;
}

.modal-body{
  padding: 16px;
}

.modal-product{
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 14px;
  align-items: start;
}

.modal-product img{
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 16px;
  border: 2px solid rgba(217,184,111,.6);
  background: #fff;
}

.modal-desc{
  margin: 6px 0 0;
  color: rgba(42,36,28,.82);
  line-height: 1.45;
}

.modal-actions{
  display:flex;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  flex-wrap: wrap;
}

.qty{
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(168,140,78,.30);
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.92);
}

.qty button{
  appearance: none;
  border: 0;
  background: transparent;
  padding: 10px 12px;
  cursor: pointer;
  font: inherit;
}

.qty input{
  width: 52px;
  border: 0;
  outline: none;
  text-align: center;
  padding: 10px 0;
  background: transparent;
  font: inherit;
}

.btn{
  appearance: none;
  border: 1px solid rgba(168,140,78,.35);
  background: rgba(255,255,255,.92);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  font: inherit;
}

.btn.primary{
  background: rgba(217,184,111,.95);
  border-color: rgba(140,110,55,.35);
  font-weight: 700;
}

.cart-panel{ width: min(560px, 100%); }

.cart-list{
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.cart-item{
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 16px;
  background: rgba(255,248,236,.8);
  border: 1px solid rgba(168,140,78,.18);
}

.cart-item img{
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
}

.cart-item h4{
  margin: 0;
  font-size: 16px;
}

.cart-sub{
  margin-top: 14px;
  display:flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(168,140,78,.18);
  font-weight: 700;
}
/* ===========================
   SCROLLABLE PRODUCT DESCRIPTION
   =========================== */

.modal-desc{
  max-height: 160px;          /* adjust 140–200px to taste */
  overflow-y: auto;
  padding-right: 6px;         /* space for scrollbar */
}

/* soften scrollbar (WebKit) */
.modal-desc::-webkit-scrollbar{
  width: 6px;
}
.modal-desc::-webkit-scrollbar-thumb{
  background: rgba(168,140,78,.35);
  border-radius: 6px;
}
.modal-desc::-webkit-scrollbar-track{
  background: transparent;
}