/**
 * GPBid storefront chrome — dark header + bottom tab bar.
 */

/* ---------- Desktop / tablet header ---------- */
body.gpbid-chrome #site-header.site-header,
body.gpbid-chrome .site-header {
	background: #111 !important;
	border-bottom: 1px solid #222 !important;
	box-shadow: none !important;
}

body.gpbid-chrome .site-header .header-main,
body.gpbid-chrome .site-header .header-main-wapper {
	background: #111 !important;
}

body.gpbid-chrome .site-header .site-title a,
body.gpbid-chrome .site-header .logo,
body.gpbid-chrome .site-header .extras-menu > li > a,
body.gpbid-chrome .site-header .extras-menu .menu-item-hotline .extra-icon,
body.gpbid-chrome .site-header .extras-menu i,
body.gpbid-chrome .site-header .extra-menu-item,
body.gpbid-chrome .site-header .header-bar {
	color: #eee !important;
}

body.gpbid-chrome .site-header .extras-menu .mini-cart-counter,
body.gpbid-chrome .site-header .mini-item-counter {
	background: #f5c518 !important;
	color: #111 !important;
}

/* Cart / wishlist secondary vs Live·Groups·Shop */
body.gpbid-chrome .site-header .extras-menu .menu-item-cart,
body.gpbid-chrome .site-header .extras-menu .menu-item-wishlist,
body.gpbid-chrome .site-header .extras-menu .menu-item-compare {
	opacity: 0.72;
}

body.gpbid-chrome .site-header .extras-menu .menu-item-cart:hover,
body.gpbid-chrome .site-header .extras-menu .menu-item-wishlist:hover {
	opacity: 1;
}

/* Header cart <li> also has class "woocommerce" — never inherit account/cart layout */
body.gpbid-chrome .site-header .extras-menu {
	display: flex !important;
	align-items: center !important;
}

body.gpbid-chrome .site-header .extras-menu > li.menu-item-cart,
body.gpbid-chrome .site-header .extras-menu > li.mini-cart.woocommerce,
body.gpbid-surface .site-header .extras-menu > li.menu-item-cart,
body.gpbid-surface .site-header .extras-menu > li.mini-cart.woocommerce {
	max-width: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 16px !important;
	float: none !important;
	background: transparent !important;
}

body.gpbid-chrome .site-header .extras-menu > li.menu-item-account {
	display: flex !important;
	align-items: center !important;
	margin: 0 !important;
	padding: 0 0 0 8px !important;
}

/* Hide mall department / theme primary menu row — replaced by gpbid-top-nav */
body.gpbid-chrome .site-header .d-department,
body.gpbid-chrome .site-header .main-menu,
body.gpbid-chrome .site-header .d-department-sticky {
	display: none !important;
}

/* Soften oversized search on desktop */
body.gpbid-chrome .site-header .product-extra-search {
	max-width: 280px;
	margin-left: auto;
}

body.gpbid-chrome .site-header .product-extra-search .psearch-content,
body.gpbid-chrome .site-header .product-extra-search .search-field {
	background: #1c1c1c !important;
	border-color: #333 !important;
	color: #fff !important;
}

body.gpbid-chrome .site-header .product-extra-search .product-cat,
body.gpbid-chrome .site-header .product-extra-search .search-submit {
	background: #1c1c1c !important;
	color: #ccc !important;
	border-color: #333 !important;
}

body.gpbid-chrome .site-header .mobile-menu,
body.gpbid-chrome .site-header .mobile-menu-row {
	background: #111 !important;
	border-color: #222 !important;
}

body.gpbid-chrome .site-header .mobile-menu .mf-toggle-menu,
body.gpbid-chrome .site-header .mobile-menu i {
	color: #eee !important;
}

/* Primary product nav */
.gpbid-top-nav {
	display: none;
	background: #141414;
	border-bottom: 1px solid #222;
}

@media (min-width: 992px) {
	.gpbid-top-nav {
		display: block;
	}
}

.gpbid-top-nav__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
}

.gpbid-top-nav__link {
	color: #aaa;
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.02em;
	padding: 10px 18px;
	border-radius: 999px;
}

.gpbid-top-nav__link:hover {
	color: #fff;
}

.gpbid-top-nav__link.is-active {
	color: #111;
	background: linear-gradient(90deg, #f5c518, #ff9800);
}

/* ---------- Mobile bottom tab bar ---------- */
body.gpbid-chrome .mf-navigation-mobile {
	background: rgba(17, 17, 17, 0.96) !important;
	backdrop-filter: blur(16px) !important;
	-webkit-backdrop-filter: blur(16px) !important;
	border-top: 1px solid #2a2a2a !important;
	box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.35) !important;
	padding: 0 10px env(safe-area-inset-bottom, 10px) 10px !important;
	height: calc(58px + env(safe-area-inset-bottom, 10px)) !important;
	z-index: 9999 !important;
}

