:root {
  --bg-color: #050508;
  --accent-gold: #c9a962;
  --accent-glow: rgba(201, 169, 98, 0.5);
  --text-main: #ffffff;
  --text-muted: #a0a0b0;
  --glass-bg: rgba(20, 20, 25, 0.4);
  --glass-border: rgba(201, 169, 98, 0.2);
  --font-main: 'Outfit', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  --panel: #0e1110;
  --panel2: #121613;
  --line: rgba(201, 169, 98, 0.15);
  --cream: #e8dfc9;
  --green: #9fb89b;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.05;
  z-index: 50;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

.cursor-glow {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 169, 98, 0.08), transparent 68%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 1;
}

body.modal-open {
  overflow: hidden;
}

button, a, input {
  font: inherit;
}

button {
  cursor: pointer;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold);
}

/* Header */
.header {
  height: 78px;
  padding: 0 clamp(22px, 5vw, 76px);
  display: flex;
  align-items: center;
  gap: 50px;
  border-bottom: 1px solid var(--glass-border);
  background: rgba(5, 5, 8, 0.8);
  backdrop-filter: blur(18px);
  position: sticky;
  top: 0;
  z-index: 40;
  transition: height 0.3s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.brand-logo {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  object-fit: cover;
  filter: drop-shadow(0 0 12px rgba(201, 169, 98, 0.5));
  opacity: 1;
  transition: all 0.3s ease;
}

.brand-logo:hover {
  transform: scale(1.05);
}

.header.scrolled .brand-logo {
  transform: scale(0.92);
  opacity: 0.9;
}

.header.scrolled {
  height: 70px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(90deg, #fff, var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 1.5px;
  text-shadow: 0 0 15px var(--accent-glow);
  transition: transform 0.3s ease;
}

.header.scrolled .brand strong {
  transform: scale(0.95);
  transform-origin: left center;
}

.brand small {
  display: block;
  margin-top: 5px;
  color: var(--accent-gold);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.85;
}

.nav {
  display: flex;
  gap: 30px;
  flex: 1;
  justify-content: flex-end;
}

.nav-link {
  background: none;
  border: 0;
  color: var(--text-main);
  font-size: 0.95rem;
  padding: 10px 0;
  position: relative;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.nav-link:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--accent-glow);
}

.nav-link:hover:after,
.nav-link.active:after {
  width: 100%;
}

.nav-link:hover {
  color: var(--accent-gold);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tool, .menu {
  border: 0;
  background: none;
  color: var(--text-main);
  font-size: 11px;
}

.tool {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(201, 169, 98, 0.08);
  border: 1px solid rgba(201, 169, 98, 0.2);
  color: var(--text-main);
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.tool::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tool:hover::before {
  opacity: 1;
}

.tool:hover {
  background: rgba(201, 169, 98, 0.15);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201, 169, 98, 0.2);
}

.tool b {
  margin-left: 4px;
  font-size: 10px;
  transition: transform 0.3s ease;
}

.tool:hover b {
  transform: translate(2px, -2px);
}

.tool span {
  position: relative;
  z-index: 1;
}

.tool:hover {
  color: var(--accent-gold);
}

.cart-pill {
  border: 1px solid var(--accent-gold);
  background: linear-gradient(135deg, var(--accent-gold), #d4af37);
  color: #050508;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 10px;
  letter-spacing: .06em;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.cart-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-pill:hover::before {
  opacity: 1;
}

.cart-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(201, 169, 98, 0.4);
}

.cart-pill b {
  background: #050508;
  color: var(--accent-gold);
  border-radius: 50%;
  padding: 2px 6px;
  margin-left: 5px;
  font-size: 9px;
  transition: all 0.3s ease;
}

.cart-pill:hover b {
  background: var(--accent-gold);
  color: #050508;
}

.menu {
  display: none;
  font-size: 18px;
}

/* Hero */
.hero {
  min-height: 720px;
  padding: 90px clamp(25px, 8vw, 125px);
  display: grid;
  grid-template-columns: 1fr minmax(400px, 570px);
  align-items: center;
  gap: clamp(50px, 7vw, 110px);
  background: linear-gradient(125deg, #0a0a0f 0%, #050508 100%);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 40%, rgba(201, 169, 98, 0.08), transparent 50%);
  pointer-events: none;
}

.kicker, .section-label {
  font-size: 9px;
  letter-spacing: .2em;
  color: var(--accent-gold);
  font-weight: 600;
  text-transform: uppercase;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 23px;
}

.kicker span {
  width: 28px;
  height: 1px;
  background: var(--accent-gold);
}

h1, h2, h3, p {
  margin-top: 0;
}

.hero h1 {
  font: 500 clamp(56px, 8vw, 108px)/.91 var(--font-display);
  letter-spacing: -.055em;
  margin-bottom: 28px;
  color: var(--text-main);
}

.hero h1 em, .custom-banner h2 em {
  font-weight: 400;
  color: var(--accent-gold);
}

.hero-copy > p {
  max-width: 520px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 15px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
}

.button {
  border: 1px solid transparent;
  padding: 14px 18px;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: transform .25s, background .25s, border-color .25s, box-shadow .25s;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: var(--accent-gold);
  color: #050508;
  box-shadow: 0 12px 30px rgba(201, 169, 98, 0.2);
}

.button.primary:hover {
  box-shadow: 0 15px 40px rgba(201, 169, 98, 0.3);
}

.button.full {
  width: 100%;
  justify-content: center;
}

.button.light {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--glass-border);
}

.button.light:hover {
  border-color: var(--accent-gold);
}

.button.ghost {
  background: transparent;
  border-color: var(--glass-border);
  color: var(--text-main);
}

.button.ghost:hover {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.text-button {
  border: 0;
  background: none;
  padding: 8px 0;
  color: var(--accent-gold);
  font-size: 11px;
}

.text-button:hover {
  color: var(--text-main);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 34px;
  color: var(--text-muted);
  font-size: 9px;
  letter-spacing: .12em;
}

.hero-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--accent-gold);
}

.hero-visual {
  position: relative;
  cursor: pointer;
}

.map-art {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
  background: #10201a;
  color: #e9ece7;
}

.hero-visual .map-art {
  aspect-ratio: 1/1.04;
  box-shadow: 28px 30px 80px rgba(0, 0, 0, 0.5);
}

.map-art.light {
  background: #e6e4db;
  color: #263129;
}

.map-art.mixed {
  background: linear-gradient(135deg, #112019 0 50%, #e7e5dc 50%);
  color: #fff;
}

.map-grid {
  position: absolute;
  inset: -10%;
  transform: rotate(-7deg) scale(1.08);
}

.map-grid span {
  position: absolute;
  left: calc((var(--i) + 1) * 6%);
  top: -10%;
  width: 1px;
  height: 120%;
  background: currentColor;
  opacity: .15;
  transform: rotate(calc((var(--i) - 7) * 3deg));
  animation: drift 9s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -0.25s);
}

.map-grid:before, .map-grid:after {
  content: "";
  position: absolute;
  inset: 20% 8%;
  border: 1px solid currentColor;
  opacity: .14;
  border-radius: 45% 55% 40% 60%;
  transform: rotate(18deg);
}

.map-grid:after {
  inset: 10% 30%;
  transform: rotate(-28deg);
  border-radius: 60% 35% 55% 40%;
}

.map-river {
  position: absolute;
  left: -10%;
  top: 38%;
  width: 120%;
  height: 22%;
  border: 2px solid currentColor;
  border-color: transparent transparent currentColor transparent;
  opacity: .25;
  border-radius: 50%;
  transform: rotate(-18deg);
}

.map-label {
  position: absolute;
  left: 11%;
  bottom: 13%;
  font: 600 clamp(25px, 4vw, 52px) var(--font-display);
  letter-spacing: .08em;
  color: var(--text-main);
}

.map-sub {
  position: absolute;
  left: 11%;
  bottom: 8%;
  font-size: 7px;
  letter-spacing: .25em;
  opacity: .55;
  color: var(--text-muted);
}

.floating-note {
  position: absolute;
  right: -18px;
  bottom: 34px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 17px 20px;
  min-width: 190px;
  border-radius: 12px;
}

.floating-note small, .floating-note span {
  display: block;
  font-size: 8px;
  letter-spacing: .15em;
  color: var(--accent-gold);
}

.floating-note strong {
  display: block;
  font: 500 18px var(--font-display);
  margin: 6px 0;
  color: var(--text-main);
}

/* Sections */
.section {
  padding: 100px clamp(25px, 8vw, 125px);
}

.intro {
  display: grid;
  grid-template-columns: .8fr 1.5fr;
  gap: 80px;
  background: linear-gradient(180deg, #0a0a0f, #050508);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.intro-copy {
  max-width: 780px;
}

.intro-copy h2, .collection-head h2 {
  font: 500 clamp(36px, 4vw, 60px)/1.05 var(--font-display);
  letter-spacing: -.04em;
  margin: 0 0 18px;
  color: var(--text-main);
}

.intro-copy p {
  max-width: 620px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.8;
}

.collection {
  background: var(--bg-color);
}

.collection-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 42px;
}

.filters {
  display: flex;
  gap: 4px;
  border-bottom: 1px solid var(--glass-border);
}

.filter {
  border: 0;
  background: none;
  color: var(--text-muted);
  padding: 10px 13px;
  font-size: 10px;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.filter.active {
  color: var(--accent-gold);
}

.filter.active:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 10px;
  right: 10px;
  height: 1px;
  background: var(--accent-gold);
}

.filter:hover {
  color: var(--accent-gold);
}

.card-image {
  position: relative;
  overflow: hidden;
}

.product-card .map-art {
  transition: transform .6s;
}

.product-card:hover .map-art {
  transform: scale(1.025);
}

.card-type {
  position: absolute;
  left: 13px;
  top: 13px;
  padding: 6px 8px;
  background: rgba(201, 169, 98, 0.9);
  backdrop-filter: blur(8px);
  font-size: 7px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #050508;
  font-weight: 700;
}

.quick-add {
  position: absolute;
  right: 13px;
  bottom: 13px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--accent-gold);
  color: #050508;
  font-size: 20px;
  box-shadow: 0 10px 25px rgba(201, 169, 98, 0.3);
  opacity: 0;
  transform: translateY(8px);
  transition: .3s;
}

.product-card:hover .quick-add,
.quick-add:focus {
  opacity: 1;
  transform: none;
}

.card-info {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 16px 9px;
}

.card-info h3 {
  font: 500 17px var(--font-display);
  margin-bottom: 5px;
  color: var(--text-main);
}

.card-info p {
  font-size: 10px;
  color: var(--text-muted);
  margin: 0;
}

.card-info strong {
  font-size: 12px;
  color: var(--accent-gold);
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--glass-border);
  padding: 10px 16px;
  color: var(--text-muted);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* Custom Banner */
.custom-banner {
  background: linear-gradient(180deg, #0a0a0f, #050508);
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 60px;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.custom-banner .section-label {
  color: var(--accent-gold);
}

.custom-banner h2 {
  font: 500 clamp(48px, 6vw, 78px)/.95 var(--font-display);
  margin: 18px 0;
}

.custom-banner p {
  max-width: 570px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Values */
.values {
  background: linear-gradient(180deg, #080810, #050508);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 45px;
}

.value-grid article {
  border-top: 1px solid var(--glass-border);
  padding-top: 18px;
}

.value-grid span {
  font-size: 9px;
  color: var(--accent-gold);
}

.value-grid h3 {
  font: 500 25px var(--font-display);
  margin: 18px 0 8px;
  color: var(--text-main);
}

.value-grid p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}

/* Store CTA */
.store-cta {
  display: flex;
  justify-content: space-between;
  align-items: end;
  background: linear-gradient(180deg, #0a0a0f, #050508);
  border-top: 1px solid var(--glass-border);
}

.store-cta h2 {
  font: 500 clamp(46px, 6vw, 80px) var(--font-display);
  margin: 14px 0;
  color: var(--text-main);
}

.store-cta p {
  color: var(--text-muted);
}

/* Footer */
.footer {
  padding: 55px clamp(25px, 8vw, 125px);
  background: rgba(5, 5, 8, 0.9);
  border-top: 1px solid var(--glass-border);
  color: var(--text-main);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
}

.footer strong {
  font-size: 11px;
  letter-spacing: .17em;
}

.footer p {
  color: var(--text-muted);
  font-size: 11px;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a, .footer-links button {
  border: 0;
  background: none;
  color: var(--text-muted);
  font-size: 10px;
}

.footer-links a:hover, .footer-links button:hover {
  color: var(--accent-gold);
}

.footer > small {
  grid-column: 1/-1;
  color: var(--text-muted);
  font-size: 8px;
  letter-spacing: .12em;
  opacity: 0.6;
}

/* Cart Overlay */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(12px);
  z-index: 50;
  animation: fade .3s ease;
}

.cart-drawer {
  position: fixed;
  right: 0;
  top: 0;
  height: 100vh;
  width: min(480px, 100%);
  background: linear-gradient(180deg, rgba(15, 15, 20, 0.98), rgba(10, 10, 15, 0.99));
  backdrop-filter: blur(20px);
  z-index: 51;
  padding: 34px;
  box-shadow: 
    -20px 0 60px rgba(0, 0, 0, 0.5),
    -1px 0 0 rgba(201, 169, 98, 0.1);
  animation: slideIn .5s cubic-bezier(.2, .8, .2, 1);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--glass-border);
}

@keyframes slideIn {
  from { 
    transform: translateX(100%);
    opacity: 0;
  }
  to { 
    transform: translateX(0);
    opacity: 1;
  }
}

.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 22px;
}

.drawer-head h2 {
  font: 500 32px var(--font-display);
  margin: 7px 0 0;
  color: var(--text-main);
  background: linear-gradient(135deg, #fff, var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.drawer-head button {
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  font-size: 20px;
  color: var(--text-muted);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
}

.drawer-head button:hover {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  background: rgba(201, 169, 98, 0.1);
  transform: rotate(90deg);
}

.drawer-items {
  flex: 1;
  overflow: auto;
  padding: 20px 0;
}

.drawer-item {
  display: grid;
  grid-template-columns: 85px 1fr;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--glass-border);
  transition: all 0.3s ease;
  position: relative;
}

.drawer-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 0;
  width: 3px;
  height: 0;
  background: var(--accent-gold);
  transition: height 0.3s ease;
}

.drawer-item:hover::before {
  height: 100%;
}

.drawer-item:hover {
  background: rgba(201, 169, 98, 0.03);
  padding-left: 10px;
}

.drawer-item .map-art {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.drawer-item:hover .map-art {
  transform: scale(1.05);
}

.drawer-item > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.drawer-item strong {
  font: 500 16px var(--font-display);
  color: var(--text-main);
  transition: color 0.3s ease;
}

.drawer-item:hover strong {
  color: var(--accent-gold);
}

.drawer-item span {
  font-size: 9px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.drawer-item b {
  font-size: 14px;
  margin-top: 6px;
  color: var(--accent-gold);
  font-weight: 600;
}

.drawer-item button {
  align-self: flex-start;
  border: 0;
  background: none;
  padding: 0;
  color: var(--text-muted);
  font-size: 9px;
  text-decoration: underline;
  transition: all 0.3s ease;
}

.drawer-item button:hover {
  color: #ff6b6b;
  transform: translateX(3px);
}

.drawer-total {
  display: flex;
  justify-content: space-between;
  border-top: 2px solid var(--accent-gold);
  padding: 22px 0;
  margin-top: auto;
  color: var(--text-main);
  position: relative;
}

.drawer-total::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
  animation: totalGlow 2s ease-in-out infinite;
}

@keyframes totalGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.drawer-total span {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.drawer-total strong {
  font: 600 24px var(--font-display);
  color: var(--accent-gold);
}

.drawer-note, .form-note {
  font-size: 9px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 16px;
  padding: 12px;
  background: rgba(201, 169, 98, 0.05);
  border-radius: 8px;
  border-left: 2px solid var(--accent-gold);
}

.drawer-empty {
  margin: auto 0;
  text-align: center;
  padding: 40px 0;
}

.drawer-empty p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Account Page */
.account-page {
  background: var(--bg-color);
  min-height: calc(100vh - 78px);
  position: relative;
}

.account-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 400px;
  background: radial-gradient(ellipse at center top, rgba(201, 169, 98, 0.08), transparent 70%);
  pointer-events: none;
}

.account-hero {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding-bottom: 70px;
  position: relative;
}

.account-hero h1 {
  font: 500 clamp(56px, 7vw, 96px) var(--font-display);
  letter-spacing: -.05em;
  margin: 17px 0;
  color: var(--text-main);
  background: linear-gradient(135deg, #fff, var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.account-hero p {
  color: var(--text-muted);
  max-width: 500px;
}

.account-body {
  padding-top: 0;
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 70px;
}

.is-account:not(.signed-in) .account-body {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin: 0 auto;
}

.is-account:not(.signed-in) .account-card {
  padding: 52px 48px;
}

.is-account:not(.signed-in) .account-hero {
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.back-link {
  color: var(--text-muted);
  font-size: 0.85rem;
  opacity: 0.6;
  transition: opacity 0.2s, color 0.2s;
}

.back-link:hover {
  opacity: 1;
  color: var(--accent-gold);
}

.account-hero-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.account-nav {
  border-top: 1px solid var(--glass-border);
  position: relative;
}

.account-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: var(--accent-gold);
  transition: height 0.3s ease;
}

.account-nav button {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--glass-border);
  background: none;
  padding: 17px 0;
  text-align: left;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  transition: all 0.3s ease;
  position: relative;
}

.account-nav button::before {
  content: '';
  position: absolute;
  left: -20px;
  top: 0;
  width: 2px;
  height: 0;
  background: var(--accent-gold);
  transition: height 0.3s ease;
}

.account-nav button:hover::before,
.account-nav button.active::before {
  height: 100%;
}

.account-nav button span {
  color: var(--text-muted);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.account-nav button.active span,
.account-nav button:hover span {
  opacity: 1;
  color: var(--accent-gold);
}

.account-nav button.active {
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(201, 169, 98, 0.05);
}

.account-nav button:hover {
  color: var(--accent-gold);
  background: rgba(201, 169, 98, 0.03);
  padding-left: 10px;
}

.account-panel {
  max-width: 850px;
}

.account-card {
  background: linear-gradient(145deg, rgba(15, 15, 20, 0.8), rgba(10, 10, 15, 0.9));
  border: 1px solid rgba(201, 169, 98, 0.2);
  padding: 38px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 0 30px rgba(201, 169, 98, 0.06), 0 20px 60px rgba(0, 0, 0, 0.4);
}

.account-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.account-card:hover::before {
  transform: scaleX(1);
}

.account-card:hover {
  border-color: rgba(201, 169, 98, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.account-card h2 {
  font: 500 38px var(--font-display);
  margin: 12px 0 28px;
  color: var(--text-main);
}

.account-card-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.status-chip {
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .12em;
  background: rgba(201, 169, 98, 0.15);
  color: var(--accent-gold);
  padding: 7px 9px;
  height: max-content;
  border-radius: 999px;
  animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 10px rgba(201, 169, 98, 0.2); }
  50% { box-shadow: 0 0 20px rgba(201, 169, 98, 0.4); }
}

.empty-state {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.empty-state.compact {
  min-height: 250px;
}

.empty-icon {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--accent-gold);
  animation: emptyFloat 3s ease-in-out infinite;
}

@keyframes emptyFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 22px;
}

.form-stack {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}

.account-card label {
  display: grid;
  gap: 8px;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
}

.account-card input {
  border: 1px solid var(--glass-border);
  background: rgba(20, 20, 25, 0.6);
  color: var(--text-main);
  padding: 16px 18px;
  border-radius: 10px;
  outline: none;
  transition: all 0.3s ease;
  font-size: 16px;
}

.account-card input:hover {
  border-color: rgba(201, 169, 98, 0.3);
}

.account-card input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 20px rgba(201, 169, 98, 0.15);
  transform: translateY(-2px);
}

/* Modal */
.modal-layer {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(8px);
  z-index: 60;
  padding: 30px;
  display: grid;
  place-items: center;
  animation: fade .2s;
}

.product-modal {
  width: min(1020px, 100%);
  max-height: 90vh;
  overflow: auto;
  background: #0a0a0f;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  animation: rise .35s;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}

.modal-art {
  background: var(--bg-color);
}

.modal-info {
  padding: 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.modal-info h2 {
  font: 500 clamp(40px, 5vw, 64px) var(--font-display);
  line-height: 1;
  margin: 14px 0;
  color: var(--text-main);
}

.modal-language {
  color: var(--text-muted);
  font-size: 11px;
}

.modal-info > p:not(.modal-language) {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 13px;
  max-width: 420px;
}

.modal-close {
  position: absolute;
  right: 24px;
  top: 18px;
  border: 0;
  background: none;
  color: var(--text-muted);
  font-size: 28px;
  z-index: 2;
}

.modal-close:hover {
  color: var(--accent-gold);
}

.specs {
  display: flex;
  gap: 9px;
  margin: 25px 0;
}

.specs span {
  border: 1px solid var(--glass-border);
  padding: 7px 9px;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent-gold);
}

.modal-buy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--glass-border);
  padding-top: 20px;
}

.modal-buy strong {
  font-size: 16px;
  color: var(--accent-gold);
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 20px);
  opacity: 0;
  background: var(--accent-gold);
  color: #050508;
  padding: 12px 17px;
  font-size: 10px;
  letter-spacing: .04em;
  font-weight: 700;
  z-index: 100;
  transition: .25s;
  box-shadow: 0 15px 35px rgba(201, 169, 98, 0.3);
  border-radius: 999px;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* Animations */
@keyframes fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(20px) scale(.98); }
  to { opacity: 1; transform: none; }
}

