/* ============================================
   PERFECT CAR — ALL STYLES
   Brand: #003f3a (primary) | #c0d108 (accent)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600&family=Saira:wght@600;700;800&display=swap');


:root {
    --font-body:    'Roboto', sans-serif;
--font-heading: 'Saira', sans-serif;
    --pc-primary: #016b61;
    --pc-accent:  #c0d108;
    --pc-dark:    #014d10;
    --pc-light:   #f4f9f4;
    --pc-border:  #e0e0e0;
    --pc-text:    #1a1a1a;
    --pc-muted:   #6b7280;
    --pc-white:   #ffffff;
    --pc-red:     #dc2626;
    --pc-amber:   #f59e0b;
    --pc-radius:  8px;
    --pc-shadow:  0 2px 12px rgba(0,0,0,.08);
}

/* ─── SINGLE CAR PAGE ─── */
.pc-single-page {
    background: #f8f9fa;
    padding-bottom: 60px;
}
.pc-single-container {
   max-width: var(--e-global-content-width, 1280px);
    margin: 0 auto;
    padding: 20px 20px 0;
    box-sizing: border-box;
}

/* Breadcrumb */
.pc-breadcrumb {
    font-size: 12px;
    color: var(--pc-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.pc-breadcrumb a { color: var(--pc-muted); text-decoration: none; }
.pc-breadcrumb a:hover { color: var(--pc-primary); }

/* Back link */
.pc-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--pc-text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 20px;
}
.pc-back-link:hover { color: var(--pc-primary); }

/* Hero grid */
.pc-single-hero {
    display: grid;
    grid-template-columns: 56% 44%;
    gap: 30px;
    background: var(--pc-white);
    border-radius: var(--pc-radius);
    padding: 24px;
    box-shadow: var(--pc-shadow);
    margin-bottom: 24px;
}
.pc-gallery-col,
.pc-details-col {
    min-width: 0;
    overflow: hidden;
}
@media (max-width: 900px) {
    .pc-single-hero { grid-template-columns: 1fr; }
}

/* Gallery */
.pc-main-image {
    border-radius: var(--pc-radius);
    overflow: hidden;
    background: #111;
    aspect-ratio: 4/3;
    margin-bottom: 10px;
    position: relative;
}
.pc-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s;
    cursor: zoom-in;
}
.pc-main-image img:hover { transform: scale(1.02); }
.pc-no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    font-size: 60px;
}
.pc-thumb-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--pc-primary) #f0f0f0;
}
.pc-thumb-strip::-webkit-scrollbar { height: 4px; }
.pc-thumb-strip::-webkit-scrollbar-thumb { background: var(--pc-primary); border-radius: 2px; }
.pc-thumb {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    border: 2px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color .2s, opacity .2s;
    opacity: .75;
}
.pc-thumb:hover, .pc-thumb.active {
    border-color: var(--pc-primary);
    opacity: 1;
}

/* Car title */
.pc-car-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--pc-text);
    margin: 0 0 12px;
    line-height: 1.3;
}
.pc-insp-score-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--pc-accent);
    color: var(--pc-primary);
    font-size: 13px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.pc-insp-score-badge:hover {

    background: var(--pc-primary);
    color: var(--pc-accent);
  
}


/* Bid info */
.pc-bid-section { margin-bottom: 16px; }
.pc-starting-bid { font-size: 13px; color: var(--pc-muted); margin-bottom: 4px; }
.pc-starting-bid span { font-weight: 600; color: var(--pc-text); }
.pc-current-bid-box { display: flex; flex-direction: column; gap: 2px; }
.pc-current-label { font-size: 12px; color: var(--pc-muted); }
.pc-current-amount { font-size: 28px; font-weight: 700; color: var(--pc-text); }

