:root {
    --logoColor1: #da241a;
    --logoColor1-25: #da241a25;
    --logoColor1-50: #da241a50;
    --logoColor1-75: #da241a75;
    --logoColor2: #2c2c2c;
    --logoColor3: #28b7ed;

    --logoColor1_RGB: rgb(218, 36, 26);
}

.bg-primary {
    background-color: var(--logoColor1) !important;
}

.required {
    color: var(--logoColor1);
}

.header-logo {
    width: 10% !important;
}

.product-item {
    margin: 1rem;
    text-align: center;
    border: 1px solid var(--logoColor2);
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(218, 36, 26, 0.1);
    /* Optional shadow */
    transition: transform 0.2s ease;
    /* Smooth hover effect */
}

.product-item:hover {
    border-color: var(--logoColor1);
    border-radius: 15px;
    transform: translateX(5px);
    /* Slight lift on hover */
}

.product-content {
    position: relative;
    padding: 0 15px 15px !important;
    bottom: unset !important;
    left: unset !important;
}

.product-img {
    /* width: 250px !important; */
    /* min-width: 225px !important;
    max-width: 250px !important;
    height: 250px !important; */
    display: block !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    height: auto !important;
}

.product-content .product-name {
    color: #6c788c;
}

.product-add-action {
    position: relative !important;
}

.product-item:hover .product-add-action {
    bottom: 0px !important;
    opacity: 1;
    visibility: visible;
    padding: 0 25px 15px !important;
}

.product-tab-nav li a.tab-btn {
    width: unset !important;
    padding: 20px !important;
}

.brandBox {
    background: var(--logoColor2);
    background: linear-gradient(rgba(0, 0, 0, 0.6),
            rgba(0, 0, 0, 0.6)),
        url('../images/car_black.png');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    width: 100%;
    min-height: 120px;
    margin-bottom: 10px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: transform 0.3s ease, border 0.3s ease;
}

.brandBox:hover {
    /* background: var(--logoColor1); */
    border: 3px solid var(--logoColor1);
    /* box-shadow: 0px 0px 29px rgba(227, 30, 36, 0.61); */
    /* color: white; */
    transform: scale(1.07);
}

