/*
 Theme Name:   Pumps & Parts
 Description:  Custom P&P theme, child of Responsive theme (which must be present)
 Version:      1.0.0
 template:     responsive
*/

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Roboto+Slab:wght@400;500;600;700&display=swap');

/* Modern CSS Custom Properties */
:root {
	--primary-green: #7DA37C;
	--primary-blue: #7c90a3;
	--white: #ffffff;
	--light-gray: #f8f9fa;
	--medium-gray: #e9ecef;
	--dark-gray: #495057;
	--text-primary: #212529;
	--text-secondary: #6c757d;
	--shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
	--shadow-md: 0 4px 12px rgba(0,0,0,0.12);
	--shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
	--border-radius: 8px;
	--transition: all 0.2s ease;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-weight: 400;
	line-height: 1.6;
	color: var(--text-primary);
	background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 50%, #ced4da 100%);
	background-attachment: fixed;
	font-size: 16px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	min-height: 100vh;
}

#container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
	position: relative;
}

/* Header Section - Static, Shorter */
#header {
	background-color: var(--white);
	box-shadow: var(--shadow-md);
	border-bottom: 1px solid var(--medium-gray);
	padding: 15px 0;
	width: 100%;
	border-top: 1px solid rgba(255,255,255,0.8);
}

.header-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

.header-content-wrapper {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.header-right-section {
	display: flex;
	align-items: center;
	gap: 20px;
}

/* Navigation Section - Sticky - Darker */
#navigation-wrapper {
	background: linear-gradient(135deg, #495057, #343a40);
	box-shadow: var(--shadow-lg);
	border-bottom: 3px solid var(--primary-green);
	position: sticky;
	top: 0;
	z-index: 100;
	width: 100%;
}

/* WordPress Admin Bar Compatibility */
.admin-bar #navigation-wrapper {
	top: 32px;
}

/* Admin bar mobile compatibility */
@media screen and (max-width: 782px) {
	.admin-bar #navigation-wrapper {
		top: 46px;
	}
}

@media screen and (max-width: 600px) {
	.admin-bar #navigation-wrapper {
		top: 0;
	}
}

.navigation-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

#wrapper {
	box-shadow: var(--shadow-lg);
	background-color: var(--white);
	border-radius: var(--border-radius);
	margin-top: 20px;
	overflow: hidden;
	border: 1px solid rgba(255,255,255,0.5);
}

#content, #content-archive {
	margin-top: 30px;
	margin-bottom: 30px;
	padding: 30px 30px 30px 280px;
	min-height: 450px;
	background-color: var(--white);
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-md);
	border: 1px solid rgba(255,255,255,0.6);
}


th, td, table {
	border: 0;
}

table.products {
	border-collapse: collapse;
	width: 100%;
	font-size: 14px;
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	margin: 20px 0;
}

table.products th {
	text-align: center;
	padding: 16px 12px;
	border: none;
	background: linear-gradient(135deg, var(--primary-blue), #6a7d96);
	color: white;
	font-weight: 600;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

table.products tr:hover {
	background-color: var(--light-gray);
	transition: var(--transition);
}

table.products td {
	text-align: center;
	padding: 12px;
	border-bottom: 1px solid var(--medium-gray);
}

table.products tr:nth-child(even) {
	background: var(--light-gray);
}

table.products tr:last-child td {
	border-bottom: none;
}

ul.shop_cat {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
}

ul.shop_cat li {
	display: block;
	min-height: 280px;
	padding: 24px;
	margin: 0;
	text-align: center;
	background: var(--white);
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
	border: 1px solid rgba(255,255,255,0.8);
}

ul.shop_cat li:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-4px);
	border-color: var(--primary-green);
}

ul.shop_cat li img {
	max-width: 100%;
	max-height: 160px;
	width: auto;
	height: auto;
	object-fit: contain;
	margin-bottom: 16px;
	transition: var(--transition);
}

ul.shop_cat li:hover img {
	transform: scale(1.05);
}

.acgshop-page-category h3 {
	
}

.category-header {
	font-size: 12px;
}

