/* Restore original look: fonts, backgrounds, contact fields, gallery. */
/* Do not redefine FontAwesome here — local webfont files are missing and would blank every icon. */

main { display: contents; }

.fa,
.fa:before,
.fa:after {
    font-family: FontAwesome !important;
    font-style: normal;
    font-weight: normal;
}

.header {
    background: #111 url("/files/images/slider-bkg.jpg") center center / cover no-repeat fixed !important;
}

.featured {
    background: #000 url("/files/images/featured-products-bg.jpg") center top / cover no-repeat fixed !important;
}

.featured .yhc_head h3 {
    color: #fff !important;
}

.ltw-cta-banner {
    position: relative;
    isolation: isolate;
    background-color: #000;
    background-image: url("/files/images/featured-products-bg.jpg");
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
    color: #fff;
}

.ltw-cta-banner.has-bg-image {
    background-image: var(--ltw-cta-bg);
    background-position: center center;
}

.ltw-cta-banner.has-bg-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(0, 0, 0, 0.62);
    pointer-events: none;
}

.ltw-cta-banner__inner {
    position: relative;
    z-index: 1;
}

.ltw-cta-banner h2,
.ltw-cta-banner p {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.ltw-cta-banner h2 {
    font-weight: 800;
    margin-bottom: 1rem;
}

.ltw-cta-banner p {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}

.ltw-cta-banner .abt_button {
    float: none;
    display: block;
    text-align: center;
    margin-top: 10px;
}

.ltw-cta-banner .abt_button .aboutbtn,
.ltw-cta-banner a.aboutbtn {
    float: none !important;
    display: inline-block !important;
    padding: 10px 25px !important;
    background: #0074bb !important;
    background-color: #0074bb !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.4 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border-radius: 5px !important;
    border: 1px solid #0074bb !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.ltw-cta-banner .abt_button .aboutbtn:hover,
.ltw-cta-banner .abt_button .aboutbtn:focus,
.ltw-cta-banner .abt_button .aboutbtn:active,
.ltw-cta-banner a.aboutbtn:hover,
.ltw-cta-banner a.aboutbtn:focus,
.ltw-cta-banner a.aboutbtn:active {
    background: #fff !important;
    background-color: #fff !important;
    color: #0074bb !important;
    font-size: 16px !important;
    text-decoration: none !important;
    border-color: #fff !important;
}

.yhc_featured .gallery_box,
.gallery_box.home_gal {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.yhc_featured .gallery_box img,
.gallery_box.home_gal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contactBox {
    background: #dddddd;
    padding: 30px 0;
    color: #fff;
    text-align: center;
    min-height: 255px;
    height: 100%;
}

.contact-icon i {
    font-size: 25px;
    background: #0074bb;
    height: 70px;
    width: 70px;
    border-radius: 50%;
    margin: auto;
    padding: 22px;
    color: #fff;
    display: inline-block;
}

.contact-content h3 {
    font-size: 21px;
    padding-top: 15px;
    color: #000;
}

.contact-content p,
.contact-content a {
    font-size: 16px;
    color: #000;
}

.c_right h3 { padding-bottom: 20px; }
.contact_page { padding-bottom: 65px; }

.cnt_submit {
    padding: 10px 25px;
    background: #0074bb;
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    border-radius: 5px !important;
    border: 0;
    cursor: pointer;
}

.cnt_submit:hover {
    background: #fff;
    color: #0074bb;
    border: 1px solid #0074bb;
}

.application_forms h3 { text-align: center; }
.application_forms label {
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 10px;
    display: block;
}
.application_forms label span { color: red; }

.contact_form .form-control,
.application_forms .form-control {
    min-height: 48px;
    margin-bottom: 12px;
}

.slick-loading .slick-list {
    background: #fff url("/assets/local_tires_and_wheels/images/ajax-loader.gif") center center no-repeat;
}

/* Match original HTML: one storefront at a time, even before Slick boots. */
.yhc_productslick:not(.slick-initialized) {
    overflow: hidden;
}
.yhc_productslick:not(.slick-initialized) > .product_section {
    display: none;
}
.yhc_productslick:not(.slick-initialized) > .product_section:first-child {
    display: block;
}
.yhc_productslick:not(.slick-initialized) .prd_box img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}
.yhc_productslick:not(.slick-initialized) .prd_box .cart_btn {
    display: block;
    margin: 15px auto;
}

@media (max-width: 1199px) {
    .topbar_left .yhc_phone i { margin-left: 0 !important; }
    .header-logo { max-height: 80px; margin: 8px auto; display: block; }
}

.yhc_abthead h3 {
    font-family: 'Poppins', sans-serif !important;
    color: #1d1d1d !important;
    font-size: 35px !important;
    font-weight: 800 !important;
    margin-bottom: 25px !important;
}

.yhc_abthead h3 span {
    color: #0074bb !important;
    font-weight: 800 !important;
}

/* Match original HTML: no <p>, so inherit body 18px / 1.875 / 400 / #161616 */
.about_des {
    font-family: 'Poppins', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.875 !important;
    font-weight: 400 !important;
    color: #161616 !important;
}

.about_des p {
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 1.875 !important;
    font-weight: 400 !important;
    color: #161616 !important;
}

.about_des strong {
    font-weight: 700 !important;
}

/* Do not set position here — site.css uses absolute on desktop and
   position:unset on small screens. Overriding breaks Featured Products. */
.about_img img {
    display: block;
    max-width: 100%;
    height: auto;
}

.abt_button {
    margin-top: 20px;
}

.abt_button .aboutbtn {
    float: left;
    padding: 10px 25px;
    background: #0074bb;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    border-radius: 5px;
    border: 1px solid #0074bb;
}

.abt_button .aboutbtn:hover {
    background: #fff;
    color: #0074bb;
}

section#locations_pg .each_location {
    background-color: #dddddd;
    border: 3px solid #ffffff;
    border-radius: 12px;
    box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 15%);
    padding: 20px;
    height: 100%;
}

