/* TD Affiliates - Frontend Styles */

/* Product Card */
.td-affiliate-product-card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    margin: 30px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.td-affiliate-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.td-product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: #f8fafc;
}

.td-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px;
}

.td-product-platform {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.td-product-content {
    padding: 25px;
}

.td-product-title {
    margin: 0 0 15px 0;
    font-size: 22px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.td-product-description {
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.6;
}

.td-product-price {
    margin-bottom: 20px;
    padding: 15px;
    background: #f1f5f9;
    border-radius: 8px;
}

.td-price-label {
    display: block;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 5px;
}

.td-price-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #0EA5E9;
}

.td-product-cta {
    display: inline-block;
    background: linear-gradient(135deg, #0EA5E9, #0369A1);
    color: #fff !important;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(14, 165, 233, 0.3);
}

.td-product-cta:hover {
    background: linear-gradient(135deg, #0369A1, #0EA5E9);
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(14, 165, 233, 0.4);
}

/* Inline Product */
.td-affiliate-product-inline a {
    color: #0EA5E9;
    text-decoration: underline;
    font-weight: 600;
}

.td-affiliate-product-inline a:hover {
    color: #0369A1;
}

.td-inline-price {
    font-size: 13px;
    color: #666;
    margin-left: 5px;
}

/* Button Product */
.td-affiliate-product-button {
    margin: 20px 0;
    text-align: center;
}

.td-button-affiliate {
    display: inline-block;
    background: linear-gradient(135deg, #0EA5E9, #0369A1);
    color: #fff !important;
    padding: 16px 40px;
    border-radius: 8px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(14, 165, 233, 0.3);
}

.td-button-affiliate:hover {
    background: linear-gradient(135deg, #0369A1, #0EA5E9);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(14, 165, 233, 0.4);
}

/* Disclaimer */
.td-affiliate-disclaimer {
    background: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 15px 20px;
    margin: 30px 0;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.6;
    color: #78350f;
}

.td-affiliate-disclaimer strong {
    color: #92400e;
}

/* Responsive */
@media (max-width: 768px) {
    .td-product-title {
        font-size: 20px;
    }

    .td-price-value {
        font-size: 24px;
    }

    .td-product-cta {
        display: block;
        text-align: center;
    }
}
