/* ===== Buket — flower delivery. Original styling, green palette ===== */
:root{
  --green:#3c821a;          /* primary brand green (same family as reference) */
  --green-dark:#2f6614;
  --green-light:#66b245;
  --green-pale:#eaf1e1;
  --green-bg:#f5f7f1;
  --gold:#ffb700;
  --red:#f44336;
  --ink:#26331d;
  --text:#333;
  --muted:#85888e;
  --line:#e6e6e6;
  --white:#fff;
  --radius:14px;
  --shadow:0 6px 24px rgba(40,70,20,.10);
  --shadow-hover:0 14px 40px rgba(40,70,20,.18);
  --maxw:1240px;
  --font-display:"Montserrat","Segoe UI",Arial,sans-serif;
  --font-body:"Montserrat","Segoe UI",Arial,sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--font-body);
  color:var(--text);
  background:var(--white);
  line-height:1.55;
  font-size:17px;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button{font-family:inherit;cursor:pointer;border:none;background:none}
.container{max-width:var(--maxw);margin:0 auto;padding:0 20px}
h1,h2,h3{font-family:var(--font-display);font-weight:800;color:var(--ink);line-height:1.15;letter-spacing:-.01em}
.section{padding:54px 0}
.section__head{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:26px;gap:16px;flex-wrap:wrap}
.section__title{font-size:clamp(26px,4.5vw,40px);letter-spacing:.5px}
.section__link{color:var(--green);font-weight:500;font-size:15px;border-bottom:1px solid transparent;transition:.2s}
.section__link:hover{border-color:var(--green)}