@keyframes drift {
  from { transform: translateY(-2%) rotate(calc((var(--i) - 7) * 3deg)); }
  to { transform: translateY(2%) rotate(calc((var(--i) - 7) * 3deg)); }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Responsive */
@media (max-width: 1000px) {
  .hero {
    grid-template-columns: 1fr 1fr;
  }
  
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .account-body {
    gap: 35px;
  }
  
  .nav {
    gap: 18px;
  }
}

@media (max-width: 760px) {
  .header {
    height: 68px;
    padding: 0 18px;
    gap: 16px;
  }
  
  .brand strong {
    font-size: 9px;
  }
  
  .brand small {
    font-size: 7px;
  }
  
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 68px;
    padding: 18px;
    background: rgba(5, 5, 8, 0.95);
    border-bottom: 1px solid var(--glass-border);
    flex-direction: column;
    gap: 3px;
    backdrop-filter: blur(12px);
  }
  
  .nav.mobile-open {
    display: flex;
  }
  
  .menu {
    display: block;
  }
  
  .tool span {
    display: none;
  }
  
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 65px 24px 45px;
  }
  
  .hero h1 {
    font-size: 62px;
  }
  
  .hero-visual {
    max-width: 560px;
    margin: auto;
    width: 100%;
  }
  
  .floating-note {
    right: -4px;
  }
  
  .section {
    padding: 70px 24px;
  }
  
  .intro {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .collection-head {
    display: block;
  }
  
  .filters {
    margin-top: 25px;
    width: max-content;
  }
  
  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  
  .custom-banner, .store-cta {
    display: block;
  }
  
  .custom-banner .button, .store-cta .button {
    margin-top: 25px;
  }
  
  .value-grid {
    grid-template-columns: 1fr;
  }
  
  .footer {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    flex-wrap: wrap;
  }
  
  .account-hero {
    display: block;
  }
  
  .account-hero .button {
    margin-top: 20px;
  }
  
  .account-body {
    grid-template-columns: 1fr;
  }
  
  .account-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
  }
  
  .product-modal {
    grid-template-columns: 1fr;
    max-height: 94vh;
  }
  
  .modal-art {
    min-height: 330px;
  }
  
  .modal-info {
    padding: 35px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .hero h1 {
    font-size: 54px;
  }
  
  .hero-actions {
    display: grid;
    gap: 12px;
  }
  
  .hero-meta {
    flex-wrap: wrap;
  }
  
  .card-info h3 {
    font-size: 15px;
  }
  
  .cart-drawer {
    padding: 25px;
  }
  
  .account-card {
    padding: 25px;
  }
  
  .account-card h2 {
    font-size: 32px;
  }
  
  .modal-art {
    min-height: 280px;
  }
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.6s cubic-bezier(0.5, 0, 0, 1);
}

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

