/**
 * POSUSA Vendor Hub - Frontend Styles
 * Matching POSUSA.com brand: Teal primary, Navy accents, Clean white cards
 */

/* ========================================
   CSS Variables - POSUSA Brand
======================================== */
:root {
    --pv-primary: #2d3e50;
    --pv-primary-dark: #1a2836;
    --pv-primary-light: #e8eaed;
    --pv-navy: #2d3e50;
    --pv-navy-light: #3d5166;
    --pv-accent: #e55a34;
    --pv-text: #333333;
    --pv-text-light: #666666;
    --pv-text-muted: #999999;
    --pv-border: #e5e5e5;
    --pv-bg: #f8f9fa;
    --pv-white: #ffffff;
    --pv-success: #28a745;
    --pv-warning: #ffc107;
    --pv-danger: #dc3545;
    --pv-shadow: 0 2px 8px rgba(0,0,0,0.08);
    --pv-shadow-lg: 0 4px 16px rgba(0,0,0,0.12);
    --pv-radius: 8px;
    --pv-radius-sm: 4px;
}

/* ========================================
   Base Layout
======================================== */
.pv-single-wrap,
.pv-archive-wrap {
    background: var(--pv-bg);
    padding: 20px 0 60px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
    color: var(--pv-text);
    line-height: 1.6;
}

.pv-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.pv-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    align-items: start;
}

@media (max-width: 960px) {
    .pv-layout {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Breadcrumbs
======================================== */
.pv-breadcrumbs {
    font-size: 13px;
    color: var(--pv-text-muted);
    margin-bottom: 20px;
}

.pv-breadcrumbs a {
    color: var(--pv-text-light);
    text-decoration: none;
}

.pv-breadcrumbs a:hover {
    color: var(--pv-accent);
}

.pv-breadcrumbs span {
    margin: 0 8px;
}

.pv-breadcrumbs .current {
    color: var(--pv-text);
}

/* ========================================
   Header Card
======================================== */
.pv-header-card {
    background: var(--pv-white);
    border-radius: var(--pv-radius);
    box-shadow: var(--pv-shadow);
    padding: 24px;
    margin-bottom: 20px;
}

.pv-header-inner {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.pv-logo {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    background: var(--pv-bg);
    border-radius: var(--pv-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.pv-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pv-header-info {
    flex: 1;
}

.pv-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--pv-navy);
    margin: 0 0 8px;
    line-height: 1.2;
}

.pv-title .pv-featured-badge {
    position: relative;
    top: -2px;
    left: auto;
    font-size: 12px;
    padding: 4px 10px;
    margin-left: 10px;
    vertical-align: middle;
    border-radius: 4px;
}

.pv-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
}

.pv-type {
    display: inline-block;
    background: var(--pv-navy);
    color: var(--pv-white);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pv-location {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--pv-text-light);
    font-size: 14px;
}

.pv-location svg {
    color: var(--pv-navy);
}

.pv-website-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--pv-navy);
    color: var(--pv-white) !important;
    padding: 10px 20px;
    border-radius: var(--pv-radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s;
}

.pv-website-btn:hover {
    background: var(--pv-navy-light);
    color: var(--pv-white) !important;
}

/* Social Links */
.pv-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--pv-border);
}

.pv-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--pv-bg);
    border-radius: 50%;
    color: var(--pv-text-light) !important;
    transition: all 0.2s;
}

.pv-social a:hover {
    background: var(--pv-navy);
    color: var(--pv-white) !important;
}

/* ========================================
   Tabs
======================================== */
.pv-tabs {
    display: flex;
    gap: 0;
    background: var(--pv-white);
    border-radius: var(--pv-radius) var(--pv-radius) 0 0;
    box-shadow: var(--pv-shadow);
    overflow: hidden;
}

.pv-tab {
    flex: 0 0 auto;
    padding: 14px 24px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 14px;
    font-weight: 600;
    color: var(--pv-text-light);
    cursor: pointer;
    transition: all 0.2s;
}

.pv-tab:hover {
    color: var(--pv-navy);
    background: var(--pv-primary-light);
}

.pv-tab.active {
    color: var(--pv-navy);
    border-bottom-color: var(--pv-navy);
}

/* Tab Content */
.pv-tab-content {
    display: none;
    background: var(--pv-white);
    border-radius: 0 0 var(--pv-radius) var(--pv-radius);
    box-shadow: var(--pv-shadow);
    padding: 24px;
}

