:root {
  --bg: #10100f;
  --panel: #191918;
  --gold: #d9bc7e;
  --text: #f2eee7;
  --muted: #aaa59c;
  --line: #34322e;
  --pink: #c47796;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", Arial, sans-serif;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 30px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1280px, calc(100% - 112px));
  margin-inline: auto;
}
.announcement {
  padding: 9px 20px;
  text-align: center;
  background: #d8bd86;
  color: #222018;
  font-size: 12px;
  letter-spacing: 0.07em;
}
.announcement span {
  margin-left: 38px;
  font-size: 10px;
  letter-spacing: 0.18em;
}
.site-header {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 61px;
  width: 61px;
  object-fit: cover;
  border-radius: 50%;
}
.brand > span {
  font-family: var(--serif);
  font-size: 23px;
  letter-spacing: 0.065em;
  white-space: nowrap;
}
.brand small,
.footer-brand small {
  display: block;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: 0.25em;
  color: var(--gold);
  margin-top: 1px;
}
.site-header nav {
  display: flex;
  gap: 35px;
  font-size: 13px;
  color: #c1bcb3;
}
.site-header nav a {
  padding: 16px 0;
  position: relative;
}
.site-header nav a:hover {
  color: var(--gold);
}
.site-header nav .active:after {
  content: "";
  position: absolute;
  width: 24px;
  height: 1px;
  background: var(--gold);
  bottom: 4px;
  left: 0;
}
.header-actions {
  display: flex;
  gap: 19px;
  align-items: center;
}
.icon-button {
  width: 35px;
  height: 35px;
  border: 0;
  background: transparent;
  display: inline-grid;
  place-items: center;
  padding: 5px;
}
.icon-button svg {
  width: 23px;
  height: 23px;
}
.bag-button {
  position: relative;
  margin-right: 9px;
}
#bag-count {
  position: absolute;
  right: -9px;
  top: 0;
  background: var(--gold);
  color: #161510;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  font-size: 10px;
  line-height: 17px;
}
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 650px;
  align-items: center;
  padding-block: 43px 55px;
}
.hero-copy {
  position: relative;
  z-index: 1;
  padding: 25px 0;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.21em;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 21px;
  line-height: 1.6;
}
.hero .eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-weight: 400;
}
h1 {
  font-family: var(--serif);
  font-size: clamp(70px, 7.8vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 0 0 28px;
}
em {
  font-weight: 400;
  color: var(--gold);
}
.hero-description {
  font-size: 14px;
  line-height: 1.9;
  color: #b8b3a9;
  margin-bottom: 31px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 49px;
  padding: 14px 25px;
  border: 1px solid var(--gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.035em;
  background: transparent;
  color: var(--gold);
  transition:
    background 0.2s,
    transform 0.2s;
}
.gold {
  background: var(--gold);
  color: #1b1915;
}
.button:hover {
  background: #efcf8d;
  color: #171510;
  transform: translateY(-2px);
}
.hero-footnote {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 43px;
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--gold);
}
.hero-footnote strong {
  font-size: 11px;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--muted);
}
.tiny-star {
  font-size: 26px;
  color: var(--gold);
}
.hero-art {
  position: relative;
  align-self: stretch;
  min-width: 0;
  margin-left: -50px;
  overflow: hidden;
  background: #171412;
}
.hero-art:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  box-shadow: inset 35px 0 45px -20px var(--bg);
}
.hero-art > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 57% center;
  position: absolute;
}
.hero-art-caption {
  position: absolute;
  bottom: 24px;
  left: 40px;
  right: 25px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 8px;
  letter-spacing: 0.19em;
  z-index: 2;
  color: #cfc1a6;
}
.hero-side-note {
  position: absolute;
  right: -28px;
  writing-mode: vertical-rl;
  font-size: 8px;
  letter-spacing: 0.3em;
  color: var(--muted);
  top: 150px;
}
.brand-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  border-block: 1px solid var(--line);
  padding: 21px 24px;
  font-family: var(--serif);
  font-size: 18px;
  color: #c3bcaf;
}
.brand-strip i {
  font-size: 14px;
  color: var(--gold);
  font-style: normal;
}
.collection {
  padding-block: 90px 68px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin-bottom: 35px;
}
.section-heading .eyebrow {
  margin-bottom: 8px;
}
h2 {
  font-family: var(--serif);
  font-size: 62px;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin: 0;
}
.section-heading > p {
  color: var(--muted);
  font-size: 13px;
  margin: 0 0 5px;
}
.collection-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  margin-bottom: 31px;
  gap: 15px;
}
.filters {
  display: flex;
  gap: 32px;
}
.filters button {
  padding: 16px 0;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 13px;
  position: relative;
  white-space: nowrap;
}
.filters button.selected {
  color: var(--gold);
}
.filters button.selected:after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold);
}
.filters button span {
  font-size: 10px;
  margin-left: 6px;
  color: var(--muted);
}
.sort-label {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 11px;
  color: var(--muted);
}
select {
  appearance: none;
  background: #181817
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23d9bc7e'/%3E%3C/svg%3E")
    no-repeat right 12px center;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 9px 32px 9px 12px;
  font-size: 12px;
}
.sort-label select {
  border: 0;
  background-color: transparent;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 23px;
}
.product-card {
  min-width: 0;
}
.product-photo {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--panel);
  overflow: hidden;
}
.product-photo > a {
  display: block;
  height: 100%;
}
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.product-photo:hover img {
  transform: scale(1.055);
}
.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 8px;
  letter-spacing: 0.1em;
  padding: 5px 8px;
  border: 1px solid #64573f;
  background: #141310b3;
  color: #e5c997;
  pointer-events: none;
}
.save-product {
  position: absolute;
  right: 13px;
  top: 13px;
  background: #14131088;
  border: 1px solid #625742;
  width: 29px;
  height: 29px;
  font-size: 18px;
  color: var(--gold);
  display: grid;
  place-items: center;
  padding: 0;
}
.save-product.is-saved {
  background: var(--gold);
  color: #13120f;
}
.product-quick-view {
  position: absolute;
  bottom: 13px;
  left: 13px;
  right: 13px;
  background: #141310db;
  color: var(--text);
  border: 1px solid #625742;
  font-size: 10px;
  padding: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: 0.2s;
}
.product-photo:hover .product-quick-view,
.product-photo:focus-within .product-quick-view {
  opacity: 1;
  transform: none;
}
.product-category {
  font-size: 9px;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin: 18px 0 4px;
  text-transform: uppercase;
}
.product-title-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: baseline;
}
.product-title-line h3 {
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.2;
  margin: 0;
}
.product-title-line .price {
  font-size: 12px;
  color: var(--gold);
  white-space: nowrap;
}
.product-subtitle {
  font-size: 10px;
  color: var(--muted);
  margin: 6px 0 0;
}
.product-notes {
  font-size: 9px;
  letter-spacing: 0.025em;
  color: #c1b5a3;
  margin: 13px 0 0;
  padding-top: 12px;
  border-top: 1px solid #282723;
}
.demo-note {
  font-size: 11px;
  text-align: center;
  color: var(--muted);
  margin: 32px 0 0;
}
.search-row {
  margin-bottom: 25px;
}
.search-row > label {
  font-size: 12px;
  color: var(--gold);
}
.search-row > div {
  display: flex;
  gap: 15px;
  margin-top: 8px;
}
.search-row input {
  flex: 1;
  min-width: 0;
}
.text-button {
  border: 0;
  background: none;
  color: var(--gold);
  font-size: 12px;
}
.empty-state {
  grid-column: 1/-1;
  padding: 60px 20px;
  text-align: center;
  color: var(--muted);
}
.ritual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 490px;
  margin-block: 30px 90px;
  border: 1px solid var(--line);
}
.ritual-image {
  position: relative;
  overflow: hidden;
  max-height: 520px;
}
.ritual-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ritual-image > span {
  position: absolute;
  bottom: 25px;
  left: 30px;
  letter-spacing: 0.2em;
  font-size: 9px;
  color: var(--gold);
}
.ritual-copy {
  padding: 60px 65px;
  background: #171715;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ritual-copy h2 {
  margin-bottom: 24px;
}
.ritual-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
.text-link {
  color: var(--gold);
  font-size: 12px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #6d5d3e;
  padding: 10px 0;
  margin-top: 12px;
  align-self: flex-start;
  min-width: 220px;
}
.contact-section {
  text-align: center;
  padding: 10px 20px 90px;
}
.contact-section .tiny-star {
  display: block;
  margin-bottom: 18px;
}
.contact-section .eyebrow {
  margin-bottom: 12px;
}
.contact-section > p:not(.eyebrow) {
  margin: 23px 0 27px;
  color: var(--muted);
  font-size: 13px;
}
.contact-section .button span {
  background: #201b15;
  color: var(--gold);
  border-radius: 50%;
  width: 22px;
  height: 22px;
  line-height: 22px;
  font-size: 10px;
}
footer {
  border-top: 1px solid var(--line);
  padding: 38px 0 27px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.footer-brand {
  font-family: var(--serif);
  font-size: 25px;
  letter-spacing: 0.08em;
}
.footer-brand small {
  font-size: 8px;
}
footer > p {
  font-size: 12px;
  color: var(--muted);
  text-align: right;
  align-self: center;
  margin: 0;
}
footer > div {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #252421;
  padding-top: 22px;
  margin-top: 17px;
  color: var(--muted);
  font-size: 10px;
}
footer > div a:hover {
  color: var(--gold);
}
dialog {
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line);
  padding: 0;
  max-height: 90dvh;
}
dialog::backdrop {
  background: #000b;
  backdrop-filter: blur(5px);
}
.dialog-close {
  font-size: 28px;
  z-index: 3;
}
.product-dialog {
  width: 820px;
  max-width: calc(100% - 32px);
}
.product-dialog > .dialog-close {
  position: absolute;
  right: 12px;
  top: 12px;
  background: #171715cc;
}
#product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
#product-detail > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-copy {
  padding: 48px 32px;
}
.detail-copy h2 {
  font-size: 45px;
}
.detail-copy > p {
  color: var(--muted);
  font-size: 13px;
}
.detail-copy .detail-price {
  font-size: 22px;
  color: var(--gold);
  margin: 20px 0;
}
.detail-copy .button {
  width: 100%;
  margin-top: 20px;
}
.detail-meta {
  border-block: 1px solid var(--line);
  padding-block: 14px;
  font-size: 12px;
  margin: 22px 0;
}
.bag-dialog {
  margin: 0 0 0 auto;
  width: 500px;
  max-width: 100%;
  height: 100dvh;
  max-height: 100dvh;
  padding: 30px;
  position: fixed;
  inset: 0 0 0 auto;
}
.drawer-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}
.drawer-heading h2 {
  font-size: 40px;
}
.drawer-heading .eyebrow {
  margin-bottom: 7px;
}
.bag-item {
  display: grid;
  grid-template-columns: 66px 1fr auto;
  gap: 15px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding: 20px 0;
}
.bag-item img {
  height: 85px;
  width: 66px;
  object-fit: cover;
}
.bag-item h3 {
  font-family: var(--serif);
  font-size: 23px;
  margin: 0;
}
.bag-item p {
  font-size: 11px;
  color: var(--gold);
  margin: 3px 0 6px;
}
.quantity {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
}
.quantity button {
  background: var(--panel);
  border: 1px solid var(--line);
  width: 25px;
  height: 25px;
  padding: 0;
}
.remove-item {
  background: none;
  border: 0;
  font-size: 11px;
  color: var(--muted);
}
#bag-footer {
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
#bag-footer .button {
  width: 100%;
  margin-top: 10px;
}
.total-line {
  display: flex;
  justify-content: space-between;
  color: var(--gold);
}
.order-note {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.7;
  margin-top: 15px;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  transition: 0.25s;
  background: var(--gold);
  color: #161510;
  font-size: 13px;
  padding: 13px 23px;
  z-index: 20;
  max-width: 90%;
  box-shadow: 0 6px 35px #0008;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
input,
textarea {
  background: #10100f;
  border: 1px solid #48443b;
  padding: 11px 13px;
  color: var(--text);
  border-radius: 0;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
/* The separate, browser-local catalogue editor. */
.admin-page .wrap {
  width: min(1100px, calc(100% - 48px));
}
.admin-header {
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.admin-header h1 {
  font-size: 42px;
  margin: 0;
}
.admin-intro {
  margin: 30px 0;
  color: var(--muted);
  font-size: 14px;
  max-width: 850px;
}
.admin-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 25px 0;
  align-items: stretch;
}
.admin-actions .button {
  font-size: 12px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.admin-actions > #cleanup-images {
  grid-column: 1 / -1;
}
.admin-actions > #optimize-images {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 58px;
  justify-content: center;
  gap: 12px;
  white-space: normal;
  text-align: center;
}
.admin-actions > .image-format-field {
  grid-column: 1 / -1;
  width: 100%;
  box-sizing: border-box;
}
.admin-actions > .image-format-field select {
  width: 100%;
  box-sizing: border-box;
}
#admin-status {
  padding: 0;
  border: 0 solid transparent;
  border-radius: 8px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
#admin-status:not(:empty) {
  margin: 12px 0 22px;
}
#admin-status[data-kind="error"] {
  padding: 12px 14px;
  color: #f0b8ae;
  background: #2b1b19;
  border: 1px solid #70443d;
}
#admin-status[data-kind="success"] {
  padding: 12px 14px;
  color: #c9d9b4;
  background: #20271c;
  border: 1px solid #46563b;
}
#admin-status[data-kind="info"] {
  padding: 12px 14px;
  color: var(--gold);
  background: #211e17;
  border: 1px solid #49402e;
}
.admin-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 60px;
}
.admin-panel {
  border: 1px solid var(--line);
  padding: 25px;
  background: #171715;
}
.admin-panel h2 {
  font-size: 35px;
  margin-bottom: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
  font-size: 13px;
}
.field small {
  color: var(--muted);
  font-size: 11px;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field select {
  font-size: 14px;
  padding-block: 12px;
}
.field textarea {
  min-height: 100px;
  resize: vertical;
}
.check-field {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  margin: 20px 0;
}
.admin-product {
  display: grid;
  grid-template-columns: 45px 1fr auto;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 15px 0;
}
.admin-product img {
  width: 45px;
  height: 55px;
  object-fit: cover;
}
.admin-product strong {
  display: block;
  font-size: 13px;
}
.admin-product small {
  font-size: 11px;
  color: var(--muted);
}
.admin-product button {
  background: none;
  border: 1px solid var(--line);
  padding: 6px 10px;
  font-size: 11px;
}
.admin-product > div:last-child {
  display: flex;
  gap: 6px;
}
.admin-help {
  color: var(--muted);
  font-size: 12px;
}
.admin-preview {
  max-height: 150px;
  max-width: 150px;
  object-fit: cover;
  margin-bottom: 15px;
}
.notice {
  border-left: 2px solid var(--gold);
  padding: 12px 17px;
  background: #211f19;
  color: #d5c9b3;
  font-size: 12px;
}
.settings-fields {
  display: flex;
  gap: 12px;
  align-items: flex-end;
  margin-top: 20px;
}
.settings-fields .field {
  flex: 1;
}
.settings-fields button {
  margin-bottom: 16px;
}
#admin-status {
  font-size: 12px;
  color: var(--gold);
  min-height: 22px;
}
@media (min-width: 1500px) {
  .hero {
    min-height: 710px;
  }
  .hero-art {
    margin-left: -10px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 64px);
  }
  .site-header nav {
    gap: 20px;
  }
  .brand > span {
    font-size: 20px;
  }
  .brand img {
    width: 48px;
    height: 48px;
  }
  .hero {
    min-height: 590px;
  }
  .hero-art {
    margin-left: -15px;
  }
  .brand-strip {
    gap: 26px;
  }
  .product-grid {
    gap: 16px;
  }
  .product-title-line {
    display: block;
  }
  .product-title-line .price {
    display: block;
    margin-top: 6px;
  }
  .ritual-copy {
    padding: 40px;
  }
  .ritual-copy h2 {
    font-size: 52px;
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .announcement {
    font-size: 10px;
  }
  .announcement span {
    display: none;
  }
  .site-header {
    height: 88px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .site-header nav {
    display: none;
  }
  .brand > span {
    font-size: 20px;
  }
  .brand small {
    font-size: 6px;
  }
  .brand img {
    width: 42px;
    height: 42px;
  }
  .header-actions {
    gap: 9px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    padding: 38px 0 30px;
    align-items: stretch;
    gap: 25px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero .eyebrow {
    font-size: 10px;
    margin-bottom: 20px;
  }
  h1 {
    font-size: 78px;
    line-height: 0.95;
    margin-bottom: 23px;
  }
  .hero-description {
    font-size: 13px;
    margin-bottom: 22px;
  }
  .hero-footnote {
    margin-top: 26px;
  }
  .hero-art {
    height: 360px;
    margin: 0;
  }
  .hero-art-caption {
    left: 20px;
    font-size: 7px;
  }
  .hero-side-note {
    display: none;
  }
  .brand-strip {
    gap: 20px;
    justify-content: flex-start;
    overflow: hidden;
    white-space: nowrap;
    padding-block: 16px;
    font-size: 16px;
  }
  .brand-strip span:nth-of-type(n + 3),
  .brand-strip i:nth-of-type(n + 2) {
    display: none;
  }
  .collection {
    padding-top: 52px;
    padding-bottom: 35px;
  }
  .section-heading {
    display: block;
    margin-bottom: 22px;
  }
  h2 {
    font-size: 49px;
  }
  .section-heading > p {
    margin-top: 17px;
    font-size: 12px;
  }
  .section-heading > p br {
    display: none;
  }
  .eyebrow {
    font-size: 10px;
  }
  .collection-toolbar {
    flex-wrap: wrap;
    gap: 4px;
    padding-bottom: 12px;
    margin-bottom: 23px;
  }
  .filters {
    gap: 25px;
    width: 100%;
    border-bottom: 1px solid var(--line);
    margin-bottom: 7px;
  }
  .filters button {
    font-size: 12px;
  }
  .sort-label {
    margin-left: auto;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 14px;
  }
  .product-badge {
    font-size: 6px;
    padding: 4px 6px;
    left: 8px;
    top: 9px;
  }
  .save-product {
    right: 7px;
    top: 8px;
    width: 25px;
    height: 25px;
  }
  .product-category {
    font-size: 8px;
    margin-top: 12px;
  }
  .product-title-line h3 {
    font-size: 25px;
  }
  .product-title-line .price {
    font-size: 12px;
  }
  .product-subtitle {
    font-size: 10px;
    line-height: 1.7;
  }
  .product-notes {
    font-size: 9px;
  }
  .product-quick-view {
    opacity: 1;
    transform: none;
    font-size: 9px;
    padding: 7px;
    left: 8px;
    right: 8px;
    bottom: 8px;
  }
  .demo-note {
    font-size: 10px;
  }
  .ritual {
    grid-template-columns: 1fr;
    margin-block: 25px 50px;
  }
  .ritual-image {
    height: 310px;
  }
  .ritual-copy {
    padding: 32px 25px;
  }
  .ritual-copy h2 {
    font-size: 48px;
  }
  .contact-section {
    padding-bottom: 55px;
  }
  .contact-section > p:not(.eyebrow) {
    font-size: 12px;
  }
  .contact-section br {
    display: none;
  }
  .contact-section h2 br {
    display: block;
  }
  footer {
    grid-template-columns: 1fr;
    padding-top: 25px;
  }
  footer > p {
    text-align: left;
  }
  footer > div {
    font-size: 9px;
    gap: 15px;
    margin-top: 4px;
  }
  .footer-brand {
    font-size: 23px;
  }
  #product-detail {
    grid-template-columns: 1fr;
  }
  #product-detail > img {
    height: 260px;
    object-fit: cover;
  }
  .detail-copy {
    padding: 25px;
  }
  .detail-copy h2 {
    font-size: 40px;
  }
  .bag-dialog {
    padding: 23px;
  }
  .admin-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .admin-header {
    align-items: flex-start;
    gap: 15px;
  }
  .admin-header h1 {
    font-size: 35px;
  }
  .admin-header a {
    font-size: 12px;
  }
  .admin-panel {
    padding: 18px;
  }
  .admin-actions .button {
    padding: 10px 15px;
  }
  .settings-fields {
    display: block;
  }
  .field-row {
    gap: 12px;
  }
  .admin-intro {
    font-size: 13px;
  }
  .admin-product > div:last-child {
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}

/* Compact catalogue: readable type, generous touch controls, fewer sections. */
.site-header {
  height: 96px;
}
.site-header nav {
  font-size: 14px;
}
.icon-button {
  min-width: 44px;
  min-height: 44px;
}
.hero {
  min-height: 390px;
  padding-block: 28px 35px;
  grid-template-columns: 48% 52%;
}
.hero h1 {
  font-size: 76px;
}
.hero .eyebrow {
  font-size: 11px;
}
.hero-description {
  font-size: 15px;
  margin-bottom: 22px;
}
.hero-art {
  margin-left: 0;
}
.hero-art-caption {
  font-size: 10px;
}
.button {
  font-size: 14px;
  min-height: 48px;
}
.collection {
  padding-block: 45px 50px;
}
.section-heading {
  margin-bottom: 22px;
}
.section-heading h2 {
  font-size: 51px;
}
.section-heading > p {
  font-size: 14px;
}
.filters button {
  font-size: 14px;
  min-height: 48px;
}
.filters button span {
  font-size: 12px;
}
.catalogue-hint {
  font-size: 13px;
  color: var(--muted);
}
.collection-toolbar {
  margin-bottom: 25px;
}
.product-category {
  font-size: 12px;
}
.product-title-line h3 {
  font-size: 29px;
}
.product-subtitle,
.product-notes {
  font-size: 14px;
  line-height: 1.6;
}
.product-notes {
  padding-top: 10px;
  margin-top: 11px;
}
.product-badge {
  font-size: 10px;
  padding: 5px 8px;
  max-width: calc(100% - 72px);
}
.save-product {
  width: 40px;
  height: 40px;
  top: 12px;
  right: 12px;
  font-size: 24px;
}
.product-quick-view {
  opacity: 1;
  transform: none;
  font-size: 13px;
  min-height: 42px;
}
.demo-note {
  font-size: 13px;
}
.detail-copy > p {
  font-size: 15px;
}
.detail-meta {
  font-size: 14px;
}
.detail-order {
  display: block;
  margin: 16px auto 0;
  font-size: 14px;
  min-height: 44px;
}
.dialog-close {
  width: 44px;
  height: 44px;
}
.bag-item p {
  font-size: 13px;
}
.quantity {
  font-size: 15px;
  gap: 10px;
}
.quantity button {
  width: 36px;
  height: 36px;
  font-size: 18px;
}
.remove-item {
  font-size: 13px;
  min-height: 44px;
}
.order-note {
  font-size: 13px;
}
.search-row > label,
.search-row .text-button {
  font-size: 14px;
}
.search-row input {
  font-size: 16px;
}
.footer-brand small {
  font-size: 9px;
}
footer > p {
  font-size: 14px;
}
footer > div {
  font-size: 12px;
}
.field {
  font-size: 14px;
}
.field input,
.field textarea {
  font-size: 16px;
}
.field small,
.admin-help,
.notice {
  font-size: 13px;
}
.admin-product strong {
  font-size: 15px;
}
.admin-product small {
  font-size: 13px;
}
.admin-product button {
  font-size: 13px;
  min-height: 40px;
}
.check-field {
  font-size: 14px;
}
.settings-panel {
  margin-top: 24px;
}
.confirm-dialog {
  padding: 30px;
  width: 500px;
  max-width: calc(100% - 32px);
}
.confirm-dialog h2 {
  font-size: 38px;
}
.confirm-dialog > p {
  margin-top: 20px;
}
.confirm-dialog > div {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.admin-actions .button {
  font-size: 14px;
}
.admin-actions .text-button {
  font-size: 14px;
  min-height: 44px;
}
#admin-status {
  font-size: 14px;
}
.admin-help {
  margin-top: 20px;
}
@media (max-width: 760px) {
  .site-header {
    height: 84px;
  }
  .brand > span {
    font-size: 20px;
  }
  .brand small {
    font-size: 7px;
  }
  .header-actions {
    gap: 2px;
  }
  .brand {
    gap: 7px;
  }
  .brand img {
    height: 38px;
    width: 38px;
  }
  .hero {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 260px;
    padding: 30px 0;
    isolation: isolate;
    overflow: hidden;
  }
  .hero-copy {
    padding: 8px 0;
    max-width: 100%;
  }
  .hero h1 {
    font-size: 58px;
    line-height: 0.95;
    margin-bottom: 16px;
  }
  .hero .eyebrow {
    font-size: 10px;
    margin-bottom: 15px;
  }
  .hero-description {
    font-size: 14px;
    max-width: 290px;
    margin-bottom: 20px;
  }
  .hero-art {
    position: absolute;
    inset: 0 0 0 24%;
    height: auto;
    z-index: -1;
    opacity: 0.45;
  }
  .hero-art > img {
    object-position: 65% center;
  }
  .hero-art:before {
    box-shadow: none;
    background: linear-gradient(90deg, var(--bg), transparent 100%);
    inset: 0;
  }
  .hero-art-caption {
    display: none;
  }
  .hero .button {
    padding: 11px 18px;
    min-height: 46px;
  }
  .collection {
    padding-top: 30px;
  }
  .section-heading h2 {
    font-size: 43px;
  }
  .section-heading > p {
    display: none;
  }
  .collection-toolbar {
    padding: 0;
    display: block;
    margin-bottom: 22px;
  }
  .filters {
    gap: 23px;
    margin: 0;
    border-bottom: 0;
  }
  .filters button {
    font-size: 14px;
    padding: 14px 0;
  }
  .catalogue-hint {
    display: none;
  }
  .product-grid {
    gap: 29px 16px;
  }
  .product-category {
    font-size: 11px;
    letter-spacing: 0.05em;
  }
  .product-title-line h3 {
    font-size: 27px;
  }
  .product-subtitle {
    font-size: 14px;
  }
  .product-notes {
    font-size: 12px;
  }
  .product-badge {
    top: 10px;
    left: 8px;
    font-size: 8px;
    max-width: calc(100% - 52px);
    padding: 4px 6px;
  }
  .save-product {
    width: 36px;
    height: 36px;
    right: 7px;
    top: 7px;
    font-size: 22px;
  }
  .product-quick-view {
    font-size: 12px;
    min-height: 40px;
    bottom: 7px;
    left: 7px;
    right: 7px;
    padding: 8px 3px;
  }
  .product-photo {
    aspect-ratio: 3/4;
  }
  .demo-note {
    font-size: 12px;
    line-height: 1.7;
  }
  .detail-copy {
    padding: 25px;
  }
  .detail-copy > p {
    font-size: 15px;
  }
  .product-dialog {
    max-height: 92dvh;
  }
  .detail-copy h2 {
    font-size: 42px;
  }
  .bag-dialog {
    padding: 22px;
  }
  .bag-item {
    grid-template-columns: 56px 1fr auto;
    gap: 10px;
  }
  .bag-item h3 {
    font-size: 24px;
  }
  .bag-item img {
    width: 56px;
  }
  .drawer-heading h2 {
    font-size: 39px;
  }
  .bag-item p,
  .remove-item {
    font-size: 12px;
  }
  .order-note {
    font-size: 14px;
  }
  .detail-meta {
    font-size: 14px;
  }
  footer {
    gap: 12px;
  }
  .footer-brand {
    font-size: 22px;
  }
  footer > p {
    font-size: 13px;
  }
  footer > div {
    font-size: 11px;
  }
  .admin-product > div:last-child {
    gap: 8px;
  }
  .admin-page .wrap {
    width: calc(100% - 32px);
  }
  .admin-actions {
    gap: 10px;
  }
  .admin-header h1 {
    font-size: 32px;
  }
  .admin-header .text-link {
    min-width: 0;
  }
  .confirm-dialog {
    padding: 23px;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 360px) {
  .wrap {
    width: calc(100% - 28px);
  }
  .brand > span {
    font-size: 18px;
  }
  .brand small {
    font-size: 6px;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .header-actions {
    gap: 0;
  }
  .header-actions .icon-button {
    min-width: 39px;
    width: 39px;
  }
  .product-grid {
    gap: 25px 12px;
  }
  .product-title-line h3 {
    font-size: 24px;
  }
  .product-subtitle {
    font-size: 13px;
  }
  .filters {
    gap: 17px;
  }
  .filters button {
    font-size: 13px;
  }
  .product-badge {
    display: none;
  }
}

/* Final catalogue refinements: sticky navigation, readable type, polished modals. */
body {
  font-size: 17px;
  line-height: 1.7;
}
html {
  scroll-padding-top: 125px;
}
.site-header.wrap {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  height: 100px;
  padding-inline: max(40px, calc((100% - 1280px) / 2));
  background: rgba(16, 16, 15, 0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid #373229;
  box-shadow: 0 5px 25px #0002;
}
.brand img {
  width: 64px;
  height: 64px;
}
.brand > span {
  font-size: 27px;
}
.brand small {
  font-size: 9px;
}
.site-header nav {
  font-size: 16px;
}
.header-actions {
  gap: 16px;
}
.header-whatsapp {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 15px;
  color: var(--gold);
  padding: 10px 15px;
  border: 1px solid #5c5039;
  border-radius: 30px;
}
.header-whatsapp i {
  font-size: 21px;
}
.header-whatsapp:hover {
  background: #29251d;
}
.icon-button {
  font-size: 20px;
}
.bag-button {
  margin-right: 5px;
}
.hero {
  min-height: 390px;
  padding-block: 28px 34px;
}
.hero h1 {
  font-size: 82px;
}
.hero-description {
  font-size: 17px;
  line-height: 1.8;
}
.eyebrow {
  font-size: 13px !important;
  letter-spacing: 0.14em;
}
.hero .eyebrow i {
  font-size: 10px;
  color: var(--pink);
}
.hero-art {
  border-radius: 3px;
}
.button {
  font-size: 16px;
  min-height: 52px;
  border-radius: 7px;
  gap: 11px;
  padding: 14px 22px;
}
.button:hover {
  transform: none;
}
.button i {
  font-size: 18px;
}
.collection {
  padding-top: 35px;
}
.section-heading h2 {
  font-size: 58px;
}
.section-heading > p {
  font-size: 16px;
}
.catalogue-hint {
  font-size: 14px;
}
.filters {
  gap: 30px;
}
.filters button {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  min-height: 58px;
}
.filters button i {
  font-size: 15px;
}
.filters button span {
  font-size: 13px;
}
.collection-toolbar {
  margin-bottom: 30px;
}
.product-grid {
  gap: 30px 24px;
}
.product-photo {
  border-radius: 12px;
  aspect-ratio: 4/5;
  border: 1px solid #302b23;
}
.product-photo img {
  object-fit: cover;
}
.product-badge {
  font-size: 10px;
  border-radius: 4px;
  background: #171410d9;
  max-width: calc(100% - 77px);
  top: 15px;
  left: 13px;
}
.save-product {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 16px;
  top: 12px;
  right: 12px;
  background: #171410c9;
  transition: background 0.2s;
}
.save-product:hover {
  background: var(--gold);
  color: #181510;
}
.product-quick-view {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  min-height: 44px;
  font-size: 14px;
  border-radius: 6px;
  backdrop-filter: blur(10px);
  bottom: 12px;
  left: 12px;
  right: 12px;
}
.product-quick-view i {
  font-size: 12px;
}
.product-category {
  font-size: 13px;
  letter-spacing: 0.08em;
  margin-top: 18px;
}
.product-title-line h3 {
  font-size: 32px;
  line-height: 1.25;
}
.product-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: #bdb6ab;
}
.product-notes {
  font-size: 14px;
  line-height: 1.7;
  color: #c6bda9;
}
.search-row input {
  border-radius: 7px;
  font-size: 17px;
}
.search-row > label,
.text-button {
  font-size: 16px;
}
.text-button {
  min-height: 44px;
}
.search-row > div {
  gap: 12px;
}
.mobile-bar {
  display: none;
}
footer {
  margin-top: 12px;
}
footer > p {
  font-size: 15px;
}
footer > div {
  font-size: 13px;
}
.footer-brand {
  font-size: 28px;
}
dialog {
  border-color: #504430;
  box-shadow: 0 25px 100px #0009;
  border-radius: 18px;
}
dialog::backdrop {
  background: #050504b8;
  backdrop-filter: blur(10px);
}
.product-dialog {
  width: 960px;
  max-width: calc(100% - 48px);
  max-height: 90dvh;
  overflow-y: auto;
}
.product-dialog > .dialog-close {
  position: absolute;
  right: 16px;
  top: 16px;
  border: 1px solid #746341;
  background: #171613e8;
  border-radius: 50%;
  font-size: 19px;
}
.product-dialog #product-detail {
  grid-template-columns: 46% 54%;
  min-height: 530px;
}
.product-dialog #product-detail > img {
  min-height: 530px;
  height: 100%;
  object-fit: cover;
}
.detail-copy {
  padding: 56px 40px 34px;
  background: linear-gradient(135deg, #1e1c18, #141412);
}
.detail-copy h2 {
  font-size: 53px;
  line-height: 1.08;
  margin-bottom: 15px;
}
.detail-copy > p {
  font-size: 17px;
  line-height: 1.8;
  color: #bdb7ad;
}
.detail-copy .detail-subtitle {
  color: #d7c6a7;
  font-size: 17px;
}
.detail-meta {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gold);
  padding: 18px 0;
  margin: 24px 0;
}
.detail-copy .button {
  margin-top: 12px;
  width: 100%;
}
.whatsapp-button {
  background: #1d4032;
  border: 1px solid #477c61;
  color: #e8fff0;
}
.whatsapp-button:hover {
  background: #28523e;
  color: white;
}
.whatsapp-button i {
  color: #78e6a4;
  font-size: 22px;
}
.detail-order {
  font-size: 15px;
  color: #cbb484;
  margin-top: 18px;
}
.bag-dialog {
  padding: 32px;
  width: 510px;
  border-radius: 20px 0 0 20px;
  border-right: 0;
}
.drawer-heading {
  margin-bottom: 30px;
}
.drawer-heading .eyebrow {
  font-size: 12px !important;
}
.drawer-heading h2 {
  font-size: 46px;
}
.drawer-heading .dialog-close {
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 18px;
}
.bag-item {
  gap: 15px;
  padding-block: 22px;
}
.bag-item img {
  border-radius: 8px;
  height: 96px;
  width: 70px;
}
.bag-item {
  grid-template-columns: 70px 1fr auto;
}
.bag-item h3 {
  font-size: 28px;
}
.bag-item p {
  font-size: 14px;
  margin-bottom: 12px;
  color: #bdb19c;
}
.quantity {
  font-size: 16px;
}
.quantity button {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  font-size: 13px;
}
.remove-item {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 17px;
}
.remove-item:hover {
  color: #f2b0bb;
  background: #372529;
}
.order-note {
  font-size: 15px;
  line-height: 1.8;
}
.empty-state {
  font-size: 17px;
  padding: 55px 15px;
}
.empty-bag-icon {
  font-size: 38px;
  color: var(--gold);
  margin-bottom: 24px;
}
.empty-state p {
  margin-bottom: 24px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.admin-intro {
  font-size: 16px;
}
.notice,
.admin-help,
.field small {
  font-size: 14px;
}
.field,
.check-field {
  font-size: 16px;
}
.admin-panel {
  border-radius: 12px;
}
.admin-panel input,
.admin-panel textarea,
.admin-panel select {
  border-radius: 6px;
}
.admin-product strong {
  font-size: 16px;
}
.admin-product small {
  font-size: 14px;
}
.admin-product button {
  font-size: 14px;
}
.admin-actions .button {
  font-size: 15px;
}
.admin-page {
  padding-bottom: 0;
}
@media (max-width: 1000px) {
  .site-header.wrap {
    padding-inline: 32px;
  }
  .site-header nav {
    display: none;
  }
  .hero h1 {
    font-size: 72px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
  }
  .product-badge {
    font-size: 11px;
  }
  .product-dialog #product-detail {
    grid-template-columns: 45% 55%;
  }
  .detail-copy {
    padding: 54px 30px 30px;
  }
  .detail-copy h2 {
    font-size: 46px;
  }
}
@media (max-width: 760px) {
  body {
    font-size: 16px;
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
  }
  html {
    scroll-padding-top: 100px;
  }
  .wrap {
    width: calc(100% - 36px);
  }
  .site-header.wrap {
    height: 82px;
    padding-inline: 18px;
    background: rgba(16, 16, 15, 0.96);
  }
  .brand {
    gap: 9px;
  }
  .brand img {
    height: 48px;
    width: 48px;
  }
  .brand > span {
    font-size: 23px;
    letter-spacing: 0.025em;
  }
  .brand small {
    font-size: 7px;
    letter-spacing: 0.18em;
  }
  .desktop-action {
    display: none;
  }
  .header-actions {
    gap: 0;
  }
  .header-whatsapp {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
    border-color: #4a6048;
    color: #91d2a1;
  }
  .header-whatsapp i {
    font-size: 24px;
  }
  .header-whatsapp span {
    display: none;
  }
  .hero {
    min-height: 282px;
    padding: 30px 0;
  }
  .hero h1 {
    font-size: 62px;
  }
  .hero .eyebrow {
    font-size: 11px !important;
  }
  .hero-description {
    font-size: 16px;
    max-width: 310px;
    line-height: 1.75;
  }
  .hero .button {
    font-size: 15px;
    min-height: 48px;
    padding: 12px 18px;
  }
  .hero-art {
    inset: 0 0 0 20%;
    opacity: 0.35;
  }
  .hero-art:before {
    background: linear-gradient(90deg, var(--bg), #10100f55 85%);
  }
  .hero-copy {
    padding: 0;
  }
  .collection {
    padding-top: 30px;
    padding-bottom: 38px;
  }
  .section-heading h2 {
    font-size: 48px;
  }
  .section-heading .eyebrow {
    font-size: 11px !important;
    margin-bottom: 10px;
  }
  .filters {
    justify-content: space-between;
    gap: 12px;
  }
  .filters button {
    font-size: 15px;
    gap: 7px;
    min-height: 57px;
  }
  .filters button i {
    font-size: 13px;
  }
  .filters button span {
    font-size: 12px;
  }
  .product-grid {
    gap: 30px 16px;
  }
  .product-photo {
    border-radius: 10px;
    aspect-ratio: 3/4;
  }
  .product-badge {
    display: none;
  }
  .save-product {
    width: 40px;
    height: 40px;
    top: 9px;
    right: 9px;
    font-size: 15px;
  }
  .product-quick-view {
    font-size: 13px;
    min-height: 42px;
    padding: 8px 9px;
    left: 8px;
    right: 8px;
    bottom: 8px;
  }
  .product-quick-view i {
    font-size: 11px;
  }
  .product-category {
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.025em;
    margin: 14px 0 6px;
  }
  .product-title-line h3 {
    font-size: 29px;
  }
  .product-subtitle {
    font-size: 15px;
    line-height: 1.65;
    margin-top: 7px;
  }
  .product-notes {
    font-size: 13px;
    line-height: 1.7;
    padding-top: 10px;
    margin-top: 13px;
  }
  .mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 15;
    background: #181815f5;
    backdrop-filter: blur(20px);
    border-top: 1px solid #50422e;
    box-shadow: 0 -6px 25px #0005;
    padding: 8px 16px calc(8px + env(safe-area-inset-bottom));
    justify-content: space-around;
  }
  .mobile-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    color: #b8afa0;
    font-size: 12px;
    min-height: 58px;
    min-width: 80px;
    padding: 5px 12px;
    line-height: 1.3;
  }
  .mobile-tab > i,
  .mobile-order-icon > i {
    font-size: 21px;
  }
  .mobile-tab.active {
    color: var(--gold);
  }
  .mobile-order-icon {
    position: relative;
    display: inline-block;
  }
  .mobile-order-icon b {
    position: absolute;
    right: -14px;
    top: -7px;
    border-radius: 50%;
    width: 19px;
    height: 19px;
    line-height: 19px;
    background: var(--gold);
    color: #171410;
    font-size: 10px;
  }
  .product-dialog {
    width: 100%;
    max-width: 100%;
    max-height: 95dvh;
    border-radius: 22px 22px 0 0;
    position: fixed;
    inset: auto 0 0;
    margin: 0;
    overflow: auto;
  }
  .product-dialog #product-detail {
    display: block;
    min-height: 0;
  }
  .product-dialog #product-detail > img {
    width: 100%;
    height: 250px;
    min-height: 0;
    object-fit: cover;
    object-position: center 43%;
  }
  .product-dialog > .dialog-close {
    position: sticky;
    float: right;
    margin: 14px 14px -58px 0;
    top: 14px;
    right: 14px;
    width: 44px;
    height: 44px;
  }
  .detail-copy {
    padding: 28px 24px calc(26px + env(safe-area-inset-bottom));
  }
  .detail-copy .eyebrow {
    font-size: 12px !important;
    margin-bottom: 12px;
  }
  .detail-copy h2 {
    font-size: 44px;
    margin-bottom: 12px;
  }
  .detail-copy > p {
    font-size: 17px;
    line-height: 1.75;
  }
  .detail-copy .detail-subtitle {
    font-size: 17px;
  }
  .detail-meta {
    font-size: 15px;
    margin-block: 20px;
    padding-block: 15px;
  }
  .detail-copy .button {
    font-size: 16px;
    min-height: 52px;
  }
  .detail-order {
    font-size: 15px;
    margin-top: 14px;
  }
  .bag-dialog {
    width: 100%;
    max-width: 100%;
    padding: 25px 22px calc(25px + env(safe-area-inset-bottom));
    border-radius: 0;
    border: 0;
  }
  .drawer-heading h2 {
    font-size: 44px;
  }
  .drawer-heading {
    margin-bottom: 20px;
  }
  .bag-item {
    grid-template-columns: 62px 1fr 36px;
    gap: 12px;
  }
  .bag-item img {
    width: 62px;
    height: 91px;
  }
  .bag-item h3 {
    font-size: 28px;
  }
  .bag-item p {
    font-size: 14px;
  }
  .remove-item {
    width: 36px;
  }
  .quantity button {
    height: 40px;
    width: 40px;
  }
  .order-note {
    font-size: 15px;
  }
  .search-row > label {
    font-size: 15px;
  }
  .search-row input {
    font-size: 16px;
    min-height: 48px;
  }
  footer {
    padding-top: 30px;
  }
  .footer-brand {
    font-size: 26px;
  }
  footer > p {
    font-size: 14px;
  }
  footer > div {
    font-size: 12px;
  }
  #toast {
    bottom: calc(100px + env(safe-area-inset-bottom));
    width: max-content;
    max-width: 90%;
    font-size: 14px;
    border-radius: 8px;
  }
  .admin-page {
    padding-bottom: 0;
  }
  .admin-header h1 {
    font-size: 36px;
  }
  .admin-header .eyebrow {
    font-size: 12px !important;
  }
  .admin-intro {
    font-size: 15px;
  }
  .admin-actions .button {
    font-size: 14px;
  }
  .admin-panel {
    padding: 20px;
  }
  .admin-panel h2 {
    font-size: 38px;
  }
  .notice,
  .admin-help {
    font-size: 14px;
  }
}
@media (max-width: 360px) {
  .site-header.wrap {
    padding-inline: 14px;
  }
  .brand img {
    width: 40px;
    height: 40px;
  }
  .brand > span {
    font-size: 21px;
  }
  .brand small {
    font-size: 6px;
  }
  .wrap {
    width: calc(100% - 28px);
  }
  .hero h1 {
    font-size: 56px;
  }
  .hero-description {
    font-size: 15px;
  }
  .filters {
    gap: 8px;
  }
  .filters button {
    font-size: 14px;
    gap: 6px;
  }
  .filters button i {
    display: none;
  }
  .product-grid {
    gap: 26px 12px;
  }
  .product-title-line h3 {
    font-size: 26px;
  }
  .product-subtitle {
    font-size: 14px;
  }
  .product-quick-view {
    font-size: 12px;
  }
  .product-quick-view i {
    display: none;
  }
  .detail-copy {
    padding-inline: 20px;
  }
}

