/* Marketplace Sol de Verão — referência do app delivery antigo */
[hidden] { display: none !important; }

:root {
  --heading: #4b2c6a;
  --heading-rgb: 75, 44, 106;
  --aiq: #6b2d8b;
  --aiq-rgb: 107, 45, 139;
  --aiq-soft: #f3eaf8;
  --price: #5ec4a8;
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f5fa;
  --border: #ece8f0;
  --muted: #8a8194;
  --text: #2f2438;
  --primary: #6b2d8b;
  --primary-rgb: 107, 45, 139;
  --primary-hover: #5a2475;
  --primary-soft: rgba(var(--primary-rgb), 0.12);
  --accent: #ffd300;
  --accent-rgb: 255, 211, 0;
  --mint: #dff5f2;
  --ok: #00a86b;
  --danger: #dc2626;
  --shadow-sm: 0 1px 2px rgba(75, 44, 106, 0.06);
  --shadow: 0 8px 28px rgba(75, 44, 106, 0.12);
  --radius: 12px;
  --radius-lg: 18px;
  --max: 560px;
}

* { box-sizing: border-box; }

.dlv-pedir-body {
  margin: 0;
  min-height: 100vh;
  font-family: Poppins, ui-sans-serif, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}

.dlv-flash {
  position: sticky;
  top: 0;
  z-index: 40;
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 14px 0;
}
.dlv-toast {
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
}
.dlv-toast.is-ok { background: #ecfdf5; color: #047857; }
.dlv-toast.is-err { background: #fff1f2; color: #9f1239; }

.dlv-app { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }

/* ---- Topbar ---- */
.dlv-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.dlv-storeHead {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.dlv-storeHead--simple { grid-template-columns: auto minmax(0, 1fr); }
.dlv-logo {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-lg);
  border: 3px solid #fff;
  box-shadow: 0 2px 12px rgba(var(--heading-rgb), 0.12), 0 2px 8px rgba(var(--accent-rgb), 0.25);
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  background: linear-gradient(145deg, #fff8d6, #e8faf7);
  overflow: hidden;
  flex-shrink: 0;
}
.dlv-logo--img { padding: 0; }
.dlv-logo--img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dlv-brand-title {
  display: block;
  font-weight: 800;
  letter-spacing: -.02em;
  font-size: 16px;
  line-height: 1.2;
  color: var(--heading);
}
.dlv-brand-sub {
  display: block;
  margin-top: 3px;
  font-size: 12px;
  color: var(--ok);
  font-weight: 600;
}
.dlv-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 4px;
  vertical-align: middle;
}
.dlv-dot.is-open { background: #16a34a; }
.dlv-dot.is-closed { background: #dc2626; }
.dlv-brand-sub:has(.is-closed) { color: var(--danger); }

.dlv-rating {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 900;
  color: #3b2f00;
  background: linear-gradient(145deg, #ffe033 0%, var(--accent) 100%);
  border: 1px solid rgba(var(--accent-rgb), 0.55);
  box-shadow: 0 2px 10px rgba(var(--accent-rgb), 0.35);
  white-space: nowrap;
}

.dlv-back {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--heading);
  font-weight: 800;
  font-size: 1.1rem;
}

.dlv-container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 14px 8px;
}
.dlv-container--pad { padding-top: 14px; }

/* ---- Promo banners ---- */
.dlv-promoBanners {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  margin: 0 -4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.dlv-promoBanners::-webkit-scrollbar { display: none; }
.dlv-promoBanners__slide {
  position: relative;
  flex: 0 0 min(88vw, 400px);
  scroll-snap-align: center;
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  min-height: 148px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  color: var(--heading);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  animation: dlvIn .45s ease both;
}
.dlv-promoBanners__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dlv-promoBanners__content { position: relative; z-index: 1; }
.dlv-promoBanners__slide.has-image:not(.dlv-promoBanners__slide--image) .dlv-promoBanners__content {
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.88) 40%, #fff);
  margin: -18px -16px;
  padding: 40px 16px 16px;
}
.dlv-promoBanners__slide--image {
  padding: 0;
  min-height: 0;
  aspect-ratio: 1125 / 480;
}
.dlv-promoBanners__slide--image .dlv-promoBanners__content.is-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px;
  background: linear-gradient(180deg, transparent, rgba(75,44,106,.72));
  color: #fff;
}
.dlv-promoBanners__slide--image .dlv-promoEyebrow { color: var(--accent); }
.dlv-promoBanners__slide--image .dlv-promoBanners__content.is-overlay p:last-child { color: rgba(255,255,255,.9); }
.dlv-promoBanners__slide--sun {
  background:
    linear-gradient(125deg, rgba(255,255,255,.92) 0%, rgba(255,243,176,.9) 45%, rgba(255,211,0,.55) 100%);
}
.dlv-promoBanners__slide--mint {
  background:
    linear-gradient(125deg, #ffffff 0%, #f3fffd 38%, #c5ebe7 100%);
}
.dlv-promoBanners__slide--lilac {
  background:
    linear-gradient(125deg, #ffffff 0%, #f4f2f8 40%, rgba(75,44,106,.18) 100%);
}
.dlv-promoEyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--primary);
}
.dlv-promoBanners__slide h2 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.15;
  max-width: 16ch;
}
.dlv-promoBanners__slide p:last-child {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  max-width: 28ch;
}

@keyframes dlvIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* ---- Delivery promo ---- */
.dlv-deliveryPromo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 0 0 12px;
  padding: 18px 12px;
  border-radius: 18px;
  background: linear-gradient(180deg, var(--mint) 0%, #e8faf7 45%, var(--surface) 100%);
  border: 1px solid rgba(var(--primary-rgb), 0.14);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.dlv-deliveryPromo__illus {
  font-size: 26px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.06));
}
.dlv-deliveryPromo__badge {
  margin: 0;
  flex: 1;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
  color: #fff;
  background: var(--primary);
  padding: 10px 14px;
  border-radius: 999px;
  max-width: min(100%, 290px);
  box-shadow: 0 4px 16px rgba(var(--primary-rgb), 0.3);
}

/* ---- Soft info / login ---- */
.dlv-referralBanner {
  margin: 0 0 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(var(--heading-rgb), 0.12) 0%, rgba(var(--primary-rgb), 0.08) 100%);
  border: 1px solid rgba(var(--heading-rgb), 0.2);
  box-shadow: var(--shadow-sm);
  scroll-margin-top: 80px;
}
.dlv-referralBanner__title {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 900;
  color: var(--heading);
}
.dlv-referralBanner__sub {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text);
  font-weight: 600;
}
.dlv-referralBanner__fine {
  margin: 8px 0 0;
  font-size: 12px;
}
.dlv-referralBanner__fine a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.dlv-loginForm {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.dlv-loginForm input,
.dlv-loginForm select {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 11px 12px;
  font: inherit;
  font-weight: 600;
  background: #fff;
  color: var(--text);
  min-width: 0;
  min-height: 46px;
  box-sizing: border-box;
}
.dlv-loginForm select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%238a8194' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
  cursor: pointer;
}
.dlv-loginForm input:focus,
.dlv-loginForm select:focus {
  outline: 2px solid rgba(var(--primary-rgb), .45);
  outline-offset: 1px;
  border-color: var(--primary);
}
.dlv-loginForm .dlv-btn { grid-column: 1 / -1; }

.dlv-tipBanner {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff8eb, #fff1d6);
  border: 1px solid rgba(var(--accent-rgb), .45);
  color: #b45309;
  font-size: 12px;
  font-weight: 800;
}

/* ---- Chips ---- */
.dlv-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0 8px;
  margin: 0 -4px 8px;
  position: sticky;
  top: 72px;
  z-index: 15;
  background: linear-gradient(180deg, var(--bg) 75%, transparent);
  scrollbar-width: none;
}
.dlv-chips::-webkit-scrollbar { display: none; }
.dlv-chip {
  flex: 0 0 auto;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--heading);
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.dlv-chip:hover {
  border-color: rgba(var(--primary-rgb), 0.45);
  background: var(--surface-2);
}
.dlv-chip.is-active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(var(--primary-rgb), 0.28);
}

