@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
  --pzd-accent: #e33a25;
  --pzd-accent-dark: #bd2514;
  --pzd-highlight: #6f1d2a;
  --pzd-ink: #191716;
  --pzd-bg: #fffdfb;
  --pzd-success: #138a5b;
  --pzd-radius: 22px;
  --pzd-line: #ece8e4;
  --pzd-muted: #706b68;
  --pzd-cream: #f5efe5;
  --pzd-gold: #b99152;
  --pzd-card: #fffefa;
  --pzd-shadow: 0 24px 70px rgba(45, 31, 20, .11);
}

* { box-sizing: border-box; }
body.pzd-theme {
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 8% 14%, color-mix(in srgb, var(--pzd-accent) 4%, transparent), transparent 28rem),
    linear-gradient(180deg, color-mix(in srgb, var(--pzd-bg) 96%, #fff) 0%, var(--pzd-bg) 100%);
  color: var(--pzd-ink);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.pzd-theme a { color: inherit; }
body.pzd-theme button, body.pzd-theme input, body.pzd-theme textarea, body.pzd-theme select { font: inherit; }
button { cursor: pointer; }
/* iOS/Safari: fonte >= 16px nos campos evita o zoom automático ao focar. */
body.pzd-theme input,
body.pzd-theme textarea,
body.pzd-theme select,
.pzd-checkout input, .pzd-checkout textarea, .pzd-checkout select,
.pzd-search input,
.pzd-note-field textarea,
.pzd-chat-float__form input,
.pzd-chat-wa__form input,
.pzd-chat-reply input,
.pzd-chat-input input { font-size: 16px; line-height: 1.35; }

/* ---------------------------------------------------------------- topbar */
.pzd-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--pzd-bg) 88%, #fff);
  backdrop-filter: blur(18px) saturate(1.25);
  border-bottom: 1px solid color-mix(in srgb, var(--pzd-line) 72%, transparent);
  box-shadow: 0 8px 30px rgba(42, 29, 20, .035);
}
.pzd-topbar__inner { display: flex; align-items: center; justify-content: space-between; max-width: 1320px; margin: 0 auto; padding: 10px 24px; min-height: 76px; }
.pzd-topbar__brand { display: flex; align-items: center; gap: 15px; min-width: 0; text-decoration: none; font-weight: 800; }
.pzd-topbar__brand .custom-logo-link {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
}
.pzd-topbar__brand img,
.pzd-topbar .custom-logo {
  width: 56px !important;
  height: 56px !important;
  max-width: 56px;
  max-height: 56px;
  padding: 3px;
  object-fit: contain;
  object-position: center;
  border-radius: 14px;
}
.pzd-topbar__mark { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: var(--pzd-ink); font-size: 27px; }
.pzd-topbar__name { overflow: hidden; font-family: "Playfair Display", Georgia, serif; font-size: 20px; letter-spacing: -.02em; text-overflow: ellipsis; white-space: nowrap; }
.pzd-topbar__meta { display: flex; align-items: center; gap: 14px; font-size: 13px; }
.pzd-topbar__wa { text-decoration: none; font-weight: 700; color: var(--pzd-success); }
.pzd-open { color: var(--pzd-success); font-weight: 700; }
.pzd-open::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: var(--pzd-success); }
.pzd-open.is-closed, .pzd-open.is-closed::before { color: var(--pzd-accent); background: var(--pzd-accent); }
.pzd-open.is-closed { background: none; }
body.admin-bar .pzd-topbar { top: 32px; }

/* ---------------------------------------------------------------- store */
.pzd-store { max-width: 1180px; margin: 0 auto; padding: 0 20px 24px; }
.pzd-loading, .pzd-fatal { padding: 90px 20px; text-align: center; color: var(--pzd-muted); }
.pzd-eyebrow, .pzd-section__heading span { color: var(--pzd-accent); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }

