/* Uniqom frontend styles */

.single-product #primary div.product .summary .specialist .question {
	font-weight: 700;
	color: #080b13 !important;
}

.single-product #primary div.product .summary .specialist .right {
    margin-left: 0px;
    margin-right: 0px;
}

table.woocommerce-product-attributes shop_attributes a {
    text-decoration: underline;
    color: #080b13 !important;
}

@media(max-width: 600px) {
    .site-header .container .top-left {
        width: 50% !important;
        display: inline-block !important;
        position: relative;
    }

    #masthead.site-header {
        padding-top: 7px;
        padding-bottom: 14px;
    }

    #masthead .container .top-left .logo {
        width: 100% !important;
    }

    .site-header .container .top-left .site-branding {
        margin-right: 0px !important;
    }

    body .site-header .container .top-left .site-branding {
        max-width: 100% !important;
    }

    .site-header .container .menu-wrapper {
        width: 50% !important;
        float: right;
        display: inline-block;
    }

    #masthead .container .top-left .call-wrapper {
        display: none !important;
    }

    .single-product .woocommerce-breadcrumb {
        font-size: 0;
    }

    .single-product .woocommerce-breadcrumb::before {
        content: "Wróć do kategorii: ";
        font-size: 14px;
    }

    .single-product .woocommerce-breadcrumb a {
        display: none;
    }

    .single-product .woocommerce-breadcrumb a:last-of-type {
        display: inline;
        font-size: 14px;
    }

    .single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
        display: none;
    }

    .single-product div.product .woocommerce-product-gallery .flex-viewport {
        width: 100% !important;
    }

    ul.flex-direction-nav {
        width: 100% !important;
    }

    .single-product #primary div.product.product-type-variable p.price {
        display: none;
    }

    .single-product #primary div.product .summary .price {
        margin: 0 0 10px 0 !important;
    }

    a.reset_variations {
        display: none !important;
    }

    .up-sells.upsells.products {
        padding: 15px;
    }

    .stock.in-stock {
        margin-bottom: 10px;
    }

    .single-product #primary div.product.product-type-variable .extra-price-text {
        margin-bottom: 10px;
        display: block;
        line-height: 14px;
    }

    .single-product #primary div.product.product-type-variable .summary div.woocommerce-variation-add-to-cart {
        padding-top: 10px !important;
        padding-bottom: 10px;
    }

    .single-product .product .summary.entry-summary .woocommerce-product-details__short-description blockquote {
        padding: 0em;
        border: none;
        margin: 7px 0;
    }

    .single-product div.product form.cart {
        margin-bottom: 7px !important;
        padding: 1em 0 0 0 !important;
    }

    body.single-product #main {
        padding: 0px;
    }

    body.single-product .woocommerce-tabs ul.tabs.wc-tabs {
        display: none !important;
    }

    .single-product .woocommerce-tabs .uniqom-tabs-dropdown {
        margin: 0 12px 16px 12px;
    }

    .single-product .woocommerce-tabs .uniqom-tabs-select {
        width: 100%;
        font: inherit;
        padding: 10px 12px;
        box-sizing: border-box;
    }

    .single-product .woocommerce-tabs .uniqom-table-scroll,
    .single-product .woocommerce-Tabs-panel .uniqom-table-scroll {
        position: relative;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        margin: 0 0 4px 0;
    }

    .single-product .woocommerce-tabs .uniqom-table-scroll::before,
    .single-product .woocommerce-tabs .uniqom-table-scroll::after,
    .single-product .woocommerce-Tabs-panel .uniqom-table-scroll::before,
    .single-product .woocommerce-Tabs-panel .uniqom-table-scroll::after {
        content: "";
        position: sticky;
        top: 0;
        bottom: 0;
        width: 22px;
        pointer-events: none;
        z-index: 2;
        opacity: 0;
        transition: opacity 0.2s ease;
        display: block;
    }

    .single-product .woocommerce-tabs .uniqom-table-scroll::before,
    .single-product .woocommerce-Tabs-panel .uniqom-table-scroll::before {
        left: 0;
        float: left;
        background: linear-gradient(to right, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
    }

    .single-product .woocommerce-tabs .uniqom-table-scroll::after,
    .single-product .woocommerce-Tabs-panel .uniqom-table-scroll::after {
        right: 0;
        float: right;
        background: linear-gradient(to left, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0));
    }

    .single-product .woocommerce-tabs .uniqom-table-scroll.is-scrolled::before,
    .single-product .woocommerce-Tabs-panel .uniqom-table-scroll.is-scrolled::before {
        opacity: 1;
    }

    .single-product .woocommerce-tabs .uniqom-table-scroll.can-scroll-right::after,
    .single-product .woocommerce-Tabs-panel .uniqom-table-scroll.can-scroll-right::after {
        opacity: 1;
    }

    .single-product .woocommerce-tabs .uniqom-table-scroll table,
    .single-product .woocommerce-Tabs-panel .uniqom-table-scroll table {
        min-width: max-content;
    }

    .single-product .woocommerce-tabs .uniqom-table-scroll .uniqom-table-scroll-hand,
    .single-product .woocommerce-Tabs-panel .uniqom-table-scroll .uniqom-table-scroll-hand {
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 3;
        font-size: 20px;
        line-height: 1;
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .single-product .woocommerce-tabs .uniqom-table-scroll .uniqom-table-scroll-hand::after,
    .single-product .woocommerce-Tabs-panel .uniqom-table-scroll .uniqom-table-scroll-hand::after {
        content: "przewijaj tabelę lewo/prawo";
        position: absolute;
        top: 30px;
        left: 50%;
        transform: translateX(-50%);
        font-size: 12px;
        white-space: nowrap;
        color: #666;
        font-weight: normal;
    }

    .single-product .woocommerce-tabs .uniqom-table-scroll .uniqom-table-scroll-hand.is-visible,
    .single-product .woocommerce-Tabs-panel .uniqom-table-scroll .uniqom-table-scroll-hand.is-visible {
        opacity: 0.95;
    }

}

