/* Global Styles */
body {
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    color: #050B20;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}
a:focus, a:hover
{
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Header Styles */
.main-header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	padding-left: 60px;
    padding-right: 0px;
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height:110px;
}

.menu {
    flex-grow: 1;
    margin-left: 42px;
}

.nav-menu {
    display: flex;
    align-items: center;
	justify-content: center;
}

.nav-menu li {
    position: relative;
    margin-right: 42px;
}

.nav-menu li a {
    color: #050B20;
    font-weight: 500;
    font-size: 20px;
    text-transform: uppercase;
    line-height: 1.85em;
	text-decoration:none;
}

.with-dropdown {
    display: flex;
    align-items: center;
}

.dropdown-icon {
    margin-left: 7px;
    width: 10px;
    height: 5px;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 21px;
}

.phone-link, .sign-in-link {
    display: flex;
    align-items: center;
    color: #050B20;
    font-weight: 500;
    font-size: 15px;
	text-decoration:none !important;
}

.phone-icon {
    margin-right: 8px;
    width: 12px;
    height: 18px;
}

.sign-in-container {
    border-radius: 16px;
    padding: 10px 20px;
    border: 2px solid rgba(0, 0, 0, 0.4);
}

.user-icon {
    margin-right: 10px;
    width: 15px;
    height: 16px;
}

/* Mobile menu toggle hidden by default on desktop */
.mobile-menu-toggle {
    display: none;
}

/* Hero Section Styles */
.hero-section {
    position: relative;
    height: 635px;
    width: 100%;
    overflow: visible !important;
}

.background {
    position: relative;
    width: 100%;
    height: 100%;
    padding-bottom: 60px;
}

.rs-module-wrap {
    position: relative;
    top: 35px;
    /* left: 20px; */
    width: 1400px;
    /* height: 590px; */
    margin: 0 auto;
    /* left: 47%; */
    /* transform: translateX(-50%); */
    border-radius: 16px;
    overflow: hidden;
}

.rs-module {
    position: relative;
    width: 100%;
    height: 660px;
    overflow: hidden;
}

.rs-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.rs-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: transform, opacity;
}

.rs-slide.active {
    display: block;
    opacity: 1;
    z-index: 2;
    transform: translateX(0);
}

.rs-sbg-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 21px;
    overflow: hidden;
}

.rs-sbg {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease-in-out;
}

