/**
 * Pulmad Vendor Directory - Public Styles
 */

/* ===========================
   CSS Variables
   =========================== */
:root {
    --pvd-primary: #c9a050;
    --pvd-primary-hover: #b38f45;
    --pvd-text: #333;
    --pvd-text-light: #666;
    --pvd-border: #ddd;
    --pvd-bg: #f9f9f9;
    --pvd-white: #fff;
    --pvd-error: #dc3232;
    --pvd-success: #46b450;
    --pvd-radius: 4px;
    --pvd-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ===========================
   Form Styles
   =========================== */
.pvd-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.pvd-vendor-form {
    background: var(--pvd-white);
    border-radius: var(--pvd-radius);
}

.pvd-form-section {
    border: 1px solid var(--pvd-border);
    border-radius: var(--pvd-radius);
    padding: 20px;
    margin-bottom: 20px;
}

.pvd-form-section legend {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--pvd-text);
    padding: 0 10px;
}

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

.pvd-form-row:last-child {
    margin-bottom: 0;
}

.pvd-form-row label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: var(--pvd-text);
}

.pvd-form-row .required {
    color: var(--pvd-error);
}

.pvd-form-row input[type="text"],
.pvd-form-row input[type="email"],
.pvd-form-row input[type="tel"],
.pvd-form-row input[type="url"],
.pvd-form-row input[type="number"],
.pvd-form-row textarea,
.pvd-form-row select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--pvd-border);
    border-radius: var(--pvd-radius);
    font-size: 1em;
    transition: border-color 0.2s;
}

.pvd-form-row input:focus,
.pvd-form-row textarea:focus,
.pvd-form-row select:focus {
    outline: none;
    border-color: var(--pvd-primary);
}

/* Address autocomplete (In-ADS) */
.pvd-address-autocomplete {
    position: relative;
}

.pvd-address-autocomplete.is-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 12px;
    width: 18px;
    height: 18px;
    margin-top: -9px;
    border: 2px solid #e2e8f0;
    border-top-color: var(--pvd-primary, #276FAB);
    border-radius: 50%;
    animation: pvd-spin 0.6s linear infinite;
}

@keyframes pvd-spin {
    to { transform: rotate(360deg); }
}

.pvd-address-autocomplete__list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    background: #fff;
    border: 1px solid var(--pvd-border);
    border-top: none;
    border-radius: 0 0 var(--pvd-radius) var(--pvd-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 280px;
    overflow-y: auto;
}

.pvd-address-autocomplete__item {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 0.95em;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s;
}

.pvd-address-autocomplete__item:last-child {
    border-bottom: none;
}

.pvd-address-autocomplete__item:hover,
.pvd-address-autocomplete__item.is-active {
    background: #f0f4ff;
    color: var(--pvd-primary);
}

/* Map preview in form */
.pvd-map-preview {
    width: 100%;
    height: 300px;
    border-radius: var(--pvd-radius);
    border: 1px solid var(--pvd-border);
    z-index: 1;
}

/* Map on single vendor page */
.pvd-vendor-map {
    width: 100%;
    height: 400px;
    border-radius: var(--pvd-radius);
    margin: 20px 0 30px;
    border: 1px solid var(--pvd-border);
    z-index: 1;
}

/* Venues overview map (peokohad category page) */
.pvd-venues-map {
    width: 100%;
    height: 450px;
    border-radius: var(--pvd-radius, 8px);
    margin-bottom: 30px;
    border: 1px solid var(--pvd-border, #e0e0e0);
    z-index: 1;
}

/* Admin map preview */
.pvd-admin-map-preview {
    width: 100%;
    height: 250px;
    margin-top: 10px;
    border-radius: 4px;
}

@media screen and (max-width: 480px) {
    .pvd-map-preview {
        height: 220px;
    }

    .pvd-vendor-map {
        height: 280px;
    }
}

.pvd-field-description {
    display: block;
    font-size: 0.85em;
    color: var(--pvd-text-light);
    margin-top: 5px;
}

/* Checkbox group */
.pvd-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pvd-checkbox-label,
.pvd-form-row .pvd-checkbox-label,
.pvd-form-row .pvd-checkbox-group .pvd-checkbox-label,
label.pvd-checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
    cursor: pointer;
    margin-bottom: 0;
    font-weight: normal;
}

.pvd-checkbox-label input[type="checkbox"],
.pvd-checkbox-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.pvd-checkbox-text {
    font-size: 14px;
    line-height: 20px;
    color: var(--pvd-text, #333);
    transform: translateY(2px);
}

.pvd-toggle {
    display: inline-block;
    width: 36px;
    height: 20px;
    min-width: 36px;
    background: #D1D5DB;
    border-radius: 10px;
    position: relative;
    transition: background 0.2s;
    flex-shrink: 0;
}

.pvd-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.pvd-checkbox-label input:checked + .pvd-toggle {
    background: #10B981;
}

.pvd-checkbox-label input:checked + .pvd-toggle::after {
    transform: translateX(16px);
}

/* Accordion: collapsed state hides overflow items */
.pvd-checkbox-group--collapsible .pvd-checkbox-label {
    transition: opacity 0.2s, max-height 0.2s;
}

.pvd-checkbox-group--collapsible:not(.pvd-checkbox-group--expanded) .pvd-checkbox-label.pvd-checkbox-label--overflow {
    display: none !important;
}

/* Compatibility filter: hide incompatible additional categories */
.pvd-checkbox-group .pvd-checkbox-label.pvd-checkbox-label--compat-hidden {
    display: none !important;
}

.pvd-checkbox-group__toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 4px;
    padding: 4px 0;
    font-size: 13px;
    color: var(--pvd-primary, #c9a050);
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}

.pvd-checkbox-group__toggle:hover {
    text-decoration: underline;
}

.pvd-checkbox-group__toggle::after {
    content: '▾';
    font-size: 11px;
    transition: transform 0.2s;
}

.pvd-checkbox-group--expanded .pvd-checkbox-group__toggle::after {
    transform: rotate(180deg);
}

.pvd-checkbox-label--disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Image upload */
.pvd-image-upload {
    padding: 15px;
    background: var(--pvd-bg);
    border-radius: var(--pvd-radius);
}

.pvd-image-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    min-height: 50px;
}

