:root {
  --ivory: #fbf8f2;
  --warm: #e9ddcf;
  --gold: #b99a62;
  --gold-light: #d8c29d;
  --coffee: #241b17;
  --black: #151515;
  --rose: #e6c1bf;
  --white: #ffffff;
  --ink: #241b17;
  --muted: #746761;
  --line: rgba(36, 27, 23, 0.12);
  --shadow: 0 18px 60px rgba(36, 27, 23, 0.12);
  --radius: 8px;
  --admin-bg: #f8f2ea;
  --admin-surface: #fffdf9;
  --admin-soft: #fbf6ee;
  --admin-line: rgba(36, 27, 23, 0.14);
  --admin-ink: #241b17;
  --admin-muted: #746761;
  --admin-accent: #7a3f24;
  --admin-accent-2: #b99a62;
  --admin-success: #0f7a4f;
  --admin-warning: #9a6b12;
  --admin-danger: #a01c2c;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.6), transparent 34%),
    radial-gradient(circle at 12% 8%, rgba(230, 193, 191, 0.28), transparent 30%),
    radial-gradient(circle at 92% 16%, rgba(185, 154, 98, 0.18), transparent 24%);
  z-index: -1;
}

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

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

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

button {
  cursor: pointer;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 50;
  background: var(--coffee);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 12px;
}

.announcement {
  background: var(--coffee);
  color: var(--ivory);
  text-align: center;
  padding: 9px 16px;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto auto minmax(320px, 1fr) minmax(220px, 360px) auto auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px clamp(16px, 4vw, 52px);
  background: rgba(251, 248, 242, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 1px;
  min-width: max-content;
  color: var(--coffee);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.brand-mark {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: 0.12em;
}

.desktop-nav {
  display: flex;
  gap: 18px;
  justify-content: center;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 700;
}

.desktop-nav-extra {
  display: contents;
}

.desktop-nav a:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--gold);
}

.header-search {
  position: relative;
}

.header-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.header-search input,
.filters input,
.filters select,
.cart-summary input,
.checkout-form input,
.checkout-form textarea,
.checkout-form select,
.admin-card input,
.admin-card textarea,
.admin-card select,
.shipping-check input,
.toolbar select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  padding: 11px 13px;
  outline: none;
}

.header-search input:focus,
.filters input:focus,
.filters select:focus,
.cart-summary input:focus,
.checkout-form input:focus,
.checkout-form textarea:focus,
.admin-card input:focus,
.admin-card textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(185, 154, 98, 0.18);
}

.product-search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 45;
  display: grid;
  gap: 6px;
  max-height: 360px;
  overflow: auto;
  border: 1px solid rgba(185, 154, 98, 0.28);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.98);
  box-shadow: 0 18px 42px rgba(36, 27, 23, 0.16);
  padding: 8px;
}

.product-search-option {
  width: 100%;
  min-height: 64px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: transparent;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px;
  color: var(--coffee);
  text-align: left;
}

.product-search-option:hover,
.product-search-option:focus-visible {
  border-color: rgba(185, 154, 98, 0.32);
  background: rgba(185, 154, 98, 0.1);
}

.product-search-option img {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff;
  object-fit: contain;
}

.product-search-option span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.product-search-option strong,
.product-search-option small {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.product-search-option small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

.product-search-option em {
  color: var(--gold-dark);
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 900;
  white-space: nowrap;
}

.icon-button,
.ghost-button,
.cart-button,
.primary-button,
.secondary-button,
.filter-button {
  min-height: 42px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--coffee);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  font-weight: 800;
}

.compact {
  min-height: 36px;
  padding: 8px 10px;
  font-size: 0.78rem;
}

.primary-button {
  border-color: var(--coffee);
  background: var(--coffee);
  color: var(--white);
}

.primary-button:hover {
  background: #000;
}

.primary-button:disabled,
.secondary-button:disabled,
.ghost-button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.product-card .primary-button:disabled,
.detail-actions .primary-button:disabled {
  cursor: not-allowed;
}

.secondary-button,
.filter-button {
  background: var(--white);
  border-color: rgba(185, 154, 98, 0.4);
  color: var(--coffee);
}

.wide {
  width: 100%;
}

.cart-button strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  padding: 0;
}

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

.hero {
  position: relative;
  min-height: min(680px, calc(100vh - 70px));
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero picture,
.hero picture::after {
  position: absolute;
  inset: 0;
}

.hero picture {
  z-index: -2;
}

.hero picture::after {
  content: "";
  z-index: 1;
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 248, 242, 0.85), rgba(251, 248, 242, 0.15) 48%, rgba(36, 27, 23, 0.08));
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 450ms ease, transform 3000ms ease;
}

.hero.is-changing img {
  opacity: 0.18;
  transform: scale(1);
}

.hero-content {
  width: min(640px, calc(100% - 32px));
  margin-left: clamp(16px, 6vw, 88px);
  padding: 88px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--serif);
  color: var(--coffee);
  line-height: 0.98;
  letter-spacing: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(3.8rem, 11vw, 8rem);
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  color: var(--coffee);
  font-size: 1rem;
}

.hero-content p:not(.eyebrow) {
  max-width: 520px;
  color: #4e4039;
  font-size: 1.08rem;
}

.hero-actions,
.toolbar,
.card-actions,
.detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.category-strip {
  position: sticky;
  top: 72px;
  z-index: 20;
  display: flex;
  justify-content: flex-end;
  max-width: 100vw;
  gap: 6px;
  overflow-x: auto;
  padding: 7px clamp(16px, 4vw, 48px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(251, 248, 242, 0.88)),
    var(--ivory);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 5px 16px rgba(36, 27, 23, 0.035);
  backdrop-filter: blur(10px);
  scrollbar-width: thin;
}

.category-chip {
  position: relative;
  flex: 0 0 auto;
  min-width: 0;
  max-width: 154px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 236, 225, 0.8)),
    var(--white);
  color: var(--coffee);
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 7px;
  padding: 5px 10px 5px 5px;
  font-size: 0.76rem;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(36, 27, 23, 0.035);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.category-chip::after {
  content: "";
  position: absolute;
  inset: auto 9px 5px 39px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(185, 154, 98, 0.9), rgba(185, 154, 98, 0));
  opacity: 0;
  transition: opacity 160ms ease;
}

.category-chip img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.category-chip span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  overflow-wrap: normal;
  word-break: normal;
  line-height: 1.1;
}

.category-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(185, 154, 98, 0.58);
  box-shadow: 0 10px 24px rgba(36, 27, 23, 0.08);
}

.category-chip.is-active {
  border-color: var(--coffee);
  background:
    linear-gradient(135deg, rgba(104, 24, 25, 0.98), rgba(36, 27, 23, 0.94)),
    var(--coffee);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(104, 24, 25, 0.16);
}

.category-chip.is-active::after {
  opacity: 1;
}

.category-chip.is-active img {
  outline: 2px solid rgba(216, 194, 157, 0.86);
  outline-offset: -2px;
}

.quick-benefits,
.brand-signature,
.compact-collections,
.collection-row,
.shop-section,
.editorial-band,
.split-campaigns,
.olfactive-section,
.instagram-section,
.content-page,
.checkout-page,
.site-footer {
  width: min(1480px, calc(100% - 32px));
  margin: 0 auto;
}

.quick-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 32px 0 18px;
}

.quick-benefits article,
.filters,
.product-card,
.content-page,
.checkout-page,
.cart-panel,
.product-dialog,
.admin-card,
.order-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 30px rgba(36, 27, 23, 0.05);
}

.quick-benefits article {
  padding: 18px;
}

.quick-benefits strong {
  display: block;
  color: var(--coffee);
}

.quick-benefits span,
.filters,
.product-info p,
.product-info small,
.content-page p,
.site-footer p,
.fine-print {
  color: var(--muted);
}

.field-help {
  display: block;
  margin-top: 8px;
  color: var(--admin-muted, var(--muted));
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.45;
}

.brand-signature {
  position: relative;
  width: 100%;
  max-width: none;
  min-height: 540px;
  display: grid;
  align-items: center;
  overflow: hidden;
  margin-top: 28px;
  margin-bottom: 18px;
  isolation: isolate;
}

.brand-signature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(36, 27, 23, 0.9), rgba(36, 27, 23, 0.54) 44%, rgba(36, 27, 23, 0.16)),
    linear-gradient(0deg, rgba(185, 154, 98, 0.14), rgba(185, 154, 98, 0.14));
}

.signature-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.06) contrast(1.02);
}

.signature-copy {
  width: min(590px, calc(100% - 32px));
  margin-left: clamp(16px, 7vw, 108px);
  padding: 76px 0;
  color: var(--white);
}

.signature-copy h2,
.signature-copy .eyebrow {
  color: var(--white);
}

.signature-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.02rem;
}

.signature-card {
  position: absolute;
  right: clamp(20px, 8vw, 128px);
  bottom: 34px;
  width: min(260px, 28vw);
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.editorial-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: clamp(18px, 4vw, 54px);
  align-items: center;
  padding: clamp(36px, 7vw, 92px) 0;
}

.collection-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 0 0 28px;
}

.collection-row article {
  min-height: 270px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(233, 221, 207, 0.64)),
    var(--white);
  display: grid;
  align-content: end;
  justify-items: start;
  padding: clamp(20px, 4vw, 34px);
  overflow: hidden;
}

.collection-row article:nth-child(2) {
  background:
    linear-gradient(135deg, rgba(17, 19, 24, 0.82), rgba(17, 19, 24, 0.46)),
    url("images/joias-douradas.jpg") center / cover;
}

.collection-row article:nth-child(2) h2,
.collection-row article:nth-child(2) .eyebrow {
  color: var(--white);
}

.editorial-band img,
.split-campaigns img,
.insta-grid img {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.editorial-band img {
  aspect-ratio: 1 / 1;
}

.text-link {
  color: var(--coffee);
  font-weight: 900;
  border-bottom: 1px solid var(--gold);
}

.compact-collections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 0 8px;
}

.compact-collections article {
  min-height: 132px;
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  padding: 12px;
  overflow: hidden;
}

.compact-collections img {
  grid-row: 1 / 4;
  width: 104px;
  height: 108px;
  border-radius: var(--radius);
  object-fit: cover;
}

.compact-collections .eyebrow {
  margin-bottom: 4px;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
}

.compact-collections h2 {
  margin: 0 0 8px;
  font-size: clamp(1.18rem, 1.8vw, 1.62rem);
  line-height: 1.02;
}

.compact-collections .secondary-button {
  justify-self: start;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
}

.shop-section {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(38px, 5vw, 66px) clamp(16px, 4vw, 52px) clamp(48px, 6vw, 78px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), rgba(251, 248, 242, 0.9) 42%, rgba(244, 236, 225, 0.48)),
    var(--ivory);
}

