/* SitShakePlay Frontend Styles */

/* Product Container */
.ssp-product-container {
    background: linear-gradient(135deg, #f6f9fc 0%, #ffffff 100%);
    border: 2px solid #e1e8ed;
    border-radius: 16px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    /* overflow: hidden; */
    position: relative;
}

.ssp-product-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #4A90E2, #7B68EE, #FF6B9D);
}

/* Product Image - Right Aligned */
.ssp-product-image-right {
    float: right;
    width: 350px;
    max-width: 45%;
    height: auto;
    margin: 0 0 20px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ssp-product-image-right:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

/* Product Content */
.ssp-product-content {
    /* overflow: hidden; */
}

.ssp-product-content p {
    line-height: 1.8;
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 20px;
}

.ssp-product-content h2,
.ssp-product-content h3,
.ssp-product-content h4 {
    color: #1a2332;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
}

.ssp-product-content h2 {
    font-size: 28px;
    border-bottom: 3px solid #4A90E2;
    padding-bottom: 10px;
}

.ssp-product-content h3 {
    font-size: 22px;
    color: #4A90E2;
}

.ssp-product-content h4 {
    font-size: 18px;
    color: #7B68EE;
}

.ssp-product-content ul,
.ssp-product-content ol {
    margin: 20px 0;
    padding-left: 25px;
}

.ssp-product-content li {
    margin-bottom: 12px;
    line-height: 1.7;
    color: #2c3e50;
}

.ssp-product-content strong {
    color: #1a2332;
    font-weight: 600;
}

/* Call to Action Section */
.ssp-affiliate-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 35px;
    margin: 40px 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
    clear: both;
}

.ssp-affiliate-cta::before {
    content: '🐾';
    position: absolute;
    font-size: 120px;
    opacity: 0.1;
    top: -20px;
    right: -20px;
    transform: rotate(-15deg);
}

.ssp-cta-button {
    display: inline-block;
    background: #fff;
    color: #667eea;
    padding: 18px 45px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 3px solid #fff;
    position: relative;
    z-index: 2;
}

.ssp-cta-button:hover {
    background: #667eea;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    text-decoration: none;
}

.ssp-cta-button:active {
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .ssp-product-container {
        padding: 20px;
    }
    
    .ssp-product-image-right {
        float: none;
        width: 100%;
        max-width: 100%;
        margin: 0 0 20px 0;
    }
    
    .ssp-product-content p {
        font-size: 15px;
    }
    
    .ssp-affiliate-cta {
        padding: 25px 20px;
    }
    
    .ssp-cta-button {
        padding: 15px 30px;
        font-size: 16px;
        display: block;
        width: 100%;
    }
}

/* Post Meta Information */
.ssp-post-meta {
    background: #f8f9fa;
    border-left: 4px solid #4A90E2;
    padding: 15px 20px;
    margin: 25px 0;
    border-radius: 8px;
    font-size: 14px;
    color: #6c757d;
}

.ssp-post-meta strong {
    color: #495057;
}

/* Highlight Boxes */
.ssp-highlight-box {
    background: linear-gradient(135deg, #FFF5E6 0%, #FFE8CC 100%);
    border-left: 5px solid #FF9800;
    padding: 25px;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.15);
}

.ssp-highlight-box h3 {
    margin-top: 0;
    color: #E65100;
}

.ssp-highlight-box p:last-child {
    margin-bottom: 0;
}

/* Info Box */
.ssp-info-box {
    background: #E3F2FD;
    border-left: 5px solid #2196F3;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 8px;
}

.ssp-info-box::before {
    content: 'ℹ️';
    font-size: 24px;
    margin-right: 10px;
}

/* Warning Box */
.ssp-warning-box {
    background: #FFF3CD;
    border-left: 5px solid #FFC107;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 8px;
}

.ssp-warning-box::before {
    content: '⚠️';
    font-size: 24px;
    margin-right: 10px;
}

/* Success Box */
.ssp-success-box {
    background: #D4EDDA;
    border-left: 5px solid #28A745;
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 8px;
}

.ssp-success-box::before {
    content: '✅';
    font-size: 24px;
    margin-right: 10px;
}

/* Comparison Table */
.ssp-comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ssp-comparison-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 15px;
    text-align: left;
    font-weight: 700;
}

.ssp-comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #e1e8ed;
    background: #fff;
}

.ssp-comparison-table tr:last-child td {
    border-bottom: none;
}

.ssp-comparison-table tr:nth-child(even) td {
    background: #f8f9fa;
}

/* Feature List */
.ssp-feature-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.ssp-feature-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    line-height: 1.7;
    color: #2c3e50;
}

.ssp-feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 12px;
    width: 24px;
    height: 24px;
    background: #28A745;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* Blockquotes */
.ssp-product-content blockquote {
    background: #f9f9f9;
    border-left: 5px solid #4A90E2;
    margin: 25px 0;
    padding: 20px 25px;
    font-style: italic;
    color: #555;
    border-radius: 8px;
}

/* Clear floats */
.ssp-product-container::after,
.ssp-product-content::after {
    content: "";
    display: table;
    clear: both;
}

/* Print Styles */
@media print {
    .ssp-affiliate-cta {
        display: none;
    }
    
    .ssp-product-image-right {
        box-shadow: none;
    }
}
