:root {
  --ink: #25211f;
  --muted: #746f69;
  --wine: #642635;
  --line: #e7e3df;
  --paper: #fff;
  --serif: Georgia, "Times New Roman", serif;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    14px/1.45 -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    sans-serif;
}
button,
select,
input {
  font: inherit;
  color: inherit;
}
button,
a,
select {
  touch-action: manipulation;
}
button {
  border: 0;
  cursor: pointer;
  background: none;
  padding: 0;
}
button:hover,
a:hover {
  color: var(--wine);
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid #b97742;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(1450px, 91%);
  margin-inline: auto;
}
.announcement {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  background: #53232b;
  color: #fff6ec;
  font-size: 11px;
  letter-spacing: 0.55px;
  height: 30px;
}
.announcement span {
  color: #d6af84;
  font-size: 10px;
}
header {
  border-bottom: 1px solid var(--line);
}
.head,
.head-actions,
.head nav,
.brand,
.head button,
.hero button,
.eyebrow,
.catalog-tools,
.filter-row,
#tabs,
.sort,
#filters,
.chip,
.card-meta,
.hero-kicker,
.figure,
.more button,
.detail-tools {
  display: flex;
  align-items: center;
}
.head {
  height: 73px;
  justify-content: space-between;
  position: relative;
}
.brand {
  font: 600 31px/0.95 var(--serif);
  letter-spacing: -1.8px;
  gap: 0;
}
.brand img {
  width: 37px;
  height: 37px;
  margin-right: 10px;
}
.brand span {
  font-weight: 400;
}
.brand .brand-rang {
  font-weight: 700;
  line-height: 1.18;
  color: #5F1317;
}
.brand .brand-rang + span { color: #060909; }
@supports (background-clip: text) or (-webkit-background-clip: text) {
  .brand .brand-rang {
    background-color: #5F1317;
    background-image: url("buta-inlay.svg"), linear-gradient(110deg, #5F1317 4%, #A3561C 55%, #5F1317 96%);
    background-size: .66em .495em, 100% 100%;
    background-position: .04em .08em, center;
    background-repeat: repeat, no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}
@media (forced-colors: active), print {
  .brand .brand-rang, .brand .brand-rang + span { background: none; color: inherit; }
}
.head nav {
  height: 100%;
  gap: 31px;
}
.head nav button {
  height: 100%;
  font-size: 13px;
  gap: 6px;
}
.head nav .selected {
  color: var(--wine);
  position: relative;
  font-weight: 600;
}
.head nav .selected:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 15px;
  background: var(--wine);
  height: 2px;
}
.head-actions {
  gap: 17px;
}
.head-actions button {
  gap: 8px;
}
.rule {
  width: 1px;
  height: 19px;
  background: var(--line);
}
.head-actions b {
  font-size: 10px;
  border-radius: 20px;
  background: #f1edeb;
  padding: 1px 6px;
  font-weight: 600;
}
.nav-categories {
  height: 100%;
  position: relative;
}
#menu {
  position: absolute;
  z-index: 4;
  top: 80%;
  left: -14px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 30px #21191016;
  min-width: 170px;
  padding: 7px;
}
#menu button {
  height: auto;
  width: 100%;
  padding: 7px 10px;
  text-align: left;
  border-radius: 6px;
}
#menu button:hover {
  background: #f8f4f1;
}
i[data-icon] {
  display: inline-flex;
  flex: none;
}
svg.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.head nav svg,
.sort svg:last-child {
  width: 13px;
}
.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: 25px 0 37px;
  border-radius: 15px;
  min-height: 310px;
  height: clamp(320px, 26.2vw, 408px);
  background: #4a2015 url("silk-editorial.jpg") center 53% / cover no-repeat;
  color: white;
  display: flex;
  align-items: center;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    #24100ac7 0%,
    #28110c5c 38%,
    transparent 67%
  );
}
.hero-copy {
  padding: 28px clamp(26px, 4.4vw, 72px);
}
.hero-kicker,
.figure,
.eyebrow,
.product-type,
.hero #explore,
.badge {
  font-weight: 600;
}
.hero-kicker,
.figure,
.eyebrow,
.product-type,
.badge {
  font-size: 10px;
  letter-spacing: 1.8px;
}
.hero-kicker {
  gap: 11px;
  color: #f0d5ac;
}
.hero-kicker span,
.figure span {
  height: 1px;
  width: 28px;
  background: currentColor;
}
.hero h1 {
  font: 400 clamp(45px, 4.9vw, 80px) / 1.04 var(--serif);
  letter-spacing: -2.8px;
  margin: 16px 0 11px;
}
.hero h1 em {
  font-weight: 400;
  color: #f3d3ae;
}
.hero p {
  font-size: 15px;
  color: #f1e9df;
  line-height: 1.55;
  margin: 0 0 24px;
}
.hero button {
  background: #fffaf4;
  border-radius: 30px;
  padding: 12px 21px;
  gap: 16px;
  color: #392624;
  font-size: 12px;
}
.hero button:hover {
  background: #f5e5cf;
}
.figure {
  position: absolute;
  bottom: 23px;
  right: 28px;
  gap: 10px;
  font-size: 9px;
  color: #fff7e5;
  text-shadow: 0 1px 4px #40241c;
}
.figure span {
  width: 24px;
}
#catalog {
  scroll-margin-top: 20px;
}
.catalog-heading,
.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.eyebrow {
  gap: 8px;
  color: var(--wine);
  letter-spacing: 2px;
}
.tiny-star {
  font-size: 19px;
  line-height: 1;
}
.catalog-heading h2 {
  font: 400 clamp(32px, 3.1vw, 49px) / 1.1 var(--serif);
  letter-spacing: -1.7px;
  margin: 6px 0 0;
}
.catalog-tools {
  gap: 16px;
  align-self: flex-end;
}
#summary {
  font-size: 12px;
  color: var(--muted);
}
.sort {
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 7px 11px;
  position: relative;
  gap: 8px;
}
.sort select {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.sort:focus-within {
  outline: 2px solid #b97742;
}
.sort:before {
  content: attr(data-label);
  order: 1;
  font-size: 12px;
}
.sort i:last-child {
  order: 2;
}
.filter-row {
  padding: 20px 0 18px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 20px;
}
#tabs {
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: thin;
  padding: 2px 0;
}
.chip,
#filters {
  white-space: nowrap;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 8px 13px;
  background: #fff;
  font-size: 12px;
}
.chip.active {
  background: var(--wine);
  color: #fff;
  border-color: var(--wine);
}
.chip:not(.active):hover,
#filters:hover {
  border-color: #b5a09f;
  background: #faf7f5;
}
.chip svg,
#filters svg,
.sort svg {
  width: 15px;
  height: 15px;
}
#filters {
  border-radius: 8px;
}
#filter-panel,
#searchbox {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f8f6f4;
  border-radius: 10px;
  margin: 15px 0;
}
#searchbox input {
  background: none;
  border: 0;
  min-width: 0;
  flex: 1;
  padding: 8px;
}
#searchbox button {
  display: flex;
}
#filter-panel label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
#filter-panel select,
.variant {
  border: 1px solid var(--line);
  background: white;
  border-radius: 7px;
  padding: 7px;
}
#reset {
  text-decoration: underline;
  font-size: 12px;
}
#grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
}
.card {
  position: relative;
  min-width: 0;
}
.card-photo {
  display: block;
  position: relative;
  background: #f2efec;
  border-radius: 12px;
  aspect-ratio: 1/0.99;
  overflow: hidden;
}
.card-photo img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 0.4s;
}
.card-photo:hover img {
  transform: scale(1.035);
}
.heart {
  position: absolute;
  right: 12px;
  top: 12px;
  border-radius: 50%;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  background: #fffef9ed;
  color: #403b37;
}
.heart svg {
  width: 16px;
}
.heart.saved svg,
.save-detail.saved svg {
  fill: var(--wine);
  color: var(--wine);
}
.product-type {
  color: #82665b;
  letter-spacing: 1.25px;
  text-transform: uppercase;
  font-size: 9px;
}
.card-meta {
  justify-content: space-between;
  gap: 6px;
  margin: 13px 0 5px;
}
.card h3 {
  margin: 0;
  font: 500 19px/1.25 var(--serif);
  letter-spacing: -0.4px;
}
.price {
  display: block;
  margin-top: 5px;
  font-size: 13px;
}
.more {
  display: grid;
  place-items: center;
  padding: 36px;
}
.more button,
.empty button,
.detail-tools button {
  border: 1px solid var(--line);
  padding: 11px 20px;
  border-radius: 24px;
  background: #fff;
  gap: 9px;
}
.empty {
  grid-column: 1/-1;
  padding: 45px;
  text-align: center;
  background: #f8f7f5;
  border-radius: 12px;
}
.empty h3 {
  font: 28px var(--serif);
}
footer {
  border-top: 1px solid var(--line);
  background: #faf8f6;
}
footer .wrap {
  min-height: 90px;
  display: flex;
  align-items: center;
  gap: 22px;
}
footer .brand {
  font-size: 24px;
}
footer .brand img {
  width: 28px;
}
footer span:not(.brand span),
footer button {
  font-size: 12px;
  color: #716a65;
}
footer button {
  margin-left: auto;
}
dialog {
  padding: 0;
  max-width: min(940px, 94vw);
  width: 940px;
  max-height: 90dvh;
  border: 0;
  border-radius: 18px;
  color: var(--ink);
  box-shadow: 0 25px 90px #24161033;
}
dialog::backdrop {
  background: #21171591;
  backdrop-filter: blur(4px);
}
body:has(dialog[open]) {
  overflow: hidden;
}
.close {
  position: absolute;
  right: 13px;
  top: 13px;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  background: white;
  display: grid;
  place-items: center;
  z-index: 2;
  border: 1px solid var(--line);
}
#detail-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.gallery {
  background: #f5f2ef;
  padding: 25px 16px 18px;
  align-self: stretch;
}
.large {
  width: 100%;
  height: 365px;
  object-fit: contain;
}
.thumbs {
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 7px 2px;
}
.thumbs button {
  border: 1px solid transparent;
  border-radius: 5px;
  overflow: hidden;
  flex: none;
  width: 46px;
  height: 53px;
}
.thumbs button.active {
  border: 2px solid var(--wine);
}
.thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detail-copy {
  padding: 42px 30px 25px;
}
.detail-copy h2 {
  font: 34px/1.08 var(--serif);
  letter-spacing: -1.2px;
  margin: 10px 0;
}
.detail-copy .price {
  font-size: 20px;
}
.desc {
  font-size: 14px;
  line-height: 1.6;
  white-space: pre-line;
}
.detail-copy h3 {
  font-size: 13px;
  margin: 19px 0 6px;
}
.spec {
  font-size: 12px;
  color: #6b655e;
}
.detail-tools {
  margin: 18px 0;
}
.detail-tools button {
  display: flex;
  align-items: center;
}
.archived {
  font-size: 10px;
  color: #756861;
}
.variant {
  width: 100%;
  max-width: 320px;
}
.unavailable {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
}
.large.unavailable {
  height: 365px;
}
@media (min-width: 1550px) {
  .hero {
    margin-block: 30px 42px;
  }
  .head {
    height: 80px;
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: 93%;
  }
  .head nav {
    gap: 18px;
  }
  #grid {
    gap: 24px 14px;
  }
  .chip {
    padding: 8px 10px;
  }
  .filter-row {
    gap: 8px;
  }
  .hero h1 {
    max-width: 510px;
  }
}
@media (max-width: 760px) {
  .head nav {
    display: none;
  }
  .head {
    height: 61px;
  }
  .brand {
    font-size: 28px;
  }
  .brand img {
    width: 32px;
  }
  .hero {
    height: 305px;
    min-height: 0;
    background-position: 57% center;
    margin: 16px 0 28px;
  }
  .hero-copy {
    padding: 24px;
  }
  .hero h1 {
    max-width: 350px;
  }
  .hero h1 em {
    display: block;
  }
  .hero p {
    font-size: 13px;
    margin-bottom: 18px;
  }
  .hero .figure {
    right: 15px;
    bottom: 13px;
    font-size: 8px;
  }
  .catalog-tools {
    gap: 7px;
  }
  .catalog-heading h2 {
    font-size: 33px;
  }
  .filter-row {
    padding: 14px 0 12px;
    margin-bottom: 14px;
  }
  #grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card h3 {
    font-size: 17px;
  }
  .card-photo {
    aspect-ratio: 1/0.99;
  }
  .card-meta {
    margin-top: 9px;
  }
  .filter-row #tabs {
    flex: 1;
  }
  .chip {
    padding: 7px 11px;
  }
  #detail-body {
    grid-template-columns: minmax(0, 1fr);
  }
  .gallery {
    padding: 18px 12px 6px;
  }
  .large {
    height: 260px;
  }
  .detail-copy {
    padding: 20px;
  }
  .head-actions {
    gap: 13px;
  }
  footer .wrap {
    flex-wrap: wrap;
    gap: 10px;
  }
  footer .wrap > span {
    display: none;
  }
  #filter-panel {
    flex-wrap: wrap;
  }
  .figure span {
    display: none;
  }
}
@media (max-width: 470px) {
  .wrap {
    width: 92%;
  }
  .announcement {
    font-size: 10px;
  }
  .hero {
    height: 298px;
    border-radius: 12px;
  }
  .figure {
    display: none;
  }
  .hero-kicker {
    font-size: 9px;
  }
  .catalog-heading {
    align-items: flex-end;
  }
  .catalog-heading h2 {
    font-size: 29px;
  }
  .catalog-tools {
    flex-direction: column;
    align-items: flex-end;
  }
  .sort {
    padding: 5px 8px;
  }
  .eyebrow {
    font-size: 9px;
  }
  .head-actions .save-text {
    display: none;
  }
  #grid {
    gap: 22px 12px;
  }
  .heart {
    width: 27px;
    height: 27px;
    right: 8px;
    top: 8px;
  }
  .card-photo {
    border-radius: 9px;
  }
  .detail-copy h2 {
    font-size: 28px;
  }
  .filter-row .chip,
  #filters {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.photo-download a {
  display: inline-block;
  padding: 8px 0;
  font-size: 13px;
  color: var(--wine);
  text-decoration: underline;
  text-underline-offset: 3px;
}