/* Specs grid */
.pc-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}
@media (min-width: 1200px) { .pc-specs-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px)  { .pc-specs-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 500px)  { .pc-specs-grid { grid-template-columns: repeat(2, 1fr); } }
.pc-spec-item {
    background: var(--pc-light);
    border: 1px solid #dceede;
    border-radius: var(--pc-radius);
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    min-width: 0;
    overflow: hidden;
}
.pc-spec-item .fas { font-size: 17px; color: var(--pc-primary); flex-shrink: 0; }
.pc-spec-label { font-size: 10px; color: var(--pc-muted); text-transform: uppercase; letter-spacing: .4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }
.pc-spec-value { font-size: 12px; font-weight: 600; color: var(--pc-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; }


/* Countdown */
.pc-countdown-section { margin-bottom: 20px; }
.pc-countdown-section h4 {
    font-size: 12px;
    font-weight: 700;
    color: var(--pc-text);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin: 0 0 10px;
}
.pc-countdown-boxes {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}
.pc-count-box {
    background: var(--pc-primary);
    color: var(--pc-white);
    border-radius: var(--pc-radius);
    padding: 10px 14px;
    text-align: center;
    min-width: 56px;
}
.pc-count-box span { display: block; font-size: 22px; font-weight: 700; line-height: 1; }
.pc-count-box small { font-size: 10px; color: rgba(255,255,255,.65); text-transform: uppercase; display: block; margin-top: 3px; }
.pc-count-sep { font-size: 20px; font-weight: 700; color: var(--pc-primary); }
.pc-ending-on { font-size: 12px; color: var(--pc-muted); margin: 0; }
.pc-ending-on strong { color: var(--pc-text); }

/* Bid form */
.pc-bid-form-section h4 { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin: 0 0 10px; }


/* ─── Premium Bidding Form Fix (Specificity Update) ─── */
.pc-single-page .pc-bid-input-wrap {
    display: flex;
    align-items: center;
    height: 56px;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    transition: border-color 0.2s;
}

/* Base style for both buttons to override reset.css focus/active states */
.pc-single-page .pc-bid-input-wrap button.pc-bid-minus, 
.pc-single-page .pc-bid-input-wrap button.pc-bid-plus {
    background: transparent;
    border: none;
    width: 56px;
    height: 100%;
    color: var(--pc-primary);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    margin: 0;
    padding: 0;
    transition: all 0.2s;
    outline: none; /* Removes default focus ring */
}

/* Override the red focus/active color from reset.css */
.pc-single-page .pc-bid-input-wrap button.pc-bid-minus:focus,
.pc-single-page .pc-bid-input-wrap button.pc-bid-plus:focus,
.pc-single-page .pc-bid-input-wrap button.pc-bid-minus:active,
.pc-single-page .pc-bid-input-wrap button.pc-bid-plus:active {
    background: #e5e7eb; /* Fallback to grey on click */
    color: var(--pc-primary);
}

/* Specific Hover: Minus Button (Grey) */
.pc-single-page .pc-bid-input-wrap button.pc-bid-minus:hover {
    background: #e5e7eb;
}

/* Specific Hover: Plus Button (Brand Yellow) */
.pc-single-page .pc-bid-input-wrap button.pc-bid-plus:hover {
    background: var(--pc-accent); /* #c0d108 */
    color: var(--pc-primary);
}

/* Specific Active/Focus for Plus Button (Brand Yellow) */
.pc-single-page .pc-bid-input-wrap button.pc-bid-plus:focus,
.pc-single-page .pc-bid-input-wrap button.pc-bid-plus:active {
    background: var(--pc-accent);
}


.pc-place-bid-btn {
    width: 100%; height: 56px; background: #016b61; color: #fff; font-family: 'Saira', sans-serif; font-size: 17px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; border: none; border-radius: 12px; cursor: pointer; transition: all 0.2s; box-shadow: 0 4px 12px rgba(1,107,97,0.2);
}
.pc-place-bid-btn:hover { background: #016b61; transform: translateY(-1px); }
.pc-place-bid-btn:disabled { background: #ccc; cursor: not-allowed; transform: none; }
#pc-bid-message.pc-success { background: #ecfdf5; color: #065f46; }
#pc-bid-message.pc-error   { background: #fef2f2; color: #dc2626; }
.pc-login-to-bid { text-align: center; padding: 16px; background: var(--pc-light); border-radius: var(--pc-radius); }
.pc-login-to-bid p { font-size: 13px; color: var(--pc-muted); margin-bottom: 10px; }
.pc-single-page .pc-btn-login {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--pc-primary); color: var(--pc-white);
    padding: 10px 20px; border-radius: var(--pc-radius);
    font-size: 14px; font-weight: 600; text-decoration: none;
    transition: background .2s;
}
.pc-single-page .pc-btn-login:hover { background: var(--pc-dark); color: var(--pc-white); }
.pc-auction-ended-badge {
    background: #fef2f2; color: var(--pc-red);
    padding: 12px 16px; border-radius: var(--pc-radius);
    font-weight: 600; font-size: 14px;
    display: flex; align-items: center; gap: 8px;
    border-left: 4px solid var(--pc-red);
}

/* ─── TABS SECTION (Inspection / Live Bidding / Q&A) ─── */
.pc-tabs-section {
    background: var(--pc-white);
    border-radius: var(--pc-radius);
    box-shadow: var(--pc-shadow);
    margin-bottom: 24px;
    overflow: hidden;
}
.pc-tab-nav {
    display: flex;
    border-bottom: 1px solid var(--pc-border);
    overflow-x: auto;
    scrollbar-width: none;
}
.pc-tab-nav::-webkit-scrollbar { display: none; }
.pc-tab-btn {
    flex: 1; min-width: max-content; padding: 18px 24px; background: none; border: none; border-bottom: 3px solid transparent; font-size: 15px; font-weight: 700; color: #6b7280; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; gap: 8px;
}
.pc-tab-btn:hover { color: #111827; background: #f3f4f6; }
.pc-tab-btn.active { color: #016b61; border-bottom-color: #016b61; background: #fff; }
.pc-tab-content { padding: 24px; }
.pc-tab-pane { display: none; }
.pc-tab-pane.active { display: block; }

/* Inspection summary */
.pc-insp-summary h3 {
    font-size: 16px; font-weight: 700; color: var(--pc-text); margin: 0 0 20px;
}
.pc-insp-bars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 40px;
    margin-bottom: 24px;
}
@media (max-width: 600px) { .pc-insp-bars-grid { grid-template-columns: 1fr; } }
.pc-insp-bar-row { display: flex; flex-direction: column; gap: 4px; }
.pc-insp-bar-header { display: flex; justify-content: space-between; align-items: center; }
.pc-insp-bar-label { font-size: 13px; color: var(--pc-text); }
.pc-insp-bar-pct   { font-size: 13px; font-weight: 700; color: var(--pc-text); }
.pc-insp-bar-track { height: 6px; background: #e5e7eb; border-radius: 3px; overflow: hidden; }
.pc-insp-bar-fill  { height: 100%; border-radius: 3px; background: var(--pc-primary); transition: width 1.2s ease; }
.pc-insp-bar-fill.warn  { background: var(--pc-amber); }
.pc-insp-bar-fill.danger { background: var(--pc-red); }
.pc-single-page .pc-btn-full-report {
    display: table; margin: 0 auto; align-items: center; gap: 8px;
    background: var(--pc-primary); color: var(--pc-white);
    padding: 12px 24px; border-radius: var(--pc-radius);
    font-size: 14px; font-weight: 600; text-decoration: none;
    transition: background .2s;
}
.pc-single-page .pc-btn-full-report:hover { background: var(--pc-dark); color: var(--pc-white); }

/* Live bidding */
.pc-live-bid-section h3 { font-size: 16px; font-weight: 700; margin: 0 0 16px; color: var(--pc-text); }
.pc-bid-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.pc-bid-table thead tr { background: var(--pc-text); color: var(--pc-white); }
.pc-bid-table th { padding: 12px 16px; text-align: left; font-weight: 600; }
.pc-bid-table td { padding: 11px 16px; border-bottom: 1px solid #f0f0f0; color: var(--pc-text); }
.pc-bid-table tbody tr:first-child { background: #f0fdf4; }
.pc-bid-table tbody tr:first-child td { font-weight: 600; }
.pc-bid-table tbody tr:hover { background: var(--pc-light); }
.pc-bidder-name { font-weight: 600; }

/* Q&A */
.pc-qa-section { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 700px) { .pc-qa-section { grid-template-columns: 1fr; } }
.pc-qa-list h3, .pc-qa-form-wrap h3 { font-size: 16px; font-weight: 700; margin: 0 0 16px; color: var(--pc-text); }
.pc-question-item {
    border: 1px solid var(--pc-border);
    border-radius: var(--pc-radius);
    padding: 14px;
    margin-bottom: 12px;
}
.pc-question-item .pc-q-author {
    font-size: 12px; font-weight: 700; color: var(--pc-primary); margin-bottom: 4px;
}
.pc-question-item .pc-q-text { font-size: 13px; color: var(--pc-text); margin-bottom: 8px; }
.pc-question-item .pc-q-date { font-size: 11px; color: var(--pc-muted); }
.pc-answer-box {
    background: var(--pc-light);
    border-left: 3px solid var(--pc-accent);
    padding: 10px 12px;
    border-radius: 0 var(--pc-radius) var(--pc-radius) 0;
    margin-top: 10px;
}
.pc-answer-box .pc-admin-label {
    font-size: 11px; font-weight: 700; color: var(--pc-primary); margin-bottom: 4px; text-transform: uppercase;
}
.pc-answer-box p { font-size: 13px; color: var(--pc-text); margin: 0; }
.pc-qa-form-wrap textarea {
    width: 100%; box-sizing: border-box;
    padding: 12px; border: 1.5px solid var(--pc-border);
    border-radius: var(--pc-radius); font-size: 13px;
    resize: vertical; min-height: 100px; outline: none;
    font-family: inherit; transition: border-color .2s;
}
.pc-qa-form-wrap textarea:focus { border-color: var(--pc-primary); }
.pc-qa-submit {
    margin-top: 10px;
    background: var(--pc-primary); color: var(--pc-white);
    border: none; padding: 11px 24px; border-radius: var(--pc-radius);
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: background .2s;
}
.pc-qa-submit:hover { background: var(--pc-dark); }
.pc-login-to-ask {
    background: var(--pc-light); padding: 16px; border-radius: var(--pc-radius);
    font-size: 13px; color: var(--pc-muted); text-align: center;
}
.pc-login-to-ask a { color: var(--pc-primary); font-weight: 600; }

/* ─── RELATED AUCTIONS ─── */
.pc-related-section {
    background: var(--pc-white);
    border-radius: var(--pc-radius);
    box-shadow: var(--pc-shadow);
    padding: 24px;
}
.pc-related-header {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;
}
.pc-related-header h3 { font-size: 20px; font-weight: 700; color: var(--pc-text); margin: 0; }
.pc-swiper-nav { display: flex; gap: 8px; }
.pc-swiper-nav button {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1.5px solid var(--pc-border); background: var(--pc-white);
    cursor: pointer; font-size: 14px; color: var(--pc-text);
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
}
.pc-swiper-nav button:hover { background: var(--pc-primary); color: var(--pc-white); border-color: var(--pc-primary); }
.swiper { overflow: hidden; }
.swiper-slide { box-sizing: border-box; }

/* ─── CAR CARDS (carousel + archive) ─── */
.pc-car-card {
    background: var(--pc-white);
    border-radius: var(--pc-radius);
    overflow: hidden;
    border: 1px solid var(--pc-border);
    transition: transform .2s, box-shadow .2s;
    cursor: pointer;
}
.pc-car-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.pc-card-img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--pc-text);
}
.pc-card-img img {
    width: 100%; height: 100%; object-fit: cover; object-position: center;
    background: #f3f4f6;
    display: block; transition: transform .3s;
}
.pc-car-card:hover .pc-card-img img { transform: scale(1.05); }
.pc-card-img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 40px; color: #555;
}
.pc-live-badge {
    position: absolute; top: 10px; left: 10px;
    background: var(--pc-primary); color: var(--pc-white);
    font-size: 10px; font-weight: 700; padding: 4px 10px;
    border-radius: 12px; display: flex; align-items: center; gap: 4px;
}
.pc-live-dot {
    width: 6px; height: 6px; background: var(--pc-accent);
    border-radius: 50%; animation: pcPulse 1.2s ease infinite;
}
@keyframes pcPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(1.3); }
}
.pc-card-timer {
    position: absolute; bottom: 8px; left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,.96);
    border-radius: 20px; padding: 4px 14px;
    display: flex; align-items: center; gap: 8px;
    white-space: nowrap; font-size: 12px;
}
.pc-card-timer .pc-t-num { font-weight: 700; color: var(--pc-text); font-size: 13px; }
.pc-card-timer .pc-t-label { font-size: 9px; color: var(--pc-muted); display: block; text-align: center; }
.pc-card-body { padding: 12px 14px; }
.pc-card-title {
    font-size: 13px; font-weight: 700; color: var(--pc-text);
    margin: 0 0 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pc-card-bid-label { font-size: 10px; color: var(--pc-muted); margin: 0 0 2px; }
.pc-card-bid-amount { font-size: 17px; font-weight: 700; color: var(--pc-text); margin: 0; }
.pc-card-actions {
    padding: 0 14px 14px;
    display: flex; gap: 8px; align-items: center;
}
.pc-single-page .pc-btn-bid-now {
    background: var(--pc-primary); color: var(--pc-white);
    padding: 8px 16px; border-radius: 6px;
    font-size: 12px; font-weight: 700;
    text-decoration: none; transition: background .2s;
}
.pc-single-page .pc-btn-bid-now:hover { background: var(--pc-dark); color: var(--pc-white); }
.pc-card-score {
    background: var(--pc-text); color: var(--pc-white);
    padding: 6px 12px; border-radius: 6px; font-size: 11px; font-weight: 600;
}
/* View all link */
.pc-view-all-wrap { text-align: center; margin-top: 30px; }
.pc-view-all-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--pc-text); font-size: 14px; font-weight: 700;
    text-decoration: none; border-bottom: 2px solid var(--pc-accent);
    padding-bottom: 2px; transition: color .2s;
}
.pc-view-all-link:hover { color: var(--pc-primary); }

