:root {
  color-scheme: light;
  --paper: #fcf5e3;
  --surface: #fffdfa;
  --ink: #213b30;
  --muted: #53665b;
  --olive: #567e72;
  --olive-dark: #32563d;
  --gold: #9e8453;
  --line: #d7ddcf;
  --soft-green: #e8eee8;
  --danger: #9f382f;
  --shadow: 0 18px 50px rgb(41 41 35 / 14%);
  font-family: Calibri, "Segoe UI", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

[hidden],
dialog:not([open]) {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

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

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

button,
select {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header,
main,
.site-footer {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--olive-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand > span:last-child > span {
  font-weight: 400;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.77rem;
  letter-spacing: 0.04em;
}

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

.header-catalog-link {
  margin-left: auto;
  color: var(--olive-dark);
  font-weight: 650;
  text-underline-offset: 4px;
}

.search-control input {
  width: min(320px, 30vw);
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 140ms ease, color 140ms ease, border-color 140ms ease;
}

.button-primary {
  color: #fff;
  background: var(--olive);
}

.button-primary:hover:not(:disabled) {
  background: var(--olive-dark);
}

.button-outline {
  border-color: var(--olive);
  color: var(--olive-dark);
  background: transparent;
}

.button-outline:hover:not(:disabled) {
  background: var(--soft-green);
}

.button-full {
  width: 100%;
}

.button-small {
  min-height: 40px;
  padding: 9px 14px;
  font-size: 0.9rem;
}

.count-badge {
  min-width: 23px;
  height: 23px;
  display: inline-grid;
  place-items: center;
  padding-inline: 5px;
  border-radius: 50%;
  color: var(--olive-dark);
  background: var(--soft-green);
  font-size: 0.8rem;
}

.hero {
  min-height: 300px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 16px;
  padding: 42px clamp(24px, 7vw, 88px);
  border-radius: 24px;
  background: #e9e9dc;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 610px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--olive);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

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

.hero h1 {
  max-width: 570px;
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.15rem, 5vw, 3.65rem);
  font-weight: 500;
  line-height: 1.08;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 460px;
  margin-bottom: 22px;
  color: #50534a;
}

.hero-art {
  width: 270px;
  height: 270px;
  position: absolute;
  right: 7%;
  bottom: -34px;
  opacity: 0.72;
}

.hero-orbit {
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.hero-orbit-one {
  right: 15px;
  bottom: 12px;
}

.hero-orbit-two {
  right: 50px;
  bottom: 48px;
}

.hero-stem {
  width: 2px;
  height: 215px;
  position: absolute;
  right: 112px;
  bottom: 12px;
  background: var(--olive);
  transform: rotate(19deg);
  transform-origin: bottom;
}

.hero-leaf {
  width: 65px;
  height: 28px;
  position: absolute;
  border: 1px solid var(--olive);
  border-radius: 100% 0 100% 0;
  background: #d7ddc9;
}

.hero-leaf-one {
  right: 121px;
  bottom: 132px;
  transform: rotate(-20deg);
}

.hero-leaf-two {
  right: 48px;
  bottom: 88px;
  transform: rotate(160deg);
}

.demo-notice {
  margin: 18px 0 44px;
  padding: 12px 16px;
  border: 1px solid #d5c9ad;
  border-radius: 12px;
  color: #4a3e2d;
  background: #f2eadc;
  font-size: 0.92rem;
  font-weight: 650;
  text-align: center;
}

.catalog-section {
  padding-bottom: 54px;
}

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

.section-heading h2,
.dialog-heading h2 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.45rem);
  font-weight: 500;
  line-height: 1.15;
}

.results-count {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.category-control {
  display: block;
  width: fit-content;
  max-width: 100%;
}

.category-select {
  width: 100%;
  min-height: 44px;
  padding: 10px 36px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
}

.catalog-category {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
  align-items: start;
  gap: 20px;
  padding-top: 24px;
  scroll-margin-top: 18px;
}

.catalog-category[hidden] {
  display: none;
}

.category-heading {
  grid-column: 1 / -1;
  margin: 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
  color: var(--olive-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2rem);
  font-weight: 500;
  scroll-margin-top: 18px;
}

.catalog-spread {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 16px 22px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 18px;
}

.family-heading {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.2rem;
  font-weight: 500;
}

.collective-figure {
  margin: 0;
}

.collective-image-panel {
  width: min(100%, 360px);
  min-width: 0;
}

.collective-image-wrap {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.collective-image {
  width: auto;
  max-width: 100%;
  max-height: min(340px, 72dvh);
  height: auto;
  display: block;
  object-fit: contain;
}

.collective-photo-button {
  display: block;
  max-width: 100%;
  padding: 0;
  border: 0;
  background: #fff;
  cursor: zoom-in;
}

.collective-caption {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
}

.family-offer-controls {
  display: grid;
  gap: 9px;
  margin-top: 12px;
}

.family-offer-controls > .button {
  min-height: 46px;
}

.individual-options {
  max-height: min(62dvh, 540px);
  display: grid;
  gap: 10px;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 2px 5px 2px 0;
  scrollbar-width: thin;
}

.individual-options[hidden] {
  display: none;
}

.individual-option {
  min-width: 0;
  display: grid;
  gap: 7px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.individual-option-title-line {
  min-width: 0;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 9px;
}

.individual-option-number {
  flex: 0 0 auto;
  color: var(--olive-dark);
  font-size: 0.78rem;
  font-weight: 750;
}

.individual-option-name {
  min-width: 0;
  padding: 0;
  border: 0;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 650;
  text-align: left;
  overflow-wrap: anywhere;
}

.individual-option-name:hover {
  color: var(--olive);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.essence-aroma-name {
  color: var(--olive-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.06rem;
  font-weight: 700;
}

.individual-option-specification {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.individual-option-controls {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  gap: 8px 12px;
}

.individual-option-price {
  white-space: nowrap;
}

.individual-quantity-controls {
  display: flex;
  align-items: center;
  justify-content: end;
  gap: 6px;
}

.individual-quantity-button {
  width: 42px;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--surface);
  font-size: 1.2rem;
}

.individual-quantity-input {
  width: 62px;
  min-height: 42px;
  padding: 6px;
  text-align: center;
}

.individual-option-controls > .button {
  min-height: 44px;
  grid-column: 1 / -1;
}

.combo-family {
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
  align-items: start;
  min-width: 0;
  display: grid;
  gap: 14px;
}

.combo-presentation {
  padding: 16px 0;
}

.combo-offer-badge {
  width: fit-content;
  min-width: min(100%, 240px);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  padding: 16px 20px;
  border: 1px solid #c9d2c1;
  border-radius: 14px;
  color: var(--olive-dark);
  background: var(--soft-green);
}

.combo-offer-label {
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.combo-offer-price {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 700;
  white-space: nowrap;
}

.combo-offer-controls {
  grid-column: 1;
}

.filter-row {
  display: flex;
  justify-content: flex-end;
  gap: 14px;
  margin: 12px 0 22px;
}

.filter-row label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.82rem;
}

.filter-row select {
  min-width: 190px;
  min-height: 42px;
  padding: 8px 34px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--surface);
}

.detail-price {
  color: var(--ink);
  font-size: 1.1rem;
}

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

.empty-state h3 {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
  font-weight: 500;
}

.empty-state p {
  color: var(--muted);
}

.site-footer {
  padding: 28px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p {
  margin-bottom: 6px;
}

.site-footer > p {
  max-width: 420px;
  text-align: right;
}

.site-footer p:first-child {
  color: var(--olive-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.modal {
  max-width: calc(100vw - 24px);
  max-height: min(90dvh, 900px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.modal:not([open]) {
  display: none;
}

.modal::backdrop {
  background: rgb(29 30 25 / 48%);
  backdrop-filter: blur(2px);
}

.product-modal {
  width: min(900px, calc(100vw - 32px));
  overflow: auto;
}

.dialog-close {
  width: 42px;
  height: 42px;
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--surface);
  font-size: 1.6rem;
  line-height: 1;
}

.product-modal > .dialog-close {
  position: absolute;
  z-index: 1;
  top: 14px;
  right: 14px;
}

.product-detail-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 28px;
}

.detail-figure {
  min-width: 0;
  margin: 0;
}

.detail-photo-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.detail-image {
  width: 100%;
  max-height: 560px;
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  background: #eeece4;
  object-fit: contain;
}

.detail-image-collective {
  aspect-ratio: 4 / 5;
}

.collective-photo-modal {
  width: min(900px, calc(100vw - 32px));
  overflow: auto;
}

.collective-photo-modal > .dialog-close {
  position: absolute;
  z-index: 1;
  top: 14px;
  right: 14px;
}

.collective-photo-large {
  width: 100%;
  max-height: min(78dvh, 900px);
  display: block;
  margin-inline: auto;
  object-fit: contain;
}

.collective-photo-modal .collective-caption {
  margin-bottom: 0;
  padding-right: 48px;
}

.detail-copy {
  min-width: 0;
  padding: 18px 4px;
}

.detail-title {
  margin-bottom: 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 4vw, 2.3rem);
  font-weight: 500;
  line-height: 1.15;
}

.detail-fragrance,
.detail-description {
  color: var(--muted);
}

.detail-metadata {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 12px;
  margin: 18px 0;
  font-size: 0.9rem;
}

.detail-metadata dt {
  color: var(--muted);
}

.detail-metadata dd {
  margin: 0;
}

.detail-price {
  display: block;
  margin-bottom: 16px;
  font-size: 1.35rem;
}

.detail-purchase-row {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
}

.detail-quantity-label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 0.85rem;
}

.quantity-input {
  width: 78px;
  min-height: 44px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
}

.cart-drawer {
  width: min(500px, calc(100vw - 20px));
  height: 100dvh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  margin: 0 0 0 auto;
  padding: 28px;
  border-radius: 22px 0 0 22px;
}

.dialog-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.dialog-heading .eyebrow {
  margin-bottom: 3px;
}

.cart-items {
  min-height: 0;
  flex: 1 1 auto;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.cart-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line-title {
  margin-bottom: 3px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 500;
}

.cart-line-meta {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.82rem;
}

.cart-line-subtotal {
  font-size: 0.95rem;
}

.cart-line-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: end;
  gap: 7px;
  align-self: start;
}

.quantity-button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--surface);
  font-size: 1.15rem;
}

.quantity-value {
  min-width: 20px;
  text-align: center;
}

.text-button {
  padding: 6px;
  border: 0;
  color: var(--olive-dark);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.remove-button {
  flex-basis: 100%;
  font-size: 0.82rem;
  text-align: right;
}

.cart-empty {
  padding: 28px 0;
  color: var(--muted);
  text-align: center;
}

.cart-summary {
  flex: 0 0 auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.subtotal-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

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

.cart-summary > p {
  margin: 5px 0 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.cart-summary > .button + .button {
  margin-top: 10px;
}

.inline-notice {
  padding: 10px 12px;
  border-radius: 10px;
  color: #51452e;
  background: #f2eadc;
  font-size: 0.86rem;
}

.checkout-modal {
  width: min(720px, calc(100vw - 28px));
  overflow: auto;
}

.form-intro {
  color: var(--muted);
  font-size: 0.92rem;
}

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

.form-field {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 5px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: var(--ink);
  background: #fff;
  font-weight: 400;
}

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

.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--danger);
}

.field-error {
  min-height: 1.1em;
  color: var(--danger);
  font-size: 0.78rem;
  font-weight: 400;
}

.checkbox-field {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  align-self: end;
}

.checkbox-field input {
  width: 20px;
  height: 20px;
  accent-color: var(--olive);
}

.form-status {
  min-height: 1.4em;
  margin-bottom: 10px;
  color: var(--olive-dark);
  font-weight: 600;
}

.order-review h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 500;
}

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

.review-block {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow-wrap: anywhere;
}

.review-block h4 {
  margin-bottom: 8px;
}

.review-block p {
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.88rem;
}

.review-block .review-subtotal {
  margin-top: 12px;
  color: var(--ink);
  font-weight: 700;
}

.review-actions,
.summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.summary-text {
  width: 100%;
  margin: 12px 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: #fff;
  resize: vertical;
}

.mobile-cart-bar {
  display: none;
}

@media (max-width: 700px) {
  body {
    padding-bottom: 78px;
  }

  .site-header,
  main,
  .site-footer {
    width: min(100% - 32px, 560px);
  }

  .site-header {
    min-height: 76px;
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px 0;
  }

  .brand {
    font-size: 1.05rem;
  }

  .header-catalog-link {
    margin-left: auto;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .search-control {
    min-width: 0;
    flex: 1;
  }

  .search-control input {
    width: 100%;
  }

  .header-actions > .button {
    flex: 0 0 auto;
    padding-inline: 12px;
  }

  .hero {
    min-height: 275px;
    margin-top: 8px;
    padding: 32px 24px;
    border-radius: 18px;
  }

  .hero-copy {
    max-width: 82%;
  }

  .hero-art {
    right: -95px;
    opacity: 0.34;
  }

  .demo-notice {
    margin: 14px 0 34px;
    font-size: 0.84rem;
  }

  .section-heading {
    align-items: start;
  }

  .results-count {
    flex: 0 0 auto;
    padding-top: 5px;
  }

  .filter-row {
    justify-content: stretch;
  }

  .filter-row label {
    min-width: 0;
    flex: 1;
  }

  .filter-row select {
    width: 100%;
    min-width: 0;
  }

  .catalog-category,
  .combo-family {
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
  }

  .catalog-spread {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
    padding-bottom: 20px;
  }

  .family-heading {
    grid-column: 1;
  }

  .collective-image-wrap {
    max-width: 100%;
  }

  .combo-offer-badge,
  .combo-offer-controls {
    grid-column: 1;
  }

  .individual-options {
    max-height: 54dvh;
  }

  .mobile-cart-bar {
    min-height: 58px;
    position: fixed;
    z-index: 5;
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 18px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--olive-dark);
    box-shadow: 0 8px 24px rgb(41 41 35 / 22%);
    font-weight: 700;
  }

  .mobile-cart-bar:disabled {
    display: none;
  }

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

  .detail-image {
    max-height: 280px;
    object-fit: contain;
  }

  .detail-copy {
    padding: 0 2px 4px;
  }

  .site-footer {
    flex-direction: column;
    gap: 8px;
    padding-bottom: 30px;
  }

  .site-footer > p {
    text-align: left;
  }

  .cart-drawer {
    width: 100%;
    height: min(88dvh, 760px);
    max-height: 88dvh;
    margin: auto 0 0;
    padding: 22px 18px;
    border-radius: 22px 22px 0 0;
  }

  .checkout-modal {
    padding: 20px 16px;
  }

  .review-content {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (min-width: 701px) and (max-width: 850px) {
  .site-header {
    flex-wrap: wrap;
    padding-block: 14px;
  }

  .header-actions {
    flex: 1 1 100%;
    justify-content: flex-end;
  }

  .search-control {
    min-width: 0;
    flex: 1;
  }

  .search-control input {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

}

@media (max-width: 420px) {
  .individual-option {
    padding: 10px;
  }

  .individual-option-controls {
    gap: 8px;
  }

  .individual-option-controls > .button {
    width: 100%;
    padding-inline: 8px;
  }

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

  .form-field-wide {
    grid-column: auto;
  }

  .checkbox-field {
    min-height: 32px;
  }

  .modal {
    padding: 20px 16px;
  }

  .cart-drawer {
    padding: 20px 16px;
  }

  .review-actions > .button {
    width: 100%;
  }
}

.site-header,
main,
.site-footer {
  width: min(1200px, calc(100% - 48px));
}

.site-header {
  min-height: 92px;
  gap: 24px;
}

.brand {
  min-width: 0;
  flex: 0 1 270px;
  gap: 0;
}

.brand-logo {
  width: min(100%, 270px);
  height: auto;
  display: block;
}

.header-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 28px);
}

.header-navigation a,
.department-navigation a {
  color: var(--olive-dark);
  font-weight: 650;
  text-decoration: none;
  text-underline-offset: 5px;
}

.header-navigation a:hover,
.department-navigation a:hover {
  text-decoration: underline;
}

.header-catalog-link {
  display: none;
}

.search-control input,
.filter-row select,
.category-select,
.quantity-input,
.form-field input,
.form-field textarea {
  border-color: #b7c8bb;
}

.button-primary {
  background: var(--olive-dark);
}

.button-primary:hover:not(:disabled) {
  background: #25452f;
}

.hero {
  min-height: 360px;
  margin-top: 12px;
  padding: clamp(38px, 6vw, 76px);
  border: 1px solid #e5dfcd;
  border-radius: 30px;
  background:
    radial-gradient(ellipse at 92% 10%, rgb(86 126 114 / 12%), transparent 36%),
    linear-gradient(115deg, #fcf5e3 0%, #fffdfa 70%, #f3ead4 100%);
}

.hero-copy {
  max-width: 56%;
}

.hero .eyebrow {
  color: var(--olive-dark);
}

.hero h1 {
  max-width: 680px;
  font-family: Optima, "Segoe UI", sans-serif;
  font-size: clamp(2.4rem, 5.2vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 530px;
  color: #43574b;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}

.hero-art {
  width: clamp(220px, 30vw, 360px);
  height: auto;
  aspect-ratio: 1;
  top: 50%;
  right: 4%;
  bottom: auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgb(50 86 61 / 18%);
  border-radius: 48% 52% 43% 57%;
  background:
    radial-gradient(circle at 34% 30%, rgb(255 253 250 / 90%) 0 8%, transparent 8.5%),
    radial-gradient(circle at 68% 72%, rgb(255 253 250 / 44%) 0 18%, transparent 18.5%),
    linear-gradient(145deg, #e5ecdf, #f8edda 62%, #d7e1d7);
  opacity: 1;
  transform: translateY(-50%);
}

.hero-art-ring {
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgb(50 86 61 / 30%);
  border-radius: 50%;
}

.hero-art-ring-one {
  transform: rotate(-24deg) scaleX(0.76);
}

.hero-art-ring-two {
  width: 56%;
  border-color: rgb(158 132 83 / 46%);
  transform: rotate(30deg) scaleX(0.84);
}

.hero-art-copy {
  position: relative;
  z-index: 1;
  color: var(--olive-dark);
  font-family: Optima, "Segoe UI", sans-serif;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
}

.hero-art-detail {
  width: 11px;
  height: 11px;
  position: absolute;
  top: 24%;
  right: 27%;
  border-radius: 50%;
  background: var(--gold);
}

.demo-notice {
  margin: 18px 0 30px;
  border-color: #d7cba8;
  border-radius: 10px;
  color: #3d4d40;
  background: #f4ecd8;
}

.brand-introduction {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: 34px;
  margin: 52px 0 64px;
  padding: 32px 0;
  border-block: 1px solid var(--line);
}

.brand-introduction h2 {
  max-width: 670px;
  margin-bottom: 0;
  color: var(--olive-dark);
  font-family: Optima, "Segoe UI", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
  font-weight: 500;
  line-height: 1.2;
}

.brand-introduction > p {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.section-heading h2,
.dialog-heading h2,
.category-heading,
.department-heading h3,
.family-heading,
.detail-title,
.empty-state h3,
.order-review h3 {
  color: var(--olive-dark);
  font-family: Optima, "Segoe UI", sans-serif;
}

.department-navigation {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0 24px;
}

.department-navigation a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border: 1px solid #b9c9bb;
  border-radius: 999px;
  background: #fffdfa;
}

.department-navigation a span {
  color: var(--gold);
}

.department-navigation a[aria-current="true"] {
  border-color: var(--olive-dark);
  color: #fffdfa;
  background: var(--olive-dark);
}

.department-navigation a[aria-current="true"] span {
  color: #ead9aa;
}

.filter-row {
  align-items: end;
}

.catalog-department {
  margin-top: 42px;
  scroll-margin-top: 20px;
}

.department-heading {
  margin-bottom: 22px;
}

.department-heading .eyebrow {
  margin-bottom: 5px;
}

.department-heading h3 {
  margin-bottom: 5px;
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 500;
  line-height: 1.12;
}

.department-description {
  margin-bottom: 0;
  color: var(--muted);
}

.collection-group {
  margin: 0 0 34px;
  scroll-margin-top: 18px;
}

.collection-group > .family-heading {
  margin-bottom: 14px;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 550;
}

.collection-pages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  align-items: start;
  gap: 18px;
}

.catalog-spread {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: 0 8px 26px rgb(50 86 61 / 6%);
}

.collective-image-panel {
  width: 100%;
}

.collective-image-wrap {
  width: 100%;
  height: 300px;
  display: grid;
  place-items: center;
  border-color: #e5e4d8;
  border-radius: 14px;
  background: #fffdfa;
}

.collective-photo-button {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: transparent;
}

.collective-image {
  width: 100%;
  max-height: 100%;
  height: 100%;
  object-fit: contain;
}

.collective-caption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.family-offer-controls {
  margin-top: 4px;
}

.individual-options {
  max-height: min(65dvh, 590px);
  padding: 2px 3px 3px 0;
}

.individual-option {
  border-color: #d7ddcf;
  background: #fffefa;
}

.individual-option-name {
  color: var(--olive-dark);
}

.individual-option-name:hover {
  color: #25452f;
}

.essence-aroma-name {
  color: var(--olive-dark);
  font-family: Optima, "Segoe UI", sans-serif;
}

.combo-presentation {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 0.82fr);
  grid-template-areas:
    "heading heading"
    "image price"
    "image composition"
    "image controls";
  align-items: start;
  gap: 14px 28px;
  margin: 0 0 34px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 8px 26px rgb(50 86 61 / 6%);
}

.combo-presentation > .family-heading {
  grid-area: heading;
  margin-bottom: 2px;
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.combo-presentation > .collective-image-panel {
  grid-area: image;
}

.combo-presentation > .combo-offer-badge {
  grid-area: price;
  align-self: end;
  border-color: #cdd9c8;
  background: #edf2e8;
}

.combo-composition {
  grid-area: composition;
  margin: 0;
  color: var(--ink);
  line-height: 1.6;
}

.combo-offer-controls {
  grid-area: controls;
  align-self: start;
}

.combo-offer-controls .button-outline {
  margin-top: 9px;
}

.site-footer {
  align-items: center;
  gap: 28px;
  margin-top: 42px;
  padding-top: 30px;
}

.footer-brand {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.footer-logo {
  width: min(100%, 220px);
  height: auto;
  margin-bottom: 4px;
}

.footer-brand p {
  margin: 0;
}

.footer-whatsapp {
  margin-top: 6px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-actions .footer-whatsapp {
  margin-top: 0;
}

.contact-actions [aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
}

.footer-disclaimer {
  max-width: 400px;
}

.count-badge {
  color: #fff;
  background: var(--olive-dark);
}

.detail-price,
.combo-offer-price,
.subtotal-row strong {
  color: var(--olive-dark);
}

.mobile-cart-bar {
  background: var(--olive-dark);
}

@media (max-width: 850px) {
  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 16px;
    padding-block: 12px;
  }

  .brand {
    width: min(100%, 245px);
    flex-basis: auto;
  }

  .brand-logo {
    width: 100%;
  }

  .header-navigation {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    padding: 3px 0;
  }

  .header-actions {
    grid-column: 1 / -1;
    grid-row: 3;
    width: 100%;
    justify-content: space-between;
  }

  .search-control {
    min-width: 0;
    flex: 1;
  }

  .search-control input {
    width: 100%;
  }
}

@media (max-width: 700px) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 32px, 560px);
  }

  .site-header {
    min-height: auto;
    gap: 9px 14px;
  }

  .brand {
    width: min(100%, 220px);
  }

  .header-navigation {
    gap: 12px;
    font-size: 0.92rem;
  }

  .header-actions {
    gap: 10px;
  }

  .hero {
    min-height: 330px;
    align-items: start;
    margin-top: 8px;
    padding: 34px 24px 145px;
    border-radius: 22px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h1 {
    max-width: 500px;
    font-size: clamp(2.15rem, 9.5vw, 3rem);
  }

  .hero-copy > p:not(.eyebrow) {
    max-width: 470px;
    font-size: 1rem;
  }

  .hero-art {
    width: 150px;
    right: 10px;
    bottom: -34px;
    top: auto;
    transform: translateY(0);
    opacity: 0.76;
  }

  .hero-art-copy {
    font-size: 1.05rem;
  }

  .brand-introduction {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin: 38px 0 48px;
    padding: 25px 0;
  }

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

  .department-navigation a {
    justify-content: space-between;
    gap: 6px;
    padding: 10px 12px;
    font-size: 0.9rem;
  }

  .catalog-department {
    margin-top: 34px;
  }

  .collection-pages {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .catalog-spread {
    padding: 12px;
  }

  .collective-image-wrap {
    height: clamp(220px, 68vw, 300px);
  }

  .combo-presentation {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "heading"
      "image"
      "price"
      "composition"
      "controls";
    gap: 13px;
    padding: 16px;
  }

  .combo-presentation > .combo-offer-badge {
    min-width: 0;
    padding: 12px 16px;
  }

  .site-footer {
    align-items: start;
    margin-top: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .department-navigation a {
    transition: none;
  }
}

/* Authorized photography from the official store, kept locally. */
.collection-pages {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
}

.collection-photo-panel {
  min-width: 0;
}

.collection-photo-figure {
  margin: 0;
}

.collection-photo-stage {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
  overflow: hidden;
  padding: 16px;
  border: 1px solid #e8e6de;
  border-radius: 12px;
  background: #fff;
  cursor: zoom-in;
}

.collection-photo-crop {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.collection-photo-image {
  position: absolute;
  display: block;
  max-width: none;
  max-height: none;
}

.collection-photo-caption {
  min-height: 3.9em;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.3;
}

.collection-photo-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: 8px 0 12px;
}

.collection-photo-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--olive-dark);
  background: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.collection-photo-position {
  min-width: 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

.combo-presentation > .combo-photo-panel {
  grid-area: image;
  width: 100%;
  max-width: 430px;
  justify-self: center;
}

.price-source-label {
  display: block;
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.35;
}

.individual-option-price-block {
  min-width: 0;
}

.combo-offer-badge > .price-source-label {
  flex-basis: 100%;
}

@media (max-width: 430px) {
  .individual-option-price-block {
    grid-column: 1 / -1;
  }

  .individual-quantity-controls {
    grid-column: 1 / -1;
    justify-content: start;
  }
}

.price-reference-link {
  display: inline-block;
  margin-block: 8px 18px;
  color: var(--olive-dark);
  font-size: 0.9rem;
}

/* Unit cards: one SKU, an image stage and an always-visible price. */
.product-category {
  margin: 0 0 36px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  scroll-margin-top: 20px;
}

.product-category-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.product-category-heading h3 {
  margin: 0;
  color: var(--olive-dark);
  font-family: Optima, "Segoe UI", sans-serif;
  font-size: 1.65rem;
  font-weight: 500;
}

.product-category-heading > span {
  color: var(--muted);
  font-size: 0.85rem;
}

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

.product-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.product-card-media {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  place-items: center;
  position: relative;
  overflow: hidden;
  padding: 12px;
  border: 0;
  border-radius: 0;
  background: #fff;
}

.product-card-photo-crop {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.product-card-photo {
  position: absolute;
  display: block;
  max-width: none;
  max-height: none;
}

.product-card-media-pending {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: var(--muted);
  background: #faf9f5;
  text-align: center;
}

.product-card-pending-mark {
  max-width: 140px;
  color: var(--olive);
  font-family: Optima, "Segoe UI", sans-serif;
  font-size: 1.35rem;
  line-height: 1.05;
}

.product-card-pending-label,
.product-card-pending-link {
  font-size: 0.75rem;
}

.product-card-pending-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-card-heading {
  min-height: 3em;
  margin: 16px 0 6px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.45;
}

.product-card-name {
  padding: 0;
  border: 0;
  color: var(--ink);
  background: none;
  font: inherit;
  text-align: left;
  overflow-wrap: anywhere;
}

.product-card-name:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.product-card-meta {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.8rem;
}

.product-card-composition {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.8rem;
}

.product-card-price-block {
  margin-top: auto;
}

.product-card-price {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 500;
}

.product-card-add {
  width: 100%;
  margin-top: 18px;
  border: 1px solid var(--olive);
  border-radius: 0;
  color: var(--olive-dark);
  background: #fff;
  font-size: 0.92rem;
  font-weight: 400;
}

.product-card-add:hover {
  background: var(--soft-green);
}

@media (max-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .product-category {
    padding: 16px 12px;
  }

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

  .product-card-media {
    padding: 6px;
  }

  .product-card-heading {
    font-size: 0.9rem;
  }

  .product-card-add {
    padding-inline: 6px;
    font-size: 0.82rem;
  }

  .product-card-pending-mark {
    font-size: 1.1rem;
  }
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  padding: 0;
  background: var(--paper);
}

.hero-copy {
  max-width: none;
  padding: clamp(28px, 4vw, 56px);
}

.hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
}

.hero-photo {
  min-width: 0;
  height: 100%;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 700px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
  }

  .hero-copy {
    padding: 32px 24px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 9.5vw, 3rem);
  }

  .hero-photo img {
    min-height: 0;
    height: auto;
    aspect-ratio: 4 / 3;
  }
}
