/* LG CSS Library v0.5.6 */

/* Menu */
/* ==========================================
   JJ SECURITY SOLUTIONS
   FLATSOME NAVIGATION & DROPDOWNS
   Version 1.4
   ========================================== */


/* ==========================================
   1. MAIN MENU UPPERCASE
   ========================================== */

.header-nav > li > a {
    text-transform: uppercase !important;
    transition: color 0.3s ease;
}


/* ==========================================
   2. MENU BOUNCE ANIMATION
   NORMAL MENU ITEMS ONLY
   ========================================== */

/*
   Excludes:
   - Account icon
   - Cart icon
   - Search icon
   - Custom header icon controls

   This prevents menu animation from
   overriding plugin icon positioning.
*/

.header-nav > li:not(.account-item)
:not(.cart-item)
:not(.header-search)
:not(.header-account)
:not(.header-cart)
:not(.header-button)
:not(.lg-header-account)
:not(.lg-header-cart)
:not(.lg-header-search)
:hover > a:not(.account-link)
:not(.cart-contents)
:not(.header-cart-link)
:not(.header-account-link) {

    animation: jjsMenuBounce 0.45s ease;

}

@keyframes jjsMenuBounce {

    0% {
        transform: translateY(0);
    }

    35% {
        transform: translateY(-5px);
    }

    65% {
        transform: translateY(2px);
    }

    100% {
        transform: translateY(0);
    }

}


/* ==========================================
   3. PROTECT HEADER ACTION ICONS
   ========================================== */

/*
   Disable navigation bounce on Account,
   Cart and Search without changing their
   existing X/Y position settings.
*/

.header-nav > li.account-item > a,
.header-nav > li.cart-item > a,
.header-nav > li.header-search > a,
.header-nav > li.header-account > a,
.header-nav > li.header-cart > a,
.header-nav > li.lg-header-account > a,
.header-nav > li.lg-header-cart > a,
.header-nav > li.lg-header-search > a,
.header-nav > li > a.account-link,
.header-nav > li > a.cart-contents,
.header-nav > li > a.header-account-link,
.header-nav > li > a.header-cart-link {

    animation: none !important;

}


/* ==========================================
   4. REMOVE MAIN MENU UNDERLINES
   ========================================== */

.header-nav > li > a::before,
.header-nav > li > a::after {
    display: none !important;
}

.header-nav.nav-line > li > a::before,
.header-nav.nav-line-grow > li > a::before,
.header-nav.nav-line-bottom > li > a::before {
    display: none !important;
}


/* ==========================================
   5. NORMAL FLATSOME DROPDOWNS
   ========================================== */

/*
   All standard navigation dropdowns
   retain their normal Flatsome layout.

   Excludes the KwêBeams Products menu.
*/

.header-nav > li:not(.kwebeams-menu)
> .nav-dropdown {

    display: block;

    min-width: 220px;

    background: #ffffff !important;

    border-radius: 8px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.12);

}


/* Standard dropdown items */

.header-nav > li:not(.kwebeams-menu)
> .nav-dropdown > li {

    display: block;

    width: 100%;

    margin: 0;

    background: transparent;

}


/* Standard dropdown links */

.header-nav > li:not(.kwebeams-menu)
> .nav-dropdown > li > a {

    display: block;

    min-height: 0;

    padding: 10px 15px;

    background: transparent !important;

    border-left: none !important;

    border-radius: 0;

    box-shadow: none !important;

    transform: none !important;

    transition:
        background 0.2s ease,
        color 0.2s ease;

}


/* Standard dropdown hover */

.header-nav > li:not(.kwebeams-menu)
> .nav-dropdown > li > a:hover {

    background: #f7f8fa !important;

    transform: none !important;

    box-shadow: none !important;

}


/* ==========================================
   6. KWEBEAMS PRODUCTS DROPDOWN
   ========================================== */

