/**
 * Frontend Public Styles for WP Marketplace Pro
 * Estilos para el frontend público del marketplace
 *
 * @package WP_Marketplace_Pro
 * @since 1.0.0
 */

/* ==========================================================================
   1. Variables
   ========================================================================== */

:root {
    --wpmp-primary: #667eea;
    --wpmp-primary-dark: #5568d3;
    --wpmp-secondary: #764ba2;
    --wpmp-accent: #f093fb;
    --wpmp-success: #10b981;
    --wpmp-warning: #f59e0b;
    --wpmp-error: #ef4444;
    --wpmp-info: #3b82f6;
    --wpmp-text: #1f2937;
    --wpmp-text-light: #6b7280;
    --wpmp-text-muted: #9ca3af;
    --wpmp-border: #e5e7eb;
    --wpmp-bg: #ffffff;
    --wpmp-bg-light: #f9fafb;
    --wpmp-bg-dark: #f3f4f6;
    --wpmp-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --wpmp-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --wpmp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --wpmp-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --wpmp-radius: 8px;
    --wpmp-radius-lg: 12px;
    --wpmp-transition: all 0.3s ease;
}

/* ==========================================================================
   2. Vendor Badge
   ========================================================================== */

.wpmp-vendor-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--wpmp-primary);
    text-decoration: none;
    transition: var(--wpmp-transition);
}

.wpmp-vendor-badge:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    color: var(--wpmp-primary-dark);
    transform: translateY(-1px);
}

.wpmp-vendor-badge-icon {
    font-size: 4px;
}

.wpmp-vendor-badge.verified {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    color: var(--wpmp-success);
}

.wpmp-vendor-badge.verified:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.2) 100%);
}

/* ==========================================================================
   3. Product Card Enhancements
   ========================================================================== */

.wpmp-product-vendor-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--wpmp-border);
}

.wpmp-vendor-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.wpmp-vendor-name {
    font-size: 13px;
    color: var(--wpmp-text-light);
    text-decoration: none;
    transition: var(--wpmp-transition);
}

.wpmp-vendor-name:hover {
    color: var(--wpmp-primary);
}

/* ==========================================================================
   4. Vendors Directory
   ========================================================================== */

.wpmp-vendors-directory {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.wpmp-directory-header {
    text-align: center;
    margin-bottom: 50px;
}

.wpmp-directory-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--wpmp-text);
    margin: 0 0 15px;
}

.wpmp-directory-description {
    font-size: 18px;
    color: var(--wpmp-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.wpmp-directory-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.wpmp-directory-search {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.wpmp-search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid var(--wpmp-border);
    border-radius: var(--wpmp-radius);
    font-size: 15px;
    transition: var(--wpmp-transition);
}

.wpmp-search-input:focus {
    outline: none;
    border-color: var(--wpmp-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.wpmp-search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--wpmp-text-muted);
}

.wpmp-directory-filter-select {
    padding: 12px 40px 12px 15px;
    border: 2px solid var(--wpmp-border);
    border-radius: var(--wpmp-radius);
    font-size: 15px;
    background: var(--wpmp-bg);
    cursor: pointer;
    transition: var(--wpmp-transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.wpmp-directory-filter-select:focus {
    outline: none;
    border-color: var(--wpmp-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.wpmp-vendors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.wpmp-vendor-card {
    background: var(--wpmp-bg);
    border-radius: var(--wpmp-radius-lg);
    overflow: hidden;
    box-shadow: var(--wpmp-shadow);
    transition: var(--wpmp-transition);
    border: 2px solid transparent;
}

.wpmp-vendor-card:hover {
    box-shadow: var(--wpmp-shadow-lg);
    transform: translateY(-5px);
    border-color: var(--wpmp-primary);
}

.wpmp-vendor-card-banner {
    height: 120px;
    background: linear-gradient(135deg, var(--wpmp-primary) 0%, var(--wpmp-secondary) 100%);
    position: relative;
}

.wpmp-vendor-card-avatar-wrapper {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.wpmp-vendor-card-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--wpmp-bg);
    box-shadow: var(--wpmp-shadow);
}

.wpmp-vendor-card-body {
    padding: 50px 25px 25px;
    text-align: center;
}

.wpmp-vendor-card-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--wpmp-text);
    margin: 0 0 8px;
}

.wpmp-vendor-card-name a {
    color: inherit;
    text-decoration: none;
    transition: var(--wpmp-transition);
}

.wpmp-vendor-card-name a:hover {
    color: var(--wpmp-primary);
}

.wpmp-vendor-card-tagline {
    font-size: 14px;
    color: var(--wpmp-text-light);
    margin: 0 0 15px;
    line-height: 1.5;
}

.wpmp-vendor-card-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.wpmp-vendor-card-stars {
    display: flex;
    gap: 2px;
    color: #fbbf24;
    font-size: 16px;
}

.wpmp-vendor-card-rating-text {
    font-size: 14px;
    color: var(--wpmp-text-muted);
}

.wpmp-vendor-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid var(--wpmp-border);
    border-bottom: 1px solid var(--wpmp-border);
    margin-bottom: 20px;
}

.wpmp-vendor-stat {
    text-align: center;
}

.wpmp-vendor-stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--wpmp-text);
}