.shop-section .section-heading {
  width: min(1760px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 188px;
  column-gap: clamp(24px, 4vw, 58px);
  align-items: end;
  margin: 0 auto 30px;
}

.shop-section .section-heading > div:first-child {
  max-width: 1120px;
}

.shop-section .section-heading h2 {
  max-width: 1120px;
  margin-bottom: 0;
  font-size: clamp(2.4rem, 3.35vw, 4.15rem);
  line-height: 0.98;
  text-wrap: balance;
}

.shop-section .toolbar {
  width: 188px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  justify-self: end;
  align-self: end;
}

.shop-section .toolbar .filter-button {
  display: none;
}

.shop-section .toolbar select {
  width: 100%;
}

.shop-layout {
  width: min(1760px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  gap: clamp(18px, 2vw, 28px);
  align-items: start;
}

.filters {
  position: sticky;
  top: 166px;
  display: grid;
  gap: 14px;
  padding: 18px;
}

.catalog-area {
  min-width: 0;
}

.filters label,
.cart-summary label,
.checkout-form label,
.admin-card label,
.shipping-check {
  display: grid;
  gap: 7px;
  color: var(--coffee);
  font-size: 0.8rem;
  font-weight: 900;
}

.checkbox-line {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.checkbox-line input {
  width: 18px;
  min-height: 18px;
}

.shipping-options {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.shipping-option {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
}

.shipping-option input {
  width: 18px;
  min-height: 18px;
}

.shipping-option span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.shipping-option strong,
.shipping-option b {
  font-size: 0.9rem;
  color: var(--coffee);
}

.shipping-option small {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.shipping-option.is-selected {
  border-color: var(--gold);
  background: rgba(185, 154, 98, 0.12);
}

.shipping-option.is-disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.filter-close {
  display: none;
}

.catalog-status {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

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

.product-card {
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.wishlist {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--coffee);
  font-size: 1.2rem;
}

.wishlist.is-active {
  background: var(--coffee);
  color: var(--white);
}

.product-media {
  position: relative;
  width: 100%;
  border: 0;
  padding: 0;
  background: #fff;
  display: block;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  aspect-ratio: 1 / 1.04;
  object-fit: contain;
  transition: transform 220ms ease;
}

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

.product-media span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(36, 27, 23, 0.78);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 900;
}

.product-info {
  display: grid;
  gap: 7px;
  padding: 13px;
}

.product-info p {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.product-info button[data-product-open] {
  min-height: 42px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--coffee);
  display: -webkit-box;
  overflow: hidden;
  text-align: left;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.22;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-info small {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.price-row del {
  color: #9a8c83;
  font-size: 0.82rem;
}

.price-row strong {
  color: var(--coffee);
  font-size: 1.12rem;
}

.pix-row {
  color: #0f7a4f;
  font-size: 0.83rem;
  font-weight: 900;
}

.installment {
  color: var(--muted);
  font-size: 0.78rem;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.split-campaigns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 30px 0;
}

.split-campaigns article {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--white);
}

.split-campaigns img {
  height: 100%;
  position: absolute;
  inset: 0;
}

.split-campaigns article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(36, 27, 23, 0.78));
}

.split-campaigns article > div {
  position: absolute;
  inset-inline: 26px;
  bottom: 24px;
  z-index: 1;
}

.split-campaigns h2,
.split-campaigns .eyebrow,
.split-campaigns .text-link {
  color: var(--white);
}

.custom-section {
  width: min(1480px, calc(100% - 32px));
  margin: 28px auto;
}

.custom-section-feature {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(16px, 4vw, 44px);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  padding: clamp(14px, 3vw, 24px);
}

.custom-section-feature > img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.custom-section-feature > div {
  max-width: 680px;
}

.custom-section-feature p:not(.eyebrow),
.custom-section-cards p {
  color: var(--muted);
}

.custom-section-banner {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--white);
  isolation: isolate;
}

.custom-section-banner > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-section-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(36, 27, 23, 0.82), rgba(36, 27, 23, 0.34));
}

.custom-section-banner > div {
  width: min(640px, calc(100% - 32px));
  padding: clamp(44px, 8vw, 94px) 0;
  margin-left: clamp(16px, 6vw, 86px);
}

.custom-section-banner h2,
.custom-section-banner .eyebrow {
  color: var(--white);
}

.custom-section-banner p {
  color: rgba(255, 255, 255, 0.86);
}

.custom-section-cards > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.custom-section-cards article {
  display: grid;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  overflow: hidden;
}

.custom-section-cards img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.custom-section-cards article > div {
  display: grid;
  gap: 8px;
  padding: 16px;
}

.olfactive-section,
.instagram-section {
  padding: 38px 0;
}

.olfactive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.olfactive-grid button {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(233, 221, 207, 0.52)),
    var(--white);
  color: var(--coffee);
  padding: 20px;
  text-align: left;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
}

.olfactive-grid span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.84rem;
  font-weight: 800;
}

.insta-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 10px;
}

.insta-grid img {
  aspect-ratio: 1 / 1;
}

.insta-grid img:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
  height: 100%;
}

.content-page,
.checkout-page {
  margin-top: 28px;
  margin-bottom: 28px;
  padding: clamp(22px, 4vw, 42px);
}

.faq-list {
  display: grid;
  gap: 10px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.64);
}

summary {
  cursor: pointer;
  font-weight: 900;
}

.contact-grid,
.policy-grid,
.account-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.policy-grid {
  grid-template-columns: repeat(4, 1fr);
}

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

.contact-card,
.policy-grid article,
.account-grid form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--white);
}

.contact-card span,
.policy-grid p {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.checkout-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
  gap: 22px;
  align-items: start;
}

.checkout-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 16px;
}

.checkout-steps span {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
}

.checkout-steps .is-done {
  border-color: rgba(15, 122, 79, 0.3);
  color: #0f7a4f;
}

.checkout-steps .is-active {
  border-color: var(--coffee);
  background: var(--coffee);
  color: var(--white);
}

.checkout-form fieldset {
  grid-column: 1;
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.checkout-form fieldset + fieldset {
  margin-top: 18px;
}

.checkout-form legend {
  padding: 0 8px;
  color: var(--coffee);
  font-weight: 900;
}

.step-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.choice-grid.two-cols {
  grid-template-columns: repeat(2, 1fr);
}

.choice-grid label {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px;
}

.checkout-summary {
  grid-column: 2;
  grid-row: 1 / span 3;
  position: sticky;
  top: 146px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 18px;
}

.checkout-summary p[data-checkout-items],
.checkout-summary p {
  color: var(--muted);
}

dl {
  display: grid;
  gap: 8px;
  margin: 16px 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  color: var(--coffee);
  font-weight: 900;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 60;
  width: 100vw;
  overflow: hidden;
  pointer-events: none;
  background: rgba(36, 27, 23, 0);
  transition: background 160ms ease;
}

.cart-drawer[aria-hidden="false"] {
  display: block;
  pointer-events: auto;
  background: rgba(36, 27, 23, 0.34);
}

.cart-panel {
  position: absolute;
  right: 0;
  top: 0;
  width: min(440px, 100%);
  height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 22px;
  background: var(--ivory);
  transform: translateX(100%);
  transition: transform 200ms ease;
}

.cart-drawer[aria-hidden="false"] .cart-panel {
  transform: translateX(0);
}

.cart-panel header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.cart-panel header h2 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 2.4vw, 2.35rem);
  line-height: 1;
  white-space: nowrap;
}

.cart-header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex: 0 0 auto;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow-y: auto;
  padding: 12px 0;
}

.cart-line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 10px;
}

.cart-line img {
  width: 72px;
  height: 72px;
  border-radius: var(--radius);
  object-fit: contain;
  background: #fff;
}

.cart-line span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.cart-line .free-shipping-note {
  color: #0f7a4f;
  font-weight: 900;
}

.stock-note {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: rgba(15, 122, 79, 0.08);
  color: #0f7a4f;
  padding: 5px 8px;
  font-size: 0.76rem;
  font-weight: 900;
}

.stock-note.is-empty {
  background: rgba(164, 49, 52, 0.08);
  color: var(--red);
}

.qty-controls {
  display: inline-grid;
  grid-template-columns: 30px 30px 30px;
  align-items: center;
  margin-top: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.qty-controls button {
  height: 30px;
  border: 0;
  background: var(--white);
}

.qty-controls b {
  text-align: center;
}

.cart-empty {
  display: grid;
  place-items: center;
  color: var(--muted);
}

.product-dialog {
  width: min(980px, calc(100% - 24px));
  border: 0;
  padding: 0;
  background: var(--white);
}

.product-dialog::backdrop {
  background: rgba(36, 27, 23, 0.48);
}

.dialog-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
}

.product-detail {
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: 22px;
  padding: 24px;
}

.detail-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  border-radius: var(--radius);
}

.detail-info {
  display: grid;
  align-content: start;
  gap: 14px;
  padding-right: 34px;
}

.detail-price {
  display: grid;
  gap: 4px;
}

.detail-price strong {
  color: var(--coffee);
  font-size: 1.8rem;
}

.detail-price span {
  color: #0f7a4f;
  font-weight: 900;
}

.notes-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--ivory);
}

.notes-box p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
}

.notes-box span,
.status-pill {
  border: 1px solid rgba(185, 154, 98, 0.35);
  border-radius: 999px;
  background: rgba(216, 194, 157, 0.18);
  padding: 6px 9px;
  color: var(--coffee);
  font-size: 0.78rem;
  font-weight: 900;
}

.notes-box:has(p:empty) {
  display: none;
}

