:root {
  color-scheme: light;
  --ink: #153b42;
  --muted: #5f7376;
  --paper: #fffaf2;
  --snow: #f7fbfc;
  --mist: #e8f5f5;
  --teal: #006d6f;
  --teal-dark: #004b52;
  --red: #e33123;
  --berry: #b71d2a;
  --green: #0d7b4d;
  --gold: #f4b63e;
  --pink: #ffb8c5;
  --blue: #6bb7d6;
  --shadow: 0 18px 45px rgba(8, 42, 49, 0.16);
  --soft-shadow: 0 12px 26px rgba(8, 42, 49, 0.1);
  --radius: 8px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

section[id],
#vasarlas {
  scroll-margin-top: 118px;
}

body {
  margin: 0;
  background: var(--snow);
  color: var(--ink);
  width: 100%;
  min-width: 320px;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  min-height: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  background: #ffe6a6;
  color: #573600;
  font-size: 13px;
  line-height: 1.25;
  text-align: center;
}

.announcement-bar > span,
.announcement-bar .announcement-action {
  padding: 2px 7px;
  border: 1px solid rgba(87, 54, 0, 0.25);
  background: #fff7db;
  border-radius: 999px;
  color: inherit;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.announcement-bar .announcement-action:hover,
.announcement-bar .announcement-action:focus-visible {
  background: #fff;
  outline: 2px solid rgba(87, 54, 0, 0.22);
  outline-offset: 2px;
}

.site-header {
  position: fixed;
  top: 34px;
  left: 0;
  z-index: 40;
  width: 100%;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px clamp(18px, 4vw, 56px);
  color: #fff;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header[data-elevated="true"],
body.nav-open .site-header {
  background: rgba(255, 250, 242, 0.96);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(9, 42, 49, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 170px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold), var(--red));
  color: #fff;
  font-weight: 950;
  box-shadow: 0 10px 24px rgba(227, 49, 35, 0.24);
}

.brand strong {
  display: block;
  font-size: 18px;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 4px;
  color: currentColor;
  opacity: 0.78;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  font-weight: 800;
  font-size: 15px;
}

.main-nav a {
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  border-color: currentColor;
}

.advent-page .main-nav {
  gap: clamp(10px, 1.25vw, 24px);
  font-size: 14px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  color: currentColor;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: min(820px, 96vh);
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 130px clamp(20px, 5vw, 72px) 82px;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 120px;
  background: linear-gradient(180deg, rgba(247, 251, 252, 0) 0%, var(--snow) 78%);
  pointer-events: none;
}

.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image: url("assets/box-christmas.webp");
  background-size: cover;
  background-position: center 48%;
  transform: scale(1.02);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(28, 14, 9, 0.88) 0%, rgba(28, 14, 9, 0.66) 43%, rgba(28, 14, 9, 0.2) 100%),
    linear-gradient(180deg, rgba(47, 18, 12, 0.6) 0%, rgba(47, 18, 12, 0.14) 50%, rgba(7, 30, 34, 0.48) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(820px, 100%);
  max-width: 820px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffe6a6;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(48px, 8vw, 108px);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  width: min(650px, 100%);
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(18px, 2.1vw, 24px);
  line-height: 1.48;
}

.hero-shipping-promo {
  width: fit-content;
  display: grid;
  gap: 2px;
  margin: 18px 0 0;
  padding: 10px 0 10px 14px;
  border-left: 4px solid var(--gold);
  color: #fff;
}

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

.hero-shipping-promo span {
  color: #ffe6a6;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-shipping-promo strong {
  font-size: clamp(18px, 2.2vw, 24px);
}

.hero-shipping-promo small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  padding: 13px 20px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 900;
  line-height: 1;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 14px 28px rgba(227, 49, 35, 0.28);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: #c8291e;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(10px);
}

.button.dark {
  background: var(--teal-dark);
  color: #fff;
}

.button.light {
  background: #fff;
  color: var(--teal-dark);
  border: 1px solid rgba(0, 109, 111, 0.16);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0 0;
  padding: 0;
}

.hero-facts div {
  min-width: 150px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
}

.hero-facts dt {
  margin: 0 0 5px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-facts dd {
  margin: 0;
  font-size: 18px;
  font-weight: 950;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 28px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--teal-dark);
  text-decoration: none;
  font-size: 24px;
  box-shadow: var(--soft-shadow);
  transform: translateX(-50%);
}

.order-strip {
  position: relative;
  z-index: 5;
  width: min(1180px, calc(100% - 34px));
  min-height: 92px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin: -44px auto 0;
  padding: 18px;
  background: #fff;
  border: 1px solid rgba(0, 109, 111, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.strip-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.strip-copy strong {
  font-size: 19px;
}

.strip-copy span,
.strip-price span {
  color: var(--muted);
}

.strip-price {
  display: grid;
  gap: 2px;
  text-align: right;
}

.strip-price strong {
  color: var(--red);
  font-size: 26px;
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 4vw, 56px);
}

.section-heading {
  width: min(840px, 100%);
  margin: 0 auto clamp(32px, 5vw, 58px);
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  max-width: 700px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.preorder-delivery-callout {
  width: min(1180px, 100%);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin: -18px auto 24px;
  padding: 14px 18px;
  border-top: 1px solid rgba(29, 122, 63, 0.3);
  border-bottom: 1px solid rgba(29, 122, 63, 0.3);
  background: #f4fbf5;
  color: #176431;
}

.preorder-delivery-callout[hidden] {
  display: none;
}

.preorder-delivery-callout span {
  color: #466d50;
  text-align: right;
}

.product-section {
  background:
    linear-gradient(180deg, #fffaf2 0%, #fff 48%, #f7fbfc 100%),
    repeating-linear-gradient(45deg, rgba(183, 29, 42, 0.045) 0 10px, transparent 10px 22px);
}

.relief-section {
  background:
    linear-gradient(180deg, var(--snow) 0%, #fff 100%);
}

.relief-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.relief-grid article {
  min-height: 238px;
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(21, 59, 66, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(232, 245, 245, 0.72)),
    #fff;
  box-shadow: var(--soft-shadow);
}

.relief-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.product-showcase {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 1.02fr) minmax(300px, 0.98fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
}

.product-photo {
  position: relative;
  margin: 0;
  padding: clamp(8px, 1.4vw, 14px);
  background:
    linear-gradient(135deg, #4b1714 0%, #0d3f34 58%, #f0c96a 100%),
    #fff7e8;
  border: 1px solid rgba(244, 182, 62, 0.36);
  border-radius: 8px;
  box-shadow: 0 24px 56px rgba(63, 24, 12, 0.22);
  overflow: hidden;
}

.product-photo::before,
.product-photo::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.product-photo::before {
  inset: clamp(8px, 1.4vw, 14px);
  z-index: 2;
  border: 1px solid rgba(255, 246, 219, 0.45);
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px rgba(75, 23, 20, 0.18);
}

.product-photo::after {
  left: clamp(24px, 5vw, 60px);
  right: clamp(24px, 5vw, 60px);
  bottom: clamp(18px, 3vw, 28px);
  z-index: 2;
  height: 6px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, var(--berry) 0 18%, var(--gold) 18% 28%, var(--green) 28% 72%, var(--gold) 72% 82%, var(--berry) 82% 100%);
  opacity: 0.9;
}

.product-photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 12px 30px rgba(20, 9, 4, 0.22);
}

.product-points {
  display: grid;
  gap: 16px;
}

.product-points article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 8px 18px;
  padding: 18px;
  border: 1px solid rgba(21, 59, 66, 0.1);
  border-left: 4px solid rgba(183, 29, 42, 0.82);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 250, 242, 0.86)),
    #fff;
  box-shadow: 0 10px 22px rgba(63, 24, 12, 0.08);
}

.product-points article:last-child {
  border-bottom: 1px solid rgba(21, 59, 66, 0.1);
}

.point-number {
  grid-row: span 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--berry), var(--red));
  color: #fff;
  font-weight: 950;
  box-shadow: 0 8px 16px rgba(183, 29, 42, 0.22);
}

.product-points p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.contents-section {
  background:
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}

.contents-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.contents-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contents-photo img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}

.contents-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.included-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.included-grid article {
  min-height: 116px;
  padding: 16px;
  border: 1px solid rgba(21, 59, 66, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
}

.included-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: 16px;
}

.included-grid span {
  color: var(--muted);
  line-height: 1.45;
}

.board-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 0.55fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: center;
  background: #e7f7fb;
}

.wide-media {
  min-height: 320px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.wide-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: top center;
}

.board-copy {
  max-width: 520px;
}

.board-copy p:not(.eyebrow) {
  color: #405d63;
  font-size: 18px;
  line-height: 1.62;
}

.creations-section {
  background:
    linear-gradient(180deg, #fff 0%, var(--paper) 100%),
    repeating-linear-gradient(90deg, rgba(227, 49, 35, 0.05) 0 10px, transparent 10px 20px);
}

.creation-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.creation-tile {
  position: relative;
  height: 260px;
  min-height: 260px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
  box-shadow: var(--soft-shadow);
}

.creation-tile img {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: block;
  object-fit: cover;
  background: #e8efed;
  transition: transform 240ms ease;
}

.creation-tile:hover img {
  transform: scale(1.04);
}

.creation-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 25%, rgba(5, 25, 28, 0.72) 100%);
}

.creation-label {
  position: absolute;
  z-index: 1;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  gap: 5px;
  color: #fff;
}

.creation-label span {
  width: 38px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #fff;
  color: var(--red);
  font-weight: 950;
}

.creation-label strong {
  font-size: 16px;
  line-height: 1.24;
}

.trust-section {
  padding-top: 58px;
  padding-bottom: 58px;
  background: var(--teal-dark);
  color: #fff;
}

.trust-band {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
}

.trust-band > div {
  padding: clamp(22px, 3vw, 34px);
  background: rgba(255, 255, 255, 0.08);
}

.trust-band strong {
  display: block;
  margin: 8px 0 10px;
  font-size: 25px;
  line-height: 1.1;
}

.trust-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.52;
}

