:root {
  --zsd-ink: #17110d;
  --zsd-brown: #4a2918;
  --zsd-copper: #b76a37;
  --zsd-cream: #f6efe5;
  --zsd-paper: #fffdf9;
  --zsd-border: #dfd2c1;
  --zsd-success: #1d6f42;
  --zsd-danger: #9e2f2f;
}

.zsd-supply-drop-page .mtmd.mbmd > h1:first-child,
.mtmd.mbmd:has(> .zsd-wrap) > h1:first-child {
  display: none;
}

.zsd-wrap,
.zsd-account {
  color: var(--zsd-ink);
  font-family: inherit;
  margin: 0 auto;
  max-width: 1240px;
}

.zsd-wrap *,
.zsd-account * {
  box-sizing: border-box;
}

.zsd-hero,
.zsd-shipment,
.zsd-waitlist,
.zsd-home-promo {
  background: var(--zsd-ink);
  color: #fff;
  display: grid;
  gap: clamp(24px, 5vw, 64px);
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr);
  overflow: hidden;
}

.zsd-hero {
  align-items: center;
  border-radius: 22px;
  margin: 24px 0 48px;
  min-height: 440px;
  padding: clamp(30px, 6vw, 78px);
}

.zsd-hero h1,
.zsd-shipment h2,
.zsd-waitlist h2,
.zsd-home-promo h2 {
  color: inherit;
  font-size: clamp(34px, 6vw, 72px);
  line-height: 1;
  margin: 0 0 20px;
}

.zsd-hero p {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
}