.timeline {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.timeline li {
  color: var(--muted);
}

.timeline .done {
  color: #0f7a4f;
  font-weight: 900;
}

.mobile-menu {
  position: fixed;
  inset: 0 auto 0 0;
  display: none;
  z-index: 70;
  width: min(310px, 86vw);
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 22px;
  border-right: 1px solid var(--line);
  background: var(--ivory);
  transform: translateX(-100%);
  transition: transform 190ms ease;
}

.mobile-menu[aria-hidden="false"] {
  display: grid;
  transform: translateX(0);
}

.mobile-menu a {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  font-weight: 900;
}

.mobile-custom-nav {
  display: grid;
}

.close-menu {
  justify-self: end;
}

.mobile-bottom-nav {
  display: none;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 28px;
  padding: 42px 0 92px;
  border-top: 1px solid var(--line);
}

.site-footer h3 {
  margin-bottom: 10px;
}

.site-footer a {
  display: block;
  color: var(--muted);
  padding: 5px 0;
  font-weight: 800;
}

.site-footer .developer-credit {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 16px;
  color: var(--muted);
  font-size: 0.86rem;
  text-align: right;
}

.site-footer .developer-credit a {
  display: inline;
  color: var(--coffee);
  padding: 0;
  font-weight: 900;
}

.footer-link {
  display: block;
  min-height: auto;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  padding: 5px 0;
  font-weight: 800;
  text-align: left;
}

.footer-benefits {
  padding-top: 18px;
  padding-bottom: 42px;
}

.help-button {
  justify-self: start;
  width: max-content;
  max-width: 112px;
  min-height: 34px;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  padding: 6px 8px;
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.help-button:hover {
  border-color: rgba(185, 154, 98, 0.34);
  background: rgba(255, 255, 255, 0.62);
  color: var(--coffee);
}

.info-dialog {
  width: min(760px, calc(100% - 24px));
  border: 0;
  border-radius: var(--radius);
  padding: 0;
  background: var(--white);
  box-shadow: var(--shadow);
}

.info-dialog::backdrop {
  background: rgba(36, 27, 23, 0.45);
}

.info-dialog-content {
  padding: clamp(22px, 4vw, 38px);
}

.client-area form {
  display: grid;
  gap: 12px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(233, 221, 207, 0.34)),
    var(--white);
}

.client-session {
  margin-top: 14px;
}

.client-card {
  border: 1px solid rgba(185, 154, 98, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  padding: 18px;
}

.simple-header {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.about-hero,
.about-grid {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.about-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1fr);
  gap: clamp(22px, 5vw, 70px);
  align-items: center;
  padding: clamp(38px, 8vw, 110px) 0 44px;
}

.about-hero img {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-bottom: 50px;
}

.about-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  padding: 22px;
}

.admin-body {
  min-height: 100vh;
  background:
    linear-gradient(120deg, rgba(17, 19, 24, 0.72), rgba(17, 19, 24, 0.32) 42%, rgba(247, 245, 242, 0.88)),
    url("images/jesilveira-hero.jpg") center / cover fixed;
}

.admin-body.is-admin-authenticated {
  background: var(--admin-bg);
  color: var(--admin-ink);
}

.admin-body::before {
  display: none;
}

[data-admin-authenticated-only] {
  display: none;
}

.admin-body.is-admin-authenticated [data-admin-authenticated-only] {
  display: block;
}

.admin-body.is-admin-authenticated button[data-admin-authenticated-only] {
  display: inline-flex;
}

.admin-shell {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  min-height: 100vh;
}

.admin-body.is-admin-authenticated .admin-shell {
  grid-template-columns: 260px minmax(0, 1fr);
  background: var(--admin-bg);
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid var(--admin-line);
  background: var(--admin-surface);
  padding: 18px 14px;
  box-shadow: none;
}

.admin-sidebar nav {
  display: grid;
  gap: 4px;
  margin-top: 22px;
}

.admin-body.is-admin-authenticated .admin-sidebar .brand {
  display: grid;
  gap: 0;
  border-bottom: 1px solid var(--admin-line);
  padding: 0 6px 16px;
  color: var(--admin-ink);
}

.admin-body.is-admin-authenticated .admin-sidebar .brand .brand-mark {
  color: var(--admin-ink);
  font-size: 1.7rem;
  line-height: 1;
}

.admin-body.is-admin-authenticated .admin-sidebar .brand span:last-child {
  color: var(--admin-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.admin-sidebar a:not(.brand),
.admin-sidebar button {
  min-height: 38px;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--admin-muted);
  padding: 9px 11px;
  font-size: 0.88rem;
  font-weight: 800;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.admin-nav-count {
  display: none;
  min-width: 24px;
  border: 1px solid rgba(47, 111, 115, 0.16);
  border-radius: 999px;
  background: #edf7f7;
  color: var(--admin-accent);
  padding: 2px 7px;
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  pointer-events: none;
}

.admin-nav-count:not(:empty) {
  display: inline-flex;
  justify-content: center;
}

.admin-sidebar a:not(.brand):hover,
.admin-sidebar button:hover {
  background: #edf3f4;
  color: var(--admin-ink);
  transform: none;
}

.admin-sidebar a.is-active,
.admin-sidebar button.is-active {
  border-left-color: var(--admin-accent);
  background: #e8f3f3;
  color: var(--admin-accent);
}

.admin-content {
  width: min(1280px, calc(100% - 32px));
  min-width: 0;
  margin: 0 auto;
  padding: 28px 0 60px;
}

.admin-body.is-admin-authenticated .admin-content {
  width: calc(100% - 20px);
  max-width: none;
  margin-inline: 10px;
  padding-top: 0;
}

.admin-body:not(.is-admin-authenticated) .admin-content {
  width: min(1160px, calc(100% - 32px));
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(360px, 520px);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  min-height: 100vh;
  padding: clamp(22px, 4vw, 54px) 0;
}

.admin-body:not(.is-admin-authenticated) .admin-content::before {
  content: "Curadoria, pedidos e vitrine em um painel reservado para a equipe Je Silveira.";
  max-width: 580px;
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  font-weight: 700;
  line-height: 0.96;
  text-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
}

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

.admin-body.is-admin-authenticated .admin-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 72px;
  margin: 0 -16px 18px;
  border-bottom: 1px solid rgba(31, 41, 51, 0.08);
  background: rgba(244, 246, 248, 0.92);
  padding: 14px 16px;
  backdrop-filter: blur(16px);
}

.admin-body.is-admin-authenticated .admin-header h1 {
  color: var(--admin-ink);
  font-family: var(--sans);
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  font-weight: 900;
  letter-spacing: 0;
}

.admin-body.is-admin-authenticated .admin-header .eyebrow {
  margin-bottom: 2px;
  color: var(--admin-muted);
}

.admin-body:not(.is-admin-authenticated) .admin-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  min-height: 78px;
  margin: 0;
  padding: 18px clamp(16px, 4vw, 54px);
  background: linear-gradient(180deg, rgba(36, 27, 23, 0.34), transparent);
}

.admin-body:not(.is-admin-authenticated) .admin-header h1,
.admin-body:not(.is-admin-authenticated) .admin-header .eyebrow {
  color: var(--white);
}

.admin-body:not(.is-admin-authenticated) .admin-header h1 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.admin-header-actions,
.admin-form-actions,
.table-actions,
.image-input-row {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-body.is-admin-authenticated .primary-button,
.admin-body.is-admin-authenticated .secondary-button,
.admin-body.is-admin-authenticated .ghost-button {
  border-color: var(--admin-line);
  box-shadow: none;
  font-size: 0.84rem;
  min-height: 38px;
  border-radius: 10px;
  padding-inline: 14px;
}

.admin-body.is-admin-authenticated .primary-button {
  border-color: var(--admin-accent);
  background: var(--admin-accent);
  color: var(--white);
}

.admin-body.is-admin-authenticated .primary-button:hover {
  background: #245d61;
}

.admin-body.is-admin-authenticated .secondary-button {
  border-color: #cbd5dc;
  background: var(--admin-surface);
  color: var(--admin-ink);
}

.admin-body.is-admin-authenticated .secondary-button:hover,
.admin-body.is-admin-authenticated .ghost-button:hover {
  background: #edf3f4;
  color: var(--admin-ink);
}

.admin-body.is-admin-authenticated .ghost-button {
  background: transparent;
  color: var(--admin-muted);
}

.admin-body.is-admin-authenticated .ghost-button.danger {
  border-color: rgba(160, 28, 44, 0.22);
  color: var(--admin-danger);
}

.admin-body.is-admin-authenticated .ghost-button.danger:hover {
  background: #fff1f2;
  color: var(--admin-danger);
}

.admin-header h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.admin-card {
  min-width: 0;
  padding: 20px;
  margin-bottom: 14px;
}

.admin-body.is-admin-authenticated .admin-card {
  border-color: var(--admin-line);
  background: var(--admin-surface);
  box-shadow: 0 1px 2px rgba(31, 41, 51, 0.05), 0 14px 34px rgba(31, 41, 51, 0.04);
}

.admin-auth-card {
  max-width: 560px;
}

.admin-body:not(.is-admin-authenticated) .admin-auth-card {
  width: 100%;
  max-width: 520px;
  justify-self: end;
  margin: 0;
  border-color: rgba(255, 255, 255, 0.42);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(251, 248, 242, 0.84)),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  padding: clamp(22px, 4vw, 34px);
}

.admin-body:not(.is-admin-authenticated) .admin-auth-card h2 {
  font-size: clamp(2.7rem, 5vw, 4.6rem);
}

.admin-auth-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 14px;
  border: 1px solid rgba(185, 154, 98, 0.42);
  border-radius: 999px;
  background: rgba(216, 194, 157, 0.18);
  color: var(--coffee);
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-body.is-admin-authenticated .admin-auth-badge {
  display: none;
}

.admin-body:not(.is-admin-authenticated) .admin-auth-form input {
  min-height: 52px;
  background: rgba(255, 255, 255, 0.96);
}

.admin-body:not(.is-admin-authenticated) .admin-auth-form .primary-button {
  min-height: 52px;
}

.admin-auth-form {
  display: grid;
  gap: 12px;
}

.admin-section {
  display: none;
}

.admin-section.is-active {
  display: block;
}

.compact-heading {
  align-items: center;
  margin-bottom: 16px;
}

.admin-body.is-admin-authenticated .section-heading {
  border-bottom: 1px solid var(--admin-line);
  padding-bottom: 14px;
}

.admin-body.is-admin-authenticated .section-heading h2 {
  color: var(--admin-ink);
  font-family: var(--sans);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 900;
  letter-spacing: 0;
}

.admin-body.is-admin-authenticated .section-heading .eyebrow {
  color: var(--admin-accent);
}

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

.form-grid.three-cols {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-admin-form,
.category-admin-form {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  border: 1px solid var(--admin-line);
  border-radius: var(--radius);
  background: var(--admin-soft);
  padding: 16px;
}

.admin-body.admin-product-editor-open::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(16, 24, 32, 0.46);
  backdrop-filter: blur(4px);
}

.admin-body.admin-product-editor-open .product-admin-form:not([hidden]) {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 80;
  width: min(1340px, calc(100vw - 28px));
  max-height: min(92vh, 920px);
  overflow: auto;
  transform: translate(-50%, -50%);
  margin: 0;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #f8fbfb);
  box-shadow: 0 30px 80px rgba(16, 24, 32, 0.26);
  padding: 18px;
}

.admin-body.admin-product-editor-open .product-admin-form label {
  gap: 7px;
}

.admin-body.admin-product-editor-open .product-admin-form input,
.admin-body.admin-product-editor-open .product-admin-form select,
.admin-body.admin-product-editor-open .product-admin-form textarea,
.category-admin-form input,
.category-admin-form select,
.category-admin-form textarea {
  min-height: 42px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff, #f9fbfc);
}

.admin-modal-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  border-bottom: 1px solid var(--admin-line);
  padding-bottom: 14px;
}

.admin-modal-heading h3 {
  margin: 2px 0 0;
  color: var(--admin-ink);
  font-family: var(--sans);
  font-size: 1.45rem;
  line-height: 1.1;
}

