/* ThemeShop Header — feature-owned stylesheet */
.themeshop-header{position:relative;z-index:90;background:var(--ts-surface,#fff);color:var(--ts-text,#172033);border-bottom:1px solid var(--ts-border,#e7ebf2)}
.themeshop-header *{box-sizing:border-box}
.themeshop-header__main{background:var(--ts-surface,#fff)}
.themeshop-header__inner,.themeshop-header__nav-inner{width:min(1240px,calc(100% - 40px));margin:0 auto}
.themeshop-header__inner{min-height:82px;display:grid;grid-template-columns:minmax(170px,230px) minmax(220px,1fr) auto;align-items:center;gap:28px}
.themeshop-header__brand{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:4px}
.themeshop-header__brand .custom-logo-link{display:inline-flex;align-items:center;max-width:100%}
.themeshop-header__brand .custom-logo{display:block;width:auto;max-width:210px;max-height:52px;object-fit:contain}
.themeshop-header__site-title{font-size:24px;line-height:1.15;font-weight:800;letter-spacing:-.6px;color:inherit;text-decoration:none}
.themeshop-header__tagline{font-size:11px;color:var(--ts-muted,#7b8798)}
.themeshop-header__search{height:46px;display:flex;align-items:center;border:1px solid var(--ts-border,#e2e7ef);border-radius:9px;background:var(--ts-field,#f7f8fb);overflow:hidden;transition:border-color .2s,box-shadow .2s}
.themeshop-header__search:focus-within{border-color:var(--ts-primary,#286ff0);box-shadow:0 0 0 3px rgba(40,111,240,.1)}
.themeshop-header__search input[type=search]{flex:1;min-width:0;height:100%;padding:0 15px;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:inherit;font-size:13px}
.themeshop-header__search button{width:48px;height:100%;flex:0 0 48px;border:0!important;border-radius:0!important;background:var(--ts-primary,#286ff0)!important;color:#fff!important;display:grid;place-items:center;cursor:pointer}
.themeshop-header__search button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.themeshop-header__actions{display:flex;align-items:center;justify-content:flex-end;gap:18px;white-space:nowrap}
.themeshop-header__icon-link,.themeshop-header__account{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:7px;color:inherit;text-decoration:none;font-size:12px;font-weight:650}
.themeshop-header__icon-link svg,.themeshop-header__account svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.themeshop-header__cart-count{min-width:18px;height:18px;padding:0 5px;display:inline-flex;align-items:center;justify-content:center;border-radius:20px;background:var(--ts-primary,#286ff0);color:#fff;font-size:10px;font-weight:700}
.themeshop-header__theme-toggle{width:36px;height:36px;border:1px solid var(--ts-border,#e5e9f0);border-radius:50%;background:transparent;color:inherit;cursor:pointer}
.themeshop-header__navigation{border-top:1px solid var(--ts-border,#edf0f4);background:var(--ts-surface,#fff)}
.themeshop-header__nav-inner{display:flex;flex-direction:column}
.themeshop-header__primary-nav{min-height:44px;display:flex;align-items:center}
.themeshop-header__primary-nav ul,.themeshop-header__categories{display:flex;align-items:center;gap:26px;list-style:none;margin:0;padding:0}
.themeshop-header__primary-nav li{position:relative;margin:0;padding:0}
.themeshop-header__primary-nav a,.themeshop-header__categories a{display:inline-flex;align-items:center;min-height:42px;color:var(--ts-text,#263247);font-size:12px;font-weight:650;text-decoration:none;transition:color .2s}
.themeshop-header__primary-nav a:hover,.themeshop-header__categories a:hover{color:var(--ts-primary,#286ff0)}
.themeshop-header__primary-nav .sub-menu{position:absolute;top:100%;left:0;z-index:20;display:none;min-width:190px;padding:8px;background:var(--ts-surface,#fff);border:1px solid var(--ts-border,#e5e9f0);border-radius:9px;box-shadow:0 12px 30px rgba(20,35,60,.12)}
.themeshop-header__primary-nav li:hover>.sub-menu,.themeshop-header__primary-nav li:focus-within>.sub-menu{display:block}
.themeshop-header__primary-nav .sub-menu a{display:flex;min-height:36px;padding:7px 10px}
.themeshop-header__categories{min-height:38px;gap:24px;border-top:1px solid var(--ts-border,#f0f2f6);overflow-x:auto;scrollbar-width:none}
.themeshop-header__categories::-webkit-scrollbar{display:none}
.themeshop-header__categories a{min-height:38px;color:var(--ts-muted,#66748a);font-size:11px;font-weight:550;white-space:nowrap}
.themeshop-header__categories .themeshop-header__category-all{color:var(--ts-primary,#286ff0);font-weight:750}
.themeshop-header__menu-toggle,.themeshop-header__mobile-backdrop,.themeshop-header__mobile-panel{display:none}
@media(max-width:1024px){
 .themeshop-header__inner,.themeshop-header__nav-inner{width:calc(100% - 24px)}
 .themeshop-header__inner{grid-template-columns:minmax(140px,190px) minmax(180px,1fr) auto;gap:16px}
 .themeshop-header__actions{gap:12px}
 .themeshop-header__primary-nav ul,.themeshop-header__categories{gap:18px}
}
@media(max-width:760px){
 .themeshop-header__inner{width:calc(100% - 20px);min-height:64px;grid-template-columns:36px minmax(0,1fr) auto;gap:10px}
 .themeshop-header__menu-toggle{width:36px;height:36px;display:flex;align-items:center;justify-content:center;border:1px solid var(--ts-border,#e5e9f0);border-radius:8px;background:transparent;color:inherit;cursor:pointer}
 .themeshop-header__hamburger{width:17px;display:flex;flex-direction:column;gap:4px}
 .themeshop-header__hamburger i{display:block;width:17px;height:2px;border-radius:2px;background:currentColor}
 .themeshop-header__brand{align-items:flex-start}
 .themeshop-header__brand .custom-logo{max-width:150px;max-height:38px}
 .themeshop-header__site-title{font-size:19px}
 .themeshop-header__tagline{display:none}
 .themeshop-header__search{grid-column:1/-1;grid-row:2;height:42px;margin:0 0 11px}
 .themeshop-header__actions{gap:10px}
 .themeshop-header__icon-link{gap:3px}
 .themeshop-header__icon-link svg,.themeshop-header__account svg{width:19px;height:19px}
 .themeshop-header__action-label,.themeshop-header__account span{display:none}
 .themeshop-header__account{width:30px;height:32px}
 .themeshop-header__theme-toggle{width:32px;height:32px}
 .themeshop-header__navigation{display:none}
 .themeshop-header__mobile-backdrop{position:fixed;inset:0;z-index:9998;display:block;background:rgba(12,20,35,.48);opacity:0;visibility:hidden;transition:opacity .22s,visibility .22s}
 .themeshop-header__mobile-panel{position:fixed;top:0;bottom:0;left:0;z-index:9999;display:flex;flex-direction:column;width:min(86vw,340px);padding:0;background:var(--ts-surface,#fff);color:var(--ts-text,#172033);box-shadow:12px 0 35px rgba(0,0,0,.15);transform:translateX(-105%);transition:transform .25s ease;overflow-y:auto}
 .themeshop-header.is-menu-open .themeshop-header__mobile-backdrop{opacity:1;visibility:visible}
 .themeshop-header.is-menu-open .themeshop-header__mobile-panel{transform:translateX(0)}
 .themeshop-header__mobile-panel-head{min-height:62px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid var(--ts-border,#e7ebf2)}
 .themeshop-header__mobile-panel-head strong{font-size:16px}
 .themeshop-header__mobile-panel-head button{width:34px;height:34px;border:0;border-radius:50%;background:var(--ts-field,#f4f6fa);font-size:24px;line-height:1;cursor:pointer}
 .themeshop-header__mobile-nav{padding:12px 18px 28px}
 .themeshop-header__mobile-nav ul{list-style:none;margin:0;padding:0}
 .themeshop-header__mobile-nav li{margin:0;border-bottom:1px solid var(--ts-border,#eef1f5)}
 .themeshop-header__mobile-nav a,.themeshop-header__mobile-categories a{display:flex;align-items:center;min-height:45px;color:inherit;text-decoration:none;font-size:14px;font-weight:600}
 .themeshop-header__mobile-nav .sub-menu{padding-left:15px}
 .themeshop-header__mobile-nav .sub-menu a{min-height:38px;font-size:13px;font-weight:500}
 .themeshop-header__mobile-categories{display:flex;flex-direction:column;margin-top:22px}
 .themeshop-header__mobile-categories strong{padding:10px 0;color:var(--ts-muted,#7b8798);font-size:11px;text-transform:uppercase;letter-spacing:.08em}
}
@media(max-width:380px){
 .themeshop-header__inner{width:calc(100% - 16px);grid-template-columns:32px minmax(0,1fr) auto;gap:7px}
 .themeshop-header__menu-toggle{width:32px;height:32px}
 .themeshop-header__actions{gap:7px}
 .themeshop-header__theme-toggle{width:29px;height:29px}
}

/* Theme Options: header controls */
.themeshop-header{background:var(--ts-header-bg,var(--ts-surface,#fff));color:var(--ts-header-text,var(--ts-text,#172033))}
.themeshop-header__main,.themeshop-header__navigation{background:var(--ts-header-bg,var(--ts-surface,#fff))}
.themeshop-header--sticky{position:sticky;top:0;z-index:999}
.admin-bar .themeshop-header--sticky{top:32px}
.themeshop-header__topbar{background:var(--ts-primary,#5b4bdb);color:#fff;font-size:12px;font-weight:600;padding:8px 0;text-align:center}
.themeshop-header__topbar .themeshop-header__inner{min-height:0;display:block}
@media(max-width:782px){.admin-bar .themeshop-header--sticky{top:46px}}

/* MarketBob-inspired three-row marketplace header */
.themeshop-market-header{--ts-market-green:#4caf50;--ts-market-dark:#222;--ts-market-muted:#8b9bb5;background:#fff;color:#222;border:0;font-family:var(--ts-body-font,system-ui,sans-serif)}
.themeshop-market-header .ts-market-promo{height:var(--ts-promo-height,59px);min-height:var(--ts-promo-height,59px);background:var(--ts-promo-bg,var(--ts-market-green));color:var(--ts-promo-text,#fff);display:flex;align-items:center}
.themeshop-market-header .ts-market-promo[hidden]{display:none!important}
.themeshop-market-header .ts-market-promo:not([hidden]){display:flex!important;visibility:visible!important;opacity:1!important}
.themeshop-market-header .ts-market-promo__inner>span{color:var(--ts-promo-text,#fff)}
.themeshop-market-header .ts-market-promo__inner{width:min(1435px,calc(100% - 48px));margin:auto;min-height:var(--ts-promo-height,59px);display:flex;align-items:center;justify-content:center;gap:14px;position:relative;font-size:14px;font-weight:500;color:var(--ts-promo-text,#fff)}
.themeshop-market-header .ts-market-promo__inner>a{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:32px;padding:0 22px;border-radius:5px;background:var(--ts-promo-button-bg,#fff);color:var(--ts-promo-button-text,#32843a);text-decoration:none;font-size:13px;font-weight:500}
.themeshop-market-header .ts-market-promo__close{position:absolute;right:0;top:50%;transform:translateY(-50%);border:0;background:transparent;color:var(--ts-promo-text,#fff);font-size:23px;line-height:1;padding:4px 7px;cursor:pointer}
.themeshop-market-header .ts-market-main{height:80px;background:#222;color:#fff}
.themeshop-market-header .ts-market-main__inner{width:min(1435px,calc(100% - 48px));height:100%;margin:auto;display:flex;align-items:center;gap:28px}
.themeshop-market-header .ts-market-brand{flex:0 0 300px;min-width:180px;display:flex;align-items:center}
.themeshop-market-header .ts-market-brand .custom-logo-link{display:inline-flex;align-items:center}
.themeshop-market-header .ts-market-brand .custom-logo{width:auto;max-width:220px;max-height:48px;object-fit:contain}
.themeshop-market-header .ts-market-brand__text{font-size:30px;font-weight:750;letter-spacing:-.7px;color:#fff;text-decoration:none}
.themeshop-market-header .ts-market-utility{flex:1;min-width:0;display:flex;align-items:center;justify-content:flex-end;gap:21px;white-space:nowrap}
.themeshop-market-header .ts-market-utility>a,.themeshop-market-header .ts-market-utility__list a{color:#fff;text-decoration:none;font-size:14px;font-weight:450}
.themeshop-market-header .ts-market-utility>a:hover,.themeshop-market-header .ts-market-utility__list a:hover{color:#9cdaa0}
.themeshop-market-header .ts-market-utility__list{display:flex;align-items:center;gap:21px;list-style:none;margin:0;padding:0}
.themeshop-market-header .ts-market-tools{display:flex;align-items:center;gap:12px;white-space:nowrap}
.themeshop-market-header .ts-market-currency{display:flex;align-items:center;gap:7px;border:0;background:transparent;color:#fff;font-size:14px;cursor:pointer;padding:6px 2px}
.themeshop-market-header .ts-market-flag{font-size:20px;line-height:1}
.themeshop-market-header .ts-market-chevron{font-size:18px;line-height:1;color:inherit}
.themeshop-market-header .ts-market-premium{height:39px;min-width:141px;padding:0 17px;display:inline-flex;align-items:center;justify-content:center;gap:7px;border:1px solid #4caf50;border-radius:6px;color:#4caf50;text-decoration:none;font-size:14px}
.themeshop-market-header .ts-market-premium span{font-size:17px}
.themeshop-market-header .ts-market-cart{position:relative;width:44px;height:39px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #fff;border-radius:6px;color:#fff;text-decoration:none}
.themeshop-market-header .ts-market-cart svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.themeshop-market-header .ts-market-cart b{position:absolute;right:-5px;top:-10px;min-width:18px;height:21px;padding:0 4px;display:grid;place-items:center;background:#4caf50;color:#fff;border-radius:5px;font-size:11px}
.themeshop-market-header .ts-market-auth{height:39px;min-width:94px;padding:0 15px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #4caf50;border-radius:6px;color:#4caf50;text-decoration:none;font-size:14px}
.themeshop-market-header .ts-market-auth--signup{background:#4caf50;color:#fff;font-weight:600}
.themeshop-market-header .ts-market-user{position:relative;display:flex;align-items:center}
.themeshop-market-header .ts-market-user__trigger{display:flex;align-items:center;gap:9px;min-height:40px;padding:0;border:0;background:transparent;color:#fff;text-decoration:none;font:inherit;font-size:14px;white-space:nowrap;cursor:pointer}
.themeshop-market-header .ts-market-user__trigger:hover,.themeshop-market-header .ts-market-user__trigger:focus{color:#fff;background:transparent}
.themeshop-market-header .ts-market-user__avatar,.themeshop-market-header .ts-market-user__avatar img{width:38px;height:38px;border-radius:8px;display:block;object-fit:cover}
.themeshop-market-header .ts-market-user__name{max-width:130px;overflow:hidden;text-overflow:ellipsis}
.themeshop-market-header .ts-market-user__chevron{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;transition:transform .15s ease}
.themeshop-market-header .ts-market-user.is-open .ts-market-user__chevron{transform:rotate(180deg)}
.themeshop-market-header .ts-market-user__dropdown{position:absolute;right:0;top:calc(100% + 10px);z-index:1000;width:220px;min-width:200px;padding:6px 0;background:#fff;border:1px solid #e6e8ed;border-radius:7px;box-shadow:0 10px 25px rgba(0,0,0,.16)}
.themeshop-market-header .ts-market-user__dropdown[hidden]{display:none!important}
.themeshop-market-header .ts-market-user__dropdown:before{content:"";position:absolute;right:18px;top:-6px;width:11px;height:11px;background:#fff;border-top:1px solid #e6e8ed;border-left:1px solid #e6e8ed;transform:rotate(45deg)}
.themeshop-market-header .ts-market-user__item{position:relative;display:flex!important;align-items:center;gap:12px;min-height:43px;padding:8px 13px!important;color:#202b3c!important;text-decoration:none!important;font-size:14px!important;line-height:1.3;border-radius:0!important;background:#fff!important}
.themeshop-market-header .ts-market-user__item svg{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.themeshop-market-header .ts-market-user__item:hover,.themeshop-market-header .ts-market-user__item:focus{background:#f4f7f5!important;color:#299b45!important}
.themeshop-market-header .ts-market-user__item--logout{margin-top:5px;border-top:1px solid #e9edf0;color:#ed3d45!important;padding-top:12px!important}
.themeshop-market-header .ts-market-user__item--logout svg{stroke:#ed3d45}
@media(max-width:760px){.themeshop-market-header .ts-market-user__dropdown{right:0;width:210px}.themeshop-market-header .ts-market-user__name{max-width:82px}}
.themeshop-market-header .ts-market-categories{height:65px;background:#fff;color:#8293ad;border-bottom:1px solid #e9edf2}
.themeshop-market-header .ts-market-categories__inner{width:min(1435px,calc(100% - 48px));height:100%;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}
.themeshop-market-header .ts-market-category-nav{flex:1;min-width:0;overflow:visible}
.themeshop-market-header .ts-market-category-nav>a,.themeshop-market-header .ts-market-category-list>li>a{height:64px;display:inline-flex;align-items:center;gap:7px;margin-right:22px;color:#8293ad;text-decoration:none;font-size:16px;white-space:nowrap}
.themeshop-market-header .ts-market-category-list{display:flex;align-items:center;gap:22px;list-style:none;margin:0;padding:0}
.themeshop-market-header .ts-market-category-list>li{position:relative;margin:0;padding:0}
.themeshop-market-header .ts-market-category-list>li>a{margin:0}
.themeshop-market-header .ts-market-category-list .sub-menu{display:none;position:absolute;top:100%;left:0;z-index:50;min-width:190px;margin:0;padding:7px;list-style:none;background:#fff;border:1px solid #e5e9ef;border-radius:6px;box-shadow:0 10px 25px rgba(0,0,0,.1)}
.themeshop-market-header .ts-market-category-list li:hover>.sub-menu,.themeshop-market-header .ts-market-category-list li:focus-within>.sub-menu{display:block}
.themeshop-market-header .ts-market-category-list .sub-menu a{display:block;padding:9px 11px;color:#71829b;text-decoration:none;font-size:13px}
.themeshop-market-header .ts-market-search{width:267px;height:50px;flex:0 0 267px;display:flex;align-items:center;border:1px solid #e1e6ed;border-radius:9px;background:#fff;overflow:hidden}
.themeshop-market-header .ts-market-search input[type=search]{height:100%;min-width:0;flex:1;padding:0 18px;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:#526078;font-size:14px}
.themeshop-market-header .ts-market-search input::placeholder{color:#8293ad;opacity:1}
.themeshop-market-header .ts-market-search button{width:48px;height:100%;display:grid;place-items:center;flex:0 0 48px;border:0!important;border-radius:0!important;background:transparent!important;color:#8293ad;cursor:pointer}
.themeshop-market-header .ts-market-search button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.themeshop-market-header .ts-market-mobile-toggle{display:none}
.themeshop-market-header .themeshop-header__navigation{display:none}
@media(max-width:1250px){.themeshop-market-header .ts-market-main__inner{gap:17px}.themeshop-market-header .ts-market-brand{flex-basis:220px}.themeshop-market-header .ts-market-utility,.themeshop-market-header .ts-market-utility__list{gap:12px}.themeshop-market-header .ts-market-utility>a,.themeshop-market-header .ts-market-utility__list a{font-size:12px}.themeshop-market-header .ts-market-premium{min-width:110px;padding:0 10px}}
@media(max-width:980px){.themeshop-market-header .ts-market-main{height:auto;min-height:78px}.themeshop-market-header .ts-market-main__inner{flex-wrap:wrap;padding:12px 0}.themeshop-market-header .ts-market-brand{flex:1}.themeshop-market-header .ts-market-utility{display:none}.themeshop-market-header .ts-market-tools{margin-left:auto}.themeshop-market-header .ts-market-categories__inner{gap:14px}.themeshop-market-header .ts-market-category-nav{overflow-x:auto;scrollbar-width:none}.themeshop-market-header .ts-market-category-list{width:max-content}.themeshop-market-header .ts-market-search{width:220px;flex-basis:220px}}
@media(max-width:650px){.themeshop-market-header .ts-market-promo,.themeshop-market-header .ts-market-promo__inner{height:auto;min-height:var(--ts-promo-height,46px)}.themeshop-market-header .ts-market-promo__inner{width:calc(100% - 32px);justify-content:flex-start;padding-right:26px;font-size:10px;gap:8px}.themeshop-market-header .ts-market-promo__inner>a{min-height:26px;padding:0 9px;font-size:10px;white-space:nowrap}.themeshop-market-header .ts-market-promo__close{right:-8px;font-size:20px}.themeshop-market-header .ts-market-main__inner,.themeshop-market-header .ts-market-categories__inner{width:calc(100% - 24px)}.themeshop-market-header .ts-market-main__inner{min-height:65px;padding:9px 0}.themeshop-market-header .ts-market-brand .custom-logo{max-width:145px;max-height:38px}.themeshop-market-header .ts-market-brand__text{font-size:21px}.themeshop-market-header .ts-market-tools{gap:7px}.themeshop-market-header .ts-market-currency,.themeshop-market-header .ts-market-premium{display:none}.themeshop-market-header .ts-market-cart{width:36px;height:34px}.themeshop-market-header .ts-market-auth{height:34px;min-width:0;padding:0 9px;font-size:11px}.themeshop-market-header .ts-market-user__trigger{gap:5px;font-size:11px}.themeshop-market-header .ts-market-user__avatar,.themeshop-market-header .ts-market-user__avatar img{width:30px;height:30px}.themeshop-market-header .ts-market-categories{height:auto;min-height:58px}.themeshop-market-header .ts-market-categories__inner{min-height:58px;gap:12px}.themeshop-market-header .ts-market-mobile-toggle{display:flex;width:34px;height:34px;flex:0 0 34px;align-items:center;justify-content:center;border:1px solid #e2e7ed;border-radius:6px;background:#fff;color:#60738f}.themeshop-market-header .ts-market-category-nav{display:none}.themeshop-market-header .ts-market-search{width:auto;height:42px;flex:1}.themeshop-market-header .ts-market-search input[type=search]{padding:0 12px;font-size:12px}.themeshop-market-header .ts-market-search button{width:40px;flex-basis:40px}}


/* Native WordPress hierarchical navigation: unlimited nested menu levels. */
.themeshop-market-header .ts-market-category-list li{position:relative}
.themeshop-market-header .ts-market-category-list .sub-menu{display:none;position:absolute;top:100%;left:0;z-index:120;min-width:210px;width:max-content;max-width:280px;margin:0;padding:7px;list-style:none;background:#fff;border:1px solid #e5e9ef;border-radius:7px;box-shadow:0 12px 28px rgba(20,30,45,.14)}
.themeshop-market-header .ts-market-category-list li:hover>.sub-menu,
.themeshop-market-header .ts-market-category-list li:focus-within>.sub-menu{display:block}
.themeshop-market-header .ts-market-category-list .sub-menu li{display:block;width:100%}
.themeshop-market-header .ts-market-category-list .sub-menu a{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:38px;padding:9px 12px;color:#71829b;text-decoration:none;font-size:13px;line-height:1.35;white-space:normal;border-radius:4px}
.themeshop-market-header .ts-market-category-list .sub-menu a:hover,
.themeshop-market-header .ts-market-category-list .sub-menu a:focus{background:#f2f7f2;color:#329b3c}
/* Third and deeper levels open as cascading flyouts. */
.themeshop-market-header .ts-market-category-list .sub-menu .sub-menu{top:-8px;left:100%;margin-left:2px}
.themeshop-market-header .ts-market-category-list .sub-menu .sub-menu{display:none}
.themeshop-market-header .ts-market-category-list .sub-menu li:hover>.sub-menu,
.themeshop-market-header .ts-market-category-list .sub-menu li:focus-within>.sub-menu{display:block}
/* Mobile accordion controls are added by header.js; links remain normal WordPress links. */
@media(max-width:650px){
 .themeshop-header__mobile-nav li{position:relative}
 .themeshop-header__mobile-nav li.menu-item-has-children>.sub-menu{display:none;padding:0 0 5px 14px}
 .themeshop-header__mobile-nav li.menu-item-has-children.is-submenu-open>.sub-menu{display:block}
 .themeshop-header__mobile-nav .sub-menu .sub-menu{padding-left:14px}
 .themeshop-header__mobile-nav .ts-submenu-toggle{position:absolute;right:0;top:5px;width:34px;height:34px;display:grid;place-items:center;border:1px solid #e4e9ef;border-radius:5px;background:#fff;color:#60738f;cursor:pointer}
 .themeshop-header__mobile-nav .ts-submenu-toggle:before{content:"";width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:transform .18s}
 .themeshop-header__mobile-nav li.is-submenu-open>.ts-submenu-toggle:before{transform:rotate(225deg)}
 .themeshop-header__mobile-nav li.menu-item-has-children>a{padding-right:42px}
}


/* v1.9.3 — Native hierarchical category navigation fix.
   WordPress outputs every nested level as ul.sub-menu inside li.menu-item-has-children.
   These rules target the actual .ts-market-category-nav markup rendered by header.php. */
.themeshop-market-header .ts-market-categories{position:relative;z-index:95;background:#fff;color:#222}
.themeshop-market-header .ts-market-categories__inner{width:min(1435px,calc(100% - 48px));min-height:64px;margin:0 auto;display:flex;align-items:center;gap:24px}
.themeshop-market-header .ts-market-category-nav{flex:1;min-width:0}
.themeshop-market-header .ts-market-category-nav ul,
.themeshop-market-header .ts-market-category-nav li{list-style:none;margin:0;padding:0}
.themeshop-market-header .ts-market-category-nav > ul{display:flex;align-items:center;gap:26px}
.themeshop-market-header .ts-market-category-nav li{position:relative}
.themeshop-market-header .ts-market-category-nav a{display:flex;align-items:center;gap:8px;min-height:64px;padding:0 1px;color:#8998b0;text-decoration:none;font-size:14px;font-weight:500;white-space:nowrap}
.themeshop-market-header .ts-market-category-nav a:hover,
.themeshop-market-header .ts-market-category-nav li.current-menu-item>a,
.themeshop-market-header .ts-market-category-nav li.current-menu-ancestor>a{color:var(--ts-market-green,#4caf50)}
.themeshop-market-header .ts-market-category-nav .sub-menu{position:absolute;top:100%;left:0;z-index:1000;display:block;min-width:220px;padding:8px;background:#fff;border:1px solid #e8ebf0;border-radius:7px;box-shadow:0 12px 30px rgba(20,30,50,.14);opacity:0;visibility:hidden;pointer-events:none;transform:translateY(7px);transition:opacity .16s ease,transform .16s ease,visibility .16s ease}
.themeshop-market-header .ts-market-category-nav li:hover>.sub-menu,
.themeshop-market-header .ts-market-category-nav li:focus-within>.sub-menu,
.themeshop-market-header .ts-market-category-nav li.is-submenu-open>.sub-menu{opacity:1;visibility:visible;pointer-events:auto;transform:translateY(0)}
.themeshop-market-header .ts-market-category-nav .sub-menu li{width:100%}
.themeshop-market-header .ts-market-category-nav .sub-menu a{min-height:40px;padding:8px 12px;color:#526078;font-size:13px;white-space:normal;justify-content:space-between;border-radius:4px}
.themeshop-market-header .ts-market-category-nav .sub-menu a:hover{background:#f4f7f5;color:var(--ts-market-green,#4caf50)}
.themeshop-market-header .ts-market-category-nav .sub-menu .sub-menu{top:0;left:100%;margin-left:2px;transform:translateX(7px)}
.themeshop-market-header .ts-market-category-nav .sub-menu li:hover>.sub-menu,
.themeshop-market-header .ts-market-category-nav .sub-menu li:focus-within>.sub-menu,
.themeshop-market-header .ts-market-category-nav .sub-menu li.is-submenu-open>.sub-menu{transform:translateX(0)}
.themeshop-market-header .ts-market-search{flex:0 0 268px;height:48px;display:flex;align-items:center;border:1px solid #e5e8ee;border-radius:8px;overflow:hidden;background:#fff}
.themeshop-market-header .ts-market-search input[type=search]{flex:1;min-width:0;height:100%;padding:0 15px;border:0!important;outline:0!important;background:transparent!important;box-shadow:none!important;color:#344054;font-size:14px}
.themeshop-market-header .ts-market-search button{width:48px;height:100%;display:grid;place-items:center;border:0;background:transparent;color:#8998b0;cursor:pointer}
.themeshop-market-header .ts-market-search button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.themeshop-market-header .ts-market-user{position:relative}
.themeshop-market-header .ts-market-user__dropdown{position:absolute;top:calc(100% + 12px);right:0;z-index:1100;min-width:180px;padding:7px;background:#fff;border:1px solid #e8ebf0;border-radius:7px;box-shadow:0 12px 30px rgba(0,0,0,.15);opacity:0;visibility:hidden;transform:translateY(6px);transition:.16s}
.themeshop-market-header .ts-market-user:hover .ts-market-user__dropdown,
.themeshop-market-header .ts-market-user:focus-within .ts-market-user__dropdown{opacity:1;visibility:visible;transform:translateY(0)}
.themeshop-market-header .ts-market-user__dropdown a{display:block;padding:10px 12px;color:#344054;text-decoration:none;font-size:13px}
.themeshop-market-header .ts-market-user__dropdown a:hover{background:#f4f7f5;color:var(--ts-market-green,#4caf50)}
@media(max-width:1024px){
 .themeshop-market-header .ts-market-main__inner,.themeshop-market-header .ts-market-promo__inner,.themeshop-market-header .ts-market-categories__inner{width:calc(100% - 28px)}
 .themeshop-market-header .ts-market-brand{flex-basis:210px}
 .themeshop-market-header .ts-market-utility{gap:12px}
 .themeshop-market-header .ts-market-utility__list{gap:12px}
 .themeshop-market-header .ts-market-category-nav>ul{gap:16px}
 .themeshop-market-header .ts-market-search{flex-basis:220px}
}
@media(max-width:760px){
 .themeshop-market-header .ts-market-categories__inner{width:calc(100% - 20px);min-height:0;gap:12px;flex-wrap:wrap;padding:10px 0}
 .themeshop-market-header .ts-market-mobile-toggle{display:flex;flex:0 0 36px}
 .themeshop-market-header .ts-market-category-nav{display:none}
 .themeshop-market-header .ts-market-search{flex:1 1 calc(100% - 50px);height:42px}
 .themeshop-market-header .themeshop-header__mobile-nav ul{display:block}
 .themeshop-market-header .themeshop-header__mobile-nav li{position:relative;display:block;width:100%;border-bottom:1px solid #edf0f4}
 .themeshop-market-header .themeshop-header__mobile-nav li>a{display:flex;align-items:center;min-height:44px;padding:7px 42px 7px 0;color:#344054;text-decoration:none;font-size:14px}
 .themeshop-market-header .themeshop-header__mobile-nav .sub-menu{display:none;position:static;width:100%;min-width:0;margin:0;padding:0 0 5px 15px;border:0;border-radius:0;background:transparent;box-shadow:none;opacity:1;visibility:visible;pointer-events:auto;transform:none}
 .themeshop-market-header .themeshop-header__mobile-nav li.is-submenu-open>.sub-menu{display:block}
 .themeshop-market-header .themeshop-header__mobile-nav .sub-menu li>a{min-height:38px;font-size:13px;font-weight:500}
 .themeshop-market-header .themeshop-header__mobile-nav .ts-submenu-toggle{position:absolute;top:5px;right:0;z-index:2;width:34px;height:34px;border:1px solid #e8ebf0;border-radius:5px;background:#fff;color:#526078;cursor:pointer}
 .themeshop-market-header .themeshop-header__mobile-nav .ts-submenu-toggle:before{content:"";display:inline-block;width:7px;height:7px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);transition:transform .16s}
 .themeshop-market-header .themeshop-header__mobile-nav li.is-submenu-open>.ts-submenu-toggle:before{transform:rotate(225deg)}
 .themeshop-market-header .ts-market-main{height:auto;min-height:70px}
 .themeshop-market-header .ts-market-main__inner{width:calc(100% - 20px);min-height:70px;gap:10px}
 .themeshop-market-header .ts-market-brand{flex:1 1 auto;min-width:0}
 .themeshop-market-header .ts-market-utility{display:none}
 .themeshop-market-header .ts-market-tools{gap:8px}
 .themeshop-market-header .ts-market-premium,.themeshop-market-header .ts-market-currency{display:none}
 .themeshop-market-header .ts-market-promo__inner{width:calc(100% - 20px);font-size:11px;gap:7px;padding-right:22px}
 .themeshop-market-header .ts-market-promo__inner>a{min-height:28px;padding:0 10px;font-size:11px}
 .themeshop-market-header .ts-market-promo__close{right:-4px}
}


/* v1.9.4 — Plain click-to-open WordPress menu behaviour.
   No animated dropdowns, shadows, rounded menu panels or hover-triggered opening. */
.themeshop-market-header .ts-market-category-nav li,
.themeshop-market-header .ts-market-utility li{position:relative}
.themeshop-market-header .ts-market-category-nav .sub-menu,
.themeshop-market-header .ts-market-utility .sub-menu{
	display:none;
	position:absolute;
	top:100%;
	left:0;
	z-index:1200;
	min-width:190px;
	margin:0;
	padding:0;
	list-style:none;
	background:#fff;
	border:1px solid #ccc;
	border-radius:0;
	box-shadow:none;
	opacity:1;
	visibility:visible;
	pointer-events:auto;
	transform:none;
	transition:none;
}
.themeshop-market-header .ts-market-category-nav li.is-submenu-open>.sub-menu,
.themeshop-market-header .ts-market-utility li.is-submenu-open>.sub-menu{display:block}
.themeshop-market-header .ts-market-category-nav .sub-menu li,
.themeshop-market-header .ts-market-utility .sub-menu li{display:block;width:100%;margin:0;padding:0}
.themeshop-market-header .ts-market-category-nav .sub-menu a,
.themeshop-market-header .ts-market-utility .sub-menu a{
	display:block;
	min-height:0;
	height:auto;
	margin:0;
	padding:8px 12px;
	border:0;
	border-radius:0;
	background:#fff;
	color:#222;
	font-size:13px;
	font-weight:400;
	line-height:1.4;
	text-decoration:none;
	white-space:normal;
}
.themeshop-market-header .ts-market-category-nav .sub-menu a:hover,
.themeshop-market-header .ts-market-utility .sub-menu a:hover{
	background:#f2f2f2;
	color:#222;
}
.themeshop-market-header .ts-market-category-nav .sub-menu .sub-menu,
.themeshop-market-header .ts-market-utility .sub-menu .sub-menu{
	top:0;
	left:100%;
	margin:0;
}
.themeshop-market-header .ts-market-utility__list{display:flex;align-items:center;gap:21px}
.themeshop-market-header .ts-market-utility__list>li{position:relative}
.themeshop-market-header .ts-market-utility__list>li>a{display:inline-flex;align-items:center;min-height:40px}
.themeshop-market-header .ts-market-utility .sub-menu{white-space:normal}
.themeshop-market-header .ts-submenu-toggle{
	display:inline-block;
	width:auto;
	height:auto;
	margin:0 0 0 5px;
	padding:2px 4px;
	border:0;
	border-radius:0;
	background:transparent;
	color:inherit;
	font:inherit;
	font-size:9px;
	line-height:1;
	vertical-align:middle;
	cursor:pointer;
	box-shadow:none;
}
.themeshop-market-header .ts-submenu-toggle:hover,
.themeshop-market-header .ts-submenu-toggle:focus{background:transparent;color:inherit;box-shadow:none}
.themeshop-market-header .ts-market-category-nav>ul>li>.ts-submenu-toggle,
.themeshop-market-header .ts-market-utility>ul>li>.ts-submenu-toggle{position:absolute;right:-17px;top:50%;transform:translateY(-50%)}
@media(max-width:760px){
 .themeshop-market-header .themeshop-header__mobile-nav .sub-menu{
  display:none;
  position:static;
  min-width:0;
  margin:0;
  padding:0 0 0 14px;
  border:0;
  background:transparent;
  box-shadow:none;
 }
 .themeshop-market-header .themeshop-header__mobile-nav li.is-submenu-open>.sub-menu{display:block}
 .themeshop-market-header .themeshop-header__mobile-nav .sub-menu .sub-menu{position:static}
 .themeshop-market-header .themeshop-header__mobile-nav .ts-submenu-toggle{
  position:absolute;
  top:7px;
  right:0;
  width:auto;
  min-width:28px;
  height:28px;
  margin:0;
  padding:4px 7px;
  border:0;
  background:transparent;
  color:inherit;
  font-size:9px;
 }
}

/* v1.9.5 — prevent duplicate menu arrows; the separate click toggle is the only indicator */
.themeshop-market-header .ts-market-category-nav li.menu-item-has-children>a:after,
.themeshop-market-header .ts-market-category-nav li.menu-item-has-children>a:before,
.themeshop-market-header .ts-market-utility li.menu-item-has-children>a:after,
.themeshop-market-header .ts-market-utility li.menu-item-has-children>a:before{
 content:none!important;
 display:none!important;
}


/* v1.9.6 — align submenu arrows beside labels and make utility dropdowns clickable/visible */
.themeshop-market-header .ts-market-category-nav li.menu-item-has-children,
.themeshop-market-header .ts-market-utility li.menu-item-has-children{
	position:relative;
}
.themeshop-market-header .ts-market-category-nav li.menu-item-has-children>a,
.themeshop-market-header .ts-market-utility li.menu-item-has-children>a{
	padding-right:20px;
}
.themeshop-market-header .ts-market-category-nav li.menu-item-has-children>.ts-submenu-toggle,
.themeshop-market-header .ts-market-utility li.menu-item-has-children>.ts-submenu-toggle{
	position:absolute!important;
	top:50%!important;
	right:2px!important;
	left:auto!important;
	transform:translateY(-50%)!important;
	display:inline-flex!important;
	align-items:center!important;
	justify-content:center!important;
	width:16px!important;
	height:20px!important;
	margin:0!important;
	padding:0!important;
	border:0!important;
	background:transparent!important;
	color:inherit!important;
	font-size:9px!important;
	line-height:1!important;
	cursor:pointer;
}
.themeshop-market-header .ts-market-category-nav .sub-menu .sub-menu,
.themeshop-market-header .ts-market-utility .sub-menu .sub-menu{
	top:0!important;
	left:100%!important;
	right:auto!important;
}
.themeshop-market-header .ts-market-utility{
	position:relative;
	z-index:1300;
	overflow:visible!important;
}
.themeshop-market-header .ts-market-utility__list{
	position:relative;
	z-index:1300;
	overflow:visible!important;
}
.themeshop-market-header .ts-market-utility__list>li>.sub-menu{
	top:100%!important;
	left:0!important;
}
.themeshop-market-header .ts-market-utility .sub-menu{
	z-index:1400!important;
	display:none;
	min-width:190px;
}
.themeshop-market-header .ts-market-utility li.is-submenu-open>.sub-menu{
	display:block!important;
}
.themeshop-market-header .ts-market-category-nav .sub-menu{
	display:none;
}
.themeshop-market-header .ts-market-category-nav li.is-submenu-open>.sub-menu{
	display:block!important;
}
@media(max-width:760px){
 .themeshop-market-header .ts-market-category-nav li.menu-item-has-children>a,
 .themeshop-market-header .ts-market-utility li.menu-item-has-children>a{padding-right:24px}
 .themeshop-market-header .themeshop-header__mobile-nav li.menu-item-has-children>.ts-submenu-toggle{
  top:7px!important;right:0!important;transform:none!important;
 }
}


/* v1.9.7 — Align all marketplace header inner containers with site content/footer */
.themeshop-market-header .ts-market-promo__inner,
.themeshop-market-header .ts-market-main__inner,
.themeshop-market-header .ts-market-categories__inner{
	width:min(calc(100% - 40px),var(--ts-container,1200px))!important;
	margin-inline:auto!important;
}
@media(max-width:760px){
 .themeshop-market-header .ts-market-promo__inner,
 .themeshop-market-header .ts-market-main__inner,
 .themeshop-market-header .ts-market-categories__inner{
  width:calc(100% - 28px)!important;
 }
}


/* v1.10.0 — Complete marketplace header element placement */
.themeshop-market-header .ts-market-tools{flex:0 0 auto;display:flex;align-items:center;justify-content:flex-end;gap:12px}
.themeshop-market-header .ts-market-wishlist{
	position:relative;width:44px;height:39px;display:inline-flex;align-items:center;justify-content:center;
	border:1px solid #fff;border-radius:6px;color:#fff;text-decoration:none;flex:0 0 auto
}
.themeshop-market-header .ts-market-wishlist svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.themeshop-market-header .ts-market-wishlist:hover{color:#fff}
.themeshop-market-header .ts-market-currency{display:inline-flex;align-items:center;gap:7px;min-height:36px;padding:0 2px;color:#fff;font-size:14px;white-space:nowrap}
.themeshop-market-header .ts-market-utility{flex:1 1 auto;min-width:0}
.themeshop-market-header .ts-market-utility__list{justify-content:flex-end}
@media(max-width:1250px){
 .themeshop-market-header .ts-market-tools{gap:8px}
 .themeshop-market-header .ts-market-wishlist{width:38px;height:36px}
}
@media(max-width:760px){
 .themeshop-market-header .ts-market-wishlist{width:34px;height:34px}
 .themeshop-market-header .ts-market-wishlist svg{width:17px;height:17px}
}


/* v1.10.1 — Currency plugin output sits naturally in the dark utility row. */
.themeshop-market-header .ts-market-currency-switcher{
	display:inline-flex;
	align-items:center;
	flex:0 0 auto;
	max-width:180px;
}
.themeshop-market-header .ts-market-currency-switcher select{
	max-width:180px;
	min-height:34px;
	margin:0;
	padding:4px 26px 4px 9px;
	border:1px solid rgba(255,255,255,.45);
	border-radius:3px;
	background:#222;
	color:#fff;
	font:inherit;
	font-size:13px;
	box-shadow:none;
}
.themeshop-market-header .ts-market-currency-switcher .woocs-style-1-dropdown,
.themeshop-market-header .ts-market-currency-switcher .yay-currency-switcher{
	max-width:180px;
}


/* v1.12.4 — compact, no-overflow mobile marketplace header */
@media(max-width:650px){
  .themeshop-market-header,
  .themeshop-market-header *{box-sizing:border-box}
  .themeshop-market-header{width:100%;max-width:100%;overflow:visible}
  .themeshop-market-header .ts-market-promo{height:auto;min-height:46px;padding:5px 0}
  .themeshop-market-header .ts-market-promo__inner{
    width:calc(100% - 34px)!important;
    min-height:36px;height:auto!important;
    display:flex;flex-wrap:nowrap;align-items:center;justify-content:center;
    gap:7px;padding:0 20px 0 0!important;
    font-size:10px;line-height:1.35;text-align:center;
  }
  .themeshop-market-header .ts-market-promo__inner>span{
    display:block;flex:1 1 auto;min-width:0;white-space:normal;
    overflow-wrap:anywhere;
  }
  .themeshop-market-header .ts-market-promo__inner>a{
    flex:0 0 auto;min-height:27px;padding:0 9px;font-size:10px;white-space:nowrap
  }
  .themeshop-market-header .ts-market-promo__close{right:-13px;top:50%;font-size:20px}
  .themeshop-market-header .ts-market-main{height:auto;min-height:64px}
  .themeshop-market-header .ts-market-main__inner{
    width:calc(100% - 28px)!important;
    min-height:64px!important;height:auto!important;
    display:flex!important;flex-wrap:nowrap!important;align-items:center!important;
    justify-content:space-between;gap:8px!important;padding:8px 0!important;
  }
  .themeshop-market-header .ts-market-brand{
    flex:1 1 auto!important;min-width:0!important;width:auto!important;
    overflow:hidden
  }
  .themeshop-market-header .ts-market-brand__text{
    display:block;max-width:100%;font-size:clamp(17px,5vw,21px)!important;
    line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis
  }
  .themeshop-market-header .ts-market-brand .custom-logo{max-width:135px!important;max-height:34px!important}
  .themeshop-market-header .ts-market-tools{
    flex:0 0 auto!important;min-width:0!important;margin:0!important;
    display:flex!important;align-items:center;justify-content:flex-end;
    gap:6px!important;white-space:nowrap
  }
  .themeshop-market-header .ts-market-currency,
  .themeshop-market-header .ts-market-premium{display:none!important}
  .themeshop-market-header .ts-market-wishlist,
  .themeshop-market-header .ts-market-cart{
    width:34px!important;height:34px!important;flex:0 0 34px!important
  }
  .themeshop-market-header .ts-market-wishlist svg,
  .themeshop-market-header .ts-market-cart svg{width:17px!important;height:17px!important}
  .themeshop-market-header .ts-market-user{flex:0 0 auto!important;min-width:0}
  .themeshop-market-header .ts-market-user__trigger{
    display:flex!important;align-items:center;gap:0!important;
    min-height:34px!important;padding:0!important
  }
  .themeshop-market-header .ts-market-user__avatar,
  .themeshop-market-header .ts-market-user__avatar img{
    width:32px!important;height:32px!important;border-radius:7px!important
  }
  .themeshop-market-header .ts-market-user__name,
  .themeshop-market-header .ts-market-user__chevron{display:none!important}
  .themeshop-market-header .ts-market-user__dropdown{right:0!important;top:calc(100% + 8px)!important}
  .themeshop-market-header .ts-market-categories{height:auto!important;min-height:56px!important}
  .themeshop-market-header .ts-market-categories__inner{
    width:calc(100% - 28px)!important;min-height:56px!important;
    height:auto!important;display:flex!important;flex-wrap:nowrap!important;
    align-items:center!important;gap:10px!important
  }
  .themeshop-market-header .ts-market-mobile-toggle{
    width:36px!important;height:36px!important;flex:0 0 36px!important
  }
  .themeshop-market-header .ts-market-search{
    display:flex!important;flex:1 1 auto!important;width:auto!important;
    min-width:0!important;height:40px!important;margin:0!important
  }
  .themeshop-market-header .ts-market-search input[type=search]{
    width:100%!important;min-width:0!important;padding:0 10px!important;font-size:12px!important
  }
  .themeshop-market-header .ts-market-search button{width:36px!important;flex:0 0 36px!important}
}
@media(max-width:360px){
  .themeshop-market-header .ts-market-main__inner,
  .themeshop-market-header .ts-market-categories__inner{width:calc(100% - 22px)!important}
  .themeshop-market-header .ts-market-main__inner{gap:5px!important}
  .themeshop-market-header .ts-market-tools{gap:5px!important}
  .themeshop-market-header .ts-market-wishlist,
  .themeshop-market-header .ts-market-cart{width:32px!important;height:32px!important;flex-basis:32px!important}
  .themeshop-market-header .ts-market-brand__text{font-size:17px!important}
  .themeshop-market-header .ts-market-brand .custom-logo{max-width:118px!important}
  .themeshop-market-header .ts-market-promo__inner{font-size:9px!important;gap:5px!important}
  .themeshop-market-header .ts-market-promo__inner>a{padding:0 7px!important;font-size:9px!important}
}


/* v1.12.5 — mobile submenu has one arrow only (CSS chevron, no text glyph). */
@media(max-width:760px){
  .themeshop-market-header .themeshop-header__mobile-nav .ts-submenu-toggle{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:0!important;
    line-height:0!important;
    text-indent:0!important;
  }
  .themeshop-market-header .themeshop-header__mobile-nav .ts-submenu-toggle:before{
    content:""!important;
    display:block!important;
    width:7px!important;
    height:7px!important;
    margin:0!important;
    border-right:1.5px solid currentColor!important;
    border-bottom:1.5px solid currentColor!important;
    transform:rotate(45deg)!important;
  }
  .themeshop-market-header .themeshop-header__mobile-nav li.is-submenu-open>.ts-submenu-toggle:before{
    transform:rotate(225deg)!important;
  }
}


/* v1.17.5 — Reliable desktop Utility and Categories dropdowns.
   Keep dropdowns in the header stacking context and prevent scroll containers
   from clipping their panels. */
@media (min-width: 761px) {
  .themeshop-market-header,
  .themeshop-market-header .ts-market-main,
  .themeshop-market-header .ts-market-main__inner,
  .themeshop-market-header .ts-market-categories,
  .themeshop-market-header .ts-market-categories__inner,
  .themeshop-market-header .ts-market-utility,
  .themeshop-market-header .ts-market-category-nav {
    overflow: visible !important;
  }

  .themeshop-market-header .ts-market-main { position: relative; z-index: 140; }
  .themeshop-market-header .ts-market-categories { position: relative; z-index: 130; }
  .themeshop-market-header .ts-market-utility { position: relative; z-index: 150; flex: 1 1 auto; min-width: 0; }
  .themeshop-market-header .ts-market-utility__list,
  .themeshop-market-header .ts-market-category-list {
    display: flex !important;
    align-items: center;
    gap: 22px;
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: visible !important;
  }
  .themeshop-market-header .ts-market-utility__list > li,
  .themeshop-market-header .ts-market-category-list > li {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .themeshop-market-header .ts-market-utility__list > li > a,
  .themeshop-market-header .ts-market-category-list > li > a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 20px 0 0;
    white-space: nowrap;
    text-decoration: none;
  }
  .themeshop-market-header .ts-market-utility .sub-menu,
  .themeshop-market-header .ts-market-category-list .sub-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    z-index: 99999 !important;
    display: none !important;
    width: max-content;
    min-width: 210px;
    max-width: min(320px, 90vw);
    max-height: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 7px !important;
    overflow: visible !important;
    list-style: none;
    background: #fff !important;
    border: 1px solid #e5e9ef;
    border-radius: 7px;
    box-shadow: 0 12px 28px rgba(20,30,45,.16);
  }
  .themeshop-market-header .ts-market-utility li:hover > .sub-menu,
  .themeshop-market-header .ts-market-utility li:focus-within > .sub-menu,
  .themeshop-market-header .ts-market-utility li.is-submenu-open > .sub-menu,
  .themeshop-market-header .ts-market-category-list li:hover > .sub-menu,
  .themeshop-market-header .ts-market-category-list li:focus-within > .sub-menu,
  .themeshop-market-header .ts-market-category-list li.is-submenu-open > .sub-menu {
    display: block !important;
  }
  .themeshop-market-header .ts-market-utility .sub-menu li,
  .themeshop-market-header .ts-market-category-list .sub-menu li {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .themeshop-market-header .ts-market-utility .sub-menu a,
  .themeshop-market-header .ts-market-category-list .sub-menu a {
    display: flex;
    align-items: center;
    min-height: 38px;
    width: 100%;
    padding: 9px 12px;
    white-space: normal;
    color: #526078;
    text-decoration: none;
    line-height: 1.35;
    border-radius: 4px;
  }
  .themeshop-market-header .ts-market-utility .sub-menu a:hover,
  .themeshop-market-header .ts-market-category-list .sub-menu a:hover {
    background: #f3f6fa;
    color: #2463d3;
  }
  .themeshop-market-header .ts-market-utility .sub-menu .sub-menu,
  .themeshop-market-header .ts-market-category-list .sub-menu .sub-menu {
    top: 0 !important;
    left: 100% !important;
    right: auto !important;
    margin-left: 2px !important;
  }
  .themeshop-market-header .ts-market-utility .ts-submenu-toggle,
  .themeshop-market-header .ts-market-category-list .ts-submenu-toggle {
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    transform: translateY(-50%) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 24px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: currentColor;
    cursor: pointer;
    font-size: 0;
    line-height: 0;
    box-shadow: none;
  }
  .themeshop-market-header .ts-market-utility .ts-submenu-toggle::before,
  .themeshop-market-header .ts-market-category-list .ts-submenu-toggle::before {
    content: "";
    display: block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform .16s ease;
  }
  .themeshop-market-header .ts-market-utility li.is-submenu-open > .ts-submenu-toggle::before,
  .themeshop-market-header .ts-market-category-list li.is-submenu-open > .ts-submenu-toggle::before {
    transform: rotate(225deg);
  }
}

/* Theme Options sizing tokens */
.ts-market-main__inner{min-height:var(--ts-header-height,72px)}

/* v1.22.3 audit: actual primary/category navigation output. */
.themeshop-market-header .ts-market-categories__inner{display:flex;align-items:center;gap:22px}
.themeshop-market-header .ts-market-primary-nav{flex:0 0 auto;min-width:0}
.themeshop-market-header .ts-market-primary-list{display:flex;align-items:center;gap:18px;list-style:none;margin:0;padding:0}
.themeshop-market-header .ts-market-primary-list>li{position:relative;margin:0;padding:0}
.themeshop-market-header .ts-market-primary-list a{display:flex;align-items:center;min-height:64px;color:#526078;text-decoration:none;font-size:13px;font-weight:650;white-space:nowrap}
.themeshop-market-header .ts-market-primary-list a:hover{color:var(--ts-primary,#286ff0)}
.themeshop-market-header .ts-market-primary-list .sub-menu{position:absolute;top:100%;left:0;z-index:130;display:none;min-width:190px;margin:0;padding:7px;list-style:none;background:#fff;border:1px solid #e5e9ef;border-radius:7px;box-shadow:0 12px 28px rgba(20,30,45,.14)}
.themeshop-market-header .ts-market-primary-list li:hover>.sub-menu,.themeshop-market-header .ts-market-primary-list li:focus-within>.sub-menu,.themeshop-market-header .ts-market-primary-list li.is-submenu-open>.sub-menu{display:block}
.themeshop-market-header .ts-market-primary-list .sub-menu a{min-height:38px;padding:8px 11px;font-size:12px}
.themeshop-market-header .ts-market-mobile-toggle{display:none}
@media(max-width:980px){.themeshop-market-header .ts-market-primary-nav{display:none}.themeshop-market-header .ts-market-mobile-toggle{display:flex}}
@media(max-width:650px){.themeshop-market-header .ts-market-categories__inner{display:flex}.themeshop-market-header .ts-market-mobile-toggle{display:flex}}

/* v1.22.4: utility and category locations are the only header navigation menus. */
.themeshop-market-header .themeshop-header__mobile-nav .themeshop-mobile-menu--utility{margin:0 0 14px;padding:0 0 12px;border-bottom:1px solid #e7eaf0}
.themeshop-market-header .themeshop-header__mobile-nav .themeshop-mobile-menu--categories{margin:0;padding:0}

/* v1.22.5 — Keep tablet/mobile search aligned beside the menu toggle. */
@media (max-width: 980px) {
  .themeshop-market-header .ts-market-categories {
    height: auto !important;
    min-height: 64px !important;
  }
  .themeshop-market-header .ts-market-categories__inner {
    display: flex !important;
    flex-flow: row nowrap !important;
    align-items: center !important;
    gap: 12px !important;
    min-height: 64px !important;
    height: auto !important;
    padding: 10px 0 !important;
  }
  .themeshop-market-header .ts-market-category-nav {
    display: none !important;
  }
  .themeshop-market-header .ts-market-mobile-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 36px !important;
    width: 36px !important;
    height: 36px !important;
  }
  .themeshop-market-header .ts-market-search {
    display: flex !important;
    flex: 1 1 0% !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 42px !important;
    margin: 0 !important;
  }
  .themeshop-market-header .ts-market-search input[type="search"] {
    flex: 1 1 auto !important;
    width: 100% !important;
    min-width: 0 !important;
  }
}


/* v1.22.6 — Tabbed mobile drawer navigation. */
.themeshop-market-header .themeshop-mobile-menu-tabs{display:flex;gap:8px;padding:0 0 14px;margin:0 0 12px;border-bottom:1px solid var(--ts-border,#e7ebf2)}
.themeshop-market-header .themeshop-mobile-menu-tabs button{flex:1;min-height:42px;padding:9px 12px;border:1px solid var(--ts-border,#e1e6ee);border-radius:8px;background:var(--ts-field,#f6f8fb);color:var(--ts-text,#344054);font:inherit;font-size:13px;font-weight:700;cursor:pointer;transition:background .18s ease,color .18s ease,border-color .18s ease}
.themeshop-market-header .themeshop-mobile-menu-tabs button.is-active{background:var(--ts-primary,#5b55e7);border-color:var(--ts-primary,#5b55e7);color:#fff}
.themeshop-market-header .themeshop-mobile-menu-pane[hidden]{display:none!important}
.themeshop-market-header .themeshop-mobile-menu-pane{display:block}
.themeshop-market-header .themeshop-mobile-menu-pane .themeshop-mobile-menu{margin:0;padding:0;border:0}
