/* ==========================================================================
   Vendors & Stores Engine - Complete Frontend CSS
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. General Variables & Global Styles
   -------------------------------------------------------------------------- */
:root {
    --vendor-primary: #1877f2;
    --vendor-primary-hover: #1461cc;
    --vendor-text-dark: #222222;
    --vendor-text-muted: #666666;
    --vendor-bg-light: #f8f9fa;
    --vendor-border: #eaeaea;
    --vendor-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    --vendor-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.1);
    --vendor-radius: 8px;
}

.vendor-plugin-wrap {
    direction: rtl;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Base Button Style */
.vendor-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--vendor-primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(24, 119, 242, 0.2);
}

.vendor-btn:hover {
    background: var(--vendor-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(24, 119, 242, 0.35);
    color: #fff;
}

/* --------------------------------------------------------------------------
   2. Vendor Registration Form (Single Column Layout)
   -------------------------------------------------------------------------- */
.vendor-registration-wrapper {
    max-width: 500px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: var(--vendor-radius);
    box-shadow: var(--vendor-shadow);
    border: 1px solid var(--vendor-border);
    padding: 40px 35px;
    direction: rtl;
}

.vendor-registration-wrapper .main-title {
    text-align: center;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 26px;
    color: var(--vendor-text-dark);
}

.vendor-registration-wrapper .sub-title {
    text-align: center;
    color: var(--vendor-text-muted);
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.5;
}

.vendor-auth-form .form-row {
    margin-bottom: 20px;
}

.vendor-auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
    font-size: 14px;
}

.vendor-auth-form input[type="text"],
.vendor-auth-form input[type="email"],
.vendor-auth-form input[type="password"],
.vendor-auth-form select {
    width: 100%;
    height: 45px;
    padding: 0 15px;
    border: 1px solid #dcdcdc;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: #fafafa;
    box-sizing: border-box;
}

.vendor-auth-form input:focus,
.vendor-auth-form select:focus {
    border-color: var(--vendor-primary);
    background: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(24, 119, 242, 0.15);
}

.vendor-auth-form button[type="submit"] {
    width: 100%;
    height: 50px;
    margin-top: 15px;
    font-size: 16px;
}

/* --------------------------------------------------------------------------
   3. Store Directory / Vendors Mall (Grid & LinkedIn Style Cards)
   -------------------------------------------------------------------------- */
.stores-directory-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
    direction: rtl;
}

/* Search & Filter Bar */
.stores-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
    background: #fff;
    padding: 15px 20px;
    border-radius: var(--vendor-radius);
    box-shadow: var(--vendor-shadow);
    margin-bottom: 30px;
    border: 1px solid var(--vendor-border);
}

.stores-filter-bar .search-box {
    flex: 1;
    min-width: 250px;
    position: relative;
}

.stores-filter-bar .search-box input {
    width: 100%;
    height: 42px;
    padding: 0 15px 0 40px;
    border-radius: 30px;
    border: 1px solid #ddd;
    background: var(--vendor-bg-light);
}

.stores-filter-bar .sort-box select {
    height: 42px;
    padding: 0 15px;
    border-radius: 30px;
    border: 1px solid #ddd;
    background: var(--vendor-bg-light);
    min-width: 180px;
}

/* Store Grid */
.stores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Store Card (LinkedIn Style) */
.store-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--vendor-shadow);
    border: 1px solid var(--vendor-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.store-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--vendor-shadow-hover);
}

.store-card-banner {
    width: 100%;
    height: 120px;
    background-color: #e0e0e0;
    position: relative;
}

.store-card-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.store-card-body {
    padding: 0 20px 25px;
    position: relative;
    text-align: center;
    flex: 1;
}

/* Floating Logo */
.store-card-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #fff;
    background: #fff;
    margin: -40px auto 10px;
    /* Floats halfway into the banner */
    position: relative;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.store-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

.store-card-title {
    font-size: 18px;
    color: var(--vendor-text-dark);
    margin: 0 0 8px;
    font-weight: 700;
}

.store-card-excerpt {
    font-size: 14px;
    color: var(--vendor-text-muted);
    line-height: 1.5;
    margin: 0;
}

/* --------------------------------------------------------------------------
   4. Single Store Page
   -------------------------------------------------------------------------- */

/* Hero Banner */
.single-store-page {
    direction: rtl;
}