.admin-body.admin-product-editor-open .product-admin-form .admin-form-actions {
  position: sticky;
  bottom: -18px;
  z-index: 2;
  margin: 4px -18px -18px;
  background: linear-gradient(180deg, rgba(248, 251, 251, 0.82), #fff);
  padding: 14px 18px 18px;
}

.product-admin-form .admin-form-actions,
.category-admin-form .admin-form-actions,
.component-admin-form .admin-form-actions,
.media-admin-form .admin-form-actions {
  border-top: 1px solid var(--admin-line);
  padding-top: 12px;
}

.category-admin-panel {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.admin-section[data-admin-section="categorias"] .category-admin-panel {
  margin-bottom: 0;
}

.content-text-editor {
  display: grid;
  gap: 14px;
}

.content-text-group {
  display: grid;
  gap: 12px;
  border: 1px solid var(--admin-line);
  border-radius: var(--radius);
  background: var(--admin-surface);
  padding: 14px;
}

.content-text-group h4 {
  margin: 0;
  color: var(--admin-ink);
  font-size: 0.95rem;
  font-weight: 900;
}

.admin-body.is-admin-authenticated .admin-card label {
  color: var(--admin-ink);
  font-size: 0.82rem;
  font-weight: 850;
}

.admin-body.is-admin-authenticated .admin-card input,
.admin-body.is-admin-authenticated .admin-card textarea,
.admin-body.is-admin-authenticated .admin-card select {
  border-color: var(--admin-line);
  background: var(--admin-surface);
  color: var(--admin-ink);
}

.admin-body.is-admin-authenticated .admin-card input:focus,
.admin-body.is-admin-authenticated .admin-card textarea:focus,
.admin-body.is-admin-authenticated .admin-card select:focus {
  border-color: rgba(47, 111, 115, 0.58);
  box-shadow: 0 0 0 3px rgba(47, 111, 115, 0.12);
}

.media-admin-form,
.component-admin-form {
  display: grid;
  gap: 14px;
}

.media-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.media-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.media-card,
.media-list-card,
.media-list-row {
  display: grid;
  gap: 12px;
  border: 1px solid var(--admin-line);
  border-radius: var(--radius);
  background: var(--admin-surface);
  padding: 12px;
}

.media-card label,
.media-list-row label {
  display: grid;
  gap: 8px;
}

.compact-media-card .admin-image-preview {
  aspect-ratio: 4 / 3;
}

.media-card-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.media-card-actions button,
.media-card-actions .media-upload-button {
  flex: 0 0 auto;
}

.media-upload-button {
  cursor: pointer;
}

.media-upload-button input {
  display: none;
}

.media-list-card-head {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.media-list-card-head h4 {
  margin: 0;
  color: var(--admin-ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 900;
}

.media-list-editor {
  display: grid;
  gap: 10px;
}

.media-list-row {
  grid-template-columns: 104px minmax(0, 1fr);
  align-items: center;
}

.media-list-row img {
  width: 104px;
  aspect-ratio: 1;
  border: 1px solid var(--admin-line);
  border-radius: var(--radius);
  background: var(--admin-soft);
  object-fit: cover;
}

.media-list-row .media-card-actions {
  grid-column: 2;
}

.image-crop-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(16, 24, 32, 0.58);
}

.image-crop-modal[hidden] {
  display: none;
}

.image-crop-panel {
  width: min(1120px, 100%);
  max-height: 92vh;
  overflow: auto;
  border: 1px solid var(--admin-line);
  border-radius: 18px;
  background: var(--admin-surface);
  box-shadow: 0 28px 72px rgba(16, 24, 32, 0.24);
  padding: 18px;
}

.image-crop-panel header,
.image-crop-layout,
.image-crop-controls {
  display: grid;
  gap: 14px;
}

.image-crop-panel header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  margin-bottom: 14px;
}

.image-crop-panel h2 {
  margin: 0;
  color: var(--admin-ink);
  font-family: var(--sans);
  font-size: clamp(1.25rem, 2vw, 1.85rem);
}

.image-crop-layout {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
  align-items: start;
}

.image-crop-stage {
  --crop-ratio: 1 / 1;
  position: relative;
  aspect-ratio: var(--crop-ratio);
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--admin-line);
  border-radius: 14px;
  background:
    linear-gradient(45deg, rgba(31, 41, 51, 0.08) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(31, 41, 51, 0.08) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(31, 41, 51, 0.08) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(31, 41, 51, 0.08) 75%);
  background-position: 0 0, 0 10px, 10px -10px, -10px 0;
  background-size: 20px 20px;
}

.image-crop-stage img {
  position: absolute;
  left: 50%;
  top: 50%;
  max-width: none;
  width: auto;
  height: auto;
  object-fit: contain;
  transform: translate(-50%, -50%);
  transform-origin: center;
  user-select: none;
  pointer-events: none;
}

.image-crop-frame {
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 0 0 1px rgba(31, 41, 51, 0.2);
  pointer-events: none;
}

.image-crop-controls {
  border: 1px solid var(--admin-line);
  border-radius: var(--radius);
  background: var(--admin-soft);
  padding: 14px;
}

.image-crop-controls label {
  display: grid;
  gap: 8px;
  color: var(--admin-ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.image-crop-controls input[type="range"] {
  width: 100%;
}

.image-crop-tools {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.image-crop-size {
  border: 1px solid var(--admin-line);
  border-radius: var(--radius);
  background: var(--admin-surface);
  padding: 10px 12px;
  color: var(--admin-muted);
  font-size: 0.82rem;
  font-weight: 900;
}

.admin-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  max-width: min(420px, calc(100vw - 32px));
  border: 1px solid rgba(47, 111, 115, 0.28);
  border-radius: 16px;
  background: #edf7f7;
  color: var(--admin-accent);
  box-shadow: 0 18px 48px rgba(16, 24, 32, 0.18);
  padding: 13px 16px;
  font-size: 0.9rem;
  font-weight: 900;
}

.admin-toast.is-error {
  border-color: rgba(179, 65, 67, 0.26);
  background: #fff0f0;
  color: #9f2e34;
}

.media-counts {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.media-counts span {
  border: 1px solid rgba(47, 111, 115, 0.18);
  border-radius: 999px;
  background: #edf7f7;
  color: var(--admin-accent);
  padding: 7px 10px;
  font-size: 0.78rem;
  font-weight: 900;
}

.admin-image-preview {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--admin-line);
  border-radius: var(--radius);
  background: var(--admin-soft);
  object-fit: cover;
}

.component-admin-form {
  margin-bottom: 18px;
  border: 1px solid var(--admin-line);
  border-radius: var(--radius);
  background: var(--admin-soft);
  padding: 16px;
}

.image-input-row input[type="text"],
.image-input-row input:not([type]) {
  flex: 1 1 320px;
}

.image-input-row input[type="file"] {
  flex: 1 1 220px;
}

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

.admin-metrics article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--admin-line);
  border-radius: var(--radius);
  background: var(--admin-surface);
  padding: 16px;
}

.admin-metrics article::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--admin-accent), var(--gold));
}