.pvd-image-item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: var(--pvd-radius);
    overflow: hidden;
    box-shadow: var(--pvd-shadow);
}

.pvd-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pvd-image-item .pvd-remove-image {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--pvd-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0 0 2px 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pvd-image-item .pvd-remove-image:hover {
    background: var(--pvd-error);
}

/* Image drag handle */
.pvd-image-drag-handle {
    position: absolute;
    bottom: 4px;
    left: 4px;
    width: 24px;
    height: 24px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border-radius: 50%;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    cursor: grab;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 2;
    user-select: none;
}

.pvd-image-item:hover .pvd-image-drag-handle {
    opacity: 1;
}

.pvd-image-drag-handle:active {
    cursor: grabbing;
}

/* SortableJS ghost and chosen states */
.pvd-image-item--ghost {
    opacity: 0.3;
}

.pvd-image-item--chosen {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transform: scale(1.05);
}

/* Always show drag handle on touch devices */
@media (hover: none) {
    .pvd-image-drag-handle {
        opacity: 1;
    }
}

/* Reorder hint text */
.pvd-reorder-hint {
    font-style: italic;
}

/* Upload progress bar */
.pvd-upload-progress {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    width: 100%;
}

.pvd-upload-progress__bar {
    flex: 1;
    height: 8px;
    background: var(--pvd-bg, #f0f0f0);
    border-radius: 4px;
    overflow: hidden;
}

.pvd-upload-progress__fill {
    height: 100%;
    width: 0;
    background: var(--pvd-primary, #c9a050);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.pvd-upload-progress__text {
    font-size: 13px;
    font-weight: 600;
    color: var(--pvd-text, #333);
    min-width: 36px;
    text-align: right;
}

/* Repeater fields */
.pvd-repeater-wrapper {
    background: var(--pvd-bg);
    padding: 15px;
    border-radius: var(--pvd-radius);
}

.pvd-repeater-items {
    margin-bottom: 10px;
}

.pvd-repeater-item {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    background: var(--pvd-white);
    border-radius: var(--pvd-radius);
}

.pvd-repeater-item input {
    flex: 1;
}

.pvd-repeater-item input[type="number"] {
    max-width: 120px;
}

.pvd-remove-repeater-item {
    width: 30px;
    height: 30px;
    background: var(--pvd-error);
    color: var(--pvd-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

/* Contact repeater rows */
.pvd-contact-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pvd-contact-row input[type="text"],
.pvd-contact-row input[type="tel"] {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--pvd-border);
    border-radius: var(--pvd-radius);
    font-size: 1em;
}

@media screen and (max-width: 480px) {
    .pvd-contact-row {
        flex-wrap: wrap;
    }

    .pvd-contact-row input[type="text"],
    .pvd-contact-row input[type="tel"] {
        flex: 1 1 calc(100% - 40px);
    }
}

/* Link repeater rows */
.pvd-link-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.pvd-link-row select {
    width: auto;
    flex: 0 0 160px;
    padding: 10px 12px;
    border: 1px solid var(--pvd-border);
    border-radius: var(--pvd-radius);
    font-size: 1em;
}

.pvd-link-row input[type="url"] {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid var(--pvd-border);
    border-radius: var(--pvd-radius);
    font-size: 1em;
}

@media screen and (max-width: 480px) {
    .pvd-link-row {
        flex-wrap: wrap;
    }

    .pvd-link-row select {
        flex: 1 1 100%;
    }

    .pvd-link-row input[type="url"] {
        flex: 1 1 calc(100% - 40px);
    }
}

/* Additional types multi-select dropdown */
select[name="lisa_teenuse_tuup[]"] {
    height: auto;
    min-height: 120px;
    max-height: 200px;
}

/* Conditional sections */
.pvd-conditional-section {
    transition: opacity 0.3s, max-height 0.3s;
}

.pvd-conditional-section[data-condition="venue"] {
    display: none;
}

.pvd-conditional-section.pvd-show {
    display: block;
}

/* Buttons */
.pvd-button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 20px;
    background: var(--pvd-primary);
    color: var(--pvd-white);
    border: none;
    border-radius: var(--pvd-radius);
    cursor: pointer;
    font-size: 1em;
    font-weight: 500;
    transition: background 0.2s;
}

.pvd-button:hover {
    background: var(--pvd-primary-hover);
    color: var(--pvd-white);
}

.pvd-submit-button {
    padding: 12px 30px;
    font-size: 1.1em;
}

/* Form submit area */
.pvd-form-submit {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--pvd-border);
}

.pvd-form-loading {
    margin-left: 15px;
    color: var(--pvd-text-light);
}

/* Messages */
.pvd-form-messages {
    margin-top: 15px;
}

.pvd-message {
    padding: 15px;
    border-radius: var(--pvd-radius);
    margin-bottom: 10px;
}

.pvd-message-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.pvd-message-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.pvd-message-info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

.pvd-message ul {
    margin: 10px 0 0 20px;
}

/* Field error highlighting */
.pvd-field-error {
    border-left: 3px solid #dc3545;
    padding-left: 10px;
    margin-left: -13px;
}

.pvd-field-error input,
.pvd-field-error select,
.pvd-field-error textarea,
.pvd-field-error .mce-tinymce {
    border-color: #dc3545 !important;
}

.pvd-field-error-msg {
    display: block;
    color: #dc3545;
    font-size: 0.85em;
    margin-top: 4px;
}

/* ===========================
   Listing Styles
   =========================== */
.pvd-listing-wrapper {
    margin: 20px 0;
}

/* Sidebar layout */
.pvd-listing-wrapper.pvd-has-sidebar {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: start;
}

.pvd-listing-main {
    min-width: 0;
}

/* Sidebar */
.pvd-listing-sidebar {
}

.pvd-sidebar-widget {
    background: var(--pvd-white);
    border-radius: var(--pvd-radius);
    box-shadow: var(--pvd-shadow);
    padding: 20px;
}

.pvd-sidebar-title {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--pvd-text);
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--pvd-primary);
}

.pvd-category-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.pvd-category-menu li {
    margin: 0;
    border-bottom: 1px solid var(--pvd-border);
}

.pvd-category-menu li:last-child {
    border-bottom: none;
}

.pvd-category-menu a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: var(--pvd-text);
    text-decoration: none;
    transition: color 0.2s;
}

