@font-face {
  font-family: Manrope;
  src: url(assets/sans.woff2);
}
@font-face {
  font-family: Cormorant;
  src: url(assets/display.woff2);
}
:root {
  --primary: #3e573a;
  --accent: #b75b3f;
  --background: #f6f5ed;
  --ink: #242d26;
  --muted: #626b62;
  --line: #d8dbcf;
  --paper: #fffdf8;
  font-family: Manrope, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--background);
  font-size: 16px;
  line-height: 1.65;
  scroll-behavior: smooth;
  scroll-padding-top: 95px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
img {
  display: block;
  max-width: 100%;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: Cormorant, Georgia, serif;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(3.5rem, 6vw, 6.6rem);
  margin-bottom: 25px;
}
h2 {
  font-size: clamp(2.5rem, 4vw, 4.4rem);
  margin-bottom: 24px;
}
.wrap {
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 48px;
}
.preview-note {
  font-size: 12px;
  text-align: center;
  padding: 8px 16px;
  background: #e7e8dc;
  color: #424d40;
}
.site-header {
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  max-width: 1440px;
  margin: auto;
}
.brand {
  font-family: Cormorant, Georgia, serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.15;
}
.brand img {
  max-width: 120px;
  max-height: 80px;
  object-fit: contain;
}
nav {
  display: flex;
  gap: 30px;
  align-items: center;
}
nav a {
  font-size: 14px;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 22px;
}
.button {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  padding: 15px 23px;
  min-height: 52px;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  font-weight: 600;
  font-size: 14px;
  transition:
    transform 0.2s,
    background 0.2s;
}
.button:hover {
  transform: translateY(-2px);
  filter: brightness(0.94);
}
.secondary {
  background: transparent;
  color: var(--primary);
}
.subtle,
.text-link {
  background: none;
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--primary);
  padding: 8px 0;
  font-size: 14px;
  font-weight: 600;
  min-height: 40px;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  padding-top: 65px;
  padding-bottom: 75px;
  align-items: center;
}
.hero-copy {
  padding-block: 25px;
}
.hero-intro {
  max-width: 450px;
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 35px;
}
.hero-art {
  position: relative;
  padding: 0 18px 25px;
}
.hero-art > img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 48% 48% 2px 2px;
  animation: enter 0.8s both;
}
.art-label {
  position: absolute;
  bottom: 0;
  font-size: 12px;
  left: 20px;
}
.roundel {
  position: absolute;
  bottom: 65px;
  left: -25px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  height: 112px;
  width: 112px;
  display: grid;
  align-content: center;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.7;
  transform: rotate(-12deg);
}
.hero-detail {
  display: flex;
  gap: 18px;
  margin-top: 36px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.hero-detail span + span {
  border-left: 1px solid var(--line);
  padding-left: 18px;
}
.collection {
  padding-block: 75px;
  border-top: 1px solid var(--line);
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 35px;
}
.section-heading > p {
  max-width: 330px;
  color: var(--muted);
}
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}
.pill {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--primary);
  border-radius: 30px;
  padding: 10px 19px;
  min-height: 44px;
  font-size: 13px;
}
.pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}
.filters {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 12px;
  padding-block: 20px;
  border-block: 1px solid var(--line);
}
input,
select,
textarea {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--paper);
  padding: 12px 14px;
  color: var(--ink);
  max-width: 100%;
  min-width: 0;
  width: 100%;
}
input[type="checkbox"] {
  width: auto;
}
label {
  display: grid;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
  min-width: 0;
}
textarea {
  resize: vertical;
}
.search {
  display: block;
}
.muted {
  color: var(--muted);
  font-size: 13px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 25px;
  margin-top: 25px;
}
.product-card {
  min-width: 0;
  animation: enter 0.4s both;
}
.product-photo {
  position: relative;
  border: 0;
  padding: 0;
  width: 100%;
  display: block;
  background: #e7e4d9;
  overflow: hidden;
}
.product-photo > img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.45s;
}
.product-photo:hover > img {
  transform: scale(1.035);
}
.photo-plus {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: var(--paper);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  font-size: 27px;
  display: grid;
  place-items: center;
  color: var(--primary);
}
.badge {
  position: absolute;
  left: 12px;
  top: 12px;
  background: var(--paper);
  padding: 5px 10px;
  font-size: 10px;
  letter-spacing: 0.04em;
}
.badge.stock {
  top: auto;
  bottom: 15px;
  background: #fff8e9;
}
.product-caption {
  padding-top: 18px;
}
.product-caption .eyebrow {
  font-size: 9px;
  letter-spacing: 0.11em;
  margin-bottom: 7px;
}
.product-title {
  font-family: Cormorant, Georgia, serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 1.1;
  text-align: left;
  padding: 0;
  background: none;
  border: 0;
  color: var(--ink);
}
.product-caption .muted {
  margin-top: 10px;
}
.product-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.product-bottom strong {
  color: var(--primary);
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 25px;
  align-items: center;
  margin-top: 40px;
  font-size: 13px;
}
.custom-section,
.payment-section {
  padding-block: 65px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.custom-section > .button {
  justify-self: end;
}
.custom-section p,
.payment-section p {
  max-width: 550px;
  color: var(--muted);
}
.payment-section img {
  max-height: 460px;
  max-width: 100%;
  justify-self: center;
  object-fit: contain;
}
.visit {
  padding-block: 70px;
  border-top: 1px solid var(--line);
}
.visit h2 {
  max-width: 680px;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-block: 25px;
  font-size: 12px;
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 42px;
  border-radius: 8px;
  width: min(940px, calc(100% - 32px));
  max-height: 90dvh;
  overflow: auto;
  box-shadow: 0 30px 100px #1f291b33;
}
dialog::backdrop {
  background: #1d241b99;
  backdrop-filter: blur(4px);
}
dialog h2 {
  font-size: 42px;
}
.dialog-close {
  position: absolute;
  right: 15px;
  top: 10px;
  background: transparent;
  border: 0;
  font-size: 30px;
  color: var(--primary);
  width: 40px;
  height: 40px;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.detail-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: contain;
  background: var(--background);
  touch-action: pan-y;
}
.detail-copy {
  padding-top: 20px;
}
.detail-price {
  font-size: 22px;
  color: var(--primary);
}
.detail-copy p {
  font-size: 14px;
  margin-top: 20px;
}
.detail-copy label {
  max-width: 150px;
  margin-bottom: 20px;
}
.thumbnails {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.thumbnails button {
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  width: 70px;
}
.thumbnails img {
  aspect-ratio: 1;
  object-fit: cover;
  width: 100%;
}
#customer-dialog,
#pin-dialog {
  max-width: 560px;
}
form {
  display: grid;
  gap: 18px;
}
pre {
  font:
    13px/1.6 Manrope,
    "Segoe UI",
    sans-serif;
  white-space: pre-wrap;
  word-break: break-word;
  background: var(--background);
  padding: 18px;
  max-height: 300px;
  overflow: auto;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: white;
  padding: 14px 22px;
  border-radius: 6px;
  z-index: 1000;
  font-size: 13px;
  width: max-content;
  max-width: calc(100% - 30px);
  box-shadow: 0 10px 25px #0002;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.owner-main {
  padding-block: 55px;
}
.owner-main h1 {
  font-size: clamp(2.8rem, 5vw, 5rem);
}
.owner-main h2 {
  font-size: 32px;
  margin: 0;
}
.owner-tabs {
  border-bottom: 1px solid var(--line);
  gap: 25px;
  margin-bottom: 35px;
  overflow: auto;
}
.owner-tabs button {
  padding: 15px 2px;
  white-space: nowrap;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 14px;
}
.owner-tabs .active {
  border-bottom: 2px solid var(--primary);
  color: var(--primary);
}
.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}
.owner-main .filters {
  grid-template-columns: 2fr 1fr;
}
.owner-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  min-width: 0;
}
.owner-row > img {
  width: 75px;
  height: 90px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 3px;
}
.row-copy {
  display: grid;
  gap: 4px;
  flex: 1;
  min-width: 0;
}
.row-copy strong {
  overflow-wrap: anywhere;
}
.row-copy span {
  font-size: 12px;
  color: var(--muted);
}
.row-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.row-actions button {
  font-size: 12px;
}
.danger {
  color: #a73838;
}
.actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-block: 25px;
}
.actions label {
  display: flex;
}
.editor {
  max-width: 760px;
}
.editor h2 {
  margin-bottom: 25px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.check {
  display: flex;
  align-items: center;
  gap: 10px;
}
.photo-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}
.photo-heading p {
  max-width: 350px;
}
.photo-heading .button {
  display: flex;
  white-space: nowrap;
}
.editor-photos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.editor-photo {
  display: grid;
  gap: 5px;
}
.editor-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--background);
}
.editor-photo > span {
  font-size: 11px;
}
.editor-photo > div {
  display: flex;
  gap: 5px;
}
.editor-photo button {
  background: var(--background);
  border: 1px solid var(--line);
  padding: 5px 8px;
  min-height: 36px;
}
.empty {
  padding: 35px 0;
}
.owner-row > select {
  max-width: 180px;
}
@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 850px) {
  .wrap {
    padding-inline: 25px;
  }
  .site-header {
    padding: 22px 25px;
  }
  .hero {
    gap: 30px;
    padding-top: 35px;
  }
  .hero h1 {
    font-size: 58px;
  }
  .hero-detail {
    display: none;
  }
  .hero-art {
    padding-inline: 5px;
  }
  .roundel {
    width: 85px;
    height: 85px;
    left: -15px;
    font-size: 9px;
  }
  .product-grid {
    gap: 30px 18px;
  }
  .product-title {
    font-size: 23px;
  }
  .product-bottom {
    align-items: start;
    flex-direction: column;
  }
  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 0;
  }
  .section-heading > p {
    max-width: none;
  }
  .owner-row {
    flex-wrap: wrap;
  }
  .row-actions {
    margin-left: 95px;
  }
  .owner-row > select {
    max-width: 150px;
  }
}
@media (max-width: 600px) {
  :root {
    scroll-padding-top: 20px;
  }
  .preview-note {
    font-size: 10px;
  }
  .wrap {
    padding-inline: 20px;
  }
  .site-header {
    padding: 19px 20px;
    gap: 15px;
  }
  .brand {
    font-size: 25px;
    max-width: 65%;
  }
  .brand img {
    max-width: 70px;
    max-height: 55px;
  }
  .site-header nav {
    gap: 12px;
    flex-wrap: wrap;
    justify-content: end;
  }
  .site-header nav a {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 30px;
    padding-bottom: 45px;
  }
  .hero-copy {
    padding: 0;
  }
  .hero h1 {
    font-size: 64px;
    max-width: 420px;
  }
  .hero-intro {
    font-size: 16px;
    max-width: 380px;
  }
  .hero-art {
    margin-inline: 35px 15px;
  }
  .hero-art > img {
    aspect-ratio: 5/4;
    border-radius: 45% 45% 0 0;
    object-position: center 40%;
  }
  .roundel {
    bottom: 45px;
    left: -35px;
  }
  .art-label {
    font-size: 10px;
    left: 5px;
  }
  .collection {
    padding-block: 40px;
  }
  .category-pills {
    gap: 7px;
  }
  .pill {
    font-size: 11px;
    padding: 9px 13px;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .filters .search {
    grid-column: 1/-1;
  }
  input,
  select,
  textarea {
    font-size: 16px;
    padding: 11px;
  }
  .filters select {
    font-size: 12px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 12px;
  }
  .product-title {
    font-size: 24px;
  }
  .product-caption .eyebrow {
    font-size: 8px;
  }
  .product-caption .muted {
    font-size: 11px;
  }
  .product-bottom {
    font-size: 13px;
  }
  .product-bottom .text-link {
    font-size: 12px;
  }
  .product-photo .badge {
    left: 7px;
    top: 7px;
    font-size: 8px;
    padding: 4px 7px;
  }
  .product-photo .stock {
    top: auto;
    bottom: 8px;
  }
  .photo-plus {
    width: 32px;
    height: 32px;
    right: 8px;
    bottom: 8px;
    font-size: 22px;
  }
  .custom-section,
  .payment-section {
    grid-template-columns: 1fr;
    padding-block: 40px;
    gap: 20px;
  }
  .custom-section > .button {
    justify-self: start;
  }
  .payment-section img {
    max-height: 400px;
  }
  .visit {
    padding-block: 40px;
  }
  footer {
    flex-wrap: wrap;
    gap: 12px;
  }
  dialog {
    padding: 38px 20px 24px;
  }
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .detail-photo {
    aspect-ratio: 5/4;
  }
  .detail-copy {
    padding: 0;
  }
  dialog h2 {
    font-size: 36px;
  }
  .owner-main {
    padding-block: 35px;
  }
  .owner-tabs {
    gap: 23px;
  }
  .toolbar {
    align-items: start;
  }
  .toolbar .button {
    font-size: 12px;
    padding: 12px 15px;
    min-height: 44px;
  }
  .owner-row {
    gap: 12px;
  }
  .owner-row > img {
    width: 55px;
    height: 70px;
  }
  .row-actions {
    margin-left: 67px;
    gap: 14px;
  }
  .row-copy strong {
    font-size: 14px;
  }
  .row-copy span {
    font-size: 11px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .photo-heading {
    flex-direction: column;
    align-items: start;
    gap: 0;
  }
  .editor-photos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .owner-main .filters {
    grid-template-columns: 1fr;
  }
  .owner-row > select {
    max-width: 100%;
    font-size: 14px;
  }
  .hero .button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Selection drawer and accessible product-gallery controls */
#bag-dialog {
  width: min(520px, calc(100% - 16px));
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 0 0 auto;
  border-radius: 0;
  inset: 0;
  padding: 45px 28px 30px;
}
.bag-row {
  display: grid;
  grid-template-columns: 65px minmax(0, 1fr);
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.bag-row img {
  width: 65px;
  height: 85px;
  object-fit: cover;
}
.bag-row strong {
  overflow-wrap: anywhere;
}
.bag-row p {
  font-size: 12px;
}
.bag-row label {
  max-width: 100px;
}
.bag-row input {
  padding: 6px 10px;
}
.bag-row .text-link {
  font-size: 12px;
  margin-top: 10px;
}
#bag-summary dl > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 12px 0;
  font-size: 14px;
}
#bag-summary dd {
  margin: 0;
  text-align: right;
}
#bag-summary dl > div:last-child {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font-weight: bold;
}
#bag-error {
  color: #a73838;
  font-size: 14px;
}
.offer-note {
  background: var(--background);
  padding: 15px;
  font-size: 12px;
}
.gallery-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-block: 9px;
  flex-wrap: wrap;
}
.gallery-controls button {
  min-height: 44px;
  font-size: 12px;
}
#photo-count {
  font-size: 12px;
  color: var(--muted);
}
.thumbnails [aria-pressed="true"] {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}
#photo-dialog {
  width: min(1100px, calc(100% - 24px));
  text-align: center;
}
#zoom-photo {
  max-width: 100%;
  max-height: 75dvh;
  object-fit: contain;
}
.product-options {
  border: 1px solid var(--line);
  padding: 18px;
  min-width: 0;
}
.product-options legend {
  padding-inline: 8px;
  color: var(--primary);
}
.product-options > p {
  grid-column: 1/-1;
}
#offers-panel {
  max-width: 600px;
}
#offers-panel form {
  margin-top: 25px;
}
.site-header nav {
  min-width: 0;
}
#bag-open {
  white-space: normal;
  text-align: right;
  min-height: 44px;
  max-width: 160px;
}
@media (max-width: 600px) {
  #bag-dialog {
    padding: 45px 20px 25px;
  }
  #bag-open {
    font-size: 11px;
    max-width: 115px;
  }
  .site-header .brand {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .site-header nav {
    flex-wrap: wrap;
  }
  .gallery-controls {
    gap: 10px;
  }
  .bag-row {
    gap: 12px;
  }
  .product-options {
    padding: 12px;
  }
}

.product-card, .row-copy { min-width: 0; }
.product-caption button, .row-copy { overflow-wrap: anywhere; }
