body.no-scroll { overflow: hidden; }

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .45);
  z-index: 40;
}

.overlay[hidden] { display: none; }

.app-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-soft);
  padding: 5px 10px;
  font-size: 11px;
  color: var(--ink-2);
}

.app-strip__avatar { width: 22px; height: 22px; border-radius: 50%; flex: none; }
.app-strip__text { flex: 1; line-height: 1.2; }
.app-strip__btn {
  background: #000;
  color: #fff;
  border-radius: var(--pill);
  padding: 5px 12px;
  font-weight: 700;
  white-space: nowrap;
}

.promo-bar {
  display: block;
  text-align: center;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  padding: 7px 10px;
}

.site-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 10px 12px;
}

.site-header__logo { flex: 1; display: flex; justify-content: center; }
.logo { height: 30px; width: auto; }

.site-header__cart { position: relative; }
.cart-count {
  position: absolute;
  top: -5px;
  right: -7px;
  background: var(--red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-basis: 100%;
  order: 10;
  margin: 8px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  padding: 8px 14px;
}

.search__input { flex: 1; border: 0; outline: none; font-size: 13px; background: none; }
.search__btn { color: var(--ink-2); display: flex; }

.address { padding: 0 12px 10px; }
.address__toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-size: 13px;
  font-weight: 700;
}
.address__toggle .ico { width: 18px; height: 18px; }
.address__panel {
  margin-top: 8px;
  background: var(--bg-soft);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.address__panel[hidden] { display: none; }
.address__title { font-weight: 700; text-align: center; }

.cep-sugg { display: flex; flex-direction: column; gap: 8px; }
.cep-sugg[hidden] { display: none; }
.cep-sugg__item {
  display: block;
  width: 100%;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.4;
}
.cep-sugg__item b { display: block; color: var(--ink); }
.cep-sugg__item.is-sel { border-color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.cep-sugg__msg { font-size: 13px; color: var(--red); text-align: center; }
.cep-sugg__done { font-size: 13px; color: var(--green); font-weight: 700; text-align: center; }

.drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 86%;
  max-width: 360px;
  background: #fff;
  z-index: 50;
  transform: translateX(-100%);
  transition: transform .28s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.drawer.is-open { transform: translateX(0); }

.drawer__close {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-weight: 700;
  padding: 14px 16px;
}

.drawer__offer {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  padding: 12px 14px;
}
.drawer__offer-label { flex: 1; font-weight: 700; font-size: 14px; line-height: 1.15; }
.drawer__offer .ico { width: 18px; height: 18px; }

.countdown { display: flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 700; }
.countdown b {
  background: #fff;
  color: var(--ink);
  border-radius: 3px;
  padding: 2px 4px;
  margin: 0 1px;
}

.drawer__panels { position: relative; flex: 1; overflow: hidden; }
.drawer__panel {
  position: absolute;
  inset: 0;
  background: #fff;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .26s ease;
  display: flex;
  flex-direction: column;
}
.drawer__panel.is-active { transform: translateX(0); }

.drawer__row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
}
.drawer__row span { flex: 1; }
.drawer__row .ico { width: 20px; height: 20px; color: var(--red); }
.drawer__row .drawer__chev { width: 18px; height: 18px; color: var(--muted); }

.drawer__back {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.drawer__back .ico { width: 18px; height: 18px; color: var(--ink-2); }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 88%;
  max-width: 380px;
  background: #fff;
  z-index: 50;
  transform: translateX(100%);
  transition: transform .28s ease;
  display: flex;
  flex-direction: column;
}
.cart-drawer.is-open { transform: translateX(0); }

.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.cart-drawer__items { flex: 1; overflow-y: auto; padding: 10px 16px; }
.cart-drawer__foot { border-top: 1px solid var(--line); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.cart-drawer__total { display: flex; justify-content: space-between; font-size: 15px; }

.cart-empty { color: var(--muted); text-align: center; padding: 36px 0; }
.cart-line { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 54px; height: 54px; border-radius: 6px; object-fit: cover; background: var(--bg-soft); flex: none; }
.cart-line__body { flex: 1; }
.cart-line__name { font-size: 12.5px; color: var(--ink); }
.cart-line__meta { font-size: 12px; color: var(--ink-2); margin-top: 4px; display: flex; gap: 12px; align-items: center; }
.cart-line__remove { color: var(--red); font-size: 11px; }

.footer { margin-top: 22px; }
.footer-group { border-top: 1px solid var(--line); }
.footer-group__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  font-size: 13px;
  color: var(--ink);
}
.footer-group__head .ico {
  width: 36px;
  height: 36px;
  flex: none;
  background: var(--red-bright);
  color: #fff;
  border-radius: 4px;
  padding: 9px;
  stroke-width: 2.6;
  transition: transform .2s;
}
.footer-group.is-open .footer-group__head .ico { transform: rotate(180deg); }
.footer-group__list { display: none; padding: 0 16px 12px; }
.footer-group.is-open .footer-group__list { display: block; }
.footer-group__list li a {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid var(--bg-soft);
  color: var(--ink-2);
  font-size: 13px;
}

.footer__payments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 18px 16px;
}
.footer__payments img {
  height: 26px;
  width: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 6px;
}

.footer__connect {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 2px 16px 20px;
}
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--ink);
}
.footer__social a:hover { background: var(--red); color: #fff; }
.footer__social .ico { width: 22px; height: 22px; }
.footer__apps { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.footer__apps img { height: 40px; width: auto; background: #fff; border-radius: 6px; }

.footer__seo {
  text-align: center;
  border-top: 2px solid var(--red);
  padding: 18px 16px;
}
.footer__seo-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: 13px;
}
.footer__seo-toggle .ico { width: 16px; height: 16px; }
.footer__seo-body { margin-top: 10px; color: var(--ink-2); font-size: 12.5px; text-align: left; }
.footer__seo-body[hidden] { display: none; }
.footer__ler { display: inline-block; margin-top: 8px; color: var(--red); font-weight: 700; }

.footer__legal {
  background: var(--legal-bg);
  color: var(--legal-ink);
  padding: 18px 16px;
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
}
.footer__legal p { margin-bottom: 8px; }
.footer__legal a { color: #fff; text-decoration: underline; }
.footer__badges { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 14px; }
.footer__badges img { height: 54px; width: auto; background: #fff; border-radius: 4px; padding: 4px; }

.fabs {
  position: fixed;
  right: 12px;
  bottom: 14px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fab {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-2);
  color: #fff;
}
.fab .ico { width: 26px; height: 26px; stroke-width: 2; }
.fab--whats { background: #25d366; }
.fab--help { background: var(--red); }
.fab--top { background: #555; }
.fab[hidden] { display: none; }