/* Focus Visible States */
:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

/* Keyboard Navigation */
.keyboard-nav *:focus {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

/* Product Grid - Staggered Animation */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  animation: gridReveal 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes gridReveal {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Product Card - Enhanced 3D */
.product-card {
  position: relative;
  transform-style: preserve-3d;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 169, 98, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: inherit;
  z-index: 1;
}

.product-card:hover::before {
  opacity: 1;
}

.product-card:hover {
  transform: translateY(-15px) rotateX(5deg) scale(1.02);
  box-shadow: 
    0 40px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(201, 169, 98, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Section Headers - Animated Underline */
.section-title {
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-title.active::after {
  width: 100%;
}

/* Scroll Progress - Gradient */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 100;
  background: linear-gradient(90deg, var(--accent-gold), #fff, var(--accent-gold));
  background-size: 200% 100%;
  animation: progressGradient 3s linear infinite;
  transition: width 0.1s;
}

@keyframes progressGradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Grain - Movement */
.grain {
  animation: grainMove 0.5s steps(10) infinite;
}

@keyframes grainMove {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }
  30% { transform: translate(7%, -25%); }
  40% { transform: translate(-5%, 25%); }
  50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0%); }
  70% { transform: translate(0%, 15%); }
  80% { transform: translate(3%, 35%); }
  90% { transform: translate(-10%, 10%); }
}

/* Cursor Glow - Pulse */
.cursor-glow {
  animation: cursorPulse 3s ease-in-out infinite;
}

@keyframes cursorPulse {
  0%, 100% { 
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.8;
  }
  50% { 
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
  .cursor-glow {
    display: none;
  }
  .grain {
    display: none;
  }
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════
   ADMIN PORTAL — Shop Manager
   ═══════════════════════════════════════════ */

/* Password Gate */
.admin-gate {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.admin-gate-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 3rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
}
.admin-gate-logo {
  margin-bottom: 1.5rem;
}
.admin-gate-logo .brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
}
.admin-gate-card h1 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0.75rem 0 0.5rem;
}
.admin-gate-card > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.admin-pass-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.admin-pass-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  background: var(--bg-color);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 0.95rem;
}
.admin-pass-form input:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.15);
}

