:root{
    --sand: #EDE6D6;
    --sand-deep: #E2D9C4;
    --ink: #24291F;
    --forest: #1E3A2B;
    --moss: #5D7C4C;
    --moss-light: #8FA97D;
    --clay: #9C5129;
    --clay-light: #C98352;
    --line: rgba(36,41,31,0.16);
    --paper: #F7F3E9;
  }
  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth;}
  body{
    background:var(--sand);
    color:var(--ink);
    font-family:'Public Sans', sans-serif;
    line-height:1.5;
    overflow-x:hidden;
  }
  @media (prefers-reduced-motion: reduce){
    *{animation-duration:0.01ms !important; transition-duration:0.01ms !important;}
  }
  a{color:inherit;}
  .wrap{max-width:1180px;margin:0 auto;padding:0 32px;}

  /* ---------- HEADER ---------- */
  header{
    position:sticky; top:0; z-index:50;
    background:rgba(237,230,214,0.86);
    backdrop-filter:blur(10px);
    border-bottom:1px solid var(--line);
  }
  .nav{display:flex;align-items:center;justify-content:space-between;padding:18px 32px;max-width:1180px;margin:0 auto;}
  .logo{
    font-family:'Fraunces', serif; font-weight:600; font-size:22px; letter-spacing:-0.02em;
    display:flex; align-items:center; gap:8px;
  }
  .logo svg{width:26px;height:26px;flex-shrink:0;}
  .nav-links{display:flex; gap:34px; font-size:15px; font-weight:500;}
  .nav-links a{text-decoration:none; opacity:0.75; transition:opacity .2s;}
  .nav-links a:hover{opacity:1;}
  .nav-right{display:flex; align-items:center; gap:20px;}
  .cart-btn{
    display:flex; align-items:center; gap:8px;
    background:var(--forest); color:var(--paper);
    border:none; padding:10px 18px; border-radius:100px;
    font-family:'Public Sans'; font-weight:600; font-size:14px;
    cursor:pointer; transition:transform .2s, background .2s;
  }
  .cart-btn:hover{background:#152A1F;}
  .cart-btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible{
    outline:2px solid var(--clay); outline-offset:3px;
  }
  #cart-count{font-family:'IBM Plex Mono'; font-size:13px;}

  /* ---------- HERO ---------- */
  .hero{
    position:relative;
    padding:88px 0 60px;
    overflow:hidden;
  }
  .hero-grid{
    display:grid; grid-template-columns:1.1fr 0.9fr; gap:40px; align-items:center;
  }
  .eyebrow{
    font-family:'IBM Plex Mono'; font-size:13px; letter-spacing:0.06em; text-transform:uppercase;
    color:var(--clay); display:flex; align-items:center; gap:10px; margin-bottom:22px;
  }
  .eyebrow::before{content:''; width:22px; height:1px; background:var(--clay);}
  .hero h1{
    font-family:'Fraunces', serif; font-weight:450; font-size:clamp(40px, 5.4vw, 68px);
    line-height:1.03; letter-spacing:-0.01em; color:var(--forest);
  }
  .hero h1 em{
    font-style:italic; font-weight:450; color:var(--clay);
  }
  .hero p.lead{
    margin-top:24px; font-size:18px; max-width:440px; color:rgba(36,41,31,0.78);
  }
  .hero-cta{display:flex; gap:14px; margin-top:36px; flex-wrap:wrap;}
  .btn-primary{
    background:var(--forest); color:var(--paper); border:none; padding:15px 26px;
    border-radius:100px; font-weight:600; font-size:15px; cursor:pointer;
    transition:transform .18s ease, background .2s;
  }
  .btn-primary:hover{transform:translateY(-2px); background:#152A1F;}
  .btn-ghost{
    background:transparent; color:var(--forest); border:1px solid var(--line); padding:15px 26px;
    border-radius:100px; font-weight:600; font-size:15px; cursor:pointer; transition:border-color .2s, background .2s;
  }
  .btn-ghost:hover{border-color:var(--forest); background:rgba(30,58,43,0.06);}

  .hero-visual{position:relative; height:440px;}
  .pot-shelf{
    position:absolute; bottom:26px; left:0; right:0; height:14px;
    background:var(--clay); border-radius:3px;
    box-shadow:0 10px 0 -4px rgba(0,0,0,0.08);
  }
  .hero-plant{position:absolute; bottom:38px;}
  .hero-plant svg{display:block;}
  .float{animation:float 6s ease-in-out infinite;}
  @keyframes float{
    0%,100%{transform:translateY(0);}
    50%{transform:translateY(-10px);}
  }

  /* ---------- MARQUEE STRIP ---------- */
  .strip{
    background:var(--forest); color:var(--sand); padding:13px 0; overflow:hidden;
    border-top:1px solid var(--line); border-bottom:1px solid var(--line);
  }
  .strip-inner{display:flex; gap:48px; white-space:nowrap; animation:marquee 28s linear infinite; width:max-content;}
  .strip span{font-family:'IBM Plex Mono'; font-size:13px; letter-spacing:0.04em; display:flex; align-items:center; gap:10px;}
  .strip span::after{content:'✳'; opacity:0.5; font-size:10px;}
  @keyframes marquee{from{transform:translateX(0);} to{transform:translateX(-50%);}}

  /* ---------- SECTION HEADS ---------- */
  .section{padding:96px 0;}
  .section-head{display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:48px; gap:24px; flex-wrap:wrap;}
  .section-head h2{
    font-family:'Fraunces', serif; font-weight:450; font-size:clamp(30px,3.6vw,42px); color:var(--forest); letter-spacing:-0.01em;
  }
  .section-head p{max-width:380px; color:rgba(36,41,31,0.7); font-size:15px;}

  /* ---------- FILTERS ---------- */
  .filters{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:36px;}
  .filter-btn{
    font-family:'Public Sans'; font-size:14px; font-weight:600; padding:9px 18px;
    border-radius:100px; border:1px solid var(--line); background:transparent; cursor:pointer;
    transition:all .2s;
  }
  .filter-btn.active, .filter-btn:hover{background:var(--forest); color:var(--paper); border-color:var(--forest);}

  /* ---------- PRODUCT GRID ---------- */
  .grid{
    display:grid; grid-template-columns:repeat(4, 1fr); gap:22px;
  }
  .card{
    background:var(--paper); border:1px solid var(--line); border-radius:18px;
    padding:22px; display:flex; flex-direction:column; position:relative;
    transition:transform .25s ease, box-shadow .25s ease;
  }
  /* Скрытые фильтром карточки: перебивает display:flex у .card/.post-card */
  .card[hidden], .post-card[hidden]{display:none !important;}
  .card:hover{transform:translateY(-5px); box-shadow:0 16px 30px -18px rgba(30,58,43,0.35);}
  .card-img{
    height:180px; display:flex; align-items:center; justify-content:center;
    background:var(--sand-deep); border-radius:12px; margin-bottom:18px; position:relative; overflow:hidden;
  }
  .card-img svg{width:100px; height:130px;}
  .difficulty-tag{
    position:absolute; top:10px; left:10px; font-family:'IBM Plex Mono'; font-size:10px;
    background:rgba(247,243,233,0.9); padding:4px 9px; border-radius:100px; letter-spacing:0.03em;
  }
  .card h3{font-family:'Fraunces', serif; font-weight:600; font-size:19px; margin-bottom:4px;}
  .card .latin{font-size:12px; font-style:italic; color:rgba(36,41,31,0.7); margin-bottom:12px;}
  .card-foot{display:flex; align-items:center; justify-content:space-between; margin-top:auto; padding-top:14px;}
  .price{font-family:'IBM Plex Mono'; font-weight:500; font-size:16px; color:var(--forest);}
  .add-btn{
    width:38px; height:38px; border-radius:50%; border:1px solid var(--forest); background:transparent;
    color:var(--forest); font-size:19px; cursor:pointer; display:flex; align-items:center; justify-content:center;
    transition:background .2s, color .2s, transform .2s;
  }
  .add-btn:hover{background:var(--forest); color:var(--paper); transform:rotate(90deg);}
  .add-btn.added{background:var(--clay); color:var(--paper); border-color:var(--clay);}

  /* ---------- CARE STRIP (signature) ---------- */
  .care{
    background:var(--forest); color:var(--sand); border-radius:24px; padding:56px 48px;
    display:grid; grid-template-columns:1fr 1fr 1fr; gap:36px; position:relative; overflow:hidden;
  }
  .care::before{
    content:''; position:absolute; right:-60px; top:-60px; width:260px; height:260px;
    border-radius:50%; background:radial-gradient(circle, rgba(143,169,125,0.28), transparent 70%);
  }
  .care-item{position:relative;}
  .care-item .num{font-family:'IBM Plex Mono'; font-size:13px; color:var(--moss-light); margin-bottom:14px; display:block;}
  .care-item h3{font-family:'Fraunces', serif; font-weight:450; font-size:23px; margin-bottom:10px;}
  .care-item p{font-size:14.5px; color:rgba(237,230,214,0.75); max-width:280px;}

  /* ---------- BLOG ---------- */
  .blog-featured{
    display:grid; grid-template-columns:0.9fr 1.1fr; gap:0; background:var(--paper);
    border:1px solid var(--line); border-radius:24px; overflow:hidden; margin-bottom:28px;
  }
  .blog-featured-img{
    background:var(--sand-deep); display:flex; align-items:center; justify-content:center; min-height:280px; position:relative;
  }
  .blog-featured-img svg{width:60%; height:60%;}
  .blog-featured-body{padding:44px 44px 44px 40px; display:flex; flex-direction:column; justify-content:center;}
  .post-meta{
    font-family:'IBM Plex Mono'; font-size:12px; color:var(--clay); text-transform:uppercase; letter-spacing:0.04em;
    display:flex; gap:14px; align-items:center; margin-bottom:16px;
  }
  .post-meta .dot{width:3px; height:3px; border-radius:50%; background:var(--clay);}
  .blog-featured-body h2{font-family:'Fraunces', serif; font-weight:500; font-size:28px; color:var(--forest); margin-bottom:14px; line-height:1.15;}
  .blog-featured-body p{color:rgba(36,41,31,0.72); font-size:15px; max-width:460px; margin-bottom:20px;}
  .read-link{
    font-weight:600; font-size:14px; color:var(--forest); text-decoration:none; display:inline-flex; align-items:center; gap:8px;
    width:fit-content; border-bottom:1px solid var(--forest); padding-bottom:2px; transition:gap .2s, opacity .2s;
  }
  .read-link:hover{gap:12px;}

  .blog-grid{display:grid; grid-template-columns:repeat(3, 1fr); gap:22px;}
  .post-card{
    background:var(--paper); border:1px solid var(--line); border-radius:18px; padding:24px;
    display:flex; flex-direction:column; transition:transform .25s ease, box-shadow .25s ease; cursor:default;
  }
  .post-card:hover{transform:translateY(-5px); box-shadow:0 16px 30px -18px rgba(30,58,43,0.3);}
  .post-card-img{
    height:130px; background:var(--sand-deep); border-radius:12px; margin-bottom:18px;
    display:flex; align-items:center; justify-content:center;
  }
  .post-card-img svg{width:56px; height:76px;}
  .post-card h3{font-family:'Fraunces', serif; font-weight:600; font-size:17px; margin-bottom:8px; line-height:1.25; color:var(--ink);}
  .post-card p{font-size:13.5px; color:rgba(36,41,31,0.7); margin-bottom:16px; flex:1;}
  .blog-more{display:flex; justify-content:center; margin-top:40px;}

  /* ---------- ABOUT ---------- */
  .about{display:grid; grid-template-columns:0.9fr 1.1fr; gap:64px; align-items:center;}
  .about-visual{
    aspect-ratio:1/1; background:var(--sand-deep); border-radius:24px;
    display:flex; align-items:center; justify-content:center; position:relative; overflow:hidden;
  }
  .about-visual svg{width:70%; height:70%;}
  .about h2{font-family:'Fraunces', serif; font-weight:450; font-size:clamp(28px,3.4vw,38px); color:var(--forest); margin-bottom:20px; letter-spacing:-0.01em;}
  .about p{color:rgba(36,41,31,0.78); font-size:16px; margin-bottom:16px; max-width:480px;}
  .stat-row{display:flex; gap:40px; margin-top:32px;}
  .stat b{font-family:'Fraunces', serif; font-size:32px; color:var(--clay); display:block;}
  .stat span{font-size:13px; color:rgba(36,41,31,0.7);}

  /* ---------- NEWSLETTER ---------- */
  .news{
    background:var(--clay); color:var(--paper); border-radius:24px; padding:60px 48px;
    display:flex; justify-content:space-between; align-items:center; gap:32px; flex-wrap:wrap;
  }
  .news h3{font-family:'Fraunces', serif; font-weight:450; font-size:30px; max-width:380px;}
  .news form{display:flex; gap:10px; flex-wrap:wrap;}
  .news input{
    padding:14px 18px; border-radius:100px; border:none; font-family:'Public Sans'; font-size:14px;
    min-width:250px; background:rgba(247,243,233,0.95);
  }
  .news button{
    padding:14px 24px; border-radius:100px; border:none; background:var(--forest); color:var(--paper);
    font-weight:600; cursor:pointer; font-size:14px;
  }

  /* ---------- FOOTER ---------- */
  footer{padding:56px 0 40px; border-top:1px solid var(--line); margin-top:20px;}
  .foot-grid{display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:32px; margin-bottom:40px;}
  .foot-logo{font-family:'Fraunces', serif; font-weight:600; font-size:20px; margin-bottom:12px;}
  footer p{color:rgba(36,41,31,0.7); font-size:14px; max-width:260px;}
  .foot-col h2{font-size:13px; text-transform:uppercase; letter-spacing:0.05em; margin-bottom:14px; color:rgba(36,41,31,0.7);}
  .foot-col a{display:block; font-size:14px; margin-bottom:10px; text-decoration:none; opacity:0.8;}
  .foot-col a:hover{opacity:1; color:var(--clay);}
  .foot-bottom{display:flex; justify-content:space-between; font-size:12.5px; color:rgba(36,41,31,0.7); flex-wrap:wrap; gap:10px;}

  /* ---------- CART DRAWER ---------- */
  /* Корзина и затемнение — выше плашки согласия (z-index 1200): иначе плашка
     закрывала «Оформить заказ» и строку состояния заказа. Плашка остаётся
     на месте и снова видна, когда корзину закрывают. */
  .overlay{
    position:fixed; inset:0; background:rgba(30,40,25,0.35); z-index:1250; opacity:0; pointer-events:none; transition:opacity .3s;
  }
  .overlay.open{opacity:1; pointer-events:auto;}
  /* visibility убирает закрытую корзину из порядка табуляции: одного
     transform мало — панель уезжает за экран, но её кнопки и ссылки
     продолжают ловить фокус на каждой странице. Задержка перехода
     сохраняет анимацию выезда. */
  .drawer{
    position:fixed; top:0; right:0; height:100%; width:400px; max-width:92vw; background:var(--paper);
    z-index:1300; transform:translateX(100%); display:flex; flex-direction:column;
    visibility:hidden;
    transition:transform .35s ease, visibility 0s linear .35s;
    box-shadow:-20px 0 40px rgba(0,0,0,0.15);
  }
  .drawer.open{transform:translateX(0); visibility:visible; transition:transform .35s ease, visibility 0s;}
  .drawer-head{display:flex; justify-content:space-between; align-items:center; padding:24px; border-bottom:1px solid var(--line);}
  .drawer-head h3{font-family:'Fraunces', serif; font-size:22px;}
  .drawer-close{background:none; border:none; font-size:22px; cursor:pointer; color:var(--ink);}
  .drawer-items{flex:1; overflow-y:auto; padding:16px 24px;}
  .drawer-item{display:flex; gap:14px; padding:16px 0; border-bottom:1px solid var(--line); align-items:center;}
  .drawer-item svg{width:44px; height:56px; flex-shrink:0;}
  .drawer-item-info{flex:1;}
  .drawer-item-info h3{font-size:14.5px; font-weight:600;}
  .drawer-item-info .price{font-size:13px;}
  .qty-controls{display:flex; align-items:center; gap:10px;}
  .qty-controls button{width:24px; height:24px; border-radius:50%; border:1px solid var(--line); background:none; cursor:pointer;}
  .drawer-empty{padding:60px 20px; text-align:center; color:rgba(36,41,31,0.7); font-size:14px;}
  .drawer-foot{padding:22px 24px; border-top:1px solid var(--line);}
  .drawer-total{display:flex; justify-content:space-between; margin-bottom:16px; font-family:'IBM Plex Mono'; font-size:15px;}
  .checkout-btn{
    width:100%; padding:16px; border-radius:100px; border:none; background:var(--forest); color:var(--paper);
    font-weight:600; font-size:15px; cursor:pointer;
  }

  /* ---------- RESPONSIVE ---------- */
  @media (max-width: 980px){
    .nav-links{display:none;}
    .hero-grid{grid-template-columns:1fr; text-align:left;}
    .hero-visual{height:280px; margin-top:20px;}
    .grid{grid-template-columns:repeat(2,1fr);}
    .blog-featured{grid-template-columns:1fr;}
    .blog-featured-img{min-height:200px;}
    .blog-grid{grid-template-columns:1fr 1fr;}
    .care{grid-template-columns:1fr; padding:40px 28px;}
    .about{grid-template-columns:1fr;}
    .about-visual{max-width:320px;}
    .foot-grid{grid-template-columns:1fr 1fr;}
  }
  @media (max-width: 560px){
    .wrap{padding:0 18px;}
    .grid{grid-template-columns:1fr 1fr; gap:14px;}
    .card{padding:16px;}
    .card-img{height:140px;}
    .blog-grid{grid-template-columns:1fr;}
    .blog-featured-body{padding:32px 24px;}
    .section{padding:56px 0;}
    .news{flex-direction:column; align-items:flex-start;}
    .news input{min-width:0; width:100%;}
    .news form{width:100%; flex-direction:column;}
    .news button{width:100%;}
    .foot-grid{grid-template-columns:1fr 1fr; gap:24px 16px;}
    .page-head{padding:28px 0 40px;}
    .article-wrap{padding:0 18px;}
    .article-head{padding:24px 0 28px;}
    .article-cover{margin-bottom:32px;}
    .article-body{font-size:16px;}
    .contact-card{padding:22px;}
    .hero{padding:56px 0 40px;}
  }
  @media (max-width: 400px){
    .grid{grid-template-columns:1fr;}
    .foot-grid{grid-template-columns:1fr;}
  }

/* ---------- BREADCRUMBS ---------- */
.crumbs{
  font-family:'IBM Plex Mono'; font-size:12.5px; color:rgba(36,41,31,0.7);
  padding:22px 0 0;
}
.crumbs a{text-decoration:none;}
.crumbs a:hover{opacity:1; color:var(--clay);}
.crumbs span{margin:0 8px;}

/* ---------- PAGE HEAD (inner pages) ---------- */
.page-head{padding:40px 0 56px;}
.page-head .eyebrow{margin-bottom:16px;}
.page-head h1{
  font-family:'Fraunces', serif; font-weight:450; font-size:clamp(34px,4.4vw,52px);
  color:var(--forest); letter-spacing:-0.01em; max-width:640px;
}
.page-head p.lead{margin-top:18px; max-width:520px; font-size:16.5px; color:rgba(36,41,31,0.75);}

/* ---------- PRODUCT PAGE ---------- */
.product-layout{display:grid; grid-template-columns:0.9fr 1.1fr; gap:56px; align-items:flex-start;}
.product-gallery{
  background:var(--sand-deep); border-radius:24px; aspect-ratio:1/1; display:flex; align-items:center; justify-content:center;
  position:sticky; top:100px;
}
.product-gallery svg{width:60%; height:75%;}
.product-info .latin-name{font-style:italic; color:rgba(36,41,31,0.7); font-size:15px; margin-bottom:14px;}
.product-info h1{font-family:'Fraunces', serif; font-weight:500; font-size:36px; color:var(--forest); margin-bottom:6px;}
.product-price-row{display:flex; align-items:center; gap:18px; margin:22px 0 26px;}
.product-price{font-family:'IBM Plex Mono'; font-size:26px; color:var(--forest);}
.stock-badge{
  font-family:'IBM Plex Mono'; font-size:12px; background:rgba(93,124,76,0.15); color:#456338;
  padding:5px 12px; border-radius:100px;
}
.product-info p.desc{font-size:15.5px; color:rgba(36,41,31,0.78); margin-bottom:28px; max-width:520px;}
.spec-table{border-top:1px solid var(--line); margin-bottom:32px;}
.spec-row{display:flex; justify-content:space-between; padding:14px 0; border-bottom:1px solid var(--line); font-size:14.5px;}
.spec-row span:first-child{color:rgba(36,41,31,0.7);}
.spec-row span:last-child{font-weight:600;}
.product-actions{display:flex; gap:14px;}

/* ---------- ARTICLE PAGE ---------- */
.article-wrap{max-width:720px; margin:0 auto; padding:0 32px;}
.article-head{padding:40px 0 40px;}
.article-head h1{font-family:'Fraunces', serif; font-weight:500; font-size:clamp(32px,4.6vw,48px); color:var(--forest); line-height:1.08; margin:18px 0 20px;}
.article-cover{
  aspect-ratio:16/8; background:var(--sand-deep); border-radius:20px; display:flex; align-items:center; justify-content:center; margin-bottom:44px;
}
.article-cover svg{width:30%; height:60%;}
.article-body{font-size:17px; line-height:1.75; color:rgba(36,41,31,0.85);}
.article-body p{margin-bottom:22px;}
.article-body h2{font-family:'Fraunces', serif; font-weight:500; font-size:26px; color:var(--forest); margin:44px 0 18px;}
.article-body ul{margin:0 0 22px 22px;}
.article-body li{margin-bottom:10px;}
.article-body blockquote{
  border-left:3px solid var(--clay); padding-left:20px; margin:32px 0; font-style:italic; color:rgba(36,41,31,0.7); font-size:17px;
}
.article-foot{border-top:1px solid var(--line); margin-top:48px; padding-top:32px; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;}
.tag-pill{font-family:'IBM Plex Mono'; font-size:12px; background:var(--sand-deep); padding:6px 14px; border-radius:100px;}
.related-posts{padding:80px 0; max-width:1180px; margin:0 auto;}

/* ---------- SIMPLE CONTENT PAGE (about/contacts) ---------- */
.content-block{max-width:680px; font-size:16.5px; color:rgba(36,41,31,0.8); line-height:1.7;}
.content-block p{margin-bottom:20px;}
.content-block h2{font-family:'Fraunces', serif; font-weight:500; font-size:26px; color:var(--forest); margin:40px 0 16px;}

.contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:56px;}
.contact-card{background:var(--paper); border:1px solid var(--line); border-radius:20px; padding:32px;}
.contact-card h2{font-family:'Fraunces', serif; font-weight:600; font-size:19px; margin-bottom:8px;}
.contact-card p{color:rgba(36,41,31,0.7); font-size:14.5px; margin-bottom:4px;}
.contact-form{display:flex; flex-direction:column; gap:14px;}
.contact-form input, .contact-form textarea{
  padding:14px 16px; border-radius:12px; border:1px solid var(--line); background:var(--paper);
  font-family:'Public Sans'; font-size:14.5px;
}
.contact-form textarea{min-height:120px; resize:vertical;}
.contact-form button{align-self:flex-start;}

@media (max-width: 900px){
  .product-layout{grid-template-columns:1fr;}
  .product-gallery{position:static;}
  .contact-grid{grid-template-columns:1fr;}
}

.nav-links a.active-link{opacity:1; color:var(--clay); font-weight:600;}

.consent-label{
  display:flex; align-items:flex-start; gap:8px; font-size:12.5px; line-height:1.4;
  color:rgba(36,41,31,0.7); font-family:'Public Sans'; width:100%;
}
.consent-label input[type="checkbox"]{margin-top:2px; flex-shrink:0;}
.consent-label a{color:var(--clay); font-weight:600;}
.news .consent-label{max-width:420px;}
/* Блок подписки — на терракотовом фоне: тёмный текст и терракотовая
   ссылка по терракоту нечитаемы, поэтому здесь цвет свой. */
.news .consent-label{color:var(--paper);}
.news .consent-label a{color:var(--paper); text-decoration:underline;}

/* ---------- MOBILE NAV ---------- */
.burger-btn{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:38px; height:38px; border:1px solid var(--line); border-radius:10px;
  background:transparent; cursor:pointer; padding:0;
}
.burger-btn span{width:16px; height:1.5px; background:var(--ink); margin:0 auto; transition:transform .25s ease, opacity .2s ease;}
.burger-btn.open span:nth-child(1){transform:translateY(6.5px) rotate(45deg);}
.burger-btn.open span:nth-child(2){opacity:0;}
.burger-btn.open span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg);}

