:root {
  --bg: #0a0807;
  --panel: #12100e;
  --cream: #f0e4cf;
  --muted: #c9b89c;
  --red: #b92b24;
  --red-bright: #d63a2f;
  --gold: #c49058;
  --line: rgba(196, 144, 88, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--cream);
  font-family: Inter, Arial, sans-serif;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Top utility bar ── */
.utility {
  height: 38px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 48px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: #000;
  border-bottom: none;
  color: #e8dcc8;
  position: relative;
  z-index: 30;
}
.utility__left { justify-self: start; display: flex; align-items: center; gap: 8px; }
.utility__center { justify-self: center; white-space: nowrap; }
.utility__right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
}
.utility__phone { font-weight: 600; color: #fff; letter-spacing: 0.06em; }
.social { display: flex; gap: 14px; align-items: center; }
.social a {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  transition: border-color 0.2s, color 0.2s;
}
.social a:hover { border-color: var(--gold); color: var(--gold); }

/* ── Main header ── */
.site-header {
  position: absolute;
  top: 38px;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px 12px;
  min-height: 120px;
  background: transparent;
  border-bottom: none;
}
.site-header a:first-child {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  align-self: flex-start;
  padding-top: 4px;
}
.brand {
  height: 118px;
  width: auto;
  max-width: none;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55));
}
.nav {
  display: flex;
  gap: 32px;
  align-items: flex-end;
  font-family: Oswald, sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #fff;
  line-height: 1;
  padding-bottom: 8px;
  border-bottom: none;
  transition: color 0.2s;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: transparent;
  transition: background-color 0.2s;
}
.nav a:hover { color: var(--red-bright); }
.nav a.active {
  color: var(--red-bright);
}
.nav a.active::after {
  background: var(--red-bright);
}
.nav .caret { font-size: 10px; margin-left: 2px; opacity: 0.7; line-height: 1; }
.header-icons {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.header-icons svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.6;
  cursor: pointer;
  transition: stroke 0.2s;
  display: block;
}
.header-icons svg:hover { stroke: var(--gold); }
.cart-wrap { position: relative; display: inline-flex; }
.cart-badge {
  position: absolute;
  right: -8px;
  top: -8px;
  background: var(--red-bright);
  color: #fff;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  font-size: 10px;
  font-weight: 700;
  display: grid;
  place-items: center;
  font-family: Inter, sans-serif;
}

/* ── Hero ── */
.hero {
  min-height: 700px;
  position: relative;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.65) 38%, rgba(0, 0, 0, 0.15) 72%),
    url('/assets/hero.png') center/cover no-repeat;
  padding: 200px 9% 130px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 72% 40%, transparent 0 25%, rgba(0, 0, 0, 0.5) 75%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 540px;
}
.hero h1 {
  font-family: Oswald, sans-serif;
  font-size: clamp(42px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 10px;
  font-weight: 700;
}
.hero h1 .red { color: var(--red-bright); display: block; }
.hero .script {
  font-family: Allura, cursive;
  font-size: clamp(28px, 3.5vw, 38px);
  color: #fff;
  margin: 0 0 24px;
  font-weight: 400;
  line-height: 1.2;
}
.hero .rule {
  width: 140px;
  height: 2px;
  background: var(--red);
  margin-bottom: 22px;
}
.hero p {
  font-size: 17px;
  line-height: 1.65;
  color: #f0e6d6;
  max-width: 500px;
  margin: 0;
}
.buttons {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.btn {
  font-family: Oswald, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  font-weight: 600;
  font-size: 13px;
  transition: transform 0.2s, filter 0.2s;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn.primary {
  background: linear-gradient(180deg, #d13a31, #a51f1a);
  border-color: #c03028;
  color: #fff;
}
.btn.secondary {
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
}

/* ── Trust strip ── */
.trust-strip {
  position: relative;
  z-index: 5;
  margin: -72px auto 0;
  max-width: 1140px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: rgba(14, 11, 9, 0.92);
  backdrop-filter: blur(6px);
  border-radius: 4px;
  padding: 26px 0;
}
.trust-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 0 28px;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: 0; }
.trust-item .ico {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  color: var(--gold);
}
.trust-item .ico svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.4; }
.trust-item h4 {
  font-family: Oswald, sans-serif;
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  font-weight: 600;
}
.trust-item p {
  margin: 0;
  color: #cbb99d;
  font-size: 12px;
  line-height: 1.45;
}

/* ── Vision ── */
.vision {
  background:
    linear-gradient(rgba(18, 12, 8, 0.94), rgba(10, 8, 6, 0.97)),
    url('/assets/wall_logo.jpg') center/cover fixed;
  padding: 90px 6% 60px;
  border-top: 1px solid #2a1c12;
}
.vision-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 70px;
  max-width: 1140px;
  margin: 0 auto;
  align-items: start;
}
.foundation {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 20px 22px;
  background: rgba(0, 0, 0, 0.25);
}
.foundation h4 {
  text-align: center;
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  line-height: 1.5;
  margin: 0 0 18px;
  color: #e8dcc8;
}
.metric {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  align-items: start;
}
.metric:last-child { border-bottom: 0; }
.metric .m-ico {
  color: var(--gold);
  width: 36px;
  height: 36px;
}
.metric .m-ico svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.3; }
.metric strong {
  display: block;
  font-size: 24px;
  color: var(--gold);
  font-family: Oswald, sans-serif;
  line-height: 1;
  margin-bottom: 2px;
}
.metric small {
  display: block;
  color: #d4c4aa;
  font-size: 12px;
  line-height: 1.45;
}
.metric small b {
  display: block;
  text-transform: uppercase;
  font-family: Oswald, sans-serif;
  letter-spacing: 0.06em;
  color: #e8dcc8;
  font-size: 11px;
  margin-bottom: 2px;
}
.vision-main { text-align: center; padding-top: 8px; }
.section-label {
  font-family: Oswald, sans-serif;
  color: var(--red-bright);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 12px;
}
.vision-main h2 {
  font-family: Merriweather, serif;
  text-transform: uppercase;
  font-size: clamp(20px, 2.5vw, 26px);
  letter-spacing: 0.04em;
  margin: 0 0 18px;
  line-height: 1.35;
}
.vision-main > p {
  max-width: 620px;
  margin: 0 auto;
  color: #eadcca;
  line-height: 1.7;
  font-size: 15px;
}
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 44px;
}
.value {
  padding: 0 24px;
  border-right: 1px solid var(--line);
}
.value:last-child { border-right: 0; }
.value .circle {
  width: 58px;
  height: 58px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  color: var(--gold);
}
.value .circle svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.value h4 {
  font-family: Oswald, sans-serif;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 6px;
  font-size: 13px;
}
.value p { font-size: 12px; line-height: 1.45; color: #cbb99d; margin: 0; }

/* ── Categories ── */
.categories {
  background: #f2e7d5;
  color: #15110d;
  padding: 48px 6% 44px;
  box-shadow: inset 0 8px 24px rgba(0, 0, 0, 0.08);
}
.section-head {
  max-width: 1140px;
  margin: 0 auto 28px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.section-head h2 {
  font-family: Merriweather, serif;
  text-transform: uppercase;
  font-size: 28px;
  margin: 0;
  letter-spacing: 0.03em;
}
.section-head h2::after {
  content: "";
  display: block;
  width: 100px;
  height: 2px;
  background: var(--red);
  margin-top: 10px;
}
.viewall {
  font-family: Oswald, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
  color: #3a2a1e;
  transition: color 0.2s;
}
.viewall:hover { color: var(--red); }
.category-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.cat {
  position: relative;
  height: 200px;
  overflow: hidden;
  border-radius: 3px;
  background: #111;
  display: block;
}
.cat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.cat:hover img { transform: scale(1.06); }
.cat-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: rgba(12, 10, 8, 0.88);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
}
.cat-label svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}

/* ── Ratings bar ── */
.ratings {
  background: #0d0b09;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 36px 6%;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.rating {
  text-align: center;
  border-right: 1px solid var(--line);
  min-height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}
