: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;
  --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 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);
}

.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;
}

.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;
  max-width: 100vw;
  gap: 10px;
  overflow-x: auto;
  padding: 14px clamp(16px, 4vw, 52px);
  background: rgba(251, 248, 242, 0.92);
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}

.category-chip {
  min-width: 118px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--coffee);
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  font-weight: 900;
  white-space: nowrap;
}

.category-chip img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

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

.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);
}

.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(36, 27, 23, 0.88), rgba(36, 27, 23, 0.58)),
    url("images/instagram/brio-instagram-11.webp") 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 {
  padding: 34px 0;
}

.shop-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

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

.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;
}

.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: var(--warm);
  display: block;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  aspect-ratio: 1 / 1.04;
  object-fit: cover;
  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);
}

.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) 340px;
  gap: 18px;
  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-header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.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: cover;
}

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

.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: cover;
  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;
}

.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;
}

.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;
}

.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 {
  border-color: rgba(185, 154, 98, 0.42);
  color: var(--gold);
  padding-inline: 14px;
  white-space: nowrap;
}

.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 {
  background: #f7f3ec;
}

.admin-shell {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid var(--line);
  background: var(--white);
  padding: 24px;
}

.admin-sidebar nav {
  display: grid;
  gap: 8px;
  margin-top: 30px;
}

.admin-sidebar a:not(.brand),
.admin-sidebar button {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--coffee);
  padding: 12px;
  font-weight: 900;
  text-align: left;
}

.admin-sidebar a.is-active,
.admin-sidebar button.is-active {
  border-color: var(--coffee);
  background: var(--coffee);
  color: var(--white);
}

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

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

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

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

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

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

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

.admin-section {
  display: none;
}

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

.compact-heading {
  align-items: center;
}

.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 {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 248, 242, 0.62);
  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 {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(216, 194, 157, 0.18)),
    var(--white);
  padding: 16px;
}

.admin-metrics span {
  display: block;
  color: var(--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(--coffee);
  font-size: 1.65rem;
}

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

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

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

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

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

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

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

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

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

.admin-table th {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

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

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

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

.is-error {
  color: #a01c2c !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(--line);
  border-radius: var(--radius);
  background: rgba(251, 248, 242, 0.74);
  padding: 14px;
}

.delivery-board h3 {
  margin-bottom: 12px;
}

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

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

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

.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 (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 {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .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;
    padding: 10px 12px;
  }

  .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-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 {
    grid-template-columns: 1fr;
  }

  .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;
  }
}

.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 {
    min-width: 104px;
    font-size: 0.76rem;
  }

  .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;
  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;
}

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

.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;
}

.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.1);
  background: rgba(251, 248, 242, 0.72);
  box-shadow: 0 10px 24px rgba(36, 27, 23, 0.04);
}

.checkout-form legend {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

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

.checkout-page .choice-grid label {
  position: relative;
  min-height: 58px;
  border-color: rgba(36, 27, 23, 0.12);
  background: rgba(255, 255, 255, 0.92);
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

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

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

.checkout-summary {
  border-color: rgba(185, 154, 98, 0.28);
  box-shadow: 0 16px 36px rgba(36, 27, 23, 0.08);
}

.checkout-summary h3 {
  font-size: 1.12rem;
}

.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) {
  .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;
  }

  .checkout-modal-header,
  .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;
  }
}
