.product-specification-table {
    max-width: 850px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    background: #fff;
}

    .product-specification-table table {
        width: 100%;
        border-collapse: collapse;
    }

    .product-specification-table tr:nth-child(even) {
        background: #f8f8f8;
    }

    .product-specification-table th {
        width: 35%;
        background: #f1f1f1;
        color: #222;
        font-weight: 600;
        padding: 14px 18px;
        border: 1px solid #e5e5e5;
        text-align: left;
    }

    .product-specification-table td {
        padding: 14px 18px;
        color: #555;
        border: 1px solid #e5e5e5;
        text-align: left;
        line-height: 1.7;
    }

@media(max-width:767px) {
    .product-specification-table th,
    .product-specification-table td {
        padding: 12px;
        font-size: 14px;
    }
}

.privacy-policy-box {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

    .privacy-policy-box:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }

    .privacy-policy-box h4 {
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 20px;
        color: #111;
    }

    .privacy-policy-box h5 {
        font-size: 22px;
        font-weight: 700;
        margin-top: 35px;
        margin-bottom: 18px;
        color: #111;
    }

    .privacy-policy-box p {
        color: #555;
        line-height: 1.9;
        margin-bottom: 18px;
    }

    .privacy-policy-box ul {
        padding-left: 20px;
        margin-bottom: 20px;
    }

        .privacy-policy-box ul li {
            margin-bottom: 12px;
            color: #444;
            line-height: 1.8;
        }

@media(max-width:767px) {

    .privacy-policy-box {
        padding: 20px;
    }

        .privacy-policy-box h4 {
            font-size: 24px;
        }

        .privacy-policy-box h5 {
            font-size: 20px;
        }
}
.policy-box {
    background: #ffffff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

    .policy-box:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }

    .policy-box h5 {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 18px;
        color: #111;
    }

    .policy-box p {
        color: #555;
        line-height: 1.9;
        margin-bottom: 15px;
    }

    .policy-box ul {
        padding-left: 20px;
        margin-bottom: 20px;
    }

        .policy-box ul li {
            margin-bottom: 12px;
            color: #444;
            line-height: 1.8;
        }

.refund-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    overflow: hidden;
    border-radius: 10px;
}

    .refund-table th {
        background: #111;
        color: #fff;
        padding: 14px;
        text-align: left;
        font-weight: 600;
    }

    .refund-table td {
        padding: 14px;
        border: 1px solid #e5e5e5;
        color: #555;
    }

    .refund-table tr:nth-child(even) {
        background: #f8f8f8;
    }

@media(max-width:767px) {
    .policy-box {
        padding: 20px;
    }

        .policy-box h5 {
            font-size: 20px;
        }

    .refund-table th,
    .refund-table td {
        font-size: 14px;
        padding: 10px;
    }
}

.product-detail-tabs {
    max-width: 1080px;
    margin: 0 auto;
}

/* Product detail gallery fallback:
   if Swiper does not initialise, keep only the first image in the main
   viewport and show the remaining images as thumbnails. */
.flat-single-product .product-thumbs-slider.thumbs-bottom .tf-product-media-main {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.flat-single-product .product-thumbs-slider.thumbs-bottom .tf-product-media-main .swiper-wrapper {
    height: 100%;
}

.flat-single-product .product-thumbs-slider.thumbs-bottom .tf-product-media-main:not(.swiper-initialized) .swiper-slide:not(:first-child) {
    display: none;
}

.flat-single-product .product-thumbs-slider.thumbs-bottom .tf-product-media-main .item {
    width: 100%;
    height: 100%;
    display: block;
}

.flat-single-product .product-thumbs-slider.thumbs-bottom .tf-product-media-main .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flat-single-product .product-thumbs-slider.thumbs-bottom .tf-product-media-thumbs {
    overflow: hidden;
}

.flat-single-product .product-thumbs-slider.thumbs-bottom .tf-product-media-thumbs .swiper-wrapper {
    display: flex;
    gap: 8px;
}

.flat-single-product .product-thumbs-slider.thumbs-bottom .tf-product-media-thumbs .swiper-slide {
    flex: 0 0 127px;
    width: 127px;
    max-width: 127px;
}

.flat-single-product .product-thumbs-slider.thumbs-bottom .tf-product-media-thumbs .item {
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
}

.flat-single-product .product-thumbs-slider.thumbs-bottom .tf-product-media-thumbs .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

    .product-detail-tabs .tab-content {
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

    .product-detail-tabs .tab-descriptions,
    .product-detail-tabs .tab-policy {
        max-width: 900px;
        margin: 0 auto;
    }

.product-about-content {
    max-width: 850px;
    margin: 28px auto 0;
    color: #222;
    font-size: 16px;
    line-height: 1.85;
}

    .product-about-content .product-about-title {
        display: block;
        color: #111;
        font-size: 18px;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .product-about-content p {
        margin-bottom: 14px;
        color: #222;
        line-height: 1.85;
    }

    .product-about-content ul,
    .product-about-content ol {
        margin: 0 0 18px 20px;
        padding-left: 18px;
    }

    .product-about-content li {
        margin-bottom: 8px;
        color: #222;
        line-height: 1.75;
    }

    .product-about-content strong {
        color: #111;
        font-weight: 700;
    }

@media(max-width:767px) {
    .product-detail-tabs {
        max-width: 100%;
    }

    .product-about-content {
        font-size: 14px;
        line-height: 1.7;
    }
}

/* Desktop dropdown hover fix:
   Keep dropdowns flush with the header and support the JS-controlled open
   state while preserving the original theme hover animation and styling. */
@media (min-width: 1200px) {
    .main-menu .navigation > li.landing-pages-menu > .submenu,
    .main-menu .navigation > li.categories-menu > .submenu {
        top: calc(100% - 1px);
        z-index: 1200;
    }

    .navigation li.has-child.landing-pages-menu.is-open > .submenu,
    .navigation li.has-child.categories-menu.is-open > .submenu,
    .navigation li.has-child.categories-menu:hover > .submenu {
        transform: scale(1);
        pointer-events: all;
        opacity: 1;
        visibility: visible;
    }

    .main-menu .navigation > li.categories-menu > .mega-product > .tf-container {
        display: block;
    }

    .main-menu .navigation > li.categories-menu > .mega-product .wrap-nav-link {
        display: flex;
        flex: none;
        flex-wrap: nowrap;
        align-items: flex-start;
        gap: 48px;
        width: 100%;
    }

    .main-menu .navigation > li.categories-menu > .mega-product .col-nav-link {
        flex: 1 1 0;
        min-width: 0;
        white-space: normal;
    }

    .main-menu .navigation > li.categories-menu > .mega-product .mega-menu-item:not(:last-child) {
        margin-bottom: 34px;
    }

    .main-menu .navigation > li.categories-menu > .mega-product .sub-menu_link {
        line-height: 1.45;
    }

    .main-menu .navigation > li.categories-menu > .mega-product .menu-section_link {
/*        font-weight: 600;*/
        color: #4b4b4b;
    }

}