/* ---- Sections / tiles / list ---- */
.dlv-block { margin-bottom: 18px; }
.dlv-block__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding: 0 2px;
}
.dlv-block__head h2 {
  margin: 0;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.02em;
  color: var(--heading);
}
.dlv-block__head span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
}

.dlv-scroller {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 4px 2px 12px;
  margin: 0 -4px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.dlv-tile {
  flex: 0 0 150px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.dlv-tile__img {
  aspect-ratio: 1;
  background: linear-gradient(145deg, #fff7d6, #dff5f2);
  display: grid;
  place-items: center;
  font-size: 2.6rem;
  overflow: hidden;
}
.dlv-tile__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dlv-tile__body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.dlv-tile__body strong {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--heading);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dlv-tile__body em {
  font-style: normal;
  font-size: 14px;
  font-weight: 900;
  color: var(--primary);
}
.dlv-tile__body .dlv-btn { margin-top: auto; }

.dlv-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.dlv-product {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid var(--border);
}
.dlv-product:last-child { border-bottom: 0; }
.dlv-product__media {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  overflow: hidden;
}
.dlv-product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.dlv-product__main {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.dlv-product__main strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--heading);
}
.dlv-product__main span {
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dlv-product__actions {
  display: grid;
  gap: 8px;
  justify-items: end;
  min-width: 110px;
}
.dlv-product__actions em {
  font-style: normal;
  font-size: 14px;
  font-weight: 900;
  color: var(--heading);
}

/* ---- Buttons ---- */
.dlv-btn {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-weight: 800;
  padding: 12px 16px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  transition: transform .12s ease, filter .12s ease, background .12s ease;
}
.dlv-btn:active { transform: scale(.98); }
.dlv-btn--primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.38);
}
.dlv-btn--primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.dlv-btn--sm { padding: 8px 10px; font-size: 12px; min-height: 36px; border-radius: 10px; width: 100%; }
.dlv-btn--block { width: 100%; }
.dlv-btn--ghost {
  background: var(--aiq-soft, #f3eef8);
  border-color: transparent;
  color: var(--aiq, #4b2c6a);
}
.dlv-btn--wa {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}
.dlv-btn:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }

.dlv-pix-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 4px;
}
.dlv-pix-actions .dlv-btn {
  flex: 1 1 auto;
  min-width: 140px;
  font-size: .86rem;
  padding: 10px 12px;
}
.dlv-pix-copied {
  margin: 6px 0 0;
  font-size: .82rem;
  font-weight: 800;
  color: var(--ok, #00a86b);
}
.dlv-pix-copied[hidden] { display: none !important; }
.dlv-paystatus {
  margin: 8px 0 0;
  display: inline-flex;
  font-size: .82rem;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 8px;
  background: #f3eef8;
  color: var(--heading);
}
.dlv-paystatus.tone-warn {
  background: rgba(217, 119, 6, .14);
  color: #b45309;
}
.dlv-paystatus.tone-ok {
  background: rgba(0, 168, 107, .14);
  color: #047857;
}
.dlv-paystatus.tone-danger {
  background: rgba(220, 38, 38, .12);
  color: #b91c1c;
}
.dlv-paystatus.tone-muted {
  background: #f3eef8;
  color: var(--heading);
}

/* ---- Bottom nav ---- */
.dlv-bottomNav {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: 0;
  z-index: 25;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--max);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
  box-sizing: border-box;
}
.dlv-bottomNav__btn {
  border: none;
  background: transparent;
  color: var(--muted);
  border-radius: 10px;
  padding: 6px 4px 8px;
  min-height: 48px;
  display: grid;
  gap: 2px;
  place-items: center;
  font: inherit;
  font-weight: 700;
  font-size: 10px;
  cursor: pointer;
  text-decoration: none;
  transition: color .12s ease, background .12s ease;
  position: relative;
}
.dlv-bottomNav__btn:hover {
  background: var(--surface-2);
  color: var(--heading);
}
.dlv-bottomNav__btn.is-active {
  color: var(--primary);
  background: var(--primary-soft);
  font-weight: 800;
}
.dlv-bottomNav__icon {
  display: grid;
  place-items: center;
  color: inherit;
  font-size: 18px;
  line-height: 1;
}
.dlv-bottomNav__btn--cart { color: var(--primary); font-weight: 800; position: relative; }
.dlv-bottomNav__badge {
  position: absolute;
  top: 2px;
  left: 50%;
  transform: translateX(8px);
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--heading);
  font-size: 10px;
  font-weight: 900;
  line-height: 18px;
  text-align: center;
  border: 1px solid rgba(var(--heading-rgb), 0.12);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* ---- Sheet ---- */
.dlv-sheet {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.dlv-sheet-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(75, 44, 106, .4);
}
.dlv-sheet-panel {
  position: relative;
  width: 100%;
  max-width: var(--max);
  max-height: min(86vh, 640px);
  overflow: auto;
  background: var(--surface);
  border-radius: 22px 22px 0 0;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 40px rgba(75, 44, 106, .18);
  animation: dlvSheet .28s ease both;
}
@keyframes dlvSheet {
  from { transform: translateY(24px); opacity: .6; }
  to { transform: none; opacity: 1; }
}
.dlv-sheet-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
}
.dlv-sheet-head h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--heading);
}
.dlv-sheet-head p {
  margin: 4px 0 0;
  font-weight: 800;
  color: var(--primary);
}
.dlv-sheet-x {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-2);
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--heading);
}
.dlv-sheet-desc {
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}
.dlv-sheet-addons { margin-top: 16px; }
.dlv-sheet-addons h4 {
  margin: 0 0 10px;
  font-size: .8rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.dlv-addon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--border);
  font-weight: 700;
  cursor: pointer;
  color: var(--heading);
}
.dlv-addon input { width: 18px; height: 18px; accent-color: var(--primary); }
.dlv-sheet-foot {
  margin-top: 18px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}
.dlv-qty {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 6px;
}
.dlv-qty button {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: var(--surface);
  font: inherit;
  font-size: 1.2rem;
  font-weight: 800;
  cursor: pointer;
  color: var(--heading);
}
.dlv-qty span {
  min-width: 20px;
  text-align: center;
  font-weight: 800;
  color: var(--heading);
}

/* ---- Checkout / status panels ---- */
.dlv-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.dlv-panel h2 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 900;
  color: var(--heading);
}
.dlv-bag-list { list-style: none; margin: 0; padding: 0; }
.dlv-bag-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  color: var(--heading);
}
.dlv-bag-list li:last-child { border-bottom: 0; }
.dlv-bag-list strong { display: block; }
.dlv-bag-list em {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-style: normal;
  font-size: .85rem;
  font-weight: 600;
}
.dlv-bag-list button {
  border: 0;
  background: transparent;
  color: var(--danger);
  font: inherit;
  font-weight: 800;
  font-size: .82rem;
  cursor: pointer;
  padding: 0;
  margin-top: 4px;
}
.dlv-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
  font-size: 13px;
}
.dlv-totals { display: grid; gap: 8px; }
.dlv-totals div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}
.dlv-totals .is-total {
  color: var(--heading);
  font-size: 15px;
  font-weight: 900;
  padding-top: 8px;
  margin-top: 2px;
  border-top: 1px dashed var(--border);
}
.dlv-form { display: grid; gap: 12px; }
.dlv-form label { display: grid; gap: 6px; font-weight: 800; font-size: .9rem; }
.dlv-form label > span { color: var(--muted); font-size: .78rem; }
.dlv-form input,
.dlv-form select {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 600;
  background: var(--surface-2);
  min-height: 48px;
  color: var(--text);
}
.dlv-form input:focus,
.dlv-form select:focus {
  outline: 2px solid rgba(var(--primary-rgb), .4);
  border-color: var(--primary);
  background: #fff;
}
.dlv-form-2 { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }
.dlv-pix-box {
  margin: 0;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 12px;
  padding: 12px;
  font-weight: 700;
  font-size: .9rem;
  border: 1px solid rgba(var(--primary-rgb), .2);
}
.dlv-hint { margin: 0 0 12px; color: var(--muted); font-weight: 600; font-size: .9rem; }
.dlv-empty { margin: 0; color: var(--muted); font-weight: 700; padding: 8px 0; }
.dlv-meta-line { margin: 0 0 8px; font-weight: 700; color: var(--heading); line-height: 1.4; }

