:root {
  color-scheme: light;
  --forest: #07351f;
  --forest-2: #0f4b31;
  --ink: #151512;
  --muted: #66645e;
  --paper: #faf9f6;
  --surface: #ffffff;
  --line: #ded9cf;
  --sand: #eee7dc;
  --clay: #9b6b43;
  --brass: #b99561;
  --shadow: 0 22px 70px rgba(20, 17, 12, 0.16);
  --soft-shadow: 0 12px 34px rgba(12, 42, 27, 0.1);
  --radius: 6px;
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.drawer-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none !important;
}

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

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

[hidden] {
  display: none !important;
}

.topbar {
  align-items: center;
  background: var(--forest);
  color: #f8f5ed;
  display: flex;
  font-size: 0.78rem;
  gap: 1.25rem;
  justify-content: center;
  letter-spacing: 0.02em;
  min-height: 32px;
  padding: 0.35rem 1rem;
}

.topbar span + span::before {
  color: var(--brass);
  content: "·";
  margin-right: 1.25rem;
}

.site-header {
  align-items: center;
  background: rgba(250, 249, 246, 0.92);
  border-bottom: 1px solid rgba(222, 217, 207, 0.76);
  backdrop-filter: blur(18px);
  display: flex;
  height: var(--header-height);
  justify-content: space-between;
  left: 0;
  padding: 0 3vw;
  position: sticky;
  right: 0;
  top: 0;
  z-index: 50;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.brand-symbol {
  background: #fff;
  border: 1px solid rgba(21, 21, 18, 0.12);
  border-radius: 50%;
  height: 54px;
  object-fit: cover;
  width: 54px;
}

.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2.3vw, 2.2rem);
  line-height: 0.92;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.5em;
  padding-left: 0.1rem;
}

.desktop-nav {
  align-items: center;
  display: flex;
  gap: clamp(1.2rem, 2.6vw, 2.7rem);
  font-size: 0.95rem;
}

.desktop-nav a {
  color: #282620;
  padding: 0.5rem 0;
  position: relative;
}

.desktop-nav a::after {
  background: var(--forest);
  bottom: 0.15rem;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
  width: 100%;
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-actions {
  align-items: center;
  display: flex;
  gap: 0.6rem;
}

.primary-button,
.ghost-button,
.outline-button,
.text-button,
.outline-link,
.icon-button,
.menu-button,
.icon-only {
  align-items: center;
  border-radius: var(--radius);
  border: 1px solid transparent;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.primary-button {
  background: var(--forest);
  color: #fffaf1;
  padding: 0 1.35rem;
  box-shadow: 0 12px 24px rgba(7, 53, 31, 0.17);
}

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--forest-2);
  box-shadow: 0 16px 28px rgba(7, 53, 31, 0.2);
  transform: translateY(-1px);
}

.ghost-button {
  background: transparent;
  color: var(--ink);
  min-width: 72px;
  padding: 0 1rem;
}

.ghost-button:hover,
.ghost-button:focus-visible {
  background: rgba(7, 53, 31, 0.08);
}

.admin-entry {
  border-color: rgba(7, 53, 31, 0.18);
}

.outline-button,
.outline-link {
  background: transparent;
  border-color: rgba(21, 21, 18, 0.28);
  color: var(--ink);
  padding: 0 1.2rem;
}

.outline-button:hover,
.outline-button:focus-visible,
.outline-link:hover,
.outline-link:focus-visible {
  border-color: var(--forest);
  color: var(--forest);
}

.text-button {
  background: transparent;
  color: var(--forest);
  min-height: 36px;
  padding: 0.25rem 0;
}

