/*
 Theme Name:     Twenty Twenty-One Child
 Theme URI:      https://example.com/
 Description:    A child theme for the Twenty Twenty-One theme
 Author:         Your Name
 Author URI:     https://example.com/
 Template:       twentytwentyone
 Version:        1.0.0
 Text Domain:    twentytwentyone-child
*/

/* Add your custom CSS below this line */
.aws-container .aws-search-form{
	width: 200px !important;
}


.widget_list.widget_brands ul li::before, .widget_list.widget_color ul li::before{ 
	display: none!important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link{
    text-transform: uppercase;
}


@media (max-width: 991px){
    #mega-menu-wrap-primary #mega-menu-primary{
    display:block !important;
}
.mega-menu-toggle{
 display: none !important;   
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item {
    display: block;
    border-bottom: 1px solid #e5e5e5;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    padding: 0 10px;
    height: 50px;
    line-height: 50px;
}}


.wc-block-checkout__actions_row.wc-block-checkout__actions_row--justify-flex-end > button {
    display: none;
}


/* Product Category Tree Styles */
.widget_categories ul.product-cat-list,
.widget_categories ul.product-cat-list ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.widget_categories ul.product-cat-list li {
    position: relative;
    line-height: 1.6;
    margin-bottom: 8px;
}

.widget_categories ul.product-cat-list li .cat-item-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.widget_categories ul.product-cat-list li a {
    color: #333;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease, font-weight 0.2s ease;
    display: inline-block;
    padding: 2px 0;
}

.widget_categories ul.product-cat-list li a:hover {
    color: #007cba;
}

.widget_categories ul.product-cat-list li.current-cat > .cat-item-wrapper a {
    font-weight: 700;
    color: #007cba;
}

.widget_categories ul.product-cat-list li .count {
    font-size: 13px;
    color: #999;
    margin-left: 6px;
    font-weight: normal !important;
}

/* Toggle Category Styles */
.widget_categories ul.product-cat-list li .toggle-category {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    font-size: 14px;
    color: #666;
    background-color: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    user-select: none;
    transition: all 0.2s ease;
    margin-right: 10px;
}

/* Toggle icon injection via CSS pseudo-elements */
.widget_categories ul.product-cat-list li .toggle-category::before {
    content: "+";
    font-weight: bold;
}

.widget_categories ul.product-cat-list li.expanded > .cat-item-wrapper > .toggle-category::before {
    content: "-";
    font-weight: bold;
}

.widget_categories ul.product-cat-list li .toggle-category:hover {
    background-color: #007cba;
    color: #fff;
    border-color: #007cba;
}

.widget_categories ul.product-cat-list li .toggle-empty {
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 10px;
}

/* Subcategories styles */
.widget_categories ul.product-cat-list li .subcategory {
    display: none; /* Collapsed by default */
    padding-left: 15px;
    margin-top: 6px;
    border-left: 1px dashed #eaeaea;
    margin-left: 10px;
}

/* Expand subcategories when parent li has the 'expanded' class */
.widget_categories ul.product-cat-list li.expanded > .subcategory {
    display: block;
}
ul.page-numbers{text-align:center;}
a.page-numbers{
	background:#d1701e;
	color:#fff;
	font-size:15px;
	padding:10px !important;
}
span.page-numbers{
	background:#162c17;
	color:#fff;
	font-size:15px;
	padding:10px !important;
}
.st-carousel {
    padding: 0 30px !important;
}
.st-carousel .st-card{
	padding: 30px 10%;
}

.st-track{
	border: 1px solid #d1701e;
}
.st-arrow{display:none;}
#wc-guest-checkout-notice{display:none;}
h1.home-heading{
	font-size: 36px;
    line-height: 46px;
	font-weight:normal;
}

.wc-block-checkout__payment-method{display:none;}
@media only screen and (max-width: 667px) {
    body.woocommerce ul.products[class*=columns-] li.product, .woocommerce-page ul.products[class*=columns-] li.product {
        width: calc(50% - 10px) !important;
    }
}

.wc-block-components-notice-banner.is-error{
    display:none;
}


/*-------------------------------------------------------*/

/* Outer container to position elements */
.drag-scroll-outer-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
}

/* Inner horizontal scroll wrapper */
.drag-scroll-wrapper {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    user-select: none;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    position: relative;
    width: 100%;
}

.drag-scroll-wrapper::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.drag-scroll-wrapper:active {
    cursor: grabbing;
}

/* CSS Grid layout for track sets */
.drag-scroll-set {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 180px;
    gap: 7px;
    padding-right: 15px; /* Equal spacing between repeated sets */
    flex-shrink: 0;
}

.drag-scroll-item {
    width: 100%;
}

.circle-img-wrapper img {
    pointer-events: none;
}

/* Navigation Arrow Button Styling - Desktop */
.drag-scroll-arrow {
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #d1701e !important;
    border: 1px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0);
    color: #1a202c;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.drag-scroll-arrow:hover {
    background: #1a202c;
    color: #ffffff;
    border-color: #1a202c;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.drag-scroll-arrow.prev-arrow {
    left: -20px;
}

.drag-scroll-arrow.next-arrow {
    right: -20px;
}

/* Mobile Responsive Adjustments (≤ 768px) */
@media (max-width: 768px) {
    /* Reserve space at the bottom for navigation arrows */
    .drag-scroll-outer-container {
        padding-bottom: 55px;
    }

    /* Grid columns calculated so EXACTLY 3 CARDS fill 100% of the screen width */
    .drag-scroll-set {
        grid-auto-columns: calc((100vw - 30px - 20px) / 3); /* 3 cards fit perfectly */
        gap: 10px;
        padding-right: 10px;
    }

    .drag-scroll-item p {
        font-size: 11px;
        line-height: 1.2;
    }

    .circle-img-wrapper {
        /*width: 65px;*/
        /*height: 65px;*/
        margin-bottom: 8px !important;
    }

    /* Move arrows to bottom center on mobile */
    .drag-scroll-arrow {
        top: auto;
        bottom: 5px;
        transform: none;
        width: 38px;
        height: 38px;
    }

    .drag-scroll-arrow.prev-arrow {
        left: calc(50% - 48px);
    }

    .drag-scroll-arrow.next-arrow {
        right: auto;
        left: calc(50% + 10px);
    }
}
