:root {
  --cream: #fffaf1;
  --surface: #ffffff;
  --surface-soft: #fff2f6;
  --ink: #271c2c;
  --muted: #746a78;
  --pink: #f65f8f;
  --pink-dark: #d83d73;
  --pink-soft: #ffdce8;
  --yellow: #ffd75d;
  --yellow-soft: #fff1af;
  --blue: #51b9db;
  --blue-soft: #d9f4ff;
  --green: #2f9a6b;
  --border: #eadfe5;
  --shadow: 0 18px 50px rgba(67, 35, 61, 0.12);
  --radius-large: 28px;
  --radius-medium: 18px;
  --radius-small: 12px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 7%, rgba(255, 215, 93, 0.2), transparent 22rem),
    radial-gradient(circle at 92% 24%, rgba(81, 185, 219, 0.12), transparent 24rem),
    var(--cream);
  color: var(--ink);
  font-family: Tahoma, Arial, sans-serif;
  line-height: 1.7;
  padding-bottom: 180px;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

[hidden] {
  display: none !important;
}

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

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  inset-block-start: 8px;
  inset-inline-start: 8px;
  z-index: 1000;
  transform: translateY(-150%);
  border-radius: 10px;
  background: var(--ink);
  color: white;
  padding: 10px 16px;
  text-decoration: none;
}

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

