/* =========================================================
   STS GROUPS — Main Foundation Stylesheet
   Traditional Bilona Ghee · Premium Commerce Design System
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg-deep: #050505;
  --bg-obsidian: #080808;
  --bg-surface: #111111;
  --bg-surface-elevated: #191919;

  --silver-bright: #f2f2f2;
  --silver-light: #dedede;
  --silver-mid: #c8c8c8;
  --silver-muted: #b3b3b3;
  --silver-dim: #979797;

  --gold-pure: #d8c46e;
  --gold-glow: #e8d68d;
  --gold-amber: #d8c46e;
  --gold-soft: #efe4ac;

  --border-silver: rgba(220, 220, 220, 0.15);
  --border-gold: rgba(208, 177, 123, 0.28);
  --border-subtle: rgba(255, 255, 255, 0.07);

  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-title: 'Cinzel', Georgia, serif;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background: var(--bg-deep);
  color: var(--silver-light);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 5, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-silver);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-badge {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  object-fit: contain;
}

.brand-title-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--silver-bright);
}

.brand-sub {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-amber);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  color: var(--silver-muted);
  padding: 6px 0;
  position: relative;
  transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
  color: var(--silver-bright);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-amber);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.account-nav {
  font-size: 13px;
  color: var(--silver-muted);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  transition: all 0.2s;
}

.account-nav:hover {
  color: var(--silver-bright);
  background: rgba(255, 255, 255, 0.04);
}

.cart-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(208, 177, 123, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-sm);
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.cart-toggle-btn:hover {
  background: rgba(208, 177, 123, 0.18);
  border-color: var(--gold-amber);
}

.cart-badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  background: var(--gold-amber);
  color: #080808;
  border-radius: 99px;
  font-size: 11px;
  font-weight: 700;
}

.mobile-menu-btn {
  display: none;
  font-size: 22px;
  color: var(--silver-bright);
  padding: 8px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
  text-align: center;
}

.btn-gold, .btn-primary-silver {
  background: linear-gradient(120deg, #e0e0dc, #bdbdb8);
  color: #101010;
  border: 1px solid var(--gold-amber);
}

.btn-gold:hover, .btn-primary-silver:hover {
  background: #efefeb;
  box-shadow: 0 6px 20px rgba(208, 177, 123, 0.2);
  transform: translateY(-1px);
}

.btn-ghost-silver {
  background: rgba(17, 17, 17, 0.6);
  border: 1px solid var(--border-silver);
  color: var(--silver-bright);
}

.btn-ghost-silver:hover {
  background: rgba(25, 25, 25, 0.9);
  border-color: var(--border-gold);
  color: var(--gold-soft);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 12px;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 15px;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* Card Styles */
.card-obsidian {
  background: var(--bg-surface);
  border: 1px solid var(--border-silver);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.silver-gradient-text {
  background: linear-gradient(135deg, #fff 0%, #d5d5d5 50%, #979797 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Footer */
.site-footer {
  background: #050505;
  border-top: 1px solid var(--border-silver);
  padding: 64px 0 32px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand-desc {
  color: var(--silver-muted);
  font-size: 13px;
  line-height: 1.8;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-amber);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--silver-muted);
  font-size: 13px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--silver-bright);
}

.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border-silver);
  font-size: 12px;
  color: var(--silver-dim);
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
