@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --jta-green: #156534;
  --jta-green-dark: #0F4D27;
  --jta-green-light: #4ADE80;
  --ink: #18181B;
  --ink-soft: #27272A;
  --graphite: #52525B;
  --stone: #E4E4E0;
  --sand: #F1F1EE;
  --background: #FAFAF9;
  --surface: #FFFFFF;
  --input-border: #D4D4D8;
  --on-dark-muted: #A1A1AA;
  --on-dark-text: #D4D4D8;
  --disabled-text: #71717A;
  --disabled-surface: #F4F4F5;
  --image-placeholder: #EFEEE9;
  --warning: #B45309;
  --badge-neutral-bg: #F4F4F5;
  --badge-neutral-fg: #3F3F46;
  --badge-amber-bg: #FEF3C7;
  --badge-amber-fg: #92400E;
  --badge-green-bg: #DCFCE7;
  --badge-green-fg: #14532D;
  --badge-red-bg: #FEE2E2;
  --badge-red-fg: #991B1B;
  --danger-border: #FCA5A5;
  --chat-wallpaper: #EFEAE2;
  --chat-bubble: #D9FDD3;
  --chat-text: #111B21;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-control: 10px;
  --radius-card: 16px;
  --radius-pill: 999px;
  --control-height: 48px;
  --touch-target: 44px;
  --gutter: 16px;
  --container: 1312px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--background);
}

main {
  flex-grow: 1;
}

a {
  color: var(--jta-green);
}

a:hover {
  color: var(--jta-green-dark);
}

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

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

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--jta-green-light);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--surface);
  border-radius: var(--radius-control);
  z-index: 10;
}

.skip-link:focus {
  top: 8px;
  color: var(--surface);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.eyebrow--muted {
  color: var(--graphite);
}

.heading-display {
  margin: 0;
  font-size: clamp(32px, 6vw, 44px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.heading-section {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.text-muted {
  color: var(--graphite);
}

.topbar {
  display: none;
  min-height: 40px;
  padding: 8px var(--gutter);
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ink);
  color: var(--stone);
  font-size: 13px;
  font-weight: 500;
  text-align: center;
}

.topbar__dot {
  color: var(--jta-green-light);
}

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

.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "logo actions"
    "search search";
  align-items: center;
  gap: 0 8px;
  padding-top: 10px;
  padding-bottom: 16px;
}

.site-header__logo {
  grid-area: logo;
  text-decoration: none;
  color: var(--ink);
}

.site-header__search {
  grid-area: search;
  margin-top: 10px;
}

.site-header__actions {
  grid-area: actions;
  display: flex;
  align-items: center;
}

.header-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: var(--touch-target);
  min-height: var(--touch-target);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.header-link:hover {
  color: var(--jta-green);
}

.desktop-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: var(--touch-target);
  min-height: var(--touch-target);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.cart-link__count {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: var(--radius-pill);
  background: var(--jta-green);
  color: var(--surface);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.logo__mark {
  flex-shrink: 0;
  height: 30px;
  width: auto;
  aspect-ratio: 400 / 290;
  fill: currentColor;
}

.logo__wordmark {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo--on-dark {
  color: var(--surface);
}

.logo--large .logo__mark {
  height: 40px;
}

.logo--large .logo__wordmark {
  font-size: 24px;
}

.search {
  display: flex;
  align-items: center;
  gap: 10px;
  height: var(--control-height);
  padding: 0 14px;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--graphite);
}

.search:focus-within {
  border-color: var(--jta-green);
}

.search__input {
  flex-grow: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 16px;
  color: var(--ink);
  outline: none;
}

.icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon--small {
  width: 16px;
  height: 16px;
  stroke-width: 2.2;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: var(--control-height);
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-control);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.btn--primary {
  background: var(--jta-green);
  color: var(--surface);
}

.btn--primary:hover {
  background: var(--jta-green-dark);
  color: var(--surface);
}

.btn--outline {
  background: var(--surface);
  border-color: var(--ink);
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--sand);
  color: var(--ink);
}

.btn--dark {
  background: var(--ink);
  color: var(--surface);
}

.btn--dark:hover {
  background: var(--graphite);
  color: var(--surface);
}

.btn:disabled {
  background: var(--disabled-surface);
  border-color: var(--stone);
  color: var(--disabled-text);
  cursor: not-allowed;
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.badge--small {
  height: 24px;
  padding: 0 10px;
  font-size: 12px;
}

.badge--recebida {
  background: var(--badge-neutral-bg);
  color: var(--badge-neutral-fg);
}

.badge--em-confirmacao {
  background: var(--badge-amber-bg);
  color: var(--badge-amber-fg);
}

.badge--aguarda-pagamento {
  background: var(--surface);
  border-color: var(--input-border);
  color: var(--graphite);
}

.badge--em-preparacao {
  background: var(--badge-green-bg);
  color: var(--badge-green-fg);
}

.badge--entregue {
  background: var(--jta-green);
  color: var(--surface);
}

.badge--cancelada {
  background: var(--badge-red-bg);
  color: var(--badge-red-fg);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field__label {
  font-size: 14px;
  font-weight: 600;
}

.field__input {
  height: var(--control-height);
  padding: 0 14px;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-control);
  background: var(--surface);
  font-size: 16px;
  color: var(--ink);
}

.field__input:focus {
  border-color: var(--jta-green);
  outline: none;
}

.phone-input {
  display: flex;
  height: var(--control-height);
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-control);
  background: var(--surface);
  overflow: hidden;
}

.phone-input:focus-within {
  border-color: var(--jta-green);
}

.phone-input__prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: var(--sand);
  border-right: 1px solid var(--stone);
  color: var(--graphite);
  font-size: 15px;
}

.phone-input__number {
  flex-grow: 1;
  min-width: 0;
  padding: 0 14px;
  border: 0;
  background: transparent;
  font-size: 16px;
  color: var(--ink);
  outline: none;
}

.card {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--stone);
  border-radius: var(--radius-card);
}

