:root {
  --gold: #e9d69d;
  --gold-btn: #c9a84c;
  --gold-dark: #8a6700;
  --gold-border: rgba(201,168,76,0.3);
  --white: #ffffff;
  --bg: #ffffff;
  --bg-light: #fdfcf8;
  --text: #1a1a1a;
  --text-sec: #6b6b6b;
  --border: #ebebeb;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 2px 16px rgba(0,0,0,0.07);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.12);
  --font: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  --header-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; display: block; }

/* ── HEADER ─────────────────────────────────────────────────────────────── */
#site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.site-logo img {
  height: 44px;
  width: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.header-nav a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-sec);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.header-nav a:hover { color: var(--text); background: var(--bg-light); }
.header-nav a.active { color: var(--gold-dark); font-weight: 600; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cart-trigger {
  display: flex;
  align-items: center;
  gap: 7px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s;
}

.cart-trigger:hover { border-color: var(--gold-btn); background: #fef9ed; }

.cart-badge {
  background: var(--gold-btn);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  min-width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── MOBILE MENU ─────────────────────────────────────────────────────────── */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}

.mobile-overlay.open { display: flex; }

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 90vw);
  height: 100vh;
  background: var(--white);
  z-index: 301;
  padding: 24px;
  transition: right 0.3s ease;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.mobile-menu.open { right: 0; }

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.mobile-menu-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-sec);
  line-height: 1;
}

.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; }

.mobile-menu nav a {
  display: block;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
}

.mobile-menu nav a:hover { background: var(--bg-light); }
.mobile-menu nav a.active { color: var(--gold-dark); font-weight: 700; }

/* ── FOOTER ──────────────────────────────────────────────────────────────── */
#site-footer {
  background: #45413d;
  color: #c8c4be;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 52px 24px 36px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
  gap: 40px;
}

.footer-brand .footer-logo img { height: 40px; filter: brightness(0) invert(1); opacity: 0.85; }

.footer-company {
  margin-top: 18px;
  font-size: 12.5px;
  line-height: 1.9;
  color: #a09b95;
}

.footer-company strong {
  display: block;
  color: #d4cfc9;
  font-size: 13px;
  margin-bottom: 6px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: #a09b95;
  padding: 4px 0;
  transition: color 0.2s;
}

.footer-col a:hover { color: #e9d69d; }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #a09b95;
  padding: 5px 0;
}

.footer-contact-item svg { flex-shrink: 0; opacity: 0.7; }

.footer-contact-email {
  color: #c8c4be;
  transition: color 0.2s;
}
.footer-contact-email:hover { color: #e9d69d; }

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c8c4be;
  transition: background 0.2s, color 0.2s;
}

.footer-social-btn:hover { background: var(--gold-btn); color: #fff; border-color: var(--gold-btn); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 24px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #6e6a65;
}

/* ── CART DRAWER ─────────────────────────────────────────────────────────── */
.cart-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(3px);
}

.cart-drawer-overlay.open { display: block; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(420px, 100vw);
  height: 100vh;
  background: var(--white);
  z-index: 401;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
  box-shadow: -4px 0 32px rgba(0,0,0,0.15);
}

.cart-drawer.open { right: 0; }

.cart-drawer-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-drawer-header h3 { font-size: 18px; font-weight: 700; }

.cart-drawer-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-sec);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-sec);
}

.cart-empty .cart-empty-icon { font-size: 48px; margin-bottom: 12px; }

.cart-item-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-light);
}

.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }

.cart-item-info { flex: 1; min-width: 0; }

.cart-item-name { font-size: 13.5px; font-weight: 600; line-height: 1.4; margin-bottom: 4px; }
.cart-item-sub { font-size: 12px; color: var(--text-sec); margin-bottom: 8px; }

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-light);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.qty-btn:hover { border-color: var(--gold-btn); }
.qty-num { font-size: 14px; font-weight: 600; min-width: 20px; text-align: center; }

.cart-item-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--gold-dark);
  white-space: nowrap;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-sec);
  cursor: pointer;
  font-size: 18px;
  padding: 2px;
  transition: color 0.2s;
}

.cart-item-remove:hover { color: #e53935; }

.cart-drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 16px;
}

.cart-total-price { font-size: 20px; color: var(--gold-dark); }

/* ── BUTTONS ─────────────────────────────────────────────────────────────── */
.btn-gold {
  display: inline-block;
  background: var(--gold-btn);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  text-align: center;
  letter-spacing: 0.3px;
}

.btn-gold:hover { background: #b8930f; transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--gold-btn);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 999px;
  border: 2px solid var(--gold-btn);
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.btn-outline:hover { background: var(--gold-btn); color: #fff; }

.btn-full { width: 100%; }

/* ── PAGE LAYOUT ─────────────────────────────────────────────────────────── */
.page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.page-hero {
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
  padding: 48px 24px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(24px, 4vw, 38px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.page-hero h1 span { color: var(--gold-btn); }

.page-hero p {
  font-size: 16px;
  color: var(--text-sec);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── SECTION TITLE ───────────────────────────────────────────────────────── */
.section-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text);
}

.section-title span { color: var(--gold-btn); }

.section-subtitle {
  font-size: 15px;
  color: var(--text-sec);
  margin-top: 8px;
  line-height: 1.7;
}

/* ── FORM ELEMENTS ───────────────────────────────────────────────────────── */
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-field label { font-size: 13px; font-weight: 600; color: var(--text-sec); }

.form-field input,
.form-field textarea,
.form-field select {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--gold-btn); }

.form-field textarea { resize: vertical; min-height: 100px; }

/* ── RESPONSIVE ──────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .hamburger { display: flex; }
  .header-inner { padding: 0 10px; }
  .site-logo img { height: 30px; }
  .cart-label { display: none; }
  .cart-trigger { padding: 8px 10px; gap: 0; }
  .cart-badge { margin-left: 4px; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 700px) {
  :root { --header-h: 56px; }
  .page-wrap { padding: 0 10px; }
  .page-hero { padding: 28px 10px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; padding-left: 10px; padding-right: 10px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; padding-left: 10px; padding-right: 10px; }
}