/* То же и со свёрнутым меню: max-height:0 прячет его визуально,
   но пять ссылок внутри остаются в порядке табуляции. */
.mobile-nav{
  display:none; flex-direction:column; padding:0 32px;
  max-height:0; overflow:hidden; visibility:hidden;
  transition:max-height .3s ease, padding .3s ease, visibility 0s linear .3s;
  border-top:1px solid transparent;
}
.mobile-nav.open{
  max-height:320px; padding:8px 32px 20px; border-top:1px solid var(--line);
  visibility:visible; transition:max-height .3s ease, padding .3s ease, visibility 0s;
}
.mobile-nav a{
  padding:14px 0; font-size:16px; font-weight:600; text-decoration:none; color:var(--ink);
  border-bottom:1px solid var(--line);
}
.mobile-nav a:last-child{border-bottom:none;}
.mobile-nav a.active-link{color:var(--clay);}

@media (max-width: 980px){
  .nav-links{display:none;}
  .burger-btn{display:flex;}
  .mobile-nav{display:flex;}
  .nav{padding:16px 20px;}
}
@media (max-width: 560px){
  .cart-btn{padding:9px 14px; font-size:13px;}
  .logo{font-size:19px;}
  .logo svg{width:22px; height:22px;}
}

/* ---------- DELIVERY PAGES ---------- */
.zone-block{margin-bottom:20px; background:var(--paper); border:1px solid var(--line); border-radius:18px; padding:26px 30px;}
.zone-head{display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; flex-wrap:wrap; gap:10px;}
.zone-head h3{font-family:'Fraunces', serif; font-weight:600; font-size:19px; color:var(--forest);}
.zone-range{font-family:'IBM Plex Mono'; font-size:13px; background:var(--sand-deep); padding:6px 14px; border-radius:100px; color:var(--forest);}
.zone-cities{display:flex; flex-wrap:wrap; gap:8px;}
.city-chip{
  font-size:13.5px; background:var(--sand-deep); padding:6px 13px; border-radius:100px; color:rgba(36,41,31,0.8);
  text-decoration:none; transition:background .2s, color .2s;
}
.city-chip:hover{background:var(--forest); color:var(--paper);}

