:root{
  --bg:#f6f7fb;
  --card:#ffffff;
  --text:#1f2937;
  --muted:#6b7280;
  --brand:#D35A4A;
  --brand-2:#F08A24;
  --border:#e5e7eb;
  --header-h:78px;
  --shadow:0 10px 30px rgba(0,0,0,.06);
  --radius:18px;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}

body{
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Text","Segoe UI",sans-serif;
  background:var(--bg);
  color:var(--text);
}

a{
  color:var(--brand);
  text-decoration:none;
}

a:hover{
  text-decoration:none;
}

.wrap{
  max-width:980px;
  margin:0 auto;
  padding:24px 16px 40px;
}

.wrap--withHeader{
  padding-top:calc(var(--header-h) + 20px);
}

h1,h2,h3,p{
  margin-top:0;
}

h1{
  font-size:32px;
  line-height:1.08;
  margin-bottom:14px;
}

h2{
  font-size:22px;
  margin-bottom:10px;
}

p{
  line-height:1.5;
  color:var(--text);
}

.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  margin:16px 0;
  box-shadow:var(--shadow);
}

/* HEADER */
.rpHeader{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:9999;
  background:rgba(255,255,255,.86);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(229,231,235,.9);
}

.rpHeader__inner{
  max-width:1100px;
  height:var(--header-h);
  margin:0 auto;
  padding:0 16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.rpBrand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
  color:inherit;
}

.rpBrand__icon{
  width:44px;
  height:44px;
  border-radius:14px;
  background:linear-gradient(180deg,#fff7ed 0%, #ffedd5 100%);
  color:var(--brand-2);
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #fed7aa;
  box-shadow:0 6px 18px rgba(240,138,36,.16);
  flex:0 0 auto;
}

.rpBurgerSvg{
  width:28px;
  height:28px;
  display:block;
}

.rpBrand__text{
  display:flex;
  flex-direction:column;
  line-height:1.05;
  min-width:0;
}

.rpBrand__title{
  font-size:16px;
  font-weight:800;
  color:var(--text);
  letter-spacing:-0.02em;
}

.rpBrand__subtitle{
  font-size:13px;
  color:var(--muted);
  font-weight:700;
}

/* CART LINK */
.rpCartLink{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:10px 14px;
  color:var(--text);
  box-shadow:0 6px 18px rgba(0,0,0,.04);
}

.rpCartLink__icon{
  width:34px;
  height:34px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff7ed;
  color:var(--brand-2);
  flex:0 0 auto;
}

.rpBagSvg{
  width:20px;
  height:20px;
  display:block;
}

.rpCartLink__meta{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}

.rpCartLink__label{
  font-size:12px;
  font-weight:700;
  color:var(--muted);
}

.rpCartLink__value{
  font-size:13px;
  font-weight:800;
  color:var(--text);
  white-space:nowrap;
}

.rpCartBadge{
  position:absolute;
  top:-7px;
  right:-7px;
  min-width:22px;
  height:22px;
  padding:0 6px;
  border-radius:999px;
  background:var(--brand);
  color:#fff;
  font-size:12px;
  font-weight:800;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 8px 16px rgba(211,90,74,.28);
}

/* HERO */
.heroCard{
  position:relative;
  overflow:hidden;
  border-radius:26px;
  padding:28px 22px;
  background:
    radial-gradient(circle at top right, rgba(240,138,36,.16), transparent 35%),
    linear-gradient(180deg,#ffffff 0%, #fff7f2 100%);
  border:1px solid #f3e3dc;
  box-shadow:0 18px 40px rgba(0,0,0,.05);
  margin:10px 0 18px;
}

.heroCard__content{
  max-width:700px;
}

.heroCard__eyebrow{
  display:inline-block;
  margin-bottom:8px;
  font-size:12px;
  font-weight:800;
  color:var(--brand);
  text-transform:uppercase;
  letter-spacing:.08em;
}

.heroCard__title{
  margin:0 0 10px;
  font-size:36px;
  line-height:1.02;
  letter-spacing:-0.03em;
}

.heroCard__text{
  max-width:620px;
  color:var(--muted);
  font-size:16px;
  margin-bottom:18px;
}

.heroCard__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

/* BUTTONS */
.rpBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 16px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
  font-weight:700;
  box-shadow:0 6px 18px rgba(0,0,0,.04);
}

.rpBtn--primary{
  background:var(--brand);
  border-color:var(--brand);
  color:#fff;
}

/* GRID */
.gridCards{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:16px;
}

.gridCards .card{
  margin:0;
}

/* FORMS */
input, button, select, textarea{
  font:inherit;
}

input, select, textarea{
  width:100%;
  max-width:340px;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:12px;
  background:#fff;
}

textarea{
  max-width:520px;
}

button{
  border:0;
  background:var(--brand);
  color:#fff;
  padding:10px 16px;
  border-radius:12px;
  cursor:pointer;
}

button:hover{
  opacity:.94;
}

@media (max-width: 820px){
  .gridCards{
    grid-template-columns:1fr;
  }

  .rpCartLink__value{
    max-width:140px;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  .heroCard__title{
    font-size:30px;
  }
}

@media (max-width: 560px){
  :root{
    --header-h:74px;
  }

  .rpHeader__inner{
    padding:0 12px;
  }

  .rpBrand__title{
    font-size:15px;
  }

  .rpBrand__subtitle{
    font-size:12px;
  }

  .rpCartLink{
    padding:9px 10px;
    gap:8px;
  }

  .rpCartLink__meta{
    display:none;
  }

  .heroCard{
    padding:24px 18px;
    border-radius:22px;
  }

  .heroCard__title{
    font-size:28px;
  }

  .wrap{
    padding-left:14px;
    padding-right:14px;
  }
}

.rpMenuItem{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 0;
  border-bottom:1px solid var(--border);
}

.rpMenuItem:last-child{
  border-bottom:0;
}

.rpMenuItem__main{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:4px;
}

.rpMenuItem__title{
  font-size:17px;
}

.rpMenuItem__price{
  color:var(--muted);
  font-weight:700;
}

.rpMenuItem__actions{
  flex:0 0 auto;
}

@media (max-width:560px){
  .rpMenuItem{
    align-items:flex-start;
    flex-direction:column;
  }

  .rpMenuItem__actions{
    width:100%;
  }

  .rpMenuItem__actions .rpBtn,
  .rpMenuItem__actions button{
    width:100%;
  }
}