/* Catalog cards in the goodwood manner, likes, comparison, «up» button (Andrey, 28.09.2026). */

/* Small translucent tags on the photo: floors · style */
.ac-photo .ac-tags{position:absolute;top:12px;left:12px;z-index:2;display:flex;flex-wrap:wrap;gap:5px;max-width:calc(100% - 100px);max-height:23px;overflow:hidden}
.ac-photo .ac-tags span{flex:0 0 auto;padding:4px 9px;border-radius:999px;background:rgba(16,32,51,.5);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);color:#fff;font-size:11.5px;font-weight:600;line-height:1.2;white-space:nowrap}
.ac-photo .ac-badge{top:auto!important;bottom:12px;left:12px}

/* Like / compare buttons (card: on the photo, top right) */
.pa-actions{display:flex;gap:6px;align-items:center}
.ac-photo .pa-actions{position:absolute;top:10px;right:10px;z-index:3}
.pa-btn{display:inline-flex;align-items:center;gap:4px;height:28px;min-width:28px;padding:0 8px;border-radius:999px;background:rgba(255,255,255,.72);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);color:#102033;font-size:12.5px;font-weight:700;cursor:pointer;user-select:none;box-shadow:0 2px 8px rgba(16,32,51,.12);transition:background .15s,color .15s}
.pa-btn svg{width:15px;height:15px;flex:0 0 auto}.pa-btn b:empty{display:none}
.pa-btn b{font-weight:700;font-variant-numeric:tabular-nums}
.pa-btn:hover{background:#fff;color:#13842a}
.pa-btn.on{background:#22b33d;color:#fff}
.pa-btn:focus-visible{outline:2px solid #22b33d;outline-offset:2px}
.pa-compare{padding:0;width:28px;justify-content:center}.ac-photo .pa-like:not(:has(b:not(:empty))){padding:0;width:28px;justify-content:center}
@media(max-width:720px){.ac-photo .pa-actions{display:none}}
.pa-actions--page .pa-compare{width:auto;padding:0 12px}
.pa-btn i{font-style:normal}

/* Icon row under the title */
.ac-card .ac-title{min-height:0;margin-bottom:6px}.ac-card .ac-title h3{margin:0}
.ac-icons{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:0 0 14px;color:#42617f;font-size:14px;font-variant-numeric:tabular-nums}
.ac-icons span{display:inline-flex;align-items:center;gap:5px;white-space:nowrap}
.ac-icons svg{width:18px;height:18px;color:#7b8a9b}
.ac-icons .ac-dims{color:#7b8a9b;font-size:13px}

/* Project page: like/compare next to the title */
.pd-titlerow{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.pd-titlerow h1{margin-right:auto}
.pd-titlerow .pa-btn{border:1px solid #dce7df;box-shadow:none}

/* Floating «Сравнить проекты N» bar */
.pa-comparebar{position:fixed;left:50%;bottom:22px;transform:translateX(-50%);z-index:45;display:inline-flex;align-items:center;gap:2px;padding:4px 5px 4px 0;border-radius:999px;background:#102033;box-shadow:0 10px 30px rgba(16,32,51,.3)}
.pa-comparebar a{display:inline-flex;align-items:center;gap:8px;padding:7px 8px 7px 18px;color:#fff;font:600 14px/1 Arial,sans-serif;text-decoration:none}
.pa-comparebar .pa-cmp-x{display:grid;place-items:center;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.14);color:#fff;font-size:19px;line-height:1;cursor:pointer}
.pa-comparebar .pa-cmp-x:hover{background:rgba(255,255,255,.28)}
.pa-comparebar[hidden]{display:none}
.pa-comparebar svg{width:18px;height:18px}
.pa-comparebar b{display:grid;place-items:center;min-width:22px;height:22px;border-radius:11px;background:#22b33d}
body.has-mobile-bar .pa-comparebar{bottom:86px}
.pa-comparebar{white-space:nowrap}
@media(max-width:720px){.pa-comparebar a{padding:6px 6px 6px 14px;font-size:13px}}

/* «Up» button above the chat button, desktop only */
.pa-up{position:fixed;right:30px;bottom:94px;z-index:40;display:grid;place-items:center;width:46px;height:46px;border:0;border-radius:50%;background:var(--green,#23b139);color:#fff;box-shadow:0 8px 25px #10203340;cursor:pointer;transition:filter .15s,transform .15s}
.pa-up:hover{filter:brightness(1.07);transform:translateY(-2px)}
.pa-up svg{width:22px;height:22px}
.pa-up[hidden]{display:none}
@media(max-width:720px){.pa-up{display:none!important}}

/* Compare page */
.cmp-page{padding:30px 0 60px}
.cmp-page h1{margin:0 0 10px}
.cmp-lead{color:#5d6c62;margin:0 0 20px}
.cmp-inline{width:18px;height:18px;vertical-align:-4px}
.cmp-scroll{overflow-x:auto}
.cmp-table{border-collapse:collapse;table-layout:fixed;min-width:760px;width:100%}
.cmp-table th{width:170px;text-align:left;color:#68778a;font-weight:600;font-size:13px;padding:12px 10px;vertical-align:top}
.cmp-table td{padding:12px 10px;border-bottom:1px solid #e7ece9;vertical-align:top;font-size:15px;font-variant-numeric:tabular-nums}
.cmp-head td{border-bottom:0}
.cmp-photo img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:12px;background:#eef3ef}
.cmp-name{display:block;margin-top:8px;color:#102033;font-weight:800;font-size:17px;text-decoration:none}
.cmp-remove{margin-top:6px;padding:0;border:0;background:none;color:#b53b31;font-size:13px;cursor:pointer}
.cmp-price{font-weight:800}
.cmp-price small{display:block;color:#68778a;font-weight:500;font-size:12px}

/* Compare page v2: packages, works, plans */
.cmp-group th{padding:22px 10px 8px;color:#102033;font-size:15px;font-weight:800;letter-spacing:.02em;text-transform:uppercase;border-bottom:2px solid #22b33d}
.cmp-ico{width:16px;height:16px;margin-right:6px;vertical-align:-3px;color:#7b8a9b}
.cmp-muted{display:block;color:#8a97a6;font-size:12px;font-weight:500}
.cmp-pkg{display:block;margin-bottom:6px;padding:6px 8px;border:1px solid #cfdcd3;border-radius:8px;background:#fff;font:600 14px Arial,sans-serif;color:#102033}
.cmp-money{display:block;font-size:17px}
.cmp-work th label{display:flex;align-items:center;gap:8px;cursor:pointer;color:#42617f;font-weight:600}
.cmp-work th input{width:17px;height:17px;accent-color:#22b33d}
.cmp-work.off td{color:#b8c2cc;text-decoration:line-through}
.cmp-total td b{display:block;font-size:20px;color:#13842a}
.cmp-total th{color:#102033;font-size:15px}
.cmp-plan img{display:block;width:100%;border:1px solid #e7ece9;border-radius:10px;background:#fff;cursor:zoom-in}
.cmp-plantabs{display:flex;flex-wrap:wrap;gap:5px;margin-bottom:8px}
.cmp-plantabs button{padding:5px 11px;border:1px solid #d8e4dc;border-radius:999px;background:#fff;font:600 12.5px Arial,sans-serif;color:#173049;cursor:pointer}
.cmp-plantabs button.on{border-color:#22b33d;background:#22b33d;color:#fff}
.cmp-note{margin-top:14px;color:#8a97a6;font-size:13px}

.cmp-topbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px}.cmp-back{color:#13842a;font-weight:700;text-decoration:none}.cmp-back:hover{text-decoration:underline}.cmp-clear{padding:8px 14px;border:1px solid #e3c9c6;border-radius:999px;background:#fff;color:#b53b31;font:600 13px Arial,sans-serif;cursor:pointer}.cmp-clear:hover{background:#fbecea}

/* Modular catalog cards: same tags / icons / like / compare as SIP (28.09.2026) */
.mod-card-photo{position:relative}
.mod-card-photo .ac-tags{position:absolute;top:10px;left:10px;z-index:2;display:flex;flex-wrap:wrap;gap:5px;max-width:calc(100% - 96px);max-height:23px;overflow:hidden}
.mod-card-photo .ac-tags span{flex:0 0 auto;padding:4px 9px;border-radius:999px;background:rgba(16,32,51,.5);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);color:#fff;font-size:11.5px;font-weight:600;line-height:1.2;white-space:nowrap}
.mod-card-photo .pa-actions{position:absolute;top:8px;right:8px;z-index:3}
.mod-card-photo>.mod-built-badge{position:absolute;left:10px;bottom:10px;top:auto!important;z-index:2}
.mod-card-icons{margin:4px 0 8px;font-size:13px;gap:4px 11px}
.mod-card-icons svg{width:16px;height:16px}
@media(max-width:720px){.mod-card-photo .pa-actions{display:none}}

/* link from card FAQ to «Как мы работаем» (28.09.2026) */
.faq-more{display:inline-block;margin-top:18px;color:var(--green,#23b139);font-weight:700;text-decoration:none}
.faq-more:hover{text-decoration:underline}

/* project card accordion: real answers + «Подробнее» links (29.09.2026) */
.acc-list{margin:0 0 10px;padding-left:18px}
.acc-list li{margin:0 0 6px;line-height:1.5}
.inside p{margin:0 0 10px}
.acc-more{display:inline-block;margin-top:4px;color:var(--green,#23b139);font-weight:700;text-decoration:none}
.acc-more:hover{text-decoration:underline}
.mod-faq-list details p b{color:inherit}

/* «?» notes on extra works (draft 29.09.2026) */
.option .work-q{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:20px;height:20px;margin-left:8px;padding:0;border:1px solid #b7c0b9;border-radius:50%;background:#fff;color:#7d887f;font-family:inherit;font-size:12px;font-weight:700;line-height:1;text-align:center;cursor:pointer;vertical-align:middle}
.option .work-q:hover{border-color:var(--green,#23b139);color:var(--green,#23b139)}
.option .work-q[aria-expanded=true]{border-color:var(--green,#23b139);background:var(--green,#23b139);color:#fff}
.option .work-lead{display:block;margin:2px 0 4px;color:#5b665e;font-size:13px;font-weight:400;line-height:1.35}
.option .work-note{display:block;grid-column:1/-1;margin-top:10px;padding:12px 14px;border-radius:10px;background:#f2f8f3;color:#2f3a32;font-size:13.5px;line-height:1.45;cursor:default}
.option .work-note[hidden]{display:none}
.option .work-note b{display:block;margin-bottom:6px;font-size:13px}
.option .work-note ul{margin:0;padding-left:18px}
.option .work-note li{margin:0 0 4px}