.rs-layer-wrap {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.title-layer {
    top: 135px;
    width: 300px;
    text-align: center;
}

.subtitle-layer {
    top: 171px;
    width: 780px;
    text-align: center;
}

.rs-layer h2 {
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    line-height: 1em;
    margin: 0;
    white-space: nowrap;
}

.rs-layer h1 {
    color: #fff;
    font-size: 52px;
    font-weight: 500;
    line-height: 1em;
    margin: 0;
}

.rs-arrow {
    position: absolute;
    top: 310px;
    width: 60px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background-color 0.3s ease;
}

.rs-arrow:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.left-arrow {
    left: 30px;
}

.right-arrow {
    right: 30px;
}

.rs-arrow .icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rs-arrow img {
    width: 14px;
    height: 23px;
}

/* Search Container Default Styles for Desktop */
.search-container {
    position: absolute;
    bottom: -82px;
    left: 47%;
    transform: translateX(-50%);
    width: 1152px;
    margin: 0 auto;
    z-index: 100;
}

.search-box {
    position: relative;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
    border-radius: 6.46px;
    background: transparent;
}

.search-box:before {
    position: absolute;
    top: 0;
    right: 0;
    width: 160px;
    height: 58px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(40px);
    border-radius: 0 6.46px 0 0;
    z-index: 1;
}

.search-tabs {
    display: flex;
    position: relative;
    height: 58px;
    z-index: 101;
}

.tab-by-car, .tab-by-part {
    padding: 0;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    position: relative;
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-by-car {
    background-color: rgba(0, 0, 0, 0.6);    color: #fff;
    border-radius: 6.46px 0 0 0;
    width: 124px;
    height: 58px;
}

.tab-by-car.active {
    background-color: #262626;
    color: #fff;
    border-top: 2.5px solid #F47925;
}

.tab-by-part {
    color: rgba(255, 255, 255, 0.9);
    width: 160px;
    height: 58px;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(40px);
    border-radius: 0 6.46px 0 0;
}

.tab-by-part.active {
    color: #fff;
    border-top: 2.5px solid #F47925;
    background-color: #262626;
}

.search-form-container {
    background-color: #262626 !important;
    padding: 24px 30px;
    border-radius: 0 6.46px 6.46px 6.46px;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}

.search-form {
    width: 100%;
    position: relative;
    z-index: 100;
    display: none;
}

.search-form.active {
    display: block;
}

.form-fields {
  
    width: 100%;
    gap: 10px;
    position: relative;
    z-index: 100;
    display: flex;
    align-items: center;
}

.part-number-field {
    flex: 1;
    border-right: none;
    padding: 0;
    display: flex;
    align-items: center;
}

.part-number-input {
    height: 40px;
    background-color: transparent !important;
    width: 100%;
    color: #fff;
    border: none;
    font-size: 16px;
    font-family: 'DM Sans', sans-serif;
    padding: 8px 2px;
    outline: none;
    background-image: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.part-number-input::placeholder {
    color: black;
}

/* Remove any background image from the part number input */
input.form-field {
    background-image: none !important;
}

.field-group {
    position: relative;
    border-right: 1px solid rgba(233, 233, 233, 0.15);
    padding: 0 22px;
    flex: 1;
    display: flex;
    align-items: center;
    height: 40px;
    z-index: 100;
	width:auto !important;
}

.field-group:first-child {
    padding-left: 0;
}

.field-group:last-of-type {
    border-right: none;
    padding-right: 0;
}

.form-field {
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 16px;
    font-family: 'DM Sans', sans-serif;
    padding: 8px 0;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    outline: none;
    background-image: url('data:image/svg+xml;utf8,<svg width="10" height="6" viewBox="0 0 10 6" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1L5 5L9 1" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
    background-repeat: no-repeat;
    background-position: right center;
    padding-right: 20px;
    position: relative;
    z-index: 100;
}

.form-field:focus {
    outline: none;
}

.form-field option {
    background-color: #333333 !important;
    color: #fff !important;
    padding: 10px;
    font-family: 'DM Sans', sans-serif;
}

select.form-field::-ms-expand {
    display: none;
}

.search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #cd5701;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 30px;
    border-radius: 6.46px;
    cursor: pointer;
    margin-left: 18px;
    white-space: nowrap;
    transition: background-color 0.3s ease;
    height: 48px;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 100;
}

.search-button:hover {
    background-color: #e06b18;
}

.search-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

/* Brand Logos Section */
.brand-logos {
     padding: 48px 0; 
     margin-top: 150px; 
    background-color: #ffffff;
}
.hero-bg-img{
    border-radius: 14px;
    filter: brightness(60%);
}
.logo-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 120px;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 15px;
}

.logo-item img {
    height: auto;
    max-height: 35px;
    max-width: 180px;
    filter: grayscale(100%) opacity(60%);
    transition: filter 0.3s ease;
}

.logo-item:hover img {
    filter: grayscale(0%) opacity(100%);
}

.bosch-logo {
    position: relative;
    width: 180px;
    height: 35px;
}

.bosch-part1, .bosch-part2, .bosch-part3 {
    filter: grayscale(100%) opacity(60%);
    transition: filter 0.3s ease;
    position: absolute;
}

.bosch-part1 {
    left: 0;
    top: 0;
}

.bosch-part2 {
    left: 4.9px;
    top: 6.2px;
}

.bosch-part3 {
    left: 44.5px;
    top: 4px;
}

.bosch-logo:hover .bosch-part1,
.bosch-logo:hover .bosch-part2,
.bosch-logo:hover .bosch-part3 {
    filter: grayscale(0%) opacity(100%);
}

/* Product Categories Section */
.product-categories {
    padding: 32px 0 64px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    line-height: 0.925em;
    color: #000;
    margin: 0;
}

.view-all {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: #050B20;
    text-decoration: none;
}

.arrow-icon {
    width: 14px;
    height: 14px;
}

.category-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}

.shop-by-categories .category-card {
    width: 270px;
}

.card-content {
    background-color: #F7F7F7;
    height: 398px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 60px 0 26px;
    position: relative;
}

.card-content img {
    max-width: 80%;
    max-height: 210px;
    object-fit: contain;
}

.card-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    text-align: center;
    padding: 0 20px;
    line-height: 1.3em;
}

.card-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #f13a30;
    text-align: center;
    padding: 0 20px;
    line-height: 0.6em;
}

.category-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 49px;
    height: 8px;
    background-color: #F7F7F7;
    border-radius: 10px;
}

.dot.active {
    background-color: #000;
}

/* Popular Parts Section */
.popular-parts {
    padding: 64px 0;
    text-align: center;
}