/* Admin Layout */
body.is-admin .grain,
body.is-admin .cursor-glow {
  display: none;
}
body.is-admin {
  background: #f5f5f5;
  color: #1a1a2e;
}

.admin-layout {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
  width: 240px;
  background: #fff;
  border-right: 1px solid #e5e5e5;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 100;
}
.admin-sidebar-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem 1rem;
  border-bottom: 1px solid #eee;
}
.admin-shop-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}
.admin-sidebar-head strong {
  display: block;
  font-size: 0.95rem;
  color: #1a1a2e;
}
.admin-sidebar-head small {
  color: #888;
  font-size: 0.75rem;
}
.admin-nav {
  flex: 1;
  padding: 0.5rem 0;
  overflow-y: auto;
}
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.65rem 1rem;
  background: none;
  border: none;
  color: #444;
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  position: relative;
}
.admin-nav-item:hover {
  background: #f5f5f5;
  color: #1a1a2e;
}
.admin-nav-item.active {
  background: #f0f0f0;
  color: #1a1a2e;
  font-weight: 600;
}
.admin-nav-icon {
  width: 20px;
  text-align: center;
  font-size: 1rem;
  opacity: 0.7;
}
.admin-badge {
  margin-left: auto;
  background: #e5e5e5;
  color: #666;
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 10px;
  font-weight: 600;
}
.admin-sidebar-foot {
  border-top: 1px solid #eee;
  padding: 0.5rem 0;
}

