
:root {
  --wine: #8d5267;
  --wine-dark: #65384b;
  --rose: #f3e7e9;
  --cream: #fbf8f3;
  --gold: #b28a52;
  --ink: #292326;
  --muted: #81777a;
  --line: #eadfe0;
  --white: #fff;
  --shadow: 0 18px 55px rgba(76,43,56,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.announcement {
  background: var(--wine-dark);
  color: #fff;
  text-align: center;
  padding: 9px 14px;
  font-size: 11px;
  letter-spacing: .13em;
}
.site-header {
  height: 82px;
  padding: 0 6.5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(251,248,243,.96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 39px;
  height: 39px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--wine);
  font: 25px "Playfair Display", serif;
}
.brand strong, .brand small { display: block; }
.brand strong {
  font: 600 17px "Playfair Display", serif;
  letter-spacing: .16em;
}
.brand small {
  font-size: 8px;
  letter-spacing: .19em;
  color: var(--muted);
  margin-top: 3px;
}
.main-nav { display: flex; gap: 35px; font-size: 12px; color: #5e5559; }
.main-nav a:hover, .underlined-link:hover { color: var(--wine); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.text-button, .footer-login, .plain-link {
  background: none;
  border: 0;
  color: var(--wine);
  font-size: 12px;
  cursor: pointer;
}
.cart-button {
  background: var(--wine);
  color: white;
  border: 0;
  border-radius: 30px;
  padding: 11px 17px;
  font-size: 12px;
  cursor: pointer;
}
.cart-button span {
  display: inline-grid;
  place-items: center;
  background: #fff;
  color: var(--wine);
  border-radius: 50%;
  width: 19px;
  height: 19px;
  margin-left: 7px;
}
.menu-button {
  display: none;
  background: none;
  border: 0;
  font-size: 23px;
  color: var(--wine);
}

.hero {
  min-height: 510px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 55px 10% 45px;
  align-items: center;
  background: linear-gradient(105deg,#f7eeeb,#f6ece7 55%,#ead8d6);
}
.hero-copy { max-width: 490px; }
.eyebrow {
  font-size: 9px;
  letter-spacing: .23em;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 17px;
}
.hero h1, .section-heading h2, .story-copy h2,
.contact-section h2, .modal h2 {
  font: 500 clamp(38px,5vw,63px)/1.08 "Playfair Display",serif;
  margin: 0;
  color: var(--wine-dark);
}
.hero h1 em { color: var(--gold); font-weight: 500; }
.hero-description {
  font-size: 13px;
  line-height: 1.9;
  color: #72666b;
  max-width: 390px;
  margin: 23px 0 27px;
}
.primary-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  background: var(--wine);
  color: #fff;
  border: 1px solid var(--wine);
  border-radius: 2px;
  padding: 14px 20px;
  font-size: 11px;
  letter-spacing: .04em;
  cursor: pointer;
  transition: .2s;
}
.primary-button:hover {
  background: var(--wine-dark);
  border-color: var(--wine-dark);
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: .12em;
  color: #89777c;
  margin-top: 34px;
}
.note-line { width: 35px; height: 1px; background: var(--gold); }
.hero-art {
  height: 390px;
  position: relative;
  display: grid;
  place-items: center;
}
.hero-orbit {
  position: absolute;
  border: 1px solid rgba(178,138,82,.45);
  border-radius: 50%;
  width: 310px;
  height: 310px;
}
.orbit-two {
  width: 365px;
  height: 365px;
  border-color: rgba(141,82,103,.18);
}
.hero-medallion {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%,#fff9ee,#d9b5a9 75%);
  border: 8px double #b58c59;
  box-shadow: 0 20px 40px #805c5540;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--wine-dark);
  position: relative;
}
.hero-medallion b { font: 90px "Playfair Display",serif; }
.hero-medallion span { color: var(--gold); font-size: 22px; }
.hero-medallion small { font-size: 8px; letter-spacing: .25em; }
.hero-caption {
  position: absolute;
  right: 0;
  bottom: 24px;
  font: italic 17px/1.4 "Playfair Display",serif;
  color: var(--wine);
}

.trust-strip {
  display: flex;
  justify-content: center;
  gap: 9%;
  padding: 20px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  font-size: 11px;
  color: #74676c;
}
.trust-strip span { color: var(--gold); font-size: 17px; margin-right: 8px; }
.section-wrap { padding: 82px 9%; }
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 30px;
}
.section-heading h2, .story-copy h2, .contact-section h2 { font-size: 42px; }
.muted { color: var(--muted); font-size: 12px; }
.shop-tools {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 26px;
}
.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: #fff;
  padding: 0 13px;
  min-width: 240px;
}
.search-box span { font-size: 22px; color: var(--gold); }
.search-box input {
  border: 0;
  outline: 0;
  padding: 12px 0;
  width: 100%;
  font-size: 11px;
}
.filter-row { display: flex; gap: 9px; }
.filter-row select {
  border: 1px solid var(--line);
  background: #fff;
  color: #62565b;
  padding: 11px 13px;
  font-size: 11px;
  min-width: 140px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 24px 18px;
}
.product-card {
  background: #fff;
  border: 1px solid #eee5e4;
  min-width: 0;
  position: relative;
}
.product-photo {
  height: 235px;
  background: #f0e7e5;
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
}
.product-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.product-photo:hover img { transform: scale(1.05); }
.photo-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  color: #b28a52;
  font: 46px "Playfair Display",serif;
  background: linear-gradient(135deg,#f4e9e6,#e8d4d2);
}
.product-info { padding: 15px; }
.product-category {
  font-size: 8px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--gold);
}
.product-info h3 {
  font: 500 17px "Playfair Display",serif;
  margin: 7px 0;
  color: #44363c;
}
.product-description {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.6;
  min-height: 31px;
}
.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 13px;
}
.price { font-size: 13px; font-weight: 700; color: var(--wine-dark); }
.add-button {
  background: none;
  border: 1px solid var(--wine);
  color: var(--wine);
  padding: 8px 11px;
  font-size: 10px;
  cursor: pointer;
}
.add-button:hover { background: var(--wine); color: #fff; }
.empty-state {
  text-align: center;
  grid-column: 1/-1;
  padding: 55px 15px;
  color: var(--muted);
  font-size: 12px;
}
.loader {
  display: inline-block;
  width: 23px;
  height: 23px;
  border: 2px solid var(--rose);
  border-top-color: var(--wine);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.shop-message { font-size: 11px; color: var(--muted); text-align: center; }

.story-section {
  background: #f0e5e3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 70px 12%;
  gap: 8%;
}
.story-art {
  height: 300px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle,#f9f1e7,#e9d4d2);
  border-radius: 48% 52% 50% 50%;
}
.story-circle {
  height: 205px;
  width: 205px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--wine);
  outline: 8px double #b28a5244;
  outline-offset: 7px;
}
.story-circle span { font-size: 26px; color: var(--gold); }
.story-circle b { font: 26px/1.2 "Playfair Display",serif; text-align: center; }
.story-copy p:not(.eyebrow) {
  font-size: 12px;
  line-height: 2;
  color: #776b70;
  max-width: 440px;
  margin: 22px 0;
}
.underlined-link {
  font-size: 11px;
  color: var(--wine);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 7px;
}
.underlined-link span { margin-left: 20px; }

.contact-section {
  text-align: center;
  padding-top: 76px;
  padding-bottom: 80px;
}
.contact-section h2 { margin-bottom: 13px; }
.contact-section>p:not(.eyebrow) {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 25px;
}
.site-footer {
  background: #34262d;
  color: #eee3e5;
  padding: 28px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand .brand-mark { color: #e7c99a; }
.footer-brand strong { color: #fff; }
.footer-brand small { color: #c7b5bb; }
.site-footer p { font-size: 10px; color: #c5b6bb; }
.footer-login { color: #e7c99a; }

.overlay, .modal-overlay {
  position: fixed;
  inset: 0;
  background: #1d1119a6;
  z-index: 30;
  display: flex;
  justify-content: flex-end;
}
.overlay[hidden], .modal-overlay[hidden], .image-viewer[hidden] { display: none; }
.drawer {
  background: var(--cream);
  width: min(440px,100%);
  height: 100%;
  padding: 27px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}
.drawer-head h2 {
  font: 28px "Playfair Display",serif;
  margin: 0;
  color: var(--wine-dark);
}
.drawer-head .eyebrow { margin-bottom: 7px; }
.icon-button {
  border: 0;
  background: none;
  color: var(--wine);
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
}
.cart-items { overflow: auto; flex: 1; padding: 10px 0; }
.cart-row {
  display: grid;
  grid-template-columns: 65px 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-thumb {
  width: 65px;
  height: 65px;
  object-fit: cover;
  background: var(--rose);
}
.cart-row h4 {
  font: 15px "Playfair Display",serif;
  margin: 0 0 5px;
}
.cart-row small { font-size: 10px; color: var(--muted); }
.quantity-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}
.quantity-controls button {
  width: 23px;
  height: 23px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--wine);
}
.remove-item { background: none; border: 0; color: #9b777f; font-size: 18px; }
.cart-bottom { border-top: 1px solid var(--line); padding-top: 17px; }
.total-row { display: flex; justify-content: space-between; font-size: 12px; }
.total-row strong { font-size: 17px; color: var(--wine-dark); }
.tiny-note, .field-hint { font-size: 9px; color: var(--muted); line-height: 1.6; }
.full-button { width: 100%; margin-top: 12px; }

.modal-overlay {
  justify-content: center;
  align-items: center;
  padding: 15px;
  overflow: auto;
}
.modal {
  width: min(480px,100%);
  max-height: 92vh;
  overflow: auto;
  background: var(--cream);
  padding: 35px;
  position: relative;
  box-shadow: var(--shadow);
}
.modal h2 { font-size: 35px; }
.modal-close { position: absolute; right: 18px; top: 15px; }
.small { font-size: 11px; }
.form-stack {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 20px;
}
.form-stack label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 10px;
  color: #66575d;
}
.form-stack input, .form-stack textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 11px;
  font-size: 12px;
  outline-color: var(--gold);
  color: var(--ink);
}
.form-stack input[type=file] { font-size: 10px; }
.form-message { font-size: 11px; color: var(--wine); line-height: 1.5; }
.form-message:empty { display: none; }
.plain-link { padding: 12px 0 0; text-decoration: underline; }

.seller-modal { width: min(760px,100%); padding: 32px; }
.dashboard-heading { display: flex; justify-content: space-between; align-items: center; }
.dashboard-heading h2 { font-size: 30px; }
.outline-button {
  background: transparent;
  border: 1px solid var(--wine);
  color: var(--wine);
  padding: 10px 13px;
  font-size: 10px;
  cursor: pointer;
}
.dashboard-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid var(--line);
  margin: 20px 0;
}
.tab {
  border: 0;
  background: none;
  padding: 10px 13px;
  color: var(--muted);
  font-size: 11px;
  cursor: pointer;
}
.tab.active { color: var(--wine); border-bottom: 2px solid var(--gold); }
.tab-panel h3 { font: 20px "Playfair Display",serif; color: var(--wine-dark); }
.compact-form { max-width: 560px; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-actions { display: flex; gap: 9px; }
.form-actions .primary-button { padding: 11px 15px; }
.list-heading { margin-top: 28px; }
.seller-list { display: flex; flex-direction: column; gap: 9px; }
.seller-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px;
}
.seller-item img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  background: var(--rose);
}
.seller-item .seller-item-info { flex: 1; min-width: 0; }
.seller-item strong { font: 15px "Playfair Display",serif; }
.seller-item small { display: block; color: var(--muted); font-size: 9px; margin-top: 4px; }
.seller-item-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.seller-item-actions button {
  font-size: 9px;
  padding: 7px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--wine);
}
.order-card { background: #fff; border: 1px solid var(--line); padding: 14px; }
.order-top { display: flex; justify-content: space-between; gap: 10px; }
.order-card h4 { font: 17px "Playfair Display",serif; margin: 0; }
.order-card p { font-size: 10px; color: var(--muted); line-height: 1.6; }
.order-card select { padding: 8px; border: 1px solid var(--line); font-size: 10px; }

.image-viewer {
  position: fixed;
  inset: 0;
  background: #140d12f2;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
}
.image-viewer img { max-width: 84vw; max-height: 82vh; object-fit: contain; }
.viewer-close {
  position: absolute;
  top: 22px;
  right: 25px;
  color: white;
  font-size: 35px;
}
.viewer-arrow {
  position: absolute;
  background: none;
  border: 0;
  color: white;
  font-size: 45px;
  cursor: pointer;
}
.viewer-prev { left: 20px; }
.viewer-next { right: 20px; }
.image-viewer p { position: absolute; bottom: 12px; color: white; font-size: 11px; }

@media(max-width:900px) {
  .site-header { padding: 0 4%; }
  .hero { padding: 45px 7%; }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .section-wrap { padding: 65px 6%; }
  .story-section { padding: 60px 7%; }
}

@media(max-width:650px) {
  .announcement { font-size: 9px; }
  .site-header { height: 70px; }
  .brand strong { font-size: 14px; }
  .brand small { font-size: 7px; }
  .brand-mark { width: 34px; height: 34px; }
  .main-nav {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 18px 25px;
    flex-direction: column;
    gap: 18px;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: flex; }
  .header-actions { gap: 10px; }
  .text-button { font-size: 10px; }
  .cart-button { padding: 9px 11px; font-size: 10px; }
  .menu-button { display: block; }
  .hero { grid-template-columns: 1fr; padding: 48px 8% 35px; }
  .hero h1 { font-size: 48px; }
  .hero-art { height: 285px; margin-top: 25px; }
  .hero-orbit { width: 235px; height: 235px; }
  .orbit-two { width: 275px; height: 275px; }
  .hero-medallion { width: 175px; height: 175px; }
  .hero-medallion b { font-size: 70px; }
  .hero-caption { right: 2%; bottom: 0; font-size: 14px; }
  .trust-strip {
    gap: 14px;
    justify-content: space-around;
    font-size: 9px;
    padding: 15px 7px;
  }
  .trust-strip span { margin-right: 3px; }
  .section-wrap { padding: 55px 5%; }
  .section-heading h2, .story-copy h2, .contact-section h2 { font-size: 36px; }
  .section-heading { display: block; }
  .section-heading>.muted { margin-top: 9px; }
  .shop-tools { flex-direction: column; }
  .search-box { min-width: 0; }
  .filter-row select { flex: 1; min-width: 0; width: 50%; }
  .product-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 13px 10px;
  }
  .product-photo { height: 180px; }
  .product-info { padding: 11px; }
  .product-info h3 { font-size: 15px; }
  .product-description { font-size: 9px; }
  .product-bottom { align-items: flex-start; gap: 6px; flex-direction: column; }
  .add-button { width: 100%; }
  .story-section {
    grid-template-columns: 1fr;
    padding: 48px 8%;
    gap: 35px;
  }
  .story-art { height: 245px; }
  .story-circle { width: 170px; height: 170px; }
  .story-circle b { font-size: 23px; }
  .site-footer { flex-wrap: wrap; gap: 16px; padding: 25px 6%; }
  .site-footer p { order: 3; width: 100%; margin: 0; }
  .modal { padding: 28px 20px; }
  .seller-modal { padding: 28px 16px; }
  .form-two { grid-template-columns: 1fr; }
  .seller-item { align-items: flex-start; }
  .seller-item-actions { flex-direction: column; }
  .viewer-prev { left: 4px; }
  .viewer-next { right: 4px; }
}
