:root {
  --sb-bg-main: #050814;
  --sb-bg-deep: #020617;
  --sb-bg-soft: #030712;
  --sb-card: rgba(2, 6, 23, 0.96);
  --sb-text-main: #f9fafb;
  --sb-text-muted: #9ca3af;
  --sb-text-soft: #f1f5f9;
  --sb-red: #c94c35;
  --sb-orange: #f97316;
  --sb-border-soft: rgba(148, 163, 184, 0.25);
  --sb-container-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--sb-text-main);
  background:
    radial-gradient(circle at 10% 0%, rgba(107, 18, 32, 0.65), transparent 55%),
    radial-gradient(circle at 80% 10%, rgba(30, 64, 175, 0.7), transparent 60%),
    linear-gradient(145deg, #020617 0, #020617 40%, var(--sb-bg-main) 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

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

h1,
h2,
h3 {
  font-family: "League Spartan", system-ui, sans-serif;
  letter-spacing: 0.03em;
  margin: 0;
}

.container {
  max-width: var(--sb-container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ================= HEADER GLOBAL ================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #020617;
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.75);
}

.header-inner {
  max-width: var(--sb-container-width);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: 110px;
  height: auto;
  border-radius: 999px;
  display: block;
  object-fit: contain;
  filter:
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.16))
    drop-shadow(0 0 20px rgba(201, 76, 53, 0.6));
}

.brand-text {
  font-family: "League Spartan", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.15em;
  font-size: 26px;
  color: #f9fafb;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
}

nav.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.main-nav a {
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #ffffff;
  position: relative;
  padding-bottom: 4px;
  white-space: nowrap;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #ff6930, #ffb96f);
  transition: width 0.3s ease;
  border-radius: 6px;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a[aria-current="page"]::after {
  width: 100%;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: #ffb96f;
  transition: 0.25s ease;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-cta {
  background: var(--sb-red);
  padding: 8px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: #f9fafb;
  white-space: nowrap;
  box-shadow:
    0 0 0 1px rgba(249, 250, 251, 0.08),
    0 10px 28px rgba(0, 0, 0, 0.7);
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: #d55a40;
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(249, 250, 251, 0.18),
    0 16px 38px rgba(0, 0, 0, 0.9);
}

.cart-icon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  position: relative;
  background: radial-gradient(circle at 30% 0%, rgba(248, 250, 252, 0.16), rgba(15, 23, 42, 0.85));
  backdrop-filter: blur(6px);
}

#cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--sb-red);
  color: #fff;
  border-radius: 999px;
  font-size: 10px;
  padding: 2px 5px;
  min-width: 18px;
  text-align: center;
}

#cart-count:empty {
  display: none;
}

.burger-button {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  background: #020617;
  padding: 12px 24px 16px;
  z-index: 40;
  border-bottom: 1px solid #111827;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
}

.mobile-nav a {
  color: #fff;
}

.mobile-nav.open {
  display: block;
}

/* ================= FOOTER GLOBAL ================= */

footer {
  background: #020617;
  color: #e5e7eb;
  padding: 32px 24px 18px;
  border-top: 1px solid #111827;
}

.newsletter-container {
  max-width: var(--sb-container-width);
  margin: 0 auto 24px;
  text-align: center;
}

.newsletter-container h3 {
  margin-bottom: 6px;
}

.newsletter-container p {
  color: var(--sb-text-muted);
}

.newsletter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
}

footer input[type="email"] {
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  min-width: 240px;
  max-width: 360px;
  font-size: 14px;
  background: #020617;
  color: #f9fafb;
  outline: none;
}

footer input[type="email"]::placeholder {
  color: rgba(156, 163, 175, 0.9);
}

footer input[type="email"]:focus {
  border-color: var(--sb-orange);
  box-shadow:
    0 0 0 1px rgba(249, 115, 22, 0.8),
    0 0 20px rgba(249, 115, 22, 0.25);
}

footer button {
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--sb-red), var(--sb-orange));
  color: #f9fafb;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow:
    0 0 0 1px rgba(248, 250, 251, 0.12),
    0 16px 40px rgba(0, 0, 0, 0.9);
}

.newsletter-message {
  font-size: 13px;
  margin-top: 6px;
  min-height: 1.2em;
  color: var(--sb-text-muted);
}

.footer-columns {
  max-width: var(--sb-container-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  font-size: 13px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand img {
  height: 80px;
  width: auto;
  display: block;
}

.footer-columns p {
  margin: 4px 0;
}

.footer-bottom {
  max-width: var(--sb-container-width);
  margin: 20px auto 0;
  padding-top: 8px;
  font-size: 11px;
  text-align: center;
  color: #9ca3af;
  border-top: 1px solid #111827;
}

/* ================= RESPONSIVE GLOBAL ================= */

@media (max-width: 900px) {
  .header-inner {
    padding: 10px 16px;
    gap: 12px;
  }

  nav.main-nav {
    display: none !important;
  }

  .burger-button {
    display: flex;
  }

  .brand-logo {
    width: 90px;
  }

  .brand-text {
    font-size: 20px;
    letter-spacing: 0.12em;
  }
}

@media (max-width: 640px) {
  .brand-logo {
    width: 72px;
  }

  .brand-text {
    font-size: 18px;
    letter-spacing: 0.1em;
  }
}

@media (max-width: 420px) {
  .nav-cta {
    display: none;
  }
}
