:root {
  --bg: #070707;
  --panel: #101010;
  --panel-2: #161616;
  --line: rgba(255, 214, 128, 0.14);
  --text: #f5f1ea;
  --muted: #c8bca8;
  --gold: #d4a64f;
  --gold-2: #f0d28d;
  --gold-3: #8b6624;
  --danger: #f26b6b;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Cormorant Garamond", "Georgia", serif;
  background:
    linear-gradient(180deg, #070707 0, #070707 112px, #f7f3ed 112px, #fbf8f3 100%);
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.16;
  pointer-events: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  width: min(100% - 28px, var(--max));
  margin: 0 auto;
  padding-bottom: 72px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 7, 7, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  width: min(100% - 28px, var(--max));
  margin: 0 auto;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.brand-logo {
  width: 82px;
  height: 58px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1.28rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  text-transform: uppercase;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.82rem;
  font-family: "Inter", "Segoe UI", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.desktop-menu {
  display: none;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.mobile-menu-toggle {
  display: inline-grid;
}

.icon-button,
.button,
.chip,
.category-link {
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.icon-button:hover,
.button:hover,
.chip:hover,
.category-link:hover {
  transform: translateY(-1px);
}

.icon-button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
}

.button-primary {
  background: linear-gradient(180deg, var(--gold-2) 0%, var(--gold) 100%);
  color: #1d1407;
  box-shadow: 0 14px 30px rgba(212, 166, 79, 0.22);
}

.button-secondary {
  background: rgba(255,255,255,0.04);
  border-color: var(--line);
  color: var(--text);
}

.button-danger {
  background: rgba(242,107,107,0.1);
  border-color: rgba(242,107,107,0.18);
  color: #ffdada;
}

.hero {
  display: grid;
  gap: 34px;
  padding: 22px 0 8px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  border: 1px solid rgba(32, 21, 4, 0.07);
  background:
    radial-gradient(circle at top right, rgba(212, 166, 79, 0.1), transparent 26%),
    linear-gradient(180deg, #f7f2eb 0%, #fbf8f3 100%);
  box-shadow: 0 24px 70px rgba(14, 9, 2, 0.12);
  padding: 30px;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.3) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.22) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 28px;
}

.hero-grid-reworked {
  align-items: stretch;
}

.hero-copy-block {
  display: grid;
  gap: 14px;
  align-content: start;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #7b5a1f;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-weight: 700;
  padding: 0;
}

.kicker::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(212,166,79,0.1);
}

.hero h1 {
  margin: 0;
  max-width: 9.6ch;
  color: #19120b;
  font-size: clamp(3.1rem, 8vw, 5.4rem);
  line-height: 0.86;
  letter-spacing: -0.055em;
  font-weight: 600;
}

.hero p {
  margin: 0;
  max-width: 43ch;
  color: #5f564b;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 0.98rem;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.category-link {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(255,255,255,0.72);
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 0.81rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
}

.category-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: rgba(240,210,141,0.72);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}

.category-link.is-active {
  color: var(--gold-2);
}

.category-link.is-active::after,
.category-link:hover::after {
  transform: scaleX(1);
}

.hero-editorial {
  display: grid;
  gap: 14px;
  align-content: start;
}

.editorial-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 24px;
  min-height: 150px;
  display: grid;
  align-content: end;
  gap: 10px;
  border: 1px solid rgba(32, 21, 4, 0.08);
}

.editorial-card span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.editorial-card strong {
  font-size: clamp(1.38rem, 2.5vw, 1.95rem);
  line-height: 1.02;
  font-weight: 600;
}

.editorial-card-dark {
  background:
    radial-gradient(circle at top right, rgba(212,166,79,0.18), transparent 28%),
    linear-gradient(180deg, #18120b 0%, #080808 100%);
  color: var(--text);
  box-shadow: 0 18px 46px rgba(11, 7, 2, 0.24);
}

.editorial-card-dark span {
  color: var(--gold-2);
}

.editorial-card-light {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.8)),
    #f2ebde;
  color: #1e160d;
}

.editorial-card-light span {
  color: #8b6624;
}

.hero-collection {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(32, 21, 4, 0.07);
  display: grid;
  gap: 18px;
}

.hero-collection-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.hero-collection-head h2 {
  margin: 8px 0 0;
  color: #1a130c;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 0.94;
  font-weight: 600;
  max-width: 11ch;
}