.wpmp-vendor-stat-label {
    display: block;
    font-size: 11px;
    color: var(--wpmp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.wpmp-vendor-card-actions {
    display: flex;
    gap: 10px;
}

.wpmp-vendor-card-btn {
    flex: 1;
    padding: 10px 20px;
    border-radius: var(--wpmp-radius);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    transition: var(--wpmp-transition);
}

.wpmp-vendor-card-btn.primary {
    background: linear-gradient(135deg, var(--wpmp-primary) 0%, var(--wpmp-secondary) 100%);
    color: var(--wpmp-bg);
    border: none;
}

.wpmp-vendor-card-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.wpmp-vendor-card-btn.secondary {
    background: transparent;
    color: var(--wpmp-primary);
    border: 2px solid var(--wpmp-primary);
}

.wpmp-vendor-card-btn.secondary:hover {
    background: var(--wpmp-primary);
    color: var(--wpmp-bg);
}

/* ==========================================================================
   5. Vendor Store Link
   ========================================================================== */

.wpmp-store-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--wpmp-bg-light);
    border-radius: var(--wpmp-radius);
    color: var(--wpmp-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--wpmp-transition);
}

.wpmp-store-link:hover {
    background: var(--wpmp-primary);
    color: var(--wpmp-bg);
    transform: translateX(3px);
}

.wpmp-store-link-icon {
    font-size: 16px;
}

/* ==========================================================================
   6. Featured Vendors Section
   ========================================================================== */

.wpmp-featured-vendors {
    padding: 60px 20px;
    background: var(--wpmp-bg-light);
}

.wpmp-featured-container {
    max-width: 1200px;
    margin: 0 auto;
}

.wpmp-featured-header {
    text-align: center;
    margin-bottom: 40px;
}

.wpmp-featured-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--wpmp-text);
    margin: 0 0 10px;
}

.wpmp-featured-subtitle {
    font-size: 16px;
    color: var(--wpmp-text-light);
}

.wpmp-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* ==========================================================================
   7. Vendor Registration Form
   ========================================================================== */

.wpmp-registration-form {
    max-width: 800px;
    margin: 80px auto;
    padding: 40px;
    background: var(--wpmp-bg);
    border-radius: var(--wpmp-radius-lg);
    border: 2px solid rgba(0, 0, 0, 0.12);
}

.wpmp-registration-header {
    text-align: center;
    margin-bottom: 30px;
}

.wpmp-registration-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--wpmp-text);
    margin: 0 0 10px;
}

.wpmp-registration-description {
    font-size: 15px;
    color: var(--wpmp-text-light);
}

.wpmp-form-step {
    margin-bottom: 30px;
}

.wpmp-step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.wpmp-step-number {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--wpmp-primary) 0%, var(--wpmp-secondary) 100%);
    color: var(--wpmp-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.wpmp-step-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--wpmp-text);
    margin: 0;
}

.wpmp-form-group {
    margin-bottom: 20px;
}

.wpmp-form-label {
    display: block;
    font-weight: 600;
    color: var(--wpmp-text);
    margin-bottom: 8px;
    font-size: 14px;
}

.wpmp-form-label.required::after {
    content: " *";
    color: var(--wpmp-error);
}

.wpmp-form-input,
.wpmp-form-select,
.wpmp-form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--wpmp-border);
    border-radius: var(--wpmp-radius);
    font-size: 15px;
    transition: var(--wpmp-transition);
    font-family: inherit;
}

.wpmp-form-input:focus,
.wpmp-form-select:focus,
.wpmp-form-textarea:focus {
    outline: none;
    border-color: var(--wpmp-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.wpmp-form-textarea {
    min-height: 100px;
    resize: vertical;
}

.wpmp-form-help {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--wpmp-text-muted);
}

.wpmp-form-error {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--wpmp-error);
}

.wpmp-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.wpmp-form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.wpmp-form-checkbox label {
    font-size: 14px;
    color: var(--wpmp-text);
    cursor: pointer;
    line-height: 1.5;
}

.wpmp-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.wpmp-form-submit {
    flex: 1;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--wpmp-primary) 0%, var(--wpmp-secondary) 100%);
    color: var(--wpmp-bg);
    border: none;
    border-radius: var(--wpmp-radius);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--wpmp-transition);
}

