/* ==========================================================================
   BALLAD — BASE.CSS · load on EVERY page
   Contains: tokens · reset · typography · container · buttons · prod-card
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700;800&display=swap');

/* ── DESIGN TOKENS (global, shared with shop.css & homepage.css) ── */
:root {
  --green:        #3d6b4f;
  --green-light:  #5a9470;
  --green-pale:   #eef4f0;
  --green-dark:   #2a4c38;
  --ink:          #1a1a1a;
  --ink2:         #333;
  --muted:        #6b7280;
  --muted2:       #9ca3af;
  --border:       #e5e7eb;
  --border2:      #d1d5db;
  --bg:           #f9fafb;
  --bg2:          #f3f4f6;
  --white:        #fff;
  --amber:        #d97706;
  --red:          #d32f2f;

  --r:            6px;
  --r2:           10px;
  --r3:           12px;
  --sh1:          0 2px 8px rgba(0,0,0,.05);
  --sh2:          0 4px 16px rgba(0,0,0,.08);
  --sh3:          0 12px 28px rgba(0,0,0,.1);

  --ease:         .2s ease;
  --ff:           'Be Vietnam Pro', system-ui, sans-serif;
}

/* ── .BLD ROOT & RESET ── */
.bld {
  font-family: var(--ff);
  color: var(--ink);
  background: var(--white);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.bld *, .bld *::before, .bld *::after { box-sizing: border-box; }
.bld h1, .bld h2, .bld h3, .bld h4, .bld p { margin: 0; padding: 0; }
.bld h1, .bld h2, .bld h3, .bld h4 { line-height: 1.2; font-weight: 700; color: var(--ink); }
.bld img { max-width: 100%; display: block; }
.bld a { text-decoration: none; color: inherit; }
.bld section { position: relative; }
.bld button { font-family: var(--ff); }

/* ── LAYOUT ── */
.bld .container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

.bld .label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--green); margin-bottom: 8px;
}

.bld .section-head { margin-bottom: 48px; }
.bld .section-head h2 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.bld .section-head p { font-size: 14.5px; color: var(--muted); }
.bld .section-head.center { text-align: center; }
.bld .section-head.center p { max-width: 500px; margin: 0 auto; }
.bld .section-head.light h2 { color: var(--white); }
.bld .section-head.light p,
.bld .section-head.light .label { color: rgba(255,255,255,.65); }

/* ── BUTTONS ── */
.bld .btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--ff); font-weight: 600; font-size: 13.5px;
  border-radius: var(--r); cursor: pointer; border: none;
  transition: background .18s ease, transform .18s ease;
}
.bld .btn-primary { background: var(--green); color: var(--white); padding: 12px 24px; }
.bld .btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); }
.bld .btn-outline {
  background: transparent; color: var(--green);
  padding: 10px 22px; border: 1.5px solid var(--green);
}
.bld .btn-outline:hover { background: var(--green-pale); }

/* ── PROD-CARD (dùng ở cả shop grid & featured products) ── */
.bld .prod-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r3); overflow: hidden;
  box-shadow: var(--sh1); position: relative; display: block;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.bld .prod-card:hover {
  transform: translateY(-3px); box-shadow: var(--sh3); border-color: var(--green-light);
}
.bld .prod-img {
  height: 190px; overflow: hidden; background: var(--white);
  display: flex; align-items: center; justify-content: center;
  padding: 20px; border-bottom: 1px solid var(--border); position: relative;
}
.bld .prod-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.bld .prod-card:hover .prod-img img { transform: scale(1.06); }
.bld .prod-body { padding: 16px 16px 18px; }
.bld .prod-badge {
  display: inline-block; font-size: 10px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--green); margin-bottom: 5px;
}
.bld .prod-body h4 { font-size: 14px; font-weight: 500; color: var(--ink); margin-bottom: 8px; line-height: 1.45; }
.bld .prod-price { font-size: 16px; font-weight: 700; color: var(--green-dark); }
.bld .prod-price-old { font-size: 12px; color: var(--muted2); text-decoration: line-through; margin-left: 6px; }
.bld .prod-sale-tag {
  position: absolute; top: 10px; left: 10px;
  background: var(--amber); color: var(--white);
  font-size: 10px; font-weight: 800;
  padding: 3px 9px; border-radius: 3px;
  letter-spacing: .06em; z-index: 2;
}

/* ── RESPONSIVE BASE ── */
@media (max-width: 768px) {
  .bld .container { padding: 0 20px; }
  .bld .section-head h2 { font-size: 24px; }
}