.pvd-category-menu a:hover {
    color: var(--pvd-primary);
}

.pvd-category-menu li.is-active a {
    color: var(--pvd-primary);
    font-weight: 600;
}

.pvd-cat-name {
    flex: 1;
}

.pvd-cat-count {
    background: var(--pvd-bg);
    color: var(--pvd-text-light);
    font-size: 0.8em;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 30px;
    text-align: center;
}

.pvd-category-menu li.is-active .pvd-cat-count {
    background: var(--pvd-primary);
    color: var(--pvd-white);
}

/* Responsive sidebar */
@media screen and (max-width: 992px) {
    .pvd-listing-wrapper.pvd-has-sidebar {
        grid-template-columns: 1fr;
    }

    .pvd-listing-sidebar {
        position: static;
        order: -1;
    }

    .pvd-category-menu {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .pvd-category-menu li {
        border-bottom: none;
    }

    .pvd-category-menu a {
        padding: 6px 12px;
        background: var(--pvd-bg);
        border-radius: 20px;
        font-size: 0.9em;
    }

    .pvd-category-menu li.is-active a {
        background: var(--pvd-primary);
        color: var(--pvd-white);
    }

    .pvd-cat-count {
        display: none;
    }
}

/* Filters */
.pvd-listing-filters {
    background: var(--pvd-bg);
    padding: 20px;
    border-radius: var(--pvd-radius);
    margin-bottom: 30px;
}

.pvd-filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.pvd-filter-item {
    flex: 1;
    min-width: 180px;
}

.pvd-filter-item label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 0.9em;
}

.pvd-filter-item select,
.pvd-filter-item input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--pvd-border);
    border-radius: var(--pvd-radius);
}

.pvd-filter-submit {
    display: flex;
    gap: 10px;
    align-items: center;
    flex: 0 0 auto;
}

.pvd-reset-filters {
    color: var(--pvd-text-light);
    text-decoration: none;
    font-size: 0.9em;
}

.pvd-reset-filters:hover {
    color: var(--pvd-error);
}

/* Vendor grid */
.pvd-vendor-grid {
    display: grid;
    gap: 30px;
}

.pvd-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.pvd-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.pvd-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Vendor card */
.pvd-vendor-card {
    background: var(--pvd-white);
    border-radius: var(--pvd-radius);
    overflow: hidden;
    box-shadow: var(--pvd-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.pvd-vendor-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.pvd-vendor-image {
    position: relative;
    height: 200px;
    background: var(--pvd-bg);
}

.pvd-vendor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pvd-vendor-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    color: #999;
}

.pvd-vendor-placeholder .dashicons {
    font-size: 60px;
    width: 60px;
    height: 60px;
}

.pvd-vendor-content {
    padding: 20px;
}

.pvd-vendor-title {
    margin: 0 0 10px;
    font-size: 1.2em;
}

.pvd-vendor-title a {
    color: var(--pvd-text);
    text-decoration: none;
}

.pvd-vendor-title a:hover {
    color: var(--pvd-primary);
}

.pvd-vendor-type {
    display: inline-block;
    padding: 3px 10px;
    background: var(--pvd-primary);
    color: var(--pvd-white);
    border-radius: 20px;
    font-size: 0.8em;
    margin-bottom: 10px;
}

.pvd-vendor-company {
    color: var(--pvd-text-light);
    font-size: 0.95em;
    margin-bottom: 5px;
}

.pvd-vendor-region {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--pvd-text-light);
    font-size: 0.85em;
    margin-bottom: 15px;
}

.pvd-vendor-region .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.pvd-vendor-phone {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--pvd-text-light);
    font-size: 0.85em;
    margin-bottom: 15px;
}

.pvd-vendor-phone .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.pvd-vendor-phone a {
    color: var(--pvd-text-light);
    text-decoration: none;
}

.pvd-vendor-phone a:hover {
    color: var(--pvd-primary);
}

.pvd-vendor-link {
    color: var(--pvd-primary);
    text-decoration: none;
    font-weight: 500;
}

.pvd-vendor-link:hover {
    text-decoration: underline;
}

/* Pagination */
.pvd-pagination {
    margin-top: 40px;
    text-align: center;
}

.pvd-pagination .page-numbers {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 3px;
    background: var(--pvd-white);
    border: 1px solid var(--pvd-border);
    border-radius: var(--pvd-radius);
    text-decoration: none;
    color: var(--pvd-text);
}

