/* Fisier: de-style.css - Versiunea 3.2 (Final) */

/* ... (Codul anterior pentru filtre si grid ramane la fel) ... */
.de-filters-container { background: #fdfcf5; padding: 25px; border: 1px solid #e0d8b0; margin-bottom: 30px; border-radius: 6px; }
.de-filter-form { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; }
.de-form-group { flex: 1; min-width: 150px; }
.de-form-group.search-group { min-width: 250px; flex: 2; }
.de-form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 5px; color: #333; }
.de-form-group input, .de-form-group select { width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; }
.de-double-input { display: flex; gap: 5px; }
.de-filter-btn { background-color: #d4af37; color: #fff; border: none; padding: 11px 25px; cursor: pointer; font-weight: bold; border-radius: 4px; text-transform: uppercase; transition: background 0.2s; width: 100%; }
.de-filter-btn:hover { background-color: #b59020; }
.de-reset-btn { display: block; text-align: center; margin-top: 5px; font-size: 12px; color: #888; text-decoration: none; }

.de-vehicle-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; margin: 20px 0; }
.vehicle-card { background: #fff; border: 1px solid #eee; border-radius: 4px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.vehicle-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); border-color: #d4af37; }
.vehicle-image-wrap { position: relative; width: 100%; height: 220px; background: #f0f2f5; overflow: hidden; }
.vehicle-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.vehicle-card:hover .vehicle-image-wrap img { transform: scale(1.05); }

.de-badge { position: absolute; top: 15px; left: 0; padding: 6px 12px; color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; z-index: 10; box-shadow: 2px 2px 8px rgba(0,0,0,0.25); }
.badge-premium { background-color: #2c3e50; }
.badge-luxury { background-color: #d4af37; color: #fff; }
.badge-extravagant { background-color: #000; color: #d4af37; border: 1px solid #d4af37; }
.badge-promo { background-color: #c0392b; }

/* BADGE LISTING */
.badge-reserved {
    background-color: rgba(220, 0, 0, 0.75); 
    color: #fff; width: 100%; left: 0; top: 40%; text-align: center; transform: rotate(-5deg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2); font-size: 16px; font-weight: 800; padding: 12px 0;
    border-top: 2px solid rgba(255, 255, 255, 0.5); border-bottom: 2px solid rgba(255, 255, 255, 0.5); z-index: 20; letter-spacing: 2px;
}

.vehicle-content { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.vehicle-title { margin: 0 0 10px 0; font-size: 18px; line-height: 1.4; font-weight: 700; color: #333; min-height: 50px; }
.vehicle-title a { text-decoration: none; color: #333; } .vehicle-title a:hover { color: #d4af37; }
.vehicle-specs { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; font-size: 13px; color: #666; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.vehicle-specs span { display: flex; align-items: center; gap: 6px; } .vehicle-specs .dashicons { color: #d4af37; }
.vehicle-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; }
.price-box { display: flex; flex-direction: column; }
.old-price { font-size: 13px; color: #aaa; text-decoration: line-through; margin-bottom: 2px; }
.current-price { font-size: 22px; font-weight: 800; color: #000; line-height: 1; }
.tva-label { font-size: 10px; color: #888; margin-top: 3px; text-transform: uppercase; }
.btn-view { padding: 8px 18px; background-color: #fff; color: #000 !important; border: 1px solid #000; font-size: 13px; font-weight: 600; text-decoration: none; transition: all 0.3s; }
.btn-view:hover { background-color: #000; color: #fff !important; border-color: #000; }

/* SINGLE PAGE */
.de-slider-container { position: relative; margin-bottom: 30px; background: #000; border-radius: 4px; overflow: hidden; }
.de-slider-main { position: relative; width: 100%; display: block; background-color: #000; }
.de-slide { display: none; width: 100%; line-height: 0; }
.de-slide img { width: 100%; max-height: 600px; object-fit: contain; display: block; margin: 0 auto; }
.fade { animation: none !important; opacity: 1 !important; }

.de-prev, .de-next { cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); width: auto; padding: 16px; color: white !important; font-weight: bold; font-size: 24px; transition: 0.3s ease; user-select: none; background-color: rgba(0,0,0,0.4); text-decoration: none !important; z-index: 100; line-height: 1; }
.de-next { right: 0; border-radius: 3px 0 0 3px; } .de-prev:hover, .de-next:hover { background-color: #d4af37; }

.de-slider-thumbs { display: flex; overflow-x: auto; background: #1a1a1a; padding: 10px; gap: 8px; }
.de-column { flex: 0 0 90px; cursor: pointer; }
.de-thumb-opacity { opacity: 0.6; width: 100%; height: 60px; object-fit: cover; border: 2px solid transparent; transition: opacity 0.2s ease; display: block; border-radius: 4px; }
.de-thumb-opacity:hover { opacity: 1; } .de-thumb-opacity.active { opacity: 1; border-color: #d4af37; }

.de-single-header-box { background: #fff; padding: 20px; border: 1px solid #eee; border-left: 5px solid #d4af37; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 30px; box-shadow: 0 5px 15px rgba(0,0,0,0.03); }
.de-single-price { font-size: 32px; font-weight: 800; color: #d4af37; }
.de-btn-contact { background-color: #d4af37; color: #fff !important; padding: 12px 30px; font-weight: bold; text-transform: uppercase; text-decoration: none; transition: background 0.3s; }
.de-btn-contact:hover { background-color: #b59020; }

.de-single-specs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; margin-bottom: 30px; }
.de-spec-item { background: #fff; border: 1px solid #eee; padding: 15px; border-radius: 6px; text-align: center; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.de-spec-item i { font-size: 24px; color: #d4af37; margin-bottom: 10px; display: block; }
.de-spec-item span { display: block; color: #555; font-size: 14px; }
.de-spec-item strong { display: block; color: #000; font-size: 16px; margin-top: 5px; }

.de-tech-table-wrap h3, .de-original-content h3 { border-bottom: 2px solid #eee; padding-bottom: 10px; margin-bottom: 20px; margin-top: 30px; color: #333; }
.de-tech-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.de-tech-table th, .de-tech-table td { padding: 12px 15px; border-bottom: 1px solid #eee; text-align: left; }
.de-tech-table th { background-color: #fcfcfc; font-weight: 600; width: 40%; color: #444; }

/* BADGE SINGLE PAGE (SLIDER) - NOU */
.badge-reserved-single {
    background-color: rgba(220, 0, 0, 0.75); 
    color: #fff;
    position: absolute;
    width: 60%; /* Mai scurt pe pagina single ca sa nu acopere tot */
    left: 20%;  /* Centrat */
    top: 50%;
    text-align: center;
    transform: translateY(-50%) rotate(-10deg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    font-size: 30px;
    font-weight: 900;
    padding: 20px 0;
    border: 3px solid rgba(255, 255, 255, 0.8);
    z-index: 99;
    letter-spacing: 4px;
    pointer-events: none; /* Permite click-ul prin el la nevoie */
}

@media (max-width: 768px) {
    .de-vehicle-grid { grid-template-columns: 1fr; }
    .de-filter-form { flex-direction: column; align-items: stretch; }
    .de-single-header-box { flex-direction: column; align-items: flex-start; gap: 15px; }
    .badge-reserved-single { font-size: 18px; width: 80%; left: 10%; }
}

body.single-vehicle #secondary, body.single-vehicle #sidebar { display: none !important; }
body.single-vehicle #primary, body.single-vehicle .content-area { width: 100% !important; max-width: 100% !important; }