.faq-section {
  background:
    linear-gradient(180deg, #fff 0%, #f2fbfb 100%);
}

.faq-list {
  width: min(900px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid rgba(21, 59, 66, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.faq-list summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 20px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 950;
}

.faq-list summary::after {
  content: "+";
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--gold);
  color: #4b3000;
  font-weight: 950;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: var(--muted);
  line-height: 1.6;
}

.mini-label,
.stage {
  display: inline-block;
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.order-section {
  background:
    linear-gradient(135deg, rgba(255, 184, 197, 0.32), rgba(244, 182, 62, 0.18) 44%, rgba(107, 183, 214, 0.24)),
    var(--paper);
}

.order-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(280px, 390px);
  gap: 22px;
  align-items: start;
}

.order-shell[hidden] {
  display: none;
}

.checkout-form,
.order-summary,
.admin-lock,
.admin-panel,
.pipeline,
.metric,
.campaign-grid article {
  border: 1px solid rgba(21, 59, 66, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--soft-shadow);
}

.checkout-form {
  padding: clamp(18px, 3vw, 34px);
}

fieldset {
  min-width: 0;
  margin: 0 0 26px;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 950;
}

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

.address-grid {
  grid-template-columns: minmax(130px, 0.52fr) minmax(190px, 1fr);
}

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

.field-hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.field-hint[data-tone="good"] {
  color: var(--green);
  font-weight: 850;
}

.field-hint[data-tone="warn"] {
  color: #8a5700;
  font-weight: 850;
}

label {
  display: grid;
  gap: 7px;
  color: #254d54;
  font-size: 14px;
  font-weight: 850;
}

input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(21, 59, 66, 0.18);
  border-radius: 8px;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(21, 59, 66, 0.18);
  border-radius: 8px;
  padding: 12px 13px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 109, 111, 0.12);
}

.option-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.radio-card {
  min-height: 82px;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-items: start;
  gap: 12px;
  padding: 14px;
  border: 1px solid rgba(21, 59, 66, 0.15);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.radio-card input {
  width: 18px;
  min-height: 18px;
  margin: 3px 0 0;
  accent-color: var(--teal);
}

.radio-card span {
  display: grid;
  gap: 4px;
}

.radio-card small {
  color: var(--muted);
  font-weight: 650;
  line-height: 1.35;
}

.radio-card[data-free="true"] {
  border-color: rgba(29, 122, 63, 0.38);
  background: #f4fbf5;
}

.radio-card[data-free="true"] small {
  color: #176431;
  font-weight: 900;
}

.foxpost-picker {
  display: grid;
  gap: 14px;
  padding: clamp(14px, 2.4vw, 20px);
  border: 1px solid rgba(21, 59, 66, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 252, 0.9)),
    #fff;
  box-shadow: 0 14px 32px rgba(8, 42, 49, 0.08);
}

.foxpost-picker[hidden] {
  display: none;
}

.foxpost-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 2px;
}

.foxpost-panel-head div {
  display: grid;
  gap: 4px;
}

.foxpost-panel-head strong {
  color: var(--teal-dark);
  font-size: 18px;
  line-height: 1.2;
}

.foxpost-panel-head span:not(.foxpost-badge) {
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.foxpost-badge,
.selection-state {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.foxpost-badge {
  flex: 0 0 auto;
  padding: 6px 10px;
  background: #f15a24;
  color: #fff;
  box-shadow: 0 8px 18px rgba(241, 90, 36, 0.22);
}

.foxpost-smart-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.foxpost-smart-search label {
  min-width: 0;
}

.foxpost-location {
  min-height: 48px;
  white-space: nowrap;
}

.foxpost-search-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}

.foxpost-search-status[data-tone="good"] {
  color: var(--green);
}

.foxpost-search-status[data-tone="warn"] {
  color: #8a5700;
}

.foxpost-results {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
}

.foxpost-result {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  width: 100%;
  border: 1px solid rgba(21, 59, 66, 0.12);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.foxpost-result:hover,
.foxpost-result:focus-visible {
  border-color: rgba(0, 109, 111, 0.35);
  box-shadow: 0 8px 18px rgba(8, 42, 49, 0.08);
}

.foxpost-result span {
  display: grid;
  gap: 3px;
}

.foxpost-result strong {
  color: var(--teal-dark);
  font-size: 14px;
  line-height: 1.25;
}

.foxpost-result small {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
}

.foxpost-result em {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(0, 109, 111, 0.1);
  color: var(--teal-dark);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
  white-space: nowrap;
}

.foxpost-map-details {
  border: 1px solid rgba(21, 59, 66, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.foxpost-map-details summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--teal-dark);
  cursor: pointer;
  font-size: 14px;
  font-weight: 950;
  list-style: none;
}

.foxpost-map-details summary::-webkit-details-marker {
  display: none;
}

.foxpost-map-details summary::after {
  content: "+";
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 999px;
  background: rgba(0, 109, 111, 0.1);
}

.foxpost-map-details[open] summary::after {
  content: "-";
}

.foxpost-selection {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(0, 109, 111, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.98), rgba(247, 251, 252, 0.98)),
    #fff;
  color: var(--muted);
  line-height: 1.45;
}

.foxpost-selection strong {
  color: var(--teal-dark);
  font-size: 16px;
}

.selection-state {
  padding: 4px 9px;
  background: rgba(244, 182, 62, 0.18);
  color: #8a5700;
}

.foxpost-selection[data-selected="true"] {
  border-color: rgba(13, 123, 77, 0.28);
  background:
    linear-gradient(135deg, rgba(231, 247, 235, 0.98), rgba(247, 251, 252, 0.98)),
    #fff;
}

.foxpost-selection[data-selected="true"] .selection-state {
  background: rgba(13, 123, 77, 0.14);
  color: var(--green);
}

.foxpost-selection small {
  color: #42666d;
  font-weight: 650;
}

.foxpost-frame-shell {
  overflow: hidden;
  border-top: 1px solid rgba(21, 59, 66, 0.1);
  background: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.6),
    0 14px 28px rgba(8, 42, 49, 0.08);
}

.foxpost-frame-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(21, 59, 66, 0.1);
  background:
    linear-gradient(90deg, rgba(0, 109, 111, 0.08), rgba(244, 182, 62, 0.12)),
    #fff;
}

.foxpost-frame-toolbar span {
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 950;
}

.foxpost-frame-toolbar small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: right;
}

.foxpost-frame {
  width: 100%;
  height: min(560px, 68vh);
  min-height: 420px;
  border: 0;
  background: #fff;
}

.foxpost-direct {
  justify-self: start;
  min-height: 44px;
  padding-inline: 16px;
}

.consent {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  margin: 4px 0 24px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.consent input {
  width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: var(--teal);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.order-summary {
  position: sticky;
  top: 124px;
  padding: 18px;
}

.summary-image {
  display: grid;
  place-items: center;
  min-height: 220px;
  margin-bottom: 18px;
  padding: 8px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(75, 23, 20, 0.94), rgba(13, 63, 52, 0.92)),
    #fff7e8;
  box-shadow: inset 0 0 0 1px rgba(244, 182, 62, 0.26);
}

.summary-image img {
  width: 100%;
  max-height: 230px;
  border-radius: 6px;
  object-fit: cover;
}

.order-summary p {
  margin: 8px 0 18px;
  color: var(--muted);
  line-height: 1.45;
}

.order-summary dl {
  display: grid;
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(21, 59, 66, 0.12);
}

.order-summary dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 13px;
  background: #fff;
}

.order-summary dt,
.order-summary dd {
  margin: 0;
}

.order-summary dt {
  color: var(--muted);
  font-weight: 700;
}

.order-summary dd {
  color: var(--ink);
  font-weight: 950;
}

.summary-note {
  margin-top: 14px;
  padding: 12px;
  border-radius: 8px;
  background: #e7f7fb;
  color: #24535c;
  font-size: 14px;
  line-height: 1.45;
}

.confirmation-panel {
  width: min(1180px, 100%);
  margin: 24px auto 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(280px, 1fr);
  gap: 22px;
  align-items: start;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(21, 59, 66, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.confirmation-panel[hidden] {
  display: none;
}

.confirmation-panel h3 {
  font-size: clamp(26px, 3vw, 38px);
}

.confirmation-panel p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

.confirmation-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(21, 59, 66, 0.12);
  border-radius: 8px;
}

.confirmation-details div {
  display: grid;
  gap: 5px;
  padding: 14px;
  background: #f7fbfc;
}

.confirmation-details dt,
.confirmation-details dd {
  margin: 0;
}

.confirmation-details dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.confirmation-details dd {
  color: var(--teal-dark);
  font-weight: 950;
}

.next-steps {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: next-step;
}

.next-steps li {
  position: relative;
  min-height: 98px;
  padding: 44px 16px 16px;
  border-radius: 8px;
  background: #e7f7fb;
  color: #24535c;
  line-height: 1.45;
}

.next-steps li::before {
  counter-increment: next-step;
  content: counter(next-step);
  position: absolute;
  top: 13px;
  left: 16px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--gold);
  color: #4b3000;
  font-size: 13px;
  font-weight: 950;
}

.confirmation-panel > .button {
  justify-self: start;
}

.ops-section {
  background: #fff;
}

.admin-page {
  background: #fff;
}

.legal-page {
  background: #fff;
}

.admin-page .site-header {
  background: rgba(255, 250, 242, 0.96);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(9, 42, 49, 0.12);
  backdrop-filter: blur(14px);
}

.legal-page .site-header {
  background: rgba(255, 250, 242, 0.96);
  color: var(--ink);
  box-shadow: 0 10px 24px rgba(9, 42, 49, 0.12);
  backdrop-filter: blur(14px);
}

.admin-page .admin-section {
  min-height: calc(100vh - 96px);
  padding-top: clamp(150px, 14vw, 190px);
}

.legal-section {
  padding-top: clamp(150px, 14vw, 190px);
  background:
    linear-gradient(180deg, #fff 0%, #f2fbfb 100%);
}

.legal-section h1 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
}

.legal-doc {
  width: min(980px, 100%);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid rgba(21, 59, 66, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
  overflow-x: auto;
}

.legal-doc h2 {
  margin: 34px 0 12px;
  font-size: 24px;
}

.legal-doc h2:first-child {
  margin-top: 0;
}

.legal-doc p {
  color: var(--muted);
  line-height: 1.7;
}

.legal-doc a {
  color: var(--teal);
  font-weight: 900;
}

.legal-table {
  min-width: 720px;
}

.admin-page .ops-layout {
  grid-template-columns: 1fr;
}

.admin-page .admin-panel {
  order: 1;
}

.admin-page .ops-column {
  order: 2;
}

.admin-page .metric-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-lock {
  width: min(520px, 100%);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 34px);
}

.admin-login {
  display: grid;
  gap: 16px;
}

.login-message {
  min-height: 20px;
  margin: -4px 0 0;
  color: var(--berry);
  font-weight: 850;
}

.admin-section[data-admin-auth="true"] .admin-lock {
  display: none;
}

.admin-section[data-admin-auth="false"] .admin-content {
  display: none;
}

.ops-layout {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
  gap: 22px;
  align-items: start;
}

.ops-column {
  display: grid;
  gap: 18px;
}

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

