:root {
    --bs-primary-bg-subtle: white;
    --bs-accordion-btn-focus-box-shadow: none !important;
    --input-height: 46px;
}

a {
    text-decoration: none !important;
}

.hidden {
    display: none;
}

.kyo-body {
    background-color: #1D232A;
}

/* ------------------- LOADING SPINNER ------------------- */

.kyo-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    user-select: none;
    transition: opacity 0.3s ease;
}

.kyo-loader.active {
    opacity: 1;
    pointer-events: all;
}

.kyo-loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #FCBF06;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

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

/* ------------------- LOGO BANNER ------------------- */

.banner-logos {
    display: flex;
    height: 104px;
    justify-content: center;
    align-content: center;
    align-items: center;
    gap: 2em;
    align-self: stretch;
    background-color: #1D232A;
    user-select: none;
}

.banner-pennzoil-logo {
    width: 98px;
    height: 56px;
}

.banner-shell-rotella-logo {
    width: 167px;
    height: 46px;
}


/* ------------------- HOME ------------------- */

.kyo-home-container {
    display: flex;
    background-image: url("../images/kyo_desktop_background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 104px 0;
    flex-direction: column;
    align-items: center;
    gap: 67px;
    user-select: none;
}

.kyo-ymm-card {
    display: flex;
    flex-flow: column;
    justify-content: center;
    gap: 55px 39px;
    width: 627px;
    padding: 3em 1em;
    align-items: center;
    align-content: center;
    background-color: white;
    border-radius: 20px;
    max-width: 95vw;
}

.ymm-logos {
    display: flex;
    align-items: center;
    gap: 20px;
    user-select: none;
}

.ymm-pennzoil-logo {
    width: 146px;
    height: 84px;
}

.ymm-shell-rotella-logo {
    width: 259px;
    height: 72px;
}

.ymm-form {
    display: flex;
    flex-flow: column;
    align-items: center;
    gap: 0.8em;
}

.ymm-select {
    width: 154px;
    padding: 10px;
}

.ymm-selects-title :first-child {
    font-family: Futura;
    text-align: center;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
}

.ymm-selects-container {
    display: flex;
    flex-flow: wrap;
    gap: 0.5em;
}

.ymm-input {
    width: 300px;
    padding: 10px;
}

.ymm-input-title :first-child {
    font-family: Futura;
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
}

.ymm-input-title :nth-child(2) {
    font-family: Arial;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
}

.ymm-input,
.ymm-select,
.orange-btn,
.orange-icon-btn {
    max-width: 90vw;
    height: var(--input-height);
}

.orange-btn {
    width: 300px;
}

.orange-icon-btn {
    aspect-ratio: 1 / 1;
}

.orange-icon-btn,
.orange-icon-btn:disabled,
.orange-btn,
.orange-btn:disabled {
    border-radius: 5px !important;
    background-color: #FCBF06;
    border: None;
    padding: 10px;
}

.orange-icon-btn:hover, .orange-btn:hover {
    background-color: #fadda7;
}

.orange-btn:focus, .orange-icon-btn:focus {
    background-color: #FCBF06;
    box-shadow: 0 0 0 .25em rgb(255 177 0 / 25%);
}

/* ------------------- RESULTS ------------------- */

.kyo-results-go-back {
    color: white;
    fill: white;
    cursor: pointer;
    user-select: none;
}

.kyo-results-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/kyo_banner.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    fill: white;
    height: 232px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
    padding: 2em;
}

.kyo-results-message {
    font-family: Futura;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    user-select: none;
}

.kyo-results-container {
    flex-flow: column;
}

.kyo-results-container,
.kyo-results-container-desktop,
.kyo-results-container-mobile {
    display: flex;
    align-items: center;
    gap: 30px;
    align-self: stretch;
    justify-content: center;
    padding: 2em 0;
    background-color: white;
}

.kyo-results-container-desktop,
.kyo-results-container-mobile {
    flex-flow: wrap;
}

.kyo-results-container-mobile {
    display: none;
    width: 100vw;
}

.kyo-result-card {
    display: flex;
    width: 300px;
    min-height: 360px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-shrink: 0;
    padding: 1em 0.5em;
    border-radius: 10px;
    border: 1px solid white;
    transition: border-color 0.4s ease-in,
    box-shadow 0.4s ease-in;
}

.kyo-result-card:hover {
    border: 1px solid #D1D1D1;
    background: #FFF;
    box-shadow: -1px 0px 10.4px 3px rgba(0, 0, 0, 0.10);
}

.kyo-result-title {
    font-family: Futura;
    color: #000;
    text-align: center;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    user-select: none;
}

.kyo-result-accordian {
    width: 90vw;
}


.accordion-button:focus {
    box-shadow: none;
    color: #212529 !important;
}

.form-control:focus, .form-select:focus {
    border-color: #dee2e6 !important;
    box-shadow: 0 0 0 .25em rgb(255 177 0 / 25%);
}

