/**
 * Custom Global Styles
 * Farley Laserlab
 */


/* ==========================================================
   Green Square Title
   ========================================================== */

.ux-text-title--green-square::before {
    background-color: #f50305;
    content: "";
    display: inline-block;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    height: 15px;
    line-height: 1.25;
    margin-right: 6px;
    margin-top: 5px;
    vertical-align: top;
    width: 15px;
    border-radius: 99px;
}


/* ==========================================================
   Table
   ========================================================== */

.thtdbase,
table th,
table td {
    padding: 0.4em;
}


/* ==========================================================
   Header Search – Red Energy Style
   ========================================================== */

.header-search-form {
    max-width: 340px;
}

.header-search-form .searchform-wrapper {
    background: linear-gradient(135deg, #fff1f1, #ffffff);
    border-radius: 3px;
    padding: 0;
    border: 1px solid rgba(245, 3, 5, 0.25);
    transition: all 0.35s ease;
}

.header-search-form .searchform-wrapper:focus-within {
    background: #ffffff;
    border-color: #f50305;
    box-shadow:
        0 0 0 4px rgba(245, 3, 5, 0.18),
        0 10px 28px rgba(0, 0, 0, 0.12);
}

.header-search-form input.search-field {
    border: none;
    background: transparent;
    padding: 11px 16px;
    font-size: 14px;
    color: #3a2b2b;
    box-shadow: none;
}

.header-search-form input.search-field::placeholder {
    color: #c48a8a;
}

.header-search-form .ux-search-submit {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 9%;
    background: linear-gradient(135deg, #f50305, #c40203);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.header-search-form .ux-search-submit i {
    color: #ffffff;
    font-size: 16px;
}

.header-search-form .ux-search-submit:hover {
    background: linear-gradient(135deg, #c40203, #9e0202);
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(245, 3, 5, 0.45);
}

.header-search-form .button {
    box-shadow: none !important;
}

.header-search-form .live-search-results {
    margin-top: 10px;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.15);
}


/* ==========================================================
   Home Page Banner
   ========================================================== */

.bg-modulo-section-one .section-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(35, 31, 32, 0.9) 0%,
        rgba(35, 31, 32, 0.6) 40%,
        rgba(35, 31, 32, 0.25) 70%,
        rgba(35, 31, 32, 0) 100%
    );
    pointer-events: none;
}


/* ==========================================================
   Single Product Page Style
   ========================================================== */

.single-product .shop-container .nav .tab a.custom-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    z-index: 2;
    text-decoration: none;
    color: transparent;
}

.single-product .shop-container #tab-description .banner.has-hover {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
}

.single-product .shop-container #tab-description .banner-layers.container {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 15px;
}

.single-product .shop-container .section {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
}

.single-product .shop-container .section .section-content {
    max-width: 1700px;
    margin: 0 auto;
    padding: 0 15px;
}

.single-product .product-main {
    display: none;
}

.single-product .woocommerce-tabs {
    padding-top: 0;
}

.single-product .tab-panels {
    padding-top: 0;
}

.single-product .product-container {
    margin-top: -1px;
}

.single-product .single_product_page_section_cus {
    width: 90vw !important;
    left: 57% !important;
}

.single-product .related-products-wrapper .product-title a {
    font-size: 19px;
    margin-bottom: 12px;
}

.single-product .related-products-wrapper .box-excerpt {
    font-size: 15px;
}

.product-footer .woocommerce-tabs {
    padding: 0;
}


/* ==========================================================
   Home Page Section One
   ========================================================== */

.homepage_whychooseus_bg .custom_image_box_style {
    position: relative;
}

.homepage_whychooseus_bg .custom_image_box_style .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(245, 3, 5, 0.8) 0%,
        rgba(245, 3, 5, 0.4) 20%,
        rgba(245, 3, 5, 0) 33%,
        rgba(245, 3, 5, 0) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.homepage_whychooseus_bg .custom_image_box_style .box-text {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 2;
    color: #fff;
    text-align: center;
    padding: 10px;
    pointer-events: none;
}

.homepage_whychooseus_bg .custom_image_box_style .box-text h3 {
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}


/* ==========================================================
   Custom Button
   ========================================================== */

.custom_button_sytle_outline {
    border: 3px solid #fff;
    background-color: #cb4730;
}


/* ==========================================================
   Footer Form
   ========================================================== */

footer input[type="text"],
footer input[type="email"] {
    background-color: transparent;
    border: none;
    border-radius: 8px;
    padding: 12px 15px;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
    margin-bottom: 10px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    color: #fff;
}

footer input[type="text"]:focus,
footer input[type="email"]:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(245, 3, 5, 0.4);
}

footer input[type="submit"] {
    width: 100%;
    background-color: #f50305;
    color: #fff;
    border: none;
    border-radius: 3px;
    padding: 4px 0;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: -3em;
    text-transform: capitalize;
}

footer input[type="submit"]:hover {
    background-color: #c10202;
}


/* ==========================================================
   Solution Menu
   ========================================================== */

.solution_menu_section .col-inner:hover p {
    color: #db0304;
}


/* ==========================================================
   Product Category Page Style
   ========================================================== */