.card--dark {
  background: var(--ink);
  border-color: var(--ink);
}

.site-footer {
  margin-top: 64px;
  background: var(--ink);
  color: var(--on-dark-text);
  font-size: 14px;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-footer__tagline {
  margin: 0;
  color: var(--on-dark-muted);
}

.site-footer__columns {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 64px;
}

.site-footer__column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer__heading {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--surface);
}

.site-footer a {
  color: var(--on-dark-text);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--surface);
}

.error-page {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  padding-top: 64px;
  padding-bottom: 64px;
}

.components {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 40px;
}

.components__section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.components__section p {
  margin: 0;
}

.components__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
}

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

.swatch {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
}

.swatch__color {
  height: 64px;
  border: 1px solid var(--stone);
  border-radius: var(--radius-control);
}

.swatch__name {
  font-weight: 600;
}

.eyebrow--on-dark {
  color: var(--jta-green-light);
}

.section-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.btn--small {
  min-height: var(--touch-target);
  padding: 0 14px;
  font-size: 14px;
}

.btn--block {
  width: 100%;
}

.btn--on-dark {
  background: transparent;
  border-color: var(--graphite);
  color: var(--surface);
}

.btn--on-dark:hover {
  border-color: var(--surface);
  color: var(--surface);
}

.hero-wrap {
  padding-top: 16px;
}

.hero {
  display: flex;
  flex-direction: column-reverse;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--ink);
  color: var(--surface);
}

.hero__text {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero__title {
  margin: 0;
  font-size: 26px;
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.hero__lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--on-dark-text);
}

.hero__actions {
  display: none;
  gap: 12px;
}

.hero__image img {
  width: 100%;
  height: 130px;
  object-fit: cover;
  object-position: 40% 50%;
}

.catalog {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.catalog__header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.catalog__titles {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.catalog__titles .text-muted {
  margin: 0;
}

.sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--graphite);
}

.sort__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.sort__select {
  min-height: var(--touch-target);
  padding: 0 10px;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
}

.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.chip:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--surface);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--stone);
  border-radius: 14px;
}

.product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  max-height: 240px;
  width: 100%;
  background: var(--image-placeholder);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-dark-muted);
}

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

.product-card__placeholder .icon {
  width: 52px;
  height: 52px;
  stroke-width: 1.2;
}

.product-card__placeholder--large .icon {
  width: 120px;
  height: 120px;
  stroke-width: 1;
}