.zsd-eyebrow {
  color: var(--zsd-copper);
  font-size: 13px !important;
  font-weight: 800;
  letter-spacing: .16em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.zsd-availability {
  background: #fff;
  border-radius: 999px;
  color: var(--zsd-ink);
  display: inline-flex;
  font-weight: 800;
  margin-top: 18px;
  padding: 12px 20px;
}

.zsd-availability.is-sold-out {
  background: #f6c8c8;
  color: #5d1111;
}

.zsd-hero-image,
.zsd-home-image {
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.zsd-image-placeholder {
  align-items: center;
  background: radial-gradient(circle at 35% 30%, #c9824d, #512b19 55%, #23140e);
  display: flex;
  justify-content: center;
  min-height: 250px;
}

.zsd-image-placeholder span {
  border: 2px solid rgba(255,255,255,.55);
  border-radius: 50%;
  color: #fff;
  display: grid;
  font-family: Georgia, serif;
  font-size: clamp(70px, 12vw, 150px);
  height: 1.2em;
  place-items: center;
  width: 1.2em;
}

.zsd-shipment {
  background: var(--zsd-cream);
  border: 1px solid var(--zsd-border);
  border-radius: 18px;
  color: var(--zsd-ink);
  grid-template-columns: minmax(0, 1fr) minmax(250px, .45fr);
  margin: 0 0 48px;
  padding: clamp(28px, 5vw, 58px);
}

.zsd-shipment h2,
.zsd-waitlist h2,
.zsd-home-promo h2 {
  font-size: clamp(30px, 4vw, 48px);
}

.zsd-copy {
  line-height: 1.65;
}

.zsd-date-cards {
  display: grid;
  gap: 12px;
}

.zsd-date-cards div,
.zsd-plan-prices div,
.zsd-metrics > div {
  background: var(--zsd-paper);
  border: 1px solid var(--zsd-border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px;
}

.zsd-date-cards span,
.zsd-plan-prices span,
.zsd-metrics span {
  color: #755f4d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.zsd-date-cards strong,
.zsd-plan-prices strong,
.zsd-metrics strong {
  font-size: 19px;
}

.zsd-tiers {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 48px;
}

.zsd-tier {
  background: var(--zsd-paper);
  border: 1px solid var(--zsd-border);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.zsd-tier-image {
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 200px;
  object-fit: cover;
  width: 100%;
}

.zsd-tier-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px;
}

.zsd-tier h2 {
  font-size: 28px;
  margin: 0 0 12px;
}

.zsd-includes {
  color: #58483b;
  font-size: 14px;
  line-height: 1.5;
}

.zsd-plan-prices {
  display: grid;
  gap: 8px;
  margin: 18px 0;
}

.zsd-plan-prices div {
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  padding: 12px 14px;
}

.zsd-button {
  align-items: center;
  background: var(--zsd-copper);
  border: 0;
  border-radius: 8px;
  color: #fff !important;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 800;
  justify-content: center;
  line-height: 1.2;
  min-height: 48px;
  padding: 13px 20px;
  text-align: center;
  text-decoration: none !important;
}

.zsd-button:hover,
.zsd-button:focus {
  background: #8e4c22;
  color: #fff;
}

.zsd-button.is-secondary {
  background: var(--zsd-brown);
}

.zsd-button.is-danger {
  background: var(--zsd-danger);
}

.zsd-button.is-disabled {
  background: #8f8983;
  cursor: not-allowed;
  margin-top: auto;
}

.zsd-enroll-form {
  border-top: 1px solid var(--zsd-border);
  display: grid;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}

.zsd-wrap label,
.zsd-account label,
.zsd-image-field,
.zsd-product-picker {
  display: grid;
  gap: 7px;
}

.zsd-wrap label > span,
.zsd-account label > span,
.zsd-image-field > span,
.zsd-product-picker > span {
  font-size: 13px;
  font-weight: 800;
}

.zsd-wrap input:not([type="checkbox"]),
.zsd-wrap select,
.zsd-wrap textarea,
.zsd-account input:not([type="checkbox"]),
.zsd-account select,
.zsd-account textarea {
  background: #fff;
  border: 1px solid #bcae9e;
  border-radius: 7px;
  color: var(--zsd-ink);
  font: inherit;
  min-height: 46px;
  padding: 10px 12px;
  width: 100%;
}

.zsd-wrap textarea,
.zsd-account textarea {
  min-height: 110px;
  resize: vertical;
}

.zsd-check {
  align-items: flex-start;
  display: flex !important;
  font-size: 13px;
  gap: 9px !important;
  line-height: 1.4;
}

.zsd-check input {
  flex: 0 0 auto;
  height: 20px;
  margin: 0;
  width: 20px;
}

.zsd-inline-alert,
.zsd-notice {
  border-radius: 8px;
  line-height: 1.45;
  padding: 14px 16px;
}

.zsd-inline-alert,
.zsd-notice.is-error {
  background: #fde7e7;
  border: 1px solid #e5b2b2;
  color: #6d1f1f;
}

.zsd-notice.is-success {
  background: #e4f4eb;
  border: 1px solid #afd7c0;
  color: #165b35;
}

.zsd-notice {
  margin: 16px 0;
}

.zsd-waitlist {
  align-items: center;
  border-radius: 18px;
  margin: 0 0 48px;
  padding: clamp(28px, 5vw, 58px);
}

.zsd-waitlist form {
  display: grid;
  gap: 12px;
}

.zsd-waitlist label > span {
  color: #fff;
}

.zsd-faq {
  background: var(--zsd-paper);
  border: 1px solid var(--zsd-border);
  border-radius: 18px;
  margin: 0 0 48px;
  padding: clamp(26px, 5vw, 52px);
}

.zsd-faq h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.zsd-faq details {
  border-top: 1px solid var(--zsd-border);
  padding: 18px 0;
}

.zsd-faq summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
}

.zsd-age {
  background: var(--zsd-cream);
  border-radius: 8px;
  font-weight: 800;
  margin: 22px 0 0;
  padding: 14px;
}

.zsd-home-promo {
  align-items: center;
  border-radius: 18px;
  margin: 48px auto;
  max-width: 1240px;
  padding: clamp(26px, 5vw, 54px);
}

.zsd-home-promo .zsd-home-image {
  max-height: 390px;
}

.zsd-home-count {
  color: #f3c7a8;
  font-weight: 800;
}

.zsd-account {
  padding: 6px 0 30px;
}

.zsd-panel {
  background: var(--zsd-paper);
  border: 1px solid var(--zsd-border);
  border-radius: 14px;
  margin: 0 0 22px;
  padding: clamp(20px, 4vw, 34px);
}

.zsd-panel h2 {
  font-size: 27px;
  margin: 0 0 18px;
}

.zsd-metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 22px;
}

.zsd-metrics > div {
  background: var(--zsd-cream);
}

.zsd-field-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.zsd-admin-form > .zsd-button {
  margin-bottom: 24px;
}

.zsd-admin-tiers {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.zsd-admin-tiers article {
  background: var(--zsd-cream);
  border: 1px solid var(--zsd-border);
  border-radius: 12px;
  display: grid;
  gap: 14px;
  padding: 18px;
}

.zsd-admin-tiers h3 {
  margin: 0;
}

.zsd-image-field,
.zsd-product-picker {
  background: #faf6f0;
  border: 1px solid var(--zsd-border);
  border-radius: 9px;
  margin: 14px 0;
  padding: 14px;
}

.zsd-admin-image {
  border-radius: 8px;
  height: 100px;
  object-fit: cover;
  width: 120px;
}

.zsd-image-preview .zsd-image-placeholder {
  border-radius: 8px;
  min-height: 100px;
  width: 120px;
}

.zsd-image-preview .zsd-image-placeholder span {
  font-size: 50px;
}

.zsd-link-button {
  background: none;
  border: 0;
  color: var(--zsd-danger);
  cursor: pointer;
  font: inherit;
  padding: 5px;
  text-align: left;
}

.zsd-product-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.zsd-product-chip {
  background: #fff;
  border: 1px solid var(--zsd-border);
  border-radius: 999px;
  color: var(--zsd-ink);
  cursor: pointer;
  padding: 7px 10px;
}

.zsd-product-results {
  background: #fff;
  border: 1px solid var(--zsd-border);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,.13);
  max-height: 260px;
  overflow-y: auto;
}

.zsd-product-result {
  background: #fff;
  border: 0;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  display: block;
  padding: 10px 12px;
  text-align: left;
  width: 100%;
}

.zsd-panel-heading {
  align-items: center;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.zsd-panel-heading h2 {
  margin-bottom: 4px;
}

.zsd-table-wrap {
  overflow-x: auto;
}

.zsd-table-wrap table {
  border-collapse: collapse;
  min-width: 700px;
  width: 100%;
}

.zsd-table-wrap th,
.zsd-table-wrap td {
  border-bottom: 1px solid var(--zsd-border);
  padding: 11px;
  text-align: left;
}

.zsd-table-wrap th {
  color: #755f4d;
  font-size: 12px;
  text-transform: uppercase;
}

.zsd-status {
  background: #eee;
  border-radius: 999px;
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  padding: 5px 9px;
}

.zsd-status.is-active {
  background: #d9f0e2;
  color: var(--zsd-success);
}

.zsd-status.is-past_due,
.zsd-status.is-failed {
  background: #fde0e0;
  color: var(--zsd-danger);
}

.zsd-details {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.zsd-details div {
  background: var(--zsd-cream);
  border-radius: 8px;
  padding: 14px;
}

.zsd-details dt {
  color: #755f4d;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.zsd-details dd {
  font-size: 17px;
  font-weight: 800;
  margin: 4px 0 0;
}

.zsd-card-form {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.zsd-cancel {
  border-color: #e1b1b1;
}

@media (max-width: 900px) {
  .zsd-hero,
  .zsd-shipment,
  .zsd-waitlist,
  .zsd-home-promo,
  .zsd-tiers,
  .zsd-admin-tiers {
    grid-template-columns: 1fr;
  }

  .zsd-hero-image {
    max-height: 420px;
  }

  .zsd-admin-tiers {
    gap: 14px;
  }
}

@media (max-width: 620px) {
  .zsd-wrap {
    padding-left: 12px;
    padding-right: 12px;
  }

  .zsd-hero {
    border-radius: 14px;
    margin-top: 12px;
    min-height: 0;
    padding: 28px 20px;
  }

  .zsd-hero h1 {
    font-size: 42px;
  }

  .zsd-shipment,
  .zsd-waitlist,
  .zsd-home-promo,
  .zsd-faq {
    padding: 24px 18px;
  }

  .zsd-metrics,
  .zsd-field-grid,
  .zsd-details,
  .zsd-card-form {
    grid-template-columns: 1fr;
  }

  .zsd-panel-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .zsd-button {
    min-height: 52px;
    width: 100%;
  }
}
