/* ==========================================================================
   Single Product Page
   ========================================================================== */
body.single-product {

    .single-product-title h1:before,
    .slider-section-title:before,
    .product-highlights h2:before {
        content: "";
        position: absolute;
        background-color: #000;
        height: 3px;
        border-right: 33px solid #e30913;
        max-width: 150px;
        width: 100%;
        left: 0;
        right: 0;
        /* transform: translateX(-50%); */
        bottom: -10px;
        margin: auto;
        bottom: 16px;
    }

    .slider-section-title:before {
        height: 2px;
        bottom: 3px;
    }

    h2.product-details-title {
        font-weight: 400;
        font-size: 28px;
    }

    h2.product-details-title:before {
        height: 3px;
        bottom: -4px;
    }

    .product-highlights h2:before {
        bottom: 8px
    }

    .product-highlights ul {
        list-style-type: "›";
    }

    .product-highlights ul li {
        padding-left: 5px;
    }

    .product-highlights ul li::marker {
        color: #e30913;
        font-size: 20px;
    }

    .product-content-wrapper p {
        font-weight: 400;
    }

    /* Slider Custom Styling */
    .slider.common-content img {
        width: 100%;
        height: 260px;
        object-fit: contain;
    }

    .slider.common-content .slick-slide {
        height: 340px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .slider {
        background: transparent !important;
        margin-bottom: 0;
        margin-top: 0;

        display: inline;
    }

    .slider.common-thumb {
        margin-top: 0;
        padding-top: 0;
    }

    .common-thumb .slick-slide {
        height: 80px;
        line-height: 50px;
        font-size: 25px;
        width: auto !important;
        cursor: pointer;
        margin-right: 10px;
        opacity: 0.6;
        transition: 0.3s;
    }

    .common-thumb .slick-slide:hover,
    .common-thumb .slick-slide.slick-current {
        opacity: 1;
        border: none;
    }

    .common-thumb img {
        width: 100px;
        height: 80px;
        object-fit: cover;
    }

    .slider .slick-arrow {
        position: absolute;
        top: 50%;
        z-index: 10;
        cursor: pointer;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        width: 30px;
        height: 40px;
        padding: 0;
    }

    .slider .slick-prev {
        left: 0px;
    }

    .slider .slick-next {
        right: 0px;
    }

    .slider .slick-prev:before,
    .slider .slick-next:before {
        content: "";
        display: block;
        width: 0;
        height: 0;
        border-style: solid;
    }

    .slider .slick-prev:before {
        border-width: 12px 18px 12px 0;
        border-color: transparent #e30913 transparent transparent;
    }

    .slider .slick-next:before {
        border-width: 12px 0 12px 18px;
        border-color: transparent transparent transparent #e30913;
    }

    .slider-section-title {
        font-size: 16px;
        font-weight: 700;
        color: #333;
        text-transform: uppercase;
        position: relative;
        padding-bottom: 6px;
        margin-bottom: 15px;
        display: inline-block;
    }

    .single-product-title h1 {
        font-size: 38px;
        font-weight: 700;
        color: #333;
        margin-bottom: 20px;
    }



    .product-highlights h2 {

        font-size: 28px;
        font-weight: 400;

        padding-bottom: 10px;
        margin-bottom: 20px;
    }

    .cta-button-rfq {
        background-color: #e30913 !important;
        color: #fff !important;
        font-size: 20px;
        font-weight: 400;
        padding: 15px 30px;
        border-radius: 0px;
        display: inline-block;
        text-transform: uppercase;
        text-align: center;
        width: 275px;
        transition: background 0.3s ease;
        margin-top: 20px;
    }

    .cta-button-rfq:hover {
        background-color: #b0050e;
        text-decoration: none;
    }

    .specifications-table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 20px;
    }

    .specifications-table th,
    .specifications-table td {
        padding: 15px;
        border: 1px solid #ddd;
    }

    .specifications-table th {
        background-color: #f7f7f7;
        text-align: left;
        font-weight: 600;
        width: 30%;
    }

    /* Specs Header: black bar, left-aligned */
    .dark_blk.heading-block {
        background-color: #000;
        padding: 15px 20px;
        margin-bottom: 0;
    }

    .heading-block h2::before {
        display: none;
    }

    .dark_blk h2 {
        display: block;
        text-align: left;
        color: #fff;
        margin: 0;
        font-size: 24px;
        font-weight: 700;
        text-transform: uppercase;
    }

    .dark_blk h2 span {
        color: #e30913;
    }

    /* Specs Tabs: red buttons, right-aligned */
    #additional-info-tab .nav-tabs {
        border-bottom: none !important;
        justify-content: flex-start !important;
        padding: 15px 0;
        gap: 8px;
    }

    #additional-info-tab .nav-tabs .nav-link {
        background-color: #262626 !important;
        color: #fff !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        padding: 10px 25px !important;
        border: none !important;
        border-radius: 0 !important;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        transition: background-color 0.3s ease;
    }

    #additional-info-tab .nav-tabs .nav-link:hover {
        background-color: #ffffff !important;
        color: #262626 !important;
        border: 1px solid #262626 !important;
    }

    #additional-info-tab .nav-tabs .nav-link.active {
        background-color: transparent !important;
        color: #262626 !important;
        border: 1px solid #262626 !important;
    }

    /* WooCommerce FlexSlider: match ACF slider arrows */
    .woocommerce div.product div.images,
    .woocommerce div.product div.images .woocommerce-product-gallery {
        width: 100% !important;
        max-width: 100% !important;
        float: none !important;
    }

    .woocommerce div.product div.images .flex-control-thumbs {
        margin-top: 15px;
    }

    .woocommerce div.product div.images .flex-control-thumbs li {
        opacity: 0.6;
        transition: 0.3s;
    }

    .woocommerce div.product div.images .flex-control-thumbs li:hover,
    .woocommerce div.product div.images .flex-control-thumbs li img.flex-active {
        opacity: 1;
    }

    .woocommerce div.product div.images .flex-direction-nav {
        display: block !important;
    }

    .woocommerce div.product div.images .flex-direction-nav a {
        background: transparent !important;
        border: none;
        width: 30px;
        height: 40px;
        text-indent: -9999px;
        opacity: 1 !important;
        display: block !important;
    }

    .woocommerce div.product div.images .flex-direction-nav a:before {
        content: "" !important;
        display: block;
        width: 0;
        height: 0;
        border-style: solid;
        text-indent: 0;
    }

    .woocommerce div.product div.images .flex-direction-nav a.flex-prev {
        left: 0 !important;
    }

    .woocommerce div.product div.images .flex-direction-nav a.flex-next {
        right: 0 !important;
    }

    .woocommerce div.product div.images .flex-direction-nav a.flex-prev:before {
        border-width: 12px 18px 12px 0;
        border-color: transparent #e30913 transparent transparent;
    }

    .woocommerce div.product div.images .flex-direction-nav a.flex-next:before {
        border-width: 12px 0 12px 18px;
        border-color: transparent transparent transparent #e30913;
    }
}