/* ---------- Top bar ---------- */
.topbar{background:var(--ink);color:#dfe9d4;font-size:13px}
.topbar__row{display:flex;align-items:center;justify-content:space-between;height:38px;gap:14px}
.topbar__left{display:flex;gap:18px;align-items:center}
.topbar__left a:hover{color:#fff}
.switchers{display:flex;align-items:center;gap:8px}
.switchers__group{display:flex;border:1px solid rgba(255,255,255,.22);border-radius:20px;overflow:hidden}
.switchers__btn{color:#cdd9c2;padding:3px 9px;font-size:12px;transition:.15s}
.switchers__btn.is-active{background:var(--green);color:#fff}
.switchers__btn:hover{color:#fff}

/* ---------- Header ---------- */
.header{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid var(--line)}
.header__row{display:flex;align-items:center;gap:26px;min-height:78px;flex-wrap:wrap}
.logo{display:flex;align-items:center;gap:10px;font-family:var(--font-display);font-size:30px;font-weight:700;color:var(--green);letter-spacing:.5px}
.logo svg{width:34px;height:34px}
.logo span{color:var(--ink)}
.logo--img{padding:0}
.logo--img img{height:44px;width:auto;display:block}
.footer .logo--img img{height:46px}
.search{flex:1;display:flex;max-width:520px}
.search input{flex:1;border:1.5px solid var(--line);border-right:none;border-radius:30px 0 0 30px;padding:11px 18px;font-size:14px;outline:none;transition:.2s}
.search input:focus{border-color:var(--green-light)}
.search button{background:var(--green);color:#fff;border-radius:0 30px 30px 0;padding:0 22px;font-weight:500;display:flex;align-items:center;justify-content:center}
.search button:hover{background:var(--green-dark)}
.search button svg{width:22px;height:22px;flex:none;stroke:#fff;fill:none}
.header__actions{display:flex;align-items:center;gap:22px;margin-left:auto}
.header__phone{font-weight:600;color:var(--ink);font-size:16px;white-space:nowrap}
.header__phone small{display:block;font-weight:400;font-size:11px;color:var(--muted)}
.cart-btn{position:relative;display:flex;align-items:center;gap:8px;color:var(--ink);font-weight:500}
.cart-btn svg{width:26px;height:26px;stroke:var(--green)}
.cart-count{position:absolute;top:-8px;left:14px;background:var(--gold);color:#3a2a00;font-size:11px;font-weight:700;min-width:18px;height:18px;border-radius:10px;display:flex;align-items:center;justify-content:center;padding:0 4px}

/* ---------- Main nav (multilevel) ---------- */
.mainnav{background:var(--green);position:sticky;top:78px;z-index:40}
.mainnav__list{display:flex;flex-wrap:wrap;list-style:none}
.mainnav__item{position:relative}
.mainnav__item>a{display:block;color:#fff;padding:16px 21px;font-size:16px;font-weight:600;transition:.15s}
.mainnav__item:hover>a{background:var(--green-dark)}
.submenu{position:absolute;top:100%;left:0;background:#fff;min-width:280px;box-shadow:var(--shadow);border-radius:0 0 10px 10px;padding:8px 0;opacity:0;visibility:hidden;transform:translateY(8px);transition:.18s;z-index:60}
.mainnav__item:hover .submenu{opacity:1;visibility:visible;transform:translateY(0)}
.submenu a{display:flex;align-items:center;gap:12px;padding:9px 18px;color:var(--text);font-size:15px;font-weight:500;transition:.12s;white-space:nowrap}
.submenu a:hover{background:var(--green-pale);color:var(--green-dark)}
.submenu__thumb{flex:0 0 44px;width:44px;height:44px;border-radius:8px;overflow:hidden;background:#fff;border:1px solid var(--line)}
.submenu__thumb img{width:100%;height:100%;object-fit:cover;display:block}
.burger{display:none}

/* ---------- Hero ---------- */
/* ---------- Hero banner slider ---------- */
.hero{position:relative;width:100%;min-height:clamp(360px,40vw,540px);overflow:hidden;background:#eaf2df}
.hero__slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .7s ease;display:flex;align-items:center;background-size:cover;background-position:right center;background-repeat:no-repeat;background-color:#27530f}
.hero__slide.is-active{opacity:1;visibility:visible}
.hero__slide::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(18,38,10,.92) 0%,rgba(18,38,10,.78) 38%,rgba(18,38,10,.25) 62%,rgba(18,38,10,0) 82%)}
.hero__content{position:relative;z-index:2;color:#fff;text-align:left;width:100%;padding-top:30px;padding-bottom:30px}
.hero__eyebrow{display:inline-flex;align-items:center;gap:9px;color:#fff;font-weight:600;letter-spacing:2px;text-transform:uppercase;font-size:13px;margin-bottom:16px}
.hero__eyebrow::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--gold);flex:none}
.hero__content h1{color:#fff;font-size:clamp(32px,5vw,58px);margin-bottom:16px;text-shadow:0 2px 16px rgba(0,0,0,.25);max-width:600px}
.hero__content p{font-size:clamp(16px,1.6vw,19px);color:rgba(255,255,255,.92);max-width:470px;margin-bottom:26px;line-height:1.55}
.hero__btns{display:flex;gap:14px;flex-wrap:wrap}
.hero__dots{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);display:flex;gap:10px;z-index:5}
.hero__dot{width:11px;height:11px;border-radius:50%;background:rgba(255,255,255,.5);cursor:pointer;transition:.2s;border:none}
.hero__dot.is-active{background:var(--gold);width:30px;border-radius:6px}
.hero__arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;width:46px;height:46px;border-radius:50%;background:rgba(255,255,255,.18);backdrop-filter:blur(2px);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.2s;color:#fff;font-size:22px}
.hero__arrow:hover{background:rgba(255,255,255,.32)}
.hero__arrow.prev{left:18px}
.hero__arrow.next{right:18px}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:30px;font-weight:600;font-size:16px;padding:15px 34px;transition:.2s;cursor:pointer}
.btn svg{width:20px;height:20px;flex:none;stroke:currentColor;fill:none}
.btn-green{background:var(--green);color:#fff}
.btn-green:hover{background:var(--green-dark);transform:translateY(-2px);box-shadow:var(--shadow)}
.btn-outline{border:1.5px solid var(--green);color:var(--green);background:#fff}
.btn-outline:hover{background:var(--green);color:#fff}
.btn-gold{background:var(--gold);color:#3a2a00}
.btn-gold:hover{filter:brightness(1.05);transform:translateY(-2px)}
.btn-block{width:100%}

/* ---------- Category tiles ---------- */
.cats-slider{position:relative}
.cats{display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding:6px 2px;scrollbar-width:none;-ms-overflow-style:none}
.cats::-webkit-scrollbar{display:none}
.cat-tile{flex:0 0 210px;scroll-snap-align:start;background:var(--green-bg);border-radius:var(--radius);padding:14px 14px 18px;text-align:center;transition:.2s;border:1px solid transparent}
.cat-tile:hover{background:#fff;border-color:var(--green-light);box-shadow:var(--shadow-hover);transform:translateY(-4px)}
.cat-tile__img{width:100%;aspect-ratio:1/1;border-radius:10px;overflow:hidden;background:#fff;margin-bottom:14px}
.cat-tile__img img{width:100%;height:100%;object-fit:cover;display:block}
.cat-tile__img svg{width:40%;height:100%;margin:0 auto;display:block}
.cat-tile__name{font-weight:600;font-size:16px;color:var(--ink)}
.cats-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:44px;height:44px;border-radius:50%;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:24px;color:var(--green);transition:.2s}
.cats-arrow:hover{background:var(--green);color:#fff;border-color:var(--green)}
.cats-arrow.prev{left:-16px}
.cats-arrow.next{right:-16px}

/* ---------- Product grid ---------- */
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:.22s;position:relative}
.card:hover{box-shadow:var(--shadow-hover);transform:translateY(-5px);border-color:#dfe7d4}
.card__media{position:relative;aspect-ratio:1/1.05;background:#fff;overflow:hidden}
.card__media img,.product__media img,.cart-row__img img{width:100%;height:100%;object-fit:contain;display:block}
.card__media img{transition:.4s}
.card:hover .card__media img{transform:scale(1.05)}
.ph{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;background:linear-gradient(135deg,#eef3e6 0%,#e1ecd2 100%);color:#9bb487}
.ph svg{width:32%;max-width:74px;height:auto;stroke:#a9c096;fill:none;stroke-width:1.4}
.ph span{font-size:12px;letter-spacing:.5px;text-transform:uppercase;font-weight:600}
.card__labels{position:absolute;top:12px;left:12px;display:flex;flex-direction:column;gap:6px;z-index:2}
.prdLabel{display:inline-flex;align-items:center;justify-content:center;line-height:1;font-size:11px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:#fff;padding:5px 10px;border-radius:20px}
.prdLabel.new{background:var(--green-light)}
.prdLabel.hit{background:var(--gold);color:#3a2a00}
.prdLabel.sale{background:var(--red)}
.card__fav{position:absolute;top:12px;right:12px;width:34px;height:34px;border-radius:50%;background:rgba(255,255,255,.9);display:flex;align-items:center;justify-content:center;z-index:2;transition:.2s}
.card__fav:hover{background:#fff;transform:scale(1.1)}
.card__fav svg{width:18px;height:18px;stroke:var(--green)}
.card__body{padding:16px;display:flex;flex-direction:column;flex:1}
.card__title{font-family:var(--font-body);font-size:16.5px;font-weight:600;color:var(--ink);margin-bottom:10px;min-height:44px;line-height:1.3}
.card__title:hover{color:var(--green)}
.card__price{display:flex;align-items:baseline;gap:10px;margin-top:auto;margin-bottom:12px}
.price{font-size:25px;font-weight:800;color:var(--ink)}
.price.old{font-size:16px;font-weight:500;color:var(--muted);text-decoration:line-through}
.card .btn{padding:13px 18px;font-size:15px}

/* ---------- Trust strip ---------- */
.trust{background:var(--green-pale)}
.trust__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding:34px 0}
.trust__item{display:flex;gap:14px;align-items:flex-start}
.trust__item svg{width:38px;height:38px;flex:none;stroke:var(--green)}
.trust__item b{display:block;color:var(--ink);font-size:15px;margin-bottom:3px}
.trust__item span{font-size:13px;color:var(--muted)}

/* ---------- Catalog page ---------- */
.catalog{display:grid;grid-template-columns:240px 1fr;gap:30px;align-items:start}
.filters{background:var(--green-bg);border-radius:var(--radius);padding:22px;position:sticky;top:140px}
.filters h3{font-size:20px;margin-bottom:14px}
.filters__group{margin-bottom:20px}
.filters__group p{font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.5px;color:var(--muted);margin-bottom:10px}
.filter-link{display:flex;justify-content:space-between;padding:7px 0;font-size:14.5px;color:var(--text);cursor:pointer;border:none;background:none;width:100%;text-align:left;transition:.12s}
.filter-link:hover{color:var(--green);padding-left:4px}
.filter-link.is-active{color:var(--green);font-weight:600}
.filter-link small{color:var(--muted)}
.catalog__bar{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px;gap:12px;flex-wrap:wrap}
.catalog__count{color:var(--muted);font-size:14px}
.sortsel{border:1.5px solid var(--line);border-radius:24px;padding:9px 16px;font-family:inherit;font-size:14px;color:var(--text);outline:none;cursor:pointer}
.catalog .grid{grid-template-columns:repeat(3,1fr)}

/* ---------- Product page ---------- */
.product{display:grid;grid-template-columns:1fr 1fr;gap:44px;align-items:start}
.product__media{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;aspect-ratio:1/1}
.product h1{font-size:clamp(28px,4.5vw,40px);margin-bottom:14px}
.product__labels{display:flex;gap:8px;margin-bottom:16px}
.product__price{display:flex;align-items:baseline;gap:14px;margin:18px 0}
.product__price .price{font-size:34px}
.product__desc{color:#4a5742;font-size:16px;margin-bottom:22px;line-height:1.7}
.product__opts{display:flex;gap:10px;margin-bottom:24px;flex-wrap:wrap}
.opt{border:1.5px solid var(--line);border-radius:24px;padding:9px 18px;font-size:14px;cursor:pointer;transition:.15s}
.opt.is-active,.opt:hover{border-color:var(--green);color:var(--green)}
.product__buy{display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.qty{display:flex;align-items:center;border:1.5px solid var(--line);border-radius:24px;overflow:hidden}
.qty button{padding:10px 16px;font-size:18px;color:var(--green)}
.qty span{padding:0 10px;min-width:30px;text-align:center;font-weight:600}
.product__meta{margin-top:26px;border-top:1px solid var(--line);padding-top:20px;display:grid;gap:10px}
.product__meta div{display:flex;gap:10px;font-size:14px;color:var(--muted)}
.product__meta b{color:var(--ink);font-weight:500;min-width:130px}

/* ---------- Cart ---------- */
.cart-wrap{display:grid;grid-template-columns:1fr 360px;gap:30px;align-items:start}
.cart-list{display:flex;flex-direction:column;gap:14px}
.cart-row{display:grid;grid-template-columns:96px 1fr auto;gap:16px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:14px}
.cart-row__img{width:96px;height:96px;border-radius:10px;overflow:hidden;background:var(--green-bg)}
.cart-row__title{font-weight:500;color:var(--ink);margin-bottom:6px}
.cart-row__price{color:var(--green);font-weight:600}
.cart-row__right{display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.cart-row__rm{color:var(--muted);font-size:13px}
.cart-row__rm:hover{color:var(--red)}
.summary{background:var(--green-bg);border-radius:var(--radius);padding:26px;position:sticky;top:140px}
.summary h3{font-size:24px;margin-bottom:18px}
.summary__line{display:flex;justify-content:space-between;padding:9px 0;font-size:15px;color:var(--text)}
.summary__total{display:flex;justify-content:space-between;padding:16px 0 20px;font-size:22px;font-weight:700;color:var(--ink);border-top:1px solid var(--line);margin-top:8px}
.empty{text-align:center;padding:70px 20px;color:var(--muted)}
.empty svg{width:80px;height:80px;stroke:var(--green-light);margin:0 auto 18px}

/* ---------- Generic page (about/delivery/contacts) ---------- */
.page{padding:48px 0}
.page h1{font-size:clamp(30px,5.5vw,46px);margin-bottom:22px}
.page h2{font-size:28px;margin:34px 0 14px}
.page p{margin-bottom:14px;font-size:16px;color:#444}
.page ul{margin:0 0 16px 20px}
.page li{margin-bottom:8px}
.breadcrumbs{font-size:13px;color:var(--muted);padding:16px 0}
.breadcrumbs a:hover{color:var(--green)}
.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:24px 0}
.info-card{background:var(--green-bg);border-radius:var(--radius);padding:24px}
.info-card svg{width:40px;height:40px;stroke:var(--green);margin-bottom:12px}
.info-card b{display:block;font-size:17px;color:var(--ink);margin-bottom:8px}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px}
.field label{display:block;font-size:13px;color:var(--muted);margin-bottom:6px}
.field input,.field textarea{width:100%;border:1.5px solid var(--line);border-radius:10px;padding:12px 14px;font-family:inherit;font-size:15px;outline:none;transition:.2s}
.field input:focus,.field textarea:focus{border-color:var(--green-light)}

/* ---------- Footer ---------- */
.footer{background:var(--green-bg);color:var(--muted);padding:50px 0 0;margin-top:40px;border-top:1px solid var(--line)}
.footer__cols{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:30px;padding-bottom:36px}
.footer__title{color:var(--ink);font-family:var(--font-display);font-size:20px;margin-bottom:16px}
.footer__nav-menu{list-style:none}
.footer__nav-menu li{margin-bottom:10px}
.footer__nav-menu a{font-size:14px;color:var(--muted);transition:.12s}
.footer__nav-menu a:hover{color:var(--green);padding-left:4px}
.footer .logo{color:var(--ink);margin-bottom:14px}
.footer .logo span{color:var(--green)}
.footer__about{font-size:14px;line-height:1.7;max-width:300px;color:var(--muted)}
.contact__social{display:flex;gap:12px;margin-top:18px}
.contact__social a{width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;transition:.2s}
.contact__social a:hover{background:var(--green)}
.contact__social svg{width:18px;height:18px;stroke:#fff;fill:none}
.footer__bottom{border-top:1px solid var(--line);padding:20px 0;display:flex;justify-content:space-between;font-size:13px;flex-wrap:wrap;gap:10px}

/* ---------- Toast ---------- */
.toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%) translateY(150%);background:#fff;color:var(--ink);padding:13px 22px 13px 14px;border-radius:16px;box-shadow:0 14px 44px rgba(20,40,12,.24);font-size:15px;font-weight:600;z-index:300;display:flex;align-items:center;gap:12px;opacity:0;border:1px solid #eef0ec;max-width:92vw;transition:transform .42s cubic-bezier(.2,.85,.25,1),opacity .3s ease}
.toast.show{transform:translateX(-50%) translateY(0);opacity:1}
.toast__ic{width:32px;height:32px;border-radius:50%;background:var(--green);display:flex;align-items:center;justify-content:center;flex:none;animation:toast-pop .4s .05s both}
.toast__ic svg{width:17px;height:17px;stroke:#fff;stroke-width:3;fill:none;stroke-linecap:round;stroke-linejoin:round}
.toast__msg{line-height:1.3}
@keyframes toast-pop{0%{transform:scale(0)}60%{transform:scale(1.18)}100%{transform:scale(1)}}

/* ---------- Responsive ---------- */
@media(max-width:1100px){
  .grid{grid-template-columns:repeat(3,1fr)}
  .catalog{grid-template-columns:200px 1fr}
  .footer__cols{grid-template-columns:1.3fr 1fr 1fr}
}
@media(max-width:900px){
  .header__actions{gap:14px}
  .header__phone{font-size:14px}
  .hero{min-height:clamp(320px,72vw,440px)}
  .hero__slide{background-size:cover;background-position:right center}
  .hero__slide::before{background:linear-gradient(180deg,rgba(18,38,10,.55) 0%,rgba(18,38,10,.55) 40%,rgba(18,38,10,.85) 100%)}
  .hero__content{padding:24px 0;max-width:none;text-align:left}
  .hero__btns .btn{flex:1;min-width:140px}
  .hero__arrow{display:none}
  .product{grid-template-columns:1fr;gap:26px}
  .catalog{grid-template-columns:1fr}
  .filters{position:static}
  /* filters become a horizontal scroll bar */
  .filters h3{display:none}
  .filters{padding:12px;display:flex;gap:10px;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .filters__group{margin:0;display:flex;gap:8px}
  .filters__group p{display:none}
  .filter-link{white-space:nowrap;border:1.5px solid var(--line);background:#fff;border-radius:22px;padding:8px 14px}
  .filter-link.is-active{border-color:var(--green)}
  .filter-link small{display:none}
  .footer__cols{grid-template-columns:1fr 1fr}
}
@media(max-width:780px){
  /* sticky header off to avoid offset glitches on small screens */
  .header{position:static}
  .mainnav{position:static}
  .header__row{min-height:64px;gap:14px;padding-top:10px;padding-bottom:10px}
  .header__phone small{display:none}
  /* search drops to its own full-width row */
  .search{order:5;flex-basis:100%;max-width:none;margin-top:4px}
  .header__actions{margin-left:auto}
  .mainnav__list{display:none}
  .burger{display:flex;color:#fff;padding:13px 18px;font-weight:600;align-items:center;gap:8px;width:100%}
  .grid,.catalog .grid{grid-template-columns:repeat(2,1fr)}
  .cart-wrap{grid-template-columns:1fr}
  .summary{position:static}
  .trust__grid,.info-grid,.form-row{grid-template-columns:1fr}
  .product__buy{width:100%}
  .product__buy .btn{flex:1}
}
@media(max-width:560px){
  .topbar__left{display:none}
  .topbar__row{justify-content:center}
  .switchers{flex-wrap:wrap;justify-content:center;gap:6px}
  .switchers__btn{padding:3px 7px;font-size:11px}
  .header__phone{display:none}
  .cat-tile{flex-basis:160px;padding:24px 12px}
  .grid,.catalog .grid{gap:14px}
  .section{padding:38px 0}
  /* cart row stacks cleanly */
  .cart-row{grid-template-columns:72px 1fr;gap:12px}
  .cart-row__img{width:72px;height:72px}
  .cart-row__right{grid-column:1 / -1;flex-direction:row;justify-content:space-between;align-items:center}
  .footer__cols{grid-template-columns:1fr;gap:24px}
  .footer__about{max-width:none}
}
@media(max-width:400px){
  .grid,.catalog .grid{grid-template-columns:repeat(2,1fr);gap:10px}
  .card__body{padding:11px}
  .card__title{font-size:13.5px;min-height:36px;margin-bottom:6px}
  .price{font-size:18px}
  .price.old{font-size:13px}
  .card .btn{padding:10px 8px;font-size:13px}
  .card__fav{width:30px;height:30px}
  .cat-tile{flex-basis:150px}
  .cats-arrow{display:none}
  .container{padding:0 14px}
  .logo{font-size:26px}
  .product__opts{width:100%}
}

/* ---------- Page loader (white bg, thick rounded spinner) ---------- */
#loader{position:fixed;inset:0;background:#fff;display:flex;align-items:center;justify-content:center;z-index:9999;transition:opacity .45s ease}
#loader.hide{opacity:0;pointer-events:none}
#loader .spin{width:58px;height:58px;animation:ldr-rot .8s linear infinite}
#loader .spin circle{stroke:#111;stroke-linecap:round}
@keyframes ldr-rot{to{transform:rotate(360deg)}}
@media (hover:none){.cats-arrow{display:none}}

/* ---------- Force 2-per-row product grid on phones (highest priority) ---------- */
@media(max-width:768px){
  .grid,.catalog .grid{grid-template-columns:1fr 1fr !important}
}

/* ---------- Mobile drawer menu ---------- */
.mdrawer{position:fixed;inset:0;z-index:1000;visibility:hidden}
.mdrawer__overlay{position:absolute;inset:0;background:rgba(18,38,10,.45);opacity:0;transition:opacity .35s ease}
.mdrawer__panel{position:absolute;top:0;right:0;height:100%;width:min(86vw,360px);background:#fff;box-shadow:-10px 0 50px rgba(0,0,0,.22);transform:translateX(105%);transition:transform .4s cubic-bezier(.2,.8,.2,1);display:flex;flex-direction:column;overflow-y:auto;-webkit-overflow-scrolling:touch}
.mdrawer.open{visibility:visible}
.mdrawer.open .mdrawer__overlay{opacity:1}
.mdrawer.open .mdrawer__panel{transform:translateX(0)}
.mdrawer__head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#fff;z-index:2}
.mdrawer__title{font-family:var(--font-display);font-weight:800;font-size:22px;color:var(--green)}
.mdrawer__close{width:42px;height:42px;border-radius:50%;background:var(--green-bg);display:flex;align-items:center;justify-content:center;font-size:17px;color:var(--ink);transition:.25s}
.mdrawer__close:hover{background:var(--green);color:#fff;transform:rotate(90deg)}
.mmenu{padding:4px 0 34px}
.mmenu__link,.mmenu__row{display:flex;align-items:center;justify-content:space-between;width:100%;padding:16px 20px;font-size:16px;font-weight:600;color:var(--ink);border-bottom:1px solid var(--line);background:none;text-align:left;cursor:pointer;font-family:inherit}
.mmenu__link:hover,.mmenu__row:hover{color:var(--green)}
.mmenu__chev{width:20px;height:20px;stroke:var(--green);stroke-width:2.2;flex:none;transition:transform .3s ease}
.mmenu__item.open .mmenu__chev{transform:rotate(180deg)}
.mmenu__item.open .mmenu__row{color:var(--green)}
.mmenu__sub{max-height:0;overflow:hidden;background:var(--green-bg);transition:max-height .35s ease}
.mmenu__item.open .mmenu__sub{max-height:360px}
.mmenu__sub a{display:block;padding:13px 20px 13px 34px;font-size:15px;color:#41513a;border-bottom:1px solid #e2ebd6}
.mmenu__sub a:first-child{font-weight:600;color:var(--green-dark)}
.mmenu__sub a:hover{color:var(--green);background:#e7f0db;padding-left:40px}
/* staggered entrance of menu items */
.mdrawer .mmenu>*{opacity:0;transform:translateX(24px)}
.mdrawer.open .mmenu>*{animation:mmenu-in .45s ease forwards}
.mdrawer.open .mmenu>*:nth-child(1){animation-delay:.06s}
.mdrawer.open .mmenu>*:nth-child(2){animation-delay:.10s}
.mdrawer.open .mmenu>*:nth-child(3){animation-delay:.14s}
.mdrawer.open .mmenu>*:nth-child(4){animation-delay:.18s}
.mdrawer.open .mmenu>*:nth-child(5){animation-delay:.22s}
.mdrawer.open .mmenu>*:nth-child(6){animation-delay:.26s}
.mdrawer.open .mmenu>*:nth-child(7){animation-delay:.30s}
.mdrawer.open .mmenu>*:nth-child(8){animation-delay:.34s}
@keyframes mmenu-in{to{opacity:1;transform:none}}
@media(min-width:781px){ .mdrawer{display:none} }

/* ---------- Scroll reveal ---------- */
.reveal{opacity:0;transform:translateY(20px);transition:opacity .6s cubic-bezier(.2,.7,.3,1),transform .6s cubic-bezier(.2,.7,.3,1);will-change:opacity,transform}
.reveal.in{opacity:1;transform:none}
@media (prefers-reduced-motion: reduce){.reveal{opacity:1;transform:none;transition:none}}

/* ---------- Mobile polish ---------- */
@media(max-width:780px){
  /* nicer cards */
  .card{border-radius:16px}
  .card:active{transform:scale(.98)}
  .cat-tile:active{transform:scale(.97)}
  /* trust strip -> tidy cards */
  .trust{background:transparent;padding:0}
  .trust__grid{grid-template-columns:1fr;gap:12px;padding:8px 0 4px}
  .trust__item{background:var(--green-bg);border-radius:14px;padding:16px 16px;align-items:center;gap:14px}
  .trust__item svg{width:30px;height:30px}
  /* category tiles a touch taller with soft icon badge */
  .cat-tile{padding:26px 14px}
  /* section heads breathe */
  .section{padding:34px 0}
  .section__head{margin-bottom:18px}
  .section__link{font-size:14px}
  /* banner text sizing on phones */
  .hero__content h1{font-size:clamp(26px,7.5vw,40px)}
  .hero__eyebrow{font-size:11px;letter-spacing:1.5px}
  .hero__content p{font-size:15px}
}
@media(max-width:560px){
  .cats{gap:12px;padding-left:2px}
  .cat-tile{flex-basis:150px}
  /* fade hint that category row scrolls */
  .cats-slider::after{content:"";position:absolute;top:0;right:0;width:36px;height:100%;background:linear-gradient(90deg,transparent,#fff);pointer-events:none}
  .footer__bottom{flex-direction:column;text-align:center;gap:6px}
}
/* ============================================================
   Mobile redesign — premium polish (overrides scattered rules)
   ============================================================ */
@media(max-width:780px){
  /* --- Header: clean, generous, soft --- */
  .header{box-shadow:0 1px 0 var(--line)}
  .header__row{min-height:58px;gap:12px;padding:12px 0 12px;align-items:center}
  .logo--img img{height:40px}
  .cart-btn{gap:7px;font-weight:600}
  .cart-btn span:last-child{font-size:14px}
  /* search: soft pill, comfy tap target */
  .search{order:5;flex-basis:100%;max-width:none;margin-top:6px}
  .search input{border:1.5px solid transparent;background:var(--green-bg);border-radius:30px 0 0 30px;padding:13px 18px;font-size:15px}
  .search input:focus{background:#fff;border-color:var(--green-light)}
  .search button{border-radius:0 30px 30px 0;padding:0 22px}
  /* catalog bar stays pinned while scrolling — app-like */
  .mainnav{position:sticky;top:0;z-index:45;box-shadow:0 6px 18px rgba(20,40,12,.12)}
  .burger{justify-content:center;padding:15px 18px;font-size:15px;letter-spacing:.4px}

  /* --- Rhythm --- */
  .container{padding:0 16px}
  .section{padding:30px 0}
  .section:first-of-type{padding-top:22px}
  .section__head{margin-bottom:16px;align-items:baseline}
  .section__title{font-size:24px;letter-spacing:.2px}
  .section__link{font-size:14px;white-space:nowrap}

  /* --- Hero --- */
  .hero{min-height:auto;aspect-ratio:1/1;max-height:78vh}
  .hero__content{padding:24px 0}
  .hero__content h1{font-size:clamp(26px,8vw,40px);line-height:1.08}
  .hero__content p{font-size:15px;margin-bottom:0}
  .hero__eyebrow{font-size:11px;letter-spacing:1.5px;margin-bottom:12px}

  /* --- Category tiles -> premium mini-cards --- */
  .cats{gap:14px;padding:4px 2px 8px}
  .cat-tile{flex-basis:152px;padding:10px;border-radius:18px;background:#fff;border:1px solid var(--line);box-shadow:0 6px 18px rgba(20,40,12,.06)}
  .cat-tile__img{margin-bottom:10px;border-radius:13px}
  .cat-tile__name{font-size:14.5px;font-weight:700}
  .cat-tile:active{transform:scale(.97)}

  /* --- Product cards --- */
  .grid,.catalog .grid{grid-template-columns:1fr 1fr;gap:14px}
  .card{border-radius:18px;box-shadow:0 6px 18px rgba(20,40,12,.06);border-color:#eef1ea}
  .card:active{transform:scale(.985)}
  .card__media{aspect-ratio:1/1}
  .card__body{padding:13px 13px 14px}
  .card__title{font-size:14px;line-height:1.3;min-height:36px;margin-bottom:8px}
  .card__price{margin-bottom:10px;gap:8px}
  .price{font-size:19px;font-weight:800}
  .price.old{font-size:13px}
  .card .btn,.card .btn-green{padding:12px 10px;font-size:14px;border-radius:13px}
  .card__labels{top:9px;left:9px;gap:5px}
  .prdLabel{font-size:10px;padding:4px 9px}

  /* --- Trust strip --- */
  .trust__item{box-shadow:0 4px 14px rgba(20,40,12,.05)}

  /* --- Buttons feel tappable --- */
  .btn{padding:14px 26px}
}

@media(max-width:430px){
  .grid,.catalog .grid{gap:12px}
  .cat-tile{flex-basis:150px}
  .card__body{padding:12px}
  .card__title{font-size:13.5px}
  .price{font-size:18px}
  .card .btn,.card .btn-green{padding:11px 8px;font-size:13.5px}
  .section__title{font-size:22px}
}

/* ============================================================
   Header hamburger + mobile menu photos + hero redesign
   ============================================================ */
/* 3-line toggle (hidden on desktop, shown on phones) */
.navtoggle{display:none;width:44px;height:44px;align-items:center;justify-content:center;border-radius:12px;background:var(--green-bg);color:var(--green);cursor:pointer;flex:none;padding:0;border:none}
.navtoggle svg{width:24px;height:24px;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}
.navtoggle:active{transform:scale(.94)}

@media(max-width:780px){
  /* hamburger in the top-right corner; green "Каталог" bar removed */
  .navtoggle{display:flex}
  .mainnav{display:none}
  .header__actions{gap:14px}

  /* drawer sub-items get product photos (like desktop menu) */
  .mmenu__sub a{display:flex;align-items:center;gap:12px;padding:10px 18px}
  .mmenu__sub a:hover{padding-left:18px}
  .mmenu__sub .submenu__thumb{flex:0 0 40px;width:40px;height:40px;border-radius:9px}

  /* HERO: clean brand gradient + centered text + clear CTA */
  .hero{min-height:440px;max-height:none;aspect-ratio:auto;background:#16330f}
  .hero__slide{background-image:linear-gradient(150deg,#16330f 0%,#27530f 48%,#3c821a 100%)!important;background-color:#16330f}
  .hero__slide::before{background:radial-gradient(130% 90% at 85% 8%,rgba(102,178,69,.30),transparent 58%)}
  .hero__content{padding:34px 0 38px;text-align:center;display:flex;flex-direction:column;align-items:center}
  .hero__eyebrow{margin-bottom:14px}
  .hero__content h1{max-width:none;text-shadow:none;font-size:clamp(26px,7.5vw,38px)}
  .hero__content p{max-width:330px;margin-bottom:22px}
  .hero__btns{justify-content:center;width:100%}
  .hero__btns .btn{min-width:230px}
}

/* ============================================================
   Bottom app-style navigation (replaces top header on mobile)
   ============================================================ */
.botnav{display:none}
.searchsheet{position:fixed;inset:0;z-index:300;visibility:hidden}
.searchsheet__overlay{position:absolute;inset:0;background:rgba(18,38,10,.42);opacity:0;transition:opacity .3s ease}
.searchsheet__bar{position:absolute;top:0;left:0;right:0;background:#fff;padding:14px;display:flex;gap:10px;align-items:center;box-shadow:0 8px 26px rgba(20,40,12,.18);transform:translateY(-100%);transition:transform .32s cubic-bezier(.2,.8,.2,1)}
.searchsheet.open{visibility:visible}
.searchsheet.open .searchsheet__overlay{opacity:1}
.searchsheet.open .searchsheet__bar{transform:translateY(0)}
.searchsheet__form{flex:1;display:flex}
.searchsheet__form input{flex:1;border:1.5px solid var(--green-bg);background:var(--green-bg);border-right:none;border-radius:30px 0 0 30px;padding:13px 18px;font-size:15px;outline:none}
.searchsheet__form input:focus{background:#fff;border-color:var(--green-light)}
.searchsheet__form button{background:var(--green);color:#fff;border-radius:0 30px 30px 0;padding:0 20px;display:flex;align-items:center;justify-content:center;border:none}
.searchsheet__form button svg{width:22px;height:22px;stroke:#fff;fill:none}
.searchsheet__close{width:44px;height:44px;border-radius:50%;background:var(--green-bg);color:var(--ink);flex:none;font-size:16px;border:none;display:flex;align-items:center;justify-content:center}

@media(max-width:780px){
  /* remove the whole top header — navigation lives at the bottom now */
  .topbar,.header,.mainnav{display:none!important}
  body{padding-bottom:calc(90px + env(safe-area-inset-bottom,0px))}

  .botnav{display:flex;position:fixed;left:14px;right:14px;bottom:calc(12px + env(safe-area-inset-bottom,0px));z-index:200;background:rgba(255,255,255,.94);backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px);border:1px solid var(--line);border-radius:999px;box-shadow:0 12px 34px rgba(20,40,12,.18);padding:9px 8px;justify-content:space-around}
  .botnav__item{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;background:none;border:none;color:var(--muted);font-size:11px;font-weight:600;cursor:pointer;padding:5px 2px;text-decoration:none;font-family:inherit;transition:color .15s}
  .botnav__item svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
  .botnav__item.is-active{color:var(--green)}
  .botnav__item:active{transform:scale(.93)}
  .botnav__icwrap{position:relative;display:flex}
  .botnav__icwrap svg{width:24px;height:24px;stroke:currentColor}
  .botnav .cart-count{top:-7px;left:13px}
}

/* ============================================================
   Mobile home top: clean welcome + search (replaces the banner)
   ============================================================ */
.hero__mobile{display:none}
@media(max-width:780px){
  /* neutralise the old hero block on phones */
  .hero{min-height:0!important;height:auto!important;aspect-ratio:auto!important;max-height:none!important;overflow:visible!important;background:transparent!important}
  .hero__desktop{display:none}

  .hero__mobile{display:block;padding:24px 16px 4px}
  .hero__mobile .heyebrow{color:var(--green);font-weight:700;font-size:12px;letter-spacing:1.6px;text-transform:uppercase;margin-bottom:9px}
  .hero__mobile .htitle{font-family:var(--font-display);font-weight:800;color:var(--ink);font-size:28px;line-height:1.12;margin-bottom:18px;letter-spacing:.2px}
  .herosearch{display:flex;background:#fff;border:1.5px solid var(--line);border-radius:30px;overflow:hidden;box-shadow:0 8px 22px rgba(20,40,12,.07)}
  .herosearch input{flex:1;border:none;outline:none;padding:15px 18px;font-size:15px;background:transparent}
  .herosearch button{background:var(--green);color:#fff;border:none;padding:0 22px;display:flex;align-items:center;justify-content:center}
  .herosearch button svg{width:22px;height:22px;stroke:#fff;fill:none}
  .hero__mobile .htrust{margin-top:12px;color:var(--muted);font-size:12.5px;font-weight:500}
  /* first content section sits closer to the welcome block */
  .hero + .section{padding-top:18px}
}

/* ============================================================
   Mobile hero photo, checkout form & success animation
   ============================================================ */
/* hero photo with white fade at the bottom (mobile) */
.hero__photo{display:none}
@media(max-width:780px){
  .hero__mobile{display:block;padding:0}
  .hero__photo{display:block;position:relative;width:100%;aspect-ratio:4/5;max-height:72vh;
    background-size:cover;background-position:center;background-repeat:no-repeat;background-color:var(--green-bg)}
  .hero__photo::after{content:"";position:absolute;left:0;right:0;bottom:0;height:42%;
    background:linear-gradient(to bottom,rgba(255,255,255,0) 0%,rgba(255,255,255,.85) 70%,#fff 100%)}
  .hero + .section{padding-top:8px}
}

/* ---- Checkout form ---- */
.checkout{max-width:520px;margin:0 auto}
.cobox{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;margin-bottom:16px}
.cobox__title{display:flex;align-items:center;gap:10px;font-weight:700;font-size:17px;color:var(--ink);margin-bottom:14px}
.cobox__num{width:26px;height:26px;border-radius:50%;background:var(--green);color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700}
.coin{width:100%;border:1.5px solid var(--line);border-radius:12px;padding:14px 16px;font-size:15px;font-family:inherit;color:var(--ink);outline:none;margin-bottom:12px;background:#fff;transition:border-color .15s}
.coin:last-child{margin-bottom:0}
.coin:focus{border-color:var(--green-light)}
.coin--area{resize:vertical;min-height:74px}
.cophone{display:flex;align-items:stretch;gap:8px;margin-bottom:12px}
.cophone__flag{flex:0 0 auto;display:flex;align-items:center;padding:0 14px;border:1.5px solid var(--line);border-radius:12px;background:var(--green-bg);font-size:15px;font-weight:600;white-space:nowrap}
.cophone .coin{margin-bottom:0}
.co-error{display:none;color:#c0392b;background:#fdecea;border:1px solid #f5c6c2;border-radius:12px;padding:12px 14px;font-size:14px;margin-bottom:14px}
.co-submit{margin-top:4px}
.co-foot{text-align:center;color:var(--muted);font-size:13.5px;margin-top:14px;line-height:1.5}

/* ---- Success page + animated checkmark ---- */
.success{max-width:460px;margin:0 auto;text-align:center;padding:56px 20px 70px}
.success__check{width:120px;height:120px;margin:0 auto 26px}
.success__check svg{width:100%;height:100%;display:block;overflow:visible}
.success__ring{fill:none;stroke:var(--green);stroke-width:4;stroke-linecap:round;
  stroke-dasharray:226;stroke-dashoffset:226;transform-origin:50% 50%;
  animation:sucRing .6s cubic-bezier(.65,0,.45,1) forwards}
.success__tick{fill:none;stroke:var(--green);stroke-width:5;stroke-linecap:round;stroke-linejoin:round;
  stroke-dasharray:60;stroke-dashoffset:60;animation:sucTick .35s cubic-bezier(.65,0,.45,1) .55s forwards}
.success__check{animation:sucPop .4s ease .85s both}
.success__title{font-size:clamp(26px,6vw,36px);color:var(--ink);margin-bottom:12px;animation:sucFade .5s ease .9s both}
.success__text{color:var(--muted);font-size:15.5px;line-height:1.6;margin-bottom:26px;animation:sucFade .5s ease 1.05s both}
.success .btn{animation:sucFade .5s ease 1.2s both}
@keyframes sucRing{to{stroke-dashoffset:0}}
@keyframes sucTick{to{stroke-dashoffset:0}}
@keyframes sucPop{0%{transform:scale(.9)}50%{transform:scale(1.06)}100%{transform:scale(1)}}
@keyframes sucFade{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* ---- Contact fields inside cart summary ---- */
.cofields{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}
.cofields__title{font-weight:700;font-size:13px;letter-spacing:1px;text-transform:uppercase;color:var(--ink);margin-bottom:14px}
.cofield{display:block;margin-bottom:14px}
.cofield span{display:block;font-size:11px;letter-spacing:.8px;text-transform:uppercase;color:var(--muted);font-weight:600;margin-bottom:6px}
.cofield input,.cofield textarea{width:100%;border:1.5px solid var(--line);border-radius:12px;padding:13px 15px;font-size:15px;font-family:inherit;color:var(--ink);outline:none;background:#fff;transition:border-color .15s}
.cofield input:focus,.cofield textarea:focus{border-color:var(--green-light)}
.cofield textarea{resize:vertical;min-height:74px}

/* ============================================================
   Multi-step checkout (client / recipient / delivery + calendar)
   ============================================================ */
.checkout{display:grid;grid-template-columns:1fr 350px;gap:24px;align-items:start;max-width:1000px;margin:0 auto}
@media(max-width:880px){.checkout{grid-template-columns:1fr}}
.checkout-main{min-width:0}

.co-items{margin-bottom:18px}
.coitem{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:10px;margin-bottom:10px}
.coitem__img{flex:0 0 56px;width:56px;height:56px;border-radius:10px;overflow:hidden;background:#fff}
.coitem__img img{width:100%;height:100%;object-fit:contain;display:block}
.coitem__info{flex:1;min-width:0}
.coitem__title{font-size:14px;font-weight:600;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.coitem__price{font-size:14px;color:var(--green);font-weight:700}
.qty--sm{flex:none}
.qty--sm button{width:32px;height:32px;padding:0;font-size:18px;line-height:1;display:flex;align-items:center;justify-content:center}
.qty--sm span{padding:0 8px;min-width:22px}
.coitem__rm{background:none;border:none;color:var(--muted);font-size:15px;cursor:pointer;padding:4px;flex:none}

.cobox{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px;margin-bottom:16px}
.cobox__title{display:flex;align-items:center;gap:10px;font-weight:700;font-size:17px;color:var(--green-dark);margin-bottom:14px}
.cobox__num{width:26px;height:26px;border-radius:50%;background:var(--green);color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;flex:none}
.cobox__plain{font-weight:700;font-size:13px;letter-spacing:1px;text-transform:uppercase;color:var(--ink);margin-bottom:14px}
.coadd-title{font-weight:700;color:var(--ink);margin:14px 0 4px}

.coin{width:100%;border:1.5px solid var(--line);border-radius:12px;padding:14px 16px;font-size:15px;font-family:inherit;color:var(--ink);outline:none;margin-bottom:12px;background:#fff;transition:border-color .15s}
.coin:focus{border-color:var(--green-light)}
.coin--area{resize:vertical;min-height:74px;margin-bottom:0}
.coselect{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2385888e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:18px;padding-right:42px}
.cophone{display:flex;align-items:stretch;gap:8px;margin-bottom:12px}
.cophone__flag{flex:0 0 auto;display:flex;align-items:center;padding:0 14px;border:1.5px solid var(--line);border-radius:12px;background:var(--green-bg);font-size:15px;font-weight:600;white-space:nowrap}
.cophone .coin{margin-bottom:0}
.corow{display:flex;gap:12px}
.corow>*{flex:1;min-width:0}
@media(max-width:520px){.corow{flex-wrap:wrap;gap:0}}

/* tabs */
.cotabs{display:flex;gap:10px;margin-bottom:14px}
.cotab{flex:1;padding:12px;border:1.5px solid var(--line);border-radius:12px;background:#fff;font-weight:600;font-size:15px;color:var(--muted);cursor:pointer;font-family:inherit;transition:.15s}
.cotab.is-active{border-color:var(--green);color:var(--green);box-shadow:inset 0 0 0 1px var(--green)}

/* custom checkbox rows */
.cocheck{display:flex;align-items:center;gap:11px;padding:9px 0;cursor:pointer;font-size:15px;color:var(--ink)}
.cocheck input{position:absolute;opacity:0;width:0;height:0}
.cobox-check{flex:0 0 22px;width:22px;height:22px;border:2px solid var(--line);border-radius:6px;position:relative;transition:.15s}
.cocheck input:checked+.cobox-check{background:var(--green);border-color:var(--green)}
.cocheck input:checked+.cobox-check::after{content:"";position:absolute;left:6px;top:2px;width:5px;height:10px;border:solid #fff;border-width:0 2.5px 2.5px 0;transform:rotate(45deg)}
.cocheck__txt{flex:1}
.cocheck__price{font-weight:700;color:var(--ink)}
.cardwrap{margin:4px 0 8px}
.cocount{text-align:right;font-size:12px;color:var(--muted);margin-top:4px}

/* anonymous info */
.coinfo{display:flex;gap:11px;background:var(--green-pale);border-radius:12px;padding:14px;margin:8px 0}
.coinfo svg{flex:0 0 22px;width:22px;height:22px;stroke:var(--green-dark);fill:none;margin-top:1px}
.coinfo b{display:block;color:var(--green-dark);font-size:14px;margin-bottom:2px}
.coinfo span{font-size:13px;color:var(--green-dark);line-height:1.5}

/* delivery methods */
.comethod{display:flex;align-items:flex-start;gap:12px;border:1.5px solid var(--line);border-radius:14px;padding:15px 16px;margin-bottom:11px;cursor:pointer;transition:.15s}
.comethod.is-active{border-color:var(--green);box-shadow:inset 0 0 0 1px var(--green)}
.comethod__radio{flex:0 0 auto;margin-top:1px}
.comethod__radio input{position:absolute;opacity:0}
.comethod__radio .dot{display:block;width:20px;height:20px;border:2px solid var(--line);border-radius:50%;position:relative}
.comethod.is-active .comethod__radio .dot{border-color:var(--green)}
.comethod.is-active .comethod__radio .dot::after{content:"";position:absolute;inset:3px;background:var(--green);border-radius:50%}
.comethod__main{display:flex;flex-direction:column;gap:3px}
.comethod__main b{font-size:15.5px;color:var(--ink)}
.comethod__main span{font-size:13px;color:var(--muted)}
.codelivery{margin-top:8px}

/* date button + calendar */
.codate{display:flex;align-items:center;gap:10px;border:1.5px solid var(--line);border-radius:12px;padding:13px 15px;background:#fff;cursor:pointer;font-size:15px;font-family:inherit;color:var(--ink);flex:1;margin-bottom:12px}
.codate svg{width:18px;height:18px;stroke:var(--green);fill:none;flex:none}
.cocal{margin:2px 0 12px;border:1px solid var(--line);border-radius:14px;padding:14px;background:#fff;box-shadow:var(--shadow)}
.cocal__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.cocal__title{font-weight:700;color:var(--ink);font-size:15px}
.cocal__nav{width:34px;height:34px;border-radius:9px;border:1px solid var(--line);background:#fff;font-size:18px;line-height:1;cursor:pointer;color:var(--green)}
.cocal__nav:hover{background:var(--green-bg)}
.cocal__wd{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;margin-bottom:6px}
.cocal__wd span{text-align:center;font-size:11px;color:var(--muted);font-weight:600}
.cocal__grid{display:grid;grid-template-columns:repeat(7,1fr);gap:5px}
.cocal__day{aspect-ratio:1/1;border:none;background:var(--green-bg);border-radius:9px;font-size:14px;font-weight:600;color:var(--ink);cursor:pointer;transition:.12s;font-family:inherit}
.cocal__day:hover{background:var(--green-pale)}
.cocal__day.is-sel{background:var(--green);color:#fff}
.cocal__day.is-past{opacity:.32;background:transparent;cursor:default}
.cocal__cell{aspect-ratio:1/1}

/* order summary */
.cosum{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;position:sticky;top:90px}
.cosum h3{font-size:18px;margin-bottom:14px;color:var(--ink)}
.cosum__line{display:flex;justify-content:space-between;padding:7px 0;color:var(--muted);font-size:14.5px}
.cosum__line span:last-child{color:var(--ink);font-weight:600}
.cosum__total{display:flex;justify-content:space-between;padding-top:13px;margin-top:6px;border-top:1px solid var(--line);font-size:19px;font-weight:800;color:var(--ink)}
.cosum__note{font-size:13px;color:var(--muted);text-align:center;margin-top:13px;line-height:1.5}
@media(max-width:880px){.cosum{position:static}}

/* labeled field (phone block with caption above) */
.cofld{display:block;margin-bottom:12px}
.cofld__lbl{display:block;font-size:11px;letter-spacing:.8px;text-transform:uppercase;color:var(--muted);font-weight:600;margin-bottom:6px}
.cofld .coin{margin-bottom:0}