.city-hero{
  background:var(--forest); color:var(--sand); border-radius:24px; padding:48px 44px; margin-bottom:44px;
  display:grid; grid-template-columns:1fr auto; gap:24px; align-items:center;
}
.city-hero h1{font-family:'Fraunces', serif; font-weight:450; font-size:clamp(28px,3.6vw,38px); margin-bottom:14px;}
.city-hero p{color:rgba(237,230,214,0.8); font-size:15.5px; max-width:520px;}
.city-hero-badge{
  font-family:'IBM Plex Mono'; font-size:14px; background:rgba(237,230,214,0.12); padding:16px 22px; border-radius:16px;
  text-align:center; white-space:nowrap;
}
.city-hero-badge b{display:block; font-size:22px; margin-bottom:4px; color:var(--moss-light);}

.other-cities{padding:60px 0;}
.other-cities-grid{columns:4; column-gap:24px;}
.other-cities-grid a{
  display:block; font-size:14px; padding:7px 0; text-decoration:none; color:rgba(36,41,31,0.7); break-inside:avoid;
}
.other-cities-grid a:hover{color:var(--clay);}

@media (max-width:900px){
  .city-hero{grid-template-columns:1fr;}
  .other-cities-grid{columns:2;}
}
@media (max-width:560px){
  .other-cities-grid{columns:1;}
  .zone-block{padding:20px;}
}

