:root {
  --bg: #0b0b0d;
  --bg-alt: #141416;
  --card: #17171a;
  --border: #2a2a2e;
  --gold: #d4af37;
  --gold-soft: #e8cf7a;
  --text: #f2f0ea;
  --text-dim: #9a9a9f;
  --radius: 10px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
}

h1, h2, h3, .logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(11, 11, 13, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  font-size: 22px;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
}

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.2s;
}

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

.cart-toggle {
  position: relative;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 8px;
}

.cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--gold);
  color: #1a1a1a;
  font-size: 11px;
  font-weight: 600;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero */
.hero {
  padding: 120px 0 100px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(212,175,55,0.08), transparent 60%),
    var(--bg);
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  color: var(--gold-soft);
  font-size: 13px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
  margin-bottom: 22px;
}

.hero-sub {
  max-width: 480px;
  margin: 0 auto 34px;
  color: var(--text-dim);
  font-size: 16px;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--gold);
  color: #16150f;
}

.btn-primary:hover {
  background: var(--gold-soft);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.btn-full { width: 100%; text-align: center; }

/* Shop */
.shop { padding: 100px 0; }

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-head h2 {
  font-size: 34px;
  margin-bottom: 10px;
}

.section-head p {
  color: var(--text-dim);
  font-size: 15px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212,175,55,0.4);
}

.product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-alt);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(212,175,55,0.9);
  color: #16150f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  font-size: 17px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  margin-bottom: 8px;
}

.price {
  color: var(--gold-soft);
  font-weight: 600;
  margin-bottom: 16px;
}

/* About */
.about {
  padding: 100px 0;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-inner { text-align: center; }

.about h2 {
  font-size: 32px;
  margin-bottom: 48px;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px;
  text-align: left;
}

.about-item h3 {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: var(--gold-soft);
  margin-bottom: 10px;
}

.about-item p {
  color: var(--text-dim);
  font-size: 14px;
}

/* Footer */
.site-footer { padding: 56px 0; }

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-note {
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 8px;
}

.footer-contact {
  text-align: right;
  color: var(--text-dim);
  font-size: 14px;
}

.footer-contact a {
  color: var(--gold-soft);
  font-weight: 600;
}

/* Cart Drawer */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 50;
}

.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  max-width: 92vw;
  height: 100%;
  background: var(--card);
  border-left: 1px solid var(--border);
  z-index: 51;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}

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

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

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

#cartClose {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

.cart-empty {
  color: var(--text-dim);
  text-align: center;
  margin-top: 40px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.cart-item img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--bg-alt);
}

.cart-item-info { flex: 1; }

.cart-item-info h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}

.cart-item-info p {
  color: var(--gold-soft);
  font-size: 13px;
  margin-bottom: 8px;
}

.qty-control {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.qty-control button {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.remove-item {
  position: absolute;
  top: 16px;
  right: 0;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 18px;
  cursor: pointer;
}

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

.cart-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 16px;
}

.checkout-note {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 12px;
  text-align: center;
}

/* Checkout Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 60;
  padding: 20px;
}

.modal-overlay.open { opacity: 1; pointer-events: auto; }

.modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 420px;
  width: 100%;
  position: relative;
}

.modal h3 {
  font-size: 20px;
  margin-bottom: 18px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 24px;
  cursor: pointer;
}

.checkout-list {
  list-style: none;
  margin-bottom: 14px;
}

.checkout-list li {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 6px 0;
  color: var(--text-dim);
}

.checkout-total {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  margin-bottom: 16px;
}

@media (max-width: 640px) {
  .nav { display: none; }
  .hero { padding: 90px 0 70px; }
  .shop, .about { padding: 70px 0; }
}
