/* Ultimate Auto Affiliate Publisher - Frontend Block Styles */

.uap-product-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.uap-product-card {
    flex: 1;
    min-width: 300px;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.uap-product-image {
    text-align: center;
    margin-bottom: 15px;
}

.uap-product-image img {
    max-width: 100%;
    height: auto;
}

.uap-product-badge {
    display: inline-block;
    background-color: #0073aa;
    color: #fff;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 10px;
}

.uap-product-title h3 {
    margin-top: 0;
    margin-bottom: 5px;
}

.uap-product-brand {
    color: #666;
    font-style: italic;
    margin-top: 0;
    margin-bottom: 15px;
}

.uap-product-snippet {
    margin-bottom: 15px;
}

.uap-product-rating {
    margin-bottom: 15px;
}

.uap-rating {
    display: flex;
    align-items: center;
}

.uap-star {
    color: #ffb900;
    font-size: 16px;
    margin-right: 2px;
}

.uap-star-empty {
    color: #ddd;
}

.uap-rating-value {
    margin-left: 5px;
    font-weight: bold;
}

.uap-product-price {
    margin-bottom: 15px;
}

.uap-price {
    font-size: 18px;
    font-weight: bold;
    color: #0073aa;
}

.uap-product-features,
.uap-product-pros-cons,
.uap-product-specs,
.uap-product-video {
    margin-bottom: 15px;
}

.uap-product-features h4,
.uap-product-pros h4,
.uap-product-cons h4,
.uap-product-specs h4,
.uap-product-video h4 {
    margin-top: 0;
    margin-bottom: 10px;
}

.uap-product-features ul,
.uap-product-pros ul,
.uap-product-cons ul {
    margin: 0;
    padding-left: 20px;
}

.uap-product-specs table {
    width: 100%;
    border-collapse: collapse;
}

.uap-product-specs td {
    padding: 5px;
    border-bottom: 1px solid #eee;
}

.uap-product-specs td:first-child {
    font-weight: bold;
}

.uap-video-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 aspect ratio */
}

.uap-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.uap-product-cta {
    margin-top: 15px;
    text-align: center;
}

.uap-cta-button {
    display: inline-block;
    background-color: #f08c00;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.uap-cta-button:hover {
    background-color: #e07a00;
}

/* Comparison Table Styles */
.uap-comparison-table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

.uap-comparison-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
}

.uap-comparison-table th,
.uap-comparison-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.uap-comparison-table th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.uap-comparison-table img {
    max-width: 100px;
    height: auto;
}

/* FAQ Section Styles */
.uap-faq-section {
    margin: 30px 0;
}

.uap-faq-item {
    margin-bottom: 20px;
    border: 1px solid #eee;
    border-radius: 5px;
    overflow: hidden;
}

.uap-faq-question {
    background-color: #f9f9f9;
    padding: 15px;
    margin: 0;
    cursor: pointer;
    font-weight: bold;
}

.uap-faq-answer {
    padding: 15px;
}

/* TOC Styles */
.uap-toc {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
}

.uap-toc h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

.uap-toc ul {
    margin: 0;
    padding-left: 20px;
}

.uap-toc a {
    text-decoration: none;
    color: #0073aa;
}

.uap-toc a:hover {
    text-decoration: underline;
}

/* Author Box Styles */
.uap-author-box {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    padding: 20px;
    margin: 30px 0;
    border-radius: 5px;
}

/* Disclosure Styles */
.uap-disclosure {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
}

/* Summary Section Styles */
.uap-summary-section {
    margin: 30px 0;
}

.uap-summary-section h2,
.uap-summary-section h3 {
    color: #333;
}