/* Main Area */
.admin-main {
  flex: 1;
  margin-left: 240px;
  min-height: 100vh;
}
.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: #fff;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-menu-toggle {
  display: none;
  background: none;
  border: 1px solid #e5e5e5;
  color: #1a1a2e;
  font-size: 1.2rem;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.admin-welcome {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.admin-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e5e5e5;
}
.admin-welcome h2 {
  font-size: 1.15rem;
  margin: 0;
  color: #1a1a2e;
}
.admin-welcome p {
  margin: 0.15rem 0 0;
  color: #888;
  font-size: 0.85rem;
}
.admin-welcome a {
  color: #555;
  text-decoration: underline;
}
.admin-content {
  padding: 1.5rem 2rem 3rem;
}

/* Sections */
.admin-section {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
}
.admin-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}
.admin-section-head h3 {
  font-size: 1.1rem;
  margin: 0;
  color: #1a1a2e;
}
.admin-section-sub {
  color: #888;
  font-size: 0.85rem;
  margin: 0 0 1rem;
}
.admin-note {
  color: #aaa;
  font-size: 0.8rem;
  margin-top: 1rem;
}
.admin-note a {
  color: #666;
  text-decoration: underline;
}

/* Tabs */
.admin-tabs-bar {
  display: flex;
  gap: 0;
  border-bottom: 1px solid #e5e5e5;
  margin: -1.5rem -1.5rem 1.5rem;
  padding: 0 1.5rem;
}
.admin-tab-btn {
  padding: 0.75rem 1rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: #888;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s;
}
.admin-tab-btn:hover {
  color: #1a1a2e;
}
.admin-tab-btn.active {
  color: #1a1a2e;
  font-weight: 600;
  border-bottom-color: #1a1a2e;
}