.store-hero {
    position: relative;
    width: 95%;
    max-width: 1600px;
    margin: 20px auto 0;
}

.store-hero-card {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.15);
}

.store-hero-card>img,
.store-hero-banner-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.store-hero-banner-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Text overlay: store name at bottom-right inside card (RTL: flex-start = visual right) */
.store-hero-text-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 0 110px 24px 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 100%);
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

.store-hero-name {
    color: #ffffff !important;
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    line-height: 2.1;
    position: relative;
    top: .6em;
}

/* Logo: circular badge floating at bottom-right, overlapping card edge */
.store-hero-logo {
    position: absolute;
    bottom: -15px;
    right: 24px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #fff;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
    z-index: 2;
}

.store-hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

/* Body layout */
.single-store-body {
    display: flex;
    gap: 28px;
    width: 95%;
    max-width: 1600px;
    margin: 30px auto;
    padding: 0;
    align-items: flex-start;
    direction: rtl;
}

.single-store-main {
    flex: 1;
    min-width: 0;
}

.single-store-sidebar {
    width: 260px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Filter Bar */
.store-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--vendor-border);
    border-radius: var(--vendor-radius);
    box-shadow: var(--vendor-shadow);
    padding: 12px 16px;
    margin-bottom: 24px;
    direction: rtl;
}

.store-filter-search {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 200px;
}

.store-filter-search input {
    flex: 1;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: var(--vendor-bg-light);
    font-size: 14px;
}

.store-search-btn {
    height: 40px;
    padding: 0 18px;
    font-size: 14px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
}

.store-filter-select select {
    height: 40px;
    padding: 0 12px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: var(--vendor-bg-light);
    font-size: 14px;
    min-width: 130px;
}

.store-filter-price {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.store-filter-price input {
    width: 70px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: var(--vendor-bg-light);
    font-size: 14px;
    text-align: center;
}

/* No products message */
.store-no-products {
    text-align: center;
    color: var(--vendor-text-muted);
    padding: 30px 0;
}

/* Sidebar panels */
.store-sidebar-panel {
    background: #fff;
    border: 1px solid var(--vendor-border);
    border-radius: var(--vendor-radius);
    box-shadow: var(--vendor-shadow);
    padding: 18px 16px;
}

.store-sidebar-panel h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--vendor-text-dark);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--vendor-border);
}

.sidebar-store-desc {
    font-size: 13px;
    color: var(--vendor-text-muted);
    line-height: 1.6;
    margin: 0 0 12px;
}

.sidebar-info-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 13px;
    color: #444;
    margin-bottom: 8px;
    line-height: 1.4;
}

.sidebar-info-icon {
    flex-shrink: 0;
    font-size: 15px;
    margin-top: 1px;
}

.sidebar-legal-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.store-legal-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--vendor-bg-light);
    color: #444;
    padding: 7px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.2s;
}

.store-legal-btn:hover {
    background: #e2e6ea;
    color: #000;
}

/* Sidebar shipping list */
.sidebar-shipping-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-shipping-list li {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #444;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-shipping-list li:last-child {
    border-bottom: none;
}

/* Sidebar map panel */
.store-sidebar-map {
    padding: 0 !important;
    overflow: hidden;
    border-radius: var(--vendor-radius);
}

.store-sidebar-map iframe {
    display: block;
    border-radius: var(--vendor-radius);
}

/* Contact form */
.store-contact-form input[type="text"],
.store-contact-form input[type="email"],
.store-contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    background: var(--vendor-bg-light);
    margin-bottom: 10px;
    box-sizing: border-box;
    direction: rtl;
    transition: border-color 0.2s;
}

.store-contact-form input:focus,
.store-contact-form textarea:focus {
    border-color: var(--vendor-primary);
    outline: none;
    background: #fff;
}

.store-contact-form textarea {
    resize: vertical;
    min-height: 90px;
}

.contact-submit-btn {
    width: 100%;
    justify-content: center;
    font-size: 14px;
    padding: 10px;
    border-radius: 6px;
}

.contact-form-msg {
    font-size: 13px;
    padding: 8px;
    border-radius: 4px;
    margin-bottom: 8px;
    text-align: center;
}



/* --------------------------------------------------------------------------
   5. Vendor Dashboard (My Account Tab)
   -------------------------------------------------------------------------- */
.vendor-dashboard-wrapper {
    direction: rtl;
}

