@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@300;400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --color-bg: #faf8f5;
  --color-bg-warm: #f5f0e8;
  --color-bg-section: #faf8f5;
  --color-gold: #b8975a;
  --color-navy: #1a1a2e;
  --color-text: #666666;
  --color-text-light: #999999;
  --color-border: #eeeeee;
  --color-cream: #e0d6c8;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

/* ========== NAV ========== */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-gold);
}

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--color-text-light);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-navy);
}

.cart-count {
  background: var(--color-gold);
  color: white;
  font-size: 11px;
  font-weight: 600;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 4px;
  vertical-align: middle;
}

.cart-count:empty,
.cart-count[data-count="0"] {
  display: none;
}

/* ========== BUTTONS ========== */
.btn-primary {
  display: inline-block;
  background: var(--color-navy);
  color: var(--color-cream);
  padding: 14px 36px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-align: center;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.9;
}

/* ========== LABEL ========== */
.label {
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 500;
}

/* ========== FOOTER ========== */
.footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-light);
  font-size: 13px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--color-gold);
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
}

.footer-links a {
  color: var(--color-text-light);
  font-size: 12px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-navy);
}

/* ========== TOAST ========== */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--color-navy);
  color: var(--color-cream);
  padding: 14px 24px;
  border-radius: 6px;
  font-size: 14px;
  z-index: 1000;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .nav {
    padding: 14px 20px;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 12px;
  }
}
