*{box-sizing:border-box}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif;
  background:#fff7e8;
  color:#170b08;
}

.hero{
  min-height:360px;
  background:radial-gradient(circle at 75% 20%,#57100c 0,#160807 52%,#0b0504 100%);
  color:white;
  padding:16px;
  position:relative;
  overflow:hidden;
}

.hero:after{
  content:"";
  position:absolute;
  right:-80px;
  top:70px;
  width:420px;
  height:420px;
  background:linear-gradient(135deg,#d71920,#f8b319);
  border-radius:50%;
  filter:blur(80px);
  opacity:.32;
}

.nav{
  position:relative;
  z-index:1;
  display:flex;
  justify-content:space-between;
  align-items:center;
  max-width:1200px;
  margin:auto;
}

.logo{
  width:145px;
  background:white;
  border-radius:24px;
  padding:8px;
}

select{
  padding:12px 16px;
  border-radius:999px;
  border:0;
  font-weight:800;
}

.hero-text{
  position:relative;
  z-index:1;
  max-width:1200px;
  margin:38px auto 0;
}

.hero-text p{
  font-size:22px;
  margin:0;
}

.hero-text h1{
  font-size:54px;
  max-width:650px;
  margin:6px 0;
  color:#fff;
  line-height:1.05;
}

.hero-text span{
  color:#f8b319;
  font-size:24px;
  font-weight:900;
}

.hero-text button{
  display:block;
  margin-top:22px;
  border:0;
  background:#f8b319;
  padding:14px 24px;
  border-radius:14px;
  font-weight:900;
}

main{
  max-width:1200px;
  margin:auto;
  padding:18px;
}

.tabs{
  display:flex;
  gap:10px;
  overflow-x:auto;
  padding:8px 0 22px;
  scrollbar-width:thin;
}

.tab{
  border:0;
  background:white;
  padding:13px 16px;
  border-radius:18px;
  font-weight:900;
  box-shadow:0 8px 20px rgba(0,0,0,.07);
  white-space:nowrap;
}

.tab.active{
  background:#d71920;
  color:white;
}

.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.card{
  background:white;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 12px 34px rgba(0,0,0,.10);
  border:1px solid #f0d8bd;
  display:flex;
  flex-direction:column;
  min-height:390px;
}

.pic{
  width:100%;
  height:230px;
  background:#f4dec7;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:52px;
  flex-shrink:0;
}

.pic img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.body{
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:8px;
  flex:1;
  background:white;
}

.body h3{
  margin:0;
  font-size:20px;
  line-height:1.25;
  font-weight:900;
  color:#140907;
}

.body p{
  margin:0;
  color:#725b4b;
  font-size:15px;
  line-height:1.4;
  min-height:42px;
}

.row{
  margin-top:auto;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
}

.price{
  color:#d71920;
  font-size:18px;
  font-weight:1000;
}

.add{
  border:0;
  background:#d71920;
  color:white;
  border-radius:50%;
  width:44px;
  height:44px;
  font-size:26px;
  font-weight:900;
  flex-shrink:0;
  cursor:pointer;
}

.cart{
  display:none;
  position:fixed;
  right:18px;
  bottom:82px;
  width:370px;
  max-width:calc(100vw - 36px);
  max-height:78vh;
  overflow:auto;
  background:white;
  border-radius:22px;
  padding:16px;
  box-shadow:0 20px 70px rgba(0,0,0,.35);
  z-index:9;
}

.cart.open{display:block}

.cart-head{
  display:flex;
  justify-content:space-between;
}

.cart-head button{
  border:0;
  background:#eee;
  border-radius:10px;
  font-size:24px;
}

.cart-row{
  display:flex;
  justify-content:space-between;
  gap:10px;
  border-bottom:1px dashed #ddd;
  padding:10px 0;
}

.qty button{
  border:0;
  border-radius:8px;
  margin:0 3px;
}

.cart input,
.cart textarea{
  width:100%;
  padding:12px;
  margin-top:10px;
  border:1px solid #ead2b8;
  border-radius:12px;
}

.total{
  display:flex;
  justify-content:space-between;
  margin:14px 0;
  font-size:18px;
}

.wa,
.cart-btn{
  border:0;
  background:#18a64a;
  color:white;
  border-radius:15px;
  padding:14px 18px;
  font-weight:900;
  width:100%;
}

.cart-btn{
  position:fixed;
  right:18px;
  bottom:18px;
  width:auto;
  z-index:10;
}

@media(max-width:900px){
  .grid{grid-template-columns:repeat(2,1fr)}
  .hero-text h1{font-size:42px}
  .logo{width:110px}
}

@media(max-width:560px){
  main{padding:12px}
  .grid{grid-template-columns:1fr;gap:14px}
  .hero{min-height:330px}
  .hero-text{margin-top:30px}
  .hero-text h1{font-size:34px}
  .pic{height:240px}
  .card{min-height:auto}
}