.text-button:hover,
.text-button:focus-visible {
  color: var(--forest-2);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.icon-button {
  background: var(--forest);
  color: #fffaf1;
  height: 44px;
  position: relative;
  width: 56px;
}

.icon-button span:first-child {
  font-size: 1.2rem;
  transform: rotate(90deg);
}

.cart-count {
  align-items: center;
  background: var(--brass);
  border-radius: 999px;
  color: #120f0a;
  display: flex;
  font-size: 0.7rem;
  font-weight: 900;
  height: 19px;
  justify-content: center;
  position: absolute;
  right: 3px;
  top: -5px;
  width: 19px;
}

.menu-button {
  background: transparent;
  border-color: rgba(21, 21, 18, 0.2);
  display: none;
  flex-direction: column;
  gap: 5px;
  height: 44px;
  width: 46px;
}

.menu-button span {
  background: var(--ink);
  display: block;
  height: 2px;
  width: 18px;
}

.mobile-menu {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
  display: none;
  gap: 0.2rem;
  padding: 0.6rem 1rem 1rem;
  position: sticky;
  top: var(--header-height);
  z-index: 49;
}

.mobile-menu.is-open {
  display: grid;
}

.mobile-menu a,
.mobile-menu button {
  background: transparent;
  border: 0;
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 700;
  padding: 0.9rem;
  text-align: left;
}

.mobile-menu button {
  background: var(--forest);
  color: #fffaf1;
  margin-top: 0.25rem;
  text-align: center;
}

.hero {
  background: #100f0d;
  min-height: calc(100vh - var(--header-height) - 32px);
  position: relative;
}

.hero-media {
  inset: 0;
  position: absolute;
}

.hero-media::after {
  background:
    linear-gradient(90deg, rgba(16, 15, 13, 0.82) 0%, rgba(16, 15, 13, 0.5) 38%, rgba(16, 15, 13, 0.08) 70%),
    linear-gradient(180deg, rgba(16, 15, 13, 0.05) 0%, rgba(16, 15, 13, 0.28) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-content {
  color: #fffaf1;
  max-width: 680px;
  padding: clamp(5rem, 12vh, 8rem) 3vw clamp(4rem, 11vh, 7rem);
  position: relative;
  z-index: 1;
}

.hero h1,
.section-heading h2,
.showcase-copy h2,
.account-card h2,
.drawer-header h2,
.app-modal h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

.hero h1 {
  font-size: clamp(3.4rem, 8vw, 7.6rem);
  line-height: 0.94;
  margin: 0 0 1.2rem;
  max-width: 720px;
}

.hero p {
  color: rgba(255, 250, 241, 0.88);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.65;
  margin: 0 0 2rem;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero .outline-button {
  border-color: rgba(255, 250, 241, 0.7);
  color: #fffaf1;
}

.trust-strip {
  background: var(--forest);
  color: #fffaf1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 1.25rem 3vw;
}

.trust-strip article {
  align-items: center;
  display: grid;
  gap: 0.2rem 0.8rem;
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 64px;
}

.line-icon {
  align-items: center;
  border: 1px solid rgba(255, 250, 241, 0.42);
  border-radius: 50%;
  color: var(--brass);
  display: inline-flex;
  font-size: 1.05rem;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.trust-strip strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 500;
}

.trust-strip small {
  color: rgba(255, 250, 241, 0.72);
  grid-column: 2;
  line-height: 1.35;
}

.section-shell {
  padding: clamp(3.5rem, 7vw, 6.5rem) 3vw;
  scroll-margin-top: calc(var(--header-height) + 36px);
}

.section-heading {
  align-items: end;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin: 0 auto 2rem;
  max-width: 1360px;
}

.section-heading h2,
.showcase-copy h2,
.account-card h2 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  line-height: 1;
  margin: 0 0 0.8rem;
}

.section-heading p,
.showcase-copy p,
.account-card p {
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  max-width: 660px;
}

.catalog-tools {
  align-items: end;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(240px, 380px) 1fr;
  margin: 0 auto 1.5rem;
  max-width: 1360px;
}

.catalog-controls {
  display: grid;
  gap: 0.9rem;
}

.search-field {
  display: grid;
  gap: 0.4rem;
}

.search-field span,
.sort-field,
.order-form label,
.app-modal label,
.product-option label {
  color: #35322c;
  font-size: 0.82rem;
  font-weight: 800;
}

.search-field input,
.sort-field select,
.order-form input,
.order-form textarea,
.app-modal input,
.product-option select,
.product-option textarea {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  min-height: 46px;
  outline: none;
  padding: 0.8rem 0.95rem;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
  width: 100%;
}

.search-field input:focus,
.sort-field select:focus,
.order-form input:focus,
.order-form textarea:focus,
.app-modal input:focus,
.product-option select:focus,
.product-option textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(7, 53, 31, 0.1);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: flex-end;
}

.catalog-refinements {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-end;
}

.catalog-refinements > span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 900;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.filter-chip {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: #35322c;
  font-size: 0.88rem;
  font-weight: 800;
  min-height: 42px;
  padding: 0 0.9rem;
}

.filter-chip.is-active,
.filter-chip:hover,
.filter-chip:focus-visible {
  background: var(--forest);
  border-color: var(--forest);
  color: #fffaf1;
}

.status-chip {
  background: transparent;
  border: 1px solid rgba(21, 21, 18, 0.18);
  border-radius: 999px;
  color: #35322c;
  font-size: 0.78rem;
  font-weight: 900;
  min-height: 34px;
  padding: 0 0.75rem;
}

.status-chip.is-active,
.status-chip:hover,
.status-chip:focus-visible {
  background: #f4f1eb;
  border-color: var(--forest);
  color: var(--forest);
}

.sort-field {
  align-items: center;
  display: inline-flex;
  gap: 0.45rem;
}

.sort-field select {
  min-height: 38px;
  min-width: 150px;
  padding: 0.5rem 0.75rem;
}

.featured-section {
  background: var(--surface);
}

.featured-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1360px;
}

.featured-card {
  background: #f7f5f0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 44% 1fr;
  min-height: 190px;
  overflow: hidden;
}

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

.featured-card div {
  align-content: center;
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
}

.featured-card span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
}

