/* AMZ Affiliate Studio - High Converting Product Box & Comparison Styling */

.amz-product-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    margin: 28px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.amz-product-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.amz-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 0;
    border-bottom: none;
}

.amz-badge-prime {
    background: #2563eb;
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 14px;
    border-radius: 9999px;
}

.amz-rating-stars {
    font-size: 14px;
    font-weight: 600;
    color: #d97706;
}

.amz-rating-stars small {
    color: #64748b;
    font-weight: 400;
    margin-left: 4px;
}

.amz-card-content {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    align-items: center;
}

@media (max-width: 640px) {
    .amz-card-content {
        grid-template-columns: 1fr;
    }
}

.amz-card-image {
    text-align: center;
}

.amz-card-image img {
    max-width: 100%;
    max-height: 220px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.amz-card-image img:hover {
    transform: scale(1.04);
}

.amz-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 12px 0;
    color: #0f172a;
}

.amz-card-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.amz-card-title a:hover {
    color: #2563eb;
}

.amz-price-box {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 6px;
    width: fit-content;
}

.amz-price-label {
    font-size: 13px;
    color: #64748b;
}

.amz-price-amount {
    font-size: 22px;
    font-weight: 800;
    color: #166534;
}

.amz-price-note {
    font-size: 11px;
    color: #2563eb;
    font-weight: 600;
}

.amz-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.amz-feature-list li {
    font-size: 13px;
    color: #334155;
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
}

.amz-feature-list li span {
    color: #16a34a;
    font-weight: 800;
}

.amz-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(180deg, #ff9900 0%, #e68a00 100%);
    color: #111827 !important;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
    transition: all 0.2s ease;
    border: 1px solid #d97706;
}

.amz-btn-primary:hover {
    background: linear-gradient(180deg, #ffad33 0%, #ff9900 100%);
    box-shadow: 0 6px 16px rgba(255, 153, 0, 0.45);
    transform: translateY(-1px);
}

.amz-btn-sm {
    display: inline-block;
    background: #ff9900;
    color: #111827 !important;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
}

.amz-badge-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1e293b;
    color: #fbbf24 !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    margin: 4px 0;
    transition: background 0.2s ease;
}

.amz-badge-btn:hover {
    background: #0f172a;
}

/* Comparison Table */
.amz-comparison-wrapper {
    overflow-x: auto;
    margin: 24px 0;
}

.amz-comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-family: inherit;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.amz-comparison-table th {
    background: #0f172a;
    color: #ffffff;
    text-align: left;
    padding: 12px 16px;
    font-size: 13px;
}

.amz-comparison-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 14px;
}

.amz-comp-title-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* FAQ Accordion Styling */
.amz-faq-accordion {
    margin: 28px 0;
}

.amz-faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: all 0.2s ease;
}

.amz-faq-item[open] {
    border-color: #0284c7;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.08);
}

.amz-faq-item summary {
    padding: 16px 20px;
    font-weight: 700;
    color: #0f172a;
    cursor: pointer;
    font-size: 15px;
    outline: none;
    user-select: none;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.amz-faq-item summary::-webkit-details-marker,
.amz-faq-item summary::marker {
    display: none;
    content: "";
}

.amz-faq-item summary::after {
    content: "▼";
    font-size: 11px;
    color: #64748b;
    transition: transform 0.2s ease;
    margin-left: 12px;
    flex-shrink: 0;
}

.amz-faq-item[open] summary::after {
    transform: rotate(180deg);
    color: #0284c7;
}

.amz-faq-answer {
    padding: 16px 20px;
    border-top: 1px solid #f1f5f9;
    background: #f8fafc;
    color: #334155;
    line-height: 1.65;
    font-size: 14px;
}

.amz-faq-item summary p,
.amz-faq-answer p {
    margin: 0 !important;
    padding: 0 !important;
    display: inline !important;
}

/* Trust Badge Bar & Hero Verdict Card */
.amz-trust-badge-bar {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: 0.2px;
}

.amz-hero-verdict-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.amz-hero-verdict-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(15,23,42,0.22);
}

/* Pros & Cons Side-by-Side Responsive Grid */
.amz-pro-con-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.amz-pro-box, .amz-con-box {
    transition: all 0.2s ease;
}

.amz-pro-box:hover {
    border-color: #86efac;
    box-shadow: 0 4px 16px rgba(22,163,74,0.1);
}

.amz-con-box:hover {
    border-color: #fca5a5;
    box-shadow: 0 4px 16px rgba(220,38,38,0.1);
}

/* Full Review Headings & Styling */
.amz-full-review-box h2 {
    font-size: 1.45em;
    font-weight: 800;
    color: #0f172a;
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
}

.amz-full-review-box h3 {
    font-size: 1.2em;
    font-weight: 700;
    color: #1e293b;
    margin-top: 1.2em;
    margin-bottom: 0.4em;
}

.amz-full-review-box p {
    font-size: 1.02em;
    line-height: 1.75;
    color: #334155;
    margin-bottom: 1.2em;
}

/* Sticky Bottom Floating Bar */
.amz-sticky-bar {
    transition: all 0.3s ease;
}

@media (max-width: 640px) {
    .amz-sticky-bar {
        padding: 10px 14px;
        bottom: 8px;
    }
}

/* Product Specifications & Competitor Comparison Table Styles */
.amz-specs-wrapper, .amz-comparison-wrapper {
    width: 100%;
    margin: 24px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
}

.amz-specs-table, .amz-comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
}

.amz-specs-table th, .amz-comparison-table th {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    font-weight: 800;
    padding: 12px 16px;
    font-size: 14px;
    letter-spacing: 0.2px;
}

.amz-specs-table td, .amz-comparison-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.amz-specs-table tr:hover, .amz-comparison-table tr:hover {
    background-color: #f8fafc;
}

.amz-comparison-table th.amz-highlight-col {
    background: #0284c7;
    color: #ffffff;
}

@media (max-width: 768px) {
    .amz-specs-table th, .amz-specs-table td,
    .amz-comparison-table th, .amz-comparison-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
}
