/*
Theme Name: vibrantlifefu
Theme URI: http://49.51.241.193
Description: vibrantlifefu — manual coffee accessories & barista kits. Clean e-commerce template with WhatsApp order support.
Author: vibrantlifefu
Version: 1.0.0
Text Domain: vibrantlife
*/

/* ============ Design tokens ============ */
:root {
  --vl-brand: #E05A33;        /* vibrant terracotta */
  --vl-brand-dark: #C24422;
  --vl-brand-soft: #FCE8DF;
  --vl-ink: #221A14;          /* espresso */
  --vl-ink-soft: #54483C;
  --vl-bg: #FBF7F1;           /* warm cream */
  --vl-card: #FFFFFF;
  --vl-line: #E8DFD3;
  --vl-muted: #9B8F80;
  --vl-wa: #25D366;
  --vl-wa-dark: #1EBE5A;
  --vl-radius: 16px;
  --vl-radius-sm: 10px;
  --vl-shadow: 0 10px 30px rgba(60, 40, 20, .08);
  --vl-shadow-sm: 0 4px 14px rgba(60, 40, 20, .06);
  --vl-font-head: 'Fraunces', Georgia, serif;
  --vl-font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  font-family: var(--vl-font-body);
  color: var(--vl-ink);
  background: var(--vl-bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--vl-brand); text-decoration: none; }
a:hover { color: var(--vl-brand-dark); }
h1, h2, h3, h4 { font-family: var(--vl-font-head); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

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

/* ============ Announcement bar ============ */
.vl-announce {
  background: var(--vl-ink);
  color: #F5EDE4;
  font-size: 13px;
  letter-spacing: .02em;
  text-align: center;
  padding: 8px 16px;
}
.vl-announce b { color: #FFB08C; font-weight: 600; }

/* ============ Header ============ */
.vl-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 241, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--vl-line);
}
.vl-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 72px;
}
.vl-logo { font-family: var(--vl-font-head); font-weight: 700; font-size: 26px; color: var(--vl-ink); line-height: 1; }
.vl-logo em { font-style: normal; color: var(--vl-brand); }
.vl-logo small { display: block; font-family: var(--vl-font-body); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--vl-muted); margin-top: 3px; }

.vl-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; }
.vl-nav a {
  display: block; padding: 8px 14px; border-radius: 999px;
  color: var(--vl-ink-soft); font-weight: 500; font-size: 15px;
}
.vl-nav a:hover { color: var(--vl-brand-dark); background: var(--vl-brand-soft); }
.vl-nav .current-menu-item > a, .vl-nav .current_page_item > a { color: var(--vl-brand); font-weight: 600; }

