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

/* ── Themes ── */

:root {
  --bg: #faf8f4;
  --bg-card: #ffffff;
  --primary: #1e4d35;
  --primary-light: #2a6347;
  --gold: #b8860b;
  --gold-light: #d4a017;
  --text: #1a1a1a;
  --text-muted: #666;
  --border: #e5e0d8;
  --shadow: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-hover: 0 6px 24px rgba(0,0,0,0.13);
  --card-icon-bg: #eef5f0;
}

[data-theme="night"] {
  --bg: #0f0f0f;
  --bg-card: #1c1c1c;
  --primary: #141414;
  --primary-light: #1c2e1c;
  --gold: #c8a951;
  --gold-light: #d9be7a;
  --text: #f0f0f0;
  --text-muted: #888;
  --border: #2c2c2c;
  --shadow: 0 2px 12px rgba(0,0,0,0.4);
  --shadow-hover: 0 6px 24px rgba(0,0,0,0.6);
  --card-icon-bg: #1e2e1e;
}

[data-theme="wine"] {
  --bg: #faf7f7;
  --bg-card: #ffffff;
  --primary: #7a1f2e;
  --primary-light: #8f2a3c;
  --gold: #b06030;
  --gold-light: #c97840;
  --text: #1a1a1a;
  --text-muted: #665;
  --border: #ede0e0;
  --shadow: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-hover: 0 6px 24px rgba(0,0,0,0.13);
  --card-icon-bg: #f5eaec;
}

[data-theme="ocean"] {
  --bg: #f4f8fb;
  --bg-card: #ffffff;
  --primary: #1a3a5c;
  --primary-light: #1e4d7a;
  --gold: #0e8c7a;
  --gold-light: #14a890;
  --text: #1a1a1a;
  --text-muted: #566;
  --border: #dde6ef;
  --shadow: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-hover: 0 6px 24px rgba(0,0,0,0.12);
  --card-icon-bg: #e6f0f8;
}

[data-theme="amber"] {
  --bg: #fdf8ef;
  --bg-card: #ffffff;
  --primary: #5c3a08;
  --primary-light: #7a5010;
  --gold: #d4860b;
  --gold-light: #e89a0f;
  --text: #1a1a1a;
  --text-muted: #665;
  --border: #ece0cc;
  --shadow: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-hover: 0 6px 24px rgba(0,0,0,0.13);
  --card-icon-bg: #f5ead8;
}

/* ── Base ── */

html, body { height: 100%; }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: background 0.25s, color 0.25s;
}

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

/* ── Header ── */

.site-header {
  background: var(--primary);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.store-name {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #fff;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-phone {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}

.header-phone:hover { color: #fff; }

.header-phone svg {
  width: 15px;
  height: 15px;
  opacity: 0.7;
}

/* ── Theme picker ── */

.theme-wrapper { position: relative; }

.theme-btn {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  padding: 0.42rem 0.55rem;
  display: flex;
  align-items: center;
  transition: background 0.2s, color 0.2s;
  line-height: 0;
}

.theme-btn:hover {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

.theme-btn svg { width: 18px; height: 18px; }

.theme-picker {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
  display: none;
  z-index: 200;
  min-width: 170px;
}

.theme-picker.open { display: block; }

.picker-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.swatches {
  display: flex;
  gap: 0.55rem;
  align-items: center;
}

.theme-swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  transition: transform 0.15s;
  outline: none;
  position: relative;
  flex-shrink: 0;
}

.theme-swatch:hover { transform: scale(1.15); }

.theme-swatch.active {
  box-shadow: 0 0 0 2px var(--bg-card), 0 0 0 4px var(--text);
}

/* ── Main ── */

main { flex: 1; }

/* ── Hero ── */

.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  text-align: center;
  padding: 5rem 2rem 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255,255,255,0.2);
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero h1 span { color: var(--gold-light); }

.hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  max-width: 420px;
  margin: 0 auto 2rem;
  line-height: 1.5;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 8px;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}

.hero-cta:hover { background: var(--gold-light); transform: translateY(-1px); }

/* ── Info cards ── */

.info-section { padding: 4rem 2rem; }

.section-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 2.5rem;
}

.info-grid {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s, transform 0.2s, background 0.25s, border-color 0.25s;
}

.info-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }

.card-icon {
  width: 44px;
  height: 44px;
  background: var(--card-icon-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
}

.card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
  transition: stroke 0.25s;
}

.info-card h2 {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.info-card a {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.65;
  transition: color 0.2s;
}

.info-card a:hover { color: var(--primary); }

.hours-table { border-collapse: collapse; width: 100%; }

.hours-table td {
  padding: 0.3rem 0;
  font-size: 0.95rem;
  color: var(--text);
  vertical-align: top;
}

.hours-table td:first-child {
  color: var(--text-muted);
  padding-right: 1.5rem;
  white-space: nowrap;
  font-size: 0.88rem;
}

/* ── Footer ── */

.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.6);
  transition: background 0.25s;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-inner p { font-size: 0.8rem; }

.powered-by {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem !important;
}

.starview-link {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  transition: opacity 0.2s;
}

.starview-link:hover { opacity: 0.85; }

.sv-main {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255,255,255,0.65);
  letter-spacing: -0.3px;
}

.sv-accent {
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--gold-light);
  font-style: italic;
  letter-spacing: -0.2px;
}

.sv-star {
  fill: var(--gold-light);
  width: 10px;
  height: 10px;
  transform: translateY(-2px);
  margin-left: 1px;
}

/* ── Responsive ── */

@media (max-width: 720px) {
  .hero h1 { font-size: 2.1rem; }
  .info-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .header-inner, .info-section, .footer-inner { padding-left: 1rem; padding-right: 1rem; }
  .hero { padding: 3.5rem 1rem 3rem; }
  .header-phone span { display: none; }
}
