/*
Theme Name: WoodMart Child
Template: woodmart
Version: 1.0
*/
/* Sports Locker Owner Dashboard - full width */
.page-id-31522 .wd-sidebar.sidebar-container {
    display: none !important;
}

.page-id-31522 .wd-content-area.site-content {
    width: 100% !important;
    max-width: 100% !important;
    grid-column: 1 / -1 !important;
}

/* Home page - force-hide obsolete WoodMart slider container */
.page-id-18 .elementor-element-b8d38ec {
    display: none !important;
}

/* Home page - hide prices in Featured Collectibles showcase */
.page-id-18 .elementor-element-4bbb14c .price {
    display: none !important;
}

/* MSL footer desktop column rebalance */
@media (min-width: 1025px) {
    .wd-footer .footer-sidebar .footer-column-1 {
        --wd-col-lg: 4;
    }

    .wd-footer .footer-sidebar .footer-column-2 {
        --wd-col-lg: 3;
    }

    .wd-footer .footer-sidebar .footer-column-3 {
        --wd-col-lg: 3;
    }

    .wd-footer .footer-sidebar .footer-column-4 {
        --wd-col-lg: 2;
    }
}

/* MSL footer desktop column rebalance - override WoodMart inline grid values */
@media (min-width: 1025px) {
    .wd-footer .footer-sidebar .footer-column-1 {
        --wd-col-lg: 4 !important;
    }

    .wd-footer .footer-sidebar .footer-column-2 {
        --wd-col-lg: 3 !important;
    }

    .wd-footer .footer-sidebar .footer-column-3 {
        --wd-col-lg: 3 !important;
    }

    .wd-footer .footer-sidebar .footer-column-4 {
        --wd-col-lg: 2 !important;
    }
}

/* MSL footer desktop horizontal balance */
@media (min-width: 1025px) {

    .wd-footer .footer-sidebar .footer-column-2,
    .wd-footer .footer-sidebar .footer-column-3,
    .wd-footer .footer-sidebar .footer-column-4 {
        padding-left: 28px;
    }

    .wd-footer .footer-sidebar .footer-column-4 {
        padding-left: 42px;
    }
}

/* MSL Locker Directory Card Cleanup — 2026-10-13 */

#dokan-seller-listing-wrap.grid-view .store-content {
    background: transparent !important;
}

#dokan-seller-listing-wrap.grid-view .store-data {
    display: none !important;
}

#dokan-seller-listing-wrap .store-footer .seller-avatar {
    display: none !important;
}

#dokan-seller-listing-wrap .dokan-single-seller .store-wrapper .store-header .store-banner {
    min-height: 220px !important;
    background: #fff !important;
}

#dokan-seller-listing-wrap .dokan-single-seller .store-wrapper .store-header .store-banner img {
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
}

#dokan-seller-listing-wrap .msl-title-row .msl-store-title {
    display: none !important;
}

#dokan-seller-listing-wrap .msl-original-title-hidden {
    display: none !important;
}

#dokan-seller-listing-wrap .msl-crest-img {
    display: block !important;
}


/* MSL Locker Directory refinement — 2026-10-13 */

/* Keep Featured top-left */
#dokan-seller-listing-wrap.grid-view
.store-content
.store-data-container
.featured-favourite {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 30 !important;
}

/* Move MSL crest away from Featured */
#dokan-seller-listing-wrap .msl-crest-img {
    top: 8px !important;
    right: 8px !important;
    left: auto !important;
    z-index: 30 !important;
}

/* Do not show Dokan Open / Closed store-hours badge in Locker directory */
#dokan-seller-listing-wrap .dokan-store-is-open-close-status {
    display: none !important;
}

/* Compact lower footer while keeping visit arrow */
#dokan-seller-listing-wrap.grid-view .store-footer {
    min-height: 48px !important;
    padding: 8px 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
}

#dokan-seller-listing-wrap.grid-view
.store-footer
.dokan-btn-theme.dokan-btn-round {
    margin-right: 0 !important;
}


/* MSL Locker Directory — separate Featured from crest */

#dokan-seller-listing-wrap.grid-view
.store-content
.store-data-container
.featured-favourite {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    z-index: 30 !important;
}


/* MSL Main Locker fixed directory details — 2026-10-13 */

#dokan-seller-listing-wrap .msl-directory-details {
    position: relative;
    z-index: 40;
    padding: 12px 14px 10px;
    background: #ffffff;
    border-top: 1px solid #e8edf3;
    text-align: left;
    line-height: 1.35;
}

#dokan-seller-listing-wrap .msl-directory-heading {
    color: #104377;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 3px;
}

#dokan-seller-listing-wrap .msl-directory-location {
    color: #555;
    font-size: 13px;
    margin-bottom: 3px;
}

#dokan-seller-listing-wrap .msl-directory-subcount {
    color: #777;
    font-size: 12px;
    margin-bottom: 9px;
}

#dokan-seller-listing-wrap .msl-directory-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

#dokan-seller-listing-wrap .msl-view-main-locker {
    display: inline-block;
    padding: 6px 11px;
    background: #104377;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 3px;
}

#dokan-seller-listing-wrap .msl-view-main-locker:hover {
    background: #0b3158;
}

/* MSL Founding recognition inside Main Locker details — 2026-10-13 */

#dokan-seller-listing-wrap .msl-directory-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

#dokan-seller-listing-wrap .msl-directory-info {
    flex: 1 1 auto;
    min-width: 0;
}

#dokan-seller-listing-wrap .msl-directory-recognition {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

#dokan-seller-listing-wrap .msl-directory-crest {
    width: 46px !important;
    height: 46px !important;
    max-width: 46px !important;
    max-height: 46px !important;
    object-fit: contain !important;
    background: transparent !important;
}

#dokan-seller-listing-wrap .msl-directory-recognition-text {
    font-size: 11px;
    font-weight: 700;
    color: #8b6914;
    white-space: nowrap;
}

#dokan-seller-listing-wrap .msl-directory-founding-badge {
    display: inline-block;
    padding: 5px 8px;
    border-radius: 3px;
    background: #c8940a;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Old banner-overlay crest/badge should no longer display */
#dokan-seller-listing-wrap .store-banner .msl-crest-img,
#dokan-seller-listing-wrap .store-banner .msl-type-badge {
    display: none !important;
}

/* MSL Founding crest position cleanup — 2026-10-13 */

#dokan-seller-listing-wrap .store-banner .msl-crest-img {
    display: block !important;
    position: absolute !important;
    top: auto !important;
    left: auto !important;
    right: 8px !important;
    bottom: 8px !important;
    width: 54px !important;
    height: 54px !important;
    max-width: 54px !important;
    max-height: 54px !important;
    object-fit: contain !important;
    background: transparent !important;
    z-index: 25 !important;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35)) !important;
}

/* No generic text badge on banner */
#dokan-seller-listing-wrap .store-banner .msl-type-badge {
    display: none !important;
}

/* MSL Main Locker Directory — remove redundant Dokan visit arrow — 2026-10-13 */
#dokan-seller-listing-wrap.grid-view .store-footer {
    display: none !important;
}

/* MSL Main Locker banners now contain Founder artwork internally — 2026-10-13 */
#dokan-seller-listing-wrap .msl-crest-img,
#dokan-seller-listing-wrap .msl-type-badge {
    display: none !important;
}