.featured-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8b6624;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.featured-title::before {
  content: "";
  width: 22px;
  height: 1px;
  background: rgba(139,102,36,0.42);
}

.featured-list-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.featured-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid rgba(32, 21, 4, 0.07);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(255,255,255,0.78)),
    rgba(255,255,255,0.6);
}

.featured-list {
  display: grid;
  gap: 12px;
}

.featured-item-visual {
  aspect-ratio: 1 / 1.2;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(212,166,79,0.16), rgba(255,255,255,0.56));
}

.featured-item-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-item-copy {
  display: grid;
  gap: 6px;
}

.featured-item-copy strong {
  display: block;
  font-size: 1.16rem;
  line-height: 0.98;
  font-weight: 600;
  color: #1a130c;
}

.featured-item-copy span,
.featured-item-copy small {
  color: #6b604f;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 0.83rem;
  line-height: 1.55;
}

.featured-item-copy em {
  color: #8b6624;
  font-style: normal;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin: 34px 0 18px;
}

.section-head h2 {
  margin: 0;
  color: #18120b;
  font-size: clamp(2rem, 6vw, 3rem);
  line-height: 0.95;
  font-weight: 600;
}

.section-head p {
  margin: 0;
  max-width: 38ch;
  color: #5f564b;
  font-family: "Inter", "Segoe UI", sans-serif;
  line-height: 1.7;
}

.catalog-shell {
  padding-top: 8px;
}

.catalog-surface {
  border-radius: 34px;
  padding: 26px;
  border: 1px solid rgba(32, 21, 4, 0.07);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.86)),
    #fffaf2;
  box-shadow: 0 20px 60px rgba(18, 12, 4, 0.08);
}

.section-head-catalog {
  margin-top: 0;
}

.catalog-note {
  max-width: 320px;
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(32, 21, 4, 0.07);
  background: rgba(255,255,255,0.64);
}

.catalog-note span {
  color: #8b6624;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.catalog-note strong {
  color: #1a130c;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 600;
}

.products-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.product-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212,166,79,0.12);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.93)),
    #ffffff;
  padding: 18px;
  box-shadow: var(--shadow);
}

.product-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212,166,79,0.18), transparent);
}

.product-image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 4.8;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(212,166,79,0.08), rgba(255,255,255,0.6)),
    #ece6dd;
  border: 1px solid rgba(255,214,128,0.08);
  margin-bottom: 16px;
}

.product-image-wrap.is-empty::after,
.featured-item-visual.is-empty::after {
  content: "Imagem indisponível";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(60, 46, 24, 0.5);
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .24s ease;
}

.product-card:hover .product-image {
  transform: scale(1.03);
}

.product-image-placeholder {
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.45);
  font-family: "Inter", "Segoe UI", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

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

.product-category {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(212,166,79,0.1);
  border: 1px solid rgba(212,166,79,0.18);
  color: #8b6624;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-code {
  color: rgba(44,30,11,0.45);
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 0.86rem;
}

.product-name {
  margin: 0 0 8px;
  font-size: 1.65rem;
  line-height: 1;
  font-weight: 600;
  color: #16110b;
}

.product-description {
  margin: 0 0 16px;
  color: #5f564b;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
}

.product-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  display: grid;
}

.product-price small {
  color: rgba(44,30,11,0.48);
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.product-price strong {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--gold-2);
  font-weight: 600;
}

.empty-state {
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(255,214,128,0.18);
  color: #6f6658;
  font-family: "Inter", "Segoe UI", sans-serif;
  text-align: center;
  background: rgba(255,255,255,0.72);
}

.drawer-backdrop,
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.56);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 40;
}

.drawer-backdrop.is-open,
.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.side-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: min(100%, 360px);
  height: 100dvh;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    #0a0a0a;
  border-right: 1px solid var(--line);
  transform: translateX(-102%);
  transition: transform .22s ease;
  z-index: 45;
  display: grid;
  grid-template-rows: auto 1fr;
}

.side-menu.is-open {
  transform: translateX(0);
}

.side-menu-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.side-menu-head h3 {
  margin: 0 0 4px;
  font-size: 1.8rem;
  line-height: 0.95;
  font-weight: 600;
}

.side-menu-head p {
  margin: 0;
  color: rgba(245,241,234,0.62);
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 0.9rem;
  line-height: 1.55;
  max-width: 26ch;
}

