/* Shared, grouped treatment and product navigation. */
.tas-nav__inner{position:relative}
.tas-nav .tas-menu>li>a,.tas-mobile-nav .tas-menu>li>a{text-transform:uppercase;font-size:12px;font-weight:500;letter-spacing:.035em}
.tas-nav .tas-menu>li>a{padding-left:15px;padding-right:15px}
.tas-menu li.tas-mega-parent{position:static;display:flex;align-items:center}
.tas-menu .tas-mega-parent>a::after{display:none}
.tas-menu .tas-mega-parent>a{padding-right:5px}
.tas-mega-toggle{display:grid;place-items:center;flex:none;width:30px;height:34px;padding:0;border:0;background:transparent;color:#785b44;cursor:pointer;border-radius:8px}
.tas-mega-toggle:hover,.tas-mega-toggle:focus-visible{background:#f4eee8}
.tas-mega-toggle svg{stroke-width:1.7;transform:rotate(90deg);transition:transform .32s cubic-bezier(.22,1,.36,1)}
.tas-mega-parent.is-open>.tas-mega-toggle svg{transform:rotate(270deg)}
.tas-mega{position:absolute;left:50%;top:100%;width:min(1060px,calc(100vw - 48px));transform:translate(-50%,12px);background:#fff;border:1px solid #e9dfd5;border-radius:0 0 16px 16px;box-shadow:0 18px 35px #4833241c;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .28s ease,transform .35s cubic-bezier(.22,1,.36,1),visibility 0s .35s;z-index:50;max-height:calc(100dvh - var(--tas-header-h) - var(--wp-admin--admin-bar--height,0px) - 20px);overflow:auto}
.tas-mega__content{padding:26px 28px 0}
.tas-mega-parent.is-open>.tas-mega{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0);transition-delay:0s}
.tas-mega__intro{display:flex;justify-content:space-between;align-items:center;gap:20px;border-bottom:1px solid #eee7df;padding-bottom:20px;margin-bottom:24px}
.tas-mega__intro>div>span{font-size:10px;font-weight:600;letter-spacing:.14em;color:#81766d}
.tas-mega__intro h2{font:500 32px/1.1 var(--tas-serif);color:#302925;margin:7px 0 0}
.tas-mega__intro>a,.tas-mega__footer>a{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:#785b44}
.tas-mega__intro>a svg{transform:rotate(-35deg)}
.tas-mega__groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;margin-bottom:24px}
.tas-mega__groups--two{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.tas-mega--catalog .tas-mega__heading img{width:64px;height:72px;object-fit:contain;background:#faf8f5;padding:5px}
.tas-mega__description{font-size:12px;line-height:1.7;color:#81766d;margin:16px 0 0;max-width:360px}
.tas-mega__count{margin-left:auto;color:#81766d;font-size:11px}
.tas-mega__group+.tas-mega__group{border-left:1px solid #eee7df;padding-left:24px}
.tas-mega__heading{display:flex;align-items:center;gap:13px;margin-bottom:16px}
.tas-mega__heading img{width:52px;height:60px;object-fit:cover;object-position:center top;border-radius:8px}
.tas-mega__heading h3{font:600 15px/1.3 var(--tas-sans);color:#302925;margin:0 0 5px}
.tas-mega__heading p{font-size:11px;line-height:1.5;color:#81766d;margin:0}
.tas-mega__group ul{list-style:none;margin:0;padding:0;display:grid;gap:5px}
.tas-mega__group li{margin:0;padding:0}
.tas-mega__group li>a{display:flex;justify-content:space-between;gap:12px;align-items:center;min-height:44px;padding:10px 12px;font-size:12px;line-height:1.5;font-weight:500;color:#44372d;border-radius:8px;background:#faf8f5;transition:background .15s}
.tas-mega__group li>a:hover,.tas-mega__group li>a:focus-visible{background:#eee4da;color:#624831}
.tas-mega__arrow{color:#9a8169;flex:none;transform:rotate(-35deg);transition:transform .25s ease}
.tas-mega__group li>a:hover .tas-mega__arrow{transform:translate(2px,-2px) rotate(-35deg)}
.tas-mega__footer{margin:0 -28px;padding:16px 28px;display:flex;justify-content:space-between;gap:15px;background:#faf8f5;font-size:11px;line-height:1.5;color:#81766d}
.tas-mega__footer>a{font-weight:600;color:#785b44}
/* Live results remain attached to the search input on every screen. */
.tas-search{z-index:60}
.tas-live-search[hidden]{display:none}
.tas-live-search{position:absolute;top:calc(100% + 9px);left:0;width:100%;min-width:360px;background:#fff;border:1px solid #e8dfd5;border-radius:14px;box-shadow:0 14px 30px #4833241f;overflow:hidden;text-align:left;animation:tas-search-reveal .24s ease both}
@keyframes tas-search-reveal{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
.tas-live-search__status{margin:0;padding:14px 16px;font-size:12px;line-height:1.5;color:#81766d;border-bottom:1px solid #f0e9e1}
.tas-live-search__list{max-height:min(440px,60dvh);overflow-y:auto;overscroll-behavior:contain}
.tas-live-search__item{display:flex;align-items:center;gap:14px;padding:12px 16px;border-bottom:1px solid #f3eee8;color:#302925}
.tas-live-search__item:last-child{border:0}
.tas-live-search__item:hover,.tas-live-search__item[aria-selected=true]{background:#f7f2ed}
.tas-live-search__item img{width:54px;height:60px;object-fit:contain;flex:none;border-radius:6px;background:white}
.tas-live-search__item>span{min-width:0;display:block}
.tas-live-search__item strong{display:block;font-size:13px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.tas-live-search__item small{display:block;font-size:10px;color:#81766d;margin-top:4px;letter-spacing:.04em}
.tas-live-search__item::after{content:'';margin-left:auto;width:7px;height:7px;flex:none;border-top:1.5px solid #9a8169;border-right:1.5px solid #9a8169;transform:rotate(45deg)}
.tas-mobile-backdrop,.tas-mobile-nav__account{display:none}
.tas-burger__lines,.tas-burger__lines::before,.tas-burger__lines::after{display:block;position:relative;width:16px;height:1.5px;border-radius:2px;background:currentColor;transition:transform .3s ease,background .2s ease,top .3s ease}
.tas-burger__lines::before,.tas-burger__lines::after{position:absolute;content:'';left:0;top:-5px}
.tas-burger__lines::after{top:5px}
.tas-burger[aria-expanded=true] .tas-burger__lines{background:transparent}
.tas-burger[aria-expanded=true] .tas-burger__lines::before{top:0;transform:rotate(45deg)}
.tas-burger[aria-expanded=true] .tas-burger__lines::after{top:0;transform:rotate(-45deg)}
@media(min-width:861px) and (max-width:1200px){.tas-nav .tas-menu>li>a{padding-left:12px;padding-right:12px;font-size:12px}.tas-nav .tas-menu .tas-mega-parent>a{padding-right:2px}}
.tas-mobile-search{display:none}
@media(max-width:860px){
 .tas-header{backdrop-filter:none;background:#fff}
 body.tas-menu-open{overflow:hidden}
 .tas-header__top{grid-template-columns:minmax(0,1fr) auto;gap:12px;row-gap:16px;padding:16px 0}
 .tas-header__top>.tas-search{display:none}
 .tas-header{border-bottom:1px solid #e5d9cd;box-shadow:0 4px 14px #3029250f}
 .tas-mobile-search{display:block;position:relative;z-index:80;background:#faf8f5;padding:12px 0 16px;border-bottom:1px solid #e9dfd5}
 .tas-mobile-search input[type=search]{background:#fff}
 .tas-mobile-search .tas-search{width:100%;max-width:none}
 .tas-header__phones{display:none}
 .tas-header__brand-wrap{min-width:0}
 .tas-header .tas-header__brand{display:flex;width:clamp(180px,58vw,240px);max-width:100%}
 .tas-header .tas-header__brand img{width:100%;max-width:100%;max-height:none;height:auto}
 .tas-header__actions{gap:2px}
 .tas-header__actions>.tas-header__action:nth-child(-n+2){display:none}
 .tas-mobile-backdrop{display:block;position:fixed;inset:var(--tas-mobile-top,var(--tas-header-h)) 0 0;background:#30292545;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .35s ease,visibility 0s .35s;z-index:1}
 .has-open-menu .tas-mobile-backdrop{opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s}
 .tas-mobile-nav,.tas-mobile-nav.is-open{display:block;position:fixed;top:var(--tas-mobile-top,var(--tas-header-h));left:0;right:0;max-height:calc(100dvh - var(--tas-mobile-top,var(--tas-header-h)) - 16px);padding:12px 0 22px;overflow-y:auto;overscroll-behavior:contain;background:#fff;border:0;border-radius:0 0 20px 20px;box-shadow:0 16px 32px #3029251c;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(-12px);transition:opacity .3s ease,transform .4s cubic-bezier(.22,1,.36,1),visibility 0s .4s;z-index:2}
 .tas-mobile-nav.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0);transition-delay:0s}
 .tas-mobile-nav{overflow-anchor:none}
 .tas-mobile-nav .tas-menu>li.tas-mega-parent{position:relative;display:flex;flex-wrap:wrap;align-items:center}
 .tas-mobile-nav .tas-mega-parent::after{content:'';position:absolute;left:0;right:0;top:54px;height:1px;background:var(--tas-line-soft);pointer-events:none}
 .tas-mobile-nav .tas-mega-parent>a{width:auto;flex:1;padding-right:10px}
 .tas-mobile-nav .tas-menu>.tas-mega-parent>a{height:55px;border-bottom:0}
 .tas-mobile-nav .tas-mega-toggle,.tas-mobile-nav .tas-mega-toggle:hover,.tas-mobile-nav .tas-mega-toggle:focus-visible{width:42px;height:42px;background:transparent;border:0;border-radius:0}
 .tas-mobile-nav .tas-mega{display:grid;grid-template-rows:0fr;position:static;flex:0 0 100%;width:100%;max-height:none;transform:none;border:0;border-radius:0;padding:0;box-shadow:none;overflow:visible;background:transparent;transition:grid-template-rows .4s cubic-bezier(.22,1,.36,1),opacity .3s ease,visibility 0s .4s}
 .tas-mobile-nav .tas-mega__body{min-height:0;overflow:hidden}
 .tas-mobile-nav .tas-mega__content{margin:8px 0 12px;padding:20px 16px 0;border:1px solid #e9dfd5;border-radius:12px;overflow:hidden}
 .tas-mobile-nav .tas-mega-parent.is-open>.tas-mega{grid-template-rows:1fr;transform:none;transition-delay:0s}
 .tas-mega__intro{display:block;padding-bottom:16px;margin-bottom:18px}
 .tas-mega__intro h2{font-size:28px;margin-bottom:12px}
 .tas-mega__groups,.tas-mega__groups--two{grid-template-columns:1fr;gap:22px}
 .tas-mega__group+.tas-mega__group{padding-left:0;border-left:0;border-top:1px solid #eee7df;padding-top:20px}
 .tas-mega__group li>a{font-size:13px}
 .tas-mega__footer{margin:0 -16px;padding:16px;flex-direction:column;gap:9px}
 .tas-live-search{min-width:0}
 .tas-mobile-nav__account{display:flex;flex-wrap:wrap;gap:12px 24px;border-top:1px solid #eee7df;margin-top:18px;padding-top:20px}
 .tas-mobile-nav__account a{display:inline-flex;align-items:center;gap:9px;font-size:12px;color:#785b44}
}
@media(prefers-reduced-motion:reduce){.tas-mega,.tas-mega-toggle svg,.tas-mobile-nav,.tas-mobile-nav.is-open,.tas-mobile-nav .tas-mega,.tas-mobile-backdrop,.tas-mega__group li>a,.tas-mega__arrow,.tas-burger__lines,.tas-burger__lines::before,.tas-burger__lines::after{transition:none}.tas-live-search{animation:none}}