.metric {
  padding: 18px;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.metric strong {
  display: block;
  margin-top: 8px;
  color: var(--teal-dark);
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1;
}

.pipeline {
  padding: 22px;
}

.inventory-panel {
  padding: 18px;
  border: 1px solid rgba(21, 59, 66, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.inventory-panel h3 {
  margin-bottom: 6px;
}

.inventory-counts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 12px;
  border-top: 1px solid rgba(21, 59, 66, 0.12);
  border-bottom: 1px solid rgba(21, 59, 66, 0.12);
}

.inventory-counts div {
  min-width: 0;
  padding: 14px 12px;
}

.inventory-counts div + div {
  border-left: 1px solid rgba(21, 59, 66, 0.12);
}

.inventory-counts span,
.inventory-counts small {
  display: block;
  color: var(--muted);
}

.inventory-counts span {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.inventory-counts strong {
  display: block;
  margin: 5px 0 3px;
  color: var(--teal);
  font-size: 30px;
  line-height: 1;
}

.inventory-counts small {
  font-size: 12px;
}

.inventory-adjustment {
  margin-top: 14px;
  border-top: 1px solid rgba(21, 59, 66, 0.12);
  padding-top: 12px;
}

.inventory-adjustment summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.inventory-adjustment > p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.inventory-form {
  display: grid;
  grid-template-columns: minmax(150px, 0.55fr) minmax(220px, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 12px;
}

.inventory-form label {
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.inventory-form input,
.inventory-form textarea {
  width: 100%;
  margin-top: 6px;
  min-height: 48px;
  border: 1px solid rgba(21, 59, 66, 0.18);
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--teal);
  font: inherit;
  text-transform: none;
}

.inventory-form input {
  font-size: 28px;
  font-weight: 950;
}

.inventory-form textarea {
  resize: vertical;
  font-size: 14px;
  font-weight: 650;
}

.inventory-status {
  margin: 8px 0 0;
  color: var(--teal);
  font-size: 14px;
  font-weight: 850;
}

.inventory-status[data-tone="good"] {
  color: #155d25;
}

.inventory-status[data-tone="warn"] {
  color: #8d2f3b;
}

.shipping-settings-panel {
  padding: 18px;
  border: 1px solid rgba(21, 59, 66, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--soft-shadow);
}

.shipping-settings-panel h3 {
  margin-bottom: 14px;
}

.toggle-control {
  position: relative;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  padding: 14px;
  border: 1px solid rgba(21, 59, 66, 0.14);
  border-radius: 8px;
  background: #f8faf8;
  cursor: pointer;
}

.toggle-control input {
  position: absolute;
  width: 1px;
  min-height: 1px;
  opacity: 0;
}

.toggle-track {
  width: 44px;
  height: 24px;
  padding: 3px;
  border-radius: 999px;
  background: #9aa9aa;
  transition: background 160ms ease;
}

.toggle-track span {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(21, 59, 66, 0.24);
  transition: transform 160ms ease;
}

.toggle-control input:checked + .toggle-track {
  background: #1d7a3f;
}

.toggle-control input:checked + .toggle-track span {
  transform: translateX(20px);
}

.toggle-control input:focus-visible + .toggle-track {
  outline: 3px solid rgba(0, 109, 111, 0.2);
  outline-offset: 2px;
}

.toggle-control input:disabled ~ * {
  opacity: 0.62;
}

.toggle-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.toggle-copy strong {
  color: var(--teal-dark);
  font-size: 15px;
}

.toggle-copy small,
.shipping-settings-status {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.shipping-settings-status {
  min-height: 19px;
  margin: 9px 0 0;
  font-weight: 800;
}

.shipping-settings-status[data-tone="good"] {
  color: #176431;
}

.shipping-settings-status[data-tone="warn"] {
  color: #8d2f3b;
}

.pipeline h3 {
  margin-bottom: 16px;
}

.pipeline ol {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.pipeline li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
}

.pipeline li::before {
  counter-increment: step;
  content: counter(step);
  grid-row: 1 / span 2;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--gold);
  color: #4b3000;
  font-weight: 950;
}

.pipeline strong,
.pipeline span {
  grid-column: 2;
}

.pipeline strong {
  display: block;
  margin-bottom: 3px;
}

.pipeline span {
  color: var(--muted);
  line-height: 1.45;
}

.admin-panel {
  min-width: 0;
  padding: 18px;
}

.admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.admin-head .eyebrow {
  margin-bottom: 4px;
}

.admin-note {
  margin: -4px 0 14px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff8df;
  color: #6a4a00;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.admin-note[data-tone="good"] {
  background: #e7f7e7;
  color: #155d25;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(21, 59, 66, 0.12);
  border-radius: 8px;
}

.order-card-list {
  display: none;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

th,
td {
  padding: 12px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(21, 59, 66, 0.1);
  vertical-align: middle;
  font-size: 14px;
}

th {
  color: #315b62;
  background: #eef8f8;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

tbody tr:last-child td {
  border-bottom: 0;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.status.preorder {
  background: #fff0bc;
  color: #684300;
}

.status.ordered {
  background: #e4f2ec;
  color: #185746;
}

.status.invoice {
  background: #e1f2ff;
  color: #184f6c;
}

.status.label {
  background: #ffe1e8;
  color: #7c1f36;
}

.status.packed {
  background: #dff5df;
  color: #135e25;
}

.status.completed {
  background: #dff5df;
  color: #135e25;
}

.status.cancelled {
  background: #eeeeee;
  color: #555;
}

.integration-state {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}

.mini-action {
  min-height: 34px;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  background: var(--teal);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.mini-action.link-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.order-actions-cell,
.order-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 280px;
}

.mini-action.danger {
  background: #8d2f3b;
}

.mini-action.ghost {
  background: #f2e7e9;
  color: #8d2f3b;
}

.mini-action:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.mini-action.disabled {
  cursor: not-allowed;
  opacity: 0.55;
  pointer-events: none;
}

.order-detail-row td {
  background: #fbfdfd;
  padding-top: 0;
}

.order-detail-row details {
  padding: 10px 0;
}

.order-detail-row summary {
  cursor: pointer;
  color: var(--teal);
  font-weight: 900;
}

.order-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 16px;
  margin: 12px 0 0;
}

.order-details-grid div {
  min-width: 0;
}

.order-details-grid dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.order-details-grid dd {
  margin: 4px 0 0;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}

.order-edit-form {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(21, 59, 66, 0.12);
  border-radius: 8px;
  background: #fff;
}

.order-edit-form[hidden] {
  display: none;
}

.order-edit-start {
  margin-top: 16px;
}

.order-edit-form h4 {
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 14px;
}

.order-edit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.order-edit-grid label {
  min-width: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.order-edit-grid input {
  width: 100%;
  min-height: 38px;
  margin-top: 4px;
  border: 1px solid rgba(21, 59, 66, 0.16);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}

.order-edit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.empty-state {
  margin: 14px 0 0;
  color: var(--muted);
}

.deleted-orders-panel {
  margin-top: 18px;
  border-top: 1px dashed rgba(21, 59, 66, 0.22);
  padding-top: 12px;
}

.deleted-orders-panel summary {
  cursor: pointer;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.deleted-orders-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.deleted-order-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(21, 59, 66, 0.12);
  border-radius: 8px;
  background: #fbfdfd;
}

.deleted-order-item strong,
.deleted-order-item span,
.deleted-order-item small {
  display: block;
}

.deleted-order-item span,
.deleted-order-item small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.campaign-section {
  background:
    linear-gradient(180deg, #fff 0%, #f2fbfb 100%);
}

.campaign-grid {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.campaign-grid article {
  padding: 22px;
  position: relative;
  overflow: hidden;
}

.campaign-grid article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--red), var(--gold), var(--teal));
}

.campaign-grid h3 {
  margin-top: 10px;
}

.campaign-grid p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 4vw, 56px);
  background: var(--ink);
  color: #fff;
}

.site-footer div {
  display: grid;
  gap: 4px;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  color: #ffe6a6;
  font-weight: 900;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  max-width: min(380px, calc(100% - 36px));
  padding: 14px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.show,
.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.toast[data-tone="warn"] {
  background: #842f2a;
}

.toast[data-tone="good"] {
  background: #0b675f;
}

@media (max-width: 980px) {
  .site-header {
    gap: 12px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand {
    min-width: 0;
    flex: 1 1 auto;
  }

  .brand strong,
  .brand small {
    white-space: nowrap;
  }

  .main-nav {
    position: fixed;
    inset: 108px 14px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(21, 59, 66, 0.12);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  body.nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 14px;
    border-bottom: 1px solid rgba(21, 59, 66, 0.1);
  }

  .main-nav a:last-child {
    border-bottom: 0;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    position: fixed;
    top: 70px;
    right: 16px;
    z-index: 70;
    flex: 0 0 44px;
    margin-left: auto;
    border: 1px solid rgba(255, 255, 255, 0.48);
    background: rgba(255, 255, 255, 0.22);
  }

  .site-header[data-elevated="true"] .nav-toggle,
  body.nav-open .nav-toggle {
    background: rgba(0, 109, 111, 0.1);
  }

  .product-showcase,
  .contents-layout,
  .board-section,
  .order-shell,
  .confirmation-panel,
  .ops-layout {
    grid-template-columns: 1fr;
  }

  .admin-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-actions {
    width: 100%;
    justify-content: stretch;
  }

  .admin-actions .button {
    flex: 1 1 180px;
  }

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

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

  .order-summary {
    position: static;
  }

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

  .relief-grid,
  .next-steps,
  .trust-band,
  .campaign-grid {
    grid-template-columns: 1fr;
  }

  .contents-photo img {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  section[id],
  #vasarlas {
    scroll-margin-top: 148px;
  }

  .announcement-bar {
    min-height: 70px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 6px 12px;
  }

  .site-header {
    top: 70px;
    min-height: 70px;
  }

  .nav-toggle {
    top: 83px;
  }

  .main-nav {
    inset: 140px 14px auto;
  }

  .hero {
    min-height: 780px;
    padding-top: 166px;
    padding-bottom: 88px;
    width: 100%;
    max-width: 100vw;
    padding-right: 20px;
    padding-left: 20px;
  }

  .hero-content,
  .hero-copy {
    width: 100%;
    max-width: calc(100vw - 40px);
    min-width: 0;
  }

  .hero-copy {
    font-size: 18px;
    line-height: 1.5;
    overflow-wrap: break-word;
  }

  .hero h1 {
    font-size: 40px;
    line-height: 1;
    overflow-wrap: normal;
    word-break: normal;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(7, 30, 34, 0.82) 0%, rgba(7, 30, 34, 0.46) 48%, rgba(7, 30, 34, 0.78) 100%);
  }

  .hero-actions,
  .form-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: 1fr;
  }

  .order-strip {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .strip-price {
    text-align: left;
  }

  .preorder-delivery-callout {
    flex-direction: column;
    gap: 6px;
    margin-top: -8px;
  }

  .preorder-delivery-callout span {
    text-align: left;
  }

  .form-grid,
  .option-row,
  .included-grid,
  .confirmation-details,
  .metric-grid {
    grid-template-columns: 1fr;
  }

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

  .admin-panel {
    padding: 16px;
  }

  .inventory-form {
    grid-template-columns: 1fr;
  }

  .inventory-counts {
    grid-template-columns: 1fr;
  }

  .inventory-counts div + div {
    border-top: 1px solid rgba(21, 59, 66, 0.12);
    border-left: 0;
  }

  .admin-panel .table-wrap {
    display: none;
  }

  .order-card-list {
    display: grid;
    gap: 12px;
  }

  .order-card {
    padding: 14px;
    border: 1px solid rgba(21, 59, 66, 0.12);
    border-radius: 8px;
    background: #fff;
  }

  .order-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
  }

  .order-card-head strong,
  .order-card-head span {
    display: block;
  }

  .order-card-head strong {
    color: var(--teal-dark);
  }

  .order-card-head div span {
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
  }

  .order-card-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 12px 0;
  }

  .order-card-summary span {
    padding: 8px;
    border-radius: 8px;
    background: #eef8f8;
    color: var(--teal-dark);
    font-size: 12px;
    font-weight: 900;
    text-align: center;
  }

  .order-card-actions {
    min-width: 0;
    margin-top: 12px;
  }

  .order-card-actions .mini-action {
    flex: 1 1 140px;
  }

  .deleted-order-item {
    align-items: stretch;
    flex-direction: column;
  }

  .order-details-grid {
    grid-template-columns: 1fr;
  }

  .order-edit-grid {
    grid-template-columns: 1fr;
  }

  .foxpost-picker {
    padding: 12px;
    gap: 12px;
  }

  .foxpost-panel-head,
  .foxpost-frame-toolbar,
  .foxpost-smart-search {
    flex-direction: column;
    align-items: flex-start;
  }

  .foxpost-smart-search {
    display: grid;
    grid-template-columns: 1fr;
  }

  .foxpost-location {
    width: 100%;
    white-space: normal;
  }

  .foxpost-result {
    align-items: flex-start;
    flex-direction: column;
  }

  .foxpost-frame-toolbar small {
    text-align: left;
  }

  .foxpost-frame {
    height: 520px;
    min-height: 520px;
  }

  .foxpost-direct {
    width: 100%;
  }

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

  .creation-tile,
  .creation-tile img {
    height: 220px;
    min-height: 220px;
  }

  .creation-label {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }

  .creation-label span {
    width: 32px;
    height: 30px;
    font-size: 13px;
  }

  .creation-label strong {
    font-size: 13px;
    line-height: 1.2;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Multi-product admin workspace */
.admin-page {
  min-height: 100vh;
  background: #f3f6f5;
  color: #173d43;
}

.admin-page .button.compact {
  min-height: 34px;
  padding: 7px 11px;
  font-size: 13px;
}

.admin-page .button.danger {
  border-color: #cf3f35;
  background: #fff4f2;
  color: #a82f28;
}

.admin-page .button.danger:hover,
.admin-page .button.danger:focus-visible {
  background: #cf3f35;
  color: #fff;
}

.admin-page button:disabled,
.admin-page .button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.admin-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px clamp(16px, 3vw, 38px);
  border-bottom: 1px solid #d8e2df;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 5px 18px rgba(19, 59, 65, 0.07);
  backdrop-filter: blur(14px);
}

.admin-topbar .brand {
  color: #173d43;
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-shell {
  min-height: calc(100vh - 68px);
}

.admin-login-shell {
  width: min(940px, calc(100% - 32px));
  min-height: 360px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  align-items: center;
  gap: clamp(36px, 8vw, 100px);
  margin: 8vh auto;
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid #d7e1de;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(20, 57, 62, 0.1);
}

.admin-login-copy h1,
.admin-view-head h1 {
  margin: 5px 0 0;
  letter-spacing: 0;
}

.admin-login-copy h1 {
  max-width: 440px;
  font-size: 38px;
  line-height: 1.12;
}

.admin-login-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-left: 4px solid #f4b63e;
  background: #f8fbfa;
}

.admin-login-form label,
.admin-filters label,
.settings-form label,
.product-editor label,
.coupon-editor label,
.order-edit-form label,
.inventory-correction label {
  display: grid;
  gap: 7px;
  color: #31545a;
  font-size: 13px;
  font-weight: 800;
}

.admin-login-form input,
.admin-filters input,
.admin-filters select,
.settings-form input,
.settings-form select,
.settings-form textarea,
.product-editor input,
.product-editor select,
.product-editor textarea,
.coupon-editor input,
.coupon-editor select,
.order-edit-form input,
.inventory-correction input,
.inventory-correction textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid #cbd9d6;
  border-radius: 5px;
  background: #fff;
  color: #173d43;
  padding: 9px 11px;
  outline: none;
}

.product-editor textarea,
.settings-form textarea,
.inventory-correction textarea {
  min-height: 82px;
  resize: vertical;
}

.admin-login-form input:focus,
.admin-filters input:focus,
.admin-filters select:focus,
.settings-form input:focus,
.product-editor input:focus,
.product-editor select:focus,
.product-editor textarea:focus,
.coupon-editor input:focus,
.coupon-editor select:focus,
.order-edit-form input:focus,
.inventory-correction input:focus,
.inventory-correction textarea:focus {
  border-color: #007879;
  box-shadow: 0 0 0 3px rgba(0, 120, 121, 0.12);
}

.login-message {
  min-height: 20px;
  margin: 0;
  color: #b82e26;
  font-size: 13px;
  font-weight: 700;
}

.admin-workspace {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  min-height: calc(100vh - 68px);
}

.admin-sidebar {
  position: sticky;
  top: 68px;
  align-self: start;
  min-height: calc(100vh - 68px);
  padding: 26px 16px;
  border-right: 1px solid #d6e1de;
  background: #fff;
}

.admin-sidebar-title {
  display: grid;
  gap: 2px;
  padding: 0 10px 20px;
  border-bottom: 1px solid #e4ebe9;
}

.admin-sidebar-title span {
  color: #738689;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-sidebar-title strong {
  font-size: 20px;
}

.admin-tabs {
  display: grid;
  gap: 5px;
  margin-top: 18px;
}

.admin-tabs button {
  width: 100%;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 0;
  border-left: 3px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: #4c666a;
  padding: 9px 10px;
  text-align: left;
  font-weight: 800;
  cursor: pointer;
}

.admin-tabs button span {
  min-width: 24px;
  padding: 2px 5px;
  border-radius: 999px;
  background: #eaf1ef;
  color: #31545a;
  font-size: 11px;
  text-align: center;
}

.admin-tabs button:hover,
.admin-tabs button:focus-visible {
  background: #f1f6f4;
  color: #173d43;
}

.admin-tabs button[aria-current="page"] {
  border-left-color: #007879;
  background: #e7f4f1;
  color: #005b60;
}

.admin-main {
  min-width: 0;
  padding: clamp(24px, 4vw, 48px);
}

.admin-view {
  width: min(1420px, 100%);
  margin: 0 auto;
}

.admin-view[hidden],
.admin-workspace[hidden],
.admin-login-shell[hidden] {
  display: none !important;
}

.admin-view-head,
.admin-band-head,
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.admin-view-head {
  margin-bottom: 24px;
}

.admin-view-head h1 {
  font-size: 30px;
}

.admin-view-head .eyebrow,
.admin-band-head .eyebrow,
.dialog-head .eyebrow {
  margin: 0;
  color: #007879;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 28px;
}

.admin-metrics article {
  min-height: 116px;
  display: grid;
  align-content: space-between;
  padding: 18px;
  border: 1px solid #d8e2df;
  border-top: 4px solid #007879;
  border-radius: 6px;
  background: #fff;
}

.admin-metrics article:nth-child(2) { border-top-color: #e34b35; }
.admin-metrics article:nth-child(3) { border-top-color: #f0ae2e; }
.admin-metrics article:nth-child(4) { border-top-color: #4d8fb4; }

.admin-metrics span {
  color: #687d80;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-metrics strong {
  font-size: 28px;
}

.admin-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.7fr);
  gap: 24px;
}

.admin-band,
.settings-form {
  border-top: 1px solid #cfdad8;
  background: transparent;
  padding-top: 20px;
}

.admin-band h2,
.settings-section h2 {
  margin: 4px 0 0;
  font-size: 20px;
}

.text-command,
.icon-command {
  border: 0;
  background: transparent;
  color: #006b6e;
  padding: 5px;
  font-weight: 800;
  cursor: pointer;
}

.text-command:hover,
.text-command:focus-visible {
  text-decoration: underline;
}

.danger-text {
  color: #b52e27;
}

.recent-order-list {
  margin-top: 14px;
  border-bottom: 1px solid #dce5e3;
}

.recent-order {
  width: 100%;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  border-top: 1px solid #dce5e3;
  background: transparent;
  color: #173d43;
  padding: 10px 4px;
  text-align: left;
  cursor: pointer;
}

.recent-order:hover,
.recent-order:focus-visible {
  background: #eef5f3;
}

.recent-order span {
  display: grid;
  gap: 3px;
}

.recent-order span:last-child {
  text-align: right;
}

.recent-order small,
.store-state-list dt {
  color: #6c7f82;
}

.store-state-list {
  margin: 14px 0 0;
}

.store-state-list div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid #dce5e3;
}

.store-state-list dt,
.store-state-list dd {
  margin: 0;
}

.store-state-list dd {
  font-weight: 850;
}

.admin-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(190px, 260px);
  gap: 12px;
  margin-bottom: 12px;
  padding: 15px;
  border: 1px solid #d8e2df;
  border-radius: 6px;
  background: #fff;
}

.order-batch-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  margin-bottom: 12px;
  padding: 9px 12px;
  border: 1px solid #d8e2df;
  border-radius: 6px;
  background: #fff;
}

.batch-select-control,
.order-select-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #31545a;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.batch-select-control input,
.order-select-control input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #007879;
}