.pvd-pagination .page-numbers:hover,
.pvd-pagination .page-numbers.current {
    background: var(--pvd-primary);
    border-color: var(--pvd-primary);
    color: var(--pvd-white);
}

/* No results */
.pvd-no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--pvd-bg);
    border-radius: var(--pvd-radius);
}

.pvd-no-results p {
    color: var(--pvd-text-light);
    margin-bottom: 20px;
}

/* ===========================
   Search Form Styles
   =========================== */
.pvd-search-wrapper {
    background: var(--pvd-bg);
    padding: 25px;
    border-radius: var(--pvd-radius);
}

.pvd-search-inline .pvd-search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
}

.pvd-search-inline .pvd-search-field {
    flex: 1;
    min-width: 180px;
}

.pvd-search-stacked .pvd-search-field {
    margin-bottom: 15px;
}

.pvd-search-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.pvd-search-field select,
.pvd-search-field input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--pvd-border);
    border-radius: var(--pvd-radius);
}

.pvd-search-button {
    padding: 10px 25px;
}

.pvd-search-button .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* ===========================
   Single Vendor Template
   =========================== */
.pvd-single-vendor {
    max-width: 1000px;
    margin: 0 auto;
}

.pvd-vendor-header {
    margin-bottom: 30px;
    text-align: left;
}

.pvd-vendor-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pvd-vendor-title-row .pvd-vendor-title {
    flex: 1;
}

.pvd-vendor-title-row .pvd-favorite-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--pvd-bg-light, #f9f9f9);
    border: 1px solid var(--pvd-border, #e5e5e5);
}

.pvd-vendor-contact-inline {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px 20px;
    margin-top: 10px;
    font-size: 0.95em;
}

.pvd-vendor-contact-inline a,
.pvd-vendor-contact-inline > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pvd-text-light);
    text-decoration: none;
}

.pvd-vendor-contact-inline a:hover {
    color: var(--pvd-primary);
}

.pvd-vendor-contact-inline .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    color: var(--pvd-primary);
}

.pvd-vendor-featured-image {
    margin-bottom: 20px;
    border-radius: var(--pvd-radius);
    overflow: hidden;
}

.pvd-vendor-featured-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
}

.pvd-vendor-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.pvd-vendor-meta-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.95em;
    color: var(--pvd-text-light);
}

.pvd-vendor-section {
    padding: 25px;
    margin-bottom: 0;
}

.pvd-vendor-details {
    background: var(--pvd-white);
    border: 1px solid var(--pvd-border);
    border-radius: var(--pvd-radius);
    margin: 20px 0;
}

.pvd-vendor-details .pvd-vendor-section + .pvd-vendor-section {
    border-top: 1px solid var(--pvd-border);
}


.pvd-vendor-section h2 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--pvd-border);
    font-size: 1.3em;
}

.pvd-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pvd-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--pvd-bg);
}

.pvd-contact-list li:last-child {
    border-bottom: none;
}

.pvd-contact-list .dashicons {
    color: var(--pvd-primary);
}

.pvd-social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.pvd-social-links a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
    color: var(--pvd-primary);
    transition: all 0.2s;
}

.pvd-social-links a:hover {
    text-decoration: underline;
}

/* Gallery styles moved to theme: components/_gallery.css (shared .pulmad-gallery component) */

.pvd-venue-halls {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pvd-venue-halls li {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    background: var(--pvd-bg);
    margin-bottom: 8px;
    border-radius: var(--pvd-radius);
}

.pvd-hall-name {
    font-weight: 500;
}

.pvd-hall-capacity {
    color: var(--pvd-text-light);
}

.pvd-taxonomy-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pvd-taxonomy-tags a {
    display: inline-block;
    padding: 5px 12px;
    background: var(--pvd-bg);
    border-radius: 20px;
    text-decoration: none;
    color: var(--pvd-text);
    font-size: 0.9em;
    transition: all 0.2s;
}

.pvd-taxonomy-tags a:hover {
    background: var(--pvd-primary);
    color: var(--pvd-white);
}

/* ===========================
   Responsive
   =========================== */
@media screen and (max-width: 900px) {
    .pvd-columns-4 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .pvd-columns-3,
    .pvd-columns-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .pvd-filter-form {
        flex-direction: column;
    }

    .pvd-filter-item {
        width: 100%;
    }

    .pvd-search-inline .pvd-search-form {
        flex-direction: column;
    }

    .pvd-search-field {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .pvd-columns-2,
    .pvd-columns-3,
    .pvd-columns-4 {
        grid-template-columns: 1fr;
    }

    .pvd-vendor-image {
        height: 180px;
    }

    .pvd-form-section {
        padding: 15px;
    }

}

/* ===========================
   Login Required
   =========================== */
.pvd-login-required {
    text-align: center;
    padding: 60px 30px;
    background: var(--pvd-bg);
    border-radius: var(--pvd-radius);
    max-width: 500px;
    margin: 0 auto;
}

.pvd-login-icon {
    margin-bottom: 20px;
}

.pvd-login-icon .dashicons {
    font-size: 60px;
    width: 60px;
    height: 60px;
    color: var(--pvd-primary);
}

.pvd-login-required h3 {
    margin: 0 0 10px;
    font-size: 1.5em;
    color: var(--pvd-text);
}

.pvd-login-required p {
    color: var(--pvd-text-light);
    margin-bottom: 25px;
}

.pvd-login-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.pvd-button-secondary {
    background: transparent;
    border: 2px solid var(--pvd-primary);
    color: var(--pvd-primary);
}

.pvd-button-secondary:hover {
    background: var(--pvd-primary);
    color: var(--pvd-white);
}

/* ===========================
   My Vendors Dashboard
   =========================== */
.pvd-my-vendors-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.pvd-my-vendors-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--pvd-border);
    flex-wrap: wrap;
    gap: 15px;
}