.wpmp-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.wpmp-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.wpmp-form-back {
    padding: 14px 28px;
    background: var(--wpmp-bg-light);
    color: var(--wpmp-text);
    border: 2px solid var(--wpmp-border);
    border-radius: var(--wpmp-radius);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--wpmp-transition);
}

.wpmp-form-back:hover {
    background: var(--wpmp-bg-dark);
    border-color: var(--wpmp-text-light);
}

/* ==========================================================================
   8. Vendor Widget (Sidebar)
   ========================================================================== */

.wpmp-vendor-widget {
    background: var(--wpmp-bg);
    border-radius: var(--wpmp-radius-lg);
    padding: 25px;
    box-shadow: var(--wpmp-shadow);
    margin-bottom: 30px;
}

.wpmp-widget-vendor-header {
    text-align: center;
    margin-bottom: 20px;
}

.wpmp-widget-vendor-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--wpmp-bg-light);
}

.wpmp-widget-vendor-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--wpmp-text);
    margin: 0 0 8px;
}

.wpmp-widget-vendor-name a {
    color: inherit;
    text-decoration: none;
    transition: var(--wpmp-transition);
}

.wpmp-widget-vendor-name a:hover {
    color: var(--wpmp-primary);
}

.wpmp-widget-vendor-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px 0;
    border-top: 1px solid var(--wpmp-border);
    border-bottom: 1px solid var(--wpmp-border);
    margin-bottom: 20px;
}

.wpmp-widget-stat {
    text-align: center;
}

.wpmp-widget-stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--wpmp-text);
}

.wpmp-widget-stat-label {
    display: block;
    font-size: 11px;
    color: var(--wpmp-text-muted);
    text-transform: uppercase;
    margin-top: 4px;
}

.wpmp-widget-vendor-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wpmp-widget-btn {
    padding: 10px 20px;
    border-radius: var(--wpmp-radius);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    transition: var(--wpmp-transition);
}

.wpmp-widget-btn.primary {
    background: linear-gradient(135deg, var(--wpmp-primary) 0%, var(--wpmp-secondary) 100%);
    color: var(--wpmp-bg);
}

.wpmp-widget-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.wpmp-widget-btn.secondary {
    background: var(--wpmp-bg-light);
    color: var(--wpmp-text);
    border: 2px solid var(--wpmp-border);
}

.wpmp-widget-btn.secondary:hover {
    background: var(--wpmp-bg-dark);
    border-color: var(--wpmp-primary);
    color: var(--wpmp-primary);
}

/* ==========================================================================
   9. Reviews & Ratings
   ========================================================================== */

.wpmp-reviews-section {
    margin-top: 40px;
}

.wpmp-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.wpmp-reviews-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--wpmp-text);
    margin: 0;
}

.wpmp-write-review-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--wpmp-primary) 0%, var(--wpmp-secondary) 100%);
    color: var(--wpmp-bg);
    border: none;
    border-radius: var(--wpmp-radius);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--wpmp-transition);
    text-decoration: none;
}

.wpmp-write-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.wpmp-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wpmp-review-item {
    padding: 25px;
    background: var(--wpmp-bg);
    border-radius: var(--wpmp-radius-lg);
    box-shadow: var(--wpmp-shadow-sm);
    border: 1px solid var(--wpmp-border);
}

.wpmp-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.wpmp-reviewer-info {
    display: flex;
    gap: 15px;
}

.wpmp-reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.wpmp-reviewer-details {
    flex: 1;
}

.wpmp-reviewer-name {
    font-weight: 600;
    color: var(--wpmp-text);
    margin-bottom: 4px;
}

.wpmp-review-date {
    font-size: 13px;
    color: var(--wpmp-text-muted);
}

.wpmp-review-rating {
    display: flex;
    gap: 3px;
    color: #fbbf24;
    font-size: 16px;
}

.wpmp-review-content {
    font-size: 15px;
    line-height: 1.6;
    color: var(--wpmp-text);
}

.wpmp-review-helpful {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--wpmp-border);
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 14px;
    color: var(--wpmp-text-muted);
}

.wpmp-helpful-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: var(--wpmp-bg-light);
    border: 1px solid var(--wpmp-border);
    border-radius: var(--wpmp-radius);
    color: var(--wpmp-text);
    cursor: pointer;
    transition: var(--wpmp-transition);
    font-size: 13px;
}

.wpmp-helpful-btn:hover {
    background: var(--wpmp-bg-dark);
    border-color: var(--wpmp-primary);
    color: var(--wpmp-primary);
}

.wpmp-helpful-btn.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: var(--wpmp-primary);
    color: var(--wpmp-primary);
}

/* ==========================================================================
   10. Alerts & Messages
   ========================================================================== */

.wpmp-alert {
    padding: 15px 20px;
    border-radius: var(--wpmp-radius);
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.wpmp-alert-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    font-size: 18px;
}