.vl-actions { display: flex; align-items: center; gap: 10px; }
.vl-cart-link {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; background: var(--vl-card);
  border: 1px solid var(--vl-line); color: var(--vl-ink);
}
.vl-cart-link svg { width: 20px; height: 20px; }
.vl-cart-count {
  position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px;
  border-radius: 9px; background: var(--vl-brand); color: #fff;
  font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.vl-header-wa { display: inline-flex; align-items: center; gap: 8px; background: var(--vl-wa); color: #fff; font-weight: 600; font-size: 14px; padding: 10px 18px; border-radius: 999px; }
.vl-header-wa:hover { background: var(--vl-wa-dark); color: #fff; }
.vl-header-wa svg { width: 18px; height: 18px; fill: currentColor; }

.vl-nav-toggle { display: none; }

/* ============ Buttons ============ */
.vl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--vl-brand); color: #fff; font-weight: 600; font-size: 15px;
  padding: 13px 26px; border-radius: 999px; border: 1px solid transparent;
  transition: background .15s ease, transform .1s ease;
}
.vl-btn:hover { background: var(--vl-brand-dark); color: #fff; transform: translateY(-1px); }
.vl-btn--ghost { background: transparent; color: var(--vl-ink); border-color: var(--vl-ink); }
.vl-btn--ghost:hover { background: var(--vl-ink); color: #fff; }

/* WhatsApp button */
.vl-wa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--vl-wa); color: #fff !important; font-weight: 700; font-size: 15px;
  padding: 13px 22px; border-radius: 999px; transition: background .15s ease, transform .1s ease;
  cursor: pointer;
}
.vl-wa-btn:hover { background: var(--vl-wa-dark); color: #fff !important; transform: translateY(-1px); }
.vl-wa-btn svg { width: 20px; height: 20px; fill: currentColor; flex: 0 0 auto; }
.vl-wa-btn--big { padding: 16px 30px; font-size: 16px; }
.vl-wa-btn--outline { background: #fff; color: #128C4A !important; border: 2px solid var(--vl-wa); }
.vl-wa-btn--outline:hover { background: var(--vl-wa); color: #fff !important; }

/* floating WA */
.vl-wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 999;
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--vl-wa); color: #fff !important; font-weight: 700;
  padding: 13px 18px; border-radius: 999px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, .4);
  transition: transform .15s ease;
}
.vl-wa-float:hover { transform: translateY(-2px); color: #fff !important; }
.vl-wa-float svg { width: 24px; height: 24px; fill: currentColor; }

/* ============ Hero ============ */
.vl-hero { padding: 64px 0 40px; }
.vl-hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center;
  background: linear-gradient(120deg, #FCEFE4, #F6E3D2);
  border-radius: 28px; padding: 56px 60px; overflow: hidden;
}
.vl-hero-kicker {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--vl-brand-dark);
  background: #fff; border-radius: 999px; padding: 6px 14px; margin-bottom: 18px;
}
.vl-hero h1 { font-size: clamp(38px, 5vw, 60px); margin-bottom: 18px; }
.vl-hero h1 em { font-style: italic; color: var(--vl-brand); }
.vl-hero p { font-size: 18px; color: var(--vl-ink-soft); max-width: 30em; }
.vl-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 26px; }
.vl-hero-media img { border-radius: 20px; box-shadow: var(--vl-shadow); width: 100%; object-fit: cover; aspect-ratio: 4/3; }

/* ============ Section headings ============ */
.vl-section { padding: 56px 0; }
.vl-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.vl-section-head h2 { font-size: clamp(26px, 3vw, 36px); margin: 0; }
.vl-section-head p { margin: 4px 0 0; color: var(--vl-muted); font-size: 15px; }
.vl-section-link { font-weight: 600; font-size: 14px; white-space: nowrap; }

/* ============ Category grid ============ */
.vl-cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.vl-cat {
  display: block; background: var(--vl-card); border: 1px solid var(--vl-line);
  border-radius: var(--vl-radius); padding: 18px; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.vl-cat:hover { transform: translateY(-3px); box-shadow: var(--vl-shadow); }
.vl-cat-thumb { width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--vl-brand-soft); margin-bottom: 14px; }
.vl-cat-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vl-cat h3 { font-size: 15px; margin: 0 0 2px; }
.vl-cat span { font-size: 12px; color: var(--vl-muted); }

