.btn.btn-sm svg.nav-icon {
    height: 20px;
    width: 20px;
}

.product-right-column {
    width: 100% !important;
    padding: 0 0 0 20px;
}


.tire-filters-width,
.tire-filters-height,
.tire-filters-radius {
    width: 33%;
}

.cart-product-amount div {
    max-width: 130px;
    min-width: 120px;
}

p.hub {
    font-size: 0.9rem;
}

ul li.list-group-item.node-selected {
    color: #FFFFFF !important;
    background-color: #428bca !important;
}

ul li.list-group-item.node-category {
    cursor: default;
    padding-left: 5px !important;
}

ul li.list-group-item.node-category.subItem {
    padding-left: 15px !important;
}


.orig_price_data {
    display: none;
    position: absolute;
    border: 1px solid black;
    border-radius: 5px;
    -webkit-box-shadow: 2px 3px 21px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 2px 3px 21px 0px rgba(0, 0, 0, 0.75);
    box-shadow: 2px 3px 21px 0px rgba(0, 0, 0, 0.75);
    z-index: 990;
    padding: 5px;
    width: auto;
    min-width: 200px;
    font-size: 12px;
    background: rgb(245 230 185);
}

.orig_price_data table td {
    text-align: right;
}

.orig_price_data table {
    width: 100%;
}

.product-price-table .product-price:hover .orig_price_data {
    display: block;
}

.model-selectable {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.model-selectable:hover {
    background-color: #f8f9fa;
}

.model-selectable.selected {
    background-color: #e9ecef;
    border-left: 3px solid #0d6efd;
}

.brand-logo-item {
    background: transparent;
    transition: transform 0.2s;
}

.brand-logo-item:hover {
    transform: scale(1.1);
}

.brand-logo-item.active {
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 4px;
}

.oem_search a {
    display: inline-block;
    padding: 3px;
    border-radius: 3px;
    border: 1px solid transparent;
}

.oem_search a:hover {
    border: 1px solid #428bca;
    background: #428bca;
}

.mobile-car-select-button {
    display: none;
}

@media screen and (max-width: 600px) {
    .mobile-car-select-button {
        display: block;
    }
}

.c-list {
    position: absolute;
    margin-top: 0px;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 10;
    padding-bottom: 100px;
}

#category-favorites-mobile {
    position: relative;
    overflow-y: auto;
    height: calc(100dvh - 200px);
}

.c-list a {
    text-align: left !important;
}

.c-list-link:hover {
    background-color: #c0c0c0 !important;
}

.hidden-top {
    transform: translateY(-100%);
}

.header-front {
    width: 100vw;
    transition: transform 0.5s ease-in-out;
}

.header-desktop {
    height: 112px;
    background: var(--color-white);
    box-shadow: 0 3px 14px 0 var(--color-shadow);
    position: fixed;
    width: 100vw;
    top: 0;
    z-index: 1000;
}

@media screen and (max-width: 768px) {
    .page-header {
        margin-top: 100px;
    }

    .criteria {
        font-size: 0.8rem;
    }
}

.product-image {
    max-width: 300px;
    position: relative;
    align-self: center;
}

@media (min-width: 768px) {
    #menu-burger {
        display: none;
    }

    .vehicle-section {
        width: 50%;
    }
}

@keyframes slideInFromLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutToLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(-100%);
        opacity: 0;
    }
}

.slide-in-left {
    animation: slideInFromLeft 0.3s ease-in-out forwards;
}

.slide-in-right {
    animation: slideInFromRight 0.3s ease-in-out forwards;
}

.slide-out-left {
    animation: slideOutToLeft 0.3s ease-in-out forwards;
}
.cart-product-amount .btn {
    padding: 0.25rem 0.5rem;
}