.order-batch-toolbar > strong {
  color: #61777a;
  font-size: 12px;
  white-space: nowrap;
}

.order-batch-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.admin-notice {
  min-height: 22px;
  margin: 0 0 14px;
  padding: 8px 11px;
  border-left: 3px solid #db9d23;
  background: #fff7e2;
  color: #684b0b;
  font-size: 13px;
  font-weight: 700;
}

.admin-notice[data-tone="good"] {
  border-left-color: #188053;
  background: #eaf6f0;
  color: #165d42;
}

.order-record-list {
  display: grid;
  gap: 12px;
}

.order-record {
  border: 1px solid #d6e1de;
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.order-record-head,
.order-record-summary,
.order-record-actions,
.order-integration-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.order-record-head {
  min-height: 66px;
  padding: 12px 16px;
  border-bottom: 1px solid #e2e9e7;
  background: #f8fbfa;
}

.order-record-number,
.order-record-summary span,
.order-record-total {
  display: grid;
  gap: 3px;
}

.order-record-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.order-record-number {
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 10px;
}

.order-record-number small {
  grid-column: 2;
}

.order-record small,
.product-admin-row small,
.inventory-admin-row small,
.stock-history-row small,
.audit-row small {
  color: #718386;
  font-size: 12px;
}

.order-record-total {
  text-align: right;
}

.status-pill,
.product-state {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 3px 7px;
  border: 1px solid #bcd5d2;
  border-radius: 999px;
  background: #e9f5f2;
  color: #08645f;
  font-size: 11px;
  font-weight: 850;
}

.status-pill.cancelled,
.product-state.paused,
.product-state.archived {
  border-color: #e7b6b0;
  background: #fff0ee;
  color: #9c3029;
}

.status-pill.completed,
.product-state.active {
  border-color: #b8dbc8;
  background: #eaf7f0;
  color: #196342;
}

.product-state.draft {
  border-color: #ccd4d5;
  background: #f0f3f3;
  color: #596d70;
}

.product-state.coming_soon,
.product-state.preorder {
  border-color: #e7ce93;
  background: #fff6da;
  color: #795613;
}

.order-record-summary {
  padding: 14px 16px;
}

.order-record-summary span:last-child {
  max-width: 52%;
  text-align: right;
}

.order-item-lines {
  margin: 0 16px;
  padding: 0;
  border-top: 1px solid #e2e9e7;
  list-style: none;
}

.order-item-lines li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #e8eeec;
  font-size: 13px;
}

