/* ==========================================================================
   VitalFarma — estilos
   Mobile-first; a partir de 900px o layout se adapta para desktop.
   ========================================================================== */

/* Fontes hospedadas no próprio site (licença SIL OFL, ver assets/fonts) */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat.woff') format('woff');
}
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-italic.woff') format('woff');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/open-sans.woff') format('woff');
}

:root {
  --navy: #0c2a5c;
  --navy-deep: #08204a;
  --blue: #1668d8;
  --teal: #0fa3ad;
  --teal-dark: #0a7f96;
  --green: #3fa535;
  --text: #0c2a5c;
  --muted: #5b6980;
  --line: #dde6ef;
  --bg: #f5f9fc;
  --card: #ffffff;
  --soft: #e9f3fb;
  --danger: #c0392b;
  --grad: linear-gradient(90deg, #13adb0 0%, #0c8ba3 55%, #0a6c9a 100%);
  --grad-add: linear-gradient(180deg, #1bb9b6 0%, #0f9aa8 100%);
  --shadow: 0 6px 22px rgba(12, 42, 92, 0.08), 0 1px 3px rgba(12, 42, 92, 0.05);
  --shadow-sm: 0 2px 10px rgba(12, 42, 92, 0.07);
  --radius: 18px;
  --font-head: 'Montserrat', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --font-body: 'Open Sans', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif;
  --nav-h: 68px;
  --container: 1120px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.45;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* faixa azul suave no canto superior, como no layout */
body::before {
  content: '';
  position: fixed;
  top: -140px;
  right: -180px;
  width: 520px;
  height: 320px;
  background: linear-gradient(200deg, #d8ecfa 0%, rgba(216, 236, 250, 0) 62%);
  border-radius: 50%;
  transform: rotate(-24deg);
  pointer-events: none;
  z-index: -1;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
fieldset,
legend {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

fieldset {
  border: 0;
  min-width: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

svg {
  flex-shrink: 0;
}

:focus-visible {
  outline: 3px solid rgba(15, 163, 173, 0.55);
  outline-offset: 2px;
  border-radius: 6px;
}

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

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

.desktop-only {
  display: none !important;
}

/* --------------------------------------------------------------------------
   Estrutura
   -------------------------------------------------------------------------- */

.app {
  min-height: 100vh;
  min-height: 100dvh;
  padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 20px);
}

.page {
  max-width: var(--container);
  margin: 0 auto;
  padding: 4px 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* --------------------------------------------------------------------------
   Cabeçalho
   -------------------------------------------------------------------------- */

.header {
  padding: 12px 16px 10px;
}

.header__inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.header__left,
.header__right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header__right {
  gap: 6px;
}

.header__logo {
  display: block;
  line-height: 0;
}

.header__logo svg {
  height: 52px;
  width: auto;
  display: block;
}

/* páginas internas: logo centralizado entre o "voltar" e os ícones */
.header--center .header__left {
  flex: 1;
  min-width: 0;
}

.header--center .header__logo {
  margin: 0 auto;
}

.header--center .header__logo svg {
  height: 46px;
}

.header--center .header__right {
  min-width: 36px;
  justify-content: flex-end;
}

.header__nav {
  display: none;
}

.header--dark {
  background: linear-gradient(120deg, #0d2f66 0%, #08204a 55%, #0b3373 100%);
  padding-bottom: 38px;
  color: #fff;
}

.icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: inherit;
  transition: background 0.15s;
}

.icon-btn:hover {
  background: rgba(15, 163, 173, 0.1);
}

.icon-btn--sm {
  width: 36px;
  height: 36px;
  color: var(--muted);
}

.header__back {
  margin-left: -8px;
}

.badge {
  position: absolute;
  top: 0;
  right: -2px;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 10px;
  background: #19b3b1;
  color: #fff;
  font: 700 11px/19px var(--font-head);
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}

.header--dark .badge {
  box-shadow: 0 0 0 2px var(--navy-deep);
}

/* --------------------------------------------------------------------------
   Navegação inferior
   -------------------------------------------------------------------------- */

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  padding: 0 6px env(safe-area-inset-bottom);
  background: #fff;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -4px 24px rgba(12, 42, 92, 0.1);
}

.bottom-nav a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  font-size: 12px;
  color: #1c3765;
}

.bottom-nav a.active {
  color: var(--teal);
  font-weight: 700;
}

.bottom-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 54px;
  height: 3px;
  margin-left: -27px;
  border-radius: 3px;
  background: var(--teal);
}

.bottom-nav a.active svg {
  fill: rgba(15, 163, 173, 0.16);
}

.bottom-nav__icon {
  position: relative;
  line-height: 0;
}

.bottom-nav__icon .badge {
  top: -7px;
  right: -11px;
}

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  font: 700 15px/1.1 var(--font-head);
  text-align: center;
  white-space: nowrap;
  transition:
    filter 0.15s,
    transform 0.1s,
    background 0.15s;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 16px rgba(10, 127, 150, 0.28);
}

.btn--primary:hover {
  filter: brightness(1.06);
}

.btn--pill {
  border-radius: 999px;
}

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

.btn--xl {
  min-height: 54px;
  border-radius: 999px;
  font-size: 18px;
}

.btn--add {
  min-height: 38px;
  padding: 0 12px;
  gap: 6px;
  border-radius: 10px;
  background: var(--grad-add);
  color: #fff;
  font-size: 13.5px;
  box-shadow: 0 4px 10px rgba(15, 154, 168, 0.3);
}

.btn--add:hover {
  filter: brightness(1.06);
}

.btn--outline {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid #5c7193;
}

.btn--outline:hover {
  background: #f1f6fb;
}

.btn--ghost {
  color: var(--muted);
  font-weight: 600;
}

.btn--ghost:hover {
  background: rgba(12, 42, 92, 0.05);
}

.btn--danger {
  background: var(--danger);
  color: #fff;
}

.btn--danger-text {
  color: var(--danger);
}

.btn--whatsapp {
  background: #1faa59;
  color: #fff;
}

.btn--whatsapp:hover {
  filter: brightness(1.06);
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 4px;
  font-size: 15px;
  color: var(--navy);
}

.link-btn:hover {
  color: var(--danger);
}

/* --------------------------------------------------------------------------
   Títulos
   -------------------------------------------------------------------------- */

.page-title h1 {
  font: 800 28px/1.15 var(--font-head);
  letter-spacing: -0.01em;
}

.page-title p {
  margin-top: 2px;
  font-size: 15px;
  color: var(--muted);
}

.page-title--accent::after,
.section-title::after {
  content: '';
  display: block;
  width: 36px;
  height: 4px;
  margin-top: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #7cc242, #19b3b1);
}

.section-title {
  margin-bottom: 12px;
  font: 800 22px/1.2 var(--font-head);
}

/* --------------------------------------------------------------------------
   Início
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 238px;
  padding: 26px 22px 34px;
  border-radius: 22px;
  background: linear-gradient(120deg, #f1f9fe 0%, #d9eefa 55%, #bfe3f5 100%);
  box-shadow: var(--shadow-sm);
}

.hero::before {
  content: '';
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -74px;
  height: 108px;
  border-radius: 50%;
  background: linear-gradient(90deg, #7ad3e4, #33b9cf 50%, #7ad3e4);
  transform: rotate(3deg);
}

.hero__text {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 250px;
}

.hero p {
  max-width: 56%;
}

.hero h1 {
  font: 800 25px/1.12 var(--font-head);
  letter-spacing: -0.01em;
}

.hero h1 span {
  display: block;
  font-style: italic;
  font-size: 1.12em;
  color: #12a6b4;
}

.hero p {
  margin: 8px 0 16px;
  font-size: 14px;
  line-height: 1.35;
  color: #44546f;
}

.hero .btn {
  min-height: 40px;
  padding: 0 18px 0 22px;
  font-size: 15px;
}

.hero__art {
  position: absolute;
  right: -6px;
  bottom: 0;
  width: 51%;
  max-width: 330px;
  height: auto;
}

.cat-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.cat-tiles a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 2px 12px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
  color: #0d7ea5;
  transition: transform 0.15s;
}

.cat-tiles a:hover {
  transform: translateY(-2px);
}

.cat-tiles span {
  font: 600 12px/1.2 var(--font-body);
  color: var(--navy);
  letter-spacing: -0.01em;
}

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

.highlight-grid:not(.highlight-grid--all) .highlight:nth-child(n + 3) {
  display: none;
}

.highlight {
  display: flex;
  flex-direction: column;
  padding: 10px 12px 14px;
  min-width: 0;
}

.highlight__img {
  display: block;
  margin: 0 -4px 2px;
  line-height: 0;
}

.highlight__img svg {
  width: 100%;
  height: auto;
}

.highlight h3 {
  font: 800 17px/1.2 var(--font-head);
}

.highlight p {
  margin: 1px 0 12px;
  font-size: 13px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.highlight .btn {
  min-height: 38px;
  margin-top: auto;
  padding: 0 10px;
  font-size: 14px;
}

.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 14px 6px;
  border-radius: 18px;
  background: var(--soft);
}

.trust > * {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 6px;
  color: #0d6f9c;
}

.trust > * + * {
  border-left: 1px solid #c9dae8;
}

.trust span {
  font: 600 12.5px/1.25 var(--font-body);
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   Catálogo
   -------------------------------------------------------------------------- */

.search-field {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 8px 0 16px;
  background: #fff;
  border: 1px solid #d9e2ec;
  border-radius: 26px;
  box-shadow: var(--shadow-sm);
}

.search-field:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 163, 173, 0.18);
}

.search-field input {
  flex: 1;
  min-width: 0;
  height: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 14px;
}

.search-field input::placeholder {
  color: #5b6980;
}

.search-field input::-webkit-search-cancel-button {
  display: none;
}

.chips {
  display: flex;
  gap: 10px;
  margin: 0 -16px;
  padding: 4px 16px 10px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 16px;
}

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

.chip {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 92px;
  padding: 11px 14px 10px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  color: var(--navy);
  font: 600 13.5px/1.2 var(--font-body);
  scroll-snap-align: start;
  transition:
    background 0.15s,
    color 0.15s;
}

.chip.is-active {
  background: linear-gradient(135deg, #0b4f9c 0%, #0b76ad 60%, #0d93b8 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(11, 95, 168, 0.32);
}

.toolbar {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 10px;
}

.select {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid #cdd8e4;
  border-radius: 12px;
  font-size: 13.5px;
  min-width: 0;
}

.select span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.select.is-set {
  border-color: var(--teal);
  color: var(--teal-dark);
  font-weight: 600;
}

.select select {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  font-size: 16px;
}

.select:focus-within {
  outline: 3px solid rgba(15, 163, 173, 0.55);
  outline-offset: 2px;
}

.product-list {
  display: grid;
  gap: 14px;
}

.product-row {
  display: flex;
  align-items: stretch;
  padding: 12px 12px 12px 8px;
  min-width: 0;
}

.product-row__img {
  flex: 0 0 41%;
  display: flex;
  align-items: center;
  padding-right: 8px;
  border-right: 1px solid var(--line);
  line-height: 0;
}

.product-row__img svg {
  width: 100%;
  height: auto;
}

.product-row__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding-left: 12px;
}

.product-row h2 {
  font: 800 19px/1.2 var(--font-head);
}

.product-row__active {
  font-size: 14px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-row__dose {
  font-size: 14px;
  font-weight: 700;
}

.product-row__buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 8px;
  margin-top: auto;
  padding-top: 6px;
}

.price {
  font: 800 18px/1.2 var(--font-head);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.price small {
  font-size: 0.72em;
  font-weight: 700;
}

.price--xl {
  font-size: 28px;
}

.rule-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  font-style: italic;
  color: #44546f;
  text-align: center;
}

.rule-note::before,
.rule-note::after {
  content: '';
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: #c3cfdc;
}

/* --------------------------------------------------------------------------
   Produto
   -------------------------------------------------------------------------- */

.product__layout,
.product__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.gallery {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 0% 0%, rgba(160, 222, 240, 0.55) 0%, rgba(160, 222, 240, 0) 46%),
    linear-gradient(160deg, #eef8fd 0%, #e3f1fa 100%);
}

.gallery__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

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

.gallery__slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 222px;
  padding: 8px 16px 22px;
}

