/**
 * ISO Powersports — Store Page Design
 *
 * Professional styling for the Dokan vendor store page:
 *  - Sidebar profile card, stats widget, report button
 *  - Colored pill tabs (For Sale / In Search Of)
 *  - Store banner & profile header
 *  - Product grid
 *  - Hide unwanted default widgets
 */


/* ==========================================================================
   1. Global Store Page Layout
   ========================================================================== */

.dokan-store-wrap {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}


/* Sidebar — fixed width, sits on the left. */

.dokan-store-wrap #dokan-secondary,
.dokan-store-wrap .dokan-store-sidebar {
    width: 280px !important;
    flex: 0 0 280px !important;
    max-width: 280px;
    order: 1;
}


/* Main content — fills the rest. */

.dokan-store-wrap .store-page-wrap,
.dokan-store-wrap #dokan-primary,
.dokan-store-wrap>.dokan-clearfix {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 100% !important;
    order: 2;
}

.dokan-single-store .store-page-wrap {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

@media (max-width: 900px) {
    .dokan-store-wrap {
        flex-direction: column !important;
    }
    .dokan-store-wrap #dokan-secondary,
    .dokan-store-wrap .dokan-store-sidebar {
        width: 100% !important;
        flex: 1 1 100% !important;
        max-width: 100%;
        order: 2;
    }
}


/* ==========================================================================
   2. Store Banner & Profile Header
   ========================================================================== */

.dokan-profile-frame-wrapper {
    margin-bottom: 0;
}

.dokan-profile-frame-wrapper .profile-frame {
    border: none;
    margin-bottom: 0;
}

.dokan-profile-frame-wrapper .profile-info-box {
    position: relative;
}

.dokan-profile-frame-wrapper .profile-info-img {
    height: 280px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.dokan-profile-frame-wrapper .profile-info-img.dummy-image {
    background: linear-gradient(135deg, #1d3557 0%, #457b9d 100%);
    height: 280px;
}

.dokan-profile-frame-wrapper .profile-info-summery-wrapper {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.dokan-profile-frame-wrapper .profile-info-summery {
    padding: 20px 24px;
}


/* Avatar */

.dokan-profile-frame-wrapper .profile-img img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}


/* Store name */

.dokan-profile-frame-wrapper .store-name {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}


/* Store info list */

.dokan-profile-frame-wrapper .dokan-store-info {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
}

.dokan-profile-frame-wrapper .dokan-store-info li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
}

.dokan-profile-frame-wrapper .dokan-store-info li i {
    color: var(--iso-color-primary, #e63946);
    margin-right: 6px;
    width: 14px;
    text-align: center;
}

.dokan-profile-frame-wrapper .dokan-store-info li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.dokan-profile-frame-wrapper .dokan-store-info li a:hover {
    color: #fff;
}


/* Social icons */

.dokan-profile-frame-wrapper .store-social {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    list-style: none;
    padding: 0;
}

.dokan-profile-frame-wrapper .store-social li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transition: all 0.2s ease;
}

.dokan-profile-frame-wrapper .store-social li a:hover {
    background: var(--iso-color-primary, #e63946);
    transform: translateY(-1px);
}


/* ==========================================================================
   3. Pill Tabs
   ========================================================================== */

.dokan-store-tabs {
    background: #fff;
    border-bottom: 2px solid #f0f0f0;
    padding: 16px 24px 0;
}

.dokan-store-tabs ul.dokan-list-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0 0 16px;
    list-style: none;
}


/* Base pill */

.dokan-store-tabs ul.dokan-list-inline li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    line-height: 1.2;
    letter-spacing: 0.01em;
}


/* For Sale (green) */

.dokan-store-tabs ul.dokan-list-inline li[data-tab="for_sale"] a {
    background: #2d6a4f;
    color: #fff;
    border-color: #2d6a4f;
}

.dokan-store-tabs ul.dokan-list-inline li[data-tab="for_sale"] a:hover,
.dokan-store-tabs ul.dokan-list-inline li[data-tab="for_sale"].active a {
    background: #1b4332;
    border-color: #1b4332;
    color: #fff;
}


/* In Search Of (red) */

.dokan-store-tabs ul.dokan-list-inline li[data-tab="iso"] a {
    background: #e63946;
    color: #fff;
    border-color: #e63946;
}

.dokan-store-tabs ul.dokan-list-inline li[data-tab="iso"] a:hover,
.dokan-store-tabs ul.dokan-list-inline li[data-tab="iso"].active a {
    background: #c1121f;
    border-color: #c1121f;
    color: #fff;
}


/* Other tabs (Reviews, etc.) — neutral */

.dokan-store-tabs ul.dokan-list-inline li:not([data-tab="for_sale"]):not([data-tab="iso"]) a {
    background: #f5f5f5;
    color: #444;
    border-color: #e0e0e0;
}

.dokan-store-tabs ul.dokan-list-inline li:not([data-tab="for_sale"]):not([data-tab="iso"]) a:hover,
.dokan-store-tabs ul.dokan-list-inline li:not([data-tab="for_sale"]):not([data-tab="iso"]).active a {
    background: #1d3557;
    color: #fff;
    border-color: #1d3557;
}


/* Active glow */

.dokan-store-tabs ul.dokan-list-inline li.active a {
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
    transform: translateY(-1px);
}


/* Hide Dokan default tab underline */

.dokan-store-tabs ul.dokan-list-inline li a::after {
    display: none !important;
}

.dokan-store-tabs ul.dokan-modules-button {
    margin-bottom: 8px;
}

/* Hide the entire banner + store-info overlay regardless of Dokan layout setting.
   Profile info is already shown in the ISO sidebar profile card. */
.dokan-profile-frame-wrapper .profile-info-box {
    display: none !important;
}

.dokan-profile-frame-wrapper .profile-frame {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* ==========================================================================
   4. Product Grid
   ========================================================================== */

.dokan-single-store .seller-items {
    padding: 24px;
}


/* Force grid layout — overrides WooCommerce's default float/inline-block. */

.dokan-single-store .seller-items ul.products,
.dokan-single-store ul.products,
.dokan-store-products-area ul.products {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
    justify-items: stretch !important;
    justify-content: start !important;
}

.dokan-single-store .seller-items ul.products::before,
.dokan-single-store .seller-items ul.products::after,
.dokan-single-store ul.products::before,
.dokan-single-store ul.products::after,
.dokan-store-products-area ul.products::before,
.dokan-store-products-area ul.products::after {
    content: none !important;
    display: none !important;
}


/* Each product li fills its grid cell. Override WC's float/width/clear/inline-block.
   Card visual styling comes from .iso-sr-card in search-results.css. */

.dokan-single-store .seller-items ul.products li.product,
.dokan-single-store ul.products li.product,
.dokan-store-products-area ul.products li.product,
ul.products li.product.first,
ul.products li.product.last {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
    text-align: left !important;
    justify-self: stretch !important;
}

.dokan-single-store .seller-items ul.products li.product .iso-sr-card__seller .iso-sr-card__avatar,
.dokan-single-store ul.products li.product .iso-sr-card__seller .iso-sr-card__avatar,
.dokan-store-products-area ul.products li.product .iso-sr-card__seller .iso-sr-card__avatar {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    max-width: 28px !important;
    flex: 0 0 28px !important;
    object-fit: cover !important;
}

.dokan-single-store .seller-items ul.products li.product:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}


/* Hide WooCommerce default loop elements that the ISO card doesn't use:
   the auto-rendered title, price, add-to-cart, and onsale flag from any
   stray template paths. The ISO card renders its own equivalents. */

.dokan-single-store ul.products li.product .woocommerce-loop-product__title,
.dokan-single-store ul.products li.product>.price,
.dokan-single-store ul.products li.product>.button,
.dokan-single-store ul.products li.product>.added_to_cart,
.dokan-single-store ul.products li.product>.onsale {
    display: none !important;
}


/* Empty state */

.dokan-single-store .dokan-info {
    text-align: center;
    padding: 60px 24px;
    color: #888;
    font-size: 1rem;
}


/* ==========================================================================
   5. Sidebar Layout
   ========================================================================== */

#dokan-secondary.dokan-store-sidebar {
    background: transparent;
}