.pvd-my-vendors-header h2 {
    margin: 0;
    font-size: 1.6em;
    color: var(--pvd-text);
}

.pvd-add-new-btn {
    text-decoration: none;
}

.pvd-add-new-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Vendors table */
.pvd-vendors-table {
    width: 100%;
    background: var(--pvd-white);
    border-collapse: collapse;
    border-radius: var(--pvd-radius);
    overflow: hidden;
    box-shadow: var(--pvd-shadow);
}

.pvd-vendors-table thead {
    background: var(--pvd-bg);
}

.pvd-vendors-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: var(--pvd-text);
    font-size: 0.9em;
    border-bottom: 2px solid var(--pvd-border);
}

.pvd-vendors-table td {
    padding: 15px;
    border-bottom: 1px solid var(--pvd-border);
    vertical-align: middle;
}

.pvd-vendors-table tbody tr:last-child td {
    border-bottom: none;
}

.pvd-vendors-table tbody tr:hover {
    background: #fafafa;
}

/* Table columns */
.pvd-col-image {
    width: 80px;
}

.pvd-col-type {
    width: 150px;
}

.pvd-col-status {
    width: 100px;
}

.pvd-col-date {
    width: 100px;
}

.pvd-col-actions {
    width: 100px;
    text-align: center;
}

/* Vendor thumbnail */
.pvd-vendor-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--pvd-radius);
}

.pvd-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--pvd-bg);
    border-radius: var(--pvd-radius);
    color: #ccc;
}

.pvd-no-image.dashicons {
    font-size: 24px;
    width: 60px;
    height: 60px;
    line-height: 60px;
}

/* Title column */
.pvd-col-title strong a {
    color: var(--pvd-text);
    text-decoration: none;
}

.pvd-col-title strong a:hover {
    color: var(--pvd-primary);
}

.pvd-company-name {
    display: block;
    font-size: 0.85em;
    color: var(--pvd-text-light);
    margin-top: 3px;
}

/* Status badges */
.pvd-status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
}

.pvd-status-publish {
    background: #d4edda;
    color: #155724;
}

.pvd-status-pending {
    background: #fff3cd;
    color: #856404;
}

.pvd-status-draft {
    background: var(--pvd-bg);
    color: var(--pvd-text-light);
}

/* Action buttons */
.pvd-action-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pvd-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: var(--pvd-radius);
    text-decoration: none;
    transition: all 0.2s;
}

.pvd-view-btn {
    background: var(--pvd-bg);
    color: var(--pvd-text-light);
}

.pvd-view-btn:hover {
    background: var(--pvd-primary);
    color: var(--pvd-white);
}

.pvd-edit-btn {
    background: #e8f4fc;
    color: #0073aa;
}

.pvd-edit-btn:hover {
    background: #0073aa;
    color: var(--pvd-white);
}

.pvd-action-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* No vendors state */
.pvd-no-vendors {
    text-align: center;
    padding: 60px 30px;
    background: var(--pvd-bg);
    border-radius: var(--pvd-radius);
}

.pvd-no-vendors-icon {
    margin-bottom: 20px;
}

.pvd-no-vendors-icon .dashicons {
    font-size: 70px;
    width: 70px;
    height: 70px;
    color: #ddd;
}

.pvd-no-vendors h3 {
    margin: 0 0 10px;
    font-size: 1.3em;
    color: var(--pvd-text);
}

.pvd-no-vendors p {
    color: var(--pvd-text-light);
    margin-bottom: 25px;
}

.pvd-add-first-btn {
    text-decoration: none;
}

/* Responsive for My Vendors */
@media screen and (max-width: 768px) {
    .pvd-my-vendors-header {
        flex-direction: column;
        text-align: center;
    }

    .pvd-vendors-table {
        display: block;
        overflow-x: auto;
    }

    .pvd-col-type,
    .pvd-col-date {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .pvd-vendors-table thead {
        display: none;
    }

    .pvd-vendors-table tbody,
    .pvd-vendors-table tr,
    .pvd-vendors-table td {
        display: block;
        width: 100%;
    }

    .pvd-vendors-table tr {
        margin-bottom: 15px;
        border: 1px solid var(--pvd-border);
        border-radius: var(--pvd-radius);
        overflow: hidden;
    }

    .pvd-vendors-table td {
        padding: 10px 15px;
        border-bottom: 1px solid var(--pvd-border);
        text-align: left;
    }

    .pvd-vendors-table td:last-child {
        border-bottom: none;
    }

    .pvd-col-image {
        width: auto;
        float: left;
    }

    .pvd-col-title {
        padding-left: 90px !important;
    }

    .pvd-col-status,
    .pvd-col-actions {
        width: auto;
        text-align: left;
    }

    .pvd-action-buttons {
        justify-content: flex-start;
    }
}

/* ===========================
   Account Dashboard
   =========================== */
.pvd-account-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

/* Account Header */
.pvd-account-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 30px;
    background: var(--pvd-white);
    border-radius: var(--pvd-radius);
    box-shadow: var(--pvd-shadow);
    margin-bottom: 30px;
}

.pvd-account-avatar img {
    border-radius: 50%;
    border: 3px solid var(--pvd-primary);
}

.pvd-account-user-info {
    flex: 1;
}

.pvd-account-user-info h2 {
    margin: 0 0 8px;
    font-size: 1.5em;
}

.pvd-user-type-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
    margin-right: 10px;
}

.pvd-type-vendor {
    background: #e8f4fc;
    color: #0073aa;
}

.pvd-type-couple {
    background: #fce8f4;
    color: #aa0073;
}

