﻿.dov-thumbnail {
    width: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    overflow-x: hidden;
    overflow-y: hidden;
    padding: 5px 1px 1px;
    margin-bottom: 5px;
}

.dov-detail-squares {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    overflow-y: hidden;
    margin-bottom: 5px;
    width: fit-content;
}

.attributes-wrapper .dov-detail-squares {
    max-width: 450px;
}

.dov-thumbnail::before,
.dov-thumbnail::after {
    content: '';
    width: 5px;
}

.dov-thumbnail .dov-variants-picture {
    height: 40px;
    width: 40px;
    object-fit: scale-down;
    border-radius: 20%;
    border: solid 2px rgb(0 0 0 / 15%);
}

.dov-detail-squares .dov-variants-picture {
    height: 70px;
    width: 70px;
    object-fit: scale-down;
    border-radius: 6px;
    border: solid 2px rgb(0 0 0 / 15%);
}

.dov-details-dropdown {
    font: bold 16px 'Roboto', sans-serif;
}

.dov-dropdown {
    display: block;
    color: rgb(0, 0, 0);
    font-size: 14px;
    font-family: inherit;
    margin-bottom: 10px;
    position: relative;
    background-color: white;
}

.attributes-wrapper > .dov-details-dropdown {
    max-width: 95%;
}

.dov-variants-count {
    font: inherit;
    font-size: 15px;
    color: #444444;
}

.dov-details-dropdown .dov-variants-count {
    font-size: 15px;
    margin-top: 20px;
}

.dov-thumbnail .dov-variants-count {
    vertical-align: center;
    line-height: 40px;
    padding: 0 12px;
    text-align: center;
    background-color: #f1f1f1;
    border-radius: 20%;
    font-size: 15px;
    color: #444444;
    font-weight: bold;
}

.dov-dropdown * {
    font-size: inherit;
    font-family: inherit;
}

.dov-dropdown-top-item {
    border: none;
    cursor: pointer;
    min-width: 160px;
    z-index: 1;
    text-align: center;
    block-size: auto;
    border: solid #a6a6a6 1px;
    border-radius: 4px;
    height: inherit;
}

.dov-dropdown-content {
    display: none;
    position: absolute;
    width: 100%;
    min-width: 160px;
    text-align: center;
    block-size: auto;
    z-index: 3;
    box-shadow: 4px 4px 16px 4px rgba(0, 0, 0, 0.2);
    border: solid #efefef 1px;
    border-radius: 4px;
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: inherit
}

.dov-dropdown.dov-show .dov-dropdown-content {
    display: grid;
}

.dov-dropdown-content a {
    color: inherit;
    text-decoration: inherit;
}

.dov-product-variant {
    text-align: inherit;
    position: static;
    display: grid;
    grid-template-columns: 70px 1fr 35%;
    overflow: hidden;
    height: 70px;
    max-height: 70px;
    background-color: inherit;
}

.dov-product-variant-wrapper {
    display: table;
    height: inherit;
    max-height: 70px;
    background-color: inherit;
    width: 100%;
}

    .dov-product-variant-wrapper.dov-variant-even {
        background-color: #efefef;
    }

.dov-dropdown-top-item .dov-product-variant-wrapper:hover {
    background-color: inherit;
}

.dov-picture {
    align-self: center;
    justify-self: center;
}

.dov-product-variant .dov-picture {
    max-height: inherit;
    max-width: 100%;
    align-self: center;
    justify-self: center;
}

.dov-detail-squares .dov-picture__current > a > img {
    border: 2px solid #5ca6d8;
}

.dov-arrow {
    border: solid black;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
}

.dov-arrow-wrapper {
    display: table-cell;
    vertical-align: middle;
    padding: 0 4px;
}

    .dov-arrow-wrapper.dummy {
        padding: unset;
        width: 19.2px;
    }

.dov-dropdown.show .dov-arrow {
    transform: rotate(-135deg);
}

.dov-down {
    transform: rotate(45deg);
}

.dov-product-title {
    display: table-cell;
    vertical-align: middle;
    padding-left: 4px;
}

.dov-product-title-wrapper {
    text-align: left;
    display: table;
    height: 100%;
    max-width: 100%;
}

.dov-product-variant .dov-product-title p {
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: inherit;
    font-weight: bold;
    margin-left: 5px;
}

.dov-dropdown-content .dov-product-variant-wrapper:hover .dov-product-title p {
    text-decoration: underline;
}

.dov-dropdown .dov-variants-picture,
.dov-product-variant .dov-picture {
    padding: 4px;
    border-radius: 5px;
}

.dov-product-variant-status {
    display: grid;
    font-size: 13px;
    margin: 0 4px
}

.dov-dropdown-top-item .dov-product-variant-status {
    display: block;
    align-self: center;
}

.dov-price {
    align-self: center;
}

    .dov-price .product-price * {
        font-size: 16px;
    }

.dov-availability {
    align-self: center;
    margin-bottom: 5px;
}

    .dov-availability .add-info-stock {
        font-size: inherit;
        margin: unset;
        padding: unset;
        background-color: inherit;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.dov-dropdown ::-webkit-scrollbar {
    width: 7px;
}

.dov-thumbnail::-webkit-scrollbar, .dov-detail-squares::-webkit-scrollbar {
    height: 7px;
}

.dov-thumbnail::-webkit-scrollbar-track,
.dov-detail-squares::-webkit-scrollbar-track,
.dov-dropdown ::-webkit-scrollbar-track {
    background-color: #d3d3d3;
}

    .dov-thumbnail::-webkit-scrollbar-track:hover,
    .dov-detail-squares::-webkit-scrollbar-track:hover,
    .dov-dropdown ::-webkit-scrollbar-track:hover {
        background-color: #bdbaba;
    }

.dov-thumbnail::-webkit-scrollbar-thumb,
.dov-detail-squares::-webkit-scrollbar-thumb,
.dov-dropdown ::-webkit-scrollbar-thumb {
    background-color: darkgrey;
}

    .dov-thumbnail::-webkit-scrollbar-thumb:hover,
    .dov-detail-squares::-webkit-scrollbar-thumb:hover,
    .dov-dropdown ::-webkit-scrollbar-thumb:hover {
        background-color: grey;
    }

.dov-product-list-button {
    display: inline-block;
}

.dov-squares-heading {
    display: block;
    font-size: 15px;
    margin: 0 0 5px;
    white-space: nowrap;
    font-weight: bold;
    color: #444444;
}

@media (max-width: 1280px) {
    .dov-detail-squares {
        margin-left: auto !important;
    }
}