/* Product actions remain in one row on every screen. */
.product-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 12px;
  margin-top: 26px;
}
.detail-copy .product-actions .button {
  margin: 0;
  padding: 12px 10px;
  min-width: 0;
  line-height: 1.4;
  font-size: 15px;
  min-height: 56px;
}
.product-actions .whatsapp-button i {
  font-size: 21px;
  flex-shrink: 0;
}
.product-actions .button {
  gap: 9px;
}
.product-actions .button span {
  white-space: normal;
}
.login-panel {
  max-width: 440px;
  margin: 75px auto;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, #211e18, #141413);
}
.login-panel h2 {
  font-size: 48px;
  margin-bottom: 17px;
}
.login-panel > p:not(.eyebrow) {
  font-size: 16px;
  color: var(--muted);
}
.login-panel form {
  margin-top: 26px;
}
.login-panel .button {
  width: 100%;
}
.login-emblem {
  width: 52px;
  height: 52px;
  border: 1px solid #60513a;
  color: var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
  margin-bottom: 25px;
}
#login-status {
  font-size: 14px;
  min-height: 24px;
  margin-top: 22px;
}
.admin-header-links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 15px;
}
.admin-header-links > button {
  color: var(--muted);
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.admin-preview {
  border-radius: 8px;
}
.catalogue-error {
  padding: 40px 15px;
  text-align: center;
  display: block;
  color: var(--muted);
}
@media (max-width: 760px) {
  .product-actions {
    gap: 10px;
    margin-top: 24px;
    grid-template-columns: 1fr 1.2fr;
  }
  .detail-copy .product-actions .button {
    font-size: 14px;
    min-height: 57px;
    padding: 10px 8px;
    gap: 7px;
  }
  .product-actions .button > i {
    font-size: 15px;
  }
  .product-actions .whatsapp-button > i {
    font-size: 22px;
  }
  .login-panel {
    margin: 35px auto;
    padding: 28px 24px;
  }
  .admin-header-links {
    font-size: 13px;
    gap: 8px;
    flex-direction: column;
    align-items: flex-end;
  }
  .admin-header-links .text-button {
    font-size: 13px;
  }
  .admin-header {
    gap: 10px;
  }
  .admin-header h1 {
    font-size: 34px;
  }
  .form-actions {
    gap: 12px;
  }
  .form-actions .button {
    font-size: 15px;
  }
}

/* Footer: aligned brand and social columns, with a compact credit row. */
footer.site-footer {
  display: block;
  margin-top: 12px;
  padding: 36px 0 24px;
}
.site-footer .footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  border: 0;
  padding: 0;
  margin: 0;
}
.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.footer-brand-lockup > img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
}
.footer-brand-lockup > span {
  font-family: var(--serif);
  font-size: 29px;
  letter-spacing: 0.035em;
  color: var(--text);
  line-height: 1.3;
}
.footer-brand-lockup small {
  display: block;
  margin-top: 6px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.17em;
}
.footer-description {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.footer-label {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-social-link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid #4b4131;
  border-radius: 7px;
  font-size: 15px;
  color: var(--text);
  transition:
    background 0.2s,
    border-color 0.2s;
}
.footer-social-link i {
  font-size: 20px;
  color: var(--gold);
}
.footer-social-link:hover {
  background: #26221b;
  border-color: var(--gold);
}
.site-footer .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.footer-bottom > span:last-child {
  font-size: inherit;
  letter-spacing: normal;
}
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 32px;
  color: var(--muted);
  font-size: 13px;
}
.footer-credit > span {
  color: var(--gold);
}
.footer-credit:hover > span {
  color: #fff0cc;
}
@media (max-width: 760px) {
  footer.site-footer {
    margin-top: 0;
    padding-top: 28px;
  }
  .site-footer .footer-top {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .footer-brand-lockup {
    gap: 12px;
  }
  .footer-brand-lockup > img {
    width: 54px;
    height: 54px;
  }
  .footer-brand-lockup > span {
    font-size: 26px;
  }
  .footer-brand-lockup small {
    font-size: 8px;
    letter-spacing: 0.14em;
  }
  .footer-description {
    margin-top: 12px;
    font-size: 14px;
  }
  .footer-label {
    font-size: 12px;
    margin-bottom: 10px;
  }
  .footer-socials {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .footer-social-link {
    padding: 11px 14px;
    font-size: 15px;
    min-height: 48px;
  }
  .site-footer .footer-bottom {
    gap: 12px;
    margin-top: 26px;
    padding-top: 16px;
    font-size: 12px;
  }
  .footer-credit {
    font-size: 12px;
  }
}
@media (max-width: 360px) {
  .footer-brand-lockup > span {
    font-size: 24px;
  }
  .site-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
}

/* Accessible password visibility and actionable login feedback. */
.login-panel .login-input {
  display: block;
  width: 100%;
  min-height: 52px;
  border-radius: 7px;
  font-size: 16px;
}
.login-panel label.field {
  margin-bottom: 8px;
}
.login-panel .password-label {
  margin-top: 20px;
}
.password-field {
  position: relative;
  margin-bottom: 20px;
}
.password-field > input {
  display: block;
  width: 100%;
  min-height: 52px;
  padding-right: 56px;
  border-radius: 7px;
  font-size: 16px;
}
.password-toggle {
  position: absolute;
  right: 5px;
  top: 4px;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: var(--gold);
  font-size: 18px;
  display: grid;
  place-items: center;
  border-radius: 5px;
}
.password-toggle:hover {
  background: #30291e;
}
.login-panel input[aria-invalid="true"] {
  border-color: #db8f96;
}
.login-panel #login-status {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  line-height: 1.65;
  margin: 20px 0 0;
  padding: 12px 14px;
  border: 1px solid #504631;
  border-radius: 8px;
  color: #d3c5aa;
  background: #262119;
}
.login-panel #login-status > i {
  margin-top: 4px;
  flex-shrink: 0;
}
.login-panel #login-status[data-kind="error"] {
  color: #f0b5bc;
  background: #302024;
  border-color: #73454d;
}
.login-panel #login-status[data-kind="success"] {
  color: #b6d9ba;
  background: #1c2a20;
  border-color: #3e5c44;
}
.login-panel #login-status a {
  display: inline-block;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 7px;
  min-height: 32px;
}
.login-panel #login-status[hidden] {
  display: none;
}
.login-panel button[aria-busy="true"] {
  cursor: progress;
}

