:root {
  --bg-deep: #020518;
  --bg-panel: rgba(6, 11, 35, 0.9);
  --bg-panel-soft: rgba(6, 11, 35, 0.7);
  --accent-red: #e31c3d; /* wildcat red */
  --accent-gold: #f6c453;
  --accent-ice: #53e0ff;
  --accent-sand: #f8e3c3;
  --text-main: #f7f7ff;
  --text-sub: #b9c1ff;
  --border-soft: rgba(255, 255, 255, 0.12);
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.55);
  --radius-xl: 20px;
  --radius-lg: 14px;
  --radius-md: 10px;

  --side-width: 260px;
}

/* BASIC RESET */

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #172347 0, #020314 55%, #000 100%);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
}

/* PAGE VARIANTS */

.page-home {
  background: radial-gradient(circle at top, #122650 0, #020314 55%, #000 100%);
}

.page-merch {
  background: radial-gradient(circle at top, #101a3f 0, #020314 55%, #000 100%);
}

.page-gallery {
  background: radial-gradient(circle at top, #081b3d 0, #020314 55%, #000 100%);
}

.page-about {
  background: radial-gradient(circle at top, #161239 0, #020314 55%, #000 100%);
}

.page-contact {
  background: radial-gradient(circle at top, #131f3d 0, #020314 55%, #000 100%);
}

.page-cart {
  background: radial-gradient(circle at top, #161229 0, #020314 55%, #000 100%);
}

.page-account {
  background: radial-gradient(circle at top, #1a1029 0, #020314 55%, #000 100%);
}

.page-success {
  background: radial-gradient(circle at top, #101a3f 0, #020314 55%, #000 100%);
}

/* SNOW LAYER */

.snow-layer {
  pointer-events: none;
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

.snowflake {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  opacity: 0.65;
  animation-name: snow-fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes snow-fall {
  0% {
    transform: translate3d(var(--sx), -5vh, 0);
  }
  100% {
    transform: translate3d(calc(var(--sx) + var(--wind, 0px)), 105vh, 0);
  }
}

/* TOP BAR (MOBILE) */

.top-bar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 56px;
  padding-inline: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(
    to right,
    rgba(1, 5, 20, 0.96),
    rgba(1, 5, 20, 0.9)
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 40;
}

.top-logo {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-main);
  flex: 1;
  font-weight: 600;
}

.menu-toggle {
  border: none;
  background: transparent;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text-main);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.side-open .menu-toggle span:first-child {
  transform: translateY(3px) rotate(40deg);
}

body.side-open .menu-toggle span:last-child {
  transform: translateY(-3px) rotate(-40deg);
}

.top-cart {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text-main);
  font-size: 13px;
}

.cart-pill {
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  padding-inline: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background: var(--accent-red);
  color: #fff;
}

/* SIDE NAV */

.side-nav {
  position: fixed;
  inset: 56px auto 0 0;
  width: var(--side-width);
  background: radial-gradient(circle at top left, #182346 0, #050719 55%);
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  padding: 18px 16px 14px;
  z-index: 30;
  transform: translateX(-100%);
  transition: transform 0.25s ease-out;
}

body.side-open .side-nav {
  transform: translateX(0);
}

@media (min-width: 920px) {
  .top-bar {
    display: none;
  }
  .side-nav {
    inset: 0 auto 0 0;
    transform: none;
  }
}

/* BRAND LOCKUP */

.brand-lockup {
  margin-bottom: 20px;
}

.brand-mark {
  display: inline-flex;
  flex-direction: column;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
}

.brand-wild {
  color: var(--accent-sand);
}
.brand-cat {
  color: var(--accent-red);
}
.brand-winter {
  color: var(--accent-ice);
}

.brand-tag {
  margin-top: 8px;
  font-size: 12px;
  color: var(--text-sub);
}

/* NAV LINKS */

.nav-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-size: 13px;
  color: var(--text-sub);
  background: transparent;
  position: relative;
}

.nav-link::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.nav-link:hover::before {
  opacity: 1;
}

.nav-link-active {
  background: linear-gradient(
    135deg,
    rgba(227, 28, 61, 0.35),
    rgba(83, 224, 255, 0.26)
  );
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.nav-link-active::before {
  opacity: 1;
}

.nav-link-cart-pulse {
  transform: translateX(4px);
  box-shadow: 0 0 0 1px var(--accent-amber);
}

.nav-link-cart-pulse .nav-icon,
.nav-link-cart-pulse .nav-label {
  color: var(--accent-amber);
}

.nav-link-cart-pulse {
  transform: translateX(4px) scale(1.03);
}

.nav-icon {
  width: 24px;
  text-align: center;
}

.nav-label {
  flex: 1;
}

.nav-footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-snow-toggle {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: radial-gradient(circle at top left, #233069 0, #050719 70%);
  color: var(--text-main);
  font-size: 12px;
  padding: 5px 9px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.nav-hint {
  font-size: 11px;
  color: var(--text-sub);
}

/* MAIN SHELL */

.main-shell {
  position: relative;
  z-index: 1;
  padding: 72px 14px 24px;
  margin-left: 0;
}

@media (min-width: 920px) {
  .main-shell {
    padding: 26px 32px 32px;
    margin-left: var(--side-width);
  }
}

/* BUTTONS & CHIPS */

.btn {
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-red), #ff6c3f);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--text-main);
  background: rgba(5, 7, 24, 0.6);
}

.btn-block {
  width: 100%;
}

.tag-chip,
.chip-pill,
.meta-pill {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 4px 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.price-tag {
  font-weight: 700;
}

/* SECTION HEADER */

.section-header {
  max-width: 740px;
  margin: 0 auto 18px;
}

.section-title {
  font-size: clamp(21px, 3vw, 28px);
  margin: 0 0 4px;
}

.section-title span {
  color: var(--accent-ice);
}

.section-sub {
  margin: 0;
  font-size: 14px;
  color: var(--text-sub);
}

/* HERO GRID */

.hero-grid {
  display: grid;
  gap: 18px;
  align-items: stretch;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  }
}

.hero-marquee {
  background: var(--bg-panel);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-soft);
  padding: 18px 18px 16px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(22px);
}

.hero-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-ice);
  margin-bottom: 6px;
}

.hero-title {
  font-size: clamp(26px, 4vw, 32px);
  margin: 0 0 8px;
}

.hero-title span {
  color: var(--accent-gold);
}

.hero-copy {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--text-sub);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* HERO MAP */

.hero-map {
  background: var(--bg-panel-soft);
  border-radius: var(--radius-xl);
  border: 1px dashed rgba(255, 255, 255, 0.3);
  padding: 12px 12px 10px;
  position: relative;
  overflow: hidden;
}

.hero-map-inner {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 18px;
  min-height: 210px;
  background: radial-gradient(circle at top, #1a284d 0, #05061a 60%);
}

.hero-sign {
  position: absolute;
  right: 14px;
  top: 10px;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 11px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  background: rgba(5, 7, 24, 0.9);
}

.hero-sign-arrow {
  color: var(--accent-ice);
}

.hero-saguaro {
  position: absolute;
  left: 18px;
  bottom: 14px;
  width: 40px;
  height: 110px;
  border-radius: 999px;
  border: 2px solid var(--accent-ice);
  box-shadow: 0 0 22px rgba(83, 224, 255, 0.5);
}

.saguaro-arm {
  position: absolute;
  width: 20px;
  height: 60px;
  border-radius: 999px;
  border: 2px solid var(--accent-ice);
}

.saguaro-arm-left {
  left: -16px;
  top: 23px;
}
.saguaro-arm-right {
  right: -16px;
  top: 38px;
}

.hero-bike-track {
  position: absolute;
  left: 68px;
  right: 24px;
  bottom: 20px;
  height: 2px;
  border-radius: 999px;
  background: repeating-linear-gradient(
    to right,
    rgba(255, 255, 255, 0.5),
    rgba(255, 255, 255, 0.5) 8px,
    transparent 8px,
    transparent 14px
  );
  opacity: 0.9;
}

.hero-wildcat-head {
  position: absolute;
  right: 52px;
  bottom: 42px;
  width: 34px;
  height: 30px;
  border-radius: 10px;
  border: 2px solid var(--accent-red);
  box-shadow: 0 0 18px rgba(227, 28, 61, 0.7);
}

.wildcat-eye {
  position: absolute;
  top: 9px;
  left: 7px;
  width: 7px;
  height: 3px;
  border-radius: 999px;
  background: var(--accent-sand);
}

.wildcat-eye-right {
  left: 18px;
}

.hero-lights-strip {
  position: absolute;
  inset: 12px 8px auto 8px;
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--accent-red),
    var(--accent-red) 4px,
    var(--accent-gold) 4px,
    var(--accent-gold) 8px,
    var(--accent-ice) 8px,
    var(--accent-ice) 12px
  );
  opacity: 0.9;
}

.hero-map-caption {
  font-size: 11px;
  color: var(--text-sub);
  margin: 8px 2px 0;
}

/* ENTRY DOORS */

.entry-doors-section {
  margin-top: 26px;
}

.entry-door-grid {
  display: grid;
  gap: 14px;
  margin-top: 10px;
}

@media (min-width: 840px) {
  .entry-door-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.entry-door-card {
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 12px 12px 10px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.entry-door-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(83, 224, 255, 0.25), transparent 55%);
  opacity: 0;
  transition: opacity 0.18s ease;
}

.entry-door-card:hover::after {
  opacity: 1;
}

.entry-door-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-ice);
  margin-bottom: 5px;
}

.entry-door-title {
  font-size: 16px;
  margin: 0 0 6px;
}

.entry-door-copy {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--text-sub);
}

.entry-door-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.door-arrow {
  font-size: 18px;
}

/* HIGHLIGHT STRIP */

.highlight-strip {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

@media (min-width: 900px) {
  .highlight-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.highlight-card {
  background: var(--bg-panel-soft);
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(255, 255, 255, 0.24);
  padding: 12px 12px 10px;
  font-size: 13px;
}

/* MERCH GRID */

.merch-filters {
  margin: 16px 0 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filter-chip {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 4px 10px;
  font-size: 12px;
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
}

.filter-chip-active {
  background: linear-gradient(
    135deg,
    rgba(227, 28, 61, 0.8),
    rgba(83, 224, 255, 0.7)
  );
  color: #fff;
}

.merch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.merch-card {
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 8px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
}

.merch-media {
  border-radius: 12px;
  overflow: hidden;
  background: radial-gradient(circle at top, #272b50, #07081c);
  margin-bottom: 8px;
}

.merch-media img {
  display: block;
  width: 100%;
  height: auto;
}

.merch-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.merch-title {
  font-size: 15px;
  margin: 0;
}

.merch-copy {
  margin: 0;
  font-size: 13px;
  color: var(--text-sub);
}

.merch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

/* GALLERY */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.gallery-item {
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  text-align: left;
}

.gallery-item img {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: var(--shadow-soft);
}

.gallery-label {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--text-sub);
}

/* LIGHTBOX */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(1, 4, 14, 0.85);
}

.lightbox-inner {
  position: relative;
  max-width: min(920px, 96vw);
  max-height: 90vh;
  padding: 10px;
  border-radius: 18px;
  background: #050720;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 4px;
  right: 8px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  padding: 8px;
}

.lightbox-arrow.left {
  left: 4px;
}
.lightbox-arrow.right {
  right: 4px;
}

/* STORY / CONTACT / CART LAYOUTS */

.story-grid {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}

@media (min-width: 880px) {
  .story-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.story-card {
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 12px 12px 10px;
}

.story-title {
  margin: 0 0 6px;
  font-size: 16px;
}

.story-list {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-sub);
}

.contact-layout {
  margin-top: 18px;
  display: grid;
  gap: 16px;
}

@media (min-width: 880px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  }
}

.contact-form,
.contact-info-card {
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 14px 14px 12px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.field.two-col {
  display: grid;
  gap: 8px;
}

@media (min-width: 720px) {
  .field.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

label {
  font-size: 12px;
  color: var(--text-sub);
}

input,
select,
textarea {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 7px 10px;
  background: rgba(4, 7, 22, 0.9);
  color: var(--text-main);
  font-size: 13px;
  outline: none;
}

textarea {
  border-radius: 10px;
  resize: vertical;
}

.form-note {
  margin-top: 6px;
  font-size: 11px;
  color: var(--text-sub);
}

/* CART */

.cart-layout {
  margin-top: 16px;
  display: grid;
  gap: 16px;
}

@media (min-width: 960px) {
  .cart-layout {
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 1fr);
    align-items: flex-start;
  }
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) auto;
  gap: 10px;
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 10px 10px 8px;
}

.cart-item-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item-title {
  font-size: 14px;
  margin: 0;
}

.cart-item-meta {
  font-size: 12px;
  color: var(--text-sub);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
  font-size: 13px;
}

/* === Save for Later Button (Cart) === */
.cart-save-link {
  background: #111214;               /* dark background */
  color: #fff7c4;                    /* soft warm light text (matches your theme) */
  border: 1px solid var(--border-soft);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.cart-save-link:hover {
  background: #1c1e22;
  color: #fffbe0;
}

.cart-save-link:active {
  transform: scale(0.96);
}

.cart-qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
}

.cart-summary {
  background: var(--bg-panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-soft);
  padding: 12px 12px 10px;
}

.cart-summary h2 {
  margin: 0 0 8px;
  font-size: 15px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 4px;
}

.summary-row-strong {
  font-weight: 600;
  margin-top: 4px;
}

/* REVEAL ANIMATIONS */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.reveal-visible {
  opacity: 1;
  transform: translateY(0);
}

/* SCROLLBAR (LIGHT GRUNGE) */

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: rgba(2, 5, 20, 0.9);
}
::-webkit-scrollbar-thumb {
  background: rgba(248, 227, 195, 0.7);
  border-radius: 999px;
}


/* ==============
   ACCOUNT / AUTH
   ============== */

.page-account .page-inner {
  max-width: 760px;
  margin: 0 auto 2.5rem;
}

.auth-shell {
  margin-top: 2rem;
  padding: 1.5rem 1.5rem 2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(5, 8, 26, 0.96), rgba(11, 16, 40, 0.96));
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(137, 161, 255, 0.28);
  backdrop-filter: blur(10px);
}

.saved-shell {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
}

.saved-title {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-sub);
  margin-bottom: 0.5rem;
}

.saved-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.saved-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-sub);
}

