/*
Theme Name:   Astra Child Theme
Theme URI:       https://wpastra.com/
Description:      A Astra child theme
Author:             Sirle
Author URI:      https://kasitoomarket.ee
Template:         astra
Version:            1.0.0
Text Domain:    astrachild
*/
 
@import url(".../astra/style.css");

//pealehe kujundus ----------------------------
.dokan-seller-listing .dokan-pagination {
    display: none !important;
}

.dokan-seller-wrap .store-wrapper {
    text-align: center;
    background: none !important;
    box-shadow: none !important;
    border: none !important;
}

.vendor-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
	border: 2px solid #e5e5e5;
    transition: transform 0.2s ease;
}

.vendor-logo:hover {
    transform: scale(1.05);
    transition: 0.2s;
}

.vendor-name {
    margin-top: 8px;
    font-size: 14px;
	text-align: center;
}

.vendor-name a {
    text-decoration: none;
    color: inherit;
}

.dokan-seller-wrap .dokan-single-seller {
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
	width: 100%;
    text-align: center;
}

//uus login ----------------------------
/* Kill theme layout restrictions */
/* Page wrapper takes available height */
.page-template-page-login {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-template-page-login .site-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Center ONLY your login block */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

/* Login card */
.login-box {
    width: 100%;
    max-width: 400px;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Header */
.login-title {
    text-align: center;
    margin-bottom: 20px;
}

/* Form layout */
.custom-login-form {
    display: flex;
    flex-direction: column;
}

/* Spacing */
.custom-login-form input,
.custom-login-form button {
    margin-bottom: 15px;
    padding: 12px;
    font-size: 16px;
}

/* Button */
.custom-login-form button {
    cursor: pointer;
}

// featured vendors pealehel --------------------
/* Section */
.featured-stores {
    margin: 60px 0;
    padding: 0 20px;
}

/* Title */
.featured-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 30px;
}

/* Grid layout */
.featured-stores-list .dokan-seller-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Individual store card */
.featured-stores-list .dokan-single-seller {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Hover effect */
.featured-stores-list .dokan-single-seller:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Store banner */
.featured-stores-list .store-banner img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/* Store info */
.featured-stores-list .store-data {
    padding: 15px;
    text-align: center;
}

/* Store name */
.featured-stores-list .store-data h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Hide pagination */
.featured-stores-list .dokan-pagination {
    display: none !important;
}