:root {
  --wine: #682d2d;
  --text: #000;
  --navy: #002c46;
  --line: #ddd;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: white;
  color: var(--text);
  font:
    18px Questrial,
    Arial,
    sans-serif;
}
button,
input,
select {
  font: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a,
input,
select {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #b8976a;
  outline-offset: 4px;
}
button.primary,
.primary {
  border: 0;
  border-radius: 28px;
  background: var(--wine);
  color: #fff;
  padding: 15px 28px;
  display: inline-block;
  text-align: center;
}
button.secondary {
  background: #fff;
  border: 1px solid var(--wine);
  border-radius: 26px;
  color: var(--wine);
  padding: 12px 22px;
}
#menu {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: 285px;
  background: white;
  overflow: auto;
  z-index: 20;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #eee;
}
.menu-logo {
  padding: 30px 28px 24px;
  border-bottom: 1px solid var(--line);
  display: block;
}
.menu-logo img {
  width: 100%;
  height: 95px;
  object-fit: contain;
}
.menu-links {
  padding: 20px 0;
}
.menu-links a {
  display: flex;
  align-items: center;
  gap: 23px;
  padding: 15px 25px;
  font-size: 18px;
  min-height: 58px;
}
.menu-links img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.menu-links a.active {
  color: var(--wine);
}
.menu-bottom {
  margin-top: auto;
  text-align: center;
  padding: 35px 20px 18px;
  font-family: Montserrat, sans-serif;
  font-size: 12px;
}
.menu-bottom a {
  display: block;
  font-size: 30px;
  margin-top: 18px;
}
#shell {
  margin-left: 285px;
}
header {
  height: 84px;
  position: sticky;
  top: 0;
  background: #fffc;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  padding: 12px 26px;
  z-index: 10;
  gap: 15px;
}
#brand {
  margin: auto;
}
#brand img {
  height: 60px;
  max-width: 210px;
  object-fit: contain;
}
header nav {
  display: flex;
  gap: 24px;
  align-items: center;
}
header nav a {
  position: relative;
  display: block;
  width: 29px;
}
svg {
  width: 100%;
  fill: none;
  stroke: var(--wine);
  stroke-width: 1.5;
}
#toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--wine);
  font-size: 28px;
}
#badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #000;
  color: white;
  border-radius: 50%;
  font-size: 12px;
  min-width: 20px;
  padding: 3px;
  text-align: center;
}
main {
  max-width: 1320px;
  margin: auto;
  min-height: 70vh;
  padding: 28px;
}
h1,
h2,
h3 {
  font-weight: 400;
}
h1 {
  font-family: "Nuosu SIL", Georgia, serif;
  color: #7a1a0a;
  font-size: 34px;
  line-height: 1.22;
}
.intro {
  max-width: 1050px;
  margin: auto;
}
.intro p {
  font:
    18px/1.45 Montserrat,
    sans-serif;
  color: #4f4e4b;
  white-space: pre-line;
  margin: 35px 0;
}
.home-video {
  width: 100%;
  max-height: 530px;
  object-fit: cover;
}
.home-widget {
  max-width: 900px;
  margin: 35px auto;
}
.home-widget table {
  font-family: Questrial, sans-serif;
}
.home-widget img {
  max-width: 100%;
}
.home-widget video {
  width: 100%;
  height: auto;
}
.section-heading {
  margin: 40px 0 22px;
  color: #7a1a0a;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 24px;
}
.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fafafa;
}
.product-card h2 {
  font-size: 17px;
  line-height: 1.35;
  margin: 16px 0 10px;
}
.price {
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  margin: 10px 0 18px;
}
.product-card button {
  font-size: 15px;
  min-width: 140px;
}
.toolbar {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  margin-bottom: 25px;
}
.toolbar h1 {
  margin: 0;
}
.toolbar select {
  max-width: 200px;
  background: #fff;
  border: 1px solid #ddd;
  padding: 10px;
}
.pagination {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 40px;
}
.pagination button {
  border: 1px solid #ddd;
  background: #fff;
  padding: 10px 15px;
}
.pagination button.current {
  background: var(--wine);
  color: white;
}
.detail {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
}
.detail h1 {
  font-family: Questrial, sans-serif;
  color: #000;
  font-size: 28px;
}
.detail-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}
.thumbnails {
  display: flex;
  gap: 10px;
  overflow: auto;
}
.thumbnails button {
  border: 1px solid #ddd;
  background: white;
  padding: 0;
}
.thumbnails img {
  width: 78px;
  height: 78px;
  object-fit: cover;
}
.description {
  grid-column: 1/-1;
  font:
    16px/1.6 Questrial,
    sans-serif;
  max-width: 950px;
}
.description img,
.article img {
  max-width: 100%;
  height: auto;
}
.detail .price {
  font-size: 24px;
}
.summary {
  line-height: 1.6;
  margin: 25px 0;
}
.qty {
  display: flex;
  gap: 12px;
  align-items: center;
}
.qty input {
  width: 75px;
  padding: 10px;
  border: 1px solid #ddd;
}
.back {
  border: 0;
  background: none;
  color: var(--wine);
  padding: 0;
  margin-bottom: 25px;
}
.cart-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.cart-row img {
  width: 110px;
  height: 110px;
  object-fit: contain;
}
.cart-row h2 {
  font-size: 18px;
  margin: 0 0 14px;
}
.remove {
  border: 0;
  background: none;
  text-decoration: underline;
  color: #666;
  padding: 10px 0;
}
.totals {
  max-width: 440px;
  margin: 35px 0 35px auto;
  display: grid;
  gap: 20px;
}
.totals p {
  display: flex;
  justify-content: space-between;
  margin: 0;
}
.muted {
  color: #666;
  font-size: 15px;
  line-height: 1.5;
}
.empty {
  text-align: center;
  padding: 80px 20px;
}
.form {
  max-width: 540px;
  margin: 35px auto;
  display: grid;
  gap: 20px;
}
.form label {
  display: grid;
  gap: 8px;
}
.form input,
.form select,
.search {
  padding: 15px;
  border: 1px solid #bbb;
  border-radius: 3px;
  width: 100%;
  background: #fff;
}
.search {
  margin-bottom: 30px;
}
.error {
  color: #a02222;
  font-size: 16px;
  line-height: 1.5;
}
.stories {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.story img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.story h2 {
  font-size: 24px;
}
.article {
  max-width: 900px;
  margin: auto;
  line-height: 1.65;
}
.article h1 {
  text-align: center;
}
.article .photo {
  text-align: center;
}
#footer {
  padding: 35px;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 13px;
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: #17394c;
  color: #fff;
  padding: 15px 25px;
  border-radius: 8px;
  z-index: 40;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
#toast.show {
  opacity: 1;
}
.notice {
  border: 1px solid #e6d9ca;
  background: #faf6f1;
  padding: 15px;
  line-height: 1.5;
  font-size: 15px;
}
.account-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}
.order {
  padding: 20px;
  border-bottom: 1px solid #ddd;
}
#veil {
  position: fixed;
  inset: 0;
  border: 0;
  background: #0009;
  z-index: 19;
}
.legal {
  white-space: pre-wrap;
  line-height: 1.6;
}
@media (min-width: 1500px) {
  #menu {
    width: 320px;
  }
  #shell {
    margin-left: 320px;
  }
  .menu-links a {
    padding: 18px 35px;
  }
}
@media (max-width: 1023px) {
  #menu {
    width: min(78vw, 335px);
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  #menu.open {
    transform: none;
  }
  #shell {
    margin-left: 0;
  }
  #toggle {
    display: block;
  }
  .menu-logo {
    padding: 30px 28px;
  }
  .menu-logo img {
    height: 105px;
  }
  .menu-links a {
    font-size: 18px;
    padding: 16px 26px;
  }
  .menu-links img {
    width: 30px;
    height: 30px;
  }
  .menu-bottom {
    padding-top: 65px;
  }
  header {
    height: 70px;
    padding: 8px 18px;
  }
  #brand img {
    height: 48px;
    max-width: 170px;
  }
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }
  main {
    padding: 18px 16px;
  }
  header nav {
    gap: 18px;
  }
  header nav a {
    width: 25px;
  }
  #brand img {
    height: 43px;
    max-width: 135px;
  }
  h1 {
    font-size: 23px;
  }
  .intro p {
    font-size: 14px;
    margin: 30px 0;
    line-height: 1.3;
  }
  .home-widget {
    margin: 26px -5px;
  }
  .home-widget table {
    border-spacing: 8px !important;
  }
  .home-widget td div {
    padding: 10px !important;
  }
  .home-widget p {
    font-size: 14px !important;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 14px;
  }
  .product-card h2 {
    font-size: 14px;
  }
  .price {
    font-size: 14px;
  }
  .product-card button {
    font-size: 12px;
    padding: 11px 14px;
    min-width: 105px;
  }
  .detail {
    display: block;
  }
  .detail h1 {
    font-size: 23px;
    margin-top: 28px;
  }
  .detail .primary {
    width: 100%;
    margin-top: 22px;
  }
  .description {
    margin-top: 35px;
  }
  .toolbar {
    flex-wrap: wrap;
  }
  .toolbar select {
    font-size: 13px;
  }
  .cart-row {
    grid-template-columns: 80px 1fr;
    gap: 15px;
  }
  .cart-row img {
    width: 80px;
    height: 100px;
  }
  .cart-row > strong {
    grid-column: 2;
  }
  .cart-row h2 {
    font-size: 15px;
  }
  .stories {
    grid-template-columns: 1fr;
  }
  .story h2 {
    font-size: 22px;
  }
  #toast {
    width: 85%;
    text-align: center;
  }
  .form {
    margin-top: 25px;
  }
  .section-heading {
    font-size: 27px;
  }
  .menu-links {
    padding: 12px 0;
  }
}
/* Exact GoodBarber navigation settings: grey panel, 52 px rows, Questrial. */
#menu {
  background: #ccc;
  width: 320px;
  overflow: hidden;
}
#shell {
  margin-left: 320px;
}
.menu-logo {
  padding: 18px 28px 20px;
  flex: none;
}
.menu-logo img {
  height: 94px;
}
.menu-links {
  overflow: auto;
  flex: 1;
  padding: 10px 0;
}
.menu-links a {
  height: 52px;
  min-height: 52px;
  padding: 11px 24px;
  gap: 20px;
}
.menu-links a:first-child img,
.menu-links a:nth-child(n + 9) img {
  filter: brightness(0);
}
.menu-links a:first-child.active img {
  filter: brightness(0) saturate(100%) invert(23%) sepia(22%) saturate(1248%)
    hue-rotate(314deg) brightness(93%);
}
.menu-bottom {
  margin: 0;
  padding: 20px;
  flex: none;
}
.menu-bottom a {
  margin-top: 15px;
}
header {
  height: 64px;
  padding: 5px 28px;
}
#brand img {
  height: 54px;
}
.intro p {
  margin: 18px 0 45px;
}
.home-widget:has(video) {
  height: 300px;
  overflow: hidden;
  max-width: none;
  margin: 0 -12px 30px;
}
.home-widget video {
  display: block;
  width: 100%;
  height: auto;
}
.home-widget:not(:has(video)) {
  margin: 30px auto;
}
@media (max-width: 1023px) {
  #menu {
    width: min(70vw, 335px);
  }
  #shell {
    margin-left: 0;
  }
  header {
    height: 60px;
    padding: 5px 16px;
  }
  .menu-logo {
    padding: 24px 22px;
  }
  .menu-logo img {
    height: auto;
  }
  .menu-links a {
    font-size: 16px;
  }
  .menu-bottom {
    padding: 18px;
  }
  .home-widget:has(video) {
    margin: 0 0 25px;
  }
}
@media (max-width: 600px) {
  .menu-links a {
    font-size: 14px;
    gap: 18px;
    padding: 10px 22px;
  }
  .menu-links img {
    width: 25px;
    height: 25px;
  }
  .menu-logo {
    padding: 22px;
  }
  .home-widget:has(video) {
    height: auto;
    max-height: 300px;
  }
  .intro p {
    margin-bottom: 35px;
  }
  #brand img {
    height: 43px;
  }
}

.legal-rich { white-space: normal; }