.featured-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.35;
  margin: 0;
}

.featured-card strong {
  font-size: 1rem;
}

.featured-card .outline-button {
  min-height: 38px;
  padding: 0 0.8rem;
}

.product-grid {
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1360px;
}

.product-card {
  background: var(--surface);
  border: 1px solid rgba(222, 217, 207, 0.9);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(20, 17, 12, 0.04);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease;
}

.product-card:hover,
.product-card:focus-within {
  border-color: rgba(7, 53, 31, 0.36);
  box-shadow: var(--soft-shadow);
  transform: translateY(-3px);
}

.product-card.is-unavailable {
  opacity: 0.74;
}

.product-card picture,
.product-card .product-image {
  aspect-ratio: 1.24 / 1;
  background: var(--sand);
  overflow: hidden;
  position: relative;
}

.product-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  left: 0.75rem;
  position: absolute;
  top: 0.75rem;
}

.product-badges span {
  background: rgba(255, 250, 241, 0.94);
  border-radius: 999px;
  color: var(--forest);
  font-size: 0.7rem;
  font-weight: 900;
  padding: 0.38rem 0.55rem;
  text-transform: uppercase;
}

.product-card img {
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
  width: 100%;
}

.product-card:hover img {
  transform: scale(1.035);
}

.product-card-body {
  display: grid;
  gap: 0.85rem;
  padding: 1.05rem;
}

.product-meta {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.78rem;
  font-weight: 800;
  justify-content: space-between;
  text-transform: uppercase;
}

.product-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
}

.product-card p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.price-line {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.45rem;
}

.old-price {
  color: #8b8174;
  font-size: 0.88rem;
  text-decoration: line-through;
}

.price-line strong {
  font-size: 1.05rem;
}

.price-line span {
  color: var(--muted);
  font-size: 0.82rem;
}

.product-actions {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: 1fr;
  margin-top: 0.2rem;
}

.product-actions .outline-button,
.product-actions .primary-button {
  min-height: 42px;
  padding: 0 0.85rem;
}

.empty-state {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  margin: 1.5rem auto 0;
  max-width: 1360px;
  padding: 2rem;
  text-align: center;
}

.loading-card {
  background: var(--surface);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  display: grid;
  gap: 0.55rem;
  grid-column: 1 / -1;
  justify-items: start;
  min-height: 170px;
  padding: 1.5rem;
}

.loading-card strong {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.loading-card.is-error {
  border-color: rgba(122, 35, 29, 0.45);
}

.availability-tag {
  background: rgba(16, 15, 13, 0.82);
  border-radius: 999px;
  color: #fffaf1;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.65rem;
  position: absolute;
  right: 0.75rem;
  text-transform: uppercase;
  top: 0.75rem;
}

.showcase {
  align-items: center;
  background: var(--surface);
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: 1.06fr 0.94fr;
}

.showcase-media {
  background: var(--sand);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-left: max(0px, calc((100vw - 1360px) / 2));
  overflow: hidden;
}

.showcase-media img {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.brand-showcase-media {
  align-items: center;
  background: #f5f2ec;
  display: grid;
  min-height: 420px;
  padding: clamp(1.6rem, 5vw, 4.5rem);
}

.brand-showcase-media img {
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid rgba(21, 21, 18, 0.12);
  border-radius: 50%;
  box-shadow: 0 22px 60px rgba(20, 17, 12, 0.12);
  height: auto;
  justify-self: center;
  max-width: min(520px, 82%);
  object-fit: cover;
  width: 100%;
}

.showcase-copy {
  max-width: 640px;
  padding-right: max(3vw, calc((100vw - 1360px) / 2));
}

.showcase-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.process-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(250, 249, 246, 0.98)),
    var(--paper);
}