.category-header h1 {
	float: left;
	max-width: 25%;
	display: block;
	text-align: center;
}

.category-header h1 img {
	max-height: 120px;
	max-width: 100%;
}

.small-cat-label {
	font-size: 18px;
	text-align: center;
	color: #606060;
}

.free_shipping-note {
	color: red;
	font-weight: bold;
	text-align: center;
}

	.footer-bttn {
		display: block;
		margin: 0 auto;
		background-position: center top;
	}
	
	.footer-bttn:hover {
		background-position: center top;
		}

#colophon-widget {
	margin-top: -40px !important;
}

#colophon-widget .widget-wrapper {
	padding: 0;
	border: 0;
}

#header-more {
	margin-top: 10px;
	margin-bottom: 10px;
	max-width: 49%;
	margin-right: 10px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
}

#logo {
	float: left;
	max-width: 49%;
	display: flex;
	align-items: center;
}

#logo img {
	max-width: 100%;
	height: auto;
	max-height: 60px;
	transition: var(--transition);
}

#logo img:hover {
	transform: scale(1.02);
}

.site-name {
	font-family: 'Roboto Slab', serif;
	font-weight: 700;
	font-size: 2rem;
	color: var(--primary-green);
	text-decoration: none;
	line-height: 1.2;
}

.site-name:hover {
	color: var(--primary-blue);
	transition: var(--transition);
}

.site-description {
	font-size: 0.9rem;
	color: var(--text-secondary);
	font-weight: 400;
	margin-top: 4px;
}

#phone {
	font-family: 'Roboto Slab', serif;
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--primary-blue);
	margin-bottom: 6px;
	letter-spacing: -0.02em;
}

#header-shipping {
	font-size: 0.9rem;
	font-weight: 600;
	color: white;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 6px 12px;
	background: linear-gradient(135deg, var(--primary-green), #6b8f69);
	border-radius: var(--border-radius);
	box-shadow: var(--shadow-sm);
}

.menu-search {
	width: 28%;
}

#searchform {
	padding: 0;
	margin: 0;
}

#product_search {
	color: #434343;
}


#product_search:hover {
	color: #434343;
}

#product_search {
	margin: 4px;
	border-radius: 5px;
	width: 98%;
}

/* Modern Navigation Styles - No background/radius (handled by wrapper) */
.main-nav {
	padding: 0;
	margin: 0;
}

#menu-primary-navigation {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 0;
	padding: 0;
	list-style: none;
	flex-wrap: wrap;
}

.menu li {
	position: relative;
	z-index: 9999;
	display: flex;
	align-items: center;
}

.menu li a {
	color: white;
	text-decoration: none;
	padding: 16px 20px;
	font-weight: 500;
	font-size: 0.95rem;
	transition: var(--transition);
	display: flex;
	align-items: center;
	border-right: 1px solid rgba(255,255,255,0.15);
	text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.menu li:last-child a {
	border-right: none;
}

.menu li a:hover {
	background: rgba(255,255,255,0.2);
	color: white;
	transform: translateY(-1px);
	box-shadow: inset 0 -3px 0 var(--primary-green);
}

.menu li.current-menu-item a {
	background: var(--primary-green);
	color: white;
	box-shadow: inset 0 -3px 0 #6b8f69;
}

#menu-item-searchbtn a {
	border-left: 0 !important;
	padding: 12px 16px;
	background: linear-gradient(135deg, var(--primary-green), #6b8f69);
	color: white;
	border-radius: 0 var(--border-radius) var(--border-radius) 0;
	font-weight: 600;
	transition: var(--transition);
	text-shadow: 0 1px 2px rgba(0,0,0,0.3);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
}

#menu-item-searchbtn a:hover {
	background: linear-gradient(135deg, #6b8f69, var(--primary-green));
	transform: translateY(-1px);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.3), 0 2px 4px rgba(0,0,0,0.1);
}

#menu-item-login {
	float: right;
}


#header-login-box {
	position: absolute;
	top: 0;
	right: 0;
	padding: 3px 8px;
	background-color: rgba(0, 0, 0, 0.5);
	color: white;
}

