/* start of MAR-3247 Online Subaru Parts UX changes */
@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

#header-main .themeLogoWrapper {
	display: flex;
    align-items: center;
    gap: 10px;
}
#header-main .themeLogoWrapper .store-logo-module .image-logo {
	margin-top: 0;
	margin-bottom: 0;
}
#header-main .themeLogoWrapper .store-logo-module .store-logo-link img {
	max-height: 50px;
}
#header-main .themeLogoWrapper .themeFlagWrapper {
	display: flex;
    align-items: center;
    gap: 5px;
}
#header-main .themeLogoWrapper .themeFlagWrapper img {
	width: 40px;
}
#header-main .themeLogoWrapper .themeFlagWrapper p {
	margin-bottom: 0;
    font-size: 14px;
    font-family: "Barlow Condensed", sans-serif;
}
#header-main-wrap {
	min-height: auto;
}
#hero-wrap {
	background-color: transparent;
}
#hero-wrap:before {
	background-color: transparent;
}
#hero-wrap .hero h1 {
	color: #0F609C;
    text-shadow: none;
}
/* end of MAR-3247 Online Subaru Parts UX changes */

/* HERO CONTAINER HEIGHT REDUCTION */
.hero,
.hero-section,
.rev-hero,
.revparts-hero,
.home-hero {
    min-height: 320px !important;   /* was likely 600–100vh */
    height: auto !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

/* BACKGROUND IMAGE WRAPPER */
.hero img,
.hero-image,
.hero-bg,
.hero-background {
    max-height: 320px !important;
    object-fit: cover !important;
}

/* REMOVE VERTICAL CENTERING */
.hero,
.hero-section {
    align-items: flex-start !important;
}

/* MOVE SELECTOR UP */
.ymm-selector,
.year-make-model,
.vehicle-selector,
.rev-ymm {
    margin-top: 0px !important;
    padding-top: 0px !important;
    transform: translateY(-40px);  /* pulls it upward */
}

/* MOBILE FIX */
@media (max-width: 768px) {
    .hero,
    .hero-section {
        min-height: 240px !important;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .ymm-selector,
    .year-make-model,
    .vehicle-selector,
    .rev-ymm {
        transform: translateY(-20px);
    }
}

/* Reduce hero section height */
#hero-wrap {
    min-height: 221px !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

/* Tighten internal hero content spacing */
#hero-wrap .hero {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* Reduce vertical spacing of hero caption */
#hero-wrap .caption {
    margin-bottom: 10px !important;
}

/* Pull search tabs up slightly */
#search-tabs-nav-wrap {
    margin-top: -40px !important;
    position: relative;
    z-index: 5;
}