:root {
  --accent: #6e5c35;
  --accent2: #564728;
  --header-bg: #ffffff;
  --page-bg: #ffffff;
  --card-bg: #f5f4f1;
  --text: #2e2920;
  --text-sec: #6b6358;
  --border: rgba(140, 125, 90, 0.22);
  --wa: #25d366;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
}

html {
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #09090b; }
::-webkit-scrollbar-thumb { background: #404040; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #ab8421; }

*, ::before, ::after { border-color: #262626; }

body {
  background-color: var(--page-bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  cursor: pointer;
  border-width: 0;
  border-style: none;
  background: none;
  padding: 0;
  color: inherit;
}

input {
  font-family: inherit;
}

a { text-decoration: none; color: inherit; }

img, svg, video, canvas, audio, iframe, embed, object { display: block; vertical-align: middle; }

.max-w-3xl { max-width: 48rem; margin-left: auto; margin-right: auto; }
.max-w-lg { max-width: 32rem; margin-left: auto; margin-right: auto; }

@font-face {
  font-family: "Sacramento";
  src: url("/fonts/sacramento-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: var(--header-bg);
  border-bottom: 1px solid var(--border);
}
.header-fixed__inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 12px 12px;
}
@media (min-width: 640px) { .header-fixed__inner { padding-left: 16px; padding-right: 16px; } }
.header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.header-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  flex-shrink: 1;
}
.header-brand__script {
  color: #171717;
  font-family: "Sacramento", cursive;
  font-size: 40px;
  font-weight: 400;
  line-height: 0.9;
  white-space: nowrap;
}
.header-brand__word {
  color: #2e2920;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  white-space: nowrap;
}
.bell-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  transition: all 0.15s;
  flex-shrink: 0;
  margin-left: auto;
}
.bell-btn:active { transform: scale(0.95); }
.bell-btn.is-active {
  background-color: rgba(110, 92, 53, 0.15);
  border: 1px solid rgba(110, 92, 53, 0.5);
  color: #6e5c35;
}
.bell-btn.is-idle {
  background-color: #27272a;
  border: 1px solid #3f3f46;
  color: #a1a1aa;
}
.bell-badge {
  min-width: 18px;
  height: 18px;
  border-radius: 9999px;
  font-size: 10px;
  line-height: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  background-color: var(--accent);
  color: #ffffff;
}
.search-wrap { position: relative; }
.search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #a1a1aa;
  pointer-events: none;
  z-index: 10;
}
.search-input {
  width: 100%;
  min-width: 0;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 36px 4px 36px;
  font-size: 14px;
  line-height: 20px;
  outline: none;
  background-color: #f5f4f1;
  color: var(--text);
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0), 0 0 0 0 rgba(0, 0, 0, 0), 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.15s;
}
.search-input::placeholder { color: #94a3b8; }
.search-input:focus-visible {
  box-shadow: 0 0 0 0 #fff, 0 0 0 3px rgba(201, 155, 38, 0.5), 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.hero-banner {
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  background-color: #fcfcfc;
}
.hero-banner img {
  width: 100%;
  height: auto;
}
.hero-banner__brand { position: relative; }
.hero-banner__script { display: block; }
.hero-banner__word {
  position: absolute;
  top: 66.5%;
  left: 51.8%;
  color: #171717;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(7px, 2.14vw, 16px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.82em;
  white-space: nowrap;
}
.hero-banner__splash {
  position: absolute;
  top: clamp(10px, 2vw, 18px);
  right: clamp(10px, 2vw, 18px);
  max-width: 42%;
  margin: 0;
  padding: 5px 9px;
  color: #f7f8ee;
  background: #3f4726;
  font-size: clamp(10px, 1.5vw, 14px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.025em;
  text-align: center;
  transform: rotate(-7deg);
}
.hero-banner__controls {
  display: flex;
  justify-content: flex-end;
  padding: 0 10px 10px;
  background: #fcfcfc;
}
.hero-banner__music {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 5px 9px;
  color: #2e2920;
  background: #f5f4f1;
  border: 1px solid rgba(140, 125, 90, 0.32);
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.hero-banner__music:hover,
.hero-banner__music[aria-pressed="true"] {
  color: #f7f8ee;
  background: #232818;
}
.hero-banner__music:focus-visible {
  outline: 2px solid #4a5527;
  outline-offset: 3px;
}
.hero-banner__music-icon {
  width: 22px;
  height: 22px;
  flex: none;
  image-rendering: pixelated;
}
.hero-banner__music-spark { opacity: 0.8; }
.hero-banner__music[aria-pressed="true"] .hero-banner__music-spark {
  animation: homeNoteBlink 0.52s steps(2, end) infinite;
}
@keyframes homeNoteBlink {
  50% { opacity: 0.25; }
}

.promo-btn {
  width: 100%;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  border: 2px solid rgba(110, 92, 53, 0.302);
  border-radius: 12px;
  transition: all 0.15s;
}
.promo-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, transparent, rgba(110, 92, 53, 0.4) 140%);
  pointer-events: none;
}
.promo-btn__emoji { font-size: 24px; line-height: 32px; }
.promo-btn__texts { flex: 1; text-align: left; position: relative; z-index: 10; }
.promo-btn__title {
  display: block;
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: 0.025em;
  color: var(--text);
}
.promo-btn__sub {
  display: block;
  margin: 0;
  font-size: 10px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--text-sec);
}
.promo-btn__cta {
  position: relative;
  z-index: 10;
  margin-left: 4px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  background-color: rgba(110, 92, 53, 0.15);
  color: var(--accent);
  white-space: nowrap;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}