/* ==========================================================================
   Product Certifications
   ========================================================================== */

.product-certifications {
    margin-top: 30px;
}

.certifications-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
    margin-bottom: 8px;
}

.certifications-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.certifications-logos img {
    max-width: 50px;
    height: auto;
    object-fit: contain;
}

.certifications-logos .cert-text-badge {
    display: inline-block;
    padding: 6px 12px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: #555;
}

/* ==========================================================================
   Product Variations
   ========================================================================== */

.variations_form .label {
    display: none !important;
}

.variations_form table {
    margin-bottom: 0 !important;
}

.product-purchase-actions .variations_form {
    flex: 1;
}

.quote-quantity-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 21px;
}

.qty-btn {
    width: 20px;
    height: 48px;
    border: 1px solid #ddd;
    background: #f5f5f5;
    color: #333;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    padding: 0;
    line-height: 1;
}

.qty-btn:hover {
    background: #e30913;
    color: #fff;
    border-color: #e30913;
}

.qty-minus {
    border-right: none;
}

.qty-plus {
    border-left: none;
}

.quote-quantity-input {
    width: 45px;
    height: 48px;
    border: 1px solid #ddd;
    padding: 0;
    font-size: 14px;
    color: #333;
    text-align: center;
    appearance: textfield;
    -moz-appearance: textfield;
}

.quote-quantity-input::-webkit-outer-spin-button,
.quote-quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quote-quantity-input:focus {
    border-color: #e30913;
    outline: none;
}

.product-purchase-actions .variations-qty-row {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.yith-ywraq-add-button {
    text-align: center;
}

.woocommerce .add-request-quote-button.button {
    border: 1px #c00710 solid !important;
}

.woocommerce .add-request-quote-button.button:hover {
    border: 1px #c00710 solid !important;
}

}