/* Search lives in its own dialog; the catalogue stays uncluttered. */
.search-dialog {
  width: 660px;
  max-width: calc(100% - 32px);
  max-height: 85dvh;
  padding: 30px;
  border-radius: 18px;
  background: #171613;
  overflow-y: auto;
}
.search-dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.search-dialog-heading .eyebrow {
  font-size: 11px !important;
  margin-bottom: 10px;
}
.search-dialog-heading h2 {
  font-size: 43px;
}
.search-dialog-heading .dialog-close {
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 18px;
}
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 12px 4px 16px;
  border: 1px solid #62543c;
  border-radius: 9px;
  background: #10100f;
}
.search-input-wrap:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 2px #d9bc7e20;
}
.search-input-wrap > i {
  font-size: 17px;
  color: var(--gold);
}
.search-input-wrap > input {
  border: 0;
  background: none;
  padding: 12px 0;
  min-width: 0;
  width: 100%;
  outline: none;
  font-size: 16px;
}
.search-input-wrap > input:focus-visible {
  outline: none;
}
.search-input-wrap .text-button {
  font-size: 14px;
  padding: 4px;
}
.search-input-wrap input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}
#search-result-status {
  font-size: 13px;
  color: var(--muted);
  margin: 20px 0 8px;
}
.search-results {
  display: grid;
  gap: 0;
}
.search-result {
  display: flex;
  align-items: center;
  gap: 17px;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 15px 2px;
  color: var(--text);
}
.search-result:last-child {
  border-bottom: 0;
}
.search-result:hover {
  background: #242018;
}
.search-result > img {
  width: 62px;
  height: 78px;
  object-fit: cover;
  border-radius: 7px;
  flex-shrink: 0;
}
.search-result-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}
.search-result-category {
  font-size: 12px;
  color: var(--muted);
}
.search-result-copy > strong {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
}
.search-result-notes {
  font-size: 14px;
  color: #bcb19a;
  line-height: 1.5;
}
.search-result > i {
  color: var(--gold);
  font-size: 14px;
  margin-right: 10px;
}
.search-empty {
  text-align: center;
  padding: 35px 10px;
  color: var(--muted);
}
.search-empty > i {
  font-size: 25px;
  color: var(--gold);
  margin-bottom: 20px;
}
.search-empty > p {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--text);
  margin-bottom: 8px;
}
.search-empty > span {
  font-size: 14px;
}
@media (max-width: 760px) {
  .search-dialog {
    padding: 23px 20px;
    max-width: calc(100% - 24px);
    max-height: 90dvh;
    border-radius: 16px;
  }
  .search-dialog-heading {
    gap: 10px;
    margin-bottom: 22px;
  }
  .search-dialog-heading h2 {
    font-size: 36px;
  }
  .search-dialog-heading .eyebrow {
    font-size: 10px !important;
  }
  .search-result {
    gap: 13px;
  }
  .search-result > img {
    width: 54px;
    height: 70px;
  }
  .search-result-copy > strong {
    font-size: 26px;
  }
  .search-result-notes {
    font-size: 13px;
  }
  .search-result > i {
    margin-right: 4px;
  }
  .search-input-wrap {
    gap: 10px;
    padding-left: 12px;
  }
  .search-input-wrap .text-button {
    font-size: 13px;
  }
}