.process-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1360px;
}

.process-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
}

.process-grid span {
  color: var(--brass);
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 1.1rem;
}

.process-grid h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 0.6rem;
}

.process-grid p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.account-section {
  background: #f1eee8;
}

.account-card,
.order-history {
  margin: 0 auto;
  max-width: 1360px;
}

.account-card {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  padding: clamp(1.3rem, 3vw, 2.4rem);
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.order-history {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.history-card {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 1rem;
  grid-template-columns: 1.2fr 1fr auto;
  padding: 1rem;
}

.history-card h3,
.history-card p {
  margin: 0;
}

.history-card p {
  color: var(--muted);
  margin-top: 0.25rem;
}

.status-track {
  align-items: center;
  display: grid;
  gap: 0.5rem;
  grid-template-columns: repeat(5, 1fr);
  min-width: 320px;
}

.status-step {
  align-items: center;
  color: var(--muted);
  display: grid;
  font-size: 0.72rem;
  gap: 0.35rem;
  justify-items: center;
  text-align: center;
}

.status-step::before {
  background: var(--forest);
  border-radius: 50%;
  content: "";
  height: 10px;
  width: 10px;
}

.status-step.pending::before {
  background: #c9c2b5;
}

.site-footer {
  background: var(--forest);
  color: rgba(255, 250, 241, 0.78);
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  padding: 3rem 3vw 2rem;
}

.footer-brand {
  color: #fffaf1;
  margin-bottom: 1rem;
}

.site-footer p {
  line-height: 1.6;
  max-width: 320px;
}

.site-footer h3 {
  color: #fffaf1;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  margin: 0 0 1rem;
}

.site-footer a,
.site-footer button,
.site-footer span {
  background: transparent;
  border: 0;
  color: rgba(255, 250, 241, 0.78);
  display: block;
  font-size: 0.92rem;
  margin: 0 0 0.75rem;
  padding: 0;
  text-align: left;
}

.site-footer a:hover,
.site-footer button:hover,
.site-footer a:focus-visible,
.site-footer button:focus-visible {
  color: #fffaf1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.drawer-backdrop {
  background: rgba(16, 15, 13, 0.52);
  inset: 0;
  opacity: 0;
  position: fixed;
  transition: opacity 180ms ease;
  z-index: 90;
}

.drawer-backdrop.is-visible {
  opacity: 1;
}

.order-drawer {
  background: var(--surface);
  box-shadow: -22px 0 70px rgba(20, 17, 12, 0.22);
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100vh;
  max-width: 520px;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(105%);
  transition: transform 220ms ease;
  width: min(100vw, 520px);
  z-index: 100;
}

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

.drawer-header {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.25rem;
}

.drawer-header h2 {
  font-size: 2rem;
  line-height: 1;
  margin: 0 0 0.4rem;
}

.drawer-header p {
  color: var(--muted);
  margin: 0;
}

.drawer-body {
  overflow: auto;
  padding: 1.25rem;
}

.icon-only {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
  flex: 0 0 auto;
  font-size: 1.45rem;
  height: 40px;
  line-height: 1;
  padding: 0;
  width: 40px;
}

.cart-list {
  display: grid;
  gap: 0.85rem;
}

.cart-empty {
  background: #f4f1eb;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  line-height: 1.6;
  padding: 1rem;
}

.cart-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 84px 1fr;
  padding: 0.7rem;
}

.cart-item img {
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  height: 84px;
  object-fit: cover;
  width: 84px;
}

.cart-item h3 {
  font-size: 1rem;
  margin: 0 0 0.2rem;
}

.cart-item p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0;
}

.cart-row {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  justify-content: space-between;
  margin-top: 0.6rem;
}

.quantity-control {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: inline-grid;
  grid-template-columns: 32px 36px 32px;
  min-height: 34px;
  overflow: hidden;
}

.quantity-control button {
  background: #f4f1eb;
  border: 0;
  height: 34px;
}