section#locations_pg .each_location .location_name h3 {
    color: #0074bb;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

section#locations_pg .each_location p,
section#locations_pg .each_location a {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.875;
    margin: 5px;
    color: #161616;
}

section#locations_pg .each_location i.fa {
    display: inline-block;
    font-family: FontAwesome !important;
    font-size: 18px;
    font-weight: normal;
    font-style: normal;
    margin: 5px;
    color: #161616;
}

section#locations_pg .each_location a:hover {
    color: #0074bb;
}

.g_map { height: 100%; min-height: 360px; }
.g_map > iframe { height: 100%; width: 100%; min-height: 360px; margin: 0; display: block; border: 0; }

.appl_downlink {
    background: #dddddd;
    margin-top: 30px;
    text-align: center;
}
.appl_downlink a {
    display: inline-block;
    margin: 20px;
    background-color: #0074bb;
    border: 2px solid #0074bb;
    color: #fff;
    padding: 10px 25px;
    text-transform: uppercase;
}
.appl_downlink a:hover {
    color: #0074bb;
    background-color: transparent;
}

.application_forms h3 {
    font-weight: 700;
    font-size: 28px;
    text-align: center;
}
.application_forms h4 {
    font-weight: 700;
    font-size: 25px;
    margin-top: 30px;
    margin-bottom: 0;
}
.application_forms .control-label span { color: red; }
.referece_box { padding: 20px 0; }

@media (max-width: 767px) {
    .yhc_abthead h3,
    .yhc_head h3,
    .title_area h2 { font-size: 28px; }
    .copy_right .left_copy,
    .copy_right .right_copy { float: none; display: block; text-align: center; }
}

/* Sitewide type to match original HTML */
html, body {
    font-family: 'Poppins', sans-serif;
    color: #161616;
    font-size: 18px;
    line-height: 1.875;
    font-weight: 400;
}

.breadcrump .title_area h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 2rem;
    line-height: 1.2;
    color: #1b1a1a;
}

.breadcrump_area,
.breadcrump_area span,
.breadcrump_area a {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #1b1a1a;
}

.page_inner {
    color: #161616;
}

.page_inner p,
.inn_pg_row p,
.cms-html p {
    color: #161616;
    font-size: 18px;
    line-height: 1.875;
    font-weight: 400;
}

.gallery_box {
    margin: 15px 0;
}

.gallery_box a img {
    min-height: unset;
    height: auto;
    width: 100%;
}

