.custom-product-page {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.custom-product-page .left {
    width: 100px;
}

.custom-product-page .center {
    width: 45%;
}

.custom-product-page .right {
    width: 35%;
}

.offer-box {
    background: #dfeadf;
    padding: 15px;
}

.custom-breadcrumbs,
.custom-product-page,
.product-tabs,
.product-faq,
.related-products {
    padding-left: 24px !important;
    padding-right: 24px !important;
    max-width: 1640px;
    margin: 0 auto;
}

.custom-breadcrumbs .entry-crumbs a,
.custom-breadcrumbs .entry-crumbs {
    color: #000;
}

.custom-breadcrumbs {
    padding: 24px;
}

.custom-product-page {
    padding-top: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px !important;
}

.custom-product-page>div {
    width: 100% !important;
}

.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #fff;
    z-index: 1;
    padding: 10px;
    margin: 20px;
    width: 40px;
    display: grid;
    place-items: center;
}

.woocommerce-product-gallery__trigger span {
    display: none !important;
}

.woocommerce-product-gallery__trigger::after {
    content: '\e80a';
    font-family: 'newspaper';
}

.custom-product-page .center {
    position: relative;
}

.custom-product-page .center>* {
    position: sticky;
    top: 10px;
}

.woocommerce-product-gallery__wrapper a {
    display: flex;
}

.woocommerce-product-gallery__wrapper img {
    width: 100%;
}

.woocommerce-product-gallery {
    display: flex;
}

.flex-control-nav {
    order: -1;
    min-width: 110px;
    max-width: 110px;
}

.flex-control-nav li {
    display: flex;
    margin: 0 10px 10px 0;
}

.custom-product-page .right h1 {
    margin-top: 0;
}

form.cart {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

form.cart input {
    height: 100%;
    border: 1px solid #000;
    ;
    border-radius: 4px;
}

form.cart button {
    font-weight: 500 !important;
    background-color: #f16622 !important;
}

.comment-reply-title {
    font-weight: 500 !important;
    font-size: 24px !important;
    display: block;
    margin-bottom: 24px;
}

.comment-form label:not(.comment-form-cookies-consent label) {
    display: block;
    margin-bottom: 4px;
}

input.submit {
    background-color: #f16622 !important;
    border-radius: 4px !important;
}

ul.products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0 !important;
}

ul.products::after,
ul.products::before {
    display: none !important;
}

ul.products li {
    width: 100% !important;
    margin: 0 !important;
}

ul.products li img {
    margin-bottom: 5px !important
}

ul.products li .button,
input.submit,
form button {
    background-color: #f16622;
    color: #fff !important;
    font-weight: 500 !important;
    border-radius: 4px !important;
    margin: 0 !important;
    transition: all .3s ease;
}


ul.products li .button:hover,
input.submit:hover,
form button:hover {
    color: #fff !important;
    background-color: #103047 !important;
}

.product-tabs li p {
    margin: 0;
}

.tabs {
    display: flex;
    column-gap: 20px;
    row-gap: 10px;
    border-top: 1px solid #ddd;
    margin-top: 20px;
    padding-top: 30px;
    flex-wrap: wrap;
}

.tabs li {
    display: flex;
    margin: 0;
    font-size: 18px;
}

.tabs li.active {
    border-bottom: 1px solid #f16622;
}

.woocommerce-Tabs-panel {
    margin-top: 30px;
}

.related-products ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 100px !important;
    row-gap: 40px;
}

.related-products ul li {
    display: flex;
    flex-direction: column;
}

.screen-reader-text {
    display: none !important;
}

.related-products ul a.button {
    width: fit-content;
    margin-top: auto !important;
}

@media(max-width:1399px) {
    .custom-product-page {
        gap: 32px !important;
    }
}

@media(max-width:1199px) {
    ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media(max-width:991px) {
    .custom-product-page {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .tabs li {
        font-size: 16px;
    }

    .related-products ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        margin-bottom: 50px !important;
    }
}

@media(max-width:767px) {
    .related-products ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .flex-control-nav {
        min-width: 80px;
        max-width: 80px;
    }
}

@media(max-width:450px) {
    ul.products {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .related-products ul.products {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

.woocommerce .star-rating span::before {
    color: transparent;
}

.woocommerce-review__author {
    font-weight: 500;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-title {
    cursor: pointer;
}

.faq-title h4 {
    margin: 10px 0 0 0;
}

.faq-title h4::after {
    content: '\e801';
    font-family: 'Newspaper';
    font-size: 24px;
    transition: all .3s ease;
}

.faq-title h4 {
    display: flex;
    justify-content: space-between;
}

.faq-item.active h4::after {
    rotate: 180deg;
}

.faq-item {
    border: 1px solid;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.faq-item :is(h4, p) {
    margin: 0 !important;
}

.faq-item p {
    margin-top: 5px !important;
}

.faq-title h4::after {
    font-size: 20px !important;
}

body .tdi_98_rand_style {
    background-color: #000 !important;
}

h2 {
    margin-bottom: 12px;
}

h3 {
    margin-bottom: 10px;
}

.related-products :is(h2, h3):not(.woocommerce-loop-product__title),
.product-faq :is(h2, h3),
.product-tabs :is(h2, h3) {
    position: relative;
    padding-left: 10px;
}

.related-products :is(h2, h3):not(.woocommerce-loop-product__title)::before,
.product-faq :is(h2, h3)::before,
.product-tabs :is(h2, h3)::before {
    content: '';
    position: absolute;
    display: block;
    background-color: #f16622;
    width: 3px;
    height: 100%;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
}

h3,
h2:not(ul.products h2, .custom-product-page h2) {
    margin-top: 50px;
}   