.quantity-control span {
  text-align: center;
}

.remove-button {
  background: transparent;
  border: 0;
  color: #7a231d;
  font-size: 0.82rem;
  font-weight: 800;
}

.order-summary {
  background: #f4f1eb;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0;
  padding: 1rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
}

.summary-row strong {
  font-size: 1.15rem;
}

.order-form {
  display: grid;
  gap: 0.85rem;
}

.order-form h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
  margin: 0.5rem 0 0;
}

.order-form label,
.app-modal label {
  display: grid;
  gap: 0.4rem;
}

.order-form textarea,
.product-option textarea {
  min-height: 104px;
  resize: vertical;
}

.drawer-actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.drawer-actions .outline-link,
.drawer-actions .primary-button {
  width: 100%;
}

.app-modal {
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: min(92vw, 980px);
  padding: 0;
}

.app-modal::backdrop {
  background: rgba(16, 15, 13, 0.5);
}

.modal-card {
  background: var(--surface);
  display: grid;
  gap: 1rem;
  min-width: min(92vw, 460px);
  padding: 1.4rem;
  position: relative;
}

.auth-modal-card h2,
.product-detail h2,
.info-card h2 {
  font-size: 2rem;
  line-height: 1;
  margin: 0;
}

.auth-modal-card p,
.info-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.3rem;
}

.admin-modal {
  max-width: min(98vw, 1320px);
}

.admin-login-card {
  min-width: min(92vw, 440px);
}

.admin-panel {
  background: var(--surface);
  display: grid;
  max-height: min(92vh, 920px);
  min-width: min(98vw, 1280px);
  overflow: auto;
}

.admin-header {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1.1rem;
}

.admin-header h2 {
  font-size: 2rem;
  line-height: 1;
  margin: 0 0 0.25rem;
}

.admin-header p {
  color: var(--muted);
  margin: 0;
}

.admin-header-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.admin-orders {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
}

.admin-orders h3,
.admin-orders p {
  margin: 0;
}

.admin-orders p {
  color: var(--muted);
}