.wpmp-alert-content {
    flex: 1;
}

.wpmp-alert-title {
    font-weight: 600;
    margin: 0 0 5px;
}

.wpmp-alert-message {
    margin: 0;
    font-size: 14px;
}

.wpmp-alert.success {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--wpmp-success);
    color: #065f46;
}

.wpmp-alert.error {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid var(--wpmp-error);
    color: #991b1b;
}

.wpmp-alert.warning {
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid var(--wpmp-warning);
    color: #92400e;
}

.wpmp-alert.info {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid var(--wpmp-info);
    color: #1e40af;
}

/* ==========================================================================
   11. Breadcrumbs
   ========================================================================== */

.wpmp-breadcrumbs {
    padding: 15px 0;
    margin-bottom: 20px;
}

.wpmp-breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.wpmp-breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.wpmp-breadcrumb-link {
    color: var(--wpmp-text-light);
    text-decoration: none;
    transition: var(--wpmp-transition);
}

.wpmp-breadcrumb-link:hover {
    color: var(--wpmp-primary);
}

.wpmp-breadcrumb-separator {
    color: var(--wpmp-text-muted);
}

.wpmp-breadcrumb-item.active {
    color: var(--wpmp-text);
    font-weight: 600;
}

/**
 * Frontend Public Styles for WP Marketplace Pro
 * Estilos para el frontend público del marketplace
 *
 * @package WP_Marketplace_Pro
 * @since 1.0.0
 */

/* ==========================================================================
   1. Variables
   ========================================================================== */

:root {
    --wpmp-primary: #667eea;
    --wpmp-primary-dark: #5568d3;
    --wpmp-secondary: #764ba2;
    --wpmp-accent: #f093fb;
    --wpmp-success: #10b981;
    --wpmp-warning: #f59e0b;
    --wpmp-error: #ef4444;
    --wpmp-info: #3b82f6;
    --wpmp-text: #1f2937;
    --wpmp-text-light: #6b7280;
    --wpmp-text-muted: #9ca3af;
    --wpmp-border: #e5e7eb;
    --wpmp-bg: #ffffff;
    --wpmp-bg-light: #f9fafb;
    --wpmp-bg-dark: #f3f4f6;
    --wpmp-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --wpmp-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --wpmp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --wpmp-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --wpmp-radius: 8px;
    --wpmp-radius-lg: 12px;
    --wpmp-transition: all 0.3s ease;
}

/* ==========================================================================
   2. Vendor Badge
   ========================================================================== */

.wpmp-vendor-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--wpmp-primary);
    text-decoration: none;
    transition: var(--wpmp-transition);
}

.wpmp-vendor-badge:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    color: var(--wpmp-primary-dark);
    transform: translateY(-1px);
}

.wpmp-vendor-badge-icon {
    font-size: 14px;
}

.wpmp-vendor-badge.verified {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    color: var(--wpmp-success);
}

.wpmp-vendor-badge.verified:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.2) 100%);
}

/* ==========================================================================
   3. Product Card Enhancements
   ========================================================================== */

.wpmp-product-vendor-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--wpmp-border);
}

.wpmp-vendor-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.wpmp-vendor-name {
    font-size: 13px;
    color: var(--wpmp-text-light);
    text-decoration: none;
    transition: var(--wpmp-transition);
}

.wpmp-vendor-name:hover {
    color: var(--wpmp-primary);
}

/* ==========================================================================
   4. Vendors Directory
   ========================================================================== */

.wpmp-vendors-directory {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.wpmp-directory-header {
    text-align: center;
    margin-bottom: 50px;
}

.wpmp-directory-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--wpmp-text);
    margin: 0 0 15px;
}

.wpmp-directory-description {
    font-size: 18px;
    color: var(--wpmp-text-light);
    max-width: 600px;
    margin: 0 auto;
}

.wpmp-directory-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.wpmp-directory-search {
    flex: 1;
    min-width: 300px;
    position: relative;
}

.wpmp-search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid var(--wpmp-border);
    border-radius: var(--wpmp-radius);
    font-size: 15px;
    transition: var(--wpmp-transition);
}

.wpmp-search-input:focus {
    outline: none;
    border-color: var(--wpmp-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.wpmp-search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--wpmp-text-muted);
}