/* Match products gallery tiles to seeded 16:9 product photos */
.featured_img_all .gallery_box.all_feat_slick_item {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.featured_img_all .gallery_box.all_feat_slick_item > a {
    display: block;
    width: 100%;
    height: 100%;
}

.featured_img_all .gallery_box.all_feat_slick_item a img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

@media only screen and (max-width: 1025px) {
    .featured_img_all .gallery_box.all_feat_slick_item a img {
        width: 100% !important;
        height: 100% !important;
        min-width: 0 !important;
        min-height: 0 !important;
        object-fit: cover;
        object-position: center;
    }
}

.tire_brand h4,
.wheel_brand h4 {
    text-align: center;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.tire_brand .gallery_box,
.wheel_brand .gallery_box {
    margin: 15px 0;
}

.tire_brand .gallery_box a img,
.wheel_brand .gallery_box a img {
    min-height: unset;
    height: auto;
    width: 100%;
    min-width: unset;
}

.tire_brand .tire_slick_wrap .tire_slick_out .tire_slick_in .tire_slick_item,
.wheel_brand .wheel_slick_wrap .wheel_slick_out .wheel_slick_in .wheel_slick_item {
    border: 3px solid #000;
    border-radius: 15px;
    padding: 15px;
    margin: 10px;
    background: #fff;
    box-sizing: border-box;
}

.tire_brand .tire_slick_wrap .tire_slick_out .tire_slick_in .slick-prev:before,
.wheel_brand .wheel_slick_wrap .wheel_slick_out .wheel_slick_in .slick-prev:before {
    content: "\f0a8";
    color: #0074bb;
    font-family: FontAwesome;
    opacity: 1;
}

.tire_brand .tire_slick_wrap .tire_slick_out .tire_slick_in .slick-next:before,
.wheel_brand .wheel_slick_wrap .wheel_slick_out .wheel_slick_in .slick-next:before {
    content: "\f0a9";
    color: #0074bb;
    font-family: FontAwesome;
    opacity: 1;
}

@media (max-width: 575px) {
    .tire_brand .tire_slick_wrap .tire_slick_out .tire_slick_in .tire_slick_item,
    .wheel_brand .wheel_slick_wrap .wheel_slick_out .wheel_slick_in .wheel_slick_item {
        padding: 10px;
        margin: 6px;
    }
}

.applicationform_row {
    background: #dddddd;
    margin-top: 30px;
}

.contact-content a:hover {
    color: #0074bb;
}

.facebook_area {
    min-height: 250px;
}

.form-toast-stack {
    position: fixed;
    z-index: 9999;
    right: 1.25rem;
    top: 1.25rem;
    display: grid;
    gap: 0.75rem;
    width: min(23.5rem, calc(100vw - 2rem));
    pointer-events: none;
}
.form-toast-stack [data-form-toast] {
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    border-radius: 18px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 18px 50px rgba(16, 24, 40, 0.16);
    animation: form-toast-in .32s ease;
}
.form-toast-stack .form-success {
    background: linear-gradient(180deg, rgba(236, 253, 245, 0.97), rgba(209, 250, 229, 0.96));
    border: 1px solid rgba(52, 211, 153, 0.45);
    color: #065f46;
}
.form-toast-stack .form-errors {
    background: linear-gradient(180deg, rgba(254, 242, 242, 0.97), rgba(254, 226, 226, 0.96));
    border: 1px solid rgba(252, 165, 165, 0.55);
    color: #991b1b;
}
.form-toast-body {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 16px 18px;
}
.form-toast-icon {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}
.form-success .form-toast-icon {
    background: #10b981;
    color: #fff;
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.28);
}
.form-errors .form-toast-icon {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 8px 16px rgba(239, 68, 68, 0.25);
}
.form-toast-copy { flex: 1; min-width: 0; padding-top: 2px; }
.form-toast-title {
    margin: 0 0 4px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}
.form-toast-message {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    opacity: 0.88;
}
.form-toast-close {
    border: 0;
    background: transparent;
    cursor: pointer;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 1.15rem;
    line-height: 1;
    opacity: 0.55;
    color: inherit;
}
.form-toast-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.55);
}
.form-toast-progress {
    display: block;
    height: 3px;
    width: 100%;
    transform-origin: left center;
    animation: form-toast-bar 4.2s linear forwards;
}
.form-success .form-toast-progress { background: #34d399; }
.form-errors .form-toast-progress { background: #f87171; }
[data-form-toast][data-state='closing'] {
    opacity: 0;
    transform: translateY(-10px) scale(0.98);
    transition: opacity .2s ease, transform .2s ease;
}
@keyframes form-toast-in {
    from { opacity: 0; transform: translateY(-12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes form-toast-bar {
    from { transform: scaleX(1); }
    to { transform: scaleX(0); }
}
.recaptcha-note {
    margin: 0 0 12px;
    font-size: 13px;
    color: #555;
}

.facebook_area .fb-page,
.facebook_area .fb-page > span,
.facebook_area iframe {
    width: 100% !important;
}

@media (max-width: 992px) {
    section#locations_pg .each_location { margin-bottom: 30px; }
}

@media (max-width: 1199px) {
    .topbar_left .yhc_phone i {
        margin-left: 0 !important;
    }
}