.admin-orders-heading {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.admin-orders-heading strong {
  background: var(--forest);
  border-radius: 999px;
  color: #fffaf1;
  min-width: 2.2rem;
  padding: 0.35rem 0.65rem;
  text-align: center;
}

.admin-metrics {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.admin-metrics article,
.admin-chart,
.admin-order-detail-card {
  background: #f8f5ef;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-metrics article {
  display: grid;
  gap: 0.2rem;
  min-height: 82px;
  padding: 0.8rem;
}

.admin-metrics span,
.admin-chart header span,
.admin-order-row small,
.admin-order-row span,
.admin-order-detail-head p,
.admin-order-customer span,
.admin-order-customer small,
.admin-order-items span,
.admin-order-items small,
.admin-order-timeline small {
  color: var(--muted);
}

.admin-metrics span,
.admin-order-customer span {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-metrics strong {
  color: var(--forest);
  font-size: clamp(1.05rem, 2vw, 1.55rem);
}

.admin-analytics-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.admin-chart {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem;
}

.admin-chart header {
  align-items: center;
  display: flex;
  gap: 0.6rem;
  justify-content: space-between;
}

.admin-chart h4,
.admin-order-items h4,
.admin-order-timeline h4,
.admin-order-detail-card h3 {
  margin: 0;
}

.admin-chart-bars {
  display: grid;
  gap: 0.45rem;
}

.admin-chart-row {
  align-items: center;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: 100px minmax(0, 1fr) 28px;
}

.admin-chart-row span,
.admin-chart-row strong {
  font-size: 0.78rem;
}

.admin-bar {
  background: #ebe4d8;
  border-radius: 999px;
  height: 9px;
  overflow: hidden;
}

.admin-bar i {
  background: var(--forest);
  border-radius: inherit;
  display: block;
  height: 100%;
  width: var(--bar);
}

.admin-month-chart {
  align-items: end;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  min-height: 150px;
}

.admin-month-col {
  align-items: center;
  display: grid;
  gap: 0.35rem;
  justify-items: center;
}

.admin-month-col div {
  align-items: end;
  background: #ebe4d8;
  border-radius: 999px 999px 4px 4px;
  display: flex;
  height: 100px;
  overflow: hidden;
  width: 26px;
}

.admin-month-col i {
  background: var(--forest);
  border-radius: inherit;
  display: block;
  height: var(--bar);
  width: 100%;
}

.admin-month-col strong,
.admin-month-col span {
  font-size: 0.76rem;
}

.admin-order-toolbar {
  align-items: end;
  display: grid;
  gap: 0.65rem;
  grid-template-columns: minmax(260px, 1fr) 200px auto auto;
}

.admin-order-toolbar label,
.admin-order-detail-card label {
  color: #35322c;
  display: grid;
  font-size: 0.78rem;
  font-weight: 900;
  gap: 0.35rem;
}

.admin-order-toolbar input,
.admin-order-toolbar select,
.admin-order-detail-card select,
.admin-order-detail-card textarea {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  min-height: 42px;
  outline: none;
  padding: 0.7rem 0.8rem;
  width: 100%;
}

.admin-order-detail-card textarea {
  resize: vertical;
}

.admin-order-workspace {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 340px minmax(0, 1fr);
  min-height: 540px;
}

.admin-order-list {
  align-content: start;
  display: grid;
  gap: 0.55rem;
  max-height: 540px;
  overflow: auto;
}

.admin-order-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  display: grid;
  gap: 0.35rem;
  padding: 0.75rem;
  text-align: left;
}

.admin-order-row.is-active,
.admin-order-row:hover,
.admin-order-row:focus-visible {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(7, 53, 31, 0.08);
}

.order-status-pill {
  align-self: start;
  background: #ede5d6;
  border-radius: 999px;
  color: var(--forest);
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 900;
  justify-self: start;
  padding: 0.25rem 0.55rem;
  text-transform: uppercase;
}

.status-respondido,
.status-aprovado {
  background: #e7efe4;
}

.status-producao {
  background: #ece6d3;
  color: #75601a;
}

.status-pronto,
.status-entregue {
  background: #dfeadd;
  color: #24522d;
}

.status-cancelado {
  background: #f3dfdc;
  color: #7a231d;
}

.admin-order-empty {
  background: #f8f5ef;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  padding: 1rem;
}

.admin-order-detail-card {
  display: grid;
  gap: 0.9rem;
  padding: 0.9rem;
}

.admin-order-detail-head,
.admin-order-actions,
.admin-quick-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: space-between;
}

.admin-order-detail-head > label {
  min-width: min(100%, 220px);
}

.admin-order-customer {
  display: grid;
  gap: 0.65rem;
  grid-template-columns: 1.1fr 1.3fr 0.85fr;
}

.admin-order-customer article,
.admin-order-items article,
.admin-order-timeline div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 0.25rem;
  padding: 0.7rem;
}

.admin-customer-note {
  background: #fff8e8;
  border: 1px solid #ead8a7;
  border-radius: var(--radius);
  line-height: 1.45;
  margin: 0;
  padding: 0.75rem;
}

.admin-order-items,
.admin-order-timeline {
  display: grid;
  gap: 0.55rem;
}

.admin-order-actions {
  justify-content: flex-start;
}

.admin-order-actions .outline-link {
  min-height: 42px;
}

.admin-quick-actions {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  justify-content: flex-start;
  padding: 0.55rem;
}

.admin-quick-actions button {
  background: #f4f1eb;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--forest);
  font-weight: 900;
  min-height: 34px;
  padding: 0 0.75rem;
}

.admin-quick-actions button.danger {
  color: #7a231d;
}

.admin-order-timeline p {
  margin: 0;
}

.admin-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  min-height: 0;
}

.admin-list {
  background: #f4f1eb;
  border-right: 1px solid var(--line);
  display: grid;
  gap: 0.45rem;
  max-height: calc(90vh - 102px);
  overflow: auto;
  padding: 0.8rem;
}

.admin-product-row {
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: var(--ink);
  display: flex;
  gap: 0.7rem;
  justify-content: space-between;
  padding: 0.75rem;
  text-align: left;
}

.admin-product-row.is-active,
.admin-product-row:hover,
.admin-product-row:focus-visible {
  border-color: var(--forest);
}

.admin-product-row strong,
.admin-product-row small {
  display: block;
}

.admin-product-row small {
  color: var(--muted);
  line-height: 1.35;
  margin-top: 0.2rem;
}

.admin-product-row em {
  color: #7a231d;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-editor {
  max-height: calc(90vh - 102px);
  overflow: auto;
  padding: 1rem;
}

.admin-product-form {
  display: grid;
  gap: 1rem;
}

