/*
 Theme Name:   Who's Brew
 Theme URI:    https://whosbrewshop.com
 Description:  Child theme for Hello Elementor
 Author:       Shok Idea Group
 Author URI:   https://shokme.com
 Template:     hello-elementor
 Version:      1.0.0
 Text Domain:  hello-elementor-child
*/


/* Temporarily Hide */
.post-type-archive .wpc-filter-content.wpc-filter-product_brand img {
    display: none;
    opacity: 0;
}
.scroll-btns {
    display: none !important;
	opacity: 0 !important;
}

/* General */
.elementor-item.elementor-item-active {
    color: #161614 !important;
}
.elementor-kit-138 input:not([type="button"]):not([type="submit"]), .elementor-kit-138 textarea, .elementor-kit-138 .elementor-field-textual {
    background-color: #ededed;
}
.dokan-geolocation-location-filters button.dokan-btn {
    height: auto !important;
}
.wc-block-components-button.wp-element-button.wc-block-cart__submit-button.contained {
    color: white !important;
}


/* Global Search Widget */
.elementor-147 .elementor-element.elementor-global-3021 > .elementor-widget-container {
    border-radius: 30vw !important;
}
.elementor-147 .elementor-element.elementor-global-3021 .e-search-input {
    background-color: #FFFFFF !important;
}

/* Homepage Hero */
.elementor-147 .elementor-element.elementor-element-8cd1931 .elementor-heading-title span {
    color: #F5BC41;
}

/* Dokan Map Fix */
.dkgp-map-wrapper #dokan-geolocation-locations-map {
    min-height: auto !important;
}
#dokan-geolocation-locations-map > div {
    background-color: #faf6f3 !important;
}

/* Global Footer */
.elementor-158 .elementor-element.elementor-element-3026696:not(.elementor-motion-effects-element-type-background),
.elementor-158 .elementor-element.elementor-element-3026696 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-image: url(/wp-content/uploads/2025/10/WB_Footer-Bg.svg),
                      url(/wp-content/uploads/2025/10/brown-grunge-bg.png);
    background-position: right bottom, center center;
    background-repeat: no-repeat, no-repeat;
    background-size: auto, cover;
}

/* Dokan Product Carousels */
.heading-title {
    font-size: 24px !important;
    color: #161614 !important;
}
.dokan-slider-hdg {
    position: relative;
    z-index: 1;
    margin-top: 30px;
}
.elementor-element.elementor-element-9306abd.dokan-slider-hdg {
    margin-top: 35px;
}
.dokan-slider-hdg h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 6px;
}
.dokan-slider-hdg a {
    color: #9c4e28;
    text-decoration: underline;
}
.slider-title {
    opacity: 0;
}
.dokan-marketplace-slider {
    position: relative;
}
.dokan-marketplace-slider .slider-header {
    position: absolute;
    right: 0;
    top: -60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin: 0;
    z-index: 1;
}
.dokan-marketplace-slider.layout-airbnb .product > .woocommerce-LoopProduct-link .price {
    font-size: 14px;
    font-weight: normal;
    color: #717171;
}
.vendor-actions {
    display: none !important;
    opacity: 0 !important;
}
.dokan-marketplace-slider .slick-list {
    padding-right: 0 !important;
    margin-right: 0 !important;
}
.slider-item.product.type-product img {
    max-height: 200px !important;
}


/* Custom Slider Arrows */
.dokan-marketplace-slider .slider-prev,
.dokan-marketplace-slider .slider-next {
    font-size: 0;
    width: 38px;
    height: 38px;
    border: 1px solid currentColor;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.dokan-marketplace-slider .slider-prev::before,
.dokan-marketplace-slider .slider-next::before {
    font-size: 28px;
    font-weight: 300; 
    line-height: 1;
    color: currentColor;
    display: inline-block;
    position: relative;
    top: -1px;
}
.dokan-marketplace-slider .slider-prev::before { 
    content: "\2039"; 
}
.dokan-marketplace-slider .slider-next::before {
    content: "\203A";
}
.slider-next.slick-arrow,
.slider-prev.slick-arrow {
    background-color: #F7F3EF;
    border-color: #F7F3EF;
    color: #161614;
    border-width: 2px;
}
.product-loop-tag {
    background: #9C4E28 !important;
}
.slick-disabled {
    color: #4b4b4b !important;
    border-color: #b4b2b2 !important;
    background-color: white !important;
    border-width: 2px;
}
.wb-product-cat-slider .wb-product-cat-track .slick-prev,
.wb-product-cat-slider .wb-product-cat-track .slick-next {
  display: none !important;
}
.dokan-marketplace-slider .slider-prev, .dokan-marketplace-slider .slider-next {
    font-size: 0 !important;
}

@media (max-width: 1025px) {
    .elementor-element.elementor-element-f85dcf8 {
        padding-left: 0;
        padding-right: 0;
    }
}

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

    .wb-product-cat-slider .slider-header,
    .wb-product-cat-slider .slider-navigation {
        display: none !important;
        opacity: 0 !important;
    }

    .dokan-slider-hdg {
        margin-top: 30px;
    }
    
    .slider-navigation {
        display: none !important;
        opacity: 0 !important;
    }
    
    .dokan-marketplace-slider.layout-airbnb .slick-list {
        padding-right: 0 !important;
        margin-right: -10px;
    }

    .dokan-marketplace-slider.layout-airbnb .vendor .vendor-avatar {
        width: unset;
        height: unset;
    }

    .wb-product-cat-slider {
        margin-top: 0;
    }
    

    .slider-item.product.type-product img {
        max-height: 150px !important;
    }
    
    /* Make the product archive wrapper a flex container */
    body.post-type-archive-product .site-main,
    body.post-type-archive-product .woocommerce,
    body.post-type-archive-product .woocommerce .woocommerce-products-header + * {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Move the map to the bottom */
    #dokan-geolocation-locations-map,
    .dokan-geolocation-location-map-wrapper,
    .dokan-geolocation-locations-map {
        order: 999 !important;
        margin-top: 20px;
    }
    .elementor-147 .elementor-element.elementor-element-f7c8ce5 {
		--padding-right: 0;
	}
	.dokan-marketplace-slider.layout-airbnb .slick-list {
		margin-right: 0;
	}
}