.rating:last-child { border-right: 0; }
.rating .ico {
  width: 32px;
  height: 32px;
  color: var(--gold);
  margin-bottom: 8px;
}
.rating .ico svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.4; }
.stars { color: #ffbc24; font-size: 18px; letter-spacing: 2px; margin-bottom: 4px; }
.rating h4 {
  font-family: Oswald, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 6px 0 4px;
  font-size: 13px;
}
.rating p {
  margin: 0;
  color: #c9b89c;
  font-size: 12px;
  line-height: 1.45;
  max-width: 200px;
}
.google {
  font-size: 18px;
  margin-top: 8px;
  font-weight: 700;
  letter-spacing: -0.5px;
}
.google .g { color: #4285f4; }
.google .o1 { color: #ea4335; }
.google .o2 { color: #fbbc05; }
.google .g2 { color: #4285f4; }
.google .l { color: #34a853; }
.google .e { color: #ea4335; }

/* ── Tagline banner ── */
.tagline-banner {
  text-align: center;
  background: linear-gradient(180deg, #1a120d, #120d0a);
  padding: 28px 24px;
  font-family: Merriweather, serif;
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b9aa96;
  border-top: 1px solid #2a1b12;
}
.tagline-banner span { color: var(--red-bright); }

/* ── Footer ── */
footer {
  background: #090706;
  padding: 44px 6% 22px;
  border-top: 1px solid #221810;
}
.footer-grid {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 200px repeat(3, 1fr);
  gap: 36px;
}
.footer-logo {
  height: 100px;
  width: auto;
  max-width: none;
  object-fit: contain;
}
footer h4 {
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #e7d4b8;
  margin: 0 0 14px;
  font-size: 13px;
}
footer a, footer p {
  display: block;
  color: #b9a88c;
  font-size: 13px;
  line-height: 1.8;
  margin: 0;
  transition: color 0.2s;
}
footer a:hover { color: var(--gold); }
.copy {
  text-align: center;
  color: #7a6b5a;
  margin-top: 36px;
  font-size: 12px;
  padding-top: 18px;
  border-top: 1px solid #221810;
}

.site-legal {
  padding: 22px 6%;
}
.site-legal .policy-nav {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.site-legal .policy-nav a {
  display: inline;
}

.policy-doc h2 {
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #e7d4b8;
  font-size: 16px;
  margin: 28px 0 8px;
}
.policy-doc p,
.policy-doc li {
  color: #d9cbb8;
  line-height: 1.7;
  max-width: 760px;
}
.policy-doc a {
  color: var(--gold);
}
.policy-doc__id {
  font-family: Oswald, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.checkout-policies {
  margin: 8px 0 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.checkout-policies__links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 10px 0 0;
}
.checkout-policies__links a {
  color: var(--gold);
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .utility { display: none; }
  .site-header {
    position: relative;
    top: 0;
    background: transparent;
    padding: 14px 24px 12px;
    border-bottom: none;
  }
  .site-header a:first-child {
    padding-top: 2px;
  }
  .nav { display: none; }
  .hero { padding: 80px 24px 110px; min-height: auto; }
  .trust-strip {
    margin: 0;
    border-radius: 0;
    grid-template-columns: 1fr 1fr;
  }
  .trust-item { border-bottom: 1px solid var(--line); padding: 20px 24px; }
  .trust-item:nth-child(2) { border-right: 0; }
  .vision-grid { grid-template-columns: 1fr; gap: 36px; }
  .values { grid-template-columns: 1fr 1fr; }
  .value { border-bottom: 1px solid var(--line); padding: 20px; }
  .value:nth-child(2n) { border-right: 0; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .ratings { grid-template-columns: 1fr 1fr; }
  .rating { border-bottom: 1px solid var(--line); padding: 24px; }
  .rating:nth-child(2n) { border-right: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .trust-strip, .values, .category-grid, .ratings, .footer-grid {
    grid-template-columns: 1fr;
  }
  .trust-item, .value, .rating { border-right: 0; }
  .cat { height: 180px; }
  .buttons { flex-direction: column; }
  .site-header { padding: 10px 24px; min-height: 88px; }
  .brand { height: 84px; }
  .footer-logo { height: 80px; }
}

/* ── Auth & dashboard pages ── */
.auth-page,
.dashboard-page {
  min-height: 100vh;
  background: #0b0908;
  color: #e8dcc8;
  padding: 48px 24px;
}

.auth-panel {
  max-width: 420px;
  margin: 0 auto;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(14, 11, 9, 0.92);
}

.auth-panel h1,
.auth-panel h2,
.dashboard-header h1 {
  font-family: Merriweather, serif;
  margin: 0 0 16px;
  font-size: 24px;
}

.auth-panel__hint {
  margin-top: 20px;
  font-size: 14px;
  color: #cbb99d;
}

.auth-panel__hint a,
.dashboard-actions a {
  color: var(--gold);
}

.auth-success {
  color: #8fd48f;
  margin-bottom: 20px;
}

.auth-error {
  color: #f08080;
  margin: 12px 0;
}

.form-field {
  margin-bottom: 16px;
}

.form-field--checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-field--checkbox label {
  margin-bottom: 0;
  text-transform: none;
  font-family: Inter, sans-serif;
  font-size: 14px;
  letter-spacing: normal;
}

.form-field label {
  display: block;
  margin-bottom: 6px;
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
}

.form-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: #15110d;
  color: #e8dcc8;
  font-size: 14px;
}

.dashboard-page {
  max-width: 960px;
  margin: 0 auto;
}

.dashboard-header p {
  color: #cbb99d;
  margin: 0 0 24px;
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.stat-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(14, 11, 9, 0.92);
}

.stat-label {
  display: block;
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  color: #cbb99d;
  margin-bottom: 8px;
}

.stat-value {
  font-family: Merriweather, serif;
  font-size: 22px;
  color: var(--gold);
}

.profile-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(14, 11, 9, 0.92);
  margin-bottom: 16px;
}

.profile-card p {
  margin: 0 0 8px;
}

.dashboard-note {
  color: #8fd48f;
  font-size: 14px;
  margin-bottom: 24px;
}

.dashboard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.app-shell__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: #0b0908;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.app-shell--cart .app-shell__brand {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.app-shell--cart .app-shell__header {
  justify-content: flex-end;
  border-bottom: 0;
  background: transparent;
  padding-bottom: 0;
}

.app-shell__brand {
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-size: 14px;
}

.app-shell__nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.app-shell__nav a {
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  color: #e8dcc8;
}

.app-shell__nav a:hover {
  color: var(--gold);
}

.app-shell__cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-right: 10px;
}

.app-shell__cart-link .cart-badge {
  right: -6px;
  top: -10px;
}

.header-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  line-height: 0;
  padding: 0;
  min-width: 20px;
  min-height: 20px;
}

.header-icon-link svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.header-auth-link {
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 13px;
  line-height: 1;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
}

.header-user-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.header-user-menu__toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #fff;
  transition: color 0.2s;
}

.header-user-menu__toggle:hover,
.header-user-menu.is-open .header-user-menu__toggle {
  color: var(--gold);
}

.header-user-menu__backdrop {
  position: fixed;
  inset: 0;
  z-index: 35;
}

.header-user-menu__panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  left: auto;
  width: 148px;
  padding: 0;
  margin: 0;
  background: #120f0c;
  border: 1px solid rgba(196, 144, 88, 0.45);
  border-radius: 3px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.55);
  z-index: 40;
  overflow: hidden;
}

.header-user-menu__item {
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  height: 42px;
  margin: 0;
  padding: 0 16px;
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  color: var(--gold);
  border: 0;
  background: transparent;
  transition: color 0.15s, background 0.15s;
}

.header-user-menu__item + .header-user-menu__item {
  border-top: 1px solid rgba(196, 144, 88, 0.28);
}

.header-user-menu__item:hover {
  color: #fff;
  background: rgba(196, 144, 88, 0.12);
}

.header-user-menu__profile {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(196, 144, 88, 0.28);
}

.header-user-menu__profile .header-user-profile {
  align-items: center;
  padding: 0;
  text-align: center;
}

.header-user-profile {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  line-height: 1.25;
}

.header-user-profile__name {
  font-size: 12px;
  color: var(--cream);
  font-weight: 500;
}

.header-user-profile__role {
  font-size: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: Oswald, sans-serif;
}

/* ── Storefront pages ── */
.store-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.store-header h1 {
  font-family: Merriweather, serif;
  color: var(--gold);
  margin: 0 0 8px;
}

.store-header p {
  color: #cbb99d;
  margin: 0 0 24px;
}

.store-loading,
.store-empty {
  color: #cbb99d;
  margin: 24px 0;
}

.store-error {
  margin: 12px 0;
}

.store-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
}

.shop-process {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.shop-rail {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(14, 11, 9, 0.92);
}

.store-filters > .shop-rail {
  margin-bottom: 20px;
  padding: 0 0 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.shop-rail__logo {
  display: block;
}

.shop-rail__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.cart-rail .shop-rail__logo img {
  max-height: 96px;
  width: auto;
  max-width: 100%;
}

.shop-rail__nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
}

.shop-rail__nav a {
  color: var(--cream);
  text-decoration: none;
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  padding: 8px 10px;
  border-radius: 4px;
}

.shop-rail__nav a.active,
.shop-rail__nav a:hover {
  color: var(--gold);
  background: rgba(196, 144, 88, 0.12);
}

.cart-page.store-page {
  max-width: 1280px;
  padding-top: 8px;
}

.cart-rail {
  padding: 8px 8px 20px;
  border: 0;
  background: transparent;
}

.cart-rail__label {
  margin: 22px 0 8px;
  font-family: Oswald, sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
  color: #8a7968;
}

.cart-rail__nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: none;
  letter-spacing: 0;
  font-family: inherit;
  font-size: 14px;
  color: #e8dcc8;
  padding: 10px 12px;
}

.cart-rail__nav a svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  flex: 0 0 16px;
}

.cart-rail__nav a.active {
  color: var(--gold);
  background: #3a2a18;
}

.cart-rail__featured {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-rail__feature {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--cream);
  text-decoration: none;
}

.cart-rail__thumb {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border-radius: 4px;
  overflow: hidden;
  background: #1a1512;
  border: 1px solid var(--line);
}

.cart-rail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-rail__feature-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cart-rail__feature-copy strong {
  font-size: 13px;
  font-weight: 600;
}

.cart-rail__feature-copy em {
  font-style: normal;
  font-size: 12px;
  color: #cbb99d;
}

.cart-rail__feature:hover .cart-rail__feature-copy em {
  color: var(--gold);
}

.cart-rail__explore {
  display: inline-block;
  margin-top: 16px;
  color: #cbb99d;
  font-size: 13px;
}

.cart-rail__explore:hover {
  color: var(--gold);
}

.checkout-layout,
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
}

.cart-page .cart-layout {
  grid-template-columns: minmax(0, 1fr) 340px;
  align-items: start;
}

.store-filters,
.cart-summary,
.confirmation-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(14, 11, 9, 0.92);
}