.comment-section {
    background-color: #f8f9fa;
    padding: 16px;
    margin-top: 0;
    border-radius: 0 0 4px 4px;
    display: none;
    border-top: 1px solid #e9ecef;
}
.comment-row {
    background-color: transparent;
}
.comment-badge {
    font-size: 0.7rem;
    padding: 0.25em 0.5em;
    margin-left: 0.5rem;
    vertical-align: middle;
}
/* productv2 */
.product-card-body {
    display: flex;
    flex-direction: column;
}

.product-card-info {
    display: flex;
    flex-direction: column;
}

.product-card-hub-select td,
.product-card-hub-select th {
    font-size: 0.9rem;
    text-wrap: nowrap;
}

.product-card-hub-select tr {
    padding: 0;
}


.product-card-info {
    width: 100%;
}

.product-title {
    font-size: 1rem;
    cursor: pointer;
}

.product-title .badge {
    font-size: 0.8rem;
}

@media (min-width: 768px) {
    .product-card-info {
        display: flex;
        flex-direction: row;
    }

    .product-info-criteria {
        max-height: 180px;
        min-width: 300px;
        overflow-y: auto;
        flex-grow: 1;
    }

    .header-search {
        width: 50%;
    }

    .sorter {
        width: 25%;
    }
}


@media (min-width: 1024px) {

    .product-title {
        font-size: 1.1rem;
    }

    .product-title .badge {
        font-size: 1rem;
    }

    .header-search {
        width: 25%;
    }

    .searchHistory {
        width: 25%;
    }
}

@media (min-width: 1280px) {

    .product-card-body {
        display: flex;
        flex-direction: column;
    }

}


.product-info-criteria th,
.product-info-criteria td {
    font-size: 0.8rem;
}

#car_category_tree.lookingForCategory li:not(.search-result) {
    display: none;
}

#category_tree.lookingForCategory li:not(.search-result) {
    display: none;
}

li.search-result * {
    color: #000000 !important;
}

/* Image gallery */
.gallery-thumbnail {
    cursor: pointer;
    transition: all 0.2s ease;
    max-width: 100%;
    max-height: 100px;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: contain;
}

.gallery-thumbnail:hover {
    opacity: 0.8;
}

.gallery-thumbnail.active {
    border: 2px solid #0d6efd;
}

.main-product-image {
    max-height: 150px;
    width: auto;
    margin: 0 auto;
    display: block;
    cursor: zoom-in;
}

.thumbnail-container {
    min-width: 50px;
    max-height: 150px;
}

.lightbox-hidden {
    display: none;
}

.lightbox-show {
    display: flex;
}

.lightbox {
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1em;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100dvh;
    overflow: auto;
    cursor: zoom-out;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox img {
    cursor: default;
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 0;
    border-left: 1px solid black;
    border-bottom: 1px solid black;
    font-size: 2rem;
    cursor: pointer;
    text-align: center;
    padding: 0;
    line-height: 0;
    background-color: white;
  }


@media (max-width: 768px) {
    .main-product-image {
        min-height: 150px;
        object-fit: contain;
    }
    .gallery-thumbnail {
        max-width: 50px;
    }
    .thumbnail-container {
        max-height: 100px;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .lightbox-content {
        width: 90%;
    }

    .lightbox-close {
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
    }
}

.gallery-no-image {
    height: 150px;
    aspect-ratio: 1/1;
    object-fit: contain;
}


.order_history_header {
    border-bottom: 1px solid silver;
    margin-bottom: 10px;
}

.order_history_general table {
    width: 100%;
}

.order_history_general table th, .order_history_general table td {
    border-bottom: 1px solid #eeeeee;
}

.order_history_general table th {
    width: 50%;
}

.order_history_general {
    margin-bottom: 20px;
}

.order_history_products tfoot td:first-child {
    border-bottom: 0px;
}

#ordersSection table th, #ordersSection table td {
    width: 10%;
    white-space: nowrap;
}

#ordersSection table td.recent_order_product_name {
    width:50%;
    white-space: normal;
}

.product-title {
    cursor:pointer;
}

.recent_order_table th.recent_order_product_name, recent_order_table td.recent_order_product_name {
    width: auto !important;
    white-space: normal;
}