.order-item-lines li > span:first-child {
  display: grid;
}

.order-item-lines .order-discount-line {
  color: #176f55;
}

.order-integration-line {
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 9px 16px;
  color: #5e7275;
  font-size: 12px;
}

.order-integration-line span {
  padding-right: 14px;
  border-right: 1px solid #d8e2df;
}

.order-integration-line span:last-child {
  border-right: 0;
}

.order-record-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  padding: 12px 16px;
  border-top: 1px solid #e2e9e7;
}

.order-edit-form {
  padding: 18px 16px;
  border-top: 1px solid #d2ddda;
  background: #f1f6f4;
}

.order-edit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

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

.order-edit-actions,
.dialog-actions,
.settings-actions,
.upload-actions,
.system-tool-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.deleted-orders-vault,
.stock-history,
.audit-log {
  margin-top: 28px;
  border-top: 1px solid #cfdad8;
}

.deleted-orders-vault > summary,
.stock-history > summary,
.audit-log > summary {
  cursor: pointer;
  padding: 15px 2px;
  color: #536b6f;
  font-weight: 850;
}

.deleted-order-list,
.stock-history-list,
.audit-log > div {
  border-bottom: 1px solid #d8e2df;
}

.deleted-order-row,
.stock-history-row,
.audit-row {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 4px;
  border-top: 1px solid #d8e2df;
}

.deleted-order-row > span,
.stock-history-row > span,
.audit-row > span {
  display: grid;
  gap: 3px;
}

.deleted-order-row > span:last-child,
.stock-history-row > span:last-child {
  justify-items: end;
}

.product-admin-list,
.inventory-admin-list,
.coupon-admin-list {
  display: grid;
  gap: 10px;
}

.coupon-admin-summary {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border: 1px solid #d7e1df;
  border-radius: 6px;
  background: #fff;
  color: #5f7679;
  font-size: 13px;
}

.coupon-admin-summary strong {
  color: #173d43;
  font-size: 17px;
}

.coupon-admin-row {
  min-height: 92px;
  display: grid;
  grid-template-columns: minmax(175px, 0.8fr) minmax(130px, 0.45fr) minmax(240px, 1.15fr) minmax(160px, 0.65fr) auto;
  align-items: center;
  gap: 16px;
  padding: 13px 14px;
  border: 1px solid #d7e1df;
  border-radius: 6px;
  background: #fff;
}

.coupon-code-block,
.coupon-value-block,
.coupon-scope-block,
.coupon-usage-block {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.coupon-code-block > strong {
  font-size: 17px;
  overflow-wrap: anywhere;
}

.coupon-value-block > strong {
  color: #176f55;
  font-size: 19px;
}

.coupon-admin-row small {
  color: #718386;
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.coupon-state {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 3px 7px;
  border: 1px solid #b8dbc8;
  border-radius: 999px;
  background: #eaf7f0;
  color: #196342;
  font-size: 11px;
  font-weight: 850;
}

.coupon-state.inactive,
.coupon-state.expired,
.coupon-state.exhausted {
  border-color: #e2c1bd;
  background: #fff0ee;
  color: #96342d;
}

.coupon-state.scheduled {
  border-color: #e7ce93;
  background: #fff6da;
  color: #795613;
}

.coupon-row-actions {
  display: grid;
  justify-items: stretch;
  gap: 4px;
}

.product-admin-row {
  min-height: 86px;
  display: grid;
  grid-template-columns: 66px minmax(240px, 1fr) minmax(160px, 0.45fr) auto;
  align-items: center;
  gap: 15px;
  padding: 10px 14px 10px 10px;
  border: 1px solid #d7e1df;
  border-radius: 6px;
  background: #fff;
}

.product-admin-image {
  width: 64px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 4px;
  background: #eaf0ee;
  color: #738689;
  font-size: 10px;
}

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

.product-admin-copy,
.product-admin-price,
.inventory-product {
  display: grid;
  gap: 4px;
}

.product-admin-price {
  text-align: right;
}

.inventory-admin-row {
  display: grid;
  grid-template-columns: minmax(200px, 0.8fr) minmax(360px, 1.3fr) minmax(180px, 0.7fr);
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid #d7e1df;
  border-radius: 6px;
  background: #fff;
}

.inventory-values {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.inventory-values div {
  padding: 4px 13px;
  border-left: 1px solid #dce5e3;
}

.inventory-values dt,
.inventory-values dd {
  margin: 0;
}

.inventory-values dt {
  color: #718386;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.inventory-values dd {
  margin-top: 4px;
  font-size: 18px;
  font-weight: 850;
}

.inventory-correction {
  justify-self: end;
  width: min(100%, 330px);
}

.inventory-correction summary {
  cursor: pointer;
  color: #9b302a;
  font-size: 12px;
  font-weight: 850;
  text-align: right;
}

.inventory-correction form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #ecc2bd;
  border-radius: 5px;
  background: #fff7f5;
}

.settings-form {
  display: grid;
  gap: 28px;
}

.settings-section {
  display: grid;
  gap: 16px;
  max-width: 960px;
  padding-bottom: 26px;
  border-bottom: 1px solid #d7e1df;
}

.settings-section > label:not(.toggle-control) {
  max-width: 720px;
}

.settings-product-mode {
  width: min(720px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(21, 59, 66, 0.14);
  border-radius: 8px;
  background: #f8faf8;
}

.settings-product-mode > span {
  display: grid;
  gap: 3px;
}

.settings-product-mode strong {
  color: var(--teal-dark);
  font-size: 15px;
}

.settings-product-mode small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.segmented-field {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border: 0;
  padding: 0;
}

.segmented-field legend {
  width: 100%;
  margin-bottom: 7px;
  color: #31545a;
  font-size: 13px;
  font-weight: 850;
}

.segmented-field label {
  display: block;
}

.segmented-field input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented-field span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #cbd9d6;
  border-radius: 5px;
  background: #fff;
  cursor: pointer;
}

.segmented-field input:checked + span {
  border-color: #007879;
  background: #e8f5f2;
  color: #005b60;
  box-shadow: inset 0 0 0 1px #007879;
}

.settings-fee-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 12px;
}

.settings-fee-grid label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px;
  border: 1px solid #d7e1df;
  border-radius: 5px;
  background: #fff;
}

.settings-fee-grid label span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.settings-fee-grid input {
  width: 110px;
}

.settings-actions {
  justify-content: flex-start;
  margin-top: 0;
}

.settings-actions p {
  margin: 0;
  color: #536b6f;
  font-size: 13px;
}

.system-tools {
  margin-top: 38px;
}

.email-tools {
  margin-top: 38px;
}

.email-config-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 22px;
  margin: 16px 0 0;
}

.email-config-list div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 10px 0;
  border-bottom: 1px solid #dce5e3;
}

.email-config-list dt {
  color: #718386;
  font-size: 12px;
  font-weight: 750;
}

.email-config-list dd {
  min-width: 0;
  margin: 0;
  overflow-wrap: anywhere;
  color: #173d43;
  font-weight: 850;
}

.system-tool-actions {
  justify-content: flex-start;
  margin-top: 16px;
}

.system-tool-actions span {
  color: #607579;
  font-size: 13px;
}

.audit-row time {
  color: #6f8285;
  font-size: 12px;
  white-space: nowrap;
}

.product-editor,
.coupon-editor {
  width: min(980px, calc(100% - 30px));
  max-height: calc(100vh - 32px);
  border: 0;
  border-radius: 8px;
  background: #fff;
  color: #173d43;
  padding: 0;
  box-shadow: 0 32px 80px rgba(17, 45, 50, 0.3);
}

.coupon-editor {
  width: min(860px, calc(100% - 30px));
}

.product-editor::backdrop,
.coupon-editor::backdrop {
  background: rgba(12, 39, 44, 0.6);
}

.product-editor form,
.coupon-editor form {
  padding: 22px;
}

.dialog-head {
  position: sticky;
  top: -22px;
  z-index: 2;
  margin: -22px -22px 20px;
  padding: 18px 22px;
  border-bottom: 1px solid #d7e1df;
  background: #fff;
}

.dialog-head h2 {
  margin: 3px 0 0;
  font-size: 22px;
}

.icon-command {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  font-size: 28px;
  line-height: 1;
}

.icon-command:hover,
.icon-command:focus-visible {
  background: #eef3f2;
}

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

.coupon-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.coupon-editor label > span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.coupon-editor label > span input {
  flex: 1;
}

.coupon-editor-group {
  display: grid;
  gap: 13px;
  margin: 24px 0 0;
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid #d7e1df;
}

.coupon-editor-group legend {
  padding-right: 16px;
  color: #173d43;
  font-size: 16px;
  font-weight: 900;
}

.coupon-editor .check-line {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
}

.coupon-editor .check-line input {
  width: 18px;
  min-height: 18px;
  margin: 0;
}

.coupon-product-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 18px;
  padding: 10px 12px;
  border: 1px solid #d7e1df;
  border-radius: 5px;
  background: #f8fbfa;
}