#dokan-secondary .dokan-widget-area {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#dokan-secondary .widget {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    padding: 20px;
    border: 1px solid #eee;
}


/* ==========================================================================
   5a. Profile Card (sidebar)
   ========================================================================== */

.iso-store-profile-card {
    text-align: center;
    padding: 32px 24px 28px !important;
    background: #f9f9f9 !important;
    border: 1px solid #eee !important;
}

.iso-profile-card__avatar {
    margin: 0 auto 18px;
    position: relative;
    display: inline-block;
}

.iso-profile-card__avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: none;
    background: #fff;
}

.iso-profile-card__name {
    font-size: 1.35rem;
    font-weight: 900;
    color: #1a1a2e;
    margin: 0 0 6px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.iso-profile-card__shop {
    font-size: 0.95rem;
    color: #444;
    margin: 0 0 6px;
    font-weight: 500;
}

.iso-profile-card__since {
    font-size: 0.82rem;
    color: var(--iso-color-primary, #e63946);
    margin: 0 0 10px;
    font-style: italic;
    font-weight: 400;
}

.iso-profile-card__location {
    font-size: 0.85rem;
    color: #555;
    margin: 0 0 12px;
}

.iso-profile-card__location i {
    color: #888;
    margin-right: 4px;
    font-size: 0.8rem;
}

.iso-profile-card__rating {
    font-size: 0.9rem;
    color: #ccc;
}

.iso-profile-card__rating .star-rating {
    display: inline-block;
    font-size: 1.1rem;
}


/* ==========================================================================
   6. Stats Widget (sidebar)
   ========================================================================== */

.iso-store-stats-widget {
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 12px;
    padding: 0 !important;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.iso-store-stats {
    list-style: none;
    margin: 0;
    padding: 0;
}

.iso-store-stats__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s ease;
}

.iso-store-stats__row:last-child {
    border-bottom: none;
}

.iso-store-stats__row:hover {
    background: #fafafa;
}

.iso-store-stats__label {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

.iso-store-stats__value {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    min-width: 40px;
    text-align: right;
}


/* ==========================================================================
   6a. Report Button (sidebar)
   ========================================================================== */

.iso-store-report-widget {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.iso-report-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border: 2px solid #e63946;
    border-radius: 50px;
    background: #fff;
    color: #e63946;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.iso-report-btn:hover {
    background: #e63946;
    color: #fff;
}

.iso-report-btn i {
    font-size: 14px;
}


/* ==========================================================================
   7. Hide ALL default Dokan / WP sidebar widgets (CSS fallback)
   ========================================================================== */

#dokan-secondary .widget_recent_entries,
#dokan-secondary .widget_recent_comments,
#dokan-secondary .widget_archive,
#dokan-secondary .widget_meta,
#dokan-secondary .widget_search,
#dokan-secondary .widget_block,
#dokan-secondary .dokan-store-menu,
#dokan-secondary .dokan-category-menu,
#dokan-secondary .dokan-store-location,
#dokan-secondary .dokan-store-contact,
#dokan-secondary .widget.dokan-store-widget.dokan_store_category_menu_widget {
    display: none !important;
}


/* ==========================================================================
   8. Pagination
   ========================================================================== */

.dokan-single-store .dokan-pagination-container {
    padding: 0 24px 24px;
}

.dokan-single-store .dokan-pagination li a,
.dokan-single-store .dokan-pagination li span {
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.875rem;
    border: 1px solid #e0e0e0;
    color: #444;
    transition: all 0.15s ease;
}

.dokan-single-store .dokan-pagination li.active span,
.dokan-single-store .dokan-pagination li a:hover {
    background: var(--iso-color-primary, #e63946);
    border-color: var(--iso-color-primary, #e63946);
    color: #fff;
}


/* ==========================================================================
   9. Mobile Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .dokan-store-wrap {
        padding: 10px;
        gap: 16px;
    }
    .dokan-profile-frame-wrapper .profile-info-img,
    .dokan-profile-frame-wrapper .profile-info-img.dummy-image {
        height: 160px;
    }
    .dokan-profile-frame-wrapper .profile-info-summery {
        padding: 14px 16px;
    }
    .dokan-profile-frame-wrapper .store-name {
        font-size: 1.1rem;
    }
    .dokan-store-tabs {
        padding: 12px 16px 0;
    }
    .dokan-store-tabs ul.dokan-list-inline {
        gap: 8px;
        padding-bottom: 12px;
    }
    .dokan-store-tabs ul.dokan-list-inline li a {
        padding: 8px 18px;
        font-size: 13px;
    }
    .dokan-single-store .seller-items {
        padding: 16px;
    }
    .dokan-single-store .seller-items ul.products {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }
    .dokan-single-store .seller-items ul.products li.product .iso-sr-card__img img {
        height: 140px;
    }
    .iso-store-profile-card {
        padding: 24px 16px 20px !important;
    }
    .iso-profile-card__avatar img {
        width: 80px;
        height: 80px;
    }
    .iso-profile-card__name {
        font-size: 1.15rem;
    }
    .iso-store-stats__row {
        padding: 14px 16px;
    }
    .iso-store-stats__label {
        font-size: 13px;
    }
    .iso-store-stats__value {
        font-size: 18px;
    }
    .iso-report-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .dokan-store-tabs ul.dokan-list-inline {
        flex-direction: column;
    }
    .dokan-store-tabs ul.dokan-list-inline li a {
        width: 100%;
        justify-content: center;
    }
}


/* ==========================================================================
   10. Polish — banner overlay, share button, tab spacing
   ========================================================================== */


/* Soften the banner overlay so the cover image is visible behind the info. */

.dokan-profile-frame-wrapper .profile-info-summery-wrapper {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.75) 100%) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}


/* Hide the duplicated avatar in the banner — sidebar already shows it. */

.dokan-profile-frame-wrapper .profile-img {
    display: none;
}

.dokan-profile-frame-wrapper .profile-info-summery {
    padding: 18px 28px;
}


/* Share / social row — tame the bare white box above the tabs. */

.dokan-store-tabs-wrapper,
.dokan-pro-store-share,
.dokan-store-share-bar {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}


/* Share button: align with the pill tabs visually. */

.dokan-share-btn,
.dokan-store-share-btn,
a[href*="share"].btn,
button.dokan-share-button {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 10px 22px !important;
    border-radius: 50px !important;
    background: #1d3557 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border: none !important;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.2s ease, transform 0.2s ease;
}

.dokan-share-btn:hover,
.dokan-store-share-btn:hover,
a[href*="share"].btn:hover,
button.dokan-share-button:hover {
    background: #14253d !important;
    transform: translateY(-1px);
}


/* Wrap the tabs row in a clean container. */

.dokan-store-tabs {
    border-bottom: none;
    background: transparent;
    padding: 16px 0 0;
}

.dokan-store-tabs ul.dokan-list-inline {
    padding-bottom: 0;
}


/* Lift the inner store wrap so it reads as a card on the page. */

.dokan-single-store .store-page-wrap {
    margin-top: 0;
}


/* Sidebar: tighten the top padding so the profile card aligns with the banner. */

#dokan-secondary {
    padding-top: 0;
}


/* Sidebar profile card — remove duplicated address since banner shows it. */

.iso-profile-card__location {
    display: none;
}


/* Reviews tab — match sizing of the colored pills. */

.dokan-store-tabs ul.dokan-list-inline li:not([data-tab="for_sale"]):not([data-tab="iso"]) a {
    padding: 10px 28px;
}


/* Search/sort row above the products. */

.dokan-single-store .seller-search-form {
    margin: 16px 0;
    display: flex;
    gap: 8px;
    align-items: center;
}

.dokan-single-store .seller-search-form input[type="text"] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
}