/*
   Floating two-column card layout
   applies ONLY to KwêBeams Products.
*/

.header-nav > li.kwebeams-menu
> .nav-dropdown.nav-dropdown-simple {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;

    min-width: 420px;

    padding: 10px 0;

    background: transparent !important;

    border: none !important;

    border-radius: 0 !important;

    box-shadow: none !important;

}


/* ==========================================
   7. KWEBEAMS DROPDOWN DECORATIONS
   ========================================== */

.header-nav > li.kwebeams-menu
> .nav-dropdown.nav-dropdown-simple::before,

.header-nav > li.kwebeams-menu
> .nav-dropdown.nav-dropdown-simple::after {

    display: none !important;

}


/* ==========================================
   8. KWEBEAMS DROPDOWN ITEMS
   ========================================== */

.header-nav > li.kwebeams-menu
> .nav-dropdown.nav-dropdown-simple
> li {

    width: 100%;

    margin: 0;

    padding: 0;

    border: none !important;

    background: transparent !important;

}


/* ==========================================
   9. KWEBEAMS FLOATING CARDS
   ========================================== */

.header-nav > li.kwebeams-menu
> .nav-dropdown.nav-dropdown-simple
> li > a {

    display: flex;

    align-items: center;

    min-height: 65px;

    padding: 15px 18px;

    background: #ffffff !important;

    color: #333333;

    border: none !important;

    border-left: 4px solid #045902 !important;

    border-radius: 10px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.12);

    text-transform: none;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;

}


/* ==========================================
   10. KWEBEAMS FLOATING CARD HOVER
   ========================================== */

.header-nav > li.kwebeams-menu
> .nav-dropdown.nav-dropdown-simple
> li > a:hover {

    background: #f7f8fa !important;

    color: #045902;

    transform: translateY(-4px);

    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.16);

}


/* ==========================================
   11. CART AND ACCOUNT DROPDOWNS
   ========================================== */

/*
   Restore normal white backgrounds.
   No floating card effects.
*/

.header-nav .cart-item > .nav-dropdown,
.header-nav .account-item > .nav-dropdown,
.header-nav .header-search > .nav-dropdown,
.header-nav .widget_shopping_cart {

    display: block;

    background: #ffffff !important;

    color: #333333 !important;

    border-radius: 8px;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.12);

}


/* ==========================================
   12. CHECKOUT FORM FIELDS
   ========================================== */

/*
   Normal WooCommerce checkout styling.
   No navigation dropdown effects.
*/

.woocommerce-checkout select,
.woocommerce-checkout .input-text,
.woocommerce-checkout .select2-selection,
.woocommerce-checkout
.select2-container--default
.select2-selection--single {

    background-color: #ffffff !important;

    color: #333333 !important;

    opacity: 1 !important;

    box-shadow: none;

    transform: none;

}


/* ==========================================
   13. SELECT2 DROPDOWN CONTAINER
   ========================================== */

/*
   WooCommerce uses Select2 for:
   Country, Province and other fields.
*/

.select2-container--open
.select2-dropdown {

    background: #ffffff !important;

    color: #333333 !important;

    border: 1px solid #dddddd !important;

    border-radius: 4px;

    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.08);

    z-index: 999999;

}


/* ==========================================
   14. SELECT2 DROPDOWN OPTIONS
   ========================================== */

.select2-container--default
.select2-results__option {

    background: #ffffff;

    color: #333333;

    border-radius: 0;

    box-shadow: none;

    transform: none;

}


/* ==========================================
   15. SELECT2 HOVER
   ========================================== */

.select2-container--default
.select2-results__option--highlighted[aria-selected] {

    background: #045902 !important;

    color: #ffffff !important;

    transform: none !important;

    box-shadow: none !important;

}


/* ==========================================
   16. SELECT2 SELECTED OPTION
   ========================================== */

.select2-container--default
.select2-results__option[aria-selected="true"] {

    background: #f1f1f1;

    color: #333333;

}


