article.type-product {
    padding: 40px 0 120px;
}

.single-product__container {
    display: flex;
    flex-wrap: wrap;
    gap: 65px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.single-product__container-left {
    flex: 1 1 58%;
    max-width: 54.2%;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.product-gallery-main {
    position: relative;
    width: 100%;
}
.product-gallery-main__image {
    max-width: 100%;
    width: 100%;
}
.product-gallery-main__image img {
    width: 100%;
    max-height: 450px;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.product-gallery-main__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}
.product-gallery-main__nav--prev {
    left: 25px;
}
.product-gallery-main__nav--next {
    right: 25px;
}
.product-gallery-thumbs {
    margin-top: 10px;
    height: 103px;
}
.product-gallery-thumbs .swiper-slide {
    max-width: 123px;
    height: 103px;
}
.product-gallery-thumbs__image {
    max-width: 123px;
}
.product-gallery-thumbs__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 20px;
    transition: border-color 0.2s;
}
.single-product__summary-inner {
    flex: 1 1 38%;
    max-width: 100%;
}
.single-product__summary {
    position: sticky;
    top: 50px;
}
.single-product__summary-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}
.single-product__title {
    font-size: 26px;
    line-height: 112%;
    font-weight: 700;
}
.single-product__price {
    font-size: 26px;
    line-height: 112%;
    font-weight: 700;
    letter-spacing: 0;
    text-align: right;
}
.single-product__short-desc {
    margin-top: 25px;
    margin-bottom: 28px;
}
.single-product__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.single-product__field {
    flex: 1 1 48%;
}
.single-product__field label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #333;
}
.quantity-selector {
    display: inline-block;
}
.quantity-selector .quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    width: 100%;
}
.quantity-selector .qty {
    text-align: center;
}
.custom-select-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
}
.custom-select-wrap select {
    width: 100%;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    border: 1px solid #ccc;
    border-radius: 2rem;
    background: #eef7fd;
    appearance: none;
    font-size: 1rem;
    color: #333;
}
.custom-select-wrap .custom-select-arrow {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 0.9rem;
    color: #36b37e;
}
.single-product__buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}
.single-product__btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 2rem;
    border: none;
    cursor: pointer;
    text-align: center;
}
.single-product__shipping-note {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}
.single-product__tabs {
    margin: 0;
    padding: 0;
}
.single-product__tabs-nav {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
    border-bottom: 1px solid #BECBD4;
    position: relative;
    --underline-offset: 0%;
}
.tabs-nav__item {
    padding-bottom: 20px;
    cursor: pointer;
    position: relative;
    color: #949494;
}
.tabs-nav__item--active {
    color: #181818;
}
.single-product__tabs-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(100%/3);
    height: 2px;
    background-color: #4CAF50;
    transition: transform 0.3s ease;
    transform: translateX(var(--underline-offset));
}
.single-product__tabs-content {
    margin-top: 40px;
}
.tab-content {
    display: none;
    color: #333333;
}
.tab-content p {
    margin-bottom: 20px;
}
.tab-content p:last-child {
    margin-bottom: 0;
}
.tab-content--active {
    display: block;
}
.single-product-customer-reviews .customer-reviews-navigation {
    position: absolute;
    top: 0;
    right: 40px;
}
.single-product-customer-reviews .customer-reviews__counter {
    display: none;
}
.single-product__related {
    padding: 120px 0;
}
.single-product__related h2 {
    width: 100%;
}
.single-product__related li {
    list-style: none;
}
.single-product__related-heading {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 60px;
}
.related-swiper__prev {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #FBFBFB;
    border-radius: 50%;
    pointer-events: all;
    cursor: pointer;
}
.related-swiper__next {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #FBFBFB;
    border-radius: 50%;
    pointer-events: all;
    cursor: pointer;
}

.custom-dropdown {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 300px;
    margin-top: 16px;
}

.custom-dropdown__toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 15px 24px;
    border: 1px solid #BFC8CF;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.custom-dropdown__toggle:hover {
    border: 1px solid #333333;
}

.custom-dropdown__toggle-label {
    font-size: 18px;
    font-weight: 600;
    color: #333333;
}

.custom-dropdown__toggle-arrow {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    font-size: 14px;
    color: #28A745;
    transition: transform 0.2s ease;
}

.custom-dropdown.open .custom-dropdown__toggle-arrow {
    transform: rotate(180deg);
}

.custom-dropdown__options {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background-color: #E6F2FA;
    border: 1px solid #BFC8CF;
    border-radius: 20px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    max-height: 200px;
    overflow-y: auto;
    overflow: hidden;
    z-index: 999;
    display: none;
}

.custom-dropdown.open .custom-dropdown__options {
    display: block;
}

.custom-dropdown__option {
    padding: 8px 16px;
}

.custom-dropdown__option label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.custom-dropdown__radio-circle {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid #28A745;
    border-radius: 50%;
    margin-right: 10px;
    position: relative;
    flex-shrink: 0;
}

.custom-dropdown__option input[type="radio"]:checked + .custom-dropdown__radio-circle {
    background-color: #28A745;
}

.custom-dropdown__label-text {
    font-size: 14px;
    color: #333333;
}

.custom-dropdown__option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.variations .reset_variations {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
}
.single-product__container .single-product__summary > form > table > tbody > tr {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.native-variation-select {
    display: none !important;
}
.quantity-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 184px;
    width: 100%;
    margin-top: 16px;
    padding: 11px 24px;
    border: 1px solid #BECBD4;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.quantity-wrapper:hover {
    border: 1px solid #333333;
}

