:root {
  color-scheme: light;
  --ink: #151716;
  --muted: #646b69;
  --line: #e4e7e2;
  --paper: #fffdfa;
  --soft: #f5f7f1;
  --cream: #fff4df;
  --coral: #e85f4f;
  --green: #238060;
  --green-dark: #0f5b45;
  --mint: #dff4e7;
  --yellow: #f5c84c;
  --blue: #285f9f;
  --rose: #fff0ee;
  --shadow: 0 18px 45px rgba(27, 35, 31, 0.1);
  --shadow-strong: 0 26px 70px rgba(18, 33, 27, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, #fffdf8 0%, #ffffff 38%, #f8faf6 100%);
  overflow-x: hidden;
}

main {
  overflow: hidden;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 80px;
  padding: 0 4vw;
  border-bottom: 1px solid rgba(21, 23, 22, 0.08);
  background: rgba(255, 255, 252, 0.9);
  backdrop-filter: blur(18px);
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand > span:last-child {
  display: grid;
  gap: 2px;
}

.brand small {
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 700;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  font-size: 1.18rem;
  color: white;
  background:
    linear-gradient(135deg, var(--green-dark), var(--green) 56%, #7ebc6f);
  box-shadow: 0 12px 24px rgba(35, 128, 96, 0.22);
}

.nav {
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 80px;
  padding: 0 2px;
  border-bottom: 3px solid transparent;
  border-radius: 0;
}

.nav a:hover,
.nav-active {
  color: var(--green-dark);
  border-bottom-color: var(--green-dark);
  background: transparent;
}

.nav a::before {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 600;
}

.nav a[href="#modelos"]::before {
  content: "▦";
}

.nav a[href="#pedido"]::before {
  content: "▾";
  transform: rotate(-90deg);
}

.nav a[href="#painel"]::before {
  content: "□";
}

.top-whatsapp {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(15, 91, 69, 0.16);
  border-radius: 8px;
  color: var(--green-dark);
  background: white;
  box-shadow: 0 10px 22px rgba(18, 33, 27, 0.06);
  text-align: left;
}

.top-whatsapp::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 5px rgba(37, 211, 102, 0.14);
}

.top-whatsapp span {
  color: var(--muted);
  font-size: 0.82rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 91, 69, 0.14);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 8px 22px rgba(18, 33, 27, 0.06);
}

.hero {
  border-bottom: 1px solid rgba(21, 23, 22, 0.08);
  background: #fffdf8;
}

.slider-frame {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 430px;
  padding: 34px 4vw 36px;
  overflow: hidden;
  background-color: #fffdf8;
  background-image:
    linear-gradient(90deg, rgba(255, 253, 248, 0.97) 0%, rgba(255, 253, 248, 0.92) 35%, rgba(255, 253, 248, 0.28) 54%, rgba(255, 253, 248, 0) 72%),
    var(--slide-image);
  background-position: center, center;
  background-repeat: no-repeat;
  background-size: cover, cover;
}

.slider-copy {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  max-width: 650px;
  min-height: 360px;
  opacity: 1;
  transition: opacity 180ms ease, transform 180ms ease;
}

.slider-copy.is-changing {
  opacity: 0;
  transform: translateY(8px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.2rem, 3vw, 4rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1;
}

.slider-lines {
  display: grid;
  gap: 5px;
  max-width: 560px;
  margin: 10px 0 0;
}

.slider-lines p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
  color: rgba(21, 23, 22, 0.45);
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.slider-arrow::before {
  font-size: 42px;
  line-height: 1;
}

.slider-arrow-prev {
  left: 10px;
}

.slider-arrow-prev::before {
  content: "\2039";
}

.slider-arrow-next {
  right: 10px;
}

.slider-arrow-next::before {
  content: "\203A";
}

.slider-arrow:hover {
  color: var(--green-dark);
  background: white;
}

.slider-dots {
  position: absolute;
  z-index: 3;
  left: 4vw;
  bottom: 18px;
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 91, 69, 0.24);
  cursor: pointer;
}

.slider-dot.active {
  width: 28px;
  border-radius: 999px;
  background: var(--green-dark);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: 620px;
  margin-top: 18px;
  color: #42534b;
  font-size: 0.82rem;
  font-weight: 700;
}

.trust-row span {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.trust-row span::before {
  content: "";
  display: grid;
  flex: 0 0 26px;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 2px solid var(--green);
  border-radius: 7px;
  background: transparent;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.hero-cta {
  min-height: 58px;
  min-width: 260px;
  font-size: 1.04rem;
}

.hero-cta::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-right: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
}

.hero-cta::after {
  content: "›";
  margin-left: 24px;
  font-size: 1.6rem;
  line-height: 1;
}

.social-proof {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

.social-proof strong {
  color: #f4b018;
  letter-spacing: 0.04em;
}

.avatar-stack {
  display: flex;
  align-items: center;
}

.avatar-stack i {
  display: block;
  width: 28px;
  height: 28px;
  margin-right: -8px;
  border: 2px solid white;
  border-radius: 50%;
  background:
    radial-gradient(circle at 48% 34%, #ffe0c0 0 22%, transparent 23%),
    linear-gradient(135deg, #4169a7, #f4c26b);
  box-shadow: 0 4px 10px rgba(38, 36, 29, 0.12);
}

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

.primary {
  color: white;
  background:
    linear-gradient(135deg, var(--green-dark), var(--green));
  box-shadow: 0 14px 30px rgba(35, 128, 96, 0.24);
}

.secondary {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.92);
}

.pay {
  width: 100%;
  color: white;
  background: #08228f;
}

.payment-brand {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 4px 0;
}

.payment-brand img {
  display: block;
  width: 100%;
  max-width: 290px;
  max-height: 54px;
  object-fit: contain;
}

.wide {
  width: 100%;
}

.sticker-board {
  position: relative;
  display: grid;
  place-items: center;
  align-self: start;
  min-height: 390px;
  overflow: hidden;
}

.sticker-board::before {
  display: none;
}

.sticker-board img {
  position: relative;
  display: block;
  width: 100%;
  max-width: none;
  height: 390px;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  transform: none;
  filter: drop-shadow(0 22px 36px rgba(21, 23, 22, 0.1));
}

.sticker {
  position: absolute;
  display: grid;
  place-items: center;
  padding: 22px;
  text-align: center;
  border: 3px solid rgba(32, 33, 36, 0.1);
  background: white;
  box-shadow: var(--shadow);
}

.sticker span,
.sticker strong {
  display: block;
}

.round {
  top: 12px;
  left: 24px;
  width: 178px;
  height: 178px;
  border-radius: 50%;
  transform: rotate(-10deg);
  color: white;
}

.coral {
  background: var(--coral);
}

.tag {
  top: 76px;
  right: 0;
  width: 250px;
  min-height: 138px;
  border-radius: 8px;
  transform: rotate(7deg);
}

.tag strong {
  font-size: 1.5rem;
}

.square {
  left: 70px;
  bottom: 20px;
  width: 210px;
  min-height: 160px;
  border-radius: 8px;
  transform: rotate(4deg);
}

.mint {
  background: var(--mint);
}

.pill {
  right: 40px;
  bottom: 62px;
  min-width: 230px;
  min-height: 72px;
  border-radius: 999px;
  background: var(--yellow);
  transform: rotate(-5deg);
  font-weight: 800;
}

.section,
.order-section {
  padding: 22px 4vw;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 22px;
}

#modelos .section-heading,
.order-section .section-heading {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  max-width: calc(100% - 420px);
}

.model-card {
  display: grid;
  grid-template-columns: 145px minmax(0, 1fr);
  align-items: stretch;
  gap: 16px;
  min-height: 150px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 10px 26px rgba(18, 33, 27, 0.05);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.model-card:hover {
  transform: translateY(-2px);
  border-color: rgba(47, 125, 98, 0.55);
  box-shadow: 0 18px 42px rgba(18, 33, 27, 0.1);
}

.model-art {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 150px;
  margin: 0;
  border-radius: 0;
  object-fit: cover;
  padding: 0;
  background: #fff8f1;
}

.model-copy {
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px 18px 18px 0;
}

.model-copy strong {
  font-size: 1.12rem;
}

.model-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.model-copy em {
  margin-top: 6px;
  color: var(--green-dark);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 800;
}

.order-section {
  padding-top: 2px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8faf6 100%);
}

.order-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  align-items: start;
}

.form-panel,
.summary-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.form-panel {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  padding: 0;
}

.checkout-progress {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 26px;
  min-height: 100%;
  padding: 30px 20px;
  border: 0;
  border-right: 1px solid var(--line);
  border-radius: 0;
  background:
    linear-gradient(180deg, #fffdf9, #f5f7f1);
}

.checkout-progress span {
  position: relative;
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
}

.checkout-progress span:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 18px;
  top: 43px;
  width: 1px;
  height: 27px;
  background: var(--line);
}

.checkout-progress strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e7e2d8;
  color: var(--ink);
}

.form-content {
  display: grid;
  gap: 18px;
  padding: 30px;
}

.checkout-progress .active {
  color: var(--green-dark);
}

.checkout-progress .active strong {
  color: white;
  background: var(--green-dark);
}

.form-block-title {
  padding-top: 10px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

.item-builder .field-row {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.delivery-grid {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.cep-field {
  align-self: start;
}

.cep-field input {
  min-height: 46px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d9ded8;
  border-radius: 8px;
  background: #fffefc;
  color: var(--ink);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input,
select {
  min-height: 46px;
  padding: 0 12px;
}

textarea {
  resize: vertical;
  padding: 12px;
  line-height: 1.5;
}

.checkbox-label {
  align-content: center;
  grid-template-columns: 22px 1fr;
  min-height: 46px;
  margin-top: 24px;
}

.checkbox-label input {
  width: 18px;
  min-height: 18px;
  margin: 2px 0 0;
  accent-color: var(--green);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(47, 125, 98, 0.14);
}

.item-builder {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, #fbfdf9, #fffdfa);
}

.item-price-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(47, 125, 98, 0.22);
  border-radius: 8px;
  background: #effaf3;
  color: var(--muted);
  font-weight: 800;
}

.item-price-preview strong {
  color: var(--green-dark);
  font-size: 1.08rem;
}

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

.radio-field {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 800;
}

.shipping-radio-group {
  grid-template-columns: 1fr;
}

.shipping-options {
  display: grid;
  gap: 10px;
}

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

.shipping-option-card small {
  color: var(--muted);
  font-weight: 600;
}

.radio-card {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #d9ded8;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.radio-card:has(input:checked) {
  border-color: rgba(15, 91, 69, 0.36);
  background: #f1faf4;
  box-shadow: 0 0 0 3px rgba(35, 128, 96, 0.08);
}

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

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

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

.order-item {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(180px, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.order-item strong {
  color: var(--ink);
}

.order-item-files {
  display: grid;
  gap: 6px;
}

.order-item-files a {
  width: fit-content;
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
}

.remove-item {
  min-width: 36px;
  width: 36px;
  min-height: 36px;
  padding: 0;
}

.file-preview-list {
  display: grid;
  gap: 8px;
}

.file-preview-list a {
  display: inline-flex;
  width: fit-content;
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
}

.upload-box {
  display: grid;
  place-items: center;
  min-height: 132px;
  padding: 20px;
  border: 1px dashed rgba(15, 91, 69, 0.42);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 247, 241, 0.95));
  text-align: center;
  cursor: pointer;
}

.upload-box input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
}

.upload-box span {
  font-size: 1rem;
}

.upload-box small {
  color: var(--muted);
  font-weight: 600;
}

.summary-panel {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 15px;
  padding: 20px;
  border-color: rgba(15, 91, 69, 0.18);
  box-shadow: var(--shadow-strong);
  margin-top: -176px;
}

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

.summary-head span {
  display: block;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 800;
}

.summary-head strong {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.82rem;
}

.summary-head a {
  color: var(--green-dark);
  font-size: 0.86rem;
  font-weight: 800;
}

.preview-card {
  display: grid;
  place-items: center;
  min-height: 150px;
  padding: 22px;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(223, 244, 231, 0.92), rgba(255, 255, 255, 0.7)),
    repeating-linear-gradient(45deg, rgba(21, 23, 22, 0.06) 0 1px, transparent 1px 12px);
  border: 1px solid rgba(15, 91, 69, 0.12);
  text-align: center;
  font-size: 1.28rem;
  font-weight: 800;
}

.summary-panel .primary {
  min-height: 58px;
  font-size: 1rem;
}

.summary-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}

.summary-line strong {
  color: var(--ink);
}

.total-line {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 1.12rem;
}

.total-line strong {
  color: var(--green-dark);
  font-size: 1.22rem;
}

.fine-print {
  margin: 0;
  color: var(--muted);
  font-size: 0.83rem;
  line-height: 1.45;
}

.panel-tools {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 18px;
}

.refresh-orders-button {
  min-width: 130px;
}

.payment-return-section {
  padding-top: 42px;
}

.payment-return-card {
  display: grid;
  gap: 14px;
  max-width: 680px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.payment-return-card h2,
.payment-return-card p {
  margin: 0;
}

.admin-login {
  display: grid;
  min-height: calc(100vh - 72px);
  place-items: center;
  padding: 28px;
}

.admin-login-card {
  display: grid;
  gap: 18px;
  width: min(100%, 380px);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
}

.admin-login-card h1 {
  margin: 0;
  font-size: 2rem;
}

.orders-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.orders-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.admin-status-groups {
  display: grid;
  gap: 22px;
}

.admin-status-section {
  display: grid;
  gap: 10px;
}

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

.admin-status-heading h3 {
  margin: 0;
  font-size: 1.15rem;
}

.admin-status-heading span {
  display: grid;
  place-items: center;
  min-width: 34px;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  color: white;
  background: var(--green);
  font-weight: 800;
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

td {
  line-height: 1.45;
}

.status-select {
  min-width: 160px;
}

.tracking-field {
  margin-top: 10px;
  font-size: 0.78rem;
}

.tracking-input {
  min-width: 180px;
  margin-top: 6px;
}

.sync-order-button {
  width: 100%;
  margin-top: 10px;
}

.conditional-field small {
  color: var(--muted);
  font-weight: 600;
}

.hidden {
  display: none !important;
}

.empty-state {
  display: none;
  padding: 28px;
  color: var(--muted);
  text-align: center;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  max-width: 340px;
  padding: 14px 16px;
  border-radius: 8px;
  color: white;
  background: var(--ink);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

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

@media (max-width: 980px) {
  .order-form {
    grid-template-columns: 1fr;
  }

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

  .delivery-grid {
    grid-template-columns: 1fr;
  }

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

  .order-item-files {
    grid-column: 1 / -1;
  }

  .slider-frame {
    min-height: 470px;
    background-image:
      linear-gradient(90deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.9) 48%, rgba(255, 253, 248, 0.24) 78%),
      var(--slide-image);
  }

  .model-grid {
    grid-template-columns: 1fr;
    max-width: none;
  }

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

  .checkout-progress {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .checkout-progress span:not(:last-child)::after {
    display: none;
  }

  .summary-panel {
    position: static;
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 20px;
  }

  .nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: visible;
    padding-bottom: 2px;
  }

  .nav a {
    justify-content: center;
    padding: 0 8px;
    white-space: nowrap;
  }

  .nav a::before {
    display: none;
  }

  .top-whatsapp {
    width: 100%;
  }

  .section,
  .order-section {
    padding-inline: 20px;
  }

  .slider-frame {
    min-height: 620px;
    padding: 28px 20px 230px;
    background-image:
      linear-gradient(180deg, rgba(255, 253, 248, 0.98) 0%, rgba(255, 253, 248, 0.95) 52%, rgba(255, 253, 248, 0.28) 72%, rgba(255, 253, 248, 0) 100%),
      var(--slide-image);
    background-position: center, center bottom;
    background-size: cover, auto 280px;
  }

  .slider-copy {
    min-height: 0;
    max-width: none;
  }

  h1 {
    font-size: 2.05rem;
    line-height: 1.08;
  }

  .slider-lines p {
    font-size: 0.98rem;
  }

  .trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
  }

  .trust-row span {
    align-items: center;
    min-height: 42px;
    font-size: 0.78rem;
  }

  .field-row,
  .model-grid,
  .model-card {
    grid-template-columns: 1fr;
  }

  .model-art {
    min-height: 180px;
  }

  .item-builder .field-row {
    grid-template-columns: 1fr;
  }

  .checkout-progress {
    gap: 8px;
    padding: 16px;
  }

  .checkout-progress span {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    font-size: 0.78rem;
  }

  .form-content {
    padding: 20px;
  }

  .slider-arrow {
    top: auto;
    bottom: 110px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
  }

  .slider-dots {
    left: 20px;
    bottom: 20px;
  }

  .round {
    left: 0;
  }

  .tag {
    right: 0;
    width: 210px;
  }

  .square {
    left: 8px;
    bottom: 0;
  }

  .pill {
    right: 0;
    bottom: 44px;
    min-width: 190px;
  }

  .panel-tools {
    flex-direction: column;
  }
}
