:root {
  --theme-color-dark: #0c5a34;
}
   
/* -----------------------
   HEADER
   ----------------------- */
#header-container {
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
  border-bottom: 1px solid rgba(12,18,35,0.03);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 68px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 14px;
}

.left-icons, .right-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-area {
  flex: 1;
  text-align: center;
  line-height: 1;
}

.logo-area h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.3px;
}

.logo-area .tagline {
  font-size: 12px;
  color: #436b4d;
  margin-top: 4px;
}

/* 🌟 Attractive Cart Button */
.cart-btn {
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 21px;
  color: #fff;
  cursor: pointer;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cart-btn:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 6px 14px rgba(0,0,0,0.3);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 2px 5px;
  border-radius: 999px;
  background: #ff3b30;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* YF fallback cart modal */
.yf-cart-modal { position:fixed; inset:0; display:none; align-items:center; justify-content:center; background:rgba(0,0,0,0.36); z-index:12000; padding:20px; }
.yf-cart-modal.open { display:flex; }
.yf-cart-panel { width:420px; max-width:calc(100% - 40px); background:#fff; border-radius:12px; box-shadow:0 10px 40px rgba(0,0,0,0.25); overflow:hidden; }
.yf-cart-container { padding:14px; max-height:70vh; overflow:auto; }
.yf-cart-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; border-bottom:1px solid #eee; padding-bottom:8px; }
.yf-cart-empty { padding:24px; text-align:center; color:#666; }
.yf-cart-list { display:flex; flex-direction:column; gap:8px; }
.yf-cart-row { display:flex; gap:8px; align-items:center; padding:8px; border-radius:8px; background:#fafafa; }
.yf-thumb img { width:64px; height:64px; object-fit:cover; border-radius:6px; }
.yf-meta { flex:1; font-size:13px; }
.yf-actions button { background:transparent; border:0; color:#ff3b30; cursor:pointer; font-weight:700; }
.yf-cart-footer { display:flex; justify-content:space-between; align-items:center; padding-top:10px; border-top:1px solid #eee; margin-top:12px; }
.yf-checkout-btn { background:#0c5a34; color:#fff; padding:8px 12px; border-radius:8px; text-decoration:none; }


/* smaller on mobile */
@media (max-width: 480px) {
  .header-inner { height: 60px; }
  .icon-btn { width: 34px; height: 34px; }
  .logo-area h1 { font-size: 18px; }
   .cart-btn {
    width: 40px;
    height: 40px;
    font-size: 19px;
  }
}
