/* ПедКлад Маркет — storefront theme. Scoped to body.store so the admin keeps its own look. */
body.store{--ink:#16233b;--muted:#5b6678;--line:#e6e9f0;--paper:#ffffff;--white:#fff;--soft:#f5f7fb;--blue:#1f6feb;--blue-dark:#1558c4;--orange:#f07b2f;--orange-dark:#d9651b;--navy:#16233b;--rust:#f07b2f;--rust-dark:#d9651b;--teal:#1f6feb;background:#fff;color:var(--ink);font-family:Inter,'Segoe UI',Roboto,Arial,sans-serif;font-size:15px;line-height:1.55}
body.store h1,body.store h2,body.store .serif{font-family:Inter,'Segoe UI',Roboto,Arial,sans-serif;font-weight:700;letter-spacing:-.4px}
body.store h1{font-size:clamp(28px,3.4vw,46px);line-height:1.12}
body.store h2{font-size:clamp(20px,2vw,26px)}
body.store em{color:var(--orange)}
body.store .shell{width:min(1240px,calc(100% - 48px));margin-inline:auto}
body.store a:hover{text-decoration:none}
body.store .ico,body.store .tile-icon,body.store .brand-mark{display:inline-flex;flex:none}
body.store .ico svg{width:20px;height:20px}
body.store .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
body.store .btn{border-radius:12px;font-weight:600;font-size:14px;min-height:46px}
body.store .btn.cta,body.store .primary{background:var(--orange);border-color:var(--orange);color:#fff;border-radius:999px;padding:12px 26px;box-shadow:0 8px 20px rgba(240,123,47,.28)}
body.store .btn.cta:hover,body.store .primary:hover{background:var(--orange-dark)}
body.store .btn.cta span{display:inline-flex;align-items:center;gap:8px}
body.store .secondary{border-radius:12px;border-color:var(--line)}
body.store .text-link{color:var(--blue)}
body.store .eyebrow{color:var(--blue)}

/* header */
body.store .store-header{position:sticky;top:0;z-index:20;background:#fff;border-bottom:1px solid var(--line);box-shadow:0 2px 14px rgba(22,35,59,.04)}
body.store .header-top{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:28px;padding:14px 0}
body.store .brand{display:flex;align-items:center;gap:10px;color:var(--ink)}
body.store .brand-mark svg{width:46px;height:46px}
body.store .brand-text{display:flex;flex-direction:column;line-height:1.15}
body.store .brand-text strong{font-size:22px;font-weight:800;color:var(--navy);letter-spacing:-.3px}
body.store .brand-text strong span{color:var(--orange)}
body.store .brand-text small{font-size:11px;color:var(--muted);max-width:230px}
body.store .store-search{display:flex;max-width:620px;width:100%;justify-self:center;border:1.5px solid #d5dbe6;border-radius:12px;overflow:hidden;background:#fff}
body.store .store-search:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px rgba(31,111,235,.15)}
body.store .store-search input{flex:1;min-width:0;border:0;outline:0;padding:11px 14px;font-size:14px;background:transparent}
body.store .store-search button{border:0;background:var(--blue);color:#fff;padding:0 18px;display:flex;align-items:center}
body.store .store-search button:hover{background:var(--blue-dark)}
body.store .header-actions{display:flex;gap:18px;align-items:center}
body.store .action{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--ink)}
body.store .action-icon{position:relative;display:inline-flex}
body.store .action-icon .ico svg{width:24px;height:24px}
body.store .count-badge{position:absolute;top:-7px;right:-9px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--orange);color:#fff;font-size:11px;font-weight:700;line-height:18px;text-align:center}
body.store .cart-link .count-badge:empty,body.store .count-badge[hidden]{display:none}
body.store .store-nav{border-top:1px solid var(--line)}
body.store .nav-inner{display:flex;justify-content:center;gap:6px;overflow-x:auto;scrollbar-width:none;padding:6px 0}
body.store .nav-inner::-webkit-scrollbar{display:none}
body.store .nav-inner a{white-space:nowrap;padding:8px 14px;border-radius:999px;font-size:13.5px;font-weight:600;color:var(--ink)}
body.store .nav-inner a:hover{background:var(--soft);color:var(--blue)}

/* hero */
body.store #main{padding-bottom:40px}
body.store .hero{display:grid;grid-template-columns:1.05fr 1fr;gap:28px;align-items:center;margin:22px 0 18px;padding:34px 40px;border-radius:28px;background:linear-gradient(110deg,#fff7ee 0%,#fff1e3 55%,#ffe7d2 100%);overflow:hidden;border:0;min-height:0}
body.store .hero-copy h1{color:var(--navy)}
body.store .hero-copy h1 span{color:var(--blue);display:block}
body.store .hero-copy p{font-size:16px;color:#3b4659;max-width:520px;margin-top:14px}
body.store .hero-copy .btn{margin-top:22px}
body.store .hero-stats{display:flex;flex-wrap:wrap;gap:22px;margin-top:26px}
body.store .hero-stats>div{display:flex;align-items:center;gap:10px}
body.store .hero-stats .ico{width:38px;height:38px;border-radius:12px;background:#fff;color:var(--blue);align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(31,111,235,.12)}
body.store .hero-stats span{display:flex;flex-direction:column;line-height:1.2}
body.store .hero-stats strong{font-size:17px;font-weight:800}
body.store .hero-stats small{font-size:12px;color:var(--muted)}
body.store .hero-art{display:block;padding:0;background:none}
body.store .hero-art img{width:100%;height:auto;border-radius:22px;object-fit:contain}

/* category tiles */
body.store .category-tiles{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px;margin:6px 0 34px}
body.store .category-tiles>a{display:block}
body.store .tile{display:flex;align-items:center;gap:12px;height:100%;padding:14px;border-radius:18px;color:var(--ink);transition:transform .15s,box-shadow .15s}
body.store .tile:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(22,35,59,.08)}
body.store .tile-icon{width:52px;height:52px;border-radius:14px;background:#fff;align-items:center;justify-content:center;box-shadow:0 3px 10px rgba(22,35,59,.06)}
body.store .tile-icon svg{width:38px;height:38px}
body.store .tile-text{display:flex;flex-direction:column;min-width:0;line-height:1.25}
body.store .tile-text strong{font-size:14px}
body.store .tile-text small{font-size:11.5px;color:var(--muted);margin-top:3px}
body.store .tile-go{margin-left:auto;width:26px;height:26px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;flex:none}
body.store .tile-go .ico svg{width:14px;height:14px}
body.store .tile.peach{background:#fff0e6}body.store .tile.mint{background:#e4f6f1}body.store .tile.rose{background:#fdeaf0}body.store .tile.sky{background:#e8f1ff}body.store .tile.sun{background:#fff6dc}body.store .tile.lilac{background:#efeafd}body.store .tile.sand{background:#fbf1e2}

/* sections */
body.store .section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-bottom:14px}
body.store .section-title{display:flex;align-items:center;gap:10px;margin:0}
body.store .fire{font-size:22px}
body.store .see-all{color:var(--blue);font-weight:600;font-size:14px}
body.store .see-all span{display:inline-flex;align-items:center;gap:6px}
body.store .see-all .ico svg{width:16px;height:16px}
body.store .chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 0 14px;margin:0}
body.store .chips::-webkit-scrollbar{display:none}
body.store .chip{flex:none;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:999px;padding:8px 16px;font-size:13px;font-weight:600;white-space:nowrap;min-height:38px;display:inline-flex;align-items:center}
body.store .chip:hover{border-color:var(--blue);color:var(--blue)}
body.store .chip.active{background:var(--blue);border-color:var(--blue);color:#fff}
body.store .popular{margin-bottom:30px}

/* product cards */
body.store .product-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:18px}
body.store .product-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 4px 16px rgba(22,35,59,.05);transition:transform .15s,box-shadow .15s}
body.store .product-card:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(22,35,59,.1)}
body.store .product-cover-wrap{position:relative}
body.store .product-cover{display:block;aspect-ratio:4/3;background:var(--soft)}
body.store .product-cover img,body.store .product-cover .image-fallback{width:100%;height:100%;object-fit:cover}
body.store .fav-btn{position:absolute;top:10px;right:10px;width:36px;height:36px;border-radius:50%;border:0;background:rgba(255,255,255,.95);color:#6b7487;display:flex;align-items:center;justify-content:center;box-shadow:0 3px 10px rgba(0,0,0,.12)}
body.store .fav-btn .ico svg{width:19px;height:19px}
body.store .fav-btn.on{color:#ef4565}
body.store .fav-btn.on svg path{fill:#ef4565}
body.store .product-card-body{display:flex;flex-direction:column;gap:6px;padding:12px 14px 14px;flex:1}
body.store .card-category{font-size:11px;font-weight:600;color:var(--blue);text-transform:uppercase;letter-spacing:.5px}
body.store .product-card h3{font-size:14.5px;line-height:1.35;font-weight:600;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
body.store .product-card h3 a:hover{color:var(--blue)}
body.store .card-format{font-size:11.5px;color:var(--muted)}
body.store .product-card footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:8px}
body.store .product-card .price{font-size:19px;font-weight:800;color:var(--ink);display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
body.store .price del{font-size:12px;color:var(--muted);font-weight:500}
body.store .cart-btn{width:46px;height:42px;border-radius:12px;border:0;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;flex:none}
body.store .cart-btn:hover{background:var(--blue-dark)}
body.store .cart-btn.on{background:#16a36b}
body.store .cart-btn .ico svg{width:22px;height:22px}

/* benefits */
body.store .benefits{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin:10px 0 34px;padding:22px 26px;border-radius:24px;background:var(--soft)}
body.store .benefit{display:flex;align-items:center;gap:14px}
body.store .benefit strong{font-size:15px}
body.store .benefit p{margin:2px 0 0;font-size:13px;color:var(--muted)}
body.store .benefit-icon{width:54px;height:54px;flex:none;border-radius:50%;display:flex;align-items:center;justify-content:center;color:#fff}
body.store .benefit-icon .ico svg{width:26px;height:26px}
body.store .benefit-icon.teal{background:#2bb39a}body.store .benefit-icon.blue{background:var(--blue)}body.store .benefit-icon.orange{background:#f5a524}body.store .benefit-icon.violet{background:#f07b2f}

/* how */
body.store .how-section{margin:0 0 20px;padding:0;border:0}
body.store .how-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:16px}
body.store .how-grid article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px}
body.store .step-number{display:inline-flex;width:36px;height:36px;border-radius:50%;background:#fff0e6;color:var(--orange);font-weight:800;align-items:center;justify-content:center;margin-bottom:10px}
body.store .how-grid p{margin-top:6px;color:var(--muted);font-size:14px}

/* catalog page */
body.store .breadcrumbs{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0 10px;font-size:13px;color:var(--muted)}
body.store .breadcrumbs a{color:var(--blue)}
body.store .page-title{font-size:clamp(24px,2.6vw,34px);margin:0}
body.store .category-text{margin:-4px 0 12px}
body.store .catalog-section{margin:0 0 30px;padding:0;border:0}
body.store .catalog-toolbar{display:grid;grid-template-columns:minmax(0,1fr) 220px auto;gap:12px;align-items:end;margin:4px 0 20px;padding:14px;border-radius:18px;background:var(--soft);border:0}
body.store .catalog-toolbar input,body.store .catalog-toolbar select{border-radius:10px}
body.store .pagination{margin-top:24px}

/* product page / cart: harmonise with the new palette */
body.store .product-detail{gap:40px}
body.store .detail-cover,body.store .preview-button,body.store .cart-item img{border-radius:16px;overflow:hidden}
body.store .purchase-box,body.store .order-summary{border-radius:20px;border-color:var(--line);background:var(--soft)}
body.store .product-specs span{border-radius:14px}

/* footer */
body.store .store-footer{background:var(--navy);color:#cdd6e6;margin-top:30px;padding:0;border:0;width:auto;display:block}
body.store .footer-inner{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:28px;padding:34px 0 22px}
body.store .store-footer .brand-text strong{color:#fff}
body.store .store-footer .brand-text small{color:#9fb0c9}
body.store .footer-brand p{font-size:13px;color:#9fb0c9;margin-top:12px;max-width:320px}
body.store .store-footer nav{display:flex;flex-direction:column;gap:8px;font-size:13.5px}
body.store .store-footer nav strong{color:#fff;font-size:14px;margin-bottom:4px}
body.store .store-footer nav a{color:#cdd6e6}
body.store .store-footer nav a:hover{color:#fff}
body.store .footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:14px 0 20px;color:#8ea0bb}
body.store .mode-strip:empty{display:none}

/* tablet */
@media (max-width:1100px){
  body.store .category-tiles{grid-template-columns:repeat(3,minmax(0,1fr))}
  body.store .benefits{grid-template-columns:repeat(2,minmax(0,1fr))}
  body.store .header-top{gap:18px}
  body.store .brand-text small{display:none}
}
@media (max-width:860px){
  body.store .hero{grid-template-columns:1fr;padding:26px 22px;gap:18px}
  body.store .hero-art{order:-1}
  body.store .hero-art img{max-height:240px}
  body.store .footer-inner{grid-template-columns:1fr 1fr}
  body.store .catalog-toolbar{grid-template-columns:1fr 1fr}
  body.store .catalog-toolbar .btn{grid-column:1/-1}
  body.store .how-grid{grid-template-columns:1fr}
}
/* phone */
@media (max-width:640px){
  body.store{font-size:14.5px}
  body.store .shell{width:calc(100% - 32px)}
  body.store .header-top{grid-template-columns:1fr auto;gap:10px 12px;padding:10px 0}
  body.store .brand-mark svg{width:38px;height:38px}
  body.store .brand-text strong{font-size:19px}
  body.store .store-search{grid-column:1/-1;grid-row:2;max-width:none}
  body.store .action-label{display:none}
  body.store .header-actions{gap:16px}
  body.store .nav-inner{justify-content:flex-start;padding:4px 0}
  body.store .nav-inner a{padding:7px 12px;font-size:13px;background:var(--soft)}
  body.store .hero{margin:14px 0 14px;padding:20px 16px;border-radius:20px}
  body.store .hero-copy p{font-size:14.5px}
  body.store .hero-copy .btn{width:100%}
  body.store .hero-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  body.store .hero-stats>div{flex-direction:column;align-items:flex-start;gap:6px}
  body.store .hero-stats small{font-size:11px}
  body.store .category-tiles{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;margin:0 -16px 24px;padding:2px 16px 6px;scrollbar-width:none}
  body.store .category-tiles::-webkit-scrollbar{display:none}
  body.store .category-tiles>a{flex:0 0 74%;scroll-snap-align:start}
  body.store .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body.store .product-card{border-radius:14px}
  body.store .product-card-body{padding:10px}
  body.store .product-card h3{font-size:13px;-webkit-line-clamp:3}
  body.store .card-format{display:none}
  body.store .product-card .price{font-size:16px}
  body.store .cart-btn{width:40px;height:38px;border-radius:10px}
  body.store .fav-btn{width:32px;height:32px;top:8px;right:8px}
  body.store .benefits{grid-template-columns:1fr;gap:14px;padding:18px}
  body.store .catalog-toolbar{grid-template-columns:1fr}
  body.store .footer-inner{grid-template-columns:1fr;gap:20px}
  body.store .section-title{font-size:20px}
}
@media (max-width:360px){
  body.store .product-grid{grid-template-columns:1fr}
}

/* overrides of legacy rules */
body.store .store-nav{display:block!important;width:auto;padding:0;gap:0;font-size:inherit}
body.store .store-nav>a{display:inline}
body.store .brand strong,body.store .brand-text strong{font-family:Inter,'Segoe UI',Roboto,Arial,sans-serif;letter-spacing:-.3px}
body.store .brand small,body.store .brand-text small{letter-spacing:0;text-transform:none;margin-top:2px}
body.store .image-fallback{background:linear-gradient(135deg,#e8f1ff,#fff0e6);color:var(--blue);font-family:Inter,Arial,sans-serif;font-weight:800;font-size:18px}
body.store .hero{padding:28px 36px}
@media (max-width:1320px){body.store .tile-go{display:none}}
@media (max-width:640px){
  body.store .card-category{display:none}
  body.store .hero-art img{max-height:190px}
  body.store .hero-copy h1{font-size:27px}
}
@media (max-width:640px){
  body.store .catalog-toolbar{grid-template-columns:minmax(0,1fr) auto;padding:10px;gap:10px}
  body.store .catalog-toolbar>.field:first-child{display:none}
  body.store .catalog-toolbar .btn{grid-column:auto;padding:10px 18px}
}

/* ---------- site chat widget ---------- */
.site-chat{position:fixed;right:20px;bottom:20px;z-index:60;font-family:Inter,'Segoe UI',Roboto,Arial,sans-serif}
.site-chat .ico{display:inline-flex}
.chat-launcher{display:flex;align-items:center;gap:8px;border:0;border-radius:999px;background:#1f6feb;color:#fff;padding:13px 18px;font-weight:700;font-size:14px;box-shadow:0 10px 26px rgba(31,111,235,.35);cursor:pointer;position:relative}
.chat-launcher .ico svg{width:24px;height:24px}
.chat-launcher:hover{background:#1558c4}
.site-chat.open .chat-launcher{display:none}
.chat-badge{position:absolute;top:-6px;right:-6px;min-width:22px;height:22px;border-radius:11px;background:#f07b2f;color:#fff;font-size:12px;line-height:22px;text-align:center;padding:0 6px;border:2px solid #fff}
.chat-badge[hidden]{display:none}
.chat-panel{width:360px;height:min(560px,calc(100vh - 40px));display:flex;flex-direction:column;background:#fff;border-radius:20px;box-shadow:0 20px 50px rgba(22,35,59,.25);overflow:hidden;border:1px solid #e6e9f0}
.chat-panel[hidden]{display:none}
.chat-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 16px;background:linear-gradient(110deg,#1f6feb,#3b82f6);color:#fff}
.chat-head strong{display:block;font-size:15px}
.chat-head small{font-size:12px;opacity:.85}
.chat-close{border:0;background:rgba(255,255,255,.18);color:#fff;width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer}
.chat-close .ico svg{width:18px;height:18px}
.chat-list{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:8px;background:#f5f7fb}
.chat-msg{max-width:82%;padding:9px 12px;border-radius:14px;font-size:14px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}
.chat-msg p{margin:0}
.chat-msg time{display:block;font-size:10.5px;opacity:.65;margin-top:3px;text-align:right}
.chat-msg.admin{align-self:flex-start;background:#fff;border:1px solid #e6e9f0;color:#16233b;border-bottom-left-radius:4px}
.chat-msg.me{align-self:flex-end;background:#1f6feb;color:#fff;border-bottom-right-radius:4px}
.chat-intro{display:grid;gap:6px;padding:10px 12px 0}
.chat-intro[hidden]{display:none}
.chat-intro input,.chat-form textarea{width:100%;border:1.5px solid #d5dbe6;border-radius:10px;padding:8px 10px;font:inherit;font-size:14px;outline:0;background:#fff}
.chat-intro input:focus,.chat-form textarea:focus{border-color:#1f6feb}
.chat-form{display:flex;gap:8px;align-items:flex-end;padding:10px 12px}
.chat-form textarea{resize:none;max-height:120px}
.chat-send{flex:none;width:44px;height:44px;border:0;border-radius:12px;background:#f07b2f;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
.chat-send .ico svg{width:20px;height:20px}
.chat-send:disabled{opacity:.6}
.chat-error{margin:6px 12px 0;padding:8px 10px;border-radius:10px;background:#fdecec;color:#9b2c2c;font-size:13px}
.chat-error[hidden]{display:none}
.chat-note{display:block;padding:0 12px 10px;color:#8a93a6;font-size:11px}
@media (max-width:640px){
  .site-chat{right:12px;bottom:12px}
  .chat-launcher-text{display:none}
  .chat-launcher{padding:14px}
  .site-chat.open{inset:0;right:0;bottom:0}
  .chat-panel{width:100vw;height:100dvh;border-radius:0;border:0}
}

/* ---------- admin chat ---------- */
.nav-badge{display:inline-block;min-width:20px;margin-left:8px;padding:0 6px;border-radius:10px;background:#f07b2f;color:#fff;font-size:11px;font-weight:700;line-height:20px;text-align:center}
.nav-badge[hidden]{display:none}
.chat-admin{display:grid;grid-template-columns:320px minmax(0,1fr);gap:16px;margin:16px 0 24px;min-height:420px}
.chat-admin-list{display:flex;flex-direction:column;gap:6px;max-height:600px;overflow-y:auto}
.chat-admin-item{display:flex;flex-direction:column;gap:2px;text-align:left;padding:10px 12px;border:1px solid var(--line,#ddd);border-radius:12px;background:#fff;cursor:pointer}
.chat-admin-item.active{border-color:#1f6feb;box-shadow:0 0 0 2px rgba(31,111,235,.15)}
.chat-admin-item.unread{background:#fff7ef}
.chat-admin-who{display:flex;align-items:center;justify-content:space-between}
.chat-admin-last{font-size:13px;color:#4b5563;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.chat-admin-thread{display:flex;flex-direction:column;border:1px solid var(--line,#ddd);border-radius:14px;background:#fff;overflow:hidden;min-height:420px}
.chat-admin-thread>.muted{padding:20px}
.chat-admin-head{padding:12px 14px;border-bottom:1px solid var(--line,#ddd);display:flex;flex-direction:column}
.chat-admin-log{flex:1;overflow-y:auto;max-height:460px;padding:14px;display:flex;flex-direction:column;gap:8px;background:#f5f7fb}
.chat-admin-form{display:flex;gap:10px;align-items:flex-end;padding:12px;border-top:1px solid var(--line,#ddd)}
.chat-admin-form textarea{flex:1;border:1px solid var(--line,#ccc);border-radius:10px;padding:8px 10px;font:inherit;resize:vertical}
@media (max-width:820px){.chat-admin{grid-template-columns:1fr}.chat-admin-list{max-height:260px}}
/* ---- step17: cookie consent, account, info pages ---- */
.alert.good{background:#eaf7ef;border-color:#9fd5b3;color:#13572f}
.text-button.danger{color:#b42318}
.row-actions{display:flex;flex-wrap:wrap;gap:4px 12px}
.toolbar{display:flex;gap:10px;margin:0 0 14px}
.toolbar input[type=search]{flex:1;max-width:420px;min-height:42px;padding:8px 12px;border:1px solid #d5dae3;border-radius:10px;font:inherit}
.page-editor summary{cursor:pointer;display:flex;gap:10px;align-items:baseline;flex-wrap:wrap}
.page-editor[open] summary{margin-bottom:14px}
.page-editor textarea{font-family:ui-monospace,Consolas,monospace;font-size:13px;line-height:1.5}
.pages-admin{display:grid;gap:10px;margin-top:14px}
.consent-banner{position:fixed;left:16px;right:16px;bottom:16px;z-index:60;max-width:760px;margin:0 auto;background:#fff;color:#16233b;border:1px solid #e6e9f0;border-radius:18px;box-shadow:0 18px 50px rgba(22,35,59,.22);padding:18px 20px;display:grid;gap:12px;font-size:14px}
.consent-banner p{margin:4px 0 0;color:#5b6678}
.consent-actions{display:flex;flex-wrap:wrap;gap:8px}
.consent-actions .btn{padding:10px 18px;min-height:42px}
.consent-settings{display:grid;gap:8px}
.consent-settings[hidden]{display:none}
.consent-option{display:flex;gap:10px;align-items:flex-start;padding:10px 12px;border:1px solid #e6e9f0;border-radius:12px;cursor:pointer}
.consent-option input{margin-top:3px;width:18px;height:18px;flex:none;accent-color:#1f6feb}
.consent-option span{display:grid;gap:2px}
.consent-option small{color:#5b6678}
body.consent-open .site-chat{display:none}
@media (max-width:640px){.consent-banner{left:8px;right:8px;bottom:8px;padding:14px;max-height:80vh;overflow:auto}.consent-actions .btn{flex:1 1 100%}}
body.store .footer-link-button{background:none;border:0;padding:0;color:#cdd6e6;font:inherit;text-align:left;cursor:pointer}
body.store .footer-link-button:hover{color:#fff;text-decoration:underline}
body.store .account-action .action-icon svg{width:22px;height:22px}
body.store .auth-page{max-width:520px;margin:10px auto 40px}
body.store .auth-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}
body.store .auth-form{display:grid;gap:12px;margin-top:8px}
body.store .auth-form .btn{justify-self:start}
body.store .auth-form .text-button{justify-self:start}
body.store .auth-done:not(:empty){margin:10px 0}
body.store .cabinet{margin:10px 0 40px}
body.store .account-orders{display:grid;gap:10px;margin-bottom:24px}
body.store .account-order{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;border:1px solid var(--line);border-radius:14px;padding:14px 16px;background:#fff}
body.store .account-order > div{display:grid;gap:2px;min-width:0}
body.store .account-order strong{overflow:hidden;text-overflow:ellipsis}
body.store .cabinet-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:10px 0 18px}
body.store .cabinet-card{border:1px solid var(--line);border-radius:16px;padding:18px;background:var(--soft)}
body.store .cabinet-card h3{margin:0 0 6px}
body.store .info-page{max-width:820px;margin:6px 0 40px}
body.store .info-body{font-size:15.5px;line-height:1.7}
body.store .info-body h2{font-size:20px;margin:26px 0 8px}
body.store .info-body ul{padding-left:22px;margin:8px 0}
body.store .info-body li{margin:4px 0}
body.store .info-body a{color:var(--blue);word-break:break-word}
body.store .breadcrumbs{display:flex;gap:8px;font-size:13px;color:var(--muted);margin:14px 0 4px;flex-wrap:wrap}
body.store .breadcrumbs a{color:var(--blue)}
body.store .cart-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
body.store .recovery-notice .actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:8px}
@media (max-width:640px){body.store .account-order{grid-template-columns:1fr auto}body.store .account-order .btn{grid-column:1/-1}body.store .cabinet-grid{grid-template-columns:1fr}}