.pvd-user-email {
    color: var(--pvd-text-light);
    font-size: 0.9em;
}

.pvd-logout-btn {
    color: var(--pvd-text-light);
    text-decoration: none;
    padding: 8px 16px;
    border: 1px solid var(--pvd-border);
    border-radius: var(--pvd-radius);
    transition: all 0.2s;
}

.pvd-logout-btn:hover {
    background: var(--pvd-error);
    border-color: var(--pvd-error);
    color: var(--pvd-white);
}

/* Account Layout */
.pvd-account-layout {
    display: flex;
    gap: 30px;
}

/* Sidebar Navigation */
.pvd-account-sidebar {
    width: 280px;
    flex-shrink: 0;
}

.pvd-account-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--pvd-white);
    border-radius: var(--pvd-radius);
    box-shadow: var(--pvd-shadow);
    overflow: hidden;
}

.pvd-nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: var(--pvd-text);
    text-decoration: none;
    border-bottom: 1px solid var(--pvd-bg);
    transition: all 0.2s;
}

.pvd-nav-item:last-child a {
    border-bottom: none;
}

.pvd-nav-item a:hover {
    background: var(--pvd-bg);
}

.pvd-nav-active a {
    background: var(--pvd-primary);
    color: var(--pvd-white);
}

.pvd-nav-active a:hover {
    background: var(--pvd-primary-hover);
}

.pvd-nav-icon .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.pvd-nav-count {
    margin-left: auto;
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.85em;
}

.pvd-nav-active .pvd-nav-count {
    background: rgba(255, 255, 255, 0.2);
}

/* Account Content */
.pvd-account-content {
    flex: 1;
    min-width: 0;
}

.pvd-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--pvd-bg);
}

.pvd-section-header h3 {
    margin: 0;
    font-size: 1.4em;
}

/* Account List Items */
.pvd-account-list {
    background: var(--pvd-white);
    border-radius: var(--pvd-radius);
    box-shadow: var(--pvd-shadow);
    overflow: hidden;
}

.pvd-list-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--pvd-bg);
    transition: background 0.2s;
}

.pvd-list-item:last-child {
    border-bottom: none;
}

.pvd-list-item:hover {
    background: #fafafa;
}

.pvd-item-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.pvd-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--pvd-radius);
}

.pvd-item-content {
    flex: 1;
    min-width: 0;
}

.pvd-item-content h4 {
    margin: 0 0 5px;
    font-size: 1.05em;
}

.pvd-item-content h4 a {
    color: var(--pvd-text);
    text-decoration: none;
}

.pvd-item-content h4 a:hover {
    color: var(--pvd-primary);
}

.pvd-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85em;
    color: var(--pvd-text-light);
}

.pvd-meta-type {
    background: var(--pvd-bg);
    padding: 2px 8px;
    border-radius: 3px;
}

.pvd-item-actions {
    display: flex;
    gap: 8px;
}

/* Empty State */
.pvd-empty-state {
    text-align: center;
    padding: 60px 30px;
    background: var(--pvd-white);
    border-radius: var(--pvd-radius);
    box-shadow: var(--pvd-shadow);
}

.pvd-empty-state .dashicons {
    font-size: 60px;
    width: 60px;
    height: 60px;
    color: #ddd;
    margin-bottom: 20px;
}

.pvd-empty-state h4 {
    margin: 0 0 10px;
    font-size: 1.2em;
}

.pvd-empty-state p {
    color: var(--pvd-text-light);
    margin-bottom: 20px;
}

/* Profile Form */
.pvd-profile-form .pvd-form-section {
    background: var(--pvd-white);
    border-radius: var(--pvd-radius);
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--pvd-shadow);
}

.pvd-profile-form .pvd-form-section h4 {
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--pvd-bg);
}

.pvd-form-note {
    color: var(--pvd-text-light);
    font-size: 0.9em;
    margin-bottom: 15px;
}

/* Avatar Upload */
.pvd-avatar-upload {
    display: flex;
    align-items: center;
    gap: 24px;
}

.pvd-avatar-preview {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--pvd-border);
    flex-shrink: 0;
    background: var(--pvd-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pvd-avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.pvd-avatar-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pvd-avatar-actions .description {
    font-size: 0.85em;
    color: var(--pvd-text-light);
    margin: 0;
}

.pvd-avatar-btn {
    display: inline-block;
    cursor: pointer;
    text-align: center;
    width: fit-content;
}

.pvd-avatar-remove-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9em;
    color: var(--pvd-error);
    cursor: pointer;
}

.pvd-avatar-remove-label input {
    margin: 0;
}

.pvd-profile-messages {
    margin-bottom: 15px;
}