.dokan-single-store .seller-search-form input[type="submit"],
.dokan-single-store .seller-search-form button[type="submit"] {
    padding: 10px 20px;
    border-radius: 8px;
    background: var(--iso-color-primary, #e63946);
    color: #fff;
    border: none;
    font-weight: 600;
    cursor: pointer;
}

/* ==========================================================================
   12. Final Storefront UI Pass
   ========================================================================== */

.dokan-store-wrap {
    --iso-store-accent: #ef3340;
    --iso-store-accent-dark: #cb1f2f;
    --iso-store-ink: #131722;
    --iso-store-muted: #6d7485;
    --iso-store-line: #e8ebf1;
    --iso-store-soft: #f6f7fb;
    --iso-store-card-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    max-width: 1720px;
    gap: 36px;
    padding: 34px 24px 52px;
}

.dokan-store-wrap .dokan-store-sidebar,
.dokan-store-wrap #dokan-secondary {
    width: 340px !important;
    flex: 0 0 340px !important;
    max-width: 340px;
}

.dokan-store-wrap .store-page-wrap,
.dokan-store-wrap #dokan-primary,
.dokan-store-wrap > .dokan-clearfix {
    min-width: 0;
}

#dokan-secondary .dokan-widget-area {
    position: sticky;
    top: 28px;
    gap: 16px;
}