.store-filters h2,
.cart-summary h2 {
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  color: var(--gold);
  margin: 0 0 16px;
}

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

.product-card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(14, 11, 9, 0.92);
  transition: border-color 0.2s;
}

.product-card:hover {
  border-color: var(--gold);
}

.product-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #1a1512;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  color: #7a6a58;
  font-size: 13px;
}

.product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  text-transform: uppercase;
}

.product-card__body {
  padding: 16px;
}

.product-card__body h3 {
  font-family: Merriweather, serif;
  font-size: 16px;
  margin: 0 0 8px;
  color: var(--cream);
}

.product-card__desc {
  font-size: 13px;
  color: #b9a88d;
  margin: 0 0 12px;
  line-height: 1.4;
}

.product-card__price {
  font-weight: 700;
  color: var(--gold);
}

.product-card__sale {
  color: var(--red-bright);
  margin-right: 8px;
}

.product-card__original {
  text-decoration: line-through;
  color: #8a7968;
  font-weight: 400;
}

.product-card__rating {
  font-size: 12px;
  color: #b9a88d;
  margin: 8px 0 0;
}

.store-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
  color: #cbb99d;
}

.store-count {
  color: #b9a88d;
  margin: 0 0 20px;
}

.featured-products.home-featured {
  padding: 48px;
  background: #0d0b09;
}

.home-featured .section-head {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 14px;
}

.home-featured .section-head h2::after {
  margin-left: auto;
  margin-right: auto;
}

.home-featured .viewall {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid var(--gold);
  border-radius: 3px;
  background: rgba(196, 144, 88, 0.12);
  color: var(--cream);
  font-size: 14px;
  font-weight: 600;
}

.home-featured .viewall:hover {
  color: #fff;
  background: linear-gradient(180deg, #d13a31, #a51f1a);
  border-color: #c03028;
}

.home-featured .product-grid {
  max-width: 1140px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
  justify-content: center;
}

.featured-products h2,
.home-featured .section-head h2 {
  font-family: Merriweather, serif;
  color: var(--cream);
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.product-detail__main-image {
  width: 100%;
  border-radius: 4px;
  border: 1px solid var(--line);
}

.product-detail__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.product-detail__thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: none;
}

.product-detail__thumb.active {
  border-color: var(--gold);
}

.product-detail__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail__category {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 11px;
  color: var(--gold);
}

.product-detail__info h1 {
  font-family: Merriweather, serif;
  color: var(--cream);
}

.product-detail__desc {
  line-height: 1.6;
  color: #cbb99d;
}

.product-detail__back {
  margin-bottom: 20px;
}

.product-detail__sold {
  margin: 0 0 12px;
  color: #e07a5f;
  font-family: Oswald, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-detail__stock {
  margin: 0 0 12px;
  color: #cbb99d;
}

.order-line {
  display: grid;
  gap: 4px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.order-line__desc,
.order-line__meta {
  margin: 0;
}

.order-line__desc {
  color: var(--cream);
}

.order-line__meta {
  color: #cbb99d;
  font-size: 13px;
}

.product-detail__actions {
  display: flex;
  align-items: end;
  gap: 12px;
  margin-top: 24px;
}

.product-detail__qty {
  width: 80px;
}

.product-reviews {
  margin-top: 48px;
}

.review-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 4px;
  margin-bottom: 12px;
  background: rgba(14, 11, 9, 0.92);
}

.review-card__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item__sku {
  font-size: 12px;
  color: #8a7968;
}

.cart-item__actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cart-item__qty {
  width: 72px;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  color: #cbb99d;
}

.cart-summary__row--save {
  color: #7dce8a;
}

.cart-summary__muted {
  color: #8a7968;
  font-size: 13px;
}

.cart-summary__total {
  font-weight: 700;
  color: var(--gold);
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 12px;
}

.cart-page .cart-summary__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  margin-top: 12px;
}

.cart-page .cart-summary__total span {
  font-family: Oswald, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 500;
}

.cart-page .cart-summary__total strong {
  font-family: Merriweather, serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
}

.cart-page .cart-summary h2 {
  font-family: Merriweather, serif;
  text-transform: none;
  letter-spacing: 0;
  font-size: 28px;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 18px;
}

.cart-page .cart-summary__total span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-transform: none;
  letter-spacing: 0;
  font-family: inherit;
  font-size: 15px;
  color: var(--cream);
}

.cart-page .cart-summary__total small {
  font-size: 12px;
  font-weight: 400;
  color: #8a7968;
}

.cart-save-banner {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 8px 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(90, 160, 100, 0.45);
  border-radius: 6px;
  background: rgba(28, 72, 42, 0.55);
  color: #8fd48f;
  font-size: 13px;
  line-height: 1.4;
}

.cart-save-banner svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  margin-top: 2px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.cart-summary__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.cart-summary__actions .btn {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.cart-coupon {
  margin-top: 20px;
}

.cart-coupon__toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 0;
  border: 0;
  background: none;
  color: var(--cream);
  font-size: 14px;
  cursor: pointer;
}

.cart-coupon__toggle:hover {
  color: var(--gold);
}

.cart-coupon__row {
  display: flex;
  gap: 8px;
}

.cart-coupon__applied {
  font-size: 12px;
  color: #8fd48f;
}

.cart-breadcrumb {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: #8a7968;
  margin-bottom: 18px;
}

.cart-breadcrumb a {
  color: #cbb99d;
}

.cart-breadcrumb a:hover {
  color: var(--gold);
}

.cart-page__header h1 {
  font-family: Merriweather, serif;
  color: var(--cream);
  font-size: 40px;
  margin: 0 0 8px;
}

.cart-page__header p {
  color: #cbb99d;
  margin: 0 0 28px;
}

.cart-stepper {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  color: #8a7968;
}

.cart-stepper__step {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-stepper__index {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
}

.cart-stepper__label {
  font-family: Oswald, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}

.cart-stepper__step.is-active {
  color: var(--gold);
}

.cart-stepper__step.is-active .cart-stepper__index {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a120c;
}

.cart-stepper__rule {
  flex: 1;
  height: 1px;
  background: var(--line);
  max-width: 80px;
}

.cart-stepper__rule.is-complete {
  background: var(--gold);
}

.cart-empty {
  padding: 8px 0 32px;
}

.cart-main {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.cart-items-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(14, 11, 9, 0.92);
  padding: 8px 20px 8px;
}

.cart-items-panel__head {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 96px 108px 76px;
  gap: 12px;
  align-items: center;
  padding: 12px 0 8px;
  border-bottom: 1px solid rgba(196, 144, 88, 0.18);
}

.cart-items-panel__head > span {
  text-align: right;
  color: #8a7968;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cart-items-panel__head h2 {
  margin: 0;
  font-family: Oswald, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 13px;
  color: var(--cream);
}

.cart-items-panel__cols {
  display: grid;
  grid-template-columns: 90px 110px 80px;
  gap: 12px;
  color: #8a7968;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: right;
}

.cart-line {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 96px 108px 76px;
  grid-template-areas:
    "product price qty total"
    "product actions actions actions";
  gap: 8px 12px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(196, 144, 88, 0.14);
}

.cart-line:last-child {
  border-bottom: 0;
}

.cart-line__product {
  grid-area: product;
  display: flex;
  gap: 16px;
  min-width: 0;
}

.cart-line__image {
  width: 88px;
  height: 72px;
  flex: 0 0 88px;
  border-radius: 4px;
  overflow: hidden;
  background: #1a1512;
  border: 1px solid var(--line);
}

.cart-line__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line__placeholder {
  display: grid;
  place-items: center;
  height: 100%;
  color: #7a6a58;
  font-size: 11px;
}

.cart-line__info h3 {
  margin: 0 0 4px;
  font-family: Merriweather, serif;
  font-size: 18px;
  color: var(--cream);
}

.cart-line__info h3 a {
  color: inherit;
}

.cart-line__info h3 a:hover {
  color: var(--gold);
}

.cart-line__desc,
.cart-line__sku {
  margin: 0;
  font-size: 13px;
  color: #8a7968;
}

.cart-line__sku {
  white-space: nowrap;
}

.cart-line__stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
  font-size: 13px;
}

