

.related-products-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 400px; /* Adjust max-width as needed */
    overflow: hidden;
    padding-bottom: 20px; /* Space for the footer button */
}

/* Header Section */
.card-header {
    background-color: #f8f8f8; /* Light gray background for header */
    padding: 20px;
    padding-bottom: 25px; /* More space for the heading */
    border-bottom: 1px solid #eee; /* Subtle separator */
}

.brand-logo {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    color: #666;
    font-size: 0.85em;
    font-weight: 500;
}

.brand-logo img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    border-radius: 4px; /* Slight rounded corners for logo placeholder */
}

.card-header h1 {
    font-size: 1.8em; /* Larger, bolder heading */
    font-weight: 700;
    color: #000;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.5px; /* Tighter letter spacing */
}

/* Product List Section */
.product-list {
    padding: 0 20px; /* Padding for the list items */
}

.product-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee; /* Separator for each item */
    text-decoration: none; /* For link items */
    color: inherit; /* For link items */
}

.product-item:last-of-type {
    border-bottom: none; /* No border for the last item */
}

.product-thumbnail {
    width: 60px;
    height: 60px;
    flex-shrink: 0; /* Prevent shrinking */
    background-color: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-thumbnail img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: cover; /* Ensure image covers the area */
}

.product-info {
    flex-grow: 1; /* Allows this section to take available space */
    margin-left: 15px;
}

.product-title {
    font-size: 1em;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    max-height: 3.2em; /* Limit height to show 2 lines */
    overflow: hidden;
    text-overflow: ellipsis; /* Add ellipsis for overflow */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines */
    -webkit-box-orient: vertical;
}


.product-actions {
    display: flex;
    gap: 5px; /* Space between icons */
    flex-shrink: 0; /* Prevent shrinking */
    margin-left: 10px; /* Space between product info and icons */
}

.icon-button {
    background: none;
    border: none;
    padding: 8px; /* Padding inside the button for click area */
    border-radius: 50%; /* Make them round */
    cursor: pointer;
    color: #666; /* Default icon color */
    transition: background-color 0.2s ease, color 0.2s ease;
    display: flex; /* Center SVG */
    justify-content: center;
    align-items: center;
}

.icon-button:hover {
    background-color: #f0f0f0;
    color: #333;
}

.icon-button svg {
    width: 20px; /* Icon size */
    height: 20px; /* Icon size */
}

/* Specific styling for arrow icon if needed (e.g., color) */
.product-item.link-item .arrow-icon {
    color: #333; /* Darker arrow icon for link items */
}


/* Footer Section */
.card-footer {
    padding: 20px;
    padding-top: 10px; /* Less padding at the top of footer */
}

.add-all-to-cart-button {
    width: 100%;
    padding: 14px 20px;
    background-color: #f0f0f0; /* Light gray background */
    color: #333; /* Darker text */
    border: none;
    border-radius: 30px; /* More rounded */
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.add-all-to-cart-button:hover {
    background-color: #e0e0e0;
    color: #000;
}