.announcement {
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px 9px;
  padding: 8px 16px;
  background: linear-gradient(90deg, #271c2c, #4b243d, #271c2c);
  color: white;
  font-size: 0.82rem;
  font-weight: 900;
  text-align: center;
}

.announcement > span:not(.announcement-sale):not(:last-child)::after {
  margin-inline-start: 9px;
  color: var(--pink);
  content: "|";
}

.announcement-sale {
  border-radius: 999px;
  background: var(--yellow);
  color: var(--ink);
  padding: 1px 9px;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.site-header {
  width: min(1220px, calc(100% - 20px));
  min-height: 72px;
  margin: 8px auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(234, 223, 229, 0.75);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  padding: 4px 9px 4px 12px;
  box-shadow: 0 7px 22px rgba(67, 35, 61, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-logo {
  width: clamp(58px, 7vw, 72px);
  height: clamp(58px, 7vw, 72px);
  object-fit: contain;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.92);
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50% 42% 54% 46%;
  background: var(--yellow);
  box-shadow: 3px 4px 0 var(--ink);
  font-size: 1.3rem;
  font-weight: 900;
}

.header-cart {
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  padding: 7px 9px 7px 16px;
  font-weight: 800;
}

.header-cart span {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  margin-inline-start: 6px;
  border-radius: 50%;
  background: var(--pink);
  color: white;
}

.hero {
  position: relative;
  width: min(1536px, calc(100% - 32px));
  margin: 4px auto 64px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--pink-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

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

h1,
h2,
h3 {
  line-height: 1.35;
}

.campaign-art-link {
  display: block;
  width: 100%;
  color: inherit;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.campaign-art-link picture,
.campaign-art-link img {
  display: block;
  width: 100%;
}

.campaign-art-link img {
  height: auto;
  object-fit: contain;
}

.campaign-art-link:focus-visible {
  outline: 4px solid var(--blue);
  outline-offset: 5px;
  box-shadow: 0 0 0 9px rgba(81, 185, 219, 0.2);
}

.hero-art-link {
  border-radius: 22px;
  box-shadow: 0 18px 46px rgba(67, 35, 61, 0.14);
}

@media (hover: hover) and (pointer: fine) {
  .campaign-art-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 52px rgba(67, 35, 61, 0.18);
  }
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 11px 22px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.button-primary {
  background: var(--pink);
  color: white;
  box-shadow: 0 9px 24px rgba(216, 61, 115, 0.25);
}

.button-primary:hover:not(:disabled) {
  background: var(--pink-dark);
}

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

.section,
.benefits {
  width: min(1220px, calc(100% - 28px));
  margin-inline: auto;
}

.section {
  margin-block: 72px;
}

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

.section-heading.compact {
  margin-bottom: 18px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.65rem, 5vw, 2.6rem);
  letter-spacing: -0.035em;
}

.section-heading .eyebrow {
  width: fit-content;
  border-radius: 999px;
  background: var(--pink-soft);
  padding: 3px 10px;
}

.section-heading > p {
  max-width: 430px;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.tier-card {
  position: relative;
  min-height: 152px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: var(--radius-medium);
  background: var(--surface);
  color: var(--ink);
  padding: 16px 14px;
  text-align: start;
  box-shadow: 0 8px 25px rgba(73, 46, 69, 0.07);
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.tier-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 13px 28px rgba(73, 46, 69, 0.11);
}

.tier-card.is-selected {
  border-color: var(--pink);
  background: var(--surface-soft);
  box-shadow: 0 11px 30px rgba(246, 95, 143, 0.16);
}

.tier-card.is-featured::after {
  position: absolute;
  width: 52px;
  height: 52px;
  inset: -24px auto auto -20px;
  border-radius: 50%;
  background: var(--yellow);
  content: "";
}

.tier-label {
  color: var(--pink-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.tier-quantity {
  display: block;
  margin-top: 5px;
  font-size: 1.2rem;
  font-weight: 900;
}

.tier-price {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 5px;
}

.tier-price strong {
  font-size: clamp(1.45rem, 5.5vw, 2rem);
  line-height: 1;
}

.tier-price small {
  color: var(--muted);
  font-size: 0.68rem;
}

.tier-saving {
  min-height: 25px;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  border-radius: 999px;
  background: var(--yellow-soft);
  color: #695000;
  padding: 3px 8px;
  font-size: 0.65rem;
  font-weight: 900;
  line-height: 1.35;
}

.inline-message {
  min-height: 28px;
  margin: 12px 0 0;
  color: var(--pink-dark);
  font-weight: 800;
}

.benefits {
  border-radius: var(--radius-large);
  background: var(--ink);
  color: white;
  padding: clamp(24px, 5vw, 50px);
}

.benefits .eyebrow {
  background: var(--yellow);
  color: var(--ink);
}

.benefit-grid {
  margin: 0;
  display: grid;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.benefit-grid li {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-small);
  background: rgba(255, 255, 255, 0.06);
  padding: 12px 14px;
  font-weight: 800;
}

.benefit-grid span {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
}

.filters {
  margin: 0 -14px 24px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 14px 10px;
  scrollbar-width: thin;
}

.filter-button {
  min-height: 46px;
  flex: 0 0 auto;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  padding: 8px 17px;
  font-size: 0.88rem;
  font-weight: 800;
}

.filter-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: white;
}

.catalog-message {
  min-height: 0;
}

.catalog-message:not(:empty) {
  margin-bottom: 18px;
  border-radius: var(--radius-small);
  background: var(--yellow-soft);
  padding: 14px 16px;
  color: #5b4600;
  font-weight: 800;
}

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

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  background: var(--surface);
  box-shadow: 0 8px 25px rgba(73, 46, 69, 0.07);
}

.image-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(145deg, var(--pink-soft), var(--blue-soft));
}

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

.image-placeholder {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  padding: 20px;
  color: #605263;
  font-size: 0.8rem;
  font-weight: 900;
  text-align: center;
}

.image-frame.has-error .image-placeholder {
  display: grid;
}

.image-frame.has-error img {
  display: none;
}

.product-card-body {
  padding: 12px;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--pink);
  color: white;
  padding: 4px 9px;
  box-shadow: 0 4px 12px rgba(216, 61, 115, 0.18);
  font-size: 0.6rem;
  font-weight: 900;
  line-height: 1.4;
}

.product-card h3 {
  min-height: 48px;
  margin: 8px 0 5px;
  font-size: clamp(0.84rem, 3.5vw, 1.03rem);
}

.product-meta {
  min-height: 24px;
  margin: 0 0 11px;
  color: var(--muted);
  font-size: 0.7rem;
}

.product-card .button {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--ink);
  background: white;
  color: var(--ink);
  padding-inline: 9px;
  font-size: 0.7rem;
}

.product-card .button:hover:not(:disabled) {
  background: var(--ink);
  color: white;
}

.campaign-cta-section {
  display: grid;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.82);
  padding: clamp(10px, 2vw, 20px);
  box-shadow: 0 14px 38px rgba(67, 35, 61, 0.08);
}

.final-cta-art-link {
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(67, 35, 61, 0.1);
}

.campaign-cta-copy {
  padding: clamp(8px, 2vw, 18px);
}

.campaign-cta-copy h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
}

.campaign-cta-copy p {
  margin: 10px 0 18px;
  color: var(--muted);
}

.checkout-section {
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--surface);
  padding: clamp(20px, 5vw, 52px);
  box-shadow: var(--shadow);
}

.checkout-layout {
  display: grid;
  gap: 24px;
}

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

.field {
  min-width: 0;
}