.gallery__slide > svg {
  height: 100%;
  width: auto;
  max-width: 100%;
}

.gallery__slide--info {
  gap: 10px;
  padding-inline: 14px;
}

.gallery__slide--info > svg {
  flex: 0 0 42%;
  width: 42%;
  height: auto;
}

.gallery__slide--info dl {
  flex: 1;
  display: grid;
  gap: 6px;
  min-width: 0;
}

.gallery__slide--info dt {
  font-size: 11px;
  color: var(--muted);
}

.gallery__slide--info dd {
  font: 700 13px/1.25 var(--font-head);
}

.gallery__slide--seals {
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding-inline: 36px;
}

.gallery__slide--seals p {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 700 15px/1.25 var(--font-head);
  color: var(--navy);
}

.gallery__slide--seals svg {
  color: #0d7ea5;
}

.gallery__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 4px;
}

.gallery__dots button {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
}

.gallery__dots button::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c8d6e3;
  transition: background 0.2s;
}

.gallery__dots button.is-active::before {
  background: #19b3b1;
}

.product__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.product__head h1 {
  font: 800 30px/1.1 var(--font-head);
  letter-spacing: -0.01em;
}

.product__head p {
  font-size: 15px;
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: #d9f4f3;
  color: #0b8a93;
  font: 600 14px/1.2 var(--font-body);
  white-space: nowrap;
}

