/* r152: shop cards in the «Сайты» card style */




.b45-t3{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))}
.b45-t4{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.b45-tl::before{content:none!important}
.b45-k{font-style:normal;text-transform:uppercase;letter-spacing:.1em;font-size:10px;font-weight:500;color:#ADA79E;margin-right:4px}
.b45-t4 .b43-bd{padding:20px 18px 20px}
.b45-t4 .b43-c h3{font-size:18px}
.b45-t4 .b43-ft{flex-wrap:wrap!important}
.b45-t4 .b43-go{padding:10px 14px!important;font-size:14px!important}
.b43-pr strong small{font-size:14px;font-weight:600;color:#ADA79E;margin-left:2px}

#care-shops,#care-cat{margin-top:0!important}

/* comparison as one collapsible block */
#cb-shops{margin-top:0!important;transition:border-color .3s}
#cb-shops:not(.open):hover{border-color:rgba(224,160,74,.45)}

#cb-shops:not(.open) .cmp-wrap{max-height:0!important;overflow:hidden;visibility:hidden;transition:max-height .6s cubic-bezier(.4,0,.2,1),visibility 0s .6s}

#cb-shops:not(.open)::after,#cb-shops:not(.open) .cmp-toggle{display:none!important}
#cb-shops caption{display:none!important}

/* ---- inside the site's accordion: the new cards replace only what opens ---- */
#shops #t-shops,#shops #t-cat,#shops .bb--shop .bb__per,#shops .bb--cat .bb__per{display:none!important}
#shops .b45-t3,#shops .b45-t4{margin-top:4px}


#shops .b43-c{cursor:default;text-align:left}
/* comparison bar: whole bar lights the button and toggles both ways */
#cb-shops:has(.b45-cbar:hover){border-color:rgba(224,160,74,.45)}


/* r152: graphite cards, same as AI and Design */
.b43-c{background:#1C1C1D!important;border-color:#33302C!important;box-shadow:none!important}
.b43-c.hi{background:#1C1C1D!important;border-color:rgba(224,160,74,.6)!important;box-shadow:0 0 0 1px rgba(224,160,74,.15),0 30px 60px -40px rgba(224,160,74,.5)!important}
#c-shops tr.r152-ai .gi{font-weight:700;color:#F7C987}
@media (max-width:980px){.b45-t3,.b45-t4{grid-template-columns:minmax(0,1fr)!important}}

/* r153: same vertical rhythm in every card, so lines and prices sit on one level */
#shops .b45-t3 .b43-bd,#shops .b45-t4 .b43-bd{padding-top:26px}
#shops .b5-f{margin-bottom:20px!important}
#shops .b43-ft{margin-top:auto!important}
/* catalog: price and button on one row */
#shops .b45-t4 .b43-ft{flex-wrap:nowrap!important;align-items:center!important;gap:10px!important}




/* r153: comparison bar built like the maintenance bar */
#cb-shops .r153-cb{--s5-t:#EEEBE6;--s5-m:#ADA79E;--s5-bd:rgba(255,255,255,.1);display:grid!important;grid-template-columns:auto minmax(0,1fr) auto;padding:14px!important;gap:16px!important;cursor:pointer}
#cb-shops .r153-cb.open{border-bottom:1px solid rgba(255,255,255,.08);border-radius:22px 22px 0 0}
#cb-shops .r153-cb .c6-more{display:inline-flex;align-items:center;gap:8px;font:600 14px var(--f-body,system-ui);color:#EEEBE6;border-radius:99px}
#cb-shops .r153-cb .c6-more svg{width:14px;height:14px;transition:transform .25s}
#cb-shops .r153-cb.open .c6-more svg{transform:rotate(180deg)}
#cb-shops .r153-cb .c6-p b{font-size:22px}
#cb-shops .r153-cb .s5-df{display:none;position:static!important;transform:none!important;margin:0!important;flex:none}
#cb-shops.open .r153-cb .s5-df{display:inline-flex}
#cb-shops.open .r153-cb .c6-mid{display:none}
#cb-shops .r153-cb .c6-r>.s5-df{margin-left:18px!important;border-left:0}
/* r153: compact open table */
#c-shops td,#c-shops th{padding-top:6px!important;padding-bottom:6px!important;line-height:1.3!important}
#c-shops tbody td{font-size:14px!important}
#c-shops tbody td:first-child{font-size:14px!important}
#cb-shops .cmp .yes{width:auto!important;height:auto!important;background:none!important;border-radius:0!important;color:#E0A04A!important;font-size:14px!important}


#c-shops tr.bn-row td{padding-top:9px!important;padding-bottom:9px!important}
/* bottom collapse strip */
#cb-shops .r153-ft{display:flex;justify-content:center;padding:10px 0 12px;cursor:pointer;border-top:1px solid rgba(255,255,255,.06);transition:background .25s}



#cb-shops:not(.open) .r153-ft{display:none}
/* r154: tighter rhythm cards → comparison → maintenance */
#shops .b45-t3+*{margin-top:14px!important}
#shops #cb-shops{margin-top:14px!important}
#shops #care-shops{margin-top:12px!important}
#shops #cb-shops+*{margin-top:12px!important}
#shops .bb--shop .bb__in,#shops .bb--cat .bb__in{row-gap:0!important}
#shops #cb-shops{padding-top:0!important}
#shops .b45-t4+*{margin-top:14px!important}
#shops #care-shops>.s5-cr{margin-top:0!important}
#shops #cb-shops:not(.open){padding-bottom:0!important}#shops #cb-shops:not(.open) .cmp-wrap{padding:0!important}
/* r156: comparison block graphite, icon square dark with amber frame (same as maintenance) */
#shops #cb-shops{background:#1C1C1D!important;border-radius:22px!important;overflow:hidden}
#cb-shops .r153-cb .s5-cr-ic{background:#17171a!important;color:#F7C987!important;border:1px solid rgba(224,160,74,.55)!important}
/* r157: comparison block accent = clay, so it differs from the amber maintenance block */

#shops #cb-shops{background:radial-gradient(60% 160% at 0% 50%,rgba(var(--ac),.07),transparent 60%),#1C1C1D!important;border:1px solid rgba(var(--ac),.42)!important;box-shadow:0 30px 60px -28px #000!important}
#shops #cb-shops:has(.r153-cb:hover){border-color:rgba(var(--ac),.8)!important}
#cb-shops .r153-cb .s5-cr-ic{color:rgb(var(--acl))!important;border-color:rgba(var(--ac),.6)!important;box-shadow:0 8px 22px -12px rgba(var(--ac),.7)!important}
#cb-shops .r153-cb:hover .c6-icons i{color:rgb(var(--acl))!important;border-color:rgba(var(--ac),.45)!important;background:rgba(var(--ac),.1)!important;box-shadow:0 0 14px -4px rgba(var(--ac),.6)!important}
#cb-shops .r153-cb:hover .c6-more{border-color:rgba(var(--ac),.65)!important;box-shadow:0 0 22px -8px rgba(var(--ac),.6)!important}
#cb-shops .r153-cb .c6-t small{color:rgb(var(--acl))!important;opacity:.85}

/* r159: room above the table so «Популярный» over «Бизнес» is never clipped */
#shops #cb-shops.open .cmp-wrap{padding-top:18px!important;overflow:visible!important}
#shops #cb-shops.open{overflow:visible!important}
#cb-shops .cmp .s5-pop{z-index:5}
/* r159: group labels sit in their own band at the top of the row; the row text keeps equal space above and below */
#c-shops tr.g-start td{padding-top:32px!important;padding-bottom:6px!important;background-image:linear-gradient(rgba(255,255,255,.03),rgba(255,255,255,.03))!important;background-size:100% 24px!important;background-repeat:no-repeat!important;background-position:0 0!important}

#c-shops tr.g-start td{border-top:1px solid rgba(255,255,255,.08)!important}
/* r160: group labels exactly centred in their own band, neutral grey */
#c-shops tr.g-start td{padding-top:34px!important;background-size:100% 26px!important}
#c-shops tr.g-start td[data-g]::before{top:13px!important;transform:translateY(-50%)!important;line-height:14px!important;padding:0 8px!important;color:#ADA79E!important;border:1px solid rgba(255,255,255,.14)!important;background:#1C1C1D!important}
/* r160: «Только отличия» toggle, cleaner */
#cb-shops .r153-cb .s5-df{padding:6px 10px 6px 12px!important;gap:9px!important;box-shadow:none!important}
#cb-shops .r153-cb .s5-df .s5-dfi{width:auto!important;height:auto!important;background:none!important;border:0!important;box-shadow:none!important}
#cb-shops .r153-cb .s5-df .s5-dfi svg{width:15px;height:15px}

/* r162: open without the long height animation, so it does not stall */
#cb-shops .cmp-wrap{transition:none!important}
#cb-shops.open .cmp-wrap{max-height:none!important;animation:r162in .28s ease-out}
@keyframes r162in{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
/* r166: an open shop/catalog block lights its «Свернуть» only where a click really closes it (the header row), not over the cards inside */
#shops .bb.is-open:has(.bb__body:hover){background:linear-gradient(180deg,rgba(var(--t),.06),transparent 260px)!important;box-shadow:none!important}
#shops .bb.is-open:has(.bb__body:hover) .bb__tg{background:rgba(255,255,255,.05)!important;border-color:rgba(255,255,255,.16)!important;box-shadow:none!important}
#shops .bb.is-open:has(.bb__body:hover) .bb__ic{transform:none!important;box-shadow:none!important}
#shops .bb.is-open:has(.bb__body:hover) .bb__pv b{text-shadow:none!important}
#shops .bb.is-open .bb__body{cursor:default}
