/* The brand-minisite route's stylesheet, lifted verbatim from the live /yamaha
   page. Next.js splits CSS per route, so none of this was in the files captured
   from the homepage and product pages.

   Only edit: the categories background URL, repointed from /images/yamaha/ to
   the theme's copy. Loaded only on a brand minisite, by inc/brand-store.php. */

.yamaha_main__ZpAqq section { padding: 2rem 3rem; margin: 2rem auto; max-width: 1400px; }

.yamaha_home_banner_container___7b9y {
    display: flex; gap: 1rem;
    max-width: 96vw !important; padding: 0 !important; margin: 1.5rem auto 1rem !important;
}

.yamaha_store_card__F3jcO {
    width: 350px; flex-shrink: 0; height: inherit;
    border-radius: 10px; overflow: hidden; position: relative;
}
.yamaha_store_card__F3jcO > img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.5); }
.yamaha_store_info__Wn07d {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    z-index: 100; text-align: center;
}
.yamaha_store_info__Wn07d img { width: 175px; height: 130px; }
.yamaha_store_info__Wn07d p { color: var(--white); font-size: 1.2rem; margin: 1rem 0; }
.yamaha_store_info__Wn07d a {
    display: inline-block; width: 100%; padding: .5rem 1rem;
    background-color: var(--white); color: var(--charcoal); border-radius: 6px;
}

.yamaha_categories_section__Almem {
    background: url("img/yamaha/categories_container_bg.png") 50% center / cover no-repeat;
    color: var(--white);
    width: 100% !important; max-width: unset !important; margin: 3rem 0 !important;
}
.yamaha_categories_section__Almem h2 {
    font-family: var(--font-bebas-neue); font-size: 4rem; font-weight: 400;
    text-align: center; margin-bottom: 2rem;
}
.yamaha_categories_container__wi8Rl { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; }
.yamaha_category_container__vwvjc p { margin-top: 1rem; font-size: 1.5rem; font-family: var(--font-bebas-neue); }
.yamaha_image_container__e0kQp { width: 300px; height: 140px; border-radius: 8px; overflow: hidden; }
.yamaha_image_container__e0kQp img { width: 100%; height: 100%; object-fit: cover; }

/* The product rows on this page use their own hashes, not the homepage's. */
.categoryList_category_list_container__QZyrP { margin: 3rem 0 4rem; }
.categoryList_category_list_container__QZyrP h2 {
    font-size: 2.5rem; font-family: var(--font-bebas-neue); font-weight: 400;
    letter-spacing: 2px; margin-bottom: 1rem; text-align: center;
}
.categoryList_product_list_container__T7L0u {
    width: 100%; display: flex; overflow: scroll hidden; padding: 1.5rem 10px; user-select: none;
}
.categoryList_product_list_container__T7L0u::-webkit-scrollbar { display: none; }

@media screen and (max-width: 900px) {
    .yamaha_home_banner_container___7b9y { flex-direction: column; max-width: 95vw !important; }
    .yamaha_store_card__F3jcO { width: 100%; height: 450px; }
}
@media screen and (max-width: 800px) {
    .yamaha_image_container__e0kQp { width: 200px; height: 95px; }
    .yamaha_category_container__vwvjc p { font-size: 1.2rem; }
}
@media screen and (max-width: 550px) {
    .yamaha_main__ZpAqq section { padding: 0; }
    .yamaha_categories_container__wi8Rl { gap: 3rem; }
    .yamaha_image_container__e0kQp { width: min(300px, 100%); height: 140px; margin: 0 auto; }
    .yamaha_category_container__vwvjc p { font-size: 1.5rem; text-align: center; }
}