.features {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1.25fr;
  padding: 10px 4px;
  border-radius: 14px;
  background: #fbfdff;
  box-shadow: var(--shadow-sm);
}

.features li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 6px;
  color: #0d6f9c;
}

.features li + li {
  border-left: 1px solid var(--line);
}

.features span {
  font: 600 12px/1.25 var(--font-body);
  color: var(--navy);
}

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

.stepper {
  display: inline-grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 96px;
  height: 36px;
  background: #fff;
  border: 1px solid #c9d5e2;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.stepper button {
  height: 100%;
  display: grid;
  place-items: center;
  color: #0b8a93;
  border-radius: 999px;
}

.stepper button:disabled {
  color: #b6c2cf;
  cursor: not-allowed;
}

.stepper output {
  min-width: 22px;
  text-align: center;
  font: 700 17px/1 var(--font-head);
}

.stepper--lg {
  width: 132px;
  height: 42px;
}

.stepper--lg button {
  color: #4b5d78;
}

.stepper--lg output {
  min-width: 44px;
  line-height: 24px;
  border-inline: 1px solid var(--line);
}

.notice {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #edf3f9;
  color: #44546f;
  font-size: 13.5px;
  line-height: 1.4;
}

.notice strong {
  color: var(--navy);
}

.accordion {
  border: 1px solid #d3dde8;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.accordion details + details {
  border-top: 1px solid #d3dde8;
}