.field label,
.order-result label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.84rem;
  font-weight: 900;
}

.optional {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 500;
}

.field input,
.field select,
.field textarea,
.order-result textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid #d8ccd3;
  border-radius: 13px;
  background: #fffdfa;
  color: var(--ink);
  padding: 10px 12px;
}

.field textarea,
.order-result textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.order-result textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(81, 185, 219, 0.14);
}

.checkout-readiness {
  min-height: 45px;
  border-radius: var(--radius-small);
  background: var(--surface-soft);
  padding: 10px 12px;
  color: var(--pink-dark);
  font-size: 0.8rem;
  font-weight: 800;
}

.checkout-readiness.is-ready {
  background: #e3f7ed;
  color: #18744c;
}

.submit-button {
  width: 100%;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}

.order-result {
  border-radius: var(--radius-medium);
  background: var(--blue-soft);
  padding: 14px;
}

.order-result p {
  margin: 0 0 10px;
  color: #195d73;
  font-weight: 900;
}

.order-result textarea {
  background: white;
  direction: rtl;
}

.order-summary {
  align-self: start;
  border-radius: var(--radius-medium);
  background: var(--cream);
  padding: 20px;
}

.order-summary h3 {
  margin: 0 0 16px;
}

.summary-items {
  display: grid;
  gap: 9px;
}

.summary-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.summary-item {
  border-bottom: 1px dashed #d8ccd3;
  padding-bottom: 9px;
  font-size: 0.75rem;
}

.summary-item strong,
.summary-item span {
  display: block;
}

.summary-item span {
  color: var(--muted);
}

.totals-list {
  margin: 20px 0 0;
}

.totals-list > div {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-block: 8px;
}

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

.totals-list dd {
  font-weight: 900;
  text-align: end;
}

.totals-list .final-total {
  color: var(--pink-dark);
  font-size: 1.05rem;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  background: var(--surface);
  padding: 0 16px;
}

.faq-list summary {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  color: var(--pink-dark);
  font-size: 1.4rem;
}

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

.faq-list p {
  margin: 0;
  border-top: 1px solid var(--border);
  padding: 12px 0 16px;
  color: var(--muted);
}

.site-footer {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: var(--ink);
  color: white;
  padding: 32px 20px 82px;
  text-align: center;
}

.site-footer span {
  color: #cdbfce;
  font-size: 0.8rem;
}

.bundle-progress {
  position: fixed;
  z-index: 60;
  inset: auto 8px 8px;
  min-height: 130px;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 12px;
  border: 1px solid rgba(255, 215, 93, 0.42);
  border-radius: 22px;
  background: rgba(39, 28, 44, 0.96);
  color: white;
  padding: 13px;
  box-shadow: 0 16px 55px rgba(30, 17, 30, 0.3);
  backdrop-filter: blur(14px);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
}

.bundle-progress.is-hero-safe {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.progress-copy strong,
.progress-copy span {
  display: block;
}

.progress-copy strong {
  font-size: 0.88rem;
}

.progress-copy span {
  color: #d8cbd9;
  font-size: 0.68rem;
}

.progress-track {
  grid-column: 1 / -1;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.progress-track span {
  width: 0;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pink), var(--yellow));
  transition: width 220ms ease;
}

.progress-actions {
  display: contents;
}

.progress-actions > span {
  align-self: center;
}

.progress-actions small,
.progress-actions strong {
  display: block;
}

.progress-actions small {
  color: #d8cbd9;
  font-size: 0.62rem;
}

.progress-actions strong {
  font-size: 1.05rem;
}

.progress-actions .button {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 8px 16px;
  font-size: 0.78rem;
}

dialog {
  color: var(--ink);
}

dialog::backdrop {
  background: rgba(30, 20, 30, 0.58);
  backdrop-filter: blur(3px);
}

.selection-dialog {
  width: min(620px, calc(100% - 22px));
  max-height: calc(100dvh - 22px);
  overflow: auto;
  border: 0;
  border-radius: 26px;
  background: var(--surface);
  padding: 18px;
  box-shadow: var(--shadow);
}

.selection-dialog[open] {
  animation: pop-in 170ms ease-out;
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
}

.icon-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: white;
  color: var(--ink);
  font-size: 1.5rem;
}

.dialog-close {
  position: sticky;
  z-index: 2;
  inset: 0 0 auto auto;
  margin-inline-start: auto;
}

.selection-layout {
  display: grid;
  gap: 18px;
}

.selection-image {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-medium);
}