/* ─── ARCHIVE PAGE ─── */
.pc-archive-page {
        max-width: var(--e-global-content-width, 1280px); margin: 40px auto; padding: 0 20px;

}
.pc-archive-header { margin-bottom: 28px; }
.pc-archive-header h1 { font-size: 26px; font-weight: 700; color: var(--pc-text); margin: 0 0 4px; }
.pc-archive-header p  { font-size: 14px; color: var(--pc-muted); margin: 0; }
.pc-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

/* ─── NOTIFICATION BELL SHORTCODE ─── */
.pc-bell-wrap { 
    position: relative; 
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    height: 100%; /* Ensures vertical centering in header containers */
}

.pc-bell-trigger {
    background: none; 
    border: none; 
    cursor: pointer;
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: center; /* Centers the icon horizontally */
    color: var(--pc-primary);
    
    /* Circle Dimensions */
    width: 44px; 
    height: 44px; 
    border-radius: 50%;
    padding: 0; /* Remove padding to keep circle perfect */
    transition: background 0.2s ease-in-out;
}

/* Vertical Center Alignment for the Icon */
.pc-bell-trigger .fas { 
    font-size: 24px; 
    line-height: 1; /* Prevents font-line-height from pushing the icon down */
}

/* Hover Effect */
.pc-bell-trigger:hover {
    background-color: rgba(0, 0, 0, 0.05); /* Light gray circle */
}