.quick-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  line-height: 24px;
  border-radius: 12px;
  transition: all 0.15s;
}
.quick-btn__icon {
  padding: 6px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quick-btn__icon svg { width: 16px; height: 16px; }
.quick-btn__label {
  display: block;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}
.quick-btn__sub {
  display: inline;
  font-size: 10px;
  line-height: 10px;
  color: var(--text-sec);
}

.onlog-btn {
  width: 100%;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  transition: all 0.15s;
}
.onlog-btn__tile {
  padding: 8px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.onlog-btn__tile img { width: 32px; height: 32px; object-fit: contain; }

.wa-btn {
  width: 100%;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  transition: all 0.15s;
}
.wa-btn__tile {
  padding: 8px;
  border-radius: 8px;
  flex-shrink: 0;
}
.wa-btn__title { margin: 0; font-size: 14px; font-weight: 700; color: var(--wa); }
.wa-btn__sub { margin: 0; font-size: 10px; color: rgba(37, 211, 102, 0.6); }

.hint-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  margin-bottom: 12px;
  border-radius: 12px;
  background-color: var(--card-bg);
  border: 1px solid var(--border);
}
.hint-bar span { font-size: 14px; line-height: 20px; color: var(--text-sec); }
.hint-bar svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--text-sec); }

.warn-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  margin-bottom: 12px;
  border-radius: 12px;
  border: 2px solid rgba(234, 179, 8, 0.5);
  background-color: rgba(234, 179, 8, 0.1);
}
.warn-bar svg { width: 16px; height: 16px; flex-shrink: 0; color: #eab308; }
.warn-bar span {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  text-align: center;
  color: var(--text);
}

.cat-list { display: flex; flex-direction: column; gap: 12px; }
.cat-card {
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  background-color: var(--card-bg);
}
.cat-head {
  width: 100%;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.15s;
}
@media (min-width: 640px) { .cat-head { padding: 16px; } }
.cat-head:hover { background-color: rgba(0, 0, 0, 0.05); }
.cat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 12px;
  line-height: 20px;
}
@media (min-width: 640px) {
  .cat-avatar { width: 40px; height: 40px; font-size: 14px; }
}
.cat-head__texts { margin-left: 12px; text-align: left; min-width: 0; }
.cat-title {
  display: block;
  margin: 0;
  font-weight: 700;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
@media (min-width: 640px) { .cat-title { font-size: 16px; } }
.cat-sub { display: block; margin: 0; font-size: 12px; line-height: 16px; color: var(--text-sec); }
.cat-chev { margin-left: auto; }
.cat-chevron {
  width: 20px;
  height: 20px;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.cat-chevron.open { transform: rotate(180deg); }

.brand-row {
  border-top: 1px solid var(--border);
}
.brand-item { border-bottom: 1px solid var(--border); }
.brand-head {
  width: 100%;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background-color 0.15s;
}
@media (min-width: 640px) { .brand-head { padding-left: 16px; padding-right: 16px; } }
.brand-head:hover { background-color: rgba(0, 0, 0, 0.05); }
.brand-name {
  display: block;
  margin: 0;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
  transition: all 0.2s;
}
.brand-text { flex: 1; min-width: 0; padding-right: 8px; text-align: left; }
.brand-sub { display: block; margin: 0; font-size: 12px; line-height: 16px; color: var(--text-sec); }
.brand-sub .indisp { color: #f87171b3; }
.brand-chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
  color: var(--text-sec);
  flex-shrink: 0;
}
.brand-chevron.open { transform: rotate(180deg); }

.brand-products {
  padding: 0 8px 8px;
}
@media (min-width: 640px) { .brand-products { padding: 0 12px 12px; } }
.products-box {
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--page-bg);
}
.forma-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background-color: var(--card-bg);
  border-bottom: 1px solid var(--border);
}
.forma-head.with-top { border-top: 1px solid var(--border); }
.forma-head__left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.forma-head__emoji { font-size: 16px; }
.forma-head__label {
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  color: var(--text);
}
.forma-head__label.other { color: var(--text-sec); }
.forma-head__right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.forma-head__count { font-size: 14px; line-height: 20px; color: var(--text-sec); }
.forma-chevron {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
  color: var(--text);
}
.forma-chevron.open { transform: rotate(180deg); }

