:root {
  --pink: #c2185b;
  --pink-dark: #8e1346;
  --gold: #c8a24a;
  --ink: #2a2118;
  --cream: #faf6f0;
  --sand: #f0e6d8;
  --white: #ffffff;
  --shadow: 0 8px 30px rgba(42, 33, 24, 0.10);
}

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

body {
  font-family: 'Jost', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, h4, .logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.15;
}

/* Announcement */
.announcement {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  padding: 0.6rem 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--sand);
}

.logo {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.logo span { color: var(--pink); }

.main-nav { display: flex; gap: 1.8rem; }
.nav-link {
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--pink);
  border-bottom-color: var(--pink);
}

.cart-btn {
  position: relative;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
}
.cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: var(--pink);
  color: #fff;
  font-size: 0.7rem;
  font-family: 'Jost', sans-serif;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; }

/* Hero */
.hero {
  background: linear-gradient(rgba(42,33,24,0.45), rgba(42,33,24,0.45)),
    url('https://images.unsplash.com/photo-1599643478518-a784e5dc4c8f?auto=format&fit=crop&w=1600&q=80') center/cover;
  color: #fff;
  padding: 7rem 2rem;
  text-align: center;
}
.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  margin-bottom: 1rem;
  color: var(--gold);
}
.hero h1 { font-size: 3.5rem; margin-bottom: 1.2rem; }
.hero-sub { max-width: 600px; margin: 0 auto 2rem; font-size: 1.1rem; font-weight: 300; }

.btn-primary {
  display: inline-block;
  background: var(--pink);
  color: #fff;
  text-decoration: none;
  padding: 0.9rem 2.2rem;
  border-radius: 2px;
  font-weight: 500;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--pink-dark); }

/* Categories */
.categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: -3rem auto 0;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}
.category-card {
  background: var(--white);
  border-radius: 6px;
  padding: 1.8rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s;
}
.category-card:hover { transform: translateY(-5px); }
.category-icon { font-size: 2.2rem; margin-bottom: 0.5rem; }
.category-card h3 { font-size: 1.4rem; }
.category-card p { font-size: 0.85rem; color: #8a7d6c; }

/* Shop */
.shop { max-width: 1200px; margin: 4rem auto; padding: 0 2rem; }
.shop-header { text-align: center; margin-bottom: 2.5rem; }
.shop-header h2 { font-size: 2.5rem; }
.shop-header p { color: #8a7d6c; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}
.product-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); }
.product-img {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--gold);
  color: #fff;
  font-size: 0.7rem;
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.product-info { padding: 1.2rem; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold); }
.product-name { font-size: 1.3rem; margin: 0.2rem 0 0.4rem; }
.product-origin { font-size: 0.8rem; color: #8a7d6c; margin-bottom: 0.8rem; }
.product-bottom { margin-top: auto; display: flex; align-items: center; justify-content: space-between; }
.product-price { font-size: 1.3rem; font-weight: 600; font-family: 'Cormorant Garamond', serif; }
.add-btn {
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 0.55rem 1rem;
  border-radius: 2px;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  font-size: 0.85rem;
  transition: background 0.2s;
}
.add-btn:hover { background: var(--pink); }

/* Story */
.story {
  background: var(--sand);
  padding: 5rem 2rem;
  text-align: center;
}
.story-content { max-width: 720px; margin: 0 auto; }
.story h2 { font-size: 2.3rem; margin-bottom: 1.2rem; }
.story p { font-size: 1.05rem; color: #5c5142; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  padding: 3.5rem 2rem 2rem;
}
.footer-col h4 { font-size: 1.3rem; margin-bottom: 0.8rem; color: var(--gold); }
.footer-col a, .footer-col p { display: block; color: var(--cream); text-decoration: none; font-size: 0.9rem; margin-bottom: 0.4rem; opacity: 0.85; }
.footer-col a:hover { opacity: 1; color: var(--pink); }
.copyright { grid-column: 1 / -1; text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; margin-top: 1.5rem; font-size: 0.8rem; opacity: 0.6; }

/* Cart drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 90;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 90vw;
  height: 100%;
  background: var(--white);
  z-index: 100;
  transform: translateX(100%);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.3rem 1.5rem;
  border-bottom: 1px solid var(--sand);
}
.cart-drawer-header h3 { font-size: 1.6rem; }
.cart-drawer-header button { background: none; border: none; font-size: 1.8rem; cursor: pointer; line-height: 1; }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.cart-empty { text-align: center; color: #8a7d6c; margin-top: 3rem; }
.cart-item { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--sand); }
.cart-item-img { width: 60px; height: 60px; border-radius: 4px; background-size: cover; background-position: center; flex-shrink: 0; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 500; font-size: 0.95rem; }
.cart-item-price { color: var(--pink); font-weight: 600; }
.qty-controls { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.3rem; }
.qty-controls button { width: 24px; height: 24px; border: 1px solid var(--sand); background: var(--cream); cursor: pointer; border-radius: 3px; }
.remove-item { background: none; border: none; color: #b00; cursor: pointer; font-size: 0.8rem; margin-left: auto; align-self: flex-start; }
.cart-footer { padding: 1.5rem; border-top: 1px solid var(--sand); }
.cart-total { display: flex; justify-content: space-between; font-size: 1.3rem; font-weight: 600; margin-bottom: 1rem; font-family: 'Cormorant Garamond', serif; }
.btn-checkout { width: 100%; }
.cart-note { font-size: 0.75rem; color: #8a7d6c; text-align: center; margin-top: 0.7rem; }

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.3rem; }
  .categories { grid-template-columns: repeat(2, 1fr); }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--sand);
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .site-footer { grid-template-columns: 1fr; }
}