.popular-parts h2 {
    font-size: 32px;
    font-weight: 700;
    color: #050B20;
    margin-bottom: 46px;
    line-height: 1.2;
}

.parts-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1170px;
    margin: 0 auto;
}

.part-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    border: 1px solid #E1E1E1;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 400;
    color: #050B20;
    width: calc(20% - 16px); /* 5 items per row with 20px gap */
    transition: all 0.3s ease;
    text-align: center;
    height: 65px;
	text-decoration:none !important;
}

.part-link:hover {
    background-color: #f8f8f8;
    border-color: #d1d1d1;
}

.horizontal-divider {
    height: 1px;
    background-color: #E1E1E1;
    width: 100%;
    margin: 0 auto;
}

/* About Us Section */
.about-us {
    padding: 66px 0;
    background: #FFFFFF;
    margin: 0 auto;
}

.featured-section-content {
    display: flex;
    max-width: 1170px;
    margin: 0 auto;
    gap: 30px;
}

.featured-image {
    flex: 1;
    max-width: 570px;
}

.featured-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0;
}

.featured-text-container {
    flex: 1;
    max-width: 570px;
    display: flex;
    align-items: center;
}

.featured-text-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 530px;
}

.featured-text-header {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.featured-text-header h2 {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: #050B20;
    margin: 0;
}

.featured-text-header p {
    font-size: 16px;
    line-height: 1.5;
    color: #050B20;
    margin: 0;
}

.featured-benefits-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.featured-benefit {
    display: flex;
    align-items: flex-start;
}

.benefit-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.benefit-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

/* Specific styling for inventory icon */
.inventory-icon {
    width: 40px;
    height: 40px;
    align-items: flex-start;
    justify-content: flex-start;
}

.inventory-icon img {
    max-height: 36px;
    width: auto;
    margin-top: -1px;
}

.benefit-icon img {
    max-width: 100%;
    height: auto;
    max-height: 40px;
}

.featured-benefit h3 {
    font-size: 16px;
    font-weight: 500;
    color: #050B20;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.featured-benefit p {
    font-size: 14px;
    line-height: 1.5;
    color: #050B20;
    opacity: 0.7;
    margin: 0;
    max-width: 95%;
}

/* Footer Styles */
.main-footer {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Newsletter Section */
.newsletter {
    padding: 64px 0;
    background-color: #fff;
    border-bottom: none;
}

.newsletter-content {
    max-width: 567px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 21px;
}

.newsletter-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
}

.newsletter h2 {
    font-size: 32px;
    font-weight: 500;
    margin: 0;
    color: #222222;
    line-height: 0.94em;
    text-align: center;
    
}

.newsletter p {
    font-size: 16px;
    margin: 0;
    color: #555555;
    line-height: 1.3em;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    width: 100%;
    border: 1px solid #E9E9E9;
    border-radius: 16px;
    overflow: hidden;
    padding: 0 10px 10px 10px;
}

.newsletter-form input {
    width: 100%;
    background: transparent;
    border: none;
    color: #050B20;
    font-size: 16px;
    font-family: 'DM Sans', sans-serif;
    padding: 20px 22px;
    flex-grow: 1;
    outline: none;
}

.newsletter-form input::placeholder {
    color: #050B20;
    opacity: 0.7;
}

.newsletter-form button {
    background-color: #F47925;
    border: none;
    border-radius: 16px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    padding: 19px 35px;
    cursor: pointer;
    white-space: nowrap;
    margin: 5px 5px 5px 0;
}

/* Footer Links */
.footer-links-container {
    background: #fff;
    padding: 55px 0;
    flex-grow: 1;
}

.footer-links-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-column h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #222222;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column ul li a {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.3em;
    text-decoration: none;
}

.sale-hours {
    margin-bottom: 44px;
}

.sale-hours h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #222222;
}

.sale-hours p {
    font-size: 16px;
    line-height: 2.25em;
    opacity: 0.9;
    margin: 0;
}

.social-links h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #222222;
}

.social-icons {
    display: flex;
    gap: 9px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background-color: transparent;
    color: #cd5701;
    font-size: 25px;
}

/* Copyright */
.copyright {
    padding: 34px 128px;
    border-top: 1px solid #E1E1E1;
    background-color: #fff;
}

.copyright-content {
    display: flex;
    align-items: center;
}

.copyright p {
    font-size: 16px;
    opacity: 0.9;
    margin: 0;
}