.side-menu-body {
  overflow: auto;
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.side-menu-body .category-link {
  justify-content: space-between;
  min-height: auto;
  width: 100%;
  color: rgba(255,255,255,0.84);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  padding: 14px 14px;
  border-radius: 16px;
  border: 1px solid rgba(240,210,141,0.08);
  background: rgba(255,255,255,0.02);
}

.side-menu-body .category-link::after {
  display: none;
}

.side-menu-body .category-link.is-active {
  color: #fff3d7;
  background: linear-gradient(180deg, rgba(240,210,141,0.14), rgba(212,166,79,0.08));
  border-color: rgba(240,210,141,0.22);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(100%, 420px);
  height: 100dvh;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    #0a0a0a;
  border-left: 1px solid var(--line);
  transform: translateX(102%);
  transition: transform .22s ease;
  z-index: 45;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.drawer-head,
.drawer-foot {
  padding: 18px;
  border-bottom: 1px solid rgba(255,214,128,0.08);
}

.drawer-foot {
  border-bottom: 0;
  border-top: 1px solid rgba(255,214,128,0.08);
  display: grid;
  gap: 12px;
}

.drawer-head h3 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 600;
}

.cart-items {
  overflow: auto;
  padding: 18px;
  display: grid;
  gap: 12px;
}

.cart-item {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,214,128,0.08);
  background: rgba(255,255,255,0.03);
  display: grid;
  gap: 12px;
}

.cart-item-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.cart-item strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
}

.cart-item span,
.cart-item small {
  color: var(--muted);
  font-family: "Inter", "Segoe UI", sans-serif;
}

.qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.qty-controls button {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  cursor: pointer;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--muted);
}

.summary-row strong {
  color: var(--text);
}

.modal {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -46%);
  width: min(100% - 24px, 540px);
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02)),
    #090909;
  box-shadow: var(--shadow);
  padding: 22px;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%);
}

.modal h3 {
  margin: 0 0 8px;
  font-size: 2rem;
  line-height: 0.95;
  font-weight: 600;
}

.modal p {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: "Inter", "Segoe UI", sans-serif;
  line-height: 1.7;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-family: "Inter", "Segoe UI", sans-serif;
  color: var(--gold-2);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  min-height: 54px;
  width: 100%;
  padding: 12px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,214,128,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-family: "Inter", "Segoe UI", sans-serif;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: rgba(240,210,141,0.4);
  box-shadow: 0 0 0 3px rgba(240,210,141,0.12);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 8px;
}

.helper {
  color: rgba(255,255,255,0.52);
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 0.9rem;
}

.admin-page {
  color: #1a130c;
  background:
    radial-gradient(circle at top right, rgba(212,166,79,0.12), transparent 24%),
    linear-gradient(180deg, #f4eee6 0%, #fcf9f4 100%);
}

.admin-page::before {
  background:
    linear-gradient(90deg, rgba(116,90,42,0.04) 1px, transparent 1px),
    linear-gradient(rgba(116,90,42,0.04) 1px, transparent 1px);
  opacity: 0.24;
}

.admin-layout {
  width: min(100% - 28px, 1320px);
  margin: 0 auto;
  padding: 30px 0 56px;
}

.admin-login {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 26px;
}

.admin-card,
.panel {
  border-radius: 30px;
  border: 1px solid rgba(38, 26, 7, 0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.82)),
    #fffaf2;
  box-shadow: 0 24px 70px rgba(22, 15, 4, 0.1);
}

.admin-card {
  width: min(100%, 1160px);
  padding: 0;
  overflow: hidden;
}

.admin-shell {
  display: grid;
  gap: 22px;
}

.admin-login-shell {
  display: grid;
  gap: 28px;
  padding: 28px;
}

.admin-login-copy {
  display: grid;
  gap: 18px;
  align-content: start;
}

.admin-brand .brand-copy strong {
  color: #1a130c;
}

.admin-brand .brand-copy span {
  color: #7d6f5c;
}

.admin-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8b6624;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: rgba(139,102,36,0.38);
}

.admin-login-title {
  margin: 0;
  color: #1a130c;
  font-size: clamp(2.7rem, 6vw, 4.8rem);
  line-height: 0.9;
  font-weight: 600;
  max-width: 10.5ch;
}

.admin-login-helper {
  max-width: 46ch;
  color: #635948;
  line-height: 1.8;
}

.admin-login-tips {
  display: grid;
  gap: 12px;
}