.saved-item-name {
  font-weight: 500;
  color: var(--text-main);
}

.saved-empty {
  font-size: 0.85rem;
  color: var(--text-sub);
}

.auth-tabs {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(10, 16, 50, 0.9);
  border: 1px solid rgba(143, 166, 255, 0.35);
  margin-bottom: 1.5rem;
}

.auth-tab {
  border: none;
  background: transparent;
  color: var(--text-sub);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.auth-tab-active {
  background: linear-gradient(135deg, #f970b1, #ffcf7d);
  color: #0a0f33;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.auth-panels {
  position: relative;
}

.auth-panel {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.auth-panel-hidden {
  display: none;
  opacity: 0;
  pointer-events: none;
  transform: translateY(4px);
}

.auth-form .field {
  margin-bottom: 1rem;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
  width: 100%;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: rgba(3, 6, 22, 0.9);
  padding: 0.55rem 0.9rem;
  color: var(--text-main);
  font-size: 0.9rem;
}

.auth-form input::placeholder {
  color: var(--text-sub);
}

.auth-actions {
  margin-top: 1.1rem;
}

.auth-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.auth-note {
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-sub);
}

.linklike {
  border: none;
  padding: 0;
  margin: 0;
  background: none;
  color: var(--accent-amber);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-message {
  min-height: 1.2rem;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  color: var(--text-sub);
}

.auth-message--error {
  color: #ff7b9b;
}

.auth-message--success {
  color: #8ef0b4;
}

.auth-summary-title {
  font-size: 1.35rem;
  margin-bottom: 0.3rem;
}

.auth-summary-line {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 0.6rem;
}

.auth-summary-list {
  margin: 0 0 1.1rem;
  padding-left: 1.2rem;
  font-size: 0.85rem;
  color: var(--text-sub);
}

@media (max-width: 640px) {
  .auth-shell {
    padding: 1.25rem 1.1rem 1.6rem;
  }
}


/* ==============
   CART GRID + STRIPE
   ============== */

.page-cart .cart-grid {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.9fr);
  gap: 1.4rem;
  align-items: flex-start;
}

.page-cart .cart-summary {
  border-radius: 20px;
  background: var(--bg-panel);
  padding: 1.3rem 1.4rem 1.5rem;
  box-shadow: 0 18px 32px rgba(0, 0, 0, 0.5);
}

.page-cart .cart-summary .field {
  margin-top: 0.6rem;
}

.card-element {
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  background: #fff7c4;      /* same pale yellow as your other fields */
  box-sizing: border-box;
}

.card-element.StripeElement--focus {
  box-shadow: 0 0 0 1px var(--accent-amber);
  border-color: var(--accent-amber);
}

.card-errors {
  min-height: 1rem;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: #ff7b9b;
}

@media (max-width: 960px) {
  .page-cart .cart-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