.iso-store-profile-card {
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.16), transparent 46%),
        linear-gradient(160deg, #1a1f2d 0%, #111522 58%, #191d2b 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.06) !important;
    border-radius: 28px !important;
    box-shadow: var(--iso-store-card-shadow) !important;
    padding: 34px 24px 24px !important;
    color: #fff;
    overflow: hidden;
}

.iso-store-profile-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(130deg, rgba(239, 51, 64, 0.22), transparent 36%),
        linear-gradient(315deg, rgba(124, 77, 255, 0.14), transparent 42%);
}

.iso-store-profile-card .iso-profile-card {
    position: relative;
    z-index: 1;
}

.iso-profile-card__avatar {
    margin-bottom: 18px;
}

.iso-profile-card__avatar img {
    width: 128px;
    height: 128px;
    border: 4px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
    background: #0d111b;
}

.iso-profile-card__name {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

.iso-profile-card__shop {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1.02rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.iso-profile-card__since {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.92rem;
    margin-bottom: 14px;
}

.iso-profile-card__location {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 18px;
}

.iso-profile-card__location i {
    color: #ff9aa1;
}

.iso-profile-card__rating {
    color: #ffb4ba;
}

.iso-profile-card__rating .text {
    display: none;
}

.iso-profile-card__rating .seller-rating,
.iso-profile-card__rating .star-rating {
    display: inline-block;
    filter: drop-shadow(0 6px 14px rgba(239, 51, 64, 0.18));
}

.iso-store-stats-widget {
    border: 1px solid var(--iso-store-line) !important;
    border-radius: 24px !important;
    box-shadow: var(--iso-store-card-shadow) !important;
    overflow: hidden;
}

.iso-store-stats__row {
    padding: 18px 22px;
    background: #fff;
}

.iso-store-stats__row:nth-child(odd) {
    background: #fbfcfe;
}

.iso-store-stats__label {
    color: var(--iso-store-muted);
    font-size: 14px;
    font-weight: 600;
}

.iso-store-stats__value {
    color: var(--iso-store-ink);
    font-size: 22px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.iso-report-btn {
    min-height: 56px;
    border-width: 2px;
    border-color: var(--iso-store-accent);
    border-radius: 999px;
    background: #fff;
    color: var(--iso-store-accent);
    box-shadow: 0 12px 26px rgba(239, 51, 64, 0.09);
    font-size: 15px;
    font-weight: 800;
}

.iso-report-btn:hover {
    background: var(--iso-store-accent);
    color: #fff;
}

.dokan-single-store .store-page-wrap {
    padding: 0;
}

.dokan-single-store .dokan-store-tabs {
    margin-bottom: 26px;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--iso-store-line);
}

.dokan-single-store .dokan-store-tabs ul.dokan-list-inline {
    gap: 28px;
}

.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li a,
.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li:not([data-tab="for_sale"]):not([data-tab="iso"]) a,
.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li[data-tab="for_sale"] a,
.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li[data-tab="iso"] a {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 0 14px !important;
    color: var(--iso-store-muted) !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    transition: color 0.18s ease;
}

.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li a:hover {
    color: var(--iso-store-ink) !important;
    transform: none !important;
}

.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li.active a {
    color: var(--iso-store-accent) !important;
}

.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li.active a::before {
    background: linear-gradient(90deg, var(--iso-store-accent), #ff6b76);
    height: 3px;
    border-radius: 999px;
}

.dokan-share-btn,
.dokan-store-share-btn,
a[href*="share"].btn,
button.dokan-share-button {
    min-height: 44px;
    padding: 0 24px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #7a4dff 0%, #5f35df 100%) !important;
    box-shadow: 0 14px 28px rgba(95, 53, 223, 0.2);
}

.dokan-single-store .woocommerce-result-count {
    float: left;
    color: var(--iso-store-muted);
    font-size: 15px;
    font-weight: 500;
    margin: 4px 0 20px;
}

.dokan-single-store .woocommerce-result-count strong,
.dokan-single-store .woocommerce-result-count b {
    color: var(--iso-store-accent);
    font-weight: 800;
}

.dokan-single-store form.woocommerce-ordering {
    float: right;
    margin: 0 0 18px;
}

.dokan-single-store form.woocommerce-ordering select {
    min-height: 48px;
    padding: 0 48px 0 18px;
    border: 1px solid var(--iso-store-line);
    border-radius: 999px;
    background: #fff;
    color: var(--iso-store-muted);
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.04);
}

.dokan-single-store .seller-search-form {
    clear: both;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 132px;
    gap: 14px;
    margin: 0 0 24px;
}

.dokan-single-store .seller-search-form input[type="text"] {
    min-height: 52px;
    padding: 0 18px;
    border: 1px solid var(--iso-store-line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    font-size: 15px;
}

.dokan-single-store .seller-search-form input[type="submit"],
.dokan-single-store .seller-search-form button[type="submit"] {
    min-height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, #7a4dff 0%, #5f35df 100%);
    box-shadow: 0 14px 28px rgba(95, 53, 223, 0.2);
    font-size: 15px;
    font-weight: 800;
}

.dokan-single-store .seller-items {
    padding: 0;
}

.dokan-single-store .seller-items ul.products,
.dokan-single-store ul.products,
.dokan-store-products-area ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
}

.dokan-single-store .seller-items ul.products li.product,
.dokan-single-store ul.products li.product,
.dokan-store-products-area ul.products li.product {
    border: 1px solid var(--iso-store-line);
    border-radius: 24px;
    background: #fff;
    overflow: hidden;
    box-shadow: var(--iso-store-card-shadow);
}

.dokan-single-store .seller-items ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.12);
}