/* ==========================================
   17. SELECT2 SEARCH FIELD
   ========================================== */

.select2-container--default
.select2-search--dropdown
.select2-search__field {

    background: #ffffff !important;

    color: #333333 !important;

    border: 1px solid #dddddd;

    border-radius: 4px;

    box-shadow: none;

}


/* ==========================================
   18. GENERAL WOOCOMMERCE SELECT FIELDS
   ========================================== */

.woocommerce form select,
.woocommerce-page form select,
.woocommerce-shipping-calculator select {

    background-color: #ffffff !important;

    color: #333333 !important;

    box-shadow: none;

    transform: none;

}


/* ==========================================
   19. KWEBEAMS MOBILE DROPDOWN
   ========================================== */

@media (max-width: 849px) {

    .header-nav > li.kwebeams-menu
    > .nav-dropdown.nav-dropdown-simple {

        grid-template-columns: 1fr;

        min-width: 260px;

        gap: 8px;

    }

    .header-nav > li.kwebeams-menu
    > .nav-dropdown.nav-dropdown-simple
    > li > a {

        min-height: 50px;

        padding: 12px 15px;

    }

}


/* ==========================================
   20. MOBILE CHECKOUT
   ========================================== */

@media (max-width: 549px) {

    .woocommerce-checkout select,
    .woocommerce-checkout .select2-selection {

        background-color: #ffffff !important;

        color: #333333 !important;

    }

    .select2-container--open
    .select2-dropdown {

        background: #ffffff !important;

        color: #333333 !important;

    }

}

/* Home */
/* =========================================
   JJ'S SECURITY SOLUTIONS
   HOMEPAGE CSS
   ========================================= */

/* GENERAL SECTION STYLING */

.jjs-home-intro,
.jjs-home-kwebeams,
.jjs-home-benefits,
.jjs-home-products,
.jjs-home-contact {
    position: relative;
}

/* INTRODUCTION */