.accordion summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  font: 700 16px/1.2 var(--font-head);
  cursor: pointer;
  list-style: none;
}

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

.accordion summary > svg:first-child {
  color: #0d7ea5;
}

.accordion summary span {
  flex: 1;
}

.accordion summary > svg:last-child {
  color: #4b5d78;
  transition: transform 0.2s;
}

.accordion details[open] summary > svg:last-child {
  transform: rotate(180deg);
}

.accordion__body {
  display: grid;
  gap: 10px;
  padding: 0 16px 16px 56px;
  font-size: 14px;
  color: #3f4e68;
}

.accordion__body ul {
  display: grid;
  gap: 4px;
}

.accordion__body a {
  color: var(--teal-dark);
  font-weight: 600;
  text-decoration: underline;
}

.related {
  margin-top: 6px;
}

/* --------------------------------------------------------------------------
   Carrinho
   -------------------------------------------------------------------------- */

.cart-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.cart-head .page-title {
  flex: 1;
  min-width: 0;
}

.cart-head .page-title h1 {
  font-size: 27px;
}

.cart-head .page-title p {
  font-size: 13.5px;
}

.icon-tile {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #dff0fb;
  color: var(--navy);
}

.cart-layout,
.cart-list,
.cart-side {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-content: start;
}

.cart-side {
  margin-top: 14px;
  gap: 16px;
}

.cart-item {
  position: relative;
  display: flex;
  align-items: stretch;
  padding: 14px 12px 14px 8px;
}

.cart-item__img {
  flex: 0 0 37%;
  display: flex;
  align-items: center;
  padding-right: 8px;
  border-right: 1px solid var(--line);
  line-height: 0;
}

.cart-item__img svg {
  width: 100%;
  height: auto;
}

.cart-item__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 2px 0 2px 14px;
}

.cart-item h2 {
  padding-right: 30px;
  font: 800 19px/1.2 var(--font-head);
}

.cart-item__body > p {
  font-size: 14px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item__buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 8px;
  margin-top: auto;
  padding-top: 10px;
}

.cart-item__remove {
  position: absolute;
  top: 6px;
  right: 6px;
}

.summary {
  padding: 6px 22px;
  border-radius: 20px;
  background: var(--soft);
}

.summary > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}

.summary > div + div {
  border-top: 1px solid #c3d4e3;
}