.pv-tab-content.active {
    display: block;
}

/* ========================================
   Sections
======================================== */
.pv-section {
    margin-bottom: 28px;
}

.pv-section:last-child {
    margin-bottom: 0;
}

.pv-section h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--pv-navy);
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--pv-border);
}

.pv-description {
    color: var(--pv-text);
    line-height: 1.7;
}

.pv-description p {
    margin: 0 0 16px;
}

.pv-description p:last-child {
    margin-bottom: 0;
}

.pv-desc-header {
    font-size: 16px;
    font-weight: 700;
    color: var(--pv-navy);
    margin: 24px 0 12px;
}

.pv-desc-header:first-child {
    margin-top: 0;
}

.pv-desc-list {
    margin: 0 0 16px;
    padding-left: 0;
    list-style: none;
}

.pv-desc-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.pv-desc-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--pv-accent);
    font-weight: 600;
}

/* Editorial Section */
.pv-editorial {
    background: var(--pv-primary-light);
    margin: 0 -24px 28px;
    padding: 20px 24px;
}

.pv-editorial h2 {
    color: var(--pv-primary-dark);
    border-bottom-color: rgba(0,169,157,0.3);
}

/* Details Table */
.pv-details-table {
    width: 100%;
    border-collapse: collapse;
}

.pv-details-table tr {
    border-bottom: 1px solid var(--pv-border);
}

.pv-details-table tr:last-child {
    border-bottom: none;
}

.pv-details-table td {
    padding: 12px 0;
    vertical-align: top;
}

.pv-details-table .label {
    width: 160px;
    font-weight: 600;
    color: var(--pv-text-light);
    font-size: 14px;
}

.pv-details-table .value {
    color: var(--pv-text);
}

.pv-details-table .value a {
    color: var(--pv-accent);
    text-decoration: none;
}

/* Phone Reveal Button */
.pv-reveal-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--pv-white);
    border: 1px solid var(--pv-border);
    padding: 8px 16px;
    border-radius: var(--pv-radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--pv-navy);
    cursor: pointer;
    transition: all 0.2s;
}

.pv-reveal-phone:hover {
    border-color: var(--pv-navy);
    background: var(--pv-primary-light);
}

.pv-reveal-phone svg {
    color: var(--pv-navy);
}

.pv-phone-revealed {
    font-weight: 600;
    color: var(--pv-navy) !important;
    font-size: 16px;
}

.pv-details-table .value a:hover {
    text-decoration: underline;
}

/* Specialties Grid */
.pv-specialties-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pv-specialty-item {
    display: inline-block;
    background: var(--pv-bg);
    color: var(--pv-text) !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
    border: 1px solid var(--pv-border);
}

.pv-specialty-item:hover {
    background: var(--pv-navy);
    color: var(--pv-white) !important;
    border-color: var(--pv-navy);
}

/* Review Link */
.pv-review-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--pv-navy);
    color: var(--pv-white);
    padding: 20px 24px;
    border-radius: var(--pv-radius);
}

.pv-review-link h3 {
    margin: 0 0 4px;
    font-size: 16px;
}

.pv-review-link p {
    margin: 0;
    opacity: 0.8;
    font-size: 14px;
}

/* ========================================
   Sidebar
======================================== */
.pv-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.pv-sidebar-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--pv-navy);
    margin: 0 0 8px;
}

.pv-sidebar-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--pv-navy);
    margin: 0 0 12px;
}

.pv-sidebar-card p {
    color: var(--pv-text-light);
    font-size: 14px;
    margin: 0 0 16px;
}

/* Contact Card */
.pv-contact-card {
    border-top: 4px solid var(--pv-accent);
}

/* CTA Card */
.pv-cta-card {
    border-top: 4px solid var(--pv-accent);
}

/* Buttons */
.pv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--pv-radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.pv-btn-primary {
    background: var(--pv-accent);
    color: var(--pv-white) !important;
}

.pv-btn-primary:hover {
    background: #c94a28;
    color: var(--pv-white) !important;
}

.pv-btn-outline {
    background: transparent;
    color: var(--pv-navy) !important;
    border: 2px solid var(--pv-border);
}

.pv-btn-outline:hover {
    border-color: var(--pv-navy);
    color: var(--pv-navy) !important;
}

.pv-btn-block {
    width: 100%;
    margin-bottom: 10px;
}

.pv-btn-block:last-child {
    margin-bottom: 0;
}