/* ============ Product cards ============ */
.vl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.vl-card {
  background: var(--vl-card); border: 1px solid var(--vl-line); border-radius: var(--vl-radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.vl-card:hover { transform: translateY(-4px); box-shadow: var(--vl-shadow); }
.vl-card-media { position: relative; display: block; aspect-ratio: 1; background: #F4EFE7; overflow: hidden; }
.vl-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.vl-card:hover .vl-card-media img { transform: scale(1.04); }
.vl-card-img-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--vl-muted); font-size: 14px; }
.vl-card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--vl-brand); color: #fff; font-size: 11px; font-weight: 700;
  padding: 5px 10px; border-radius: 999px; letter-spacing: .03em;
}
.vl-card-badge--sale { background: var(--vl-ink); }
.vl-card-body { padding: 16px 16px 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.vl-card-title { font-size: 15px; font-family: var(--vl-font-body); font-weight: 600; margin: 0; line-height: 1.35; }
.vl-card-title a { color: var(--vl-ink); }
.vl-card-title a:hover { color: var(--vl-brand-dark); }
.vl-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.vl-card-price { font-family: var(--vl-font-head); font-weight: 700; font-size: 18px; }
.vl-card-price del { color: var(--vl-muted); font-size: 13px; font-weight: 500; margin-right: 6px; }
.vl-card-price ins { text-decoration: none; color: var(--vl-brand-dark); }
.vl-card-wa { font-size: 12px; font-weight: 700; color: var(--vl-wa-dark); }
.vl-card-wa:hover { color: var(--vl-wa); }

/* ============ Value props ============ */
.vl-values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.vl-value { display: flex; gap: 14px; align-items: flex-start; background: var(--vl-card); border: 1px solid var(--vl-line); border-radius: var(--vl-radius); padding: 20px; }
.vl-value-icon { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 12px; background: var(--vl-brand-soft); color: var(--vl-brand-dark); display: flex; align-items: center; justify-content: center; }
.vl-value-icon svg { width: 22px; height: 22px; }
.vl-value h3 { font-family: var(--vl-font-body); font-size: 15px; font-weight: 700; margin: 0 0 4px; }
.vl-value p { margin: 0; font-size: 13px; color: var(--vl-muted); }

/* ============ WA CTA band ============ */
.vl-wa-band {
  background: linear-gradient(120deg, #128C4A, #25D366);
  border-radius: 28px; padding: 46px 54px;
  color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.vl-wa-band h2 { color: #fff; margin: 0 0 6px; font-size: clamp(24px, 3vw, 34px); }
.vl-wa-band p { margin: 0; opacity: .92; max-width: 30em; }
.vl-wa-band .vl-btn { background: #fff; color: #128C4A; }
.vl-wa-band .vl-btn:hover { background: #E6FFF0; color: #0E7A3E; }

/* ============ Footer ============ */
.vl-footer { background: var(--vl-ink); color: #C9BCAB; margin-top: 40px; }
.vl-footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 56px 0 40px; }
.vl-footer h4 { color: #fff; font-family: var(--vl-font-body); font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px; }
.vl-footer ul { list-style: none; }
.vl-footer li { margin-bottom: 10px; }
.vl-footer a { color: #C9BCAB; font-size: 14px; }
.vl-footer a:hover { color: #fff; }
.vl-footer-brand .vl-logo { color: #fff; }
.vl-footer-brand p { font-size: 14px; max-width: 26em; margin-top: 14px; }
.vl-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 13px; text-align: center; color: #8f8272; }
.vl-footer-wa { display: inline-flex; align-items: center; gap: 8px; background: var(--vl-wa); color: #fff !important; padding: 10px 18px; border-radius: 999px; font-weight: 700; font-size: 14px; margin-top: 14px; }
.vl-footer-wa:hover { background: var(--vl-wa-dark); color: #fff !important; }

/* ============ Generic content page ============ */
.vl-page { padding: 48px 0 64px; max-width: 820px; margin: 0 auto; }
.vl-page h1 { font-size: 38px; }

/* ============ Responsive ============ */
@media (max-width: 1000px) {
  .vl-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .vl-grid { grid-template-columns: repeat(3, 1fr); }
  .vl-values { grid-template-columns: repeat(2, 1fr); }
  .vl-hero-inner { grid-template-columns: 1fr; padding: 40px 32px; }
  .vl-hero-media { order: -1; }
  .vl-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .vl-container { padding: 0 18px; }
  .vl-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .vl-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .vl-nav { display: none; }
  .vl-nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--vl-line); background: var(--vl-card); }
  .vl-nav-toggle svg { width: 22px; height: 22px; }
  .vl-header-wa span { display: none; }
  .vl-header-wa { padding: 10px 12px; }
  .vl-values { grid-template-columns: 1fr; }
  .vl-section-head { flex-direction: column; align-items: flex-start; }
  .vl-wa-band { padding: 32px 26px; }
  .vl-footer-inner { grid-template-columns: 1fr; gap: 30px; }
}