/* Keep search controls fixed; only the result list scrolls. */
.search-dialog {
  overflow: hidden;
  max-height: 85dvh;
  padding: 28px 30px 12px;
}
.search-dialog[open] {
  display: flex;
  flex-direction: column;
}
.search-dialog-heading,
.search-input-wrap,
#search-result-status {
  flex-shrink: 0;
}
.search-results {
  display: block;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #6c5a38 transparent;
  scrollbar-gutter: stable;
  padding-right: 9px;
  margin-right: -9px;
}
.search-results::-webkit-scrollbar {
  width: 4px;
}
.search-results::-webkit-scrollbar-track {
  background: transparent;
}
.search-results::-webkit-scrollbar-thumb {
  background: #6c5a38;
  border-radius: 10px;
}
.search-results::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}
@media (max-width: 760px) {
  .search-dialog {
    padding: 23px 20px 10px;
    max-height: 90dvh;
  }
  .search-results {
    padding-right: 7px;
    margin-right: -7px;
  }
}

/* Search rows: subtle rounded hover instead of a solid rectangular block. */
.search-result {
  position: relative;
  isolation: isolate;
  background: transparent;
  padding: 15px 10px;
  border-bottom-color: #343027;
  border-radius: 9px;
  transition: background 0.18s;
}
.search-result:hover {
  background: rgba(217, 188, 126, 0.045);
}
.search-result:focus-visible {
  background: rgba(217, 188, 126, 0.06);
  outline: 1px solid #8b7549;
  outline-offset: -1px;
}
.search-result > i {
  opacity: 0.65;
  transition: opacity 0.18s;
}
.search-result:hover > i,
.search-result:focus-visible > i {
  opacity: 1;
}
@media (max-width: 760px) {
  .search-result {
    padding: 14px 8px;
  }
}

