/*
Theme Name: 12 Вольт Уфа
Theme URI: https://12voltufa.ru/
Author: 12 Вольт Уфа
Description: Тема установочного автомобильного центра с каталогом оборудования, услугами и комплексными решениями.
Version: 1.5.7
Requires at least: 6.4
Requires PHP: 8.0
 Text Domain: voltufa
*/

.archive-hero,.catalog-page,.content-list,.entry-page,.not-found{padding:clamp(5rem,9vw,9rem) max(5vw,calc((100vw - 1420px)/2));}.archive-hero{background:#111518;color:#fff}.archive-hero h1,.detail-hero h1{font-size:clamp(2.5rem,5vw,5.5rem);line-height:.95;text-transform:uppercase}.catalog-filter{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;margin-bottom:2.5rem;padding:1.25rem;background:#eef0f1}.catalog-filter select,.catalog-filter label{min-height:44px;padding:.7rem;border:1px solid #ccd0d2;background:#fff}.product-card{display:flex;flex-direction:column}.product-card>p{flex:1}.detail-hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:3rem;padding:clamp(6rem,10vw,10rem) max(5vw,calc((100vw - 1420px)/2));background:#101417;color:#fff}.detail-hero>img{width:100%;max-height:520px;object-fit:contain}.detail-price{display:block;font-size:2rem;margin:1.5rem 0}.detail-content{display:grid;grid-template-columns:1fr 1fr;gap:2rem;padding:5rem max(5vw,calc((100vw - 1420px)/2))}.detail-content>div{padding:2rem;background:#f0f1f1}.content-list article{padding:2rem 0;border-bottom:1px solid #ddd}.entry-page{max-width:1100px;margin:auto}.form-status{margin-top:.75rem}.menu-toggle{display:none}.menu-toggle span{display:block;width:22px;height:2px;margin:4px;background:currentColor}.mobile-nav{display:none}.scroll-top{font-family:Arial,sans-serif}.admin-bar .site-header{top:32px}
@media(max-width:782px){.admin-bar .site-header{top:46px}.detail-hero,.detail-content{grid-template-columns:1fr}.detail-hero{padding-top:8rem}.catalog-filter{align-items:stretch}.catalog-filter>*{width:100%}.desktop-nav{display:none}.menu-toggle{display:block;margin-right:16px;min-width:44px;min-height:44px}.mobile-nav.is-open{display:flex;position:fixed;inset:var(--header-height,72px) 0 auto 0;z-index:1000;flex-direction:column;padding:1rem 5vw;background:#101315}.mobile-nav a{padding:1rem;color:#fff;border-bottom:1px solid #333}.site-header .button{display:inline-flex}.archive-hero h1{overflow-wrap:anywhere}}

.menu-button{display:none}.menu-button span{display:block;width:22px;height:2px;margin:4px;background:currentColor}
@media(max-width:782px){.menu-button{display:block;margin-right:16px;min-width:44px;min-height:44px}.menu-toggle{display:none}}

html,body{max-width:100%;overflow-x:hidden}

/* Catalog spacing and product gallery. */
.full-product-card .product-flags,.product-card .product-flags{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 24px;line-height:1.4}
.full-product-card .product-flags span,.product-card .product-flags span{display:inline-flex;padding:7px 10px;margin:0}
.product-gallery{min-width:0;width:100%}
.product-gallery-stage{position:relative;width:100%}
.product-gallery .product-gallery-image{width:100%;height:clamp(230px,35vw,440px);object-fit:contain}
.product-gallery-controls{display:flex;align-items:center;justify-content:center;gap:20px;margin:16px 0}
.product-gallery button{cursor:pointer;border:1px solid #666;background:#202527;color:#fff;min-width:44px;min-height:44px;border-radius:4px}
.product-gallery button:focus-visible{outline:3px solid #fbc02d;outline-offset:3px}
.product-gallery .gallery-counter{position:static;transform:none;background:none;padding:0;color:inherit}
.product-gallery-thumbs{display:flex;gap:10px;overflow-x:auto;padding:5px;justify-content:flex-start}
.product-gallery-thumbs button{padding:4px;flex:0 0 78px;background:#f3f2ee;border:2px solid transparent}
.product-gallery-thumbs button[aria-pressed="true"]{border-color:#fbc02d}
.product-gallery-thumbs img{display:block;width:70px;height:54px;object-fit:contain}
.product-visual .gallery-note{display:block;position:static;transform:none;margin-top:20px}
.product-description{max-width:1000px;margin:0 auto;padding:24px clamp(20px,5vw,60px);line-height:1.8}

.product-gallery [hidden]{display:none!important}
.product-gallery .gallery-counter{margin:0;font-size:14px}

/* Shared logo dimensions in the header and footer, including narrow screens. */
.site-header .brand-mark,.footer-main .footer-brand .brand-mark{flex:0 0 82px!important;width:82px!important;height:78px!important}
.site-header .brand-mark img,.footer-main .footer-brand .brand-mark img{width:82px!important;height:78px!important;object-fit:contain}
@media(max-width:700px){.site-header .brand-wording{max-width:none!important;flex:1}.site-header .brand{flex:1 1 auto;min-width:0}.site-header .brand-wording b,.site-header .brand-wording small{white-space:normal!important}}
.product-details li{display:flex;align-items:flex-start;gap:10px;line-height:1.6}
.product-details li .volt-icon{margin-top:3px;color:#9a7414}
.product-details li span{min-width:0;overflow-wrap:anywhere}

/* Official 2GIS reviews */
.volt-reviews-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,528px);gap:clamp(32px,6vw,96px);align-items:start}
.volt-reviews-copy{padding:32px 0;max-width:540px}.volt-reviews-copy .section-heading{margin-bottom:28px}.volt-reviews-copy>p{color:#60686c;line-height:1.75;margin:24px 0 32px}.volt-reviews-source{display:inline-flex;align-items:center;gap:16px;padding:12px 18px;border:1px solid #dce2de;border-radius:12px;background:#fff;color:#60686c}.volt-reviews-source strong{color:#247e32;font-size:28px;letter-spacing:-1px}
.volt-2gis-widget{width:100%;max-width:528px;min-width:0;margin-inline:auto;padding:0;background:#fff;border:1px solid #e1e5e2;border-radius:20px;overflow:hidden;box-shadow:0 16px 48px #15281c0d}.volt-2gis-widget iframe{display:block;width:100%;border:0}.volt-2gis-fallback{margin:0;padding:16px 20px;background:#f4f6f4;color:#60686c;font-size:13px;line-height:1.6}.volt-2gis-fallback a{color:#247e32;text-decoration:underline}
@media(max-width:850px){.volt-reviews-layout{grid-template-columns:minmax(0,1fr);gap:24px}.volt-reviews-copy{padding:0;max-width:none}.volt-reviews-copy .button{white-space:normal}}
