/**
Theme Name: Astra Child (Custom)
Theme URI: https://wpastra.com/
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: Astra is fast, fully customizable & beautiful WordPress theme suitable for blog, personal portfolio, business website and WooCommerce storefront. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with Schema.org code integrated and is Native AMP ready so search engines will love your site. It offers special features and templates so it works perfectly with all page builders like Elementor, Beaver Builder, Visual Composer, SiteOrigin, Divi, etc. Some of the other features: # WooCommerce Ready # Responsive # RTL & Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and WooCommerce ready theme that you can use for building any kind of website!
Version: 4.1.6
Requires at least: 5.3
Tested up to: 6.2.2
Requires PHP: 5.3
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra
Domain Path: /languages
Tags: custom-menu, custom-logo, entertainment, one-column, two-columns, left-sidebar, e-commerce, right-sidebar, custom-colors, editor-style, featured-images, full-width-template, microformats, post-formats, rtl-language-support, theme-options, threaded-comments, translation-ready, blog
AMP: true

Astra WordPress Theme, Copyright 2020 WPAstra.
Astra is distributed under the terms of the GNU GPL.

Astra is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of.
Nicolas Gallagher and Jonathan Neal https://necolas.github.com/normalize.css/

Astra icon font is based on IcoMoon-Free vector icon by Keyamoon.
IcoMoon-Free vector icon distributed under terms of CC BY 4.0 or GPL. (https://creativecommons.org/licenses/by/4.0/ or https://www.gnu.org/licenses/gpl.html)
Source: http://keyamoon.com/

Flexibility is a JavaScript polyfill for Flexbox By Jonathan Neal, 10up. (https://github.com/jonathantneal/flexibility)
Licensed under MIT ( https://github.com/jonathantneal/flexibility/blob/master/LICENSE.md )

Screenshot image is a collage of actual sites created using the Astra WordPress Theme.

Icons used in the Screenshot image are all licensed under Creative Commons ( CC BY 4.0 ) License ( https://fontawesome.com/license/free )
https://fontawesome.com/v5.15/icons/store?style=solid
https://fontawesome.com/v5.15/icons/shopping-cart?style=solid
https://fontawesome.com/v5.15/icons/pen-square?style=solid
https://fontawesome.com/v5.15/icons/user-tie?style=solid
https://fontawesome.com/v5.15/icons/user-tie?style=solid

Illustrations used in the Screenshot images are all licensed under Creative Commons ( CC0 ) License ( https://gumroad.com/l/humaaans )
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/standing-24.png
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/sitting-2.png

Hand-drawn illustrations used are created by Brainstorm Force and released under Creative Commons ( CC0 ) License.
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/girl-with-image-container.png
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/boy-with-code-container.png
https://websitedemos.net/web-design-agency-08/wp-content/uploads/sites/796/2021/05/web-browser.png

The same site as screenshot can be imported from here https://websitedemos.net/web-design-agency-08/.

For more information, refer to this document on how to create a page like in the screenshot - https://wpastra.com/docs/replicating-the-screenshot/.

Astra default breadcrumb is based on Breadcrumb Trail by Justin Tadlock. (https://github.com/justintadlock/breadcrumb-trail)
Breadcrumb Trail is distributed under the terms of the GNU GPL v2 or later.

Astra local fonts feature is based on Webfonts Loader by WordPress Themes Team (WPTT). (https://github.com/WPTT/webfont-loader)
Licensed under MIT ( https://github.com/WPTT/webfont-loader/blob/master/LICENSE )

/* Note: The CSS files are loaded from assets/css/ folder. */

/*  --- Market Single --- */

/* Main container */
.market-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    background-color: white;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 100px;
    padding-right: 100px;
}
.market-header-container {
    display: flex;
    /*align-items: center;*/
    gap: 10px; /* Space between title and city */
    flex-wrap: wrap; /* Ensures responsiveness on smaller screens */
}
/* Market Header */
.market-title {
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
}

/* Market Banner */
.market-banner {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 3px;
    margin-bottom: 30px;
}

.market-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.market-cover-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
}

/* Market Info Section */
.market-info-section {
    margin-bottom: 40px;
}