.admin-tip-card {
  padding: 18px 18px 20px;
  border-radius: 22px;
  border: 1px solid rgba(38, 26, 7, 0.08);
  background: rgba(255,255,255,0.7);
  display: grid;
  gap: 6px;
}

.admin-tip-card strong {
  font-size: 1.16rem;
  font-weight: 600;
  color: #1a130c;
}

.admin-tip-card span {
  color: #665a49;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  line-height: 1.6;
}

.admin-login-form-wrap {
  display: grid;
}

.admin-form-card {
  border-radius: 26px;
  padding: 24px;
  border: 1px solid rgba(38, 26, 7, 0.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.94), rgba(255,255,255,0.84)),
    #fffbf4;
  box-shadow: 0 18px 42px rgba(21, 14, 4, 0.08);
}

.admin-form-title {
  margin: 10px 0 8px;
  color: #1a130c;
  font-size: 2.4rem;
  line-height: 0.94;
  font-weight: 600;
}

.admin-credential-note {
  margin: 0 0 18px;
  color: #7a6c58;
}

.admin-login-error {
  color: #a53b3b;
}

.admin-submit {
  width: 100%;
}

.admin-login-shell .admin-brand {
  margin-bottom: 6px;
}

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

.admin-top h1,
.panel h2 {
  margin: 0;
}

.admin-top h1 {
  color: #1a130c;
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 0.92;
  font-weight: 600;
  max-width: 12ch;
}

.admin-top p {
  margin: 8px 0 0;
  color: #625847;
  font-family: "Inter", "Segoe UI", sans-serif;
  max-width: 52ch;
  line-height: 1.8;
}

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

.dashboard-grid {
  display: grid;
  gap: 20px;
}

.panel {
  padding: 20px;
}

.panel h2 {
  color: #1a130c;
  font-size: 2rem;
  line-height: 1;
  font-weight: 600;
  margin-bottom: 8px;
}

.admin-hero-panel {
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(212,166,79,0.16), transparent 24%),
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.86)),
    #fffaf2;
}

.panel-soft {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,255,255,0.82)),
    #fffaf3;
}

.panel-deep {
  background:
    linear-gradient(180deg, #18120b 0%, #0d0b08 100%);
  border-color: rgba(240,210,141,0.12);
}

.panel-deep h2,
.panel-deep .admin-eyebrow {
  color: var(--gold-2);
}

.panel-deep .admin-eyebrow::before {
  background: rgba(240,210,141,0.35);
}

.panel-deep .helper {
  color: rgba(245,241,234,0.68);
}

.panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.stats-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid rgba(38, 26, 7, 0.08);
  background: rgba(255,255,255,0.68);
}

.stat-card span {
  display: block;
  color: #766b5a;
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.stat-card strong {
  display: block;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--gold-2);
  font-weight: 600;
}

.table-list,
.lead-list,
.tag-list {
  display: grid;
  gap: 12px;
}

.list-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(38, 26, 7, 0.08);
  background: rgba(255,255,255,0.72);
}