.cart-line__stock.is-in {
  color: #7dce8a;
}

.cart-line__stock.is-out {
  color: #8a7968;
}

.cart-line__stock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.cart-line__price {
  grid-area: price;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.cart-line__unit {
  font-weight: 700;
  color: var(--cream);
}

.cart-line__unit.is-sale {
  color: var(--red-bright);
}

.cart-line__original {
  text-decoration: line-through;
  color: #8a7968;
  font-size: 12px;
}

.cart-line__save {
  color: #7dce8a;
  font-size: 12px;
}

.cart-line__qty {
  grid-area: qty;
  display: inline-flex;
  align-items: center;
  justify-self: end;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #15110d;
  overflow: hidden;
}

.cart-qty__btn {
  width: 32px;
  height: 36px;
  border: 0;
  background: none;
  color: var(--cream);
  cursor: pointer;
  font-size: 16px;
}

.cart-qty__btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.cart-qty__value {
  min-width: 28px;
  text-align: center;
  font-weight: 600;
  color: var(--cream);
}

.cart-line__total {
  grid-area: total;
  text-align: right;
  font-size: 18px;
  font-weight: 700;
  color: var(--cream);
}

.cart-line__actions {
  grid-area: actions;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

.cart-link {
  border: 0;
  background: none;
  padding: 0;
  color: #cbb99d;
  font-size: 13px;
  cursor: pointer;
}

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

.cart-link--danger {
  color: var(--red-bright);
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.cart-link--danger:hover {
  color: #ff6a61;
}

.cart-continue {
  color: #cbb99d;
  font-size: 14px;
}

.cart-continue:hover {
  color: var(--gold);
}

.cart-help {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(14, 11, 9, 0.72);
}

.cart-help__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold);
  flex: 0 0 36px;
}

.cart-help__icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.cart-help h3 {
  margin: 0 0 4px;
  font-size: 15px;
  color: var(--cream);
}

.cart-help p {
  margin: 0;
  color: #cbb99d;
  font-size: 13px;
}

.cart-help a {
  color: var(--gold);
}

.cart-saved-note {
  color: #7dce8a;
  font-size: 13px;
  margin: 12px 0 0;
}

.cart-saved-note a {
  color: var(--gold);
}

.cart-checkout-btn {
  letter-spacing: 0.1em;
}

.cart-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 16px 0 10px;
  color: #8a7968;
  font-size: 12px;
}

.cart-secure svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
}

.cart-pay-marks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 18px;
}

.cart-pay-marks span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 22px;
  border-radius: 3px;
  padding: 0 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: #fff;
  color: #1a1a1a;
}

.pay-visa { color: #1a1f71; }
.pay-amex { color: #2e77bc; font-size: 8px; }
.pay-disc { color: #f76b1c; font-size: 7px; }
.pay-apple { background: #111; color: #fff; }
.pay-gpay { color: #5f6368; }
.pay-mc {
  gap: 0;
  background: #fff;
}
.pay-mc i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: block;
}
.pay-mc i:first-child { background: #eb001b; }
.pay-mc i:last-child { background: #f79e1b; margin-left: -4px; }

.cart-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  list-style: none;
  padding: 16px 0 0;
  margin: 0;
  border-top: 1px solid rgba(196, 144, 88, 0.18);
}

.cart-trust li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  color: #8a7968;
  font-size: 11px;
  line-height: 1.3;
}

.cart-trust svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.checkout-form h2 {
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  color: var(--gold);
  margin: 24px 0 12px;
}

.address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkout-same {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
  color: #cbb99d;
}

.shipping-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.shipping-option {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cbb99d;
}

.confirmation-card p {
  margin: 0 0 8px;
}

/* ── Admin pages ── */
.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.admin-nav a {
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  color: #cbb99d;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.admin-nav a.active,
.admin-nav a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}

.admin-toolbar__search {
  min-width: 220px;
  flex: 1;
}

.admin-section {
  margin: 32px 0;
}

.admin-section__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.admin-section h2 {
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
  color: var(--gold);
  margin: 0;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 16px;
}

.admin-table th,
.admin-table td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  color: #e8dcc8;
  font-size: 14px;
}

.admin-table th {
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  color: var(--gold);
}

.admin-table a {
  color: var(--gold);
}

.admin-table__row--warning {
  background: rgba(185, 43, 36, 0.08);
}

.admin-muted {
  color: #8a7968;
  font-size: 13px;
}

.admin-form {
  max-width: 760px;
}

.admin-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.admin-image-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 10px;
  background: rgba(14, 11, 9, 0.92);
}

.admin-image-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 4px;
}

.admin-image-card p {
  font-size: 12px;
  margin: 8px 0;
  color: #cbb99d;
}

.address-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.address-card .dashboard-actions {
  margin-top: 12px;
}

.wishlist-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wishlist-item__remove {
  align-self: flex-start;
}

@media (max-width: 900px) {
  .store-layout,
  .shop-process,
  .checkout-layout,
  .cart-layout,
  .cart-page .cart-layout,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .address-grid {
    grid-template-columns: 1fr;
  }

  .cart-items-panel__cols,
  .cart-items-panel__head > span {
    display: none;
  }

  .cart-items-panel__head {
    grid-template-columns: 1fr;
  }

  .cart-line {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "product product"
      "price total"
      "qty actions";
  }

  .cart-line__price,
  .cart-line__qty {
    justify-self: start;
    align-items: flex-start;
  }

  .cart-trust {
    grid-template-columns: 1fr;
  }

  .cart-page__header h1 {
    font-size: 30px;
  }
}

/* ── Admin dashboard shell ── */
.admin-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  background: #0f0d0b;
  color: #e8dcc8;
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  background: #12100e;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 16px;
}

.admin-sidebar__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
  padding: 0 8px;
}

.admin-sidebar__brand img {
  height: 42px;
  width: auto;
}

.admin-sidebar__brand span {
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--gold);
}

.admin-sidebar__section {
  margin: 18px 8px 8px;
  font-family: Oswald, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  color: #7f7262;
}

.admin-sidebar__nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 4px;
  font-size: 14px;
  color: #f3eee6;
}

.admin-sidebar__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.admin-sidebar__nav a:hover,
.admin-sidebar__nav a.active {
  background: rgba(122, 48, 38, 0.72);
  color: #fff;
}

.admin-sidebar__footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-sidebar__user {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.admin-sidebar__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: Oswald, sans-serif;
  font-size: 13px;
}

.admin-sidebar__user strong {
  display: block;
  font-size: 13px;
}

.admin-sidebar__user span {
  font-size: 11px;
  color: #9a8870;
  text-transform: uppercase;
}

.admin-sidebar__store-link,
.admin-sidebar__logout {
  display: block;
  font-size: 12px;
  color: var(--gold);
  padding: 6px 8px;
}

.admin-main {
  min-width: 0;
  overflow-x: hidden;
}

.admin-page {
  padding: 24px 28px 40px;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-topbar h1 {
  margin: 0 0 6px;
  font-family: Merriweather, serif;
  font-size: 28px;
  color: #fff;
}

.admin-topbar p {
  margin: 0;
  color: #9a8870;
}

.admin-topbar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
}

.admin-date-range {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #9a8870;
}

.admin-date-range .form-input {
  width: 150px;
}

.admin-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.admin-kpi {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: 8px;
  background: #171411;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-kpi__icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(185, 43, 36, 0.18);
  color: var(--red-bright);
  display: grid;
  place-items: center;
  font-family: Oswald, sans-serif;
  font-size: 12px;
}

