/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #D4AF37;
  --gold-light: #E8C84A;
  --gold-dim: rgba(212,175,55,0.85);
  --black: #0A0A0A;
  --dark1: #141414;
  --dark2: #1F1F1F;
  --dark3: #202425;
  --card-bg: #151717;
  --white: #FFFFFF;
  --white70: rgba(255,255,255,0.70);
  --white40: rgba(255,255,255,0.40);
  --text-muted: #7A756C;
  --border: rgba(46,42,34,1);
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

html, body {
  height: 100%;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

button { background: none; border: none; cursor: pointer; font-family: var(--font-body); }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { text-decoration: none; color: inherit; }

/* ===== PAGE SYSTEM ===== */
.page {
  display: none;
  flex-direction: column;
  min-height: 100vh;
  padding-bottom: 80px; /* bottom nav height */
  overflow-y: auto;
  background: var(--black);
}
.page.active { display: flex; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 14px 20px;
  background: rgba(10,10,10,0.70);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 4px;
  color: var(--white);
}

/* ===== BOTTOM NAV ===== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  display: flex;
  background: rgba(10,10,10,0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  padding-bottom: env(safe-area-inset-bottom);
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 0;
  color: #9BA1A6;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.15s;
}
.nav-item.active { color: var(--gold); }
.nav-item:hover { color: var(--gold-light); }
.nav-icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.5px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  flex-shrink: 0;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.78) 0%,
    rgba(0,0,0,0.45) 55%,
    rgba(0,0,0,0.20) 100%
  );
  z-index: 1;
}
.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 28px;
}
.hero-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 14px;
  text-transform: uppercase;
}
.hero-title {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.10;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 14px;
}
.hero-sub {
  font-size: 15px;
  color: var(--white70);
  max-width: 280px;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 24px;
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  letter-spacing: 0.3px;
  border: none;
  cursor: pointer;
  transition: background 0.18s, transform 0.12s;
  align-self: flex-start;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-full { width: 100%; justify-content: center; }

/* ===== TRUST BAR ===== */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  background: var(--gold);
  padding: 14px 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--black);
  text-transform: uppercase;
}
.trust-bar span { white-space: nowrap; }

/* ===== SECTIONS ===== */
.section {
  padding: 28px 20px;
}
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 18px;
}
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}
.see-all {
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  padding: 4px 0;
  transition: color 0.15s;
}
.see-all:hover { color: var(--gold-light); }

/* ===== CATEGORIES SCROLL ===== */
.categories-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.categories-scroll::-webkit-scrollbar { display: none; }

.category-card {
  position: relative;
  flex: 0 0 200px;
  height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  transition: transform 0.18s;
}
.category-card:hover { transform: scale(1.02); }
.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.10) 60%);
}
.category-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 14px;
  z-index: 2;
}
.category-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 3px;
}
.category-desc {
  font-size: 12px;
  color: var(--white70);
  display: block;
}

/* ===== FEATURED / PRODUCT GRID ===== */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.product-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s;
  border: 1px solid rgba(46,42,34,0.6);
}
.product-card:hover { transform: translateY(-2px); }

.product-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.product-card:hover .product-img-wrap img { transform: scale(1.04); }

.product-info {
  padding: 12px 12px 14px;
}
.product-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.3;
}
.product-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.3px;
}

/* ===== FOOTER ===== */
.site-footer {
  margin-top: auto;
  padding: 40px 20px 32px;
  text-align: center;
  background: var(--dark1);
  border-top: 1px solid var(--border);
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 8px;
}
.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 1px;
}

/* ===== SHOP PAGE ===== */
.shop-hero {
  position: relative;
  padding: 28px 20px 18px;
  display: flex;
  flex-direction: column;
}
.shop-logo-icon {
  position: absolute;
  top: 28px;
  right: 20px;
}

.all-categories-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 20px 12px;
}

.allcat-row {
  position: relative;
  height: 120px;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: transform 0.18s;
}
.allcat-row:hover { transform: scale(1.01); }

.allcat-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.allcat-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.52);
}
.allcat-text {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 20px;
  flex: 1;
}
.allcat-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold);
  font-family: var(--font-display);
  line-height: 1;
  min-width: 40px;
}
.allcat-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}
.allcat-desc {
  font-size: 12px;
  color: var(--white70);
}
.allcat-arrow {
  position: relative;
  z-index: 2;
  margin-right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.allcat-arrow:hover { background: var(--gold-light); }

/* ===== WISHLIST EMPTY ===== */
.empty-page {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 24px;
  text-align: center;
}
.empty-page h2 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--white);
}
.empty-page p {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 240px;
  line-height: 1.6;
}

/* ===== CONTACT PAGE ===== */
.contact-wrap {
  padding: 28px 20px 40px;
  max-width: 600px;
}
.contact-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.contact-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 28px;
}
.contact-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact-card:last-child {
  grid-column: 1 / -1;
}
.contact-card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
}
.contact-card-value {
  font-size: 14px;
  color: var(--white);
  font-weight: 500;
  line-height: 1.4;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.form-input {
  width: 100%;
  background: var(--dark2);
  border: 1px solid rgba(46,42,34,0.8);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.18s;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus { border-color: var(--gold); }
.form-textarea {
  resize: none;
  min-height: 110px;
}
.store-hours {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}
.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(46,42,34,0.4);
  font-size: 14px;
}
.hours-row:first-of-type { margin-top: 14px; }
.hours-row span:last-child { color: var(--gold); font-weight: 600; }

/* ===== RESPONSIVE ===== */
@media (min-width: 600px) {
  .featured-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-card:last-child { grid-column: auto; }
  .hero-title { font-size: 64px; }
  .category-card { flex: 0 0 220px; }
}

@media (min-width: 960px) {
  .featured-grid { grid-template-columns: repeat(4, 1fr); }
  .hero { height: 600px; }
  .hero-content { padding: 0 60px; }
}