#header-login-box a {
	color: white;
	font-size: 12px;
	text-decoration: none;
}

#login-popup {
	position: absolute;
	right: 0;
	top: 45px;
	display: block;
	background-color: rgba(255, 255, 255, 0.85);
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
	border: 1px solid white;
	padding: 10px;
	min-width: 380px;
	display: none;
	color: black;
}

#login-popup label {
	font-weight: bold;
	display: block;
	width: 100px;
	text-align: right;
	margin-right: 10px;
	float: left;	
	padding: 6px;
}

#login-popup input {
	display: block;
	margin-bottom: 4px;
}

.login-signup {
	display: block;
	float: left;
	padding: 6px;
}

.login-signup a {
	color: #202a62 !important;
	font-size: 14px !important;
	display: inline-block;
	padding: 0;
	border: 0;
	text-shadow: none;
	text-decoration: underline;
}

.login-signup a:hover {
	background-color: transparent;
	background-image: none;	
}

.login-button {
	float: right;
	display: inline;
	margin-right: 4px;	
}

#searchform input:focus {
	
}

.product-detailed .acgshop-page-add_to_cart {
	margin-left: 0;	
}

#menu-footer-navigation {
	text-align: center;
}

#menu-footer-navigation li {
	display: inline-block;	
}

#menu-footer-navigation li a {
	font-size: 14px;
	font-weight: bold;	
}

#left_column .footer-menu {
	margin: 0;
	padding: 0;
}

#left_column .footer-menu li a {
	border: 0;
	padding: 5px;
	display: block;
}

.sub-header-menu {
	text-align: center;
	background-color: #d7d7d7;
}

.sub-header-menu li {
	display: inline-block;	
	float: none;
}

.sub-header-menu li a {
	padding: 0 25px;
	border-left: none;
	font-weight: bold;	
}

#home_brands {
	list-style-type: none;	
}

#home_brands li {
	width: 33%;
	float: left;
	text-align: center;
	display: inline-block;
	display: table-cell;
	vertical-align: middle;
	min-height: 120px;
	line-height: 120px;
}

#home_brands li img {
	max-width: 100%;
}

#menu-item-brands {
	display: none;
}

#suggest {
	margin-left: 5px;
	margin-top: -4px;
}

#suggest li a {
	padding: 5px !important;
	height: auto !important;	
}

.menu ul {
	visibility: visible;
	display: block;
	z-index: 99999 !important;
	top: auto;
	background-color: white;	
}

.menu li {
	z-index: 9999 !important;
	}

#suggest .loading {
	background-image: url(img/ajax-loader.gif);
	background-repeat: no-repeat;
	background-position: center center;
	height: 40px;
}

.category-header .category-description {
	margin-left: 28%;
}

#free-shipping-truck {
	float: right;
	margin-left: 20px;
	display: flex;
	align-items: center;
	opacity: 0.9;
	transition: var(--transition);
}

#free-shipping-truck:hover {
	opacity: 1;
	transform: translateY(-2px);
}

#free-shipping-truck img {
	max-height: 50px;
	width: auto;
}

body.home ul.shop_cat {
	text-align: center;
}

body.home ul.shop_cat li {
	display: inline-block;
	min-height: 120px;
	width: 33%;
	float: none;
	
}


#primary {
}

#main {
	min-height: 450px;
}

#wrapper {
	position: relative;
}

#left_column {
	float: left;
	width: 240px;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	padding: 30px 20px 20px;
	border-right: 1px solid var(--medium-gray);
	margin-top: 0px;
	z-index: 1;
	background: linear-gradient(180deg, var(--white) 0%, #f1f3f4 100%);
	border-radius: var(--border-radius) 0 0 var(--border-radius);
	min-height: calc(100vh - 200px);
	box-shadow: inset -1px 0 3px rgba(0,0,0,0.05);
}

.featured-logos {
	margin: 20px 0;
}

/* Modern Footer Styles - Full Width */
#footer {
	background: linear-gradient(135deg, var(--dark-gray), #3a434f);
	color: white;
	padding: 40px 0 20px;
	margin-top: 60px;
	width: 100%;
}