/* Dashboard KPI Cards */
.vendor-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.vendor-stat-card {
    background: #fff;
    border: 1px solid var(--vendor-border);
    border-radius: var(--vendor-radius);
    padding: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.vendor-stat-card .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e7f3ff;
    color: var(--vendor-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-left: 15px;
}

.vendor-stat-card .stat-info h4 {
    margin: 0 0 5px;
    font-size: 13px;
    color: var(--vendor-text-muted);
    font-weight: normal;
}

.vendor-stat-card .stat-info .stat-value {
    font-size: 22px;
    font-weight: bold;
    color: var(--vendor-text-dark);
}

/* Dashboard Sections */
.vendor-panel-section {
    background: #fff;
    border: 1px solid var(--vendor-border);
    border-radius: var(--vendor-radius);
    padding: 25px;
    margin-bottom: 30px;
}

.vendor-panel-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--vendor-border);
    font-size: 18px;
}

/* Payouts Section */
.vendor-payout-box {
    background: #f8fff9;
    border: 1px solid #c3e6cb;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vendor-payout-balance {
    font-size: 16px;
    color: #155724;
}

.vendor-payout-balance strong {
    font-size: 24px;
    display: block;
    margin-top: 5px;
}

/* Editor Form in Dashboard */
.vendor-edit-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.vendor-edit-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.vendor-edit-form input[type="text"],
.vendor-edit-form input[type="email"],
.vendor-edit-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.vendor-upload-preview {
    border: 1px dashed #ccc;
    padding: 10px;
    text-align: center;
    border-radius: 6px;
    background: #fafafa;
    margin-bottom: 10px;
}

.vendor-upload-preview img {
    max-height: 80px;
    max-width: 100%;
}

/* --------------------------------------------------------------------------
   6. Alerts & Modals
   -------------------------------------------------------------------------- */
.vendor-alert {
    max-width: 500px;
    margin: 20px auto;
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 15px 20px;
    border-radius: 6px;
    text-align: center;
    font-weight: 500;
}

.vendor-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

.vendor-modal-box {
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    position: relative;
    animation: popIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.vendor-modal-box.elementor-content-box {
    padding: 0;
    max-width: 800px;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
}

.vendor-modal-box .close-btn-corner {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ffffff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 22px;
    line-height: 32px;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.vendor-modal-box .close-btn-corner:hover {
    background: #f1f1f1;
    color: #000;
    transform: scale(1.1);
}

@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* --------------------------------------------------------------------------
   8. Modern WooCommerce Product Cards (inside single store page)
   -------------------------------------------------------------------------- */
.single-store-main ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 20px !important;
    list-style: none !important;
    margin: 0 0 30px !important;
    padding: 0 !important;
}

.single-store-main ul.products li.product {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--vendor-border);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: auto !important;
}

.single-store-main ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

/* Product image fills full width */
.single-store-main ul.products li.product>a:first-child,
.single-store-main ul.products li.product .woocommerce-LoopProduct-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.single-store-main ul.products li.product img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    display: block;
    border-radius: 0;
    margin: 0 !important;
}

/* Text section inside card */
.single-store-main ul.products li.product .woocommerce-loop-product__title,
.single-store-main ul.products li.product h2 {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--vendor-text-dark) !important;
    padding: 12px 14px 4px !important;
    margin: 0 !important;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.single-store-main ul.products li.product .price {
    display: block;
    padding: 0 14px 10px !important;
    font-size: 14px !important;
    color: var(--vendor-primary) !important;
    font-weight: 700 !important;
}

.single-store-main ul.products li.product .price del {
    color: #aaa !important;
    font-weight: 400 !important;
    font-size: 12px !important;
    margin-inline-start: 4px;
}

/* Add to cart / View button */
.single-store-main ul.products li.product .button,
.single-store-main ul.products li.product a.button {
    display: block !important;
    margin: auto 14px 14px !important;
    padding: 9px 0 !important;
    text-align: center !important;
    background: var(--vendor-primary) !important;
    color: #fff !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: none !important;
    cursor: pointer;
    transition: background 0.2s ease;
    width: auto !important;
}

.single-store-main ul.products li.product .button:hover,
.single-store-main ul.products li.product a.button:hover {
    background: var(--vendor-primary-hover) !important;
}

/* Sale badge */
.single-store-main ul.products li.product .onsale {
    position: absolute;
    top: 10px;
    inset-inline-start: 10px;
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
}