/* Product details: cohesive panels, clear hierarchy, and delicate note tags. */
.product-card {
  overflow: hidden;
  border: 1px solid #373025;
  border-radius: 13px;
  background: #191815;
  transition: border-color 0.2s;
}
.product-card:hover {
  border-color: #6b5838;
}
.product-card .product-photo {
  border: 0;
  border-radius: 0;
}
.product-info {
  padding: 19px 18px 20px;
  border-top: 1px solid #383025;
  background: linear-gradient(145deg, #1d1b17, #161613);
}
.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.product-kind {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b4a58b;
}
.product-kind > i {
  font-size: 11px;
  color: var(--gold);
}
.product-size {
  font-size: 11px;
  line-height: 1.5;
  padding: 3px 8px;
  border: 1px solid #51432f;
  border-radius: 5px;
  color: var(--gold);
  white-space: nowrap;
}
.product-info .product-title-line h3 {
  font-size: 31px;
  line-height: 1.15;
  margin: 0;
}
.product-info .product-title-line a:hover {
  color: var(--gold);
}
.product-info .product-subtitle {
  font-size: 14px;
  line-height: 1.7;
  color: #bcb4a7;
  margin: 10px 0 17px;
  min-height: 3.4em;
}
.product-note-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding-top: 15px;
  border-top: 1px solid #332e24;
  min-height: 43px;
  align-content: flex-start;
}
.product-note-tags > span {
  font-size: 11px;
  line-height: 1.55;
  padding: 4px 8px;
  background: #28241c;
  border-radius: 4px;
  color: #d1bfa0;
}
.product-note-tags > .product-unavailable {
  color: #dfafb1;
  background: #302224;
}
@media (max-width: 760px) {
  .product-card {
    border-radius: 11px;
  }
  .product-info {
    padding: 15px 12px 16px;
  }
  .product-meta {
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
  }
  .product-kind {
    font-size: 10px;
    gap: 5px;
    letter-spacing: 0.04em;
  }
  .product-kind > i {
    font-size: 10px;
  }
  .product-size {
    font-size: 10px;
    padding: 2px 6px;
  }
  .product-info .product-title-line h3 {
    font-size: 27px;
    line-height: 1.2;
  }
  .product-info .product-subtitle {
    font-size: 14px;
    margin: 9px 0 14px;
    min-height: 5.1em;
  }
  .product-note-tags {
    gap: 5px;
    padding-top: 12px;
  }
  .product-note-tags > span {
    font-size: 11px;
    padding: 4px 7px;
  }
}

