:root {
  --ink: #2c2d33;
  --muted: #6d6d6d;
  --line: #e5e5e5;
  --soft: #f3f3f3;
  --soft-2: #f8f8f8;
  --accent: #96588a;
  --success: #2e7d4f;
  --warning: #a65d00;
  --danger: #b3261e;
  --white: #fff;
  --container: 1054px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
.button {
  cursor: pointer;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--white);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.masthead {
  display: grid;
  min-height: 148px;
  grid-template-columns: 1fr 232px;
  align-items: center;
  gap: 40px;
}

.brand {
  display: inline-flex;
  width: max-content;
  flex-direction: column;
  color: var(--ink);
  text-decoration: none;
}

.brand strong {
  font-size: 31px;
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.brand span {
  margin-top: 5px;
  color: #404040;
  font-size: 13px;
}

.product-search {
  position: relative;
}

.product-search input {
  height: 48px;
  padding: 0 42px 0 16px;
  border: 0;
  background: #f2f2f2;
  font-size: 14px;
}

.product-search button {
  position: absolute;
  inset: 0 0 0 auto;
  width: 42px;
  border: 0;
  background: transparent;
  color: #565656;
  font-size: 22px;
}

.header-nav-row {
  border-top: 1px solid #f4f4f4;
}

.header-inner {
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.site-nav a,
.cart-link {
  color: #333;
  font-size: 15px;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"],
.cart-link:hover,
.cart-link:focus-visible {
  color: #000;
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.cart-link::after {
  content: "▣";
  margin-left: 18px;
  font-size: 19px;
}

.cart-count {
  display: inline-grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 6px;
  border-radius: 50px;
  background: var(--ink);
  color: var(--white);
  font-size: 11px;
  line-height: 1;
}

.menu-toggle,
.mobile-nav {
  display: none;
}

main {
  min-height: 62vh;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 400;
  line-height: 1.22;
}

h1 {
  margin: 0 0 24px;
  font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
  margin: 42px 0 18px;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

h3 {
  margin: 28px 0 12px;
  font-size: 1.2rem;
}

p {
  margin: 0 0 18px;
}

.home-hero {
  padding: 68px 0 50px;
}

.hero-cover {
  position: relative;
  overflow: hidden;
  min-height: 475px;
}

.hero-cover > img {
  width: 100%;
  height: 100%;
  min-height: 475px;
  object-fit: cover;
}

.hero-message {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 40px;
  text-align: center;
}

.hero-message h1 {
  margin: 0;
  padding: 7px 28px;
  background: rgba(255, 255, 255, .30);
  color: #111;
  font-size: clamp(2.5rem, 5.8vw, 4rem);
  font-weight: 300;
  letter-spacing: -.035em;
}

.hero-message p {
  min-width: min(76%, 720px);
  margin: 0;
  padding: 18px 28px;
  background: rgba(255, 255, 255, .55);
  color: #111;
  font-size: 21px;
}

.home-products {
  padding: 58px 0 42px;
}

.home-products h2 {
  margin: 0 0 38px;
  text-align: center;
  font-size: 32px;
  font-weight: 300;
}

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

.product-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.product-card > a:first-child {
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.product-card-image {
  display: grid;
  width: 100%;
  aspect-ratio: 1 / 1;
  place-items: center;
  margin-bottom: 22px;
  overflow: hidden;
  background: #fff;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .2s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.015);
}

.product-category {
  display: none;
}

.product-card h3 {
  min-height: 48px;
  margin: 0 0 9px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.35;
}

.price {
  display: block;
  margin: auto 0 16px;
  color: #333;
  font-size: 13px;
  font-weight: 400;
}

.button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 0;
  border-radius: 0;
  background: #eeeeee;
  color: #333;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}

.button:hover,
.button:focus-visible {
  background: #dadada;
  color: #111;
}

.button.secondary {
  background: var(--ink);
  color: var(--white);
}

.button.ghost {
  border: 1px solid #cacaca;
  background: var(--white);
}

.button.small {
  min-height: 38px;
  padding: 9px 16px;
  font-size: 13px;
}

.button[disabled] {
  cursor: wait;
  opacity: .58;
}

.request-banner {
  max-width: 760px;
  margin: 90px auto 10px;
  padding: 34px;
  background: var(--soft-2);
  text-align: center;
}

.request-banner h2 {
  margin: 0 0 12px;
}

.page-shell {
  padding: 64px 0 94px;
}

.page-narrow {
  width: min(100%, 820px);
}

.breadcrumbs {
  margin: 0 0 20px;
  color: #777;
  font-size: 13px;
}

.breadcrumbs a {
  color: #666;
  text-decoration: none;
}

.lede {
  max-width: 780px;
  color: var(--muted);
  font-size: 18px;
}

.eyebrow {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.shop-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 34px 0 42px;
}

.results-count {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.shop-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.shop-controls input {
  min-width: 220px;
}

select,
input,
textarea {
  width: 100%;
  border: 1px solid #cfcfcf;
  border-radius: 0;
  background: var(--white);
}

select,
input {
  min-height: 46px;
  padding: 9px 12px;
}

textarea {
  min-height: 122px;
  padding: 12px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(150, 88, 138, .24);
  outline-offset: 2px;
}

.sort-select {
  min-width: 220px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 60px;
}

.pagination a,
.pagination span {
  display: grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  background: var(--soft);
  color: #333;
  text-decoration: none;
}

.pagination .current {
  background: var(--ink);
  color: var(--white);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .9fr);
  align-items: start;
  gap: 65px;
}

.product-media {
  display: grid;
  aspect-ratio: 1 / 1;
  place-items: center;
  background: #fff;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-summary h1 {
  margin-bottom: 14px;
  font-size: clamp(1.85rem, 3vw, 2.65rem);
}

.product-summary .price {
  margin: 0 0 20px;
  font-size: 20px;
}

.stock-note {
  margin: 25px 0 16px;
  color: var(--success);
  font-weight: 650;
}

.request-note {
  padding: 16px 18px;
  border-left: 4px solid var(--warning);
  background: #fff8ee;
  color: #5d492d;
  font-size: 14px;
}

.add-row {
  display: flex;
  gap: 12px;
  margin: 22px 0 16px;
}

.quantity-input {
  width: 78px;
}

.product-meta {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.product-copy {
  margin-top: 70px;
  padding-top: 38px;
  border-top: 1px solid var(--line);
}

.product-copy img,
.page-content img {
  height: auto;
  margin: 24px auto;
}

.product-copy li,
.page-content li {
  margin-bottom: 8px;
}

.related {
  margin-top: 70px;
}

.related h2 {
  text-align: center;
}

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, .72fr);
  align-items: start;
  gap: 48px;
}

.cart-empty {
  padding: 45px;
  background: var(--soft-2);
  text-align: center;
}

.cart-item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 82px auto;
  align-items: center;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

.cart-item h3 {
  margin: 0 0 5px;
  font-size: 16px;
}

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

.remove-item {
  border: 0;
  background: transparent;
  color: var(--danger);
  font-size: 13px;
  text-decoration: underline;
}

.summary-card,
.order-card {
  padding: 27px;
  border: 1px solid #d3d3d3;
  background: #fff;
}

.summary-card {
  position: sticky;
  top: 24px;
}

.summary-card h2,
.order-card h2 {
  margin-top: 0;
  font-size: 1.45rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.summary-line.total {
  border-bottom: 0;
  font-size: 17px;
}

.summary-card .button,
.order-card > .button {
  width: 100%;
  margin-top: 16px;
}

.notice {
  margin: 0 0 28px;
  padding: 17px 19px;
  border-left: 4px solid var(--accent);
  background: #f8f3f7;
  color: #424242;
}

.notice.warning {
  border-left-color: var(--warning);
  background: #fff8ee;
}

.notice.success {
  border-left-color: var(--success);
  background: #edf8f1;
}

.notice.error {
  border-left-color: var(--danger);
  background: #fff1f0;
  color: #762019;
}

.checkout-fields h2 {
  margin-top: 0;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
  font-size: 1.55rem;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 22px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 650;
}

.required {
  color: var(--danger);
}

.checkbox-field {
  display: flex;
  align-items: start;
  gap: 10px;
  margin: 24px 0;
}

.checkbox-field input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.shipping-fields[hidden] {
  display: none;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.checkout-order-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkout-order-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.payment-copy {
  margin-top: 24px;
  padding: 18px;
  background: var(--soft);
}

.privacy-copy,
.form-help {
  color: var(--muted);
  font-size: 13px;
}

.turnstile-wrap {
  min-height: 70px;
  margin: 20px 0 10px;
}

.form-status {
  margin-top: 16px;
}

.form-status:empty {
  display: none;
}

.order-received {
  width: min(100%, 820px);
}

.order-reference {
  display: inline-block;
  margin: 0 0 24px;
  padding: 8px 13px;
  background: var(--ink);
  color: var(--white);
  font-size: 18px;
  font-weight: 750;
  letter-spacing: .04em;
}

.page-content {
  color: #3c3c3c;
}

.page-content h1:first-child {
  display: none;
}

.page-content ul,
.page-content ol {
  padding-left: 23px;
}

.page-content .has-text-align-center {
  text-align: center;
}

.panel {
  margin: 0 0 22px;
  padding: 24px;
  border: 1px solid var(--line);
}

.panel h2 {
  margin-top: 0;
  font-size: 1.4rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.site-footer {
  margin-top: 44px;
  padding: 62px 0;
  background: #f3f3f3;
}

.footer-inner {
  color: #5d5d5d;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 18px;
}

.footer-links a {
  color: #3d3d3d;
}

.footer-inner p {
  margin: 3px 0;
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-detail {
    grid-template-columns: 1fr 1fr;
    gap: 38px;
  }

  .cart-layout,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .summary-card {
    position: static;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 62px;
  }

  .container {
    width: min(calc(100% - 40px), var(--container));
  }

  .site-header {
    border-bottom: 0;
  }

  .masthead {
    min-height: 122px;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .brand {
    width: 180px;
  }

  .brand strong {
    font-size: 29px;
    line-height: 1.35;
  }

  .brand span,
  .product-search {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    min-height: 45px;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    border: 2px solid #444;
    background: #fff;
    font-weight: 600;
  }

  .header-nav-row {
    position: fixed;
    z-index: 90;
    inset: 122px 0 auto;
    display: none;
    max-height: calc(100vh - 184px);
    overflow: auto;
    border-block: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .12);
  }

  .menu-open .header-nav-row {
    display: block;
  }

  .header-inner {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    padding-block: 14px 20px;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav a,
  .cart-link {
    padding: 12px 8px;
    border-bottom: 1px solid var(--line);
  }

  .cart-link::after {
    margin-left: auto;
  }

  .mobile-nav {
    position: fixed;
    z-index: 110;
    inset: auto 0 0;
    display: grid;
    height: 62px;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #d8d8d8;
    background: #fff;
    box-shadow: 0 -5px 18px rgba(0, 0, 0, .08);
  }

  .mobile-nav a {
    position: relative;
    display: grid;
    place-items: center;
    color: #333;
    font-size: 28px;
    text-decoration: none;
  }

  .mobile-nav .cart-count {
    position: absolute;
    top: 6px;
    left: calc(50% + 8px);
  }

  .home-hero {
    padding: 32px 0 36px;
  }

  .hero-cover,
  .hero-cover > img {
    min-height: 610px;
  }

  .hero-cover > img {
    object-fit: cover;
  }

  .hero-message {
    justify-content: flex-start;
    gap: 22px;
    padding: 62px 31px 30px;
  }

  .hero-message h1 {
    padding: 0;
    background: transparent;
    font-size: 50px;
    line-height: 1.35;
  }

  .hero-message p {
    min-width: 100%;
    padding: 23px 18px;
    font-size: 22px;
  }

  .home-products {
    padding: 48px 0 28px;
  }

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

  .product-card-image {
    margin-bottom: 15px;
  }

  .product-card h3 {
    min-height: 58px;
    font-size: 14px;
  }

  .product-detail {
    grid-template-columns: 1fr;
  }

  .shop-head {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-controls input,
  .sort-select {
    width: 100%;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .cart-item {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .cart-item img {
    width: 72px;
    height: 72px;
  }

  .cart-item .quantity-input,
  .cart-item .remove-item {
    grid-column: 2;
    width: 100%;
  }

  .site-footer {
    margin-top: 20px;
    padding: 45px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