.admin-kpi span {
  display: block;
  font-size: 12px;
  color: #9a8870;
  margin-bottom: 4px;
}

.admin-kpi strong {
  display: block;
  font-size: 22px;
  color: #fff;
}

.admin-kpi small {
  display: block;
  margin-top: 6px;
  font-size: 11px;
}

.change-up { color: #8fd48f; }
.change-down { color: #f08080; }

.admin-grid {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

.admin-grid--charts {
  grid-template-columns: 1.4fr 1fr 0.9fr;
}

.admin-grid--bottom {
  grid-template-columns: 1.6fr 0.8fr 0.9fr;
}

.admin-panel {
  background: #171411;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 18px;
}

.admin-panel--wide {
  grid-column: span 1;
}

.admin-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.admin-panel__head h2 {
  margin: 0;
  font-size: 16px;
  color: #fff;
}

.admin-panel__legend {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: #9a8870;
}

.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

.dot--sales { background: var(--red-bright); }
.dot--orders { background: var(--gold); }

.admin-chart {
  width: 100%;
  height: 220px;
}

.admin-chart__grid-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

.admin-chart__line {
  fill: none;
  stroke-width: 2.5;
}

.admin-chart__line--sales { stroke: var(--red-bright); }
.admin-chart__line--orders { stroke: var(--gold); }

.admin-chart__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  color: #7f7262;
}

.admin-donut {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: center;
}

.admin-donut__wrap {
  position: relative;
  width: 140px;
  height: 140px;
}

.admin-donut__ring {
  width: 140px;
  height: 140px;
  border-radius: 50%;
}

.admin-donut__center {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
}

.admin-donut__center strong {
  display: block;
  font-size: 16px;
}

.admin-donut__center span {
  font-size: 11px;
  color: #9a8870;
}

.admin-donut__legend {
  list-style: none;
  margin: 0;
  padding: 0;
}

.admin-donut__legend li {
  display: grid;
  grid-template-columns: 12px 1fr auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  font-size: 12px;
}

.admin-donut__swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.admin-order-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.admin-order-list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-order-list li:last-child {
  border-bottom: none;
}

.admin-order-list a {
  color: #fff;
  font-weight: 600;
}

.admin-order-list small {
  display: block;
  color: #7f7262;
  margin-top: 2px;
}

.status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.08);
}

.status-badge--success { background: rgba(143, 212, 143, 0.18); color: #8fd48f; }
.status-badge--info { background: rgba(196, 144, 88, 0.18); color: var(--gold); }
.status-badge--warning { background: rgba(255, 193, 7, 0.18); color: #ffc107; }
.status-badge--danger { background: rgba(240, 128, 128, 0.18); color: #f08080; }

.admin-table--products img,
.admin-table__thumb {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 6px;
}

.admin-product-cell {
  display: flex;
  gap: 10px;
  align-items: center;
}

.admin-product-cell small {
  display: block;
  color: #7f7262;
}

.admin-stat-list {
  display: grid;
  gap: 14px;
}

.admin-stat-list div {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-stat-list span {
  display: block;
  font-size: 12px;
  color: #9a8870;
}

.admin-stat-list strong {
  font-size: 24px;
  color: #fff;
}

.admin-stat-list small {
  color: #7f7262;
}

.admin-activity {
  list-style: none;
  margin: 0;
  padding: 0;
}

.admin-activity li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-activity__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(185, 43, 36, 0.18);
  flex-shrink: 0;
}

.admin-activity__icon--customer { background: rgba(196, 144, 88, 0.18); }
.admin-activity__icon--inventory { background: rgba(255, 193, 7, 0.18); }

.admin-activity p {
  margin: 2px 0;
  color: #cbb99d;
  font-size: 13px;
}

.admin-activity small {
  color: #7f7262;
}

.admin-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.58);
  z-index: 80;
}

.admin-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(580px, 100vw);
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #12100e;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.45);
  z-index: 90;
  animation: admin-drawer-in 0.22s ease-out;
}

.admin-drawer__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-drawer__header h2 {
  margin: 0 0 6px;
  font-family: Merriweather, serif;
  font-size: 24px;
  color: #fff;
}

.admin-drawer__header p {
  margin: 0;
  color: #9a8870;
  font-size: 13px;
}

.admin-drawer__close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: #cbb99d;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.admin-drawer__close:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.admin-drawer__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 20px 24px 28px;
  scrollbar-width: thin;
  scrollbar-color: #3f362e #12100e;
}

.admin-drawer__body::-webkit-scrollbar {
  width: 8px;
}

.admin-drawer__body::-webkit-scrollbar-track {
  background: #12100e;
}

.admin-drawer__body::-webkit-scrollbar-thumb {
  background: #3f362e;
  border-radius: 8px;
  border: 2px solid #12100e;
}

.admin-drawer__body::-webkit-scrollbar-thumb:hover {
  background: #5a4e42;
}

.admin-drawer__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 16px 24px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #12100e;
}

.admin-drawer__footer .btn {
  padding: 12px 20px;
}

.admin-form--drawer {
  max-width: none;
}

.admin-form--drawer .admin-section {
  margin: 20px 0 8px;
}

.admin-form--drawer .admin-image-grid {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.admin-form--drawer .address-grid {
  grid-template-columns: 1fr 1fr;
}

.admin-wizard {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin: 0 0 20px;
}

.admin-wizard__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: #7f7262;
  cursor: pointer;
}

.admin-wizard__step:disabled {
  cursor: default;
}

.admin-wizard__index {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: Oswald, sans-serif;
  font-size: 11px;
  border: 1px solid #3f362e;
  background: #171411;
}

.admin-wizard__label {
  font-family: Oswald, sans-serif;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}

.admin-wizard__step.is-done .admin-wizard__index,
.admin-wizard__step.is-current .admin-wizard__index {
  border-color: var(--red);
  background: rgba(185, 43, 36, 0.18);
  color: #fff;
}

.admin-wizard__step.is-current {
  color: #e8dcc8;
}

.admin-wizard__step.is-done {
  color: #cbb99d;
}

.admin-review {
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
}

.admin-review > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.admin-review dt {
  margin: 0;
  font-family: Oswald, sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9a8870;
}

.admin-review dd {
  margin: 0;
  color: #e8dcc8;
}

.admin-table__link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--gold);
  font: inherit;
  cursor: pointer;
}

.admin-table__link:hover {
  text-decoration: underline;
}

.admin-table__row-link {
  cursor: pointer;
}

@keyframes admin-drawer-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@media (max-width: 1200px) {
  .admin-kpis,
  .admin-grid--charts,
  .admin-grid--bottom {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: sticky;
    top: 0;
    z-index: 30;
  }

  .admin-kpis,
  .admin-grid--charts,
  .admin-grid--bottom {
    grid-template-columns: 1fr;
  }

  .admin-topbar {
    flex-direction: column;
  }
}

.admin-main:has(.pl-workspace),
.admin-main:has(.admin-page--light) {
  background: #f3f1ee;
}

.admin-page--light {
  background: #f3f1ee;
  color: #2c2622;
  min-height: 100%;
}

.admin-page--light .admin-topbar h1 {
  color: #1f1b18;
}

.admin-page--light .admin-topbar p {
  color: #7a7168;
}

.admin-page--light .admin-section-title {
  color: #1f1b18;
}

.admin-page--light .store-empty {
  color: #7a7168;
}

.admin-page--light .admin-table th,
.admin-page--light .admin-table td {
  color: #2c2622;
  border-bottom-color: #e6e0d8;
}

.admin-page--light .admin-table th {
  color: #8a5a12;
}

.admin-page--light .admin-table a,
.admin-page--light .admin-table__link {
  color: #b92b24;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.admin-page--light .form-field label {
  color: #6b6258;
}

.admin-page--light .form-input {
  background: #fff;
  color: #1f1b18;
  border-color: #e6e0d8;
}

.admin-page--light .admin-section h2 {
  color: #8a5a12;
}

.admin-page--light .checkout-same,
.admin-page--light .admin-muted,
.admin-page--light .wh-permissions {
  color: #7a7168;
}

.admin-page--light .wh-tree-panel,
.admin-page--light .wh-editor-panel {
  background: #fff;
  border-color: #e6e0d8;
}

.admin-page--light .wh-node__select {
  color: #2c2622;
  background: #faf8f5;
  border-color: #e6e0d8;
}

.admin-page--light .wh-node.is-selected .wh-node__select {
  background: #f8ece8;
  border-color: #e2cfc8;
}

.admin-page--light .wh-node__select code {
  color: #6b6258;
}

.admin-page--light .wh-node__add {
  color: #b92b24;
  background: #fff;
  border-color: #b92b24;
}

