/* sidebar.css — 158 правил */

.reviews-widget{width:250px;height:510px;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border-radius:12px;display:flex;flex-direction:column;overflow:hidden;position:relative;border:none;box-shadow:0 1px 0px 0px rgba(0,0,0,0.12),0 0px 1px rgba(0,0,0,0.08);font-family:'Manrope',sans-serif;transition:box-shadow .3s ease,border-color .3s ease,transform .3s ease}
.reviews-widget.highlight{animation:reviewsHighlight 1.5s ease-out}
[data-theme="dark"] .reviews-widget.highlight{animation:reviewsHighlightDark 1.5s ease-out}
[data-theme="dark"] .reviews-widget{background:#242F3D;border:none;box-shadow:0 1px 4px 0px rgba(0,0,0,0.12),0 0px 1px rgba(0,0,0,0.08)}
.reviews-widget-title{font-weight:600;font-size:14px;color:#1e293b;display:flex;align-items:center;gap:8px;margin:0;letter-spacing:-0.025em;text-transform:uppercase}
[data-theme="dark"] .reviews-widget-title{color:#f1f5f9}
.reviews-widget-icon{width:16px;height:16px;color:#fff}
.reviews-widget-count{font-size:10px;font-family:'JetBrains Mono',monospace;color:#8b9cb0;padding:2px 6px;border-radius:4px;border:1px solid #e2e8f0}
[data-theme="dark"] .reviews-widget-count{border:1px solid rgb(44,55,67);color:#b8cce0}
.reviews-widget-all-btn{font-size:10px;font-weight:700;color:#bcc8d4;display:flex;align-items:center;gap:2px;background:transparent;border:none;cursor:pointer;padding:0;text-transform:uppercase;letter-spacing:.05em;transition:color .15s}
.reviews-widget-all-btn:hover{color:#1e293b}
[data-theme="dark"] .reviews-widget-all-btn:hover{color:#f1f5f9}
[data-theme="dark"] .reviews-widget-all-btn{color:#c4d0d8}
.reviews-widget-chevron{width:12px;height:12px;transition:transform .15s}
.reviews-widget-all-btn:hover .reviews-widget-chevron{transform:translateX(2px)}
.reviews-widget-list{flex:1;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none;padding-bottom:64px}
.reviews-widget-list::-webkit-scrollbar{width:0;background:transparent}
.reviews-widget-item{padding:22px 20px 0 20px;transition:background-color .15s;cursor:default}
.reviews-widget-item::after{content:"";display:block;height:0;border-bottom:1px solid #2c3743;margin-top:20px}
.reviews-widget-item-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:8px}
.reviews-widget-author{display:flex;align-items:center;gap:12px}
.reviews-widget-avatar{width:32px;height:32px;border-radius:8px;border:none;background:#fefefe;display:flex;align-items:center;justify-content:center;font-size:9px;font-weight:700;color:#475569;font-family:'JetBrains Mono',monospace;overflow:hidden;flex-shrink:0}
.reviews-widget-avatar img{width:100%;height:100%;object-fit:cover;border-radius:8px}
.reviews-widget-avatar a{display:block;width:100%;height:100%;line-height:0}
[data-theme="dark"] .reviews-widget-avatar{border:none;color:#c4d0d8}
.reviews-widget-author-info{display:flex;flex-direction:column}
.reviews-widget-name{font-weight:700;font-size:12px;color:#0f172a;line-height:1}
[data-theme="dark"] .reviews-widget-name{color:#f1f5f9}
.reviews-widget-stars{display:flex;gap:2px;margin-top:6px}
.reviews-widget-stars svg{width:10px;height:10px}
.reviews-widget-stars svg.star-filled{fill:#d97706;stroke:#d97706;stroke-width:2}
.reviews-widget-stars svg.star-empty{fill:none;stroke:#cbd5e1;stroke-width:2}
[data-theme="dark"] .reviews-widget-stars svg.star-empty{stroke:#475569}
.reviews-widget-date{font-size:9px;font-family:'JetBrains Mono',monospace;color:#bcc8d4;margin-top:2px}
[data-theme="dark"] .reviews-widget-date{color:#c4d0d8}
.reviews-widget-content{margin-top:12px;display:flex;gap:12px}
.reviews-widget-text{font-size:12px;color:#b8c8d8;line-height:1.625;margin:0;flex:1;font-weight:500;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
[data-theme="dark"] .reviews-widget-text{color:#b8c8d8}
.reviews-widget-thumb{position:relative;width:48px;height:48px;flex-shrink:0;border-radius:8px;background:#f1f5f9;border:1px solid #e2e8f0;overflow:hidden;cursor:pointer;align-self:flex-start;margin-top:2px;box-shadow:0 1px 2px rgba(0,0,0,0.05)}
[data-theme="dark"] .reviews-widget-thumb{background:transparent;border:.5px solid rgba(255,255,255,0.1)}
.reviews-widget-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.reviews-widget-play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none}
.reviews-widget-play>div,.reviews-widget-play{width:20px;height:20px}
.reviews-widget-play::before{content:'';position:absolute;width:20px;height:20px;border-radius:4px;background:rgba(255,255,255,0.3);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,0.4);box-shadow:0 1px 2px rgba(0,0,0,0.05)}
.reviews-widget-play svg{position:relative;z-index:1;width:10px;height:10px;fill:#ffffff;stroke:#ffffff;stroke-width:2;margin-left:2px}
.reviews-widget-source{margin-top:12px;display:flex;align-items:center;gap:6px;font-size:9px;font-weight:700;letter-spacing:.025em;text-transform:uppercase;text-decoration:none;color:#0088cc;opacity:.6;transition:opacity .15s}
.reviews-widget-item:hover .reviews-widget-source{opacity:1}
.reviews-widget-source svg{width:12px;height:12px}
.reviews-widget-source-2gis{color:#86A93C}
.reviews-widget-source-youtube{color:#dc2626}
.reviews-widget-add-btn{width:100%;padding:20px;font-size:10px;text-transform:uppercase;letter-spacing:.1em;font-weight:700;color:#bcc8d4;display:flex;align-items:center;justify-content:center;gap:8px;background:transparent;border:none;cursor:pointer;transition:color .15s,background-color .15s}
[data-theme="dark"] .reviews-widget-add-btn{color:#c4d0d8}
.reviews-widget-add-btn:hover{color:#1e293b;background:#f8fafc}
[data-theme="dark"] .reviews-widget-add-btn:hover{color:#f1f5f9;background:rgba(255,255,255,0.05)}
.reviews-widget-add-btn svg{width:12px;height:12px}
.reviews-widget-fade{position:absolute;bottom:0;left:0;right:0;height:64px;background:linear-gradient(to top,#ffffff,transparent);pointer-events:none;transition:opacity .2s ease}
[data-theme="dark"] .reviews-widget-fade{background:linear-gradient(to top,rgba(36,47,61,0.9),transparent)}
.comment_modal_wrapper{display:none;position:absolute;top:0;left:0;right:0;z-index:510;flex-direction:column;align-items:center;max-height:85vh;overflow-y:auto}
.comment_modal_wrapper.active{display:flex}
.comment_modal{display:flex;width:250px;height:450px;background:#EAEAEA;border-radius:20px;box-shadow:0 4px 20px rgba(0,0,0,0.2);overflow:hidden;flex-direction:column;position:relative;max-height:450px}
.comment_modal_stack{position:relative;width:250px}
.comment_modal_stack:not(.has-video){min-height:450px;max-height:450px}
.comment_modal_stack:not(.has-video) .comment_modal{height:450px;min-height:450px;max-height:450px}
.comment_modal_stack:not(.has-video) .comment_modal_text{flex:1 1 auto;min-height:0;overflow-y:auto;scrollbar-width:none;-ms-overflow-style:none}
.comment_modal_stack:not(.has-video) .comment_modal_text::-webkit-scrollbar{width:0;height:0}
[data-theme="dark"] .comment_modal{background:#a0a8b0}
#modal-controls-slot .comment_modal_close{filter:invert(1);opacity:1}
.comment_modal_expand{width:11px;height:11px;cursor:pointer;opacity:.6;transition:opacity .2s ease}
.comment_modal_expand:hover{opacity:1}
[data-theme="dark"] .comment_modal_expand{filter:invert(1)}
.comment_modal_close{margin-top:1px;width:11px;height:11px;cursor:pointer;opacity:.6;transition:opacity .2s ease;z-index:1002}
.comment_modal_close:hover{opacity:1}
[data-theme="dark"] .comment_modal_close{filter:invert(1)}
.comment_modal_image{width:100%;height:130px;min-height:130px;display:block;border-radius:8px;object-fit:cover}
.comment_modal_stars{margin:0;padding:0}
.comment_modal_stars .comment_stars{display:flex;width:100%;gap:3px;justify-content:flex-start;margin:0;padding:0}
.comment_modal_video{height:100%;display:block;border-radius:8px;object-fit:contain;opacity:1;transition:opacity .3s ease;position:absolute;top:0;left:0;right:0;bottom:0;margin:auto;z-index:2;cursor:pointer}
.comment_modal_video:fullscreen{width:100%;height:100%;object-fit:contain}
.comment_modal_video:-webkit-full-screen{width:100%;height:100%;object-fit:contain}
.comment_modal_video:-moz-full-screen{width:100%;height:100%;object-fit:contain}
.comment_modal_text{font-size:12px;font-weight:400;margin:5px 0;line-height:1.5;color:#000000;word-wrap:break-word;overflow-wrap:break-word}
[data-theme="dark"] .comment_modal_text{color:#F5F5F5}
.city-delivery-sidebar{width:250px;height:224px;background:#242F3D;border-radius:12px;padding:16px 20px;border:none;box-shadow:0 1px 4px 0px rgba(0,0,0,0.12),0 0px 1px rgba(0,0,0,0.08);display:flex;flex-direction:column}
[data-theme="light"] .city-delivery-sidebar{background:#FFFFFF;border:1px solid #e2e8f0;box-shadow:0 1px 3px rgba(0,0,0,0.06)}
.city-delivery-sidebar-title{font-size:15px;font-weight:600;color:#f1f5f9;margin:11px 0 0;letter-spacing:-0.025em}
[data-theme="light"] .city-delivery-sidebar-title{color:#1e293b}
.city-delivery-sidebar-row{display:flex;justify-content:space-between;align-items:center;padding:6px 0;border-bottom:1px solid rgba(255,255,255,0.06)}
.city-delivery-sidebar-row:last-child{border-bottom:none}
[data-theme="light"] .city-delivery-sidebar-row{border-bottom:1px solid #f1f5f9}
.city-delivery-sidebar-label{font-size:12px;color:#b8c8d8}
[data-theme="light"] .city-delivery-sidebar-label{color:#bcc8d4}
.city-delivery-sidebar-value{font-size:14px;font-weight:600;color:#e2e8f0}
[data-theme="light"] .city-delivery-sidebar-value{color:#1e293b}
.city-delivery-sidebar-note{font-size:11px;color:#b8c8d8;margin-top:auto;line-height:1.4}
.city-delivery-sidebar-rows{flex:1;display:flex;flex-direction:column;justify-content:center}
[data-theme="light"] .city-delivery-sidebar-note{color:#bcc8d4}
.youtube-block{background:var(--bg-secondary,#242F3D);border-radius:12px;padding:12px 0 0;border:none}
.youtube-icon{width:20px;height:20px;flex-shrink:0}
.youtube-block-title{font-size:13px;font-weight:600;color:var(--text-primary,#e2e8f0)}
.yt-slideshow{position:relative;width:100%;padding-bottom:56.25%;overflow:hidden;background:#000;cursor:pointer}
.yt-slide{position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;transition:opacity .5s ease;pointer-events:none}
.yt-slide.active{opacity:1;pointer-events:auto}
.youtube-thumb{width:100%;height:100%;object-fit:cover}
.yt-play-btn{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:34px;height:24px;pointer-events:none}
.yt-play-btn svg{width:100%;height:100%}
.yt-dots{position:absolute;bottom:0;left:0;right:0;display:flex;z-index:2}
.yt-dot{flex:1;height:6px;background:rgba(255,255,255,.25);transition:background .3s;cursor:pointer}
.yt-dot.active{background:rgba(255,255,255,.9)}
.yt-modal{display:none;position:fixed;top:0;left:0;width:100%;height:100%;z-index:10000}
.yt-modal.open{display:flex;align-items:center;justify-content:center}
.yt-modal-bg{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.85)}
.yt-modal-wrap{position:relative;z-index:1;width:90%;max-width:900px}
.yt-modal-close{position:absolute;top:-40px;right:0;background:none;border:none;color:#fff;font-size:32px;cursor:pointer;line-height:1}
.yt-modal-video{position:relative;width:100%;padding-bottom:56.25%;background:#000;border-radius:8px;overflow:hidden}
.yt-modal-video iframe{position:absolute;top:0;left:0;width:100%;height:100%}
.youtube-channel-link{display:flex;align-items:center;justify-content:center;width:100%;margin:0;padding:10px;border:none;border-radius:0 0 12px 12px;cursor:pointer;font-size:11px;font-weight:500;font-family:var(--font-family);color:var(--text-primary,#e2e8f0);background:var(--btn-bg,#2a3544);text-decoration:none;white-space:nowrap;transition:none}
.youtube-channel-link:hover{background:var(--btn-hover,#3a4a5e)}
/* FAQ block — desktop */
.faq-block{max-width:1230px;margin:0 auto 30px;background:#2B3643;border-radius:8px;overflow:visible}
.faq-block-title{font-family:var(--font-family);font-size:24px;font-weight:700;margin:0;color:#fff;padding:20px;border-radius:8px 8px 0 0;line-height:1.4;letter-spacing:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.faq-page .faq-block-title{display:none}
.faq-block-inner{padding:24px;background:#242F3D;border-radius:8px}
.faq-item{margin:0}
.faq-item+.faq-item{border-top:1px solid #2c3743;margin-top:16px;padding-top:16px}
.faq-q{display:flex;align-items:center;justify-content:space-between;width:100%;padding:0;background:none;border:none;cursor:pointer;font-size:14px;font-weight:500;color:#fff;line-height:1.5;text-align:left;gap:12px}
.faq-q::after{content:'';width:5px;height:9px;flex-shrink:0;background:url("data:image/svg+xml,%3Csvg width='7' height='12' viewBox='0 0 7 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l5 5-5 5' stroke='%237f91a4' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;background-size:contain;transition:transform .25s}
.faq-item.open .faq-q::after{transform:rotate(90deg)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .35s cubic-bezier(0,1,0,1)}
.faq-item.open .faq-a{max-height:500px;transition:max-height .45s cubic-bezier(.4,0,.2,1)}
.faq-a p,.faq-a ul{margin:8px 0 0;font-size:14px;line-height:1.7;color:#7f91a4}
.faq-a p:last-child{margin-bottom:0}
.faq-a strong{color:#fff;font-weight:600}
.faq-a ul{margin:8px 0 0;padding-left:20px}
.faq-a li{margin-bottom:4px;font-size:14px;line-height:1.6;color:#7f91a4}
.faq-a a{color:#5B9BD5;text-decoration:none}
.faq-a a:hover{text-decoration:underline}
.popular-cars{max-width:1230px;margin:0 auto 30px;padding:0;overflow:visible}
.popular-cars-title{font-family:var(--font-family);font-size:24px;font-weight:700;color:#fff;margin:0 0 16px;padding:0;line-height:1.4;letter-spacing:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.popular-cars-viewport{width:100%;overflow:hidden;border-radius:12px}
.popular-cars-list{display:flex;gap:12px;width:max-content}
.blog-faq-item{background:rgba(15,23,42,0.5);border:1px solid rgba(255,255,255,0.08);border-radius:10px;margin:0 0 10px;padding:14px 18px}
.blog-faq-item summary{cursor:pointer;font-weight:600;color:#cbd5e1;list-style:none;position:relative;padding-right:24px}
.blog-faq-item summary::-webkit-details-marker{display:none}
.blog-faq-item summary::after{content:"+";position:absolute;right:0;top:0;color:#FFB900;font-size:18px}
.blog-faq-item[open] summary::after{content:"\2212"}
.blog-faq-item p{margin:10px 0 0;color:#94a3b8;font-size:14px;line-height:1.6}
.brands-popular-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}
.brand-popular-card{display:flex;flex-direction:column;align-items:center;gap:6px;background:#242F3D;border:1px solid rgba(255,255,255,0.06);border-radius:10px;padding:18px 12px;text-decoration:none;color:inherit;transition:border-color .2s,transform .1s}
.brand-popular-card:hover{border-color:rgba(255,185,0,0.4);transform:translateY(-2px)}
.brand-popular-name{font-size:17px;font-weight:700;color:#fff}
.brand-popular-count{font-size:12px;color:#94a3b8}
.brands-faq-title{font-size:24px;font-weight:700;color:#fff;margin:0 0 18px;letter-spacing:-0.01em}
/* ── портировано из старого сайта: about/faq/reviews-2gis ── */
/* ── Тизер «О компании» на главной ── */
.about-teaser{width:100%;max-width:1230px;margin:0 auto 30px;padding:0;box-sizing:border-box}
/* ── порт стилей about/faq/reviews ── */
.about-teaser{width:100%;max-width:1230px;margin:0 auto 30px;padding:0;box-sizing:border-box}
.about-teaser-inner{background:#242F3D;border-radius:8px;padding:24px}
.about-teaser-title{font-family:var(--font-family);font-size:24px;font-weight:700;color:#fff;margin:0 0 16px;padding:0;line-height:1.4;letter-spacing:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.about-teaser-text{font-size:14px;line-height:1.7;color:#7f91a4;margin:0 0 18px}
.about-teaser-btn{display:inline-block;background:#FFB900;color:#1a1a2e;font-weight:700;font-size:14px;padding:11px 22px;border-radius:8px;text-decoration:none;transition:background .15s,transform .1s}
.about-teaser-btn:hover{background:#FFC940}