.dlv-track {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}
.dlv-track-code {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--heading);
}
.dlv-track-status {
  margin: 4px 0 16px;
  font-weight: 800;
  color: var(--primary);
}
.dlv-track-status.is-cancel { color: var(--danger); }
.dlv-timeline { list-style: none; margin: 0; padding: 0; }
.dlv-timeline li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  color: var(--muted);
  font-weight: 800;
  position: relative;
}
.dlv-timeline li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 28px;
  bottom: -2px;
  width: 2px;
  background: var(--border);
}
.dlv-timeline i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--surface);
  display: block;
  position: relative;
  z-index: 1;
}
.dlv-timeline li.is-done { color: var(--primary); }
.dlv-timeline li.is-done i { background: var(--primary); border-color: var(--primary); }
.dlv-timeline li.is-done:not(:last-child)::before { background: var(--primary); }
.dlv-timeline li.is-now { color: var(--heading); }
.dlv-timeline li.is-now i {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(var(--accent-rgb), .25);
}

@media (max-width: 420px) {
  .dlv-loginForm { grid-template-columns: 1fr; }
  .dlv-form-2 { grid-template-columns: 1fr; }
  .dlv-benefBox__stats { grid-template-columns: 1fr; }
  .dlv-storeHead {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto auto;
  }
  .dlv-logo { grid-row: 1 / span 2; align-self: start; }
  .dlv-rating {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    margin-top: 2px;
  }
}

@media (max-width: 360px) {
  .dlv-loginForm,
  .dlv-benefBox__stats,
  .dlv-form-2,
  .ck-row2 {
    grid-template-columns: 1fr;
  }
  .dlv-nav {
    padding-left: max(8px, env(safe-area-inset-left, 0px));
    padding-right: max(8px, env(safe-area-inset-right, 0px));
  }
}

/* ---- Conta ---- */
.dlv-app--conta { padding-bottom: 88px; }
.dlv-contaHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 8px;
  position: sticky;
  top: 0;
  z-index: 5;
  background: linear-gradient(180deg, #f4f2f8 70%, transparent);
}
.dlv-contaHead h1 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--heading);
  letter-spacing: -.02em;
}
.dlv-contaClose {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--heading);
  font-size: 1.4rem;
  font-weight: 700;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(75,44,106,.06));
}
.dlv-contaHello { margin-bottom: 18px; }
.dlv-contaHello__greet {
  margin: 0 0 8px;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--heading);
}
.dlv-contaBadge {
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(75, 44, 106, .1);
  color: var(--heading);
  font-size: .78rem;
  font-weight: 800;
}
.dlv-contaSectionLabel {
  margin: 0 0 8px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}
.dlv-contaLinks { display: grid; gap: 10px; margin-bottom: 18px; }
.dlv-contaLink {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(75,44,106,.06));
}
.dlv-contaLink__ico {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #e8f4ff;
  color: #2563eb;
  flex-shrink: 0;
}
.dlv-contaLink__ico--red { background: #ffe8ec; color: #dc2626; }
.dlv-contaLink__ico--orange { background: #fff3e0; color: #ea580c; }
.dlv-contaLink__text { flex: 1; min-width: 0; display: grid; gap: 2px; }
.dlv-contaLink__text strong {
  font-size: .98rem;
  font-weight: 800;
  color: var(--heading);
}
.dlv-contaLink__text em {
  font-style: normal;
  font-size: .82rem;
  color: var(--muted);
  font-weight: 600;
}
.dlv-contaLink__chev {
  color: var(--muted);
  font-size: 1.4rem;
  font-weight: 400;
}

.dlv-benefBox {
  background: #eef7fb;
  border: 1px solid #d5e8f0;
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 16px;
}
.dlv-benefBox__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.dlv-benefBox__head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--heading);
}
.dlv-benefBox__head a {
  font-size: .85rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}
.dlv-benefBox__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 10px;
}
.dlv-benefBox__stats span {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
}
.dlv-benefBox__stats strong {
  display: block;
  margin-top: 2px;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--heading);
}
.dlv-benefBox__msg,
.dlv-benefBox__fine,
.dlv-benefBox__foot {
  margin: 0 0 8px;
  font-size: .86rem;
  line-height: 1.45;
  color: var(--muted);
  font-weight: 600;
}
.dlv-benefBox__fine { opacity: .9; }
.dlv-benefCash {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 12px 0 8px;
  padding-top: 12px;
  border-top: 1px dashed #c9dde8;
}
.dlv-benefCash span {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--muted);
}
.dlv-benefCash strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--heading);
}
.dlv-benefCash strong.is-green { color: #00a86b; }
.dlv-btn--teal {
  background: var(--primary) !important;
  border-color: var(--primary) !important;
  color: #fff !important;
  font-weight: 800;
  border-radius: 12px;
  padding: 10px 14px;
  text-decoration: none;
  border: 0;
  font: inherit;
}
.dlv-btn--teal:disabled { opacity: .45; cursor: not-allowed; }
.dlv-btn--logout {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border-radius: 16px;
  background: #fdecef;
  color: #c92a4e;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid #f7c2cc;
  margin-top: 8px;
}

.dlv-contaCard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm, 0 1px 2px rgba(75,44,106,.06));
}
.dlv-contaCard--soft { background: #f7fbff; }
.dlv-contaCard__title {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--heading);
}
.dlv-contaLead {
  margin: 0 0 12px;
  font-size: .9rem;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.4;
}
.dlv-contaFine {
  margin: 12px 0 0;
  font-size: .85rem;
  text-align: center;
}
.dlv-contaFine a { color: var(--primary); font-weight: 800; text-decoration: none; }
.dlv-contaBack {
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}
.dlv-contaPageTitle {
  margin: 0 0 14px;
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--heading);
}
.dlv-contaEmpty {
  color: var(--muted);
  font-weight: 600;
  margin: 0 0 14px;
}
.dlv-fieldLabel {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  margin-top: 4px;
}
.dlv-orderCard {
  display: block;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
  text-decoration: none;
  color: inherit;
}
.dlv-orderCard__row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.dlv-orderCard__row strong { color: var(--heading); font-weight: 900; }
.dlv-orderCard__status {
  font-size: .78rem;
  font-weight: 800;
  color: var(--primary);
}
.dlv-orderCard p { margin: 0; font-size: .85rem; color: var(--muted); font-weight: 600; }
.dlv-orderCard__total {
  margin-top: 6px !important;
  color: var(--heading) !important;
  font-weight: 900 !important;
}