.product-row {
  padding: 10px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.product-row.unavailable { background-color: rgba(110, 92, 53, 0.03); }
.product-img-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  margin-right: 10px;
  transition: opacity 0.15s;
}
.product-img-btn img { width: 100%; height: 100%; object-fit: cover; }
.product-img-btn.compact { width: 36px; height: 36px; }
.product-img-btn.unavailable { opacity: 0.4; }
.product-img-ph {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
}
.product-img-ph.compact { width: 36px; height: 36px; }
.product-mid {
  min-width: 0;
  flex: 1;
  padding-right: 12px;
}
.product-name {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-name.compact { font-size: 14px; line-height: 20px; }
.product-name.unavailable {
  text-decoration: line-through;
  color: var(--text-sec);
}
.product-sub {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-sec);
}
.product-sub.compact {
  font-size: 12px;
  line-height: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.product-sub .venc { color: #f59e0b; font-weight: 600; }
.product-desc {
  margin: 2px 0 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-sec);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.price-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  cursor: pointer;
}
.price-orig {
  font-size: 12px;
  line-height: 1;
  text-decoration: line-through;
  color: var(--text-sec);
}
.price-promo {
  font-size: 16px;
  line-height: 1.25;
  font-weight: 900;
  color: #f87171;
}
.price-single {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: var(--accent);
  cursor: pointer;
}
.price-single.compact { font-size: 14px; line-height: 20px; }
.price-unavailable {
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  text-decoration: line-through;
  color: var(--text-sec);
  cursor: pointer;
}
.badge-indisp {
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  flex-shrink: 0;
  white-space: nowrap;
  background-color: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.promo-countdown {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
}
.promo-countdown .cd-label { font-weight: 500; opacity: 0.75; }
.promo-countdown svg { width: 12px; height: 12px; }
.add-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid;
  transition: all 0.15s;
}
.add-btn:active { transform: scale(0.9); }
.add-btn svg { width: 18px; height: 18px; }
.add-btn.compact { width: 32px; height: 32px; }
.add-btn.compact svg { width: 16px; height: 16px; }
mark.hl-mark {
  font-style: normal;
  border-radius: 4px;
  padding: 0 2px;
  background-color: rgba(234, 179, 8, 0.15);
  color: inherit;
}

.search-summary {
  margin: 0 0 12px;
  padding: 0 4px 4px;
  font-size: 12px;
  line-height: 16px;
  color: var(--text-sec);
}
.search-summary b { color: var(--text); font-weight: 600; }
.search-marca {
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  background-color: var(--card-bg);
  margin-bottom: 12px;
}
.search-marca__head {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background-color: var(--card-bg);
}
.search-marca__name { margin: 0; font-size: 14px; font-weight: 700; color: var(--text); }
.search-marca__count { margin: 0; font-size: 12px; color: var(--text-sec); }
.search-empty {
  text-align: center;
  padding: 48px 0;
}
.search-empty svg { width: 48px; height: 48px; margin: 0 auto 16px; color: var(--border); }
.search-empty p { margin: 0; color: var(--text-sec); }
.search-empty .q { color: var(--text); }

.inner-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
}
.inner-header__inner {
  max-width: 48rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  height: 56px;
}
.back-btn {
  padding: 8px;
  margin-left: -8px;
  border-radius: 8px;
  color: var(--text-sec);
}
.back-btn svg { width: 20px; height: 20px; }
.inner-header__logo {
  height: 32px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}
.inner-header__spacer { flex: 1; }
.inner-header__label { font-size: 12px; font-weight: 500; color: var(--text-sec); }

.page-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}
.page-title__tile {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.page-title__tile svg { width: 20px; height: 20px; }
.page-title h1 { margin: 0; font-size: 20px; line-height: 28px; font-weight: 700; color: var(--text); }
.page-title p { margin: 0; font-size: 12px; color: var(--text-sec); }

.frete-card {
  border-radius: 12px;
  border: 1px solid var(--border);
  background-color: var(--card-bg);
  overflow: hidden;
}
.frete-card__head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.frete-card__head h2 { margin: 0; font-size: 14px; font-weight: 700; color: var(--accent); }
.frete-card__head p { margin: 2px 0 0; font-size: 12px; color: var(--text-sec); }
.frete-table { width: 100%; border-collapse: collapse; }
.frete-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 8px 16px;
  color: var(--text-sec);
  border-bottom: 1px solid var(--border);
}
.frete-table th.right { text-align: right; white-space: nowrap; }
.frete-table td {
  padding: 10px 16px;
  font-size: 14px;
  line-height: 20px;
  color: var(--text-sec);
  vertical-align: top;
  word-break: break-word;
}
.frete-table td.price {
  padding-right: 16px;
  padding-left: 8px;
  text-align: right;
  font-weight: 700;
  white-space: nowrap;
  color: var(--accent);
}
.frete-table tr:nth-child(even) { background-color: rgba(245, 244, 241, 0.5); }

