:root {
  --red: #d80b20;
  --ink: #242321;
  --cream: #f7f5f0;
  --line: #e7e4de;
  --muted: #77726b;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  font:
    15px/1.55 system-ui,
    -apple-system,
    sans-serif;
  background: #fff;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
button {
  border: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1 {
  font:
    500 clamp(36px, 4.4vw, 66px)/1.08 Georgia,
    serif;
  letter-spacing: -2px;
}
h2 {
  font:
    500 29px/1.2 Georgia,
    serif;
}
h3 {
  font-size: 17px;
  font-weight: 650;
}
h1 em {
  color: var(--red);
  font-weight: 400;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #df8b92;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.announcement {
  background: var(--red);
  color: #fff;
  text-align: center;
  font-size: 11px;
  letter-spacing: 2px;
  padding: 9px;
}
header {
  max-width: 1400px;
  margin: auto;
  height: 108px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 5%;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 22px;
}
.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.5px;
  margin-top: 8px;
  color: var(--muted);
}
.red {
  color: var(--red);
}
nav {
  display: flex;
  gap: 28px;
}
.nav {
  background: none;
  color: var(--muted);
  padding: 9px 0;
  font-size: 13px;
}
.nav.active {
  color: var(--red);
  box-shadow: 0 2px var(--red);
}
.outline {
  border: 1px solid var(--line);
  background: #fff;
  padding: 11px 19px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
}
.primary,
.button {
  display: inline-flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  background: var(--red);
  color: #fff;
  padding: 15px 23px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
}
.primary:hover,
.button:hover {
  background: #b8091b;
}
.full {
  width: 100%;
}
main {
  max-width: 1400px;
  padding: 36px 5% 70px;
  margin: auto;
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--cream);
  border-radius: 8px;
  overflow: hidden;
  min-height: 470px;
  margin-bottom: 64px;
}
.hero-copy {
  padding: 44px 48px;
}
.eyebrow {
  display: block;
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 750;
  color: var(--red);
  margin-bottom: 16px;
}
.hero-copy p {
  color: var(--muted);
  max-width: 330px;
  margin: 23px 0 26px;
  font-size: 14px;
}
.hero-perks {
  display: flex;
  gap: 23px;
  font-size: 10px;
  letter-spacing: 0.6px;
  color: var(--muted);
  margin-top: 34px;
}
.hero-art {
  position: relative;
  background: #eee9e0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 45% 0 0 45%;
}
.hero-art:before {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  border: 1px solid #d7d0c4;
  border-radius: 50%;
}
.hero-art img {
  position: relative;
  width: min(75%, 320px);
  border-radius: 50%;
  transform: rotate(-7deg);
  box-shadow: 0 25px 60px #5c352814;
}
.stamp {
  position: absolute;
  top: 25px;
  right: 25px;
  z-index: 2;
  border: 1px solid #c9b6a7;
  border-radius: 50%;
  width: 96px;
  height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  font-size: 8px;
  letter-spacing: 1px;
  color: #8c7665;
  transform: rotate(15deg);
}
.stamp strong {
  font: 700 15px Georgia;
}
.art-caption {
  position: absolute;
  bottom: 26px;
  right: 30px;
  font: italic 17px Georgia;
  color: #8c7665;
}
.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.section-head .eyebrow {
  margin-bottom: 8px;
}
.search-label {
  max-width: 220px;
}
input,
textarea,
select {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 12px;
  width: 100%;
  color: var(--ink);
  font-size: 13px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 2px solid #f3c0c5;
  outline-offset: 1px;
}
label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}
label input,
label textarea,
label select {
  margin-top: 8px;
}
label.search-label input {
  margin: 0;
}
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.chip {
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 40px;
  color: var(--muted);
  background: #fff;
  font-size: 12px;
}
.chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
}
.product-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.product-art {
  height: 140px;
  background: #f8f6f2;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.product-art img {
  width: 108px;
  height: 108px;
  object-fit: contain;
  border-radius: 50%;
  mix-blend-mode: multiply;
}
.product-art small {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 9px;
  color: var(--muted);
}
.product-body {
  padding: 20px;
}
.product-body > p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 7px;
  min-height: 38px;
}
.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
}
.price {
  font-weight: 750;
  font-size: 19px;
}
.price small {
  font-size: 10px;
  color: var(--muted);
  font-weight: 400;
}
.add {
  width: 36px;
  height: 36px;
  background: var(--red);
  color: #fff;
  font-size: 23px;
  border-radius: 50%;
}
.cart {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  height: max-content;
  position: sticky;
  top: 20px;
}
.cart h2 {
  font-size: 24px;
}
.count {
  border-radius: 50%;
  background: #fce9eb;
  color: var(--red);
  padding: 4px 10px;
  font-size: 12px;
}
.cart-items {
  margin-bottom: 24px;
}
.empty {
  text-align: center;
  padding: 28px 10px;
  color: var(--muted);
  font-size: 13px;
  background: var(--cream);
  border-radius: 6px;
}
.cart-line {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-line strong {
  font-size: 13px;
}
.cart-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  font-size: 12px;
}
.cart-controls button {
  border: 1px solid var(--line);
  border-radius: 3px;
  background: white;
  width: 25px;
  height: 25px;
}
.cart-controls b {
  margin-left: auto;
}
.totals {
  margin: 24px 0;
}
.totals > div {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin: 12px 0;
}
.totals b {
  font-weight: 600;
}
.totals .grand {
  font-size: 19px;
  border-top: 1px solid var(--line);
  padding-top: 17px;
}
.muted {
  color: var(--muted);
  font-size: 13px;
  margin: 12px 0;
}
.small {
  font-size: 11px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
footer {
  border-top: 1px solid var(--line);
  padding: 30px 5%;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
}
footer small {
  font-weight: 400;
  color: var(--muted);
}
footer a {
  color: var(--muted);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 35px;
  max-width: 550px;
  width: calc(100% - 32px);
  max-height: 90vh;
  overflow: auto;
}
dialog::backdrop {
  background: #24232188;
  backdrop-filter: blur(3px);
}
.dialog-close {
  position: absolute;
  right: 15px;
  top: 10px;
  background: none;
  font-size: 25px;
  color: var(--muted);
}
.dialog-logo {
  width: 75px;
  display: block;
  margin: 0 auto 16px;
}
dialog h2 {
  margin-bottom: 25px;
}
dialog .chips {
  gap: 5px;
}
dialog .chip {
  padding: 8px 10px;
}
.text-button {
  padding: 14px;
  background: none;
  color: var(--red);
  font-size: 12px;
  width: 100%;
}
#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #fff;
  padding: 16px 23px;
  border-radius: 7px;
  z-index: 20;
  max-width: 90%;
  box-shadow: 0 8px 30px #0002;
}
.order-list {
  display: grid;
  gap: 16px;
}
.order-card,
.panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-bottom: 15px;
}
.order-card .section-head {
  margin-bottom: 8px;
}
.badge {
  display: inline-block;
  padding: 5px 11px;
  background: var(--cream);
  border-radius: 20px;
  font-size: 11px;
}
.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.actions button {
  font-size: 12px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 25px;
}
.stat {
  background: var(--cream);
  padding: 22px;
  border-radius: 8px;
}
.stat b {
  display: block;
  font: 32px Georgia;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 20px;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.data-table th,
.data-table td {
  text-align: left;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}
.table-wrap {
  overflow: auto;
}
.error {
  color: var(--red);
}
@media (max-width: 1050px) {
  header {
    padding: 16px 4%;
    gap: 10px;
  }
  nav {
    gap: 15px;
  }
  .brand {
    font-size: 18px;
  }
  .brand small {
    font-size: 7px;
  }
  .hero-copy {
    padding: 35px;
  }
  .shop-layout {
    gap: 22px;
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .product-body {
    padding: 15px;
  }
  .search-label {
    max-width: 180px;
  }
  .hero-perks {
    gap: 10px;
  }
}
@media (max-width: 760px) {
  header {
    height: auto;
    flex-wrap: wrap;
    padding: 12px 5%;
  }
  .brand img {
    width: 48px;
    height: 48px;
  }
  nav {
    order: 3;
    width: 100%;
    justify-content: center;
  }
  main {
    padding-top: 22px;
  }
  .hero {
    grid-template-columns: 1fr;
    margin-bottom: 35px;
  }
  .hero-copy {
    padding: 30px;
  }
  .hero h1 {
    font-size: 49px;
  }
  .hero-art {
    min-height: 260px;
    border-radius: 45% 45% 0 0;
  }
  .hero-art img {
    width: 190px;
  }
  .hero-art:before {
    width: 230px;
    height: 230px;
  }
  .stamp {
    width: 76px;
    height: 76px;
    top: 15px;
    font-size: 6px;
  }
  .stamp strong {
    font-size: 13px;
  }
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .cart {
    position: static;
  }
  .section-head {
    flex-wrap: wrap;
  }
  .search-label {
    max-width: none;
    width: 100%;
  }
  .product-grid {
    gap: 13px;
  }
  .product-body {
    padding: 14px;
  }
  .product-body h3 {
    font-size: 15px;
  }
  .product-body p {
    font-size: 11px;
  }
  .price {
    font-size: 17px;
  }
  .hero-perks {
    font-size: 9px;
  }
  .product-art {
    height: 120px;
  }
  .stats {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  footer {
    gap: 20px;
  }
  footer small {
    display: block;
  }
  .art-caption {
    font-size: 14px;
    right: 16px;
  }
}