.dokan-single-store .iso-sr-card {
    min-height: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.dokan-single-store .iso-sr-card__img {
    width: auto;
    margin: 14px 14px 0;
    border-radius: 18px;
    aspect-ratio: 1.15 / 1;
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.55), transparent 42%),
        linear-gradient(180deg, #f7f8fb 0%, #eef2f7 100%);
}

.dokan-single-store .iso-sr-card__badge {
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}

.dokan-single-store .iso-sr-card__body {
    padding: 18px 18px 10px;
    gap: 12px;
}

.dokan-single-store .iso-sr-card__title {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-height: 3.6em;
    margin: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
    font-size: 1.04rem;
    font-weight: 700;
    line-height: 1.42;
}

.dokan-single-store .iso-sr-card__type-label {
    font-weight: 500;
}

.dokan-single-store .iso-sr-card__type-label--for-sale,
.dokan-single-store .iso-sr-card__type-label--iso,
.dokan-single-store .iso-sr-card__price {
    color: var(--iso-store-accent);
}

.dokan-single-store .iso-sr-card__title-text {
    color: var(--iso-store-ink);
}

.dokan-single-store .iso-sr-card__meta-row {
    gap: 8px 14px;
    font-size: 0.88rem;
    color: var(--iso-store-muted);
}