/* Media Queries for Responsive Design */
@media (max-width: 1400px) {
    .rs-module-wrap {
        width: 90%;
        height: auto;
    }
    
    .search-container {
		width: 83%;
        bottom: -81px;
        left: 50%;
    }
	.shop-by-categories .category-card {
		width: 370px;
	}
	.nav-menu li a{
	    font-size: 15px !important;
	}
}
@media (min-width: 1401px) {
.rs-module-wrap {
	width: 100% !important;
	padding: 0px 20px;
}
.search-container
{
	top: 85%;
	bottom:0px;
}
}
@media (min-width: 2200px) {
    .rs-module {
		height: 790px;
	}
	.rs-module-wrap {
	padding: 0px 100px;
    }
    .search-container {
		width: 1400px;
        left: 48%;
		top: 119%;
    }
	.brand-logos {
		margin-top: 13%;
	}
	.main-header {
        padding-left: 80px !important;
        padding-right: 80px;
    }
	.Custom-slider .Custom-viewport
	{
		height: 788px !important;
	}
}
 

@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
    .nav-menu li a{
	    font-size: 15px !important;
	}
    .search-container {
		bottom: -80px;
        left: 50%;
		width: 87%;
    }
    
    .field-group {
        padding: 0 10px;
    }
    
    .search-button {
        padding: 12px 20px;
        margin-left: 15px;
    }
    
    .logo-grid {
        padding: 0 60px;
        gap: 20px;
	    margin-top: 6%;
    }
	.brand-logos{
		margin-top:0px !important;
	}
    
    .category-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .category-card {
        /* width: calc(50% - 20px); */
        margin-bottom: 20px;
    }
    
    .about-us {
        padding: 64px 50px;
    }
    
    .copyright {
        padding: 34px 60px;
    }
    
    .featured-section-content {
        max-width: 960px;
        padding: 0 20px;
        gap: 20px;
    }
    
    .featured-text-header h2 {
        font-size: 36px;
    }
    
    .footer-links-grid {
        gap: 30px;
    }
    
    .part-link {
        width: calc(25% - 15px); /* 4 items per row */
    }
    
    .rs-module-wrap {
        width: 95%;
    }
    
   