/* Mobile polish: compact cards, clear controls, and contained product details. */
.detail-body > p {
  font-size: 17px;
  line-height: 1.8;
  color: #bdb7ad;
}
.detail-body .detail-subtitle {
  color: #d7c6a7;
}
.detail-body h2 {
  margin-bottom: 15px;
}
@media (max-width: 760px) {
  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom));
  }
  .mobile-bar {
    padding: 5px 14px calc(5px + env(safe-area-inset-bottom));
    background: #181815fa;
    box-shadow: 0 -3px 18px #0004;
  }
  .mobile-tab {
    min-height: 55px;
    gap: 5px;
    font-size: 12px;
    border-radius: 9px;
    min-width: 85px;
  }
  .mobile-tab.active {
    background: #d9bc7e0b;
  }
  .mobile-tab > i,
  .mobile-order-icon > i {
    font-size: 20px;
  }
  .collection {
    padding-top: 27px;
  }
  .section-heading h2 {
    font-size: 44px;
  }
  .filters button {
    min-height: 52px;
    font-size: 14px;
  }
  .filters {
    gap: 10px;
  }
  .product-grid {
    gap: 20px 12px;
  }
  .product-info {
    padding: 13px 11px 15px;
  }
  .product-meta {
    gap: 5px;
    margin-bottom: 10px;
  }
  .product-kind {
    font-size: 10px;
    letter-spacing: 0;
  }
  .product-kind > i {
    display: none;
  }
  .product-size {
    font-size: 10px;
    padding: 2px 5px;
  }
  .product-info .product-title-line h3 {
    font-size: 25px;
    line-height: 1.15;
    letter-spacing: -0.02em;
  }
  .product-info .product-subtitle {
    font-size: 13px;
    line-height: 1.65;
    min-height: 0;
    margin: 10px 0 14px;
  }
  .product-note-tags {
    min-height: 0;
    padding-top: 11px;
  }
  .product-note-tags > span {
    font-size: 11px;
    padding: 3px 6px;
  }
  .product-photo {
    aspect-ratio: 3/4;
  }
  .product-quick-view {
    font-size: 12px;
    min-height: 38px;
    padding: 7px 8px;
  }
  .save-product {
    height: 38px;
    width: 38px;
    top: 8px;
    right: 8px;
  }
  .product-dialog {
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    max-height: 94dvh;
  }
  .product-dialog #product-detail {
    display: flex;
    flex-direction: column;
    height: min(780px, 94dvh);
    max-height: 94dvh;
    min-height: 0;
    overflow: hidden;
  }
  .product-dialog #product-detail > img {
    height: clamp(160px, 26dvh, 225px);
    width: 100%;
    min-height: 0;
    flex-shrink: 0;
    object-fit: contain;
    object-position: center;
    background: #151310;
  }
  .product-dialog > .dialog-close {
    position: absolute;
    float: none;
    right: 12px;
    top: 12px;
    margin: 0;
    width: 40px;
    height: 40px;
    background: #171613e8;
  }
  .product-dialog .detail-copy {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    overflow: hidden;
    padding: 0;
  }
  .detail-body {
    overflow-y: auto;
    overscroll-behavior: contain;
    min-height: 0;
    flex: 1;
    padding: 23px 22px 12px;
    scrollbar-width: thin;
    scrollbar-color: #6c5a38 transparent;
  }
  .detail-body::-webkit-scrollbar {
    width: 4px;
  }
  .detail-body::-webkit-scrollbar-thumb {
    background: #6c5a38;
    border-radius: 10px;
  }
  .detail-body .eyebrow {
    font-size: 11px !important;
    margin-bottom: 12px;
  }
  .detail-body h2 {
    font-size: 38px;
    line-height: 1.05;
    margin-bottom: 14px;
  }
  .detail-body > p,
  .detail-body .detail-subtitle {
    font-size: 15px;
    line-height: 1.75;
  }
  .detail-body .detail-meta {
    margin: 18px 0 0;
    padding: 14px 0;
    font-size: 13px;
    line-height: 1.7;
  }
  .detail-actions {
    flex-shrink: 0;
    padding: 14px 20px calc(12px + env(safe-area-inset-bottom));
    border-top: 1px solid #3b3326;
    background: #191713;
  }
  .detail-actions .product-actions {
    margin: 0;
    gap: 9px;
    grid-template-columns: 1fr 1.2fr;
  }
  .detail-copy .detail-actions .product-actions .button {
    font-size: 13px;
    min-height: 51px;
    padding: 10px 8px;
    gap: 7px;
  }
  .detail-actions .detail-order {
    font-size: 13px;
    min-height: 32px;
    margin: 7px auto 0;
  }
  .detail-actions .whatsapp-button i {
    font-size: 19px;
  }
  footer.site-footer {
    margin-top: 0;
  }
  .site-footer .footer-top {
    gap: 22px;
  }
  .footer-brand-lockup > span {
    font-size: 24px;
  }
}