.summary dt {
  font-size: 16px;
  color: #44546f;
}

.summary dd {
  font: 800 17px/1.2 var(--font-head);
}

.summary dd.muted {
  font: 600 14px/1.2 var(--font-body);
}

.summary__total dt {
  font: 800 22px/1.2 var(--font-head);
  color: var(--navy);
}

.summary__total dd {
  font-size: 22px;
  color: #12a0ae;
}

.summary--flat {
  padding: 0;
  background: none;
}

.summary--flat > div {
  padding: 10px 0;
}

.summary--flat > div + div {
  border-top-color: var(--line);
}

.hint {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.hint--box {
  padding: 10px 14px;
  border-radius: 12px;
  background: #fff6e0;
  color: #7a5200;
}

/* --------------------------------------------------------------------------
   Pedidos
   -------------------------------------------------------------------------- */

.page--sheet {
  position: relative;
  margin-top: -26px;
  padding-top: 22px;
  background: var(--bg);
  border-radius: 26px 26px 0 0;
}

.tabs {
  display: grid;
  grid-template-columns: 0.86fr 1.08fr 0.96fr 1fr;
  background: #fff;
  border: 1px solid #d6dfe9;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.tabs a {
  position: relative;
  height: 44px;
  padding: 0 4px;
  border-radius: 14px;
  font-size: 13.5px;
  color: var(--navy);
  white-space: nowrap;
}

.tabs a + a:not(.is-active)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  bottom: 11px;
  width: 1px;
  background: #d6dfe9;
}

.tabs a.is-active {
  margin: -1px;
  height: 46px;
  background: var(--grad);
  color: #fff;
  font: 700 14px/1 var(--font-head);
  box-shadow: 0 4px 12px rgba(10, 127, 150, 0.3);
}

.tabs a.is-active + a::before {
  display: none;
}

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

.order-card {
  padding: 16px 14px 18px 16px;
}

.order-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.order-card h2 {
  font: 800 19px/1.2 var(--font-head);
}

.order-card__head p {
  font-size: 14px;
  color: var(--muted);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  font: 600 13.5px/1.2 var(--font-body);
  white-space: nowrap;
}

.status svg {
  width: 18px;
  height: 18px;
}

.status--em_analise {
  background: #fdeacc;
  color: #8a5200;
}

.status--pagamento_aprovado,
.status--entregue {
  background: #d8f1de;
  color: #14603a;
}

.status--enviado {
  background: #d5ebfb;
  color: #0c3d7a;
}

.status--cancelado {
  background: #fde1df;
  color: #9d2a20;
}

.order-card__body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 10px;
}

.order-thumbs {
  position: relative;
  flex: 0 0 31%;
  line-height: 0;
  padding-right: 10px;
  border-right: 1px solid var(--line);
}