body.gpbid-chrome .mf-navigation-mobile .navigation-icon {
	color: #888 !important;
	font-size: 11px !important;
	font-weight: 600 !important;
}

body.gpbid-chrome .mf-navigation-mobile .navigation-icon i {
	color: #888 !important;
	font-size: 22px !important;
	margin-bottom: 3px !important;
}

body.gpbid-chrome .mf-navigation-mobile .navigation-icon.is-active,
body.gpbid-chrome.gpbid-chrome--home .mf-navigation-mobile .navigation-mobile_home,
body.gpbid-chrome.gpbid-chrome--live .mf-navigation-mobile .navigation-mobile_gpbid_live,
body.gpbid-chrome.gpbid-chrome--groups .mf-navigation-mobile .navigation-mobile_gpbid_groups {
	color: #f5c518 !important;
}

body.gpbid-chrome .mf-navigation-mobile .navigation-icon.is-active i,
body.gpbid-chrome.gpbid-chrome--home .mf-navigation-mobile .navigation-mobile_home i,
body.gpbid-chrome.gpbid-chrome--live .mf-navigation-mobile .navigation-mobile_gpbid_live i,
body.gpbid-chrome.gpbid-chrome--groups .mf-navigation-mobile .navigation-mobile_gpbid_groups i {
	color: #f5c518 !important;
}

/* Groups used icon-people (missing in Linearicons). Force users glyph. */
.mf-navigation-mobile .navigation-mobile_gpbid_groups i:before,
.mf-navigation-mobile i.icon-people:before {
	content: "\e722" !important; /* .icon-users */
	font-family: "Linearicons" !important;
}

body.gpbid-chrome .mf-navigation-mobile::before,
body.gpbid-chrome .mf-navigation-mobile::after {
	display: none !important;
}

/* Off-canvas drawer */
body.gpbid-chrome .primary-mobile-nav {
	background: #141414 !important;
	color: #eee !important;
}

body.gpbid-chrome .primary-mobile-nav .mobile-nav-header {
	background: #111 !important;
	border-bottom: 1px solid #2a2a2a !important;
	color: #fff !important;
}

body.gpbid-chrome .primary-mobile-nav .mobile-nav-header__title,
body.gpbid-chrome .primary-mobile-nav a,
body.gpbid-chrome .primary-mobile-nav .mobile-nav-content > ul > li > a,
body.gpbid-chrome .primary-mobile-nav .mobile-nav-content ul.sub-menu > li > a {
	color: #eee !important;
	background: transparent !important;
}

body.gpbid-chrome .primary-mobile-nav .mobile-nav-header {
	background: #111 !important;
	color: #fff !important;
}

body.gpbid-chrome .primary-mobile-nav .mobile-nav-header__title {
	color: #fff !important;
}

body.gpbid-chrome .primary-mobile-nav .close-mobile-nav,
body.gpbid-chrome .primary-mobile-nav .toggle-menu {
	color: #aaa !important;
}

body.gpbid-chrome .primary-mobile-nav .mobile-nav-content ul.sub-menu {
	background: #111 !important;
}

/* Footer: Martfury footer-light keeps #000 text / #fff panels on dark pages */
body.gpbid-chrome .site-footer,
body.gpbid-chrome .site-footer .footer-layout,
body.gpbid-chrome .site-footer .footer-content,
body.gpbid-chrome .site-footer .footer-widgets,
body.gpbid-chrome .site-footer .footer-info,
body.gpbid-chrome .site-footer .footer-bottom,
body.gpbid-chrome .site-footer .footer-newsletter {
	background: #111 !important;
	color: #ccc !important;
	border-color: #222 !important;
}

body.gpbid-chrome .site-footer .footer-copyright,
body.gpbid-chrome .site-footer .footer-payments,
body.gpbid-chrome .site-footer .footer-payments .text,
body.gpbid-chrome .site-footer .footer-links a,
body.gpbid-chrome .site-footer .widget,
body.gpbid-chrome .site-footer .widget a,
body.gpbid-chrome .site-footer .widget-title,
body.gpbid-chrome .site-footer h3,
body.gpbid-chrome .site-footer h4,
body.gpbid-chrome .site-footer p {
	color: #aaa !important;
}

body.gpbid-chrome .site-footer .footer-links a:hover,
body.gpbid-chrome .site-footer .widget a:hover {
	color: #f5c518 !important;
}

body.gpbid-chrome .site-footer .col-footer-copyright,
body.gpbid-chrome .site-footer .col-footer-payments,
body.gpbid-chrome .site-footer .footer-sidebar {
	background: transparent !important;
}