.admin-page--light .wh-node__add:hover {
  background: #f8ece8;
}

.admin-page--light .wh-preview strong {
  color: #1f1b18;
}

.pl-workspace {
  min-height: 100vh;
  background: #f3f1ee;
  color: #2c2622;
  display: flex;
  flex-direction: column;
}

.pl-page {
  flex: 1;
  padding: 28px 32px 24px;
}

.pl-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #7a7168;
  margin-bottom: 18px;
}

.pl-breadcrumb a { color: #7a7168; }
.pl-breadcrumb a:hover { color: #b92b24; }
.pl-breadcrumb strong { color: #3d3630; font-weight: 600; }

.pl-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.pl-header h1 {
  margin: 0;
  font-family: Merriweather, Georgia, serif;
  font-size: 36px;
  color: #1f1b18;
}

.pl-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pl-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #efe7dc;
  color: #6b6258;
  font-size: 12px;
  font-weight: 600;
}

.pl-card--stepper {
  padding: 18px 28px 14px;
  margin-bottom: 24px;
}

.pl-card--stepper .pl-stepper {
  margin: 0;
  padding-bottom: 0;
}

.pl-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 28px;
  padding-bottom: 8px;
}

.pl-stepper__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  color: #8a8278;
  min-width: 88px;
  cursor: pointer;
}

.pl-stepper__step:disabled { cursor: default; }