/* ---------- Ссылка «Перейти к содержимому» ----------
   Видна только при фокусе с клавиатуры: человеку с мышью она не мешает,
   а тому, кто ходит табом, позволяет пропустить шапку и меню. */
.skip-link{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--forest); color:#fff;
  padding:12px 20px; border-radius:0 0 8px 0;
  font-size:15px; text-decoration:none;
}
.skip-link:focus{left:0; top:0;}

/* Текст согласия и ссылка были отдельными флекс-элементами и не переносились:
   на узком экране ссылка уходила за край на 121px. Теперь это один элемент,
   который переносится внутри себя. */
.consent-label{flex-wrap:wrap;}
/* без flex-basis: с flex:1 обёртка получала базис 0 и схлопывалась в ноль,
   а ссылка вываливалась наружу. Достаточно разрешить сжатие. */
.consent-label > span{min-width:0; overflow-wrap:anywhere;}

/* ---------- СОГЛАСИЕ НА АНАЛИТИКУ ---------- */
/* Плашка появляется, пока посетитель не выбрал; после выбора больше не
   показывается. Метрика до согласия не запускается — см. consent.js. */
.consent-bar{
  position:fixed; left:0; right:0; bottom:0; z-index:1200;
  background:var(--paper); border-top:2px solid var(--forest);
  box-shadow:0 -8px 30px rgba(36,41,31,0.14);
  padding:18px 24px;
  display:flex; align-items:center; justify-content:center;
  gap:20px; flex-wrap:wrap;
}
.consent-bar p{
  margin:0; max-width:620px; font-size:14px; line-height:1.5;
  color:rgba(36,41,31,0.85);
}
.consent-bar a{color:var(--clay); font-weight:600;}
.consent-bar__btns{display:flex; gap:10px; flex-wrap:wrap;}
.consent-bar button{padding:12px 20px; font-size:14px; white-space:nowrap;}
@media (max-width:640px){
  .consent-bar{padding:16px; gap:14px; justify-content:flex-start;}
  .consent-bar__btns{width:100%;}
  .consent-bar__btns button{flex:1 1 auto;}
}