.wpmp-directory-filter-select {
    padding: 12px 40px 12px 15px;
    border: 2px solid var(--wpmp-border);
    border-radius: var(--wpmp-radius);
    font-size: 15px;
    background: var(--wpmp-bg);
    cursor: pointer;
    transition: var(--wpmp-transition);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.wpmp-directory-filter-select:focus {
    outline: none;
    border-color: var(--wpmp-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.wpmp-vendors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.wpmp-vendor-card {
    background: var(--wpmp-bg);
    border-radius: var(--wpmp-radius-lg);
    overflow: hidden;
    box-shadow: var(--wpmp-shadow);
    transition: var(--wpmp-transition);
    border: 2px solid transparent;
}

.wpmp-vendor-card:hover {
    box-shadow: var(--wpmp-shadow-lg);
    transform: translateY(-5px);
    border-color: var(--wpmp-primary);
}

.wpmp-vendor-card-banner {
    height: 120px;
    background: linear-gradient(135deg, var(--wpmp-primary) 0%, var(--wpmp-secondary) 100%);
    position: relative;
}

.wpmp-vendor-card-avatar-wrapper {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.wpmp-vendor-card-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--wpmp-bg);
    box-shadow: var(--wpmp-shadow);
}

.wpmp-vendor-card-body {
    padding: 50px 25px 25px;
    text-align: center;
}

.wpmp-vendor-card-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--wpmp-text);
    margin: 0 0 8px;
}

.wpmp-vendor-card-name a {
    color: inherit;
    text-decoration: none;
    transition: var(--wpmp-transition);
}

.wpmp-vendor-card-name a:hover {
    color: var(--wpmp-primary);
}

.wpmp-vendor-card-tagline {
    font-size: 14px;
    color: var(--wpmp-text-light);
    margin: 0 0 15px;
    line-height: 1.5;
}

.wpmp-vendor-card-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

.wpmp-vendor-card-stars {
    display: flex;
    gap: 2px;
    color: #fbbf24;
    font-size: 16px;
}

.wpmp-vendor-card-rating-text {
    font-size: 14px;
    color: var(--wpmp-text-muted);
}

.wpmp-vendor-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid var(--wpmp-border);
    border-bottom: 1px solid var(--wpmp-border);
    margin-bottom: 20px;
}

.wpmp-vendor-stat {
    text-align: center;
}

.wpmp-vendor-stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--wpmp-text);
}

.wpmp-vendor-stat-label {
    display: block;
    font-size: 11px;
    color: var(--wpmp-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.wpmp-vendor-card-actions {
    display: flex;
    gap: 10px;
}

.wpmp-vendor-card-btn {
    flex: 1;
    padding: 10px 20px;
    border-radius: var(--wpmp-radius);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    transition: var(--wpmp-transition);
}

.wpmp-vendor-card-btn.primary {
    background: linear-gradient(135deg, var(--wpmp-primary) 0%, var(--wpmp-secondary) 100%);
    color: var(--wpmp-bg);
    border: none;
}

.wpmp-vendor-card-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.wpmp-vendor-card-btn.secondary {
    background: transparent;
    color: var(--wpmp-primary);
    border: 2px solid var(--wpmp-primary);
}

.wpmp-vendor-card-btn.secondary:hover {
    background: var(--wpmp-primary);
    color: var(--wpmp-bg);
}

/* ==========================================================================
   5. Vendor Store Link
   ========================================================================== */

.wpmp-store-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--wpmp-bg-light);
    border-radius: var(--wpmp-radius);
    color: var(--wpmp-text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--wpmp-transition);
}

.wpmp-store-link:hover {
    background: var(--wpmp-primary);
    color: var(--wpmp-bg);
    transform: translateX(3px);
}

.wpmp-store-link-icon {
    font-size: 16px;
}

/* ==========================================================================
   6. Featured Vendors Section
   ========================================================================== */

.wpmp-featured-vendors {
    padding: 60px 20px;
    background: var(--wpmp-bg-light);
}

.wpmp-featured-container {
    max-width: 1200px;
    margin: 0 auto;
}

.wpmp-featured-header {
    text-align: center;
    margin-bottom: 40px;
}

.wpmp-featured-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--wpmp-text);
    margin: 0 0 10px;
}

.wpmp-featured-subtitle {
    font-size: 16px;
    color: var(--wpmp-text-light);
}

.wpmp-featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* ==========================================================================
   7. Vendor Registration Form
   ========================================================================== */

.wpmp-registration-form {
    max-width: 600px;
    margin: 40px auto;
    padding: 40px;
    background: var(--wpmp-bg);
    border-radius: var(--wpmp-radius-lg);
    box-shadow: var(--wpmp-shadow-lg);
}

.wpmp-registration-header {
    text-align: center;
    margin-bottom: 30px;
}

.wpmp-registration-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--wpmp-text);
    margin: 0 0 10px;
}

.wpmp-registration-description {
    font-size: 15px;
    color: var(--wpmp-text-light);
}

.wpmp-form-step {
    margin-bottom: 30px;
}

.wpmp-step-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.wpmp-step-number {
    width: 35px;
    height: 35px;
    background: linear-gradient(135deg, var(--wpmp-primary) 0%, var(--wpmp-secondary) 100%);
    color: var(--wpmp-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

.wpmp-step-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--wpmp-text);
    margin: 0;
}

