:root {
  --mila-blush: #E8AFAF;
  --mila-blush-strong: #D99598;
  --mila-cream: #F5EFEA;
  --mila-nude: #D8B4A0;
  --mila-gold: #C9A368;
  --mila-gold-dark: #9D773D;
  --mila-ink: #5B4543;
  --mila-soft-ink: #7A6561;
  --mila-white: #FFFDFC;
  --mila-border: rgba(216, 180, 160, .40);
  --mila-shadow: 0 24px 70px rgba(111, 74, 72, .12);
  --mila-shadow-soft: 0 14px 42px rgba(111, 74, 72, .08);
  --mila-radius-xl: 42px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--mila-ink);
  background:
    radial-gradient(circle at 2% 7%, rgba(232,175,175,.16) 0 92px, transparent 94px),
    radial-gradient(circle at 98% 23%, rgba(201,163,104,.10) 0 68px, transparent 70px),
    var(--mila-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  min-width: 280px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .28;
  z-index: -1;
  background-image: radial-gradient(rgba(91,69,67,.12) .55px, transparent .55px);
  background-size: 9px 9px;
  mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 84%, transparent);
}

h1, h2, h3, .brand-serif { font-family: Georgia, "Times New Roman", serif; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; height: auto; }
::selection { background: rgba(232,175,175,.55); color: var(--mila-ink); }

/* --------------------------------------------------------------------------
   Acessibilidade e foco
   -------------------------------------------------------------------------- */