.custom-qty-input {
    width: 40px;
    text-align: center;
    border: none;
    outline: none;
    background: transparent;
    font-size: 18px;
    font-weight: 600;
}
.qty-btn.plus,
.qty-btn.minus {
    border: none;
    background: transparent;
    color: #4CAF50;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}
.single_add_to_cart .variations_form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 100%;
    width: 100%;
}
.single_add_to_cart .variations {
    max-width: 58%;
    width: 100%;
    position: relative;
}
.single_add_to_cart .variations tr {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.single_add_to_cart .variations tr label {
    font-size: 18px;
    font-weight: 700;
    line-height: 100%;
    color: #333333;
}
.single_add_to_cart .variations td {
    max-width: 100%;
    width: 100%;
}
.single_add_to_cart .quantity-selector {
    max-width: 42%;
    width: 100%;
    order: -1;
}
.single_add_to_cart .quantity-selector label {
    font-size: 18px;
    font-weight: 700;
    line-height: 100%;
    color: #333333;
}
.single_add_to_cart .variations_button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    max-width: 100%;
    width: 100%;
    margin-top: 30px;
    margin-bottom: 20px;
}

.single_add_to_cart .buy-now-button {
    margin-top: 30px;
    margin-bottom: 20px;
}

.single_add_to_cart .single_add_to_cart_button {
    margin-bottom: 20px;
}

.single_add_to_cart .variations_button .single_add_to_cart_button,
.single_add_to_cart .buy-now-button,
.single_add_to_cart .single_add_to_cart_button {
    justify-content: center;
    max-width: 100%;
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #005EB8;
    outline: none;
}

.single_add_to_cart .variations_button .buy-now-button {
    margin: 0;
}

.single_variation_wrap {
    max-width: 100%;
    width: 100%;
}

.woocommerce-variation.single_variation {
    display: none!important;
}

del {
    display: none;
    text-decoration: line-through;
}

@media (max-width: 991px) {
    .single-product__container-left {
        flex: 1;
        max-width: 100%;
    }
    .single-product__tabs {
        max-width: 100%;
    }
    .single-product__title {
        font-size: 20px;
        font-weight: 600;
        line-height: 112%;
    }
    .single-product__price {
        font-weight: 600;
        font-size: 20px;
        line-height: 112%;
        letter-spacing: 0;
        text-align: right;
    }
}

@media (max-width: 768px) {
    article.type-product {
        padding: 20px 0 60px;
    }
    .single-product__container {
        margin-top: 40px;
        margin-bottom: 60px;
        gap: 40px;
    }
    .product-gallery-main__nav {
        width: 42px;
        height: 42px;
    }
    .product-gallery-main__nav--next {
        right: 16px;
    }
    .product-gallery-main__nav--prev {
        left: 16px;
    }
    .product-gallery-thumbs {
        margin-top: 12px;
        height: 53px;
    }
    .product-gallery-thumbs .swiper-slide {
        max-width: 63px;
        height: 53px;
    }
    .product-gallery-thumbs__image {
        max-width: 63px;
        height: 53px;
    }
    .product-gallery-thumbs__image img {
        border-radius: 12px;
    }
    .single-product__short-desc {
        margin-top: 20px;
        margin-bottom: 30px;
    }
    .custom-qty-input {
        font-size: 14px;
        font-weight: 400;
    }
    .custom-dropdown__toggle-label {
        font-size: 14px;
        font-weight: 400;
    }
    .quantity-wrapper {
        margin-top: 12px;
        padding: 0 24px;
    }
    .custom-dropdown__toggle {
        padding: 1px 24px;
        height: 34px;
    }
    .qty-btn.plus, .qty-btn.minus {
        width: auto;
        height: auto;
        padding: 3px 0;
    }
    .custom-dropdown {
        margin-top: 12px;
    }
    .single_add_to_cart .variations_form {
        gap: 16px;
    }
    .single_add_to_cart .quantity-selector {
        max-width: 47%;
        width: 100%;
        order: -1;
    }
    .single_add_to_cart .variations {
        max-width: 48%;
        width: 100%;
        position: relative;
    }
    .single_add_to_cart .variations_button {
        margin-top: 21px;
        margin-bottom: 17px;
    }
    .single_add_to_cart .variations_button .single_add_to_cart_button {
        justify-content: center;
        max-width: 100%;
        width: 100%;
        padding: 14px 20px;
        outline: none;
    }
    .single-product__container .single-product__summary > span {
        font-size: 14px;
    }
    .single-product__tabs-nav {
        gap: 0;
    }
    .tabs-nav__item--active {
        font-size: 18px;
    }
    .tabs-nav__item {
        padding-bottom: 12px;
        font-size: 18px;
    }
    .single-product__tabs-content {
        margin-top: 28px;
    }
    .single-product-customer-reviews .customer-reviews-navigation {
        position: relative;
        top: 0;
        right: auto;
        max-width: 100%;
        width: 100%;
    }
    .single-product-customer-reviews .customer-reviews__nav {
        justify-content: space-between;
    }
    .single-product__related {
        padding: 62px 0 121px;
    }
    .single-product__related-heading {
        margin-bottom: 40px;
    }
    .single-product__related .customer-reviews__nav {
        justify-content: space-between;
        position: absolute;
        left: auto;
        max-width: 87%;
        margin: 0 auto;
        bottom: -62px;
    }
    .related-swiper__prev,
    .related-swiper__next {
        width: 42px;
        height: 42px;
    }
}