/* Fırsat Haberleri Affiliate Card Styles */

.firsat-card {
    border: 1px solid #e0e0e0;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 500px;
    box-sizing: border-box;
    margin: 30px auto;
    background-color: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.firsat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}

.firsat-card img {
    max-width: 100%;
    height: auto;
    max-height: 250px;
    display: block;
    margin: 0 auto 20px;
    object-fit: contain;
}

.firsat-card h2 {
    font-size: 1.4em;
    color: #333333;
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 600;
}

.firsat-card .price-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.firsat-card .old-price {
    text-decoration: line-through;
    color: #9e9e9e;
    font-size: 1.1em;
}

.firsat-card .new-price {
    color: #e74c3c;
    font-size: 1.8em;
    font-weight: 700;
}

.firsat-card .btn-buy {
    display: inline-block;
    padding: 12px 28px;
    background-color: #27ae60;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1em;
    transition: background-color 0.2s ease;
}

.firsat-card .btn-buy:hover {
    background-color: #219653;
    color: #ffffff;
}

/* System-level Dark Mode support */
@media (prefers-color-scheme: dark) {
    .firsat-card {
        background-color: #1e1e1e;
        border-color: #333333;
    }
    .firsat-card h2 {
        color: #f5f5f5;
    }
    .firsat-card .old-price {
        color: #757575;
    }
    .firsat-card .new-price {
        color: #ff5252;
    }
}

/* Jannah Theme Dark Mode support (.dark-skin class and body.is-dark) */
.dark-skin .firsat-card,
body.is-dark .firsat-card {
    background-color: #1c1e21;
    border-color: #2d3238;
    box-shadow: 0 8px 16px rgba(0,0,0,0.3);
}
.dark-skin .firsat-card h2,
body.is-dark .firsat-card h2 {
    color: #e3e6eb;
}
.dark-skin .firsat-card .old-price,
body.is-dark .firsat-card .old-price {
    color: #8d949e;
}
.dark-skin .firsat-card .new-price,
body.is-dark .firsat-card .new-price {
    color: #ff4757;
}

/* Responsive / Mobile layout overrides for narrow columns and screens */
@media (max-width: 600px) {
    .firsat-card {
        padding: 16px;
        margin: 15px auto;
    }
    .firsat-card h2 {
        font-size: 1.25em;
    }
    .firsat-card .new-price {
        font-size: 1.5em;
    }
    .firsat-card .btn-buy {
        padding: 10px 20px;
        font-size: 1.05em;
        width: 100%;
        box-sizing: border-box;
        display: block;
    }
}
