
:root{
  --bg:#fffaf7;
  --paper:#fffdfb;
  --ink:#351a16;
  --muted:#7b6d68;
  --line:#eadfd9;
  --accent:#9d2d4a;
  --accent2:#c95a76;
  --gold:#c89b5a;
  --green:#1fa463;
  --blue:#1688c9;
  --shadow:0 14px 40px rgba(72,35,26,.10);
  --radius:28px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:linear-gradient(180deg,#fffaf7 0,#fff 52%,#fff9f5 100%);color:var(--ink);font-family:Arial,Helvetica,sans-serif}
img{display:block;max-width:100%}
a{text-decoration:none;color:inherit}
button,input,select,textarea{font:inherit}
.site-header{
  position:sticky;top:0;z-index:50;height:118px;padding:12px clamp(18px,4vw,70px);
  display:flex;align-items:center;justify-content:space-between;
  background:rgba(255,250,247,.95);backdrop-filter:blur(16px);border-bottom:1px solid #eee6e1
}
.brand{display:flex;align-items:center;gap:18px;font-size:clamp(24px,3vw,42px);font-weight:800}
.brand img{width:90px;height:90px;border-radius:50%;object-fit:cover;box-shadow:0 8px 24px rgba(103,56,39,.12)}
.menu-btn{border:1px solid #e6ded9;border-radius:999px;background:white;padding:18px 28px;display:flex;align-items:center;gap:16px;color:var(--ink);font-weight:800;font-size:24px;box-shadow:var(--shadow);cursor:pointer}
.menu-icon{width:34px;display:grid;gap:6px}.menu-icon i{height:4px;border-radius:3px;background:var(--ink)}
.menu-panel{position:fixed;inset:118px 0 0;z-index:49;background:rgba(39,20,17,.22);padding:18px}
.menu-card{max-width:760px;margin:0 auto;background:rgba(255,250,247,.98);padding:20px;border-radius:26px;box-shadow:var(--shadow);display:grid;gap:12px}
.menu-card a{padding:18px 22px;border:1px solid var(--line);border-radius:999px;text-align:center;font-weight:800;font-size:20px;background:#fff}
.menu-card .menu-call{background:var(--accent);color:#fff;border-color:var(--accent)}
.hero{position:relative;min-height:760px;overflow:hidden}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(31,15,12,.78) 0%,rgba(31,15,12,.56) 52%,rgba(31,15,12,.28) 100%)}
.hero-content{position:relative;z-index:1;max-width:1200px;margin:auto;padding:90px 30px 110px;color:#fff}
.eyebrow{display:inline-flex;align-items:center;gap:10px;border:1px solid rgba(255,255,255,.35);padding:12px 18px;border-radius:999px;background:rgba(255,255,255,.12);font-weight:700}
.eyebrow span{width:12px;height:12px;border-radius:50%;background:#f2bfcc}
.hero h1,.section-head h2{font-family:Georgia,'Times New Roman',serif;font-weight:500}
.hero h1{font-size:clamp(64px,10vw,148px);margin:24px 0 20px;line-height:.92}
.hero p{font-size:clamp(22px,3vw,34px);line-height:1.55;max-width:970px;margin:0}
.hero-actions{display:flex;gap:16px;flex-wrap:wrap;margin-top:34px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:60px;padding:14px 26px;border-radius:999px;border:1px solid var(--line);font-weight:800;cursor:pointer;text-align:center}
.btn-primary{background:var(--accent);color:white;border-color:var(--accent)}
.btn-secondary{background:white}
.btn-glass{background:rgba(255,255,255,.14);border-color:rgba(255,255,255,.45);color:#fff}
.btn-whatsapp{background:#eafff4;color:#0d7d48;border-color:#9bdfbd}
.btn-telegram{background:#edf8ff;color:#0f76ad;border-color:#aad7ef}
.hero-info{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:38px}
.hero-info>div{padding:24px;border-radius:24px;background:rgba(52,31,27,.42);border:1px solid rgba(255,255,255,.25);backdrop-filter:blur(10px)}
.hero-info strong,.hero-info span{display:block}.hero-info strong{font-size:24px;margin-bottom:8px}.hero-info span{font-size:17px;color:#f3e9e5}
.section{padding:90px clamp(20px,5vw,80px);max-width:1400px;margin:auto}
.section-head{max-width:960px;margin-bottom:38px}.section-head.narrow{max-width:900px}
.kicker{display:block;color:var(--accent);font-weight:900;letter-spacing:.18em;font-size:16px;margin-bottom:14px}
.section-head h2{font-size:clamp(46px,7vw,88px);line-height:.98;margin:0 0 20px}
.section-head p{font-size:22px;line-height:1.6;color:var(--muted);margin:0}
.feature-grid,.faq-grid,.cooperation-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.feature-grid article,.faq-grid article,.cooperation-grid article,.custom-card,.contact-info,.map-card{background:rgba(255,255,255,.84);border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:0 10px 28px rgba(60,33,24,.05)}
.feature-grid h3,.faq-grid h3,.cooperation-grid h3,.custom-card h3{font-size:28px;margin:0 0 12px}
.feature-grid p,.faq-grid p,.cooperation-grid p,.custom-card p{font-size:20px;line-height:1.65;color:var(--muted);margin:0}
.gallery{display:grid;grid-template-columns:repeat(12,1fr);gap:18px}
.gallery-card{grid-column:span 4;position:relative;min-height:520px;border-radius:26px;overflow:hidden;background:#eee}
.gallery-card.large{grid-column:span 8}
.gallery-card img{width:100%;height:100%;object-fit:cover}
.gallery-card:after,.occasion-grid article:after{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,rgba(28,14,11,.82))}
.gallery-card>div,.occasion-grid article>div{position:absolute;z-index:2;left:26px;right:26px;bottom:26px;color:white}
.gallery-card h3,.occasion-grid h3{font-size:30px;margin:0 0 8px}.gallery-card p,.occasion-grid p{margin:0;color:#f3e7e2;font-size:18px;line-height:1.45}
.price-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.product-card{background:white;border:1px solid var(--line);border-radius:26px;overflow:hidden;box-shadow:var(--shadow)}
.product-card>img{width:100%;aspect-ratio:4/5;height:auto;object-fit:contain;object-position:center;background:#fffaf7}
.product-body{padding:28px}
.product-body h3{font-family:Georgia,'Times New Roman',serif;font-size:42px;font-weight:500;margin:0 0 14px}
.tag{display:inline-block;color:var(--accent);border:1px solid #ead0d8;border-radius:999px;padding:8px 14px;font-weight:800;margin-bottom:18px}
.price-row{display:flex;justify-content:space-between;gap:18px;padding:18px 0;border-top:1px solid var(--line);font-size:20px}
.price-row strong{font-size:22px}
.product-body p{font-size:18px;line-height:1.55;color:var(--muted)}
.choose-product{width:100%;border:0;background:var(--accent);color:#fff;border-radius:999px;padding:16px;font-weight:800;cursor:pointer}
.custom-card{margin-top:22px;text-align:center;padding:40px}
.custom-card .btn{margin-top:22px}
.occasion-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.occasion-grid article{position:relative;min-height:540px;border-radius:26px;overflow:hidden}
.occasion-grid img{width:100%;height:100%;object-fit:cover}
.order-form{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;background:white;border:1px solid var(--line);border-radius:28px;padding:28px;box-shadow:var(--shadow)}
.order-form label{display:grid;gap:8px;font-weight:800;font-size:18px}
.order-form input,.order-form select,.order-form textarea{width:100%;border:1px solid #ded7d2;border-radius:18px;padding:16px;background:#fff;color:var(--ink);outline:none}
.order-form textarea{resize:vertical}
.order-form label:nth-child(5),.generated,.form-actions{grid-column:1/-1}
.generated{display:grid;gap:10px}
.form-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}
.center-actions{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-top:28px}
.contact-card{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.contact-info h3{font-size:32px;margin-top:0}
.contact-info>div{padding:18px 0;border-top:1px solid var(--line);display:grid;gap:8px}
.contact-info strong{font-size:18px}.contact-info a,.contact-info span{font-size:20px;color:var(--muted)}
.map-card{display:flex;flex-direction:column;align-items:center;text-align:center;gap:16px;background:linear-gradient(135deg,#fff,#fbf4ef)}
.pin{width:110px;height:110px;border-radius:50%;display:grid;place-items:center;background:var(--accent);color:#fff;font-size:54px;box-shadow:0 0 0 14px rgba(157,45,74,.08)}
.map-card strong{font-size:34px}.map-card span{font-size:20px;color:var(--muted)}
footer{max-width:1400px;margin:auto;padding:60px 30px 150px;color:var(--muted);display:grid;gap:16px;border-top:1px solid var(--line)}
.bottom-bar{position:fixed;z-index:60;left:50%;bottom:18px;transform:translateX(-50%);width:min(1180px,calc(100% - 24px));display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:10px;border-radius:30px;background:rgba(255,250,247,.96);backdrop-filter:blur(16px);box-shadow:0 14px 45px rgba(59,30,23,.18);border:1px solid rgba(224,213,207,.9)}
.bottom-bar a{min-height:60px;border-radius:22px;border:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:center;flex-direction:column;font-weight:800;padding:8px 12px;text-align:center}
.bottom-bar .order{background:var(--accent);color:#fff;border-color:var(--accent)}
.bottom-bar .whatsapp{color:#0c8d52;border-color:#a5d9bd}
.bottom-bar .telegram{color:#0a79b4;border-color:#afd8ee}
.bottom-bar small{font-weight:700;font-size:12px;margin-top:2px}
@media(max-width:900px){
  .site-header{height:92px;padding:8px 14px}
  .brand{gap:10px;font-size:24px}.brand img{width:70px;height:70px}
  .menu-btn{padding:13px 18px;font-size:20px}.menu-icon{width:28px}
  .menu-panel{inset:92px 0 0}
  .hero{min-height:760px}.hero-content{padding:70px 22px 120px}
  .hero h1{font-size:70px}
  .hero-info{grid-template-columns:1fr}
  .section{padding:70px 18px}
  .section-head h2{font-size:56px}
  .feature-grid,.price-grid,.contact-card,.faq-grid,.cooperation-grid{grid-template-columns:1fr}
  .gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}
  .gallery-card,.gallery-card.large{min-width:78vw;min-height:540px;scroll-snap-align:start}
  .occasion-grid{grid-template-columns:1fr}
  .order-form{grid-template-columns:1fr}.order-form>*{grid-column:1!important}
  .form-actions{grid-template-columns:1fr 1fr}
  .bottom-bar{grid-template-columns:1fr 1fr;gap:6px;padding:7px;border-radius:24px}
  .bottom-bar a{min-height:54px;border-radius:18px;padding:6px;font-size:13px}
  .bottom-bar small{display:none}
}
@media(max-width:560px){
  .brand span{font-size:22px}
  .brand img{width:62px;height:62px}
  .menu-btn span:last-child{display:none}.menu-btn{padding:13px 16px}
  .hero h1{font-size:58px}.hero p{font-size:21px}
  .hero-actions{display:grid}.hero-actions .btn{width:100%}
  .section-head h2{font-size:48px}
  .product-card>img{width:100%;aspect-ratio:4/5;height:auto;object-fit:contain;object-position:center;background:#fffaf7}.product-body h3{font-size:36px}
  .form-actions{grid-template-columns:1fr}
  .bottom-bar{bottom:8px;width:calc(100% - 12px)}
  .bottom-bar a{font-size:12px;min-height:50px}
}


/* 6 кнопок в закреплённой нижней панели */
.bottom-bar,
.bottom-nav,
.quick-actions,
.fixed-actions {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.instagram, .max-channel {
  text-decoration: none;
}
@media (max-width: 760px) {
  .bottom-bar,
  .bottom-nav,
  .quick-actions,
  .fixed-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}


/* Множественный выбор товаров в форме заказа */
.multi-order{
  grid-column:1/-1;
  display:grid;
  gap:14px;
}
.product-picker-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  align-items:end;
}
.add-product-btn{
  min-width:190px;
  white-space:nowrap;
}
.selected-products-wrap{
  display:grid;
  gap:10px;
}
.selected-products{
  display:grid;
  gap:10px;
}
.selected-empty{
  border:1px dashed var(--line);
  border-radius:16px;
  padding:14px 16px;
  color:var(--muted);
  background:#fffaf8;
}
.selected-product{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px 14px;
  background:#fff;
}
.selected-product span{line-height:1.4}
.remove-product{
  width:34px;
  height:34px;
  flex:0 0 34px;
  border:0;
  border-radius:50%;
  background:#f8e8ed;
  color:var(--accent);
  font-size:24px;
  line-height:1;
  cursor:pointer;
}
@media(max-width:700px){
  .product-picker-row{grid-template-columns:1fr}
  .add-product-btn{width:100%}
}

.ingredients{
  font-size:16px !important;
  line-height:1.6 !important;
  color:var(--muted);
  margin:14px 0;
}
.ingredients strong{color:var(--ink)}


/* Фото прайса: единый формат 4:5 без обрезки важных частей */
.product-card>img{
  width:100%;
  aspect-ratio:4/5;
  height:auto;
  object-fit:contain;
  object-position:center;
  background:#fffaf7;
}


/* Социальные кнопки в шапке */
.hero-actions .btn-social{
  background:rgba(255,255,255,.86);
  color:var(--accent);
  border:1px solid rgba(255,255,255,.9);
  backdrop-filter:blur(8px);
}
.hero-actions .btn-social:hover{
  background:#fff;
}


/* v16: нижняя статичная панель — две равные фирменные кнопки на всю ширину */
.bottom-bar{
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  gap:10px;
}
.bottom-bar a,
.bottom-bar .order{
  width:100%;
  min-width:0;
  background:var(--accent) !important;
  color:#fff !important;
  border-color:var(--accent) !important;
  flex-direction:row;
}
@media (max-width:760px){
  .bottom-bar{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}


/* v17: единая кнопка отправки заказа по электронной почте */
.form-actions-email{display:block !important;}
.send-order-email{width:100%;min-height:60px;font-size:18px;}


/* Поле даты рождения в форме заказа */
.birthday-bonus{
  display:block;
  margin-top:8px;
  font-size:14px;
  font-weight:600;
  color:var(--accent);
}


/* v19: компактные информационные блоки в шапке */
.hero-info,
.hero-meta,
.hero-features,
.hero-facts{
  gap:10px !important;
}
.hero-info > *,
.hero-meta > *,
.hero-features > *,
.hero-facts > *{
  padding:14px 18px !important;
  min-height:auto !important;
}
.hero-info h3,
.hero-meta h3,
.hero-features h3,
.hero-facts h3,
.hero-info strong,
.hero-meta strong,
.hero-features strong,
.hero-facts strong{
  font-size:18px !important;
  line-height:1.15 !important;
}
.hero-info p,
.hero-meta p,
.hero-features p,
.hero-facts p{
  font-size:14px !important;
  line-height:1.25 !important;
  margin-top:4px !important;
}
@media (max-width:640px){
  .hero-info > *,
  .hero-meta > *,
  .hero-features > *,
  .hero-facts > *{
    padding:11px 14px !important;
  }
}


/* v22: кнопки в шапке одного размера и белого цвета */
.hero-actions .btn,
.header-socials .header-social-link{
  width:190px !important;
  min-width:190px !important;
  height:54px !important;
  min-height:54px !important;
  padding:0 18px !important;
  box-sizing:border-box !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#fff !important;
  color:#7e1e37 !important;
  border:1px solid rgba(255,255,255,.9) !important;
  border-radius:999px !important;
  font-weight:700 !important;
  text-decoration:none !important;
}
.hero-actions,
.header-socials{
  gap:10px !important;
  flex-wrap:wrap !important;
}
@media (max-width:640px){
  .hero-actions .btn,
  .header-socials .header-social-link{
    width:calc(50% - 5px) !important;
    min-width:0 !important;
    height:50px !important;
    min-height:50px !important;
    font-size:14px !important;
  }
}


/* v23: компактные кнопки шапки в одну линию на ПК */
@media (min-width: 900px){
  .hero-actions,
  .header-socials{
    display:flex !important;
    flex-wrap:nowrap !important;
    gap:8px !important;
  }

  .hero-actions .btn,
  .header-socials .header-social-link{
    width:150px !important;
    min-width:150px !important;
    height:46px !important;
    min-height:46px !important;
    padding:0 10px !important;
    font-size:14px !important;
    white-space:nowrap !important;
  }
}


/* v26: мобильное/выпадающее меню поверх нижней статичной панели */
.menu-panel{
  z-index:9999 !important;
  overflow-y:auto !important;
  -webkit-overflow-scrolling:touch;
  max-height:calc(100vh - 88px) !important;
  padding-bottom:120px !important;
}
.menu-backdrop{
  z-index:9998 !important;
}
.site-header{
  z-index:10000 !important;
}

/* Нижняя статичная панель остаётся ниже открытого меню */
.bottom-bar,
.fixed-bottom,
.sticky-bar,
.mobile-bar{
  z-index:900 !important;
}

/* На небольших экранах даём меню дополнительное место снизу */
@media (max-width:760px){
  .menu-panel{
    max-height:calc(100dvh - 82px) !important;
    padding-bottom:140px !important;
  }
}


/* v27: отправка заказа через Netlify Forms */
.form-actions-email .send-order-email{
  width:100%;
}
.order-status{
  margin-top:14px;
  text-align:center;
  font-weight:700;
  min-height:24px;
}
.order-status.success{color:#18794e}
.order-status.error{color:#a92d4e}
.netlify-honeypot{display:none !important}
