/* ==============================================
   AI Amazon Review Engine - Frontend Post Styles
   ============================================== */

/* Product block */
.aare-product-block {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 24px;
    margin: 28px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    position: relative;
    overflow: hidden;
}

.aare-product-block::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #f97316);
}

.aare-product-header {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.aare-product-img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    border-radius: 8px;
    background: #f9fafb;
    padding: 8px;
    flex-shrink: 0;
}

.aare-product-meta { flex: 1; }

.aare-product-meta h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #111827;
}

.aare-product-price {
    font-size: 20px;
    font-weight: 800;
    color: #b45309;
    margin-bottom: 6px;
}

.aare-product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #6b7280;
}

.aare-stars { color: #f59e0b; }

/* Buy button */
.aare-buy-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #000 !important;
    font-weight: 700;
    font-size: 15px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none !important;
    margin-top: 12px;
    transition: opacity 0.2s, transform 0.2s;
    box-shadow: 0 4px 14px rgba(245,158,11,0.35);
}

.aare-buy-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(245,158,11,0.45);
}

/* Pros / Cons */
.aare-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 16px 0;
}

.aare-pros, .aare-cons {
    background: #f9fafb;
    border-radius: 8px;
    padding: 14px;
}

.aare-pros h4 { color: #059669; margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.aare-cons h4 { color: #dc2626; margin: 0 0 8px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }

.aare-pros ul, .aare-cons ul {
    margin: 0; padding: 0; list-style: none;
}

.aare-pros ul li, .aare-cons ul li {
    padding: 4px 0;
    font-size: 13px;
    color: #374151;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.aare-pros ul li::before { content: '✓'; color: #059669; font-weight: 700; flex-shrink: 0; }
.aare-cons ul li::before { content: '✗'; color: #dc2626; font-weight: 700; flex-shrink: 0; }

/* Comparison table */
.aare-comparison-table {
    overflow-x: auto;
    margin: 24px 0;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.aare-comparison-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.aare-comparison-table th {
    background: #111827;
    color: #f9fafb;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}

.aare-comparison-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.aare-comparison-table tr:nth-child(even) td { background: #f9fafb; }
.aare-comparison-table tr:last-child td { border: none; }

/* Disclaimer */
.aare-disclaimer {
    font-size: 12px;
    color: #6b7280;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 10px 14px;
    margin-top: 32px;
}

/* Responsive */
@media (max-width: 600px) {
    .aare-product-header { flex-direction: column; }
    .aare-product-img    { width: 100%; height: auto; }
    .aare-pros-cons      { grid-template-columns: 1fr; }
}
