/* Preserve the original artwork and type; replace fixed-size behavior. */
:root{--site-accent:#a1321c;--site-focus:#075f62;--home-footer-height:57px}
[hidden]{display:none!important}
html{height:auto;min-height:100%;scroll-padding-top:16px}
body{min-height:100vh;height:auto;overflow-wrap:break-word;display:flex;flex-direction:column}
#container,#container.inner{flex:1 0 auto;min-height:0;height:auto!important}
img{max-width:100%;height:auto}
button,input,textarea{font:inherit}
a,button,input,textarea{touch-action:manipulation}
:focus-visible{outline:3px solid var(--site-focus);outline-offset:4px}
::selection{background:#dce7d3;color:#181818}
.skip-link{position:fixed;left:16px;top:-100px;z-index:10000;background:white;color:#181818;padding:12px}
.skip-link:focus{top:16px}
#container,.header,.footer,.wrap,.slider-bg{min-width:0}
.wrap{max-width:1400px;box-sizing:border-box}
.header{height:auto;min-height:79px;background-color:#421510}
.header .wrap{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 20px}
.header .logo{float:none;margin:0;flex-shrink:0}
.header nav{flex:1}
.top-menu{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:0}
.top-menu li{margin:0;padding:8px}
.top-menu a{padding:0 1px 2px;min-height:0;line-height:1.3}
.footer,.footer.inner,.footer.map-page{position:relative;bottom:auto;height:auto;min-height:57px;box-sizing:border-box;clear:both;margin:0;flex-shrink:0}
.footer .wrap{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:8px 20px}
.footer .phone{float:none;margin:0;line-height:1.2;white-space:normal}
.footer .phone span{vertical-align:baseline;margin:0 .2em 0 0}
.footer .bot-menu{display:flex;align-items:center;flex-wrap:wrap;gap:16px 24px;margin:0}
.footer .bot-menu>ul{display:flex;align-items:center;flex-wrap:wrap;gap:16px 24px;margin:0;padding:0;list-style:none}
.footer .bot-menu a{display:inline-block;line-height:1.3}
.footer .bot-menu li{float:none;margin:0}
.footer .stat-hint{display:none}
.slider-bg{inset:0;min-height:100%;margin:0;pointer-events:none}
.slider-bg img{display:block;min-width:0;width:100%;height:100%;object-fit:cover;object-position:center}
body:has(.slider-bg){position:relative}
body:has(.slider-bg) .header{position:relative;z-index:6}
.home-page{box-sizing:border-box;padding-bottom:var(--home-footer-height);min-height:100dvh}
html:has(.home-page){scroll-padding-bottom:calc(var(--home-footer-height) + 16px)}
.home-page>.footer{position:fixed;inset:auto 0 0;width:100%;z-index:20}
.slider-bg:not(:has(img.active)) img:not(:first-child){display:none}
.head{height:auto;min-height:160px;padding:48px 0 0;margin-left:7.8%}
.head>div{position:static;top:auto;height:auto;display:flow-root}
.head>div:not(:first-child):not(.active){display:none}
.head h1{height:auto;line-height:1.3;padding:10px 14px;max-width:100%;box-sizing:border-box}
.head .in-catalog{height:auto;min-height:36px;line-height:36px}
.main-carousel{margin:12px 0 32px;clear:both}
.main-carousel .wrapper>ul{padding:0;list-style:none}
.main-carousel .wrapper>ul>li{display:flow-root}
.main-carousel .text-block{box-sizing:border-box;width:min(685px,90%);float:none;min-height:0}
.main-carousel .promo{position:relative;float:none;right:auto;width:min(685px,90%)}
.panel{position:relative;right:auto;margin:28px 20px 0 auto;max-width:600px;box-sizing:border-box;z-index:auto}
.slide-controls,.gallery-controls{display:flex;align-items:center;justify-content:center;gap:12px;margin:12px 0}
.site-control{min-width:44px;min-height:44px;padding:8px 14px;border:1px solid #7b6c62;border-radius:4px;background:#fff;color:#282828;cursor:pointer}
.site-control:hover{background:#f3eee8}
.site-control:disabled{opacity:.45;cursor:default}
.slide-status{background:#fff;color:#282828;padding:8px 12px;font-variant-numeric:tabular-nums}
.gallery-carousel{width:auto;max-width:100%;margin-left:0}
.gallery-carousel>ul{display:flex;overflow-x:auto;gap:12px;padding:8px 4px;scroll-snap-type:x proximity;list-style:none}
.gallery-carousel li{flex:0 0 152px;float:none;margin:0;scroll-snap-align:start}
.gallery-carousel li img{width:152px;height:152px;object-fit:cover}

.category-heading{display:flex;align-items:stretch;max-width:100%;margin-bottom:5px;background:#737373}
.category-heading>a{flex:1;min-width:0;color:#fff;font-size:18px;line-height:1.3;text-transform:uppercase;text-decoration:none;padding:3px 5px 2px;overflow-wrap:normal}
.category-heading>a:hover{background:#414141}
.category-toggle{flex:0 0 28px;min-width:28px;min-height:28px;padding:0;margin:0;border:0;border-radius:0;background:transparent;color:#fff;line-height:1}
.category-toggle:hover{background:#414141}
.catalog-menu-toggle{display:flex;align-items:center;justify-content:space-between;width:100%;box-sizing:border-box;padding:10px 14px;background:#421510;color:#fff;border:0;border-radius:2px;text-align:left}
.catalog-menu-toggle:hover{background:#5b241b}
.catalog-menu-toggle::after{content:"";width:7px;height:7px;margin:0 4px 4px 16px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(45deg)}
.catalog-menu-toggle[aria-expanded="true"]::after{transform:rotate(225deg);margin-bottom:0}
.photo-dialog{padding:16px;border:0;border-radius:6px;background:#fff;color:#282828;max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);box-sizing:border-box}
.photo-dialog::backdrop,.feedback-dialog::backdrop{background:rgb(0 0 0 / .8)}
.photo-dialog>img{display:block;margin:auto;max-height:calc(100dvh - 150px);max-width:100%;object-fit:contain}
.photo-controls{display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:12px}
.photo-controls p{margin:0;flex:1;text-align:center}
.feedback-dialog{border:0;padding:28px;background:#fff;color:#282828;width:min(560px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box}
.feedback-dialog h2{margin:0 0 20px}
.feedback-dialog form p{margin:12px 0}
.feedback-dialog input,.feedback-dialog textarea{width:100%;padding:10px;box-sizing:border-box;border:1px solid #8c817a;border-radius:4px}
.feedback-close{float:right}
.contact-layout{display:grid;grid-template-columns:minmax(240px,360px) minmax(0,1fr);gap:28px;padding:32px 20px}
.contact-layout .contact{padding:0;float:none}
.contact-map{width:100%;height:500px;border:0}
.contact-layout .phone{font-size:24px;margin:12px 0}
.contact-layout .address{font-size:18px}
.inner .content .wrap{padding-left:20px;padding-right:20px;box-sizing:border-box}
.page{min-width:0}
.page .related-heading{font-size:30px}
.page table{max-width:100%;display:block;overflow-x:auto}
.green.long{max-width:100%;box-sizing:border-box}
@media(max-width:1000px){
 .header .wrap{flex-wrap:wrap}.header nav{flex-basis:100%}.top-menu{justify-content:center}
 .page{margin-left:0;margin-right:0}.r-sidebar{display:none}.l-sidebar{float:none;width:auto;padding:0;margin-bottom:24px}
 .catalog-navigation{padding-top:12px}.catalog-navigation .left-menu{margin:0}.catalog-navigation .first-lvl{display:block}
 .main-carousel .text-block{border-bottom:0}
 .main-carousel .slide-controls{width:min(685px,calc(100% - 32px));box-sizing:border-box;margin:0 auto;padding:6px 12px;gap:16px;background:#292522;border-bottom:3px solid var(--site-accent)}
 .main-carousel .slide-controls .site-control{border:0;border-radius:0;background:transparent;color:#fff;min-width:44px;min-height:44px;padding:0;font-size:0}
 .main-carousel .slide-controls .site-control:hover{background:#423b35}
 .main-carousel .slide-controls .site-control::before{content:"";display:inline-block;width:10px;height:10px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(135deg)}
 .main-carousel .slide-controls .site-control:last-child::before{transform:rotate(-45deg)}
 .main-carousel .slide-status{color:#fff;background:transparent;padding:0;font-size:14px}
 .footer .phone{font-size:24px}.footer .bot-menu{float:none}
 .desc .text{width:100%}.desc .set-block{float:none;margin-left:0}
}
@media(max-width:700px){
 .header .wrap{justify-content:center;padding:14px 12px}.top-menu{gap:4px}.top-menu li{padding:8px 6px}.top-menu a{font-size:15px}
 .inner .content{padding-top:24px}.inner .content .wrap{padding:0 16px}
 .l-sidebar{float:none;width:auto;margin-bottom:24px}.page{margin:0;padding-bottom:32px}
 .left-menu{margin:0}.first-lvl{display:block}
 .first-lvl>li>a{display:inline-block;padding:10px 0;line-height:1.4}.sub li{margin:0}.sub a{display:inline-block;padding:8px 0}
 .head{margin:0 16px;padding-top:28px;min-height:130px}.head h1{font-size:28px}
 .panel{margin:20px 16px;padding:20px;max-width:none}.panel p{line-height:1.5}
 .main-carousel .text-block{width:calc(100% - 32px);padding:24px}.main-carousel .promo{width:calc(100% - 32px)}
 .main-carousel .promo h2{position:static;width:auto;height:auto;line-height:1.4;padding:12px}
 .catalog-items ul{display:flex;flex-wrap:wrap;gap:16px}.catalog-items li{margin:0!important;max-width:calc(50% - 8px)}
 .brand-names>div{width:auto;max-width:100%;float:none}.brand-names a.name{font-size:22px}
 .page img{height:auto!important;max-width:100%}.page h1{font-size:28px;line-height:1.2;overflow-wrap:anywhere}
 .set-block{margin:16px 0}.green.long{width:auto}.footer .wrap{justify-content:center;text-align:center}.bot-menu{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}.bot-menu li{margin:0}
 .contact-layout{grid-template-columns:minmax(0,1fr);padding:24px 16px}.contact-map{height:360px}
 .category-toggle{flex-basis:44px;min-width:44px;min-height:44px}
}


/* Desktop is the incumbent composition, not a new visual design. */
@media(min-width:1001px){
 .wrap{max-width:none;box-sizing:content-box}
 .header{height:79px;min-height:0}
 .header .wrap{display:block;padding:14px 0 0 10px}
 .inner .header .wrap{padding-left:0}
 .header .logo{float:left;margin:0 0 0 10px}
 .inner .header .logo{margin:0}
 .header nav{display:block}
 .top-menu{display:block;text-align:right;padding:9px 0 0}
 .top-menu li{display:inline-block;margin:0 .5%;padding:8px 16px 9px}
 .top-menu a{padding:0 1px 2px 0;min-height:0}
 .slider-bg{inset:84px 0 auto;min-height:0;height:calc(100% - 84px);margin:0}
 .slider-bg img{width:max(100%,1450px);height:auto;max-width:none;left:50%;transform:translateX(-50%);object-fit:initial}
 .panel{position:absolute;right:32px;max-width:600px;box-sizing:content-box;padding:16px 33px;margin:32px auto;z-index:10}
 .head{height:157px;min-height:0;padding:67px 0 0;margin:0 0 0 7.8%}
 .head>div{position:absolute;top:65px;left:0;height:90px}
 .head h1{height:58px;line-height:60px;padding:0 11px;box-sizing:content-box}
 .head .in-catalog{height:30px;min-height:0;line-height:28px}
 .main-carousel{position:relative;margin:38px 0 0;padding-bottom:32px}
 .main-carousel .wrapper{width:90%;margin:0 auto;overflow:hidden}
 .main-carousel .text-block{width:615px;max-width:100%;box-sizing:content-box;min-height:374px;padding:43px 35px 27px;margin:0 auto}
 .main-carousel .promo{width:685px;margin:75px auto 0}
 .main-carousel .slide-controls{margin:0}
 .main-carousel .slide-controls .site-control{position:absolute;top:163px;width:44px;height:130px;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:transparent url(/img/main-carousel-arr.png) no-repeat;font-size:0}
 .main-carousel .slide-controls .site-control:first-child{left:0}
 .main-carousel .slide-controls .site-control:last-child{right:0;background-position:-44px 0}
 .main-carousel .slide-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0}
 .inner .content .wrap{padding:0;box-sizing:content-box}
 .main-carousel .wrapper>ul{margin:0;padding:0}
 .contact-layout{display:block;position:relative;padding:0!important;max-width:none!important}
 .contact-map{height:calc(100vh - 139px);min-height:540px;display:block}
 .contact-layout>.contact{position:absolute;z-index:1;top:60px;left:calc(50% - 36px);width:294px;box-sizing:border-box;padding:30px 30px 30px 53px;background:#361918 url(/img/gg-brd.jpg) no-repeat 30px 30px;color:#fff}
 .contact-layout>.contact h1{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .contact-layout>.contact a{color:#fff}
 .contact-layout>.contact .phone{font-size:24px;line-height:1.2}
 .contact-layout>.contact .address{font-size:15px;color:inherit}
 .contact-layout>.contact p{color:inherit}
}
@media(min-width:1190px){.top-menu li{margin:0 3%}}
@media(min-width:1300px){
 .main-carousel .wrapper{width:1168px}
 .main-carousel .wrapper>ul>li{display:grid;grid-template-columns:minmax(0,685px) minmax(0,1fr);gap:40px;align-items:end;position:relative}
 .main-carousel .text-block{float:none;width:auto;max-width:none;margin:0}
 .main-carousel .promo{display:block;position:static;width:auto;float:none;margin:0}
 .promo h2{position:static;display:table;max-width:100%;box-sizing:border-box;width:auto;height:auto;padding:8px 16px;line-height:1.2;text-align:left}
 .promo>ul{display:flex;list-style:none;padding:0;margin:0}
 .promo li{flex:1 1 0;float:none;height:auto;padding:20px 14px 16px;min-width:0}
 .promo li img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover}
 .promo li a{display:block;max-width:152px;margin:0 auto}
}
@media(min-width:1600px){.main-carousel .wrapper{width:1400px}}

/* Gallery cells own their image and caption; neither can escape on hover. */
.photo-grid,.catalog-items .photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(140px,100%),1fr));gap:24px 16px;list-style:none;margin:0;padding:0}
.catalog-items .photo-grid>li{float:none;width:auto;max-width:none;margin:0!important;min-width:0;position:static}
.catalog-items .photo-grid a{display:block;color:#282828}
.catalog-items .photo-grid a>div{min-width:0;min-height:0;position:static}
.catalog-items .photo-grid img{display:block;position:static;width:100%;height:auto!important;aspect-ratio:1;object-fit:cover;transform:none;z-index:auto;top:auto;left:auto}
.catalog-items .photo-grid p{position:static;margin:10px 0 0;line-height:1.4;overflow-wrap:anywhere}
.catalog-items .photo-grid strong{font-size:12px;line-height:1.4}
.catalog-items .photo-grid a:hover img{transform:none;outline:2px solid var(--site-accent);outline-offset:2px}
.work-gallery .photo-grid{grid-template-columns:repeat(auto-fill,minmax(min(170px,100%),1fr))}
.work-gallery .photo-grid img{aspect-ratio:17/11}
.gallery-carousel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:0;position:relative}
.gallery-carousel h2{position:static;grid-column:1;grid-row:1;height:auto;margin:0;line-height:1.3;padding:8px 12px;z-index:auto}
.gallery-carousel>ul{grid-column:1/-1;grid-row:2;margin:0;padding:12px 0;scrollbar-width:none}
.gallery-carousel>ul::-webkit-scrollbar{display:none}
.gallery-carousel li{box-sizing:border-box;flex-basis:176px;width:176px!important;padding:12px;border:0}
.gallery-carousel li img{display:block;width:100%;height:auto!important;aspect-ratio:1;object-fit:cover;margin:0}
.gallery-carousel li span{display:block;margin-top:8px;line-height:1.4;overflow-wrap:anywhere}
.gallery-controls{grid-column:2;grid-row:1;gap:4px;margin:0;padding:0 12px 0 8px;background:#ebebeb}
.gallery-controls .site-control{min-width:32px;min-height:32px;padding:0;border:0;border-radius:0;background:transparent;font-size:0}
.gallery-controls .site-control:hover{background:#d7d7d7}
.gallery-controls .site-control::before{content:"";display:inline-block;width:7px;height:7px;border:solid currentColor;border-width:0 2px 2px 0;transform:rotate(135deg)}
.gallery-controls .site-control:last-child::before{transform:rotate(-45deg)}
@media(pointer:coarse){.gallery-controls .site-control{min-width:44px;min-height:44px}}
@media(max-width:700px){.photo-grid,.catalog-items .photo-grid,.work-gallery .photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* State feedback stays within each control's existing bounds. */
.top-menu a,.category-heading a,.site-control,.catalog-menu-toggle,.photo-grid a{transition:color 160ms ease-out,background-color 160ms ease-out,border-color 160ms ease-out,opacity 160ms ease-out}
.catalog-menu-toggle::after{transition:transform 200ms ease-out}
.photo-dialog[open]{animation:photo-open 200ms ease-out}
@keyframes photo-open{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){
 .top-menu a,.category-heading a,.site-control,.catalog-menu-toggle,.photo-grid a{transition-duration:0s}
 .catalog-menu-toggle::after{transition:none}
 .photo-dialog[open]{animation:none}
}