.dokan-single-store .iso-sr-card__icon {
    color: #9aa3b2;
}

.dokan-single-store .iso-sr-card__footer {
    padding: 12px 18px 0;
    border-top: none;
}

.dokan-single-store .iso-sr-card__seller {
    padding: 0;
    margin: 0;
}

.dokan-single-store .iso-sr-card__seller-name {
    color: #616977;
    font-size: 0.92rem;
    font-weight: 600;
}

.dokan-single-store .iso-sr-card__price {
    font-size: 1.18rem;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.dokan-single-store .iso-sr-card__actions {
    padding: 18px;
}

.dokan-single-store .iso-sr-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    width: 100%;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--iso-store-accent) 0%, #ff4b57 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 16px 30px rgba(239, 51, 64, 0.22);
}

.dokan-single-store .iso-sr-card__cta:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--iso-store-accent-dark) 0%, #f23d4b 100%);
    transform: translateY(-1px);
}

@media (max-width: 1500px) {
    .dokan-single-store .seller-items ul.products,
    .dokan-single-store ul.products,
    .dokan-store-products-area ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 1120px) {
    .dokan-store-wrap {
        gap: 24px;
    }

    .dokan-store-wrap .dokan-store-sidebar,
    .dokan-store-wrap #dokan-secondary {
        width: 300px !important;
        flex: 0 0 300px !important;
        max-width: 300px;
    }

    .dokan-single-store .seller-items ul.products,
    .dokan-single-store ul.products,
    .dokan-store-products-area ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 900px) {
    #dokan-secondary .dokan-widget-area {
        position: static;
    }
}

@media (max-width: 768px) {
    .dokan-store-wrap {
        padding: 20px 12px 34px;
    }

    .dokan-store-wrap .dokan-store-sidebar,
    .dokan-store-wrap #dokan-secondary {
        width: 100% !important;
        flex: 1 1 100% !important;
        max-width: 100%;
    }

    .dokan-single-store .seller-search-form {
        grid-template-columns: 1fr;
    }

    .dokan-single-store .seller-items ul.products,
    .dokan-single-store ul.products,
    .dokan-store-products-area ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================================================
   13. Store Page Width Tight Layout
   ========================================================================== */

