/* VehiLink Products Page — White theme (matches About page) */

body.products-page {
    background: #ffffff;
}

body.products-page .site-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

/* Hero */
.products-hero {
    padding: 64px 0 48px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    text-align: center;
}

.products-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #ff0055;
    background: #fff5f8;
    border: 1px solid #ffd6e7;
    margin-bottom: 16px;
}

.products-hero h1 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #0f172a;
    letter-spacing: -0.03em;
    margin-bottom: 14px;
}

.products-hero p {
    font-size: 17px;
    color: #64748b;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Grid */
.products-section {
    padding: 64px 0 88px;
    background: #f8fafc;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

/* Card */
.product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -16px rgba(255, 0, 85, 0.12);
    border-color: #ffd6e7;
}

.product-card-img {
    height: 180px;
    background: linear-gradient(135deg, #fff5f8 0%, #fdf2f8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f1f5f9;
    overflow: hidden;
}

.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: #ffffff;
    border: 2px solid #ffd6e7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #ff0055;
    box-shadow: 0 12px 24px rgba(255, 0, 85, 0.1);
}

.product-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-body h3 {
    font-size: 18px;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.35;
}

.product-card-body p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.65;
    flex: 1;
    margin-bottom: 20px;
}

.product-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.product-price {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #ff0055;
}

.product-inquire-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: #ff0055;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: inherit;
}

.product-inquire-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 0, 85, 0.3);
}

/* Empty state */
.products-empty {
    text-align: center;
    padding: 80px 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    max-width: 480px;
    margin: 0 auto;
}

.products-empty-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #fff5f8;
    color: #ff0055;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.products-empty h3 {
    font-size: 22px;
    color: #0f172a;
    margin-bottom: 8px;
}

.products-empty p {
    color: #64748b;
    font-size: 15px;
}

/* Modal */
.product-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-modal-overlay.is-open {
    display: flex;
}

.product-modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    padding: 28px;
    position: relative;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.product-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-modal h3 {
    font-size: 20px;
    color: #0f172a;
    margin-bottom: 4px;
    padding-right: 40px;
}

.product-modal-sub {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 20px;
}

.product-modal .form-group {
    margin-bottom: 16px;
}

.product-modal .form-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
    display: block;
}

.product-modal .form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
}

.product-modal .form-control:focus {
    outline: none;
    border-color: #ff0055;
    box-shadow: 0 0 0 3px rgba(255, 0, 85, 0.1);
}

.product-modal-submit {
    width: 100%;
    padding: 14px;
    border-radius: 999px;
    background: #ff0055;
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    font-family: inherit;
    margin-top: 8px;
}

.product-modal-alert {
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
    margin-bottom: 16px;
    display: none;
}

.product-modal-alert.success {
    display: block;
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
}

.product-modal-alert.error {
    display: block;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

@media (max-width: 576px) {
    .products-hero { padding: 40px 0 32px; }
    .product-card-foot { flex-direction: column; align-items: stretch; }
    .product-inquire-btn { justify-content: center; }
}