.coupon-product-choices[data-disabled="true"] {
  opacity: 0.5;
}

.dialog-field-note {
  margin: 16px 0 0;
  color: #6b7f82;
  font-size: 12px;
}

.product-editor-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin: 24px 0 0;
  padding: 18px 0 0;
  border: 0;
  border-top: 1px solid #d7e1df;
}

.product-editor-group[hidden] {
  display: none !important;
}

.product-editor-group legend {
  padding-right: 16px;
  color: #173d43;
  font-size: 16px;
  font-weight: 900;
}

.product-promotion-toggle {
  grid-column: 1 / -1;
  width: min(720px, 100%);
}

.product-editor .product-promotion-toggle > .toggle-track {
  display: block;
  flex: 0 0 auto;
}

.product-editor .product-promotion-toggle > .toggle-copy {
  display: grid;
  align-items: initial;
}

.product-editor label > span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.product-editor label > span input {
  flex: 1;
}

.product-editor .check-line {
  display: flex;
  align-items: center;
  gap: 9px;
  align-self: end;
  min-height: 42px;
}

.product-editor .check-line input {
  width: 18px;
  min-height: 18px;
  margin: 0;
}

.upload-actions {
  align-self: end;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 0;
}

.dialog-actions {
  position: sticky;
  bottom: -22px;
  margin: 28px -22px -22px;
  padding: 15px 22px;
  border-top: 1px solid #d7e1df;
  background: #fff;
}

.admin-page .toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 100;
  max-width: min(440px, calc(100% - 36px));
  transform: translateY(22px);
  opacity: 0;
  pointer-events: none;
  border-left: 4px solid #007879;
  border-radius: 5px;
  background: #173d43;
  color: #fff;
  padding: 12px 15px;
  box-shadow: 0 18px 45px rgba(9, 35, 39, 0.25);
  transition: opacity 160ms ease, transform 160ms ease;
}

.admin-page .toast.visible {
  transform: translateY(0);
  opacity: 1;
}

.admin-page .toast[data-tone="warn"] {
  border-left-color: #e44a37;
}

.admin-page .toast[data-tone="good"] {
  border-left-color: #3fb77d;
}

@media (max-width: 1080px) {
  .admin-workspace {
    grid-template-columns: 184px minmax(0, 1fr);
  }

  .admin-sidebar {
    padding-inline: 10px;
  }

  .admin-main {
    padding: 28px 22px;
  }

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

  .admin-overview-grid {
    grid-template-columns: 1fr;
  }

  .inventory-admin-row {
    grid-template-columns: minmax(180px, 0.7fr) minmax(330px, 1.3fr);
  }

  .inventory-correction {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: 100%;
  }

  .inventory-correction summary {
    text-align: left;
  }

  .coupon-admin-row {
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  }

  .coupon-row-actions {
    grid-column: 3;
    grid-row: 1 / span 2;
  }
}

@media (max-width: 760px) {
  .admin-topbar {
    min-height: 62px;
    padding: 8px 12px;
  }

  .admin-topbar .brand {
    min-width: 0;
  }

  .admin-topbar .brand small {
    display: none;
  }

  .admin-topbar-actions .button {
    min-width: 0;
  }

  .admin-login-shell {
    grid-template-columns: 1fr;
    gap: 26px;
    margin: 24px auto;
    padding: 24px;
  }

  .admin-login-copy h1 {
    font-size: 30px;
  }

  .admin-workspace {
    display: block;
  }

  .admin-sidebar {
    position: sticky;
    top: 62px;
    z-index: 20;
    min-height: auto;
    padding: 8px 10px;
    border-right: 0;
    border-bottom: 1px solid #d6e1de;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .admin-sidebar::-webkit-scrollbar {
    display: none;
  }

  .admin-sidebar-title {
    display: none;
  }

  .admin-tabs {
    display: flex;
    width: max-content;
    margin: 0;
  }

  .admin-tabs button {
    width: auto;
    min-height: 38px;
    border-left: 0;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
  }

  .admin-tabs button[aria-current="page"] {
    border-left-color: transparent;
    border-bottom-color: #007879;
  }

  .admin-main {
    padding: 22px 14px 50px;
  }

  .admin-view-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .admin-view-head > div,
  .admin-view-head > .button {
    width: 100%;
  }

  .admin-view-head h1 {
    font-size: 26px;
  }

  .admin-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .admin-metrics article {
    min-height: 100px;
    padding: 13px;
  }

  .admin-metrics strong {
    font-size: 21px;
  }

  .admin-filters,
  .settings-fee-grid,
  .email-config-list,
  .product-form-grid,
  .coupon-form-grid,
  .coupon-product-choices,
  .product-editor-group,
  .order-edit-grid {
    grid-template-columns: 1fr;
  }

  .settings-product-mode {
    align-items: stretch;
    flex-direction: column;
  }

  .order-record-head,
  .order-record-summary {
    align-items: flex-start;
  }

  .order-record-summary {
    display: grid;
  }

  .order-record-summary span:last-child {
    max-width: none;
    text-align: left;
  }

  .order-record-actions {
    gap: 7px;
  }

  .order-record-actions .button,
  .order-record-actions .text-command {
    flex: 1 1 130px;
    justify-content: center;
    text-align: center;
  }

  .order-batch-toolbar {
    align-items: stretch;
    flex-wrap: wrap;
  }

  .order-batch-actions {
    width: 100%;
    margin-left: 0;
  }

  .order-batch-actions .button {
    flex: 1 1 180px;
  }

  .product-admin-row {
    grid-template-columns: 58px minmax(0, 1fr) auto;
  }

  .product-admin-image {
    width: 56px;
  }

  .product-admin-price {
    grid-column: 2;
    text-align: left;
  }

  .product-admin-row > .button {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .coupon-admin-summary {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .coupon-admin-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .coupon-row-actions {
    grid-column: auto;
    grid-row: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .inventory-admin-row {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .inventory-values div:first-child {
    border-left: 0;
    padding-left: 0;
  }

  .settings-fee-grid label {
    align-items: flex-start;
  }

  .product-editor {
    width: calc(100% - 14px);
    max-height: calc(100vh - 14px);
  }

  .product-editor form {
    padding: 16px;
  }

  .dialog-head {
    top: -16px;
    margin: -16px -16px 18px;
    padding: 15px 16px;
  }

  .dialog-actions {
    bottom: -16px;
    margin: 24px -16px -16px;
    padding: 13px 16px;
  }

  .deleted-order-row,
  .audit-row {
    align-items: flex-start;
  }
}

@media (max-width: 460px) {
  .admin-topbar .brand strong {
    font-size: 15px;
  }

  .admin-topbar .brand-mark {
    width: 36px;
    height: 36px;
  }

  .admin-topbar-actions {
    gap: 4px;
  }

  .admin-topbar-actions .button {
    padding-inline: 8px;
  }

  .admin-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .admin-metrics span {
    font-size: 10px;
  }

  .recent-order,
  .deleted-order-row,
  .stock-history-row,
  .audit-row {
    display: grid;
  }

  .recent-order span:last-child,
  .deleted-order-row > span:last-child,
  .stock-history-row > span:last-child {
    justify-items: start;
    text-align: left;
  }

  .order-record-number {
    grid-template-columns: 1fr;
  }

  .order-record-number small {
    grid-column: 1;
  }

  .order-item-lines li {
    display: grid;
  }

  .inventory-values {
    grid-template-columns: 1fr;
  }

  .inventory-values div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 0;
    border-left: 0;
    border-bottom: 1px solid #e0e8e6;
  }

  .inventory-values dd {
    margin: 0;
    font-size: 16px;
  }
}

/* Multi-product storefront */
@media (max-width: 1320px) and (min-width: 761px) {
  .admin-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-overview-grid {
    grid-template-columns: 1fr;
  }
}

.admin-workspace,
.admin-main,
.admin-view {
  max-width: 100%;
}

.cart-nav-link {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
}

.cart-nav-link [data-cart-count] {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: #e74732;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

[data-cart-count][hidden],
.product-loading[hidden],
.product-error[hidden],
.product-detail[hidden],
.product-description-section[hidden],
.checkout-empty[hidden],
.checkout-layout[hidden],
.store-message[hidden],
.checkout-confirmation[hidden],
#foxpostPicker[hidden] {
  display: none !important;
}

#quantityControl[hidden],
#participantControl[hidden] {
  display: none !important;
}

.shop-page[data-page="product"] .site-header,
.shop-page[data-page="cart"] .site-header {
  background: #fff;
  color: #173d43;
  box-shadow: 0 1px 0 rgb(23 61 67 / 12%);
}

.shop-page[data-page="product"] .site-header .brand,
.shop-page[data-page="cart"] .site-header .brand,
.shop-page[data-page="product"] .main-nav a,
.shop-page[data-page="cart"] .main-nav a {
  color: #173d43;
}

.shop-page[data-page="cart"] .checkout-main {
  padding-top: calc(108px + clamp(36px, 5vw, 70px));
}

.shop-page {
  background: #f7faf8;
  color: #143e43;
}

.shop-page .button.compact,
.shop-catalog-section .button.compact {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 13px;
}

.shop-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.shop-heading-row .eyebrow,
.shop-heading-row h2,
.shop-heading-row p {
  margin-top: 0;
}

.shop-catalog-section {
  border-top: 1px solid #d8e1de;
  background: #f7faf8;
}

.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
  justify-content: start;
  gap: 22px;
  margin-top: 30px;
}

.shop-loading,
.shop-empty-message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 32px 0;
  color: #637a7d;
}

.shop-product-card {
  min-width: 0;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  border: 1px solid #d4dfdc;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 14px 30px rgba(18, 57, 61, 0.07);
}

.shop-product-image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e9efed;
}

.shop-product-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 220ms ease;
}

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

