/* Scoped to widget wrapper */
.wc-tabs-wrapper ul.tabs,
.woocommerce-tabs ul.tabs {
    border-bottom-width: 0;
    display: flex;
    flex-wrap: nowrap;
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0 !important;
}

.wc-tabs-wrapper ul.tabs:before,
.woocommerce-tabs ul.tabs:before {
    border-bottom-width: 0 !important;
}

.wc-tabs-wrapper ul.tabs li,
.woocommerce-tabs ul.tabs li {
    flex: 1;
    min-width: 0;
    text-align: center;
    text-transform: uppercase;
    border-radius: 0;
    border: 1px solid #ffffff;
    border-right: 1px solid #ffffff;
    margin: 0;
    background-color: #e9e6ed;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
    border: 1px solid #FFFFFF;
    padding: 15px 3px;
    align-content: center;
}
.woocommerce div.product .elementor-widget-nf_product_tabs .elementor-widget-container {
   margin-top: 0;
}


.wc-tabs-wrapper ul.tabs li:not(:last-child),
.woocommerce-tabs ul.tabs li:not(:last-child) {
    border-right: 1px solid #ffffff;
}

.wc-tabs-wrapper ul.tabs li:before,
.woocommerce-tabs ul.tabs li:before {
    display: none !important;
}

.wc-tabs-wrapper ul.tabs li:after,
.woocommerce-tabs ul.tabs li:after {
    display: none !important;
}

.wc-tabs-wrapper ul.tabs li.active,
.woocommerce-tabs ul.tabs li.active {
    background-color: #ffffff;
    border-top-color: #ffffff;
    border-left-color: #ffffff;
    border-right-color: #ffffff;
    border-bottom-color: #ffffff;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    border-top-color: #ffffff;
    border-left-color: #ffffff;
    border-right-color: #ffffff;
    border-bottom-color: #ffffff;
}

.wc-tabs-wrapper ul.tabs li.active a,
.woocommerce-tabs ul.tabs li.active a {
    color: #1fb25a !important;
}

.wc-tabs-wrapper ul.tabs li:not(.active) a,
.woocommerce-tabs ul.tabs li:not(.active) a {
    color: #666666;
}

.wc-tabs-wrapper ul.tabs li a,
.woocommerce-tabs ul.tabs li a {
    padding: 0.8em 0.4em !important;
    font-weight: 800 !important;
    width: 100%;
    display: block;
    text-decoration: none;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.wc-tabs-wrapper .panel,
.woocommerce-tabs .panel {
    border-top-width: 0;
    display: none;
}

.wc-tabs-wrapper .panel:first-child,
.woocommerce-tabs .panel:first-child {
    display: block;
}

.wc-tabs-wrapper .panel.active,
.woocommerce-tabs .panel.active {
    display: block;
}

/* Tablet breakpoint - reduce padding for better fit */
@media (max-width: 992px) {
    .wc-tabs-wrapper ul.tabs li a,
    .woocommerce-tabs ul.tabs li a {
        padding: 0.6em 0.3em !important;
        font-size: 11px;
    }
}

@media (max-width: 767px) {
    .wc-tabs-wrapper .panel,
    .woocommerce-tabs .panel {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .wc-tabs-wrapper ul.tabs li a,
    .woocommerce-tabs ul.tabs li a {
        font-size: 10px;
        padding: 0.5em 0.2em !important;
    }

    ol.commentlist {
        padding-left: 0 !important;
    }

    .comment-text {
        margin-left: 0 !important;
    }
}

.woocommerce-Tabs-panel {
    padding: 0.75rem !important;
}