* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: #fff8f5;
  color: #241514;
}
.hero {
  min-height: 500px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 45px 20px;
  background: radial-gradient(circle at 80% 20%, #fff, #fff1ec 70%);
  position: relative;
  overflow: hidden;
}
.hero:before,
.hero:after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: #e30613;
}
.hero:before {
  width: 420px;
  height: 420px;
  left: -220px;
  top: -220px;
}
.hero:after {
  width: 520px;
  height: 520px;
  right: -260px;
  bottom: -290px;
}
.brand {
  position: relative;
  z-index: 1;
  font-size: 68px;
  font-weight: 950;
  line-height: 0.85;
  letter-spacing: -3px;
}
.black {
  color: #111;
}
.red {
  color: #e30613;
}
.tim {
  display: block;
  color: #111;
  font-size: 0.55em;
  margin-left: 150px;
}
.hero h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(40px, 7vw, 82px);
  margin: 24px 0 10px;
  color: #e30613;
}
.hero p {
  position: relative;
  z-index: 1;
  font-size: 20px;
  color: #55342f;
}
.button,
.add-btn,
.order,
.form button {
  background: #e30613;
  color: #fff;
  border: 0;
  border-radius: 16px;
  padding: 13px 19px;
  font-weight: 850;
  cursor: pointer;
  text-decoration: none;
}
.container {
  max-width: 1180px;
  margin: -45px auto 80px;
  padding: 0 18px;
  position: relative;
  z-index: 2;
}
.container > h2 {
  text-align: center;
  font-size: 46px;
  margin-top: 80px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.card {
  background: #fff;
  border: 1px solid #f0ddd6;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(80, 30, 20, 0.12);
}
.photo {
  height: 210px;
  background: #fff0eb;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #e30613;
  font-weight: 900;
}
.photo img {
  display: block;
  width: auto;
  height: 210px;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  padding: 10px;
}
.body {
  padding: 20px;
}
.category {
  font-size: 12px;
  font-weight: 900;
  color: #e30613;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.body h3 {
  font-size: 24px;
  margin: 8px 0;
}
.body p {
  min-height: 42px;
  color: #6b514b;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.row strong {
  font-size: 24px;
  color: #e30613;
}
.floating {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 12;
  border: 0;
  border-radius: 999px;
  background: #241514;
  color: #fff;
  padding: 16px 20px;
  font-weight: 900;
  box-shadow: 0 12px 32px #0004;
}
.floating span {
  background: #e30613;
  border-radius: 50%;
  padding: 4px 9px;
  margin-left: 6px;
}
.cart {
  position: fixed;
  right: 0;
  top: 0;
  width: min(440px, 100vw);
  height: 100vh;
  background: #fff;
  z-index: 20;
  transform: translateX(110%);
  transition: 0.25s;
  box-shadow: -20px 0 45px #0003;
  display: flex;
  flex-direction: column;
}
.cart.open {
  transform: none;
}
.cart-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #f0ddd6;
}
.cart-head button {
  border: 0;
  background: #fff;
  font-size: 34px;
}
.cart-items {
  padding: 16px 20px;
  overflow: auto;
  flex: 1;
}
.cart-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  border-bottom: 1px solid #f0ddd6;
  padding: 14px 0;
}
.cart-row h4 {
  margin: 0 0 6px;
}
.price {
  color: #e30613;
  font-weight: 850;
}
.qty {
  display: flex;
  align-items: center;
  gap: 8px;
}
.qty button {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 10px;
  background: #f4e4df;
  font-weight: 900;
}
.remove {
  border: 0;
  background: transparent;
  color: #a00;
  font-weight: 850;
  cursor: pointer;
}
.cart-bottom {
  padding: 20px;
  border-top: 1px solid #f0ddd6;
}
.cart-options {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}
.option-group {
  display: grid;
  gap: 8px;
}
.option-group > span,
.address-field span {
  font-size: 13px;
  font-weight: 900;
  color: #55342f;
}
.option-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 750;
}
.option-group input {
  accent-color: #e30613;
}
.address-field {
  display: none;
  gap: 8px;
}
.address-field.show {
  display: grid;
}
.address-field textarea {
  width: 100%;
  resize: vertical;
  padding: 11px 12px;
  border: 1px solid #dec8c0;
  border-radius: 13px;
  font: inherit;
}
.total {
  display: flex;
  justify-content: space-between;
  font-size: 20px;
  margin-bottom: 14px;
}
.order {
  width: 100%;
}
.admin {
  background: #f7f0ed;
}
.admin-wrap {
  max-width: 1100px;
  margin: auto;
  padding: 24px 16px 80px;
}
.admin-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-box {
  background: #fff;
  border: 1px solid #ead8d1;
  border-radius: 22px;
  padding: 20px;
  margin: 18px 0;
  box-shadow: 0 12px 28px #501e140e;
}
.form {
  display: grid;
  gap: 10px;
}
.form input,
.form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #dec8c0;
  border-radius: 13px;
  font: inherit;
}
.admin-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  border: 1px solid #f0ddd6;
  border-radius: 18px;
  padding: 14px;
  margin-bottom: 14px;
}
.thumb {
  height: 150px;
  background: #fff3ee;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #e30613;
  font-weight: 850;
}
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}
.actions {
  display: flex;
  gap: 10px;
}
.danger {
  background: #3d211d !important;
}
@media (max-width: 720px) {
  .brand {
    font-size: 48px;
  }
  .tim {
    margin-left: 110px;
  }
  .admin-item {
    grid-template-columns: 1fr;
  }
  .cart {
    width: 100vw;
  }
}

.menu-btn {
  z-index: 11;
}
