/* Goblin's Header presentation over the unmodified upstream popup primitive. */
:where(.cwtb-header-popup,.cwtb-header-dropdown) .button { position: relative; display: inline-block; min-height: 2.5em; max-width: 100%; padding: 0 1.2em; border: 1px solid rgba(0,0,0,.05); border-radius: 0; margin: 0 1em 1em 0; background: var(--cwtb-primary); color: #fff; font-size: .97em; font-weight: 700; line-height: 2.4em; letter-spacing: .03em; text-align: center; text-transform: uppercase; text-decoration: none; text-rendering: optimizeLegibility; vertical-align: middle; cursor: pointer; transition: transform .3s,border .3s,background .3s,box-shadow .3s,opacity .3s,color .3s; }
:where(.cwtb-header-popup,.cwtb-header-dropdown) .button:hover { color: #fff; box-shadow: inset 0 0 0 100px rgba(0,0,0,.2); }
.mfp-bg.cwtb-header-popup { background: #0b0b0b; opacity: 0; transition: opacity .25s; }
.mfp-bg.cwtb-header-popup.mfp-ready { opacity: .6; }
.mfp-bg.cwtb-header-popup.mfp-removing { opacity: 0 !important; }
.mfp-wrap.cwtb-header-popup { backface-visibility: hidden; }
.cwtb-header-popup .mfp-container { padding: 30px; }
.cwtb-header-popup .mfp-content { max-width: 100%; opacity: 0; transform: translateY(-30px); transition: transform .5s, opacity .3s; }
.cwtb-header-popup.mfp-ready .mfp-content { opacity: 1; transform: translateY(0); }
.cwtb-header-popup.mfp-removing .mfp-content { opacity: 0 !important; }
.cwtb-header-popup .mfp-close { position: fixed; top: 0; right: 0; width: 40px; height: 40px; max-width: 100%; min-height: 0; margin: 0 !important; padding: 0; border: 1px solid transparent; background: none; box-shadow: none; color: #fff; font: normal 300 40px/40px Arial,monospace; letter-spacing: .03em; text-align: center; opacity: 0; mix-blend-mode: difference; backface-visibility: hidden; transition: opacity .6s, transform .3s; transition-delay: .15s; }
.cwtb-header-popup .mfp-close svg { pointer-events: none; }
.cwtb-header-popup.mfp-ready .mfp-close { opacity: .6; }
.cwtb-header-popup.mfp-ready .mfp-close:hover { opacity: 1; }
.cwtb-header-popup.mfp-removing .mfp-close { display: none !important; }
.cwtb-header-popup .cwtb-site-dialog, .cwtb-header-popup .cwtb-site-drawer { position: relative; inset: auto; width: 100%; max-height: none; margin: 0 auto; transform: none; box-shadow: none; }
.cwtb-header-popup .cwtb-site-dialog > [data-cwtb-close], .cwtb-header-popup .cwtb-site-drawer > [data-cwtb-close] { display: none; }
.cwtb-header-popup .cwtb-search-dialog { max-width: 600px; padding: 0; background: none; color: #f1f1f1; font-size: 1.5em; text-align: center; }
.cwtb-header-popup .cwtb-search-dialog > div { padding: 0; }
.cwtb-header-popup .search-field:hover { box-shadow: inset 0 -1.8em 1em 0 transparent; }
.cwtb-header-popup .search-field:focus { background: #fff; color: #333; box-shadow: 0 0 5px #ccc; opacity: 1 !important; outline: 0; }
.cwtb-header-popup .cwtb-account-dialog { max-width: 875px; }
.cwtb-header-popup--left .mfp-content, .cwtb-header-popup--right .mfp-content { position: fixed; top: 0; bottom: 0; left: 0; width: var(--cwtb-drawer-width); overflow-x: hidden; overflow-y: auto; background: rgba(255,255,255,.95); box-shadow: 0 0 10px rgba(0,0,0,.5); transform: translateX(calc(var(--cwtb-drawer-width) * -1)); transition: transform .2s; }
.cwtb-header-popup--right .mfp-content { left: auto; right: 0; transform: translateX(var(--cwtb-drawer-width)); }
.cwtb-header-popup--cart .mfp-content { width: var(--cwtb-cart-drawer-width, 360px); }
.cwtb-header-popup--dark:is(.cwtb-header-popup--left,.cwtb-header-popup--right) .mfp-content { background: rgba(0,0,0,.95); }
.cwtb-header-popup--left.mfp-ready .mfp-content, .cwtb-header-popup--right.mfp-ready .mfp-content { opacity: 1; transform: translate(0); }
.cwtb-header-popup--left .cwtb-site-drawer, .cwtb-header-popup--right .cwtb-site-drawer { min-height: 100%; background: transparent; }
.cwtb-header-popup--center .mfp-container { padding: 0; }
.cwtb-header-popup--center .mfp-content { max-width: 700px; padding-top: 50px; overflow: hidden auto; }
.cwtb-header-popup--center.mfp-bg.mfp-ready:not(.cwtb-header-popup--dark) { background: #fff; opacity: .95; }
.cwtb-header-popup--center.mfp-bg.mfp-ready.cwtb-header-popup--dark { opacity: .85; }
.cwtb-header-popup--center:not(.cwtb-header-popup--dark) .mfp-close { color: currentColor; }
.cwtb-header-popup--center .cwtb-mobile-drawer { background: transparent; }
.cwtb-header-popup--center .searchform { max-width: 260px; margin: 0 auto; }

/* One list model for both menu tabs; the native WordPress menu supplies items. */
.cwtb-header-popup .cwtb-mobile-drawer { padding: 0; color: #777; }
.cwtb-header-popup--dark .cwtb-mobile-drawer { color: #f1f1f1; }
.cwtb-header-popup--dark { color: #f1f1f1; }
.cwtb-mobile-menu-content { padding: 30px 0; }
.cwtb-mobile-menu-list { position: relative; display: flex; flex-flow: column; align-items: center; margin: 0; padding: 0; width: 100%; list-style: none; }
.cwtb-mobile-menu-list[hidden] { display: none; }
.cwtb-mobile-menu-list li { position: relative; width: 100%; margin: 0; list-style: none; }
.cwtb-mobile-menu-list > li { display: flex; align-items: center; flex-flow: row wrap; transition: background-color .3s; }
.cwtb-mobile-menu-list > li + li { border-top: 1px solid #ececec; }
.cwtb-mobile-menu-list > .menu-item:is(:hover,.is-open) { background: rgba(0,0,0,.05); }
.cwtb-mobile-menu-list > li > a { display: flex; flex-grow: 1; align-items: center; width: auto; padding: 15px 0 15px 20px; color: hsla(0,0%,40%,.85); font-family: var(--cwtb-nav-font); font-size: .8em; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; text-decoration: none; transition: all .2s; }
.cwtb-mobile-menu-list a:hover { color: hsla(0,0%,7%,.85); }
.cwtb-mobile-menu-list .sub-menu { display: none; width: 100%; margin: 0 0 2em; padding: 0 0 0 1em; }
.cwtb-mobile-menu-list .is-open > .sub-menu { display: block; }
.cwtb-mobile-menu-list .sub-menu li { padding-left: .5em; }
.cwtb-mobile-menu-list .sub-menu a { display: flex; align-items: center; flex-grow: 1; padding: 5px 0 5px 20px; color: #666; text-decoration: none; transition: color .2s; }
.cwtb-mobile-menu-list .cwtb-menu-children { display: block; position: fixed; left: -99999px; margin: 0; padding: 0; opacity: 0; transform: translateX(-10px); transition: background-color .6s,transform .3s,opacity .3s; }
.cwtb-mobile-menu-list .is-open > .cwtb-menu-children { position: relative; left: auto; padding-bottom: 30px; opacity: 1; transform: translateX(0); }
.cwtb-mobile-menu-list .cwtb-menu-toggle { position: relative; display: inline-block; width: 45px; height: auto; min-height: 2.5em; max-width: 100%; margin: 0 5px 0 0; padding: 0; border: 1px solid transparent; border-radius: 0; background: none; color: currentColor; box-shadow: none; font-family: inherit; font-size: .97em; font-weight: 700; line-height: 1; letter-spacing: .03em; text-align: center; text-transform: uppercase; vertical-align: middle; opacity: .6; cursor: pointer; transition: transform .3s,border .3s,background .3s,box-shadow .3s,opacity .3s,color .3s; }
.cwtb-menu-toggle .cwtb-header-glyph { font-size: 1.8em; transition: all .3s; }
.cwtb-mobile-menu-list .cwtb-menu-toggle:hover { opacity: 1; }
.cwtb-mobile-menu-list .is-open > .cwtb-menu-toggle { transform: rotate(-180deg); }
.cwtb-header-popup--center .cwtb-mobile-menu-list li > .cwtb-menu-toggle { position: absolute; right: 0; top: 15px; margin-left: -35px; }
/* Sliding is a viewport/level model, not an accordion translated after paint. */
.cwtb-header-popup .has-sliding-menu { position: fixed; inset: 0; width: 100%; overflow: hidden; }
.has-sliding-menu .cwtb-mobile-menu-content { height: 100%; padding: 0; transform: translateX(0); transition: transform .3s; will-change: transform; }
.has-sliding-menu .cwtb-mobile-menu-list { height: 100%; padding-top: 20px; overflow: auto; }
.has-sliding-menu .cwtb-mobile-menu-list > li { flex-shrink: 0; }
.has-sliding-menu .is-open > .cwtb-menu-toggle { transform: none; }
.has-sliding-menu .sub-menu[data-slide-depth] { display: none; position: fixed; top: 0; bottom: 0; left: calc(100% * var(--cwtb-menu-level)); width: 100%; padding: 20px 0; margin: 0; opacity: 1; transform: none; overflow: auto; }
.has-sliding-menu .sub-menu[data-slide-depth] > li { position: static; display: flex; align-items: center; flex-flow: row wrap; }
.has-sliding-menu .sub-menu.is-current-slide { display: block; }
.has-sliding-menu .cwtb-mobile-menu-list .sub-menu.is-current-parent { width: 200%; padding-right: 100%; overflow-y: hidden; }
.has-sliding-menu .sub-menu > .cwtb-menu-slide-heading { padding-top: 15px; padding-bottom: 15px; }
.cwtb-mobile-menu-list .cwtb-menu-back { width: 100%; padding-left: 5px; text-align: left; }
.cwtb-menu-back .cwtb-header-glyph { margin-right: 2px; font-size: 1.4em; }
.has-sliding-menu[data-levels="2"] .cwtb-mobile-menu-list > li > .sub-menu > li:not(.cwtb-menu-slide-heading) { margin: 0; border-top: 1px solid #ececec; transition: background-color .3s; }
.has-sliding-menu[data-levels="2"] .cwtb-mobile-menu-list > li > .sub-menu > li:not(.cwtb-menu-slide-heading) > a { padding: 15px 0 15px 20px; color: hsla(0,0%,40%,.85); font-size: .8em; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.has-sliding-menu[data-levels="2"] .cwtb-mobile-menu-list > li > .sub-menu > li:is(:hover,.is-open) { background-color: rgba(0,0,0,.05); }
[dir="rtl"] .has-sliding-menu .sub-menu[data-slide-depth] { right: calc(100% * var(--cwtb-menu-level)); left: auto; }
.cwtb-mobile-menu-list > .cwtb-mobile-module { padding: 20px; font-size: .85em; }
.cwtb-mobile-menu-list .cwtb-header-search-module { display: block; width: 100%; padding: 0; }
.cwtb-mobile-menu-list .cwtb-header-newsletter > .cwtb-header-mail-glyph { font-size: 16px; opacity: .6; }
.cwtb-mobile-menu-list .cwtb-header-social { width: 100%; }
.cwtb-mobile-menu-list .social-icons { display: block; width: 100%; font-size: 1em; }
.cwtb-mobile-menu-list .social-icons a.icon.plain { display: inline; width: auto; height: auto; font-family: sans-serif; }
.cwtb-mobile-menu-list .social-icons .cwtb-social-links__icon { position: relative; display: inline-block; width: 1em; height: 1.2em; line-height: 1.2; vertical-align: baseline; }
.cwtb-mobile-menu-list .social-icons .cwtb-follow-icon { display: block; width: 1em; height: 1em; }
.cwtb-header-popup--dark .cwtb-mobile-menu-list > li + li { border-color: hsla(0,0%,100%,.2); }
.cwtb-header-popup--dark .cwtb-mobile-menu-list > .cwtb-mobile-module { color: hsla(0,0%,100%,.8); }
.cwtb-header-popup--dark .cwtb-mobile-menu-list a { color: hsla(0,0%,100%,.8); }
.cwtb-header-popup--dark .cwtb-mobile-menu-list a:hover { color: #fff; }
.cwtb-header-popup--center .cwtb-mobile-menu-list > li { border: 0; }
.cwtb-header-popup--center .cwtb-mobile-menu-list > .cwtb-mobile-module { padding: 1em 0; }
.cwtb-header-popup--center .cwtb-mobile-menu-list > li > a { padding-inline: 30px; font-size: 1.5em; justify-content: center; }
.cwtb-header-popup--center .cwtb-mobile-menu-list .sub-menu a { justify-content: center; }

/* WooCommerce still renders the cart; these owners supply only Header layout. */
.cwtb-header-popup .cwtb-cart-drawer { padding: 0; }
.cwtb-cart-drawer-inner { display: flex; flex-direction: column; padding: 30px 30px 0; }
.cwtb-cart-drawer-inner > :last-child { margin-bottom: 30px; }
.cwtb-cart-drawer-title { text-align: center; }
.cwtb-cart-drawer-title > span { display: block; font-family: var(--cwtb-heading-font); font-size: 1.125em; line-height: 1.2; text-transform: uppercase; letter-spacing: .05em; }
.cwtb-cart-drawer-divider { width: 100%; max-width: 30px; height: 3px; margin: 1em auto; background: rgba(0,0,0,.1); }
.cwtb-cart-drawer-inner .widget_shopping_cart, .cwtb-cart-drawer-inner .widget_shopping_cart_content { display: flex; flex: 1; flex-direction: column; }
.cwtb-cart-drawer-inner .widget_shopping_cart { margin-bottom: 0; }
.cwtb-cart-drawer-inner ul.product_list_widget, .cwtb-cart-dropdown ul.product_list_widget { margin: 0 0 1.3em; padding: 0; }
/* Keep the thumbnail gutter when WooCommerce's cart-list rules are loaded. */
:is(.cwtb-cart-drawer-inner, .cwtb-cart-dropdown) ul.woocommerce-mini-cart > li.mini_cart_item { position: relative; min-height: 80px; padding: 10px 30px 5px 75px; }
:is(.cwtb-cart-drawer-inner, .cwtb-cart-dropdown) ul.woocommerce-mini-cart > li.mini_cart_item img { position: absolute; top: 10px; left: 0; float: none; width: 60px; height: 60px; margin: 0; object-fit: contain; }
.cwtb-cart-dropdown .woocommerce-mini-cart { max-height: 50vh; overflow-y: auto; }
.cwtb-cart-drawer-inner ul.woocommerce-mini-cart { display: flex; flex: 1; flex-direction: column; margin-bottom: 30px; }
.cwtb-cart-drawer-inner .price-wrapper { font-size: .85em; opacity: .6; }
.cwtb-cart-drawer-inner .woocommerce-mini-cart__buttons:last-child { margin-bottom: 0; }
.cwtb-cart-drawer-inner .cwtb-mini-cart-empty .return-to-shop { margin-bottom: 1.3em; }
.cwtb-cart-drawer-inner .cwtb-mini-cart-empty .cwtb-mini-cart-return { margin-bottom: 1em; }
.cwtb-cart-drawer .cwtb-mini-cart-footer { margin-inline: -30px; padding: 10px 30px 30px; }
.cwtb-mini-cart-footer .woocommerce-mini-cart__total { margin: 0 0 .5em; padding: 10px 0; border-top: 1px solid #ececec; border-bottom: 2px solid #ececec; text-align: center; }
.cwtb-mini-cart-footer .woocommerce-mini-cart__buttons { margin: 0; }
.cwtb-mini-cart-footer .woocommerce-mini-cart__buttons .button { width: 100%; margin: .5em 0 0; }
.cwtb-mini-cart-footer .checkout.button { background-color: var(--cwtb-secondary); }
.cwtb-header-free-shipping { display: grid; gap: 10px; }
.cwtb-header-free-shipping__bar { height: 8px; border-radius: 5px; background-color: #ddd; background-image: linear-gradient(135deg,rgba(255,255,255,.15) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.15) 50%,rgba(255,255,255,.15) 75%,transparent 75%); background-size: 30px 30px; }
.cwtb-header-free-shipping__bar > span { display: block; height: 100%; border-radius: inherit; background: var(--cwtb-primary); }
.cwtb-mini-cart-footer .cwtb-header-free-shipping { margin-top: 5px; margin-bottom: 20px; }
.cwtb-cart-dropdown .cwtb-header-free-shipping { min-width: 300px; }
.cwtb-mini-cart-cross-sells { margin-top: auto; margin-bottom: 30px; }
.cwtb-mini-cart-cross-sells > p { margin: 0 0 1.3em; text-align: center; }
.cwtb-cart-dropdown .cwtb-mini-cart-cross-sells { display: none; }
.cwtb-mini-cart-cross-sells > ul { display: flex; flex-direction: column; gap: 10px; }
.cwtb-mini-cart-cross-sells li.cwtb-mini-cart-cross-sell { margin-bottom: 0; padding-left: 85px; padding-right: 10px; border: 0; background: rgba(0,0,0,.05); }
.cwtb-mini-cart-cross-sells ul.product_list_widget img { left: 10px; }
.cwtb-mini-cart-cross-sell .product-title { font-size: .9em; }
.cwtb-cart-drawer-inner .cwtb-mini-cart-cross-sell .price-wrapper { opacity: 1; }
.cwtb-mini-cart-cross-sell .price { display: block; margin: .5em 0; line-height: 1; }
.cwtb-mini-cart-cross-sell .price ins { color: inherit; text-decoration: none; }
.cwtb-mini-cart-cross-sell .price .amount { color: #111; font-weight: 700; white-space: nowrap; }
.cwtb-mini-cart-cross-sell .price del .amount { margin-right: .3em; font-weight: 400; opacity: .6; }
.cwtb-mini-cart-cross-sell .star-rating ~ .price { margin-top: 0; }
.cwtb-mini-cart-cross-sells ul.product_list_widget li a:not(.remove,.button) { display: inline; }
.cwtb-mini-cart-cross-sell .button.add_to_cart_button { display: inline-flex; align-items: center; justify-content: center; float: right; gap: 5px; margin: 0 0 8px 8px; padding: 3px 8px; font-size: .7em; line-height: 1; }
@media (max-width: 849px) {
	.cwtb-header-search-form .search-field, .cwtb-header-search-form .search_categories, .cwtb-mini-cart-quantity .qty { font-size: 1rem; }
}
@media (min-height: 500px) {
	.cwtb-cart-drawer.has-sticky-footer .cwtb-cart-drawer-inner { min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px)); }
	.cwtb-cart-drawer.has-sticky-footer .cwtb-mini-cart-footer { position: sticky; bottom: 0; background: #fff; border-top: 1px solid #f1f1f1; }
	.cwtb-cart-drawer.has-sticky-footer .cwtb-mini-cart-footer > .woocommerce-mini-cart__total:first-child { border-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .cwtb-header-popup .mfp-content, .mfp-bg.cwtb-header-popup, .cwtb-header-popup .mfp-close { transition: opacity .3s; } }
