/* /assets/css/featured-transport-widget.css */

.featured-transport-widget {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin-bottom: 40px;
}

/* ... Header, Tabs, Grid styles remain the same ... */
.featured-transport-widget .widget-title { font-size: 28px; font-weight: 700; margin-bottom: 10px; color: #1a1a1a; }
.featured-transport-widget .guarantees-list { list-style: none; padding: 0; margin: 0 0 25px 0; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; }
.featured-transport-widget .guarantees-list li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: #333; }
.featured-transport-widget .tabs-nav { list-style: none; padding: 0; margin: 0 0 30px 0; display: flex; flex-wrap: wrap; gap: 10px; }
.featured-transport-widget .tabs-nav li { padding: 8px 20px; border: 1px solid #ddd; border-radius: 20px; cursor: pointer; transition: all 0.3s ease; background: #fff; font-weight: 500; color: #333; }
.featured-transport-widget .tabs-nav li:hover { background: #f5f5f5; border-color: #ccc; }
.featured-transport-widget .tabs-nav li.active { background: #1a1a1a; color: #fff; border-color: #1a1a1a; }
.featured-transport-widget .tab-pane { display: none; }
.featured-transport-widget .tab-pane.active { display: block; animation: fadeIn 0.5s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.featured-transport-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }

/* Card Styles */
.transport-card {
    border: 1px solid #e0e0e0; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column;
}
.transport-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.1); }
.transport-card .card-image-link { display: block; height: 180px; overflow: hidden; }
.transport-card .card-image-link img, .transport-card .placeholder-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.transport-card:hover .card-image-link img { transform: scale(1.05); }
.transport-card .placeholder-image { background-color: #f0f0f0; }
.transport-card .card-content { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; }
.transport-card .card-title { font-size: 16px; font-weight: 600; margin: 0 0 8px 0; }
.transport-card .card-title a { text-decoration: none; color: #222; }
.transport-card .star-rating { margin-bottom: 8px; font-size: 12px; color: #ccc; }
.transport-card .star-rating i.filled { color: #f39c12; }
.transport-card .review-info { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 15px; }
.transport-card .numeric-rating { background-color: #0073e6; color: #fff; font-weight: 700; padding: 3px 6px; border-radius: 4px; font-size: 12px; }
.transport-card .reviews-count { color: #666; }
.transport-card .card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px solid #f0f0f0; }
.transport-card .card-read-more { text-decoration: none; font-weight: 600; color: #A72A8D; font-size: 14px; }
.transport-card .card-actions-right { display: flex; align-items: center; gap: 10px; }

/* FIX FOR PRICE ALIGNMENT */
.transport-card .price-info {
    text-align: right;
    line-height: 1.2;
}
.transport-card .price-info .price-label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
}
.transport-card .price-info .price-value {
    font-size: 16px;
    font-weight: 700;
    color: #222;
    display: flex; /* Ensures symbol and number align correctly */
    align-items: center;
    justify-content: flex-end;
}
/* Force WooCommerce elements to behave */
.transport-card .price-info .woocommerce-Price-amount {
    display: inline-flex;
    align-items: center;
}
.transport-card .price-info .woocommerce-Price-currencySymbol {
    position: static; /* Prevent superscripting */
    vertical-align: baseline;
    font-size: 100%;
    margin-right: 2px;
}

.transport-card .whatsapp-link { font-size: 22px; color: #25D366; transition: transform 0.2s ease; }
.transport-card .whatsapp-link:hover { transform: scale(1.1); }

/* Responsive */
@media (max-width: 991px) { .featured-transport-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .featured-transport-grid { grid-template-columns: 1fr; } }