.order-thumbs svg {
  width: 88%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.order-thumbs--2 {
  display: flex;
  align-items: flex-end;
}

.order-thumbs--2 svg {
  width: 64%;
  margin: 0 0 10%;
}

.order-thumbs--2 svg + svg {
  margin: 0 0 -4% -28%;
}

.order-card__sum {
  flex: 1;
  min-width: 96px;
}

.order-card__sum .price {
  font-size: 17px;
}

.order-card__sum p:first-child {
  font-size: 14px;
  color: #44546f;
}

.order-card__body .btn {
  min-height: 38px;
  padding: 0 8px 0 14px;
  font: 600 13px/1 var(--font-body);
  gap: 2px;
}

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

.order-head .page-title h1 {
  font-size: 24px;
}

.success {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: 18px;
  background: #e0f5e8;
  color: #14603a;
}

.success h2 {
  font: 800 19px/1.2 var(--font-head);
}

.success p {
  margin: 4px 0 12px;
  font-size: 14px;
  color: #23513a;
}

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

.detail-actions {
  display: grid;
  gap: 10px;
}

.timeline {
  display: grid;
}

.timeline li {
  position: relative;
  display: grid;
  gap: 1px;
  padding: 0 0 18px 34px;
  color: #8a97aa;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #c3cfdc;
  background: #fff;
}

.timeline li::after {
  content: '';
  position: absolute;
  left: 10px;
  top: 20px;
  bottom: 0;
  width: 2px;
  background: #d6dfe9;
}

.timeline li:last-child::after {
  display: none;
}

.timeline li.is-done {
  color: var(--navy);
}

.timeline li.is-done::before {
  border-color: #19b3b1;
  background: #19b3b1;
}

.timeline li.is-current::before {
  box-shadow: 0 0 0 4px rgba(25, 179, 177, 0.22);
}

.timeline strong {
  font: 700 15px/1.3 var(--font-head);
}

.timeline span {
  font-size: 13px;
  color: var(--muted);
}

.order-items {
  display: grid;
  gap: 4px;
}

.order-items li {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
}

.order-items li + li {
  border-top: 1px solid var(--line);
}

.order-items svg {
  width: 100%;
  height: auto;
}

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

.order-items strong {
  font: 800 15px/1.3 var(--font-head);
}

.order-items small {
  font-size: 13px;
  color: var(--muted);
}

.order-items .price {
  font-size: 15px;
}

.facts {
  display: grid;
  gap: 12px;
}

.facts dt {
  font-size: 12.5px;
  color: var(--muted);
}

.facts dd {
  font-size: 15px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* --------------------------------------------------------------------------
   Formulários (checkout e conta)
   -------------------------------------------------------------------------- */

.checkout,
.checkout__main,
.checkout__side,
.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  align-content: start;
}

.form-card {
  display: grid;
  gap: 14px;
  padding: 18px 16px;
}

.form-card legend,
.form-card__title {
  float: left;
  width: 100%;
  font: 800 18px/1.2 var(--font-head);
}

.form-card legend + * {
  clear: both;
}

.form-card__text {
  font-size: 14px;
  color: #44546f;
}

.field {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.field > span:first-child {
  font-size: 13px;
  font-weight: 600;
  color: #33425e;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #c9d5e2;
  border-radius: 12px;
  font-size: 16px;
  outline: 0;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 163, 173, 0.2);
}

.field [aria-invalid='true'] {
  border-color: var(--danger);
}

.field__error {
  font-size: 13px;
  font-weight: 600;
  color: var(--danger);
}

.field__hint {
  font-size: 12.5px;
  color: var(--muted);
}

.field__hint svg {
  vertical-align: -2px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-items: start;
}

.upload {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1.5px dashed #9fb3c8;
  border-radius: 14px;
  background: #f7fbfe;
  color: #0d6f9c;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.upload:focus-within {
  outline: 3px solid rgba(15, 163, 173, 0.55);
  outline-offset: 2px;
}

.upload.is-invalid {
  border-color: var(--danger);
}

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

.radio {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid #d3dde8;
  border-radius: 14px;
  cursor: pointer;
  color: #0d6f9c;
}

.radio.is-active {
  border-color: var(--teal);
  background: #f0fafa;
}

.radio input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.radio span {
  display: grid;
}

.radio strong {
  font: 700 15px/1.3 var(--font-head);
  color: var(--navy);
}

.radio small {
  font-size: 12.5px;
  color: var(--muted);
}

.check {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  color: #33425e;
  cursor: pointer;
}

.check input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--teal);
}

.check.is-invalid {
  color: var(--danger);
}

.mini-list {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.mini-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.mini-list small {
  color: var(--muted);
}

.mini-list strong {
  white-space: nowrap;
}

.link-list {
  display: grid;
  padding: 4px 16px;
}

.link-list a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  font: 700 15px/1.2 var(--font-head);
  color: var(--navy);
}

.link-list a + a {
  border-top: 1px solid var(--line);
}

.link-list a > svg:first-child {
  color: #0d7ea5;
}

.link-list span {
  flex: 1;
}

.link-list small {
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--soft);
  font: 700 12px/1 var(--font-body);
  color: #0d6f9c;
}

/* --------------------------------------------------------------------------
   Estados vazios, rodapé, avisos
   -------------------------------------------------------------------------- */

.empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 44px 16px;
  text-align: center;
  color: #8fa0b5;
}

.empty h1,
.empty h2 {
  font: 800 20px/1.2 var(--font-head);
  color: var(--navy);
}

.empty p {
  font-size: 14px;
  color: var(--muted);
}

.empty .btn {
  margin-top: 10px;
}

.empty--compact {
  padding: 24px 12px;
}

.footer {
  display: grid;
  gap: 6px;
  margin-top: 6px;
  padding: 18px 4px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.footer svg {
  vertical-align: -2px;
  color: #0d7ea5;
}

.footer a {
  text-decoration: underline;
}

.footer__title {
  font: 800 15px/1.3 var(--font-head);
  color: var(--navy);
}

.footer__legal {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.5;
}

.toast-region {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 14px);
  z-index: 60;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 28px rgba(12, 42, 92, 0.32);
  animation: toast-in 0.22s ease-out;
}

