.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  background: var(--black);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
}

.site-header__logo { display: flex; align-items: center; }
.site-header__logo img { height: 40px; width: auto; }

.site-header__actions { display: flex; align-items: center; gap: 2px; }

.icon-btn {
  position: relative;
  color: #fff;
  width: 42px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.icon-btn .icon { width: 23px; height: 23px; }
.icon-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .16); }

.cart-count {
  position: absolute;
  top: 7px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scrim {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 80;
  background: rgba(0, 0, 0, .38);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}
.scrim.open { opacity: 1; visibility: visible; }

.hpanel {
  position: fixed;
  top: calc(var(--header-h) + 6px);
  left: var(--gutter);
  right: var(--gutter);
  z-index: 90;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, .28);
  padding: 18px;
  max-height: calc(100vh - var(--header-h) - 24px);
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}
.hpanel.open { opacity: 1; visibility: visible; transform: none; }

.hpanel__title { font-size: 19px; font-weight: 700; text-align: center; margin-bottom: 14px; }
.hpanel__hint { color: var(--muted); font-size: 14px; text-align: center; line-height: 1.5; margin-bottom: 14px; }

.search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e4e4e4;
  border-radius: 999px;
  padding: 12px 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .07);
}
.search-form .icon { width: 20px; height: 20px; color: var(--muted); }
.search-input { flex: 1; border: none; outline: none; font-size: 16px; color: var(--ink); background: none; }
.search-go { color: var(--ink); display: inline-flex; }

.track-form {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--panel);
  border-radius: 999px;
  padding: 8px 8px 8px 18px;
}
.track-input { flex: 1; border: none; outline: none; background: none; font-size: 15px; color: var(--ink); }
.track-input::placeholder { color: #9a9a9a; }
.track-go {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.track-go .icon { width: 18px; height: 18px; }

.cart-empty-title { text-align: center; font-size: 17px; font-weight: 600; margin-bottom: 14px; }
.cart-empty-box {
  background: var(--panel);
  border-radius: 12px;
  padding: 22px 18px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.menu-panel { padding: 10px 14px 16px; }
.menu > .menu-link,
.menu > .acc-item { border-bottom: 1px solid var(--line); }
.menu > .acc-item:last-child,
.menu > .menu-link:last-child { border-bottom: none; }

.menu-link {
  display: block;
  padding: 17px 6px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.acc-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 6px;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
  text-align: left;
}
.acc-toggle .chev { width: 18px; height: 18px; color: #777; transition: transform .22s ease; }
.acc-item.open > .acc-toggle .chev { transform: rotate(180deg); }

.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .26s ease; }
.acc-item.open > .acc-panel { grid-template-rows: 1fr; }
.acc-inner { overflow: hidden; }

.menu > .acc-item.open {
  background: var(--panel);
  border-radius: 14px;
  border-bottom: none;
  margin: 4px 0;
}

.acc-item--sub > .acc-toggle {
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  padding: 12px 4px;
}
.acc-item--sub > .acc-toggle .chev { width: 16px; height: 16px; }

.sublinks { display: flex; flex-direction: column; gap: 12px; padding: 4px 10px 14px; }
.sublinks a { font-size: 14px; color: #333; text-decoration: underline; }

.menu-sublink {
  display: block;
  padding: 12px 4px 14px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: underline;
}

.menu > .acc-item.open > .acc-panel > .acc-inner { padding: 0 10px 8px; }

.site-footer {
  background: var(--black);
  color: #fff;
  text-align: center;
  padding: 36px var(--gutter) 30px;
}

.footer-links { display: flex; flex-direction: column; gap: 15px; margin-bottom: 28px; }
.footer-links a { font-size: 15px; }

.footer-contact { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-bottom: 24px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; }
.footer-contact .icon { width: 18px; height: 18px; }

.footer-social { display: flex; justify-content: center; gap: 26px; margin-bottom: 24px; }
.footer-social a { color: #fff; }
.footer-social .icon { width: 22px; height: 22px; }

.footer-hours { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; margin-bottom: 26px; }
.footer-hours .icon { width: 18px; height: 18px; }

.pay { display: flex; justify-content: center; gap: 28px; margin-bottom: 26px; }
.pay-group { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pay-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; max-width: 200px; }
.pay-row img { width: 38px; height: 26px; object-fit: contain; border-radius: 4px; background: #fff; }
.pay-label { font-size: 13px; color: #cfcfcf; }

.trust { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-bottom: 24px; }
.trust img { max-width: 190px; height: auto; }
.trust-loja { width: 150px; }
.trust-konf { width: 180px; }

.legal { color: #9a9a9a; font-size: 12px; line-height: 1.7; }

.tabbar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--black);
  color: #fff;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
}

.tab {
  flex: 1;
  height: var(--tabbar-h);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .3px;
}
.tab .icon { width: 25px; height: 25px; }
.tab-icon { width: 26px; height: 26px; object-fit: contain; }

.tab--center { position: relative; }
.tab-logo {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0, 0, 0, .45);
}
.tab-logo img { width: 48px; height: 48px; object-fit: contain; }