.list-card strong {
  display: block;
  color: #1a130c;
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.list-card p {
  margin: 0;
  color: #655b4b;
  font-family: "Inter", "Segoe UI", sans-serif;
  line-height: 1.6;
}

.panel-deep .list-card {
  border-color: rgba(240,210,141,0.08);
  background: rgba(255,255,255,0.04);
}

.panel-deep .list-card strong {
  color: var(--text);
}

.panel-deep .list-card p {
  color: rgba(245,241,234,0.68);
}

.list-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.chip {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,214,128,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--gold-2);
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-page .chip {
  border-color: rgba(38, 26, 7, 0.08);
  background: rgba(255,255,255,0.9);
  color: #7b5a1f;
}

.admin-page .panel-deep .chip {
  border-color: rgba(240,210,141,0.14);
  background: rgba(255,255,255,0.05);
  color: var(--gold-2);
}

.inline-form {
  display: grid;
  gap: 14px;
}

.row-2 {
  display: grid;
  gap: 14px;
}

.admin-page .field label {
  color: #7b5a1f;
}

.admin-page .field input,
.admin-page .field select,
.admin-page .field textarea {
  border-color: rgba(38, 26, 7, 0.08);
  background: rgba(255,255,255,0.9);
  color: #1a130c;
}

.admin-page .field input:focus,
.admin-page .field select:focus,
.admin-page .field textarea:focus {
  border-color: rgba(139,102,36,0.26);
  box-shadow: 0 0 0 3px rgba(212,166,79,0.12);
}

.admin-page .panel-deep .field label {
  color: rgba(240,210,141,0.92);
}

.admin-page .panel-deep .field input,
.admin-page .panel-deep .field select,
.admin-page .panel-deep .field textarea {
  border-color: rgba(240,210,141,0.12);
  background: rgba(255,255,255,0.05);
  color: var(--text);
}

.admin-page .helper {
  color: #6d6353;
}

.admin-page .button-secondary {
  background: rgba(255,255,255,0.9);
  border-color: rgba(38, 26, 7, 0.1);
  color: #1a130c;
  box-shadow: 0 12px 28px rgba(21, 14, 4, 0.06);
}

.admin-page .button-danger {
  background: rgba(201, 74, 74, 0.08);
  border-color: rgba(201, 74, 74, 0.16);
  color: #a33b3b;
}

.admin-page .button-primary {
  color: #1d1407;
}

.small-link {
  color: var(--gold-2);
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: 0.92rem;
}

.store-footer {
  display: flex;
  justify-content: center;
  padding-top: 42px;
}

.admin-link-hidden {
  opacity: 0.28;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hidden {
  display: none !important;
}

@media (min-width: 880px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.14fr) minmax(320px, 0.86fr);
    align-items: stretch;
  }

  .dashboard-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .dashboard-grid-admin-bottom {
    grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
  }

  .row-2 {
    grid-template-columns: 1fr 1fr;
  }

  .admin-login-tips {
    grid-template-columns: 1fr 1fr;
  }

  .desktop-menu {
    display: flex;
  }

  .mobile-menu-toggle {
    display: none;
  }

  .admin-login-shell {
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.96fr);
    align-items: stretch;
  }
}

@media (max-width: 720px) {
  .topbar-inner {
    min-height: 74px;
  }

  .brand-copy strong {
    font-size: 0.98rem;
  }

  .brand-copy span {
    display: none;
  }

  .brand-logo {
    width: 68px;
    height: 48px;
  }

  .hero-card,
  .panel {
    padding: 18px;
  }

  .admin-card {
    padding: 0;
  }

  .admin-layout {
    width: min(100% - 20px, 1320px);
    padding: 18px 0 40px;
  }

  .admin-login {
    padding: 14px;
  }

  .admin-login-shell {
    padding: 18px;
    gap: 16px;
  }

  .admin-form-card {
    padding: 18px;
  }

  .admin-login-title {
    font-size: clamp(2.25rem, 10vw, 3.2rem);
  }

  .admin-login-form-wrap {
    order: -1;
  }

  .admin-login-copy {
    gap: 14px;
  }

  .admin-login-helper {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .admin-login-tips {
    display: none;
  }

  .admin-top {
    align-items: start;
  }

  .admin-top-actions {
    width: 100%;
  }

  .admin-top-actions .button {
    flex: 1 1 auto;
  }

  .hero h1 {
    max-width: 10.4ch;
    font-size: clamp(2.15rem, 11vw, 3.2rem);
    line-height: 0.9;
  }

  .hero-collection-head h2 {
    max-width: 11ch;
    font-size: clamp(1.75rem, 8vw, 2.45rem);
  }

  .catalog-surface {
    padding: 18px;
    border-radius: 26px;
  }

  .catalog-note {
    display: none;
  }

  .featured-list-row {
    grid-template-columns: 1fr;
  }

  .featured-item {
    grid-template-columns: 74px 1fr;
    padding: 10px;
  }

  .editorial-card {
    min-height: auto;
    padding: 16px;
  }

  .hero-editorial {
    gap: 10px;
  }

  .editorial-card strong {
    font-size: 1.22rem;
    line-height: 1.04;
  }

  .hero p,
  .section-head p,
  .featured-item-copy span {
    font-size: 0.92rem;
  }

  .product-name {
    font-size: 1.42rem;
  }

  .product-card {
    padding: 14px;
    border-radius: 22px;
  }

  .product-image-wrap {
    aspect-ratio: 4 / 4.4;
    margin-bottom: 14px;
  }

  .product-top {
    margin-bottom: 12px;
    align-items: center;
  }

  .product-category {
    min-height: 30px;
    padding: 0 10px;
    font-size: 0.74rem;
  }

  .product-code {
    font-size: 0.75rem;
  }

  .product-price strong {
    font-size: 1.55rem;
  }

  .product-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .product-footer .button {
    width: 100%;
  }
}
