/* Product Card Component Styles */

.product-card {
    width: 23.7rem;
    height: auto;
    min-height: 500px;
    max-height: 800px;
    padding: 24px;
    background: #F5F5F5;
    box-shadow: -2px -2px 8px 0 rgba(0, 0, 0, 0.08), 107px 160px 54px 0 rgba(0, 0, 0, 0.00), 68px 103px 49px 0 rgba(0, 0, 0, 0.01), 38px 58px 42px 0 rgba(0, 0, 0, 0.03), 17px 26px 31px 0 rgba(0, 0, 0, 0.05), 4px 6px 17px 0 rgba(0, 0, 0, 0.06);
    border-radius: 2.5rem;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 16px;
    display: flex;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: -2px -2px 8px 0 rgba(0, 0, 0, 0.12), 107px 160px 54px 0 rgba(0, 0, 0, 0.00), 68px 103px 49px 0 rgba(0, 0, 0, 0.02), 38px 58px 42px 0 rgba(0, 0, 0, 0.05), 17px 26px 31px 0 rgba(0, 0, 0, 0.08), 4px 6px 17px 0 rgba(0, 0, 0, 0.10);
}

/* Highlighted card border */
.product-card--highlighted {
    border: 4px solid #13AE71;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
    height: 100%;
}

/* Redirect page specific height */
.product-card--redirect {
    height: auto;
    min-height: 500px;
    max-height: 800px;
}

/* Smaller card for redirect pages */
.redirect-page .product-card {
    width: 18rem;
    padding: 16px;
    min-height: 400px;
    max-height: 600px;
    gap: 12px;
}

.redirect-page .product-card-content {
    gap: 12px;
}

.redirect-page .product-card-header {
    gap: 8px;
}

.redirect-page .product-card-logo {
    width: 2.8rem;
    height: 2.8rem;
}

.redirect-page .product-card-title {
    font-size: 1rem;
}

.redirect-page .product-card-bank {
    font-size: 0.75rem;
}

.redirect-page .product-card-details {
    gap: 8px;
}

.redirect-page .product-card-detail-row {
    padding-top: 12px;
    padding-bottom: 12px;
}

.redirect-page .product-card-detail-label,
.redirect-page .product-card-detail-value {
    font-size: 0.875rem;
}

.redirect-page .product-card-features {
    padding: 12px 0;
    gap: 16px;
}

.redirect-page .product-card-feature-item {
    font-size: 0.875rem;
}

.redirect-page .product-card-button {
    padding: 10px 14px 10px 12px;
}

.redirect-page .product-card-button-text {
    font-size: 14px;
}

.redirect-page .product-card-button-icon {
    width: 20px;
    height: 20px;
}

.redirect-page .product-card-arrow {
    width: 16px;
    height: 16px;
}

.product-card-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    flex: 1;
}

.product-card-header {
    align-self: stretch;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
    display: flex;
    flex-shrink: 0;
}

.product-card-logos {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.product-card-logo {
    width: 3.6rem;
    height: 3.6rem;
    background: white;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.product-card-main-image {
    width: 95.17px;
    height: 95.17px;
}

.product-card-main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-card-title-section {
    flex: 1 1 0;
    align-self: stretch;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    display: inline-flex;
}

.product-card-title {
    align-self: stretch;
    color: var(--Negro, #121212);
    text-align: right;
    font-family: 'Urbanist', sans-serif;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    word-wrap: break-word;
}

.product-card-bank {
    align-self: stretch;
    color: var(--Negro, #121212);
    text-align: right;
    font-family: 'Urbanist', sans-serif;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 600;
    line-height: 110%;
    word-wrap: break-word;
}

/* Badge styles for results page */
.product-card-bank--badge {
    display: flex;
    padding: 0.25rem 0.75rem;
    justify-content: center;
    align-items: center;
    gap: 0.625rem;
    border-radius: 6.25rem;
    align-self: flex-end;
    width: fit-content;
}

.product-card-bank--recommended {
    border: 1.5px solid var(--Verde, #13AE71);
    background: var(--Verde, #13AE71);
    color: white;
}

.product-card-bank--preapproved {
    border: 1.5px solid var(--Violeta, #8009C7);
    background: transparent;
    color: var(--Violeta, #8009C7);
}

/* Benefit filter badges */
.product-card-bank--rapido {
    border: 1.5px solid #13AE71;
    background: transparent;
    color: #13AE71;
}

.product-card-bank--menor-tae {
    border: 1.5px solid #000000;
    background: transparent;
    color: #000000;
}

.product-card-bank--preaprobado {
    border: 1.5px solid #8009C7;
    background: transparent;
    color: #8009C7;
}

/* Badges container for multiple badges */
.product-card-badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: flex-end;
    align-items: center;
    align-self: flex-end;
    max-width: 100%;
    width: fit-content;
}

.product-card-details {
    align-self: stretch;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    display: flex;
    flex: 1;
    min-height: 0;
    gap: 12px;
}

.product-card-detail-row {
    align-self: stretch;
    padding-top: 16px;
    padding-bottom: 16px;
    border-bottom: 1px rgba(18, 18, 18, 0.10) solid;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    display: inline-flex;
}

.product-card-detail-label {
    color: var(--Negro, #121212);
    font-family: 'Urbanist', sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 110%;
    word-wrap: break-word;
}

.product-card-detail-value {
    flex: 1 1 0;
    color: var(--Negro, #121212);
    text-align: right;
    font-family: 'Urbanist', sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: 110%;
    word-wrap: break-word;
}

.product-card-features {
    align-self: stretch;
    padding: 16px 0;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    display: flex;
    flex-shrink: 0;
}

.product-card-features-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-card-features-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-card-feature-item {
    color: var(--Negro, #121212);
    font-family: 'Urbanist', sans-serif;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 145%;
}

.product-card-features-left .product-card-feature-item {
    text-align: left;
}

.product-card-features-right .product-card-feature-item {
    text-align: right;
}

.product-card-button {
    align-self: stretch;
    padding: 12px 18px 12px 16px;
    background: #8009C7;
    border-radius: 100px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    display: flex;
    text-decoration: none;
    border: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: auto;
}

.product-card-button:hover {
    background: #6b0a9f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-card-button-text {
    text-align: center;
    color: white;
    font-size: 16px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    line-height: 16px;
    word-wrap: break-word;
}

.product-card-button-icon {
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-card-arrow {
    width: 18px;
    height: 18px;
}
