:root {
  --bg: #ffffff;
  --muted: #f6f7f9;
  --text: #0f172a; /* slate-900 */
  --text-muted: #475569; /* slate-600 */
  --brand: #1f2937; /* gray-800 */
  --accent: #d4af37; /* gold */
  --ring: rgba(212, 175, 55, .35);
  --border: #e5e7eb;
  --error: #ef4444;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

/* Layout */
.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* Top bar */
.announcement { background: var(--brand); color: #fff; font-size: 13px; }
.announcement .container { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 16px; }

/* Header */
header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { display: flex; align-items: baseline; gap: 12px; font-weight: 700; letter-spacing: .5px; }
.brand-logo { font-size: 24px; }
.brand-title { font-family: "Playfair Display", serif; font-size: 28px; font-weight: 700; color: var(--accent); text-shadow: 0 2px 4px rgba(212, 175, 55, 0.3); }
.brand-subtitle { font-family: "Inter", sans-serif; font-size: 14px; font-weight: 400; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }

/* Main Navigation */
.main-nav { display: none; align-items: center; gap: 24px; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--text); transition: color 0.2s ease; }
.nav-link:hover { color: var(--accent); }

@media (min-width: 900px) {
  .main-nav { display: flex; }
}

.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { background: transparent; border: 1px solid var(--border); padding: 8px; border-radius: 999px; display: grid; place-items: center; width: 38px; height: 38px; cursor: pointer; }
.icon-btn:focus { outline: 2px solid var(--ring); outline-offset: 2px; }

.searchbar { flex: 1; display: none; align-items: center; gap: 8px; border: 1px solid var(--border); padding: 8px 12px; border-radius: 999px; background: #fff; }
.searchbar input { border: 0; outline: none; width: 100%; font-size: 14px; }

@media (min-width: 900px) {
  .searchbar { display: flex; margin: 0 16px; }
}

/* Mobile menu */
.mobile-menu { display: block; }
.hamburger { display: inline-flex; }
@media (min-width: 900px) { .hamburger { display: none; } }

.sheet { position: fixed; inset: 0 0 0 auto; width: min(92vw, 380px); background: #fff; box-shadow: -6px 0 30px rgba(0,0,0,.08); transform: translateX(110%); transition: transform .3s ease; z-index: 60; display: flex; flex-direction: column; }
.sheet.open { transform: translateX(0); }
.sheet-header { padding: 16px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.sheet-content { padding: 16px; overflow: auto; }
.sheet-footer { padding: 16px; border-top: 1px solid var(--border); }

/* Hero */
.hero { position: relative; }
.hero-grid { display: grid; gap: 16px; grid-template-columns: 1fr; padding: 0; }
.hero-card { position: relative; border-radius: 16px; overflow: hidden; min-height: 220px; }
.hero-card.full-width { min-height: 400px; }
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.45)); }
.hero-content { position: absolute; inset: 50% 16px auto 16px; transform: translateY(-50%); color: #fff; text-align: center; }
.hero-eyebrow { font-size: 12px; letter-spacing: .2em; opacity: .85; text-transform: uppercase; }
.hero-title { font-family: "Playfair Display", serif; font-size: clamp(24px, 6vw, 44px); line-height: 1.05; margin: 0 0 12px; }
.hero-subtitle { font-family: "Inter", sans-serif; font-size: clamp(16px, 3vw, 20px); font-weight: 300; opacity: 0.9; margin: 0 0 20px; line-height: 1.4; }
.hero-cta { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: var(--text); border-radius: 999px; padding: 10px 14px; border: 1px solid #eaeaea; }

@media (min-width: 900px) {
  .hero-grid { padding: 0; }
  .hero-card.full-width { min-height: 500px; }
}

/* Categories */
.section { padding: 24px 16px; }
.section h2 { font-family: "Playfair Display", serif; font-size: clamp(22px, 4.5vw, 34px); margin: 0 0 12px; }
.section p.lead { color: var(--text-muted); margin: 0 0 18px; }

.cat-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .cat-grid { grid-template-columns: repeat(4, 1fr); } }
.cat { background: var(--muted); border-radius: 12px; padding: 16px; display: grid; gap: 10px; border: 1px solid var(--border); cursor: pointer; transition: all 0.2s ease; }
.cat:hover { background: #fff; border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(212, 175, 55, 0.15); }
.cat:active { transform: translateY(0); }
.cat.active { background: #fff; border-color: var(--accent); border-width: 2px; box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2); }
.cat.active h3 { color: var(--accent); font-weight: 700; }
.cat img { border-radius: 8px; height: 120px; object-fit: cover; }
.cat h3 { margin: 0; font-size: 15px; }


/* Products */
.toolbar { display: flex; gap: 8px; align-items: center; justify-content: space-between; margin: 10px 0 16px; flex-wrap: wrap; }
.pill { border: 1px solid var(--border); border-radius: 999px; padding: 8px 12px; background: #fff; font-size: 14px; transition: all 0.2s ease; }
.pill.active { background: var(--accent); color: #000; border-color: var(--accent); font-weight: 600; }
.pill:hover:not(.active) { border-color: var(--accent); background: #fff; }
.products { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .products { grid-template-columns: repeat(4, 1fr); gap: 16px; } }

.card { border: 1px solid var(--border); border-radius: 14px; overflow: hidden; background: #fff; display: grid; grid-template-rows: auto 1fr auto; }
.card-media { position: relative; background: #fafafa; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--accent); color: #000; font-weight: 600; padding: 4px 8px; border-radius: 999px; font-size: 12px; }
.card-media img { width: 100%; height: 200px; object-fit: cover; }
.card-body { padding: 12px; display: grid; gap: 6px; }
.card-title { font-weight: 600; font-size: 15px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price .now { font-weight: 700; }
.price .was { color: var(--text-muted); text-decoration: line-through; font-size: 13px; }
.rating { font-size: 12px; color: #a16207; }
.card-actions { padding: 12px; border-top: 1px solid var(--border); display: flex; gap: 8px; }
.btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--border); background: #fff; cursor: pointer; }
.btn.primary { background: var(--text); color: #fff; border-color: var(--text); }

.empty { text-align: center; color: var(--text-muted); border: 1px dashed var(--border); padding: 24px; border-radius: 12px; }

/* About Section */
.about-content { display: grid; gap: 32px; margin-top: 24px; }
.about-text p { margin: 0 0 16px; line-height: 1.6; }
@media (min-width: 900px) { 
  .about-content { grid-template-columns: 2fr 1fr; }
}
.about-image { 
  display: flex; align-items: stretch;
}
.about-image img { 
  width: 100%; height: 100%; object-fit: cover; 
  border-radius: 16px; border: 1px solid var(--border);
}

/* Contact Section */
.contact-simple { display: grid; gap: 24px; margin-top: 24px; grid-template-columns: 1fr; }
@media (min-width: 900px) { 
  .contact-simple { grid-template-columns: repeat(3, 1fr); }
}
.contact-item { 
  display: flex; align-items: center; gap: 16px; 
  padding: 24px; background: var(--muted); border-radius: 16px; 
  border: 1px solid var(--border); transition: transform 0.2s ease;
}
.contact-item:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.contact-icon { font-size: 32px; }
.contact-details h3 { font-size: 18px; margin: 0 0 8px; color: var(--accent); }
.contact-details a { 
  color: var(--text); text-decoration: none; font-weight: 500; 
  transition: color 0.2s ease;
}
.contact-details a:hover { color: var(--accent); }
.contact-details p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-muted); }

/* Footer */
footer { margin-top: 24px; border-top: 1px solid var(--border); background: #fff; }
.footer-grid { display: grid; gap: 16px; grid-template-columns: 1fr; padding: 24px 0; }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.subtle { color: var(--text-muted); font-size: 14px; }

/* Dialogs & Backdrop */
.backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.35); opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 55; }
.backdrop.show { opacity: 1; pointer-events: auto; }

.dialog { position: fixed; inset: 0; display: grid; place-items: center; z-index: 70; }
.dialog-card { width: min(92vw, 720px); background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; transform: translateY(12px); opacity: 0; transition: all .25s ease; }
.dialog.open .dialog-card { transform: translateY(0); opacity: 1; }
.dialog-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.dialog-body { padding: 16px; }

/* 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; }
.hide { display: none !important; }
