@media screen and (min-width: 769px) {
    .product-thumbs,
    .product-images {
        height: 580px;
    }
}

@media screen and (max-width: 768px) {
    .product-images img {
        aspect-ratio: 1 / 1;
    }
}

.product-thumbs .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    cursor: pointer;
}

.product-thumbs .swiper-slide-thumb-active {
    opacity: 1;
}

.product-thumbs .swiper-slide img {
    display: block;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.product-thumbs .wrapper {
    flex: 1 1 auto;
}

.product-thumbs .swiper-wrapper .swiper-slide {
    height: auto !important;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 5px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    padding: 0;
}

.product-images .swiper-slide {
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

.product-images .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: white;
}

.product-images .image-prev,
.product-images .image-next {
    position: absolute;
    z-index: 5;
    top: 0;
    bottom: 0;
    margin: auto 0;
    width: 40px;
    height: 100px;
}

.product-images .image-prev {
    left: .5em;
}

.product-images .image-next {
    right: .5rem;
}

.product-item {
    border: 1px solid var(--border-color);
    transition: var(--transition);
    border-radius: 6px;
    overflow: hidden;
}

.product-item:hover {
    border: 1px solid var(--primary-color);
}

.custom-input-qnt {
    position: relative;
    width: 100px;
    display: flex !important;
    align-items: center;
}

.custom-input-qnt input {
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0 30px;
    width: 100%;
    height: 40px;
    text-align: center;
    --moz-appearance: textfield;
}

.custom-input-qnt input::-webkit-outer-spin-button,
.custom-input-qnt input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.custom-input-qnt button {
    position: absolute !important;
    all: unset;
    cursor: pointer;
    width: 25px;
    height: 100%;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-input-qnt button:first-of-type {
    left: 0;
}

.custom-input-qnt button:last-of-type {
    right: 0;
}

.product-page-tabs .product-tab-item {
    border-bottom: 3px solid transparent;
    color: var(--light-text-color);
    transition: var(--transition);
    text-decoration: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-page-tabs .product-tab-item.active,
.product-page-tabs .product-tab-item:hover {
    color: black;
    border-bottom: 3px solid black;
}

.product-tab-content {
    display: none;
}

.product-tab-content.active {
    display: block;
}

.mini-spot-product-name:hover{
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .product-page-tabs li {
        flex: 1 1 auto;
    }
}

@media screen and (min-width: 1023px) {
    .container-zoom img:hover {
        opacity: 0;
    }
}

.product-image-seals {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    pointer-events: none;
}

.product-description,
.product-description * {
    color: black !important;
}

@media screen and (max-width: 1024px) {
    #product-details {
        padding-top: 1rem !important;
    }

    .container-zoom {
        background: unset !important;
    }
}

.buy-box-table-mobile,
.buy-box-table {
    width: 100%;
}

.buy-box-table-mobile thead th:first-of-type,
.buy-box-table thead th:first-of-type {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.buy-box-table-mobile thead th:last-of-type,
.buy-box-table thead th:last-of-type {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.buy-box-table-mobile thead th,
.buy-box-table thead th {
    background-color: black;
    color: white;
    padding: 0.5rem 1rem;
}

.buy-box-table-mobile tbody tr:first-of-type td:first-of-type,
.buy-box-table tbody tr:first-of-type td:first-of-type {
    border-top-left-radius: 6px;
}

.buy-box-table-mobile tbody tr:first-of-type td:last-of-type,
.buy-box-table tbody tr:first-of-type td:last-of-type {
    border-top-right-radius: 6px;
}

.buy-box-table-mobile tbody tr:last-of-type td:first-of-type,
.buy-box-table tbody tr:last-of-type td:first-of-type {
    border-bottom-left-radius: 6px;
}

.buy-box-table-mobile tbody tr:last-of-type td:last-of-type,
.buy-box-table tbody tr:last-of-type td:last-of-type {
    border-bottom-right-radius: 6px;
}

.buy-box-table-mobile tbody td,
.buy-box-table tbody td {
    padding: 1rem;
    background-color: #f2f2f2;
    vertical-align: middle;
}

.custom-tabs .custom-tab-content {
    overflow: hidden;
    transition: var(--transition);
    max-height: 0;
}

.custom-tabs .activator {
    text-decoration: none !important;
    color: black !important;
    font-weight: 700 !important;
    font-size: 1rem;
    background-color: #f5f6f7;
    border-radius: 6px;
    transition: var(--transition);
}

.custom-tabs .activator-icon {
    width: 24px;
    height: 24px;
    border-radius: 100px;
    background-color: var(--primary-color);
    color: white;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-90deg);
}

.custom-tabs .activator.active .activator-icon {
    transform: rotate(0);
}