/* Progress */
.admin-progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.admin-progress-bar {
  width: 120px;
  height: 8px;
  background: #e5e5e5;
  border-radius: 4px;
  overflow: hidden;
}
.admin-progress-bar div {
  height: 100%;
  background: #1a1a2e;
  border-radius: 4px;
  transition: width 0.4s ease;
}

/* Checklist */
.admin-checklist {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
}
.admin-check-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background 0.15s;
}
.admin-check-item:last-child {
  border-bottom: none;
}
.admin-check-item:hover {
  background: #fafafa;
}
.admin-check-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.admin-check-item.done .admin-check-icon {
  background: #22c55e;
  color: #fff;
}
.admin-check-item:not(.done) .admin-check-icon {
  background: #e5e5e5;
  color: #999;
}
.admin-check-item strong {
  display: block;
  font-size: 0.9rem;
  color: #1a1a2e;
}
.admin-check-item small {
  color: #888;
  font-size: 0.8rem;
}

/* Task Grid */
.admin-task-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.admin-task-card {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1.25rem;
}
.admin-task-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.admin-task-icon {
  font-size: 1rem;
  opacity: 0.6;
}
.admin-task-card strong {
  font-size: 0.9rem;
  color: #1a1a2e;
}
.admin-task-card p {
  margin: 0.25rem 0;
  color: #888;
  font-size: 0.85rem;
}