.pv-btn-phone {
    background: var(--pv-success);
    color: var(--pv-white) !important;
    font-size: 16px;
    width: 100%;
    margin-bottom: 16px;
}

.pv-btn-phone:hover {
    background: #218838;
}

/* Lead Form */
.pv-lead-form input,
.pv-lead-form textarea,
.pv-lead-form select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--pv-border);
    border-radius: var(--pv-radius-sm);
    font-size: 14px;
    margin-bottom: 10px;
    font-family: inherit;
}

.pv-lead-form input:focus,
.pv-lead-form textarea:focus,
.pv-lead-form select:focus {
    outline: none;
    border-color: var(--pv-navy);
    box-shadow: 0 0 0 3px rgba(45,62,80,0.1);
}

.pv-lead-form textarea {
    resize: vertical;
    min-height: 80px;
}

.pv-form-note {
    font-size: 12px;
    color: var(--pv-text-muted);
    text-align: center;
    margin-top: 10px;
    margin-bottom: 0;
}

/* Share Buttons */
.pv-share-buttons {
    display: flex;
    gap: 8px;
}

.pv-share-btn {
    flex: 1;
    padding: 8px 12px;
    border-radius: var(--pv-radius-sm);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    color: var(--pv-white) !important;
}

.pv-share-fb { background: #1877f2; }
.pv-share-tw { background: #1da1f2; }
.pv-share-li { background: #0077b5; }

.pv-share-btn:hover {
    opacity: 0.9;
}

/* Related List */
.pv-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pv-related-list li {
    margin-bottom: 12px;
}

.pv-related-list li:last-child {
    margin-bottom: 0;
}

.pv-related-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--pv-text);
}

.pv-related-list a:hover .pv-related-name {
    color: var(--pv-accent);
}

.pv-related-list img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: var(--pv-radius-sm);
    background: var(--pv-bg);
}