.single-store-main ul.products li.product {
    position: relative;
}

@media (max-width: 900px) {
    .single-store-body {
        flex-direction: column;
    }

    .single-store-sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .vendor-edit-form .form-grid {
        grid-template-columns: 1fr;
    }

    .store-hero-card {
        height: 200px;
    }

    .store-hero-name {
        font-size: 22px;
    }

    .store-hero-logo {
        width: 60px;
        height: 60px;
        right: 16px;
    }

    .store-filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .store-filter-search {
        min-width: unset;
    }

    .store-filter-price {
        justify-content: center;
    }

    .stores-filter-bar {
        flex-direction: column;
    }

    .vendor-payout-box {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .vendor-registration-wrapper {
        padding: 30px 20px;
        margin: 20px 15px;
        border-radius: 8px;
    }
}

/* --------------------------------------------------------------------------
   9. Multi-Store Dashboard & Product Management
   -------------------------------------------------------------------------- */

.vd-back-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.vd-back-link {
    color: var(--vendor-primary);
    text-decoration: none;
    font-size: 14px;
}

.vd-back-link:hover { text-decoration: underline; }

.vd-store-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.vd-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border-bottom: 2px solid var(--vendor-border);
}

.vd-tab {
    padding: 10px 22px;
    text-decoration: none;
    color: var(--vendor-text-muted);
    font-weight: 500;
    font-size: 14px;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}

.vd-tab:hover { color: var(--vendor-primary); }

.vd-tab.active {
    color: var(--vendor-primary);
    border-bottom-color: var(--vendor-primary);
}

.vd-stores-header,
.vd-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.vd-stores-header h3,
.vd-products-header h3 {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.vd-store-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 20px;
}

.vd-store-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--vendor-border);
    border-radius: 10px;
    background: #fafafa;
}

.vd-store-card-logo {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #e9f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vd-store-card-logo img { width: 100%; height: 100%; object-fit: cover; }
.vd-store-card-logo-placeholder { font-size: 26px; }
.vd-store-card-info { flex: 1; }
.vd-store-card-info h4 { margin: 0 0 6px; font-size: 16px; font-weight: 600; }
.vd-store-card-meta { font-size: 13px; color: var(--vendor-text-muted); margin-right: 10px; }
.vd-store-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }

.vd-status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.vd-status-publish { background: #d4edda; color: #155724; }
.vd-status-draft   { background: #e2e3e5; color: #383d41; }
.vd-status-pending { background: #fff3cd; color: #856404; }

.vendor-btn-sm { padding: 7px 14px !important; font-size: 13px !important; }

.vendor-btn-outline {
    background: transparent !important;
    border: 1.5px solid var(--vendor-primary) !important;
    color: var(--vendor-primary) !important;
}

.vendor-btn-outline:hover {
    background: var(--vendor-primary) !important;
    color: #fff !important;
}

.vendor-btn-danger { background: #dc3545 !important; color: #fff !important; border: none !important; }
.vendor-btn-danger:hover { background: #c82333 !important; }

.vd-products-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
}

.vd-products-table th,
.vd-products-table td {
    padding: 10px 12px;
    text-align: right;
    border-bottom: 1px solid var(--vendor-border);
}

.vd-products-table th { background: #f8f9fa; font-weight: 600; color: var(--vendor-text-dark); }

.vd-products-table td:last-child { display: flex; gap: 8px; white-space: nowrap; }

#vd-product-form select { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 6px; }

.vd-type-toggle { display: flex; gap: 24px; margin-top: 6px; }

.vd-radio-label { display: flex; align-items: center; gap: 6px; cursor: pointer; font-weight: normal; }

.vd-variations-table { width: 100%; border-collapse: collapse; font-size: 13px; }

.vd-variations-table th,
.vd-variations-table td { padding: 8px 10px; text-align: right; border: 1px solid var(--vendor-border); }

.vd-variations-table th { background: #f8f9fa; font-weight: 600; }

.vd-variations-table input[type="number"] { width: 110px; padding: 5px 8px; border: 1px solid #ddd; border-radius: 4px; }

.vd-no-items { color: var(--vendor-text-muted); text-align: center; padding: 24px 0; }

@media (max-width: 600px) {
    .vd-store-card { flex-wrap: wrap; }
    .vd-store-card-actions { width: 100%; }
    .vd-tabs { overflow-x: auto; }
}