@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;
}

.product-thumbs .wrapper {
    flex: 1 1 auto;
}

.product-thumbs .swiper-wrapper .swiper-slide {
    aspect-ratio: 1 / 1;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden
}

.product-thumbs .swiper-slide-thumb-active.swiper-slide {
    border: 1px solid var(--primary-color);
}

.product-thumbs .swiper-wrapper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-images {
    padding-right: 1px;
}

.product-images .swiper-slide {
    overflow: hidden;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
}

.product-images .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.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 {
    padding: 1rem 1.75rem;
    border-radius: 6px;
    background-color: white;
    color: black;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: var(--transition);
    text-decoration: none !important;
}

.product-page-tabs .product-tab-item svg {
    transition: var(--transition);
    stroke: var(--primary-color);
    transform: rotate(-90deg);
}

.product-page-tabs li.active .product-tab-item {
    background-color: var(--primary-color);
    color: white;
}

.product-page-tabs li.active .product-tab-item svg {
    stroke: white;
    transform: rotate(0);
}

.product-page-tabs .product-tab-content {
    transition: var(--transition);
    padding: 0 2rem;
}

.product-shipping-estimate {
    max-width: 180px;
    width: 100%;
}

.product-shipping-estimate input {
    width: 100%;
    height: 40px;
    border-radius: 6px;
    background-color: white;
    border: 1px solid var(--border-color);
    padding: 0 80px 0 1rem;
}

.product-shipping-estimate button {
    position: absolute;
    top: 6px;
    right: 6px;
    bottom: 6px;
    background-color: #e5e5e5;
    color: black;
    border: 0;
    border-radius: 6px;
    padding: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-custom-quantity input {
    width: 100%;
    height: 40px;
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0 25px;
}

.product-custom-quantity input::-webkit-outer-spin-button,
.product-custom-quantity input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-custom-quantity button {
    position: absolute;
    top: 0;
    bottom: 0;
    background-color: transparent;
    border: 0;
    color: var(--primary-color);
    cursor: pointer;
    width: 25px;
}

.product-custom-quantity button:first-of-type {
    left: 0;
}

.product-custom-quantity button:last-of-type {
    right: 0;
}

#variant-select {
    background-color: white;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0 .75rem;
    height: 40px;
}

#variant-select:focus-visible,
#variant-select:focus {
    border: 1px solid var(--primary-color);
}

#variant-select:focus-visible {
    outline: none !important;
}

.btn-primary.outline.btn-parcelas svg {
    color: var(--primary-color) !important;
}

.btn-primary.outline.btn-parcelas {
    color: black !important;
}

.btn-primary.outline.btn-parcelas:hover svg,
.btn-primary.outline.btn-parcelas:hover {
    color: white !important;
}
.product-spot-quantity input{
    height: 40px;
    border: 1px solid var(--border-color);
    background-color: white;
    font-weight: 600;
    text-align: center;
    width: 70px;
    border-radius: 6px;
}

.product-spot-quantity button:first-of-type {
    left: 0;
}
.product-spot-quantity button:last-of-type {
    right: 0;
}
.product-spot-quantity 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-pagination{
    top: 0 !important;
}
.custom-pagination .swiper-pagination-bullet, .main-banner-pagination .swiper-pagination-bullet {
    display: inline-flex
;
    width: 35px;
    height: 5px;
    background-color: white;
    border-radius: 6px;
    opacity: 1;
}
.custom-pagination .swiper-pagination-bullet-active, .main-banner-pagination .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}
#product-details{
    max-width: 100% !important;
}
@media screen and (min-width: 1023px) {
    .container-zoom img:hover {
        opacity: 0;
    }
}

@media screen and (max-width: 768px) {
    #product-details > .container {
        padding-top: 1rem !important;
    }
}

body .swiper-button-lock {
    display: none !important;
}