/**
 * Store Logo Fix for Single Store Page
 * Properly sizes and displays store logos in card format
 */

/* Store Info Card */
.store-info-card {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e5e5e5;
    padding: 20px;
}

/* Remove any highlights or marks - prevent browser highlighting */
.store-info-card *::selection {
    background: transparent !important;
}

.store-info-card h2::selection {
    background: transparent !important;
}

.tas_singlecategory mark,
.tas_singlecategory .uk-text-background,
.tas_singlecategory .uk-width-1-5\@m > :not(.store-info-card) {
    display: none !important;
}

.tas_singlecategory .uk-width-1-5\@m {
    overflow: hidden;
}

.tas_singlecategory .uk-width-1-5\@m > .store-info-card {
    display: block !important;
}

/* Logo and name container - center aligned */
.store-info-card > .uk-flex {
    align-items: center !important;
}

/* Store Logo Container - centered */
.store-info-card .logo-cover {
    width: 80px;
    height: 80px;
    min-width: 80px;
    min-height: 80px;
    max-width: 80px;
    max-height: 80px;
    overflow: hidden;
    border: 2px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: #fff;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

/* Store logo image - fits all types */
.store-info-card .logo-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* Store title in card - now using h2 tag below logo */
.store-info-card h2 {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    color: #333;
    word-wrap: break-word;
    margin: 0 0 10px 0;
}

/* Logo container - centered inline-block */
.store-info-card .logo-cover {
    width: 100px;
    height: 100px;
    min-width: 100px;
    min-height: 100px;
    max-width: 100px;
    max-height: 100px;
    overflow: hidden;
    border: 2px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

/* Store description */
.store-info-card .store-description {
    font-size: 16px;
    line-height: 1.5;
    color: #555;
    font-weight: 600;
}

/* Widget title styling */
.store-info-card .widget-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

/* Rating section */
.store-info-card #rating-form {
    margin: 10px 0;
}

/* Divider */
.store-info-card hr {
    border-top: 1px solid #e5e5e5;
}

/* Mobile responsive */
@media (max-width: 960px) {
    .store-info-card {
        padding: 18px;
    }
    
    .store-info-card .logo-cover {
        width: 90px;
        height: 90px;
        min-width: 90px;
        min-height: 90px;
        max-width: 90px;
        max-height: 90px;
        padding: 8px;
    }
    
    .store-info-card h2 {
        font-size: 20px;
    }
}

@media (max-width: 640px) {
    .store-info-card {
        padding: 15px;
    }
    
    .store-info-card .logo-cover {
        width: 80px;
        height: 80px;
        min-width: 80px;
        min-height: 80px;
        max-width: 80px;
        max-height: 80px;
        padding: 8px;
    }
    
    .store-info-card h2 {
        font-size: 18px;
    }
    
    .store-info-card .store-description {
        font-size: 14px;
    }
}

/* Store info section layout */
.tas_singlecategory .uk-width-1-5\@m {
    display: flex;
    flex-direction: column;
}