.kyo-result-ul {
    font-family: Arial;
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
}

.copy-item {
    cursor: pointer;
    color: black;
    transition: background-color 0.2s;
}

.copy-item:hover {
    text-decoration: underline !important;
}

.copy-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.copy-notification.show {
    opacity: 1;
}

/* ------------------- NO RESULTS ------------------- */

.kyo-no-results-message {
    font-family: Futura;
    color: white;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    user-select: none;
}

.kyo-no-results-section {
    display: grid;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/kyo_banner.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 65vh;
    padding: 1em;
    justify-content: center;
}

.ymm-no-results-form {
    display: flex;
    flex-flow: row;
    align-items: center;
    gap: 0.5em;
    height: var(--input-height);
}

/* ----------------------- FOOTER ---------------------- */

.kyo-lang-dropdown {
    fill: white;
    padding: 8px 8px;
    border: none;
    border-radius: 50%;
}

.kyo-lang-dropdown::after {
    display: none !important;
}

.kyo-lang-dropdown .lang-icon {
    width: 20px;
    height: 20px;
    display: block;
}

.kyo-footer-a:hover {
    color: white !important;
    fill: white !important;
}

.kyo-footer-a {
    color: #d7d7d7;
    fill: #d7d7d7;
}

.kyo-footer-container {
    background-color: #1D232A;
    color: #d7d7d7;
    padding: 1.75em;
    user-select: none;
}

.kyo-footer-table > tbody > tr > td {
    padding-top: 1em;
    padding-right: 2em;
}

.kyo-footer-table-header {
    color: white;
    padding-top: 2em;
    white-space: nowrap;
}

.kyo-footer-tables-row, .kyo-footer-bottom-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5em;
}

.kyo-footer-bottom-links {
    white-space: nowrap;
    align-items: center;
}

.kyo-disclaimer {
    text-align: center;
}

/* --------------- HERO IMAGES CAROUSEL ---------------- */

.hero-image-carousel {
    max-width: 100vw;
    display: grid;
    grid-template-columns: auto 1fr auto;
}

.carousel-btn {
    border: none;
    background-color: rgb(0, 0, 0, 0);
}

.hero-images-row-container {
    position: relative;
    overflow: auto;
}

.hero-images-row {
    display: flex;
    gap: 3em;
    overflow-x: auto;
    padding: 10px;
    scrollbar-width: none;
    height: 170px;
}

.hero-images-row-container ::-webkit-scrollbar,
.hero-images-row::-webkit-scrollbar {
    display: none;
}

.hero-images-row, .hero-images-row-container {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.hero-images-row-container::before,
.hero-images-row-container::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(
            to right,
            rgba(255, 255, 255, 100) 0%,
            transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

.hero-images-row-container::before {
    left: -2px;
    background: linear-gradient(
            to right,
            rgba(255, 255, 255, 100) 0%,
            transparent 100%
    );
}

.hero-images-row-container::after {
    right: -2px;
    background: linear-gradient(
            to left,
            rgba(255, 255, 255, 100) 0%,
            transparent 100%
    );
}

/* ------------------- SMALL SCREENS ------------------- */

@media (max-width: 600px) {
    .banner-pennzoil-logo {
        width: 77px;
        height: 44px;
    }

    .banner-shell-rotella-logo {
        width: 130px;
        height: 36px;
    }

    .kyo-home-container {
        background-image: url("../images/kyo_mobile_background.jpg");
        gap: 32px;
    }

    .kyo-ymm-card {
        width: 357px;
        gap: 26px;
    }

    .ymm-logos {
        gap: 0.75em;
    }

    .ymm-pennzoil-logo {
        width: 94px;
        height: 54px;
    }

    .ymm-shell-rotella-logo {
        width: 177px;
        height: 49px;
    }

    .ymm-selects-title :first-child {
        font-size: 23px;
    }

    .ymm-selects-container {
        flex-flow: column;
    }

    .ymm-select {
        width: 300px;
    }

    .ymm-input-title :first-child {
        font-size: 18px;
    }

    .ymm-input-title :nth-child(2) {
        font-size: 16px;
    }

    .kyo-results-container-mobile {
        display: flex;
        flex-flow: column;
        gap: 16px;
    }

    .kyo-results-container-desktop {
        display: none;
    }

    .kyo-results-message {
        font-size: 20px;
    }


    .kyo-no-results-message {
        font-size: 20px;
    }

    .ymm-no-results-form {
        flex-flow: column;
    }

    .kyo-footer-tables-row {
        flex-flow: column;
    }
}

@media (max-width: 450px) {
    .ymm-logos, .banner-logos {
        flex-flow: column;
        justify-content: center;
    }

    .banner-logos {
        height: 150px;
        gap: 1em;
    }

    .kyo-legal {
        white-space: normal;
    }
}