.recent_order_table {
    table-layout: auto !important;
}

#ordersSection ul.list-group li.list-group-item.recent_order_history_item {
    margin-top: 20px;
    box-shadow: 0 .125rem 1.25rem rgba(0,0,0,.3)!important;
    padding: 7px !important;
    border-radius: 4px;
}

.notifyjs-wrapper {
    z-index: 3 !important;
}

/* Mobile Cart Table Conversion */
@media (max-width: 767px) {
    .table-wrap table,
    .table-wrap thead,
    .table-wrap tbody,
    .table-wrap th,
    .table-wrap td,
    .table-wrap tr {
        display: block;
        position: relative;
    }

    .table-wrap thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .table-wrap td {
        border: none;
        position: relative;
        padding: 5px 10px;
        text-align: left;
        width: 50%;
    }

    .table-wrap td:before {
        position: absolute;
        top: 10px;
        left: 15px;
        width: 30%;
        font-weight: bold;
        font-size: 14px;
        color: #555;
        content: attr(data-title);
    }

    .table-wrap td .d-flex {
        display: flex;
        gap: 4px;
        justify-content: end;
    }

    .table-wrap td .d-flex a {
        width: 32px;
        height: 32px;
        padding: 6px;
        border: 1px solid #ccc;
        text-align: center;
        border-radius: 5px;
        font-weight: bold;
        text-decoration: none;
        aspect-ratio: 1/1;
    }
    .table-wrap img {
        width: 50%;
    }

    .table-wrap .comment-card
    {
        margin-top: -2rem;
        margin-bottom: 1rem;
        background-color: white;
        border-bottom: 1px solid rgb(183, 183, 183);
        border-right: 1px solid rgb(183, 183, 183);
        border-left: 1px solid rgb(183, 183, 183);
    }

    .table-wrap tr {
        border: 1px solid rgba(0, 0, 0, .125);
        border-radius: 6px;
    }

    .table-wrap td {
        width: 100%;
    }

    .table-wrap td .d-flex a:hover {
        opacity: 0.8;
    }

    .table-wrap .cartProductLine {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
    }

    .table-wrap .product-image-title {
        grid-column: span 3;
        background-color: rgba(0, 0, 0, .03);
    }

    .table-wrap .product-image-title .cart-image-wrapper {
        width: 25%;
    }

    .table-wrap .product-image-title .cart-product-title {
        width: 75%;
    }

    .table-wrap .product-image-title img {
        width: 100%;
    }

    .table-wrap .cart-product-actions {
        grid-column: span 3;
    }

    .cart-checkout {
        margin-bottom: 100px;
    }
}

.parts-catalog .layout.row > * {
    width: auto;
}

.widget_oem_catalog .oem_widget_node_block_wrap {
    width: 220px !important;
}

@media screen and (max-width: 600px) {
    .widget_oem_catalog .oem_widget_node_block_wrap {
        width: 100% !important;
        height: 195px;
    }
}

.product-image .refundable {
    display: none;
}


.modal-fullscreen-custom {

}

.select-car {

}

.open-auto {
    padding-right: 30px;
}

.mob-auto-buttons {
    display: none;
}

@media screen and (max-width: 600px) {
    .modal-fullscreen-custom {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0;
        z-index: 1000;
    }
    .modal-fullscreen-custom .modal-content {
        height: 100%;
        border: 0;
        border-radius: 0;
    }
    .modal-fullscreen-custom .modal-header,
    .modal-fullscreen-custom .modal-footer {
        border-radius: 0;
    }
    .modal-fullscreen-custom .modal-body {
        *overflow-y: auto;
    }

    .select-car {
        display: none;
    }

    .open-auto {
        display: none;
    }

    .car-image {
        display: none;
    }

    .mob-auto-buttons {
        display: block;
    }

    .mob-box-btn {
        display: flex; flex-flow: column; text-align: start;
    }
}