.selection-details h2 {
  margin: 0 0 6px;
  font-size: 1.3rem;
}

.selection-details > p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.8rem;
}

.selection-progress {
  margin-bottom: 16px;
  border-radius: var(--radius-small);
  background: var(--yellow-soft);
  border-inline-start: 4px solid var(--pink);
  padding: 10px 12px;
  font-size: 0.78rem;
  font-weight: 900;
}

.selection-fields {
  display: grid;
  gap: 12px;
}

.selection-error {
  min-height: 26px;
  margin: 8px 0;
  color: var(--pink-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.selection-details .button {
  width: 100%;
}

.cart-drawer {
  width: min(470px, 100%);
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0 0 0 auto;
  overflow: hidden;
  border: 0;
  border-radius: 24px 0 0 24px;
  background: var(--surface);
  padding: 0;
}

.cart-drawer[open] {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  animation: drawer-in 180ms ease-out;
}

@keyframes drawer-in {
  from {
    transform: translateX(-100%);
  }
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding: 18px;
}

.drawer-header h2 {
  margin: 0;
}

.drawer-progress {
  background: var(--surface-soft);
  border-inline-start: 4px solid var(--pink);
  padding: 10px 18px;
  color: var(--pink-dark);
  font-size: 0.8rem;
  font-weight: 900;
}

.cart-items {
  overflow-y: auto;
  padding: 14px 18px;
}

.cart-empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  color: var(--muted);
  text-align: center;
}

.cart-line {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-block: 12px;
}

.cart-line .image-frame {
  aspect-ratio: 1;
  border-radius: var(--radius-small);
}

.cart-line h3 {
  margin: 0;
  font-size: 0.86rem;
}

.cart-line-meta {
  margin: 3px 0 8px;
  color: var(--muted);
  font-size: 0.7rem;
}

.cart-line-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.quantity-control {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: white;
}

.quantity-control button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-weight: 900;
}

.quantity-control span {
  min-width: 24px;
  text-align: center;
  font-weight: 900;
}

.remove-button {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: var(--pink-dark);
  font-size: 0.75rem;
  font-weight: 900;
}

.drawer-footer {
  border-top: 1px solid var(--border);
  background: white;
  padding: 14px 18px 20px;
}