.admin-metrics span {
  display: block;
  color: var(--admin-muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-metrics strong {
  display: block;
  margin-top: 8px;
  color: var(--admin-ink);
  font-family: var(--sans);
  font-size: 1.55rem;
  line-height: 1.1;
}

.admin-split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.admin-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -2px 0 16px;
  border: 1px solid var(--admin-line);
  border-radius: var(--radius);
  background: var(--admin-soft);
  padding: 10px;
}

.admin-control-bar {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) minmax(180px, 0.7fr) minmax(180px, 0.7fr) auto;
  gap: 10px;
  align-items: end;
  margin: -4px 0 16px;
  border: 1px solid var(--admin-line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #f9fbfc, #f4f8fa);
  padding: 10px;
}

.admin-control-bar.compact-controls {
  grid-template-columns: minmax(260px, 1fr) auto;
}

.admin-control-bar label {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
  color: var(--admin-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-control-bar input,
.admin-control-bar select {
  min-height: 42px;
  border-radius: 12px;
  background: var(--admin-surface);
  letter-spacing: 0;
  text-transform: none;
}

.admin-control-count {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: end;
  border: 1px solid rgba(47, 111, 115, 0.18);
  border-radius: var(--radius);
  background: #edf7f7;
  color: var(--admin-accent);
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 900;
  white-space: nowrap;
}

.admin-panel {
  border: 1px solid var(--admin-line);
  border-radius: var(--radius);
  background: var(--admin-surface);
  padding: 16px;
}

.admin-panel h3 {
  margin-bottom: 10px;
  color: var(--admin-ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 900;
}

.mini-list {
  display: grid;
  gap: 8px;
}

.mini-list p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  border-bottom: 1px solid var(--admin-line);
  padding: 8px 0;
}

.mini-list span {
  color: var(--admin-muted);
  font-size: 0.82rem;
  text-align: right;
}

.upload-line {
  margin-top: 14px;
}

.admin-table-wrap {
  border: 1px solid var(--admin-line);
  border-radius: var(--radius);
  background: var(--admin-surface);
  overflow-x: auto;
  box-shadow: 0 10px 26px rgba(31, 41, 51, 0.04);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--admin-line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: middle;
}

.admin-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--admin-soft);
  color: var(--admin-muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.admin-table tbody tr:hover {
  background: #f7fbfc;
}

.admin-section[data-admin-section="produtos"] .admin-table {
  min-width: 1080px;
}

.admin-section[data-admin-section="produtos"] .admin-table th:nth-child(1) {
  width: 45%;
}

.admin-section[data-admin-section="produtos"] .admin-table th:nth-child(2) {
  width: 15%;
}

.admin-section[data-admin-section="produtos"] .admin-table th:nth-child(3) {
  width: 12%;
}

.admin-section[data-admin-section="produtos"] .admin-table th:nth-child(4) {
  width: 18%;
}

.admin-section[data-admin-section="produtos"] .admin-table th:nth-child(5) {
  width: 10%;
}

.admin-section[data-admin-section="produtos"] .table-actions {
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.admin-section[data-admin-section="produtos"] .table-actions .compact {
  min-width: 78px;
  min-height: 34px;
  padding: 8px 10px;
  font-size: 0.78rem;
}

.admin-product-cell {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.admin-product-cell img {
  width: 52px;
  aspect-ratio: 1;
  border: 1px solid var(--admin-line);
  border-radius: var(--radius);
  background: #fff;
  object-fit: contain;
}

.admin-image-empty {
  display: grid;
  width: 52px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px dashed var(--admin-line);
  border-radius: var(--radius);
  background: #f8fbfb;
  color: var(--admin-muted);
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
}

.admin-product-cell strong {
  display: block;
  color: var(--admin-ink);
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.admin-table td span {
  display: block;
  color: var(--admin-muted);
  font-size: 0.78rem;
}

.admin-table td .status-pill,
.admin-body.is-admin-authenticated .status-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-color: rgba(47, 111, 115, 0.2);
  background: #edf7f7;
  color: var(--admin-accent);
  line-height: 1;
}

.admin-body.is-admin-authenticated .status-pill.is-live {
  border-color: rgba(15, 122, 79, 0.22);
  background: #eaf7f0;
  color: var(--admin-success);
}

.admin-body.is-admin-authenticated .status-pill.is-muted {
  border-color: #d7dde3;
  background: #f2f4f6;
  color: var(--admin-muted);
}

.admin-table select,
.admin-table input,
.admin-table textarea,
.delivery-card input {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--admin-line);
  border-radius: var(--radius);
  background: var(--admin-surface);
  color: var(--admin-ink);
  padding: 8px 10px;
  font-weight: 800;
}

.admin-table textarea {
  min-height: 68px;
  resize: vertical;
}

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

.admin-order-card {
  border: 1px solid var(--admin-line);
  border-radius: var(--radius);
  background: var(--admin-surface);
  box-shadow: 0 1px 2px rgba(31, 41, 51, 0.05);
  padding: 18px;
}

.admin-order-card-header {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--admin-line);
}

.admin-order-title {
  min-width: 0;
}

.admin-order-title .eyebrow {
  margin-bottom: 4px;
}

.admin-order-title h3 {
  margin: 0;
  color: var(--admin-ink);
  font-family: var(--sans);
  font-size: clamp(1.1rem, 1.4vw, 1.45rem);
  font-weight: 900;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.admin-order-title span,
.admin-order-panel span,
.admin-order-panel small {
  color: var(--admin-muted);
}

.admin-order-total {
  display: grid;
  gap: 2px;
  text-align: right;
}

.admin-order-total span {
  color: var(--admin-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-order-total strong {
  color: var(--admin-ink);
  font-size: 1.2rem;
}

.admin-order-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-order-grid {
  display: grid;
  grid-template-columns: minmax(190px, 0.85fr) minmax(260px, 1fr) minmax(210px, 0.8fr) minmax(360px, 1.45fr);
  gap: 18px;
  padding-top: 16px;
}

.admin-order-panel {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 8px;
}

.admin-order-panel + .admin-order-panel {
  border-left: 1px solid var(--admin-line);
  padding-left: 18px;
}

.admin-order-panel h4 {
  margin: 0 0 2px;
  color: var(--admin-accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-order-card select,
.admin-order-card input,
.admin-order-card textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--admin-line);
  border-radius: var(--radius);
  background: var(--admin-surface);
  color: var(--admin-ink);
  padding: 9px 11px;
  font-weight: 800;
}

.admin-order-card textarea {
  min-height: 82px;
  resize: vertical;
}

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

.admin-order-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  border-bottom: 1px solid var(--admin-line);
  padding: 7px 0;
}

.admin-order-item:first-of-type {
  padding-top: 0;
}

.admin-order-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-order-item span {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
}

.admin-order-message-box {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  border-top: 1px solid var(--admin-line);
  padding-top: 14px;
}

.admin-order-frenet-box {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
  border-top: 1px solid var(--admin-line);
  padding-top: 14px;
}

.admin-order-frenet-box h4 {
  margin: 0;
  color: var(--admin-accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-order-frenet-box span,
.admin-order-frenet-box small {
  display: block;
  margin-top: 3px;
  color: var(--admin-muted);
}

.admin-order-frenet-box small {
  font-size: 0.8rem;
}

.admin-order-message-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.admin-order-message-head h4 {
  margin: 0;
  color: var(--admin-accent);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-order-message-head span {
  display: block;
  margin-top: 3px;
  color: var(--admin-muted);
  font-size: 0.82rem;
}

.admin-order-message-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.admin-order-message-box textarea {
  width: 100%;
  min-height: 128px;
  border: 1px solid var(--admin-line);
  border-radius: var(--radius);
  background: var(--admin-soft);
  color: var(--admin-ink);
  padding: 11px;
  resize: vertical;
}

.admin-empty-state {
  border: 1px dashed var(--admin-line);
  border-radius: var(--radius);
  background: var(--admin-soft);
  color: var(--admin-muted);
  padding: 26px;
  text-align: center;
  font-weight: 800;
}

.admin-body.is-admin-authenticated {
  background:
    radial-gradient(circle at 4% 0%, rgba(230, 193, 191, 0.2), transparent 30%),
    linear-gradient(180deg, #fffaf3 0%, var(--admin-bg) 42%, #f3eadf 100%);
}

.admin-body.is-admin-authenticated .admin-shell {
  background: transparent;
}

.admin-body.is-admin-authenticated .admin-sidebar {
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(251, 246, 238, 0.92)),
    var(--admin-surface);
  box-shadow: 10px 0 36px rgba(36, 27, 23, 0.06);
}

.admin-body.is-admin-authenticated .admin-sidebar .brand {
  border-bottom-color: rgba(122, 63, 36, 0.14);
}

.admin-nav-count {
  border-color: rgba(185, 154, 98, 0.28);
  background: rgba(185, 154, 98, 0.12);
  color: var(--admin-accent);
}

.admin-sidebar a:not(.brand):hover,
.admin-sidebar button:hover {
  background: rgba(185, 154, 98, 0.12);
}

.admin-sidebar a.is-active,
.admin-sidebar button.is-active {
  border-left-color: var(--admin-accent);
  background: linear-gradient(90deg, rgba(122, 63, 36, 0.16), rgba(185, 154, 98, 0.09));
  color: var(--admin-accent);
}

.admin-body.is-admin-authenticated .admin-header {
  border-bottom-color: rgba(122, 63, 36, 0.14);
  background: rgba(255, 250, 243, 0.9);
  box-shadow: 0 12px 34px rgba(36, 27, 23, 0.05);
}

.admin-body.is-admin-authenticated .primary-button {
  border-color: var(--admin-accent);
  background: linear-gradient(135deg, var(--admin-accent), #a65d37);
  color: #fffaf3;
}

.admin-body.is-admin-authenticated .primary-button:hover {
  background: linear-gradient(135deg, #62311c, var(--admin-accent));
}

.admin-body.is-admin-authenticated .secondary-button {
  border-color: rgba(122, 63, 36, 0.2);
  background: rgba(255, 253, 249, 0.86);
  color: var(--admin-accent);
}

.admin-body.is-admin-authenticated .secondary-button:hover,
.admin-body.is-admin-authenticated .ghost-button:hover {
  background: rgba(185, 154, 98, 0.12);
}

.admin-body.is-admin-authenticated .admin-card,
.admin-panel,
.admin-table-wrap,
.media-card,
.media-list-card,
.media-list-row,
.component-admin-form,
.admin-payment-block {
  border-color: rgba(122, 63, 36, 0.14);
  background: rgba(255, 253, 249, 0.9);
  box-shadow: 0 16px 42px rgba(36, 27, 23, 0.05);
}

.admin-body.is-admin-authenticated .admin-card {
  padding: 18px;
}

.admin-control-bar {
  border-color: rgba(122, 63, 36, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.95), rgba(251, 246, 238, 0.86)),
    var(--admin-surface);
}

.admin-control-count,
.media-counts span {
  border-color: rgba(185, 154, 98, 0.28);
  background: rgba(185, 154, 98, 0.12);
  color: var(--admin-accent);
}

.admin-body.is-admin-authenticated .admin-card label {
  color: var(--admin-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-body.is-admin-authenticated .admin-card input,
.admin-body.is-admin-authenticated .admin-card textarea,
.admin-body.is-admin-authenticated .admin-card select,
.admin-table select,
.admin-table input,
.admin-table textarea,
.delivery-card input {
  border-color: rgba(122, 63, 36, 0.18);
  background: rgba(255, 253, 249, 0.94);
  color: var(--admin-ink);
}

.admin-body.is-admin-authenticated .admin-card input:focus,
.admin-body.is-admin-authenticated .admin-card textarea:focus,
.admin-body.is-admin-authenticated .admin-card select:focus {
  border-color: rgba(122, 63, 36, 0.58);
  box-shadow: 0 0 0 3px rgba(185, 154, 98, 0.18);
}

.admin-body.is-admin-authenticated .admin-card .choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-body.is-admin-authenticated .admin-card label:has(> input[type="checkbox"]) {
  position: relative;
  display: inline-flex !important;
  width: fit-content;
  max-width: 100%;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 7px 44px 7px 50px;
  border: 1px solid rgba(122, 63, 36, 0.16);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.76);
  color: var(--admin-ink);
  box-shadow: 0 8px 18px rgba(36, 27, 23, 0.035);
  cursor: pointer;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.admin-body.is-admin-authenticated .admin-card label:has(> input[type="checkbox"]) > input[type="checkbox"] {
  position: absolute;
  width: 1px !important;
  min-height: 1px !important;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.admin-body.is-admin-authenticated .admin-card label:has(> input[type="checkbox"])::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 32px;
  height: 18px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 9px 50%, #fff 0 5px, transparent 5.8px),
    #cfc4ba;
  box-shadow: inset 0 0 0 1px rgba(122, 63, 36, 0.16), 0 2px 7px rgba(36, 27, 23, 0.1);
  transform: translateY(-50%);
  transition: background 160ms ease, box-shadow 160ms ease;
}

.admin-body.is-admin-authenticated .admin-card label:has(> input[type="checkbox"])::after {
  content: "N\00e3o";
  position: absolute;
  right: 12px;
  top: 50%;
  color: #7b6658;
  font-size: 0.64rem;
  font-weight: 950;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
  transform: translateY(-50%);
}

.admin-body.is-admin-authenticated .admin-card label:has(> input[type="checkbox"]:checked) {
  border-color: rgba(47, 111, 115, 0.36);
  background: linear-gradient(135deg, rgba(47, 111, 115, 0.1), rgba(185, 154, 98, 0.12));
  color: #264b48;
}

.admin-body.is-admin-authenticated .admin-card label:has(> input[type="checkbox"]:checked)::before {
  background:
    radial-gradient(circle at 23px 50%, #fff 0 5px, transparent 5.8px),
    linear-gradient(135deg, #2f6f73, #b99a62);
  box-shadow: inset 0 0 0 1px rgba(47, 111, 115, 0.18), 0 2px 8px rgba(47, 111, 115, 0.18);
}

.admin-body.is-admin-authenticated .admin-card label:has(> input[type="checkbox"]:checked)::after {
  content: "Sim";
  color: #23645e;
}

.admin-body.is-admin-authenticated .admin-card label:has(> input[type="checkbox"]:focus-visible) {
  box-shadow: 0 0 0 3px rgba(47, 111, 115, 0.14), 0 8px 18px rgba(36, 27, 23, 0.035);
}

.admin-table th {
  background: #f3eadf;
  color: #7b6658;
}

.admin-table tbody tr:hover {
  background: rgba(185, 154, 98, 0.08);
}

.admin-toast {
  border-color: rgba(122, 63, 36, 0.26);
  background: #fff6e8;
  color: var(--admin-accent);
}

.media-guide-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.media-guide-grid article {
  min-height: 82px;
  border: 1px solid rgba(122, 63, 36, 0.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(185, 154, 98, 0.12), rgba(255, 253, 249, 0.92)),
    var(--admin-surface);
  padding: 12px;
}

.media-guide-grid strong,
.media-guide-grid span {
  display: block;
}

.media-guide-grid strong {
  color: var(--admin-accent);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.media-guide-grid span {
  margin-top: 5px;
  color: var(--admin-muted);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.35;
}

.admin-orders-table-wrap {
  overflow: auto;
}

.admin-orders-table {
  min-width: 1120px;
  border-collapse: separate;
  border-spacing: 0;
}

.admin-order-record + .admin-order-record .admin-order-summary-row td {
  border-top: 1px solid rgba(122, 63, 36, 0.08);
}

.admin-order-summary-row td {
  background: rgba(255, 253, 249, 0.96);
}

.admin-order-record.is-expanded .admin-order-summary-row td {
  background: rgba(251, 246, 238, 0.92);
}

.admin-order-summary-row td:first-child {
  width: 220px;
}

.admin-order-toggle {
  min-height: 30px;
  margin-right: 8px;
  border: 1px solid rgba(122, 63, 36, 0.18);
  border-radius: 999px;
  background: rgba(122, 63, 36, 0.08);
  color: var(--admin-accent);
  padding: 5px 10px;
  font-size: 0.74rem;
  font-weight: 950;
  cursor: pointer;
}

.admin-order-id,
.admin-order-client {
  display: block;
  color: var(--admin-ink);
  font-weight: 950;
}

.admin-order-summary-row span,
.billing-table td span,
.admin-order-detail-panel span,
.admin-order-detail-panel small {
  display: block;
  margin-top: 2px;
  color: var(--admin-muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.admin-order-status-stack {
  display: grid;
  gap: 4px;
  align-content: start;
}

.admin-order-total-cell {
  color: var(--admin-accent);
  font-weight: 950;
  white-space: nowrap;
}

.admin-order-detail-row {
  display: none;
}

.admin-order-record.is-expanded .admin-order-detail-row {
  display: table-row;
}

.admin-order-detail-row > td {
  padding: 0;
  background: rgba(251, 246, 238, 0.5);
}

.admin-order-detail-shell {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(280px, 1.1fr) minmax(190px, 0.75fr) minmax(360px, 1.35fr);
  gap: 12px;
  padding: 14px;
}

.admin-order-detail-panel {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid rgba(122, 63, 36, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.9);
  padding: 12px;
}

.admin-order-detail-panel h4,
.admin-order-frenet-box h4,
.admin-order-message-head h4 {
  margin: 0 0 2px;
  color: var(--admin-accent);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.billing-controls {
  grid-template-columns: minmax(260px, 1fr) minmax(210px, 0.42fr) auto auto;
}

.billing-list {
  display: block;
}

.billing-table {
  min-width: 900px;
}

.status-pill.is-warning {
  border-color: rgba(154, 107, 18, 0.26);
  background: #fff7df;
  color: #8a5c09;
}

.status-pill.is-danger {
  border-color: rgba(160, 28, 44, 0.26);
  background: #fff0f0;
  color: var(--admin-danger);
}

.danger {
  border-color: rgba(160, 28, 44, 0.28);
  color: var(--admin-danger);
}

.is-error {
  color: var(--admin-danger) !important;
}

.delivery-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.delivery-board article {
  min-height: 360px;
  border: 1px solid var(--admin-line);
  border-radius: var(--radius);
  background: var(--admin-surface);
  padding: 14px;
}

.delivery-board h3 {
  margin-bottom: 12px;
  color: var(--admin-ink);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 900;
}

.delivery-board article > div {
  display: grid;
  gap: 10px;
}

.delivery-card {
  display: grid;
  gap: 8px;
  border: 1px solid var(--admin-line);
  border-radius: var(--radius);
  background: var(--admin-soft);
  padding: 12px;
}

.delivery-card span,
.delivery-card small {
  color: var(--admin-muted);
}

.delivery-map-panel {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  border: 1px solid var(--admin-line);
  border-radius: var(--radius);
  background: var(--admin-surface);
  padding: 16px;
}

.admin-map-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.admin-map-heading h3 {
  margin: 0 0 4px;
}

.delivery-map {
  width: 100%;
  min-height: 420px;
  border: 1px solid var(--admin-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--admin-soft);
}

.shipping-origin-map-panel {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  border-top: 1px solid var(--admin-line);
  padding-top: 14px;
}

.shipping-origin-map {
  width: 100%;
  min-height: 320px;
  border: 1px solid var(--admin-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--admin-soft);
}

.shipping-rate-editor {
  grid-column: 1 / -1;
  display: grid;
  gap: 10px;
}

.shipping-rate-editor-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.shipping-rate-editor-head label {
  margin: 0;
  font-weight: 900;
}

.shipping-rate-list {
  display: grid;
  gap: 8px;
}

.shipping-rate-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(150px, 1fr) auto;
  gap: 8px;
  align-items: end;
  border: 1px solid var(--admin-line);
  border-radius: var(--radius);
  background: var(--admin-surface);
  padding: 10px;
}

.shop-map-pin {
  position: relative;
  display: block;
  width: 30px !important;
  height: 38px !important;
  border: 0;
  background: transparent;
}

.shop-map-pin span {
  position: absolute;
  left: 5px;
  top: 1px;
  width: 20px;
  height: 20px;
  border: 3px solid var(--white);
  border-radius: 50% 50% 50% 0;
  background: #f4c542;
  box-shadow: 0 8px 22px rgba(36, 27, 23, 0.28);
  transform: rotate(-45deg);
}

.shop-map-pin span::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coffee);
  transform: translate(-50%, -50%);
}

.shop-map-pin-origin span {
  background: var(--coffee);
}

.shop-map-pin-origin span::after {
  background: var(--gold);
}

.shop-radius-label,
.shop-order-fee-label {
  border: 0;
  background: transparent;
}

.shop-radius-label span,
.shop-order-fee-label span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border: 1px solid rgba(36, 27, 23, 0.16);
  border-radius: 999px;
  background: rgba(244, 197, 66, 0.95);
  color: var(--coffee);
  padding: 3px 8px;
  font-size: 0.72rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(36, 27, 23, 0.14);
  white-space: nowrap;
}

.shop-order-fee-label span {
  background: var(--white);
  border-color: rgba(244, 197, 66, 0.8);
}

.shipping-origin-cep-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.shipping-origin-cep-row label {
  margin: 0;
}

.compact-settings {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.compact-settings article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ivory);
  padding: 14px;
}

.compact-settings span,
.status-list {
  color: var(--muted);
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
}

@media (min-width: 1280px) {
  .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (min-width: 1580px) {
  .product-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto auto minmax(0, 1fr) auto auto;
  }

  .desktop-nav,
  .account-button {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
  }

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

  .quick-benefits,
  .olfactive-grid,
  .policy-grid,
  .compact-settings,
  .admin-metrics,
  .delivery-board,
  .media-guide-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-body.is-admin-authenticated .admin-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-body.is-admin-authenticated .admin-content {
    width: calc(100vw - 24px);
    max-width: 980px;
    padding: 16px 0 42px;
  }

  .admin-body.is-admin-authenticated .admin-header {
    margin: -16px 0 16px;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    border-right: 0;
    border-bottom: 1px solid var(--admin-line);
    padding: 12px;
  }

  .admin-body.is-admin-authenticated .admin-sidebar .brand {
    border-bottom: 0;
    padding: 0;
  }

  .admin-sidebar nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .admin-sidebar a:not(.brand),
  .admin-sidebar button {
    min-width: max-content;
    white-space: nowrap;
  }
}

@media (max-width: 860px) {
  body {
    padding-bottom: 64px;
  }

  .admin-sidebar {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

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

  .admin-header-actions {
    justify-content: stretch;
  }

  .admin-header-actions a,
  .admin-header-actions button {
    flex: 1 1 120px;
  }

  .admin-card,
  .admin-payment-block {
    padding: 14px;
  }

  .site-header {
    grid-template-columns: auto 1fr auto auto;
    padding: 10px 12px;
  }

  .brand-mark {
    font-size: 1.55rem;
  }

  .header-search {
    grid-column: 1 / -1;
    order: 4;
  }

  .category-strip {
    top: 112px;
    justify-content: flex-start;
    padding: 6px 12px;
  }

  .category-chip {
    max-width: 138px;
    min-height: 36px;
    grid-template-columns: 24px minmax(0, 1fr);
    padding: 5px 9px 5px 5px;
    font-size: 0.72rem;
  }

  .category-chip img {
    width: 24px;
    height: 24px;
  }

  .category-chip::after {
    inset-inline-start: 37px;
  }

  .compact-collections {
    width: 100%;
    max-width: 100%;
    display: flex;
    overflow-x: auto;
    padding: 12px;
    scroll-snap-type: x proximity;
  }

  .compact-collections article {
    min-width: 280px;
    scroll-snap-align: start;
  }

  .hero {
    min-height: 520px;
  }

  .hero picture::after {
    background: linear-gradient(180deg, rgba(251, 248, 242, 0.88), rgba(251, 248, 242, 0.22), rgba(36, 27, 23, 0.12));
  }

  .hero-content {
    margin: 0 auto;
    padding: 70px 0 34px;
    align-self: end;
  }

  h1 {
    font-size: 4rem;
  }

  .quick-benefits,
  .brand-signature,
  .collection-row,
  .editorial-band,
  .split-campaigns,
  .contact-grid,
  .policy-grid,
  .account-grid,
  .checkout-form,
  .product-detail,
  .admin-shell,
  .about-hero,
  .about-grid,
  .admin-split,
  .form-grid.three-cols {
    grid-template-columns: 1fr;
  }

  .brand-signature {
    min-height: 520px;
  }

  .brand-signature::before {
    background:
      linear-gradient(180deg, rgba(36, 27, 23, 0.82), rgba(36, 27, 23, 0.42) 50%, rgba(36, 27, 23, 0.86)),
      linear-gradient(0deg, rgba(185, 154, 98, 0.12), rgba(185, 154, 98, 0.12));
  }

  .signature-copy {
    align-self: end;
    margin: 0 auto;
    padding: 120px 0 36px;
  }

  .signature-card {
    right: 16px;
    top: 20px;
    bottom: auto;
    width: 118px;
  }

  .quick-benefits article {
    padding: 14px;
  }

  .shop-section .section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .shop-section {
    padding: 28px 12px 42px;
  }

  .shop-section .section-heading h2 {
    max-width: 100%;
  }

  .shop-section .toolbar {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-self: stretch;
  }

  .shop-section .toolbar .filter-button {
    display: inline-flex;
    order: 2;
    justify-self: end;
  }

  .shop-section .toolbar select {
    order: 1;
  }

  .shop-layout {
    display: block;
  }

  .filters {
    position: fixed;
    inset: auto 0 0;
    z-index: 80;
    width: 100vw;
    max-width: 100vw;
    max-height: 84vh;
    overflow-y: auto;
    border-radius: 14px 14px 0 0;
    transform: translateY(108%);
    transition: transform 190ms ease;
  }

  .filters.is-open {
    transform: translateY(0);
  }

  .filter-close {
    display: inline-flex;
    justify-self: end;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-card {
    border-radius: 8px;
  }

  .product-info {
    padding: 10px;
  }

  .product-info button[data-product-open] {
    font-size: 0.86rem;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }

  .card-actions .secondary-button {
    display: none;
  }

  .product-media img {
    aspect-ratio: 1 / 1;
  }

.split-campaigns article {
    min-height: 340px;
  }

  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .insta-grid img:first-child {
    grid-column: span 2;
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }

  .checkout-summary {
    grid-column: auto;
    grid-row: auto;
    position: static;
  }

  .checkout-summary {
    position: sticky;
    bottom: 70px;
  }

  .choice-grid,
  .choice-grid.two-cols,
  .checkout-steps,
  .form-grid,
  .admin-metrics,
  .delivery-board,
  .admin-control-bar,
  .admin-control-bar.compact-controls,
  .billing-controls,
  .media-guide-grid,
  .admin-order-detail-shell {
    grid-template-columns: 1fr;
  }

  .admin-control-count {
    justify-self: stretch;
  }

  .detail-info {
    padding-right: 0;
  }

  .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-top: 1px solid var(--line);
    background: rgba(251, 248, 242, 0.96);
    backdrop-filter: blur(16px);
  }

  .mobile-bottom-nav a,
  .mobile-bottom-nav button {
    min-height: 56px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--coffee);
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 900;
  }

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

  .admin-sidebar {
    position: static;
    height: auto;
  }

  .admin-order-card-header,
  .admin-order-grid,
  .admin-order-field-grid {
    grid-template-columns: 1fr;
  }

  .admin-order-card-header {
    align-items: stretch;
  }

  .admin-order-total {
    text-align: left;
  }

  .admin-order-actions {
    justify-content: stretch;
  }

  .admin-order-actions button {
    width: 100%;
  }

  .admin-order-frenet-box,
  .admin-order-message-head,
  .admin-order-message-actions {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .admin-order-message-actions a,
  .admin-order-message-actions button {
    width: 100%;
  }

  .admin-map-heading,
  .shipping-rate-editor-head,
  .shipping-rate-row,
  .shipping-origin-cep-row {
    display: grid;
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .delivery-map {
    min-height: 340px;
  }

  .shipping-origin-map {
    min-height: 280px;
  }

  .admin-order-panel + .admin-order-panel {
    border-left: 0;
    border-top: 1px solid var(--admin-line);
    padding-left: 0;
    padding-top: 14px;
  }

  .admin-body:not(.is-admin-authenticated) .admin-content {
    grid-template-columns: 1fr;
    gap: 24px;
    align-content: center;
    padding-top: 104px;
  }

  .admin-body:not(.is-admin-authenticated) .admin-content::before {
    max-width: 620px;
    font-size: clamp(2.3rem, 12vw, 3.7rem);
  }

  .admin-body:not(.is-admin-authenticated) .admin-auth-card {
    justify-self: stretch;
  }

  .media-admin-grid,
  .media-category-grid,
  .custom-section-feature,
  .custom-section-cards > div {
    grid-template-columns: 1fr;
  }

  .media-list-row {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .media-list-row img {
    width: 76px;
  }

  .media-list-row .media-card-actions {
    grid-column: 1 / -1;
  }

  .custom-section-banner {
    min-height: 360px;
  }
}

.single-feature {
  grid-template-columns: 1fr;
}

.single-feature article {
  min-height: 360px;
}

@media (max-width: 420px) {
  .announcement {
    font-size: 0.68rem;
  }

  .cart-button {
    padding: 9px 10px;
  }

  .category-chip {
    max-width: 128px;
    font-size: 0.7rem;
  }

  .compact-collections article {
    min-width: 250px;
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .compact-collections img {
    width: 82px;
    height: 92px;
  }

  .hero {
    min-height: 500px;
  }

  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  .quick-benefits {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .quick-benefits article {
    min-height: 104px;
  }

  .product-info p {
    font-size: 0.65rem;
  }

  .price-row strong {
    font-size: 1rem;
  }

  .primary-button,
  .secondary-button,
  .filter-button {
    padding: 9px 10px;
    font-size: 0.78rem;
  }

  .cart-line {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .cart-line > strong {
    grid-column: 2;
  }

  .cart-line img {
    width: 58px;
    height: 58px;
  }
}

body.checkout-open {
  overflow: hidden;
}

.checkout-page {
  width: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.checkout-page:not([hidden]),
.checkout-page.is-open {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: clamp(10px, 2vw, 24px);
  background:
    linear-gradient(135deg, rgba(36, 27, 23, 0.58), rgba(36, 27, 23, 0.42)),
    rgba(36, 27, 23, 0.52);
  backdrop-filter: blur(10px);
  overflow-y: auto;
}

.checkout-modal-panel {
  width: min(1080px, calc(100vw - 24px));
  max-height: min(92vh, 940px);
  overflow-y: auto;
  overflow-x: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.99), rgba(251, 248, 242, 0.98)),
    var(--white);
  box-shadow: 0 34px 100px rgba(36, 27, 23, 0.38);
  padding: clamp(18px, 3vw, 28px);
}

.checkout-modal-header {
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(36, 27, 23, 0.08);
}

.checkout-modal-header > * {
  min-width: 0;
}

.checkout-modal-header .eyebrow {
  letter-spacing: 0;
  color: #7c5f35;
}

.checkout-modal-header h2 {
  max-width: 620px;
  margin: 0;
  font-size: 2.8rem;
  line-height: 0.95;
}

.checkout-header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.checkout-header-actions .secondary-button {
  background: #fbf8f2;
  border-color: rgba(36, 27, 23, 0.14);
  min-width: 0;
  white-space: normal;
}

.checkout-header-actions .icon-button {
  width: 44px;
  padding-inline: 0;
  font-size: 1.1rem;
}

.checkout-page .checkout-steps {
  gap: 10px;
  margin-bottom: 18px;
}

.checkout-page .checkout-steps span {
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border-color: rgba(36, 27, 23, 0.1);
  background: #fffdf9;
  box-shadow: 0 8px 20px rgba(36, 27, 23, 0.04);
  letter-spacing: 0;
}

.checkout-page .checkout-steps .is-done {
  border-color: rgba(15, 122, 79, 0.24);
  background: rgba(15, 122, 79, 0.06);
}

.checkout-page .checkout-steps .is-active {
  border-color: #241b17;
  background: #241b17;
  box-shadow: 0 12px 28px rgba(36, 27, 23, 0.18);
}

.checkout-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checkout-field-grid label:first-child,
.checkout-field-grid label:nth-child(2) {
  grid-column: auto;
}

.checkout-customer-banner,
.payment-instructions {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
  border: 1px solid rgba(185, 154, 98, 0.3);
  border-radius: var(--radius);
  background: rgba(216, 194, 157, 0.16);
  padding: 12px 14px;
  color: var(--coffee);
}

.checkout-customer-banner span,
.payment-instructions span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.pix-payment-panel {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  border: 1px solid rgba(36, 27, 23, 0.16);
  border-radius: var(--radius);
  background: var(--white);
  padding: 14px;
}

.pix-payment-modal:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(36, 27, 23, 0.62);
  backdrop-filter: blur(12px);
}

.pix-payment-modal-panel {
  width: min(620px, calc(100vw - 24px));
  max-height: min(92vh, 820px);
  overflow-y: auto;
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: var(--radius);
  background: #fffdf9;
  box-shadow: 0 30px 90px rgba(36, 27, 23, 0.42);
  padding: clamp(18px, 4vw, 28px);
}

.pix-payment-modal-panel h3 {
  margin: 0;
  color: var(--coffee);
  font-size: 1.55rem;
}

.pix-payment-modal-panel .pix-status {
  margin: 0;
}

.pix-payment-modal-panel .pix-payment-grid {
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr);
  align-items: center;
}

.pix-payment-modal-panel .pix-qr-image {
  width: min(220px, 100%);
  box-shadow: 0 14px 34px rgba(36, 27, 23, 0.1);
}

.pix-payment-modal-panel .copy-field {
  background: #ffffff;
}

.pix-payment-panel h3,
.pix-payment-panel p {
  margin: 0;
}

.pix-status {
  color: var(--muted);
  font-weight: 800;
}

.pix-payment-grid {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.pix-qr-image {
  width: 148px;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.pix-payment-copy,
.pix-payment-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.pix-payment-copy {
  display: grid;
  align-items: start;
}

.checkout-form input,
.checkout-form textarea,
.checkout-form select {
  min-height: 50px;
  border-color: rgba(36, 27, 23, 0.14);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

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

.checkout-form fieldset {
  border-color: rgba(36, 27, 23, 0.09);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 34px rgba(36, 27, 23, 0.06);
  padding: 20px;
}

.checkout-form legend {
  padding: 0 10px;
  font-size: 0.92rem;
  letter-spacing: 0;
}

.checkout-form label {
  color: #3b302b;
}

.checkout-page .choice-grid label {
  position: relative;
  min-height: 58px;
  border-color: rgba(36, 27, 23, 0.1);
  background: #fffdf9;
  box-shadow: 0 8px 18px rgba(36, 27, 23, 0.04);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.checkout-page .choice-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.checkout-page .choice-grid label:hover {
  transform: translateY(-1px);
  border-color: rgba(185, 154, 98, 0.42);
}

.checkout-page .choice-grid label:has(input:checked) {
  border-color: var(--coffee);
  background: rgba(36, 27, 23, 0.055);
  box-shadow: 0 0 0 3px rgba(185, 154, 98, 0.16), 0 12px 24px rgba(36, 27, 23, 0.08);
}

.checkout-page .choice-grid input[type="radio"] {
  width: 18px;
  min-height: 18px;
  accent-color: var(--coffee);
}

.checkout-summary {
  position: sticky;
  top: 24px;
  overflow: hidden;
  border-color: rgba(36, 27, 23, 0.1);
  background: #fffdf9;
  box-shadow: 0 20px 44px rgba(36, 27, 23, 0.12);
  padding: 20px;
}

.checkout-summary::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--gold);
}

.checkout-summary h3 {
  margin: 0 0 12px;
  font-size: 1.18rem;
}

.checkout-summary-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  margin: 0 0 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(36, 27, 23, 0.08);
}

.checkout-summary-item span {
  display: grid;
  gap: 2px;
  min-width: 0;
  color: var(--coffee);
  font-weight: 800;
}

.checkout-summary-item small {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
}

.checkout-summary dl {
  gap: 10px;
  margin: 14px 0 16px;
}

.checkout-summary dl div {
  align-items: baseline;
}

.checkout-summary dl div:last-child {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid rgba(36, 27, 23, 0.12);
}

.checkout-summary dl div:last-child dt,
.checkout-summary dl div:last-child dd {
  color: var(--coffee);
  font-size: 1.08rem;
  font-weight: 900;
}

.checkout-summary [data-checkout-submit] {
  min-height: 54px;
  box-shadow: 0 14px 26px rgba(36, 27, 23, 0.18);
}

.checkout-summary .fine-print {
  margin-bottom: 0;
  line-height: 1.45;
}

.admin-payment-block {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 248, 242, 0.62);
  padding: 16px;
}

.admin-payment-block h3 {
  margin-bottom: 0;
}

.order-payment-box,
.order-shipping-box,
.client-orders,
.client-order-card {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(185, 154, 98, 0.3);
  border-radius: var(--radius);
  background: rgba(251, 248, 242, 0.72);
  padding: 14px;
  margin: 12px 0;
}

.order-payment-box h3,
.client-orders h3 {
  margin-bottom: 0;
}

.copy-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px dashed rgba(36, 27, 23, 0.22);
  border-radius: var(--radius);
  background: var(--white);
  padding: 10px;
}

.copy-field code {
  overflow-wrap: anywhere;
  color: var(--coffee);
  font-weight: 900;
}

.payment-lines {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 0.9rem;
}

.order-shipping-box p,
.client-order-card p {
  margin: 0;
}

.order-shipping-box strong,
.client-order-card strong {
  color: var(--coffee);
}

.order-shipping-box span,
.client-order-card span {
  color: var(--muted);
}

.client-order-card dl {
  margin: 0;
}

@media (max-width: 860px) {
  .product-search-suggestions {
    position: fixed;
    top: 72px;
    left: 12px;
    right: 12px;
    max-height: min(70vh, 460px);
  }

  .product-search-option {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .product-search-option em {
    grid-column: 2;
    justify-self: start;
  }

  .admin-body.admin-product-editor-open .product-admin-form:not([hidden]) {
    inset: auto 10px 10px;
    width: auto;
    max-height: calc(100vh - 20px);
    transform: none;
    border-radius: 18px;
    padding: 14px;
  }

  .admin-modal-heading h3 {
    font-size: 1.18rem;
  }

  .admin-body.admin-product-editor-open .product-admin-form .form-grid.three-cols,
  .admin-section[data-admin-section="categorias"] .form-grid.three-cols {
    grid-template-columns: 1fr;
  }

  .admin-body.admin-product-editor-open .product-admin-form .admin-form-actions {
    bottom: -14px;
    margin: 4px -14px -14px;
    padding: 12px 14px 14px;
  }

  .admin-toast {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }

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

  .image-crop-stage {
    min-height: 240px;
  }

  .image-crop-tools {
    grid-template-columns: 1fr;
  }

  .checkout-form {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .checkout-page .checkout-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .checkout-modal-header h2 {
    font-size: 2rem;
  }

  .pix-payment-grid {
    grid-template-columns: 1fr;
  }

  .pix-payment-modal-panel .pix-payment-grid {
    grid-template-columns: 1fr;
  }

  .pix-qr-image {
    width: min(220px, 100%);
  }

  .checkout-page:not([hidden]),
  .checkout-page.is-open {
    align-items: end;
    padding: 8px;
  }

  .checkout-modal-panel {
    max-height: 94vh;
    border-radius: 12px 12px 0 0;
    padding: 16px;
  }

  .checkout-modal-header {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    width: 100%;
  }

  .checkout-header-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    width: 100%;
  }

  .checkout-header-actions .secondary-button {
    grid-column: 1 / 2;
  }

  .checkout-header-actions .icon-button {
    grid-column: 2 / 3;
    grid-row: 1;
  }

  .checkout-field-grid {
    grid-template-columns: 1fr;
  }

  .checkout-page .checkout-summary {
    position: static;
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 520px) {
  .checkout-modal-panel {
    width: calc(100vw - 16px);
    max-width: 370px;
  }

  .checkout-page .choice-grid {
    grid-template-columns: 1fr;
  }

  .checkout-page .checkout-steps span {
    padding-inline: 8px;
    font-size: 0.72rem;
  }
}

/* Je Silveira Piercer visual refresh */
:root {
  --ivory: #f6f8f7;
  --warm: #ebe7e2;
  --gold: #b68a57;
  --gold-light: #dac19b;
  --coffee: #111318;
  --black: #111318;
  --rose: #e7c7ca;
  --white: #ffffff;
  --ink: #111318;
  --muted: #68717f;
  --line: rgba(17, 19, 24, 0.11);
  --shadow: 0 22px 70px rgba(17, 19, 24, 0.12);
  --admin-bg: #f4f6f7;
  --admin-surface: #ffffff;
  --admin-soft: #f8f9fa;
  --admin-line: rgba(17, 19, 24, 0.12);
  --admin-ink: #111318;
  --admin-muted: #667085;
  --admin-accent: #8d4760;
  --admin-accent-2: #b68a57;
}

*,
*::before,
*::after {
  letter-spacing: 0 !important;
}

body {
  background: linear-gradient(180deg, #f6f8f7 0, #ffffff 36%, #f5f6f7 100%);
}

body::before {
  display: none;
}

.announcement {
  background: #111318;
  color: #ffffff;
  padding: 8px 16px;
  font-size: 0.75rem;
  font-weight: 800;
}

.site-header {
  grid-template-columns: minmax(150px, max-content) minmax(0, 1fr) minmax(280px, 360px) auto auto auto;
  gap: 12px;
  padding: 12px 34px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(17, 19, 24, 0.09);
  box-shadow: 0 12px 38px rgba(17, 19, 24, 0.07);
}

.brand {
  color: #111318;
  font-size: 0.72rem;
  font-weight: 900;
}

.brand-mark {
  font-family: var(--sans);
  font-size: 1.2rem;
  line-height: 1;
}

.desktop-nav a,
.desktop-nav span a {
  color: #2b3138;
  font-size: 0.82rem;
}

.desktop-nav {
  justify-content: flex-start;
}

.header-search {
  border-color: rgba(17, 19, 24, 0.11);
  background: #f7f8f9;
  justify-self: end;
  width: min(360px, 100%);
}

@media (min-width: 1181px) {
  .brand {
    order: 1;
  }

  .desktop-nav {
    order: 2;
  }

  .help-button {
    order: 3;
    justify-self: end;
  }

  .header-search {
    order: 4;
  }

  .account-button {
    order: 5;
  }

  .cart-button {
    order: 6;
  }
}

.header-search input,
.filters select,
.toolbar select,
.checkout-page input,
.checkout-page textarea,
.checkout-page select {
  background: #ffffff;
  border-color: rgba(17, 19, 24, 0.12);
  color: #111318;
}

.primary-button,
.cart-button {
  background: #111318;
  border-color: #111318;
  color: #ffffff;
  box-shadow: none;
}

.primary-button:hover,
.cart-button:hover {
  background: #8d4760;
  border-color: #8d4760;
}

.secondary-button,
.ghost-button,
.filter-button {
  background: #ffffff;
  border-color: rgba(17, 19, 24, 0.13);
  color: #111318;
  box-shadow: none;
}

.hero {
  width: 100%;
  max-width: none;
  min-height: 720px;
  margin: 0;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background: #111318;
}

.hero picture::after {
  background:
    linear-gradient(90deg, rgba(17, 19, 24, 0.88) 0%, rgba(17, 19, 24, 0.58) 42%, rgba(17, 19, 24, 0.14) 78%),
    linear-gradient(0deg, rgba(17, 19, 24, 0.48), rgba(17, 19, 24, 0.05) 44%);
}

.hero img {
  object-fit: cover;
}

.hero-content {
  width: min(760px, calc(100% - 68px));
  max-width: 760px;
  margin-left: max(34px, calc((100vw - 1240px) / 2));
  padding: 108px 0 74px;
  color: #ffffff;
}

.hero-content .eyebrow,
.section-heading .eyebrow,
.eyebrow {
  color: #8d4760;
  font-size: 0.73rem;
  font-weight: 900;
}

.hero-content .eyebrow {
  color: #e7c7ca;
}

.hero-content h1 {
  width: 100%;
  max-width: 700px;
  margin: 10px 0 18px;
  color: #ffffff;
  font-size: 5.5rem;
  line-height: 0.95;
}

.hero-content p:not(.eyebrow) {
  width: 100%;
  max-width: 610px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.65;
}

.hero .secondary-button {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.category-strip {
  width: 100%;
  max-width: none;
  margin: -44px 0 28px;
  padding: 12px clamp(24px, 4vw, 56px);
  border: 1px solid rgba(17, 19, 24, 0.09);
  border-right: 0;
  border-left: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 55px rgba(17, 19, 24, 0.12);
}

.category-chip {
  border-radius: 8px;
  border: 1px solid rgba(17, 19, 24, 0.1);
  background: #ffffff;
}

.category-chip img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
}

.category-chip.is-active {
  border-color: #8d4760;
  background: #fff8fa;
  color: #8d4760;
}

.shop-section,
.instagram-section,
.split-campaigns,
.custom-section,
.account-section,
.policies-section,
.faq-section,
.contact-section {
  width: min(1240px, calc(100% - 52px));
  margin-inline: auto;
}

.shop-section {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: clamp(24px, 4vw, 56px);
}

.section-heading {
  margin: 26px 0 18px;
}

.section-heading h2 {
  max-width: 720px;
  font-size: 2.2rem;
  line-height: 1.08;
}

.shop-layout {
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 22px;
}

.filters {
  border-radius: 8px;
  border: 1px solid rgba(17, 19, 24, 0.1);
  background: #ffffff;
  box-shadow: none;
}

.filters h3 {
  margin-bottom: 10px;
  font-size: 0.92rem;
}

.catalog-status {
  padding: 0 2px;
}

.product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  border: 1px solid rgba(17, 19, 24, 0.09);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(17, 19, 24, 0.06);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(17, 19, 24, 0.12);
}

.product-media {
  background: #f4f5f5;
}

.product-media img {
  aspect-ratio: 1 / 1.08;
  object-fit: cover;
}

.product-info {
  gap: 8px;
  padding: 15px;
}

.product-info p {
  color: #8d4760;
  font-size: 0.72rem;
}

.product-info button[data-product-open] {
  color: #111318;
  font-size: 1rem;
}

.price-row strong {
  color: #111318;
  font-size: 1.18rem;
}

.pix-row {
  color: #0d7f63;
}

.card-actions {
  gap: 8px;
  padding: 0 15px 15px;
}

.card-actions .primary-button,
.card-actions .secondary-button {
  min-height: 42px;
  border-radius: 8px;
}

.split-campaigns article,
.custom-section-banner,
.custom-section-feature {
  border-radius: 8px;
  border: 1px solid rgba(17, 19, 24, 0.1);
  background: #ffffff;
  box-shadow: 0 16px 46px rgba(17, 19, 24, 0.08);
}

.split-campaigns img,
.custom-section img,
.insta-grid img {
  border-radius: 8px;
  box-shadow: none;
  object-fit: cover;
}

.checkout-modal-panel,
.cart-panel,
.product-modal-panel,
.faq-modal-panel,
.pix-payment-modal-panel {
  border-radius: 8px;
  border: 1px solid rgba(17, 19, 24, 0.11);
  box-shadow: 0 30px 90px rgba(17, 19, 24, 0.24);
}

.checkout-page .checkout-steps span,
.checkout-page .choice-grid label,
.shipping-option,
.cart-line,
.checkout-summary,
.order-payment-box {
  border-radius: 8px;
}

.admin-body:not(.is-admin-authenticated) .admin-content::before {
  color: #ffffff;
  font-size: 4.4rem;
}

.admin-body.is-admin-authenticated .admin-shell {
  grid-template-columns: 232px minmax(0, 1fr);
}

.admin-body.is-admin-authenticated {
  background: #f4f6f7;
}

.admin-sidebar {
  background: #ffffff;
  border-right: 1px solid rgba(17, 19, 24, 0.1);
  color: #111318;
}

.admin-body.is-admin-authenticated .admin-sidebar .brand {
  border-bottom-color: rgba(17, 19, 24, 0.1);
  color: #111318;
}

.admin-body.is-admin-authenticated .admin-sidebar .brand .brand-mark,
.admin-body.is-admin-authenticated .admin-sidebar .brand span:last-child {
  color: #111318;
}

.admin-sidebar a:not(.brand),
.admin-sidebar nav button {
  border-radius: 8px;
  color: #111318;
}

.admin-sidebar a:not(.brand).is-active,
.admin-sidebar a:not(.brand):hover,
.admin-sidebar nav button.is-active,
.admin-sidebar nav button:hover {
  background: #f4f6f7;
  color: #111318;
}

.admin-body.is-admin-authenticated .admin-content {
  width: calc(100% - 32px);
  margin-inline: 16px;
}

.admin-header {
  border-bottom: 1px solid rgba(17, 19, 24, 0.08);
  background: rgba(244, 246, 247, 0.92);
  backdrop-filter: blur(14px);
}

.admin-card,
.admin-panel,
.admin-payment-block,
.admin-table-wrap {
  border-radius: 8px;
  border-color: rgba(17, 19, 24, 0.1);
  background: #ffffff;
  box-shadow: none;
}

.admin-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.admin-metrics article {
  border-radius: 8px;
  background: #f8f9fa;
  border: 1px solid rgba(17, 19, 24, 0.08);
}

.admin-control-bar,
.admin-control-bar.compact-controls {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(160px, 220px) minmax(150px, 190px) auto;
  align-items: end;
  gap: 10px;
  padding: 10px;
  border-radius: 8px;
  background: #f7f8f9;
  border: 1px solid rgba(17, 19, 24, 0.08);
}

.billing-controls {
  grid-template-columns: minmax(240px, 1fr) minmax(170px, 220px) auto auto;
}

.admin-control-bar input,
.admin-control-bar select,
.admin-body.is-admin-authenticated .admin-card input,
.admin-body.is-admin-authenticated .admin-card textarea,
.admin-body.is-admin-authenticated .admin-card select,
.admin-table select,
.admin-table input,
.admin-table textarea {
  min-height: 38px;
  border-radius: 8px;
  background: #ffffff;
  border-color: rgba(17, 19, 24, 0.12);
}

.admin-table th {
  background: #f3f5f6;
  color: #566071;
}

.admin-table td {
  background: #ffffff;
}

.admin-table tbody tr:hover td {
  background: #fff8fa;
}

.admin-payment-block h3 {
  color: #111318;
}

.product-admin-form,
.category-admin-panel,
.media-card,
.media-list-card {
  border-radius: 8px;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto 1fr auto auto;
    padding-inline: 18px;
  }

  .desktop-nav {
    display: none;
  }

  .header-search {
    grid-column: 3 / 4;
  }

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

@media (max-width: 900px) {
  .hero {
    min-height: 620px;
  }

  .hero-content {
    width: calc(100% - 48px);
    margin-left: 24px;
    padding: 86px 0 70px;
  }

  .hero-content h1 {
    font-size: 3.4rem;
  }

  .hero-content p:not(.eyebrow) {
    font-size: 1rem;
  }

  .category-strip,
  .shop-section,
  .instagram-section,
  .split-campaigns,
  .custom-section,
  .account-section,
  .policies-section,
  .faq-section,
  .contact-section {
    width: calc(100% - 28px);
  }

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

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

  .admin-body.is-admin-authenticated .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-control-bar,
  .admin-control-bar.compact-controls,
  .billing-controls,
  .admin-metrics {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
  }

  .header-search {
    grid-column: 1 / -1;
  }

  .hero {
    min-height: 560px;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .category-strip {
    margin-top: -28px;
  }

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

@media (min-width: 901px) {
  .hero {
    min-height: clamp(460px, 46vw, 540px);
  }

  .hero-content {
    width: min(700px, calc(100% - 68px));
    margin-left: max(34px, calc((100vw - 1240px) / 2));
    padding-top: 76px;
    padding-bottom: 52px;
  }

  .hero-content h1 {
    max-width: 620px;
    font-size: clamp(4rem, 6.2vw, 4.85rem);
  }

  .hero-content p:not(.eyebrow) {
    max-width: 540px;
    font-size: 1rem;
  }

  .category-strip {
    margin-top: -30px;
    margin-bottom: 24px;
    padding: 8px;
  }

  .category-chip {
    min-height: 34px;
    padding: 5px 9px 5px 5px;
    font-size: 0.7rem;
  }

  .category-chip img {
    width: 38px;
    height: 38px;
  }
}

@media (min-width: 901px) {
  .category-strip {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
    gap: 8px;
    margin: -30px 0 22px;
    padding: 10px clamp(24px, 4vw, 56px);
    border-right: 0;
    border-left: 0;
    border-radius: 0;
    box-shadow: 0 10px 28px rgba(17, 19, 24, 0.08);
  }

  .category-chip {
    min-width: 132px;
    max-width: 190px;
    min-height: 46px;
    grid-template-columns: 38px minmax(0, 1fr);
    color: #111318;
    padding: 5px 11px 5px 5px;
    font-size: 0.74rem;
  }

  .category-chip img {
    width: 38px;
    height: 38px;
  }

  .category-chip::after {
    inset: auto 10px 5px 49px;
  }

  .category-chip.is-active {
    color: #111318;
  }
}

.admin-sidebar .admin-nav-count,
.admin-sidebar button.is-active .admin-nav-count,
.admin-sidebar button:hover .admin-nav-count {
  border-color: rgba(17, 19, 24, 0.14);
  background: #ffffff;
  color: #111318;
}