.pv-no-logo {
    width: 40px;
    height: 40px;
    background: var(--pv-navy);
    color: var(--pv-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    border-radius: var(--pv-radius-sm);
}

.pv-related-name {
    font-weight: 500;
    transition: color 0.2s;
}

.pv-view-all {
    display: block;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid var(--pv-border);
    color: var(--pv-accent) !important;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.pv-view-all:hover {
    text-decoration: underline;
}

/* ========================================
   Archive Page
======================================== */
.pv-archive-header {
    text-align: center;
    margin-bottom: 30px;
}

.pv-archive-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: var(--pv-navy);
    margin: 0 0 8px;
}

.pv-archive-header p {
    color: var(--pv-text-light);
    font-size: 16px;
    margin: 0 0 8px;
}

.pv-archive-count {
    display: inline-block;
    font-size: 14px;
    color: var(--pv-text-muted);
}

/* Filters */
.pv-filters {
    background: var(--pv-white);
    border-radius: var(--pv-radius);
    box-shadow: var(--pv-shadow);
    padding: 16px 20px;
    margin-bottom: 24px;
}

.pv-filter-form-inline {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.pv-filter-form-inline input[type="text"] {
    flex: 2;
    min-width: 200px;
    max-width: 300px;
    padding: 10px 14px;
    border: 1px solid var(--pv-border);
    border-radius: var(--pv-radius-sm);
    font-size: 14px;
}

.pv-filter-form-inline select {
    flex: 1;
    min-width: 120px;
    max-width: 160px;
    padding: 10px 14px;
    border: 1px solid var(--pv-border);
    border-radius: var(--pv-radius-sm);
    font-size: 14px;
}

.pv-filters form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.pv-filters input,
.pv-filters select {
    flex: 1;
    min-width: 200px;
    padding: 10px 14px;
    border: 1px solid var(--pv-border);
    border-radius: var(--pv-radius-sm);
    font-size: 14px;
}

.pv-filters button {
    padding: 10px 24px;
    background: var(--pv-primary);
    color: var(--pv-white);
    border: none;
    border-radius: var(--pv-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.pv-filters button:hover {
    background: var(--pv-primary-dark);
}

@media (max-width: 600px) {
    .pv-filter-form-inline {
        flex-direction: column;
    }
    
    .pv-filter-form-inline input[type="text"],
    .pv-filter-form-inline select {
        max-width: none;
        width: 100%;
    }
}

/* Results Count */
.pv-results-count {
    font-size: 14px;
    color: var(--pv-text-light);
    margin-bottom: 16px;
}

/* Vendor Grid */
.pv-vendor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 960px) {
    .pv-vendor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pv-vendor-grid {
        grid-template-columns: 1fr;
    }
}

/* Vendor Card */
.pv-vendor-card {
    background: var(--pv-white);
    border-radius: var(--pv-radius);
    box-shadow: var(--pv-shadow);
    overflow: hidden;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pv-vendor-card.pv-featured {
    border: 2px solid var(--pv-accent);
}

.pv-vendor-card .pv-featured-badge,
.pv-city-reseller-card .pv-featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    left: auto;
    bottom: auto;
    width: auto;
    height: auto;
    background: var(--pv-accent);
    color: var(--pv-white);
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 10;
    display: inline-block;
    line-height: 1.2;
}

.pv-vendor-card:hover {
    box-shadow: var(--pv-shadow-lg);
    transform: translateY(-2px);
}

.pv-vendor-card a {
    text-decoration: none;
    color: inherit;
}

.pv-card-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid var(--pv-border);
}

.pv-card-logo {
    width: 60px;
    height: 60px;
    background: var(--pv-bg);
    border-radius: var(--pv-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pv-card-logo img {
    max-width: 50px;
    max-height: 50px;
    object-fit: contain;
}

.pv-card-logo-letter {
    width: 60px;
    height: 60px;
    background: var(--pv-primary);
    color: var(--pv-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    border-radius: var(--pv-radius-sm);
}

.pv-card-no-logo {
    width: 60px;
    height: 60px;
    background: var(--pv-navy);
    color: var(--pv-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    border-radius: var(--pv-radius-sm);
}

.pv-card-title-wrap {
    flex: 1;
    min-width: 0;
}

.pv-card-title {
    margin: 0 0 4px;
}

.pv-card-title a {
    font-size: 16px;
    font-weight: 700;
    color: var(--pv-navy);
    text-decoration: none;
}

.pv-card-title a:hover {
    color: var(--pv-accent);
}

.pv-featured-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--pv-accent);
    color: var(--pv-white);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
}

.pv-vendor-card.is-featured {
    position: relative;
    border: 2px solid var(--pv-accent);
}

.pv-card-type {
    font-size: 12px;
    color: var(--pv-text-muted);
}

.pv-card-body {
    padding: 16px 20px;
    flex: 1;
}

.pv-card-excerpt {
    font-size: 14px;
    color: var(--pv-text-light);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pv-card-footer {
    padding: 12px 20px;
    background: var(--pv-bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pv-card-location {
    font-size: 13px;
    color: var(--pv-text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.pv-card-link {
    font-size: 13px;
    color: var(--pv-accent);
    font-weight: 600;
}

/* Pagination */
.pv-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pv-pagination a,
.pv-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: var(--pv-white);
    border: 1px solid var(--pv-border);
    border-radius: var(--pv-radius-sm);
    font-size: 14px;
    color: var(--pv-text);
    text-decoration: none;
}

.pv-pagination a:hover {
    background: var(--pv-primary-light);
    border-color: var(--pv-primary);
    color: var(--pv-primary);
}

.pv-pagination .current {
    background: var(--pv-primary);
    border-color: var(--pv-primary);
    color: var(--pv-white);
}

/* No Results */
.pv-no-results {
    text-align: center;
    padding: 60px 20px;
    background: var(--pv-white);
    border-radius: var(--pv-radius);
    box-shadow: var(--pv-shadow);
}

.pv-no-results h2 {
    font-size: 24px;
    color: var(--pv-navy);
    margin: 0 0 12px;
}

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

/* CTA Section */
.pv-cta-section {
    background: var(--pv-navy);
    color: var(--pv-white);
    padding: 50px;
    border-radius: var(--pv-radius);
    text-align: center;
    margin-top: 40px;
}

.pv-cta-section h2 {
    color: var(--pv-white);
    margin: 0 0 10px;
    font-size: 28px;
}

.pv-cta-section p {
    opacity: 0.9;
    margin: 0 0 20px;
    font-size: 16px;
}

.pv-cta-section .pv-btn-primary {
    background: var(--pv-accent);
    border-color: var(--pv-accent);
}

.pv-cta-section .pv-btn-primary:hover {
    background: #d14a24;
    border-color: #d14a24;
}

@media (max-width: 600px) {
    .pv-cta-section {
        padding: 30px 20px;
    }
    
    .pv-cta-section h2 {
        font-size: 22px;
    }
}

/* Related Section */
.pv-related-section {
    margin-top: 40px;
}

.pv-related-block {
    background: var(--pv-white);
    border-radius: var(--pv-radius);
    box-shadow: var(--pv-shadow);
    padding: 24px;
    margin-bottom: 20px;
}

.pv-related-block h2 {
    font-size: 18px;
    color: var(--pv-navy);
    margin: 0 0 16px;
}

.pv-related-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pv-related-tag {
    display: inline-block;
    background: var(--pv-bg);
    color: var(--pv-text);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    border: 1px solid var(--pv-border);
    transition: all 0.2s;
}

.pv-related-tag:hover {
    background: var(--pv-navy);
    color: var(--pv-white);
    border-color: var(--pv-navy);
}

/* Archive CTA */
.pv-archive-cta {
    background: var(--pv-navy);
    border-radius: var(--pv-radius);
    padding: 40px;
    margin-top: 40px;
    text-align: center;
}

.pv-archive-cta h2 {
    font-size: 24px;
    color: var(--pv-white);
    margin: 0 0 12px;
}

.pv-archive-cta p {
    color: rgba(255,255,255,0.8);
    margin: 0 0 24px;
}

.pv-btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

/* ========================================
   Responsive
======================================== */
@media (max-width: 768px) {
    .pv-header-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .pv-logo {
        width: 100px;
        height: 100px;
    }
    
    .pv-meta {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .pv-social {
        justify-content: center;
    }
    
    .pv-title {
        font-size: 24px;
    }
    
    .pv-details-table .label {
        width: 120px;
    }
    
    .pv-review-link {
        flex-direction: column;
        text-align: center;
    }
    
    .pv-archive-header h1 {
        font-size: 26px;
    }
    
    .pv-archive-header p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .pv-container {
        padding: 0 15px;
    }
    
    .pv-header-card {
        padding: 20px 15px;
    }
    
    .pv-main-content {
        padding: 20px 15px;
    }
    
    .pv-details-table .label {
        width: 100px;
        font-size: 13px;
    }
    
    .pv-details-table .value {
        font-size: 14px;
    }
    
    .pv-sidebar-card {
        padding: 16px;
    }
    
    .pv-related-list li a {
        padding: 10px 0;
    }
    
    .pv-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .pv-card-header {
        padding: 15px;
    }
    
    .pv-card-body {
        padding: 0 15px 15px;
    }
    
    .pv-card-footer {
        padding: 12px 15px;
    }
}

/* ========================================
   City Resellers Shortcode
======================================== */
.pv-city-resellers-section {
    margin: 40px 0;
}

.pv-city-resellers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.pv-city-reseller-card {
    position: relative;
    background: var(--pv-white);
    border-radius: var(--pv-radius);
    box-shadow: var(--pv-shadow);
    padding: 20px;
    transition: all 0.2s;
}

.pv-city-reseller-card:hover {
    box-shadow: var(--pv-shadow-lg);
}

.pv-city-reseller-card.pv-featured {
    border: 2px solid var(--pv-accent);
}

.pv-city-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.pv-city-card-logo {
    width: 50px;
    height: 50px;
    background: var(--pv-bg);
    border-radius: var(--pv-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pv-city-card-logo img {
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
}

.pv-city-card-letter {
    width: 50px;
    height: 50px;
    background: var(--pv-primary);
    color: var(--pv-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    border-radius: var(--pv-radius-sm);
}

.pv-city-card-info {
    flex: 1;
    min-width: 0;
}

.pv-city-card-title {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px;
}

.pv-city-card-title a {
    color: var(--pv-text);
    text-decoration: none;
}

.pv-city-card-title a:hover {
    color: var(--pv-accent);
}

.pv-city-card-location {
    font-size: 13px;
    color: var(--pv-text-muted);
}

.pv-city-card-excerpt {
    font-size: 14px;
    color: var(--pv-text-light);
    line-height: 1.5;
    margin-bottom: 12px;
}

.pv-city-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--pv-border);
}

.pv-city-card-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--pv-accent);
    text-decoration: none;
}

.pv-city-card-link:hover {
    text-decoration: underline;
}

.pv-city-card-phone {
    font-size: 14px;
    color: var(--pv-text);
    text-decoration: none;
}

@media (max-width: 600px) {
    .pv-city-resellers-grid {
        grid-template-columns: 1fr;
    }
}
