/* Shared BG masthead for internal pages; homepage keeps its original layout. */
body.innerpage .tpl-bg__layout{height:112px!important}
body.innerpage .slideshow{height:112px!important;min-height:0!important;background:#5b2739!important;border-bottom:1px solid #c2a775}
body.innerpage .homeslideshow{display:none}
body.innerpage .leftSide{width:100%;height:112px;display:flex;align-items:center;gap:28px;padding:14px 6%;float:none;box-sizing:border-box}
body.innerpage .slideshow .leftSide{position:absolute;inset:0;margin:0;transform:none}
body.innerpage .nav-toggle__bar{background:#c2a775}
body.innerpage .logo{margin:0;width:70px;flex-shrink:0}
body.innerpage .logo p{margin:0}
body.innerpage .logo .mod-custom,body.innerpage .logo p{width:100%}
body.innerpage .logo #mod-custom119{width:70px;height:auto;margin:0!important;float:none;position:static}
body.innerpage .logo img{width:64px;height:66px;object-fit:contain}
body.innerpage .langswitcher{top:9px;right:auto;left:6%;font-size:12px}
body.innerpage .langswitcher{position:absolute;width:auto;z-index:25}
.bg-inner-banner{width:100%;margin:0;border-bottom:1px solid #c2a775;line-height:0;overflow:hidden}
.bg-inner-banner img{display:block;width:100%;height:auto;max-width:100%;margin:0}
body.innerpage a{transition:color .25s ease,background-color .25s ease,border-color .25s ease,text-decoration-color .25s ease}
body.innerpage a:not(:has(img)):hover{color:#957347}
body.innerpage a:focus-visible{outline:2px solid #c2a775;outline-offset:4px}
/* Explicit site-wide hover preference, including vendor and module link styles. */
body.site.tpl-bg a:hover,body.site.tpl-bg a:focus-visible{text-decoration:none!important}
body.site.tpl-bg .bg-optics .bo-text-link{border-bottom:0}
/* The product menu represents both discovery lists and full product pages. */
body.site.tpl-bg.prodpage .slideshow .mainmenu li.item-130>a{color:#c2a775}
@media(min-width:992px){body.innerpage .mainmenu ul{display:flex;gap:6px 18px;align-items:center;flex-wrap:wrap;padding-top:17px}body.innerpage .mainmenu ul li a{font-family:garamond,serif;font-size:18px;line-height:1.8}html[dir=rtl] body.innerpage .mainmenu ul li a{font-family:iran,Tahoma,sans-serif;font-size:14px}body.innerpage .mainmenu{max-width:calc(100% - 100px)}body.innerpage .mainmenu ul li{margin:0}}
@media(max-width:991px){body.innerpage .tpl-bg__layout{height:100px!important}body.innerpage .slideshow{height:100px!important}body.innerpage .leftSide{height:100px;padding:12px 6%}body.innerpage .nav-toggle{top:29px;right:auto;left:6%}body.innerpage .langswitcher{top:37px;left:calc(6% + 65px)}body.innerpage .site-nav .mainmenu ul li a{font-family:garamond,serif;font-size:24px}html[dir=rtl] body.innerpage .site-nav .mainmenu ul li a{font-family:iran,Tahoma,sans-serif;font-size:20px}}
@media(prefers-reduced-motion:reduce){body.innerpage a{transition:none}}

html:has(body.innerpage){scroll-padding-top:96px}
body.innerpage .slideshow,body.innerpage .leftSide,body.innerpage .logo img{transition:height .25s ease,padding .25s ease}
body.innerpage.bg-header-compact .slideshow{position:fixed;inset:0 0 auto;height:80px!important;z-index:1000;box-shadow:0 5px 20px #2c102424}
body.innerpage.bg-header-compact .leftSide{height:80px;padding-block:8px}
body.innerpage.bg-header-compact .logo img{width:44px;height:46px}
body.innerpage.bg-header-compact .logo,body.innerpage.bg-header-compact .logo #mod-custom119{width:50px}
body.innerpage.bg-header-compact .langswitcher{top:5px}
html[dir=ltr] body.innerpage .langswitcher{left:auto;right:6%}
@media(min-width:992px){body.innerpage.bg-header-compact .mainmenu ul{padding-top:12px;gap:2px 14px}body.innerpage.bg-header-compact .mainmenu ul li a{line-height:1.4}}
@media(max-width:991px){body.innerpage.bg-header-compact .slideshow{height:72px!important}body.innerpage.bg-header-compact .leftSide{height:72px}body.innerpage.bg-header-compact .nav-toggle{top:14px}body.innerpage.bg-header-compact .langswitcher{top:24px}}
@media(prefers-reduced-motion:reduce){body.innerpage .slideshow,body.innerpage .leftSide,body.innerpage .logo img{transition:none}}

/* Footer content must contribute to page height instead of overflowing floated columns. */
body.site.tpl-bg .bottomblock{height:auto!important;min-height:0;padding:120px 6% 24px;box-sizing:border-box;background:#5b2739;clear:both;position:relative;isolation:isolate}
body.site.tpl-bg .bottomblock:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:conic-gradient(#351323 25%,#71334b 0 50%,#351323 0 75%,#71334b 0);background-size:64px 64px;opacity:.7;mask-image:linear-gradient(to right,#000,transparent 24%,transparent 76%,#000);-webkit-mask-image:linear-gradient(to right,#000,transparent 24%,transparent 76%,#000)}
body.site.tpl-bg .bottomblock:after{content:"";position:absolute;inset:0 8% auto;height:48px;background:#e6dac5;border-radius:0 0 110px 110px;z-index:-1;pointer-events:none}
body.site.tpl-bg .bottomblock .bg-footer-brand{position:absolute;top:4px;left:50%;transform:translateX(-50%);width:84px;height:88px;border-radius:50%;background:#5b2739;display:flex;align-items:center;justify-content:center;pointer-events:none}
body.site.tpl-bg .bottomblock .bg-footer-brand img{display:block;width:76px;height:80px;object-fit:contain}
body.site.tpl-bg .bottomblock .bottomIn{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) minmax(0,1fr);gap:30px;width:100%!important;height:auto;margin:0;padding:0}
body.site.tpl-bg .bottomblock .bottomIn>div{float:none;width:auto;min-width:0;margin:0;padding:0;border:0}
body.site.tpl-bg .bottomblock .bottommenu ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 16px;margin:0;padding:0}
body.site.tpl-bg .bottomblock .bottommenu ul li{display:block;width:auto;margin:0!important}
body.site.tpl-bg .bottomblock .bottommenu ul li a{display:flex;align-items:center;min-height:44px;line-height:1.9;font-size:14px;overflow-wrap:break-word}
body.site.tpl-bg .bottomblock .bottomcontent p,body.site.tpl-bg .bottomblock .bottomcontact p{font-size:14px;line-height:2;color:#f4ecdf;text-align:start;margin:0 0 10px;overflow-wrap:break-word}
body.site.tpl-bg .bottomblock .bottomcontent p{text-align:center}
body.site.tpl-bg .bottomblock .zoo-item-list{padding:0;margin:0;list-style:none}
body.site.tpl-bg .bottomblock .bottomsocial{margin-top:24px}
body.site.tpl-bg .tpl-bg__footer{height:auto;min-height:0;margin:0;padding:18px 6%;box-sizing:border-box;clear:both;text-align:center;line-height:1.9}
body.site.tpl-bg .tpl-bg__footer p{margin:0}
body.site.tpl-bg .tpl-bg__footer .dddd-register{font-size:12px;line-height:1.9;margin-top:5px}
@media(max-width:991px){body.site.tpl-bg .bottomblock .bottomIn{grid-template-columns:repeat(2,minmax(0,1fr))}body.site.tpl-bg .bottomblock .bottomcontact{grid-column:1/-1}}
@media(max-width:767px){body.site.tpl-bg .bottomblock{padding:104px 6% 22px}body.site.tpl-bg .bottomblock:before{background-size:44px 44px;opacity:.4;mask-image:linear-gradient(to right,#000,transparent 30%,transparent 70%,#000);-webkit-mask-image:linear-gradient(to right,#000,transparent 30%,transparent 70%,#000)}body.site.tpl-bg .bottomblock:after{height:36px;border-radius:0 0 65px 65px}body.site.tpl-bg .bottomblock .bg-footer-brand{width:68px;height:72px}body.site.tpl-bg .bottomblock .bg-footer-brand img{width:60px;height:64px}body.site.tpl-bg .bottomblock .bottomIn{grid-template-columns:minmax(0,1fr);gap:24px}body.site.tpl-bg .bottomblock .bottomIn>div+div{padding-top:22px;border-top:1px solid #c2a77566}body.site.tpl-bg .bottomblock .bottomcontact{grid-column:auto}body.site.tpl-bg .tpl-bg__footer #mod-custom137 p{font-size:12px;line-height:1.9}body.site.tpl-bg .tpl-bg__footer{padding-block:16px}}
@media(max-width:991px){html[dir] body.innerpage .slideshow .langswitcher,html[dir] body.innerpage.bg-header-compact .slideshow .langswitcher{top:50%;left:50%;right:auto;transform:translate(-50%,-50%)}body.innerpage .langswitcher ul{display:flex;align-items:center;gap:8px;margin:0;padding:0}body.innerpage .langswitcher ul li{margin:0}body.innerpage .langswitcher a{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:44px;font-size:15px}}