.wpmp-form-group {
    margin-bottom: 20px;
}

.wpmp-form-label {
    display: block;
    font-weight: 600;
    color: var(--wpmp-text);
    margin-bottom: 8px;
    font-size: 14px;
}

.wpmp-form-label.required::after {
    content: " *";
    color: var(--wpmp-error);
}

.wpmp-form-input,
.wpmp-form-select,
.wpmp-form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--wpmp-border);
    border-radius: var(--wpmp-radius);
    font-size: 15px;
    transition: var(--wpmp-transition);
    font-family: inherit;
}

.wpmp-form-input:focus,
.wpmp-form-select:focus,
.wpmp-form-textarea:focus {
    outline: none;
    border-color: var(--wpmp-primary);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.wpmp-form-textarea {
    min-height: 100px;
    resize: vertical;
}

.wpmp-form-help {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--wpmp-text-muted);
}

.wpmp-form-error {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--wpmp-error);
}

.wpmp-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.wpmp-form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.wpmp-form-checkbox label {
    font-size: 14px;
    color: var(--wpmp-text);
    cursor: pointer;
    line-height: 1.5;
}

.wpmp-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.wpmp-form-submit {
    flex: 1;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--wpmp-primary) 0%, var(--wpmp-secondary) 100%);
    color: var(--wpmp-bg);
    border: none;
    border-radius: var(--wpmp-radius);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--wpmp-transition);
}

.wpmp-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.wpmp-form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.wpmp-form-back {
    padding: 14px 28px;
    background: var(--wpmp-bg-light);
    color: var(--wpmp-text);
    border: 2px solid var(--wpmp-border);
    border-radius: var(--wpmp-radius);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: var(--wpmp-transition);
}

.wpmp-form-back:hover {
    background: var(--wpmp-bg-dark);
    border-color: var(--wpmp-text-light);
}

/* ==========================================================================
   8. Vendor Widget (Sidebar)
   ========================================================================== */

.wpmp-vendor-widget {
    background: var(--wpmp-bg);
    border-radius: var(--wpmp-radius-lg);
    padding: 25px;
    box-shadow: var(--wpmp-shadow);
    margin-bottom: 30px;
}

.wpmp-widget-vendor-header {
    text-align: center;
    margin-bottom: 20px;
}

.wpmp-widget-vendor-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid var(--wpmp-bg-light);
}

.wpmp-widget-vendor-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--wpmp-text);
    margin: 0 0 8px;
}

.wpmp-widget-vendor-name a {
    color: inherit;
    text-decoration: none;
    transition: var(--wpmp-transition);
}

.wpmp-widget-vendor-name a:hover {
    color: var(--wpmp-primary);
}

.wpmp-widget-vendor-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px 0;
    border-top: 1px solid var(--wpmp-border);
    border-bottom: 1px solid var(--wpmp-border);
    margin-bottom: 20px;
}

.wpmp-widget-stat {
    text-align: center;
}

.wpmp-widget-stat-value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--wpmp-text);
}

.wpmp-widget-stat-label {
    display: block;
    font-size: 11px;
    color: var(--wpmp-text-muted);
    text-transform: uppercase;
    margin-top: 4px;
}

.wpmp-widget-vendor-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wpmp-widget-btn {
    padding: 10px 20px;
    border-radius: var(--wpmp-radius);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    text-align: center;
    transition: var(--wpmp-transition);
}

.wpmp-widget-btn.primary {
    background: linear-gradient(135deg, var(--wpmp-primary) 0%, var(--wpmp-secondary) 100%);
    color: var(--wpmp-bg);
}

.wpmp-widget-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.wpmp-widget-btn.secondary {
    background: var(--wpmp-bg-light);
    color: var(--wpmp-text);
    border: 2px solid var(--wpmp-border);
}

.wpmp-widget-btn.secondary:hover {
    background: var(--wpmp-bg-dark);
    border-color: var(--wpmp-primary);
    color: var(--wpmp-primary);
}

/* ==========================================================================
   9. Reviews & Ratings
   ========================================================================== */

.wpmp-reviews-section {
    margin-top: 40px;
}

.wpmp-reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.wpmp-reviews-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--wpmp-text);
    margin: 0;
}

.wpmp-write-review-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--wpmp-primary) 0%, var(--wpmp-secondary) 100%);
    color: var(--wpmp-bg);
    border: none;
    border-radius: var(--wpmp-radius);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--wpmp-transition);
    text-decoration: none;
}

.wpmp-write-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.wpmp-reviews-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wpmp-review-item {
    padding: 25px;
    background: var(--wpmp-bg);
    border-radius: var(--wpmp-radius-lg);
    box-shadow: var(--wpmp-shadow-sm);
    border: 1px solid var(--wpmp-border);
}

.wpmp-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.wpmp-reviewer-info {
    display: flex;
    gap: 15px;
}