.shop-by-categories .category-card {
        width: 340px;
    }
}
@media (min-width: 1200px) {
.logo img {
    max-height: 120px !important;
}
}
@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: block !important;
        z-index: 1002;
        cursor: pointer;
        padding: 10px 0px;
        margin-right: 5px;
		width: 47px !important;
		height: 47px !important;
    }
    
    .header-wrapper {
        position: relative;
        /* flex-wrap: wrap; */
    }
    
    /* Hide desktop menu */
    .menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: #fff;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        margin-left: 0;
        padding: 80px 20px 30px;
        overflow-y: auto;
    }
    
    .menu.active {
        right: 0;
    }
    
    /* First row with logo and sign-in */
    .logo {
        flex: 0 0 50%;
    }
    
    /* Mobile contact info layout */
    .contact-info {
        /* width: 100%; */
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: flex-end;
        margin-top: 0;
    }
    
    /* Second row layout */
    .mobile-menu-toggle {
        order: 2;
        align-self: center;
    }
    
    .contact-info .phone-link {
        display: none;
    }
    
    .sign-in-container {
        margin-top: 0;
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .nav-menu li {
        margin: 15px 0;
        width: 100%;
    }
    
    .mega-dropdown {
        position: static;
        width: 100%;
        transform: none;
        box-shadow: none;
        padding: 15px 0;
        margin-top: 10px;
        display: none;
    }
    
    .mega-dropdown.active {
        transform: none;
        display: block;
    }
    
    /* Mobile menu toggle styling */
    .mobile-menu-toggle span {
        margin-bottom: 5px;
    }
    
    .mobile-menu-toggle span:last-child {
        margin-bottom: 0;
    }
    
    /* Close button inside mobile menu */
    .menu:before {
        /* content: "×"; */
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 30px;
        color: #050B20;
        cursor: pointer;
    }
    
    /* Restore other mobile styles */
    .rs-module-wrap {
        width: 100%;
        /* left: 50%; */
        border-radius: 0;
		padding: 0px 20px;
    }
    
    .rs-module {
        height: 450px;
    }
    .brand-logos{
		margin-top:0px;
	}
    /* Search container using relative positioning */
    .search-container {
        position: relative;
        width: 89%;
        bottom: auto;
        margin: -88px 0;
        z-index: 100;
        padding: 0 15px;
		/* left: 48%; */
    }
    
    .search-form-container {
        padding: 20px 15px;
    }
    
    .title-layer {
        top: 100px;
        width: 90%;
    }
    
    .subtitle-layer {
        top: 140px;
        width: 90%;
    }
    
    .rs-layer h1 {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .rs-layer h2 {
        font-size: 14px;
    }
    
    .rs-arrow {
        width: 40px;
        height: 40px;
        top: 220px;
    }
    
    .search-button {
        height: 44px;
        margin-left: 0;
        /* width: 100%; */
        z-index: 100;
    }
    
    .form-fields {
        z-index: 100;
    }
    
    .field-group {
        width: 100%;
        border-right: none;
        padding: 0;
        height: auto;
        z-index: 100;
    }
    
    .search-box:before {
        width: 140px;
        z-index: 1;
    }
    
    .tab-by-part {
        background-color: rgba(0, 0, 0, 0.6);
        border-radius: 0 6.46px 0 0;
        width: 140px;
        height: 58px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Header styling for mobile */
    .main-header {
        padding-left: 20px;
        padding-right: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 768px) {
    
    html, body{
        margin: 0;
        padding: 0;
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
	#mobile-menu-toggle{
		display:block !important;
	}

    .main-header{
        padding: 10px 10px;
        margin-top: 8px;
    }
    .cartBlock{
		display:block !important;		
	}
	.contact-info-mobile{
		display:block !important;		
	}
    .contact-info {
        display: none;
    }
    .hero-bg-img{
        border-radius: 28px;
        padding: 10px;
        margin-top: 8px;
    }
    .hero-section {
        height: 450px;
        padding-bottom: 250px;
    }
    .rs-module-wrap {
	    transform: translateX(-50%);
		left: 50%;
	}	
    .rs-module {
        height: 400px;
    }
    
    .rs-layer h1 {
        font-size: 26px;
        line-height: 1.3;
        text-align: center;
    }
	.Custom-caption{
		transform: translateX(0%)!important;
		left: 0% !important; 
	}
	.Custom-slider-area {
        padding: 30px 20px !important;			
		}
	.brand-logos{
	    margin-top: 0px;
		padding: 20px 0;
	}
    .gradient-overlay {
        position: absolute;
        top: 18px;
        left: 10px;
        width: 95%;
        height: 100px;
        background: linear-gradient(to bottom, rgb(0 0 0 / 100%), transparent);
        pointer-events: none;
        border-radius: 18px;
      }
    .form-fields {
        display: flex !important;
		width: 100% !important;
    }
    .search-container {
        position: relative;
        bottom: auto;
        margin: -90px 0;
        width: 95%;
        /* max-width: 500px; */
        z-index: 100;
    }
    
    .tab-by-car, .tab-by-part {
        font-size: 14px;
        padding: 15px;
    }
    .tab-by-car.active {
        background-color: #262626;
        color: #fff;
        border-top: 2.5px solid #F47925 !important;
    }
    .tab-by-part.active {
        background-color: #262626;
        color: #fff;
        border-top: 2.5px solid #F47925 !important;
    }
    .rs-arrow {
        width: 34px;
        height: 34px;
        top: 160px;
    }
    
    .rs-arrow.left-arrow {
        left: 14px;
    }
    
    .rs-arrow.right-arrow {
        right: 14px;
    }
    
    /* Brand logos styling */
    .brand-logos {
         margin-top: 0px; 
         padding: 0px 0; 
        position: relative;
        z-index: 2;
		margin-top: 13%;
    }
    
    .brand-logo {
        position: relative;
    }
    
    .logo-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    
    .logo-item {
        display: block;
        width: 100%;
        text-align: center;
        padding: 20px;
    }
    
    /* Product categories */
    .product-categories {
        padding: 20px 0 40px;
        position: relative;
    }
    .product-category {
        margin-bottom: 20px;
        display: flex;
        width: 100% !important;
        justify-content: center;
    }
    
    .category-card {
        width: 100%;
        max-width: 350px;
        margin-bottom: 15px;
    }
    
    .card-content {
        height: 320px;
        padding: 30px 0 15px;
    }
    
    .card-content h3 {
        font-size: 15px;
    }
    
    .section-header {
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    /* Popular parts */
    .popular-parts {
        padding: 30px 0;
        position: relative;
    }
    
    .popular-parts h2 {
        font-size: 24px;
        margin-bottom: 25px;
        text-align: left;
    }
    
    .parts-links {
        gap: 10px;
    }
    
    .part-link {
        width: calc(50% - 5px);
        font-size: 14px;
        height: 50px;
        padding: 10px;
    }
    
    /* About section */
    .about-us {
        padding: 30px 0;
        position: relative;
    }
    
    .featured-section-content {
        gap: 25px;
        display: block;
    }
    
    .featured-text-header h2 {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .featured-text-header p {
        font-size: 15px;
    }
    
    .featured-benefits-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefit-content {
        align-items: center;
        text-align: center;
    }
    
    .featured-benefit h3 {
        font-size: 16px;
    }
    
    .featured-benefit p {
        font-size: 14px;
        max-width: 100%;
    }
    
    .benefit-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }
    
    /* Footer */
    .newsletter {
        padding: 30px 0;
    }
    
    .newsletter h2 {
        font-size: 24px;
    }
    
    .newsletter p {
        font-size: 14px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input, 
    .newsletter-form button {
        width: 100%;
        margin-bottom: 10px;
        border-radius: 8px;
    }
    
    .footer-links-container {
        padding: 30px 0;
    }
    
    .footer-column {
        width: 100%;
    }
    
    .footer-column h3 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .copyright {
        padding: 25px 20px;
    }
    
    .copyright-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
    
    .copyright p {
        font-size: 14px;
        display: inline;
    }
    
    /* Shop dropdown */
    .mega-dropdown {
        padding: 20px 0;
    }
    
    .product-category {
        width: calc(50% - 15px);
    }
    
    .category-image {
        height: 140px;
    }
    .main-footer{
        position: relative;
    }
    .footer-links-grid{
        display: block;
    }
    .social-links h3{
        text-align: center;
    }
    .social-icons{
        justify-content: center;
    }
}

.rs-bullets {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.rs-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.rs-bullet.active {
    background-color: #fff;
}

.form-field.select-active {
    border-bottom: 1px solid #F47925;
}

/* Make select options more visible */
select.form-field {
    position: relative;
}

select.form-field option {
    padding: 10px;
    background-color: #333333;
    color: white;
    font-size: 16px;
	width:100% !important;
}

/* Override any browser-specific styling */
select.form-field {
    background-color: transparent !important;
    border: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.by-part-form .field-group {
    width: 100%;
}

/* Shop Dropdown Menu */
.nav-menu li {
    position: relative;
}

.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 80vw;
    background-color: #ffffff;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    padding: 40px 0;
}

.nav-menu li:hover .mega-dropdown,
.mega-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 15px;
}

.product-category {
    width: calc(20% - 20px);
    margin-bottom: 20px;
}

.product-category a {
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.product-category a:hover {
    transform: translateY(-5px);
}

.category-image {
    background-color: #f7f7f7;
    border-radius: 4px;
    overflow: hidden;
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.category-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.product-category h3 {
    font-size: 16px;
    color: #222222;
    text-align: center;
    margin: 0;
    font-weight: 500;
    padding: 10px 0;
}

.view-all-link {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.view-all-link a {
    color: #F47925;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.view-all-link a:hover {
    color: #e06b18;
}

.view-all-link a:after {
    content: "";
    width: 14px;
    height: 14px;
    background-image: url('../images/arrow-right-view-all.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 10px;
}

/* Mobile menu styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 9999;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #050B20;
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 480px) {
    /* Mobile header styling */
    .main-header {
        padding: 10px 10px;
        border-bottom: none;
    }
    
    /* Mobile menu icon */
    .mobile-menu-toggle {
        display: flex;
        width: 24px;
        height: 24px;
        padding: 10px 10px;
        margin: 0;
    }
    
    .mobile-menu-toggle span {
        display: none;
    }
    
    .mobile-menu-toggle:before {
        content: "";
        display: block;
        width: 24px;
        height: 24px;
        background-image: url('../images/menu-icon.svg');
        background-size: contain;
        background-repeat: no-repeat;
    }
    
    .sign-in-container {
        border: none;
        padding: 0;
    }
    
    /* Logo size for mobile */
    .logo img {
        max-height: 45px;
    }

    /* Hero container with search form styling */
    .hero-section {
        height: auto;
        padding-bottom: 20px;
        position: relative;
    }
    
    .rs-module-wrap {
        top: 0;
        border-radius: 0;
        height: 380px;
        width: 100%;
        overflow: visible;
        position: relative;
    }
    
    .rs-sbg-wrap {
        border-radius: 0;
    }
    
    .rs-module {
        height: 380px;
    }
    
    .rs-layer h1 {
        font-size: 26px;
        line-height: 1.3;
        text-align: center;
    }
    
    .rs-layer h2 {
        font-size: 14px;
    }
    
    .title-layer {
        top: 50px;
    }
    
    .subtitle-layer {
        top: 115px;
    }

    /* Search container positioning for mobile - matching Figma */
    .search-container {
        position: relative;
        margin-top: -80px;
        width: calc(100% - 48px);
        max-width: 320px;
        bottom: auto;
        left: auto;
        transform: none;
        margin-left: auto;
        margin-right: auto;
    }
    
    .search-box {
        border-radius: 0;
        box-shadow: none;
        background: #262626;
    }
    
    .search-tabs {
        display: flex;
        width: 100%;
        height: 51px;
    }
	.form-fields {
	    display: block !important;
	}
    .tab-by-car, .tab-by-part {
        font-size: 14px;
        height: 51px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-transform: none;
    }
    
    .tab-by-car {
        color: #ffffff;
        width: 50%;
        border-top: none;
        border-right: none;
        border-radius: 0;
        font-weight: 400;
    }
    
    .tab-by-part {
        color: #ffffff;
        width: 50%;
        border-radius: 0;
        font-weight: 400;
    }
    
    .tab-by-car.active {
        background-color: #262626;
        border-top: none;
    }
    
    .tab-by-part.active {
        background-color: #262626;
        border-top: none;
    }
    
    .search-form-container {
        background-color: #262626;
        border-radius: 0;
        padding: 24px 16px;
    }
    
    .search-form{
        text-align: -webkit-center;
    }

    .field-group:first-child{
        padding-left: 20px;
    }

    .field-group:last-of-type{
        padding-right: 20px;
    }
    
    .field-group {
        display: block;
        width: 100% !important;
        background-color: transparent;
        padding: 10px 20px;
        height: auto;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .form-field {
        background-color: transparent;
        color: #fff;
        height: auto;
        font-size: 14px;
        background-image: url('data:image/svg+xml;utf8,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1 1.5L6 6.5L11 1.5" stroke="white" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>');
        background-position: right center;
        background-repeat: no-repeat;
    }
    
    .form-field::placeholder {
        color: #fff;
    }
    
    .search-button {
        background-color: #F47925;
        border: none;
        border-radius: 4px;
        font-size: 16px;
        font-weight: 500;
        padding: 12px 0;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin-top: 10px;
        height: auto;
		width: 100%;
    }
    
    .search-icon {
        width: 16px;
        height: 16px;
    }
    
    /* Brand logos positioning */
    .brand-logos {
        /* margin-top: 40px; */
        /* padding-top: 20px; */
        position: relative;
    }
    
    .logo-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    /* Slider arrow styling */
    .rs-arrow {
        width: 34px;
        height: 34px;
        top: 160px;
        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 29px;
        display: flex;
        justify-content: center;
        border-bottom: none;
        z-index: 999;
    }
} 

/* Body styles when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Menu overlay styles */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Footer Toggle for Mobile */
@media (max-width: 768px) {
    .footer-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        padding: 10px 0;
        border-bottom: 1px solid #e1e1e1;
        margin-bottom: 0;
    }
    
    .toggle-icon {
        font-size: 18px;
        font-weight: bold;
        transition: transform 0.3s ease;
    }
    
    .footer-toggle.active .toggle-icon {
        transform: rotate(45deg);
    }
    
    .footer-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
        margin: 0;
    }
    
    .footer-toggle.active + .footer-content {
        max-height: 300px; /* Adjust based on content height */
        padding: 10px 0;
    }
}

/* Styles for non-mobile */
@media (min-width: 769px) {
	#mobile-menu-toggle
	{
		display:none !important;
	}
	.nav-menu li
	{
		margin-right: 27px;
	}
	.logo img {
		max-height: 53px;
	}
	.main-header
	{
	    padding-left: 15px;
	}
	.menu {
		margin-left: 0px;
	}
    .toggle-icon {
        display: none;
    }
    
    .footer-content {
        max-height: none !important;
        overflow: visible !important;
    }
} 


/* cart CSS */

.dv-header-cart {
	position: relative;
	top: 24%;
	right: 2%;
	text-align: center;
	font-size: 11px;
	font-weight: 600;
	box-shadow: #DDD 0 0 3px;
	cursor: pointer;
	color: #999;
	border-radius: 3px;
	border: solid 1px gray;
	}

	.dv-header-cart:hover {
	color: #555;
	box-shadow: gray 0 0 3px;
	}

	.dv-header-cart .glyphicon-shopping-cart {
	font-size: 30px;
	}

	.dv-header-cart .dv-header-cart-item-count {
	padding-right: 10px;
	background-color: #ffffff;
	color: #999;
	padding: 0 20px;
	border: solid 1px gray;
	}

	.dv-header-cart .dv-header-cart-total-value {
	background-color: #ffffff;
	color: #999;
	border: solid 1px gray;
	}

	.dv-header-cart .dv-header-cart-icon {
	padding: 10px;
	}

.badge-cart{
    position: relative  !important;
    top: -18px !important;
    right: 12px !important;
    background-color: #f73a3a !important;
}

.cartButton img
{
    width: 40px !important;
}


.category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* spacing between cards */
    justify-content: center; /* center last row */
}

.category-grid .category-card-link {
    flex: 1 1 calc(25% - 20px); /* 4 per row on desktop */
    max-width: calc(25% - 20px);
    text-decoration: none;
}

@media (max-width: 992px) {
    .category-grid .category-card-link {
        flex: 1 1 calc(50% - 20px); /* 2 per row on tablets */
        max-width: calc(50% - 20px);
		background-color: #F7F7F7;
    }
}

@media (max-width: 576px) {
    .category-grid .category-card-link {
        flex: 1 1 100%; /* 1 per row on mobile */
        max-width: 100%;
		background-color: #F7F7F7;
    }
	
}

/* cart CSS */

.dv-header-cart {
	position: relative;
	top: 24%;
	right: 2%;
	text-align: center;
	font-size: 11px;
	font-weight: 600;
	box-shadow: #DDD 0 0 3px;
	cursor: pointer;
	color: #999;
	border-radius: 3px;
	border: solid 1px gray;
	}

	.dv-header-cart:hover {
	color: #555;
	box-shadow: gray 0 0 3px;
	}

	.dv-header-cart .glyphicon-shopping-cart {
	font-size: 30px;
	}

	.dv-header-cart .dv-header-cart-item-count {
	padding-right: 10px;
	background-color: #ffffff;
	color: #999;
	padding: 0 20px;
	border: solid 1px gray;
	}

	.dv-header-cart .dv-header-cart-total-value {
	background-color: #ffffff;
	color: #999;
	border: solid 1px gray;
	}

	.dv-header-cart .dv-header-cart-icon {
	padding: 10px;
	}
	
	/* end */
	/* ensure images don't collapse while loading and remove inline-gap */
	




/*  css for custom slider */
 
 .Custom-slider-area {
    padding: 30px 40px;
    box-sizing: border-box;
    background: #fff;
  }

  /* Visible rounded container */
  .Custom-slider {
    /* max-width: 1200px; */
    margin: 0 auto;
    border-radius: 14px;
    overflow: hidden;             /* IMPORTANT: clip children to show radius */
    box-shadow: 0 8px 20px rgba(0,0,0,.15);
  }

  /* Slider viewport height */
  .Custom-slider .Custom-viewport {
    width: 100%;
    height: 590px;                /* adjust height as needed */
    position: relative;
  }

  /* Track & slides */
  .Custom-track {
    display: flex;
    transition: transform 700ms ease;
    height: 100%;
    width: 100%;
  }
  .Custom-slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
  }
  .Custom-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    -webkit-user-drag: none;
    user-select: none;
  }

  /* Simple overlay text (centered) */
  .Custom-caption {
    position: absolute;
    left: 50%;
    top: 30%;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    z-index: 2;
    text-shadow: 0 3px 12px rgba(0,0,0,.6);
  }
  .Custom-caption h1 { 
    margin:0; 
	font-size: clamp(24px, 4.5vw, 56px); 
	font-weight:500; 
	}

  /* Arrows */
  .Custom-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(0,0,0,.45);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
  }
  .Custom-arrow:hover { background: rgba(0,0,0,.7); }
  .Custom-prev { left: 18px; }
  .Custom-next { right: 18px; }
  .Custom-arrow svg { width:18px; height:18px; fill:#fff; }

  /* Bullets */
  .Custom-bullets {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display:flex;
    gap:10px;
    z-index:4;
  }
  .Custom-bullet {
    width:10px; height:10px; border-radius:50%;
    background: rgba(255,255,255,.6); cursor:pointer;
  }
  .Custom-bullet.Custom-active { background:#fff; transform:scale(1.1); }

  /* Responsive */
  @media (max-width:800px){
    .Custom-slider .Custom-viewport { height: 420px; }
  }
  @media (max-width:480px){
    .Custom-slider { border-radius:10px; }
    .Custom-slider .Custom-viewport { height: 300px; }
    .Custom-caption h1 { font-size: 20px; }
  }