.single-product .jdw-product-template {
    color: #122341;
}

.single-product .jdw-product-summary-row {
    flex-wrap: nowrap !important;
    gap: 42px !important;
}

.single-product .jdw-product-gallery-panel {
    flex: 0 0 calc((100% - 42px) * 0.49) !important;
    box-shadow: 0 18px 44px rgba(18, 35, 65, 0.08);
    max-width: calc((100% - 42px) * 0.49);
}

.single-product .jdw-product-gallery-carousel .elementor-image-carousel-wrapper {
    border-radius: 4px;
}

.single-product .jdw-product-gallery-carousel .swiper-slide-inner {
    display: block;
}

.single-product .jdw-product-gallery-carousel .swiper-slide-image {
    aspect-ratio: 1.12;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.single-product .jdw-product-gallery-carousel .elementor-swiper-button {
    align-items: center;
    background: #ea543f;
    border-radius: 3px;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    opacity: 1;
    width: 42px;
}

.single-product .jdw-product-gallery-carousel .elementor-swiper-button:hover {
    background: #122341;
}

.single-product .jdw-product-gallery-carousel .swiper-pagination-bullet {
    opacity: 1;
}

.single-product .jdw-product-summary-panel {
    flex: 1 1 calc((100% - 42px) * 0.51) !important;
    max-width: calc((100% - 42px) * 0.51);
    padding-top: 10px;
}

.single-product .jdw-product-template .elementor-widget-text-editor,
.single-product .jdw-product-template .elementor-widget-theme-post-content {
    color: #41516b;
    font-family: "Roboto Slab Regular", Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.75;
}

.single-product .jdw-product-template .elementor-widget-theme-post-content p {
    margin: 0 0 18px;
}

.single-product .jdw-product-template .elementor-widget-theme-post-content h2,
.single-product .jdw-product-template .elementor-widget-theme-post-content h3 {
    margin: 32px 0 14px;
    padding: 0;
    color: #122341;
    font-family: "Bai Jamjuree", Arial, Helvetica, sans-serif;
    font-weight: 700;
    line-height: 1.25;
}

.single-product .jdw-product-template .elementor-widget-theme-post-content h2 {
    font-size: 30px;
}

.single-product .jdw-product-template .elementor-widget-theme-post-content h3 {
    font-size: 22px;
}

.single-product .jdw-product-template .elementor-widget-theme-post-content ul,
.single-product .jdw-product-template .elementor-widget-theme-post-content ol {
    margin: 0 0 22px 20px;
    padding: 0;
}

.single-product .jdw-product-template .elementor-widget-theme-post-content li {
    margin: 0 0 8px;
}

.single-product .jdw-product-template table {
    width: 100%;
    margin: 18px 0 26px;
    border: 1px solid #d9e0eb;
    background: #fff;
}

.single-product .jdw-product-template table th,
.single-product .jdw-product-template table td {
    padding: 14px 16px;
    border: 1px solid #d9e0eb;
    color: #41516b;
    text-align: left;
    vertical-align: top;
}

.single-product .jdw-product-template table th,
.single-product .jdw-product-template table thead td {
    background: #122341;
    color: #fff;
    font-weight: 700;
}

.single-product .jdw-product-template .elementor-tabs .elementor-tab-title,
.single-product .jdw-product-template .elementor-accordion .elementor-tab-title {
    font-family: "Bai Jamjuree", Arial, Helvetica, sans-serif;
}

.single-product .jdw-product-template .elementor-accordion .elementor-tab-title {
    margin-bottom: 10px;
    background: #fff;
    border: 1px solid #d9e0eb;
}

.single-product .jdw-product-template .elementor-accordion .elementor-tab-content {
    margin: -10px 0 10px;
    border: 1px solid #d9e0eb;
    border-top: 0;
}

@media (max-width: 767px) {
    .single-product .jdw-product-summary-row {
        flex-wrap: wrap !important;
        gap: 28px !important;
    }

    .single-product .jdw-product-gallery-panel,
    .single-product .jdw-product-summary-panel {
        flex-basis: 100% !important;
        max-width: 100%;
        width: 100% !important;
    }

    .single-product .jdw-product-gallery-carousel .swiper-slide-image {
        aspect-ratio: 1;
    }

    .single-product .jdw-product-summary-panel {
        padding-top: 0;
    }

    .single-product .jdw-product-template .elementor-widget-theme-post-content h2 {
        font-size: 24px;
    }

    .single-product .jdw-product-template table th,
    .single-product .jdw-product-template table td {
        padding: 11px 12px;
        font-size: 14px;
    }
}
