
:root {
  --ink: #171715;
  --paper: #f7f6f2;
  --muted: #77776f;
  --line: #deddd6;
  --accent: #d9ff58;
  --white: #fff;
  --serif: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.announcement {
  text-align: center;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  font-size: 10px;
  letter-spacing: .18em;
}

.site-header {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6vw;
  border-bottom: 1px solid var(--line);
  gap: 25px;
}

.wordmark {
  font-size: 28px;
  letter-spacing: .13em;
  font-weight: 900;
}

.wordmark span {
  color: #8b9e2f;
}

.site-header nav {
  display: flex;
  gap: 34px;
  font-size: 13px;
}

.site-header nav a:hover,
footer a:hover {
  opacity: .65;
}

.cart-button {
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 30px;
  padding: 10px 17px;
  cursor: pointer;
  font-size: 12px;
}

.cart-button span {
  display: inline-grid;
  place-items: center;
  background: var(--accent);
  width: 21px;
  height: 21px;
  border-radius: 50%;
  margin-left: 8px;
  font-weight: bold;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  min-height: 510px;
  padding: 65px 8vw 75px;
  gap: 4vw;
  align-items: center;
}

.eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  color: #68685f;
  margin: 0 0 18px;
}

.hero h1 {
  font-size: clamp(48px, 6.7vw, 88px);
  line-height: .97;
  letter-spacing: -.065em;
  margin: 0 0 25px;
  font-weight: 650;
}

.hero h1 em,
.story-section h2 em {
  font-family: var(--serif);
  font-weight: 400;
}

.hero-text {
  max-width: 390px;
  line-height: 1.7;
  color: #68685f;
  font-size: 15px;
  margin-bottom: 28px;
}

.primary-button,
.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 15px 20px;
  background: var(--ink);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  transition: transform .2s;
}

.primary-button:hover,
.outline-button:hover {
  transform: translateY(-2px);
}

.hero-art {
  height: 370px;
  position: relative;
  overflow: hidden;
  background: #e7e6dc;
}

.art-circle {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--accent);
  right: 7%;
  top: 8%;
}

.art-block {
  position: absolute;
  width: 47%;
  height: 65%;
  left: 17%;
  bottom: -8%;
  background: #b9b8ac;
  transform: rotate(13deg);
  border: 1px solid rgba(0, 0, 0, .1);
}

.art-label {
  position: absolute;
  right: 20px;
  bottom: 20px;
  font-size: 10px;
  letter-spacing: .15em;
  line-height: 1.8;
  text-align: right;
}

.shop-section {
  padding: 80px 8vw;
  background: #fff;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 30px;
}

.section-heading h2,
.story-section h2,
.newsletter h2 {
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: -.05em;
  margin: 0;
  font-weight: 600;
}

.muted {
  color: var(--muted);
  font-size: 13px;
}

.toolbar {
  display: flex;
  gap: 10px;
  margin: 25px 0 30px;
  flex-wrap: wrap;
}

.search-wrap {
  display: flex;
  align-items: center;
  gap: 9px;
  flex: 1;
  min-width: 190px;
  border: 1px solid var(--line);
  padding: 0 12px;
}

.search-wrap span {
  font-size: 24px;
  color: var(--muted);
}

.search-wrap input {
  border: 0;
  outline: 0;
  background: transparent;
  padding: 13px 0;
  width: 100%;
}

.toolbar select {
  border: 1px solid var(--line);
  background: #fff;
  padding: 12px;
  min-width: 145px;
  color: var(--ink);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px 16px;
}

.product-card {
  min-width: 0;
}

.product-image {
  aspect-ratio: 4 / 4.7;
  background: #f0efe9;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.placeholder-art {
  font-family: var(--serif);
  font-size: 64px;
  color: #b6b6a8;
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--accent);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 7px 9px;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: start;
  margin-top: 13px;
}

.product-meta h3 {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 7px;
}

.product-category {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.price {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.add-button {
  width: 100%;
  margin-top: 13px;
  padding: 11px;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
}

.add-button:hover {
  background: var(--ink);
  color: #fff;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 55px 10px;
  text-align: center;
  color: var(--muted);
}

.catalog-note {
  font-size: 11px;
  color: var(--muted);
  margin-top: 28px;
}

.story-section {
  padding: 85px 8vw;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10vw;
  align-items: center;
}

.story-section > p {
  max-width: 430px;
  line-height: 1.9;
  color: var(--muted);
  font-size: 15px;
}

.newsletter {
  background: var(--accent);
  padding: 70px 8vw;
  text-align: center;
}

.newsletter .eyebrow {
  color: #424b20;
}

.newsletter p:not(.eyebrow) {
  font-size: 13px;
  line-height: 1.7;
  color: #4e543b;
}

.outline-button {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  margin-top: 10px;
}

footer {
  padding: 28px 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
}

footer .wordmark {
  font-size: 20px;
}

footer p,
footer div {
  font-size: 10px;
  color: var(--muted);
}

footer div {
  display: flex;
  gap: 17px;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .35);
  z-index: 10;
}

.cart-drawer {
  position: fixed;
  z-index: 11;
  right: 0;
  top: 0;
  height: 100dvh;
  width: min(440px, 100%);
  background: var(--paper);
  padding: 25px;
  display: flex;
  flex-direction: column;
  transform: translateX(105%);
  transition: transform .25s;
}

.cart-drawer.open {
  transform: translateX(0);
}

.drawer-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
}

.drawer-heading h2 {
  font-size: 25px;
  margin: 0;
}

.drawer-heading button {
  border: 0;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.cart-items {
  overflow: auto;
  flex: 1;
}

.cart-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.cart-row h3 {
  font-size: 13px;
  margin: 0 0 7px;
}

.cart-row p {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.quantity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity button {
  border: 1px solid var(--line);
  background: #fff;
  width: 27px;
  height: 27px;
  cursor: pointer;
}

.cart-bottom {
  border-top: 1px solid var(--line);
  padding-top: 15px;
}

.total-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.small-note {
  font-size: 10px;
  color: var(--muted);
  line-height: 1.5;
}

.full-button {
  width: 100%;
}

.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  font-size: 12px;
  z-index: 20;
  transition: .2s;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 850px) {
  .hero {
    padding: 50px 6vw;
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .hero-art {
    height: 300px;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop-section {
    padding: 60px 6vw;
  }

  .story-section {
    padding: 60px 6vw;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
  }

  .site-header {
    padding: 0 5vw;
    height: 72px;
  }

  .site-header nav {
    gap: 14px;
  }

  .site-header nav a {
    font-size: 11px;
  }

  footer {
    flex-wrap: wrap;
  }

  footer p {
    order: 3;
    width: 100%;
  }
}

@media (max-width: 420px) {
  .site-header nav {
    display: none;
  }

  .hero h1 {
    font-size: 52px;
  }

  .product-grid {
    gap: 22px 10px;
  }

  .product-meta {
    flex-direction: column;
  }

  .toolbar select {
    flex: 1;
    min-width: 0;
  }

  .hero-art {
    height: 250px;
  }
}


/* ZAYBH logo sizing */
.site-header .main-logo {
  width: 260px !important;
  max-width: 55vw !important;
  height: 68px !important;
  object-fit: contain !important;
}

footer .footer-logo {
  width: 165px !important;
  max-width: 42vw !important;
  height: 48px !important;
  object-fit: contain !important;
}

@media (max-width: 600px) {
  .site-header .main-logo {
    width: 200px !important;
    max-width: 50vw !important;
    height: 58px !important;
  }
}
