﻿/* ============================================
   NAMING PLATES LIST 
   Primary: #951f20
   ============================================ */

:root {
    --primary: #951f20;
    --primary-dark: #7a1818;
    --text-dark: #1f1f1f;
    --text-muted: #5f5f5f;
    --border: #e5e5e5;
}

/* Page Container */
.plates-page-container {
    background: #fdfdfd;
    min-height: 100vh;
    padding: 80px 0 100px;
}

/* Header */
.plates-header {
    text-align: center;
    margin-bottom: 50px;
}

    .plates-header h1 {
        font-size: 2.4rem;
        font-weight: 700;
        color: var(--text-dark);
        margin-bottom: 12px;
    }

    .plates-header .lead {
        font-size: 1.15rem;
        color: var(--text-muted);
        max-width: 720px;
        margin: 0 auto;
    }

/* Grid */
.plates-grid {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 2rem;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

/* Card */
.plate-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 3px;
    overflow: hidden;

    height: 600px; /* makes all cards same height in row */
}

.plate-card-image-container{
    height:380px;
    align-content:center;
}
.card-img-top {
    width: 100%;
    height: 351px;
    /* object-fit: cover; */
    display: flex;
    max-height: fit-content;
    max-width: fit-content;
    justify-self: center;
}
/* Badges - simple positioning */
.badge-national-address {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--primary);
    color: white;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    z-index: 2;
}

[dir="rtl"] .badge-national-address {
    right: auto;
    left: 12px;
}

/* Card Body */
.card-body {
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 14px;
}

.card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

/* Specs & Price */
.specs-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.specs-badges {
    display: flex;
    gap: 8px;
    background-color: gainsboro;
    border-radius:8px;
}
.specs-badges > .badge{
    color:black !important;
}
.badge-shape, .badge-size {
    background: #f5f5f5;
    color: #444;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

.plate-price {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}

/* Description */
.card-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* Button - simple, no crazy hover */
.btn-view-details {
    background: var(--primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    display: block;
    margin-top: auto;
    transition: background 0.2s ease;
}

    .btn-view-details:hover {
        background: var(--primary-dark);
        color: white;
        text-decoration: none;
    }

    .btn-view-details i {
        margin-left: 8px;
    }

[dir="rtl"] .btn-view-details i {
    margin-left: 0;
    margin-right: 8px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 100px 20px;
    color: var(--text-muted);
}

    .empty-state i {
        font-size: 5rem;
        color: #e0e0e0;
        margin-bottom: 20px;
    }

/* Responsive fixes */
@media (max-width: 992px) {
    .card-img-top {
        height: 220px;
    }
}

@media (max-width: 768px) {
    .card-img-top {
        height: 200px;
    }

    .card-body {
        padding: 18px;
    }

    .plate-price {
        font-size: 1.4rem;
    }
    .plates-grid {
        display:block;
    }

}
.badge{
    background:none !important;
}
.plates-grid > .col-lg-4  {
    margin-bottom: 50px;
}