body.dokan-store #primary.content-area,
body.dokan-store #primary .site-main {
    max-width: 1320px !important;
    width: calc(100% - 40px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.dokan-store .dokan-store-wrap {
    max-width: 1320px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    gap: 0 !important;
    padding: 18px 0 24px !important;
}

body.dokan-store .dokan-store-wrap .dokan-store-sidebar,
body.dokan-store .dokan-store-wrap #dokan-secondary {
    width: 320px !important;
    flex: 0 0 320px !important;
    max-width: 320px !important;
    margin-right: 0 !important;
    padding-right: 0 !important;
}

body.dokan-store .dokan-store-wrap .store-page-wrap,
body.dokan-store .dokan-store-wrap #dokan-primary,
body.dokan-store .dokan-store-wrap > .dokan-clearfix {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

#dokan-secondary .dokan-widget-area {
    gap: 10px !important;
}

.dokan-single-store .seller-items {
    padding: 0 !important;
}

.dokan-single-store .seller-items ul.products,
.dokan-single-store ul.products,
.dokan-store-products-area ul.products {
    gap: 12px !important;
    margin: 0 !important;
}

/* ==========================================================================
   11. Store Page Refresh
   ========================================================================== */

.dokan-store-wrap {
    max-width: 1360px;
    gap: 28px;
    padding: 32px 20px 40px;
}

.dokan-store-wrap .dokan-store-sidebar,
.dokan-store-wrap #dokan-secondary {
    width: 310px !important;
    flex: 0 0 310px !important;
    max-width: 310px;
}

.dokan-single-store .store-page-wrap {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

#dokan-secondary .dokan-widget-area {
    gap: 12px;
}

.iso-store-profile-card {
    background: #f7f7f8 !important;
    border: 1px solid #efefef !important;
    border-radius: 22px !important;
    padding: 28px 18px 20px !important;
    box-shadow: none !important;
}

.iso-profile-card__avatar {
    margin-bottom: 16px;
}

.iso-profile-card__avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}

.iso-profile-card__name {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.iso-profile-card__shop {
    font-size: 1rem;
    color: #5f6773;
    margin-bottom: 10px;
}

.iso-profile-card__since {
    color: #8e95a3;
    font-style: normal;
    margin-bottom: 10px;
}

.iso-profile-card__location {
    display: block;
    color: #7c8492;
    margin-bottom: 14px;
}

.iso-profile-card__rating {
    color: #ef3340;
}

.iso-profile-card__rating .text {
    display: none;
}

.iso-profile-card__rating .seller-rating,
.iso-profile-card__rating .star-rating {
    display: inline-block;
}

.iso-store-stats-widget {
    border-radius: 18px;
    border: 1px solid #efefef !important;
    box-shadow: none !important;
}

.iso-store-stats__row {
    padding: 18px 20px;
    background: #fff;
}

.iso-store-stats__label {
    color: #616977;
    font-size: 14px;
}

.iso-store-stats__value {
    color: #111827;
    font-size: 18px;
    font-weight: 800;
}

.iso-report-btn {
    border-radius: 999px;
    border-color: #ef3340;
    color: #ef3340;
    font-weight: 700;
    background: #fff;
}

.dokan-single-store .dokan-store-tabs {
    padding: 0 0 18px;
    margin-bottom: 22px;
    border-bottom: 1px solid #e9edf2;
}

.dokan-single-store .dokan-store-tabs ul.dokan-list-inline {
    gap: 22px;
    align-items: flex-end;
}

.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li {
    margin: 0;
}

.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li a,
.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li:not([data-tab="for_sale"]):not([data-tab="iso"]) a,
.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li[data-tab="for_sale"] a,
.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li[data-tab="iso"] a {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 0 12px !important;
    color: #6b7280 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    position: relative;
}

.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li a:hover {
    color: #111827 !important;
    transform: none !important;
}

.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li.active a,
.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li[data-tab="for_sale"].active a,
.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li[data-tab="iso"].active a {
    color: #ef3340 !important;
    font-weight: 600 !important;
}

.dokan-single-store .dokan-store-tabs ul.dokan-list-inline li.active a::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    border-radius: 999px;
    background: #ef3340;
}

.dokan-single-store .woocommerce-result-count,
.dokan-single-store .seller-search-form,
.dokan-single-store .woocommerce-ordering {
    margin-top: 0;
    margin-bottom: 20px;
}

.dokan-single-store .woocommerce-result-count {
    float: left;
    color: #6b7280;
    font-size: 15px;
}

.dokan-single-store .woocommerce-result-count strong,
.dokan-single-store .woocommerce-result-count b {
    color: #ef3340;
    font-weight: 700;
}