/* Pedidos (Conta) */
.od-list {
  display: grid;
  gap: 10px;
}
.od-card {
  background: #fff;
  border: 1px solid rgba(75, 44, 106, 0.08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(75, 44, 106, 0.04);
}
.od-card__main {
  display: block;
  padding: 14px 14px 10px;
  text-decoration: none;
  color: inherit;
}
.od-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.od-card__code {
  font-size: .95rem;
  font-weight: 900;
  color: var(--heading);
}
.od-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .7rem;
  font-weight: 800;
  white-space: nowrap;
  background: #f3eef8;
  color: var(--aiq);
}
.od-badge--novo { background: #eef2ff; color: #4338ca; }
.od-badge--aceito { background: #e0f2fe; color: #0369a1; }
.od-badge--preparando { background: #fff7ed; color: #c2410c; }
.od-badge--saiu { background: #f3e8ff; color: #7e22ce; }
.od-badge--entregue { background: #ecfdf5; color: #047857; }
.od-badge--cancelado { background: #fef2f2; color: #b91c1c; }
.od-card__items {
  margin: 0 0 10px;
  font-size: .84rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.35;
}
.od-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.od-card__meta span {
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
}
.od-card__meta strong {
  font-size: 1rem;
  font-weight: 900;
  color: var(--price);
}
.od-card__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px 12px;
  flex-wrap: wrap;
}
.od-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f3eef8;
  color: var(--aiq);
  font-size: .8rem;
  font-weight: 800;
  text-decoration: none;
}
.od-card__rate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--aiq);
  color: #fff;
  font: inherit;
  font-size: .8rem;
  font-weight: 800;
  cursor: pointer;
}
.od-card__rated {
  font-size: .78rem;
  font-weight: 800;
  color: #b7791f;
  padding: 0 4px;
}

.dlv-addrCard {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
}
.dlv-addrCard strong { color: var(--heading); font-weight: 900; }
.dlv-addrCard p { margin: 4px 0 8px; font-size: .88rem; color: var(--muted); font-weight: 600; }
.dlv-linkBtn {
  border: 0;
  background: none;
  color: #c92a4e;
  font: inherit;
  font-weight: 800;
  font-size: .85rem;
  cursor: pointer;
  padding: 0;
}
.dlv-checkRow {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #eef7fb;
  border: 1px solid #d5e8f0;
  font-weight: 700;
  color: var(--heading);
}
.dlv-checkRow input { width: auto; }

/* ========== Aiqfome-inspired storefront ========== */
.dlv-aiq { padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px)); background: #fff; max-width: var(--max); margin: 0 auto; }

.aiq-hero { position: relative; height: 210px; background: #2a1838; overflow: hidden; }
.aiq-hero__img, .aiq-hero__fallback { width: 100%; height: 100%; object-fit: cover; display: block; }
.aiq-hero__fallback {
  background:
    radial-gradient(circle at 30% 20%, rgba(255,211,0,.35), transparent 50%),
    linear-gradient(145deg, #6b2d8b, #2a1838 70%);
}
.aiq-hero__actions {
  position: absolute; inset: 0;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 14px 14px 0;
  pointer-events: none;
}
.aiq-hero__actions > * { pointer-events: auto; }
.aiq-hero__right { display: flex; gap: 8px; }
.aiq-iconBtn {
  width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: #fff; color: var(--aiq);
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  text-decoration: none; cursor: pointer;
}

.aiq-storeCard {
  position: relative; z-index: 2;
  margin: -42px 14px 0;
  background: #fff;
  border-radius: 22px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.aiq-storeCard__row { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.aiq-storeCard__logo {
  width: 48px; height: 48px; border-radius: 12px; object-fit: cover;
  border: 1px solid var(--border); flex-shrink: 0;
}
.aiq-storeCard__logo--emoji {
  display: grid; place-items: center; font-size: 1.4rem;
  background: linear-gradient(145deg, #fff8d6, #f3eaf8);
}
.aiq-storeCard__meta { min-width: 0; display: grid; gap: 2px; }
.aiq-storeCard__meta strong {
  font-size: 1.05rem; font-weight: 800; color: #1a1224; letter-spacing: -.02em;
}
.aiq-storeCard__meta a {
  font-size: .82rem; font-weight: 700; color: var(--aiq); text-decoration: none;
}
.aiq-pill {
  display: inline-flex; align-items: center;
  padding: 4px 10px; border-radius: 999px;
  background: var(--aiq-soft); color: var(--aiq);
  font-size: .72rem; font-weight: 700; margin-bottom: 10px;
}
.aiq-storeCard__info, .aiq-storeCard__hours {
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  align-items: center; font-size: .84rem; font-weight: 600; color: #3d3348;
  margin-bottom: 6px;
}
.aiq-storeCard__info span, .aiq-storeCard__hours {
  display: inline-flex; align-items: center; gap: 6px;
}
.aiq-storeCard__info svg, .aiq-storeCard__hours svg { color: var(--aiq); flex-shrink: 0; }
.aiq-storeCard__rating { color: #b7791f; font-weight: 700; }
.aiq-storeCard__note {
  margin-top: 10px; padding: 10px 12px; border-radius: 12px;
  background: #f3f1f5; color: #5a5164;
  font-size: .8rem; font-weight: 600;
  display: flex; gap: 8px; align-items: flex-start;
}

.aiq-body { padding: 18px 14px 8px; }
.aiq-loginSoft {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 14px; margin-bottom: 16px;
  background: var(--aiq-soft); color: var(--aiq); font-weight: 700; font-size: .9rem;
}
.aiq-loginSoft.is-ok { background: #eefaf4; color: #0f8a5f; }
.aiq-loginSoft p { margin: 0; }
.aiq-linkBtn {
  color: inherit; font-weight: 800; font-size: .82rem; text-decoration: none;
  white-space: nowrap;
}

.aiq-destaques { margin-bottom: 18px; }
.aiq-destaques h2 {
  margin: 0 0 12px; font-size: 1.15rem; font-weight: 800;
  color: #1a1224; letter-spacing: -.02em; text-transform: lowercase;
}
.aiq-destaques__scroller {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 4px;
  scrollbar-width: none;
}
.aiq-destaques__scroller::-webkit-scrollbar { display: none; }
.aiq-destaque {
  flex: 0 0 118px; border: 0; background: transparent; padding: 0;
  text-align: left; cursor: pointer; font: inherit;
}
.aiq-destaque__img {
  width: 118px; height: 118px; border-radius: 14px; overflow: hidden;
  background: #f3f1f5; display: grid; place-items: center; margin-bottom: 8px;
  position: relative;
}
.aiq-destaque__img img { width: 100%; height: 100%; object-fit: cover; }
.aiq-promo-seal {
  position: absolute; z-index: 2; top: 6px; left: 6px;
  background: #e11d48; color: #fff;
  font-size: .58rem; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; line-height: 1;
  padding: 4px 6px; border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,.18);
  pointer-events: none;
}
.aiq-price--promo {
  display: flex; flex-direction: column; gap: 1px; align-items: flex-start;
}
.aiq-price--promo s {
  font-size: .72rem; color: #9a91a6; font-weight: 600; text-decoration: line-through;
}
.aiq-price--promo strong {
  color: #e11d48; font-size: .95rem; font-weight: 800;
}
.aiq-item .aiq-price--promo strong { font-size: .92rem; }
.aiq-destaque .aiq-price--promo { margin-bottom: 2px; }
.aiq-sheet__price-promo {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px;
}
.aiq-sheet__price-promo s {
  color: #9a91a6; font-size: .95rem; font-weight: 600;
}
.aiq-sheet__price-promo strong {
  color: #e11d48; font-size: 1.15rem; font-weight: 800;
}
.aiq-sheet__promo-tag {
  display: inline-block; margin-left: 6px;
  background: #e11d48; color: #fff;
  font-size: .65rem; font-weight: 800; letter-spacing: .03em;
  padding: 3px 7px; border-radius: 6px; vertical-align: middle;
}
.aiq-destaque em {
  display: block; font-style: normal; font-size: .68rem; color: var(--muted); font-weight: 600;
}
.aiq-destaque strong {
  display: block; color: var(--aiq); font-size: .95rem; font-weight: 800;
}
.aiq-destaque > span {
  display: block; margin-top: 2px; font-size: .82rem; font-weight: 600; color: #2f2438;
  line-height: 1.25;
}

.aiq-searchWrap { margin-bottom: 12px; }
.aiq-search {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; border-radius: 999px;
  border: 1.5px solid #e2dde8; background: #fff;
}
.aiq-search svg { color: var(--aiq); flex-shrink: 0; }
.aiq-search input {
  border: 0; outline: 0; width: 100%; font: inherit; font-size: .92rem;
  font-weight: 600; color: var(--text); background: transparent;
}
.aiq-search input::placeholder { color: #b0a8b8; font-weight: 500; }

.aiq-cats {
  display: flex; gap: 8px; overflow-x: auto; margin: 0 0 18px;
  padding-bottom: 4px; scrollbar-width: none;
  position: sticky; top: 0; z-index: 12; background: #fff; padding-top: 4px;
}
.aiq-cats::-webkit-scrollbar { display: none; }
.aiq-cat {
  flex: 0 0 auto; border: 1.5px solid transparent; background: transparent;
  padding: 8px 12px; border-radius: 10px; font: inherit;
  font-size: .9rem; font-weight: 700; color: #5a5164; cursor: pointer;
  text-transform: lowercase;
}
.aiq-cat.is-active {
  border-color: var(--aiq); background: var(--aiq-soft); color: var(--aiq);
}

.aiq-section { margin-bottom: 22px; scroll-margin-top: 56px; }
.aiq-section__head {
  margin: 0 -14px 10px;
  padding: 12px 14px;
  background: linear-gradient(
    90deg,
    rgba(var(--aiq-rgb), 0.14) 0%,
    rgba(var(--aiq-rgb), 0.06) 70%,
    rgba(var(--aiq-rgb), 0.02) 100%
  );
  border-top: 1px solid rgba(var(--aiq-rgb), 0.12);
  border-bottom: 1px solid rgba(var(--aiq-rgb), 0.08);
}
.aiq-section__head h2 {
  margin: 0; font-size: 1.35rem; font-weight: 800; color: var(--aiq);
  letter-spacing: -.02em; text-transform: lowercase;
}
.aiq-section__head p {
  margin: 4px 0 0; font-size: .84rem; color: var(--muted); font-weight: 500;
  line-height: 1.4;
}
.aiq-menu { list-style: none; margin: 0; padding: 0; }
.aiq-item {
  display: flex; gap: 12px; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid #f0ecf3; cursor: pointer;
}
.aiq-item:last-child { border-bottom: 0; }
.aiq-item__text { min-width: 0; flex: 1; display: grid; gap: 4px; }
.aiq-item__text strong {
  font-size: .98rem; font-weight: 700; color: #2f2438; text-transform: lowercase;
}
.aiq-item__text em {
  font-style: normal; font-size: .92rem; font-weight: 800; color: var(--price);
}
.aiq-item__thumb {
  width: 72px; height: 72px; border-radius: 12px; overflow: hidden;
  background: #f3f1f5; flex-shrink: 0; display: grid; place-items: center;
  position: relative;
}
.aiq-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.aiq-empty { color: var(--muted); font-weight: 600; padding: 24px 0; }

/* Product sheet */
.aiq-sheet {
  position: fixed; inset: 0; z-index: 80; background: #fff;
  display: flex; flex-direction: column; max-width: var(--max); margin: 0 auto;
}
.aiq-sheet[hidden] { display: none !important; }
.aiq-sheet__top {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-bottom: 1px solid var(--border);
  background: #fff; position: sticky; top: 0; z-index: 2;
}
.aiq-sheet__back {
  border: 0; background: transparent; color: var(--aiq);
  width: 40px; height: 40px; display: grid; place-items: center; cursor: pointer;
}
.aiq-sheet__top strong {
  flex: 1; font-size: .95rem; font-weight: 800; color: var(--aiq);
  text-transform: lowercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.aiq-sheet__top-spacer { width: 40px; }
.aiq-sheet__scroll { flex: 1; overflow-y: auto; padding-bottom: 100px; }
.aiq-sheet__hero {
  height: 200px; background: #2a1838; position: relative; overflow: hidden;
}
.aiq-sheet__hero img, .aiq-sheet__hero-fallback {
  width: 100%; height: 100%; object-fit: cover; display: grid; place-items: center;
  font-size: 3rem;
}
.aiq-sheet__hero-fallback {
  background: linear-gradient(145deg, #ffd54a, #f5a623);
}
.aiq-sheet__hero-fallback img {
  width: 112px; height: 112px; border-radius: 24px;
  object-fit: cover; box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.aiq-sheet__store {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px 0; font-size: .88rem; font-weight: 700; color: #3d3348;
}
.aiq-sheet__store img, .aiq-sheet__store > span:first-child {
  width: 28px; height: 28px; border-radius: 8px; object-fit: cover;
  display: grid; place-items: center; background: #f3f1f5;
}
.aiq-sheet__store em { font-style: normal; flex: 1; }
.aiq-badge-closed {
  font-size: .72rem; font-weight: 800; color: #fff;
  background: #e63946; padding: 4px 8px; border-radius: 999px;
}
.aiq-sheet__intro { padding: 12px 16px 8px; }
.aiq-sheet__intro h3 {
  margin: 0; font-size: 1.35rem; font-weight: 800; color: #1a1224;
  text-transform: lowercase; letter-spacing: -.02em;
}
.aiq-sheet__intro #dlv-sheet-price {
  margin: 6px 0 0; font-size: 1rem; font-weight: 800; color: var(--aiq);
}
.aiq-sheet__desc { margin: 8px 0 0; color: var(--muted); font-size: .88rem; font-weight: 500; }
.aiq-sheet__notes {
  display: grid;
  gap: 6px;
  margin: 8px 16px 18px;
  padding: 12px 14px;
  border-radius: 14px;
  background: #faf8fc;
  border: 1px solid var(--border);
}
.aiq-sheet__notes > span {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}
.aiq-sheet__notes input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  background: #fff;
  color: var(--text);
  min-height: 48px;
}
.aiq-sheet__notes input:focus {
  outline: 2px solid rgba(var(--aiq-rgb), .28);
  border-color: var(--aiq);
}

.aiq-opt { border-top: 10px solid #f3f1f5; }
.aiq-opt__head {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  padding: 14px 16px 8px; background: #faf8fc;
}
.aiq-opt__head h4 {
  margin: 0; font-size: 1rem; font-weight: 800; color: #1a1224; text-transform: lowercase;
}
.aiq-opt__head p { margin: 2px 0 0; font-size: .8rem; color: var(--muted); font-weight: 600; }
.aiq-obrig {
  flex-shrink: 0; background: var(--aiq); color: #fff;
  font-size: .7rem; font-weight: 800; padding: 5px 10px; border-radius: 999px;
  text-transform: lowercase;
}
.aiq-opt__list { padding: 0 8px 8px; }
.aiq-opt__row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 8px; border-bottom: 1px solid #f0ecf3;
}
.aiq-opt__row:last-child { border-bottom: 0; }
.aiq-opt__name {
  flex: 1; min-width: 0; font-size: .95rem; font-weight: 600; color: #3d3348;
  text-transform: lowercase;
}
.aiq-opt__price { font-size: .92rem; font-weight: 800; color: var(--aiq); }
.aiq-radio, .aiq-check {
  width: 26px; height: 26px; border-radius: 50%; border: 2px solid #c9c2d2;
  background: #fff; padding: 0; cursor: pointer; flex-shrink: 0;
  display: grid; place-items: center;
}
.aiq-check { border-radius: 7px; }
.aiq-radio.is-on, .aiq-check.is-on { border-color: var(--aiq); background: var(--aiq); }
.aiq-radio i, .aiq-check i {
  width: 10px; height: 10px; border-radius: 50%; background: transparent;
}
.aiq-radio.is-on i, .aiq-check.is-on i { background: #fff; }
.aiq-check.is-on i {
  width: 12px; height: 7px; border-radius: 0; background: transparent;
  border-left: 2.5px solid #fff; border-bottom: 2.5px solid #fff;
  transform: rotate(-45deg) translate(1px, -1px);
}
.aiq-miniQty {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
}
.aiq-miniQty button {
  width: 28px; height: 28px; border-radius: 8px; border: 0;
  background: #ece8f0; color: #4b2c6a; font-size: 1.1rem; font-weight: 700;
  cursor: pointer; display: grid; place-items: center;
}
.aiq-miniQty span {
  min-width: 1.2rem; text-align: center; font-weight: 800; color: #2f2438; font-size: .9rem;
}

.aiq-sheet__foot {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; gap: 12px; align-items: center;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
  background: #fff; border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(75,44,106,.08);
  border-radius: 22px 22px 0 0;
}
.aiq-qty {
  display: inline-flex; align-items: center; gap: 10px;
  background: #f3f1f5; border-radius: 999px; padding: 6px 8px;
}
.aiq-qty button {
  width: 34px; height: 34px; border-radius: 50%; border: 0;
  background: #fff; color: #4b2c6a; font-size: 1.2rem; font-weight: 700;
  cursor: pointer; box-shadow: var(--shadow-sm);
}
.aiq-qty span { min-width: 1.4rem; text-align: center; font-weight: 800; }
.aiq-addBtn {
  flex: 1; min-height: 48px; border: 0; border-radius: 999px;
  background: var(--aiq); color: #fff; font: inherit; font-size: .95rem;
  font-weight: 800; cursor: pointer; text-transform: lowercase;
}
.aiq-addBtn:disabled { background: #b8b0c0; cursor: not-allowed; }

.aiq-pageHead {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  position: sticky;
  top: 0;
  z-index: 15;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.aiq-pageHead__text { min-width: 0; display: grid; gap: 2px; }
.aiq-pageHead__text strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--aiq);
  text-transform: lowercase;
}
.aiq-pageHead__text span {
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
}

/* ---- Checkout redesenhado ---- */
.dlv-checkout {
  background: #f6f3f9;
  /* Nav (~64px) + barra de totais (~88px) + folga para o último campo. */
  --ck-bar-space: calc(200px + env(safe-area-inset-bottom, 0px));
  max-width: 100%;
  overflow-x: clip;
  width: 100%;
}
.dlv-checkout.dlv-app,
.dlv-checkout.dlv-aiq {
  /* Padding no <main>: sempre funciona, independente de :has/spacer. */
  padding-bottom: var(--ck-bar-space) !important;
}
.dlv-checkout .ck-spacer {
  display: block;
  height: 8px;
  flex-shrink: 0;
  pointer-events: none;
}
.ck-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px 0;
  max-width: var(--max);
  margin: 0 auto;
}
.ck-progress__dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  background: #e8e0f0;
  color: var(--muted);
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
}
.ck-progress__dot.is-active,
.ck-progress__dot.is-done {
  background: var(--aiq);
  color: #fff;
}
.ck-progress__line {
  width: 22px;
  height: 2px;
  background: #e0d6ec;
  border-radius: 2px;
}
.ck-step[hidden] { display: none !important; }
.ck-addrList {
  display: grid;
  gap: 8px;
  margin-bottom: 8px;
}
.ck-addrCard {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: #faf8fc;
  cursor: pointer;
}
.ck-fulfill {
  display: grid;
  gap: 10px;
  margin: 0 0 4px;
}
.ck-fulfillCard {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 14px 12px;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
  transition: border-color .12s ease, background .12s ease;
}
.ck-fulfillCard:has(input:checked) {
  border-color: var(--aiq);
  background: var(--aiq-soft);
}
.ck-fulfillCard input { margin-top: 3px; accent-color: var(--aiq); }
.ck-fulfillCard__body { display: grid; gap: 2px; min-width: 0; }
.ck-fulfillCard__body strong {
  font-size: .95rem;
  font-weight: 800;
  color: var(--ink, #2f2438);
}
.ck-fulfillCard__body em {
  font-style: normal;
  font-size: .8rem;
  font-weight: 600;
  color: var(--muted);
}
.ck-pickupInfo {
  margin: 0;
  padding: 14px 14px;
  border-radius: 14px;
  background: var(--aiq-soft, rgba(0,166,156,.1));
  border: 1px solid rgba(0, 166, 156, .22);
  font-size: .88rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink, #2f2438);
}
.ck-addrCard:has(input:checked) {
  border-color: var(--aiq);
  background: var(--aiq-soft);
}
.ck-addrCard input { margin-top: 4px; accent-color: var(--aiq); }
.ck-addrCard__body { display: grid; gap: 2px; min-width: 0; }
.ck-addrCard__body strong {
  font-size: .9rem;
  font-weight: 800;
  color: var(--heading);
}
.ck-addrCard__body em {
  font-style: normal;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
}
.ck-addrCard__body small {
  font-size: .75rem;
  font-weight: 700;
  color: var(--muted);
}
.ck-coupon { margin: 4px 0 10px; }
.ck-coupon__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}
.ck-coupon__btn {
  border: 0;
  border-radius: 12px;
  padding: 0 14px;
  min-height: 48px;
  background: #f3eef8;
  color: var(--aiq);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.ck-coupon__msg {
  margin: 8px 0 0;
  font-size: .82rem;
  font-weight: 700;
}
.ck-coupon__msg.is-ok { color: #0f8a5f; }
.ck-coupon__msg.is-err { color: #c92a4e; }
.ck-promo {
  margin: 10px 0 4px;
  display: grid;
  gap: 8px;
}
.ck-promo__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ck-promo__badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e8f6ef;
  color: #0f8a5f;
  font-size: .78rem;
  font-weight: 800;
}
.ck-promo__badge--save {
  background: #fff4e5;
  color: #b86a00;
}
.ck-promo__upsell {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px dashed #c9b8e0;
  background: #faf7ff;
}
.ck-promo__upsell-thumb {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  object-fit: cover;
  background: #efe8f7;
}
.ck-promo__upsell-thumb--empty {
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}
.ck-promo__upsell-text {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.ck-promo__upsell-text strong {
  font-size: .88rem;
  color: var(--text);
}
.ck-promo__upsell-text span {
  font-size: .78rem;
  color: var(--muted);
}
.ck-promo__upsell-btn {
  border: 0;
  border-radius: 12px;
  min-height: 40px;
  padding: 0 12px;
  background: var(--aiq, #6b3fa0);
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}
.ck-summary { display: grid; gap: 10px; }
.ck-summary__block {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  background: #faf8fc;
}
.ck-summary__block header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.ck-summary__block header strong {
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--aiq);
}
.ck-summary__edit {
  border: 0;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ck-summary__block p {
  margin: 0;
  font-size: .9rem;
  font-weight: 600;
  color: var(--heading);
  line-height: 1.4;
}
.ck-summary__extras {
  margin-top: 6px !important;
  color: var(--muted) !important;
  font-size: .82rem !important;
}
.ck-summary__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.ck-summary__items li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--heading);
}
.ck-summary__totals {
  display: grid;
  gap: 6px;
  padding-top: 4px;
}
.ck-summary__totals div {
  display: flex;
  justify-content: space-between;
  font-size: .86rem;
  font-weight: 700;
  color: var(--muted);
}
.ck-summary__totals .is-total {
  color: var(--aiq);
  font-size: 1.05rem;
  font-weight: 900;
  padding-top: 8px;
  border-top: 1px dashed var(--border);
  margin-top: 4px;
}
.dlv-checkout .ck-body {
  padding: 12px 14px 8px;
  display: grid;
  gap: 10px;
  scroll-padding-bottom: var(--ck-bar-space, 140px);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: clip;
}
.ck-rest {
  display: grid;
  gap: 10px;
}
.ck-rest[hidden] { display: none !important; }
.ck-section {
  background: #fff;
  border-radius: 18px;
  padding: 14px 14px 12px;
  border: 1px solid rgba(75, 44, 106, 0.06);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: clip;
}
.ck-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.ck-section__head h2,
.ck-section__title {
  margin: 0 0 10px;
  font-size: .95rem;
  font-weight: 800;
  color: var(--aiq);
  text-transform: lowercase;
  letter-spacing: .01em;
}
.ck-section__head h2 { margin: 0; }
.ck-addMore {
  color: var(--aiq);
  font-weight: 800;
  font-size: .82rem;
  text-decoration: none;
}
.ck-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.ck-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}
.ck-item:first-child { border-top: 0; padding-top: 4px; }
.ck-item__thumb {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  object-fit: cover;
  background: #f3eef8;
  display: block;
}
.ck-item__thumb--empty {
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  line-height: 1;
  object-fit: cover;
}
.ck-item__name {
  display: block;
  font-size: .95rem;
  font-weight: 800;
  color: var(--heading);
  line-height: 1.3;
}
.ck-item__addons {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.35;
}
.ck-item__notes {
  display: grid;
  gap: 4px;
  margin: 8px 0 0;
}
.ck-item__notes > span {
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}
.ck-item__notes input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  background: #faf8fc;
  color: var(--text);
  min-height: 42px;
}
.ck-item__notes input:focus {
  outline: 2px solid rgba(var(--aiq-rgb), .28);
  border-color: var(--aiq);
  background: #fff;
}
.ck-itemNotesPay {
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: #faf8fc;
  border: 1px solid var(--border);
}
.ck-itemNotesPay__title {
  margin: 0 0 8px;
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--aiq);
}
.ck-itemNotesPay__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.ck-itemNotesPay__list li {
  display: grid;
  gap: 2px;
}
.ck-itemNotesPay__list strong {
  font-size: .86rem;
  font-weight: 800;
  color: var(--heading);
}
.ck-itemNotesPay__list span {
  font-size: .82rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.35;
}
.ck-summary__items .ck-sum-item {
  display: grid;
  gap: 2px;
  min-width: 0;
}
.ck-summary__items .ck-sum-item em {
  font-style: normal;
  font-size: .78rem;
  font-weight: 600;
  color: var(--muted);
}
.ck-summary__items .ck-sum-note {
  color: var(--aiq) !important;
}
.ck-item__row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}
.ck-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: #f3eef8;
  border-radius: 999px;
  padding: 2px;
}
.ck-qty button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--aiq);
  font: inherit;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(75, 44, 106, 0.08);
}
.ck-qty span {
  min-width: 1.6rem;
  text-align: center;
  font-weight: 800;
  color: var(--heading);
  font-size: .92rem;
}
.ck-item__rm {
  border: 0;
  background: transparent;
  color: #c0456a;
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ck-item__price {
  font-size: .95rem;
  font-weight: 800;
  color: var(--price);
  white-space: nowrap;
  padding-top: 2px;
}
.ck-empty {
  margin: 4px 0 0;
  padding: 28px 12px;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  font-size: .95rem;
  display: grid;
  gap: 10px;
  justify-items: center;
}
.ck-empty a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  margin-top: 2px;
  border-radius: 999px;
  background: var(--aiq);
  color: #fff !important;
  font-weight: 800;
  text-decoration: none;
  font-size: .9rem;
}
.ck-form { display: grid; gap: 10px; width: 100%; min-width: 0; max-width: 100%; }
.ck-form .ck-primaryBtn {
  /* Garante que o botão “salvar” fique acima da barra ao rolar. */
  margin-bottom: 8px;
}
.ck-field {
  display: grid;
  gap: 6px;
  margin: 0;
  min-width: 0;
  max-width: 100%;
}
.ck-field > span {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}
.ck-field input,
.ck-field select {
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px; /* evita zoom automático no iOS */
  font-weight: 600;
  background: #faf8fc;
  min-height: 48px;
  color: var(--text);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.ck-field select {
  /* Texto longo do bairro (frete/ETA) não estoura a tela no iOS. */
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238a8194' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}
.ck-field input:focus,
.ck-field select:focus {
  outline: 2px solid rgba(var(--aiq-rgb), .28);
  border-color: var(--aiq);
  background: #fff;
}
.ck-field select:focus {
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b2d8b' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.ck-row2 {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 10px;
  min-width: 0;
  max-width: 100%;
}
.ck-subtleLink {
  display: inline-block;
  margin-top: 2px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
}
.ck-subtleLink:hover { color: var(--aiq); }
.ck-pix {
  margin: 0;
  background: var(--aiq-soft);
  color: var(--aiq);
  border-radius: 12px;
  padding: 12px;
  font-weight: 700;
  font-size: .86rem;
  line-height: 1.4;
}
.ck-pix[hidden] { display: none !important; }
.ck-pix__text { margin: 0 0 10px; }
.ck-pix__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ck-pix__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font: inherit;
  font-weight: 800;
  font-size: .82rem;
  cursor: pointer;
  text-decoration: none;
  background: #fff;
  color: var(--aiq);
  box-shadow: 0 1px 2px rgba(75, 44, 106, .08);
}
.ck-pix__btn--wa {
  background: #25d366;
  color: #fff;
}
.ck-pix__btn--wa[hidden] { display: none !important; }
.ck-pix__copied {
  margin: 8px 0 0;
  font-size: .78rem;
  font-weight: 800;
  color: var(--ok, #00a86b);
}
.ck-pix__copied[hidden] { display: none !important; }
.ck-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 700;
  font-size: .88rem;
  color: var(--heading);
  padding: 10px 12px;
  background: #f3eef8;
  border-radius: 12px;
}
.ck-check input { margin-top: 3px; accent-color: var(--aiq); }
.ck-hint {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.4;
}
.ck-hint a { color: var(--aiq); font-weight: 800; text-decoration: none; }
.ck-primaryBtn {
  width: 100%;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: var(--aiq);
  color: #fff;
  font: inherit;
  font-size: .95rem;
  font-weight: 800;
  cursor: pointer;
  text-transform: lowercase;
  margin-top: 4px;
}
.ck-submitSr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.ck-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  /* Acima da bottomNav (Cardápio / Carrinho / Conta). */
  bottom: calc(62px + env(safe-area-inset-bottom, 0px));
  z-index: 26;
  width: 100%;
  max-width: var(--max);
  box-sizing: border-box;
  padding: 10px 14px 12px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(75, 44, 106, 0.1);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}
.ck-bar--soft {
  grid-template-columns: 1fr;
}
.ck-bar__totals { min-width: 0; }
.ck-bar__lines {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  font-size: .7rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 2px;
}
.ck-bar__lines strong { color: var(--heading); font-weight: 800; }
.ck-bar__total {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.ck-bar__total > span {
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}
.ck-bar__total strong {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--aiq);
}
.ck-bar__btn {
  border: 0;
  border-radius: 999px;
  min-height: 48px;
  padding: 0 16px;
  max-width: 46vw;
  background: var(--aiq);
  color: #fff;
  font: inherit;
  font-size: .88rem;
  font-weight: 800;
  cursor: pointer;
  text-transform: lowercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 4px 14px rgba(var(--aiq-rgb), 0.28);
}
.ck-bar__btn:disabled {
  background: #b8b0c0;
  box-shadow: none;
  cursor: not-allowed;
}
@media (max-width: 480px) {
  .ck-row2 {
    grid-template-columns: 1fr;
  }
  .dlv-checkout .ck-body {
    padding-left: 12px;
    padding-right: 12px;
  }
  .ck-section {
    padding: 12px;
    border-radius: 14px;
  }
  .ck-bar__btn {
    max-width: min(46vw, 11.5rem);
  }
}
@media (max-width: 380px) {
  /* Mantém totais + botão lado a lado (empilhar cobria o formulário). */
  .ck-bar {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    padding: 8px 12px 10px;
  }
  .ck-bar__lines { display: none; }
  .ck-bar__btn {
    width: auto;
    min-height: 44px;
    padding: 0 12px;
    font-size: .8rem;
    max-width: 48vw;
  }
  .ck-bar__total strong { font-size: 1.05rem; }
  .dlv-checkout {
    --ck-bar-space: calc(180px + env(safe-area-inset-bottom, 0px));
  }
}
@media (max-height: 700px) {
  .ck-section { padding: 12px 12px 10px; }
  .ck-fulfillCard { padding: 12px 10px; }
  .dlv-checkout {
    --ck-bar-space: calc(210px + env(safe-area-inset-bottom, 0px));
  }
}

/* Avaliação */
.aiq-rate {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: end center;
  max-width: var(--max); margin: 0 auto;
}
.aiq-rate[hidden] { display: none !important; }
.aiq-rate__backdrop {
  position: absolute; inset: 0;
  background: rgba(30, 16, 45, .45);
}
.aiq-rate__panel {
  position: relative; z-index: 1;
  width: 100%;
  background: #fff;
  border-radius: 22px 22px 0 0;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 32px rgba(75,44,106,.18);
}
.aiq-rate__panel--scroll {
  max-height: min(88vh, 720px);
  overflow-y: auto;
}
.aiq-rate__head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 6px;
}
.aiq-rate__head h2 {
  margin: 0; font-size: 1.15rem; font-weight: 800;
  color: var(--aiq); text-transform: lowercase;
}
.aiq-rate__x {
  border: 0; background: #f3f1f5; width: 34px; height: 34px;
  border-radius: 50%; font-size: 1.2rem; cursor: pointer; color: var(--heading);
}
.aiq-rate__sub {
  margin: 0 0 14px; color: var(--muted); font-weight: 600; font-size: .9rem;
}
.aiq-rate__q { margin-bottom: 14px; }
.aiq-rate__q-label {
  margin: 0 0 8px; font-size: .92rem; font-weight: 800; color: var(--heading);
}
.aiq-rate__stars {
  display: flex; justify-content: flex-start; gap: 6px;
}
.aiq-rate__star {
  border: 0; background: transparent; color: #d5cfe0;
  padding: 2px; cursor: pointer; transition: color .12s ease, transform .12s ease;
}
.aiq-rate__star.is-on { color: #ffd300; }
.aiq-rate__star:hover { transform: scale(1.08); }
.aiq-rate__comment { display: grid; gap: 6px; margin-bottom: 12px; }
.aiq-rate__comment span {
  font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .04em; color: var(--muted);
}
.aiq-rate__comment textarea {
  border: 1.5px solid var(--border); border-radius: 14px;
  padding: 12px; font: inherit; font-weight: 600; resize: vertical;
  min-height: 84px; color: var(--text);
}
.aiq-rate__comment textarea:focus {
  outline: 2px solid rgba(var(--aiq-rgb), .28); border-color: var(--aiq);
}
.aiq-rate__msg {
  margin: 0 0 10px; font-size: .86rem; font-weight: 700;
}
.aiq-rate__msg.is-ok { color: #0f8a5f; }
.aiq-rate__msg.is-err { color: #c92a4e; }
.aiq-storeCard__rating { cursor: pointer; }

.aiq-reviews {
  list-style: none; margin: 0 0 14px; padding: 0;
  display: grid; gap: 10px;
}
.aiq-reviews__empty {
  padding: 18px 12px; text-align: center;
  color: var(--muted); font-weight: 600; font-size: .9rem;
}
.aiq-reviews__item {
  border: 1px solid var(--border); border-radius: 14px;
  padding: 12px; background: #faf8fc;
}
.aiq-reviews__top {
  display: flex; justify-content: space-between; gap: 8px;
  margin-bottom: 4px;
}
.aiq-reviews__top strong {
  font-size: .92rem; color: var(--heading); font-weight: 800;
}
.aiq-reviews__top span {
  font-size: .75rem; color: var(--muted); font-weight: 600; white-space: nowrap;
}
.aiq-reviews__avg {
  font-weight: 800; color: #b7791f; margin-bottom: 6px;
}
.aiq-reviews__dims {
  display: flex; flex-wrap: wrap; gap: 6px 10px;
  font-size: .75rem; font-weight: 700; color: var(--muted);
  margin-bottom: 4px;
}
.aiq-reviews__comment {
  margin: 8px 0 0; font-size: .88rem; font-weight: 600;
  color: var(--text); line-height: 1.4;
}

/* ---- Chat FAB + sheet ---- */
.dlv-chat-fab {
  position: fixed;
  z-index: 30;
  right: max(12px, calc(50% - (var(--max, 480px) / 2) + 12px));
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--primary, #6b2d8b);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
  display: grid;
  place-items: center;
  cursor: pointer;
}
/* Checkout: FAB menor, à esquerda — não cobre Conta nem o CTA. */
body:has(.dlv-checkout) .dlv-chat-fab {
  right: auto;
  left: max(10px, calc(50% - (var(--max, 560px) / 2) + 10px));
  bottom: calc(148px + env(safe-area-inset-bottom, 0px));
  width: 44px;
  height: 44px;
  opacity: 0.9;
}
@media (max-height: 620px) {
  body:has(.dlv-checkout) .dlv-chat-fab {
    display: none;
  }
}
.dlv-chat-fab.has-unread {
  animation: dlv-chat-fab-pulse 1.6s ease-in-out infinite;
}
.dlv-chat-fab__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: #e11d48;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(225, 29, 72, 0.45);
}
@keyframes dlv-chat-fab-pulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
  50% { box-shadow: 0 6px 22px rgba(225, 29, 72, 0.45), 0 0 0 6px rgba(225, 29, 72, 0.15); }
}
.dlv-chat-sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
}
.dlv-chat-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 10, 30, 0.45);
}
.dlv-chat-sheet__panel {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 100%;
  max-width: var(--max, 480px);
  height: min(78vh, 560px);
  background: #fff;
  border-radius: 16px 16px 0 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.16);
}
.dlv-chat-sheet__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .75rem;
  padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border, #eee);
}
.dlv-chat-sheet__head span {
  display: block;
  font-size: 12px;
  color: var(--muted, #887);
  font-weight: 500;
}
.dlv-chat-sheet__close {
  border: none;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #665;
  padding: 0 4px;
}
.dlv-chat-sheet__msgs {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #f7f4fa;
}
.dlv-chat-sheet__chat {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.dlv-chat-sheet__gate {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 24px 18px;
  background: #f7f4fa;
}
.dlv-chat-sheet__gate-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted, #665);
  text-align: center;
}
.dlv-chat-sheet__gate-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dlv-chat-sheet__gate-form input {
  border: 1px solid var(--border, #ddd);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
}
.dlv-chat-sheet__gate-form button {
  border: none;
  border-radius: 999px;
  padding: 12px 16px;
  background: var(--primary, #6b2d8b);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.dlv-chat-bubble {
  max-width: 82%;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.35;
  white-space: pre-wrap;
  word-break: break-word;
}
.dlv-chat-bubble.is-mine {
  align-self: flex-end;
  background: var(--primary, #6b2d8b);
  color: #fff;
}
.dlv-chat-bubble.is-them {
  align-self: flex-start;
  background: #fff;
  border: 1px solid #ebe4f2;
}
.dlv-chat-bubble a:has(img) {
  display: block;
  max-width: 100%;
}
.dlv-chat-bubble img.chat-bubble__media,
.dlv-chat-bubble img {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  border-radius: 10px;
  margin: 6px 0;
}
.dlv-chat-bubble audio.chat-bubble__media {
  display: block;
  width: 100%;
  max-width: 220px;
  margin: 6px 0;
}
.dlv-chat-sheet__form {
  display: flex;
  gap: 8px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border, #eee);
  background: #fff;
}
.dlv-chat-sheet__form input {
  flex: 1;
  border: 1px solid var(--border, #ddd);
  border-radius: 999px;
  padding: 10px 14px;
  font: inherit;
}
.dlv-chat-sheet__form button {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--primary, #6b2d8b);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.dlv-chat-bubble__sender {
  display: block;
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 2px;
  opacity: .85;
}