.toast svg {
  color: #5fe0d6;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* --------------------------------------------------------------------------
   Sobreposições: busca, menu, confirmação
   -------------------------------------------------------------------------- */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(8, 32, 74, 0.5);
  animation: fade-in 0.18s ease-out;
}

.overlay--center {
  display: grid;
  place-items: center;
  padding: 20px;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

.search-panel {
  max-width: 640px;
  max-height: 100dvh;
  margin: 0 auto;
  padding: 14px 16px 18px;
  overflow-y: auto;
  background: var(--bg);
  border-radius: 0 0 24px 24px;
  box-shadow: 0 20px 48px rgba(8, 32, 74, 0.3);
  animation: slide-down 0.22s ease-out;
}

@keyframes slide-down {
  from {
    transform: translateY(-16px);
    opacity: 0;
  }
}

.search-panel__label {
  margin: 16px 2px 8px;
  font: 700 12px/1 var(--font-head);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.search-results {
  display: grid;
  gap: 8px;
}

.search-results a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 14px 6px 6px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
}

.search-results__img {
  flex: 0 0 76px;
  width: 76px;
  height: auto;
}

.search-results__text {
  flex: 1;
  display: grid;
  min-width: 0;
}

.search-results__text strong {
  font: 800 15px/1.3 var(--font-head);
}

.search-results__text small {
  font-size: 13px;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.search-results__price {
  font: 800 14px/1 var(--font-head);
  white-space: nowrap;
}

.drawer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 340px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px calc(18px + env(safe-area-inset-bottom));
  overflow-y: auto;
  background: #fff;
  box-shadow: -12px 0 40px rgba(8, 32, 74, 0.25);
  animation: slide-left 0.24s ease-out;
}

@keyframes slide-left {
  from {
    transform: translateX(40px);
    opacity: 0;
  }
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.drawer__logo {
  height: 40px;
  width: auto;
}

.drawer__nav {
  display: grid;
}

.drawer__nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 4px;
  font: 700 16px/1.2 var(--font-head);
  border-bottom: 1px solid var(--line);
}

.drawer__nav svg {
  color: #0d7ea5;
}

.drawer__label {
  margin: 16px 4px 8px;
  font: 700 12px/1 var(--font-head);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.drawer__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.drawer__cats a {
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--soft);
  font-size: 14px;
  font-weight: 600;
}

.drawer__foot {
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 20px;
  font-size: 13px;
  color: var(--muted);
}

.drawer__foot svg {
  vertical-align: -3px;
}

.drawer__foot p svg {
  color: #0d7ea5;
}

.modal {
  width: min(100%, 380px);
  padding: 22px 20px 18px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 20px 48px rgba(8, 32, 74, 0.3);
}

.modal h2 {
  font: 800 19px/1.25 var(--font-head);
}

.modal p {
  margin-top: 6px;
  font-size: 14.5px;
  color: #44546f;
}

.modal__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

/* --------------------------------------------------------------------------
   Telas pequenas (até 360px)
   -------------------------------------------------------------------------- */

@media (max-width: 370px) {
  .header__logo svg {
    height: 42px;
  }

  .header--center .header__logo svg {
    height: 38px;
  }

  .select__prefix {
    display: none;
  }

  .hero h1 {
    font-size: 22px;
  }

  .page-title h1,
  .cart-head .page-title h1 {
    font-size: 24px;
  }

  .product__head h1 {
    font-size: 26px;
  }

  .cat-tiles span {
    font-size: 11px;
  }

  .tabs a,
  .tabs a.is-active {
    font-size: 12px;
  }

  .tag {
    font-size: 12.5px;
    padding-inline: 8px 10px;
  }

  .price--xl {
    font-size: 25px;
  }

  .btn--xl {
    font-size: 16.5px;
  }
}

/* --------------------------------------------------------------------------
   Desktop
   -------------------------------------------------------------------------- */

@media (min-width: 900px) {
  .mobile-only,
  .bottom-nav {
    display: none;
  }

  .desktop-only {
    display: inline-flex !important;
  }

  .app {
    padding-bottom: 56px;
  }

  .toast-region {
    bottom: 28px;
  }

  .header {
    position: sticky;
    top: 0;
    z-index: 20;
    padding: 14px 24px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--line);
  }

  .header--dark {
    background: linear-gradient(120deg, #0d2f66 0%, #08204a 55%, #0b3373 100%);
    box-shadow: none;
    padding-bottom: 14px;
  }

  .header--center .header__left {
    flex: 0 1 auto;
  }

  .header--center .header__logo {
    margin: 0;
  }

  .header--center .header__right {
    min-width: 0;
  }

  .header__nav {
    display: flex;
    gap: 6px;
    margin-inline: auto 12px;
  }

  .header__nav a {
    padding: 10px 16px;
    border-radius: 999px;
    font: 700 15px/1 var(--font-head);
  }

  .header__nav a:hover {
    background: rgba(15, 163, 173, 0.1);
  }

  .header__nav a.active {
    color: var(--teal);
    background: rgba(15, 163, 173, 0.12);
  }

  .header--dark .header__nav a.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
  }

  .page {
    padding: 28px 24px 8px;
    gap: 26px;
  }

  .page--sheet {
    margin-top: 0;
    border-radius: 0;
  }

  .page-title h1 {
    font-size: 34px;
  }

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

  .hero {
    min-height: 380px;
    padding: 64px 56px 80px;
    border-radius: 28px;
  }

  .hero::before {
    bottom: -150px;
    height: 210px;
  }

  .hero h1 {
    max-width: 520px;
    font-size: 48px;
  }

  .hero p {
    max-width: 420px;
    margin: 16px 0 26px;
    font-size: 19px;
  }

  .hero .btn {
    min-height: 52px;
    padding: 0 26px 0 30px;
    font-size: 17px;
  }

  .hero__art {
    right: 40px;
    bottom: 10px;
    width: 38%;
    max-width: 400px;
  }

  .cat-tiles {
    gap: 20px;
  }

  .cat-tiles a {
    padding: 24px 8px 20px;
  }

  .cat-tiles span {
    font-size: 16px;
  }

  .highlight-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .highlight-grid:not(.highlight-grid--all) .highlight:nth-child(n + 3) {
    display: flex;
  }

  .highlight {
    padding: 14px 18px 20px;
  }

  .trust {
    padding: 22px 12px;
  }

  .trust span {
    font-size: 15px;
  }

  .chips {
    margin: 0;
    padding-inline: 0;
    flex-wrap: wrap;
  }

  .chip {
    min-width: 124px;
  }

  .toolbar {
    grid-template-columns: 240px 280px;
  }

  .product-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .product-row h2 {
    font-size: 22px;
  }

  .product__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }

  .gallery {
    position: sticky;
    top: 100px;
  }

  .gallery__slide {
    height: 400px;
    padding: 20px 40px 40px;
  }

  .gallery__slide--info dd {
    font-size: 16px;
  }

  .gallery__slide--info dt {
    font-size: 13px;
  }

  .gallery__slide--seals p {
    font-size: 19px;
  }

  .product__head h1 {
    font-size: 38px;
  }

  .features span {
    font-size: 14px;
  }

  .cart-layout,
  .checkout {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 28px;
    align-items: start;
  }

  .cart-side,
  .checkout__side {
    position: sticky;
    top: 100px;
    margin-top: 0;
  }

  .cart-item__img {
    flex-basis: 30%;
  }

  .order-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .tabs {
    max-width: 560px;
  }

  .tabs a,
  .tabs a.is-active {
    font-size: 15px;
  }

  .detail-layout {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
  }

  .account-layout {
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }

  .success {
    padding: 24px 28px;
  }
}

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

/* --------------------------------------------------------------------------
   Versão PHP: formulários, sobreposições e quantidade
   -------------------------------------------------------------------------- */

[hidden] {
  display: none !important;
}

/* formulários que não devem mudar o layout em volta dos botões */
.catalog-form,
.product__form,
.form-contents,
.cart-item__remove-form,
.cart-item__buy form,
.cart-head form {
  display: contents;
}

/* menus e janelas: fechados até o JavaScript (ou o link #id) abrir */
.js-overlay:not(.is-open):not(:target) {
  display: none;
}

.tabs a {
  display: grid;
  place-items: center;
}

.stepper input {
  width: 34px;
  min-width: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  font: 700 17px/1 var(--font-head);
  -moz-appearance: textfield;
  appearance: textfield;
}

.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.toast.is-leaving {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s;
}

body.is-locked {
  overflow: hidden;
}