/* Stats */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.admin-stats-grid.large {
  grid-template-columns: repeat(4, 1fr);
}
.admin-stat {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1.25rem;
}
.admin-stat span {
  display: block;
  color: #888;
  font-size: 0.8rem;
  margin-bottom: 0.5rem;
}
.admin-stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 0.25rem;
}
.admin-stat small {
  color: #aaa;
  font-size: 0.75rem;
}
.admin-stats-range {
  margin-bottom: 1rem;
}
.admin-stats-range span {
  color: #666;
  font-size: 0.85rem;
  cursor: pointer;
}

/* Listings Table */
.admin-listings-table {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
}
.admin-listing-header,
.admin-listing-row {
  display: grid;
  grid-template-columns: 60px 1fr 100px 120px 100px;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 1.25rem;
}
.admin-listing-header {
  background: #fafafa;
  border-bottom: 1px solid #e5e5e5;
  font-size: 0.8rem;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.admin-listing-row {
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.9rem;
}
.admin-listing-row:last-child {
  border-bottom: none;
}
.admin-listing-row:hover {
  background: #fafafa;
}
.admin-listing-thumb {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  background: #111;
}
.admin-listing-thumb .map-art {
  transform: scale(0.4);
  transform-origin: top left;
  width: 120px;
  height: 120px;
}
.admin-listing-row strong {
  color: #1a1a2e;
}
.admin-listing-row small {
  display: block;
  color: #888;
  font-size: 0.75rem;
}
.admin-status {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}
.admin-status.active {
  background: #dcfce7;
  color: #16a34a;
}

/* Empty State */
.admin-empty-state {
  text-align: center;
  padding: 3rem 2rem;
}
.admin-empty-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.3;
}
.admin-empty-state h3 {
  font-size: 1.1rem;
  color: #1a1a2e;
  margin: 0 0 0.5rem;
}
.admin-empty-state p {
  color: #888;
  font-size: 0.9rem;
}

/* Settings Grid */
.admin-settings-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.admin-setting-card {
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 1.25rem;
}
.admin-setting-card h4 {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: #1a1a2e;
}
.admin-setting-card p {
  margin: 0 0 0.75rem;
  color: #666;
  font-size: 0.9rem;
}

/* ═══════════════════════════════════════════
   NEW LISTING FORM
   ═══════════════════════════════════════════ */

.admin-breadcrumb {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 0.5rem;
}
.admin-breadcrumb a {
  color: #555;
  text-decoration: underline;
}
.admin-breadcrumb span {
  margin: 0 0.35rem;
}