.wpmp-reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.wpmp-reviewer-details {
    flex: 1;
}

.wpmp-reviewer-name {
    font-weight: 600;
    color: var(--wpmp-text);
    margin-bottom: 4px;
}

.wpmp-review-date {
    font-size: 13px;
    color: var(--wpmp-text-muted);
}

.wpmp-review-rating {
    display: flex;
    gap: 3px;
    color: #fbbf24;
    font-size: 16px;
}

.wpmp-review-content {
    font-size: 15px;
    line-height: 1.6;
    color: var(--wpmp-text);
}

.wpmp-review-helpful {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--wpmp-border);
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 14px;
    color: var(--wpmp-text-muted);
}

.wpmp-helpful-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: var(--wpmp-bg-light);
    border: 1px solid var(--wpmp-border);
    border-radius: var(--wpmp-radius);
    color: var(--wpmp-text);
    cursor: pointer;
    transition: var(--wpmp-transition);
    font-size: 13px;
}

.wpmp-helpful-btn:hover {
    background: var(--wpmp-bg-dark);
    border-color: var(--wpmp-primary);
    color: var(--wpmp-primary);
}

.wpmp-helpful-btn.active {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-color: var(--wpmp-primary);
    color: var(--wpmp-primary);
}

/* ==========================================================================
   10. Alerts & Messages
   ========================================================================== */

.wpmp-alert {
    padding: 15px 20px;
    border-radius: var(--wpmp-radius);
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.wpmp-alert-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    font-size: 18px;
}

.wpmp-alert-content {
    flex: 1;
}

.wpmp-alert-title {
    font-weight: 600;
    margin: 0 0 5px;
}

.wpmp-alert-message {
    margin: 0;
    font-size: 14px;
}

.wpmp-alert.success {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--wpmp-success);
    color: #065f46;
}

.wpmp-alert.error {
    background: rgba(239, 68, 68, 0.1);
    border-left: 4px solid var(--wpmp-error);
    color: #991b1b;
}

.wpmp-alert.warning {
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid var(--wpmp-warning);
    color: #92400e;
}

.wpmp-alert.info {
    background: rgba(59, 130, 246, 0.1);
    border-left: 4px solid var(--wpmp-info);
    color: #1e40af;
}

/* ==========================================================================
   11. Breadcrumbs
   ========================================================================== */

.wpmp-breadcrumbs {
    padding: 15px 0;
    margin-bottom: 20px;
}

.wpmp-breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.wpmp-breadcrumb-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.wpmp-breadcrumb-link {
    color: var(--wpmp-text-light);
    text-decoration: none;
    transition: var(--wpmp-transition);
}

.wpmp-breadcrumb-link:hover {
    color: var(--wpmp-primary);
}

.wpmp-breadcrumb-separator {
    color: var(--wpmp-text-muted);
}

.wpmp-breadcrumb-item.active {
    color: var(--wpmp-text);
    font-weight: 600;
}

/* ==========================================================================
   12. Pagination
   ========================================================================== */

.wpmp-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px 0;
}

.wpmp-pagination-btn {
    padding: 10px 16px;
    background: var(--wpmp-bg);
    border: 2px solid var(--wpmp-border);
    border-radius: var(--wpmp-radius);
    color: var(--wpmp-text);
    font-weight: 600;
    cursor: pointer;
    transition: var(--wpmp-transition);
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
}

.wpmp-pagination-btn:hover {
    border-color: var(--wpmp-primary);
    color: var(--wpmp-primary);
    background: rgba(102, 126, 234, 0.05);
}

.wpmp-pagination-btn.active {
    background: linear-gradient(135deg, var(--wpmp-primary) 0%, var(--wpmp-secondary) 100%);
    border-color: var(--wpmp-primary);
    color: var(--wpmp-bg);
}

.wpmp-pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wpmp-pagination-btn:disabled:hover {
    border-color: var(--wpmp-border);
    color: var(--wpmp-text);
    background: var(--wpmp-bg);
}

/* ==========================================================================
   13. Loading States
   ========================================================================== */

.wpmp-loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid var(--wpmp-border);
    border-top-color: var(--wpmp-primary);
    border-radius: 50%;
    animation: wpmp-spin 0.8s linear infinite;
}

@keyframes wpmp-spin {
    to {
        transform: rotate(360deg);
    }
}

.wpmp-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.wpmp-loading-text {
    margin-top: 20px;
    font-size: 16px;
    color: var(--wpmp-text-light);
    font-weight: 600;
}

/* ==========================================================================
   14. Tooltips
   ========================================================================== */

.wpmp-tooltip {
    position: relative;
    display: inline-block;
}