.jjs-home-intro .col-inner {
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.jjs-home-intro p {
    line-height: 1.8;
}

/* KWEBEAMS IMAGE */

.jjs-home-kwebeams .img {
    overflow: hidden;
    border-radius: 16px;
}

.jjs-home-kwebeams .img img {
    border-radius: 16px;
    transition: transform 0.5s ease;
}

.jjs-home-kwebeams .img:hover img {
    transform: scale(1.035);
}

/* BENEFIT CARDS */

.jjs-home-benefits .jjs-benefit-card .col-inner {
    height: 100%;
    padding: 30px 22px;
    border-radius: 16px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.jjs-home-benefits .jjs-benefit-card:hover .col-inner {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}

.jjs-home-benefits .featured-box {
    height: 100%;
}

.jjs-home-benefits .featured-box .icon-box-text {
    text-align: center;
}

/* SECURITY CTA */

.jjs-home-security-cta {
    position: relative;
}

.jjs-home-security-cta .col-inner {
    max-width: 850px;
    margin: auto;
}

.jjs-home-security-cta p {
    line-height: 1.8;
}

/* FEATURED PRODUCTS */

.jjs-home-products .product-small .box {
    overflow: hidden;
    border-radius: 14px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.jjs-home-products .product-small:hover .box {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
}

.jjs-home-products .product-small .box-image {
    overflow: hidden;
}

.jjs-home-products .product-small .box-image img {
    transition: transform 0.4s ease;
}

.jjs-home-products .product-small:hover .box-image img {
    transform: scale(1.04);
}

/* CONTACT FORM */

.jjs-home-contact .jjs-contact-form .col-inner {
    background: #ffffff;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
}

.jjs-home-contact input,
.jjs-home-contact textarea,
.jjs-home-contact select {
    border-radius: 8px;
}

/* BUTTONS */

.jjs-home-intro .button,
.jjs-home-kwebeams .button,
.jjs-home-benefits .button,
.jjs-home-security-cta .button,
.jjs-home-products .button,
.jjs-home-contact .button {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.jjs-home-intro .button:hover,
.jjs-home-kwebeams .button:hover,
.jjs-home-benefits .button:hover,
.jjs-home-security-cta .button:hover,
.jjs-home-products .button:hover,
.jjs-home-contact .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

/* MOBILE */

@media (max-width: 849px) {

    .jjs-home-benefits .jjs-benefit-card .col-inner {
        padding: 25px 18px;
    }

    .jjs-home-contact .jjs-contact-form .col-inner {
        padding: 25px 20px;
    }

}

@media (max-width: 549px) {

    .jjs-home-benefits .jjs-benefit-card .col-inner {
        padding: 25px 20px;
    }

    .jjs-home-contact .jjs-contact-form .col-inner {
        padding: 22px 18px;
    }

    .jjs-home-intro .button,
    .jjs-home-kwebeams .button,
    .jjs-home-security-cta .button,
    .jjs-home-products .button {
        margin-bottom: 10px;
    }

}
/* Banner Gradient Overlay - Left to Right */

.jjs-gradient-banner {
    position: relative;
}

.jjs-gradient-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(4, 89, 2, 0.5) 0%,
        rgba(4, 89, 2, 0) 50%,
        transparent 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* Keep banner text and buttons above gradient */
.jjs-gradient-banner .banner-layers {
    z-index: 3;
}

/* Footer */
/* JJ SECURITY FOOTER */

.jjs-footer {
    position: relative;
}

/* Footer headings */
.jjs-footer h3 {
    margin-bottom: 24px;
    padding-bottom: 14px;
    position: relative;
}

/* Green heading accent */
.jjs-footer h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 38px;
    height: 3px;
    background: var(--fs-color-success, #045902);
    border-radius: 5px;
}

/* Footer paragraphs */
.jjs-footer p {
    line-height: 1.7;
    margin-bottom: 12px;
}

/* Footer links */
.jjs-footer a:not(.button) {
    text-decoration: none;
    transition:
        color 0.25s ease,
        padding-left 0.25s ease;
}

/* Subtle hover movement */
.jjs-footer a:not(.button):hover {
    padding-left: 5px;
    color: var(--fs-color-success, #045902);
}

/* Buttons */
.jjs-footer .button {
    border-radius: 8px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.jjs-footer .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* Copyright */
.jjs-footer-bottom p {
    margin-bottom: 0;
}

/* Mobile */
@media (max-width: 849px) {

    .jjs-footer .col {
        margin-bottom: 15px;
    }

}

@media (max-width: 549px) {

    .jjs-footer {
        text-align: center;
    }

    .jjs-footer h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .jjs-footer-bottom {
        text-align: center;
    }

    .jjs-footer-bottom .col {
        text-align: center;
    }

}

/* About */
/* ==========================================
   JJ SECURITY SOLUTIONS - ABOUT US
   ========================================== */

/* GENERAL */

.jjs-about-hero,
.jjs-about-intro,
.jjs-about-values,
.jjs-about-approach,
.jjs-about-why,
.jjs-about-products,
.jjs-about-cta {
    position: relative;
}

/* HERO */

.jjs-about-hero .col-inner {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.jjs-about-hero p {
    line-height: 1.8;
}

/* CONTENT IMAGES */

.jjs-about-intro .img,
.jjs-about-approach .img {
    overflow: hidden;
    border-radius: 16px;
}

.jjs-about-intro .img img,
.jjs-about-approach .img img {
    border-radius: 16px;
    transition: transform 0.5s ease;
}

.jjs-about-intro .img:hover img,
.jjs-about-approach .img:hover img {
    transform: scale(1.035);
}

/* VISION & MISSION CARDS */

.jjs-about-values .jjs-about-value-card .col-inner {
    height: 100%;
    padding: 35px;
    background: #ffffff;
    border-radius: 16px;
    border-top: 4px solid var(--fs-color-primary, #045902);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.jjs-about-values .jjs-about-value-card:hover .col-inner {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
}

/* SECURITY APPROACH LIST */

.jjs-about-approach ul {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.jjs-about-approach ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    line-height: 1.6;
}

/* WHY CHOOSE US CARDS */

.jjs-about-why .jjs-about-feature .col-inner {
    height: 100%;
    padding: 30px 22px;
    background: #ffffff;
    border-radius: 14px;
    border-left: 4px solid var(--fs-color-primary, #045902);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.jjs-about-why .jjs-about-feature:hover .col-inner {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.09);
}

/* FEATURED PRODUCTS */

.jjs-about-products .product-small .box {
    overflow: hidden;
    border-radius: 14px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.jjs-about-products .product-small:hover .box {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.10);
}

/* FINAL CTA */

.jjs-about-cta .col-inner {
    max-width: 900px;
    margin: auto;
}

.jjs-about-cta p {
    line-height: 1.8;
}

/* BUTTON EFFECTS */

.jjs-about-hero .button,
.jjs-about-intro .button,
.jjs-about-approach .button,
.jjs-about-products .button,
.jjs-about-cta .button {
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.jjs-about-hero .button:hover,
.jjs-about-intro .button:hover,
.jjs-about-approach .button:hover,
.jjs-about-products .button:hover,
.jjs-about-cta .button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
}

/* TABLET */

@media (max-width: 849px) {

    .jjs-about-values .jjs-about-value-card .col-inner {
        padding: 28px;
    }

    .jjs-about-why .jjs-about-feature .col-inner {
        padding: 25px 20px;
    }

}

/* MOBILE */

@media (max-width: 549px) {

    .jjs-about-values .jjs-about-value-card .col-inner {
        padding: 25px 20px;
    }

    .jjs-about-why .jjs-about-feature .col-inner {
        padding: 25px 20px;
    }

}

/* Categories */
/* ==========================================
   WOOCOMMERCE PRODUCT CATEGORY CARDS
   ========================================== */

/* Category list */
#shop-sidebar .widget_product_categories .product-categories {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Individual category cards */
#shop-sidebar .product-categories > li.cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 12px;
    padding: 14px 16px;
    background: #f7f8fa;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-left: 4px solid #045902;
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

/* Card hover */
#shop-sidebar .product-categories > li.cat-item:hover {
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.10);
}

/* Category links */
#shop-sidebar .product-categories > li.cat-item > a {
    flex: 1;
    display: block;
    padding: 0;
    margin: 0;
    border: none;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* Category count badge */
#shop-sidebar .product-categories > li.cat-item > .count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 32px;
    padding: 5px 9px;
    background: rgba(4, 89, 2, 0.09);
    border-radius: 20px;
    font-weight: 600;
    line-height: 1.2;
}

/* Active category */
#shop-sidebar .product-categories > li.current-cat {
    background: rgba(4, 89, 2, 0.08);
    border-left-color: #045902;
    box-shadow: 0 4px 15px rgba(4, 89, 2, 0.08);
}

/* Active category count */
#shop-sidebar .product-categories > li.current-cat > .count {
    background: rgba(4, 89, 2, 0.15);
}

/* Shop Page */
/* ==========================================
   FLATSOME - ALL WOOCOMMERCE PAGE BACKGROUNDS
   ========================================== */

body.woocommerce-page,
body.woocommerce-account,
body.woocommerce-cart,
body.woocommerce-checkout,
body.post-type-archive-product,
body.single-product,
body.tax-product_cat,
body.tax-product_tag,
body.tax-product_attribute {
    background-color: #f3f3f3 !important;
}

/* Main content area */
body.woocommerce-page #main,
body.woocommerce-account #main,
body.woocommerce-cart #main,
body.woocommerce-checkout #main,
body.post-type-archive-product #main,
body.single-product #main,
body.tax-product_cat #main,
body.tax-product_tag #main,
body.tax-product_attribute #main {
    background-color: #f3f3f3 !important;
}

/* Flatsome page wrapper */
body.woocommerce-page #wrapper,
body.woocommerce-account #wrapper,
body.woocommerce-cart #wrapper,
body.woocommerce-checkout #wrapper,
body.post-type-archive-product #wrapper,
body.single-product #wrapper,
body.tax-product_cat #wrapper,
body.tax-product_tag #wrapper,
body.tax-product_attribute #wrapper {
    background-color: #f3f3f3 !important;
}
/* ==========================================
   FLATSOME - ROUNDED PRODUCT IMAGES
   ========================================== */

/* Main product image */
.single-product .product-gallery-slider,
.single-product .product-gallery-slider .flickity-viewport,
.single-product .product-gallery-slider .slide,
.single-product .product-gallery-slider img {
    border-radius: 14px !important;
}

/* Product thumbnail gallery */
.single-product .product-thumbnails .col-inner,
.single-product .product-thumbnails a,
.single-product .product-thumbnails img {
    border-radius: 14px !important;
    overflow: hidden;
}

/* Related and upsell product images */
.single-product .related .box-image,
.single-product .upsells .box-image {
    border-radius: 14px !important;
    overflow: hidden;
}

/* Related and upsell image elements */
.single-product .related .box-image img,
.single-product .upsells .box-image img {
    border-radius: 14px !important;
}

/* Smooth image hover */
.single-product .related .box-image img,
.single-product .upsells .box-image img {
    transition: transform 0.35s ease;
}

/* Subtle hover zoom */
.single-product .related .product-small:hover .box-image img,
.single-product .upsells .product-small:hover .box-image img {
    transform: scale(1.04);
}

/* ==========================================
   FLATSOME - ROUNDED PRODUCT CARDS
   ========================================== */

/* Main product card */
.product-small .box,
.products .product-small .box,
.woocommerce .product-small .box,
.product-small.box {
    border-radius: 15px !important;
    overflow: hidden !important;
    background: #ffffff !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Image container */
.product-small .box-image,
.product-small .box-image .image-zoom,
.product-small .box-image .image-fade_in_back {
    border-radius: 15px 15px 0 0 !important;
    overflow: hidden !important;
}

/* Product images */
.product-small .box-image img,
.product-small img.attachment-woocommerce_thumbnail {
    border-radius: 15px 15px 0 0 !important;
}

/* Product information */
.product-small .box-text {
    background: #ffffff !important;
    padding: 18px !important;
    border-radius: 0 0 15px 15px !important;
}

/* Hover */
.product-small:hover .box,
.product-small.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

/* ==========================================
   FLATSOME - COMPLETE PRODUCT CARD ROUNDING
   ========================================== */

/* Entire product card */
.woocommerce .products .product-small .col-inner,
.woocommerce .products .product-small .box,
.product-small.col .col-inner,
.product-small .box {
    border-radius: 15px !important;
    overflow: hidden !important;
}

/* White card background */
.product-small .col-inner {
    background: #ffffff !important;
    border-radius: 15px !important;
    overflow: hidden !important;
}

/* Product image */
.product-small .box-image {
    border-radius: 15px 15px 0 0 !important;
    overflow: hidden !important;
}

/* Product information */
.product-small .box-text {
    background: #ffffff !important;
    padding: 18px !important;
    border-radius: 0 0 15px 15px !important;
}

/* Card hover */
.product-small .col-inner {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-small:hover .col-inner {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

/* Terms */
/* ==========================================
   JJ SECURITY SOLUTIONS
   TERMS & CONDITIONS PAGE
   Version 1.0
   ========================================== */

/* HERO */

.jjs-legal-hero {
    position: relative;
}

.jjs-legal-hero .row {
    max-width: 1050px;
}

.jjs-legal-hero h1 {
    margin-bottom: 15px;
}

.jjs-legal-hero p {
    line-height: 1.7;
}

/* CONTENT WIDTH */

.jjs-legal-page .row,
.jjs-legal-delivery .row,
.jjs-legal-returns .row,
.jjs-legal-products .row,
.jjs-legal-privacy .row,
.jjs-legal-popia .row,
.jjs-legal-final .row {
    max-width: 1050px;
}

/* SECTION HEADINGS */

.jjs-legal-page h2,
.jjs-legal-delivery h2,
.jjs-legal-returns h2,
.jjs-legal-products h2,
.jjs-legal-privacy h2,
.jjs-legal-popia h2,
.jjs-legal-final h2 {
    position: relative;
    margin-top: 35px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0,0,0,0.09);
}

/* HEADING ACCENT */

.jjs-legal-page h2::after,
.jjs-legal-delivery h2::after,
.jjs-legal-returns h2::after,
.jjs-legal-products h2::after,
.jjs-legal-privacy h2::after,
.jjs-legal-popia h2::after,
.jjs-legal-final h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 48px;
    height: 3px;
    background: var(--fs-color-primary);
    border-radius: 4px;
}

/* SUBHEADINGS */

.jjs-legal-page h3,
.jjs-legal-delivery h3,
.jjs-legal-returns h3,
.jjs-legal-products h3,
.jjs-legal-privacy h3,
.jjs-legal-popia h3,
.jjs-legal-final h3 {
    margin-top: 28px;
    margin-bottom: 12px;
}

/* PARAGRAPHS */

.jjs-legal-page p,
.jjs-legal-delivery p,
.jjs-legal-returns p,
.jjs-legal-products p,
.jjs-legal-privacy p,
.jjs-legal-popia p,
.jjs-legal-final p {
    line-height: 1.8;
    margin-bottom: 16px;
}

/* LISTS */

.jjs-legal-page ul,
.jjs-legal-delivery ul,
.jjs-legal-returns ul,
.jjs-legal-products ul,
.jjs-legal-privacy ul,
.jjs-legal-popia ul,
.jjs-legal-final ul {
    margin-left: 0;
    padding-left: 22px;
    margin-bottom: 24px;
}

.jjs-legal-page li,
.jjs-legal-delivery li,
.jjs-legal-returns li,
.jjs-legal-products li,
.jjs-legal-privacy li,
.jjs-legal-popia li,
.jjs-legal-final li {
    line-height: 1.8;
    margin-bottom: 8px;
}

/* SECTION SPACING */

.jjs-legal-page,
.jjs-legal-delivery,
.jjs-legal-returns,
.jjs-legal-products,
.jjs-legal-privacy,
.jjs-legal-popia,
.jjs-legal-final {
    position: relative;
}

/* MOBILE */

@media (max-width: 849px) {

    .jjs-legal-page h2,
    .jjs-legal-delivery h2,
    .jjs-legal-returns h2,
    .jjs-legal-products h2,
    .jjs-legal-privacy h2,
    .jjs-legal-popia h2,
    .jjs-legal-final h2 {
        margin-top: 28px;
    }

}

@media (max-width: 549px) {

    .jjs-legal-page h2,
    .jjs-legal-delivery h2,
    .jjs-legal-returns h2,
    .jjs-legal-products h2,
    .jjs-legal-privacy h2,
    .jjs-legal-popia h2,
    .jjs-legal-final h2 {
        margin-top: 24px;
        padding-bottom: 12px;
    }

    .jjs-legal-page ul,
    .jjs-legal-delivery ul,
    .jjs-legal-returns ul,
    .jjs-legal-products ul,
    .jjs-legal-privacy ul,
    .jjs-legal-popia ul,
    .jjs-legal-final ul {
        padding-left: 18px;
    }

}