.dokan-single-store form.woocommerce-ordering {
    float: right;
}

.dokan-single-store form.woocommerce-ordering select,
.dokan-single-store .seller-search-form input[type="text"] {
    border: 1px solid #e6e8ee;
    border-radius: 999px;
    background: #fff;
    min-height: 48px;
    box-shadow: none;
}

.dokan-single-store .seller-search-form {
    clear: both;
    display: flex;
    gap: 12px;
}

.dokan-single-store .seller-search-form input[type="text"] {
    border-radius: 12px;
    min-height: 50px;
    padding: 0 16px;
}

.dokan-single-store .seller-search-form input[type="submit"],
.dokan-single-store .seller-search-form button[type="submit"] {
    min-height: 50px;
    min-width: 120px;
    border-radius: 12px;
    background: linear-gradient(180deg, #7c4dff 0%, #6d3df0 100%);
}

.dokan-single-store .seller-items {
    padding: 0;
}

.dokan-single-store .seller-items ul.products,
.dokan-single-store ul.products,
.dokan-store-products-area ul.products {
    gap: 22px !important;
}

.dokan-single-store .seller-items ul.products li.product,
.dokan-single-store ul.products li.product,
.dokan-store-products-area ul.products li.product {
    border: 1px solid #e9edf2;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 6px 24px rgba(17, 24, 39, 0.04);
}

.dokan-single-store .seller-items ul.products li.product:hover {
    box-shadow: 0 12px 30px rgba(17, 24, 39, 0.08);
}

.dokan-single-store .iso-sr-card {
    min-height: 100%;
    border: none;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.dokan-single-store .iso-sr-card__img {
    margin: 14px 14px 0;
    width: auto;
    border-radius: 14px;
    aspect-ratio: 1.45 / 1;
    background: #f3f4f6;
}

.dokan-single-store .iso-sr-card__body {
    padding: 18px 16px 12px;
    gap: 10px;
}

.dokan-single-store .iso-sr-card__title {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
    font-size: 0.98rem;
    line-height: 1.45;
    min-height: 2.8em;
}

.dokan-single-store .iso-sr-card__type-label {
    font-weight: 500;
}

.dokan-single-store .iso-sr-card__type-label--for-sale,
.dokan-single-store .iso-sr-card__price {
    color: #ef3340;
}

.dokan-single-store .iso-sr-card__type-label--iso {
    color: #ef3340;
}

.dokan-single-store .iso-sr-card__title-text {
    color: #111827;
    font-weight: 600;
}

.dokan-single-store .iso-sr-card__meta-row {
    gap: 8px 14px;
    font-size: 0.85rem;
    color: #7b8493;
}

.dokan-single-store .iso-sr-card__footer {
    padding: 12px 16px 0;
    border-top: none;
}

.dokan-single-store .iso-sr-card__seller {
    padding: 0;
    margin: 0;
}

.dokan-single-store .iso-sr-card__seller-name {
    color: #6b7280;
    font-weight: 500;
}

.dokan-single-store .iso-sr-card__price {
    font-size: 1rem;
    font-weight: 700;
}

.dokan-single-store .iso-sr-card__actions {
    padding: 16px;
}

.dokan-single-store .iso-sr-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    border-radius: 999px;
    background: #ef3340;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.dokan-single-store .iso-sr-card__cta:hover {
    background: #d92b38;
    color: #fff;
    transform: translateY(-1px);
}

@media (max-width: 1024px) {
    .dokan-store-wrap .dokan-store-sidebar,
    .dokan-store-wrap #dokan-secondary {
        width: 280px !important;
        flex: 0 0 280px !important;
        max-width: 280px;
    }

    .dokan-single-store .seller-items ul.products,
    .dokan-single-store ul.products,
    .dokan-store-products-area ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .dokan-store-wrap {
        padding: 20px 12px 28px;
    }

    .dokan-single-store .dokan-store-tabs ul.dokan-list-inline {
        gap: 14px;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .dokan-single-store .dokan-store-tabs ul.dokan-list-inline li a {
        white-space: nowrap;
    }

    .dokan-single-store .woocommerce-result-count,
    .dokan-single-store form.woocommerce-ordering {
        float: none;
        display: block;
        width: 100%;
    }

    .dokan-single-store .seller-items ul.products,
    .dokan-single-store ul.products,
    .dokan-store-products-area ul.products {
        grid-template-columns: 1fr !important;
    }
}