.admin-form-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-form-grid label,
.admin-login-card label {
  color: #35322c;
  display: grid;
  font-size: 0.82rem;
  font-weight: 800;
  gap: 0.4rem;
}

.admin-form-grid input,
.admin-form-grid textarea,
.admin-login-card input,
.chat-form textarea {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  min-height: 44px;
  outline: none;
  padding: 0.75rem 0.9rem;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
  width: 100%;
}

.admin-form-grid input:focus,
.admin-form-grid textarea:focus,
.admin-login-card input:focus,
.chat-form textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(7, 53, 31, 0.1);
}

.admin-full {
  grid-column: 1 / -1;
}

.admin-checks {
  align-content: start;
  display: grid;
  gap: 0.6rem;
}

.admin-image-preview {
  align-items: center;
  background: #f4f1eb;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: flex;
  gap: 0.85rem;
  padding: 0.65rem;
}

.admin-image-preview img {
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  height: 72px;
  object-fit: cover;
  width: 72px;
}

.admin-image-preview span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.check-row {
  align-items: center;
  display: flex !important;
  gap: 0.55rem !important;
}

.check-row input {
  height: 18px;
  min-height: 0;
  width: 18px;
}

.admin-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.chat-widget {
  bottom: 1.2rem;
  display: grid;
  justify-items: end;
  position: fixed;
  right: 1.2rem;
  z-index: 110;
}

.chat-toggle {
  background: var(--forest);
  border: 1px solid rgba(255, 250, 241, 0.26);
  border-radius: 999px;
  box-shadow: var(--soft-shadow);
  color: #fffaf1;
  font-weight: 900;
  min-height: 50px;
  padding: 0 1.1rem;
}

.chat-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  bottom: 4.2rem;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-rows: auto minmax(170px, 1fr) auto auto;
  max-height: min(76vh, 640px);
  overflow: hidden;
  position: absolute;
  right: 0;
  width: min(92vw, 390px);
}

.chat-header {
  align-items: center;
  background: #f4f1eb;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 0.85rem;
}

.chat-header-actions {
  align-items: center;
  display: flex;
  gap: 0.45rem;
}

.chat-header-actions .text-button {
  font-size: 0.78rem;
  min-height: 34px;
}

.chat-header strong,
.chat-header span {
  display: block;
}

.chat-header span {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 0.15rem;
}

.chat-messages {
  display: grid;
  gap: 0.55rem;
  max-height: 310px;
  overflow: auto;
  padding: 0.85rem;
}

.chat-message {
  display: flex;
}

.chat-message span {
  border-radius: 14px;
  line-height: 1.45;
  max-width: 84%;
  padding: 0.7rem 0.8rem;
}

.chat-message.assistant {
  justify-content: flex-start;
}

.chat-message.assistant span {
  background: #f4f1eb;
  color: var(--ink);
}

.chat-message.user {
  justify-content: flex-end;
}

.chat-message.user span {
  background: var(--forest);
  color: #fffaf1;
}

.chat-suggestions {
  border-top: 1px solid var(--line);
  display: flex;
  gap: 0.45rem;
  overflow: auto;
  padding: 0.65rem 0.85rem;
}

.chat-suggestions button {
  background: #f4f1eb;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--forest);
  flex: 0 0 auto;
  font-size: 0.78rem;
  font-weight: 900;
  min-height: 32px;
  padding: 0 0.7rem;
}

.chat-form {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.55rem;
  padding: 0.85rem;
}

.chat-form label {
  color: #35322c;
  display: grid;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 0.35rem;
}

.chat-form textarea {
  min-height: 76px;
  resize: none;
}

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

.chat-form-footer span {
  color: var(--muted);
  font-size: 0.78rem;
}

.chat-form-footer span.is-over {
  color: #7a231d;
}

.product-detail {
  background: var(--surface);
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(280px, 0.9fr);
  max-width: min(94vw, 1060px);
}

.product-detail-media {
  background: var(--sand);
  min-height: 520px;
}

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

.product-detail-copy {
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  position: relative;
}

.product-detail-copy p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}

.detail-price {
  display: grid;
  gap: 0.25rem;
}

.detail-price strong {
  font-size: 1.6rem;
}

.detail-price span {
  color: var(--muted);
}

