/* EXOLÉNA · Shared Design System */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --g: #B8860B;
  --gl: #E8C97A;
  --gd: #7A5A00;
  --cr: #FDF6EE;
  --br: #4A3020;
  --brl: #8B6344;
  --bd: #EDD9B2;
  --bg-page: #F8F0E4;
  --font: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', sans-serif;
}

body { font-family: var(--font); background: var(--bg-page); color: var(--br); }
a { text-decoration: none; }
button { font-family: var(--font); cursor: pointer; }
input, select, textarea { font-family: var(--font); }

/* ── Navbar ── */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 40px; border-bottom: 0.5px solid var(--bd);
  background: var(--cr); position: sticky; top: 0; z-index: 100;
}
.logo { font-size: 20px; font-weight: 600; letter-spacing: 3px; color: var(--br); font-style: italic; }
.logo span { color: var(--g); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 13px; color: var(--brl); cursor: pointer; transition: color .15s; }
.nav-links a:hover, .nav-links a.active { color: var(--br); }
.nav-links a.active { font-weight: 600; border-bottom: 1.5px solid var(--g); padding-bottom: 2px; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-right a { font-size: 13px; color: var(--brl); }
.nav-right .icon { font-size: 20px; color: var(--brl); cursor: pointer; transition: color .15s; position: relative; }
.nav-right .icon:hover { color: var(--br); }
.cart-badge { position: absolute; top: -5px; right: -6px; background: #C8953A; color: #fff; font-size: 10px; border-radius: 50%; width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; }

/* ── Buttons ── */
.btn-gold { background: var(--g); color: var(--cr); border: none; padding: 12px 28px; border-radius: 24px; font-size: 14px; font-weight: 600; transition: background .15s, transform .1s; }
.btn-gold:hover { background: var(--gd); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--g); border: 1.5px solid var(--g); padding: 11px 28px; border-radius: 24px; font-size: 14px; font-weight: 600; transition: background .15s; }
.btn-outline:hover { background: #FDF0DC; }
.btn-cream { background: var(--cr); color: var(--br); border: none; padding: 10px 24px; border-radius: 20px; font-size: 13px; font-weight: 600; transition: background .15s; }
.btn-cream:hover { background: var(--gl); }
.btn-dark { background: var(--br); color: var(--cr); border: none; padding: 11px 24px; border-radius: 20px; font-size: 13px; font-weight: 600; transition: background .15s; }

/* ── Cards ── */
.card { background: #FFFAF3; border: 0.5px solid var(--bd); border-radius: 12px; padding: 20px; }

/* ── Footer ── */
.site-footer { background: #3A2516; padding: 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; border-top: 0.5px solid #5A3820; }
.footer-brand .logo2 { font-size: 18px; font-weight: 600; letter-spacing: 2px; color: var(--gl); font-style: italic; margin-bottom: 10px; }
.footer-brand p { font-size: 12px; color: rgba(232,201,122,.5); line-height: 1.8; }
.footer-col h4 { font-size: 12px; font-weight: 600; color: var(--gl); margin-bottom: 12px; letter-spacing: 1px; text-transform: uppercase; }
.footer-col a { display: block; font-size: 12px; color: rgba(232,201,122,.5); margin-bottom: 7px; cursor: pointer; transition: color .15s; }
.footer-col a:hover { color: var(--gl); }
.footer-bottom { background: #3A2516; padding: 12px 40px; border-top: 0.5px solid #5A3820; font-size: 11px; color: rgba(232,201,122,.35); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.footer-bottom a { color: rgba(232,201,122,.45); margin-left: 16px; }

/* ── Breadcrumb ── */
.breadcrumb { padding: 11px 40px; font-size: 12px; color: var(--brl); background: var(--cr); border-bottom: 0.5px solid var(--bd); }
.breadcrumb span { color: var(--br); font-weight: 600; }

/* ── Section helpers ── */
.sec-eyebrow { font-size: 11px; letter-spacing: 3px; color: #C8953A; margin-bottom: 8px; text-transform: uppercase; }
.sec-title { font-size: 22px; font-weight: 600; color: var(--br); }
.sec-center { text-align: center; margin-bottom: 32px; }
.sec-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.sec-link { font-size: 12px; color: var(--g); cursor: pointer; }
.sec-link:hover { text-decoration: underline; }

/* ── Add-to-cart button ── */
.add-btn { background: var(--g); border: none; color: var(--cr); width: 32px; height: 32px; border-radius: 50%; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.add-btn:hover { background: var(--gd); }

/* ── Product badge ── */
.prod-badge { position: absolute; top: 10px; left: 10px; font-size: 10px; padding: 3px 10px; border-radius: 10px; font-weight: 600; }
.b-hot { background: #A32D2D; color: #fff; }
.b-new { background: #C8953A; color: #fff; }
.b-sale { background: #3B6D11; color: #fff; }
.b-set { background: #534AB7; color: #fff; }

/* ── Utility ── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ════════════════════════════════════════
   MOBILE  ≤ 768px
════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Nav */
  .nav { padding: 12px 16px; }
  .nav-links { display: none; }
  .nav-right { gap: 14px; }
  .nav-right .icon { font-size: 22px; }

  /* Breadcrumb */
  .breadcrumb { padding: 10px 16px; }

  /* Buttons full-width on mobile */
  .btn-gold, .btn-outline { width: 100%; text-align: center; padding: 13px 16px; }

  /* Section padding */
  .sec { padding: 28px 16px !important; }

  /* Footer */
  .site-footer { grid-template-columns: 1fr 1fr; gap: 20px; padding: 28px 16px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { padding: 10px 16px; font-size: 10px; flex-direction: column; gap: 4px; }
  .footer-bottom a { margin-left: 0; margin-right: 12px; }
}