.product-card__size {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  height: 22px;
  padding: 0 8px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.product-card__body {
  flex-grow: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-card__eyebrow {
  display: none;
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--graphite);
}

.product-card__name {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.product-card__name:hover {
  color: var(--jta-green);
}

.product-card__footer {
  margin-top: auto;
  padding-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-card__price {
  font-size: 16px;
  font-weight: 800;
}

.product-card__price.is-quote {
  font-size: 14px;
  font-weight: 700;
  color: var(--graphite);
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
}

.availability::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: var(--radius-pill);
  background: currentColor;
}

.availability--disponivel {
  color: var(--jta-green);
}

.availability--sob_encomenda {
  color: var(--warning);
}

.availability--esgotado {
  color: var(--disabled-text);
}

.availability-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.availability-pill--disponivel {
  background: var(--badge-green-bg);
  color: var(--badge-green-fg);
}

.availability-pill--sob_encomenda {
  background: var(--badge-amber-bg);
  color: var(--badge-amber-fg);
}

.availability-pill--esgotado {
  background: var(--disabled-surface);
  color: var(--disabled-text);
}

.cart-control__add {
  width: 100%;
}

.cart-control__stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--touch-target);
  border-radius: var(--radius-control);
  background: var(--jta-green);
  color: var(--surface);
}

.cart-control__stepper[hidden] {
  display: none;
}

.cart-control__stepper button,
.quantity button {
  width: var(--touch-target);
  height: var(--touch-target);
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 20px;
  cursor: pointer;
}

.cart-control__stepper span {
  font-size: 15px;
  font-weight: 700;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
}

.notice {
  margin: 0;
  padding: 12px 14px;
  border-radius: var(--radius-control);
  background: var(--badge-amber-bg);
  color: var(--badge-amber-fg);
  font-size: 14px;
}

.empty-state {
  padding: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.empty-state p {
  margin: 0;
}

.how {
  margin-top: 40px;
  padding: 28px 20px;
  border-radius: 20px;
  background: var(--sand);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.how__steps {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 20px;
}

.how__step {
  display: flex;
  gap: 16px;
}

.how__number {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--jta-green);
  color: var(--surface);
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how__title {
  margin: 0 0 4px;
  font-size: 17px;
  font-weight: 700;
}

.how__step p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.breadcrumb {
  padding-top: 16px;
  font-size: 14px;
  color: var(--graphite);
}

.breadcrumb a {
  color: var(--graphite);
}

.product-page {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 96px;
}

.product-page__main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-page__media {
  margin: 0 calc(var(--gutter) * -1);
  aspect-ratio: 1 / 1;
  max-height: 340px;
  background: var(--image-placeholder);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-dark-muted);
}

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

.product-page__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-page__info .product-card__eyebrow {
  display: block;
}

.product-page__info p {
  margin: 0;
}

.product-page__title {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.product-page__price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 4px;
}

.product-page__price {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.product-page__vat {
  font-size: 13px;
}

.product-page__buy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding: 12px 16px 20px;
  background: var(--surface);
  border-top: 1px solid var(--stone);
  display: flex;
  gap: 10px;
}

.product-page__add {
  flex-grow: 1;
  min-height: 52px;
}

.quantity {
  display: flex;
  align-items: center;
  min-height: 52px;
  border: 1.5px solid var(--input-border);
  border-radius: var(--radius-control);
}

.quantity span {
  min-width: 28px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}

.product-page__added {
  font-size: 14px;
  font-weight: 600;
  color: var(--jta-green);
}

.product-page__details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
}

.product-page__details p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.product-page__subtitle {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.specs {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid var(--sand);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  font-size: 14px;
}

.specs dt {
  color: var(--graphite);
}

.specs dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}

.related {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flow-header {
  background: var(--surface);
  border-bottom: 1px solid var(--stone);
}

.flow-header__inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: 8px;
}

.flow-header__back {
  width: var(--touch-target);
  height: var(--touch-target);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}

.flow-header__logo,
.flow-header__continue {
  display: none;
}

.flow-header__title {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
}

.flow-header__count {
  color: var(--disabled-text);
  font-weight: 600;
}