.product-state,
.product-status {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-state {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 9px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(12, 42, 45, 0.16);
}

.state-active,
.state-preorder {
  color: #006b63;
}

.state-coming_soon {
  color: #7d5a00;
}

.state-sold_out {
  color: #a12f28;
}

.shop-product-copy {
  padding: 20px 20px 12px;
}

.shop-product-copy > p {
  margin: 0 0 8px;
  color: #657b7e;
  font-size: 12px;
  font-weight: 800;
}

.shop-product-copy h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.shop-product-copy h3 a {
  color: #143e43;
}

.shop-product-copy > span {
  display: block;
  color: #5d7376;
  line-height: 1.55;
}

.shop-product-actions {
  min-height: 67px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin: 0 20px;
  padding: 14px 0 18px;
  border-top: 1px solid #e1e8e6;
}

.shop-product-actions > strong {
  white-space: nowrap;
  font-size: 19px;
}

.store-message {
  margin-top: 24px;
  padding: 14px 16px;
  border-left: 4px solid #e74732;
  background: #fff1ef;
  color: #812b27;
  font-weight: 800;
}

.catalog-hero {
  position: relative;
  min-height: min(62vh, 600px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #163f43;
}

.catalog-hero > img,
.catalog-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.catalog-hero > img {
  object-fit: cover;
  object-position: center 46%;
}

.catalog-hero-shade {
  background: rgba(8, 31, 34, 0.58);
}

.catalog-hero-copy {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 clamp(52px, 8vw, 92px);
  color: #fff;
}

.catalog-hero-copy h1 {
  max-width: 720px;
  margin: 6px 0 14px;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.catalog-hero-copy p:last-child {
  max-width: 620px;
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
}

.catalog-list-section {
  min-height: 420px;
}

.catalog-count {
  color: #637a7d;
  font-weight: 800;
  white-space: nowrap;
}

.catalog-promise-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #cfdbd8;
  border-bottom: 1px solid #cfdbd8;
  background: #fff;
}

.catalog-promise-band > div {
  min-height: 170px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 30px clamp(24px, 4vw, 54px);
}

.catalog-promise-band > div + div {
  border-left: 1px solid #cfdbd8;
}

.catalog-promise-band strong {
  font-size: 18px;
}

.catalog-promise-band span {
  color: #667b7e;
  line-height: 1.55;
}

.product-loading,
.product-error {
  width: min(1180px, calc(100% - 40px));
  min-height: 52vh;
  display: grid;
  align-content: center;
  justify-items: start;
  margin: 0 auto;
  padding: 70px 0;
}

.product-error h1 {
  margin: 0 0 12px;
}

.product-detail {
  width: min(1240px, calc(100% - 40px));
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(38px, 7vw, 94px);
  align-items: start;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 86px) 0;
}

.product-media-column,
.product-buy-column {
  min-width: 0;
}

.product-main-image {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  border-radius: 7px;
  background: #e8efed;
}

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

.product-gallery {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

.product-gallery button {
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 4px;
  background: #e7eeec;
  cursor: pointer;
}

.product-gallery button:hover,
.product-gallery button:focus-visible {
  border-color: #007879;
}

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

.back-link {
  display: inline-block;
  margin-bottom: 22px;
  color: #4f6a6d;
  font-size: 14px;
  font-weight: 800;
}

.back-link::before {
  content: "←";
  margin-right: 8px;
}

.product-status {
  position: static;
  padding: 6px 9px;
  background: #e5f2ef;
}

.product-buy-column h1 {
  margin: 12px 0 12px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

.product-subtitle {
  margin: 0;
  color: #587174;
  font-size: 18px;
  line-height: 1.55;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.product-meta span {
  padding: 7px 9px;
  border: 1px solid #cbdad6;
  border-radius: 4px;
  background: #fff;
  color: #3e5c60;
  font-size: 13px;
  font-weight: 800;
}

.product-price {
  margin: 28px 0 3px;
  font-size: 30px;
  font-weight: 900;
}

.product-stock {
  margin: 0;
  color: #587174;
  font-size: 14px;
  font-weight: 800;
}

.product-configurator {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #cfdbd8;
}

.product-configurator label {
  display: grid;
  gap: 9px;
  color: #2b5156;
  font-weight: 900;
}

.product-configurator label > small {
  color: #687f82;
  font-weight: 600;
}

.number-control {
  width: 168px;
  height: 48px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  overflow: hidden;
  border: 1px solid #bed0cc;
  border-radius: 5px;
  background: #fff;
}

.number-control button {
  height: 100%;
  min-height: 0;
  border: 0;
  background: #eef4f2;
  color: #12494d;
  font-size: 22px;
  cursor: pointer;
}

.number-control input {
  height: 100%;
  min-height: 0;
  width: 100%;
  min-width: 0;
  border: 0;
  border-inline: 1px solid #d2dfdc;
  border-radius: 0;
  padding: 0;
  text-align: center;
  font-weight: 900;
  appearance: textfield;
}

.number-control input::-webkit-inner-spin-button,
.number-control input::-webkit-outer-spin-button {
  appearance: none;
}

.product-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid #e1e8e6;
}

.product-total-row strong {
  font-size: 24px;
}

.product-add-button {
  width: 100%;
}

.product-order-note {
  margin: 14px 0 0;
  color: #657b7e;
  font-size: 13px;
  line-height: 1.5;
}

.product-description-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(40px, 8vw, 100px);
  border-top: 1px solid #cfdbd8;
  background: #fff;
}

.product-description-section h2 {
  margin-top: 0;
}

.product-description-section p,
.product-contents-list li {
  color: #5d7477;
  line-height: 1.7;
}

.product-contents-list ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 24px;
  padding: 0;
  list-style: none;
}

.product-contents-list li {
  position: relative;
  padding-left: 26px;
}

.product-contents-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #008077;
  font-weight: 900;
}

.checkout-main {
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(36px, 5vw, 70px) 0 90px;
}

.checkout-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 42px;
}

.checkout-title-row h1 {
  margin: 5px 0 10px;
  font-size: clamp(34px, 5vw, 54px);
  letter-spacing: 0;
}

.checkout-title-row p:last-child {
  max-width: 680px;
  margin: 0;
  color: #61787b;
  line-height: 1.55;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 350px;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}

.checkout-workflow {
  min-width: 0;
}

.checkout-band {
  padding: 30px 0 34px;
  border-top: 1px solid #cbd8d5;
}

.checkout-band-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.checkout-band-heading > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0c7474;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.checkout-band-heading h2 {
  margin: 0;
  font-size: 23px;
}

.cart-items {
  display: grid;
}

.cart-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 126px 105px;
  gap: 16px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid #e0e7e5;
}

.cart-item > img {
  width: 86px;
  aspect-ratio: 1;
  display: block;
  border-radius: 5px;
  object-fit: cover;
  background: #e8efed;
}

.cart-item-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.cart-item-copy span,
.cart-item-copy small {
  color: #637a7d;
}

.cart-item-quantity {
  height: 38px;
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #c7d6d2;
  border-radius: 4px;
  background: #fff;
}

.cart-item-quantity button {
  height: 100%;
  border: 0;
  background: #eef4f2;
  color: #164c50;
  font-size: 18px;
  cursor: pointer;
}

.cart-item-quantity span {
  min-width: 0;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.cart-line-total {
  text-align: right;
  white-space: nowrap;
}

.cart-remove {
  grid-column: 2 / -1;
  justify-self: start;
  border: 0;
  background: transparent;
  color: #a7352e;
  padding: 0;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.multi-checkout-form {
  min-width: 0;
}

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

.checkout-field-grid label {
  min-width: 0;
  display: grid;
  gap: 7px;
  color: #31565a;
  font-size: 13px;
  font-weight: 900;
}

.checkout-field-grid input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #bfd0cc;
  border-radius: 5px;
  background: #fff;
  color: #143e43;
  padding: 10px 12px;
  outline: none;
}

.checkout-field-grid input:focus {
  border-color: #007879;
  box-shadow: 0 0 0 3px rgba(0, 120, 121, 0.12);
}

.checkout-field-grid .wide-field {
  grid-column: 1 / -1;
}

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

.checkout-options .radio-card {
  min-height: 86px;
  background: #fff;
}

.checkout-consent {
  margin-top: 26px;
}

.checkout-field-grid label.field-invalid,
.checkout-consent.field-invalid {
  color: #872f2a;
}

.checkout-field-grid input[aria-invalid="true"] {
  border-color: #b94038;
  box-shadow: 0 0 0 3px rgba(185, 64, 56, 0.12);
}

.checkout-consent.field-invalid {
  padding: 12px;
  border: 1px solid #d9a29d;
  border-radius: 5px;
  background: #fff5f4;
}

.checkout-consent input[aria-invalid="true"] {
  outline: 2px solid #b94038;
  outline-offset: 2px;
}

.foxpost-picker.has-error {
  border-color: #c34a42;
  box-shadow: 0 0 0 3px rgba(195, 74, 66, 0.1);
}

.checkout-form-status {
  margin: 16px 0 0;
  padding: 12px 14px;
  border: 1px solid #d9a29d;
  border-left: 4px solid #b94038;
  border-radius: 5px;
  background: #fff5f4;
  color: #7d2d28;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.45;
}

.checkout-form-status[hidden] {
  display: none;
}

.checkout-submit {
  width: 100%;
  min-height: 52px;
  margin-top: 20px;
}

.checkout-submit-note {
  margin: 9px 0 0;
  color: #6a8083;
  font-size: 12px;
  text-align: center;
}

.website-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.checkout-summary {
  position: sticky;
  top: 112px;
  padding: 24px;
  border: 1px solid #d1ddda;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(18, 57, 61, 0.08);
}

.checkout-summary h2 {
  margin: 4px 0 18px;
  font-size: 25px;
}

.summary-lines {
  display: grid;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid #dfe7e5;
}

.summary-lines > div,
.checkout-summary dl > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
}

.summary-lines span {
  min-width: 0;
}

.summary-lines small {
  display: block;
  color: #718588;
}

.summary-lines strong {
  white-space: nowrap;
}

.checkout-coupon {
  display: grid;
  gap: 9px;
  padding: 18px 0;
  border-bottom: 1px solid #dfe7e5;
}

.checkout-coupon > label {
  color: #31565a;
  font-size: 13px;
  font-weight: 900;
}

.checkout-coupon-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.checkout-coupon-entry input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  border: 1px solid #bfd0cc;
  border-radius: 5px;
  background: #fff;
  color: #143e43;
  padding: 9px 11px;
  text-transform: uppercase;
  outline: none;
}

.checkout-coupon-entry input:focus {
  border-color: #007879;
  box-shadow: 0 0 0 3px rgba(0, 120, 121, 0.12);
}

.checkout-coupon-applied {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  border: 1px solid #a9d4c3;
  border-radius: 5px;
  background: #eaf7f0;
}

.checkout-coupon-applied[hidden] {
  display: none;
}

.checkout-coupon-applied > span {
  display: grid;
  gap: 2px;
}

.checkout-coupon-applied small {
  color: #356d58;
  font-size: 12px;
}

.checkout-coupon-status {
  min-height: 18px;
  margin: 0;
  color: #60777a;
  font-size: 12px;
  line-height: 1.45;
}

.checkout-coupon-status[data-tone="good"],
.checkout-summary .summary-discount dt,
.checkout-summary .summary-discount dd {
  color: #176f55;
}

.checkout-coupon-status[data-tone="warn"] {
  color: #9b302a;
  font-weight: 750;
}

.checkout-summary dl {
  display: grid;
  gap: 13px;
  margin: 20px 0;
}

.checkout-summary dt {
  color: #60777a;
}