/* Mobile dialogs share quieter spacing and compact, readable actions. */
@media (max-width: 760px) {
  .detail-actions {
    padding: 12px 18px calc(10px + env(safe-area-inset-bottom));
  }
  .detail-copy .detail-actions .product-actions .button {
    font-size: 12px;
    line-height: 1.35;
    padding: 10px 7px;
    gap: 6px;
    min-height: 49px;
  }
  .detail-actions .product-actions {
    grid-template-columns: 1fr 1.15fr;
    gap: 8px;
  }
  .detail-actions .product-actions .button > i {
    font-size: 13px;
  }
  .detail-actions .product-actions .whatsapp-button > i {
    font-size: 18px;
  }
  .detail-actions .detail-order {
    font-size: 12px;
    margin-top: 5px;
    min-height: 32px;
  }
  .search-dialog {
    max-width: calc(100% - 28px);
    padding: 21px 18px 10px;
    border-radius: 15px;
  }
  .search-dialog-heading {
    gap: 10px;
    margin-bottom: 20px;
  }
  .search-dialog-heading h2 {
    font-size: 32px;
    line-height: 1.1;
  }
  .search-dialog-heading .eyebrow {
    font-size: 9px !important;
    letter-spacing: 0.12em;
  }
  .search-dialog-heading .dialog-close {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    font-size: 16px;
  }
  .search-input-wrap {
    gap: 8px;
    padding: 3px 10px;
    min-height: 48px;
  }
  .search-input-wrap > input {
    font-size: 16px;
    padding: 10px 0;
  }
  .search-input-wrap > i {
    font-size: 15px;
  }
  .search-input-wrap .text-button {
    font-size: 12px;
  }
  #search-result-status {
    font-size: 12px;
    margin: 17px 0 8px;
  }
  .search-result {
    padding: 13px 7px;
    gap: 11px;
  }
  .search-result > img {
    width: 49px;
    height: 64px;
  }
  .search-result-copy > strong {
    font-size: 25px;
  }
  .search-result-category {
    font-size: 11px;
  }
  .search-result-notes {
    font-size: 12px;
  }
  .search-result > i {
    font-size: 12px;
  }
  .bag-dialog {
    padding: 24px 20px calc(22px + env(safe-area-inset-bottom));
    height: auto;
    max-height: 94dvh;
    top: auto;
    border-radius: 18px 18px 0 0;
    border: 1px solid #504430;
    overflow: hidden;
  }
  .bag-dialog[open] {
    display: flex;
    flex-direction: column;
  }
  .drawer-heading {
    margin-bottom: 18px;
    flex-shrink: 0;
  }
  .drawer-heading h2 {
    font-size: 39px;
  }
  .drawer-heading .eyebrow {
    font-size: 10px !important;
    margin-bottom: 8px;
  }
  .drawer-heading .dialog-close {
    width: 38px;
    height: 38px;
    min-height: 38px;
    min-width: 38px;
    font-size: 16px;
  }
  #bag-items {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #6c5a38 transparent;
    flex: 1;
  }
  #bag-items::-webkit-scrollbar {
    width: 4px;
  }
  #bag-items::-webkit-scrollbar-thumb {
    background: #6c5a38;
    border-radius: 10px;
  }
  .bag-item {
    padding: 17px 0;
    grid-template-columns: 54px 1fr 30px;
    gap: 12px;
  }
  .bag-item > img {
    width: 54px;
    height: 75px;
  }
  .bag-item h3 {
    font-size: 27px;
    line-height: 1.15;
  }
  .bag-item p {
    font-size: 12px;
    margin: 6px 0 10px;
  }
  .quantity {
    gap: 10px;
    font-size: 14px;
  }
  .quantity button {
    width: 36px;
    height: 36px;
    font-size: 12px;
  }
  .remove-item {
    width: 30px;
    min-height: 40px;
    font-size: 15px;
  }
  #bag-footer {
    padding-top: 17px;
    flex-shrink: 0;
  }
  #bag-footer .button {
    min-height: 47px;
    font-size: 14px;
    margin-top: 9px;
    padding: 11px 15px;
  }
  .order-note {
    font-size: 13px;
    line-height: 1.75;
    margin: 15px 0 0;
  }
}

