.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--primary);
  color: white;
  font-size: 22px;
  box-shadow: 0 10px 22px rgba(255, 107, 44, 0.35);
}

.brand strong {
  display: block;
  font-size: 16px;
  line-height: 1.1;
}

.brand span {
  color: var(--muted);
  font-size: 12px;
}

.pill {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(60, 40, 20, 0.06);
}

.hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  color: white;
  min-height: 230px;
  padding: 24px 20px;
  box-shadow: var(--shadow);
}

.hero::after {
  content: "🥟";
  position: absolute;
  right: -8px;
  bottom: -24px;
  font-size: 138px;
  transform: rotate(-14deg);
  opacity: 0.24;
}

.hero-badge {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  font-weight: 700;
}

h1 {
  margin: 16px 0 10px;
  font-size: 30px;
  line-height: 0.98;
  letter-spacing: -0.7px;
}

.hero p {
  margin: 0;
  max-width: 260px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 13px 16px;
  font-weight: 800;
  font-size: 14px;
}

.btn-primary {
  background: white;
  color: var(--primary-dark);
}

.btn-soft {
  background: rgba(255, 255, 255, 0.16);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.cat {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 999px;
  padding: 11px 14px;
  font-weight: 800;
  font-size: 14px;
}

.cat.active {
  background: var(--text);
  color: white;
  border-color: var(--text);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
}

.quick-card {
  background: var(--card);
  border-radius: 18px;
  padding: 13px 8px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(60, 40, 20, 0.06);
  border: 1px solid rgba(234, 223, 212, 0.8);
}

.quick-card .emoji {
  font-size: 27px;
  display: block;
  margin-bottom: 6px;
}

.quick-card span:last-child {
  font-size: 12px;
  font-weight: 800;
}

.products {
  display: grid;
  gap: 12px;
}

.product {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  background: var(--card);
  border: 1px solid rgba(234, 223, 212, 0.9);
  border-radius: var(--radius-lg);
  padding: 10px;
  box-shadow: 0 10px 24px rgba(60, 40, 20, 0.07);
}

.product-small {
  grid-template-columns: 64px 1fr;
}

.photo {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 42px;
  background: linear-gradient(145deg, #fff0d8, #ffe2bd);
}

.photo-small {
  width: 64px;
  height: 64px;
  font-size: 28px;
}

.product-info {
  min-width: 0;
}

.product-title {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.product-title strong {
  font-size: 16px;
  line-height: 1.15;
}

.tag {
  height: fit-content;
  flex: 0 0 auto;
  border-radius: 999px;
  background: rgba(31, 157, 115, 0.1);
  color: var(--accent);
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 900;
}

.desc {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  margin: 0 0 8px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price {
  font-size: 17px;
  font-weight: 900;
}

.add {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 14px;
  background: var(--primary);
  color: white;
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(255, 107, 44, 0.28);
}

.cart-panel {
  position: fixed;
  left: 50%;
  bottom: 76px;
  transform: translateX(-50%);
  width: min(402px, calc(100% - 28px));
  display: none;
  background: #201814;
  color: white;
  border-radius: 24px;
  padding: 12px;
  z-index: 40;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.24);
}

.cart-panel.open {
  display: block;
}

.cart-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.cart-row span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.checkout {
  background: var(--primary);
  color: white;
  padding: 12px 14px;
  border: 0;
  border-radius: 16px;
  font-weight: 900;
}

.checkout-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  z-index: 60;
  padding: 18px;
  align-items: end;
  justify-content: center;
}

.checkout-modal.open {
  display: flex;
}

.sheet {
  width: min(430px, 100%);
  background: white;
  border-radius: 30px 30px 20px 20px;
  padding: 20px;
}

.sheet h2 {
  margin: 0 0 12px;
}

.field {
  margin-bottom: 10px;
}

.field label {
  display: block;
  font-size: 12px;
  font-weight: 900;
  color: var(--muted);
  margin-bottom: 5px;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px;
  background: #fffaf4;
}

.submit {
  width: 100%;
  background: var(--primary);
  color: white;
  margin-top: 8px;
}

.close {
  width: 100%;
  background: #f4eee6;
  color: var(--text);
  margin-top: 8px;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  width: min(402px, calc(100% - 28px));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(234, 223, 212, 0.9);
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(60, 40, 20, 0.16);
  backdrop-filter: blur(18px);
  padding: 8px;
  z-index: 50;
}

.nav-item {
  border: 0;
  background: transparent;
  border-radius: 17px;
  padding: 8px 4px;
  color: var(--muted);
  font-weight: 800;
  font-size: 11px;
}

.nav-item span {
  display: block;
  font-size: 20px;
  margin-bottom: 2px;
}

.nav-item.active {
  background: #fff1df;
  color: var(--primary-dark);
}