.checkout-summary dd {
  margin: 0;
  font-weight: 900;
  white-space: nowrap;
}

.checkout-summary .summary-total {
  margin-top: 5px;
  padding-top: 16px;
  border-top: 2px solid #173f43;
  font-size: 20px;
}

.checkout-summary .summary-note {
  margin: 10px 0 0;
  padding: 12px;
  background: #edf7f5;
  color: #426368;
  font-size: 12px;
  line-height: 1.5;
}

.checkout-empty {
  min-height: 420px;
  display: grid;
  align-content: center;
  justify-items: start;
  border-top: 1px solid #cbd8d5;
}

.checkout-empty h2 {
  margin: 0 0 8px;
  font-size: 30px;
}

.checkout-empty p {
  max-width: 580px;
  margin: 0 0 22px;
  color: #60777a;
}

.checkout-confirmation {
  margin: 20px 0;
}

.confirmation-delivery-info {
  max-width: 680px;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-left: 4px solid #e7a91f;
  background: #fff7df;
  color: #4c4b3f;
  font-size: 14px;
  line-height: 1.55;
}

.confirmation-delivery-info[hidden] {
  display: none;
}

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

  .catalog-promise-band {
    grid-template-columns: 1fr;
  }

  .catalog-promise-band > div {
    min-height: 130px;
  }

  .catalog-promise-band > div + div {
    border-top: 1px solid #cfdbd8;
    border-left: 0;
  }

  .product-detail {
    gap: 34px;
  }

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

  .checkout-summary {
    position: static;
    grid-row: 1;
  }
}

@media (max-width: 720px) {
  .shop-heading-row,
  .checkout-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .catalog-hero {
    min-height: 500px;
  }

  .catalog-hero-copy {
    width: min(100% - 28px, 1180px);
    padding-bottom: 48px;
  }

  .catalog-hero-copy h1 {
    font-size: 48px;
  }

  .catalog-hero-copy p:last-child {
    font-size: 16px;
  }

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

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

  .product-detail {
    width: min(100% - 28px, 1240px);
    padding: 28px 0 52px;
  }

  .product-buy-column h1 {
    font-size: 38px;
  }

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

  .product-description-section {
    gap: 38px;
  }

  .checkout-main {
    width: min(100% - 28px, 1240px);
    padding-top: 28px;
  }

  .checkout-title-row {
    margin-bottom: 28px;
  }

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

  .cart-item > img {
    width: 70px;
  }

  .cart-item-quantity {
    grid-column: 2;
    width: 126px;
  }

  .cart-line-total {
    grid-column: 2;
    text-align: left;
  }

  .cart-remove {
    grid-column: 2;
  }

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

  .checkout-field-grid .wide-field {
    grid-column: auto;
  }

  .checkout-summary {
    padding: 20px;
  }

  .checkout-coupon-entry {
    grid-template-columns: 1fr;
  }

  .checkout-coupon-entry .button {
    width: 100%;
  }

  .foxpost-panel-head,
  .foxpost-smart-search {
    min-width: 0;
  }

  .foxpost-location,
  .foxpost-direct {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .shop-product-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .shop-product-actions .button {
    width: 100%;
  }

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

  .checkout-summary .summary-total {
    font-size: 18px;
  }
}

/* Brand homepage */
.home-hero {
  position: relative;
  min-height: 650px;
  height: clamp(650px, 56.25vw, 860px);
  max-height: 860px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 132px 56px 68px;
  color: #fff;
  background: #173f43;
}

.home-hero-image,
.home-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero-image {
  object-fit: contain;
  object-position: right center;
  background: #173f43;
}

.home-hero-shade {
  background: linear-gradient(90deg, rgba(10, 43, 47, 0.92) 0%, rgba(10, 43, 47, 0.78) 38%, rgba(10, 43, 47, 0.26) 68%, rgba(10, 43, 47, 0.08) 100%);
}

.home-hero-content {
  position: relative;
  z-index: 2;
  width: min(690px, 100%);
}

.home-hero .eyebrow {
  color: #ffe6a6;
}

.home-hero h1 {
  max-width: 680px;
  font-size: 76px;
  line-height: 0.98;
  letter-spacing: 0;
}

.home-hero-age {
  display: inline-block;
  white-space: nowrap;
}

.home-hero-content > p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 21px;
  line-height: 1.55;
}

.home-hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  list-style: none;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 800;
}

.home-hero-notes li {
  position: relative;
  padding-left: 18px;
}

.home-hero-notes li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ffe6a6;
}

.home-page .section-heading h2 {
  font-size: 46px;
  line-height: 1.08;
}

.home-how-section,
.home-faq-section {
  background: #fff;
}

.home-step-grid,
.home-option-grid {
  width: min(1180px, 100%);
  display: grid;
  margin: 0 auto;
}

.home-step-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home-step-grid article {
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 13px;
  padding: 26px;
  border: 1px solid #d4dfdc;
  border-radius: 7px;
  background: #f8fbfa;
}

.home-step-grid p,
.home-option-grid p,
.home-about-copy p {
  margin: 0;
  color: #5d7477;
  line-height: 1.65;
}

.home-selection-section {
  background: #f2f7f5;
}

.home-selection-section .section-heading {
  width: min(1180px, 100%);
  margin-bottom: 0;
  text-align: left;
}

.home-selection-section .section-heading p:not(.eyebrow) {
  margin-left: 0;
}

.home-product-grid {
  width: min(1180px, 100%);
  margin-right: auto;
  margin-left: auto;
}

.home-options-section {
  background: #163f43;
  color: #fff;
}

.home-options-section .section-heading h2,
.home-options-section .section-heading p:not(.eyebrow) {
  color: #fff;
}

.home-options-section .section-heading p:not(.eyebrow) {
  opacity: 0.78;
}

.home-options-section .eyebrow {
  color: #ffd36d;
}

.home-option-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.home-option-grid article {
  min-width: 0;
  padding: 24px 0 0;
  border-top: 4px solid #f4b63e;
}

.home-option-grid article:nth-child(2) {
  border-color: #6bb7d6;
}

.home-option-grid article:nth-child(3) {
  border-color: #ff8b7e;
}

.home-option-grid article:nth-child(4) {
  border-color: #74c59b;
}

.home-option-grid span {
  display: block;
  margin-bottom: 12px;
  color: #ffd36d;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-option-grid h3 {
  min-height: 52px;
  margin-bottom: 12px;
}

.home-option-grid p {
  color: rgba(255, 255, 255, 0.74);
}

.home-about-section {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 64px;
  align-items: center;
  background: #fffaf2;
}

.home-about-media,
.home-about-copy {
  min-width: 0;
}

.home-about-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-about-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 7px;
  box-shadow: 0 14px 30px rgba(18, 57, 61, 0.1);
}

.home-about-media img:last-child {
  margin-top: 36px;
}

.home-about-copy h2 {
  margin-bottom: 24px;
  font-size: 44px;
  line-height: 1.08;
}

.text-link {
  display: inline-flex;
  margin-top: 24px;
  color: #006d6f;
  font-weight: 900;
  text-underline-offset: 4px;
}

/* Long-form Advent product page */
.advent-buy-section {
  background: #eef6f4;
}

.advent-buy-layout {
  width: min(1080px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 42px;
  align-items: center;
  margin: 0 auto;
}

.advent-buy-photo {
  margin: 0;
  overflow: hidden;
  border-radius: 7px;
  box-shadow: 0 22px 48px rgba(18, 57, 61, 0.16);
}

.advent-buy-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.advent-buy-panel {
  min-width: 0;
  padding: 30px;
  border: 1px solid #cfdbd8;
  border-radius: 7px;
  background: #fff;
  box-shadow: 0 16px 36px rgba(18, 57, 61, 0.1);
}

.advent-buy-panel h3 {
  margin: 14px 0 8px;
  font-size: 30px;
}

.advent-buy-subtitle {
  margin: 0;
  color: #5d7477;
  line-height: 1.55;
}

.advent-buy-price {
  margin: 26px 0 4px;
  font-size: 32px;
  font-weight: 950;
}

.advent-buy-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding-top: 8px;
}

.advent-product-error {
  width: min(1080px, 100%);
  margin: 20px auto 0;
  padding: 14px 16px;
  border-left: 4px solid #e33123;
  background: #fff1ef;
  color: #812b27;
  font-weight: 800;
}

.advent-product-error[hidden] {
  display: none;
}

@media (max-width: 980px) {
  .home-hero {
    padding-right: 36px;
    padding-left: 36px;
  }

  .home-hero-image {
    object-fit: cover;
    object-position: 61% center;
  }

  .home-hero h1 {
    font-size: 62px;
  }

  .home-option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 46px;
  }

  .home-about-section,
  .advent-buy-layout {
    grid-template-columns: 1fr;
  }

  .home-about-section {
    gap: 44px;
  }

  .home-about-media {
    width: min(680px, 100%);
    margin: 0 auto;
  }

  .advent-buy-photo {
    width: min(680px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .home-hero {
    min-height: 700px;
    height: calc(100vh - 12px);
    max-height: 780px;
    align-items: end;
    padding: 142px 20px 84px;
  }

  .home-hero-image {
    object-position: 61% center;
  }

  .home-hero-shade {
    background: rgba(9, 42, 46, 0.76);
  }

  .home-hero h1 {
    font-size: 46px;
    line-height: 1;
  }

  .home-hero-content > p:not(.eyebrow) {
    font-size: 17px;
  }

  .home-hero-notes {
    display: grid;
    gap: 8px;
    font-size: 13px;
  }

  .home-page .section-heading h2,
  .home-about-copy h2 {
    font-size: 34px;
  }

  .home-step-grid,
  .home-option-grid {
    grid-template-columns: 1fr;
  }

  .home-step-grid article {
    min-height: 0;
  }

  .home-option-grid {
    gap: 34px;
  }

  .home-option-grid h3 {
    min-height: 0;
  }

  .home-about-section {
    gap: 34px;
  }

  .home-about-media img:last-child {
    margin-top: 20px;
  }

  .advent-buy-layout {
    gap: 24px;
  }

  .advent-buy-panel {
    padding: 22px;
  }

  .advent-buy-panel h3 {
    font-size: 26px;
  }
}

@media (max-width: 420px) {
  .home-hero h1 {
    font-size: 36px;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }

  .home-hero .hero-actions .button {
    width: 100%;
  }

  .home-about-media {
    grid-template-columns: 1fr;
  }

  .home-about-media img:last-child {
    display: none;
  }

  .advent-buy-links {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 340px) {
  .home-hero h1 {
    font-size: 34px;
  }

  .creation-tile,
  .creation-tile img {
    height: 205px;
    min-height: 205px;
  }

  .creation-label strong {
    font-size: 12px;
  }
}