.product-options {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-option.notes-option {
  grid-column: 1 / -1;
}

.spec-list {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 1rem 0 0;
}

.spec-list div {
  display: flex;
  gap: 0.7rem;
  justify-content: space-between;
}

.spec-list dt {
  color: var(--muted);
}

.spec-list dd {
  font-weight: 800;
  margin: 0;
  text-align: right;
}

.info-card {
  background: var(--surface);
  display: grid;
  gap: 1rem;
  min-width: min(92vw, 480px);
  padding: 1.5rem;
  position: relative;
}

.toast {
  background: var(--ink);
  border-radius: var(--radius);
  bottom: 1.3rem;
  box-shadow: var(--soft-shadow);
  color: #fffaf1;
  left: 50%;
  max-width: min(92vw, 520px);
  opacity: 0;
  padding: 0.9rem 1rem;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 1rem);
  transition:
    opacity 180ms ease,
    transform 180ms ease;
  z-index: 120;
}

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

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

  .menu-button {
    display: inline-flex;
  }

  .product-grid,
  .featured-grid,
  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .showcase-copy {
    max-width: 760px;
    padding: 0 3vw;
  }

  .showcase-media {
    margin-right: 3vw;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-order-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .admin-list {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 1fr);
    max-height: 180px;
    overflow: auto;
  }

  .admin-editor {
    max-height: calc(90vh - 270px);
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 72px;
  }

  .topbar {
    justify-content: flex-start;
    overflow: auto;
    white-space: nowrap;
  }

  .site-header {
    padding: 0 1rem;
  }

  .brand-name {
    font-size: 1.32rem;
  }

  .brand-symbol {
    height: 46px;
    width: 46px;
  }

  .brand-subtitle {
    font-size: 0.55rem;
  }

  .header-actions .ghost-button,
  .header-actions > .primary-button {
    display: none;
  }

  .hero {
    min-height: 620px;
  }

  .hero-content {
    padding: 5.3rem 1rem 3rem;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 16vw, 4.8rem);
  }

  .trust-strip,
  .product-grid,
  .featured-grid,
  .process-grid,
  .catalog-tools,
  .site-footer,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    padding: 1rem;
  }

  .section-shell {
    padding: 3rem 1rem;
  }

  .section-heading,
  .account-card,
  .history-card {
    align-items: start;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .section-heading {
    display: grid;
  }

  .filter-row {
    justify-content: flex-start;
  }

  .catalog-refinements {
    align-items: stretch;
    justify-content: flex-start;
  }

  .status-row {
    width: 100%;
  }

  .sort-field {
    align-items: start;
    display: grid;
    width: 100%;
  }

  .sort-field select {
    width: 100%;
  }

  .featured-card {
    grid-template-columns: 40% 1fr;
    min-height: 168px;
  }

  .product-grid {
    gap: 1rem;
  }

  .product-card picture,
  .product-card .product-image {
    aspect-ratio: 1.45 / 1;
  }

  .showcase {
    gap: 2rem;
  }

  .showcase-media {
    margin: 0;
  }

  .brand-showcase-media {
    min-height: 300px;
    padding: 2rem 1rem;
  }

  .brand-showcase-media img {
    max-width: min(280px, 78vw);
  }

  .account-card {
    display: grid;
  }

  .account-actions,
  .showcase-actions,
  .hero-actions,
  .modal-actions {
    width: 100%;
  }

  .account-actions > *,
  .showcase-actions > *,
  .hero-actions > *,
  .modal-actions > * {
    flex: 1 1 220px;
  }

  .status-track {
    min-width: 0;
    overflow: auto;
    width: 100%;
  }

  .product-detail-media {
    min-height: 280px;
  }

  .product-options {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 2.5rem 1rem 2rem;
  }

  .admin-panel {
    min-width: 96vw;
  }

  .admin-metrics,
  .admin-analytics-grid,
  .admin-order-toolbar,
  .admin-order-workspace,
  .admin-order-customer {
    grid-template-columns: 1fr;
  }

  .admin-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-order-list {
    max-height: 320px;
  }

  .admin-orders-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-header {
    align-items: start;
    display: grid;
  }

  .admin-header-actions {
    justify-content: flex-start;
  }

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

  .admin-editor {
    max-height: calc(90vh - 330px);
    padding: 0.8rem;
  }

  .chat-widget {
    bottom: 0.85rem;
    right: 0.85rem;
  }

  .chat-panel {
    bottom: 4rem;
    width: min(94vw, 380px);
  }
}

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