.brandName {
    color: var(--logoColor1);
    font-style: normal;
    font-weight: 500;
    text-align: center;
    margin: 0;
    font-size: 40px !important;
    font-weight: bold !important;
    cursor: pointer;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.brandBox:hover .brandName {
    color: white;
    /* color: var(--logoColor1); */
    /* padding: 64px; */
    /* background: linear-gradient(to right, hsl(0, 0%, 30%) 0, hsl(0, 0%, 100%) 10%, hsl(0, 0%, 30%) 20%); */
    /* background: linear-gradient(to right, hsl(3, 92%, 49%) 0, hsl(0, 0%, 100%) 10%, hsl(3, 79%, 48%) 20%); */
    /* background: linear-gradient(to right, hsl(0, 0%, 0%) 0, hsl(0, 28%, 87%) 10%, hsl(0, 0%, 100%) 20%); */

    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    /* animation: shine 75s infinite linear; */
}

@keyframes shine {
    0% {
        background-position: 0
    }

    60% {
        background-position: 10000px
    }

    100% {
        background-position: 10000px
    }
}

.form-component {
    margin-bottom: 30px;
}

input[type=text],
input[type=password],
input[type=email],
input[type=number],
select {
    border: 1px solid #dee2e6;
    background: #fff;
    border-radius: 5px;
    height: 42px;
    width: 100%;
    padding: 0 0 0 10px;
}

input:disabled,
select:disabled,
textarea:disabled {
    background-color: #e7e7e7;
    color: #999;
    cursor: not-allowed;
}


textarea {
    border: 1px solid #dee2e6;
    background: #fff;
    border-radius: 5px;
    height: 42px;
    width: 100%;
    padding: 10px 0 0 10px;
}

input[type=radio],
input[type=checkbox] {
    padding: 0 0 0 10px;
}


label {
    cursor: pointer;
    color: #383A3F;
    display: block;
    margin-bottom: 10px;
    font-size: 1.2em;
}

input[type="checkbox"],
input[type="radio"] {
    display: none;
}

input[type="checkbox"]+.label-text:before,
input[type="radio"]+.label-text:before {
    font-family: "fontAwesome";
    line-height: 1;
    display: inline-block;
    margin-right: 5px;
}

input[type="checkbox"]+.label-text:before {
    content: "\f096";
    color: #dddfe6;
    width: 1em;
}

input[type="radio"]+.label-text:before {
    content: "\f10c";
    color: #dddfe6;
    width: 1em;
}

input[type="checkbox"]:checked+.label-text:before {
    content: "\f14a";
    color: var(--logoColor1);
    animation: tick 150ms ease-in;
}

input[type="radio"]:checked+.label-text:before {
    content: "\f192";
    color: var(--logoColor1);
    animation: tick 150ms ease-in;
}

input[type="checkbox"]:disabled+.label-text:before,
input[type="radio"]:disabled+.label-text:before {
    content: "\f0c8";
    color: #dddfe6;
}

@keyframes tick {
    0% {
        transform: scale(0);
    }

    90% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes tick {
    0% {
        transform: scale(0);
    }

    90% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.border-radius-25 {
    border-radius: 25px;
}

.my-order-list .item {
    display: flex;
    border-bottom: 2px solid var(--logoColor1)
}

.my-order-list .item img {
    width: 150px;
}

.category-custom-col {
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 auto;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    border: 1px solid var(--logoColor1);
    border-radius: 20px;
    padding: 1rem;
    height: 100%;
}

.category-category-item {
    text-align: center;
}

.category-custom-col img {
    max-width: 200px;
}

.category-category-content {
    padding-top: 0rem;
}

.brand-search-container {
    margin: 15px 0;
    text-align: center;
}

#brand-search {
    /* width: 50%; */
    padding: 10px;
    font-size: 16px;
}

.select2-container--default .select2-selection--single {
    height: 38px;
    /* Match the height of the input */
    border: 1px solid #ced4da;
    /* Same border as the input */
    border-radius: 5px;
    /* Match input border-radius */
    padding: 6px 12px;
    /* Match input padding */
    font-size: 14px;
    /* Match input font size */
    box-shadow: none;
    /* Remove box shadow for consistency */
}

.select2-selection__rendered {
    line-height: 24px;
    /* Align text vertically */
    color: #495057;
    /* Match input text color */
}

.select2-selection__arrow {
    height: 38px;
    /* Match the select height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 5px;
}

.altermarket-product {
    -webkit-box-shadow: 0px 5px 2px -1px rgb(255, 233, 233);
    box-shadow: 0px 5px 2px -1px rgb(255, 233, 233);
    background-color: #fff;
    position: relative;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    border-radius: 25px;
    border-end-start-radius: 4px;
    padding: 1.625rem !important;
    /* margin: 1.625rem !important; */
}



/* Basic styles */
.search-container {
    display: grid;
    gap: 10px;
    margin: 20px;
}

/* Small screens (default) */
.search-container {
    grid-template-columns: 1fr;
    /* Single column */
}

.search-container select,
.search-container input,
.search-container button {
    padding: 5px !important;
    font-size: 16px;
}

.search-container button:hover {
    background-color: darkred;
}


/** Error Pages */
.error-404-content .title {
    text-shadow: 9px 4px 0px var(--logoColor1-50);
    color: var(--logoColor1);
    font-size: 199px;
    font-weight: 900;
    letter-spacing: 26px;
    line-height: 168px;
    margin-bottom: 22px;
}

.error-404-img .layer:before {
    background-color: var(--logoColor1);
    border-radius: 100%;
    content: "";
    width: 40px;
    height: 40px;
    position: absolute;
    top: 0;
    left: 0;
}

.error-404-img .layer:after {
    background-color: var(--logoColor1);
    border-radius: 100%;
    content: "";
    width: 85px;
    height: 85px;
    position: absolute;
    top: -50px;
    right: 50%;
    -webkit-transform: translateX(50%);
    -ms-transform: translateX(50%);
    transform: translateX(50%);
    z-index: 1;
    -webkit-animation: slideInRight 4s linear infinite alternate both;
    animation: slideInRight 4s linear infinite alternate both;
    z-index: 1;
}

/* Medium and larger screens */
@media (min-width: 768px) {
    .search-container {
        grid-template-columns: repeat(4, 1fr);
        /* Equal width for 5 elements */
    }

    .error-404-content .title {
        font-size: 100px;
        line-height: 125px;
        margin-bottom: 10px;
    }

    .error-404-img .layer:before {
        background-color: var(--logoColor1);
        border-radius: 100%;
        content: "";
        width: 40px;
        height: 40px;
        position: absolute;
        top: 0;
        left: 0;
    }

    .error-404-img .layer:after {
        background-color: var(--logoColor1);
        border-radius: 100%;
        content: "";
        width: 85px;
        height: 85px;
        position: absolute;
        top: -50px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
        z-index: 1;
        -webkit-animation: slideInRight 4s linear infinite alternate both;
        animation: slideInRight 4s linear infinite alternate both;
        z-index: 1;
    }
}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 320px) {
    .error-404-content .title {
        font-size: 100px;
        line-height: 125px;
        margin-bottom: 10px !important;
    }

    .error-404-img .layer:before {
        background-color: var(--logoColor1);
        border-radius: 100%;
        content: "";
        width: 40px;
        height: 40px;
        position: absolute;
        top: 0;
        left: 0;
    }

    .error-404-img .layer:after {
        background-color: var(--logoColor1);
        border-radius: 100%;
        content: "";
        width: 85px;
        height: 85px;
        position: absolute;
        top: -50px;
        right: 50%;
        -webkit-transform: translateX(50%);
        -ms-transform: translateX(50%);
        transform: translateX(50%);
        z-index: 1;
        -webkit-animation: slideInRight 4s linear infinite alternate both;
        animation: slideInRight 4s linear infinite alternate both;
        z-index: 1;
    }

    .error-404-img {
        width: 300px;
        height: 300px;
        margin-top: 20%;
    }

}

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .my-order-list .item {
        display: block;
        text-align: center;
    }

    .header-logo {
        width: 30% !important;
    }

    .brandName {
        font-size: 35px !important;
        font-weight: 600;
    }

    .category-custom-col {
        margin: 1rem;
    }

    .altermarket-product {
        margin: 20px 0 !important;
        height: fit-content;
    }

}

/* Small devices (portrait tablets and large phones, 600px and up) */
/* @media only screen and (min-width: 600px) {
.my-order-list .item{
display: block;
text-align: center;
}
} */

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (max-width: 768px) {}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (max-width: 992px) {}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (max-width: 1200px) {}