/* Product Card Component */
.product-card {
    background: transparent;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    width: 417px;
    height: 547px;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: none;
}

.product-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
    padding: 23px;
}

/* Image Section */
.product-card-image {
    width: 100%;
    height: 218px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    margin-bottom: 0;
}

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

/* Content Section */
.product-card-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: transparent;
}

/* Header: Title and Price */
.product-card-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 8px;
    gap: 16px;
}

.product-card-title {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    margin: 0;
    flex: 1;
    line-height: 1.2;
    text-transform: uppercase;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.product-card-price {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 20px;
    font-weight: 600;
    color: #000000;
    margin: 0;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Basic Info: Body Type and Year */
.product-card-basic-info {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.product-card-separator {
    color: #9ca3af;
}

/* Dashed Divider */
.product-card-divider {
    height: 1px;
    border-top: 1px dashed #d1d5db;
    margin: 16px 0;
}

/* Specifications Grid */
.product-card-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-bottom: 16px;
    height: 88px;
    align-items: center;
    justify-items: center;
}

.product-card-spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    height: 100%;
}

.product-card-spec-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.product-card-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.product-card-spec-value {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 11px;
    font-weight: 400;
    color: #374151;
    text-align: center;
    line-height: 1.3;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Footer Section */
.product-card-footer {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
    margin-top: auto;
    padding-top: 0;
    align-items: baseline;
}

.product-card-footer-item {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 0;
    white-space: nowrap;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.product-card-footer-label {
    font-weight: 400;
    color: #6b7280;
}

.product-card-footer-value {
    font-weight: 600;
    color: #000000;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .product-card {
        width: 100%;
        max-width: 417px;
        height: auto;
        min-height: 547px;
    }

    .product-card-specs {
        width: 100%;
        max-width: 367px;
    }
}

@media (max-width: 768px) {
    .product-card {
        width: 100%;
        height: auto;
    }

    .product-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .product-card-title,
    .product-card-price {
        font-size: 18px;
    }

    .product-card-specs {
        width: 100%;
        grid-template-columns: repeat(2, 1fr);
        height: auto;
        min-height: 88px;
        gap: 12px;
    }

    .product-card-spec-item {
        width: auto;
        height: auto;
    }

    .product-card-spec-icon {
        width: 38px;
        height: 38px;
    }

    .product-card-spec-value {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .product-card-content {
        padding: 16px;
    }

    .product-card-title,
    .product-card-price {
        font-size: 16px;
    }

    .product-card-basic-info {
        font-size: 12px;
    }

    .product-card-specs {
        width: 100%;
        max-width: 100%;
    }
}