/* Пояснение над кнопкой заказа: оплаты на сайте нет, заказ — это заявка,
   по которой перезвонят. Человек должен знать это до нажатия. */
.drawer-note{
  font-size:12.5px; line-height:1.45; color:rgba(36,41,31,0.7);
  margin-bottom:12px;
}

/* Форма заказа в корзине: cart.js показывает её на месте списка по кнопке
   «Оформить заказ». Поля — стили .contact-form. */
.drawer-order{flex:1; overflow-y:auto; padding:16px 24px; gap:12px;}
.drawer-order[hidden], .drawer-items[hidden], .checkout-btn[hidden]{display:none;}
.drawer-order-title{font-weight:600; font-size:15px;}
.drawer-order .checkout-btn{align-self:stretch;}
.drawer-back{
  align-self:flex-start; background:none; border:none; padding:4px 0; cursor:pointer;
  color:var(--clay); font-weight:600; font-size:14px; font-family:inherit;
}

/* Строка состояния отправки формы. Контраст (WCAG AA, по формуле):
   ошибка #9B2C1F — не ниже 5.39:1, успех --forest — не ниже 8.82:1
   на --paper, --sand и --sand-deep. */
.form-status{font-size:13.5px; line-height:1.45; margin:0;}
.form-status:empty{display:none;}
.form-status.is-error{color:#9B2C1F; font-weight:600;}
.form-status.is-ok{color:var(--forest); font-weight:600;}
.drawer-items > .form-status{margin-bottom:12px;}
/* Живая область заказа в подвале корзины (cart.js). Пустая — без отступа, но
   НЕ display:none: иначе её нет в дереве доступности и диктор не озвучит
   первое сообщение. */
.drawer-status{margin:0 0 12px;}
.drawer-status:empty{display:block; margin:0;}
.drawer-status:focus{outline:2px solid var(--forest); outline-offset:2px;}
/* Кнопка во время отправки: не disabled (фокус остаётся на ней), а aria-disabled. */
[aria-disabled="true"]{opacity:.6; cursor:progress;}

/* Ссылки на статьи блога с карточки товара: раньше карточки и блог
   существовали параллельно и нигде не пересекались. */
.readnext{display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:14px;}
.readnext a{
  display:block; padding:15px 18px; background:var(--paper);
  border:1px solid var(--line); border-radius:14px;
  text-decoration:none; font-size:14.5px; line-height:1.4;
  transition:border-color 0.2s;
}
.readnext a:hover{border-color:var(--forest);}

/* Подпись поля, которую видно только экранному диктору: у полей был
   один placeholder, а он исчезает при вводе и подписью не считается. */
.sr-only{
  position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

/* Кнопки мессенджеров — всегда на экране, справа внизу (владелец, 30.09.2026).
   Ниже баннера cookie и шторок: они перекрывают кнопки, пока открыты. */
.float-chat{position:fixed;right:16px;bottom:16px;z-index:1100;display:flex;flex-direction:column;gap:10px;}
.float-chat a{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;
  color:#fff;text-decoration:none;box-shadow:0 4px 14px rgba(0,0,0,.2);
  font:700 13px/1 system-ui,-apple-system,"Segoe UI",sans-serif;letter-spacing:.02em;}
.float-chat a:hover{filter:brightness(1.08);}
.float-chat a:focus-visible{outline:3px solid var(--clay);outline-offset:3px;}
.float-chat .fc-tg{background:#2481CC;}
.float-chat .fc-max{background:var(--forest);}
.float-chat svg{width:26px;height:26px;fill:currentColor;}
@media (max-width:600px){.float-chat{right:12px;bottom:12px;}.float-chat a{width:48px;height:48px;}}
/* Внизу страницы нижняя кнопка стоит над строкой «© … / Сделано с любовью…»:
   пока текст доходит до правого края окна, освобождаем под кнопки полосу справа. */
@media (max-width:1280px){.foot-bottom{padding-right:60px;}}
@media print{.float-chat{display:none;}.foot-bottom{padding-right:0;}}
