/* LG CSS Library v0.5.6 */

/* Flatsome Checkmark Colour */
body ul li.bullet-checkmark::before,
body ul li.bullet-arrow::before,
body ul li.bullet-star::before {
    color: #fd4601 !important;
}

/* WooCommerce Larger Product Title and Price */
.products .product .product-title {
    font-size: 18px;
    font-weight: 700;
}

.products .product .price {
    font-size: 19px;
}

/* WooCommerce Product Tag Cloud Button */
#shop-sidebar .widget .tagcloud > .tag-cloud-link {
    color: #ffffff;
    background-color: #fc4502;
}

/* PRODUCT CATEGORY SIDEBAR */
/* =========================================================
   PRODUCT CATEGORY SIDEBAR
   Works on Shop, Category and other WooCommerce pages
   ========================================================= */

:is(#shop-sidebar, .sidebar-wrapper) {
    background: #ffffff;
    border-radius: 16px;
    padding: 22px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}


/* HEADING */

:is(#shop-sidebar, .sidebar-wrapper) .wp-block-heading {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid #94f74a;
    color: #222;
}


/* MAIN LIST */

:is(#shop-sidebar, .sidebar-wrapper)
.wc-block-product-categories-list {
    margin: 0;
    padding: 0;
}


/* MAIN CATEGORY ITEM */

:is(#shop-sidebar, .sidebar-wrapper)
.wc-block-product-categories-list--depth-0
> .wc-block-product-categories-list-item {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    margin: 0 0 4px 0;
    padding: 0;

    border-radius: 8px;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


/* MAIN CATEGORY LINK */

:is(#shop-sidebar, .sidebar-wrapper)
.wc-block-product-categories-list--depth-0
> .wc-block-product-categories-list-item
> a {
    flex: 1;
    display: flex;
    align-items: center;

    padding: 9px 8px;

    color: #333;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;

    border-radius: 8px;

    transition:
        color 0.2s ease,
        padding-left 0.2s ease;
}


/* GREEN ARROW */

:is(#shop-sidebar, .sidebar-wrapper)
.wc-block-product-categories-list-item
> a::before {
    content: "›";

    margin-right: 8px;

    font-size: 20px;
    font-weight: 700;
    line-height: 1;

    color: #94f74a;

    transition: transform 0.2s ease;
}


/* PRODUCT COUNT */

:is(#shop-sidebar, .sidebar-wrapper)
.wc-block-product-categories-list-item-count {
    flex: 0 0 auto;

    margin-right: 6px;
    padding: 3px 8px;

    border-radius: 20px;

    background: #f1f1f1;

    color: #777;

    font-size: 12px;
    font-weight: 600;

    text-align: center;

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


/* =========================================================
   SUB CATEGORIES
   ========================================================= */

:is(#shop-sidebar, .sidebar-wrapper)
.wc-block-product-categories-list--depth-1 {
    flex: 0 0 100%;
    width: 100%;

    margin: 2px 0 6px 0;
    padding: 0 0 0 22px;

    border-left: 0;
}


/* SUB CATEGORY ROW */

:is(#shop-sidebar, .sidebar-wrapper)
.wc-block-product-categories-list--depth-1
> .wc-block-product-categories-list-item {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;

    width: 100%;

    margin: 0;
    padding: 0;

    border-radius: 6px;
}


/* SUB CATEGORY LINK */

:is(#shop-sidebar, .sidebar-wrapper)
.wc-block-product-categories-list--depth-1
> .wc-block-product-categories-list-item
> a {
    flex: 1;
    display: flex;
    align-items: center;

    min-width: 0;

    padding: 6px;

    color: #555;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
}


/* SMALLER ARROW FOR SUB CATEGORIES */

:is(#shop-sidebar, .sidebar-wrapper)
.wc-block-product-categories-list--depth-1
> .wc-block-product-categories-list-item
> a::before {
    margin-right: 6px;
    font-size: 16px;
}


/* SUB CATEGORY COUNT */

:is(#shop-sidebar, .sidebar-wrapper)
.wc-block-product-categories-list--depth-1
> .wc-block-product-categories-list-item
> .wc-block-product-categories-list-item-count {
    margin-right: 6px;
    padding: 2px 7px;
    font-size: 11px;
}


/* =========================================================
   HOVER
   ========================================================= */

:is(#shop-sidebar, .sidebar-wrapper)
.wc-block-product-categories-list-item:hover {
    background: #f5ffef;
}

:is(#shop-sidebar, .sidebar-wrapper)
.wc-block-product-categories-list--depth-0
> .wc-block-product-categories-list-item:hover
> a {
    color: #222;
}

:is(#shop-sidebar, .sidebar-wrapper)
.wc-block-product-categories-list-item:hover
> a::before {
    transform: translateX(2px);
}

:is(#shop-sidebar, .sidebar-wrapper)
.wc-block-product-categories-list-item:hover
> .wc-block-product-categories-list-item-count {
    background: #94f74a;
    color: #111;
}


/* REMOVE DEFAULT LIST MARKERS */

:is(#shop-sidebar, .sidebar-wrapper)
.wc-block-product-categories-list-item::before {
    display: none !important;
}

/* WooCommerce Brand Filter Dropdown */
.widget_brand_nav select.wc-brand-dropdown-layered-nav-product_brand {
    width: 100%;
    height: 44px;
    min-height: 44px;

    padding: 0 42px 0 16px;

    background-color: #fff;

    border: 1px solid #d8d8d8;
    border-radius: 24px;

    box-shadow: none !important;
    text-shadow: none;

    color: #333;
    font-size: 14px;
    font-weight: 400;

    outline: none;
    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background-color 0.2s ease;
}

/* Hover */
.widget_brand_nav select.wc-brand-dropdown-layered-nav-product_brand:hover {
    border-color: #b8b8b8;
}

/* Focus */
.widget_brand_nav select.wc-brand-dropdown-layered-nav-product_brand:focus {
    border-color: #d46a19;
    box-shadow: none !important;
    outline: none;
}

/* Banners Round */
/* TACQVR - Rounded Flatsome banners */
.banner.round,
.banner.round .banner-inner,
.banner.round .banner-bg {
    border-radius: 24px !important;
    overflow: hidden !important;
}

/* Checkout Form rounded */
/* =====================================================
   OBBY'S GOODBRANDS CHECKOUT - 24PX ROUNDED DESIGN
   ===================================================== */


/* =====================================================
   FORM FIELDS
   ===================================================== */

.woocommerce-checkout .fl-wrap,
.woocommerce-checkout input.input-text,
.woocommerce-checkout textarea.input-text,
.woocommerce-checkout select {
    border-radius: 24px !important;
}


/* Keep contents inside rounded select/field wrappers */
.woocommerce-checkout .fl-wrap {
    overflow: hidden !important;
}


/* Select2 country / region fields */
.woocommerce-checkout
.select2-container
.select2-selection--single {
    border-radius: 24px !important;
}


/* =====================================================
   ORDER SUMMARY CARD
   ===================================================== */

.woocommerce-checkout .large-5 > .col-inner.has-border {
    border-radius: 24px !important;
    overflow: hidden !important;
    background: #fff !important;
}


/* Order review table */
.woocommerce-checkout-review-order,
.woocommerce-checkout-review-order-table {
    border-radius: 24px !important;
}


/* =====================================================
   PAYMENT AREA
   ===================================================== */

/* Main payment container */
.woocommerce-checkout #payment {
    border-radius: 24px !important;
    overflow: visible !important;
}


/* =====================================================
   PAYMENT METHODS
   Do NOT round individual payment methods
   ===================================================== */

.woocommerce-checkout #payment ul.payment_methods,
.woocommerce-checkout #payment ul.payment_methods > li,
.woocommerce-checkout #payment .wc_payment_method,
.woocommerce-checkout #payment .payment_box {
    border-radius: 0 !important;
}


/* Do not clip payment method content or logos */
.woocommerce-checkout #payment ul.payment_methods,
.woocommerce-checkout #payment ul.payment_methods > li,
.woocommerce-checkout #payment .wc_payment_method,
.woocommerce-checkout #payment .payment_box,
.woocommerce-checkout #payment label {
    overflow: visible !important;
}


/* =====================================================
   PAYFAST
   ===================================================== */

/* Specifically remove rounding from Payfast */
.woocommerce-checkout
.payment_method_payfast,
.woocommerce-checkout
.payment_method_payfast .payment_box {
    border-radius: 0 !important;
}


/* Keep Payfast logo fully visible */
.woocommerce-checkout
.payment_method_payfast label img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 0 !important;
    overflow: visible !important;
}


/* =====================================================
   PLACE ORDER BUTTON
   ===================================================== */

.woocommerce-checkout #place_order {
    border-radius: 24px !important;
}

/* Product Image rounded */
/* =========================================
   PRODUCT GALLERY - 24PX ROUNDED
   ========================================= */

/* Main product gallery */
.single-product .woocommerce-product-gallery,
.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery .flickity-viewport,
.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery__image a,
.single-product .woocommerce-product-gallery__image img {
    border-radius: 24px !important;
}

/* Main image clipping */
.single-product .woocommerce-product-gallery__image,
.single-product .woocommerce-product-gallery__image a {
    overflow: hidden !important;
}


/* =========================================
   FLATSOME GALLERY THUMBNAILS
   ========================================= */

.single-product .product-thumbnails .col a,
.single-product .product-thumbnails .col img {
    border-radius: 14px !important;
}

/* Clip thumbnail image inside rounded corners */
.single-product .product-thumbnails .col a {
    display: block;
    overflow: hidden !important;
}

/* Make sure image fills thumbnail correctly */
.single-product .product-thumbnails .col img {
    display: block;
    width: 100%;
}


/* =========================================
   FLATSOME FLICKITY THUMBNAIL SLIDER
   ========================================= */

.single-product .product-thumbnails .flickity-slider .col a,
.single-product .product-thumbnails .flickity-slider .col img {
    border-radius: 14px !important;
    overflow: hidden !important;
}


/* =========================================
   SELECTED THUMBNAIL
   ========================================= */

.single-product .product-thumbnails .is-nav-selected a,
.single-product .product-thumbnails .is-nav-selected img {
    border-radius: 14px !important;
}

/* Rounded Banners */
.round .slider-style-container .banner.padding {
    border-radius: 24px !important;
    overflow: hidden !important;
}


.round .slider-style-container .banner.padding .banner-inner,
.round .slider-style-container .banner.padding .banner-bg,
.round .slider-style-container .banner.padding .banner-bg img {
    border-radius: 24px !important;
}

@scope (.round) {
/* Rounded banner */
.slider-style-container .banner.padding {
    border-radius: 24px !important;
    overflow: hidden !important;
}

/* Ensure background follows rounded corners */
.slider-style-container .banner.padding .banner-inner,
.slider-style-container .banner.padding .banner-bg,
.slider-style-container .banner.padding .banner-bg img {
    border-radius: 24px !important;
}
}

/* Menu Uppercase */
.header-nav .nav-top-link {
    text-transform: uppercase;
}

/* Vertical Menu */
/* =========================================
   FLATSOME DEPARTMENTS MENU - ROUNDED
   ========================================= */


/* Main DEPARTMENTS button */
.header-vertical-menu__opener {
    border-radius: 24px !important;
}


/* =========================================
   FIRST-LEVEL FLYOUT
   Rounded LEFT side only
   ========================================= */

.header-vertical-menu__fly-out {
    border-radius: 18px 0 0 18px !important;
}

/* First-level menu container */
.header-vertical-menu__fly-out > div {
    border-radius: 18px 0 0 18px !important;
}

/* First item - top-left corner */
.ux-nav-vertical-menu > li:first-child > a {
    border-radius: 18px 0 0 0 !important;
}

/* Last item - bottom-left corner */
.ux-nav-vertical-menu > li:last-child > a {
    border-radius: 0 0 0 18px !important;
}


/* =========================================
   SECOND-LEVEL FLYOUT
   Rounded RIGHT side only
   ========================================= */

.ux-nav-vertical-menu .sub-menu.nav-dropdown {
    border-radius: 0 18px 18px 0 !important;
    overflow: hidden !important;
}

/* First item - top-right corner */
.ux-nav-vertical-menu .sub-menu.nav-dropdown > li:first-child > a {
    border-radius: 0 18px 0 0 !important;
}

/* Last item - bottom-right corner */
.ux-nav-vertical-menu .sub-menu.nav-dropdown > li:last-child > a {
    border-radius: 0 0 18px 0 !important;
}

/* =========================================
   SHOP BY BRAND - TWO COLUMN SUBMENU
   ========================================= */

/* Shop by Brand submenu */
#menu-item-319 > .sub-menu {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    width: 400px !important;
    padding: 12px 0 !important;

    /* Rounded right side to match flyout styling */
    border-radius: 0 18px 18px 0 !important;
    overflow: hidden;
}

/* Each brand */
#menu-item-319 > .sub-menu > li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Brand links */
#menu-item-319 > .sub-menu > li > a {
    display: block;
    width: 100%;
    padding: 8px 18px !important;
    white-space: nowrap;
}

/* Remove any Flatsome float behaviour */
#menu-item-319 > .sub-menu > li:nth-child(n) {
    float: none !important;
}

/* Mobile - return to one column */
@media (max-width: 849px) {
    #menu-item-319 > .sub-menu {
        display: block !important;
        width: 100% !important;
    }
}

/* Mobile Menu Styling */
/* =====================================================
   OBBY'S GOODBRANDS
   COMPLETE FLATSOME MOBILE MENU STYLING
   ===================================================== */

@media (max-width: 849px) {

    /* =================================================
       MAIN MOBILE MENU BACKGROUND
       ================================================= */

    #main-menu,
    #main-menu.mobile-sidebar,
    #main-menu .sidebar-menu,
    #main-menu .sidebar-menu-tabs,
    #main-menu .nav-sidebar,
    #main-menu .nav-sidebar-ul,
    #main-menu .nav-slide,
    #main-menu .sub-menu,
    #main-menu .children,
    #main-menu .nav-slide-header,
    #main-menu .header-search-form,
    #main-menu .header-search-form-wrapper,
    #main-menu .header-contact-wrapper {
        background-color: #f9f1ea !important;
    }


    /* =================================================
       MENU TAB AREA
       MENU / CATEGORIES
       ================================================= */

    #main-menu .sidebar-menu-tabs {
        background-color: #f9f1ea !important;
    }

    #main-menu .sidebar-menu-tabs__tab,
    #main-menu .sidebar-menu-tabs__tab-link {
        background-color: transparent !important;
    }

    #main-menu .sidebar-menu-tabs__tab-text {
        color: #333 !important;
    }


    /* =================================================
       NORMAL MOBILE MENU ITEMS
       ================================================= */

    #main-menu .nav-sidebar > li,
    #main-menu .nav-sidebar-ul > li,
    #main-menu .sub-menu > li,
    #main-menu .children > li {
        background-color: transparent !important;
    }

    #main-menu .nav-sidebar > li > a,
    #main-menu .nav-sidebar-ul > li > a,
    #main-menu .sub-menu > li > a,
    #main-menu .children > li > a {
        color: #333 !important;
        background-color: transparent !important;
    }


    /* =================================================
       MENU ITEM HOVER / ACTIVE
       ================================================= */

    #main-menu .nav-sidebar > li > a:hover,
    #main-menu .nav-sidebar-ul > li > a:hover,
    #main-menu .sub-menu > li > a:hover,
    #main-menu .children > li > a:hover,
    #main-menu .current-menu-item > a {
        color: #333 !important;
        background-color: rgba(0, 0, 0, 0.04) !important;
    }


    /* =================================================
       SUBMENU / SLIDE BACKGROUND
       ================================================= */

    #main-menu .sub-menu,
    #main-menu .nav-sidebar-ul.children,
    #main-menu .children,
    #main-menu .is-current-slide,
    #main-menu .is-current-parent {
        background-color: #f9f1ea !important;
    }


    /* =================================================
       SUBMENU BACK HEADER
       e.g. CLOTHING / SHOES / SHOP BY BRAND
       ================================================= */

    #main-menu .nav-slide-header {
        background-color: #f9f1ea !important;
    }

    #main-menu .nav-slide-header button {
        width: 100%;
        color: #333 !important;
        background: transparent !important;
        box-shadow: none !important;
        border: 0 !important;
    }

    #main-menu .nav-slide-header button:hover {
        color: #333 !important;
        background: rgba(0, 0, 0, 0.04) !important;
    }


    /* =================================================
       MENU TOGGLE ARROWS
       ================================================= */

    #main-menu button.toggle {
        color: #333 !important;
        background: transparent !important;
        box-shadow: none !important;
        border: 0 !important;
    }

    #main-menu button.toggle i {
        color: #333 !important;
    }


    /* =================================================
       SEARCH AREA
       ================================================= */

    #main-menu .header-search-form,
    #main-menu .header-search-form-wrapper,
    #main-menu .dgwt-wcas-search-wrapp,
    #main-menu .dgwt-wcas-sf-wrapp {
        background-color: #f9f1ea !important;
    }

    #main-menu .dgwt-wcas-search-input {
        background-color: #fff !important;
        border-radius: 24px !important;
    }


    /* =================================================
       CART BACKGROUND
       ================================================= */

    #main-menu #cart-popup,
    #main-menu .cart-popup-inner,
    #main-menu .cart-popup-title,
    #main-menu .widget_shopping_cart,
    #main-menu .widget_shopping_cart_content,
    #main-menu .woocommerce-mini-cart,
    #main-menu .woocommerce-mini-cart-item,
    #main-menu .ux-mini-cart-footer,
    #main-menu .ux-mini-cart-empty,
    #main-menu .woocommerce-mini-cart__total,
    #main-menu .woocommerce-mini-cart__buttons {
        background-color: #f9f1ea !important;
    }


    /* =================================================
       CART TITLE
       ================================================= */

    #main-menu #cart-popup .cart-popup-title,
    #main-menu #cart-popup .heading-font {
        color: #333 !important;
    }


    /* =================================================
       CART PRODUCT TEXT
       ================================================= */

    #main-menu #cart-popup .mini_cart_item,
    #main-menu #cart-popup .mini_cart_item a,
    #main-menu #cart-popup .quantity,
    #main-menu #cart-popup .woocommerce-Price-amount,
    #main-menu #cart-popup .woocommerce-mini-cart__total,
    #main-menu #cart-popup .woocommerce-mini-cart__empty-message {
        color: #333 !important;
    }


    /* =================================================
       CART PRODUCT THUMBNAILS
       ================================================= */

    #main-menu #cart-popup .woocommerce-mini-cart-item img,
    #main-menu #cart-popup .mini_cart_item img {
        border-radius: 10px !important;
        overflow: hidden !important;
    }


    /* =================================================
       REMOVE PRODUCT X
       CENTRED IN CIRCLE
       ================================================= */

    #main-menu #cart-popup .remove_from_cart_button,
    #main-menu #cart-popup a.remove {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 26px !important;
        height: 26px !important;
        min-width: 26px !important;
        min-height: 26px !important;

        padding: 0 !important;
        margin: 0 !important;

        border-radius: 50% !important;

        font-size: 20px !important;
        font-weight: 400 !important;
        line-height: 1 !important;

        text-align: center !important;

        box-sizing: border-box !important;
    }


    /* =================================================
       ALL ACTION BUTTONS
       WHITE TEXT
       ================================================= */

    #main-menu a.button,
    #main-menu .button,
    #main-menu button.button,
    #main-menu input[type="submit"],
    #main-menu .wc-forward,
    #main-menu .wc-backward,
    #main-menu .checkout {
        color: #fff !important;
    }


    /* =================================================
       ACTION BUTTON HOVER
       KEEP TEXT WHITE
       ================================================= */

    #main-menu a.button:hover,
    #main-menu .button:hover,
    #main-menu button.button:hover,
    #main-menu input[type="submit"]:hover,
    #main-menu .wc-forward:hover,
    #main-menu .wc-backward:hover,
    #main-menu .checkout:hover {
        color: #fff !important;
    }


    /* =================================================
       VIEW CART + CHECKOUT
       ================================================= */

    #main-menu #cart-popup
    .woocommerce-mini-cart__buttons .button,

    #main-menu #cart-popup
    .woocommerce-mini-cart__buttons .wc-forward,

    #main-menu #cart-popup
    .woocommerce-mini-cart__buttons .checkout {
        color: #fff !important;
    }


    /* =================================================
       EMPTY CART RETURN TO SHOP
       ================================================= */

    #main-menu #cart-popup .return-to-shop .button,
    #main-menu #cart-popup .wc-backward {
        color: #fff !important;
    }


    /* =================================================
       MY ACCOUNT MOBILE SUBMENU
       ================================================= */

    #main-menu .woocommerce-MyAccount-navigation-link,
    #main-menu .woocommerce-MyAccount-navigation-link a {
        background-color: transparent !important;
        color: #333 !important;
    }

    #main-menu .woocommerce-MyAccount-navigation-link a:hover {
        background-color: rgba(0, 0, 0, 0.04) !important;
        color: #333 !important;
    }


    /* =================================================
       REMOVE UNWANTED WHITE BACKGROUNDS
       ================================================= */

    #main-menu ul,
    #main-menu li,
    #main-menu .inner-padding {
        background-color: transparent;
    }


    /* =================================================
       FORCE MAIN CONTAINERS BACK TO CREAM
       ================================================= */

    #main-menu,
    #main-menu .sidebar-menu,
    #main-menu .nav-slide,
    #main-menu .sub-menu,
    #main-menu .children,
    #main-menu #cart-popup,
    #main-menu .cart-popup-inner {
        background-color: #f9f1ea !important;
    }

}