/* Mobile product modal: larger image with more compact supporting text. */
@media (max-width: 760px) {
  .product-dialog #product-detail > img {
    height: clamp(220px, 34dvh, 300px);
    object-fit: contain;
    background: #151310;
  }
  .detail-body {
    padding: 18px 20px 10px;
  }
  .detail-body .eyebrow {
    font-size: 10px !important;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
  }
  .detail-body h2 {
    font-size: 33px;
    line-height: 1.08;
    margin-bottom: 11px;
  }
  .detail-body > p,
  .detail-body .detail-subtitle {
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 13px;
  }
  .detail-body .detail-meta {
    font-size: 12px;
    line-height: 1.6;
    margin-top: 14px;
    padding: 11px 0;
  }
  .detail-copy .detail-actions .product-actions .button {
    font-size: 12px;
    min-height: 46px;
    padding: 9px 7px;
  }
  .detail-actions .detail-order {
    font-size: 12px;
    min-height: 30px;
    margin-top: 4px;
  }
  .detail-actions {
    padding: 11px 18px calc(9px + env(safe-area-inset-bottom));
  }
}
@media (max-width: 760px) and (max-height: 650px) {
  .product-dialog #product-detail > img {
    height: clamp(170px, 30dvh, 215px);
  }
  .detail-body h2 {
    font-size: 30px;
  }
  .detail-body > p,
  .detail-body .detail-subtitle {
    font-size: 13px;
  }
}

@media (max-width: 760px) {
  .detail-actions .detail-order {
    display: none;
  }
}

/* Product modal entrance. Native dialog keeps focus trapping and Escape support. */
@keyframes product-modal-rise {
  from {
    opacity: 0;
    transform: translateY(48px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes product-backdrop-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.product-dialog[open] {
  animation: product-modal-rise 0.34s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.product-dialog[open]::backdrop {
  animation: product-backdrop-in 0.24s ease-out both;
}
@media (prefers-reduced-motion: reduce) {
  .product-dialog[open],
  .product-dialog[open]::backdrop {
    animation: none;
  }
}

/* Compact mobile sheet with a smaller height cap. */
@media (max-width: 760px) {
  .product-dialog {
    max-height: 84dvh;
  }
  .product-dialog #product-detail {
    height: auto;
    max-height: 84dvh;
  }
  .product-dialog .detail-copy {
    flex: 0 1 auto;
  }
  .detail-body {
    flex: 0 1 auto;
  }
}

/* Slower, matching entrances for product and order dialogs. */
.product-dialog[open],
.bag-dialog[open] {
  animation: product-modal-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.product-dialog[open]::backdrop,
.bag-dialog[open]::backdrop {
  animation: product-backdrop-in 0.4s ease-out both;
}
@media (prefers-reduced-motion: reduce) {
  .product-dialog[open],
  .bag-dialog[open],
  .product-dialog[open]::backdrop,
  .bag-dialog[open]::backdrop {
    animation: none;
  }
}

/* More compact product typography on mobile. */
@media (max-width: 760px) {
  .product-info .product-title-line h3 {
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -0.015em;
  }
  .product-info .product-subtitle {
    font-size: 12px;
    line-height: 1.65;
    margin: 8px 0 12px;
  }
}

/* Single-row note tags with discreet horizontal scrolling. */
.product-note-tags {
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-x: contain;
}
.product-note-tags::-webkit-scrollbar {
  display: none;
}
.product-note-tags > span {
  flex-shrink: 0;
  white-space: nowrap;
}

/* Cart shell never scrolls; item list is the only scrolling region. */
.bag-dialog {
  overflow: hidden;
  height: 100dvh;
  max-height: 100dvh;
  box-sizing: border-box;
}
.bag-dialog[open] {
  display: flex;
  flex-direction: column;
}
.bag-dialog .drawer-heading {
  flex-shrink: 0;
}
.bag-dialog #bag-items {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #6c5a38 transparent;
  padding-right: 10px;
  margin-right: -10px;
}
.bag-dialog #bag-items::-webkit-scrollbar {
  width: 4px;
}
.bag-dialog #bag-items::-webkit-scrollbar-track {
  background: transparent;
}
.bag-dialog #bag-items::-webkit-scrollbar-thumb {
  background: #6c5a38;
  border-radius: 10px;
}
.bag-dialog #bag-footer {
  flex: 0 0 auto;
}
.bag-dialog .order-note {
  margin-bottom: 0;
}
@media (max-width: 760px) {
  .bag-dialog {
    height: auto;
    max-height: 90dvh;
  }
  .bag-dialog #bag-items {
    flex: 1 1 auto;
  }
  .bag-dialog #bag-footer {
    padding-top: 12px;
  }
  .bag-dialog .order-note {
    font-size: 12px;
    line-height: 1.65;
    margin-top: 12px;
  }
}

/* Cart actions share one row; supporting text spans both columns. */
.bag-dialog #bag-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 10px;
}
.bag-dialog #bag-footer .button {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 12px 9px;
  font-size: 13px;
  line-height: 1.4;
  gap: 7px;
}
.bag-dialog #bag-footer .button i {
  font-size: 18px;
  flex-shrink: 0;
}
.bag-dialog #bag-footer .order-note {
  grid-column: 1/-1;
  margin-top: 4px;
}
@media (max-width: 760px) {
  .bag-dialog #bag-footer {
    gap: 8px;
  }
  .bag-dialog #bag-footer .button {
    font-size: 12px;
    padding: 11px 7px;
    min-height: 48px;
  }
  .bag-dialog #bag-footer .button i {
    font-size: 17px;
  }
}

.bag-dialog #copy-order.is-copied {
  color: #bce5c5;
  border-color: #568765;
  background: #1b3021;
}

/* Background stays still while a dialog is open. */
html:has(dialog[open]),
body:has(dialog[open]) {
  overflow: hidden;
  overscroll-behavior: none;
}
html {
  scrollbar-width: thin;
  scrollbar-color: #75603b #10100f;
  scrollbar-gutter: stable;
}
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #10100f;
}
::-webkit-scrollbar-thumb {
  background: #75603b;
  border: 2px solid #10100f;
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: #b8995d;
}
::-webkit-scrollbar-corner {
  background: #10100f;
}
/* Hide the website scrollbar completely while retaining each dialog's internal scroll. */
html:has(dialog[open]) {
  scrollbar-width: none;
  scrollbar-gutter: auto;
}
html:has(dialog[open])::-webkit-scrollbar {
  display: none;
}

/* A lone unavailable action uses the entire row instead of an empty second column. */
.detail-copy .product-actions:has(> a[hidden]) {
  grid-template-columns: minmax(0, 1fr);
}
.detail-copy #detail-add:disabled {
  background: #25221b;
  border-color: #514633;
  color: #c5b99f;
  opacity: 1;
  white-space: nowrap;
  gap: 10px;
  cursor: default;
}
.detail-copy #detail-add:disabled i {
  flex-shrink: 0;
}

/* Align product card dividers and note tags across cards in the same grid row. */
.product-card {
  display: flex;
  flex-direction: column;
}
.product-info {
  display: flex;
  flex: 1;
  flex-direction: column;
}
.product-info .product-subtitle {
  flex: 1;
}

.studio-fallback {
  max-width: 520px;
  margin: 80px auto;
  padding: 28px;
  border: 1px solid var(--line, rgba(220,190,130,.28));
  border-radius: 16px;
  background: var(--panel, #191713);
  color: var(--muted, #c5bcae);
  text-align: center;
}
.studio-fallback p:first-child { color: var(--text, #f4eee5); font-size: 1.1rem; }
.studio-fallback .button { margin-top: 12px; }