.cart-page {
  padding-top: 16px;
  padding-bottom: 140px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-page__main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-page__titles {
  display: none;
}

.cart-page__title {
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cart-page__count {
  color: var(--disabled-text);
  font-weight: 600;
}

.cart-page__loading {
  margin: 0;
  color: var(--graphite);
  font-size: 14px;
}

.cart-notices {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.notice--error {
  background: var(--badge-red-bg);
  color: var(--badge-red-fg);
}

.cart-empty {
  padding: 40px 20px;
  border: 1.5px dashed var(--input-border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.cart-empty[hidden] {
  display: none;
}

.cart-empty__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.cart-lines {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-lines[hidden] {
  display: none;
}

.cart-line {
  position: relative;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--stone);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  grid-template-areas:
    "media info"
    "media controls";
  gap: 8px 12px;
}

.cart-line.is-unavailable {
  border-color: var(--danger-border);
}

.cart-line__media {
  grid-area: media;
  width: 76px;
  height: 76px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--image-placeholder);
  color: var(--on-dark-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-line__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line__info {
  grid-area: info;
  padding-right: 40px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.cart-line__info p {
  margin: 0;
}

.cart-line__brand:empty {
  display: none;
}

.cart-line__name {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.cart-line__meta {
  font-size: 12px;
  color: var(--graphite);
}

.cart-line__status {
  font-size: 12px;
  font-weight: 600;
  color: var(--badge-amber-fg);
}

.cart-line.is-unavailable .cart-line__status {
  color: var(--badge-red-fg);
}

.cart-line__quantity {
  grid-area: controls;
  justify-self: start;
  min-height: var(--touch-target);
}

.cart-line__quantity[hidden] {
  display: none;
}

.cart-line__total {
  position: absolute;
  right: 12px;
  bottom: 22px;
  font-size: 16px;
  font-weight: 800;
}

.cart-line__remove {
  position: absolute;
  top: 2px;
  right: 2px;
  width: var(--touch-target);
  height: var(--touch-target);
  border: 0;
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--disabled-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.cart-line__remove:hover {
  color: var(--badge-red-fg);
}

.cart-summary {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-summary[hidden] {
  display: none;
}

.cart-summary__title {
  display: none;
  margin: 0;
  font-size: 20px;
  font-weight: 800;
}

.cart-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.cart-summary__note,
.cart-summary__blocked {
  margin: 0;
  font-size: 13px;
  color: var(--graphite);
}

.cart-summary__blocked {
  color: var(--badge-red-fg);
  font-weight: 600;
}

.cart-summary__total {
  padding-top: 12px;
  border-top: 1px solid var(--stone);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  font-weight: 700;
}

.cart-summary__total strong {
  font-size: 22px;
  font-weight: 800;
}

.cart-summary__checkout,
.cart-summary__reassure {
  display: none;
}

.cart-summary__reassure {
  margin: 0;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--graphite);
}

.cart-summary__reassure .icon {
  color: var(--jta-green);
}

.btn.is-disabled {
  background: var(--disabled-surface);
  border-color: var(--stone);
  color: var(--disabled-text);
  cursor: not-allowed;
}

.cart-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding: 12px 16px 20px;
  background: var(--surface);
  border-top: 1px solid var(--stone);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-bar[hidden] {
  display: none;
}

.cart-bar .btn {
  min-height: 54px;
  font-size: 16px;
}

.cart-bar__note {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: var(--graphite);
}

.catalog-cart-bar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 16px;
  z-index: 5;
  min-height: 64px;
  padding: 0 8px 0 18px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--surface);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 8px 24px rgb(0 0 0 / 0.18);
}

.catalog-cart-bar[hidden] {
  display: none;
}

.catalog-cart-bar:hover {
  color: var(--surface);
}

.catalog-cart-bar__summary {
  display: flex;
  flex-direction: column;
}

.catalog-cart-bar__count {
  font-size: 12px;
  color: var(--on-dark-muted);
}

.catalog-cart-bar__summary strong {
  font-size: 17px;
  font-weight: 800;
}

.catalog-cart-bar__action {
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius-control);
  background: var(--jta-green-light);
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

main:has(.catalog-cart-bar:not([hidden])) .how {
  margin-bottom: 88px;
}

.field__optional {
  font-weight: 400;
  color: var(--graphite);
}

.field__hint {
  font-size: 12px;
  color: var(--graphite);
}

.field__error {
  font-size: 13px;
  font-weight: 500;
  color: var(--badge-red-fg);
}

.field__error[hidden] {
  display: none;
}

.field__input--textarea {
  height: auto;
  padding: 12px 14px;
  resize: vertical;
}

.field__input[aria-invalid="true"],
.phone-input:has([aria-invalid="true"]) {
  border-color: var(--badge-red-fg);
}

.checkout {
  padding-top: 16px;
  padding-bottom: 150px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkout-summary {
  padding: 0;
  border-radius: 14px;
}

.checkout-summary__toggle {
  list-style: none;
  cursor: pointer;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
}

.checkout-summary__toggle::-webkit-details-marker {
  display: none;
}

.checkout-summary__toggle strong {
  font-size: 17px;
  font-weight: 800;
}

.checkout-summary__lines {
  margin: 0;
  padding: 0 16px 8px;
  list-style: none;
}

.checkout-summary__line {
  padding: 10px 0;
  border-top: 1px solid var(--sand);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.checkout-summary__note,
.checkout-summary .notice {
  margin: 0 16px 14px;
  font-size: 13px;
  color: var(--graphite);
}

.checkout-summary .notice {
  color: var(--badge-red-fg);
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.checkout-form__trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.checkout-form__intro {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.checkout-form__intro p,
.checkout-form__privacy {
  margin: 0;
}

.checkout-form__title {
  display: none;
  margin: 0;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.checkout-form__privacy {
  font-size: 12px;
  line-height: 1.5;
  color: var(--graphite);
}

.checkout-submit {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding: 12px 16px 20px;
  background: var(--surface);
  border-top: 1px solid var(--stone);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-submit__button {
  min-height: 56px;
  font-size: 16px;
}

.checkout-submit__note {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: var(--graphite);
}

.flow-header--plain .flow-header__inner {
  padding-left: var(--gutter);
}

.flow-header__home {
  color: var(--ink);
  text-decoration: none;
}

.success-hero {
  padding: 32px 20px 28px;
  background: var(--ink);
  color: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.success-hero p {
  margin: 0;
}

.success-hero__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-pill);
  background: var(--jta-green-light);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}

.success-hero__icon .icon {
  width: 32px;
  height: 32px;
  stroke-width: 2.6;
}

.success-hero__title {
  margin: 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.success-hero__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
}

.success-hero__reference {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}

.success-hero__lead {
  max-width: 420px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--on-dark-text);
}

.success {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.success__handoff {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.chat-preview {
  padding: 16px;
  border-radius: 14px;
  background: var(--chat-wallpaper);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chat-preview__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--graphite);
}

.chat-preview__bubble {
  align-self: flex-end;
  max-width: 100%;
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px 10px 2px 10px;
  background: var(--chat-bubble);
  color: var(--chat-text);
  font-size: 15px;
  line-height: 1.4;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.success__whatsapp {
  min-height: 58px;
  font-size: 17px;
}

.success__fallback,
.success__track {
  margin: 0;
  text-align: center;
  font-size: 13px;
  color: var(--graphite);
}

.success__track {
  padding-bottom: 8px;
  font-size: 15px;
  font-weight: 600;
}

.success__qr {
  display: none;
}

.success__next {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.success__subtitle {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.success__steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 14px;
  line-height: 1.5;
}

.success__steps li {
  display: flex;
  gap: 12px;
}

.success__step-number {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--jta-green);
  color: var(--surface);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prose {
  max-width: 760px;
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.prose h2 {
  margin: 12px 0 0;
  font-size: 18px;
}

.prose p {
  margin: 0;
  line-height: 1.6;
}

.prose ul {
  margin: 0;
  padding-left: 20px;
  line-height: 1.6;
}

.customer-header {
  justify-content: space-between;
}

.customer-order,
.customer-login,
.customer-message,
.account-orders {
  max-width: 640px;
  padding-top: 24px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.customer-order__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.customer-order__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.customer-order__reference {
  margin: 0;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.customer-order__meta {
  margin: 0;
  font-size: 14px;
  color: var(--graphite);
}

.customer-timeline {
  margin: 0;
  padding: 20px 18px 2px;
  list-style: none;
  display: flex;
  flex-direction: column;
}

.customer-timeline__step {
  position: relative;
  padding: 0 0 18px 40px;
  display: flex;
}

.customer-timeline__step::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 28px;
  bottom: 2px;
  width: 2px;
  background: var(--stone);
}

.customer-timeline__step:last-child::after {
  display: none;
}

.customer-timeline__step.is-feito::after {
  background: var(--jta-green);
}

.customer-timeline__dot {
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 26px;
  box-sizing: border-box;
  border: 2px solid var(--input-border);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.customer-timeline__dot .icon {
  width: 14px;
  height: 14px;
  stroke-width: 3;
}

.is-feito .customer-timeline__dot {
  border-color: var(--jta-green);
  background: var(--jta-green);
}

.is-actual .customer-timeline__dot {
  border-color: var(--jta-green);
}

.customer-timeline__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.customer-timeline__title {
  font-size: 15px;
  font-weight: 700;
}

.is-por-fazer .customer-timeline__title {
  color: var(--disabled-text);
}

.customer-timeline__description {
  font-size: 13px;
  color: var(--graphite);
}

.customer-order__chat {
  min-height: 54px;
  font-size: 16px;
}

.customer-products,
.customer-documents {
  padding: 16px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.customer-section-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.customer-products__lines {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.customer-products__lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.customer-products__lines strong {
  font-weight: 600;
  white-space: nowrap;
}

.customer-products__total {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid var(--stone);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 15px;
  font-weight: 700;
}

.customer-products__total strong {
  font-size: 20px;
  font-weight: 800;
}

.customer-documents__empty {
  margin: 0;
  padding: 14px;
  border: 1.5px dashed var(--input-border);
  border-radius: var(--radius-control);
  background: var(--background);
  color: var(--disabled-text);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.customer-document {
  padding-top: 12px;
  border-top: 1px solid var(--sand);
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.customer-document__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--badge-green-bg);
  color: var(--jta-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.customer-document__text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.customer-document__title {
  font-size: 14px;
  font-weight: 700;
}

.customer-document__meta {
  font-size: 12px;
  color: var(--graphite);
}

.customer-document__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--jta-green);
  font-size: 14px;
  font-weight: 700;
}

.customer-area-banner {
  padding: 18px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.customer-area-banner__text {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.customer-area-banner__action {
  align-self: flex-start;
  background: var(--surface);
  border-color: var(--surface);
  color: var(--ink);
}

.customer-area-banner__action:hover {
  background: var(--sand);
  color: var(--ink);
}

.customer-login {
  max-width: 480px;
  padding-top: 28px;
  gap: 20px;
}

.customer-login__intro,
.customer-login__form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.customer-login__form {
  gap: 20px;
}

.customer-login__intro p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
}

.customer-login__title,
.customer-message__title {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.customer-login__submit {
  min-height: 52px;
  font-size: 16px;
}

.customer-login__note {
  padding: 16px;
  border-radius: 14px;
  background: var(--sand);
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  line-height: 1.5;
}

.customer-login__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--badge-green-bg);
  color: var(--jta-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.customer-login__icon .icon {
  width: 28px;
  height: 28px;
}

.customer-login__help,
.customer-message p {
  margin: 0;
  font-size: 14px;
}

.customer-message {
  align-items: flex-start;
}

.account-hero {
  padding: 24px 0;
  background: var(--ink);
  color: var(--surface);
}

.account-hero__inner {
  max-width: 640px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.account-hero__hello {
  margin: 0;
  font-size: 14px;
  color: var(--on-dark-muted);
}

.account-hero__name {
  margin: 4px 0 0;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.account-order {
  padding: 16px;
  border: 1px solid var(--stone);
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.account-order__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.account-order__reference {
  white-space: nowrap;
  font-size: 16px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.account-order__meta {
  font-size: 13px;
  color: var(--graphite);
}

.account-order__total {
  font-size: 17px;
  font-weight: 800;
}

.account-order__documents {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--disabled-text);
  font-size: 13px;
  font-weight: 600;
  text-align: right;
}

.account-order__documents.has-documents {
  color: var(--jta-green);
}

.notice--success {
  background: var(--badge-green-bg);
  color: var(--badge-green-fg);
}

.btn--danger-outline {
  background: var(--surface);
  border-color: var(--danger-border);
  color: var(--badge-red-fg);
}

.btn--danger-outline:hover {
  background: var(--badge-red-bg);
  color: var(--badge-red-fg);
}

.account-tabs {
  background: var(--surface);
  border-bottom: 1px solid var(--stone);
}

.account-tabs__inner {
  max-width: 640px;
  display: flex;
}

.account-tabs__tab {
  flex-grow: 1;
  height: 52px;
  box-sizing: border-box;
  border-bottom: 3px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--graphite);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.account-tabs__tab.is-active {
  border-bottom-color: var(--jta-green);
  color: var(--ink);
  font-weight: 700;
}

.customer-lists__intro {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.customer-list-card {
  padding: 16px;
  border: 1px solid var(--stone);
  border-radius: 14px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.customer-list-card__link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.customer-list-card__name {
  display: block;
  font-size: 16px;
  font-weight: 800;
}

.customer-list-card__meta {
  display: block;
  font-size: 13px;
  color: var(--graphite);
}

.customer-lists__new {
  padding: 16px;
  border: 1.5px dashed var(--on-dark-muted);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  line-height: 1.5;
}

.customer-list {
  padding-bottom: 150px;
}

.customer-list__rename {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.customer-list__rename-row {
  display: flex;
  gap: 8px;
}

.customer-list__rename-row .field__input {
  flex-grow: 1;
  min-width: 0;
}

.customer-list__items {
  padding: 4px 14px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
}

.customer-list__item {
  padding: 12px 0;
  border-bottom: 1px solid var(--sand);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.customer-list__item:last-child {
  border-bottom: 0;
}

.customer-list__item-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.customer-list__item-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.customer-list__item-name {
  font-size: 14px;
  font-weight: 700;
}

.is-unavailable .customer-list__item-name {
  color: var(--disabled-text);
}

.customer-list__item-meta {
  font-size: 12px;
  color: var(--graphite);
}

.customer-list__remove {
  flex-shrink: 0;
  width: var(--touch-target);
  height: var(--touch-target);
  margin: -10px -10px 0 0;
  border: 0;
  background: transparent;
  color: var(--disabled-text);
  cursor: pointer;
}

.customer-list__stepper {
  align-self: flex-start;
  min-height: var(--touch-target);
}

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

.customer-list__delete > summary {
  list-style: none;
  cursor: pointer;
}

.customer-list__delete > summary::-webkit-details-marker {
  display: none;
}

.customer-list__delete[open] {
  grid-column: 1 / -1;
}

.customer-list__delete-confirm {
  margin-top: 8px;
  padding: 12px;
  border-radius: var(--radius-control);
  background: var(--badge-red-bg);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}

.customer-list__delete-confirm p {
  margin: 0;
  color: var(--badge-red-fg);
}

.customer-list__limits {
  margin: 0;
  font-size: 12px;
  color: var(--graphite);
}

.customer-list__order {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 5;
  padding: 12px 16px 20px;
  background: var(--surface);
  border-top: 1px solid var(--stone);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.customer-list__order .btn {
  max-width: 640px;
  margin: 0 auto;
  width: 100%;
  min-height: 54px;
  font-size: 16px;
}

.customer-list__order-note {
  margin: 0;
  text-align: center;
  font-size: 12px;
  color: var(--graphite);
}

.customer-repeat {
  padding: 16px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.customer-repeat__note {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--graphite);
}

.cart-save {
  padding: 16px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cart-save[hidden] {
  display: none;
}

.cart-save__title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.cart-save__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.cart-save__form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cart-save__link {
  font-size: 14px;
  font-weight: 600;
}

@media (min-width: 600px) {
  .swatches {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  :root {
    --gutter: 64px;
  }

  .logo__wordmark {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
  }

  .section-title {
    font-size: 32px;
  }

  .hero-wrap {
    padding: 0;
    max-width: none;
  }

  .hero {
    flex-direction: row;
    border-radius: 0;
    min-height: 460px;
  }

  .hero__text {
    flex: 1 1 50%;
    padding: 72px 64px;
    justify-content: center;
    gap: 24px;
  }

  .hero__title {
    font-size: 52px;
    line-height: 1.05;
  }

  .hero__lead {
    max-width: 520px;
    font-size: 18px;
  }

  .hero__actions {
    display: flex;
  }

  .hero__image {
    flex: 1 1 50%;
  }

  .hero__image img {
    height: 100%;
    min-height: 460px;
    object-position: 60% 50%;
  }

  .catalog {
    padding-top: 56px;
    gap: 28px;
  }

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

  .product-card {
    border-radius: var(--radius-card);
  }

  .product-card__eyebrow {
    display: block;
  }

  .sort__label {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    font-weight: 500;
  }

  .product-card__body {
    padding: 18px 20px 20px;
    gap: 8px;
  }

  .product-card__name {
    font-size: 17px;
  }

  .product-card__footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
  }

  .product-card__price {
    font-size: 20px;
  }

  .cart-control__add {
    width: auto;
  }

  .cart-control__stepper {
    min-width: 132px;
  }

  .how {
    margin-top: 72px;
    padding: 48px 56px;
    gap: 16px;
  }

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

  .flow-header__inner {
    min-height: 84px;
    justify-content: space-between;
    padding-left: var(--gutter);
  }

  .flow-header__back,
  .flow-header__title {
    display: none;
  }

  .flow-header__logo,
  .flow-header__continue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    text-decoration: none;
  }

  .flow-header__continue {
    font-size: 15px;
    font-weight: 600;
  }

  .cart-page {
    padding-top: 48px;
    padding-bottom: 48px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 40px;
    align-items: start;
  }

  .cart-page__main {
    gap: 20px;
  }

  .cart-page__titles {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .cart-lines {
    gap: 0;
    background: var(--surface);
    border: 1px solid var(--stone);
    border-radius: var(--radius-card);
    overflow: hidden;
  }

  .cart-line {
    padding: 20px 24px;
    border: 0;
    border-bottom: 1px solid var(--sand);
    border-radius: 0;
    grid-template-columns: 96px minmax(0, 1fr) auto 130px 44px;
    grid-template-areas: "media info controls total remove";
    align-items: center;
    gap: 20px;
  }

  .cart-line:last-child {
    border-bottom: 0;
  }

  .cart-line.is-unavailable {
    background: var(--badge-red-bg);
  }

  .cart-line__media {
    width: 96px;
    height: 96px;
    border-radius: 12px;
  }

  .cart-line__info {
    padding-right: 0;
    gap: 4px;
  }

  .cart-line__name {
    font-size: 17px;
  }

  .cart-line__meta {
    font-size: 14px;
  }

  .cart-line__total {
    position: static;
    grid-area: total;
    text-align: right;
    font-size: 18px;
  }

  .cart-line__remove {
    position: static;
    grid-area: remove;
  }

  .cart-summary {
    margin-top: 76px;
    padding: 28px;
    gap: 18px;
  }

  .cart-summary__title {
    display: block;
  }

  .cart-summary__row {
    font-size: 15px;
  }

  .cart-summary__total {
    font-size: 16px;
  }

  .cart-summary__total strong {
    font-size: 28px;
  }

  .cart-summary__checkout {
    display: inline-flex;
    min-height: 56px;
    font-size: 16px;
  }

  .cart-summary__reassure {
    display: flex;
  }

  .cart-bar {
    display: none;
  }

  .catalog-cart-bar {
    display: none;
  }

  .checkout {
    padding-top: 48px;
    padding-bottom: 48px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    grid-template-areas:
      "form summary"
      "submit summary";
    gap: 24px 40px;
    align-items: start;
  }

  .checkout-form {
    grid-area: form;
  }

  .checkout-form__title {
    display: block;
  }

  .checkout-summary {
    grid-area: summary;
    position: sticky;
    top: 24px;
  }

  .checkout-submit {
    grid-area: submit;
    position: static;
    padding: 0;
    border-top: 0;
    background: transparent;
  }

  .success-hero {
    padding: 56px 20px 48px;
  }

  .success-hero__title {
    font-size: 36px;
  }

  .success {
    padding-top: 40px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 32px;
    align-items: start;
  }

  .success__qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .success__qr-label {
    margin: 0;
    font-size: 13px;
    color: var(--graphite);
  }

  .success__qr-code {
    width: 240px;
    height: 240px;
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--stone);
    border-radius: 12px;
  }

  .success__qr-code svg {
    width: 100%;
    height: 100%;
  }

  .success__track {
    grid-column: 1 / -1;
  }

  .product-page {
    padding-bottom: 0;
    gap: 32px;
  }

  .product-page__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
  }

  .product-page__media {
    margin: 0;
    max-height: 560px;
    border-radius: var(--radius-card);
    overflow: hidden;
  }

  .product-page__title {
    font-size: 40px;
  }

  .product-page__buy {
    position: static;
    padding: 12px 0 0;
    border-top: 0;
    background: transparent;
  }

  .product-page__details {
    max-width: 720px;
    padding: 24px;
  }

  .topbar {
    display: flex;
  }

  .site-header__inner {
    min-height: 84px;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "logo search actions";
    gap: 40px;
    padding-top: 0;
    padding-bottom: 0;
  }

  .site-header__search {
    margin-top: 0;
  }

  .site-header__search .search {
    background: var(--background);
  }

  .site-header__actions {
    gap: 28px;
  }

  .desktop-text {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
  }

  .cart-link {
    min-height: var(--control-height);
    padding: 0 18px;
    border-radius: var(--radius-control);
    background: var(--ink);
    color: var(--surface);
  }

  .cart-link:hover {
    background: var(--graphite);
    color: var(--surface);
  }

  .cart-link__count {
    position: static;
    min-width: 22px;
    height: 22px;
    background: var(--jta-green-light);
    color: var(--ink);
    font-size: 12px;
  }

  .logo {
    gap: 14px;
  }

  .logo__mark {
    width: 42px;
    height: 42px;
  }

  .logo__wordmark {
    font-size: 23px;
  }

  .site-footer {
    margin-top: 72px;
  }

  .site-footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    padding-top: 48px;
    padding-bottom: 48px;
  }
}