.pl-stepper__index {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid #d7d0c7;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}

.pl-stepper__index svg { width: 14px; height: 14px; }

.pl-stepper__step.is-done .pl-stepper__index {
  background: #2f8f5b;
  border-color: #2f8f5b;
  color: #fff;
}

.pl-stepper__step.is-current .pl-stepper__index {
  background: #b92b24;
  border-color: #b92b24;
  color: #fff;
}

.pl-stepper__label {
  font-size: 12px;
  font-weight: 600;
}

.pl-stepper__step.is-current .pl-stepper__label { color: #b92b24; }
.pl-stepper__step.is-done .pl-stepper__label { color: #3d3630; }

.pl-stepper__rule {
  flex: 1;
  height: 2px;
  background: #ddd6cd;
  margin-bottom: 22px;
}

.pl-stepper__rule.is-done { background: #2f8f5b; }

.pl-card {
  background: #fff;
  border: 1px solid #e6e0d8;
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 1px 2px rgba(31, 27, 24, 0.04);
  margin-bottom: 16px;
}

.pl-card h2,
.pl-card h3,
.pl-review__main > h2 {
  margin: 0 0 16px;
  font-family: Merriweather, Georgia, serif;
  font-size: 22px;
  color: #1f1b18;
}

.pl-card__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.pl-card__head h3 { margin: 0; }

.pl-form-grid,
.pl-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pl-form-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.pl-form-grid label,
.pl-card label {
  display: grid;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #6b6258;
}

.pl-input,
.pl-workspace .form-input {
  width: 100%;
  border: 1px solid #d8d1c8;
  border-radius: 8px;
  padding: 10px 12px;
  background: #fff;
  color: #1f1b18;
  font: inherit;
}

.pl-input:disabled { background: #f7f4f0; color: #3d3630; }

.pl-input--qty { width: 72px; }
.pl-input--money { width: 110px; }

.pl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 10px 16px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.pl-btn:disabled { opacity: 0.55; cursor: default; }

.pl-btn--primary {
  background: #b92b24;
  color: #fff;
}

.pl-btn--secondary {
  background: #fff;
  color: #3d3630;
  border-color: #d8d1c8;
}

.pl-btn--ghost {
  background: transparent;
  color: #3d3630;
  border-color: #d8d1c8;
}

.pl-link {
  background: none;
  border: 0;
  color: #b92b24;
  font: inherit;
  cursor: pointer;
  padding: 0;
}

.pl-muted { color: #7a7168; font-size: 13px; }

.pl-search {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.pl-search-results {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  border: 1px solid #e6e0d8;
  border-radius: 8px;
  overflow: hidden;
}

.pl-search-results__item {
  width: 100%;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border: 0;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.pl-search-results__item:hover { background: #f7f4f0; }
.pl-search-results__item img,
.pl-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
}
.pl-thumb--empty { background: #ece7e0; display: inline-block; }
.pl-search-results__item small { display: block; color: #7a7168; }

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

.pl-table th,
.pl-table td {
  text-align: left;
  padding: 12px 8px;
  border-bottom: 1px solid #eee8e0;
  font-size: 14px;
  vertical-align: middle;
}

.pl-table th {
  color: #7a7168;
  font-size: 12px;
  font-weight: 600;
}

.pl-table__footer {
  margin: 12px 0 0;
  color: #7a7168;
  font-size: 13px;
}

.pl-product-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pl-product-cell img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: cover;
}

.pl-layout,
.pl-review {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
}

.pl-review__main > h2 {
  margin: 0 0 16px;
}

.pl-cost {
  display: grid;
  gap: 10px;
  margin: 0 0 16px;
}

.pl-cost div {
  display: flex;
  justify-content: space-between;
  color: #5c554d;
}

.pl-cost dt { font-weight: 500; }
.pl-cost dd { margin: 0; }

.pl-cost__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 12px;
  border-top: 1px solid #eee8e0;
  margin-bottom: 8px;
}

.pl-cost__total strong {
  color: #b92b24;
  font-size: 28px;
  font-family: Merriweather, Georgia, serif;
}

.pl-route {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.pl-route li {
  display: flex;
  gap: 12px;
  color: #7a7168;
}

.pl-route__dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e6e0d8;
  color: #5c554d;
  font-size: 11px;
  font-weight: 700;
  flex: none;
}

.pl-route .is-current { color: #1f1b18; }
.pl-route .is-current .pl-route__dot { background: #b92b24; color: #fff; }
.pl-route .is-done .pl-route__dot { background: #2f8f5b; color: #fff; }
.pl-route small { display: block; font-size: 12px; color: #8a8278; }

.pl-files {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pl-file {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 220px;
  padding: 10px 12px;
  border: 1px solid #e6e0d8;
  border-radius: 10px;
  background: #faf8f5;
}

.pl-file__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  background: #6b6258;
}

.pl-file__icon.is-pdf { background: #b92b24; }
.pl-file__icon.is-sheet { background: #2f8f5b; }

.pl-file small { display: block; color: #7a7168; }

.pl-file--upload {
  cursor: pointer;
  border-style: dashed;
  justify-content: center;
  color: #5c554d;
}

.pl-file--upload input { display: none; }

.pl-alert {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff4e5;
  color: #6a4b16;
  margin-top: 8px;
}

.pl-alert__icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e7a23a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  flex: none;
}

.pl-alert p { margin: 0; }

.pl-actions { display: flex; gap: 10px; margin-top: 12px; }

.pl-footer {
  position: sticky;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 32px;
  background: #fff;
  border-top: 1px solid #e6e0d8;
}

.pl-footer .pl-btn--ghost { justify-self: start; }
.pl-footer .pl-btn--primary { justify-self: end; }
.pl-footer__status { color: #7a7168; font-size: 13px; text-align: center; }

@media (max-width: 960px) {
  .pl-form-grid,
  .pl-meta,
  .pl-layout,
  .pl-review {
    grid-template-columns: 1fr;
  }

  .pl-footer {
    grid-template-columns: 1fr;
  }
}

.recv-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #efe7dc;
  color: #6b6258;
}

.recv-badge.is-progress {
  background: #f4e1c7;
  color: #8a5a12;
}

.recv-badge.is-done {
  background: #dceee3;
  color: #1f6b3d;
}

.recv-badge.is-ready {
  background: #efe7dc;
  color: #3d3630;
}

.recv-meta {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.recv-meta--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.recv-meta span,
.pl-meta span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #7a7168;
  margin-bottom: 4px;
}

.recv-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.recv-metric {
  margin-bottom: 0;
}

.recv-metric span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #7a7168;
  margin-bottom: 6px;
}

.recv-metric strong {
  font-size: 28px;
  font-family: Merriweather, Georgia, serif;
  color: #1f1b18;
}

.recv-metric.is-alert strong { color: #b92b24; }
.recv-metric.is-hold strong { color: #c56a1a; }
.recv-metrics--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.recv-step-copy { margin: -8px 0 16px; }
.recv-warehouse { max-width: 240px; }
.recv-row--hold { background: #f8ece8; }
.recv-notes { display: grid; gap: 6px; margin-top: 16px; }
.recv-cond {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #3d3630;
}
.recv-cond__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f8f5b;
  flex: none;
}
.recv-cond.is-damaged { color: #8a5a12; }
.recv-cond.is-damaged .recv-cond__dot { background: #e7a23a; }
.recv-cond__lock { font-size: 11px; }
.recv-loc--hold { color: #8a5a12; }
.recv-loc--hold strong { color: #c56a1a; }
.recv-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.recv-card-head h3 { margin: 0; }
.recv-evidence {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.recv-evidence__photo img {
  width: 88px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e6e0d8;
}
.recv-evidence__all { margin: 0 0 12px; }
.recv-doc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.recv-doc-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid #e6e0d8;
  border-radius: 8px;
  background: #faf8f5;
  color: #3d3630;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.recv-open { background: #fff7ee; }
.recv-open__list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.recv-open__list li {
  display: grid;
  gap: 2px;
  color: #6a4b16;
}
.recv-open__list span { font-size: 13px; }
.recv-confirm {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 16px;
  font-size: 14px;
  color: #3d3630;
}
.recv-confirm input { margin-top: 3px; }

.pub-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7a7168;
}
.pub-filters { flex-wrap: wrap; }
.pub-filters .pl-input { min-width: 160px; }
.pub-check { width: 36px; }
.pub-status {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f4e1c7;
  color: #8a5a12;
  font-size: 12px;
  font-weight: 600;
}
.pub-table-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.pub-note { background: #f6f3ee; color: #5c554d; }
.pub-note .pl-alert__icon { background: #8a8278; }
.pub-selected {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.pub-selected li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.admin-section-title {
  margin: 24px 0 10px;
  font-family: Merriweather, Georgia, serif;
  font-size: 20px;
}

.recv-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}

.recv-search {
  flex: 1;
  position: relative;
}

.recv-search__icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #8a8278;
}

.recv-search .pl-input { padding-left: 34px; }

.recv-qty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.recv-qty button {
  width: 28px;
  height: 28px;
  border: 1px solid #d8d1c8;
  border-radius: 6px;
  background: #fff;
  color: #3d3630;
  cursor: pointer;
}

.recv-qty button:disabled { opacity: 0.45; cursor: default; }

.recv-qty .pl-input { text-align: center; }

.recv-row--issue { background: #f8ece8; }
.recv-row--selected { outline: 1px solid #e2cfc8; }
.recv-num--alert { color: #b92b24; font-weight: 700; }

.recv-selected {
  margin-bottom: 14px;
}

.recv-selected small,
.pl-product-cell small {
  display: block;
  color: #7a7168;
}

.recv-photos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.recv-photo {
  width: 88px;
  min-height: 88px;
  border: 1px solid #e6e0d8;
  border-radius: 10px;
  padding: 6px;
  display: grid;
  place-items: center;
  gap: 6px;
  background: #faf8f5;
  font-size: 11px;
}

.recv-photo img {
  width: 100%;
  height: 64px;
  object-fit: cover;
  border-radius: 6px;
}

.recv-photo--add {
  border-style: dashed;
  border-color: #b92b24;
  color: #b92b24;
  font-weight: 600;
  cursor: pointer;
}

.recv-photo--add input { display: none; }

.recv-layout {
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
}

.recv-step-title {
  margin: 0 0 16px;
  font-family: Merriweather, Georgia, serif;
  font-size: 22px;
  color: #1f1b18;
}

.recv-exception__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.recv-exception__head h3 { margin: 0; }

.recv-unit {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f4e1c7;
  color: #8a5a12;
  font-size: 12px;
  font-weight: 600;
}

.recv-exception__item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.recv-exception__actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.recv-exception__actions .pl-btn input,
.recv-upload-btn input,
.recv-upload-link input { display: none; }

.recv-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin: 14px 0;
}

.recv-photo-card {
  display: grid;
  gap: 6px;
}

.recv-photo-card img {
  width: 100%;
  height: 88px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #e6e0d8;
}

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

.recv-disc {
  display: grid;
  gap: 10px;
  margin-bottom: 12px;
}

.recv-disc div {
  display: flex;
  justify-content: space-between;
  color: #5c554d;
}

.recv-doc-list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 8px;
}

.recv-doc-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.recv-doc-list__actions {
  display: flex;
  gap: 10px;
}

.recv-docs { display: grid; gap: 8px; margin-top: 10px; }
.recv-doc { display: flex; justify-content: space-between; gap: 10px; }
.recv-upload-btn { margin-top: 4px; width: 100%; }
.recv-hold-note {
  color: #7a7168;
  font-size: 12px;
  margin: 0 4px 16px;
}

@media (max-width: 960px) {
  .recv-form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .recv-meta,
  .recv-meta--5,
  .recv-metrics {
    grid-template-columns: 1fr 1fr;
  }
}

.pub-details-layout {
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr) minmax(240px, 280px);
  align-items: start;
}

.pub-pick {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.pub-pick__item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 10px;
  border: 1px solid #e6e0d8;
  border-radius: 10px;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.pub-pick__item.is-active {
  border-color: #b92b24;
  box-shadow: 0 0 0 1px #b92b24;
  background: #fdf6f5;
}

.pub-chip {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.pub-chip.is-edit {
  background: #f8ece8;
  color: #b92b24;
}

.pub-chip.is-wait {
  background: #efe7dc;
  color: #6b6258;
}

.pub-chip.is-ready {
  background: #dceee3;
  color: #1f6b3d;
}

.pub-form-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.pub-form-head h3 {
  margin: 0 0 4px;
  font-family: Merriweather, Georgia, serif;
  font-size: 22px;
}

.pub-form-head .pl-muted { margin: 0; }

.pub-field {
  display: grid;
  gap: 6px;
  margin: 14px 0;
  font-size: 12px;
  font-weight: 600;
  color: #6b6258;
}

.pub-textarea { min-height: 96px; resize: vertical; }

.pub-lock {
  position: relative;
  display: block;
}

.pub-lock input { padding-right: 34px; }

.pub-lock span {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
}

.pub-subhead {
  margin: 18px 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: #3d3630;
}

.pub-dims {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.pub-form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.pub-summary {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.pub-summary li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.pub-summary small {
  display: block;
  color: #7a7168;
}

.pub-summary__foot {
  margin: 0;
  color: #7a7168;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .pub-details-layout,
  .pub-dims {
    grid-template-columns: 1fr;
  }
}

.pub-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}

.pub-photo {
  position: relative;
  min-height: 120px;
  border: 1px solid #e6e0d8;
  border-radius: 10px;
  overflow: hidden;
  background: #faf8f5;
}

.pub-photo img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
}

.pub-photo.is-cover { border-color: #b92b24; }

.pub-cover {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #b92b24;
  color: #fff;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
}

.pub-photo__actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 8px 8px;
}

.pub-photo--add {
  display: grid;
  place-items: center;
  border-style: dashed;
  border-color: #b92b24;
  color: #b92b24;
  font-weight: 700;
  cursor: pointer;
  min-height: 148px;
}

.pub-photo--add input { display: none; }

.pub-help { margin: 0 0 12px; }

.pub-cost {
  border: 1px solid #e6e0d8;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 14px;
  background: #faf8f5;
}

.pub-cost h5 {
  margin: 0 0 10px;
  font-size: 13px;
  color: #6b6258;
}

.pub-cost dl { margin: 0; display: grid; gap: 8px; }

.pub-cost dl div {
  display: flex;
  justify-content: space-between;
  color: #5c554d;
}

.pub-cost .is-total {
  padding-top: 8px;
  border-top: 1px solid #e6e0d8;
  font-weight: 700;
  color: #1f1b18;
}

.pub-margin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 12px 0 8px;
}

.pub-margin span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #6b6258;
  margin-bottom: 4px;
}

.pub-margin strong {
  color: #1f6b3d;
  font-size: 20px;
}

.pub-preview__image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

.pub-preview__image--empty {
  display: grid;
  place-items: center;
  background: #efe7dc;
  color: #7a7168;
}

.pub-preview__cat {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #8a8278;
}

.pub-preview h4 {
  margin: 0 0 8px;
  font-family: Merriweather, Georgia, serif;
}

.pub-preview__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 8px;
}

.pub-preview__price strong { color: #b92b24; font-size: 22px; }
.pub-preview__price s { color: #8a8278; }

.pub-ready {
  list-style: none;
  margin: 0 0 8px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.pub-ready li {
  padding-left: 22px;
  position: relative;
  color: #6b6258;
}

.pub-ready li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #d7d0c7;
}

.pub-ready li.is-done { color: #1f6b3d; }
.pub-ready li.is-done::before {
  background: #2f8f5b;
  border-color: #2f8f5b;
}

.pub-review-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pub-review-table tbody tr {
  cursor: pointer;
}

.pl-review .pub-preview__image { height: 220px; }

.pub-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: -4px 0 12px;
}

.pub-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d7d0c7;
  cursor: pointer;
}

.pub-dot.is-active { background: #b92b24; }

.pub-preview__full {
  width: 100%;
  margin-top: 8px;
}

.pub-infobar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 14px 18px;
  margin-bottom: 16px;
  background: #f3efe8;
  border-radius: 10px;
}

.pub-infobar span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #7a7168;
  margin-bottom: 4px;
}

.pub-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.pub-timeline__item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  position: relative;
}

.pub-timeline__item:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 13px;
  top: 42px;
  bottom: 0;
  width: 2px;
  background: #e6e0d8;
}

.pub-timeline__mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #efe7dc;
  color: #6b6258;
  font-size: 12px;
  font-weight: 700;
  z-index: 1;
}

.pub-timeline__item.is-done .pub-timeline__mark {
  background: #2f8f5b;
  color: #fff;
}

.pub-timeline__item.is-current {
  padding: 14px 12px;
  margin: 0 -12px;
  border: 1px solid #e2cfc8;
  border-radius: 10px;
  background: #fdf6f5;
}

.pub-timeline__item.is-current .pub-timeline__mark {
  background: #b92b24;
  color: #fff;
}

.pub-timeline__item.is-rejected .pub-timeline__mark {
  background: #b92b24;
  color: #fff;
}

.pub-timeline__item.is-locked .pub-timeline__mark {
  background: #e6e0d8;
}

.pub-timeline__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.pub-timeline__actor {
  margin: 4px 0 0;
  font-weight: 600;
}

.pub-timeline__when {
  margin: 4px 0 0;
  font-size: 12px;
  color: #8a8278;
}

.pub-status-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.pub-status-item {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  padding: 10px 12px;
  border: 1px solid #e6e0d8;
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  text-align: left;
  cursor: pointer;
}

.pub-status-item.is-active {
  border-color: #b92b24;
  box-shadow: 0 0 0 1px #b92b24;
  background: #fdf6f5;
}

.pub-review-reason {
  display: grid;
  gap: 6px;
  margin: 12px 0;
}

.pub-publish-state {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
}

.pub-lock { font-size: 16px; }

.pub-publish-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.pub-publish-stats span {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #7a7168;
  margin-bottom: 4px;
}

@media (max-width: 900px) {
  .pub-infobar,
  .pub-publish-stats { grid-template-columns: 1fr 1fr; }
  .pub-status-item { grid-template-columns: minmax(0, 1fr) auto; }
}

.wh-back {
  margin: 0 0 6px;
  font-size: 13px;
}

.wh-back a {
  color: #b92b24;
  text-decoration: none;
}

.admin-page--light .wh-back {
  color: #7a7168;
}

.wh-permissions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 13px;
  color: #9a8870;
}

.wh-scan {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.wh-scan .form-input {
  flex: 1;
}

.wh-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(360px, 1.1fr);
  gap: 24px;
  align-items: start;
}

.wh-tree-panel,
.wh-editor-panel {
  background: #12100e;
  border: 1px solid rgba(196, 144, 88, 0.2);
  border-radius: 12px;
  padding: 18px;
}

.wh-tree-panel h2,
.wh-editor-panel h2 {
  margin-top: 0;
}

.wh-node {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.wh-node.is-selected .wh-node__select {
  background: rgba(185, 43, 36, 0.18);
}

.wh-node.is-inactive .wh-node__select {
  opacity: 0.55;
}

.wh-node__select {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(196, 144, 88, 0.25);
  color: #e8dcc8;
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  text-align: left;
}

.wh-node__level,
.wh-node__select em {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gold);
  font-style: normal;
}

.wh-node__select code {
  color: #c9b89c;
  font-size: 12px;
}

.wh-node__add {
  background: #1c1814;
  border: 1px solid #b92b24;
  color: #f3e6d8;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.wh-node__add:hover {
  background: rgba(185, 43, 36, 0.18);
}

.wh-empty-cta {
  margin-top: 12px;
}

.wh-preview {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.wh-preview strong {
  font-family: Oswald, sans-serif;
  letter-spacing: 0.04em;
  color: #fff;
}

.wh-preview span {
  color: #9a8870;
}

.wh-actions {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

@media (max-width: 900px) {
  .wh-layout,
  .wh-scan {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
}

.wms-kpis {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.wms-kpi {
  display: flex;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid #e6e0d8;
  border-radius: 12px;
  padding: 16px 18px;
}

.wms-kpi span {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 11px;
  color: #7a7168;
}

.wms-kpi strong {
  display: block;
  font-size: 28px;
  color: #1f1b18;
}

.wms-kpi__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f4efe8;
  color: #8a5a12;
  display: grid;
  place-items: center;
}

.wms-kpi__icon svg,
.wms-tree__icon svg {
  width: 20px;
  height: 20px;
}

.wms-kpi__icon.is-available,
.wms-status.is-available,
.wms-kpi strong.is-available { color: #2f7d4a; }
.wms-kpi__icon.is-occupied,
.wms-status.is-occupied,
.wms-kpi strong.is-occupied { color: #8a5a12; }
.wms-kpi__icon.is-restricted,
.wms-status.is-restricted,
.wms-kpi strong.is-restricted { color: #b92b24; }

.wms-filters {
  display: grid;
  grid-template-columns: 1fr 180px 180px auto;
  gap: 12px;
  margin-bottom: 20px;
}

.wms-layout {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.wms-tree,
.wms-detail,
.wms-card {
  background: #fff;
  border: 1px solid #e6e0d8;
  border-radius: 12px;
}

.wms-tree,
.wms-detail {
  padding: 16px;
}

.wms-tree__head,
.wms-detail__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.wms-tree__head h2,
.wms-detail h2,
.wms-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.wms-tree__add {
  padding: 4px 10px;
  font-size: 12px;
}

.wms-tree__row {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: calc(var(--depth) * 16px);
  margin-bottom: 4px;
}

.wms-tree__toggle,
.wms-tree__plus {
  border: 0;
  background: transparent;
  color: #b92b24;
  width: 22px;
  cursor: pointer;
}

.wms-tree__toggle:disabled { opacity: 0; }

.wms-tree__select {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  color: #2c2622;
}

.wms-tree__row.is-selected .wms-tree__select {
  background: #f8ece8;
  box-shadow: inset 3px 0 0 #b92b24;
}

.wms-tree__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.wms-tree__copy em {
  font-size: 11px;
  color: #7a7168;
  font-style: normal;
}

.wms-tree__count {
  margin-left: auto;
  font-size: 12px;
  color: #7a7168;
}

.wms-tree__plus-group { display: flex; gap: 4px; }

.wms-tree__icon { color: #8a5a12; display: grid; }

.wms-detail__meta {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 6px 0;
}

.wms-detail__path,
.wms-card p {
  color: #7a7168;
  margin: 0;
}

.wms-code {
  display: inline-block;
  background: #f3f1ee;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 12px;
}

.wms-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
}

.wms-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.wms-tabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid #e6e0d8;
  margin: 16px 0;
}

.wms-tabs button {
  border: 0;
  background: none;
  padding: 8px 0 12px;
  color: #7a7168;
  cursor: pointer;
}

.wms-tabs button.is-active {
  color: #b92b24;
  box-shadow: inset 0 -2px 0 #b92b24;
}

.wms-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.wms-card {
  padding: 16px;
  margin-bottom: 16px;
}

.wms-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.wms-card dt {
  color: #7a7168;
  font-size: 12px;
}

.wms-card dd { margin: 0; }

.wms-capacity__bar {
  height: 8px;
  background: #efeae3;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 8px;
}

.wms-capacity__bar span {
  display: block;
  height: 100%;
  background: #b92b24;
}

.wms-codes {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.wms-barcode svg,
.wms-label__barcode svg {
  width: 100%;
  max-width: 240px;
  height: 56px;
}

.wms-codes img,
.wms-label__qr {
  width: 96px;
  height: 96px;
}

.wms-activity__row {
  display: grid;
  grid-template-columns: 160px auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid #efeae3;
}

.wms-label {
  min-height: 100vh;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 12px;
  background: #fff;
  color: #1f1b18;
  padding: 40px;
}

.wms-label__name { font-size: 28px; margin: 0; }
.wms-label__code { font-family: Oswald, sans-serif; letter-spacing: 0.06em; }
.wms-label__actions { display: flex; gap: 12px; justify-content: center; }

@media print {
  .no-print,
  .admin-sidebar { display: none !important; }
}

@media (max-width: 1100px) {
  .wms-kpis,
  .wms-filters,
  .wms-layout,
  .wms-cards,
  .wms-activity__row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .wms-kpis,
  .wms-filters,
  .wms-layout,
  .wms-cards,
  .wms-activity__row {
    grid-template-columns: 1fr;
  }
}
