:root{
  --roof-red:#cf1f2b;
  --roof-red-dark:#a9141d;
  --roof-dark:#101820;
  --roof-dark-2:#182431;
  --roof-text:#17202a;
  --roof-muted:#667085;
  --roof-line:#e7ebf0;
  --roof-bg:#f5f7fa;
  --roof-card:#ffffff;
  --roof-radius:22px;
  --roof-shadow:0 20px 60px rgba(16,24,32,.10);
  --roof-container:1220px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--roof-text);font:16px/1.55 Inter,Arial,Helvetica,sans-serif;background:#fff;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button,input,select,textarea{font:inherit}
.container{width:min(var(--roof-container),calc(100% - 40px));margin-inline:auto}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:14px;padding:14px 22px;font-weight:800;line-height:1;cursor:pointer;transition:.2s ease;white-space:nowrap}
.btn-primary{background:linear-gradient(135deg,var(--roof-red),var(--roof-red-dark));color:#fff;box-shadow:0 12px 24px rgba(207,31,43,.22)}
.btn-primary:hover{transform:translateY(-1px);box-shadow:0 16px 34px rgba(207,31,43,.30)}
.btn-ghost{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.25)}
.btn-light{background:#fff;color:var(--roof-dark)}
.text-link{font-weight:800;color:var(--roof-red)}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;color:var(--roof-red)}
.section{padding:74px 0}
.section-soft{background:linear-gradient(180deg,#fff 0%,#f7f9fc 100%)}
.section-head{margin:0 0 28px;max-width:720px}.section-head.compact{margin-bottom:24px}.section-head.compact h2{margin-bottom:0}
.section-head.inline{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;max-width:none}
.section-head h2{font-size:clamp(28px,3.3vw,44px);line-height:1.08;margin:0 0 10px;letter-spacing:-.035em}
.section-head p{margin:0;color:var(--roof-muted)}

.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.93);backdrop-filter:blur(18px);border-bottom:1px solid rgba(231,235,240,.9)}
.header-inner{min-height:84px;display:flex;align-items:center;gap:22px}
.site-logo{display:flex;align-items:center;gap:12px;min-width:max-content}
.logo-mark{width:58px;height:38px;display:grid;place-items:center;flex:0 0 auto}.roof-logo-icon{display:block;width:58px;height:38px}.custom-logo-link img{max-height:58px;width:auto}
.logo-text{display:grid;line-height:1.05}.logo-text strong{font-size:18px;letter-spacing:-.04em}.logo-text small{font-size:12px;color:var(--roof-muted);margin-top:3px}
.catalog-toggle{display:inline-flex;align-items:center;gap:9px;border:0;background:var(--roof-red);color:#fff;border-radius:14px;padding:13px 18px;font-weight:800;cursor:pointer}
.main-nav{flex:1}.main-nav ul{display:flex;align-items:center;justify-content:center;gap:26px;list-style:none;margin:0;padding:0}.main-nav a{font-weight:700;font-size:14px;color:#273241}.main-nav a:hover{color:var(--roof-red)}
.header-contact{display:grid;text-align:right;line-height:1.15}.header-contact a{font-weight:900}.header-contact span{font-size:12px;color:var(--roof-muted)}
.header-actions{display:flex;align-items:center;gap:10px}.header-icon{position:relative;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#f3f5f8;color:#273241}.cart-count{position:absolute;top:-4px;right:-2px;min-width:18px;height:18px;border-radius:10px;background:var(--roof-red);color:#fff;display:grid;place-items:center;font-size:11px;font-weight:900}.mobile-menu{display:none;border:0;background:#f3f5f8;border-radius:14px;width:44px;height:44px;place-items:center;cursor:pointer}

.hero{position:relative;min-height:720px;display:flex;align-items:center;color:#fff;background:linear-gradient(90deg,rgba(9,16,24,.90) 0%,rgba(9,16,24,.72) 38%,rgba(9,16,24,.24) 72%,rgba(9,16,24,.42) 100%),var(--hero-image) center/cover no-repeat;overflow:hidden}.hero:after{content:"";position:absolute;inset:auto 0 0;height:130px;background:linear-gradient(180deg,rgba(255,255,255,0),#fff)}
.hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,760px);gap:80px;align-items:center;padding:88px 0 120px}.hero h1{font-size:clamp(42px,6vw,76px);line-height:.98;margin:16px 0 20px;letter-spacing:-.065em}.hero p{font-size:20px;color:rgba(255,255,255,.82);margin:0 0 28px;max-width:620px}.hero-features{display:grid;grid-template-columns:repeat(2,minmax(0,260px));gap:14px;margin:0 0 30px}.hero-features span{display:grid;grid-template-columns:30px 1fr;align-items:center;gap:2px 10px;background:transparent;border:0;border-radius:16px;padding:0;font-weight:700;font-size:14px}.hero-features span small{display:block;color:rgba(255,255,255,.68);font-weight:600}.hero-features span strong{display:block;color:#fff}.hero-features b{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--roof-red);flex:0 0 auto}.hero-actions{display:flex;gap:14px;flex-wrap:wrap}.hero-card{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:26px;padding:26px;backdrop-filter:blur(18px);box-shadow:0 30px 70px rgba(0,0,0,.22)}.hero-card strong{font-size:22px;display:block}.hero-card span{display:block;color:rgba(255,255,255,.78);margin:4px 0 18px}.mini-form,.lead-card form,.quiz-window form{display:grid;gap:12px}.mini-form input,.lead-card input,.quiz-window input,.quiz-window select,.lead-card textarea{width:100%;border:1px solid #dfe5ec;border-radius:14px;padding:14px 16px;background:#fff;color:var(--roof-text);outline:none}.mini-form input:focus,.lead-card input:focus,.quiz-window input:focus,.quiz-window select:focus{border-color:var(--roof-red);box-shadow:0 0 0 4px rgba(207,31,43,.10)}.form-consent{display:flex!important;align-items:flex-start;gap:8px!important;font-size:12px!important;color:var(--roof-muted)!important;line-height:1.35}.hero .form-consent{color:rgba(255,255,255,.76)!important}.form-consent input{width:auto!important;margin-top:2px;accent-color:var(--roof-red)}

.audience-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.audience-card{background:#fff;border:1px solid var(--roof-line);border-radius:20px;padding:24px;box-shadow:0 14px 36px rgba(16,24,32,.05);transition:.2s ease}.audience-card:hover{transform:translateY(-3px);box-shadow:var(--roof-shadow);border-color:rgba(207,31,43,.28)}.audience-card h3{margin:16px 0 8px;font-size:20px}.audience-card p{margin:0 0 18px;color:var(--roof-muted)}.audience-card span{font-weight:900;color:var(--roof-red)}

.category-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}.category-card{overflow:hidden;background:#fff;border:1px solid var(--roof-line);border-radius:20px;box-shadow:0 12px 34px rgba(16,24,32,.04);transition:.2s ease}.category-card:hover{transform:translateY(-3px);box-shadow:var(--roof-shadow)}.category-card img{width:100%;height:150px;object-fit:cover;background:#f6f8fb}.category-card strong{display:block;padding:16px 16px 4px;font-size:16px}.category-card span{display:block;padding:0 16px 18px;color:var(--roof-muted);font-size:14px}

.calc-banner{display:grid;grid-template-columns:minmax(0,1fr) 470px;align-items:center;gap:30px;padding:38px 42px;border-radius:28px;background:linear-gradient(120deg,#f5f7fb,#fff);border:1px solid var(--roof-line);box-shadow:var(--roof-shadow);overflow:hidden}.calc-content h2{font-size:clamp(30px,3.8vw,48px);line-height:1.06;margin:12px 0 18px;letter-spacing:-.045em}.calc-content ul,.b2b-banner ul{display:grid;gap:10px;margin:0 0 24px;padding:0;list-style:none}.calc-content li,.b2b-banner li{position:relative;padding-left:28px}.calc-content li:before,.b2b-banner li:before{content:"✓";position:absolute;left:0;top:0;width:20px;height:20px;border-radius:50%;background:rgba(207,31,43,.10);color:var(--roof-red);display:grid;place-items:center;font-weight:900;font-size:12px}.calc-banner img{border-radius:20px;box-shadow:0 18px 50px rgba(16,24,32,.10)}

.advantage-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.advantage-card{background:#fff;border:1px solid var(--roof-line);border-radius:20px;padding:22px;min-height:190px}.advantage-card h3{margin:16px 0 8px}.advantage-card p{margin:0;color:var(--roof-muted);font-size:14px}
.tabs{display:flex;gap:8px;overflow:auto;padding:8px;border-radius:16px;background:#eef2f7;margin-bottom:22px}.tabs button{border:0;background:transparent;border-radius:12px;padding:12px 18px;font-weight:800;color:#526071;cursor:pointer}.tabs button.is-active{background:var(--roof-red);color:#fff}.product-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px}.product-card{background:#fff;border:1px solid var(--roof-line);border-radius:20px;padding:14px;display:grid;gap:14px;box-shadow:0 12px 34px rgba(16,24,32,.04)}.product-card img{width:100%;height:160px;object-fit:contain;border-radius:14px;background:#f7f9fc}.product-card strong{font-size:15px;line-height:1.3}.product-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:auto}.price{font-weight:900;font-size:18px;color:var(--roof-dark)}.cart-mini{width:40px;height:40px;border-radius:14px;border:1px solid var(--roof-line);background:#fff;color:var(--roof-red);display:grid;place-items:center;font-size:24px;font-weight:900;cursor:pointer}.cart-mini:hover{background:var(--roof-red);color:#fff}

.portfolio-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.portfolio-card{position:relative;overflow:hidden;border-radius:22px;min-height:300px;background:#ddd;box-shadow:0 18px 48px rgba(16,24,32,.10)}.portfolio-card img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.portfolio-card:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.78))}.portfolio-card div{position:absolute;z-index:2;left:18px;right:18px;bottom:18px;color:#fff}.portfolio-card strong{display:block;font-size:18px}.portfolio-card span{display:block;color:rgba(255,255,255,.76);font-size:14px}
.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.review-card{background:#fff;border:1px solid var(--roof-line);border-radius:20px;padding:24px;box-shadow:0 12px 34px rgba(16,24,32,.04)}.review-head{display:flex;gap:12px;align-items:center;margin-bottom:14px}.review-head img{width:54px;height:54px;border-radius:50%;object-fit:cover}.review-head strong{display:block}.review-head span{color:var(--roof-muted);font-size:13px}.review-card p{color:#475467;margin:0 0 16px}.roof-stars{color:#ffb020;letter-spacing:2px;font-size:18px}

.b2b-banner{position:relative;overflow:hidden;min-height:430px;border-radius:30px;background:linear-gradient(90deg,rgba(10,18,28,.94),rgba(10,18,28,.74),rgba(10,18,28,.20)),var(--b2b-image) center/cover no-repeat;color:#fff;padding:46px}.b2b-banner>div{max-width:560px}.b2b-banner h2{font-size:clamp(34px,4vw,54px);line-height:1.04;margin:14px 0 16px;letter-spacing:-.05em}.b2b-banner p{color:rgba(255,255,255,.78);font-size:18px}.b2b-banner li:before{background:#fff}.b2b-banner li{color:rgba(255,255,255,.88)}
.faq-grid{display:grid;grid-template-columns:minmax(0,1fr) 390px;gap:42px}.faq-list{display:grid;gap:12px}.faq-item{background:#fff;border:1px solid var(--roof-line);border-radius:16px;overflow:hidden}.faq-item summary{cursor:pointer;list-style:none;padding:18px 20px;font-weight:900;display:flex;align-items:center;justify-content:space-between}.faq-item summary::-webkit-details-marker{display:none}.faq-item summary:after{content:"+";font-size:22px;color:var(--roof-red)}.faq-item[open] summary:after{content:"−"}.faq-item div{padding:0 20px 20px;color:var(--roof-muted)}.faq-item p{margin:0}.lead-card{position:sticky;top:108px;background:#fff;border:1px solid var(--roof-line);border-radius:24px;padding:28px;box-shadow:var(--roof-shadow);align-self:start}.lead-card h3{margin:0 0 8px;font-size:24px}.lead-card p{margin:0 0 18px;color:var(--roof-muted)}
.contacts-grid{display:grid;grid-template-columns:repeat(3,1fr) 300px;gap:18px}.contact-item,.map-box{background:#fff;border:1px solid var(--roof-line);border-radius:20px;padding:22px;box-shadow:0 12px 34px rgba(16,24,32,.04)}.contact-item span{display:block;color:var(--roof-muted);font-size:13px}.contact-item a,.contact-item strong{display:block;font-size:18px;font-weight:900;margin:6px 0}.contact-item small{color:var(--roof-muted)}.map-box{padding:0;overflow:hidden}.map-box img{width:100%;height:100%;object-fit:cover;min-height:145px}

.site-footer{background:linear-gradient(135deg,#101820,#172535);color:#fff;padding:54px 0}.footer-grid{display:grid;grid-template-columns:1.3fr repeat(3,1fr);gap:42px}.footer-brand p{color:rgba(255,255,255,.68);max-width:360px}.footer-grid h3{margin:0 0 14px}.footer-grid ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}.footer-grid a,.footer-grid li{color:rgba(255,255,255,.72)}.footer-grid a:hover{color:#fff}.footer-logo .logo-mark{background:transparent;color:#fff}.footer-logo .logo-text small{color:rgba(255,255,255,.6)}.footer-brand small{color:rgba(255,255,255,.48)}
.quiz-modal{position:fixed;inset:0;z-index:100;display:none}.quiz-modal.is-open{display:block}.quiz-backdrop{position:absolute;inset:0;background:rgba(8,13,20,.64);backdrop-filter:blur(4px)}.quiz-window{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(520px,calc(100% - 34px));background:#fff;border-radius:26px;padding:30px;box-shadow:0 30px 80px rgba(0,0,0,.35)}.quiz-close{position:absolute;right:16px;top:14px;border:0;background:#f2f4f7;border-radius:50%;width:36px;height:36px;font-size:24px;cursor:pointer}.quiz-window h2{margin:0 0 8px;font-size:34px}.quiz-window p{color:var(--roof-muted)}
.lead-toast{position:fixed;right:22px;bottom:22px;z-index:110;background:#101820;color:#fff;border-radius:16px;padding:16px 18px;box-shadow:0 20px 60px rgba(0,0,0,.18);font-weight:800}.page-section{padding-top:80px}.content-area{max-width:920px}.content-area.narrow{max-width:760px}.content-area h1{font-size:clamp(34px,5vw,56px);letter-spacing:-.04em}.entry-content{color:#344054}.single-thumb img,.post-thumb img{border-radius:22px;margin-bottom:24px}.post-list{display:grid;gap:24px}.post-card{border:1px solid var(--roof-line);border-radius:22px;padding:24px}.woocommerce .site-main,.woocommerce-page .site-main{width:min(var(--roof-container),calc(100% - 40px));margin:50px auto}

@media (max-width:1120px){
  .header-contact{display:none}.main-nav ul{gap:16px}.hero-grid{grid-template-columns:1fr;gap:26px}.hero-card{max-width:420px}.category-grid{grid-template-columns:repeat(3,1fr)}.advantage-grid,.product-grid{grid-template-columns:repeat(3,1fr)}.portfolio-grid{grid-template-columns:repeat(2,1fr)}.contacts-grid{grid-template-columns:repeat(2,1fr)}.map-box{grid-column:auto}
}
@media (max-width:860px){
  .container{width:min(100% - 28px,var(--roof-container))}.header-inner{min-height:72px}.catalog-toggle{display:none}.mobile-menu{display:grid}.main-nav{position:fixed;left:14px;right:14px;top:82px;background:#fff;border:1px solid var(--roof-line);border-radius:20px;box-shadow:var(--roof-shadow);padding:18px;display:none}.main-nav.is-open{display:block}.main-nav ul{display:grid;gap:12px;justify-content:stretch}.main-nav a{display:block;padding:10px 12px;border-radius:12px}.main-nav a:hover{background:#f7f9fc}.hero{min-height:auto}.hero-grid{padding:76px 0 90px}.hero-features{grid-template-columns:1fr}.section{padding:52px 0}.section-head.inline{display:grid}.audience-grid,.review-grid,.faq-grid{grid-template-columns:1fr}.calc-banner{grid-template-columns:1fr;padding:28px}.calc-banner img{order:-1}.advantage-grid,.product-grid{grid-template-columns:repeat(2,1fr)}.lead-card{position:static}.footer-grid{grid-template-columns:1fr 1fr}.contacts-grid{grid-template-columns:1fr}.b2b-banner{padding:30px;min-height:520px;background-position:center right}
}
@media (max-width:560px){
  body{font-size:15px}.logo-text strong{font-size:15px}.logo-text small{font-size:10px}.logo-mark{width:48px;height:32px}.roof-logo-icon{width:48px;height:32px}.header-icon{display:none}.hero h1{font-size:42px}.hero p{font-size:17px}.hero-card{padding:20px}.category-grid,.advantage-grid,.product-grid,.portfolio-grid,.footer-grid{grid-template-columns:1fr}.category-card img{height:190px}.portfolio-card{min-height:260px}.tabs{margin-left:-14px;margin-right:-14px;border-radius:0}.calc-banner{padding:22px;border-radius:22px}.b2b-banner{border-radius:24px}.site-footer{padding:40px 0}.btn{width:100%}.hero-actions{display:grid}.section-head h2{font-size:32px}
}

/* v1.2 visual/adaptive corrections */
.site-header{z-index:999}
.header-inner{gap:14px;min-height:80px}
.main-nav ul{gap:20px;flex-wrap:nowrap}.main-nav a{white-space:nowrap;line-height:1.15}.header-contact{min-width:164px}.catalog-toggle{flex:0 0 auto}.site-logo{flex:0 0 auto}.header-actions{flex:0 0 auto}
.hero{min-height:650px;background-position:center right}.hero-grid{grid-template-columns:minmax(0,620px);padding:86px 0 112px}.hero h1{font-size:clamp(42px,5.2vw,68px);line-height:1.02;max-width:620px}.hero-content{max-width:640px}.hero-features{grid-template-columns:repeat(2,minmax(0,255px));gap:18px 22px}.hero-features span small{grid-column:2}.hero-features span strong{line-height:1.18}.hero-features span{align-items:start}
.product-card>a{display:grid;gap:12px}.product-card>a:hover strong{color:var(--roof-red)}.product-card strong{min-height:40px}.product-card .woocommerce-Price-amount{font-weight:900}.category-card strong{min-height:48px}.category-card{color:var(--roof-text)}
.woocommerce ul.products li.product a img{border-radius:18px;background:#f7f9fc}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit{background:var(--roof-red);color:#fff;border-radius:12px;font-weight:800}.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover,.woocommerce #respond input#submit:hover{background:var(--roof-red-dark);color:#fff}
@media (min-width:1320px){:root{--roof-container:1280px}.header-inner{gap:18px}.main-nav ul{gap:24px}}
@media (max-width:1180px){.header-contact{display:none}.main-nav ul{gap:16px}.hero-grid{grid-template-columns:minmax(0,600px)}}
@media (max-width:960px){.header-actions .header-icon{display:none}.hero{background-position:center}.hero:before{content:"";position:absolute;inset:0;background:rgba(9,16,24,.18)}}
@media (max-width:860px){.site-header{position:sticky}.hero-grid{padding:70px 0 86px}.hero h1{font-size:clamp(40px,10vw,58px)}.hero-features{grid-template-columns:1fr;max-width:360px}.hero-features span{grid-template-columns:28px 1fr}.mobile-menu{display:grid}.main-nav a{white-space:normal}.product-card strong{min-height:auto}.category-card strong{min-height:auto}}
@media (max-width:560px){.hero{min-height:590px}.hero-grid{padding:58px 0 78px}.hero h1{font-size:39px;letter-spacing:-.05em}.eyebrow{font-size:11px}.hero-features{gap:13px}.site-logo{gap:8px}.header-inner{min-height:68px}.btn{padding:13px 18px}.category-card img{height:178px}.product-card img{height:185px}}

/* v1.3 complete WooCommerce/adaptive corrections */
body.admin-bar .site-header{top:32px}
@media (max-width:782px){body.admin-bar .site-header{top:46px}}
.site-header{box-shadow:0 8px 30px rgba(16,24,32,.04)}
.header-inner{width:min(1360px,calc(100% - 36px));gap:18px}
.site-logo{min-width:210px}.catalog-toggle{text-decoration:none;white-space:nowrap}.main-nav{min-width:0}.main-nav ul{gap:clamp(12px,1.4vw,24px)}.main-nav a{font-size:clamp(13px,.78vw,15px)}.header-contact{min-width:170px}.header-actions{gap:8px}
@media (max-width:1240px){.header-contact{display:none}.header-inner{gap:12px}.site-logo{min-width:190px}.main-nav ul{gap:14px}.header-icon{width:38px;height:38px}}
@media (max-width:980px){.catalog-toggle{display:none}.main-nav{position:fixed;left:16px;right:16px;top:calc(82px + env(safe-area-inset-top));background:#fff;border:1px solid var(--roof-line);border-radius:20px;box-shadow:var(--roof-shadow);padding:18px;display:none}.admin-bar .main-nav{top:114px}.main-nav.is-open{display:block}.main-nav ul{display:grid;justify-content:stretch}.main-nav a{display:block;padding:10px 12px;border-radius:12px}.mobile-menu{display:grid}.header-actions .header-icon{display:grid}.header-actions .header-icon:first-child,.header-actions .header-icon:nth-child(2){display:none}}
@media (max-width:560px){.header-inner{width:min(100% - 24px,1360px)}.site-logo{min-width:0}.header-actions .header-icon{display:none}.mobile-menu{display:grid}.main-nav{top:76px}.admin-bar .main-nav{top:108px}}

.woocommerce-page #content,.woocommerce #content{background:#fff}.woocommerce .woocommerce-breadcrumb{margin:0;color:var(--roof-muted);font-size:14px}.shop-breadcrumbs{margin-bottom:26px;color:var(--roof-muted)}.shop-breadcrumbs a{color:var(--roof-muted)}.shop-breadcrumbs a:hover{color:var(--roof-red)}
.shop-hero{padding:58px 0 22px;background:linear-gradient(180deg,#fff,#f7f9fc)}.shop-hero-grid{display:flex;align-items:flex-end;justify-content:space-between;gap:30px}.shop-hero h1{font-size:clamp(38px,5vw,64px);line-height:1.02;letter-spacing:-.055em;margin:12px 0}.shop-description{max-width:680px;color:var(--roof-muted);font-size:18px}.shop-description p{margin:0}.shop-section{padding-top:38px}.shop-toolbar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 26px;color:var(--roof-muted)}.shop-toolbar select{border:1px solid var(--roof-line);border-radius:12px;padding:10px 14px;background:#fff;color:var(--roof-text)}
.shop-product-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch}.shop-product-card{height:100%;display:flex;flex-direction:column}.product-card-link{display:grid;gap:12px}.product-image-wrap{display:block;border-radius:18px;overflow:hidden;background:#f5f7fa}.product-image-wrap img{width:100%;height:210px;object-fit:cover}.shop-empty-card{max-width:620px;background:#fff;border:1px solid var(--roof-line);border-radius:24px;padding:34px;box-shadow:var(--roof-shadow)}.shop-empty-card h2{margin:0 0 8px}.shop-pagination{margin-top:34px}.woocommerce nav.woocommerce-pagination ul{border:0;display:flex;gap:8px}.woocommerce nav.woocommerce-pagination ul li{border:0}.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{border-radius:12px;min-width:42px;height:42px;display:grid;place-items:center;background:#f4f6f8;color:var(--roof-text);font-weight:800}.woocommerce nav.woocommerce-pagination ul li span.current,.woocommerce nav.woocommerce-pagination ul li a:hover{background:var(--roof-red);color:#fff}
.product-page-section{padding-top:52px}.single-product-layout{display:grid!important;grid-template-columns:minmax(0,560px) minmax(0,1fr);gap:54px;align-items:start;margin-bottom:42px}.single-product-media{border-radius:28px;overflow:hidden;background:#f4f6f8;box-shadow:var(--roof-shadow)}.single-product-media img{width:100%;height:auto;object-fit:cover}.single-product-summary h1{font-size:clamp(36px,4.8vw,62px);line-height:1.04;letter-spacing:-.055em;margin:12px 0 16px}.single-price{font-size:26px;font-weight:900;color:var(--roof-red);margin:0 0 18px}.single-excerpt{font-size:18px;color:#344054;max-width:620px}.single-cart-box{margin:24px 0;padding:20px;border:1px solid var(--roof-line);border-radius:20px;background:#f8fafc}.single-cart-box form.cart{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0!important}.woocommerce .quantity .qty{width:82px;border:1px solid var(--roof-line);border-radius:12px;height:46px;padding:8px 10px}.woocommerce div.product form.cart .button,.woocommerce button.single_add_to_cart_button{background:linear-gradient(135deg,var(--roof-red),var(--roof-red-dark))!important;color:#fff!important;border-radius:14px!important;padding:15px 24px!important;font-weight:900!important;line-height:1!important;border:0!important}.woocommerce div.product form.cart .button:hover{transform:translateY(-1px)}.single-meta{font-size:14px;color:var(--roof-muted)}.single-meta a{color:var(--roof-red);font-weight:700}
.product-info-tabs{display:grid;gap:14px;margin:32px 0 58px}.product-info-tabs details{border:1px solid var(--roof-line);border-radius:18px;background:#fff;overflow:hidden}.product-info-tabs summary{list-style:none;cursor:pointer;padding:18px 22px;font-weight:900;background:#f6f8fb}.product-info-tabs summary::-webkit-details-marker{display:none}.product-info-tabs .entry-content{padding:22px;color:#344054}.related-products-block{margin-top:30px}.woocommerce-message,.woocommerce-info,.woocommerce-error{border-top-color:var(--roof-red);border-radius:16px;background:#f8fafc;color:var(--roof-text);padding:16px 22px 16px 54px}.woocommerce-message::before,.woocommerce-info::before{color:var(--roof-red)}
.roof-cart-popup{position:fixed;right:24px;bottom:24px;z-index:9999;width:min(380px,calc(100% - 32px));background:#fff;color:var(--roof-text);border:1px solid var(--roof-line);border-radius:22px;box-shadow:0 28px 80px rgba(16,24,32,.20);padding:18px;display:none;transform:translateY(18px);opacity:0;transition:.22s ease}.roof-cart-popup.is-visible{display:block;transform:translateY(0);opacity:1}.roof-cart-popup__inner{display:grid;grid-template-columns:44px 1fr;gap:14px;align-items:start}.roof-cart-popup__icon{width:44px;height:44px;border-radius:50%;background:rgba(207,31,43,.10);display:grid;place-items:center;color:var(--roof-red);font-weight:900}.roof-cart-popup strong{display:block;font-size:17px;margin:0 0 4px}.roof-cart-popup p{margin:0;color:var(--roof-muted);font-size:14px}.roof-cart-popup__actions{grid-column:1/-1;display:flex;gap:10px;margin-top:14px}.roof-cart-popup__actions a{flex:1}.roof-cart-popup__close{position:absolute;right:12px;top:10px;width:30px;height:30px;border:0;border-radius:50%;background:#f2f4f7;cursor:pointer;font-size:20px;line-height:1}.roof-cart-popup .btn{padding:12px 14px;border-radius:12px;font-size:14px}.roof-cart-popup .btn-light{background:#f3f5f8;color:var(--roof-text)}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select{border:1px solid var(--roof-line);border-radius:12px;padding:12px 14px;background:#fff}.woocommerce table.shop_table{border:1px solid var(--roof-line);border-radius:18px;overflow:hidden}.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{background:var(--roof-red);border-radius:14px;font-weight:900}.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover{background:var(--roof-red-dark)}
@media (max-width:1020px){.shop-product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.single-product-layout{grid-template-columns:1fr;gap:30px}.single-product-media{max-width:680px}.shop-hero-grid{display:grid}}
@media (max-width:760px){.shop-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-image-wrap img{height:190px}.shop-toolbar{align-items:flex-start;display:grid}.shop-hero{padding-top:42px}.single-cart-box form.cart{display:grid;grid-template-columns:90px 1fr}.single-cart-box form.cart .button{width:100%}.roof-cart-popup{right:16px;bottom:16px}.roof-cart-popup__actions{display:grid}}
@media (max-width:520px){.shop-product-grid{grid-template-columns:1fr}.product-image-wrap img{height:220px}.single-product-summary h1{font-size:36px}.shop-hero h1{font-size:36px}.single-cart-box form.cart{grid-template-columns:1fr}.woocommerce .quantity .qty{width:100%}}


/* v1.4 catalog dropdown, shop layout and sidebar fixes */
.catalog-menu{position:relative;flex:0 0 auto}.catalog-menu .catalog-toggle{white-space:nowrap}.catalog-dropdown{position:absolute;left:0;top:calc(100% + 14px);width:min(420px,calc(100vw - 32px));background:#fff;border:1px solid var(--roof-line);border-radius:22px;box-shadow:0 28px 80px rgba(16,24,32,.18);padding:16px;display:none;z-index:80}.catalog-menu.is-open .catalog-dropdown,.catalog-menu:hover .catalog-dropdown{display:block}.catalog-dropdown:before{content:"";position:absolute;left:0;right:0;top:-16px;height:16px}.catalog-dropdown__head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:12px;padding:4px 4px 12px;border-bottom:1px solid var(--roof-line)}.catalog-dropdown__head strong{font-size:16px}.catalog-dropdown__head a{font-size:13px;font-weight:900;color:var(--roof-red);white-space:nowrap}.catalog-dropdown__grid{display:grid;gap:8px}.catalog-dropdown__item{display:grid;grid-template-columns:42px 1fr;gap:12px;align-items:center;padding:10px;border-radius:16px;color:var(--roof-text);transition:.18s ease}.catalog-dropdown__item:hover{background:#f7f9fc;color:var(--roof-red)}.catalog-dropdown__item>span{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:rgba(207,31,43,.09);color:var(--roof-red)}.catalog-dropdown__item strong{display:block;font-size:14px;line-height:1.2}.catalog-dropdown__item small{display:block;color:var(--roof-muted);font-size:12px;margin-top:3px}.site-header .main-nav>ul>li>a{white-space:nowrap}.site-header .main-nav>ul>li.current-menu-item>a,.site-header .main-nav>ul>li.current_page_item>a{color:var(--roof-red)}.woocommerce-page #secondary,.woocommerce-page .widget-area,.post-type-archive-product #secondary,.tax-product_cat #secondary,.single-product #secondary,.post-type-archive-product .widget-area,.tax-product_cat .widget-area,.single-product .widget-area{display:none!important}.woocommerce-page .content-area,.post-type-archive-product .content-area,.tax-product_cat .content-area,.single-product .content-area{width:100%!important;max-width:none!important}.shop-section .container,.product-page-section .container{clear:both}.tax-product_cat .site-footer,.single-product .site-footer,.post-type-archive-product .site-footer{clear:both}.shop-product-grid:before,.shop-product-grid:after{display:none!important}.shop-product-card .added_to_cart{display:none!important}
@media (max-width:1240px){.catalog-dropdown{left:auto;right:0}.site-header .main-nav>ul>li>a{font-size:13px}.main-nav ul{gap:12px}}
@media (max-width:980px){.catalog-menu{display:none}.catalog-dropdown{position:static;width:100%;box-shadow:none}.main-nav.is-open{max-height:calc(100vh - 130px);overflow:auto}.main-nav ul{gap:6px}.main-nav li{width:100%}}

/* v1.5 editable category icons, responsive catalog menu and product gallery */
html,body{overflow-x:hidden}.catalog-dropdown__item>span svg{width:22px;height:22px}.catalog-dropdown__icon-img{width:24px!important;height:24px!important;object-fit:contain;border-radius:0!important;background:transparent!important}.catalog-dropdown__item:hover>span{background:rgba(207,31,43,.13);box-shadow:inset 0 0 0 1px rgba(207,31,43,.08)}
.site-header .container{max-width:1380px}.header-inner{gap:18px}.main-nav ul{gap:18px}.header-contact{min-width:150px}.site-header .main-nav>ul>li>a{font-size:14px}.site-header .main-nav>ul>li.current-menu-item>a,.site-header .main-nav>ul>li.current_page_item>a{color:inherit}.site-header .main-nav>ul>li>a:hover{color:var(--roof-red)}
.single-product-media{overflow:visible;background:transparent;box-shadow:none}.single-product-gallery{display:grid;gap:14px}.single-product-main{position:relative;display:block;width:100%;padding:0;border:0;border-radius:28px;overflow:hidden;background:#f4f6f8;box-shadow:var(--roof-shadow);cursor:zoom-in}.single-product-main img{width:100%;aspect-ratio:1.18/1;object-fit:cover;transition:transform .25s ease}.single-product-main:hover img{transform:scale(1.025)}.gallery-zoom-hint{position:absolute;right:16px;top:16px;width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--roof-dark);box-shadow:0 14px 34px rgba(16,24,32,.14)}.single-product-thumbs-wrap{display:grid;grid-template-columns:42px 1fr 42px;gap:10px;align-items:center}.single-product-thumbs{display:flex;gap:10px;overflow:auto;scrollbar-width:none;padding:3px}.single-product-thumbs::-webkit-scrollbar{display:none}.single-product-thumb{flex:0 0 96px;width:96px;height:76px;border:2px solid transparent;border-radius:16px;overflow:hidden;background:#f4f6f8;padding:0;cursor:pointer;transition:.2s ease}.single-product-thumb img{width:100%;height:100%;object-fit:cover}.single-product-thumb.is-active{border-color:var(--roof-red);box-shadow:0 12px 28px rgba(207,31,43,.16)}.gallery-scroll{width:42px;height:42px;border:0;border-radius:14px;background:#f3f5f8;color:var(--roof-text);font-size:30px;line-height:1;cursor:pointer;display:grid;place-items:center}.gallery-scroll:hover{background:var(--roof-red);color:#fff}.roof-gallery-lightbox{position:fixed;inset:0;z-index:10000;display:none}.roof-gallery-lightbox.is-open{display:block}.roof-gallery-lightbox__backdrop{position:absolute;inset:0;background:rgba(8,13,20,.86);backdrop-filter:blur(8px)}.roof-gallery-lightbox__panel{position:absolute;inset:28px;display:grid;place-items:center}.roof-gallery-lightbox__panel img{max-width:min(1120px,calc(100vw - 120px));max-height:calc(100vh - 110px);border-radius:24px;object-fit:contain;box-shadow:0 32px 100px rgba(0,0,0,.38);background:#fff}.roof-gallery-lightbox__close,.roof-gallery-lightbox__nav{position:absolute;border:0;border-radius:50%;background:#fff;color:var(--roof-dark);box-shadow:0 16px 44px rgba(0,0,0,.24);cursor:pointer}.roof-gallery-lightbox__close{right:24px;top:20px;width:48px;height:48px;font-size:30px;line-height:1}.roof-gallery-lightbox__nav{top:50%;transform:translateY(-50%);width:54px;height:54px;font-size:42px;line-height:1}.roof-gallery-lightbox__prev{left:24px}.roof-gallery-lightbox__next{right:24px}.roof-gallery-lightbox__count{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);padding:8px 14px;border-radius:999px;background:rgba(255,255,255,.92);font-weight:900;color:var(--roof-dark)}
@media (max-width:1320px){.header-inner{gap:14px}.main-nav ul{gap:12px}.header-contact{display:none}.site-header .main-nav>ul>li>a{font-size:13px}.catalog-toggle{padding:12px 16px}.logo-text strong{font-size:16px}}
@media (max-width:1080px){.main-nav{display:none}.mobile-menu{display:grid}.main-nav.is-open{display:block;position:absolute;left:16px;right:16px;top:92px;background:#fff;border:1px solid var(--roof-line);border-radius:22px;box-shadow:var(--roof-shadow);padding:14px;z-index:70}.admin-bar .main-nav.is-open{top:124px}.main-nav.is-open ul{display:grid;gap:6px;justify-content:stretch}.main-nav.is-open a{display:block;padding:12px;border-radius:14px}.main-nav.is-open a:hover{background:#f7f9fc}.catalog-menu{display:block}.catalog-dropdown{position:fixed;left:16px!important;right:16px!important;top:92px;width:auto;max-height:calc(100vh - 120px);overflow:auto}.admin-bar .catalog-dropdown{top:124px}.catalog-menu.is-open .catalog-dropdown,.catalog-menu:hover .catalog-dropdown{display:block}}
@media (max-width:760px){.header-inner{min-height:74px}.logo-text{display:none}.catalog-toggle{padding:11px 14px;border-radius:13px}.catalog-toggle span{max-width:84px;overflow:hidden;text-overflow:ellipsis}.header-actions{gap:6px}.header-icon{width:40px;height:40px}.mobile-menu{width:40px;height:40px}.single-product-thumbs-wrap{grid-template-columns:1fr}.gallery-scroll{display:none}.single-product-thumb{flex-basis:82px;width:82px;height:66px}.roof-gallery-lightbox__panel{inset:16px}.roof-gallery-lightbox__panel img{max-width:calc(100vw - 32px);max-height:calc(100vh - 120px);border-radius:18px}.roof-gallery-lightbox__nav{width:44px;height:44px;font-size:34px}.roof-gallery-lightbox__prev{left:8px}.roof-gallery-lightbox__next{right:8px}.roof-gallery-lightbox__close{right:8px;top:8px}}
@media (max-width:440px){.site-logo .logo-mark{width:46px}.catalog-toggle svg{display:none}.catalog-toggle span{max-width:72px}.header-actions .header-icon[aria-label="Личный кабинет"]{display:none}.catalog-dropdown{left:10px!important;right:10px!important}.catalog-dropdown__item{grid-template-columns:38px 1fr}.catalog-dropdown__item>span{width:38px;height:38px}.catalog-dropdown__head{align-items:flex-start}.catalog-dropdown__head a{font-size:12px}}

/* v1.6 — refined product cart button and custom product gallery lightbox */
.shop-product-card{padding:14px;border-radius:24px;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.shop-product-card:hover{transform:translateY(-3px);box-shadow:0 22px 54px rgba(16,24,32,.10);border-color:rgba(207,31,43,.18)}.shop-product-card .product-card-link{color:var(--roof-text);text-decoration:none}.shop-product-card .product-bottom{display:grid;grid-template-columns:1fr auto;align-items:end;gap:12px;margin-top:auto}.shop-product-card .price{font-size:20px;line-height:1;color:var(--roof-dark)}.shop-product-card .cart-mini{width:auto;min-width:132px;height:46px;padding:0 16px;border-radius:15px;border:0;background:linear-gradient(135deg,var(--roof-red),var(--roof-red-dark));color:#fff;display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:14px;font-weight:900;line-height:1;text-decoration:none;box-shadow:0 14px 30px rgba(207,31,43,.22);transition:transform .18s ease,box-shadow .18s ease,background .18s ease}.shop-product-card .cart-mini:hover{transform:translateY(-1px);color:#fff;box-shadow:0 18px 38px rgba(207,31,43,.32)}.shop-product-card .cart-mini.loading{opacity:.75;pointer-events:none}.shop-product-card .cart-mini.added{background:#111827;color:#fff}.cart-mini__icon{display:grid;place-items:center}.cart-mini__svg{display:block}.cart-mini--view{background:#f1f4f8;color:var(--roof-text);box-shadow:none}.cart-mini--view:hover{background:var(--roof-red);color:#fff}.shop-product-card .added_to_cart{display:none!important}

.roof-cart-popup{right:26px;bottom:26px;width:min(430px,calc(100% - 32px));border:1px solid rgba(207,31,43,.14);border-radius:26px;padding:20px;background:linear-gradient(180deg,#fff,#fbfcfe);box-shadow:0 34px 90px rgba(16,24,32,.24);transform:translateY(22px) scale(.985)}.roof-cart-popup.is-visible{transform:translateY(0) scale(1)}.roof-cart-popup__inner{grid-template-columns:54px 1fr;gap:16px}.roof-cart-popup__icon{width:54px;height:54px;background:linear-gradient(135deg,var(--roof-red),var(--roof-red-dark));color:#fff;box-shadow:0 16px 32px rgba(207,31,43,.26)}.roof-cart-popup__content strong{font-size:18px}.roof-cart-popup__content p{line-height:1.45}.roof-cart-popup__close{right:14px;top:12px;background:#f4f6f8;color:#667085}.roof-cart-popup__actions{gap:12px}.roof-cart-popup .btn-primary{box-shadow:0 12px 26px rgba(207,31,43,.18)}

.catalog-dropdown__item>span{background:linear-gradient(135deg,rgba(207,31,43,.12),rgba(207,31,43,.04));border:1px solid rgba(207,31,43,.10);box-shadow:inset 0 0 0 1px rgba(255,255,255,.65)}.catalog-dropdown__item:hover>span{background:linear-gradient(135deg,var(--roof-red),var(--roof-red-dark));color:#fff}.catalog-dropdown__icon-img{width:24px;height:24px;object-fit:contain;display:block}

.single-product-main{border:1px solid rgba(16,24,32,.08)}.gallery-zoom-hint{background:linear-gradient(135deg,#fff,#f8fafc);color:var(--roof-red)}.single-product-thumb{background:#fff;border-color:rgba(16,24,32,.08)}.single-product-thumb:hover{border-color:rgba(207,31,43,.45);transform:translateY(-1px)}
.roof-gallery-lightbox{position:fixed;inset:0;z-index:10000;display:none;opacity:0;transition:opacity .22s ease}.roof-gallery-lightbox.is-open{display:block;opacity:1}.roof-gallery-lightbox__backdrop{position:absolute;inset:0;background:radial-gradient(circle at 50% 20%,rgba(31,41,55,.72),rgba(5,10,18,.94));backdrop-filter:blur(12px)}.roof-gallery-lightbox__panel{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(1180px,calc(100vw - 48px));max-height:calc(100vh - 48px);display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:14px;padding:18px;border-radius:30px;background:rgba(15,23,34,.82);border:1px solid rgba(255,255,255,.12);box-shadow:0 40px 140px rgba(0,0,0,.52);color:#fff}.roof-gallery-lightbox__top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:4px 4px 0}.roof-gallery-lightbox__top strong{display:block;font-size:18px;line-height:1.15}.roof-gallery-lightbox__top span{display:block;margin-top:3px;font-size:13px;color:rgba(255,255,255,.62)}.roof-gallery-lightbox__close{position:static;width:44px;height:44px;border:0;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--roof-dark);box-shadow:0 16px 44px rgba(0,0,0,.24);font-size:28px;line-height:1;cursor:pointer}.roof-gallery-lightbox__stage{position:relative;min-height:0;display:grid;place-items:center;border-radius:24px;background:linear-gradient(135deg,rgba(255,255,255,.08),rgba(255,255,255,.03));overflow:hidden}.roof-gallery-lightbox__stage img{display:block;max-width:100%;max-height:calc(100vh - 210px);object-fit:contain;border-radius:20px;box-shadow:0 24px 90px rgba(0,0,0,.38);opacity:.95;transition:opacity .18s ease,transform .18s ease}.roof-gallery-lightbox__stage img.is-loaded{opacity:1;transform:scale(1)}.roof-gallery-lightbox__nav{position:absolute;top:50%;transform:translateY(-50%);width:54px;height:54px;border:0;border-radius:50%;background:rgba(255,255,255,.94);color:var(--roof-dark);box-shadow:0 18px 48px rgba(0,0,0,.28);font-size:42px;line-height:1;cursor:pointer;display:grid;place-items:center;transition:.18s ease}.roof-gallery-lightbox__nav:hover{background:var(--roof-red);color:#fff}.roof-gallery-lightbox__prev{left:18px}.roof-gallery-lightbox__next{right:18px}.roof-gallery-lightbox__thumbs{display:flex;gap:10px;overflow:auto;padding:2px 4px 3px;scrollbar-width:none}.roof-gallery-lightbox__thumbs::-webkit-scrollbar{display:none}.roof-gallery-lightbox__thumb{flex:0 0 78px;width:78px;height:58px;border:2px solid transparent;border-radius:14px;padding:0;background:rgba(255,255,255,.10);overflow:hidden;cursor:pointer;opacity:.72;transition:.18s ease}.roof-gallery-lightbox__thumb img{width:100%;height:100%;object-fit:cover;display:block}.roof-gallery-lightbox__thumb:hover,.roof-gallery-lightbox__thumb.is-active{opacity:1;border-color:var(--roof-red);box-shadow:0 12px 28px rgba(207,31,43,.28)}

.woocommerce div.product form.cart .button.single_add_to_cart_button,.woocommerce button.single_add_to_cart_button{min-height:50px;display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:10px!important}.woocommerce div.product form.cart .button.single_add_to_cart_button:before,.woocommerce button.single_add_to_cart_button:before{content:"";width:18px;height:18px;display:inline-block;background:currentColor;mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M7 18c-1.1 0-2-.9-2-2 0-.2 0-.4.1-.6L6.4 13 3 5H1V3h3.3l.9 2H21l-2.4 8.1c-.2.8-1 1.4-1.9 1.4H8.3l-.5 1H19v2H7Zm2-2.5h7.7l1.5-5.5H6.3l2.7 5.5ZM8 22a2 2 0 1 1 0-4 2 2 0 0 1 0 4Zm10 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4Z"/></svg>') center/contain no-repeat;-webkit-mask:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="black" d="M7 18c-1.1 0-2-.9-2-2 0-.2 0-.4.1-.6L6.4 13 3 5H1V3h3.3l.9 2H21l-2.4 8.1c-.2.8-1 1.4-1.9 1.4H8.3l-.5 1H19v2H7Zm2-2.5h7.7l1.5-5.5H6.3l2.7 5.5ZM8 22a2 2 0 1 1 0-4 2 2 0 0 1 0 4Zm10 0a2 2 0 1 1 0-4 2 2 0 0 1 0 4Z"/></svg>') center/contain no-repeat}
@media (max-width:760px){.shop-product-card .product-bottom{grid-template-columns:1fr}.shop-product-card .cart-mini{width:100%;min-width:0}.roof-cart-popup{right:14px;bottom:14px}.roof-gallery-lightbox__panel{width:calc(100vw - 20px);max-height:calc(100vh - 20px);padding:12px;border-radius:22px}.roof-gallery-lightbox__stage img{max-height:calc(100vh - 196px);border-radius:16px}.roof-gallery-lightbox__nav{width:44px;height:44px;font-size:34px}.roof-gallery-lightbox__prev{left:8px}.roof-gallery-lightbox__next{right:8px}.roof-gallery-lightbox__thumb{flex-basis:66px;width:66px;height:50px}.roof-gallery-lightbox__top strong{font-size:16px}}
@media (max-width:520px){.shop-product-card .price{font-size:19px}.roof-cart-popup__inner{grid-template-columns:46px 1fr}.roof-cart-popup__icon{width:46px;height:46px}.roof-cart-popup__actions{display:grid}.roof-gallery-lightbox__panel{gap:10px}.roof-gallery-lightbox__stage{border-radius:18px}.roof-gallery-lightbox__close{width:40px;height:40px}.roof-gallery-lightbox__nav{top:auto;bottom:10px}.roof-gallery-lightbox__prev{left:12px}.roof-gallery-lightbox__next{right:12px}}
.roof-gallery-lightbox__thumb img{box-shadow:none!important;border-radius:0!important;max-width:none!important;max-height:none!important;background:transparent!important}.roof-gallery-lightbox__top img{box-shadow:none!important}


/* v1.7 — generated category icons and WooCommerce cart / checkout / account styling */
.catalog-dropdown__item{align-items:center;min-height:68px}
.catalog-dropdown__item>span{width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,rgba(207,31,43,.10),rgba(207,31,43,.03));border:1px solid rgba(207,31,43,.10);box-shadow:0 10px 24px rgba(16,24,32,.05), inset 0 0 0 1px rgba(255,255,255,.7)}
.catalog-dropdown__icon-img{width:28px!important;height:28px!important;object-fit:contain;display:block;filter:drop-shadow(0 2px 5px rgba(207,31,43,.12))}
.woocommerce-cart .content-area,.woocommerce-checkout .content-area,.woocommerce-account .content-area{width:min(var(--roof-container),calc(100% - 32px))!important;max-width:var(--roof-container)!important;margin:0 auto!important}
.woocommerce-cart .page-section,.woocommerce-checkout .page-section,.woocommerce-account .page-section{padding-top:58px}
.woocommerce-cart .entry-content,.woocommerce-checkout .entry-content,.woocommerce-account .entry-content{color:var(--roof-text)}
.woocommerce-cart .entry-content > .woocommerce,.woocommerce-checkout .entry-content > .woocommerce,.woocommerce-account .entry-content > .woocommerce{display:block}
.woocommerce-cart .woocommerce-notices-wrapper,.woocommerce-checkout .woocommerce-notices-wrapper,.woocommerce-account .woocommerce-notices-wrapper{margin-bottom:18px}

.roof-cart-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(340px,.82fr);gap:28px;align-items:start}
.roof-cart-main{display:grid;gap:18px}
.roof-cart-card{background:#fff;border:1px solid var(--roof-line);border-radius:28px;padding:22px;box-shadow:0 18px 60px rgba(16,24,32,.06)}
.roof-cart-card--actions{padding:18px 20px}
.roof-cart-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:6px}
.roof-cart-header h2,.roof-cart-totals .cart_totals h2{margin:0;font-size:24px;letter-spacing:-.03em}
.roof-cart-header p{margin:0;color:var(--roof-muted)}
.roof-cart-items{display:grid;gap:14px}
.roof-cart-item{display:grid;grid-template-columns:112px minmax(0,1fr) auto;gap:18px;align-items:center;padding:18px;border:1px solid var(--roof-line);border-radius:22px;background:linear-gradient(180deg,#fff,#fbfcfe)}
.roof-cart-item__thumb{display:block;width:112px;height:112px;border-radius:20px;overflow:hidden;background:#f5f7fb}
.roof-cart-item__thumb img{width:100%;height:100%;object-fit:cover}
.roof-cart-item__content{display:grid;gap:10px;min-width:0}
.roof-cart-item__title{margin:0;font-size:20px;line-height:1.2}
.roof-cart-item__title a{color:var(--roof-text)}
.roof-cart-item__title a:hover{color:var(--roof-red)}
.roof-cart-item__excerpt{margin:0;color:#5b6676;font-size:14px;line-height:1.55}
.roof-cart-item__meta{display:flex;flex-wrap:wrap;gap:8px 14px;color:var(--roof-muted);font-size:13px}
.roof-cart-item__price{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--roof-muted)}
.roof-cart-item__price strong{font-size:22px;line-height:1;color:var(--roof-dark)}
.roof-cart-item__controls{display:grid;justify-items:end;gap:16px;min-width:146px}
.roof-cart-item__subtotal{text-align:right}
.roof-cart-item__subtotal-label{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--roof-muted);margin-bottom:6px}
.roof-cart-item__subtotal strong{font-size:24px;line-height:1;color:var(--roof-dark)}
.roof-cart-remove{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:800;color:var(--roof-muted)}
.roof-cart-remove:hover{color:var(--roof-red)}
.woocommerce .roof-cart-item .quantity{display:inline-flex;align-items:center;border:1px solid var(--roof-line);border-radius:14px;background:#fff;overflow:hidden}
.woocommerce .roof-cart-item .quantity .qty{width:78px;height:46px;border:0;border-left:1px solid var(--roof-line);border-right:1px solid var(--roof-line);border-radius:0;text-align:center;padding:0 8px;background:transparent}
.woocommerce .roof-cart-item .quantity button,.roof-qty-btn{width:42px;height:46px;border:0;background:#f6f8fb;color:var(--roof-text);font-size:20px;font-weight:800;cursor:pointer;display:grid;place-items:center}
.woocommerce .roof-cart-item .quantity button:hover,.roof-qty-btn:hover{background:#eef2f7;color:var(--roof-red)}
.roof-cart-actions{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.roof-cart-coupon{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.woocommerce .roof-cart-coupon input{min-width:240px;height:48px;border:1px solid var(--roof-line);border-radius:14px;padding:0 14px;background:#fff}
.woocommerce .roof-cart-actions .button{min-height:48px;border-radius:14px;font-weight:900;padding:0 18px}
.woocommerce .roof-cart-actions .button[name="update_cart"]{background:#111827;color:#fff}
.woocommerce .roof-cart-actions .button[name="update_cart"]:hover{background:#0b1220}
.woocommerce .roof-cart-actions .button[name="apply_coupon"]{background:#f4f6f8;color:var(--roof-text)}
.woocommerce .roof-cart-actions .button[name="apply_coupon"]:hover{background:var(--roof-red);color:#fff}
.roof-cart-totals{position:sticky;top:110px}
.roof-cart-totals .cart_totals{float:none!important;width:auto!important;background:#fff;border:1px solid var(--roof-line);border-radius:28px;padding:24px;box-shadow:0 20px 64px rgba(16,24,32,.08)}
.woocommerce .cart_totals table.shop_table,.woocommerce-checkout-review-order-table{border:0;background:transparent}
.woocommerce .cart_totals table.shop_table th,.woocommerce .cart_totals table.shop_table td,.woocommerce-checkout-review-order-table th,.woocommerce-checkout-review-order-table td{padding:14px 0;border-top:1px solid var(--roof-line)}
.woocommerce .cart_totals table.shop_table tr:first-child th,.woocommerce .cart_totals table.shop_table tr:first-child td,.woocommerce-checkout-review-order-table tr:first-child th,.woocommerce-checkout-review-order-table tr:first-child td{border-top:0}
.woocommerce .cart_totals .order-total th,.woocommerce .cart_totals .order-total td,.woocommerce-checkout-review-order-table .order-total th,.woocommerce-checkout-review-order-table .order-total td{font-size:24px;font-weight:900;color:var(--roof-dark)}
.woocommerce .wc-proceed-to-checkout{padding-bottom:0}
.woocommerce .wc-proceed-to-checkout a.checkout-button{margin-bottom:0;display:inline-flex;align-items:center;justify-content:center;min-height:54px;border-radius:16px;font-size:16px;box-shadow:0 18px 34px rgba(207,31,43,.18)}

.woocommerce-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(340px,.8fr);gap:28px;align-items:start}
.woocommerce-checkout #customer_details{display:grid;gap:18px}
.woocommerce-checkout .col2-set,.woocommerce-page .col2-set{width:100%;float:none;margin:0;display:grid;gap:18px}
.woocommerce-checkout .col2-set .col-1,.woocommerce-checkout .col2-set .col-2{float:none;width:100%;background:#fff;border:1px solid var(--roof-line);border-radius:28px;padding:24px;box-shadow:0 18px 60px rgba(16,24,32,.06)}
.woocommerce-checkout .col2-set h3,.woocommerce-checkout #order_review_heading{margin-top:0;font-size:24px;letter-spacing:-.03em}
.woocommerce-checkout #order_review{background:#fff;border:1px solid var(--roof-line);border-radius:28px;padding:24px;box-shadow:0 18px 60px rgba(16,24,32,.06);position:sticky;top:110px}
.woocommerce-checkout-payment{background:#f8fafc!important;border:1px solid var(--roof-line)!important;border-radius:20px!important;padding:16px!important}
.woocommerce-checkout-payment ul.payment_methods{border-bottom:1px solid var(--roof-line)!important}
.woocommerce-checkout #place_order{width:100%;min-height:54px;border-radius:16px!important;font-size:16px!important}

.woocommerce-account .woocommerce{display:grid;grid-template-columns:260px minmax(0,1fr);gap:28px;align-items:start}
.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.woocommerce-account .woocommerce-MyAccount-navigation a{display:block;padding:14px 16px;border-radius:16px;background:#fff;border:1px solid var(--roof-line);font-weight:800;color:var(--roof-text)}
.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,.woocommerce-account .woocommerce-MyAccount-navigation a:hover{background:linear-gradient(135deg,var(--roof-red),var(--roof-red-dark));color:#fff;box-shadow:0 16px 34px rgba(207,31,43,.20)}
.woocommerce-account .woocommerce-MyAccount-content{background:#fff;border:1px solid var(--roof-line);border-radius:28px;padding:24px;box-shadow:0 18px 60px rgba(16,24,32,.06)}

@media (max-width:1024px){.roof-cart-layout,.woocommerce-checkout form.checkout,.woocommerce-account .woocommerce{grid-template-columns:1fr}.roof-cart-totals,.woocommerce-checkout #order_review{position:static}.roof-cart-item{grid-template-columns:96px minmax(0,1fr)}.roof-cart-item__controls{grid-column:1/-1;grid-template-columns:1fr auto;align-items:end;justify-items:stretch}.roof-cart-item__subtotal{text-align:left}.roof-cart-remove{justify-self:end}.roof-cart-item__thumb{width:96px;height:96px}}
@media (max-width:760px){.roof-cart-card{padding:18px}.roof-cart-header{display:grid;gap:8px}.roof-cart-item{grid-template-columns:1fr}.roof-cart-item__thumb{width:100%;height:220px}.roof-cart-item__controls{grid-template-columns:1fr;justify-items:stretch}.woocommerce .roof-cart-coupon input{min-width:0;width:100%}.roof-cart-coupon,.roof-cart-actions{display:grid;width:100%}.woocommerce .roof-cart-actions .button{width:100%}.woocommerce-checkout .col2-set .col-1,.woocommerce-checkout .col2-set .col-2,.woocommerce-checkout #order_review,.woocommerce-account .woocommerce-MyAccount-content{padding:18px}}
@media (max-width:520px){.woocommerce-cart .content-area,.woocommerce-checkout .content-area,.woocommerce-account .content-area{width:calc(100% - 20px)!important}.roof-cart-item__title{font-size:18px}.roof-cart-item__price strong,.roof-cart-item__subtotal strong{font-size:20px}.woocommerce-cart .page-section,.woocommerce-checkout .page-section,.woocommerce-account .page-section{padding-top:40px}}


/* v1.8 — refined catalog dropdown icons: use generated category thumbnails by default */
.catalog-dropdown{width:min(460px,calc(100vw - 32px));padding:18px;border-radius:26px;box-shadow:0 30px 90px rgba(16,24,32,.18)}
.catalog-dropdown__head{padding:6px 4px 14px;margin-bottom:10px}.catalog-dropdown__head strong{font-size:17px}.catalog-dropdown__head a{font-size:14px}
.catalog-dropdown__grid{gap:6px}.catalog-dropdown__item{grid-template-columns:58px 1fr 18px;gap:14px;min-height:74px;padding:10px 12px;border:1px solid transparent;border-radius:18px}.catalog-dropdown__item:hover{background:#f8fafc;border-color:rgba(207,31,43,.12);box-shadow:0 12px 28px rgba(16,24,32,.06);color:var(--roof-text)}
.catalog-dropdown__item>span{width:58px;height:58px;border-radius:17px;background:#fff;border:1px solid #edf0f5;overflow:hidden;box-shadow:0 8px 22px rgba(16,24,32,.07)}
.catalog-dropdown__item:hover>span{background:#fff;color:var(--roof-red);box-shadow:0 12px 26px rgba(207,31,43,.12);border-color:rgba(207,31,43,.18)}
.catalog-dropdown__icon-img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important;background:#f5f7fa!important;filter:none!important;display:block}
.catalog-dropdown__icon-img--custom{object-fit:cover!important}.catalog-dropdown__icon-img--photo{object-fit:cover!important}
.catalog-dropdown__item strong{font-size:15px;line-height:1.2}.catalog-dropdown__item small{font-size:12px;color:#667085}.catalog-dropdown__item em{font-style:normal;color:#98a2b3;font-size:24px;line-height:1;transition:.18s ease}.catalog-dropdown__item:hover strong{color:var(--roof-red)}.catalog-dropdown__item:hover em{color:var(--roof-red);transform:translateX(2px)}
@media (max-width:760px){.catalog-dropdown{left:0;width:calc(100vw - 24px);max-height:calc(100vh - 110px);overflow:auto}.catalog-dropdown__item{grid-template-columns:54px 1fr 16px;min-height:68px}.catalog-dropdown__item>span{width:54px;height:54px}}


/* v1.9 header/mobile/category popup fixes */
.site-header .container{width:min(100% - 36px,1360px);max-width:1360px}
.header-inner{display:grid;grid-template-columns:auto auto minmax(0,1fr) auto auto;align-items:center;gap:16px}
.site-logo{min-width:0;max-width:240px;overflow:hidden}.site-logo img{max-width:100%;height:auto}.logo-text{min-width:0}.logo-text strong,.logo-text small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.main-nav{min-width:0}.main-nav ul{justify-content:flex-start;gap:18px;flex-wrap:nowrap}.site-header .main-nav>ul>li{flex:0 0 auto}.site-header .main-nav>ul>li>a{font-size:14px;white-space:nowrap}
.header-contact{justify-self:end;text-align:right}
.catalog-menu{z-index:90}.catalog-dropdown{width:min(460px,calc(100vw - 32px));padding:18px}.catalog-dropdown__item{grid-template-columns:56px 1fr 18px;gap:14px;padding:12px 14px;border:1px solid transparent}.catalog-dropdown__item:hover{background:#fff5f6;border-color:rgba(207,31,43,.14)}.catalog-dropdown__item>span{width:56px;height:56px;border-radius:18px;background:linear-gradient(180deg,#fff,#fff5f6);border:1px solid rgba(207,31,43,.12)}.catalog-dropdown__icon-img{width:38px!important;height:38px!important;border-radius:12px;object-fit:cover}.catalog-dropdown__item em{font-style:normal;font-size:26px;line-height:1;color:#c3cad5}.catalog-dropdown__item strong{font-size:18px}.catalog-dropdown__item small{font-size:13px}
.shop-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:30px}.shop-hero-grid .btn{justify-self:end;min-width:250px}
.mobile-catalog-panel{display:none}
@media (max-width:1320px){.header-inner{grid-template-columns:auto auto minmax(0,1fr) auto auto;gap:14px}.main-nav ul{gap:14px}.site-header .main-nav>ul>li>a{font-size:13px}.header-contact{display:none}}
@media (max-width:1080px){.header-inner{grid-template-columns:auto auto 1fr auto}.mobile-menu{display:grid;order:4}.header-actions{display:flex;align-items:center;gap:8px}.header-actions .header-icon{display:none}.catalog-menu{display:block}.catalog-toggle{display:inline-flex;padding:12px 15px;border-radius:14px}.catalog-toggle span{display:inline-block;max-width:96px;overflow:hidden;text-overflow:ellipsis}.main-nav{position:fixed;left:16px;right:16px;top:92px;background:#fff;border:1px solid var(--roof-line);border-radius:22px;box-shadow:0 28px 80px rgba(16,24,32,.18);padding:16px;display:none;z-index:85;max-height:calc(100vh - 120px);overflow:auto}.main-nav.is-open{display:block}.main-nav ul{display:grid;gap:8px}.main-nav a{display:block;padding:12px 14px;border-radius:14px}.main-nav a:hover{background:#f7f9fc}.mobile-catalog-panel{display:grid;gap:10px;padding-top:14px;margin-top:14px;border-top:1px solid var(--roof-line)}.mobile-catalog-panel__head{display:flex;align-items:center;justify-content:space-between;gap:12px}.mobile-catalog-panel__head strong{font-size:15px}.mobile-catalog-panel__head a{font-size:13px;font-weight:900;color:var(--roof-red)}.mobile-catalog-panel__grid{display:grid;gap:8px}.mobile-catalog-panel__item{display:grid;grid-template-columns:44px 1fr;gap:12px;align-items:center;padding:10px;border-radius:14px;background:#f8fafc;color:var(--roof-text)}.mobile-catalog-panel__item span{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:#fff;border:1px solid rgba(207,31,43,.12)}.mobile-catalog-panel__item .catalog-dropdown__icon-img{width:30px!important;height:30px!important;border-radius:10px}.mobile-catalog-panel__item strong{display:block;font-size:14px;line-height:1.2}.mobile-catalog-panel__item small{display:block;color:var(--roof-muted);font-size:12px;margin-top:2px}.catalog-dropdown{position:fixed;left:16px!important;right:16px!important;top:92px;width:auto;max-height:calc(100vh - 120px);overflow:auto}.catalog-menu:hover .catalog-dropdown{display:none}.catalog-menu.is-open .catalog-dropdown{display:block}.admin-bar .main-nav,.admin-bar .catalog-dropdown{top:124px}.shop-hero-grid{grid-template-columns:1fr}.shop-hero-grid .btn{justify-self:start}}
@media (max-width:760px){.header-inner{grid-template-columns:auto auto 1fr auto;gap:10px;min-height:72px}.logo-text{display:none}.site-logo{max-width:60px}.catalog-toggle{padding:11px 14px}.catalog-toggle span{max-width:74px}.mobile-menu{width:42px;height:42px;border-radius:14px}.catalog-dropdown__item strong{font-size:16px}}
@media (max-width:420px){.site-header .container{width:min(100% - 20px,1360px)}.header-inner{grid-template-columns:52px 86px 1fr 42px;gap:8px}.site-logo{max-width:52px}.catalog-toggle{padding:11px 12px;justify-content:center}.catalog-toggle span{max-width:58px;font-size:14px}.catalog-toggle svg{display:none}.main-nav,.catalog-dropdown{left:10px!important;right:10px!important}.shop-hero h1{font-size:32px}.shop-description{font-size:16px}}

/* v1.9 — fixed header, full catalog submenu, mobile catalog and category calc popup */
html,body{max-width:100%;overflow-x:hidden}.site-header{z-index:90}.site-header .container.header-inner{width:min(100% - 40px,1440px)!important;max-width:1440px!important;margin-inline:auto!important;box-sizing:border-box}.header-inner{gap:clamp(12px,1.15vw,20px)!important}.site-logo{min-width:0!important;max-width:230px;flex:0 0 auto}.custom-logo-link img,.site-logo img{max-width:210px;height:auto}.logo-text strong{white-space:nowrap}.logo-text small{white-space:nowrap}.catalog-menu{flex:0 0 auto}.main-nav{flex:1 1 auto;min-width:0}.main-nav ul{justify-content:flex-end!important;gap:clamp(10px,1vw,18px)!important;flex-wrap:nowrap!important}.main-nav a{font-size:clamp(12px,.8vw,14px)!important;white-space:nowrap}.header-contact{flex:0 0 auto;min-width:150px!important}.header-actions{flex:0 0 auto}.header-icon{flex:0 0 auto}.catalog-toggle{display:inline-flex!important;align-items:center;white-space:nowrap}
.catalog-dropdown--mega{width:min(860px,calc(100vw - 32px))!important;padding:18px!important;overflow:visible}.catalog-dropdown--mega .catalog-dropdown__head{padding:4px 4px 14px;margin-bottom:14px}.catalog-dropdown__body{position:relative;display:grid;min-height:420px}.catalog-dropdown__grid{width:420px;max-width:100%;display:grid;gap:8px}.catalog-dropdown__row{display:block}.catalog-dropdown__item{position:relative;grid-template-columns:58px 1fr 18px!important;min-height:76px;padding:10px 12px!important;border:1px solid transparent}.catalog-dropdown__item:hover,.catalog-dropdown__row:hover>.catalog-dropdown__item{background:#f7f9fc;border-color:rgba(207,31,43,.12);box-shadow:0 12px 32px rgba(16,24,32,.06)}.catalog-dropdown__item>span{width:52px!important;height:52px!important;border-radius:16px!important;background:#fff!important;border:1px solid rgba(207,31,43,.12)!important;box-shadow:0 10px 22px rgba(16,24,32,.06)!important;overflow:hidden}.catalog-dropdown__icon-img{width:52px!important;height:52px!important;object-fit:cover!important;border-radius:15px!important;display:block!important}.catalog-dropdown__item em{font-style:normal;color:#98a2b3;font-size:26px;line-height:1;justify-self:end}.catalog-dropdown__item:hover em,.catalog-dropdown__row:hover>.catalog-dropdown__item em{color:var(--roof-red)}.catalog-submenu{display:none;position:absolute;left:438px;right:0;top:0;bottom:0;background:linear-gradient(180deg,#fff,#fbfcfe);border:1px solid var(--roof-line);border-radius:22px;padding:20px;box-shadow:0 18px 48px rgba(16,24,32,.08);overflow:auto}.catalog-dropdown__row.is-first .catalog-submenu{display:block}.catalog-dropdown__grid:hover .catalog-dropdown__row.is-first:not(:hover) .catalog-submenu{display:none}.catalog-dropdown__row:hover .catalog-submenu{display:block}.catalog-submenu__top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid var(--roof-line)}.catalog-submenu__top strong{display:block;font-size:20px;letter-spacing:-.03em}.catalog-submenu__top small{display:block;margin-top:4px;color:var(--roof-muted)}.catalog-submenu__top a{font-size:13px;font-weight:900;color:var(--roof-red);white-space:nowrap}.catalog-submenu__links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:18px}.catalog-submenu__links a{display:block;padding:12px 13px;border-radius:14px;background:#f6f8fb;color:var(--roof-text);font-weight:800}.catalog-submenu__links a:hover{background:rgba(207,31,43,.08);color:var(--roof-red)}.catalog-submenu__links small{display:block;margin-top:3px;color:var(--roof-muted);font-weight:600}.catalog-submenu__products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.catalog-submenu__products a{display:grid;gap:8px;color:var(--roof-text);font-size:12px;font-weight:800}.catalog-submenu__products img{width:100%;height:72px;object-fit:cover;border-radius:12px;background:#f5f7fb}
.shop-hero-grid .btn,.shop-hero-grid button.btn{width:auto!important;min-width:240px;border:0;cursor:pointer}.shop-hero-grid{align-items:center!important}.shop-toolbar{align-items:center!important}.quiz-modal{z-index:9999}.quiz-window{max-height:calc(100vh - 34px);overflow:auto}.quiz-window .btn{width:100%}
@media (max-width:1320px){.header-contact{display:none!important}.main-nav ul{gap:10px!important}.site-logo{max-width:210px}.custom-logo-link img,.site-logo img{max-width:190px}}
@media (max-width:1120px){.main-nav{display:none!important}.main-nav.is-open{display:block!important;position:fixed!important;left:14px!important;right:14px!important;top:88px!important;background:#fff;border:1px solid var(--roof-line);border-radius:22px;box-shadow:var(--roof-shadow);padding:14px;z-index:120}.admin-bar .main-nav.is-open{top:120px!important}.main-nav.is-open ul{display:grid!important;gap:4px!important;justify-content:stretch!important}.main-nav.is-open a{display:block;padding:13px 14px;border-radius:14px;font-size:15px!important}.main-nav.is-open a:hover{background:#f7f9fc}.mobile-menu{display:grid!important}.catalog-menu{display:block!important}.catalog-toggle{display:inline-flex!important}.catalog-dropdown--mega{position:fixed!important;left:14px!important;right:14px!important;top:88px!important;width:auto!important;max-height:calc(100vh - 110px);overflow:auto;z-index:130}.admin-bar .catalog-dropdown--mega{top:120px!important}.catalog-dropdown__body{min-height:0}.catalog-dropdown__grid{width:100%}.catalog-submenu{position:static;display:block!important;margin:8px 0 14px 64px;padding:14px;border-radius:18px;box-shadow:none}.catalog-dropdown__grid:hover .catalog-dropdown__row.is-first:not(:hover) .catalog-submenu{display:block!important}.catalog-submenu__products{grid-template-columns:repeat(3,1fr)}}
@media (max-width:760px){.site-header .container.header-inner{width:calc(100% - 20px)!important}.header-inner{min-height:70px!important;gap:8px!important}.site-logo{max-width:58px!important}.logo-mark,.roof-logo-icon{width:50px!important;height:34px!important}.logo-text{display:none!important}.catalog-toggle{height:44px;padding:0 13px!important;border-radius:14px!important}.catalog-toggle span{display:inline!important;max-width:none!important}.header-actions .header-icon[aria-label="Избранное"],.header-actions .header-icon[aria-label="Личный кабинет"]{display:none!important}.header-actions .header-icon[aria-label="Корзина"]{display:grid!important;width:42px;height:42px}.mobile-menu{width:42px!important;height:42px!important}.catalog-dropdown--mega{left:10px!important;right:10px!important;top:80px!important;max-height:calc(100vh - 96px);border-radius:20px!important;padding:14px!important}.admin-bar .catalog-dropdown--mega{top:112px!important}.catalog-dropdown__item{grid-template-columns:52px 1fr 14px!important;min-height:68px}.catalog-dropdown__item>span,.catalog-dropdown__icon-img{width:46px!important;height:46px!important}.catalog-submenu{margin-left:0}.catalog-submenu__links{grid-template-columns:1fr}.catalog-submenu__products{grid-template-columns:1fr 1fr}.shop-hero-grid{display:grid!important;gap:22px}.shop-hero-grid .btn,.shop-hero-grid button.btn{width:100%!important;min-width:0}.shop-toolbar{display:grid!important;gap:14px}.shop-toolbar .woocommerce-ordering select{width:100%}}
@media (max-width:430px){.catalog-toggle span{display:none!important}.catalog-toggle svg{display:block!important}.catalog-toggle{width:46px;justify-content:center}.header-actions{gap:4px}.catalog-submenu__products{grid-template-columns:1fr}.catalog-dropdown__head a{font-size:12px}.catalog-dropdown__head strong{font-size:15px}}


/* v2.0 — final fixes: quantity control, mobile catalog accordion, header fit */
.site-header{overflow:visible!important}.site-header .container.header-inner{width:min(1320px,calc(100% - 32px))!important;max-width:1320px!important}.header-inner{display:flex!important;align-items:center!important;gap:14px!important}.site-logo{flex:0 0 auto!important;min-width:190px!important;max-width:230px!important}.main-nav{flex:1 1 auto!important;min-width:0!important}.main-nav ul{gap:clamp(12px,1.25vw,20px)!important;justify-content:center!important}.site-header .main-nav>ul>li>a{font-size:14px!important}.header-contact{flex:0 0 auto!important;min-width:158px!important}.header-actions{flex:0 0 auto!important}
@media (max-width:1320px){.site-logo{min-width:170px!important}.site-header .main-nav>ul>li>a{font-size:13px!important}.main-nav ul{gap:10px!important}.header-contact{display:none!important}}
@media (max-width:1120px){.site-logo{min-width:0!important;max-width:58px!important}.site-header .container.header-inner{width:calc(100% - 24px)!important}.header-inner{justify-content:space-between!important}.main-nav{flex:none!important}}

.catalog-dropdown__row{position:relative!important}.catalog-dropdown__item{grid-template-columns:56px minmax(0,1fr)!important;padding-right:58px!important}.catalog-dropdown__item em{display:none!important}.catalog-row-toggle{position:absolute;right:12px;top:50%;transform:translateY(-50%);width:38px;height:38px;border:0;border-radius:13px;background:#f4f6f8;color:#98a2b3;font-size:26px;line-height:1;display:grid;place-items:center;cursor:pointer;transition:.18s ease;z-index:3}.catalog-row-toggle:hover,.catalog-dropdown__row:hover>.catalog-row-toggle,.catalog-dropdown__row.is-open>.catalog-row-toggle{background:rgba(207,31,43,.10);color:var(--roof-red)}.catalog-dropdown__row.is-open>.catalog-row-toggle{transform:translateY(-50%) rotate(90deg)}
.catalog-dropdown__row.is-open .catalog-submenu{display:block}
@media (min-width:1121px){.catalog-dropdown__row:hover .catalog-submenu{display:block}.catalog-dropdown__row.is-first .catalog-submenu{display:block}.catalog-dropdown__grid:hover .catalog-dropdown__row.is-first:not(:hover):not(.is-open) .catalog-submenu{display:none}.catalog-dropdown__row.is-open .catalog-submenu{display:block!important}}

@media (max-width:1120px){body.catalog-open{overflow:hidden}.catalog-dropdown--mega{position:fixed!important;left:12px!important;right:12px!important;top:86px!important;width:auto!important;max-height:calc(100vh - 104px)!important;overflow:auto!important;border-radius:22px!important;padding:14px!important;z-index:180!important}.admin-bar .catalog-dropdown--mega{top:118px!important}.catalog-dropdown__head{position:sticky;top:0;background:#fff;z-index:2;padding:6px 2px 12px!important;margin-bottom:10px!important}.catalog-dropdown__body{display:block!important;min-height:0!important}.catalog-dropdown__grid{width:100%!important;max-width:none!important;gap:8px!important}.catalog-dropdown__row{border:1px solid var(--roof-line);border-radius:18px;background:#fff;overflow:hidden}.catalog-dropdown__item{grid-template-columns:52px minmax(0,1fr)!important;min-height:70px!important;padding:10px 54px 10px 10px!important;border:0!important;box-shadow:none!important;background:#fff!important}.catalog-dropdown__item>span,.catalog-dropdown__icon-img{width:50px!important;height:50px!important}.catalog-dropdown__item strong{font-size:15px!important}.catalog-row-toggle{right:10px;width:40px;height:40px;border-radius:14px}.catalog-submenu,.catalog-dropdown__row.is-first .catalog-submenu{display:none!important;position:static!important;margin:0!important;padding:0 12px 14px!important;border:0!important;border-top:1px solid var(--roof-line)!important;border-radius:0!important;box-shadow:none!important;background:#fbfcfe!important;max-height:none!important;overflow:visible!important}.catalog-dropdown__row.is-open .catalog-submenu{display:block!important}.catalog-submenu__top{padding:12px 0!important;margin:0 0 10px!important}.catalog-submenu__top strong{font-size:16px!important}.catalog-submenu__top small{display:none!important}.catalog-submenu__top a{font-size:12px!important}.catalog-submenu__links{grid-template-columns:1fr!important;gap:8px!important;margin:0!important}.catalog-submenu__links a{padding:11px 12px!important;border-radius:12px!important}.catalog-submenu__products{display:none!important}.catalog-menu:hover .catalog-dropdown{display:none!important}.catalog-menu.is-open .catalog-dropdown{display:block!important}}
@media (max-width:480px){.catalog-dropdown--mega{left:8px!important;right:8px!important;top:78px!important;max-height:calc(100vh - 90px)!important;padding:12px!important}.admin-bar .catalog-dropdown--mega{top:110px!important}.catalog-dropdown__head strong{font-size:15px!important}.catalog-dropdown__item{grid-template-columns:48px minmax(0,1fr)!important;min-height:66px!important;padding-right:50px!important}.catalog-dropdown__item>span,.catalog-dropdown__icon-img{width:46px!important;height:46px!important}.catalog-row-toggle{width:36px;height:36px;font-size:24px}}

/* quantity controls in product card/cart: no native spinner, no broken plus/minus */
.woocommerce input.qty::-webkit-outer-spin-button,.woocommerce input.qty::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important}.woocommerce input.qty[type=number]{-moz-appearance:textfield!important;appearance:textfield!important}.woocommerce .quantity.is-enhanced{display:inline-flex!important;align-items:center!important;width:auto!important;height:50px!important;border:1px solid var(--roof-line)!important;border-radius:15px!important;background:#fff!important;overflow:hidden!important;vertical-align:middle!important}.woocommerce .quantity.is-enhanced .qty{width:62px!important;height:50px!important;border:0!important;border-left:1px solid var(--roof-line)!important;border-right:1px solid var(--roof-line)!important;border-radius:0!important;text-align:center!important;padding:0!important;background:#fff!important;font-weight:800!important;font-size:16px!important;line-height:50px!important;box-shadow:none!important}.woocommerce .quantity.is-enhanced .roof-qty-btn{position:static!important;transform:none!important;width:44px!important;height:50px!important;border:0!important;border-radius:0!important;background:#f6f8fb!important;color:var(--roof-text)!important;font-size:22px!important;font-weight:900!important;line-height:1!important;display:grid!important;place-items:center!important;cursor:pointer!important;margin:0!important;padding:0!important}.woocommerce .quantity.is-enhanced .roof-qty-btn:hover{background:rgba(207,31,43,.09)!important;color:var(--roof-red)!important}.single-cart-box{padding:18px!important}.single-cart-box form.cart,.woocommerce div.product form.cart{display:flex!important;align-items:center!important;gap:14px!important;flex-wrap:wrap!important}.single-cart-box .button.single_add_to_cart_button{min-height:50px!important}.single-product .single-cart-box .quantity+.button{margin-left:0!important}
@media (max-width:560px){.single-cart-box form.cart,.woocommerce div.product form.cart{display:grid!important;grid-template-columns:1fr!important}.woocommerce .quantity.is-enhanced{width:100%!important}.woocommerce .quantity.is-enhanced .qty{flex:1!important;width:auto!important}.single-cart-box .button.single_add_to_cart_button{width:100%!important}}


/* v2.1 — real code fixes: readable form validation, clean gallery, stable header/menu */
.site-header{z-index:900}.site-header .container.header-inner{width:min(1360px,calc(100% - 36px));max-width:1360px;margin:0 auto}.main-nav{overflow:hidden}.main-nav ul{justify-content:center;gap:clamp(10px,1.15vw,18px)}.main-nav li{flex:0 0 auto}.main-nav a{font-size:clamp(13px,.78vw,14px);white-space:nowrap}.header-contact{flex:0 0 auto;min-width:168px}.header-actions{flex:0 0 auto}.site-logo{min-width:210px}.catalog-menu{flex:0 0 auto}
.form-error-summary{display:none;border:1px solid rgba(207,31,43,.25);background:#fff3f4;color:#9f1620;border-radius:16px;padding:12px 14px;font-weight:800;line-height:1.35;margin:0 0 12px}.form-error-summary.is-visible{display:block}.field-error{display:block;margin:6px 0 0;color:var(--roof-red);font-size:13px;font-weight:800;line-height:1.35}.field-error.is-hidden{display:none}.mini-form .field-error,.quiz-window .field-error,.lead-card .field-error{margin-top:-4px}input.is-invalid,select.is-invalid,textarea.is-invalid{border-color:var(--roof-red)!important;background:#fffafa!important;box-shadow:0 0 0 4px rgba(207,31,43,.12)!important}.form-consent.is-invalid{border:1px solid rgba(207,31,43,.28);background:#fff3f4;border-radius:14px;padding:10px!important;color:#9f1620!important}.form-consent .field-error{flex-basis:100%;margin:4px 0 0 25px}.lead-toast{max-width:min(420px,calc(100vw - 28px));line-height:1.35}
.woocommerce input.qty::-webkit-outer-spin-button,.woocommerce input.qty::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important}.woocommerce input.qty[type=number]{-moz-appearance:textfield!important;appearance:textfield!important}.woocommerce .quantity.is-enhanced{display:inline-flex!important;align-items:center!important;width:auto!important;height:50px!important;border:1px solid var(--roof-line)!important;border-radius:15px!important;background:#fff!important;overflow:hidden!important}.woocommerce .quantity.is-enhanced .qty{width:62px!important;height:50px!important;border:0!important;border-left:1px solid var(--roof-line)!important;border-right:1px solid var(--roof-line)!important;border-radius:0!important;text-align:center!important;padding:0!important;background:#fff!important;font-weight:900!important;font-size:16px!important;line-height:50px!important;box-shadow:none!important}.woocommerce .quantity.is-enhanced .roof-qty-btn{position:static!important;width:44px!important;height:50px!important;border:0!important;border-radius:0!important;background:#f6f8fb!important;color:var(--roof-text)!important;font-size:22px!important;font-weight:900!important;display:grid!important;place-items:center!important;margin:0!important;padding:0!important}.woocommerce .quantity.is-enhanced .roof-qty-btn:hover{background:rgba(207,31,43,.09)!important;color:var(--roof-red)!important}.single-cart-box form.cart{display:flex!important;align-items:center!important;gap:14px!important;flex-wrap:wrap!important}.single-cart-box .button.single_add_to_cart_button{min-height:50px!important}
.roof-gallery-lightbox{position:fixed!important;inset:0!important;z-index:10000!important;display:none!important;opacity:0;transition:opacity .18s ease}.roof-gallery-lightbox.is-open{display:block!important;opacity:1}.roof-gallery-lightbox__backdrop{position:absolute!important;inset:0!important;background:rgba(8,13,20,.88)!important;backdrop-filter:blur(10px)!important}.roof-gallery-lightbox__panel{position:absolute!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;width:min(1120px,calc(100vw - 56px))!important;max-height:calc(100vh - 56px)!important;display:flex!important;flex-direction:column!important;gap:14px!important;padding:18px!important;border-radius:28px!important;background:linear-gradient(180deg,#111c29,#0d1622)!important;border:1px solid rgba(255,255,255,.12)!important;box-shadow:0 38px 120px rgba(0,0,0,.54)!important;color:#fff!important;overflow:hidden!important}.roof-gallery-lightbox__top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:16px!important;min-height:44px!important;padding:0!important}.roof-gallery-lightbox__top strong{font-size:18px!important;color:#fff!important}.roof-gallery-lightbox__top span{font-size:13px!important;color:rgba(255,255,255,.62)!important}.roof-gallery-lightbox__close{position:static!important;flex:0 0 44px!important;width:44px!important;height:44px!important;border:1px solid rgba(255,255,255,.15)!important;border-radius:50%!important;background:rgba(255,255,255,.10)!important;color:#fff!important;font-size:30px!important;line-height:1!important;box-shadow:none!important;display:grid!important;place-items:center!important;cursor:pointer!important}.roof-gallery-lightbox__close:hover{background:var(--roof-red)!important}.roof-gallery-lightbox__stage{position:relative!important;min-height:0!important;display:grid!important;place-items:center!important;border-radius:22px!important;background:rgba(255,255,255,.05)!important;overflow:hidden!important;padding:0!important;flex:1 1 auto!important}.roof-gallery-lightbox__stage img{display:block!important;width:auto!important;height:auto!important;max-width:100%!important;max-height:calc(100vh - 220px)!important;object-fit:contain!important;border-radius:18px!important;box-shadow:none!important;background:transparent!important}.roof-gallery-lightbox__nav{position:absolute!important;top:50%!important;transform:translateY(-50%)!important;width:52px!important;height:52px!important;border:1px solid rgba(255,255,255,.20)!important;border-radius:50%!important;background:rgba(255,255,255,.92)!important;color:var(--roof-dark)!important;box-shadow:0 16px 44px rgba(0,0,0,.24)!important;font-size:40px!important;line-height:1!important;display:grid!important;place-items:center!important;cursor:pointer!important}.roof-gallery-lightbox__nav:hover{background:var(--roof-red)!important;color:#fff!important}.roof-gallery-lightbox__prev{left:14px!important}.roof-gallery-lightbox__next{right:14px!important}.roof-gallery-lightbox__thumbs{display:flex!important;justify-content:center!important;gap:10px!important;overflow:auto!important;padding:0 4px 2px!important;flex:0 0 auto!important}.roof-gallery-lightbox__thumb{flex:0 0 82px!important;width:82px!important;height:58px!important;border:2px solid transparent!important;border-radius:14px!important;padding:0!important;background:rgba(255,255,255,.08)!important;overflow:hidden!important;opacity:.7!important;cursor:pointer!important}.roof-gallery-lightbox__thumb img{width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important;box-shadow:none!important;display:block!important}.roof-gallery-lightbox__thumb.is-active,.roof-gallery-lightbox__thumb:hover{opacity:1!important;border-color:var(--roof-red)!important}
@media (max-width:1080px){.main-nav{position:fixed!important;left:16px!important;right:16px!important;top:92px!important;display:none!important;max-height:calc(100vh - 116px)!important;overflow:auto!important;background:#fff!important;border:1px solid var(--roof-line)!important;border-radius:22px!important;box-shadow:var(--roof-shadow)!important;padding:14px!important;z-index:920!important}.admin-bar .main-nav{top:124px!important}.main-nav.is-open{display:block!important}.main-nav ul{display:grid!important;gap:6px!important;justify-content:stretch!important}.main-nav a{display:block!important;padding:12px!important;border-radius:14px!important;white-space:normal!important}.catalog-menu{display:block!important}.catalog-toggle{display:inline-flex!important}.catalog-dropdown{position:fixed!important;left:16px!important;right:16px!important;top:92px!important;width:auto!important;max-height:calc(100vh - 116px)!important;overflow:auto!important;z-index:930!important}.admin-bar .catalog-dropdown{top:124px!important}.catalog-dropdown__panel{display:grid!important;grid-template-columns:1fr!important}.catalog-dropdown__side{display:none!important}.catalog-subcats{display:none}.catalog-dropdown__item.is-open .catalog-subcats{display:grid!important}}
@media (max-width:760px){.site-header .container.header-inner{width:calc(100% - 22px)!important;gap:8px!important}.site-logo{min-width:0!important}.logo-text{display:none!important}.catalog-toggle{padding:11px 13px!important;border-radius:14px!important}.catalog-toggle span{max-width:86px!important;overflow:hidden!important;text-overflow:ellipsis!important}.header-actions .header-icon{display:none!important}.mobile-menu{display:grid!important}.catalog-dropdown{left:10px!important;right:10px!important;top:82px!important;border-radius:20px!important;padding:14px!important}.admin-bar .catalog-dropdown{top:114px!important}.catalog-dropdown__item{grid-template-columns:54px 1fr 26px!important;padding:10px!important;min-height:68px!important}.catalog-dropdown__item>span{width:54px!important;height:54px!important;border-radius:14px!important}.catalog-dropdown__icon-img{width:54px!important;height:54px!important;border-radius:14px!important;object-fit:cover!important}.catalog-subcats{grid-column:1/-1;margin:8px 0 0 66px}.single-cart-box form.cart,.woocommerce div.product form.cart{display:grid!important;grid-template-columns:1fr!important}.woocommerce .quantity.is-enhanced{width:100%!important}.woocommerce .quantity.is-enhanced .qty{flex:1!important;width:auto!important}.single-cart-box .button.single_add_to_cart_button{width:100%!important}.roof-gallery-lightbox__panel{width:calc(100vw - 18px)!important;max-height:calc(100vh - 18px)!important;padding:12px!important;border-radius:22px!important}.roof-gallery-lightbox__stage img{max-height:calc(100vh - 194px)!important;border-radius:16px!important}.roof-gallery-lightbox__nav{width:44px!important;height:44px!important;font-size:34px!important}.roof-gallery-lightbox__prev{left:8px!important}.roof-gallery-lightbox__next{right:8px!important}.roof-gallery-lightbox__thumb{flex-basis:66px!important;width:66px!important;height:50px!important}.quiz-window{width:calc(100vw - 22px)!important;max-height:calc(100vh - 22px)!important;padding:22px!important;border-radius:22px!important}.quiz-window h2{font-size:28px!important}.form-error-summary{font-size:14px!important}.field-error{font-size:13px!important}}


/* v2.2 — corrected product gallery lightbox: no cropped strip, compact panel, correct controls */
body.roof-lightbox-open{overflow:hidden!important}
.roof-gallery-lightbox{position:fixed!important;inset:0!important;z-index:100000!important;display:none!important;opacity:0!important;transition:opacity .18s ease!important}
.roof-gallery-lightbox.is-open{display:flex!important;align-items:center!important;justify-content:center!important;opacity:1!important}
.roof-gallery-lightbox__backdrop{position:absolute!important;inset:0!important;background:rgba(8,13,20,.88)!important;backdrop-filter:blur(10px)!important}
.roof-gallery-lightbox__panel{
    position:relative!important;left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;transform:none!important;
    width:fit-content!important;min-width:min(760px,calc(100vw - 44px))!important;max-width:calc(100vw - 56px)!important;
    max-height:calc(100vh - 56px)!important;display:grid!important;grid-template-rows:auto auto auto!important;gap:14px!important;
    padding:18px!important;border-radius:28px!important;background:linear-gradient(180deg,#111c29,#0c1622)!important;
    border:1px solid rgba(255,255,255,.14)!important;box-shadow:0 34px 120px rgba(0,0,0,.58)!important;color:#fff!important;overflow:hidden!important;
}
.roof-gallery-lightbox__top{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;padding:0!important;min-height:44px!important}
.roof-gallery-lightbox__top strong{font-size:18px!important;line-height:1.1!important;color:#fff!important;margin:0!important}
.roof-gallery-lightbox__top span{font-size:13px!important;color:rgba(255,255,255,.66)!important;margin-top:3px!important}
.roof-gallery-lightbox__close{
    position:static!important;width:44px!important;height:44px!important;flex:0 0 44px!important;border:1px solid rgba(255,255,255,.18)!important;
    border-radius:50%!important;background:rgba(255,255,255,.10)!important;color:#fff!important;font-size:30px!important;line-height:1!important;
    box-shadow:none!important;display:grid!important;place-items:center!important;cursor:pointer!important;padding:0!important;margin:0!important;
}
.roof-gallery-lightbox__close:hover{background:var(--roof-red)!important;border-color:var(--roof-red)!important;color:#fff!important}
.roof-gallery-lightbox__stage{
    position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:0!important;
    width:fit-content!important;max-width:100%!important;border-radius:22px!important;background:transparent!important;overflow:visible!important;padding:0!important;flex:none!important;
}
.roof-gallery-lightbox__stage img,
.roof-gallery-lightbox__stage [data-lightbox-image]{
    display:block!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;
    max-width:calc(100vw - 120px)!important;max-height:calc(100vh - 230px)!important;
    aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;border-radius:20px!important;
    box-shadow:0 22px 72px rgba(0,0,0,.38)!important;background:transparent!important;opacity:1!important;transform:none!important;
}
.roof-gallery-lightbox__nav{
    position:absolute!important;top:50%!important;transform:translateY(-50%)!important;width:52px!important;height:52px!important;border:1px solid rgba(255,255,255,.22)!important;
    border-radius:50%!important;background:rgba(255,255,255,.94)!important;color:var(--roof-dark)!important;box-shadow:0 16px 44px rgba(0,0,0,.26)!important;
    font-size:38px!important;line-height:1!important;display:grid!important;place-items:center!important;cursor:pointer!important;padding:0!important;margin:0!important;z-index:3!important;
}
.roof-gallery-lightbox__nav:hover{background:var(--roof-red)!important;color:#fff!important;border-color:var(--roof-red)!important}
.roof-gallery-lightbox__prev{left:14px!important}.roof-gallery-lightbox__next{right:14px!important}
.roof-gallery-lightbox__thumbs{display:flex!important;justify-content:center!important;gap:10px!important;overflow:auto!important;max-width:100%!important;padding:0 4px 2px!important;scrollbar-width:none!important}
.roof-gallery-lightbox__thumbs::-webkit-scrollbar{display:none!important}
.roof-gallery-lightbox__thumb{flex:0 0 78px!important;width:78px!important;height:58px!important;border:2px solid transparent!important;border-radius:14px!important;padding:0!important;background:rgba(255,255,255,.10)!important;overflow:hidden!important;opacity:.72!important;cursor:pointer!important;box-shadow:none!important;margin:0!important}
.roof-gallery-lightbox__thumb img{width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:cover!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;display:block!important}
.roof-gallery-lightbox__thumb.is-active,.roof-gallery-lightbox__thumb:hover{opacity:1!important;border-color:var(--roof-red)!important;box-shadow:0 10px 26px rgba(207,31,43,.25)!important}
@media (max-width:760px){
  .roof-gallery-lightbox{align-items:center!important;justify-content:center!important}
  .roof-gallery-lightbox__panel{width:calc(100vw - 20px)!important;min-width:0!important;max-width:calc(100vw - 20px)!important;max-height:calc(100vh - 20px)!important;padding:12px!important;border-radius:22px!important;gap:10px!important}
  .roof-gallery-lightbox__top{min-height:40px!important}.roof-gallery-lightbox__top strong{font-size:16px!important}.roof-gallery-lightbox__close{width:40px!important;height:40px!important;flex-basis:40px!important;font-size:28px!important}
  .roof-gallery-lightbox__stage{width:100%!important;border-radius:18px!important;overflow:hidden!important;background:rgba(255,255,255,.04)!important}
  .roof-gallery-lightbox__stage img,.roof-gallery-lightbox__stage [data-lightbox-image]{max-width:100%!important;max-height:calc(100vh - 178px)!important;border-radius:16px!important;box-shadow:none!important}
  .roof-gallery-lightbox__nav{width:42px!important;height:42px!important;font-size:32px!important;background:rgba(255,255,255,.96)!important}.roof-gallery-lightbox__prev{left:8px!important}.roof-gallery-lightbox__next{right:8px!important}
  .roof-gallery-lightbox__thumb{flex-basis:64px!important;width:64px!important;height:48px!important;border-radius:12px!important}
}
@media (max-width:420px){
  .roof-gallery-lightbox__panel{width:calc(100vw - 14px)!important;max-width:calc(100vw - 14px)!important;padding:10px!important;border-radius:20px!important}
  .roof-gallery-lightbox__stage img,.roof-gallery-lightbox__stage [data-lightbox-image]{max-height:calc(100vh - 168px)!important}
}


/* v2.3 — hard fix product gallery lightbox positioning: close button at right, no broken top bar */
.roof-gallery-lightbox.is-open{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:24px!important;
}
.roof-gallery-lightbox__panel{
    position:relative!important;
    left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;transform:none!important;
    width:min(1080px,calc(100vw - 80px))!important;
    min-width:0!important;
    max-width:min(1080px,calc(100vw - 80px))!important;
    max-height:calc(100vh - 80px)!important;
    display:grid!important;
    grid-template-rows:minmax(0,1fr) auto!important;
    gap:14px!important;
    padding:72px 18px 18px!important;
    border-radius:28px!important;
    background:linear-gradient(180deg,#111c29,#0b1420)!important;
    border:1px solid rgba(255,255,255,.14)!important;
    box-shadow:0 34px 120px rgba(0,0,0,.58)!important;
    overflow:hidden!important;
    color:#fff!important;
}
.roof-gallery-lightbox__top{
    position:absolute!important;
    left:22px!important;
    right:22px!important;
    top:18px!important;
    height:44px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:16px!important;
    padding:0!important;
    min-height:44px!important;
    z-index:6!important;
    pointer-events:none!important;
}
.roof-gallery-lightbox__top>div{min-width:0!important;max-width:calc(100% - 62px)!important;pointer-events:none!important}
.roof-gallery-lightbox__top strong{display:block!important;margin:0!important;font-size:18px!important;line-height:1.1!important;color:#fff!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.roof-gallery-lightbox__top span{display:block!important;margin-top:4px!important;font-size:13px!important;color:rgba(255,255,255,.66)!important}
.roof-gallery-lightbox__close{
    position:absolute!important;
    right:0!important;
    top:0!important;
    width:44px!important;
    height:44px!important;
    flex:0 0 44px!important;
    display:grid!important;
    place-items:center!important;
    border:1px solid rgba(255,255,255,.20)!important;
    border-radius:50%!important;
    background:rgba(255,255,255,.12)!important;
    color:#fff!important;
    box-shadow:none!important;
    font-size:30px!important;
    line-height:1!important;
    cursor:pointer!important;
    padding:0!important;
    margin:0!important;
    pointer-events:auto!important;
    z-index:7!important;
}
.roof-gallery-lightbox__close:hover{background:var(--roof-red)!important;border-color:var(--roof-red)!important;color:#fff!important}
.roof-gallery-lightbox__stage{
    position:relative!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    border-radius:22px!important;
    background:transparent!important;
    overflow:visible!important;
    padding:0!important;
}
.roof-gallery-lightbox__stage img,
.roof-gallery-lightbox__stage [data-lightbox-image]{
    display:block!important;
    width:auto!important;
    height:auto!important;
    max-width:100%!important;
    max-height:calc(100vh - 220px)!important;
    object-fit:contain!important;
    object-position:center!important;
    border-radius:20px!important;
    background:transparent!important;
    box-shadow:0 22px 72px rgba(0,0,0,.38)!important;
    transform:none!important;
}
.roof-gallery-lightbox__nav{
    position:absolute!important;
    top:50%!important;
    transform:translateY(-50%)!important;
    z-index:5!important;
    width:52px!important;
    height:52px!important;
    border-radius:50%!important;
    border:1px solid rgba(255,255,255,.25)!important;
    background:rgba(255,255,255,.96)!important;
    color:var(--roof-dark)!important;
    box-shadow:0 16px 44px rgba(0,0,0,.26)!important;
    font-size:38px!important;
    line-height:1!important;
    display:grid!important;
    place-items:center!important;
    cursor:pointer!important;
    padding:0!important;
    margin:0!important;
}
.roof-gallery-lightbox__prev{left:12px!important}
.roof-gallery-lightbox__next{right:12px!important}
.roof-gallery-lightbox__thumbs{
    width:100%!important;
    max-width:100%!important;
    display:flex!important;
    justify-content:center!important;
    gap:10px!important;
    overflow:auto!important;
    padding:0 4px 2px!important;
    scrollbar-width:none!important;
}
.roof-gallery-lightbox__thumbs::-webkit-scrollbar{display:none!important}
.roof-gallery-lightbox__thumb{flex:0 0 78px!important;width:78px!important;height:58px!important;border-radius:14px!important;margin:0!important}
@media (max-width:760px){
    .roof-gallery-lightbox.is-open{padding:10px!important}
    .roof-gallery-lightbox__panel{
        width:calc(100vw - 20px)!important;
        max-width:calc(100vw - 20px)!important;
        max-height:calc(100vh - 20px)!important;
        padding:64px 12px 12px!important;
        border-radius:22px!important;
        gap:10px!important;
    }
    .roof-gallery-lightbox__top{left:14px!important;right:14px!important;top:12px!important;height:40px!important;min-height:40px!important}
    .roof-gallery-lightbox__top strong{font-size:16px!important}
    .roof-gallery-lightbox__top span{font-size:12px!important}
    .roof-gallery-lightbox__close{width:40px!important;height:40px!important;font-size:28px!important}
    .roof-gallery-lightbox__stage{border-radius:18px!important;overflow:visible!important;background:transparent!important}
    .roof-gallery-lightbox__stage img,
    .roof-gallery-lightbox__stage [data-lightbox-image]{max-width:100%!important;max-height:calc(100vh - 176px)!important;border-radius:16px!important;box-shadow:none!important}
    .roof-gallery-lightbox__nav{width:42px!important;height:42px!important;font-size:32px!important}
    .roof-gallery-lightbox__prev{left:8px!important}.roof-gallery-lightbox__next{right:8px!important}
    .roof-gallery-lightbox__thumb{flex-basis:64px!important;width:64px!important;height:48px!important;border-radius:12px!important}
}
@media (max-width:420px){
    .roof-gallery-lightbox__panel{width:calc(100vw - 14px)!important;max-width:calc(100vw - 14px)!important;padding:60px 10px 10px!important;border-radius:20px!important}
    .roof-gallery-lightbox__stage img,
    .roof-gallery-lightbox__stage [data-lightbox-image]{max-height:calc(100vh - 166px)!important}
}


/* v2.4 — working product filters on the homepage */
[data-product-card][hidden],
.product-card.is-filter-hidden{display:none!important}
.product-filter-empty{margin-top:18px;padding:18px 20px;border:1px solid rgba(207,31,43,.18);background:rgba(207,31,43,.06);border-radius:18px;color:var(--roof-red);font-weight:800}
.tabs [data-product-filter]{white-space:nowrap}
@media (max-width:760px){
  .tabs[data-product-tabs]{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding:8px;margin-left:-14px;margin-right:-14px;border-radius:0}
  .tabs[data-product-tabs] button{flex:0 0 auto;scroll-snap-align:start}
}


/* v2.5 — fixed homepage product card add-to-cart button */
.product-card{
    position:relative!important;
    overflow:hidden!important;
    min-width:0!important;
}
.product-grid .product-card{
    display:flex!important;
    flex-direction:column!important;
}
.product-grid .product-card>a{
    flex:1 1 auto!important;
    min-width:0!important;
}
.product-card .product-bottom{
    width:100%!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    align-items:start!important;
    gap:12px!important;
    margin-top:auto!important;
    min-width:0!important;
}
.product-card .price{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    font-size:20px!important;
    line-height:1.15!important;
    color:var(--roof-dark)!important;
    white-space:normal!important;
}
.product-card .cart-mini,
.product-card a.cart-mini,
.product-card a.cart-mini.ajax_add_to_cart,
.product-card a.cart-mini.add_to_cart_button{
    position:relative!important;
    inset:auto!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    top:auto!important;
    transform:none!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:48px!important;
    min-height:48px!important;
    padding:0 16px!important;
    margin:0!important;
    box-sizing:border-box!important;
    border:0!important;
    border-radius:16px!important;
    background:linear-gradient(135deg,var(--roof-red),var(--roof-red-dark))!important;
    color:#fff!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:9px!important;
    font-size:14px!important;
    font-weight:900!important;
    line-height:1!important;
    text-decoration:none!important;
    text-align:center!important;
    white-space:nowrap!important;
    overflow:hidden!important;
    box-shadow:0 14px 30px rgba(207,31,43,.22)!important;
    cursor:pointer!important;
}
.product-card .cart-mini:hover,
.product-card a.cart-mini:hover{
    color:#fff!important;
    transform:translateY(-1px)!important;
    box-shadow:0 18px 38px rgba(207,31,43,.30)!important;
}
.product-card .cart-mini:before,
.product-card .cart-mini:after,
.product-card a.cart-mini:before,
.product-card a.cart-mini:after{
    content:none!important;
    display:none!important;
}
.product-card .cart-mini__icon{
    flex:0 0 auto!important;
    width:18px!important;
    height:18px!important;
    display:grid!important;
    place-items:center!important;
    margin:0!important;
    padding:0!important;
    color:inherit!important;
}
.product-card .cart-mini__icon svg,
.product-card .cart-mini__svg{
    width:18px!important;
    height:18px!important;
    display:block!important;
}
.product-card .cart-mini__text{
    position:static!important;
    inset:auto!important;
    clip:auto!important;
    clip-path:none!important;
    width:auto!important;
    height:auto!important;
    min-width:0!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    display:inline!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    color:inherit!important;
    font:inherit!important;
    line-height:1!important;
    letter-spacing:0!important;
    text-indent:0!important;
    white-space:nowrap!important;
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
}
.product-card .added_to_cart{
    display:none!important;
}
@media (max-width:760px){
    .product-grid{gap:14px!important}
    .product-card .cart-mini,
    .product-card a.cart-mini{
        height:46px!important;
        min-height:46px!important;
        padding:0 12px!important;
        font-size:13px!important;
    }
    .product-card .price{font-size:18px!important}
}


/* v2.6 — product filter final override: hidden cards must stay hidden after later card/button rules */
.product-grid [data-product-card][hidden],
.product-grid .product-card.is-filter-hidden,
.product-grid article.product-card.is-filter-hidden,
.product-grid .shop-product-card.is-filter-hidden,
.product-grid [data-product-card][aria-hidden="true"]{
    display:none!important;
    visibility:hidden!important;
}
.product-grid [data-product-card][aria-hidden="false"]{
    visibility:visible!important;
}