.footer-container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

#footer-wrapper {
	max-width: none;
	margin: 0;
	padding: 0;
}

#footer-labels table {
	background: rgba(255,255,255,0.05);
	border-radius: var(--border-radius);
	padding: 20px;
	margin: 20px 0;
}

#footer-labels table td {
	vertical-align: middle;
	padding: 15px;
}

.copyright {
	font-size: 0.9rem;
	color: rgba(255,255,255,0.8);
	text-align: center;
}

.copyright a {
	color: var(--primary-green);
	text-decoration: none;
	transition: var(--transition);
}

.copyright a:hover {
	color: white;
	text-decoration: underline;
}

.scroll-top {
	text-align: center;
}

.scroll-top a {
	color: white;
	background: var(--primary-blue);
	padding: 10px 15px;
	border-radius: 50%;
	text-decoration: none;
	transition: var(--transition);
	box-shadow: var(--shadow-sm);
}

.scroll-top a:hover {
	background: var(--primary-green);
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
}

.powered {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--primary-green);
	text-align: center;
}

ul.breadcrumbs {
	margin: 0 0 24px 0;
	padding: 12px 16px;
	background: var(--light-gray);
	border-radius: var(--border-radius);
	border: 1px solid var(--medium-gray);
}

ul.breadcrumbs li {
	display: inline;
	list-style-type: none;
	padding-right: 8px;
	font-size: 0.9rem;
	position: relative;
}

ul.breadcrumbs li a:after {
	margin-left: 8px;
	content: '/';
	color: var(--text-secondary);
}

ul.breadcrumbs li:last-child > a:after {
	display: none;
	content: none;
}

ul.breadcrumbs li a {
	color: var(--primary-blue);
	font-weight: 500;
	text-decoration: none;
	transition: var(--transition);
}

ul.breadcrumbs li a:hover {
	color: var(--primary-green);
	text-decoration: underline;
}

.add_to_cart .btn-primary {
	color: white;
	background: linear-gradient(135deg, var(--primary-green), #6b8f69);
	border: none;
	border-radius: var(--border-radius);
	padding: 12px 24px;
	font-size: 1rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	cursor: pointer;
	transition: var(--transition);
	box-shadow: var(--shadow-sm);
	font-family: inherit;
}

.add_to_cart .btn-primary:hover {
	color: white;
	background: linear-gradient(135deg, var(--primary-blue), #6a7d96);
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.home ul.shop_cat li img {
	max-height: 110px !important;
}

.menu #menu-item-searchbtn a {
	border-left: 0 !important;
}

#fbuilder h1 { display: none; }

#fbuilder label {
	float: left;
	padding-right: 10px;
	width: 150px;
	text-align: right;
	font-size: 12px;
	line-height: 14px;
}

#fbuilder .fields {
	padding-bottom: 0 !important;
}

#fbuilder .uh {
	padding-left: 150px;
}



/* Enhanced Responsive Design */
@media only screen and (max-width: 910px) {
	#free-shipping-truck { display: none; }
	
	.header-container,
	.navigation-container,
	.footer-container {
		padding: 0 15px;
	}
	
	#left_column {
		position: relative;
		width: 100%;
		border-top: 1px solid var(--medium-gray);
		padding: 20px;
		border-right: none;
		border-radius: var(--border-radius);
		margin: 20px 0;
		background: var(--white);
		box-shadow: var(--shadow-sm);
	}
	
	#primary {
		margin-left: 0;
	}
	
	.featured-logos {
		width: 33%;
		float: left;
		display: table-cell;
		vertical-align: middle;
		padding-top: 20px;
	}
	
	#content {
		padding-left: 30px;
	}
	
	ul.shop_cat {
		grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	}
	
	#navigation-wrapper {
		position: relative;
	}
	
	/* Override admin bar positioning on medium screens */
	.admin-bar #navigation-wrapper {
		position: relative;
		top: auto;
	}
}

@media only screen and (max-width: 880px) {
	.squeeze {
		display: none;
	}
}