.wpmp-tooltip-text {
    visibility: hidden;
    position: absolute;
    z-index: 1000;
    background: var(--wpmp-text);
    color: var(--wpmp-bg);
    text-align: center;
    padding: 8px 12px;
    border-radius: var(--wpmp-radius);
    font-size: 13px;
    white-space: nowrap;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.wpmp-tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: var(--wpmp-text) transparent transparent transparent;
}

.wpmp-tooltip:hover .wpmp-tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* ==========================================================================
   15. Badges
   ========================================================================== */

.wpmp-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wpmp-badge.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--wpmp-success);
}

.wpmp-badge.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--wpmp-error);
}

.wpmp-badge.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--wpmp-warning);
}

.wpmp-badge.info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--wpmp-info);
}

.wpmp-badge.primary {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: var(--wpmp-primary);
}

/* ==========================================================================
   16. Empty States
   ========================================================================== */

.wpmp-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.wpmp-empty-icon {
    font-size: 64px;
    color: var(--wpmp-border);
    margin-bottom: 20px;
}

.wpmp-empty-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--wpmp-text);
    margin: 0 0 10px;
}

.wpmp-empty-message {
    font-size: 16px;
    color: var(--wpmp-text-light);
    margin: 0 0 25px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.wpmp-empty-action {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--wpmp-primary) 0%, var(--wpmp-secondary) 100%);
    color: var(--wpmp-bg);
    border-radius: var(--wpmp-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--wpmp-transition);
}

.wpmp-empty-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    color: var(--wpmp-bg);
}

/* ==========================================================================
   17. Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    .wpmp-vendors-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .wpmp-directory-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .wpmp-directory-search {
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .wpmp-directory-title {
        font-size: 28px;
    }

    .wpmp-directory-description {
        font-size: 16px;
    }

    .wpmp-vendors-grid {
        grid-template-columns: 1fr;
    }

    .wpmp-registration-form {
        padding: 30px 20px;
    }

    .wpmp-registration-title {
        font-size: 24px;
    }

    .wpmp-form-actions {
        flex-direction: column;
    }

    .wpmp-form-back {
        order: 2;
    }

    .wpmp-review-header {
        flex-direction: column;
        gap: 10px;
    }

    .wpmp-vendor-card-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .wpmp-vendor-stat-value {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .wpmp-vendor-card-banner {
        height: 100px;
    }

    .wpmp-vendor-card-avatar {
        width: 60px;
        height: 60px;
    }

    .wpmp-vendor-card-body {
        padding: 40px 20px 20px;
    }

    .wpmp-vendor-card-actions {
        flex-direction: column;
    }

    .wpmp-pagination-btn {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* ==========================================================================
   18. Accessibility
   ========================================================================== */

.wpmp-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.wpmp-skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--wpmp-primary);
    color: var(--wpmp-bg);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
}

.wpmp-skip-link:focus {
    top: 0;
}

*:focus-visible {
    outline: 3px solid var(--wpmp-primary);
    outline-offset: 2px;
}

/* ==========================================================================
   19. Print Styles
   ========================================================================== */

@media print {
    .wpmp-vendor-card-actions,
    .wpmp-directory-filters,
    .wpmp-pagination,
    .wpmp-write-review-btn,
    .wpmp-form-actions {
        display: none !important;
    }

    .wpmp-vendor-card,
    .wpmp-review-item,
    .wpmp-registration-form {
        box-shadow: none;
        border: 1px solid var(--wpmp-border);
    }

    .wpmp-vendors-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   20. Utility Classes
   ========================================================================== */

.wpmp-text-center {
    text-align: center;
}

.wpmp-text-right {
    text-align: right;
}

.wpmp-text-left {
    text-align: left;
}

.wpmp-mt-0 { margin-top: 0; }
.wpmp-mt-1 { margin-top: 10px; }
.wpmp-mt-2 { margin-top: 20px; }
.wpmp-mt-3 { margin-top: 30px; }
.wpmp-mt-4 { margin-top: 40px; }

.wpmp-mb-0 { margin-bottom: 0; }
.wpmp-mb-1 { margin-bottom: 10px; }
.wpmp-mb-2 { margin-bottom: 20px; }
.wpmp-mb-3 { margin-bottom: 30px; }
.wpmp-mb-4 { margin-bottom: 40px; }

.wpmp-p-0 { padding: 0; }
.wpmp-p-1 { padding: 10px; }
.wpmp-p-2 { padding: 20px; }
.wpmp-p-3 { padding: 30px; }

.wpmp-hidden {
    display: none !important;
}

.wpmp-visible {
    display: block !important;
}

.wpmp-flex {
    display: flex;
}

.wpmp-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpmp-flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wpmp-gap-1 { gap: 10px; }
.wpmp-gap-2 { gap: 20px; }
.wpmp-gap-3 { gap: 30px; }

.wpmp-vacation-banner {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 6px;
    font-size: 15px;
}