/* ─── Notification Badge Fix ─── */
.pc-bell-wrap .pc-bell-count {
    position: absolute;
    top: -2px; /* Positioned on the shoulder of the bell */
    right: -2px;
    background-color: var(--pc-red);
    color: var(--pc-white);
    
    /* Centering Logic */
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Sizing Logic for 1, 10, or 100 */
    min-width: 18px;
    height: 18px;
    padding: 0 5px; /* Provides space for multi-digit numbers */
    border-radius: 10px; /* Creates a clean pill shape */
    
    /* Typography */
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 700;
    line-height: 1; /* Prevents text from shifting down */
    text-align: center;
    
    /* Visual depth */
    border: 2px solid var(--pc-white); /* Adds a "cutout" look from the background */
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    pointer-events: none; /* User clicks the bell, not the number */
    z-index: 5;
}



.pc-bell-dropdown {
    position: absolute; top: calc(100% + 10px); right: 0;
    width: 320px; background: var(--pc-white);
    border: 1px solid var(--pc-border); border-radius: var(--pc-radius);
    box-shadow: 0 8px 30px rgba(0,0,0,.15); z-index: 99999;
    display: none;
}
.pc-bell-dropdown.open { display: block; }
.pc-bell-head {
    padding: 14px 16px; border-bottom: 1px solid var(--pc-border);
    display: flex; justify-content: space-between; align-items: center;
}
.pc-bell-head h4 { font-size: 14px; font-weight: 700; color: var(--pc-text); margin: 0; }
.pc-bell-mark-all {
    background: none; border: none; color: var(--pc-primary);
    font-size: 12px; font-weight: 600; cursor: pointer;
    text-decoration: underline;
}
.pc-bell-list { max-height: 340px; overflow-y: auto; }
.pc-bell-item {
    padding: 12px 16px; border-bottom: 1px solid #f5f5f5; cursor: pointer;
    transition: background .15s;
}
.pc-bell-item:hover { background: var(--pc-light); }
.pc-bell-item.unread { background: #f0fdf4; }
.pc-bell-item-title { font-size: 12px; font-weight: 700; color: var(--pc-text); margin-bottom: 3px; }
.pc-bell-item-msg   { font-size: 11px; color: var(--pc-muted); margin-bottom: 4px; line-height: 1.4;
white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-bell-item-time  { font-size: 10px; color: #9ca3af; }
.pc-bell-empty { padding: 30px 16px; text-align: center; color: var(--pc-muted); font-size: 13px; }
.pc-bell-footer { padding: 10px 16px; text-align: center; }
.pc-bell-footer a { font-size: 12px; color: var(--pc-primary); font-weight: 600; text-decoration: none; }

/* ─── DASHBOARD ─── */
.pc-dash-wrap {
    display: grid; grid-template-columns: 220px 1fr; gap: 28px;
    max-width: 1240px; margin: 36px auto; padding: 0 20px;
    align-items: start;
}
@media (max-width: 768px) { .pc-dash-wrap { grid-template-columns: 1fr; } }
.pc-dash-sidebar {
    background: var(--pc-text); border-radius: var(--pc-radius);
    padding: 8px; position: sticky; top: 20px;
}
.pc-dash-nav-link {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 14px; border-radius: 6px;
    color: #9ca3af; font-size: 13px; font-weight: 500;
    text-decoration: none; transition: background .15s, color .15s;
}
.pc-dash-nav-link:hover, .pc-dash-nav-link.active {
    background: rgba(255,255,255,.1); color: var(--pc-white);
}
.pc-dash-nav-link .fas { width: 16px; font-size: 13px; }
.pc-dash-nav-link.pc-dash-logout { color: #f87171; margin-top: 8px; }
.pc-dash-nav-link.pc-dash-logout:hover { background: rgba(248,113,113,.15); color: #f87171; }
.pc-dash-main h2 { font-size: 24px; font-weight: 700; color: var(--pc-text); margin: 0 0 22px; }
.pc-stat-cards {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px; margin-bottom: 28px;
}
.pc-stat-card {
    border-radius: var(--pc-radius); padding: 18px 16px;
    color: var(--pc-white); position: relative; overflow: hidden;
}
.pc-stat-card.s-green  { background: #016b61; }
.pc-stat-card.s-teal   { background: #0f766e; }
.pc-stat-card.s-blue   { background: #1d4ed8; }
.pc-stat-card.s-amber  { background: #b45309; }
.pc-stat-card-icon {
    font-size: 32px; opacity: .15;
    position: absolute; right: -6px; bottom: -6px;
}
.pc-stat-card-label { font-size: 11px; opacity: .85; margin-bottom: 6px; }
.pc-stat-card-num   { font-size: 28px; font-weight: 700; line-height: 1; }
.pc-stat-card-link  { font-size: 11px; color: rgba(255,255,255,.65); margin-top: 6px; display: block; text-decoration: none; }
.pc-stat-card-link:hover { color: var(--pc-white); }

/* Dashboard notifications table */
.pc-notif-section {
    background: var(--pc-white); border-radius: var(--pc-radius);
    box-shadow: var(--pc-shadow); overflow: hidden;
}
.pc-notif-section-head {
    padding: 16px 20px; border-bottom: 1px solid var(--pc-border);
    display: flex; justify-content: space-between; align-items: center;
}
.pc-notif-section-head h3 { font-size: 15px; font-weight: 700; color: var(--pc-text); margin: 0; display: flex; align-items: center; gap: 8px; }
.pc-unread-badge {
    background: var(--pc-red); color: var(--pc-white);
    font-size: 10px; padding: 2px 8px; border-radius: 10px; font-weight: 600;
}
.pc-single-page .pc-btn-mark-read {
    background: var(--pc-primary); color: var(--pc-white);
    border: none; padding: 7px 14px; border-radius: 6px;
    font-size: 11px; font-weight: 600; cursor: pointer; transition: background .2s;
}
.pc-btn-mark-read:hover { background: var(--pc-dark); }
.pc-notif-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.pc-notif-table thead tr { background: var(--pc-text); color: var(--pc-white); }
.pc-notif-table th { padding: 10px 16px; text-align: left; font-weight: 600; }
.pc-notif-table td { padding: 10px 16px; border-bottom: 1px solid #f5f5f5; }
.pc-notif-table tr.pc-unread-row { background: #f0fdf4; }
.pc-read-badge   { background: #d1fae5; color: #065f46; padding: 2px 8px; border-radius: 10px; font-size: 10px; font-weight: 600; }
.pc-unread-badge-sm { background: #fef3c7; color: #92400e; padding: 2px 8px; border-radius: 10px; font-size: 10px; font-weight: 600; }

/* ─── AUTH PAGES ─── */
.pc-auth-page {
    max-width: 420px; margin: 60px auto; padding: 0 20px;
}
.pc-auth-card {
    background: var(--pc-white); border-radius: var(--pc-radius);
    padding: 36px; box-shadow: 0 4px 24px rgba(0,0,0,.09);
}
.pc-auth-card h2 { font-size: 22px; font-weight: 700; color: var(--pc-text); margin: 0 0 8px; text-align: center; }
.pc-auth-card p  { font-size: 13px; color: var(--pc-muted); text-align: center; margin: 0 0 24px; }
.pc-field-group { margin-bottom: 16px; }
.pc-field-group label { display: block; font-size: 12px; font-weight: 600; color: var(--pc-text); margin-bottom: 5px; text-transform: uppercase; letter-spacing: .4px; }
.pc-field-group input {
    width: 100%; box-sizing: border-box;
    padding: 11px 14px; border: 1.5px solid var(--pc-border);
    border-radius: var(--pc-radius); font-size: 14px; outline: none;
    font-family: inherit; transition: border-color .2s;
}
.pc-field-group input:focus { border-color: var(--pc-primary); }
.pc-field-group input:disabled { background: var(--pc-light); color: #9ca3af; }
.pc-single-page .pc-submit-btn {
    width: 100%; background: var(--pc-primary); color: var(--pc-white);
    border: none; padding: 13px; border-radius: var(--pc-radius);
    font-size: 15px; font-weight: 700; cursor: pointer;
    transition: background .2s; margin-top: 4px;
}
.pc-single-page .pc-submit-btn:hover { background: var(--pc-dark); }
.pc-auth-links { text-align: center; margin-top: 16px; font-size: 13px; color: var(--pc-muted); }
.pc-auth-links a { color: var(--pc-primary); font-weight: 600; text-decoration: none; }
.pc-alert { padding: 10px 14px; border-radius: 6px; font-size: 13px; font-weight: 600; margin-bottom: 16px; }
.pc-alert.error   { background: #fef2f2; color: var(--pc-red); }
.pc-alert.success { background: #ecfdf5; color: #065f46; }

/* ─── GENERAL ─── */
.pc-divider { height: 1px; background: var(--pc-border); margin: 0; }
.pc-no-results { text-align: center; padding: 40px 20px; color: var(--pc-muted); font-size: 14px; }


/* Gallery arrows + zoom */
.pc-main-image { position: relative; }

.pc-single-page .pc-gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,.85);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    color: var(--pc-text);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.pc-gallery-arrow:hover { background: var(--pc-white); }
.pc-gallery-prev { left: 12px; }
.pc-gallery-next { right: 12px; }

.pc-single-page .pc-zoom-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(255,255,255,.85);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    color: var(--pc-text);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background .2s;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.pc-single-page .pc-zoom-btn:hover { background: var(--pc-white); }


/* ─── TYPOGRAPHY OVERRIDES ─── */
.pc-single-page,
.pc-archive-page,
.pc-auth-page,
.pc-dash-wrap,
.pir-wrap {
    font-family: var(--font-body);
}

.pc-single-page .pc-car-title,
.pc-single-page h1,
.pc-single-page h2,
.pc-single-page h3,
.pc-single-page h4,
.pc-related-header h3,
.pc-tabs-section h3,
.pir-wrap h1,
.pir-wrap h2,
.pir-cat-title,
.pc-dash-main h2 {
    font-family: var(--font-heading);
}