.market-city {
    font-size: 16px;
    color: #666;
    /*margin-bottom: 15px;*/
    font-weight: 700;
    text-align: center;
}

.market-city i {
    color: #8C6D54; /* Eliaa primary color */
    margin-right: 5px;
}

.market-description {
    line-height: 1.6;
    color: #333;
}

/*Top-bar*/
.market-stores-top-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    padding-top: 45px;
    border-bottom: 1px solid #eee;
}

.market-stores-count p {
    margin: 0;
    font-size: 16px;
    color: #666;
}

.market-stores-sort {
    display: flex;
    align-items: center;
}

.market-stores-search-form {
    position: relative;
    margin-right: 15px;
}

.market-stores-search-form input[type="text"] {
    padding: 8px 30px 8px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    width: 200px;
}

.market-stores-search-form button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0;
}

/* Stores Section */
.market-stores-section {
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.section-title {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.market-view-controls {
    display: flex;
    justify-content: flex-end;
    /*margin-bottom: 15px;*/
}

.market-view-controls button {
    background: none;
    border: 1px solid #ddd;
    padding: 5px 10px;
    margin-left: 10px;
    cursor: pointer;
    color: #666;
}

.market-view-controls button.active {
    background-color: #8C6D54; /* Eliaa primary color */
    color: white;
    border-color: #8C6D54;
}

/* Grid View */
.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.store-item {
    border: 1px solid #eee;
    border-radius: 3px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.store-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.store-banner {
    height: 140px;
    overflow: hidden;
}

.store-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-banner-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f8f8f8;
}

.store-info {
    padding: 15px;
    position: relative;
}

.store-profile-pic {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #fff;
    overflow: hidden;
    position: absolute;
    top: -30px;
    left: 15px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.store-profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-profile-placeholder {
    width: 100%;
    height: 100%;
    background-color: #e0e0e0;
}

.store-name {
    margin-top: 30px;
    font-size: 16px;
    font-weight: 600;
}

.store-name a {
    color: #333;
    text-decoration: none;
}

.store-name a:hover {
    color: #8C6D54; /* Eliaa primary color */
}

/* List View */
.stores-list {
    display: none;
}

.stores-grid {
    display: none;
}

.stores-list.view-active {
    display: block;
}

.stores-grid.view-active {
    display: grid;
}

.store-list-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 1px solid #eee;
    margin-bottom: 15px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.store-list-item:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.store-list-item .store-profile-pic {
    position: static;
    margin-right: 15px;
    width: 50px;
    height: 50px;
}

.store-list-info {
    flex: 1;
}

.store-list-item .store-name {
    margin-top: 0;
}

/* No stores message */
.no-stores {
    text-align: center;
    padding: 30px 0;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .market-banner {
        height: 200px;
    }
    
    .stores-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .market-banner {
        height: 150px;
    }
    
    .stores-grid {
        grid-template-columns: 1fr;
    }
}

/*Search*/
/*
.market-stores-search {
    margin: 0px 20px;
    position: relative;
}

.market-stores-search input[type="text"] {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.market-stores-search .search-submit {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.stores-count {
    margin: 15px 0;
    color: #666;
    font-size: 14px;
}

.stores-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.store-item {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 5px;
}
*/

/* --- Markets page ---*/
/**
 * Markets Listing Page Styles
 * Add this to your child theme's style.css or via a custom CSS plugin
 */

/* Main container */
.markets-container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: white;
    padding-top: 80px;
    padding-bottom: 80px;
    padding-left: 100px;
    padding-right: 100px;
}

/* Markets Top Bar */
.markets-top-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    padding-top: 45px;
    border-bottom: 1px solid #eee;
}

.markets-count p {
    margin: 0;
    font-size: 16px;
    color: #666;
}

.markets-search-sort {
    display: flex;
    align-items: center;
}

.markets-search-form {
    position: relative;
    margin-right: 15px;
}

.markets-search-form input[type="text"] {
    padding: 8px 30px 8px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    width: 200px;
}

.markets-search-form button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 0;
}

.markets-sort {
    margin-right: 15px;
    margin-left: 15px;
}