@media only screen and (max-width: 650px) {
	#container {
		padding: 0 15px;
	}
	
	#header {
		padding: 10px 0;
	}
	
	.header-container,
	.navigation-container,
	.footer-container {
		padding: 0 10px;
	}
	
	.header-content-wrapper {
		flex-direction: column;
		gap: 15px;
		text-align: center;
	}
	
	.header-right-section {
		flex-direction: column;
		gap: 10px;
	}
	
    #logo {
		width: 100%;
		max-width: 100%;
		justify-content: center;
	}
	
    #header-more {
	    width: 100%;
	    max-width: 100%;
		margin-top: 0;
		text-align: center;
		align-items: center;
	}
	
	#navigation-wrapper {
		position: relative;
	}
	
	.main-nav {
		padding: 10px 0;
	}
	
	/* Override admin bar positioning on mobile */
	.admin-bar #navigation-wrapper {
		position: relative;
		top: auto;
	}
	
	.product_code {
		text-align: center;
	}
	
	.category-header h1 {
		max-width: 100%;
	}
	
	#menu-primary-navigation {
		border-bottom: 5px solid #3f3f3f;
	}
	
	#menu-item-login {
		float: none;
		width: 100%;
	}
	
	.menu-search {
		width: 100%;
	}
	
	#menu-item-searchbtn {
		display: none;
	}
	
	#home_brands li {
		width: 100%;
		float: left;
		text-align: center;
		display: inline-block;
		display: table-cell;
		vertical-align: middle;
		min-height: inherit;
		line-height: inherit;
		margin-bottom: 10px;
	}
	
	#menu-item-brands {
		display: block;
	}
	
	#footer-labels table td {
		width:100%;
		display: table-row;
	}
	
	#menu-footer-navigation li {
		width: 100%;
	}
	
	.category-header h1 {
		width: 100%;
	}

	.category-header .category-description {
		margin-left: 0;
	}

	body.home ul.shop_cat {
		grid-template-columns: 1fr;
	}
	
	body.home ul.shop_cat li {
		width: 100%;
		min-height: 200px;
	}

	#container {
		padding: 0;	
	}
	
	#header-more {
		margin: 0 0 8px 0;
	}
	
	#content {
		margin-left: 0;
	}
	
	#primary {
		margin-left: 0;
	}
	
	.hide_on_mobile {
		display: none;
	}
	
	.featured-logos {
		width: 100%;
		float: none;
		display: block;
		margin: 10px 0;
	}
	
	#menu-footer-navigation li {
		margin: 10px;
		display: block;
		width: auto;
	}
	
	ul.shop_cat {
		grid-template-columns: 1fr;
		gap: 15px;
	}
	
	table.products {
		font-size: 12px;
	}
	
	table.products th,
	table.products td {
		padding: 8px 4px;
	}

}

/* Modern Typography and Additional Enhancements */
h1, h2, h3, h4, h5, h6 {
	font-family: 'Roboto Slab', serif;
	font-weight: 600;
	color: var(--text-primary);
	line-height: 1.3;
	margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; color: var(--primary-blue); }
h2 { font-size: 2rem; color: var(--primary-green); }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.125rem; }

p {
	margin-bottom: 1rem;
	line-height: 1.7;
}

/* Search Results Styling */
.search-results li {
	background: var(--white);
	border: 1px solid var(--medium-gray);
	border-radius: var(--border-radius);
	margin-bottom: 15px;
	transition: var(--transition);
	box-shadow: var(--shadow-sm);
}

.search-results li:hover {
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
	border-color: var(--primary-green);
}

.search-results li a {
	display: block;
	padding: 20px;
	color: var(--text-primary);
	text-decoration: none;
}

.search-results li a b {
	color: var(--primary-blue);
	font-size: 1.1rem;
	margin-bottom: 8px;
	display: block;
}

/* Loading Animation */
@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.loading::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 20px;
	height: 20px;
	margin: -10px 0 0 -10px;
	border: 2px solid var(--medium-gray);
	border-top-color: var(--primary-green);
	border-radius: 50%;
	animation: spin 1s linear infinite;
}



