/* Single-border nameplate with an outlined, simpler small-screen variant. */
body.class58-theme .c58-logo-card-art picture.c58-nameplate-picture{position:absolute!important;display:block!important;inset:0!important;width:100%!important;height:100%!important;padding:0!important;margin:0!important}
body.class58-theme .c58-logo-card-art{position:relative!important;display:inline-block!important;box-sizing:border-box;aspect-ratio:1880/1196;width:280px;max-width:100%;overflow:hidden!important;vertical-align:middle;line-height:0;padding:0!important;margin:0;border:0!important;background:transparent!important}
body.class58-theme :is(#logo,footer) .c58-logo-card-art img.c58-logo-card-image{display:block!important;position:absolute!important;inset:0!important;width:100%!important;max-width:none!important;height:100%!important;min-width:0!important;min-height:0!important;max-height:none!important;aspect-ratio:1880/1196!important;object-fit:contain!important;object-position:center!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;filter:none!important;transform:none!important}
body.class58-theme header.c58-site-header .c58-brand{flex:0 0 182px!important;width:182px!important;max-width:100%!important;margin:0!important;padding:0!important}
body.class58-theme header.c58-site-header #logo,body.class58-theme header.c58-site-header #logo>a{display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;margin:0!important;line-height:0!important}
body.class58-theme header.c58-site-header .c58-logo-card-art{width:100%!important}
body.class58-theme header.c58-site-header .c58-header-inner{padding-top:12px!important;padding-bottom:12px!important}
body.class58-theme header.c58-site-header .c58-logo-card-art,body.class58-theme header.c58-site-header #logo .c58-logo-card-art img.c58-logo-card-image{aspect-ratio:1880/930!important}
body.class58-theme footer .c58-logo-card-art{width:300px!important;max-width:100%!important}
body.class58-theme footer .footer_aboutus>a:has(.c58-logo-card-art){display:inline-block!important;width:300px!important;max-width:100%!important;line-height:0}
@media(min-width:1200px) and (max-width:1399px){body.class58-theme header.c58-site-header>.container{padding-left:12px!important;padding-right:12px!important}body.class58-theme header.c58-site-header .c58-header-inner{gap:12px!important}body.class58-theme header.c58-site-header .c58-brand{flex-basis:142px!important;width:142px!important}}
@media(min-width:768px) and (max-width:1199px){body.class58-theme header.c58-site-header .c58-brand{flex-basis:173px!important;width:173px!important}}
@media(max-width:767px){body.class58-theme header.c58-site-header .c58-header-inner{display:grid!important;grid-template-columns:44px minmax(0,1fr) auto!important;grid-template-areas:"brand brand brand" "menu spacer actions"!important;gap:10px 8px!important;align-items:center!important;padding:12px 0!important}body.class58-theme header.c58-site-header .c58-brand{grid-area:brand;justify-self:center;display:block!important;flex:none!important;width:min(192px,100%)!important}body.class58-theme header.c58-site-header .c58-primary-navigation{grid-area:menu;justify-self:start;width:44px!important;min-width:44px!important;margin:0!important}body.class58-theme header.c58-site-header .c58-header-actions{grid-area:actions;justify-self:end;margin:0!important}body.class58-theme footer .c58-logo-card-art,body.class58-theme footer .footer_aboutus>a:has(.c58-logo-card-art){width:280px!important}}

@media(max-width:767px){body.class58-theme .c58-logo-card-art,body.class58-theme :is(#logo,footer) .c58-logo-card-art img.c58-logo-card-image{aspect-ratio:1880/930!important}}
@media(max-width:767px){body.class58-theme header.c58-site-header .c58-header-inner{padding-top:10px!important;padding-bottom:10px!important;row-gap:6px!important}}

/* Landscape tablets use the same compact navigation as phones. */
.c58-tablet-submenu-toggle{display:none!important}
@media(min-width:992px) and (max-width:1199px){
#topCategoryList .dropdown.menulist .dropdown-menu{position: relative; float: none; background-color: transparent; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; box-shadow: none; display: none; padding: 0px;}
#topCategoryList .dropdown.menulist .dropdown-inner{display: block; padding: 0px 10px;}
#topCategoryList .dropdown-submenu > .fa{display: none;}
#menu #topCategoryList .dropdown-inner .dropdown-submenu ul.sub-menu{display: none; position: unset; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; padding: 0px 10px;}
#topCategoryList{background: var(--secondary-color); position: fixed; top: 0px; left: 0px; height: 100%; width: 100%; max-width: 350px; z-index: 999; margin: 0px; transform: translate(-400px, 0px); transition-property: transform; transition-duration: 0.5s; overflow: auto; display: block !important;}
#topCategoryList.box-menu{transform: translate(0px, 0px);}
#menu .nav > li > a, #menu #topCategoryList .dropdown-inner a{color: var(--secondary-light-color); font-weight: 400; padding: 6px 30px 6px 15px; display: block; font-size: 14px; text-transform: none;}
#menu #topCategoryList ul{float: none; display: block; text-align: left; background: transparent;}
#menu #topCategoryList > ul{margin: 10px 0px 0px;}
#topCategoryList li .toggle-menu{cursor: pointer; position: absolute; right: 20px; top: 0px; padding: 10px 0px; color: var(--secondary-light-color);}
.c58-header-inner{display: flex; min-height: 88px;}
.c58-primary-navigation{flex: 0 0 auto;}
.c58-main-nav .navbar-header{position: static;}
.c58-main-nav .btn-navbar{border: 1px solid rgba(255, 255, 255, 0.35); background: transparent; color: var(--c58-paper);}
.c58-main-nav #topCategoryList{border-right: 5px solid var(--c58-yellow); background: var(--c58-charcoal-deep);}
.c58-main-nav .menu-close{border-bottom: 1px solid rgba(255, 255, 255, 0.16); color: var(--c58-charcoal-deep);}
.c58-main-nav .nav{display: block;}
.c58-main-nav .nav > li > a{border-bottom: 1px solid rgba(255, 255, 255, 0.1); border-radius: 0px;}
.c58-main-nav .dropdown-menu, .c58-main-nav .dropdown-inner, .c58-main-nav .column-1 .dropdown-inner .dropdown-submenu ul.sub-menu{border: 0px !important; background: transparent !important; box-shadow: none !important;}
.c58-main-nav .dropdown-inner a, .c58-main-nav #topCategoryList .dropdown-inner a{color: rgb(226, 226, 225) !important;}
.c58-main-nav #topCategoryList li .toggle-menu{color: #BF402B;}
.class58-theme .c58-site-header, .class58-theme .c58-header-main, .class58-theme .c58-header-inner, .class58-theme .c58-brand, .class58-theme .c58-primary-navigation{display: flex !important; visibility: visible !important;}
.class58-theme .c58-header-inner{align-items: center; justify-content: space-between;}
.class58-theme .c58-primary-navigation{margin-left: auto; flex: 0 0 auto !important; width: auto !important;}
.class58-theme .c58-primary-navigation .c58-main-nav{width: auto !important;}
.class58-theme .c58-main-nav .navbar-header{display: block !important;}
.class58-theme .c58-main-nav .btn-navbar{align-items: center; justify-content: center; width: 44px; height: 44px; display: inline-flex !important; margin: 0px !important; padding: 0px !important;}
.class58-theme .c58-main-nav #topCategoryList{display: block !important; visibility: visible !important;}
.class58-theme .c58-header-inner{display: flex !important; width: 100% !important; min-width: 0px !important;}
.class58-theme .c58-primary-navigation, .class58-theme .c58-primary-navigation .c58-main-nav{flex: 0 0 44px !important; width: 44px !important; min-width: 44px !important; margin-left: auto !important;}
.class58-theme .c58-primary-navigation, .class58-theme .c58-header-actions, .class58-theme .c58-site-header #menu{position: static !important;}
.class58-theme #menu #topCategoryList{z-index: 1080; position: absolute !important; top: calc(100% + 16px) !important; right: 0px !important; left: 0px !important; display: none !important; width: 100% !important; max-width: none !important; height: auto !important; max-height: none !important; margin: 0px !important; padding: 12px !important; overflow: visible !important; border-right: 1px solid rgba(255, 255, 255, 0.14) !important; border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important; border-left: 1px solid rgba(255, 255, 255, 0.14) !important; border-image: none !important; border-top: 5px solid var(--c58-yellow) !important; border-radius: 0px 0px 12px 12px !important; background: var(--c58-charcoal-deep) !important; box-shadow: rgba(0, 0, 0, 0.28) 0px 18px 38px !important; transform: none !important; transition: none !important;}
.class58-theme #menu #topCategoryList.box-menu{display: block !important; transform: none !important;}
.class58-theme #menu #topCategoryList .menu-close, .class58-theme #menu .btn-navbar.open-menu::after{display: none !important;}
.class58-theme #menu #topCategoryList > .nav{margin: 0px !important; padding: 0px !important;}
.class58-theme #menu #topCategoryList > .nav > li + li{margin-top: 3px !important;}
.class58-theme #menu #topCategoryList > .nav > li > a{min-height: 48px; line-height: 24px; padding: 12px 14px !important; border: 0px !important; border-radius: 8px !important; font-weight: 600 !important;}
.class58-theme #menu #topCategoryList > .nav > li.dropdown > a{padding-right: 60px !important;}
.class58-theme #menu #topCategoryList .dropdown-menu, .class58-theme #menu #topCategoryList .sub-menu{position: static !important; float: none !important; width: 100% !important; min-width: 0px !important; max-width: none !important; max-height: none !important; margin: 3px 0px 0px !important; padding: 8px !important; overflow: visible !important; border-right: 1px solid rgba(255, 255, 255, 0.14) !important; border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important; border-left: 1px solid rgba(255, 255, 255, 0.14) !important; border-image: none !important; border-top: 3px solid var(--c58-yellow) !important; border-radius: 0px 0px 11px 11px !important; background: var(--c58-charcoal-deep) !important; box-shadow: none !important; transform: none !important;}
.class58-theme #menu #topCategoryList .dropdown-inner, .class58-theme #menu #topCategoryList .childs_1{width: 100% !important; min-width: 0px !important; padding: 0px !important;}
.class58-theme .c58-main-nav .btn-navbar{align-items: center; justify-content: center; display: inline-flex !important; width: 44px !important; height: 44px !important; padding: 0px !important; border: 2px solid var(--c58-yellow) !important; border-radius: 10px !important; background: rgba(47, 46, 46, 0.84) !important; color: #BF402B !important;}
.class58-theme .c58-main-nav .btn-navbar .icon-menu{display: inline-block !important; color: #BF402B !important; font-size: 23px !important; line-height: 1 !important;}
.class58-theme .c58-main-nav #topCategoryList a{-webkit-tap-highlight-color: transparent;}
.class58-theme .c58-main-nav #topCategoryList .nav > li.active > a, .class58-theme .c58-main-nav #topCategoryList .nav > li:hover > a, .class58-theme .c58-main-nav #topCategoryList .nav > li > a:hover, .class58-theme .c58-main-nav #topCategoryList .nav > li > a:focus, .class58-theme .c58-main-nav #topCategoryList .nav > li > a:active, .class58-theme .c58-main-nav #topCategoryList .dropdown-inner li.active > a, .class58-theme .c58-main-nav #topCategoryList .dropdown-inner li:hover > a, .class58-theme .c58-main-nav #topCategoryList .dropdown-inner li > a:hover, .class58-theme .c58-main-nav #topCategoryList .dropdown-inner li > a:focus, .class58-theme .c58-main-nav #topCategoryList .dropdown-inner li > a:active{outline: 0px !important; background: rgba(255, 205, 2, 0.16) !important; color: #BF402B !important; box-shadow: none !important;}
.class58-theme #menu #topCategoryList li.dropdown > a, .class58-theme #menu #topCategoryList li.dropdown-submenu > a{align-items: center; min-height: 48px; display: flex !important; padding-right: 60px !important;}
.class58-theme #menu #topCategoryList li > .toggle-menu{align-items: center; justify-content: center; top: 0px; right: 6px; z-index: 2; width: 48px; min-width: 48px; height: 48px; box-sizing: border-box; touch-action: manipulation; display: flex !important; padding: 0px !important;}
.class58-theme #menu #topCategoryList li > .toggle-menu i{display: inline-block; font-size: 10px; line-height: 1; pointer-events: none; transition: transform 0.2s;}
.class58-theme #menu #topCategoryList li > .toggle-menu i::before{content: "" !important;}
.class58-theme #menu #topCategoryList li > .toggle-menu.active i{transform: rotate(180deg);}
.class58-theme #menu #topCategoryList li.dropdown-submenu > .toggle-menu i::before{content: "" !important;}
.class58-theme #menu #topCategoryList li.dropdown-submenu > .toggle-menu.active i{transform: rotate(90deg);}
.class58-theme #menu #topCategoryList li > .toggle-menu{border-radius: 7px; -webkit-tap-highlight-color: transparent; outline: 0px !important; background: transparent !important; color: var(--c58-paper) !important; box-shadow: none !important;}
.class58-theme #menu #topCategoryList li.dropdown-submenu > .toggle-menu{color: #BF402B !important;}
.class58-theme #menu #topCategoryList li > .toggle-menu:hover, .class58-theme #menu #topCategoryList li > .toggle-menu:focus, .class58-theme #menu #topCategoryList li > .toggle-menu:active, .class58-theme #menu #topCategoryList li > .toggle-menu.active{background: rgba(255, 205, 2, 0.13) !important; color: #BF402B !important;}
.class58-theme #menu #topCategoryList li > .toggle-menu i, .class58-theme #menu #topCategoryList li > .toggle-menu i::before{color: inherit !important;}
.class58-theme .c58-main-nav #topCategoryList, .class58-theme .c58-main-nav #topCategoryList .dropdown-menu, .class58-theme .c58-main-nav #topCategoryList .dropdown-inner, .class58-theme .c58-main-nav #topCategoryList .sub-menu{background: rgb(48, 52, 56) !important;}
body.class58-theme header.c58-site-header #menu #btnMenuBar{display:inline-flex!important;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid #BF402B!important;background:#BF402B!important;color:#fff!important}
body.class58-theme header.c58-site-header #menu #btnMenuBar .icon-menu{color:#fff!important}
body.class58-theme header.c58-site-header #menu #topCategoryList{max-height:calc(100vh - 150px)!important;max-height:calc(100dvh - 150px)!important;overflow-y:auto!important;overscroll-behavior:contain}
body.class58-theme header.c58-site-header #menu #topCategoryList>ul.nav{display:block!important;flex-direction:column!important}
body.class58-theme header.c58-site-header #menu #topCategoryList li{position:relative!important;display:block!important;float:none!important;width:100%!important;max-width:none!important}
body.class58-theme header.c58-site-header #menu #topCategoryList li>a{display:block!important;white-space:normal!important;min-height:48px;padding:12px 60px 12px 14px!important;color:#fff!important}
body.class58-theme header.c58-site-header #menu #topCategoryList li>.toggle-menu{display:none!important}
body.class58-theme header.c58-site-header #menu.c58-main-nav #topCategoryList li[data-c58-tablet-parent]>:is(div.dropdown-menu,ul.sub-menu){display:none!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important}
body.class58-theme header.c58-site-header #menu.c58-main-nav #topCategoryList li[data-c58-tablet-parent].c58-tablet-submenu-open>:is(div.dropdown-menu,ul.sub-menu){display:block!important}
body.class58-theme header.c58-site-header #menu #topCategoryList .c58-tablet-submenu-toggle{position:absolute!important;display:flex!important;align-items:center;justify-content:center;top:2px;right:4px;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;margin:0!important;border:0!important;border-radius:6px!important;background:transparent!important;color:#F9C623!important;font:600 24px/1 'IBM Plex Sans',sans-serif!important;z-index:2;cursor:pointer}
body.class58-theme header.c58-site-header #menu #topCategoryList .c58-tablet-submenu-toggle:is(:hover,:focus-visible){background:rgba(249,198,35,.16)!important;outline:2px solid #F9C623!important;outline-offset:-2px}
}

@media(min-width:992px) and (max-width:1199px){
body.class58-theme header.c58-site-header{display:block!important;width:100%!important;max-width:none!important}
body.class58-theme header.c58-site-header .c58-header-main{width:100%!important}
body.class58-theme header.c58-site-header #menu #topCategoryList ul{display:block!important;float:none!important;width:100%!important;max-width:none!important}
body.class58-theme header.c58-site-header #menu #topCategoryList .dropdown-inner{display:block!important}
}

@media(min-width:992px) and (max-width:1199px){body.class58-theme>.c58-header-main{display:block!important;width:100%!important}}

/* One mobile row, including fresh-load theme relocation of #menu. */
@media(max-width:767px){
body.class58-theme header.c58-site-header>.container{width:100%!important;max-width:none!important;padding-left:8px!important;padding-right:8px!important}
body.class58-theme header.c58-site-header .c58-header-inner{grid-template-columns:minmax(0,1fr) repeat(4,44px)!important;grid-template-areas:"brand search account cart menu"!important;gap:2px!important;padding-top:8px!important;padding-bottom:8px!important;align-items:center!important}
body.class58-theme header.c58-site-header .c58-brand{grid-area:brand;justify-self:start!important;width:min(144px,90%)!important;min-width:0!important}
body.class58-theme header.c58-site-header :is(.c58-primary-navigation,.c58-header-actions){display:contents!important}
body.class58-theme header.c58-site-header #menu.c58-main-nav{grid-area:menu!important;justify-self:end!important;align-self:center!important;margin:0!important;width:44px!important;min-width:44px!important}
body.class58-theme header.c58-site-header .c58-header-actions>.btn_search{grid-area:search!important}
body.class58-theme header.c58-site-header .c58-header-actions>#header_ac{grid-area:account!important}
body.class58-theme header.c58-site-header .c58-header-actions>#header-cart{grid-area:cart!important}
body.class58-theme header.c58-site-header .c58-header-actions>:is(.btn_search,#header_ac,#header-cart){justify-self:end!important;align-self:center!important;width:44px!important;min-width:0!important;height:44px!important;margin:0!important}
body.class58-theme header.c58-site-header :is(.btn_search>a,#header_ac>a,#cart>button){display:flex!important;align-items:center!important;justify-content:center!important;width:44px!important;min-width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;box-sizing:border-box!important}
body.class58-theme header.c58-site-header #header-cart #cart{width:44px!important;min-width:0!important;margin:0!important}
}

/* Keep compact menus within the screen with readable, generous submenu links. */
@media(max-width:1199px){
body.class58-theme header.c58-site-header{--c58-menu-reserved-height:142px}
body.class58-theme header.c58-site-header #menu.c58-main-nav #topCategoryList{max-height:calc(100vh - var(--c58-menu-reserved-height))!important;max-height:calc(100dvh - var(--c58-menu-reserved-height))!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain}
body.class58-theme header.c58-site-header #menu.c58-main-nav #topCategoryList a{color:#fff!important}
body.class58-theme header.c58-site-header #menu.c58-main-nav #topCategoryList a:is(:hover,:focus-visible,[aria-current="page"]),body.class58-theme header.c58-site-header #menu.c58-main-nav #topCategoryList li:is(.active,:hover,:focus-within)>a{color:#F9C623!important}
body.class58-theme header.c58-site-header #menu.c58-main-nav #topCategoryList .dropdown-inner a{display:flex!important;align-items:center!important;min-height:44px!important;line-height:24px!important;padding-top:10px!important;padding-bottom:10px!important}
body.class58-theme header.c58-site-header #menu.c58-main-nav #topCategoryList li>.toggle-menu,body.class58-theme header.c58-site-header #menu.c58-main-nav #topCategoryList li>.toggle-menu i{color:#F9C623!important}
}
@media(max-width:767px){body.class58-theme header.c58-site-header{--c58-menu-reserved-height:116px}}

/* Search keeps a separate, readable close control at every header size. */
body.class58-theme header.c58-site-header .c58-header-search{box-sizing:border-box!important;padding:8px!important;gap:8px!important;align-items:center!important}
body.class58-theme header.c58-site-header .c58-header-search #c58-global-search{flex:1 1 auto!important;width:auto!important;min-width:0!important;margin:0!important}
body.class58-theme header.c58-site-header .c58-header-search>.serach-close{position:static!important;display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 44px!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;margin:0!important;padding:0!important;color:#fff!important;border-radius:6px!important;font-size:22px!important;cursor:pointer}
body.class58-theme header.c58-site-header .c58-header-search>.serach-close:is(:hover,:focus-visible){background:rgba(249,198,35,.16)!important;color:#F9C623!important;outline:2px solid #F9C623!important;outline-offset:-2px}

/* Footer keeps the complete nameplate wording on phones; header stays plate-only. */
@media(max-width:767px){body.class58-theme :is(#logo,footer) .c58-logo-card-art[data-c58-logo-trial="footer"],body.class58-theme :is(#logo,footer) .c58-logo-card-art[data-c58-logo-trial="footer"] img.c58-logo-card-image{aspect-ratio:1880/1196!important}}

/* Keep the shared header frame independent of phpBB content containers. */
@media(min-width:1200px){body.class58-theme header.c58-site-header>.container{width:calc(100% - 64px)!important;max-width:1780px!important;box-sizing:border-box!important;margin-left:auto!important;margin-right:auto!important}}