.markets-sort select {
    padding: 10px 30px 10px 30px;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #666;
    cursor: pointer;
}

.markets-view-controls {
    display: flex;
}

.markets-view-controls button {
    background: none;
    border: 1px solid #ddd;
    padding: 8px 12px;
    margin-left: 5px;
    cursor: pointer;
    color: #666;
    border-radius: 3px;
}

.markets-view-controls button.active {
    background-color: #8C6D54; /* Eliaa primary color */
    color: white;
    border-color: #8C6D54;
}

/* Grid View */
.markets-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.markets-grid.view-active {
    display: grid;
}

.market-item {
    border: 1px solid #eee;
    border-radius: 3px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.market-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.market-link {
    display: contents;
    text-decoration: none;
    color: inherit;
}

.market-banner {
    height: 180px;
    overflow: hidden;
}

.market-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.market-item:hover .market-banner img {
    transform: scale(1.05);
}

.market-banner-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
}

.market-info {
    padding: 15px;
}

.market-name {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.market-city {
    font-size: 14px;
    color: #666;
}

.market-city i {
    color: #8C6D54; /* Eliaa primary color */
    margin-right: 5px;
}

/* List View */
.markets-list {
    display: none;
}

.markets-list.view-active {
    display: block;
}

.market-list-item {
    display: flex;
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 3px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.market-list-item:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.market-list-banner {
    width: 120px;
    height: 80px;
    overflow: hidden;
    flex-shrink: 0;
}

.market-list-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.market-list-banner-placeholder {
    width: 100%;
    height: 100%;
    background-color: #f5f5f5;
}

.market-list-info {
    padding: 15px;
    display: flex;
    align-items: center;
}

.market-list-item .market-name {
    margin: 0;
}

/* Pagination */
.markets-pagination {
    margin-top: 30px;
    text-align: center;
}

.markets-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #666;
    text-decoration: none;
}

.markets-pagination .page-numbers.current {
    background-color: #8C6D54; /* Eliaa primary color */
    color: white;
    border-color: #8C6D54;
}

.markets-pagination .page-numbers:hover:not(.current) {
    background-color: #f8f8f8;
}

/* No markets found */
.no-markets {
    text-align: center;
    padding: 50px 0;
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .markets-top-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .markets-count {
        margin-bottom: 15px;
    }
    
    .markets-search-sort {
        flex-wrap: wrap;
    }
    
    .markets-search-form {
        margin-bottom: 10px;
        width: 100%;
    }
    
    .markets-search-form input[type="text"] {
        width: 100%;
    }
    
    .markets-sort {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .markets-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

@media (max-width: 480px) {
    .markets-grid {
        grid-template-columns: 1fr;
    }
    
    .market-list-banner {
        width: 80px;
    }
}


/* --- Dokan Dashboard Color Overrides --- */

:root {
    --dokan-sidebar-background-color: black !important;
    --dokan-link-hover-color: #A7693AB0 !important;
    --dokan-button-background-color: #8C6D54 !important;
    --dokan-link-color: #8C6D54 !important;
    --dokan-button-secondary-text-color: #8C6D54 !important;
    --dokan-sidebar-hover-background-color: #A7693AB0 !important;
}

/* White text on hover for specific buttons */
.components-button.components-tab-panel__tabs-item.woocommerce-filters-date__tab:hover {
    color: white !important;
}

/* Date range dropdown hover color */
.woocommerce-calendar .CalendarDay__hovered_span,
.woocommerce-calendar .CalendarDay__selected_span,
.has-jelly-slug.react-datepicker__day--in-selecting-range,
.has-jelly-slug.react-datepicker__day--in-range,
.has-jelly-slug.react-datepicker__day--selecting-range-start,
.has-jelly-slug.react-datepicker__day--selecting-range-end {
    background: #A7693AB0 !important;
}

/*.woocommerce-calendar-range-picker__button-group:hover */.components-button.is-primary:hover {
    background-color: #A7693AB0 !important;
}

.woocommerce-calendar-range-picker__button-group .components-button.is-primary:hover {
    background-color: #A7693AB0 !important;
}