.regras-card {
  border-radius: 12px;
  border: 1px solid var(--border);
  background-color: var(--card-bg);
  overflow: hidden;
}
.regras-card__head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.regras-card__head svg { width: 16px; height: 16px; flex-shrink: 0; }
.regras-card__head h2 { margin: 0; font-size: 14px; font-weight: 700; }
.regras-card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  line-height: 1.625;
  color: var(--text-sec);
}
.regras-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.regras-list li { display: flex; align-items: flex-start; gap: 8px; }
.regras-list .dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  flex-shrink: 0;
  margin-top: 8px;
}
.regras-body p { margin: 0; }
.regras-body strong { color: var(--text); font-weight: 600; }
.regras-body u { text-decoration: underline; }
.avisos-row { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; }
.aviso-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 9999px;
}
.aviso-chip svg { width: 12px; height: 12px; }
.aviso-chip.vermelho { background-color: rgba(239, 68, 68, 0.15); border-color: rgba(239, 68, 68, 0.3); color: #fca5a5; }
.aviso-chip.amarelo { background-color: rgba(234, 179, 8, 0.15); border-color: rgba(234, 179, 8, 0.3); color: #fde047; }
.destaque {
  border-radius: 8px;
  padding: 10px 12px;
}
.destaque.amarelo { background-color: rgba(66, 32, 6, 0.4); border: 1px solid rgba(180, 83, 9, 0.4); }
.destaque.vermelho { background-color: rgba(69, 10, 10, 0.4); border: 1px solid rgba(185, 28, 28, 0.4); }
.destaque p { margin: 0; font-size: 12px; line-height: 1.625; }
.destaque.amarelo p { color: #fef08a; }
.destaque.vermelho p { color: #fecaca; }
.destaque .destaque-titulo { font-weight: 600; }
.destaque.amarelo .destaque-titulo { color: #fde047; }
.destaque.vermelho .destaque-titulo { color: #fca5a5; }

.promo-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(110, 92, 53, 0.15);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}
.promo-header__inner { max-width: 48rem; margin: 0 auto; padding: 12px 16px 10px; }
.promo-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.promo-back {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-sec);
  transition: opacity 0.15s;
}
.promo-back:hover { opacity: 0.8; }
.promo-back svg { width: 16px; height: 16px; }
.promo-brand { display: flex; align-items: center; gap: 8px; }
.promo-brand img { height: 28px; width: auto; object-fit: contain; }
.promo-brand .wordmark {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.025em;
  color: var(--accent);
  text-align: right;
  line-height: 1.25;
}
.promo-brand .wordmark small { display: block; font-size: 9px; font-weight: 700; letter-spacing: 0.14em; color: var(--text-sec); }
.chips-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-top: 10px;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.chips-row::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 9999px;
  border: 1px solid;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.15s;
  background-color: rgba(110, 92, 53, 0.08);
  border-color: rgba(110, 92, 53, 0.2);
  color: var(--text);
}
.chip:active { transform: scale(0.95); }
.chip.active { background-color: var(--accent); border-color: var(--accent); color: #ffffff; }
.chip .chip-avatar {
  width: 16px;
  height: 16px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 900;
  line-height: 1;
  background-color: rgba(110, 92, 53, 0.18);
  color: var(--accent);
}
.chip.active .chip-avatar { background-color: rgba(255, 255, 255, 0.25); color: #ffffff; }
.chip .chip-count { font-size: 10px; font-weight: 700; font-variant-numeric: tabular-nums; opacity: 0.6; }
.promo-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 16px 0 12px;
}
.promo-meta p { margin: 0; font-size: 14px; font-weight: 700; color: var(--text); }
.promo-off {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  padding: 4px 10px;
  border-radius: 9999px;
  background-color: var(--accent);
  color: #ffffff;
}
.promo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 640px) { .promo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
.promo-card {
  position: relative;
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.2s;
  background-color: rgba(255, 255, 255, 0.035);
}
.promo-card:hover { transform: translateY(-2px); }
.promo-card__imgwrap { position: relative; flex-shrink: 0; align-self: flex-start; }
.promo-card__imgbtn {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: block;
  box-shadow: 0 4px 12px -6px rgba(0, 0, 0, 0.6);
}
.promo-card__imgbtn img { width: 100%; height: 100%; object-fit: cover; }
.promo-off-mini {
  position: absolute;
  top: -6px;
  left: -6px;
  padding: 2px 6px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  user-select: none;
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.promo-card__mid { min-width: 0; flex: 1; align-self: center; }
.promo-card__nome { margin: 0; font-size: 13px; font-weight: 600; line-height: 1.35; word-break: break-word; color: var(--text); }
.promo-card__dos { margin: 2px 0 0; font-size: 11px; color: var(--text-sec); }
.promo-card__right {
  flex-shrink: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
  padding-left: 10px;
  max-width: 42%;
  border-left: 1px solid var(--border);
}
.promo-card__old { margin: 0; font-size: 11px; line-height: 1; text-decoration: line-through; color: rgba(0, 0, 0, 0.5); }
.promo-card__promo { margin: 2px 0 0; font-size: 20px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; color: var(--accent); }
@media (min-width: 640px) { .promo-card__promo { font-size: 24px; } }
.promo-card__save { font-size: 10px; margin-top: 4px; line-height: 1.25; color: var(--text-sec); }
.promo-card__save b { color: var(--text); font-weight: 700; }
.promo-add {
  margin-top: 6px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  transition: all 0.15s;
  background-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 3px 10px -3px var(--accent);
}
.promo-add:hover { filter: brightness(1.1); }
.promo-add:active { transform: scale(0.9); }
.promo-add svg { width: 20px; height: 20px; }

.ck-main {
  max-width: 32rem;
  margin: 0 auto;
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ck-h2 {
  margin: 0;
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ck-h2 svg { width: 20px; height: 20px; color: var(--accent); }
.ck-section { display: flex; flex-direction: column; gap: 16px; }
.ck-item {
  border-radius: 12px;
  border: 1px solid var(--border);
  background-color: var(--card-bg);
  padding: 12px;
}
.ck-item__top { display: flex; gap: 12px; }
.ck-item__img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.ck-item__mid { flex: 1; min-width: 0; }
.ck-item__nome { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ck-item__sub { margin: 2px 0 0; font-size: 12px; line-height: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-sec); }
.ck-item__desc { margin: 2px 0 0; font-size: 12px; line-height: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-sec); }
.ck-item__del { padding: 6px; border-radius: 8px; align-self: flex-start; color: #ef4444; transition: background-color 0.15s; }
.ck-item__del:hover { background-color: rgba(239, 68, 68, 0.1); }
.ck-item__del svg { width: 16px; height: 16px; }
.ck-item__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #262626;
}
.qty-box {
  display: flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.qty-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}
.qty-btn svg { width: 14px; height: 14px; }
.qty-val {
  width: 32px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
}
.qty-btn:first-child { border-radius: 8px 0 0 8px; }
.qty-btn:last-child { border-radius: 0 8px 8px 0; }
.ck-item__prices { text-align: right; }
.ck-item__price { margin: 0; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--accent); }
.ck-item__old { margin: 2px 0 0; font-size: 11px; line-height: 1.5; text-decoration: line-through; color: #ef4444; }
.ck-item__unit { margin: 2px 0 0; font-size: 11px; line-height: 1.5; color: var(--text-sec); }
.ck-subtotal {
  border-radius: 12px;
  border: 1px solid var(--border);
  background-color: var(--card-bg);
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ck-subtotal span { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-sec); }
.ck-subtotal strong { font-size: 18px; line-height: 28px; font-weight: 700; color: var(--accent); }
.ck-actions { display: flex; gap: 12px; }
.btn-ghost {
  flex: 1;
  padding: 12px 0;
  border-radius: 12px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  border: 1px solid var(--border);
  color: var(--text-sec);
  transition: background-color 0.15s;
}
.btn-ghost:hover { background-color: rgba(0, 0, 0, 0.04); }
.btn-primary {
  flex: 1;
  padding: 12px 0;
  border-radius: 12px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  background-color: var(--accent);
  color: #000000;
  transition: transform 0.15s;
}
.btn-primary:active { transform: scale(0.98); }
.btn-primary:disabled { opacity: 0.5; cursor: default; }
.field { margin-bottom: 0; }
.field label {
  display: block;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-sec);
}
.field input {
  width: 100%;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 20px;
  outline: none;
  transition: border-color 0.15s;
  background-color: rgba(245, 244, 241, 0.8);
  border: 1px solid var(--border);
  color: var(--text);
}
.field input::placeholder { color: #71717a; }
.field input:read-only { cursor: not-allowed; opacity: 0.7; }
.field input.invalid { border-color: #ef4444; }
.field .err { margin: 4px 0 0; font-size: 12px; color: #f87171; }
.frete-opt {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border);
  border-left-color: #262626;
  background-color: var(--card-bg);
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  font-size: 16px;
  line-height: 1.5;
  transition: all 0.15s;
}
.frete-opt.selected {
  border-color: var(--accent);
  background-color: rgba(110, 92, 53, 0.05);
  box-shadow: 0 0 0 1px var(--accent);
}
.frete-opt.seguro {
  border-left: 3px solid var(--accent);
  border-top-color: rgba(110, 92, 53, 0.376);
  border-right-color: rgba(110, 92, 53, 0.376);
  border-bottom-color: rgba(110, 92, 53, 0.376);
  background-color: rgba(110, 92, 53, 0.03);
}
.frete-opt__emoji { font-size: 20px; line-height: 28px; }
.frete-opt__mid { flex: 1; min-width: 0; }
.frete-opt__name { display: block; margin: 0; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text); }
.frete-opt__seguro-tag { display: block; margin: 2px 0 0; font-size: 12px; line-height: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--accent); }
.frete-opt__desc { display: block; margin: 2px 0 0; font-size: 12px; line-height: 16px; color: var(--text-sec); }
.frete-opt.seguro .frete-opt__desc { color: rgba(110, 92, 53, 0.733); }
.frete-opt__price { font-size: 14px; line-height: 20px; font-weight: 700; flex-shrink: 0; color: var(--accent); }
.frete-opt__radio {
  width: 20px;
  height: 20px;
  border-radius: 9999px;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.frete-opt__dot { width: 10px; height: 10px; border-radius: 9999px; }
.frete-opt.selected .frete-opt__radio { border-color: var(--accent); }
.frete-opt.selected .frete-opt__dot { background-color: var(--accent); }
.ck-error {
  border-radius: 12px;
  border: 1px solid rgba(239, 68, 68, 0.4);
  background-color: rgba(239, 68, 68, 0.08);
  padding: 12px 16px;
}
.ck-error p { margin: 0; font-size: 14px; color: #ef4444; }
.ck-summary {
  border-radius: 12px;
  border: 1px solid var(--border);
  background-color: var(--card-bg);
  overflow: hidden;
}
.ck-summary__head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(to right, rgba(110, 92, 53, 0.08), transparent);
}
.ck-summary__head h3 { margin: 0; font-size: 14px; font-weight: 700; color: var(--accent); }
.ck-summary__body { padding: 12px 16px; display: flex; flex-direction: column; gap: 8px; }
.ck-line { display: flex; justify-content: space-between; font-size: 14px; line-height: 20px; }
.ck-line .l { flex: 1; margin-right: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-sec); }
.ck-totals .ck-line .l, .ck-line.total .l { flex: 0 1 auto; }
.ck-line .v { font-weight: 500; white-space: nowrap; }
.ck-line.divider { border-top: 1px solid var(--border); padding-top: 8px; margin-top: 8px; }
.ck-line.total { border-top: 1px solid rgba(110, 92, 53, 0.25); border-color: rgba(110, 92, 53, 0.25); padding-top: 12px; margin-top: 0; font-size: 16px; line-height: 24px; }
.ck-line.total .l { font-weight: 700; color: var(--text); }
.ck-line.total .v { font-size: 20px; line-height: 28px; font-weight: 700; color: var(--accent); }
.ck-entrega {
  border-radius: 12px;
  border: 1px solid var(--border);
  background-color: var(--card-bg);
  padding: 16px;
  display: block;
}
.ck-entrega h3 {
  margin: 0 0 8px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-sec);
}
.ck-entrega p { margin: 0; font-size: 14px; line-height: 20px; }
.ck-entrega p + p { margin-top: 4px; }
.ck-entrega .sec { color: var(--text-sec); }
.ck-pix {
  border-radius: 12px;
  border: 1px solid rgba(110, 92, 53, 0.25);
  background-color: rgba(110, 92, 53, 0.031);
  overflow: hidden;
}
.ck-pix__head {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(110, 92, 53, 0.19);
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(to right, rgba(110, 92, 53, 0.125), transparent);
}
.ck-pix__head svg { width: 16px; height: 16px; color: var(--accent); }
.ck-pix__head h3 { margin: 0; font-size: 14px; font-weight: 700; color: var(--accent); }
.ck-pix__body { padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ck-pix__label { margin: 0 0 4px; font-size: 12px; line-height: 16px; color: var(--text-sec); }
.ck-pix__label.tight { margin-bottom: 0; }
.ck-pix__chave-row { display: flex; align-items: center; gap: 8px; }
.ck-pix__chave { margin: 0; flex: 1; font-size: 14px; line-height: 20px; font-weight: 700; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; word-break: break-all; }
.copy-btn {
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  transition: transform 0.15s;
  background-color: rgba(110, 92, 53, 0.1);
  color: var(--accent);
}
.copy-btn:active { transform: scale(0.95); }
.copy-btn svg { width: 12px; height: 12px; }
.ck-pix__titular { margin: 0; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text); }
.ck-pix__warn {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background-color: rgba(110, 92, 53, 0.063);
}
.ck-pix__warn p { margin: 0; font-size: 11px; line-height: 1.625; color: var(--text-sec); }
.ck-pix__warn span { flex-shrink: 0; font-size: 12px; line-height: 16px; margin-top: 2px; }
.ck-pix__warn strong { color: var(--accent); }
.ck-pix__valor-row {
  padding-top: 8px;
  border-top: 1px solid rgba(110, 92, 53, 0.125);
}
.ck-pix__valor { margin: 0 0 4px; font-size: 12px; line-height: 16px; color: var(--text-sec); }
.ck-pix__valor-line { display: flex; align-items: center; gap: 8px; }
.ck-pix__valor-line strong { font-size: 20px; line-height: 28px; font-weight: 700; color: var(--accent); }
.como-item { display: flex; align-items: flex-start; gap: 12px; }
.como-item .num {
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  background-color: rgba(110, 92, 53, 0.125);
  color: var(--accent);
}
.como-item p { margin: 0; font-size: 14px; line-height: 1.375; color: var(--text-sec); }
.como-item strong { color: var(--text); }
.wa-final {
  width: 100%;
  padding: 16px 0;
  border-radius: 12px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s;
  background-color: var(--wa);
  color: #ffffff;
}
.wa-final:active { transform: scale(0.98); }
.wa-final:disabled { opacity: 0.5; }
.wa-final svg { width: 20px; height: 20px; fill: currentColor; }
.ck-success {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  text-align: center;
}
.ck-success__circle {
  width: 80px;
  height: 80px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  background-color: rgba(16, 185, 129, 0.15);
}
.ck-success__circle svg { width: 40px; height: 40px; color: #10b981; }
.ck-success h1 { margin: 0 0 8px; font-size: 24px; font-weight: 700; color: var(--text); }
.ck-success p { margin: 0 0 4px; color: var(--text-sec); }
.ck-success .total { margin: 0 0 32px; font-size: 20px; font-weight: 700; color: var(--accent); }
.ck-success__btns { display: flex; gap: 12px; }
.ck-success__btns button { padding: 10px 20px; border-radius: 12px; font-size: 14px; font-weight: 500; }
.ck-success__btns .ver { background-color: rgba(110, 92, 53, 0.1); color: var(--accent); }
.ck-success__btns .novo { background-color: var(--accent); color: #000000; }

.cartbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background-color: var(--header-bg);
  border-top: 1px solid var(--border);
}
.cartbar__inner {
  max-width: 48rem;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.cartbar__info { flex: 1; min-width: 0; }
.cartbar__count { margin: 0; font-size: 12px; line-height: 16px; font-weight: 500; color: var(--text); }
.cartbar__store { margin: 0; font-size: 11px; color: var(--text-sec); }
.cartbar__ver {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  transition: transform 0.15s;
  background-color: rgba(110, 92, 53, 0.8);
  color: #ffffff;
}
.cartbar__ver:active { transform: scale(0.97); }
.cartbar__ver svg { width: 16px; height: 16px; }
.cartbar__ver.pulse { animation: pulse 0.5s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
.cartbar__empty {
  max-width: 48rem;
  margin: 0 auto;
  padding: 10px 16px;
  text-align: center;
}
.cartbar__empty p { margin: 0; font-size: 12px; line-height: 16px; color: var(--text-sec); }
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.toast {
  position: fixed;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  padding: 8px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.2s ease-out;
  background-color: #10b981;
  color: #ffffff;
  white-space: nowrap;
}
@keyframes slideDown {
  from { opacity: 0; transform: translate(-50%, -12px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background-color: rgba(0, 0, 0, 0.5);
}
.drawer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 41;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  border-radius: 8px 8px 0 0;
  border: none;
  border-top: 1px solid var(--border);
  background-color: var(--card-bg);
  animation: drawerUp 0.25s ease-out;
}
@keyframes drawerUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.drawer__handle {
  width: 100px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 9999px;
  background: rgb(38, 38, 38);
  margin: 16px auto 0;
}
.drawer__head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgb(39, 39, 42);
}
.drawer__title { margin: 0; font-weight: 700; font-size: 16px; color: var(--text); }
.drawer__head-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.visto-btn {
  font-size: 12px;
  line-height: 16px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid;
  background-color: rgba(110, 92, 53, 0.2);
  border-color: rgba(110, 92, 53, 0.3);
  color: var(--accent);
}
.drawer__close { padding: 6px; border-radius: 8px; color: var(--text-sec); }
.drawer__close svg { width: 16px; height: 16px; }
.drawer__body { overflow-y: auto; flex: 1; padding: 12px 16px; }
.drawer__empty { text-align: center; padding: 40px 0; }
.drawer__empty svg { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--border); }
.drawer__empty p { margin: 0; font-size: 14px; color: var(--text-sec); }
.notif-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.notif-row:last-child { border-bottom: none; }
.notif-row .ic { flex-shrink: 0; margin-top: 2px; font-size: 18px; line-height: 1; color: #38bdf8; }
.notif-row .ic svg { width: 16px; height: 16px; }
.notif-row .mid { flex: 1; min-width: 0; }
.notif-row .msg { margin: 0; font-size: 14px; font-weight: 500; color: #bae6fd; }
.notif-row .name { margin: 0; font-size: 14px; font-weight: 500; color: var(--text); }
.notif-row .brand { margin: 0; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-sec); }
.notif-row .act { margin: 2px 0 0; font-size: 12px; }
.notif-row .act.novo { color: #34d399; }
.notif-row .act.preco { color: #fbbf24; }
.notif-row .kicker { margin: 2px 0 0; font-size: 12px; color: var(--text-sec); }
.notif-row .when { flex-shrink: 0; margin-top: 2px; text-align: right; font-size: 12px; color: var(--text-sec); line-height: 16px; }
.notif-row .when span { display: block; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.9);
  padding: 16px;
}
.lightbox__inner { position: relative; }
.lightbox__close {
  position: absolute;
  top: -12px;
  right: -12px;
  z-index: 10;
  width: 32px;
  height: 32px;
  background-color: #27272a;
  border: 1px solid #52525b;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4d4d8;
}
.lightbox__close:hover { color: #ffffff; }
.lightbox__close svg { width: 16px; height: 16px; }
.lightbox img {
  max-width: 88vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
}
.lightbox .caption { margin: 8px 0 0; text-align: center; font-size: 12px; color: #a1a1aa; }

.spin {
  width: 32px;
  height: 32px;
  border: 2px solid rgba(110, 92, 53, 0.25);
  border-top-color: var(--accent);
  border-radius: 9999px;
  animation: spin 0.8s linear infinite;
  margin: 40vh auto 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

@keyframes bounce {
  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

.animate-bounce { animation: bounce 1s infinite; }

main.catalog-main {
  flex: 1;
  width: 100%;
  max-width: 48rem;
  margin: 0 auto;
  padding: 120px 12px 80px;
}
@media (min-width: 640px) {
  main.catalog-main { padding-top: 128px; padding-left: 16px; padding-right: 16px; }
}
main.inner-main {
  max-width: 48rem;
  margin: 0 auto;
  padding: 24px 16px 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ph-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.ph-fallback svg {
  width: 18px;
  height: 18px;
  color: var(--text-sec);
  opacity: 0.6;
}

.bell-btn svg { width: 14px; height: 14px; }

.search-clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px;
  border-radius: 9999px;
  color: #71717a;
  transition: background-color 0.15s;
}
.search-clear:hover { background-color: rgb(63, 63, 70); }
.search-clear svg { width: 16px; height: 16px; }

.sug-drop {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 50;
  margin-top: 4px;
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.sug-row {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(39, 39, 42, 0.6);
  transition: background-color 0.15s;
}
.sug-row:last-child { border-bottom: none; }
.sug-row:hover { background-color: rgb(39, 39, 42); }
.sug-ic {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.sug-ic.dark { background-color: rgba(63, 63, 70, 0.6); color: #a1a1aa; }
.sug-ic svg { width: 14px; height: 14px; }
.sug-mid { flex: 1; min-width: 0; }
.sug-name {
  display: block;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  color: #fff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sug-row.marca .sug-name {
  display: inline;
  font-weight: 600;
  white-space: normal;
}
.sug-tag {
  display: block;
  font-size: 12px;
  line-height: 16px;
  color: #71717a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sug-row.marca .sug-tag { display: inline; margin-left: 8px; }
.sug-count { flex-shrink: 0; font-size: 12px; line-height: 16px; color: #71717a; }
.sug-price { flex-shrink: 0; font-size: 12px; font-weight: 700; color: var(--accent); }

.social-row {
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
.social-row.both { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.social-row .wa-btn, .social-row .ig-btn { margin-bottom: 0; }
.wa-btn__texts, .ig-btn__texts { flex: 1; min-width: 0; text-align: left; }
.wa-btn__title, .wa-btn__sub, .ig-btn__title, .ig-btn__sub { display: block; }
.wa-btn__tile svg { width: 20px; height: 20px; }
.ig-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  transition: all 0.15s;
}
.ig-btn__tile {
  padding: 8px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ig-glyph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  font-size: 18px;
  line-height: 1;
  color: #e1306c;
}
.ig-btn__title { margin: 0; font-size: 14px; font-weight: 700; color: #e1306c; }
.ig-btn__sub { margin: 0; font-size: 10px; color: #e1306c99; }

.search-empty .sub { margin-top: 8px; font-size: 12px; color: #52525b; }

.forma-prompt {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  background-color: var(--card-bg);
}
@media (min-width: 640px) { .forma-prompt { padding-left: 16px; padding-right: 16px; } }
.forma-prompt span { font-size: 14px; line-height: 20px; color: var(--text-sec); }

.brand-name.open { font-size: 18px; line-height: 28px; }

.product-row.compact { gap: 10px; }
.product-row.bordered { border-bottom: 1px solid var(--border); }
.product-dose { margin: 0; font-size: 14px; line-height: 20px; color: var(--text-sec); }
.product-val { margin: 2px 0 0; font-size: 12px; font-weight: 600; color: #f59e0b; }
.price-promo.struck { text-decoration: line-through; }
.badge-indisp.compact { font-size: 10px; line-height: 14px; padding: 2px 6px; }
.product-row.compact .price-promo { font-size: 14px; }
.product-row.compact .price-orig { font-size: 10px; }

.cat-footer {
  padding: 12px;
  display: flex;
  gap: 8px;
  border-top: 1px solid var(--border);
  background-color: var(--card-bg);
}
.cat-footer__copy {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  border: 1px solid var(--border);
  color: var(--text);
  transition: all 0.2s;
}
.cat-footer__copy:hover { opacity: 0.9; }
.cat-footer__copy:active { transform: scale(0.95); }
.cat-footer__copy svg { width: 14px; height: 14px; }
.cat-footer__copy.done {
  background-color: rgba(4, 120, 87, 0.3);
  color: #6ee7b7;
  border-color: rgba(4, 120, 87, 0.5);
}
.cat-footer__pdf {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  white-space: nowrap;
  border: 1px solid rgba(110, 92, 53, 0.3);
  background-color: rgba(110, 92, 53, 0.1);
  color: var(--accent);
  transition: all 0.2s;
}
.cat-footer__pdf:active { transform: scale(0.95); }
.cat-footer__pdf svg { width: 14px; height: 14px; }

.ck-page {
  min-height: 100vh;
  background-color: var(--page-bg);
  color: var(--text);
}
.ck-top {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
}
.ck-top__inner {
  max-width: 32rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  height: 56px;
}
.ck-top__back {
  padding: 8px;
  margin-left: -8px;
  border-radius: 8px;
  color: var(--text-sec);
}
.ck-top__back svg { width: 20px; height: 20px; }
.ck-top__logo { height: 32px; width: auto; max-width: 120px; object-fit: contain; }
.ck-top__spacer { flex: 1; }
.ck-top__label { font-size: 12px; font-weight: 500; color: var(--text-sec); }
.ck-stepper {
  position: sticky;
  top: 56px;
  z-index: 20;
  background-color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--border);
}
.ck-stepper__inner {
  max-width: 32rem;
  margin: 0 auto;
  display: flex;
  padding: 10px 16px;
  gap: 4px;
}
.ck-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 16px;
  line-height: 1.5;
}
.ck-step:disabled { cursor: default; }
.ck-step__circle {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  background-color: var(--card-bg);
  color: var(--text-sec);
  transition: all 0.15s;
}
.ck-step__circle svg { width: 16px; height: 16px; }
.ck-step.is-current .ck-step__circle { background-color: var(--accent); color: #000000; }
.ck-step.is-passed .ck-step__circle { background-color: rgba(110, 92, 53, 0.2); color: var(--accent); }
.ck-step__lbl { font-size: 10px; font-weight: 500; color: var(--text-sec); }
.ck-step.is-current .ck-step__lbl { color: var(--accent); }
.ck-foot {
  max-width: 32rem;
  margin: 0 auto;
  padding: 24px 16px;
  text-align: center;
}
.ck-foot p { margin: 0; font-size: 12px; line-height: 16px; color: var(--text-sec); }

.ck-empty {
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}
.ck-empty svg { width: 64px; height: 64px; color: var(--text); opacity: 0.2; }
.ck-empty p { margin: 0; color: var(--text-sec); }
.ck-empty__btn {
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  background-color: var(--accent);
  color: #000000;
}

.ck-fields { display: flex; flex-direction: column; gap: 12px; }
.field-wrap { position: relative; }
.cep-spin {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 16px;
  height: 16px;
  box-sizing: border-box;
  border: 2px solid rgba(110, 92, 53, 0.25);
  border-top-color: var(--accent);
  border-radius: 9999px;
  animation: spin 0.8s linear infinite;
  pointer-events: none;
}
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.grid3 .field:first-child { grid-column: span 2; }

.ck-frete { display: flex; flex-direction: column; padding-top: 8px; }
.ck-frete > * + * { margin-top: 12px; }
.ck-frete__h {
  margin: 0;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.ck-frete__h svg { width: 16px; height: 16px; color: var(--accent); }
.ck-frete-none {
  border-radius: 12px;
  border: 1px solid var(--border);
  background-color: var(--card-bg);
  padding: 16px;
  text-align: center;
}
.ck-frete-none p { margin: 0; font-size: 14px; line-height: 20px; color: var(--text); }
.ck-frete-none p.sec { margin-top: 4px; color: var(--text-sec); }
.ck-warn {
  border-radius: 12px;
  border: 1px solid rgba(239, 68, 68, 0.4);
  background-color: rgba(239, 68, 68, 0.1);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  animation: ckWarnIn 0.2s ease-out;
}
.ck-warn span { flex-shrink: 0; }
.ck-warn p { margin: 0; font-size: 14px; line-height: 20px; font-weight: 500; color: #ef4444; }
@keyframes ckWarnIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.ck-actions--top { margin-top: 0; padding-top: 8px; }
.ck-final { display: block; padding-top: 8px; margin-top: 0; }
.ck-final > * + * { margin-top: 12px; }
.ck-final > button { width: 100%; }

.ck-box {
  border-radius: 12px;
  border: 1px solid var(--border);
  background-color: var(--card-bg);
  overflow: hidden;
}
.ck-box__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(110, 92, 53, 0.188);
}
.ck-box__head.resumo { display: block; gap: normal; border-bottom-color: #262626; background: linear-gradient(to right, rgba(110, 92, 53, 0.082), transparent); }
.ck-box__head.pix { background: linear-gradient(to right, rgba(110, 92, 53, 0.125), transparent); }
.ck-box__head svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; }
.ck-box__head h3 { margin: 0; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--accent); }
.ck-box__body {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ck-box__body.pixbody { padding: 16px; gap: 12px; }
.ck-totals {
  border-top: 1px solid #262626;
  padding-top: 8px;
  display: flex;
  flex-direction: column;
}
.ck-line.mt1 { margin-top: 4px; }
.ck-line.seg .v { color: var(--accent); }
.ck-entrega .sep { margin-top: 4px; }
.ck-plain { padding: 16px; }
.ck-plain__h {
  margin: 0 0 12px;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-sec);
}
.ck-plain__steps { display: flex; flex-direction: column; gap: 12px; }
.wa-spin {
  width: 20px;
  height: 20px;
  box-sizing: border-box;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #ffffff;
  border-radius: 9999px;
  animation: spin 0.8s linear infinite;
}
.ck-success .gap { margin-bottom: 32px; }