@media (max-width: 480px) {
    .pvd-avatar-upload {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* User Type Selector */
.pvd-user-type-selector {
    display: flex;
    gap: 15px;
}

.pvd-type-option {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    background: var(--pvd-bg);
    border: 2px solid var(--pvd-border);
    border-radius: var(--pvd-radius);
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.pvd-type-option:hover {
    border-color: var(--pvd-primary);
}

.pvd-type-option.pvd-selected,
.pvd-type-option input:checked + .pvd-type-icon {
    border-color: var(--pvd-primary);
    background: rgba(201, 160, 80, 0.1);
}

.pvd-type-option input {
    position: absolute;
    opacity: 0;
}

.pvd-type-icon {
    margin-bottom: 10px;
}

.pvd-type-icon .dashicons {
    font-size: 40px;
    width: 40px;
    height: 40px;
    color: var(--pvd-primary);
}

.pvd-type-label {
    font-weight: 600;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.pvd-type-desc {
    font-size: 0.85em;
    color: var(--pvd-text-light);
}

/* Invoice Badges */
.pvd-invoice-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
}

.pvd-invoice-paid {
    background: #d4edda;
    color: #155724;
}

.pvd-invoice-pending {
    background: #fff3cd;
    color: #856404;
}

.pvd-invoice-overdue {
    background: #f8d7da;
    color: #721c24;
}

/* ===========================
   Favorites Button
   =========================== */
.pvd-favorite-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--pvd-white);
    border: 1px solid var(--pvd-border);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

.pvd-favorite-btn:hover {
    border-color: var(--pvd-primary);
    transform: scale(1.1);
}

.pvd-favorite-btn svg {
    fill: none;
    stroke: var(--pvd-text-light);
    stroke-width: 2;
    transition: all 0.2s;
}

.pvd-favorite-btn:hover svg {
    stroke: var(--pvd-primary);
}

.pvd-favorite-btn.pvd-is-favorite svg {
    fill: var(--pvd-primary);
    stroke: var(--pvd-primary);
}

.pvd-favorite-btn.pvd-is-favorite:hover svg {
    fill: var(--pvd-error);
    stroke: var(--pvd-error);
}

/* Favorite button on vendor cards */
.pvd-vendor-card .pvd-favorite-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.pvd-vendor-card .pvd-vendor-image {
    position: relative;
}

/* ===========================
   Notifications
   =========================== */
.pvd-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 15px 25px;
    background: var(--pvd-success);
    color: var(--pvd-white);
    border-radius: var(--pvd-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    font-weight: 500;
}

.pvd-notification-show {
    opacity: 1;
    transform: translateY(0);
}

.pvd-notification-error {
    background: var(--pvd-error);
}

/* ===========================
   Account Responsive
   =========================== */
@media screen and (max-width: 900px) {
    .pvd-account-layout {
        flex-direction: column;
    }

    .pvd-account-sidebar {
        width: 100%;
    }

    .pvd-account-nav {
        display: flex;
        flex-wrap: wrap;
    }

    .pvd-nav-item {
        flex: 1;
        min-width: 50%;
    }

    .pvd-nav-item a {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 5px;
        padding: 12px 10px;
    }

    .pvd-nav-count {
        margin-left: 0;
    }
}

@media screen and (max-width: 600px) {
    .pvd-account-header {
        flex-direction: column;
        text-align: center;
    }

    .pvd-account-actions {
        margin-top: 10px;
    }

    .pvd-list-item {
        flex-wrap: wrap;
    }

    .pvd-item-content {
        width: calc(100% - 75px);
    }

    .pvd-item-actions {
        width: 100%;
        justify-content: flex-end;
        margin-top: 10px;
        padding-top: 10px;
        border-top: 1px solid var(--pvd-bg);
    }

    .pvd-user-type-selector {
        flex-direction: column;
    }

    .pvd-section-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

/* ===========================
   Promoted / Featured Vendors
   =========================== */
.pvd-vendor-card--promoted,
.pvd-vendor-card--featured {
    border: 2px solid var(--pvd-primary);
    box-shadow: 0 4px 12px rgba(201, 160, 80, 0.2);
}

.pvd-vendor-image {
    position: relative;
}

.pvd-vendor-badge {
    position: absolute;
    top: var(--space-3, 16px);
    left: var(--space-3, 16px);
    display: inline-flex;
    align-items: center;
    gap: var(--space-1, 4px);
    padding: var(--space-1, 4px) var(--space-2, 8px);
    background: var(--gold, #D4AF37);
    color: var(--white, #ffffff);
    font-size: var(--text-xs, 12px);
    font-weight: var(--font-semibold, 600);
    border-radius: var(--radius-sm, 4px);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 1;
}

/* ===========================
   Verified Badge
   =========================== */
.pvd-vendor-verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--gold, #D4AF37);
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    vertical-align: middle;
    margin-left: 10px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.pvd-vendor-verified i {
    font-size: 14px;
}

@media screen and (max-width: 768px) {
    .pvd-vendor-verified {
        font-size: 0;
        padding: 4px 8px;
        margin-left: 6px;
        gap: 0;
    }

    .pvd-vendor-verified i {
        font-size: 16px;
    }
}

/* ===========================
   Venue Capacity
   =========================== */
.pvd-venue-capacity {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
    margin: 12px 0;
}

.pvd-venue-capacity p {
    margin: 0;
    padding: 8px 12px;
    background: var(--pvd-bg, #f9f9f9);
    border-radius: var(--pvd-radius, 4px);
}

/* ===========================
   Vendor Sections (single page)
   =========================== */
.pvd-vendor-section {
    padding: 16px 20px;
}

.pvd-vendor-section__title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--pvd-text, #333);
}

.pvd-vendor-section__title i {
    font-size: 18px;
    color: var(--pvd-primary, #276FAB);
}

.pvd-vendor-section__title--sub {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

/* Icon List */
.pvd-icon-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pvd-icon-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--pvd-text, #444);
    padding: 4px 0;
}

.pvd-icon-list li i {
    font-size: 17px;
    color: var(--pvd-primary, #276FAB);
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.pvd-icon-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--pvd-primary, #276FAB);
    text-decoration: none;
}

.pvd-icon-list li a:hover {
    text-decoration: underline;
}

.pvd-icon-list li a i {
    color: inherit;
}

/* Grid layout for amenities */
.pvd-icon-list--grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px 16px;
}

@media (max-width: 480px) {
    .pvd-icon-list--grid {
        grid-template-columns: 1fr;
    }
}

/* Venue detail lines */
.pvd-venue-detail {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 6px 0;
    font-size: 14px;
}

.pvd-venue-detail i {
    font-size: 17px;
    color: var(--pvd-primary, #276FAB);
    flex-shrink: 0;
}

.pvd-venue-capacity p {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pvd-venue-capacity p i {
    font-size: 17px;
    color: var(--pvd-primary, #276FAB);
    flex-shrink: 0;
}

/* ===========================
   Form Grid (venue capacity)
   =========================== */
.pvd-form-row--grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.pvd-form-col label {
    display: block;
    margin-bottom: 4px;
    font-weight: 600;
    font-size: 14px;
}

.pvd-form-col input {
    width: 100%;
}

/* ===========================
   Package Pricing Cards
   =========================== */
.pvd-packages {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
}

.pvd-packages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

@media (max-width: 768px) {
    .pvd-packages__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

.pvd-packages__card {
    background: var(--pvd-white, #fff);
    border: 2px solid var(--pvd-border, #ddd);
    border-radius: 12px;
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.pvd-packages__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.pvd-packages__card--current {
    border-color: var(--pvd-success, #46b450);
}

.pvd-packages__current-badge {
    position: absolute;
    top: 0;
    right: 0;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom-left-radius: 8px;
    background: var(--pvd-success, #46b450);
    color: #fff;
}

.pvd-packages__card-header {
    padding: 28px 24px 20px;
    text-align: center;
    border-bottom: 1px solid var(--pvd-border, #eee);
}

.pvd-packages__tier-name {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 700;
    color: var(--tier-color, var(--pvd-text, #333));
}

.pvd-packages__price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
}

.pvd-packages__price-amount {
    font-size: 28px;
    font-weight: 700;
    color: var(--pvd-text, #333);
}

.pvd-packages__price-period {
    font-size: 14px;
    color: var(--pvd-text-light, #666);
}

.pvd-packages__features {
    list-style: none;
    margin: 0;
    padding: 20px 24px;
}

.pvd-packages__feature {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    border-bottom: 1px solid #f3f4f6;
}

.pvd-packages__feature .pvd-packages__feature-icon {
    margin-top: 2px;
}

.pvd-packages__feature:last-child {
    border-bottom: none;
}

.pvd-packages__feature--yes {
    color: var(--pvd-text, #333);
}

.pvd-packages__feature-desc {
    display: block;
    font-size: 12px;
    color: #6b7280;
    font-weight: 400;
    margin-top: 2px;
    line-height: 1.4;
}

.pvd-packages__feature--no {
    color: #9ca3af;
    text-decoration: line-through;
}

.pvd-packages__feature--yes .pvd-packages__feature-icon {
    color: var(--pvd-success, #46b450);
    flex-shrink: 0;
}

.pvd-packages__feature--no .pvd-packages__feature-icon {
    color: #d1d5db;
    flex-shrink: 0;
}

.pvd-packages__actions {
    padding: 0 24px 24px;
}

.pvd-packages__billing-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pvd-packages__btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 100%;
    padding: 12px 16px;
    text-align: center;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
    box-sizing: border-box;
}

.pvd-packages__btn-label {
    font-weight: 600;
}

.pvd-packages__btn-price {
    font-size: 12px;
    font-weight: 400;
    opacity: 0.85;
}

.pvd-packages__btn--primary {
    background: var(--pvd-primary, #c9a050);
    color: #fff;
}

.pvd-packages__btn--primary:hover {
    background: var(--pvd-primary-hover, #b38f45);
    color: #fff;
}

.pvd-packages__btn--secondary {
    background: #f3f4f6;
    color: var(--pvd-text, #333);
}

.pvd-packages__btn--secondary:hover {
    background: #e5e7eb;
    color: var(--pvd-text, #333);
}

.pvd-packages__btn--outline {
    background: transparent;
    color: var(--pvd-primary, #c9a050);
    border: 1px solid var(--pvd-primary, #c9a050);
}

.pvd-packages__btn--outline:hover {
    background: var(--pvd-primary, #c9a050);
    color: #fff;
}

.pvd-packages__btn--free {
    background: #f3f4f6;
    color: var(--pvd-text, #333);
}

.pvd-packages__btn--free:hover {
    background: #e5e7eb;
    color: var(--pvd-text, #333);
}

.pvd-packages__btn--current {
    background: var(--pvd-success, #46b450);
    color: #fff;
    cursor: default;
    opacity: 0.8;
}

.pvd-packages__btn--disabled {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: default;
}

/* ===========================
   Package Badge (form top)
   =========================== */
.pvd-package-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.pvd-package-badge a {
    font-weight: 400;
}

.pvd-package-badge--free {
    background: #f3f4f6;
    color: #6b7280;
}

.pvd-package-badge--silver {
    background: #f1f5f9;
    color: #64748b;
}

.pvd-package-badge--gold {
    background: #fef3c7;
    color: #92400e;
}

/* ===========================
   Locked Feature Indicators
   =========================== */
.pvd-form-row--locked {
    opacity: 0.6;
}

.pvd-checkbox-label--locked {
    cursor: not-allowed;
}

.pvd-locked-badge {
    display: inline-block;
    padding: 1px 8px;
    background: #d4af37;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    margin-left: 6px;
    vertical-align: middle;
}

.pvd-upgrade-hint {
    margin-top: 8px;
    font-size: 13px;
}

.pvd-upgrade-hint a {
    color: var(--pvd-primary, #c9a050);
    font-weight: 600;
}

/* ===========================
   Package Limit Notice
   =========================== */
.pvd-package-limit-notice {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 8px;
    padding: 20px 24px;
    text-align: center;
}

.pvd-package-limit-notice p {
    margin: 0 0 12px;
    color: #92400e;
}

.pvd-package-limit-notice .pvd-button {
    display: inline-block;
}