.admin-listing-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e5e5e5;
  margin: 1.25rem 0 0;
}
.admin-listing-tab {
  padding: 0.75rem 1.25rem;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  color: #888;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.15s;
}
.admin-listing-tab:hover {
  color: #1a1a2e;
}
.admin-listing-tab.active {
  color: #d97706;
  border-bottom-color: #d97706;
  font-weight: 600;
}

.admin-listing-form {
  margin-top: 1.5rem;
}

.admin-form-card {
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 1.5rem;
}
.admin-form-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: #1a1a2e;
}
.admin-required {
  color: #ef4444;
  margin-left: 0.15rem;
}
.admin-required-note {
  color: #888;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.admin-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid #ccc;
  font-size: 0.7rem;
  color: #999;
  cursor: help;
  vertical-align: middle;
  margin-left: 0.25rem;
}

/* Upload Zone */
.admin-upload-zone {
  border: 2px dashed #d5d5d5;
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.admin-upload-zone:hover {
  border-color: #aaa;
  background: #fafafa;
}
.admin-upload-zone.small {
  padding: 1.5rem;
}
.admin-upload-inner p {
  margin: 0 0 1rem;
  color: #666;
}
.admin-upload-zone strong {
  color: #1a1a2e;
}

/* Form Elements */
.admin-form-group {
  margin-bottom: 1.25rem;
}
.admin-form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 0.4rem;
}
.admin-form-hint {
  color: #888;
  font-size: 0.8rem;
  margin: 0.35rem 0 0.5rem;
}
.admin-input,
.admin-select,
.admin-textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid #d5d5d5;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #1a1a2e;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.admin-input:focus,
.admin-select:focus,
.admin-textarea:focus {
  outline: none;
  border-color: #d97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12);
}
.admin-select {
  appearance: auto;
}
.admin-textarea {
  resize: vertical;
  font-family: inherit;
}
.admin-form-row {
  display: flex;
  gap: 1rem;
}
.admin-form-group.half {
  flex: 1;
}
.admin-price-input {
  display: flex;
  align-items: center;
  border: 1px solid #d5d5d5;
  border-radius: 8px;
  overflow: hidden;
}
.admin-price-input span {
  padding: 0.7rem 0.75rem;
  background: #f5f5f5;
  color: #666;
  font-size: 0.9rem;
  border-right: 1px solid #d5d5d5;
}
.admin-price-input input {
  border: none;
  border-radius: 0;
  flex: 1;
}
.admin-price-input input:focus {
  box-shadow: none;
}
.admin-category-add {
  color: #1a1a2e;
  font-weight: 500;
}

/* Radio Group */
.admin-radio-group {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.25rem;
}
.admin-radio {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #444;
  cursor: pointer;
}
.admin-radio input[type="radio"] {
  accent-color: #1a1a2e;
  width: 16px;
  height: 16px;
}

/* Listing Actions Bar */
.admin-listing-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e5e5;
}
.admin-listing-actions-right {
  display: flex;
  gap: 0.75rem;
}

/* Admin Button Overrides (light theme) */
body.is-admin .button.primary {
  background: #1a1a2e;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
body.is-admin .button.primary:hover {
  background: #2d2d4a;
}
body.is-admin .button.ghost {
  background: none;
  color: #1a1a2e;
  border: 1px solid #d5d5d5;
  border-radius: 8px;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color 0.15s;
}
body.is-admin .button.ghost:hover {
  border-color: #aaa;
}
body.is-admin .text-button {
  color: #555;
  background: none;
  border: none;
  font-size: 0.85rem;
  cursor: pointer;
}
body.is-admin .text-button:hover {
  color: #1a1a2e;
}

/* Admin Responsive */
@media (max-width: 900px) {
  .admin-sidebar {
    width: 200px;
  }
  .admin-main {
    margin-left: 200px;
  }
  .admin-task-grid {
    grid-template-columns: 1fr;
  }
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-listing-header,
  .admin-listing-row {
    grid-template-columns: 50px 1fr 80px 90px;
  }
  .admin-listing-header span:last-child,
  .admin-listing-row span:last-child {
    display: none;
  }
}
@media (max-width: 640px) {
  .admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 240px;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    background: #fff;
  }
  .admin-sidebar.mobile-open {
    transform: translateX(0);
  }
  .admin-sidebar.mobile-open::after {
    content: '';
    position: fixed;
    left: 240px;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
  }
  .admin-main {
    margin-left: 0;
  }
  .admin-menu-toggle {
    display: flex;
  }
  .admin-content {
    padding: 1rem;
  }
  .admin-settings-grid {
    grid-template-columns: 1fr;
  }
  .admin-form-row {
    flex-direction: column;
    gap: 0;
  }
  .admin-listing-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .admin-listing-actions-right {
    justify-content: flex-end;
  }
}
