/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */


/* Verified Authors / All Stores Grid - Clean Design */
.verified-authors-section .directorist-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin: 0;
}

.verified-author-col {
    padding: 0;
    margin: 0;
    width: 100%;
}

/* Card Styling - Minimal & Professional */
.verified-author-card {
    background: #fff !important;
    border: 1px solid #e1e4e8 !important;
    border-radius: 12px !important;
    padding: 24px 16px !important;
    text-align: center !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    transition: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
    position: relative !important;
    overflow: visible !important;
}

/* NUCLEAR OPTION: Kill all pseudo-elements that create glows/gradients */
.verified-author-card::before,
.verified-author-card::after {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* No border hover or transform effects */
.verified-author-card:hover {
    box-shadow: none !important;
    border-color: #e1e4e8 !important;
    transform: none !important;
    background: #fff !important;
}

/* Kill hover pseudo-elements too */
.verified-author-card:hover::before,
.verified-author-card:hover::after {
    display: none !important;
    opacity: 0 !important;
}

/* Logo Section */
.store-logo-wrap {
    width: 80px !important;
    height: 80px !important;
    margin: 0 auto 16px !important;
    position: relative !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 1px solid #f0f0f0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

/* Kill logo glow effects */
.store-logo-wrap::before,
.store-logo-wrap::after {
    display: none !important;
    content: none !important;
    opacity: 0 !important;
}

.store-logo {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
    transform: none !important;
    transition: none !important;
    border: none !important;
}

/* No logo hover animation */
.verified-author-card:hover .store-logo {
    transform: none !important;
}

/* Store Info */
.store-info {
    margin-bottom: 16px;
    width: 100%;
}

.store-name a {
    color: #24292e !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    line-height: 1.4 !important;
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
    background-clip: border-box !important;
}

/* Kill gradient text on hover */
.verified-author-card:hover .store-name h2,
.verified-author-card:hover .store-name a {
    background: none !important;
    -webkit-text-fill-color: currentColor !important;
    color: #24292e !important;
}

.store-name a:hover {
    color: #0366d6; /* Professional Link Blue */
}

/* Badge */
.verified-merchant-badge {
    color: #0366d6;
    font-size: 14px;
}

/* Rating */
.store-rating {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-top: 8px;
    font-size: 13px;
    color: #586069;
}

.store-rating i {
    color: #f1e05a; /* Warning/Star color */
}

.rating-value {
    font-weight: 600;
    color: #24292e;
}

/* Products Thumbnails */
.store-products-thumbs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    width: 100%;
}

.product-thumb {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    overflow: hidden;
    background: #f6f8fa;
    border: 1px solid #eaecef;
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive - Mobile Optimization */
@media (max-width: 767px) {
    .verified-authors-section .directorist-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .verified-author-col {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .verified-author-card {
        padding: 10px 5px !important;
        border-radius: 8px;
        min-height: 160px;
        justify-content: space-between !important;
    }

    .store-logo-wrap {
        width: 45px !important;
        height: 45px !important;
        margin-bottom: 6px !important;
    }

    .store-name h2, .store-name a {
        font-size: 12px !important;
        line-height: 1.2;
    }

    .store-rating {
        margin-top: 2px;
        margin-bottom: 6px;
        font-size: 10px;
    }
    
    /* Force thumbnails to row */
    .store-products-thumbs {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        gap: 4px !important;
        margin-top: auto;
        width: 100% !important;
    }

    .product-thumb {
        width: 32px !important;
        height: 32px !important;
        flex: 0 0 32px !important; /* Rigid size */
        margin: 0 !important;
    }
    
    .product-thumb img {
         width: 100% !important;
         height: 100% !important;
         object-fit: cover !important;
         border-radius: 4px !important;
         margin: 0 !important;
    }
}

/* Title Section */
.verified-section-title {
    text-align: center;
    margin-bottom: 30px;
}

.verified-section-title h3 {
    font-size: 24px;
    font-weight: 700;
    color: #24292e;
    margin: 0;
}

/* Remove old conflicting styles if any */
.verified-author-card .directorist-authors__card__img {
    display: none; 
}

/* Hide Page Titles */
.entry-header .entry-title,
.hero-section .page-title,
.ct-container-title {
    display: none !important;
}