.drawer-footer > div {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-footer strong {
  color: var(--pink-dark);
  font-size: 1.2rem;
}

.drawer-footer .button {
  width: 100%;
}

.toast {
  position: fixed;
  z-index: 100;
  inset: auto 50% 166px auto;
  max-width: calc(100% - 28px);
  transform: translate(50%, 18px);
  border-radius: 999px;
  background: var(--green);
  color: white;
  padding: 10px 18px;
  font-size: 0.78rem;
  font-weight: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

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

.not-found-page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 20px;
}

.not-found-card {
  width: min(520px, 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: white;
  padding: clamp(28px, 8vw, 60px);
  box-shadow: var(--shadow);
  text-align: center;
}

.not-found-card .brand-mark {
  margin: 0 auto 24px;
}

.not-found-card h1 {
  margin: 0;
}

.not-found-card p:not(.eyebrow) {
  color: var(--muted);
}

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

  .product-card h3 {
    min-height: auto;
  }

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

@media (max-width: 639px) {
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading > p {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .hero {
    width: calc(100% - 12px);
    margin-top: 2px;
    margin-bottom: 24px;
  }

  .hero-art-link {
    border-radius: 10px;
    box-shadow: 0 8px 22px rgba(67, 35, 61, 0.1);
  }

  .campaign-cta-section {
    border-radius: 18px;
    padding: 8px;
  }

  .final-cta-art-link {
    border-radius: 10px;
  }
}

@media (min-width: 640px) {
  body {
    padding-bottom: 112px;
  }

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

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

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

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

  .selection-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
  }

  .selection-image {
    aspect-ratio: 4 / 5;
  }

  .bundle-progress {
    position: fixed;
    width: min(920px, calc(100% - 28px));
    min-height: 82px;
    inset: auto 50% 12px auto;
    margin: 0;
    grid-template-columns: minmax(220px, 1.3fr) minmax(170px, 1fr) auto;
    align-items: center;
    transform: translateX(50%);
    padding: 12px 16px;
  }

  .progress-track {
    grid-column: auto;
  }

  .progress-actions {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .progress-actions .button {
    min-width: 130px;
  }

  .toast {
    inset-block-end: 112px;
  }
}

@media (min-width: 860px) {
  .benefit-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .benefit-grid li {
    flex-direction: column;
    align-items: flex-start;
  }

  .checkout-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
    align-items: start;
  }

  .order-summary {
    position: sticky;
    inset-block-start: 60px;
  }

  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .campaign-cta-section {
    grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.65fr);
  }
}

@media (min-width: 1080px) {
  .tier-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Final three-stage checkout experience */

body {
  padding-bottom: calc(180px + env(safe-area-inset-bottom, 0px));
}

.tier-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  padding: 3px 8px;
  font-size: 0.64rem;
  font-weight: 900;
  line-height: 1.4;
}

.tier-card .tier-badge {
  margin-bottom: 6px;
}

.checkout-accordion {
  display: grid;
  gap: 12px;
}

.checkout-stage {
  overflow: clip;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: white;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.checkout-stage.is-open {
  border-color: rgba(246, 95, 143, 0.55);
  box-shadow: 0 12px 34px rgba(67, 35, 61, 0.09);
}

.checkout-stage.is-current {
  border-inline-start: 5px solid var(--pink);
}

.checkout-stage.is-completed:not(.is-current) {
  border-inline-start: 5px solid var(--green);
}

.checkout-stage.is-incomplete {
  border-inline-start: 5px solid #b8acb5;
}

.stage-heading {
  margin: 0;
}

.stage-toggle {
  width: 100%;
  min-height: 82px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  border: 0;
  background: white;
  color: var(--ink);
  padding: 12px 14px;
  text-align: start;
}

.stage-toggle[aria-disabled="true"] {
  cursor: not-allowed;
  background: #fcfafb;
}

.stage-number {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--yellow);
  font-weight: 900;
}

.is-completed .stage-number {
  border-color: var(--green);
  background: #dff5e9;
  color: #176543;
}

.is-incomplete .stage-number {
  border-color: #b8acb5;
  background: #f0ebee;
  color: #6f636b;
}

.stage-title-wrap,
.stage-title,
.stage-summary {
  min-width: 0;
  display: block;
}

.stage-title {
  font-size: 0.96rem;
  font-weight: 900;
}

.stage-summary {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.stage-state {
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--pink-dark);
  padding: 4px 8px;
  font-size: 0.66rem;
  font-weight: 900;
  white-space: nowrap;
}

.is-completed .stage-state {
  background: #e3f7ed;
  color: #18744c;
}

.is-incomplete .stage-state {
  background: #f0ebee;
  color: #6f636b;
}

.stage-panel {
  border-top: 1px solid var(--border);
  padding: clamp(14px, 4vw, 28px);
}

.stage-panel:not([hidden]) {
  animation: accordion-open 180ms ease-out;
}

@keyframes accordion-open {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
}

.offer-selector {
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.offer-selector legend {
  padding: 0;
  font-size: 1rem;
  font-weight: 900;
}

.offer-selector > p {
  margin: 4px 0 14px;
  color: var(--muted);
  font-size: 0.78rem;
}

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

.checkout-tier-card {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.checkout-tier-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.checkout-tier-card-body {
  min-height: 160px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 5px;
  border: 2px solid var(--border);
  border-radius: 16px;
  background: #fffdfa;
  padding: 12px;
  transition: border-color 150ms ease, background 150ms ease, box-shadow 150ms ease;
}

.checkout-tier-card input:focus-visible + .checkout-tier-card-body {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.checkout-tier-card input:checked + .checkout-tier-card-body,
.checkout-tier-card.is-selected .checkout-tier-card-body {
  border-color: var(--pink);
  background: var(--surface-soft);
  box-shadow: 0 8px 22px rgba(246, 95, 143, 0.12);
}

.checkout-tier-card .tier-price {
  width: 100%;
}

.checkout-tier-card .tier-price strong {
  font-size: 1.35rem;
}

.stage-catalog-link {
  margin-top: 8px;
}

.review-heading {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.review-heading h4 {
  margin: 0;
  font-size: 1.2rem;
}

.text-link,
.text-button {
  border: 0;
  background: transparent;
  color: var(--pink-dark);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.checkout-cart-items {
  display: grid;
  gap: 8px;
}

.checkout-cart-items .cart-line {
  grid-template-columns: 78px minmax(0, 1fr);
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 10px;
}

.cart-line-content {
  min-width: 0;
}

.line-secondary-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.edit-button,
.remove-button {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  padding: 6px 9px;
  color: var(--pink-dark);
  font-size: 0.74rem;
  font-weight: 900;
}

.edit-button {
  color: #195d73;
}

.checkout-cart-empty {
  min-height: 170px;
  display: grid;
  place-items: center;
  border: 1px dashed #d8ccd3;
  border-radius: 15px;
  background: #fffdfa;
  padding: 20px;
  text-align: center;
}

.checkout-cart-empty p {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.cart-live-status {
  min-height: 25px;
  margin: 10px 0;
  color: var(--pink-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.inline-upsell {
  min-height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #e9c747;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--yellow-soft), #fff9df);
  padding: 14px;
}

.upsell-copy,
.upsell-copy strong,
.upsell-copy small {
  display: block;
}

.upsell-kicker {
  color: #6d5600;
  font-size: 0.68rem;
  font-weight: 900;
}

.upsell-copy strong {
  margin: 3px 0;
  font-size: 0.86rem;
}

.upsell-copy small {
  color: #6d6250;
  font-size: 0.67rem;
}

.inline-upsell .button {
  min-width: 118px;
  flex: 0 0 auto;
}

.field input,
.field select,
.field textarea,
.order-result textarea {
  min-height: 52px;
}

.field [aria-invalid="true"] {
  border-color: #c73d55;
  box-shadow: 0 0 0 3px rgba(199, 61, 85, 0.1);
}

.field-error {
  min-height: 20px;
  display: block;
  margin-top: 3px;
  color: #a82d43;
  font-size: 0.7rem;
  font-weight: 800;
}

.order-summary > .eyebrow {
  margin-bottom: 2px;
}

.progress-copy span + span {
  margin-top: 1px;
}

.bundle-progress {
  inset-block-end: calc(8px + env(safe-area-inset-bottom, 0px));
}

.bundle-progress.is-hero-safe.is-checkout-obscured {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.selection-gallery {
  min-width: 0;
}

.gallery-thumbnails {
  margin-top: 8px;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  padding: 3px;
}

.gallery-thumbnail {
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--surface-soft);
  padding: 0;
}

.gallery-thumbnail.is-active {
  border-color: var(--pink);
}

.gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.selection-progress strong,
.selection-progress span {
  display: block;
}

.selection-progress span {
  margin-top: 2px;
  color: #655000;
  font-size: 0.7rem;
}

.modal-quantity-control {
  min-height: 52px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  border: 1px solid #d8ccd3;
  border-radius: 13px;
  background: #fffdfa;
}

.modal-quantity-control button,
.modal-quantity-control input {
  min-width: 0;
  min-height: 50px;
  border: 0;
  background: transparent;
  text-align: center;
  font-weight: 900;
}

.modal-quantity-control input {
  width: 100%;
  border-inline: 1px solid var(--border);
  border-radius: 0;
}

.success-dialog {
  width: min(480px, calc(100% - 24px));
  max-height: calc(100dvh - 24px);
  overflow: auto;
  border: 0;
  border-radius: 24px;
  background: white;
  padding: clamp(22px, 5vw, 36px);
  box-shadow: var(--shadow);
  text-align: center;
}

.success-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #e3f7ed;
  color: #18744c;
  font-size: 2rem;
  font-weight: 900;
}

.success-dialog h2,
.success-dialog > p {
  margin-block: 6px;
}

.success-summary {
  margin: 18px 0;
  border-radius: 14px;
  background: var(--cream);
  padding: 10px 14px;
  text-align: start;
}

.success-summary > div {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}

.success-summary > div:last-child {
  border-bottom: 0;
}

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

.success-summary dd {
  font-weight: 900;
  text-align: end;
}

.success-dialog .button {
  width: 100%;
  margin-top: 8px;
}

.success-dialog .text-button {
  min-height: 44px;
  margin-top: 8px;
}

@media (max-width: 359px) {
  .checkout-tier-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .stage-toggle {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .stage-state {
    grid-column: 2;
    width: fit-content;
  }

  .checkout-cart-items .cart-line {
    grid-template-columns: 64px minmax(0, 1fr);
  }
}

@media (max-width: 519px) {
  .inline-upsell {
    align-items: stretch;
    flex-direction: column;
  }

  .inline-upsell .button {
    width: 100%;
  }

  .cart-line-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .line-secondary-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (min-width: 640px) {
  body {
    padding-bottom: calc(112px + env(safe-area-inset-bottom, 0px));
  }

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

  .bundle-progress.is-hero-safe.is-checkout-obscured {
    transform: translate(50%, 12px);
  }
}

@media (min-width: 980px) {
  .checkout-tier-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .checkout-tier-card-body {
    min-height: 178px;
  }
}