.pzd-hero {
  position: relative;
  left: 50%;
  width: 100vw;
  margin: 0 0 34px;
  margin-left: -50vw;
  padding: 0;
}
.pzd-hero--cover {
  min-height: clamp(260px, 28vw, 360px);
  background-color: #1a1512;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-image:
    linear-gradient(90deg, rgba(18, 12, 8, .32), rgba(18, 12, 8, .06) 52%, rgba(18, 12, 8, .22)),
    linear-gradient(180deg, rgba(12, 8, 5, .18) 0%, rgba(12, 8, 5, .28) 100%),
    var(--pzd-hero-image);
}
.pzd-hero--cover::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(16, 10, 6, .08), rgba(16, 10, 6, .18));
}
.pzd-hero__stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  max-width: 1240px;
  min-height: inherit;
  margin: 0 auto;
  padding: 28px;
}
.pzd-hero--cover .pzd-hero__stage { transform: none; }
.pzd-hero__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  width: 100%;
  min-height: 0;
  padding: 22px 26px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 28px;
  background: rgba(255, 254, 250, var(--pzd-hero-card-alpha, .90));
  box-shadow: 0 20px 56px rgba(26, 16, 9, .22);
  backdrop-filter: blur(18px) saturate(1.15);
}
.pzd-hero:not(.pzd-hero--cover) {
  left: auto;
  width: auto;
  margin: 0 0 34px;
  margin-left: 0;
}
.pzd-hero:not(.pzd-hero--cover) .pzd-hero__stage { max-width: 1180px; padding: 28px 0 0; }
.pzd-hero:not(.pzd-hero--cover) .pzd-hero__card { border-color: var(--pzd-line); box-shadow: var(--pzd-shadow); }
.pzd-hero__brand { display: flex; align-items: center; gap: 24px; min-width: 0; }
.pzd-hero__logo {
  width: 88px;
  height: 88px;
  flex: 0 0 88px;
  padding: 8px;
  object-fit: contain;
  object-position: center;
  border: 1px solid color-mix(in srgb, var(--pzd-line) 78%, transparent);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(39, 24, 14, .14);
}
.pzd-hero__mark { display: grid; place-items: center; width: 88px; height: 88px; flex: 0 0 88px; border-radius: 20px; background: linear-gradient(145deg, #2b211a, #12100e); font-size: 36px; box-shadow: 0 10px 26px rgba(25, 18, 13, .2); }
.pzd-hero h1 { margin: 4px 0 5px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.04; letter-spacing: -.035em; }
.pzd-hero__sub { margin: 0 0 6px; color: var(--pzd-muted); max-width: 46ch; }
.pzd-hero__meta { margin: 0 0 8px; color: var(--pzd-muted); font-size: 13px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.pzd-hero__hours { font-size: 12px; }
.pzd-hero__badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pzd-hero__badges span { display: inline-flex; align-items: center; gap: 5px; border: 1px solid color-mix(in srgb, var(--pzd-gold) 25%, var(--pzd-line)); border-radius: 999px; padding: 7px 11px; font-size: 11px; font-weight: 700; background: #fbf8f2; color: var(--pzd-ink); }
.pzd-cart-button {
  position: relative;
  top: auto;
  right: auto;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 9px 11px;
  background: linear-gradient(145deg, #29221d, #12100e);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(20, 13, 8, .22);
  transition: transform .2s, box-shadow .2s;
}
.pzd-topbar__cart.pzd-cart-button { margin-left: 2px; }
.pzd-cart-button:hover { transform: translateY(-1px); box-shadow: 0 12px 22px rgba(20, 13, 8, .28); }
.pzd-cart-button span,
.pzd-cart-button__count {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  border-radius: 20px;
  background: var(--pzd-accent);
  font-size: 11px;
}
.pzd-cart-button__ico { background: transparent !important; min-width: 0; height: auto; font-size: 15px; line-height: 1; }
.pzd-store.pzd-cart-open .pzd-cart-button,
.pzd-store.pzd-cart-open .pzd-floating-cart {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Sacola só no cardápio — some no wizard de endereço (CEP/mapa) */
body:has(.pzd-dialog[open] .pzd-wiz) .pzd-floating-cart,
.pzd-store:has(.pzd-dialog[open] .pzd-wiz) .pzd-floating-cart,
.pzd-store.pzd-delivery-wiz-open .pzd-floating-cart {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translate(-50%, calc(100% + 32px)) !important;
}

.pzd-coupons { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(235px, 278px); gap: 14px; overflow-x: auto; margin: 0 0 30px; padding: 4px 2px 10px; scrollbar-width: thin; }
.pzd-coupon-card { display: grid; grid-template-columns: 92px 1fr; overflow: hidden; min-height: 104px; border: 1px solid color-mix(in srgb, var(--pzd-gold) 24%, var(--pzd-line)); border-radius: 18px; background: var(--pzd-card); box-shadow: 0 12px 30px rgba(48, 32, 20, .06); --pzd-promo-accent: var(--pzd-highlight); }
.pzd-coupon-card__off {
  display: grid; place-items: center; padding: 10px; color: #fff; text-align: center; font-size: 13px;
  background: var(--pzd-promo-accent) !important;
  background-image: none !important;
}
.pzd-coupon-card__body { display: grid; gap: 4px; align-content: center; padding: 12px 14px; }
.pzd-coupon-card__body code { font-weight: 800; font-size: 14px; }
.pzd-coupon-card__body small { color: var(--pzd-muted); font-size: 12px; }
.pzd-coupon-apply,
a.pzd-coupon-link {
  justify-self: start; border: 0; border-radius: 8px; padding: 7px 12px; color: #fff; font-weight: 700; font-size: 12px;
  background: var(--pzd-promo-accent) !important;
  background-image: none !important;
}
a.pzd-coupon-link { display: inline-flex; align-items: center; text-decoration: none; cursor: pointer; }

.pzd-topbar__account { border: 1px solid var(--pzd-line); background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 13px; }
.pzd-topbar__account:hover { border-color: var(--pzd-ink); }

.pzd-delivery-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(420px, 46vw);
  border: 1px solid var(--pzd-line);
  background: #f4f2f0;
  border-radius: 999px;
  padding: 8px 12px 8px 10px;
  font-weight: 600;
  font-size: 13px;
  color: var(--pzd-ink);
  text-align: left;
}
.pzd-delivery-chip.is-set { background: #fff; border-color: #e2ddd8; }
.pzd-delivery-chip__pin { color: var(--pzd-accent); font-size: 14px; flex-shrink: 0; }
.pzd-delivery-chip__text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pzd-delivery-chip__chev { color: var(--pzd-muted); font-size: 18px; line-height: 1; flex-shrink: 0; }

.pzd-promo-banner {
  display: grid;
  gap: 4px;
  margin: 0 0 26px;
  border-radius: var(--pzd-radius, 18px);
  padding: 18px 20px;
  background: linear-gradient(135deg, var(--pzd-ink), #2c2825);
  color: #fff;
}

.pzd-promo-banner strong {
  font-size: 16px;
}

.pzd-promo-banner p {
  margin: 0;
  opacity: .85;
  font-size: 14px;
  line-height: 1.45;
}

.pzd-promotions-slot:empty { display: none; }

.pzd-search { display: flex; align-items: center; gap: 12px; padding: 0 20px; border: 1px solid color-mix(in srgb, var(--pzd-gold) 18%, var(--pzd-line)); border-radius: 18px; background: var(--pzd-card); box-shadow: 0 12px 36px rgba(55, 37, 22, .07); transition: border-color .2s, box-shadow .2s; }
.pzd-search:focus-within { border-color: color-mix(in srgb, var(--pzd-accent) 45%, var(--pzd-line)); box-shadow: 0 15px 42px rgba(55, 37, 22, .11); }
.pzd-search span { font-size: 26px; transform: rotate(-14deg); color: var(--pzd-muted); }
.pzd-search input { width: 100%; border: 0; outline: 0; background: transparent; padding: 16px 0; }
.pzd-categories { display: flex; gap: 9px; margin: 18px 0 26px; overflow-x: auto; scrollbar-width: none; }
.pzd-categories::-webkit-scrollbar { display: none; }
.pzd-categories button { flex: none; border: 1px solid var(--pzd-line); border-radius: 99px; padding: 10px 18px; background: var(--pzd-card); color: var(--pzd-muted); font-size: 13px; font-weight: 700; transition: .2s; }
.pzd-categories button:hover { border-color: var(--pzd-gold); color: var(--pzd-ink); }
.pzd-categories button.active { border-color: #211a16; background: linear-gradient(145deg, #2c241e, #14110f); color: #fff; box-shadow: 0 8px 20px rgba(28, 19, 13, .15); }

.pzd-section { margin: 0 0 42px; }
.pzd-section__heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 15px; }
.pzd-section__heading h2 { margin: 3px 0 0; font-family: "Playfair Display", Georgia, serif; font-size: clamp(26px, 3vw, 34px); letter-spacing: -.025em; }
.pzd-section__heading small { color: var(--pzd-muted); }

/* promos carousel */
.pzd-promos { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.pzd-promos::-webkit-scrollbar { display: none; }
.pzd-promo-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid color-mix(in srgb, var(--pzd-gold) 18%, var(--pzd-line)); border-radius: var(--pzd-radius); background: var(--pzd-card); color: inherit; text-decoration: none; cursor: pointer; box-shadow: 0 12px 30px rgba(51, 34, 20, .055); transition: transform .25s, box-shadow .25s; }
.pzd-promo-card:hover { transform: translateY(-5px); box-shadow: 0 22px 46px rgba(49, 32, 19, .13); }
.pzd-promo-card__img { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; height: auto; overflow: hidden; background: linear-gradient(145deg, #f5eee3, #eee2d2); font-size: 44px; }
.pzd-promo-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.pzd-promo-card__badge { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--pzd-accent, #e33a25); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 5px 9px; border-radius: 999px; }
.pzd-promo-card__body { padding: 14px 16px 18px; }
.pzd-promo-card__body h3 { margin: 0 0 8px; font-size: 15px; }

.pzd-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pzd-product { display: flex; align-items: stretch; min-height: 0; overflow: hidden; border: 1px solid color-mix(in srgb, var(--pzd-gold) 17%, var(--pzd-line)); border-radius: var(--pzd-radius); background: var(--pzd-card); color: inherit; text-decoration: none; cursor: pointer; box-shadow: 0 10px 28px rgba(51, 34, 20, .05); transition: transform .25s, box-shadow .25s, border-color .25s; }
.pzd-product:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--pzd-gold) 42%, var(--pzd-line)); box-shadow: 0 22px 48px rgba(49, 32, 19, .12); }
.pzd-product__content { flex: 1; padding: 18px 16px 18px 20px; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.pzd-product__content h3 { margin: 9px 0 8px; font-family: "Playfair Display", Georgia, serif; font-size: 20px; line-height: 1.2; letter-spacing: -.015em; }
.pzd-product__content p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--pzd-muted); font-size: 13px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.pzd-tag { display: inline-block; border: 1px solid color-mix(in srgb, var(--pzd-gold) 32%, transparent); border-radius: 99px; padding: 5px 9px; background: #fbf3e6; color: #795b2d; font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pzd-price { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.pzd-price del { color: #9b9692; font-size: 12px; }
.pzd-price strong { font-size: 16px; }
/* Molde fixo 1:1 — qualquer foto anexada preenche o mesmo quadro */
.pzd-product__visual {
  position: relative;
  flex: 0 0 168px;
  width: 168px;
  min-width: 168px;
  height: 168px;
  aspect-ratio: 1 / 1;
  align-self: center;
  margin: 12px 12px 12px 0;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg, #f5eee3, #eee2d2);
}
.pzd-product__visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.pzd-product__visual > span:not(.pzd-product__add) { display: grid; place-items: center; width: 100%; height: 100%; font-size: 52px; }
.pzd-product__add { position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 40px; height: 40px; border: 3px solid #fff; border-radius: 50%; background: var(--pzd-accent); color: #fff; font-size: 24px; box-shadow: 0 8px 20px rgba(70, 27, 19, .3); z-index: 1; }
.pzd-no-results { padding: 70px 20px; text-align: center; color: var(--pzd-muted); }

/* Pizza: broto / inteira / meia a meia */
.pzd-pizza-formats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 14px;
}
.pzd-pizza-format {
  display: grid;
  gap: 2px;
  text-align: left;
  border: 1px solid var(--pzd-line);
  background: #fff;
  border-radius: 14px;
  padding: 12px 10px;
  color: inherit;
}
.pzd-pizza-format strong { font-size: 14px; }
.pzd-pizza-format small { color: var(--pzd-muted); font-size: 11px; line-height: 1.3; }
.pzd-pizza-format span { color: var(--pzd-accent); font-size: 11px; font-weight: 700; }
.pzd-pizza-format.is-active {
  border-color: var(--pzd-ink);
  background: #191716;
  color: #fff;
}
.pzd-pizza-format.is-active small,
.pzd-pizza-format.is-active span { color: #f0ebe6; }
.pzd-pizza-half { margin: 0 0 18px; padding: 14px 14px 12px; border: 1px solid var(--pzd-line); border-radius: 16px; background: #faf8f6; }
.pzd-pizza-half__head { margin: 0 0 10px; }
.pzd-pizza-half__title { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .02em; }
.pzd-pizza-half__sub { margin: 4px 0 0; color: var(--pzd-muted); font-size: 12px; line-height: 1.35; }
.pzd-pizza-half__sub strong { color: var(--pzd-ink); font-weight: 700; }
.pzd-pizza-half__empty { margin: 0; color: var(--pzd-muted); font-size: 13px; line-height: 1.45; }
.pzd-pizza-half__lead { margin: 0 0 8px; font-size: 13px; }
.pzd-pizza-flavors { display: grid; gap: 6px; max-height: min(42vh, 280px); overflow: auto; padding-right: 2px; }
.pzd-pizza-flavor {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 10px;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.pzd-pizza-flavor:hover { border-color: color-mix(in srgb, var(--pzd-line) 70%, var(--pzd-ink)); }
.pzd-pizza-flavor.is-active { border-color: var(--pzd-ink); background: #fff; box-shadow: inset 0 0 0 1px var(--pzd-ink); }
.pzd-pizza-flavor input { margin: 0; accent-color: var(--pzd-ink); }
.pzd-pizza-flavor__main { display: grid; gap: 2px; min-width: 0; }
.pzd-pizza-flavor__main strong { font-size: 14px; font-weight: 700; line-height: 1.2; }
.pzd-pizza-flavor__main small { color: var(--pzd-muted); font-size: 11px; line-height: 1.3; }
.pzd-pizza-flavor__price { display: grid; justify-items: end; gap: 1px; text-align: right; }
.pzd-pizza-flavor__price em { font-style: normal; font-size: 13px; font-weight: 800; letter-spacing: -.01em; }
.pzd-pizza-flavor__price small { color: var(--pzd-muted); font-size: 10px; text-transform: lowercase; }
.pzd-pizza-flavor__body { display: grid; gap: 2px; }
.pzd-pizza-flavor__body small { color: var(--pzd-muted); font-size: 12px; }
@media (max-width: 520px) {
  .pzd-pizza-formats { grid-template-columns: 1fr; }
}

/* floating cart — sempre fixo no fundo da viewport */
.pzd-floating-cart {
  position: fixed;
  z-index: 55;
  left: 50%;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: min(560px, calc(100% - 28px));
  border: 0;
  border-radius: 17px;
  padding: 12px 18px;
  background: var(--pzd-accent);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 12px 30px #a62e1f55;
  transform: translate(-50%, calc(100% + 32px));
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: transform .28s ease, opacity .22s ease, visibility .22s;
}
.pzd-floating-cart.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

/* overlay + drawer */
.pzd-overlay { position: fixed; z-index: 1300; inset: 0; background: #19171680; opacity: 0; backdrop-filter: blur(3px); transition: opacity .22s; }
.pzd-overlay.is-open { opacity: 1; }
.pzd-drawer { position: fixed; z-index: 1301; top: 0; right: 0; display: flex; flex-direction: column; width: min(460px, 100%); height: 100dvh; background: var(--pzd-bg); box-shadow: -15px 0 60px #0002; transform: translateX(105%); transition: transform .25s ease; }
.pzd-drawer.is-open { transform: translateX(0); }
.pzd-drawer header, .pzd-checkout header, .pzd-product-modal__body h2 { }
.pzd-drawer header, .pzd-checkout header { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 20px 20px 16px; border-bottom: 1px solid var(--pzd-line); }
.pzd-drawer header span, .pzd-checkout header span { color: var(--pzd-accent); font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.pzd-checkout header > div { flex: 1; min-width: 0; text-align: center; }
.pzd-checkout-back { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--pzd-line); background: #fff; color: var(--pzd-ink); font-weight: 700; font-size: 13px; border-radius: 10px; padding: 9px 12px; cursor: pointer; }
.pzd-checkout-back:hover { border-color: var(--pzd-accent); color: var(--pzd-accent); }
.pzd-checkout header .pzd-close { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #f2f4f7; }
.pzd-checkout header .pzd-close:hover { background: #e6e8ec; }
.pzd-drawer h2, .pzd-checkout h2 { margin: 3px 0 0; font-size: 24px; }
.pzd-close { border: 0; background: transparent; color: var(--pzd-ink); font-size: 30px; line-height: 1; }
.pzd-cart-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.pzd-cart-item { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--pzd-line); }
.pzd-cart-item__info small { display: block; margin-top: 3px; color: var(--pzd-accent); font-size: 12px; }
.pzd-cart-item__info em { display: block; margin-top: 3px; color: var(--pzd-muted); font-size: 12px; }
.pzd-cart-item__price { display: block; margin-top: 5px; color: var(--pzd-muted); font-size: 13px; }
.pzd-cart-item__qty-explain { display: block; margin-top: 3px; color: #9a3412; font-size: 12px; font-weight: 700; }
.pzd-cart-qty-note { margin: 6px 0 0; font-size: 12px; color: var(--pzd-muted); line-height: 1.35; }
.pzd-qty-hint { margin: 8px 0 0; padding: 8px 10px; border-radius: 10px; background: #fff7ed; color: #9a3412; font-size: 12px; line-height: 1.4; }
.pzd-price-unit { display: inline-block; margin-left: 4px; font-size: 12px; font-weight: 600; color: var(--pzd-muted); }
.pzd-dialog:has(.pzd-qty-confirm) {
  width: min(440px, calc(100% - 24px));
  max-height: min(92dvh, 720px);
  padding: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
.pzd-qty-confirm {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 22px 20px calc(18px + env(safe-area-inset-bottom, 0px));
}
.pzd-qty-confirm__head { margin-bottom: 16px; }
.pzd-qty-confirm__eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pzd-gold);
}
.pzd-qty-confirm h2 {
  margin: 0 0 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 4.5vw, 1.6rem);
  line-height: 1.15;
  letter-spacing: -.02em;
}
.pzd-qty-confirm__lead {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--pzd-muted);
}
.pzd-qty-confirm__lead strong { color: var(--pzd-ink); font-weight: 800; }
.pzd-qty-confirm__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  max-height: min(42dvh, 320px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.pzd-qty-confirm__item {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 10px 14px;
  padding: 14px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, var(--pzd-cream) 160%);
  border: 1px solid color-mix(in srgb, var(--pzd-line) 85%, transparent);
}
.pzd-qty-confirm__main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}
.pzd-qty-confirm__name {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  word-break: break-word;
}
.pzd-qty-confirm__badge {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}
.pzd-qty-confirm__meta {
  font-size: 12px;
  color: var(--pzd-muted);
  font-weight: 600;
}
.pzd-qty-confirm__line-total {
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  text-align: right;
}
.pzd-qty-confirm__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 16px 0 14px;
  padding-top: 14px;
  border-top: 1px solid var(--pzd-line);
  font-size: 1.05rem;
  font-weight: 800;
}
.pzd-qty-confirm__actions {
  display: flex;
  flex-direction: column-reverse;
  gap: 8px;
}
.pzd-qty-confirm__actions .pzd-primary,
.pzd-qty-confirm__actions .pzd-secondary {
  width: 100%;
  min-height: 48px;
  justify-content: center;
}
@media (min-width: 520px) {
  .pzd-qty-confirm { padding: 26px 24px 22px; }
  .pzd-qty-confirm__actions {
    flex-direction: row;
    flex-wrap: nowrap;
  }
  .pzd-qty-confirm__actions .pzd-secondary { order: 1; flex: 1 1 40%; }
  .pzd-qty-confirm__actions .pzd-primary { order: 2; flex: 1 1 55%; }
}
@media (max-width: 519px) {
  .pzd-dialog:has(.pzd-qty-confirm) {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 16px);
    border-radius: 20px;
  }
  .pzd-qty-confirm__item {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .pzd-qty-confirm__line-total {
    text-align: left;
    font-size: 16px;
    padding-top: 2px;
  }
  .pzd-qty-confirm__list {
    max-height: min(48dvh, 360px);
  }
}
.pzd-stepper { display: flex; align-items: center; gap: 11px; padding: 4px; border: 1px solid var(--pzd-line); border-radius: 99px; }
.pzd-stepper button { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: var(--pzd-ink); color: #fff; font-size: 18px; }
.pzd-drawer footer { padding: 20px 24px 24px; border-top: 1px solid var(--pzd-line); background: #fff; }
.pzd-cart-total { display: flex; justify-content: space-between; font-size: 18px; }
.pzd-drawer footer small { display: block; margin: 5px 0 14px; color: var(--pzd-muted); }
.pzd-cart-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pzd-whatsapp-checkout { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; border: 0; border-radius: 12px; padding: 14px 18px; background: #1fa855; color: #fff; font-weight: 800; cursor: pointer; }
.pzd-whatsapp-checkout:hover { background: #178a45; }
.pzd-whatsapp-checkout span { color: #fff; font-size: 11px; }
.pzd-empty-cart { padding: 80px 10px; text-align: center; color: var(--pzd-muted); }
.pzd-primary { width: 100%; border: 0; border-radius: 12px; padding: 15px 18px; background: var(--pzd-ink); color: #fff; font-weight: 800; }
.pzd-primary:hover { background: #302c29; }
.pzd-primary:disabled { opacity: .6; cursor: wait; }
.pzd-secondary { width: 100%; border: 1px solid var(--pzd-line); border-radius: 12px; padding: 15px 18px; background: #fff; color: var(--pzd-ink); font-weight: 800; }
.pzd-secondary:hover { border-color: #cfc8c2; background: #faf8f6; }

/* dialog (product / checkout / success) */
/* Modal sempre acima do hero/produtos (fix z-index) */
.pzd-dialog,
.pzd-delivery-dialog {
  z-index: 2147483000;
}
.pzd-dialog::backdrop,
.pzd-delivery-dialog::backdrop {
  z-index: 2147482999;
}
body.pzd-modal-open .pzd-dialog,
body.pzd-modal-open .pzd-delivery-dialog {
  pointer-events: auto;
}

.pzd-dialog { width: min(760px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0; overflow: hidden; border: 0; border-radius: 24px; background: var(--pzd-bg); color: var(--pzd-ink); box-shadow: 0 24px 80px #0003; }
.pzd-dialog::backdrop { background: #19171699; backdrop-filter: blur(4px); }

.pzd-product-modal { display: flex; flex-direction: column; max-height: calc(100dvh - 24px); }
.pzd-product-modal .pzd-close { position: absolute; top: 14px; left: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 4px 12px #0002; }
/* Molde padrão ao abrir o produto — independente da dimensão da foto */
.pzd-product-modal__img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: 200px;
  max-height: min(42vh, 340px);
  overflow: hidden;
  background: #f4efe9;
  display: grid;
  place-items: center;
  font-size: 70px;
  flex: 0 0 auto;
}
.pzd-product-modal__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.pzd-product-modal__body { flex: 1; overflow-y: auto; padding: 22px 26px; }
.pzd-product-modal__body h2 { margin: 0 0 8px; font-size: 26px; }
.pzd-product-modal__body > p { color: var(--pzd-muted); margin: 0 0 18px; }
.pzd-addons { margin: 0 0 18px; border: 1px solid var(--pzd-line); border-radius: 14px; padding: 8px 16px; }
.pzd-addons legend { padding: 0 6px; font-weight: 800; }
.pzd-addon { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--pzd-line); }
.pzd-addon:last-child { border-bottom: 0; }
.pzd-addon span:first-child { flex: 1; }
.pzd-addon__price { color: var(--pzd-muted); font-size: 13px; }
.pzd-note-field, .pzd-checkout__body label { display: block; color: var(--pzd-muted); font-size: 12px; font-weight: 700; }
.pzd-note-field textarea { width: 100%; margin-top: 6px; border: 1px solid var(--pzd-line); border-radius: 10px; padding: 11px; resize: vertical; }
.pzd-product-delivery-check {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 16px;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 14px;
  border: 1px solid color-mix(in srgb, var(--pzd-success) 40%, var(--pzd-line));
  border-radius: 14px;
  padding: 11px 12px;
  background: color-mix(in srgb, var(--pzd-success) 7%, #fff);
  color: var(--pzd-ink);
  text-align: left;
  cursor: pointer;
}
.pzd-product-delivery-check:hover { border-color: var(--pzd-success); background: color-mix(in srgb, var(--pzd-success) 11%, #fff); }
.pzd-product-delivery-check__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #fff; font-size: 20px; box-shadow: 0 4px 12px rgba(25, 23, 22, .08); }
.pzd-product-delivery-check strong, .pzd-product-delivery-check small { display: block; }
.pzd-product-delivery-check strong { font-size: 13px; line-height: 1.3; }
.pzd-product-delivery-check small { margin-top: 2px; overflow: hidden; color: var(--pzd-muted); font-size: 11px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.pzd-product-delivery-check__arrow { color: var(--pzd-success); font-size: 24px; font-weight: 800; }
.pzd-product-modal__footer { display: flex; align-items: center; gap: 14px; margin-top: 18px; }
.pzd-product-modal__footer .pzd-primary { flex: 1; }

/* checkout */
.pzd-checkout { display: flex; flex-direction: column; max-height: calc(100dvh - 24px); }
.pzd-checkout header { flex: 0 0 auto; }
.pzd-checkout footer { flex: 0 0 auto; }
.pzd-checkout__body { flex: 1 1 auto; min-height: 0; padding: 20px 26px; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.pzd-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.pzd-choice label { position: relative; display: block; cursor: pointer; margin: 0; }
.pzd-choice input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: pointer; z-index: 2;
}
.pzd-choice span {
  display: block; border: 1px solid var(--pzd-line); border-radius: 12px;
  padding: 13px; text-align: center; font-weight: 700; background: #fff;
  pointer-events: none; position: relative; z-index: 1;
}
.pzd-choice input:checked + span { border-color: var(--pzd-accent); background: #fff0ed; color: var(--pzd-accent); }
.pzd-choice input:focus-visible + span { outline: 2px solid var(--pzd-accent); outline-offset: 2px; }
.pzd-addr-option { cursor: pointer; }
.pzd-addr-option input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--pzd-ink); cursor: pointer; }
.pzd-addr-label-row { display: grid; gap: 6px; margin: 0 0 12px; }
.pzd-addr-label-row input { border: 1px solid var(--pzd-line); border-radius: 12px; padding: 12px 14px; }
.pzd-addr-edit-label { border: 0; background: none; color: var(--pzd-accent); font-weight: 700; font-size: 12px; padding: 0; cursor: pointer; text-decoration: underline; }
.pzd-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pzd-checkout__body > label, .pzd-form-grid label, .pzd-coupon-row label { margin-bottom: 14px; }
.pzd-checkout input:not([type="radio"]), .pzd-checkout textarea, .pzd-checkout select { width: 100%; margin-top: 6px; border: 1px solid var(--pzd-line); border-radius: 10px; padding: 11px 12px; background: #fff; color: var(--pzd-ink); outline: 0; }
.pzd-checkout input:focus, .pzd-checkout textarea:focus, .pzd-checkout select:focus { border-color: var(--pzd-accent); box-shadow: 0 0 0 3px #e33a2518; }
.pzd-checkout textarea { min-height: 62px; resize: vertical; }
.pzd-map-hint { margin: 4px 0 8px; color: var(--pzd-muted); font-size: 12px; }
.pzd-checkout-map { height: 240px; border-radius: 14px; overflow: hidden; border: 1px solid var(--pzd-line); }
.pzd-fee-line { margin: 10px 0 16px; border-radius: 10px; padding: 10px 12px; background: #f5f1ed; font-size: 13px; font-weight: 600; }
.pzd-fee-line.is-ok { background: #e2f6ec; color: var(--pzd-success); }
.pzd-fee-line.is-error { background: #ffe6e2; color: var(--pzd-accent-dark); }
.pzd-coupon-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.pzd-apply-coupon { margin-bottom: 14px; border: 1px solid var(--pzd-ink); border-radius: 10px; padding: 12px 16px; background: #fff; font-weight: 700; }
.pzd-payments { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 4px 0 18px; border: 1px solid var(--pzd-line); border-radius: 14px; padding: 14px; }
.pzd-payments legend { padding: 0 6px; font-weight: 800; }
.pzd-payments label { font-size: 13px; font-weight: 600; color: var(--pzd-ink); }
.pzd-summary { border-radius: 14px; padding: 14px 16px; background: #f5f1ed; }
.pzd-summary > div { display: flex; justify-content: space-between; padding: 4px 0; }
.pzd-sum-total { border-top: 1px solid #e2ded9; margin-top: 6px; padding-top: 10px !important; font-size: 18px; }
.pzd-checkout footer { padding: 16px 26px 22px; border-top: 1px solid var(--pzd-line); background: #fff; text-align: center; }
.pzd-checkout footer small { display: block; margin-top: 9px; color: var(--pzd-muted); font-size: 10px; }

/* success + tracking */
.pzd-success, .pzd-tracking { padding: 46px 34px; text-align: center; }
.pzd-success__icon { display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 20px; border-radius: 50%; background: #daf7e9; color: var(--pzd-success); font-size: 40px; }
.pzd-success h2, .pzd-tracking h2 { margin: 6px 0; font-size: 34px; }
.pzd-success p, .pzd-tracking p { color: var(--pzd-muted); }
.pzd-success__total { display: block; margin: 6px 0; }
.pzd-success .pzd-primary { margin-top: 22px; }
.pzd-pix { margin: 20px 0 0; border: 1px dashed #b8b1aa; border-radius: 12px; padding: 16px; background: #f7f4f1; text-align: left; }
.pzd-pix code { display: block; margin: 6px 0 10px; overflow-wrap: anywhere; font-size: 15px; }
.pzd-pix button { border: 0; border-radius: 8px; padding: 9px 14px; background: var(--pzd-success); color: #fff; font-weight: 700; }
.pzd-mp-box { margin: 12px 0 4px; padding: 12px; border: 1px solid var(--pzd-line); border-radius: 12px; background: #faf8f6; }
.pzd-mp-type { margin-bottom: 10px; }
.pzd-mp-qr { display: block; width: min(220px, 70vw); margin: 10px auto; border-radius: 8px; }
.pzd-pix p { margin: 10px 0 0; font-size: 12px; }
.pzd-tracking .pzd-close { position: absolute; top: 18px; right: 20px; }
.pzd-timeline { display: flex; justify-content: center; margin: 30px 0; overflow-x: auto; }
.pzd-timeline > div { position: relative; min-width: 92px; color: #aaa5a1; font-size: 11px; font-weight: 700; }
.pzd-timeline > div::before { content: ""; position: absolute; top: 15px; left: -50%; width: 100%; height: 2px; background: var(--pzd-line); }
.pzd-timeline > div:first-child::before { display: none; }
.pzd-timeline i { position: relative; z-index: 1; display: grid; place-items: center; width: 31px; height: 31px; margin: 0 auto 8px; border-radius: 50%; background: var(--pzd-line); font-style: normal; }
.pzd-timeline .done { color: var(--pzd-success); }
.pzd-timeline .done::before, .pzd-timeline .done i { background: var(--pzd-success); color: #fff; }

.pzd-toast { position: fixed; z-index: 200; left: 50%; bottom: 30px; max-width: calc(100% - 30px); border-radius: 12px; padding: 12px 18px; background: var(--pzd-ink); color: #fff; font-weight: 700; opacity: 0; transform: translate(-50%, 30px); pointer-events: none; transition: .2s; }
.pzd-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.pzd-toast.is-error { background: var(--pzd-accent-dark); }

/* content pages + footer */
.pzd-page__inner { max-width: 780px; margin: 0 auto; padding: 50px 20px 80px; }
.pzd-btn, .pzd-page a.pzd-btn { display: inline-block; border-radius: 12px; padding: 13px 20px; background: var(--pzd-accent); color: #fff; text-decoration: none; font-weight: 700; }
.pzd-footer { margin-top: 20px; border-top: 1px solid color-mix(in srgb, var(--pzd-gold) 22%, var(--pzd-line)); background: linear-gradient(145deg, color-mix(in srgb, var(--pzd-bg) 80%, #fff), color-mix(in srgb, var(--pzd-cream) 75%, var(--pzd-bg))); padding-bottom: var(--pzd-float-pad, 10px); }
.pzd-footer__inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; max-width: 1180px; margin: 0 auto; padding: 16px 20px 8px; }
.pzd-footer__inner p { color: var(--pzd-muted); margin: 6px 0 0; line-height: 1.45; }
.pzd-footer__brand strong, .pzd-footer__hours strong, .pzd-footer__contact strong, .pzd-footer__units strong { display: block; margin-bottom: 6px; font-family: "Playfair Display", Georgia, serif; font-size: 17px; }
.pzd-footer__units { display: grid; align-content: start; gap: 8px; color: var(--pzd-muted); font-size: 13px; }
.pzd-footer__units-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pzd-footer__units-list li { display: grid; gap: 2px; line-height: 1.4; }
.pzd-footer__unit-name { color: var(--pzd-ink); font-weight: 700; font-size: 13px; }
.pzd-footer__unit-addr { display: block; max-width: 34ch; color: var(--pzd-muted); overflow-wrap: anywhere; }
.pzd-footer__locations { display: flex; align-items: flex-start; gap: 12px 18px; max-width: 1180px; margin: 0 auto; border-top: 1px solid color-mix(in srgb, var(--pzd-gold) 14%, var(--pzd-line)); padding: 9px 20px; color: var(--pzd-muted); font-size: 11px; line-height: 1.4; }
.pzd-footer__locations-title { flex: 0 0 auto; color: var(--pzd-ink); font-weight: 800; }
.pzd-footer__locations > div { display: flex; flex-wrap: wrap; gap: 5px 18px; }
.pzd-footer__location { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.pzd-footer__location strong { color: var(--pzd-ink); font-size: 11px; }
.pzd-footer__location strong::after { content: " —"; color: var(--pzd-muted); font-weight: 400; }
.pzd-footer__rating { color: var(--pzd-ink) !important; font-weight: 700; }
.pzd-footer__rating span { color: var(--pzd-muted); font-weight: 500; }
.pzd-footer__schedule { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 2px; font-size: 13px; color: var(--pzd-muted); }
.pzd-footer__schedule li { display: flex; justify-content: space-between; gap: 12px; }
.pzd-footer__schedule span { font-weight: 700; color: var(--pzd-ink); min-width: 32px; }
.pzd-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pzd-footer__menu a { text-decoration: none; color: var(--pzd-muted); }
.pzd-footer__contact { display: grid; gap: 4px; color: var(--pzd-muted); font-size: 14px; }
.pzd-footer__contact a { color: var(--pzd-accent); font-weight: 700; text-decoration: none; }
.pzd-footer__pay { display: inline-block; border-radius: 999px; background: #f4f1ee; padding: 4px 10px; font-size: 12px; font-weight: 700; color: var(--pzd-ink); width: fit-content; }
.pzd-footer__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 14px; border-top: 1px solid color-mix(in srgb, var(--pzd-gold) 18%, var(--pzd-line)); padding: 8px 16px; text-align: center; color: var(--pzd-muted); font-size: 12px; letter-spacing: .04em; }
.pzd-footer__credit a { color: var(--pzd-ink); font-weight: 700; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--pzd-ink) 25%, transparent); }
.pzd-footer__credit a:hover { color: var(--pzd-accent); border-bottom-color: var(--pzd-accent); }

/* variations + account */
.pzd-variations { border: 0; margin: 0 0 16px; padding: 0; }
.pzd-variations legend { font-weight: 800; margin-bottom: 10px; }
.pzd-variations__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pzd-opt-steps { display: grid; gap: 12px; margin: 0 0 16px; }
.pzd-opt-step { border: 1px solid var(--pzd-line); border-radius: 16px; padding: 14px; margin: 0; background: #fff; }
.pzd-opt-step legend { display: flex; align-items: center; gap: 8px; font-weight: 800; padding: 0 6px; }
.pzd-opt-step legend em { font-style: normal; font-weight: 600; color: var(--pzd-muted); font-size: 12px; }
.pzd-opt-step__num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--pzd-ink); color: #fff; font-size: 12px; font-weight: 800; }
.pzd-opt-step--locked { display: flex; gap: 12px; align-items: flex-start; background: #f7f5f2; opacity: .78; }
.pzd-opt-step--locked p { margin: 4px 0 0; color: var(--pzd-muted); font-size: 13px; }
.pzd-opt-step.is-open { box-shadow: 0 8px 22px rgba(25, 18, 13, .06); border-color: color-mix(in srgb, var(--pzd-accent) 35%, var(--pzd-line)); }
.pzd-variation { position: relative; display: grid; justify-items: center; gap: 6px; border: 1.5px solid var(--pzd-line); border-radius: 16px; padding: 14px 10px; cursor: pointer; text-align: center; background: #fff; }
.pzd-variation input { position: absolute; opacity: 0; pointer-events: none; }
.pzd-variation:has(input:checked) { border-color: var(--pzd-accent); background: #fff5f3; box-shadow: 0 0 0 1px var(--pzd-accent); }
.pzd-variation__mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #f0ece8; font-weight: 800; font-size: 18px; }
.pzd-variation:has(input:checked) .pzd-variation__mark { background: var(--pzd-accent); color: #fff; }
.pzd-variation__name { font-weight: 700; font-size: 14px; }
.pzd-variation__price { font-size: 13px; color: var(--pzd-muted); }
.pzd-variation-hint { margin: 8px 0 0; font-size: 12px; color: var(--pzd-muted); text-align: center; }
.pzd-price small { display: block; font-size: 11px; color: var(--pzd-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

.pzd-account { position: relative; padding: 28px 24px 32px; max-width: 420px; margin: 0 auto; }
.pzd-account .pzd-close { position: absolute; top: 12px; right: 14px; }
.pzd-account > span { color: var(--pzd-accent); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pzd-account h2 { margin: 6px 0 8px; }
.pzd-account__tabs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; margin: 18px 0 14px; }
.pzd-account__tabs button { border: 1px solid var(--pzd-line); background: #fff; border-radius: 12px; padding: 10px; font-weight: 700; }
.pzd-account__tabs button.active { background: var(--pzd-ink); color: #fff; border-color: var(--pzd-ink); }
.pzd-account__form { display: grid; gap: 12px; }
.pzd-account__form label { display: grid; gap: 6px; font-weight: 600; font-size: 13px; }
.pzd-account__form input { border: 1px solid var(--pzd-line); border-radius: 12px; padding: 12px 14px; }
.pzd-order-history { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.pzd-order-history > li { border: 1px solid var(--pzd-line); border-radius: 12px; background: #fff; overflow: hidden; }
.pzd-order-history .pzd-oh__main { width: 100%; display: grid; gap: 6px; border: 0; padding: 12px 14px; background: transparent; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.pzd-order-history .pzd-oh__main:hover { background: #f8fafc; }
.pzd-oh__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pzd-oh__top span { font-size: 12px; font-weight: 700; color: var(--pzd-accent); }
.pzd-oh__items { font-size: 13px; color: var(--pzd-muted); }
.pzd-order-history em { font-style: normal; font-weight: 800; }
.pzd-oh__actions { display: flex; gap: 8px; padding: 0 12px 12px; }
.pzd-oh__actions .pzd-primary,
.pzd-oh__actions .pzd-btn-ghost { flex: 1; font-size: 13px; padding: 10px 12px; border-radius: 10px; font-weight: 700; cursor: pointer; }
.pzd-oh__actions .pzd-btn-ghost { border: 1px solid var(--pzd-line); background: #fff; color: #344054; }
.pzd-account__panel { animation: pzd-acc-fade .2s ease; }
@keyframes pzd-acc-fade { from { opacity: 0; } to { opacity: 1; } }
.pzd-account__contact { color: var(--pzd-muted); font-size: 14px; margin: 4px 0 0; }
.pzd-profile-form input:disabled { background: #f4f4f6; color: var(--pzd-muted); }
.pzd-account-nudge { margin: 0 0 14px; font-size: 13px; color: var(--pzd-muted); }
.pzd-account-nudge button, .pzd-link-account { border: 0; background: none; color: var(--pzd-accent); font-weight: 800; padding: 0; text-decoration: underline; }
.pzd-muted { color: var(--pzd-muted); }
.pzd-saved-address { border: 1px solid var(--pzd-line); border-radius: 14px; padding: 14px 16px; background: #faf8f6; margin-bottom: 10px; }
.pzd-saved-address p { margin: 6px 0 10px; color: var(--pzd-muted); line-height: 1.4; }
.pzd-woo-preparing { padding: 28px 24px 24px; text-align: center; }
.pzd-woo-preparing__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #f6efe9;
  font-size: 26px;
}
.pzd-woo-preparing h2 { margin: 0; font-size: 24px; }
.pzd-woo-preparing__subtitle { margin: 8px 0 6px; color: #5c4f45; font-weight: 700; }
.pzd-woo-preparing__detail { margin: 0; color: var(--pzd-muted); line-height: 1.45; }
.pzd-woo-preparing__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.pzd-woo-preparing--done .pzd-woo-preparing__actions { grid-template-columns: 1fr; }


/* Conta / checkout identidade / endereços / conversas */
.pzd-topbar__account,
.pzd-topbar__cart { flex: 0 0 auto; position: relative; z-index: 2; }
.pzd-topbar__meta { min-width: 0; }
.pzd-delivery-chip { min-width: 0; max-width: min(240px, 42vw); }
.pzd-account--logged { max-width: 460px; }
.pzd-account--logged .pzd-account__tabs {
  display: flex;
  flex-wrap: wrap;
  grid-auto-flow: unset;
  grid-auto-columns: unset;
}
.pzd-account--logged .pzd-account__tabs button { flex: 1 1 calc(50% - 4px); min-width: 0; font-size: 12px; padding: 9px 8px; }
.pzd-checkout-identity { text-align: center; max-width: 400px; }
.pzd-checkout-identity h2 { margin-bottom: 8px; }
.pzd-checkout-identity__choices { display: grid; gap: 10px; margin-top: 22px; }
.pzd-checkout-identity__choices .pzd-primary,
.pzd-checkout-identity__choices .pzd-btn-outline { width: 100%; min-height: 48px; }
.pzd-addr-picker { display: grid; gap: 8px; margin: 0 0 14px; padding: 12px; border: 1px solid var(--pzd-line); border-radius: 14px; background: #faf8f6; }
.pzd-addr-picker > strong { font-size: 13px; }
.pzd-addr-option { display: grid; grid-template-columns: 18px 1fr; gap: 10px; align-items: start; padding: 10px; border: 1px solid var(--pzd-line); border-radius: 12px; background: #fff; cursor: pointer; }
.pzd-addr-option:has(input:checked) { border-color: var(--pzd-ink); box-shadow: 0 0 0 1px var(--pzd-ink); }
.pzd-addr-option span { display: grid; gap: 2px; text-align: left; }
.pzd-addr-option small { color: var(--pzd-muted); font-size: 12px; line-height: 1.35; }
.pzd-addr-list { display: grid; gap: 10px; margin: 8px 0 12px; }
.pzd-chat-history { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 8px; }
.pzd-chat-history > li { border: 1px solid var(--pzd-line); border-radius: 12px; background: #fff; overflow: hidden; }
.pzd-chat-history .pzd-ch__main { width: 100%; display: grid; gap: 6px; border: 0; padding: 12px 14px; background: transparent; text-align: left; cursor: pointer; font: inherit; color: inherit; }
.pzd-chat-history .pzd-ch__main:hover { background: #f8fafc; }
@media (max-width: 720px) {
  .pzd-delivery-chip { max-width: min(150px, 36vw); }
  .pzd-topbar__meta { gap: 6px; }
}

/* delivery wizard */
.pzd-dialog:has(.pzd-wiz) { padding: 0; border: 0; border-radius: 20px; max-width: 440px; width: calc(100% - 24px); overflow: hidden; }
.pzd-dialog:has(.pzd-wiz--map) {
  max-width: 520px;
  width: min(520px, calc(100% - 16px));
  height: min(92dvh, 720px);
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  margin: auto;
}
.pzd-wiz { position: relative; padding: 52px 22px 24px; max-height: min(90dvh, 720px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.pzd-wiz--scroll { padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
.pzd-wiz h2 { margin: 4px 0 8px; font-size: 22px; }
.pzd-wiz__eyebrow { margin: 0 0 18px; color: var(--pzd-muted); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.pzd-wiz__lead { margin: 0 0 18px; color: var(--pzd-muted); font-weight: 600; }
.pzd-wiz__choices { display: grid; gap: 10px; }
.pzd-wiz__choice, .pzd-wiz__row {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  border: 1px solid var(--pzd-line);
  background: #fff;
  border-radius: 14px;
  padding: 14px;
  text-align: left;
}
.pzd-wiz__choice:hover, .pzd-wiz__row:hover { border-color: #d8d2cc; }
.pzd-wiz__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #f4f1ee; font-size: 20px; }
.pzd-wiz__icon--delivery { color: var(--pzd-accent); background: #ffe8e4; }
.pzd-wiz__icon--gps { color: var(--pzd-accent); background: #ffe8e4; transform: rotate(-20deg); }
.pzd-wiz__choice-text { display: grid; gap: 2px; }
.pzd-wiz__choice-text strong { font-size: 16px; }
.pzd-wiz__choice-text small { color: var(--pzd-muted); font-size: 12px; line-height: 1.35; }
.pzd-wiz__radio { width: 22px; height: 22px; border: 2px solid #cfc9c3; border-radius: 50%; }
.pzd-wiz__link { color: var(--pzd-accent); font-weight: 800; font-size: 13px; white-space: nowrap; }
.pzd-wiz__sep { height: 1px; background: var(--pzd-line); margin: 18px 0; }
.pzd-wiz__cep { display: grid; gap: 12px; }
.pzd-wiz__form-status { margin: 0; padding: 9px 11px; border-radius: 10px; background: #f4f1ee; color: var(--pzd-muted); font-size: 12px; line-height: 1.4; }
.pzd-wiz__form-status[hidden] { display: none; }
.pzd-wiz__form-status.is-error { background: #fff1ef; color: #8b1e18; }
.pzd-wiz__cep-field input, .pzd-wiz__form input {
  width: 100%;
  border: 1.5px dashed #cfc9c3;
  border-radius: 12px;
  padding: 14px 16px;
  background: #fff;
  font-size: 16px;
  box-sizing: border-box;
}
.pzd-wiz__form { display: grid; gap: 12px; margin-top: 8px; }
.pzd-wiz__form label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.pzd-wiz__row2 { display: grid; grid-template-columns: minmax(0, 1fr) max-content; gap: 10px; align-items: end; }
.pzd-wiz__row2--cityuf { grid-template-columns: minmax(0, 1fr) 4.75rem; }
.pzd-wiz__row2--cityuf input[name="state"] { text-transform: uppercase; text-align: center; letter-spacing: .04em; }
.pzd-wiz__check { display: flex !important; flex-direction: row; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; white-space: nowrap; padding-bottom: 14px; overflow: visible; }
.pzd-wiz__check input[type="checkbox"] { width: 18px; height: 18px; min-width: 18px; flex-shrink: 0; margin: 0; accent-color: var(--pzd-accent, #e33a25); }
.pzd-wiz__cta { width: 100%; margin-top: 8px; }
.pzd-wiz__back {
  position: absolute; top: 12px; left: 12px; z-index: 8;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--pzd-accent); color: #fff; font-size: 18px; font-weight: 700;
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.pzd-wiz .pzd-close {
  position: absolute; top: 12px; right: 12px; z-index: 8;
  border: 0; background: #fff; width: 40px; height: 40px; border-radius: 50%; font-size: 22px;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
}
.pzd-wiz__cep-display { margin: 8px 0 4px; font-size: 22px; font-weight: 800; }
.pzd-wiz__addr-preview { margin: 0 0 16px; color: var(--pzd-muted); line-height: 1.45; }

/* Mapa: layout em coluna — rodapé sempre visível */
.pzd-wiz--map {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  position: relative;
  max-height: none;
}
.pzd-wiz__map-top {
  position: absolute; top: 0; left: 0; right: 0; z-index: 8;
  height: 56px; pointer-events: none;
}
.pzd-wiz__map-top .pzd-wiz__back,
.pzd-wiz__map-top .pzd-close { pointer-events: auto; }
.pzd-wiz__map-card {
  position: absolute; top: 56px; left: 12px; right: 12px; z-index: 7;
  background: #fff; border-radius: 14px; padding: 12px 14px;
  box-shadow: 0 10px 30px #0002;
  max-height: 28%;
  overflow: auto;
}
.pzd-wiz__map-card p { margin: 6px 0 0; color: var(--pzd-muted); font-size: 13px; line-height: 1.4; }
.pzd-wiz__map-card small { display: block; margin-top: 6px; color: #8a847e; font-size: 11px; line-height: 1.35; }
.pzd-wiz__map {
  flex: 1 1 auto;
  min-height: 160px;
  width: 100%;
  background: #e8e4e0;
}
.pzd-wiz__map-actions {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  background: #fff;
  border-top: 1px solid var(--pzd-line);
  z-index: 8;
  box-shadow: 0 -8px 24px rgba(0,0,0,.06);
}
.pzd-btn-outline {
  border: 1.5px solid var(--pzd-ink); background: #fff; color: var(--pzd-ink);
  border-radius: 12px; padding: 14px 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 12px;
}
.pzd-wiz__map-actions .pzd-primary { text-transform: uppercase; letter-spacing: .04em; border-radius: 12px; padding: 14px 12px; font-size: 12px; }
.pzd-wiz__coverage {
  grid-column: 1 / -1;
  display: grid;
  gap: 5px;
  padding: 11px 12px;
  border: 1px solid #d7d2cd;
  border-radius: 12px;
  background: #f7f5f3;
  color: var(--pzd-ink);
}
.pzd-wiz__coverage[hidden] { display: none; }
.pzd-wiz__coverage strong { font-size: 13px; line-height: 1.3; }
.pzd-wiz__coverage p { margin: 0; font-size: 12px; line-height: 1.4; }
.pzd-wiz__coverage.is-checking { color: #625d57; }
.pzd-wiz__coverage.is-available { border-color: #b7ddca; background: #edf9f3; color: #14633f; }
.pzd-wiz__coverage.is-unavailable { border-color: #e0aaa5; background: #fff1ef; color: #7f1d1d; }
.pzd-wiz__coverage.is-error { border-color: #e6c58d; background: #fff8e8; color: #70440b; }
.pzd-map-fallback {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 160px;
  padding: 16px;
  margin: 0;
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
  color: #625d57;
}
.pzd-wiz__coverage-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px; margin-top: 5px; }
.pzd-wiz__coverage-actions .pzd-primary,
.pzd-wiz__coverage > .pzd-btn-outline { width: 100%; min-height: 42px; padding: 10px 12px; }
.pzd-wiz__error {
  position: absolute; top: 12px; left: 56px; right: 56px; z-index: 9;
  display: flex; align-items: flex-start; gap: 10px;
  background: #8b1e18; color: #fff; border-radius: 12px; padding: 12px 14px;
  box-shadow: 0 10px 24px #8b1e1840;
}
.pzd-wiz__error span {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid #fff; font-weight: 800; flex-shrink: 0;
}
.pzd-wiz__error p { margin: 0; flex: 1; font-size: 13px; line-height: 1.35; font-weight: 600; }
.pzd-wiz__error button { border: 0; background: transparent; color: #fff; font-size: 18px; line-height: 1; }
.pzd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

@media (max-width: 720px) {
  .pzd-store { padding: 0 13px 16px; }
  .pzd-topbar__inner { min-height: 66px; padding: 7px 13px; }
  .pzd-topbar__brand { gap: 8px; }
  .pzd-topbar__brand .custom-logo-link {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }
  .pzd-topbar__brand img,
  .pzd-topbar .custom-logo {
    width: 46px !important;
    height: 46px !important;
    max-width: 46px;
    max-height: 46px;
    object-fit: contain;
  }
  .pzd-topbar__mark { width: 46px; height: 46px; font-size: 23px; }
  .pzd-topbar__name { display: none; }
  .pzd-topbar__meta { gap: 7px; }
  .pzd-topbar__account { padding: 8px 11px; font-size: 12px; }
  .pzd-topbar__cart.pzd-cart-button { padding: 8px 9px; border-radius: 12px; }
  body.admin-bar .pzd-topbar { top: 46px; }

  .pzd-hero { width: 100vw; margin: 0 0 28px; margin-left: -50vw; }
  .pzd-hero--cover { min-height: clamp(264px, 70vw, 360px); background-position: center center; }
  .pzd-hero__stage { align-items: center; padding: 18px 13px; }
  .pzd-hero--cover .pzd-hero__stage { transform: none; }
  .pzd-hero__card { position: relative; flex-direction: column; gap: 14px; min-height: 0; padding: 16px; border-radius: 22px; }
  .pzd-hero__brand { align-items: flex-start; gap: 14px; width: 100%; }
  .pzd-hero__mark, .pzd-hero__logo {
    width: 78px;
    height: 78px;
    flex-basis: 78px;
    padding: 7px;
    border-radius: 19px;
    object-fit: contain;
  }
  .pzd-hero h1 { font-size: 28px; }
  .pzd-hero__sub { font-size: 13px; }
  .pzd-hero__meta { gap: 6px; }
  .pzd-hero__badges { gap: 6px; }
  .pzd-hero__badges span { padding: 5px 8px; font-size: 10px; }
  .pzd-hero:not(.pzd-hero--cover) { width: auto; margin: 0 0 34px; margin-left: 0; }
  .pzd-hero:not(.pzd-hero--cover) .pzd-hero__stage { padding-top: 16px; }

  .pzd-coupons { grid-auto-columns: minmax(225px, 82vw); }
  .pzd-grid { grid-template-columns: 1fr; }
  .pzd-product { min-height: 0; }
  .pzd-product__visual {
    flex-basis: 124px;
    width: 124px;
    min-width: 124px;
    height: 124px;
    margin: 10px 10px 10px 0;
    border-radius: 14px;
  }
  .pzd-product__content { padding: 14px 12px 14px 14px; }
  .pzd-product-modal__img {
    aspect-ratio: 4 / 3;
    min-height: 180px;
    max-height: min(36vh, 280px);
  }
  .pzd-form-grid, .pzd-payments { grid-template-columns: 1fr; }
  .pzd-timeline { justify-content: start; }
  .pzd-variations__grid { grid-template-columns: 1fr 1fr; }
  .pzd-cart-actions, .pzd-woo-preparing__actions { grid-template-columns: 1fr; }
  .pzd-delivery-chip { max-width: 48vw; padding: 7px 10px; font-size: 12px; }
  .pzd-topbar__wa, .pzd-open { display: none; }
  .pzd-dialog:has(.pzd-wiz--map) {
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
  }
  .pzd-wiz--map { height: 100dvh; min-height: 0; }
  .pzd-wiz__map { min-height: 0; }
  .pzd-wiz__map-actions {
    grid-template-columns: 1fr 1fr;
    padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  }
  .pzd-wiz__map-card { top: 58px; left: 10px; right: 10px; max-height: 26%; }
  .pzd-dialog:has(.pzd-wiz:not(.pzd-wiz--map)) {
    width: calc(100% - 16px);
    max-height: min(92dvh, 100%);
  }
  .pzd-dialog:has(.pzd-checkout) {
    width: 100%;
    max-width: 100%;
    max-height: 100dvh;
    height: 100dvh;
    margin: 0;
    border-radius: 0;
  }
  .pzd-checkout { max-height: 100dvh; height: 100%; }
  .pzd-checkout__body { padding-bottom: 24px; }
}

@media (max-width: 420px) {
  .pzd-delivery-chip { max-width: 46vw; }
  .pzd-delivery-chip__pin,
  .pzd-delivery-chip__chev { display: none; }
  .pzd-topbar__account { padding-inline: 9px; }
  .pzd-hero__card { padding: 17px; }
  .pzd-hero__logo,
  .pzd-hero__mark { width: 68px; height: 68px; flex-basis: 68px; }
  .pzd-hero h1 { font-size: 25px; }
  .pzd-product__content { padding: 14px 12px 14px 14px; }
}

/* ---------- Order room ---------- */
.pzd-order-room__eta{font-weight:800;color:var(--pzd-accent,#c0392b);margin:6px 0 12px}
.pzd-order-room__items{list-style:none;margin:12px 0;padding:0;font-size:13px}
.pzd-order-room__items li{padding:6px 0;border-bottom:1px solid rgba(0,0,0,.06)}
.pzd-order-room__share{margin-top:12px;font-size:13px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.pzd-order-chat{margin-top:16px;border-top:1px solid rgba(0,0,0,.08);padding-top:12px}
.pzd-order-chat h3{margin:0 0 8px;font-size:15px}
.pzd-chat-msgs{display:flex;flex-direction:column;gap:8px;max-height:220px;overflow:auto;padding:4px 0}
.pzd-chat-bubble{max-width:85%;padding:8px 12px;border-radius:14px;font-size:13px;line-height:1.4;text-align:left}
.pzd-chat-bubble p{margin:0}
.pzd-chat-bubble small,.pzd-chat-bubble__time{display:block;margin-top:4px;opacity:.7;font-size:10px;font-weight:600;text-align:left}
.pzd-chat-bubble--customer{align-self:flex-end;background:#191716;color:#fff}
.pzd-chat-bubble--customer .pzd-chat-bubble__time{text-align:right;opacity:.65}
.pzd-chat-bubble--store,.pzd-chat-bubble--system{align-self:flex-start;background:#f2f4f7;color:#1e293b}
.pzd-chat-reply{display:flex;gap:8px;margin-top:8px}
.pzd-chat-reply input{flex:1;border:1px solid #d0d5dd;border-radius:10px;padding:10px 12px;font:inherit}

/* ---------- Floating chat widget — fixo no canto inferior direito ---------- */
.pzd-chat-float{position:fixed;right:16px;bottom:calc(10px + env(safe-area-inset-bottom, 0px));z-index:60;font-family:inherit;transition:bottom .25s ease}
.pzd-chat-float__fab{display:flex;align-items:center;gap:8px;border:0;background:transparent;padding:0;cursor:pointer;flex-direction:row}
.pzd-chat-float__pill{
  background:#191716;color:#fff;padding:10px 14px;border-radius:999px;font-size:13px;font-weight:700;
  box-shadow:0 8px 24px rgba(0,0,0,.18);max-width:min(220px,58vw);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
  order:0
}
.pzd-chat-float__icon{order:1}
.pzd-chat-float__panel{position:absolute;right:0;bottom:64px;width:min(360px,92vw);max-height:min(72vh,560px);background:#fff;border-radius:18px;box-shadow:0 18px 48px rgba(0,0,0,.22);overflow:hidden;border:1px solid #e4e7ec;display:none;flex-direction:column}
.pzd-chat-float__panel.is-open,.pzd-chat-float__panel:not([hidden]){display:flex}
.pzd-chat-float__panel[hidden]{display:none!important}
.pzd-chat-float__panel header,.pzd-chat-float__head{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 14px;background:#191716;color:#fff;flex:0 0 auto}
.pzd-chat-float__menu{
  flex-shrink:0;border:0;background:rgba(255,255,255,.12);color:#fff;font-weight:800;font-size:12px;
  padding:7px 10px;border-radius:999px;cursor:pointer;line-height:1;white-space:nowrap
}
.pzd-chat-float__menu[hidden]{display:none!important}
.pzd-chat-float__menu:hover{background:rgba(255,255,255,.2)}
.pzd-chat-float__who{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-width:0;flex:1;text-align:left}
.pzd-chat-float__who strong{display:block;font-size:14px;line-height:1.2}
.pzd-chat-float__who small{display:block;font-size:11px;opacity:.75;font-weight:500}
/* Fundo branco + contain: o logo não é cortado no círculo */
.pzd-chat-avatar{width:40px;height:40px;border-radius:50%;flex:0 0 40px;background:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:800;color:#191716;font-size:16px;overflow:hidden;box-sizing:border-box;padding:3px;border:1px solid rgba(255,255,255,.35)}
.pzd-chat-avatar img{width:100%;height:100%;object-fit:contain;object-position:center;border-radius:0;display:block;background:#fff}
.pzd-chat-float__icon{width:52px;height:52px;border-radius:50%;background:#191716;color:#fff;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 10px 28px rgba(0,0,0,.22);overflow:hidden;flex-shrink:0;box-sizing:border-box}
.pzd-chat-float__icon--photo{background:#fff;padding:5px;border:1px solid #e4e7ec}
.pzd-chat-float__icon img{width:100%;height:100%;object-fit:contain;object-position:center;border-radius:0;display:block;background:#fff}
.pzd-chat-bubble__meta{display:flex;align-items:center;justify-content:flex-start;gap:6px;margin-bottom:4px;font-size:11px;font-weight:700;opacity:.9;text-align:left;width:100%;align-self:flex-start}
.pzd-chat-bubble__meta .pzd-chat-avatar{width:22px;height:22px;flex-basis:22px;font-size:10px;padding:2px}
.pzd-chat-bubble--store .pzd-chat-bubble__meta,.pzd-chat-bubble--system .pzd-chat-bubble__meta{justify-content:flex-start}
.pzd-chat-float__x{border:0;background:transparent;color:#fff;font-size:22px;cursor:pointer;line-height:1}
.pzd-chat-float__body{padding:14px;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;flex:1 1 auto;min-height:0}
.pzd-chat-float__form label,.pzd-chat-wa__form label{display:block;font-size:12px;font-weight:700;margin:8px 0;color:#344054}
.pzd-chat-float__form input,.pzd-chat-wa__form input{width:100%;margin-top:4px;border:1px solid #d0d5dd;border-radius:10px;padding:9px 10px;font:inherit;box-sizing:border-box}
.pzd-chat-float__topics{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 12px}
.pzd-chat-topic{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;background:#f2f4f7;padding:6px 10px;border-radius:999px;cursor:pointer}
.pzd-chat-float__msgs{max-height:260px;min-height:140px}
.pzd-chat-float .pzd-primary{width:100%;margin-top:4px}
.pzd-chat-float__lbl{display:block;font-size:12px;font-weight:700;margin:8px 0 2px;color:#344054}
.pzd-chat-float__choose{display:flex;flex-direction:column;gap:10px;margin-top:6px}
.pzd-chan{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:1px solid #e4e7ec;background:#fff;border-radius:14px;padding:12px 14px;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.pzd-chan:hover{border-color:#191716;box-shadow:0 6px 18px rgba(0,0,0,.08)}
.pzd-chan__ic{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border-radius:50%;background:#f2f4f7;font-size:18px}
.pzd-chan--wa .pzd-chan__ic{background:#e7f8ee}
.pzd-chan__tx{display:flex;flex-direction:column;line-height:1.25}
.pzd-chan__tx strong{font-size:14px;color:#191716}
.pzd-chan__tx small{font-size:12px;color:#667085}
.pzd-chat-back{
  border:0;background:#f2f4f7;color:#344054;font-weight:800;font-size:13px;cursor:pointer;
  padding:8px 12px;border-radius:10px;margin:0 0 10px;display:inline-flex;align-items:center
}
.pzd-chat-back:hover{background:#e4e7ec}
body.pzd-chat-open{overflow:hidden;touch-action:none}
@media(max-width:720px){
  /* Folha fixa no fundo: o teclado não joga o formulário para fora da tela */
  .pzd-chat-float__panel.is-open,.pzd-chat-float__panel:not([hidden]){
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    top:auto;
    width:100%;
    max-width:100%;
    max-height:min(88dvh, 100%);
    border-radius:18px 18px 0 0;
    z-index:80;
    box-shadow:0 -12px 40px rgba(0,0,0,.2);
  }
  .pzd-chat-float__panel[hidden]{display:none!important}
  .pzd-chat-float__fab{z-index:61}
  .pzd-chat-float__pill{
    display:inline-block;max-width:min(160px,46vw);font-size:12px;padding:8px 12px
  }
  .pzd-floating-cart{width:calc(100% - 20px);padding:12px 14px;border-radius:14px}
  .pzd-footer{margin-top:12px}
  .pzd-footer__inner{gap:12px;padding:12px 14px 6px}
  .pzd-footer__locations{display:grid;gap:5px;padding:8px 14px}
  .pzd-footer__locations>div{display:grid;gap:4px}
  .pzd-footer__bar{padding:6px 12px}
  .pzd-chat-float{right:10px}
  .pzd-chat-float--above-cart .pzd-chat-float__panel{bottom:0;max-height:min(88dvh,100%)}
  .pzd-chat-float__msgs{max-height:none;min-height:120px;flex:1}
  .pzd-chat-reply{position:sticky;bottom:0;background:#fff;padding-bottom:env(safe-area-inset-bottom,0);padding-top:8px}
}
@media(max-width:480px){
  .pzd-chat-float{right:10px}
}

.pzd-product__badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.pzd-tag--bestseller { background: #fff4e5; color: #8a5a12; }
.pzd-tag--new { background: #e8f6ef; color: #1b6b45; }
.pzd-tag--mto { background: #eef2ff; color: #334155; }
.pzd-tag--rating { background: #fffbeb; color: #92400e; letter-spacing: 0; text-transform: none; }
.pzd-hero__rating-link { display: inline-flex; align-items: center; gap: 5px; border: 1px solid color-mix(in srgb, var(--pzd-gold) 25%, var(--pzd-line)); border-radius: 999px; padding: 7px 11px; font-size: 11px; font-weight: 700; background: #fbf8f2; color: var(--pzd-ink); text-decoration: none; }
.pzd-hero__service { font-weight: 800; }
.pzd-cart-lead, .pzd-schedule-lead { margin: 8px 0; padding: 8px 10px; border-radius: 10px; background: #eef2ff; color: #1e293b; font-size: 12px; line-height: 1.4; }


.pzd-wiz--scroll { max-height: min(92vh, 720px); overflow-y: auto; -webkit-overflow-scrolling: touch; padding-bottom: 8px; }
.pzd-wiz--scroll .pzd-wiz__form { padding-bottom: 28px; }
.pzd-wiz--scroll .pzd-wiz__cta { position: sticky; bottom: 0; margin-top: 8px; }


/* Painel do cliente (página, não popup) */
body.pzd-account-open { overflow: hidden; }
.pzd-account-shell {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: color-mix(in srgb, var(--pzd-bg) 92%, #fff);
  transform: translateX(104%);
  transition: transform .28s cubic-bezier(.22,.8,.28,1);
  display: flex;
  flex-direction: column;
}
.pzd-account-shell.is-open { transform: translateX(0); }
.pzd-account-page {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}
.pzd-account-page__top {
  display: grid;
  grid-template-columns: 44px 1fr 48px;
  gap: 12px;
  align-items: center;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 16px 12px;
  border-bottom: 1px solid var(--pzd-line);
  background: #fff;
}
.pzd-account-page__back {
  width: 44px; height: 44px; border-radius: 14px;
  border: 1px solid var(--pzd-line); background: #fff; font-size: 26px; line-height: 1;
}
.pzd-account-page__hello span {
  color: var(--pzd-accent); font-size: 11px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
}
.pzd-account-page__hello h1 { margin: 2px 0 0; font-size: 20px; line-height: 1.15; }
.pzd-account-page__hello p { margin: 4px 0 0; color: var(--pzd-muted); font-size: 12px; }
.pzd-account-page__avatar {
  width: 48px; height: 48px; border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, #29221d, #12100e); color: #fff; font-weight: 800; font-size: 18px;
}
.pzd-account-page__nav {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  padding: 10px 12px; background: #fff; border-bottom: 1px solid var(--pzd-line);
}
.pzd-account-page__nav button {
  display: grid; gap: 4px; justify-items: center;
  border: 1px solid transparent; background: transparent;
  border-radius: 14px; padding: 10px 4px; font-size: 11px; font-weight: 700; color: var(--pzd-muted);
}
.pzd-account-page__nav button span { font-size: 18px; line-height: 1; }
.pzd-account-page__nav button.active {
  background: var(--pzd-ink); color: #fff; border-color: var(--pzd-ink);
}
.pzd-account-page__body {
  flex: 1; overflow: auto; padding: 16px 16px 24px;
  -webkit-overflow-scrolling: touch;
}
.pzd-account-page__foot {
  padding: 12px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--pzd-line); background: #fff;
}
.pzd-account-page__foot .pzd-btn-outline { width: 100%; min-height: 46px; }
.pzd-account-lead { margin: 0 0 12px; color: var(--pzd-muted); font-size: 13px; }
.pzd-acc-empty { text-align: center; padding: 28px 12px; }
.pzd-acc-empty__ico { font-size: 36px; margin-bottom: 8px; }
.pzd-acc-empty p { color: var(--pzd-muted); margin: 0 0 16px; }
.pzd-saved-address.is-active { border-color: var(--pzd-ink); box-shadow: 0 0 0 1px var(--pzd-ink); }
.pzd-saved-address__pick {
  display: grid; gap: 4px; width: 100%; border: 0; background: transparent;
  text-align: left; padding: 0 0 10px; font: inherit; color: inherit; cursor: pointer;
}
.pzd-saved-address__pick p { margin: 0; color: var(--pzd-muted); line-height: 1.35; }
.pzd-wiz__choices--addr { margin-top: 8px; }
.pzd-topbar--fallback { box-shadow: 0 10px 28px rgba(0,0,0,.08); }



.pzd-dialog:has(.pzd-wa-finalize) {
  width: min(620px, calc(100% - 24px));
  max-width: 100%;
  max-height: calc(100dvh - 24px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}
.pzd-wa-finalize {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  max-height: calc(100dvh - 24px);
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  padding: 0;
  margin: 0;
  background: #fff;
}
.pzd-wa-finalize *,
.pzd-wa-finalize *::before,
.pzd-wa-finalize *::after { box-sizing: border-box; }
.pzd-wa-finalize header {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 22px 10px;
}
.pzd-wa-finalize header > div { min-width: 0; flex: 1; }
.pzd-wa-finalize header span {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #1fa855;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pzd-wa-finalize header h2 { margin: 4px 0 0; font-size: 1.25rem; line-height: 1.25; }
.pzd-wa-finalize .pzd-close {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  margin: 0;
}
.pzd-wa-finalize__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 4px 22px 16px;
  display: grid;
  gap: 14px;
  min-width: 0;
}
.pzd-wa-finalize__hint {
  margin: 0;
  font-size: 13px;
  color: #475467;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.pzd-wa-finalize__sum {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f2f4f7;
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.pzd-wa-finalize__sum small { display: block; margin-top: 6px; color: #667085; overflow-wrap: anywhere; }
.pzd-wa-finalize .pzd-form-grid {
  grid-template-columns: 1fr;
  gap: 12px;
  min-width: 0;
}
.pzd-wa-finalize .pzd-form-grid > * { min-width: 0; max-width: 100%; }
.pzd-wa-finalize label {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--pzd-ink);
}
.pzd-wa-finalize input,
.pzd-wa-finalize textarea,
.pzd-wa-finalize select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0;
  border: 1px solid var(--pzd-line);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fff;
  color: var(--pzd-ink);
  font: inherit;
  outline: 0;
}
.pzd-wa-finalize select {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pzd-wa-finalize textarea {
  min-height: 88px;
  resize: vertical;
  display: block;
}
.pzd-wa-finalize .pzd-schedule-lead {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: #eef6ff;
  color: #334155;
  font-size: 12px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.pzd-wa-finalize footer {
  flex: 0 0 auto;
  padding: 12px 22px calc(20px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--pzd-line);
  background: #fff;
  display: grid;
  gap: 8px;
}
.pzd-wa-finalize__go {
  background: #1fa855 !important;
  min-height: 48px;
}
.pzd-wa-finalize__go:hover { background: #178a45 !important; }
.pzd-wa-finalize footer small {
  display: block;
  color: #98a2b3;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}
@media (min-width: 640px) {
  .pzd-wa-finalize .pzd-form-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
  .pzd-dialog:has(.pzd-wa-finalize) {
    width: calc(100% - 16px);
    max-height: calc(100dvh - 12px);
  }
  .pzd-wa-finalize {
    max-height: calc(100dvh - 12px);
  }
  .pzd-wa-finalize header,
  .pzd-wa-finalize__body,
  .pzd-wa-finalize footer {
    padding-left: 18px;
    padding-right: 18px;
  }
}