.skip-link {
  position: fixed;
  left: 1rem;
  top: -80px;
  z-index: 3000;
  background: var(--mila-ink);
  color: #fff;
  padding: .75rem 1rem;
  border-radius: 0 0 14px 14px;
  transition: top .2s ease;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid rgba(201,163,104,.65);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   Navegação
   -------------------------------------------------------------------------- */
.site-nav {
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(255,253,252,.75);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.site-nav.is-scrolled {
  background: rgba(255,253,252,.94);
  border-color: rgba(216,180,160,.35);
  box-shadow: 0 10px 35px rgba(91,69,67,.06);
}
.navbar-brand img { width: 122px; height: auto; display: block; }
.nav-link {
  color: var(--mila-ink);
  font-weight: 650;
  position: relative;
  padding-inline: .8rem !important;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: .8rem;
  right: .8rem;
  bottom: .25rem;
  height: 2px;
  border-radius: 999px;
  background: var(--mila-blush);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.nav-link:hover { color: #AD7476; }
.nav-link:hover::after { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   Botões
   -------------------------------------------------------------------------- */
.btn {
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn-mila {
  background: linear-gradient(135deg, var(--mila-blush), #DF9FA2);
  border: 1px solid var(--mila-blush);
  color: #fff;
  border-radius: 999px;
  padding: .82rem 1.25rem;
  font-weight: 750;
  box-shadow: 0 12px 28px rgba(232,175,175,.30);
}
.btn-mila:hover, .btn-mila:focus-visible {
  background: linear-gradient(135deg, #E5A4A6, #D89295);
  border-color: #D89295;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 15px 34px rgba(216,146,149,.34);
}
.btn-cream {
  background: rgba(245,239,234,.9);
  border: 1px solid #E8DCD3;
  color: var(--mila-ink);
  border-radius: 999px;
  padding: .82rem 1.25rem;
  font-weight: 720;
}
.btn-cream:hover { background: #EFE3DC; color: var(--mila-ink); transform: translateY(-2px); }
.btn-nav-cart {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 1px solid rgba(232,175,175,.65);
  background: rgba(255,255,255,.72);
  color: #A96F71;
  border-radius: 999px;
  padding: .58rem .8rem .58rem 1rem;
  font-weight: 750;
}
.btn-nav-cart:hover { background: var(--mila-blush); color: #fff; border-color: var(--mila-blush); }

/* --------------------------------------------------------------------------
   Hero principal
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 820px;
  display: grid;
  place-items: center;
  padding: 9rem 0 5.5rem;
  overflow: clip;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 42%, rgba(232,175,175,.17), transparent 26%),
    radial-gradient(circle at 78% 30%, rgba(201,163,104,.11), transparent 23%),
    linear-gradient(180deg, #FFFDFC 0%, #FFF9F8 60%, #FFFDFC 100%);
  z-index: -3;
}
.hero-modal {
  position: relative;
  max-width: 1000px;
  margin: auto;
  padding: clamp(2.3rem, 6vw, 5.4rem) clamp(1.4rem, 6vw, 5.4rem) clamp(2.1rem, 5vw, 4.2rem);
  background: rgba(245,239,234,.88);
  border: 1px solid rgba(216,180,160,.58);
  border-radius: var(--mila-radius-xl);
  box-shadow: var(--mila-shadow);
  text-align: center;
  isolation: isolate;
  backdrop-filter: blur(7px);
}
.hero-modal::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px dashed rgba(201,163,104,.22);
  border-radius: 33px;
  pointer-events: none;
  z-index: -1;
}
.hero-modal::after {
  content: "♡";
  position: absolute;
  right: 5%;
  bottom: 10%;
  font-family: Georgia, serif;
  font-size: 4.8rem;
  color: rgba(232,175,175,.22);
  transform: rotate(-14deg);
  z-index: -1;
}
.hero-logo { width: min(440px, 78vw); height: auto; margin: .8rem auto .65rem; display: block; }
.hero-kicker, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--mila-gold-dark);
  font-weight: 800;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.hero-kicker {
  border: 1px solid rgba(201,163,104,.34);
  background: rgba(255,255,255,.62);
  padding: .58rem .95rem;
  border-radius: 999px;
  text-transform: none;
  letter-spacing: .025em;
  font-size: .86rem;
}
.hero h1 {
  font-size: clamp(2.4rem, 5.1vw, 4.65rem);
  line-height: 1.01;
  letter-spacing: -.035em;
  margin: 1.15rem auto;
  max-width: 830px;
}
.hero p {
  color: var(--mila-soft-ink);
  max-width: 700px;
  margin: 0 auto 1.8rem;
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.75;
}
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; }
.hero-actions .btn { min-width: 190px; }
.hero-mini-features {
  margin: 2rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(216,180,160,.42);
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .75rem 1.8rem;
  color: var(--mila-soft-ink);
  font-size: .82rem;
}
.hero-mini-features b { color: var(--mila-gold-dark); margin-right: .35rem; font-family: Georgia, serif; }
.hero-bow-sticker {
  position: absolute;
  top: -48px;
  right: clamp(22px, 7vw, 74px);
  width: 104px;
  height: 104px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 14px 30px rgba(91,69,67,.10);
  transform: rotate(7deg);
  animation: float-soft 5.5s ease-in-out infinite;
}
.hero-tape {
  position: absolute;
  width: 74px;
  height: 23px;
  background: rgba(201,163,104,.24);
  border: 1px solid rgba(201,163,104,.15);
  backdrop-filter: blur(3px);
}
.hero-tape-left { left: 34px; top: -6px; transform: rotate(-12deg); }
.hero-tape-right { right: 38px; bottom: -7px; transform: rotate(8deg); }
.hero-blob {
  position: absolute;
  border-radius: 47% 53% 55% 45% / 56% 41% 59% 44%;
  z-index: -2;
  filter: blur(.2px);
  animation: blob-drift 10s ease-in-out infinite alternate;
}
.hero-blob-a { width: 310px; height: 310px; background: rgba(232,175,175,.30); left: -126px; bottom: 38px; }
.hero-blob-b { width: 230px; height: 230px; background: rgba(216,180,160,.18); right: -80px; top: 120px; animation-delay: -3s; }
.hero-ornament { position: absolute; pointer-events: none; color: var(--mila-blush); opacity: .8; font-family: Georgia, serif; animation: float-soft 6s ease-in-out infinite; }
.hero-star-a { left: 7%; top: 29%; font-size: 2.2rem; transform: rotate(13deg); }
.hero-star-b { right: 8%; bottom: 18%; color: var(--mila-gold); font-size: 2.6rem; animation-delay: -2s; }
.hero-heart { left: 11%; bottom: 15%; font-size: 2.5rem; animation-delay: -4s; }
.hero-loop {
  position: absolute;
  width: 98px;
  height: 46px;
  border: 8px solid rgba(232,175,175,.35);
  border-radius: 55% 45% 50% 50%;
  z-index: -1;
}
.hero-loop-a { right: 12%; top: 25%; transform: rotate(28deg); }
.hero-loop-b { left: 14%; top: 19%; transform: rotate(-36deg) scale(.7); border-color: rgba(201,163,104,.34); }

/* --------------------------------------------------------------------------
   Faixa da marca e seções gerais
   -------------------------------------------------------------------------- */
.brand-ribbon {
  overflow: hidden;
  background: var(--mila-blush);
  color: #fff;
  border-block: 1px solid rgba(255,255,255,.25);
  transform: rotate(-.5deg) scale(1.01);
}
.brand-ribbon-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: .95rem 0;
  font-family: Georgia, serif;
  font-size: 1.02rem;
  animation: marquee 28s linear infinite;
}
.brand-ribbon-track i { color: rgba(255,255,255,.78); font-style: normal; }

.section-pad { padding: 6.5rem 0; }
.section-title { font-size: clamp(2.15rem, 4.2vw, 3.85rem); line-height: 1.05; letter-spacing: -.025em; margin-bottom: 1rem; }
.section-copy { color: var(--mila-soft-ink); max-width: 720px; line-height: 1.8; font-size: 1.03rem; }

/* --------------------------------------------------------------------------
   Sobre / diferenciais
   -------------------------------------------------------------------------- */
.about-section { position: relative; }
.about-art { position: relative; max-width: 430px; margin-inline: auto; padding: 22px; }
.about-art-frame {
  position: relative;
  border-radius: 38% 62% 60% 40% / 42% 46% 54% 58%;
  overflow: hidden;
  background: linear-gradient(145deg, #F9EFEB, #F3E5E1);
  border: 1px solid var(--mila-border);
  box-shadow: var(--mila-shadow-soft);
}
.about-art-frame img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; transform: scale(1.04); }
.about-art::before {
  content: "";
  position: absolute;
  width: 165px;
  height: 165px;
  border: 28px solid rgba(201,163,104,.14);
  border-radius: 50%;
  left: -28px;
  top: -20px;
  z-index: -1;
}
.about-note {
  position: absolute;
  right: -2px;
  bottom: 14px;
  background: #fff;
  padding: 1rem 1.2rem;
  border-radius: 20px;
  box-shadow: 0 14px 35px rgba(91,69,67,.10);
  transform: rotate(-4deg);
  font-family: Georgia, serif;
  color: var(--mila-soft-ink);
}
.about-note strong { color: #B5787A; font-size: 1.15rem; }
.about-sparkle { position: absolute; top: 6%; right: 1%; color: var(--mila-gold); font-size: 2rem; animation: spin-soft 7s linear infinite; }

.promise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.2rem; }
.promise-card {
  background: rgba(255,255,255,.88);
  border: 1px solid var(--mila-border);
  border-radius: 28px;
  padding: 1.45rem;
  box-shadow: 0 12px 35px rgba(111,74,72,.055);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.promise-card:hover { transform: translateY(-5px) rotate(-.4deg); box-shadow: var(--mila-shadow-soft); border-color: rgba(232,175,175,.65); }
.promise-card:nth-child(2):hover { transform: translateY(-5px) rotate(.4deg); }
.promise-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 16px; background: var(--mila-cream); color: #B57C7D; font-size: 1.25rem; margin-bottom: 1rem; }
.promise-card h3 { font-size: 1.2rem; margin-bottom: .55rem; }
.promise-card p { color: var(--mila-soft-ink); font-size: .9rem; line-height: 1.65; margin: 0; }

/* --------------------------------------------------------------------------
   Catálogo
   -------------------------------------------------------------------------- */
.catalog-section {
  background:
    radial-gradient(circle at 9% 16%, rgba(232,175,175,.12), transparent 18%),
    linear-gradient(180deg, rgba(245,239,234,.83), rgba(255,253,252,1));
  position: relative;
  overflow: hidden;
}
.catalog-heading { display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.catalog-tip {
  max-width: 290px;
  background: rgba(255,255,255,.76);
  border: 1px dashed rgba(201,163,104,.45);
  border-radius: 20px;
  padding: 1rem 1.1rem;
  color: var(--mila-soft-ink);
  font-size: .9rem;
  transform: rotate(1.5deg);
}
.catalog-tip span { color: var(--mila-blush-strong); font-size: 1.3rem; margin-right: .35rem; }
.catalog-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; margin: 2.4rem 0 1.7rem; }
.filter-chips { display: flex; gap: .55rem; flex-wrap: wrap; }
.filter-chip {
  border: 1px solid rgba(216,180,160,.65);
  background: rgba(255,255,255,.82);
  border-radius: 999px;
  padding: .62rem 1rem;
  color: var(--mila-ink);
  font-weight: 700;
  transition: .2s ease;
}
.filter-chip.active, .filter-chip:hover { background: var(--mila-blush); border-color: var(--mila-blush); color: #fff; transform: translateY(-1px); }
.catalog-search-wrap {
  display: flex;
  align-items: center;
  gap: .35rem;
  min-width: min(100%, 300px);
  border: 1px solid rgba(216,180,160,.6);
  border-radius: 999px;
  background: #fff;
  padding-left: .9rem;
  color: var(--mila-gold-dark);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.catalog-search-wrap:focus-within { border-color: var(--mila-blush); box-shadow: 0 0 0 4px rgba(232,175,175,.14); }
.search-box { border: 0; background: transparent; padding: .72rem .85rem .72rem .2rem; width: 100%; outline: 0; color: var(--mila-ink); }
.catalog-doodle { position: absolute; font-family: Georgia, serif; opacity: .18; pointer-events: none; }
.catalog-doodle-a { right: 3%; top: 4%; color: var(--mila-blush); font-size: 8rem; transform: rotate(-17deg); }
.catalog-doodle-b { left: 2%; bottom: 5%; color: var(--mila-gold); font-size: 5rem; }

.product-card {
  height: 100%;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(216,180,160,.34);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 13px 42px rgba(111,74,72,.075);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
  position: relative;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 23px 58px rgba(111,74,72,.13); border-color: rgba(232,175,175,.62); }
.product-image-button { display: block; width: 100%; border: 0; padding: 0; background: transparent; text-align: inherit; }
.product-image-wrap { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--mila-cream); }
.product-image { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .3s ease; }
.product-card:hover .product-image { transform: scale(1.055); filter: saturate(1.04); }
.featured-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  background: rgba(255,253,252,.92);
  border: 1px solid rgba(201,163,104,.30);
  color: var(--mila-gold-dark);
  border-radius: 999px;
  padding: .42rem .7rem;
  font-size: .72rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(91,69,67,.08);
}
.product-view-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  background: rgba(91,69,67,.76);
  backdrop-filter: blur(4px);
  color: #fff;
  border-radius: 999px;
  padding: .45rem .72rem;
  font-size: .74rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(7px);
  transition: .25s ease;
}
.product-card:hover .product-view-hint { opacity: 1; transform: translateY(0); }
.product-body { padding: 1.35rem; display: flex; flex-direction: column; min-height: 270px; }
.product-category { color: var(--mila-gold-dark); font-weight: 850; font-size: .72rem; text-transform: uppercase; letter-spacing: .11em; }
.product-title { font-size: 1.5rem; margin: .35rem 0 .65rem; line-height: 1.1; }
.product-description { color: var(--mila-soft-ink); font-size: .92rem; line-height: 1.65; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product-/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */
footer { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1rem; }
.product-price { display: flex; flex-direction: column; gap: .12rem; color: #A36E70; }
.product-price strong { font-size: 1.03rem; }
.product-price small { font-weight: 600; color: var(--mila-soft-ink); font-size: .74rem; }
.btn-add-round {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid var(--mila-blush);
  border-radius: 17px;
  background: var(--mila-blush);
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  box-shadow: 0 9px 22px rgba(232,175,175,.27);
  transition: .2s ease;
}
.btn-add-round:hover { transform: rotate(5deg) scale(1.06); background: var(--mila-blush-strong); border-color: var(--mila-blush-strong); }
.btn-add-round.is-added { background: var(--mila-cream); color: #A66F71; border-color: var(--mila-nude); box-shadow: none; }
.catalog-empty { text-align: center; padding: 4rem 1rem; color: var(--mila-soft-ink); }
.catalog-empty > div { font-size: 3rem; color: var(--mila-blush); }
.catalog-empty h3 { color: var(--mila-ink); }

/* --------------------------------------------------------------------------
   Como funciona e CTA
   -------------------------------------------------------------------------- */
.how-section { background: #FFFDFC; }
.how-section .section-title { max-width: 720px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 3rem; }
.step-card {
  position: relative;
  min-height: 285px;
  border: 1px solid var(--mila-border);
  border-radius: 30px;
  padding: 2rem;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--mila-shadow-soft);
}
.step-card:nth-child(2) { transform: translateY(24px); background: var(--mila-cream); }
.step-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(232,175,175,.10);
  right: -45px;
  bottom: -55px;
}
.step-number { font-family: Georgia, serif; color: rgba(201,163,104,.58); font-size: 1rem; margin-bottom: 2rem; }
.step-icon { width: 58px; height: 58px; display: grid; place-items: center; background: #F9EEEE; color: #B8797B; border-radius: 20px; font-size: 1.45rem; margin-bottom: 1rem; }
.step-card h3 { font-size: 1.45rem; }
.step-card p { color: var(--mila-soft-ink); line-height: 1.7; margin-bottom: 0; }

.cta-card {
  background:
    radial-gradient(circle at 8% 20%, rgba(255,255,255,.13), transparent 26%),
    linear-gradient(135deg, #E8AFAF, #DB999D);
  color: #fff;
  border-radius: 40px;
  padding: clamp(2.2rem,5vw,4.3rem);
  position: relative;
  overflow: hidden;
  box-shadow: 0 22px 55px rgba(216,153,157,.22);
}
.cta-card::after { content: "♡"; position: absolute; right: 2%; bottom: -52px; font-family: Georgia, serif; font-size: 12rem; color: rgba(255,255,255,.13); transform: rotate(-12deg); }
.cta-card h2 { font-size: clamp(2rem, 4vw, 3.6rem); max-width: 760px; line-height: 1.05; }
.cta-card p { max-width: 680px; color: rgba(255,255,255,.82); margin-bottom: 0; }
.cta-kicker { text-transform: uppercase; font-size: .76rem; letter-spacing: .14em; font-weight: 800; margin-bottom: .75rem; }
.cta-card .btn { position: relative; z-index: 1; color: #A56F71; border-radius: 999px; font-weight: 800; }
.cta-sparkle { position: absolute; right: 18%; top: 12%; font-size: 2rem; color: rgba(255,255,255,.72); animation: spin-soft 6s linear infinite; }

.site-footer { padding: 3.6rem 0 1.6rem; border-top: 1px solid rgba(216,180,160,.28); background: #fff; }
.footer-main { display: grid; grid-template-columns: 1.6fr .8fr 1fr; gap: 2rem; align-items: start; }
.footer-logo { width: 135px; height: auto; }
.footer-main p { color: var(--mila-soft-ink); max-width: 380px; margin: .9rem 0 0; font-size: .92rem; }
.footer-links { display: grid; gap: .65rem; }
.footer-links a { color: var(--mila-soft-ink); text-decoration: none; }
.footer-links a:hover { color: #B47779; }
.footer-whatsapp { justify-self: end; text-decoration: none; font-weight: 800; color: #A86F71; border-bottom: 1px solid rgba(168,111,113,.35); padding-bottom: .2rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 2rem; margin-top: 2rem; border-top: 1px solid #F0E7E2; color: #9A8883; font-size: .78rem; }
.footer-bottom a { text-decoration: none; }

/* --------------------------------------------------------------------------
   Carrinho / orçamento
   -------------------------------------------------------------------------- */
.quote-fab {
  position: fixed;
  z-index: 1040;
  right: 1.2rem;
  bottom: max(1.2rem, calc(env(safe-area-inset-bottom, 0px) + .75rem));
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  background: linear-gradient(135deg, #E8AFAF, #D99195);
  color: #fff;
  padding: .68rem .72rem .68rem .84rem;
  box-shadow: 0 18px 42px rgba(175,114,115,.30);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  transition: transform .2s ease, box-shadow .2s ease;
}
.quote-fab:hover { transform: translateY(-3px); box-shadow: 0 22px 48px rgba(175,114,115,.36); }
.quote-fab-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.18); font-family: Georgia, serif; }
.quote-count { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border-radius: 999px; background: #fff; color: #B27677; font-size: .78rem; font-weight: 850; }
.btn-nav-cart:hover .quote-count { color: #B27677; }
.quote-canvas { --bs-offcanvas-width: min(465px, 96vw); background: #FFFDFC; }
.quote-header { padding: 1.35rem 1.4rem; border-bottom: 1px solid #EEE2DC; background: rgba(245,239,234,.64); }
.quote-scroll { padding: 0 1.4rem; overflow-y: auto; }
.quote-item { display: grid; grid-template-columns: 72px 1fr auto; gap: .9rem; align-items: center; border-bottom: 1px solid #EEE3DD; padding: 1rem 0; }
.quote-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 18px; background: var(--mila-cream); }
.quote-item-title { font-family: Georgia, serif; font-size: 1rem; line-height: 1.2; }
.quote-item-price { color: var(--mila-soft-ink); font-size: .78rem; margin-top: .2rem; }
.quote-qty { display: inline-flex; align-items: center; gap: .35rem; margin-top: .55rem; padding: .18rem; border: 1px solid #EADDD7; border-radius: 999px; background: #fff; }
.quote-qty button { border: 0; background: var(--mila-cream); color: #9F6C6E; width: 26px; height: 26px; border-radius: 50%; line-height: 1; font-weight: 900; }
.quote-qty span { min-width: 22px; text-align: center; font-size: .82rem; font-weight: 800; }
.quote-remove { border: 0; background: transparent; color: #B27B7D; font-size: 1.25rem; padding: .35rem; }
.quote-empty { text-align: center; padding: 4.5rem 1rem 3rem; color: var(--mila-soft-ink); }
.quote-empty-icon { font-family: Georgia, serif; font-size: 4rem; color: rgba(232,175,175,.72); line-height: 1; }
.quote-empty h3 { color: var(--mila-ink); font-size: 1.35rem; margin-top: 1rem; }
.quote-summary { margin: 1rem 0; background: var(--mila-cream); border: 1px solid #EADDD7; border-radius: 20px; padding: 1rem; }
.quote-summary > div { display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; padding: .2rem 0; }
.quote-summary p { margin: .65rem 0 0; color: var(--mila-soft-ink); font-size: .7rem; line-height: 1.5; }
.quote-form-wrap { padding: 1.25rem 1.4rem max(1.4rem, calc(env(safe-area-inset-bottom, 0px) + 1rem)); border-top: 1px solid #EEE2DC; background: #fff; }
.quote-clear { border: 0; background: transparent; color: #B7797B; font-size: .78rem; text-decoration: underline; text-underline-offset: 3px; }
.quote-disclaimer { margin: .85rem 0 0; color: var(--mila-soft-ink); text-align: center; font-size: .7rem; line-height: 1.5; }

/* --------------------------------------------------------------------------
   Modais, toast e formulários
   -------------------------------------------------------------------------- */
.product-modal .modal-content { border: 1px solid var(--mila-border); border-radius: 32px; overflow: hidden; box-shadow: var(--mila-shadow); background: #FFFDFC; }
.product-modal-close { position: absolute; right: 16px; top: 16px; z-index: 3; background-color: rgba(255,255,255,.92); border-radius: 50%; padding: .7rem; }
.product-modal-image-col { background: var(--mila-cream); min-height: 440px; }
.product-modal-image-col img { width: 100%; height: 100%; min-height: 440px; object-fit: cover; display: block; }
.product-modal-body { padding: clamp(1.8rem, 4vw, 3rem); display: flex; flex-direction: column; height: 100%; }
.product-modal-body h2 { font-size: clamp(2rem, 4vw, 3rem); margin: .5rem 0 1rem; }
.product-modal-body p { color: var(--mila-soft-ink); line-height: 1.75; }
.product-modal-price { margin-top: auto; padding-top: 1.3rem; color: #A36E70; font-weight: 850; font-size: 1.15rem; }
.product-modal-actions { display: grid; gap: .7rem; margin-top: 1rem; }
.product-modal-body > small { margin-top: .8rem; color: #98837F; font-size: .7rem; }

.mila-toast { background: #5B4543; color: #fff; border: 0; border-radius: 18px; box-shadow: 0 15px 40px rgba(91,69,67,.22); }

.form-control, .form-select {
  border-radius: 14px;
  border-color: #E4D8D1;
  padding: .75rem .9rem;
}
.form-control:focus, .form-select:focus { border-color: var(--mila-blush); box-shadow: 0 0 0 .2rem rgba(232,175,175,.15); }

/* --------------------------------------------------------------------------
   Área administrativa
   -------------------------------------------------------------------------- */
.admin-shell { background: #F8F5F3; min-height: 100vh; }
.admin-topbar { background: rgba(255,255,255,.94); border-bottom: 1px solid #EADFD8; backdrop-filter: blur(12px); }
.admin-card { border: 1px solid #EADFD8; border-radius: 22px; box-shadow: 0 8px 28px rgba(90,65,62,.06); }
.admin-thumb { width: 78px; height: 62px; object-fit: cover; border-radius: 12px; background: #eee; }
.admin-stat { position: relative; overflow: hidden; }
.admin-stat::after { content: "♡"; position: absolute; right: 12px; bottom: -28px; font-family: Georgia, serif; font-size: 5rem; color: rgba(232,175,175,.12); }

/* --------------------------------------------------------------------------
   Animações
   O conteúdo permanece visível se o JavaScript não carregar.
   -------------------------------------------------------------------------- */
.reveal { opacity: 1; transform: none; }
.reveal-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.65,.25,1); }
.reveal-ready .reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .10s; }
.reveal-delay-2 { transition-delay: .20s; }

@keyframes float-soft {
  0%,100% { translate: 0 0; rotate: 0deg; }
  50% { translate: 0 -8px; rotate: 2deg; }
}
@keyframes blob-drift {
  from { transform: translate3d(0,0,0) rotate(0deg); }
  to { transform: translate3d(18px,-14px,0) rotate(7deg); }
}
@keyframes spin-soft { to { transform: rotate(360deg); } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   PWA / instalação
   -------------------------------------------------------------------------- */
.btn-install-app {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .42rem;
  border: 1px solid rgba(201,163,104,.45);
  background: rgba(245,239,234,.82);
  color: var(--mila-gold-dark);
  border-radius: 999px;
  padding: .58rem .9rem;
  font-weight: 780;
  white-space: nowrap;
}
.btn-install-app:hover, .btn-install-app:focus-visible {
  background: #EFE3DC;
  color: var(--mila-ink);
  border-color: rgba(201,163,104,.72);
  transform: translateY(-1px);
}
.btn-install-app.is-install-ready { box-shadow: 0 8px 22px rgba(201,163,104,.16); }
.btn-install-app[hidden] { display: none !important; }
.install-download-icon {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(201,163,104,.14);
  line-height: 1;
}
.install-app-modal .modal-dialog { width: min(92vw, 480px); margin-inline: auto; }
.install-app-modal .modal-content {
  position: relative;
  border: 1px solid var(--mila-border);
  border-radius: 32px;
  background: #FFFDFC;
  overflow: hidden;
  box-shadow: var(--mila-shadow);
}
.install-app-modal .modal-content::before {
  content: "♡";
  position: absolute;
  right: -1rem;
  bottom: -3rem;
  font: 8rem/1 Georgia, serif;
  color: rgba(232,175,175,.10);
  pointer-events: none;
}
.install-modal-close { position: absolute; top: 1rem; right: 1rem; z-index: 2; }
.install-modal-body { position: relative; padding: clamp(1.5rem, 5vw, 2.5rem); text-align: center; }
.install-modal-icon { width: 88px; height: 88px; object-fit: cover; border-radius: 26px; box-shadow: 0 12px 30px rgba(91,69,67,.11); margin-bottom: 1rem; }
.install-modal-body h2 { font-size: clamp(2rem, 7vw, 2.7rem); margin: .55rem 0 .7rem; }
.install-modal-body > p { color: var(--mila-soft-ink); line-height: 1.65; }
.install-help-steps {
  text-align: left;
  display: grid;
  gap: .65rem;
  margin: 1.2rem 0;
  padding: 1rem 1rem 1rem 2.25rem;
  border: 1px solid #EADDD7;
  border-radius: 20px;
  background: var(--mila-cream);
  color: var(--mila-soft-ink);
}
.install-help-note { font-size: .76rem; }

/* --------------------------------------------------------------------------
   Responsividade — desktop amplo (>= 1600px)
   -------------------------------------------------------------------------- */
@media (min-width: 1600px) {
  .container { max-width: 1380px; }
  .hero { min-height: 880px; }
  .hero-modal { max-width: 1060px; }
  .section-pad { padding-block: 7rem; }
}

/* --------------------------------------------------------------------------
   Responsividade — notebook / tablet horizontal (<= 1199.98px)
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .hero { min-height: 760px; }
  .promise-grid { grid-template-columns: 1fr; gap: .8rem; }
  .promise-card { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 1rem; align-items: start; padding: 1.2rem 1.3rem; }
  .promise-card .promise-icon { grid-row: 1 / 3; margin-bottom: 0; }
  .promise-card h3, .promise-card p { margin-bottom: 0; }
  .cta-card { padding-inline: clamp(2rem, 5vw, 3.3rem); }
}

/* --------------------------------------------------------------------------
   Responsividade — tablet / navegação recolhida (<= 991.98px)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  html { scroll-padding-top: 78px; }
  .container { --bs-gutter-x: 2.25rem; }
  .site-nav .container { padding-block: .4rem !important; }
  .site-nav .navbar-collapse {
    max-height: calc(100dvh - 88px - env(safe-area-inset-top, 0px));
    overflow-y: auto;
    background: rgba(255,253,252,.98);
    border: 1px solid #EFE3DD;
    border-radius: 20px;
    padding: .8rem;
    margin-top: .65rem;
    box-shadow: var(--mila-shadow-soft);
  }
  .site-nav .navbar-nav { align-items: stretch !important; }
  .site-nav .nav-link { padding: .72rem .85rem !important; border-radius: 12px; }
  .site-nav .nav-link::after { display: none; }
  .site-nav .nav-link:hover { background: rgba(245,239,234,.7); }
  .btn-nav-cart, .btn-install-app { width: 100%; margin-top: .35rem; min-height: 44px; }

  .hero { min-height: auto; padding-top: 8.5rem; padding-bottom: 5rem; }
  .hero-modal { max-width: 820px; border-radius: 34px; }
  .hero-blob-a { width: 240px; height: 240px; }
  .hero-blob-b { width: 190px; height: 190px; }

  .about-art { max-width: 390px; margin-bottom: .5rem; }
  .promise-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .promise-card { display: block; padding: 1.25rem; }
  .promise-card .promise-icon { margin-bottom: .85rem; }

  .catalog-heading { align-items: start; flex-direction: column; gap: 1.1rem; }
  .catalog-tip { max-width: 100%; transform: none; }
  .catalog-toolbar { align-items: stretch; }
  .catalog-search-wrap { min-width: min(100%, 330px); }

  .steps-grid { grid-template-columns: 1fr; gap: 1rem; }
  .step-card, .step-card:nth-child(2) { min-height: auto; transform: none; }
  .step-card { display: grid; grid-template-columns: 58px minmax(0,1fr); column-gap: 1rem; padding: 1.5rem; }
  .step-number { position: absolute; right: 1.4rem; top: 1.2rem; margin: 0; }
  .step-icon { grid-row: 1 / 3; margin-bottom: 0; }
  .step-card h3 { margin-top: .15rem; }

  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-whatsapp { justify-self: start; }

  .product-modal .modal-dialog { max-width: min(94vw, 820px); }

  .admin-topbar .container { gap: .65rem; }
}

/* --------------------------------------------------------------------------
   Responsividade — celular grande / tablet pequeno (<= 767.98px)
   -------------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .container { --bs-gutter-x: 1.75rem; }
  .section-pad { padding: 4.8rem 0; }
  .section-title { font-size: clamp(2rem, 8vw, 3.05rem); }
  .section-copy { font-size: .98rem; line-height: 1.72; }

  .hero { padding-top: 8.1rem; padding-bottom: 4.4rem; }
  .hero-bow-sticker { width: 78px; height: 78px; top: -38px; right: 24px; border-radius: 22px; }
  .hero-mini-features { gap: .5rem 1rem; }
  .hero-ornament { opacity: .55; }

  .brand-ribbon-track { gap: 1rem; padding-block: .8rem; font-size: .92rem; }

  .promise-grid { grid-template-columns: 1fr; }
  .promise-card { display: grid; grid-template-columns: 48px minmax(0,1fr); }
  .promise-card .promise-icon { grid-row: 1 / 3; margin-bottom: 0; }

  .catalog-toolbar { flex-direction: column; gap: .8rem; }
  .filter-chips {
    width: calc(100% + var(--bs-gutter-x));
    max-width: calc(100vw - (var(--bs-gutter-x) / 2));
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    padding: .15rem calc(var(--bs-gutter-x) / 2) .4rem 0;
    margin-right: calc(var(--bs-gutter-x) / -2);
  }
  .filter-chips::-webkit-scrollbar { display: none; }
  .filter-chip { flex: 0 0 auto; }
  .catalog-search-wrap { width: 100%; min-width: 100%; }

  .product-modal .modal-dialog { margin: .75rem auto; max-width: calc(100vw - 1.5rem); }
  .product-modal-image-col { min-height: 290px; }
  .product-modal-image-col img { min-height: 290px; max-height: 360px; }
  .product-modal-body { padding: 1.5rem; }

  .cta-card { text-align: left; }
  .cta-card .btn { width: 100%; }
  .cta-sparkle { right: 10%; }

  .footer-main { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .quote-canvas { --bs-offcanvas-width: 100vw; }
  .quote-header { padding-inline: 1.15rem; }
  .quote-scroll { padding-inline: 1.15rem; }
  .quote-form-wrap { padding-inline: 1.15rem; }

  .install-app-modal .modal-dialog { width: calc(100vw - 1.5rem); }

  .admin-card { border-radius: 18px; }
  .admin-topbar .container { flex-wrap: wrap; }
  .admin-topbar .container > .d-flex { width: 100%; overflow-x: auto; padding-bottom: .1rem; scrollbar-width: none; }
  .admin-topbar .container > .d-flex::-webkit-scrollbar { display: none; }
}

/* --------------------------------------------------------------------------
   Responsividade — celulares (<= 575.98px)
   -------------------------------------------------------------------------- */
@media (max-width: 575.98px) {
  html { scroll-padding-top: 72px; }
  .container { --bs-gutter-x: 1.35rem; }
  .navbar-brand img { width: 104px; }
  .navbar-toggler { width: 44px; height: 44px; padding: .4rem; }

  .hero { padding-top: 7.5rem; padding-bottom: 3.9rem; }
  .hero-modal { padding: 2.25rem 1.15rem 1.65rem; border-radius: 28px; }
  .hero-modal::before { inset: 8px; border-radius: 22px; }
  .hero-modal::after { right: 2%; bottom: 8%; font-size: 3.8rem; }
  .hero-logo { width: min(360px, 78vw); margin-top: .65rem; }
  .hero-kicker { max-width: 100%; justify-content: center; line-height: 1.35; font-size: .72rem; padding: .52rem .75rem; }
  .hero h1 { font-size: clamp(2.15rem, 11.5vw, 3.2rem); margin-block: 1rem; }
  .hero p { font-size: .97rem; line-height: 1.65; margin-bottom: 1.4rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; min-width: 0; }
  .hero-mini-features { display: grid; grid-template-columns: 1fr; text-align: left; padding-inline: .4rem; margin-top: 1.5rem; padding-top: 1.1rem; }
  .hero-star-a, .hero-loop-b { display: none; }
  .hero-star-b { right: 4%; bottom: 10%; }
  .hero-heart { left: 4%; bottom: 10%; }
  .hero-loop-a { right: 4%; top: 18%; transform: rotate(28deg) scale(.72); }
  .hero-blob-a { left: -150px; bottom: 5px; }
  .hero-blob-b { right: -120px; top: 95px; }
  .hero-tape-left { left: 20px; }
  .hero-tape-right { right: 22px; }

  .about-art { max-width: 340px; padding: 15px; }
  .about-art::before { width: 120px; height: 120px; border-width: 20px; left: -10px; top: -10px; }
  .about-note { right: 2px; bottom: 5px; font-size: .78rem; padding: .75rem .85rem; border-radius: 16px; }
  .about-note strong { font-size: 1rem; }

  .catalog-doodle-a { font-size: 5rem; top: 2%; }
  .catalog-doodle-b { font-size: 3.7rem; }
  .product-card { border-radius: 24px; }
  .product-body { min-height: 0; padding: 1.2rem; }
  .product-title { font-size: 1.42rem; }
  .product-view-hint { opacity: 1; transform: none; }

  .step-card { grid-template-columns: 50px minmax(0,1fr); padding: 1.3rem; }
  .step-icon { width: 50px; height: 50px; border-radius: 17px; }
  .step-number { right: 1.1rem; top: 1rem; }

  .cta-card { border-radius: 30px; padding: 2rem 1.25rem; }
  .cta-card::after { font-size: 9rem; right: -8%; }
  .cta-card h2 { font-size: clamp(2rem, 10vw, 2.8rem); }

  footer { padding-top: 3rem; }
  .footer-main, .footer-bottom { gap: 1.2rem; }

  .quote-fab { right: max(.75rem, env(safe-area-inset-right, 0px)); padding: .63rem; }
  .quote-fab-label { display: none; }
  .quote-item { grid-template-columns: 62px minmax(0, 1fr) auto; gap: .7rem; }
  .quote-item img { width: 62px; height: 62px; border-radius: 15px; }
  .quote-summary > div { align-items: start; }

  .product-modal .modal-content { border-radius: 24px; }
  .product-modal-image-col { min-height: 230px; }
  .product-modal-image-col img { min-height: 230px; max-height: 300px; }
  .product-modal-body h2 { font-size: 2rem; }
  .product-modal-close { right: 12px; top: 12px; }

  .install-app-modal .modal-content { border-radius: 26px; }
  .install-modal-body { padding: 1.5rem 1.15rem; }
  .install-help-steps { padding-left: 2rem; }

  .admin-topbar .navbar-brand img { width: 92px !important; }
  .admin-topbar .container > .d-flex { gap: .4rem !important; }
  .admin-topbar .btn { white-space: nowrap; font-size: .76rem; }
  .admin-card { overflow-wrap: anywhere; }
  .admin-thumb { width: 60px; height: 52px; border-radius: 10px; }
}

/* --------------------------------------------------------------------------
   Responsividade — telas estreitas (<= 399.98px)
   -------------------------------------------------------------------------- */
@media (max-width: 399.98px) {
  .container { --bs-gutter-x: 1rem; }
  .hero { padding-top: 7rem; }
  .hero-modal { padding: 2rem .9rem 1.4rem; border-radius: 24px; }
  .hero-modal::before { inset: 6px; border-radius: 19px; }
  .hero-bow-sticker { width: 66px; height: 66px; top: -31px; right: 16px; border-radius: 18px; }
  .hero-kicker { font-size: .66rem; letter-spacing: .01em; }
  .hero h1 { font-size: clamp(2rem, 11.5vw, 2.7rem); }
  .hero-actions .btn { padding-inline: .9rem; font-size: .92rem; }
  .hero-mini-features { font-size: .76rem; }
  .section-pad { padding: 4rem 0; }
  .section-title { font-size: clamp(1.9rem, 9.5vw, 2.55rem); }
  .eyebrow { font-size: .68rem; letter-spacing: .1em; }
  .promise-card { grid-template-columns: 42px minmax(0,1fr); padding: 1rem; }
  .promise-icon { width: 42px; height: 42px; border-radius: 14px; }
  .filter-chip { padding: .56rem .82rem; font-size: .86rem; }
  .product-footer { gap: .6rem; }
  .btn-add-round { flex-basis: 44px; width: 44px; height: 44px; border-radius: 15px; }
  .quote-header, .quote-scroll, .quote-form-wrap { padding-left: .9rem; padding-right: .9rem; }
  .quote-item { grid-template-columns: 54px minmax(0, 1fr) 34px; gap: .55rem; }
  .quote-item img { width: 54px; height: 54px; }
  .quote-remove { width: 34px; height: 34px; }
  .quote-item-title { font-size: .94rem; }
  .quote-item-price { font-size: .72rem; }
  .quote-summary { padding: .85rem; }
  .quote-summary > div { font-size: .8rem; }
  .install-modal-icon { width: 76px; height: 76px; border-radius: 22px; }
}

/* --------------------------------------------------------------------------
   Telas baixas / modo paisagem
   -------------------------------------------------------------------------- */
@media (min-width: 992px) and (max-height: 720px) {
  .hero { min-height: 700px; padding-top: 7rem; padding-bottom: 3.5rem; }
  .hero-modal { padding-top: 2.5rem; padding-bottom: 2.2rem; }
  .hero-logo { width: min(350px, 42vw); }
  .hero h1 { font-size: clamp(2.35rem, 4.4vw, 3.8rem); margin-block: .85rem; }
  .hero-mini-features { margin-top: 1.3rem; padding-top: 1rem; }
}

@media (max-width: 991.98px) and (orientation: landscape) and (max-height: 540px) {
  .hero { padding-top: 6.7rem; padding-bottom: 2.5rem; }
  .hero-modal { padding-top: 2rem; padding-bottom: 1.5rem; }
  .hero-logo { width: min(300px, 46vw); }
  .hero h1 { font-size: clamp(2rem, 6vw, 2.8rem); }
  .hero-mini-features { margin-top: 1rem; }
  .site-nav .navbar-collapse { max-height: calc(100dvh - 74px); }
}

/* --------------------------------------------------------------------------
   Dispositivos de toque / sem hover
   -------------------------------------------------------------------------- */
@media (hover: none) {
  .product-view-hint { opacity: 1; transform: none; }
  .product-card:hover, .promise-card:hover, .promise-card:nth-child(2):hover, .btn:hover { transform: none; }
}

@media (pointer: coarse) {
  button, .btn, .nav-link, .filter-chip { min-height: 44px; }
  .quote-qty button { width: 32px; height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ========================================================================== 
   ADMIN / COMANDAS — quadro tipo pegboard
   ========================================================================== */
.admin-content { min-width: 0; }
.admin-nav-actions { min-width: 0; }
.btn-admin-orders {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #9f6669;
  background: #fff5f4;
  border: 1px solid rgba(232,175,175,.62);
  font-weight: 760;
}
.btn-admin-orders:hover, .btn-admin-orders.has-unread { background: var(--mila-blush); color: #fff; border-color: var(--mila-blush); }
.admin-order-badge { display: inline-grid; place-items: center; min-width: 21px; height: 21px; padding-inline: 5px; border-radius: 999px; background: #fff; color: #b26f73; font-size: .68rem; font-weight: 900; }
.btn-admin-orders:not(:hover):not(.has-unread) .admin-order-badge { background: var(--mila-blush); color: #fff; }
[data-enable-notifications].is-enabled { border-color: rgba(108,151,113,.35); background: #eff8ef; color: #537b57; }

.admin-stat-link { color: inherit; text-decoration: none; display: block; height: 100%; }
.admin-stat-link:hover .admin-card { transform: translateY(-3px); border-color: rgba(232,175,175,.7); box-shadow: var(--mila-shadow-soft); }
.admin-stat { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.admin-stat small { color: var(--mila-soft-ink); }
.admin-stat-orders::after { content: "🧾"; font-family: inherit; font-size: 3.2rem; bottom: -8px; opacity: .16; }

.dashboard-order-list { display: grid; }
.dashboard-order-row {
  display: flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
  color: var(--mila-ink);
  padding: .85rem .15rem;
  border-bottom: 1px dashed #eadfd8;
}
.dashboard-order-row:last-child { border-bottom: 0; }
.dashboard-order-row:hover { color: #a96f71; }
.dashboard-order-icon { width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 40px; border-radius: 14px; background: var(--mila-cream); }
.dashboard-order-row strong, .dashboard-order-row small { display: block; }
.dashboard-order-row small { color: var(--mila-soft-ink); margin-top: .12rem; }
.min-w-0 { min-width: 0; }

.order-page-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.25rem; }
.order-filter-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.order-filter-chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  color: var(--mila-ink);
  border: 1px solid #e8ddd6;
  background: rgba(255,255,255,.9);
  padding: .58rem .78rem;
  border-radius: 999px;
  font-weight: 720;
}
.order-filter-chip span { display: inline-grid; place-items: center; min-width: 25px; height: 25px; padding-inline: 6px; border-radius: 999px; background: var(--mila-cream); color: #9f6b6d; font-size: .75rem; }
.order-filter-chip:hover, .order-filter-chip.active { background: var(--mila-blush); border-color: var(--mila-blush); color: #fff; }
.order-filter-chip:hover span, .order-filter-chip.active span { background: #fff; }

.order-pinboard {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 10px solid #bd967b;
  border-radius: 26px;
  padding: clamp(2rem, 4vw, 3.5rem) clamp(1rem, 3vw, 2.25rem) clamp(1.5rem, 4vw, 2.5rem);
  background:
    radial-gradient(circle at 6px 6px, rgba(107,77,60,.10) 1.2px, transparent 1.4px) 0 0 / 13px 13px,
    linear-gradient(135deg, rgba(255,255,255,.10), transparent 45%),
    #d8b4a0;
  box-shadow: inset 0 0 0 3px rgba(255,255,255,.16), 0 18px 45px rgba(91,69,67,.15);
}
.order-pinboard::before, .order-pinboard::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 32px;
  background: rgba(245,239,234,.52);
  border: 1px solid rgba(201,163,104,.18);
  z-index: 2;
  pointer-events: none;
}
.order-pinboard::before { left: -28px; top: 12px; rotate: -15deg; }
.order-pinboard::after { right: -24px; bottom: 16px; rotate: -11deg; }
.order-pinboard-caption {
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  top: .55rem;
  color: rgba(91,69,67,.45);
  font: italic .78rem/1.2 Georgia, serif;
  letter-spacing: .04em;
}
.order-pinboard-caption span { color: rgba(170,103,105,.75); font-weight: 800; }
.order-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: clamp(1.15rem, 2vw, 1.75rem); }

.order-paper {
  --paper-rotate: 0deg;
  position: relative;
  min-width: 0;
  padding: 1.35rem 1.25rem 1.15rem;
  border: 1px solid rgba(129,95,82,.14);
  border-radius: 4px 4px 16px 5px;
  background:
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(216,180,160,.11) 29px 30px),
    #fffdf7;
  color: #5d4b47;
  box-shadow: 4px 8px 18px rgba(82,55,44,.16), 0 1px 0 rgba(255,255,255,.75) inset;
  transform: rotate(var(--paper-rotate));
  transform-origin: top center;
  transition: transform .22s ease, box-shadow .22s ease;
}
.order-paper:nth-child(4n+2) { background-color: #fff9f7; }
.order-paper:nth-child(4n+3) { background-color: #fffdf3; }
.order-paper:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 5px 13px 25px rgba(82,55,44,.20); z-index: 3; }
.order-paper.is-unread { box-shadow: 0 0 0 3px rgba(232,175,175,.75), 5px 12px 24px rgba(82,55,44,.18); }
.order-paper.is-unread::after { content: "nova ♡"; position: absolute; right: 1rem; top: -.72rem; background: var(--mila-blush); color: #fff; border-radius: 999px; padding: .22rem .55rem; font-size: .65rem; font-weight: 850; }
.order-pin {
  position: absolute;
  left: 50%;
  top: -11px;
  width: 22px;
  height: 22px;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe1e1 0 18%, #d9878c 22% 58%, #a65f63 62% 100%);
  box-shadow: 0 3px 4px rgba(75,47,42,.35), inset 0 1px 2px rgba(255,255,255,.75);
  z-index: 4;
}
.order-pin::after { content: ""; position: absolute; width: 7px; height: 8px; left: 7px; top: 17px; background: #8e6b60; clip-path: polygon(20% 0,80% 0,55% 100%,45% 100%); z-index: -1; }
.order-paper-head { display: flex; align-items: start; justify-content: space-between; gap: .8rem; border-bottom: 1px dashed #dccbc2; padding-bottom: .75rem; }
.order-code { color: #9e7770; font-weight: 830; font-size: .78rem; letter-spacing: .04em; }
.order-paper h2 { font: 1.55rem/1.05 Georgia, serif; margin: .28rem 0 0; overflow-wrap: anywhere; }
.order-status { flex: 0 0 auto; display: inline-flex; align-items: center; border-radius: 999px; padding: .34rem .55rem; font-size: .65rem; font-weight: 850; text-transform: uppercase; letter-spacing: .045em; border: 1px solid transparent; }
.order-status.is-new { color: #9c6769; background: #fff0f0; border-color: #f0d2d2; }
.order-status.is-approved { color: #577a5d; background: #edf6ee; border-color: #d1e5d4; }
.order-status.is-finished { color: #80652f; background: #f8f1df; border-color: #eadbb2; }
.order-status.is-cancelled { color: #7c7370; background: #f0eeed; border-color: #dfd9d6; }
.order-meta { display: flex; flex-wrap: wrap; gap: .45rem .85rem; padding: .65rem 0; color: #8a7771; font-size: .75rem; }
.order-items { display: grid; gap: .35rem; padding: .55rem 0 .8rem; }
.order-item-line { display: flex; align-items: baseline; justify-content: space-between; gap: .65rem; font-size: .84rem; }
.order-item-line > span { min-width: 0; overflow-wrap: anywhere; }
.order-item-line small { color: #9c827b; white-space: nowrap; }
.order-note { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: .45rem; margin: .25rem 0 .8rem; padding: .7rem .75rem; background: rgba(245,239,234,.72); border-radius: 12px; font-size: .8rem; }
.order-note p { margin: 0; line-height: 1.5; overflow-wrap: anywhere; }
.order-total { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; border-top: 1px dashed #dccbc2; padding-top: .65rem; font-size: .8rem; }
.order-total strong { color: #a46e70; font-size: 1rem; }
.order-paper-actions { margin-top: 1rem; display: grid; gap: .75rem; }
.order-status-actions { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .35rem; }
.order-status-actions form { min-width: 0; }
.order-action-btn { width: 100%; min-height: 38px; border: 1px solid #e4d7cf; border-radius: 10px; background: rgba(255,255,255,.82); color: #735f5a; font-size: .72rem; font-weight: 760; padding: .35rem .35rem; transition: .18s ease; }
.order-action-btn:hover:not(:disabled) { translate: 0 -1px; border-color: var(--mila-blush); background: #fff5f5; }
.order-action-btn.is-current, .order-action-btn:disabled { opacity: .58; cursor: default; }

.admin-users-list { display: grid; }
.admin-user-row { display: flex; align-items: center; gap: .85rem; padding: 1rem 0; border-bottom: 1px dashed #eadfd8; }
.admin-user-row:last-child { border-bottom: 0; }
.admin-user-avatar { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, #f8e6e5, #f4eee9); color: #a66e70; font: 700 1.3rem/1 Georgia, serif; }

/* Admin e quadro — tablet */
@media (max-width: 1199.98px) {
  .order-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .admin-notify-label { display: none; }
}

@media (max-width: 991.98px) {
  .admin-nav-actions { width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; padding-bottom: .12rem; }
  .admin-nav-actions::-webkit-scrollbar { display: none; }
  .admin-nav-actions > * { flex: 0 0 auto; }
  .order-page-heading { align-items: start; flex-direction: column; }
  .order-pinboard { border-width: 8px; }
}

/* Admin e quadro — celular */
@media (max-width: 767.98px) {
  .order-card-grid { grid-template-columns: 1fr; }
  .order-pinboard { margin-inline: calc(var(--bs-gutter-x, 1.5rem) / -2); border-radius: 18px; padding-inline: 1rem; }
  .order-pinboard-caption { display: none; }
  .order-filter-row { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: .35rem; margin-right: calc(var(--bs-gutter-x, 1.5rem) / -2); }
  .order-filter-row::-webkit-scrollbar { display: none; }
  .order-filter-chip { flex: 0 0 auto; }
  .order-paper { transform: none; }
  .dashboard-order-row { align-items: flex-start; }
}

@media (max-width: 479.98px) {
  .order-paper { padding: 1.2rem .95rem 1rem; }
  .order-paper-head { display: grid; grid-template-columns: minmax(0,1fr) auto; }
  .order-paper h2 { font-size: 1.35rem; }
  .order-item-line { display: grid; grid-template-columns: minmax(0,1fr); gap: .08rem; }
  .order-item-line small { white-space: normal; }
  .order-status-actions { grid-template-columns: 1fr; }
  .order-action-btn { min-height: 42px; }
  .admin-user-row { align-items: flex-start; flex-wrap: wrap; }
  .admin-user-row form { margin-left: 60px !important; }
}


/* ==========================================================================
   HOTFIX COMANDAS v3 — isolamento do rodapé + acabamento visual
   ========================================================================== */
.order-paper-actions {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.order-pinboard {
  min-height: 320px;
  background:
    radial-gradient(circle at 7px 7px, rgba(91,69,67,.12) 1.25px, transparent 1.5px) 0 0 / 14px 14px,
    radial-gradient(circle at 75% 15%, rgba(255,255,255,.10), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,.09), rgba(91,69,67,.035)),
    #d8b4a0;
}

.order-pinboard::before,
.order-pinboard::after {
  filter: drop-shadow(0 3px 3px rgba(91,69,67,.07));
}

.order-paper {
  overflow: visible;
}

.order-paper::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(115deg, rgba(255,255,255,.28), transparent 28%);
  opacity: .55;
}

.order-paper.is-approved {
  border-color: rgba(113,155,119,.26);
}
.order-paper.is-finished {
  border-color: rgba(201,163,104,.38);
}
.order-paper.is-cancelled {
  opacity: .78;
  filter: saturate(.72);
}

.order-paper-head,
.order-meta,
.order-items,
.order-note,
.order-total,
.order-paper-actions {
  position: relative;
  z-index: 1;
}

.order-item-line {
  padding-block: .15rem;
}

.order-note {
  border: 1px dashed rgba(216,180,160,.45);
}

.order-paper-actions > .btn {
  justify-self: start;
}

.order-status-actions form:nth-child(1) .order-action-btn {
  color: #4f7655;
  border-color: #cfe0d1;
  background: #f5fbf5;
}
.order-status-actions form:nth-child(2) .order-action-btn {
  color: #7e6330;
  border-color: #e6d8b7;
  background: #fffaf0;
}
.order-status-actions form:nth-child(3) .order-action-btn {
  color: #8d6464;
  border-color: #ead2d2;
  background: #fff7f7;
}

.order-status-actions form:nth-child(1) .order-action-btn:hover:not(:disabled) {
  background: #eaf6eb;
  border-color: #adcdb2;
}
.order-status-actions form:nth-child(2) .order-action-btn:hover:not(:disabled) {
  background: #f8efd9;
  border-color: #d4bd83;
}
.order-status-actions form:nth-child(3) .order-action-btn:hover:not(:disabled) {
  background: #faeaea;
  border-color: #dfb6b6;
}

.order-filter-row {
  position: relative;
  z-index: 2;
}

@media (max-width: 767.98px) {
  .order-pinboard {
    min-height: 0;
    border-width: 7px;
    box-shadow: inset 0 0 0 2px rgba(255,255,255,.14), 0 12px 32px rgba(91,69,67,.13);
  }

  .order-paper {
    border-radius: 5px 5px 15px 6px;
    box-shadow: 3px 7px 16px rgba(82,55,44,.15);
  }

  .order-page-heading .btn {
    min-height: 44px;
  }
}

@media (max-width: 399.98px) {
  .order-pinboard {
    margin-inline: -.5rem;
    padding-inline: .72rem;
  }
}


/* ==========================================================================
   ADMIN v4 - confirmação própria, avisos e ciclo de vida das comandas
   ========================================================================== */
html.admin-modal-open,
html.admin-modal-open body { overflow: hidden; }

.mila-confirm-layer[hidden] { display: none !important; }
.mila-confirm-layer {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(69,49,47,.46);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .17s ease;
}
.mila-confirm-layer.is-open { opacity: 1; }
.mila-confirm-card {
  position: relative;
  width: min(100%,470px);
  overflow: hidden;
  border: 1px solid rgba(216,180,160,.55);
  border-radius: 30px;
  padding: 2rem;
  background: radial-gradient(circle at 100% 0,rgba(232,175,175,.18),transparent 34%),#fffdfc;
  box-shadow: 0 28px 80px rgba(71,47,45,.25);
  transform: translateY(14px) scale(.975);
  transition: transform .2s cubic-bezier(.2,.7,.2,1);
}
.mila-confirm-layer.is-open .mila-confirm-card { transform: translateY(0) scale(1); }
.mila-confirm-card::after { content:"♡"; position:absolute; right:1.3rem; bottom:-.8rem; color:rgba(232,175,175,.16); font:5.5rem/1 Georgia,serif; pointer-events:none; }
.mila-confirm-close { position:absolute; right:1rem; top:1rem; z-index:2; width:38px; height:38px; border:0; border-radius:50%; background:var(--mila-cream); color:var(--mila-soft-ink); font-size:1.35rem; }
.mila-confirm-icon { width:62px; height:62px; display:grid; place-items:center; margin-bottom:1.2rem; border-radius:22px; background:linear-gradient(135deg,#f8e6e5,#fff4f2); color:#b67073; box-shadow:inset 0 0 0 1px rgba(232,175,175,.4); font:700 1.8rem/1 Georgia,serif; }
.mila-confirm-card h2 { margin:.45rem 0 .7rem; font-size:clamp(1.75rem,5vw,2.35rem); }
.mila-confirm-card > p { color:var(--mila-soft-ink); line-height:1.65; margin-bottom:1rem; }
.mila-confirm-note { position:relative; z-index:1; margin:.9rem 0 1.25rem; padding:.85rem 1rem; border:1px dashed rgba(201,163,104,.55); border-radius:16px; background:rgba(245,239,234,.72); color:#7a6561; font-size:.84rem; line-height:1.55; }
.mila-confirm-actions { position:relative; z-index:1; display:flex; justify-content:flex-end; gap:.65rem; }
.mila-confirm-accept { border:1px solid var(--mila-blush); border-radius:999px; padding:.72rem 1.15rem; background:var(--mila-blush); color:#fff; font-weight:800; }
.mila-confirm-accept:hover { background:var(--mila-blush-strong); border-color:var(--mila-blush-strong); color:#fff; }
.mila-confirm-layer[data-tone="danger"] .mila-confirm-icon { background:#fff0ef; color:#a85f62; }
.mila-confirm-layer[data-tone="danger"] .mila-confirm-accept { background:#b96f72; border-color:#b96f72; }
.mila-confirm-layer[data-tone="danger"] .mila-confirm-accept:hover { background:#a45e61; border-color:#a45e61; }

.admin-notice-stack { position:fixed; right:max(1rem,env(safe-area-inset-right,0px)); bottom:max(1rem,env(safe-area-inset-bottom,0px)); z-index:4100; display:grid; gap:.6rem; width:min(390px,calc(100vw - 2rem)); pointer-events:none; }
.admin-floating-notice { display:grid; grid-template-columns:26px minmax(0,1fr); align-items:center; gap:.65rem; padding:.9rem 1rem; border:1px solid #eadfd8; border-radius:18px; background:rgba(255,253,252,.98); color:var(--mila-ink); box-shadow:0 16px 40px rgba(91,69,67,.16); opacity:0; transform:translateY(12px); transition:.2s ease; }
.admin-floating-notice.is-visible { opacity:1; transform:translateY(0); }
.admin-notice-dot { width:26px; height:26px; display:grid; place-items:center; border-radius:9px; background:var(--mila-cream); color:var(--mila-gold-dark); }
.admin-floating-notice[data-tone="success"] .admin-notice-dot { background:#edf7ee; color:#5c7e61; }
.admin-floating-notice[data-tone="warning"] .admin-notice-dot { background:#fff4e4; color:#9c7437; }

.order-expiry { position:relative; z-index:1; display:flex; align-items:flex-start; gap:.5rem; margin-top:.6rem; padding:.65rem .75rem; border:1px dashed rgba(180,115,116,.40); border-radius:12px; background:#fff3f2; color:#8f6263; font-size:.74rem; line-height:1.45; }
.order-expiry.is-expired { opacity:.7; }
.order-pdf-download { display:inline-flex; align-items:center; gap:.35rem; font-weight:780; }

@media (max-width:575.98px) {
  .mila-confirm-card { padding:1.6rem 1.2rem 1.25rem; border-radius:24px; }
  .mila-confirm-actions { display:grid; grid-template-columns:1fr 1fr; }
  .mila-confirm-actions .btn,.mila-confirm-accept { width:100%; min-height:44px; }
}


/* ==========================================================================
   ADMIN PWA v1 - instalação restrita à área administrativa
   ========================================================================== */
.btn-admin-install {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: #9f6669;
  background: #fff7f6;
  border: 1px solid rgba(232,175,175,.62);
  font-weight: 760;
}
.btn-admin-install:hover,
.btn-admin-install.is-install-ready {
  color: #fff;
  background: var(--mila-blush);
  border-color: var(--mila-blush);
}
.btn-admin-install.is-install-ready::after {
  content: "•";
  color: #fff;
  font-size: .8rem;
}

.admin-install-layer[hidden] { display: none !important; }
.admin-install-layer {
  position: fixed;
  inset: 0;
  z-index: 4050;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(69,49,47,.46);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity .17s ease;
}
.admin-install-layer.is-open { opacity: 1; }
.admin-install-card {
  position: relative;
  width: min(100%, 480px);
  padding: 2rem;
  border: 1px solid rgba(216,180,160,.55);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0, rgba(232,175,175,.18), transparent 34%),
    #fffdfc;
  box-shadow: 0 28px 80px rgba(71,47,45,.25);
  transform: translateY(14px) scale(.975);
  transition: transform .2s cubic-bezier(.2,.7,.2,1);
}
.admin-install-layer.is-open .admin-install-card {
  transform: translateY(0) scale(1);
}
.admin-install-icon {
  width: 78px;
  height: 78px;
  margin-bottom: 1rem;
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(91,69,67,.12);
}
.admin-install-card h2 {
  margin: .45rem 0 .7rem;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
}
.admin-install-card > p {
  color: var(--mila-soft-ink);
  line-height: 1.65;
}
.admin-install-steps {
  margin: 1rem 0 1.35rem;
  padding: 1rem 1rem 1rem 2.2rem;
  display: grid;
  gap: .55rem;
  border: 1px dashed rgba(201,163,104,.5);
  border-radius: 18px;
  background: rgba(245,239,234,.72);
  color: #765f5b;
}
@media (max-width: 1199.98px) {
  .admin-install-label { display: none; }
}
@media (max-width: 575.98px) {
  .admin-install-card {
    padding: 1.55rem 1.15rem 1.2rem;
    border-radius: 24px;
  }
}