@media screen and (min-width: 849px) {

    .archive .category-page-row {
        border-top: 0 solid #ececec !important;
    }

    .archive .category-page-row .box {
        background-color: #f6f7f9 !important;
        padding: 20px 20px 10px 20px;
        border-radius: 5px;
    }

    .archive .category-page-row .product-title {
        font-size: 1.3em;
    }

    .archive .category-page-row .box-excerpt {
        color: #999;
        font-size: 1em;
    }

    .archive .category-page-row .box-text {
        border-top: 1px solid #e4e4e4;
    }

    .archive .category-page-row .button.is-underline {
        background-color: #0072e4 !important;
        border-color: #0072e4 !important;
        padding-left: 1.15em;
        padding-right: 1.15em;
        color: #fff !important;
        border-radius: 99px;
    }

    .archive .category-page-row .button.is-underline::before {
        background-color: transparent;
    }

    .archive .category-page-row .page-title-inner {
        font-size: 21px;
    }

}


/* Product Category Short Description - 3 Lines */

.archive .box-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.archive .button {
    border-radius: 3px;
    font-size: 1.1em;
}


/* ==========================================================
   Single Product Background
   ========================================================== */

.single_product_page_bg {
    background: linear-gradient(to right, #1bb2de, #0d74b7);
}


/* ==========================================================
   Nav
   ========================================================== */

.nav p {
    margin-top: 2px !important;
    margin-bottom: 1.3em !important;
}


/* ==========================================================
   Product Category Top Custom Block
   ========================================================== */

.tax-product_cat .shop-top-custom-block {
    display: none;
}


/* ==========================================================
   Solution Page Loop
   ========================================================== */

.custom_hover_loop .img-inner img {
    transition: transform 0.6s ease;
    transform-origin: center;
}

.custom_hover_loop:hover .img-inner img {
    transform: rotate(180deg);
}

.custom_hover_loop .is-divider.divider.clearfix {
    position: relative;
    overflow: hidden;
}

.custom_hover_loop .is-divider.divider.clearfix::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #000;
    transition: left 0.5s ease;
    z-index: 1;
}

.custom_hover_loop:hover .is-divider.divider.clearfix::before {
    left: 0;
}


/* ==========================================================
   Sticky Header
   ========================================================== */

.stuck .header-main .nav > li > a {
    line-height: 22.9px;
}


/* ==========================================================
   Custom Button Section
   ========================================================== */

.custom_button-section .button {
    margin-bottom: 0;
    width: 99.72% !important;
}


/* ==========================================================
   Product Excerpt Strong
   ========================================================== */

.product-small .box-excerpt strong {
    font-weight: normal !important;
}


/* ==========================================================
   Related Products
   ========================================================== */

.related-products-wrapper .box-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.related-products-wrapper .add-to-cart-button {
    display: none;
}

.related-products-wrapper .uppercase {
    text-transform: capitalize;
    font-size: 32px;
    text-align: center;
}

.related-products-wrapper .box {
    border: 1px solid #e4e4e4;
    padding: 20px;
}

.related-products-wrapper .box-text {
    text-align: center;
}

.related-products-wrapper .product-title a {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis;
}


/* ==========================================================
   Product Card Title / Excerpt
   ========================================================== */

.product-small .product-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4em;
    min-height: 2.8em;
}

.product-small .box-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.6em;
    min-height: 4.8em;
}


/* ==========================================================
   Product Cards - Desktop
   ========================================================== */

@media screen and (min-width: 849px) {

    .product-small.box {
        background: #f6f7f9 !important;
        border-radius: 5px;
        padding: 20px 20px 10px;
        height: 100%;
        transition: all 0.3s ease;
    }

    .product-small .box-image,
    .product-small .image-cover {
        border-radius: 5px;
        overflow: hidden;
    }

    .product-small .box-text {
        padding-top: 15px;
    }

    .product-small .product-title a {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.4em;
        min-height: 2.8em;
    }

    .product-small .box-excerpt {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.6em;
        min-height: 4.8em;
    }

    .product-small.box:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    }

}


/* ==========================================================
   Home Page H1 Style
   ========================================================== */

.custom_h1_style h1 {
    position: relative;
    display: inline-block;
    color: #fff;

    font-size: clamp(32px, 4vw, 68px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 2px;
    text-transform: uppercase;

    text-shadow:
        0 0 5px rgba(203, 71, 48, 0.6),
        0 0 15px rgba(203, 71, 48, 0.8),
        0 0 30px rgba(203, 71, 48, 0.6);

    animation: h1Glow 3s ease-in-out infinite;
}


/* Laser Scan */

.custom_h1_style h1::after {
    content: "";
    position: absolute;
    top: -10%;
    left: -120%;
    width: 45%;
    height: 120%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.95),
        rgba(255, 180, 150, 0.9),
        transparent
    );

    transform: skewX(-20deg);
    animation: laserScan 4s linear infinite;
}


/* ==========================================================
   Animations
   ========================================================== */

@keyframes laserScan {

    0% {
        left: -120%;
    }

    100% {
        left: 150%;
    }

}

@keyframes h1Glow {

    0%,
    100% {
        text-shadow:
            0 0 5px rgba(203, 71, 48, 0.6),
            0 0 15px rgba(203, 71, 48, 0.8),
            0 0 30px rgba(203, 71, 48, 0.6);
    }

    50% {
        text-shadow:
            0 0 10px rgba(203, 71, 48, 0.8),
            0 0 25px rgba(203, 71, 48, 1),
            0 0 50px rgba(203, 71, 48, 0.8);
    }

}


/* ==========================================================
   Mobile
   ========================================================== */

@media (max-width: 849px) {

    .custom_h1_style h1 {
        font-size: 28px !important;
        line-height: 1.2;
        letter-spacing: 1px;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .custom_h1_style h1::after {
        width: 25%;
    }

}