
:root{
  --bg: #fff7fb;
  --card: #ffffff;
  --text: #1f1f1f;
  --muted: #6b6b6b;
  --pink: #ff6aa6;
  --pink2: #ff90bf;
  --border: rgba(0,0,0,.08);
  --shadow: 0 14px 36px rgba(0,0,0,.10);
  --radius: 22px;
  --max: 1120px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

*{ box-sizing: border-box; }
html, body{ margin:0; padding:0; font-family: var(--font); color: var(--text); background:
  radial-gradient(1100px 720px at 15% 0%, #ffe2f0 0%, var(--bg) 48%, #ffffff 100%); }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display:block; }
.container{ width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }

/* header + hero */
.site-header{
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(12px);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}
.brand{
  display:flex;
  align-items:center;
  gap: 14px;
  min-width: 260px;
}
.brand-logo{
  height: 150px;
  width:auto;
  filter: drop-shadow(0 16px 32px rgba(255,106,166,.42));
}
.brand-title{
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.brand-sub{
  color: var(--muted);
  font-weight: 600;
  font-size: .92rem;
}

.nav{
  display:flex;
  gap: 10px;
  align-items:center;
  font-weight: 800;
}
.nav a{
  padding: 10px 12px;
  border-radius: 14px;
}
.nav a:hover{ background: rgba(255,106,166,.12); }

.hero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  padding: 18px 0 28px;
}
.hero-left h1{
  margin: 8px 0 10px;
  font-size: clamp(30px, 3vw, 46px);
  letter-spacing: -0.02em;
}
.lead{
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 1.05rem;
}
.cta{ display:flex; gap: 10px; flex-wrap: wrap; margin: 10px 0 14px; }
.mini-jokes{ display:flex; gap: 10px; flex-wrap: wrap; }

.pill{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,106,166,.35);
  background: rgba(255,106,166,.10);
  font-weight: 800;
  font-size: .9rem;
}

.section{ padding: 34px 0; }
.section.alt{
  background: linear-gradient(180deg, rgba(255,106,166,.08), rgba(255,255,255,0));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.section-head h2{ margin:0; font-size: 1.8rem; }
.muted{ color: var(--muted); }
.tiny{ font-size: .92rem; }

/* cards + buttons */
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
  position: relative;
}
.btn{
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 14px;
  background: #fff;
  font-weight: 900;
  cursor: pointer;
  transition: transform .08s ease, background .12s ease, border-color .12s ease;
}
.btn:hover{ transform: translateY(-1px); border-color: rgba(255,106,166,.45); background: rgba(255,106,166,.06); }
.btn.primary{
  border-color: rgba(255,106,166,.55);
  background: linear-gradient(180deg, rgba(255,106,166,.35), rgba(255,106,166,.18));
}
.btn.ghost{ background: transparent; }
.btn.full{ width: 100%; }

/* featured */
.featured-top{
  display:flex;
  justify-content: space-between;
  align-items:center;
  margin-bottom: 10px;
}
.tag{
  font-weight: 900;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,106,166,.12);
  border: 1px solid rgba(255,106,166,.25);
}
.price{
  font-weight: 1000;
  color: #b01453;
}
.featured-img{
  border-radius: 18px;
  border: 1px solid var(--border);
  margin-bottom: 10px;
}
.featured-name{ margin: 6px 0 4px; font-size: 1.3rem; }

/* menu */
.search-wrap{ min-width: 280px; }
.search{
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 12px;
  font: inherit;
  outline: none;
  background: #fff;
}
.search:focus{
  border-color: rgba(255,106,166,.65);
  box-shadow: 0 0 0 4px rgba(255,106,166,.12);
}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.cookie-card{
  display:flex;
  flex-direction: column;
  gap: 10px;
}
.cookie-img{
  border-radius: 18px;
  border: 1px solid var(--border);
}
.cookie-top{
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 10px;
}
.cookie-name{ margin:0; font-size: 1.15rem; }
.cookie-price{
  font-weight: 1000;
  color: #b01453;
  background: rgba(255,106,166,.12);
  border: 1px solid rgba(255,106,166,.25);
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.cookie-desc{ margin:0; color: var(--muted); line-height: 1.5; }
.controls{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 6px;
}
.qty{
  display:flex;
  align-items:center;
  gap: 8px;
}
.qty button{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  cursor:pointer;
  font-weight: 1000;
}
.qty button:hover{ border-color: rgba(255,106,166,.45); background: rgba(255,106,166,.06); }
.qty .count{
  min-width: 22px;
  text-align:center;
  font-weight: 1000;
}
.badges{ display:flex; flex-wrap: wrap; gap: 8px; }
.badge{
  font-size: .8rem;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid rgba(106, 90, 205, 0.25);
  background: rgba(230, 230, 250, 0.5);
  color: #483d8b;
  font-weight: 700;
}

/* how */
.how{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
  align-items: start;
}
.steps{ margin: 10px 0 0 18px; color: var(--muted); line-height: 1.6; }
.sticker{
  position:absolute;
  right: 14px;
  bottom: 10px;
  font-size: 48px;
  opacity: .18;
}

/* order */
.order-layout{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
  align-items:start;
}
.field{ display:flex; flex-direction: column; gap: 6px; }
label{ font-weight: 900; }
input, select, textarea{
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px 12px;
  font: inherit;
  outline: none;
  background: #fff;
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(255,106,166,.65);
  box-shadow: 0 0 0 4px rgba(255,106,166,.12);
}
.field-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}
.actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.summary-top{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 10px;
}
.order-items{ min-height: 72px; line-height: 1.55; margin-top: 10px; }
.divider{ height: 1px; background: var(--border); margin: 14px 0; }
.totals .row{ display:flex; justify-content: space-between; padding: 6px 0; }

/* footer */
.footer{
  padding: 22px 0 30px;
  border-top: 1px solid var(--border);
  background: rgba(255,255,255,.7);
}
.footer-inner{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 14px;
}
.footer-left{
  display:flex;
  align-items:center;
  gap: 12px;
}
.footer-logo{ height: 48px; width:auto; }
.footer-title{ font-weight: 1000; }

/* Modal */
.modal{
  display:none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  animation: fadeIn 0.3s ease;
}
.modal.show{ display: flex; align-items: center; justify-content: center; }
.modal-content{
  background: var(--card);
  border: 2px solid var(--pink);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  padding: 32px;
  max-width: 500px;
  width: calc(100% - 40px);
  text-align: center;
  animation: slideIn 0.4s ease;
}
.modal-icon{
  font-size: 64px;
  margin-bottom: 16px;
}
.modal-content h2{
  margin: 0 0 16px;
  font-size: 1.8rem;
  color: var(--pink);
}
.modal-text{
  color: var(--muted);
  line-height: 1.6;
  margin: 12px 0;
}
@keyframes fadeIn{
  from{ opacity: 0; }
  to{ opacity: 1; }
}
@keyframes slideIn{
  from{ transform: translateY(-30px); opacity: 0; }
  to{ transform: translateY(0); opacity: 1; }
}

@media (max-width: 960px){
  .hero, .order-layout, .how{ grid-template-columns: 1fr; }
  .grid{ grid-template-columns: repeat(2, 1fr); }
  .brand-logo{ height: 110px; }
}
@media (max-width: 560px){
  .nav{ display:none; }
  .grid{ grid-template-columns: 1fr; }
  .field-row{ grid-template-columns: 1fr; }
  .search-wrap{ min-width: 0; width: 100%; }
  .section-head{ flex-direction: column; align-items: stretch; }
  .brand{ min-width: 0; gap: 10px; }
  .brand-logo{ height: 85px; }
  .brand-title{ font-size: 0.95rem; }
  .brand-sub{ font-size: 0.82rem; }
  .header-inner{ padding: 12px 0; }
}
